summary refs log tree commit diff stats
path: root/htpstate.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-22 09:35:52 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-22 09:35:52 -0400
commitbca5121051383933e5fdf15f6bcb04ddb797ac45 (patch)
tree185673e034fa4602f6d042812ea46156b81272e0 /htpstate.cpp
parentd80a5cbd3dc888a17dadf134d0a6031b313b3dc9 (diff)
downloadmazeoflife-bca5121051383933e5fdf15f6bcb04ddb797ac45.tar.gz
mazeoflife-bca5121051383933e5fdf15f6bcb04ddb797ac45.tar.bz2
mazeoflife-bca5121051383933e5fdf15f6bcb04ddb797ac45.zip
Added cross compiliation
Diffstat (limited to 'htpstate.cpp')
-rw-r--r--htpstate.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/htpstate.cpp b/htpstate.cpp index 30d58a2..8de884f 100644 --- a/htpstate.cpp +++ b/htpstate.cpp
@@ -2,14 +2,9 @@
2 2
3HowToPlayState::HowToPlayState() 3HowToPlayState::HowToPlayState()
4{ 4{
5 SDL_RWops *rw = SDL_RWFromMem(&_binary_htp1_bmp_start, (int) &_binary_htp1_bmp_size); 5 LOADIMAGE(background1,htp1)
6 background1 = SDL_LoadBMP_RW(rw, 1); 6 LOADIMAGE(background2,htp2)
7 7 LOADIMAGE(pointer,pointer)
8 rw = SDL_RWFromMem(&_binary_htp2_bmp_start, (int) &_binary_htp2_bmp_size);
9 background2 = SDL_LoadBMP_RW(rw, 1);
10
11 rw = SDL_RWFromMem(&_binary_pointer_bmp_start, (int) &_binary_pointer_bmp_size);
12 pointer = SDL_LoadBMP_RW(rw, 1);
13 8
14 secondPage = false; 9 secondPage = false;
15 selection = 0; 10 selection = 0;