raze-gles/source/games/sw/src
Christoph Oelckers 454816299e - reorganized loading of textures.
Due to dependencies on initializing some data in app_init it was not possible to cleanly set up the fonts.
This adds a game-side function for loading the entire palettes before starting with the texture data and another one for loading game-side texture data.
This now allows fully setting up the palettes before starting with the textures and to fully set up the textures before reading the .def files.

All this is needed because to properly initialize, the fonts need to be able to access the fully initialized texture state, including replacements and hires substitutions from the .def files.
2021-06-01 11:05:26 +02:00
..
_polymost.cpp - cleanup of 'gotpic' handling. 2021-05-10 20:13:28 +02:00
actor.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
ai.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
ai.h - project cleanup 2021-01-10 20:31:32 +01:00
ambient.h - project cleanup 2021-01-10 20:31:32 +01:00
bots.h - project cleanup 2021-01-10 20:31:32 +01:00
break.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
break.h - project cleanup 2021-01-10 20:31:32 +01:00
bunny.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
cache.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
cheats.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
colormap.cpp - reorganized loading of textures. 2021-06-01 11:05:26 +02:00
conpic.h - project cleanup 2021-01-10 20:31:32 +01:00
coolg.cpp - SW: cleaned up the depth variable handling in SECT_USER which was endian dependent, including the savegame handler 2021-04-22 00:03:17 +02:00
coolie.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
copysect.cpp - SW: fixed sector transfers involving a portal for real this time. 2021-05-20 18:52:27 +02:00
d_menu.cpp - fixed incorrect license in sw/d_menu.cpp. 2021-05-08 00:13:50 +02:00
damage.h - project cleanup 2021-01-10 20:31:32 +01:00
digi.h - project cleanup 2021-01-10 20:31:32 +01:00
draw.cpp - implemented all needed font overrides for localization. 2021-05-31 21:20:31 +02:00
eel.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
game.cpp - reorganized loading of textures. 2021-06-01 11:05:26 +02:00
game.h - reorganized loading of textures. 2021-06-01 11:05:26 +02:00
girlninj.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
goro.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
hornet.cpp - SW: cleaned up the depth variable handling in SECT_USER which was endian dependent, including the savegame handler 2021-04-22 00:03:17 +02:00
input.cpp - SW: Abort GetInput immediately if no valid sprite is attached to the given player. 2021-05-11 00:52:39 +02:00
interpso.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
interpso.h - cleanup of savegame framework 2021-04-22 00:03:17 +02:00
inv.cpp Fix compilation with Clang on FreeBSD 2021-05-09 19:52:52 +02:00
inv.h - scriptified SW's status bar. 2021-05-16 09:34:08 +02:00
jsector.cpp - cleanup of 'gotpic' handling. 2021-05-10 20:13:28 +02:00
jsector.h Merge branch 'master' into newrenderer 2021-04-22 00:10:37 +02:00
jtags.h - project cleanup 2021-01-10 20:31:32 +01:00
jweapon.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
lava.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
light.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
light.h - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
lists.h - project cleanup 2021-01-10 20:31:32 +01:00
mclip.cpp - project cleanup 2021-01-10 20:31:32 +01:00
mclip.h - project cleanup 2021-01-10 20:31:32 +01:00
menus.cpp - scriptified SW's 2D screens. 2021-04-30 20:08:35 +02:00
menus.h - removed the multiplayer scoreboard screens. 2021-05-27 13:33:54 +02:00
misc.h - reorganized loading of textures. 2021-06-01 11:05:26 +02:00
miscactr.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
morph.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
mytypes.h - project cleanup 2021-01-10 20:31:32 +01:00
namelist.h - fixed SW status bar. 2021-05-16 10:25:56 +02:00
names.h - project cleanup 2021-01-10 20:31:32 +01:00
names2.h - project cleanup 2021-01-10 20:31:32 +01:00
network.cpp - merged the few remaining contents of mmulti.h into d_net.h 2021-05-03 19:01:00 +02:00
network.h - project cleanup 2021-01-10 20:31:32 +01:00
ninja.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
osdcmds.cpp - Blood, Duke & SW: Create new backend chasecam function and replace game-specific versions with it. 2021-02-18 21:47:37 +11:00
pal.h - project cleanup 2021-01-10 20:31:32 +01:00
panel.cpp - first batch of SW warning fixes. 2021-05-12 21:49:34 +02:00
panel.h - scriptified SW's status bar. 2021-05-16 09:34:08 +02:00
parent.h - removed all parental lock garbage from SW. 2021-04-22 00:03:15 +02:00
player.cpp - fixed SW status bar. 2021-05-16 10:25:56 +02:00
player.h - project cleanup 2021-01-10 20:31:32 +01:00
predict.cpp - project cleanup 2021-01-10 20:31:32 +01:00
quake.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
ripper.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
ripper2.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
rooms.cpp - SW: fixed sector transfers involving a portal for real this time. 2021-05-20 18:52:27 +02:00
rotator.cpp - SW: save SectUser as JSON, also store in a managed array. 2021-04-22 00:03:16 +02:00
save.cpp - migrated SW to RMAPINFO as well. 2021-05-02 17:35:25 +02:00
saveable.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
saveable.h - some further lightening of compat.h. 2021-03-24 21:13:36 +01:00
sbar.cpp - defined a new constant, CR_NATIVEPAL, to use the font functions with a predefined palette. 2021-05-29 11:47:05 +02:00
scrip2.cpp Merge branch 'scriptable_cutscenes' into newrenderer 2021-05-02 22:37:46 +02:00
sector.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
sector.h - project cleanup 2021-01-10 20:31:32 +01:00
serp.cpp - removed the non-functional and long abandoned level music alias feature. 2021-05-12 21:48:40 +02:00
skel.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
skull.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
slidor.cpp - SW: save SectUser as JSON, also store in a managed array. 2021-04-22 00:03:16 +02:00
sounds.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
sounds.h - removed the non-functional and long abandoned level music alias feature. 2021-05-12 21:48:40 +02:00
spike.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
sprite.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
sprite.h - project cleanup 2021-01-10 20:31:32 +01:00
stag.h - project cleanup 2021-01-10 20:31:32 +01:00
sumo.cpp - removed the non-functional and long abandoned level music alias feature. 2021-05-12 21:48:40 +02:00
tags.h - project cleanup 2021-01-10 20:31:32 +01:00
text.cpp - moved all font setup out of the C++ code. 2021-05-31 21:20:31 +02:00
track.cpp - removed bogus assert in SW's track setup. 2021-05-29 13:22:14 +02:00
vator.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
vis.cpp - refactored the main User array into something that's automatically managed. 2021-04-22 00:03:14 +02:00
wallmove.cpp - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
warp.cpp - project cleanup 2021-01-10 20:31:32 +01:00
weapon.cpp - this crash was handled by nothing more than an assert... 2021-05-20 11:02:11 -04:00
weapon.h - fixed remaining SW warnings. 2021-05-12 21:50:00 +02:00
zilla.cpp - removed the non-functional and long abandoned level music alias feature. 2021-05-12 21:48:40 +02:00
zombie.cpp - SW: save SectUser as JSON, also store in a managed array. 2021-04-22 00:03:16 +02:00