- Expanded the args for MAPINFO special actions to 32 bit integers as in
the rest of the game. - Fixed: The specialaction list was not copied properly when transferred from the defaultinfo. - Fixed: The defaultinfo for MAPINFO wasn't cleared fully after MAPINFO parsing was completed. - Made Doom-format linedef translators a map property so that it's easier to define replacements or extensions. SVN r843 (trunk)
This commit is contained in:
parent
3237c6b4e8
commit
969cc1f6f9
7 changed files with 88 additions and 54 deletions
|
|
@ -63,6 +63,7 @@
|
|||
extern void P_SpawnMapThing (mapthing2_t *mthing, int position);
|
||||
extern bool P_LoadBuildMap (BYTE *mapdata, size_t len, mapthing2_t **things, int *numthings);
|
||||
|
||||
extern void P_LoadTranslator(const char *lump);
|
||||
extern void P_TranslateLineDef (line_t *ld, maplinedef_t *mld);
|
||||
extern void P_TranslateTeleportThings (void);
|
||||
extern int P_TranslateSectorSpecial (int);
|
||||
|
|
@ -3605,6 +3606,10 @@ void P_SetupLevel (char *lumpname, int position)
|
|||
{
|
||||
level.flags &= ~LEVEL_LAXMONSTERACTIVATION;
|
||||
}
|
||||
|
||||
// We need translators only for Doom format maps.
|
||||
// If none has been defined in a map use the game's default.
|
||||
P_LoadTranslator(level.info->translator != NULL? (const char *)level.info->translator : gameinfo.translator);
|
||||
}
|
||||
FBehavior::StaticLoadDefaultModules ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue