|
codepad
|
|
|
|
|
Recent Pastes:
void Move(SDL_Surface * screen, Computer comp)
{
comp.showHealth(); //Trying to get this to work
switch(action)
{
|
| view (31 lines, 2 lines of output) |
SDL_Surface *load_image( std::string filename )
{
//The image that's loaded
SDL_Surface* loadedImage = NULL;
|
| view (21 lines, 2 lines of output) |
if( x >= 564 && x <= 767 && y >= 213 && y <= 245 )
{
image = load_image("\Homescreen\Start Game.png");
apply_surface(0,0,image,screen);
SDL_Flip(screen);
|
| view (6 lines, 2 lines of output) |
00AE105A mov cl,byte ptr [esp+2]
00AE105E cmp cl,byte ptr [esp+3]
00AE1062 jne main+69h (0AE1069h)
00AE1064 mov byte ptr [esp+4],1
|
| view (4 lines) |
#include "globals.h"
// Function prototypes
int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpszCmdLine, int nCmdShow );
|
| view (89 lines, 3 lines of output) |
CoInitialize( NULL );
// Register the child window class
ZeroMemory( &wc, sizeof( wc ) );
wc.cbSize = sizeof( wc );
|
| view (36 lines, 2 lines of output) |
typedef struct ip_header{
u_char ver_ihl; // Version (4 bits) + Internet header length (4 bits)
u_char tos; // Type of service
u_short tlen; // Total length
u_short identification; // Identification
|
| view (18 lines) |
#include <stdlib.h>
#include <cmath>
#include <cinttypes>
#include <iostream>
#include <set>
|
| view (192 lines) |
0000000: 5043 0a32 3030 2032 3030 0a35 2e30 3838 PC.200 200.5.088
0000010: 3439 370a 53da 86bf 3d84 41be fa5e 86bf 497.S...=.A..^..
0000020: 0b96 3fbe dde4 85bf dda7 3dbe fe6b 85bf ..?.......=..k..
0000030: b5b9 3bbe 5bf4 84bf 91cb 39be f57d 84bf ..;.[.....9..}..
0000040: 73dd 37be cc08 84bf 58ef 35be e094 83bf s.7.....X.5.....
|
| view (964 lines) |
/*
* pcm.c - contains the methods for the PCM class
*
* Author: Dion Crannitch (adapted from Dave Mason's complexMap class)
|
| view (227 lines) |