diff options
Diffstat (limited to 'htpstate.cpp')
| -rw-r--r-- | htpstate.cpp | 11 |
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 | ||
| 3 | HowToPlayState::HowToPlayState() | 3 | HowToPlayState::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; |
