equal
deleted
inserted
replaced
212 /* |
212 /* |
213 * Load additional sprites for climates other than temperate. |
213 * Load additional sprites for climates other than temperate. |
214 * This overwrites some of the temperate sprites, such as foundations |
214 * This overwrites some of the temperate sprites, such as foundations |
215 * and the ground sprites. |
215 * and the ground sprites. |
216 */ |
216 */ |
217 if (_settings.game_creation.landscape != LT_TEMPERATE) { |
217 if (_settings_game.game_creation.landscape != LT_TEMPERATE) { |
218 LoadGrfIndexed( |
218 LoadGrfIndexed( |
219 files->landscape[_settings.game_creation.landscape - 1].filename, |
219 files->landscape[_settings_game.game_creation.landscape - 1].filename, |
220 _landscape_spriteindexes[_settings.game_creation.landscape - 1], |
220 _landscape_spriteindexes[_settings_game.game_creation.landscape - 1], |
221 i++ |
221 i++ |
222 ); |
222 ); |
223 } |
223 } |
224 |
224 |
225 /* Initialize the unicode to sprite mapping table */ |
225 /* Initialize the unicode to sprite mapping table */ |
246 } |
246 } |
247 |
247 |
248 |
248 |
249 void GfxLoadSprites() |
249 void GfxLoadSprites() |
250 { |
250 { |
251 DEBUG(sprite, 2, "Loading sprite set %d", _settings.game_creation.landscape); |
251 DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape); |
252 |
252 |
253 GfxInitSpriteMem(); |
253 GfxInitSpriteMem(); |
254 LoadSpriteTables(); |
254 LoadSpriteTables(); |
255 GfxInitPalettes(); |
255 GfxInitPalettes(); |
256 } |
256 } |