- Split off the entire translation code from r_draw.cpp into r_translate.cpp.
- Moved the common code of ACS and DECORATE translation generation into the FRemapTable class. - Fixed: The DECORATE translation code was not changed for the new data structures. - Expanded range of ACS and DECORATE translations to 65535. - Fixed: R_CopyTranslation was not altered for the new functionality. I removed the function and replaced the one use with a simple assignment. SVN r644 (trunk)
This commit is contained in:
parent
6804e66208
commit
0535d15df3
39 changed files with 862 additions and 779 deletions
|
|
@ -72,6 +72,7 @@
|
|||
#include "gi.h"
|
||||
#include "a_keys.h"
|
||||
#include "a_artifacts.h"
|
||||
#include "r_translate.h"
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
|
|
@ -1399,7 +1400,7 @@ static void G_QueueBody (AActor *body)
|
|||
if (GetTranslationType(body->Translation) == TRANSLATION_Players ||
|
||||
GetTranslationType(body->Translation) == TRANSLATION_PlayersExtra)
|
||||
{
|
||||
R_CopyTranslation (TRANSLATION(TRANSLATION_PlayerCorpses,modslot), body->Translation);
|
||||
translationtables[TRANSLATION_PlayerCorpses][modslot] = TranslationToTable(body->Translation);
|
||||
body->Translation = TRANSLATION(TRANSLATION_PlayerCorpses,modslot);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue