From bca5121051383933e5fdf15f6bcb04ddb797ac45 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 22 Jun 2009 09:35:52 -0400 Subject: Added cross compiliation --- htpstate.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'htpstate.cpp') diff --git a/htpstate.cpp b/htpstate.cpp index 30d58a2..8de884f 100644 --- a/htpstate.cpp +++ b/htpstate.cpp @@ -2,14 +2,9 @@ HowToPlayState::HowToPlayState() { - SDL_RWops *rw = SDL_RWFromMem(&_binary_htp1_bmp_start, (int) &_binary_htp1_bmp_size); - background1 = SDL_LoadBMP_RW(rw, 1); - - rw = SDL_RWFromMem(&_binary_htp2_bmp_start, (int) &_binary_htp2_bmp_size); - background2 = SDL_LoadBMP_RW(rw, 1); - - rw = SDL_RWFromMem(&_binary_pointer_bmp_start, (int) &_binary_pointer_bmp_size); - pointer = SDL_LoadBMP_RW(rw, 1); + LOADIMAGE(background1,htp1) + LOADIMAGE(background2,htp2) + LOADIMAGE(pointer,pointer) secondPage = false; selection = 0; -- cgit 1.4.1