Mercurial > hg > demos > krapula
comparison krapula.c @ 18:ccc5cdce91e3
Remove dead function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Sep 2012 13:28:11 +0300 |
parents | 758a39d3f750 |
children | 64017da3aa2f |
comparison
equal
deleted
inserted
replaced
17:758a39d3f750 | 18:ccc5cdce91e3 |
---|---|
125 pal[n].g = n; | 125 pal[n].g = n; |
126 pal[n].b = n; | 126 pal[n].b = n; |
127 } | 127 } |
128 | 128 |
129 SDL_SetColors(scr, pal, 0, DM_COLORS); | 129 SDL_SetColors(scr, pal, 0, DM_COLORS); |
130 } | |
131 | |
132 | |
133 BOOL dmInitializeVideo(SDL_Surface **screen) | |
134 { | |
135 *screen = SDL_SetVideoMode(optScrWidth, optScrHeight, 32, optVFlags); // | SDL_RESIZABLE); | |
136 if (*screen == NULL) | |
137 { | |
138 dmError("Can't SDL_SetVideoMode(): %s\n", SDL_GetError()); | |
139 return FALSE; | |
140 } | |
141 | |
142 SDL_ShowCursor(SDL_DISABLE); | |
143 return TRUE; | |
144 } | 130 } |
145 | 131 |
146 | 132 |
147 void dmRandom(SDL_Surface *screen, int q) | 133 void dmRandom(SDL_Surface *screen, int q) |
148 { | 134 { |