2006-04-13 20:47:06 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
2016-02-02 00:21:24 +00:00
|
|
|
Copyright (C) 2016 EDuke32 developers and contributors
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2010-05-25 10:56:00 +00:00
|
|
|
This file is part of EDuke32.
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License version 2
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2014-07-20 08:55:56 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-04-13 20:47:06 +00:00
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#ifndef gamedef_h_
|
|
|
|
#define gamedef_h_
|
2008-12-19 00:53:54 +00:00
|
|
|
|
2018-11-18 18:09:48 +00:00
|
|
|
#include "actors.h"
|
2012-11-10 20:59:00 +00:00
|
|
|
#include "build.h" // hashtable_t
|
2018-11-18 18:09:48 +00:00
|
|
|
#include "cheats.h"
|
2012-03-26 22:05:23 +00:00
|
|
|
#include "common.h" // tokenlist
|
2015-04-18 21:59:21 +00:00
|
|
|
#include "player.h" // projectile_t
|
2012-03-26 22:05:23 +00:00
|
|
|
|
2014-11-26 04:39:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-03-08 00:29:41 +00:00
|
|
|
enum
|
|
|
|
{
|
2018-11-18 18:10:21 +00:00
|
|
|
LABEL_ACTION = 0x01,
|
|
|
|
LABEL_ACTOR = 0x02,
|
|
|
|
LABEL_AI = 0x04,
|
|
|
|
LABEL_DEFINE = 0x08,
|
|
|
|
LABEL_EVENT = 0x10,
|
|
|
|
LABEL_MOVE = 0x20,
|
|
|
|
LABEL_STATE = 0x40,
|
|
|
|
|
2018-03-08 00:29:41 +00:00
|
|
|
LABEL_ANY = -1,
|
|
|
|
};
|
|
|
|
|
2018-11-18 18:10:04 +00:00
|
|
|
#define LABEL_CHAR sizeof(uint8_t)
|
|
|
|
#define LABEL_SHORT sizeof(uint16_t)
|
|
|
|
#define LABEL_INT sizeof(uint32_t)
|
|
|
|
#define LABEL_UNSIGNED 8
|
|
|
|
#define LABEL_HASPARM2 16
|
|
|
|
#define LABEL_ISSTRING 32
|
2018-11-18 18:10:39 +00:00
|
|
|
#define LABEL_READFUNC 64
|
|
|
|
#define LABEL_WRITEFUNC 128
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2016-01-11 05:05:10 +00:00
|
|
|
#define VM_INSTMASK 0xfff
|
|
|
|
|
2018-11-18 18:11:21 +00:00
|
|
|
#define C_CUSTOMERROR(Text, ...) \
|
|
|
|
do \
|
|
|
|
{ \
|
|
|
|
C_ReportError(-1); \
|
|
|
|
initprintf("%s:%d: error: " Text "\n", g_scriptFileName, g_lineNumber, ##__VA_ARGS__); \
|
|
|
|
g_errorCnt++; \
|
2016-02-02 00:21:24 +00:00
|
|
|
} while (0)
|
2016-08-27 01:40:35 +00:00
|
|
|
|
2018-11-18 18:11:21 +00:00
|
|
|
#define C_CUSTOMWARNING(Text, ...) \
|
|
|
|
do \
|
|
|
|
{ \
|
|
|
|
C_ReportError(-1); \
|
|
|
|
initprintf("%s:%d: warning: " Text "\n", g_scriptFileName, g_lineNumber, ##__VA_ARGS__); \
|
|
|
|
g_warningCnt++; \
|
2016-02-02 00:21:24 +00:00
|
|
|
} while (0)
|
|
|
|
|
2016-05-23 04:47:22 +00:00
|
|
|
#if !defined LUNATIC
|
2015-02-11 05:22:11 +00:00
|
|
|
extern intptr_t const * insptr;
|
2017-01-01 13:23:29 +00:00
|
|
|
extern void VM_ScriptInfo(intptr_t const *ptr, int range);
|
2016-05-23 04:47:22 +00:00
|
|
|
#endif
|
2016-01-07 03:30:07 +00:00
|
|
|
|
2013-01-20 21:17:06 +00:00
|
|
|
extern hashtable_t h_gamefuncs;
|
|
|
|
|
|
|
|
#if !defined LUNATIC
|
2010-08-02 08:13:51 +00:00
|
|
|
extern hashtable_t h_gamevars;
|
|
|
|
extern hashtable_t h_arrays;
|
|
|
|
extern hashtable_t h_labels;
|
|
|
|
|
2016-08-27 01:40:35 +00:00
|
|
|
extern int32_t g_aimAngleVarID; // var ID of "AUTOAIMANGLE"
|
2016-08-27 01:42:01 +00:00
|
|
|
extern int32_t g_angRangeVarID; // var ID of "ANGRANGE"
|
2016-08-27 01:40:35 +00:00
|
|
|
extern int32_t g_hitagVarID; // var ID of "HITAG"
|
2016-08-27 01:42:01 +00:00
|
|
|
extern int32_t g_lotagVarID; // var ID of "LOTAG"
|
|
|
|
extern int32_t g_returnVarID; // var ID of "RETURN"
|
2016-08-27 01:40:35 +00:00
|
|
|
extern int32_t g_textureVarID; // var ID of "TEXTURE"
|
|
|
|
extern int32_t g_thisActorVarID; // var ID of "THISACTOR"
|
2016-08-27 01:42:01 +00:00
|
|
|
extern int32_t g_weaponVarID; // var ID of "WEAPON"
|
|
|
|
extern int32_t g_worksLikeVarID; // var ID of "WORKSLIKE"
|
|
|
|
extern int32_t g_zRangeVarID; // var ID of "ZRANGE"
|
2015-03-25 06:27:42 +00:00
|
|
|
|
2018-11-18 18:11:21 +00:00
|
|
|
// KEEPINSYNC gamevars.cpp: "special vars for struct access"
|
2016-08-27 01:40:35 +00:00
|
|
|
enum QuickStructureAccess_t
|
|
|
|
{
|
2015-03-25 06:27:42 +00:00
|
|
|
STRUCT_SPRITE,
|
2018-11-18 18:11:04 +00:00
|
|
|
STRUCT_SPRITE_INTERNAL__,
|
|
|
|
STRUCT_ACTOR_INTERNAL__,
|
|
|
|
STRUCT_SPRITEEXT_INTERNAL__,
|
2015-03-25 06:27:42 +00:00
|
|
|
STRUCT_SECTOR,
|
|
|
|
STRUCT_WALL,
|
|
|
|
STRUCT_PLAYER,
|
|
|
|
STRUCT_ACTORVAR,
|
2015-03-25 06:27:57 +00:00
|
|
|
STRUCT_PLAYERVAR,
|
|
|
|
STRUCT_TSPR,
|
|
|
|
STRUCT_PROJECTILE,
|
|
|
|
STRUCT_THISPROJECTILE,
|
|
|
|
STRUCT_USERDEF,
|
|
|
|
STRUCT_INPUT,
|
2015-03-30 05:56:37 +00:00
|
|
|
STRUCT_TILEDATA,
|
|
|
|
STRUCT_PALDATA,
|
2015-03-25 06:27:42 +00:00
|
|
|
NUMQUICKSTRUCTS,
|
|
|
|
};
|
|
|
|
|
2016-08-27 01:40:35 +00:00
|
|
|
extern int32_t g_structVarIDs;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-11-29 07:28:54 +00:00
|
|
|
#include "events_defs.h"
|
|
|
|
extern intptr_t apScriptEvents[MAXEVENTS];
|
2013-01-20 21:17:06 +00:00
|
|
|
#endif
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2016-08-27 01:42:01 +00:00
|
|
|
extern char g_scriptFileName[BMAX_PATH];
|
|
|
|
|
2015-03-24 10:49:03 +00:00
|
|
|
extern const uint32_t CheatFunctionFlags[];
|
2016-08-27 01:40:35 +00:00
|
|
|
extern const uint8_t CheatFunctionIDs[];
|
2016-08-27 01:42:01 +00:00
|
|
|
|
2017-01-01 13:23:29 +00:00
|
|
|
extern int32_t g_errorCnt;
|
|
|
|
extern int32_t g_lineNumber;
|
|
|
|
extern int32_t g_numXStrings;
|
|
|
|
extern int32_t g_scriptVersion;
|
|
|
|
extern int32_t g_totalLines;
|
|
|
|
extern int32_t g_warningCnt;
|
2018-08-09 16:06:49 +00:00
|
|
|
extern uint32_t g_scriptcrc;
|
2016-08-27 01:42:01 +00:00
|
|
|
extern int32_t otherp;
|
2008-09-03 04:20:46 +00:00
|
|
|
|
2018-11-18 18:06:07 +00:00
|
|
|
extern const char *EventNames[MAXEVENTS];
|
2013-01-20 21:17:06 +00:00
|
|
|
|
|
|
|
#if !defined LUNATIC
|
2008-11-25 13:06:36 +00:00
|
|
|
extern intptr_t *g_scriptPtr;
|
|
|
|
|
2018-11-18 18:10:04 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
int32_t lId;
|
|
|
|
uint32_t flags;
|
|
|
|
int16_t maxParm2;
|
|
|
|
int16_t offset;
|
|
|
|
} memberlabel_t;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern const memberlabel_t ActorLabels[];
|
2016-08-27 01:42:01 +00:00
|
|
|
extern const memberlabel_t InputLabels[];
|
|
|
|
extern const memberlabel_t PalDataLabels[];
|
2008-11-20 14:06:36 +00:00
|
|
|
extern const memberlabel_t PlayerLabels[];
|
|
|
|
extern const memberlabel_t ProjectileLabels[];
|
2016-08-27 01:42:01 +00:00
|
|
|
extern const memberlabel_t SectorLabels[];
|
2015-03-30 05:56:37 +00:00
|
|
|
extern const memberlabel_t TileDataLabels[];
|
2016-08-27 01:42:01 +00:00
|
|
|
extern const memberlabel_t TsprLabels[];
|
|
|
|
extern const memberlabel_t UserdefsLabels[];
|
|
|
|
extern const memberlabel_t WallLabels[];
|
2018-11-18 18:14:26 +00:00
|
|
|
|
|
|
|
extern hashtable_t h_actor;
|
|
|
|
extern hashtable_t h_input;
|
|
|
|
extern hashtable_t h_paldata;
|
|
|
|
extern hashtable_t h_player;
|
|
|
|
extern hashtable_t h_projectile;
|
|
|
|
extern hashtable_t h_sector;
|
|
|
|
extern hashtable_t h_tiledata;
|
|
|
|
extern hashtable_t h_tsprite;
|
|
|
|
extern hashtable_t h_userdef;
|
|
|
|
extern hashtable_t h_wall;
|
2013-01-20 21:17:06 +00:00
|
|
|
#endif
|
2007-08-27 23:11:49 +00:00
|
|
|
|
2015-04-18 21:59:21 +00:00
|
|
|
typedef projectile_t defaultprojectile_t;
|
2015-03-24 00:40:55 +00:00
|
|
|
|
|
|
|
extern defaultprojectile_t DefaultProjectile;
|
2013-01-01 15:24:25 +00:00
|
|
|
int32_t C_AllocQuote(int32_t qnum);
|
2015-05-16 11:56:49 +00:00
|
|
|
void C_AllocProjectile(int32_t j);
|
|
|
|
void C_FreeProjectile(int32_t j);
|
2013-01-01 15:24:25 +00:00
|
|
|
void C_InitQuotes(void);
|
2013-02-07 21:00:48 +00:00
|
|
|
void C_InitProjectiles(void);
|
2013-01-01 15:24:25 +00:00
|
|
|
|
2009-01-07 14:05:13 +00:00
|
|
|
typedef struct {
|
2016-08-27 01:40:35 +00:00
|
|
|
int spriteNum;
|
|
|
|
int playerNum;
|
|
|
|
int playerDist;
|
|
|
|
int flags;
|
|
|
|
|
|
|
|
union {
|
|
|
|
spritetype * pSprite;
|
|
|
|
uspritetype *pUSprite;
|
|
|
|
};
|
|
|
|
|
|
|
|
int32_t * pData;
|
|
|
|
DukePlayer_t *pPlayer;
|
2017-06-23 03:59:19 +00:00
|
|
|
actor_t * pActor;
|
2009-01-07 14:05:13 +00:00
|
|
|
} vmstate_t;
|
|
|
|
|
|
|
|
extern vmstate_t vm;
|
|
|
|
|
2014-11-26 04:39:23 +00:00
|
|
|
void G_DoGameStartup(const int32_t *params);
|
2016-08-27 01:42:01 +00:00
|
|
|
void C_DefineMusic(int volumeNum, int levelNum, const char *fileName);
|
2014-11-26 04:39:23 +00:00
|
|
|
|
2015-02-22 22:15:20 +00:00
|
|
|
void C_DefineVolumeFlags(int32_t vol, int32_t flags);
|
2015-02-22 22:14:54 +00:00
|
|
|
void C_UndefineVolume(int32_t vol);
|
|
|
|
void C_UndefineSkill(int32_t skill);
|
|
|
|
void C_UndefineLevel(int32_t vol, int32_t lev);
|
2014-11-26 04:39:23 +00:00
|
|
|
#if defined LUNATIC
|
|
|
|
void C_DefineSound(int32_t sndidx, const char *fn, int32_t args[5]);
|
|
|
|
void C_DefineQuote(int32_t qnum, const char *qstr);
|
|
|
|
void C_DefineVolumeName(int32_t vol, const char *name);
|
|
|
|
void C_DefineSkillName(int32_t skill, const char *name);
|
|
|
|
void C_DefineLevelName(int32_t vol, int32_t lev, const char *fn,
|
|
|
|
int32_t partime, int32_t designertime,
|
|
|
|
const char *levelname);
|
|
|
|
void C_DefineGameFuncName(int32_t idx, const char *name);
|
|
|
|
void C_DefineGameType(int32_t idx, int32_t flags, const char *name);
|
|
|
|
int32_t C_SetDefName(const char *name);
|
|
|
|
void C_DefineProjectile(int32_t j, int32_t what, int32_t val);
|
|
|
|
void C_SetCfgName(const char *cfgname);
|
|
|
|
#else
|
2018-11-18 18:14:26 +00:00
|
|
|
void C_ReportError(int error);
|
2013-01-20 21:17:06 +00:00
|
|
|
void C_Compile(const char *filenam);
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t g_errorLineNum;
|
|
|
|
extern int32_t g_tw;
|
2008-09-03 04:20:46 +00:00
|
|
|
|
2016-02-02 00:21:24 +00:00
|
|
|
typedef struct {
|
|
|
|
const char* token;
|
|
|
|
int32_t val;
|
|
|
|
} tokenmap_t;
|
|
|
|
|
2017-08-27 10:20:23 +00:00
|
|
|
extern const tokenmap_t iter_tokens[];
|
2016-02-02 00:21:24 +00:00
|
|
|
|
2017-10-16 03:32:30 +00:00
|
|
|
extern char const * VM_GetKeywordForID(int32_t id);
|
|
|
|
|
2012-06-17 19:45:33 +00:00
|
|
|
// KEEPINSYNC lunatic/con_lang.lua
|
2009-01-13 04:40:56 +00:00
|
|
|
enum SystemString_t {
|
|
|
|
STR_MAPNAME,
|
|
|
|
STR_MAPFILENAME,
|
|
|
|
STR_PLAYERNAME,
|
|
|
|
STR_VERSION,
|
|
|
|
STR_GAMETYPE,
|
2015-02-08 08:03:50 +00:00
|
|
|
STR_VOLUMENAME,
|
|
|
|
STR_YOURTIME,
|
|
|
|
STR_PARTIME,
|
|
|
|
STR_DESIGNERTIME,
|
|
|
|
STR_BESTTIME,
|
2018-01-30 01:03:50 +00:00
|
|
|
STR_USERMAPFILENAME,
|
2009-01-13 04:40:56 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ScriptError_t
|
2006-12-10 06:49:01 +00:00
|
|
|
{
|
2018-11-18 18:10:32 +00:00
|
|
|
ERROR_ARRAYREADONLY,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_EVENTONLY,
|
|
|
|
ERROR_EXCEEDSMAXTILES,
|
|
|
|
ERROR_EXPECTEDKEYWORD,
|
|
|
|
ERROR_FOUNDWITHIN,
|
2018-11-18 18:10:32 +00:00
|
|
|
ERROR_GAMEARRAYBNC,
|
|
|
|
ERROR_GAMEARRAYBNO,
|
|
|
|
ERROR_INVALIDARRAYWRITE,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_ISAKEYWORD,
|
|
|
|
ERROR_NOENDSWITCH,
|
2018-11-18 18:10:32 +00:00
|
|
|
ERROR_NOTAGAMEARRAY,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_NOTAGAMEDEF,
|
|
|
|
ERROR_NOTAGAMEVAR,
|
2016-01-02 01:56:25 +00:00
|
|
|
ERROR_NOTAMEMBER,
|
2018-11-18 18:10:32 +00:00
|
|
|
ERROR_NOTTOPLEVEL,
|
|
|
|
ERROR_PARAMUNDEFINED,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_SYNTAXERROR,
|
|
|
|
ERROR_VARREADONLY,
|
|
|
|
ERROR_VARTYPEMISMATCH,
|
2018-11-18 18:10:32 +00:00
|
|
|
WARNING_ARRAYMASKSKEYWORD,
|
2008-08-23 23:37:01 +00:00
|
|
|
WARNING_BADGAMEVAR,
|
|
|
|
WARNING_DUPLICATECASE,
|
2006-12-10 06:49:01 +00:00
|
|
|
WARNING_DUPLICATEDEFINITION,
|
|
|
|
WARNING_EVENTSYNC,
|
|
|
|
WARNING_LABELSONLY,
|
Adds the following keywords from M32script into CON: shiftvarvarl, shiftvarvarr, ifvarvarle, ifvarvarge, ifvarvarboth, whilevarl, and whilevarvarl.
This also adds the shorthand versions of some commands, like "set" for "setvarvar", "add" for "addvarvar", "ife" for "ifvarvare", etc. There are about 30 of these. Because some of these names may already be used in some projects as variable names, this revision also includes a somewhat large change in variable naming rules: gamevars may now have the same names as CON keywords, with the caveat that the masked keyword is no longer accessible. This results in a warning at compile time but should ensure nobody's project ever stops compiling due to the introduction of new keywords.
git-svn-id: https://svn.eduke32.com/eduke32@5499 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-02 01:56:20 +00:00
|
|
|
WARNING_NAMEMATCHESVAR,
|
|
|
|
WARNING_VARMASKSKEYWORD,
|
2006-12-10 06:49:01 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum PlayerLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
PLAYER_ZOOM,
|
|
|
|
PLAYER_LOOGIEX,
|
|
|
|
PLAYER_LOOGIEY,
|
|
|
|
PLAYER_NUMLOOGS,
|
|
|
|
PLAYER_LOOGCNT,
|
|
|
|
PLAYER_POSX,
|
|
|
|
PLAYER_POSY,
|
|
|
|
PLAYER_POSZ,
|
|
|
|
PLAYER_HORIZ,
|
|
|
|
PLAYER_OHORIZ,
|
|
|
|
PLAYER_OHORIZOFF,
|
|
|
|
PLAYER_INVDISPTIME,
|
|
|
|
PLAYER_BOBPOSX,
|
|
|
|
PLAYER_BOBPOSY,
|
|
|
|
PLAYER_OPOSX,
|
|
|
|
PLAYER_OPOSY,
|
|
|
|
PLAYER_OPOSZ,
|
|
|
|
PLAYER_PYOFF,
|
|
|
|
PLAYER_OPYOFF,
|
|
|
|
PLAYER_POSXV,
|
|
|
|
PLAYER_POSYV,
|
|
|
|
PLAYER_POSZV,
|
|
|
|
PLAYER_LA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LAYER_SOMETHINGONPLAYER,
|
|
|
|
PLAYER_ON_CRANE,
|
|
|
|
PLAYER_I,
|
2018-11-18 18:07:38 +00:00
|
|
|
PLAYER_PARALLAX_SECTNUM,
|
2006-04-13 20:47:06 +00:00
|
|
|
PLAYER_OVER_SHOULDER_ON,
|
|
|
|
PLAYER_RANDOM_CLUB_FRAME,
|
|
|
|
PLAYER_FIST_INCS,
|
|
|
|
PLAYER_ONE_EIGHTY_COUNT,
|
|
|
|
PLAYER_CHEAT_PHASE,
|
|
|
|
PLAYER_DUMMYPLAYERSPRITE,
|
|
|
|
PLAYER_EXTRA_EXTRA8,
|
|
|
|
PLAYER_QUICK_KICK,
|
|
|
|
PLAYER_HEAT_AMOUNT,
|
|
|
|
PLAYER_ACTORSQU,
|
|
|
|
PLAYER_TIMEBEFOREEXIT,
|
|
|
|
PLAYER_CUSTOMEXITSOUND,
|
|
|
|
PLAYER_WEAPRECS,
|
|
|
|
PLAYER_WEAPRECCNT,
|
2018-11-18 18:07:38 +00:00
|
|
|
PLAYER_INTERFACE_TOGGLE,
|
2006-04-13 20:47:06 +00:00
|
|
|
PLAYER_ROTSCRNANG,
|
|
|
|
PLAYER_DEAD_FLAG,
|
|
|
|
PLAYER_SHOW_EMPTY_WEAPON,
|
|
|
|
PLAYER_SCUBA_AMOUNT,
|
|
|
|
PLAYER_JETPACK_AMOUNT,
|
|
|
|
PLAYER_STEROIDS_AMOUNT,
|
|
|
|
PLAYER_SHIELD_AMOUNT,
|
|
|
|
PLAYER_HOLODUKE_ON,
|
|
|
|
PLAYER_PYCOUNT,
|
|
|
|
PLAYER_WEAPON_POS,
|
|
|
|
PLAYER_FRAG_PS,
|
|
|
|
PLAYER_TRANSPORTER_HOLD,
|
2017-06-23 03:58:43 +00:00
|
|
|
PLAYER_CLIPDIST,
|
2006-04-13 20:47:06 +00:00
|
|
|
PLAYER_LAST_FULL_WEAPON,
|
|
|
|
PLAYER_FOOTPRINTSHADE,
|
|
|
|
PLAYER_BOOT_AMOUNT,
|
|
|
|
PLAYER_SCREAM_VOICE,
|
|
|
|
PLAYER_GM,
|
|
|
|
PLAYER_ON_WARPING_SECTOR,
|
|
|
|
PLAYER_FOOTPRINTCOUNT,
|
|
|
|
PLAYER_HBOMB_ON,
|
|
|
|
PLAYER_JUMPING_TOGGLE,
|
|
|
|
PLAYER_RAPID_FIRE_HOLD,
|
|
|
|
PLAYER_ON_GROUND,
|
|
|
|
PLAYER_NAME,
|
|
|
|
PLAYER_INVEN_ICON,
|
|
|
|
PLAYER_BUTTONPALETTE,
|
|
|
|
PLAYER_JETPACK_ON,
|
|
|
|
PLAYER_SPRITEBRIDGE,
|
|
|
|
PLAYER_SCUBA_ON,
|
|
|
|
PLAYER_FOOTPRINTPAL,
|
|
|
|
PLAYER_HEAT_ON,
|
|
|
|
PLAYER_HOLSTER_WEAPON,
|
|
|
|
PLAYER_FALLING_COUNTER,
|
|
|
|
PLAYER_GOTWEAPON,
|
|
|
|
PLAYER_PALETTE,
|
|
|
|
PLAYER_TOGGLE_KEY_FLAG,
|
|
|
|
PLAYER_KNUCKLE_INCS,
|
|
|
|
PLAYER_WALKING_SND_TOGGLE,
|
|
|
|
PLAYER_PALOOKUP,
|
|
|
|
PLAYER_HARD_LANDING,
|
|
|
|
PLAYER_MAX_SECRET_ROOMS,
|
|
|
|
PLAYER_SECRET_ROOMS,
|
|
|
|
PLAYER_PALS,
|
|
|
|
PLAYER_MAX_ACTORS_KILLED,
|
|
|
|
PLAYER_ACTORS_KILLED,
|
|
|
|
PLAYER_RETURN_TO_CENTER,
|
|
|
|
PLAYER_RUNSPEED,
|
|
|
|
PLAYER_SBS,
|
|
|
|
PLAYER_RELOADING,
|
|
|
|
PLAYER_AUTO_AIM,
|
|
|
|
PLAYER_MOVEMENT_LOCK,
|
|
|
|
PLAYER_SOUND_PITCH,
|
2006-08-18 23:52:26 +00:00
|
|
|
PLAYER_WEAPONSWITCH,
|
2007-08-27 23:11:49 +00:00
|
|
|
PLAYER_TEAM,
|
|
|
|
PLAYER_MAX_PLAYER_HEALTH,
|
|
|
|
PLAYER_MAX_SHIELD_AMOUNT,
|
2008-08-25 02:12:02 +00:00
|
|
|
PLAYER_MAX_AMMO_AMOUNT,
|
2008-09-11 09:24:45 +00:00
|
|
|
PLAYER_LAST_QUICK_KICK,
|
2012-10-29 04:29:17 +00:00
|
|
|
PLAYER_AUTOSTEP,
|
|
|
|
PLAYER_AUTOSTEP_SBW,
|
2015-03-27 12:29:24 +00:00
|
|
|
PLAYER_HUDPAL,
|
2015-04-26 00:07:57 +00:00
|
|
|
PLAYER_INDEX,
|
2017-09-27 02:30:24 +00:00
|
|
|
PLAYER_CONNECTED,
|
2017-12-12 05:14:19 +00:00
|
|
|
PLAYER_FRAGS,
|
|
|
|
PLAYER_DEATHS,
|
2018-03-08 03:54:54 +00:00
|
|
|
PLAYER_LAST_USED_WEAPON,
|
2008-08-25 02:12:02 +00:00
|
|
|
PLAYER_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum UserdefsLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
USERDEFS_GOD,
|
|
|
|
USERDEFS_WARP_ON,
|
|
|
|
USERDEFS_CASHMAN,
|
|
|
|
USERDEFS_EOG,
|
|
|
|
USERDEFS_SHOWALLMAP,
|
|
|
|
USERDEFS_SHOW_HELP,
|
|
|
|
USERDEFS_SCROLLMODE,
|
|
|
|
USERDEFS_CLIPPING,
|
|
|
|
USERDEFS_USER_NAME,
|
|
|
|
USERDEFS_RIDECULE,
|
|
|
|
USERDEFS_SAVEGAME,
|
|
|
|
USERDEFS_PWLOCKOUT,
|
|
|
|
USERDEFS_RTSNAME,
|
|
|
|
USERDEFS_OVERHEAD_ON,
|
|
|
|
USERDEFS_LAST_OVERHEAD,
|
|
|
|
USERDEFS_SHOWWEAPONS,
|
|
|
|
USERDEFS_PAUSE_ON,
|
|
|
|
USERDEFS_FROM_BONUS,
|
|
|
|
USERDEFS_CAMERASPRITE,
|
|
|
|
USERDEFS_LAST_CAMSPRITE,
|
|
|
|
USERDEFS_LAST_LEVEL,
|
|
|
|
USERDEFS_SECRETLEVEL,
|
|
|
|
USERDEFS_CONST_VISIBILITY,
|
|
|
|
USERDEFS_UW_FRAMERATE,
|
|
|
|
USERDEFS_CAMERA_TIME,
|
|
|
|
USERDEFS_FOLFVEL,
|
|
|
|
USERDEFS_FOLAVEL,
|
|
|
|
USERDEFS_FOLX,
|
|
|
|
USERDEFS_FOLY,
|
|
|
|
USERDEFS_FOLA,
|
|
|
|
USERDEFS_RECCNT,
|
|
|
|
USERDEFS_ENTERED_NAME,
|
|
|
|
USERDEFS_SCREEN_TILTING,
|
|
|
|
USERDEFS_SHADOWS,
|
|
|
|
USERDEFS_FTA_ON,
|
|
|
|
USERDEFS_EXECUTIONS,
|
|
|
|
USERDEFS_AUTO_RUN,
|
|
|
|
USERDEFS_COORDS,
|
|
|
|
USERDEFS_TICKRATE,
|
|
|
|
USERDEFS_M_COOP,
|
|
|
|
USERDEFS_COOP,
|
|
|
|
USERDEFS_SCREEN_SIZE,
|
|
|
|
USERDEFS_LOCKOUT,
|
|
|
|
USERDEFS_CROSSHAIR,
|
|
|
|
USERDEFS_PLAYERAI,
|
|
|
|
USERDEFS_RESPAWN_MONSTERS,
|
|
|
|
USERDEFS_RESPAWN_ITEMS,
|
|
|
|
USERDEFS_RESPAWN_INVENTORY,
|
|
|
|
USERDEFS_RECSTAT,
|
|
|
|
USERDEFS_MONSTERS_OFF,
|
|
|
|
USERDEFS_BRIGHTNESS,
|
|
|
|
USERDEFS_M_RESPAWN_ITEMS,
|
|
|
|
USERDEFS_M_RESPAWN_MONSTERS,
|
|
|
|
USERDEFS_M_RESPAWN_INVENTORY,
|
|
|
|
USERDEFS_M_RECSTAT,
|
|
|
|
USERDEFS_M_MONSTERS_OFF,
|
|
|
|
USERDEFS_DETAIL,
|
|
|
|
USERDEFS_M_FFIRE,
|
|
|
|
USERDEFS_FFIRE,
|
|
|
|
USERDEFS_M_PLAYER_SKILL,
|
|
|
|
USERDEFS_M_LEVEL_NUMBER,
|
|
|
|
USERDEFS_M_VOLUME_NUMBER,
|
|
|
|
USERDEFS_MULTIMODE,
|
|
|
|
USERDEFS_PLAYER_SKILL,
|
|
|
|
USERDEFS_LEVEL_NUMBER,
|
|
|
|
USERDEFS_VOLUME_NUMBER,
|
|
|
|
USERDEFS_M_MARKER,
|
|
|
|
USERDEFS_MARKER,
|
|
|
|
USERDEFS_MOUSEFLIP,
|
|
|
|
USERDEFS_STATUSBARSCALE,
|
|
|
|
USERDEFS_DRAWWEAPON,
|
2006-05-07 03:27:41 +00:00
|
|
|
USERDEFS_MOUSEAIMING,
|
|
|
|
USERDEFS_WEAPONSWITCH,
|
2006-04-18 06:01:16 +00:00
|
|
|
USERDEFS_DEMOCAMS,
|
2006-04-22 07:00:31 +00:00
|
|
|
USERDEFS_COLOR,
|
2006-04-30 01:39:58 +00:00
|
|
|
USERDEFS_MSGDISPTIME,
|
2006-05-04 03:14:49 +00:00
|
|
|
USERDEFS_STATUSBARMODE,
|
|
|
|
USERDEFS_M_NOEXITS,
|
2006-05-04 04:18:55 +00:00
|
|
|
USERDEFS_NOEXITS,
|
2006-05-05 01:20:19 +00:00
|
|
|
USERDEFS_AUTOVOTE,
|
2006-05-05 22:39:34 +00:00
|
|
|
USERDEFS_AUTOMSG,
|
2006-08-18 23:52:26 +00:00
|
|
|
USERDEFS_IDPLAYERS,
|
2007-02-25 21:11:59 +00:00
|
|
|
USERDEFS_TEAM,
|
|
|
|
USERDEFS_VIEWBOB,
|
2007-03-24 23:17:56 +00:00
|
|
|
USERDEFS_WEAPONSWAY,
|
|
|
|
USERDEFS_ANGLEINTERPOLATION,
|
2008-07-31 10:35:23 +00:00
|
|
|
USERDEFS_OBITUARIES,
|
2008-07-21 09:05:53 +00:00
|
|
|
USERDEFS_LEVELSTATS,
|
2008-08-07 07:52:36 +00:00
|
|
|
USERDEFS_CROSSHAIRSCALE,
|
2008-08-19 11:05:21 +00:00
|
|
|
USERDEFS_ALTHUD,
|
2008-08-25 02:12:02 +00:00
|
|
|
USERDEFS_DISPLAY_BONUS_SCREEN,
|
2008-09-29 02:12:53 +00:00
|
|
|
USERDEFS_SHOW_LEVEL_TEXT,
|
2008-10-05 11:51:59 +00:00
|
|
|
USERDEFS_WEAPONSCALE,
|
2008-10-11 09:20:04 +00:00
|
|
|
USERDEFS_TEXTSCALE,
|
2012-10-14 18:18:30 +00:00
|
|
|
USERDEFS_RUNKEY_MODE,
|
2015-01-25 12:16:58 +00:00
|
|
|
USERDEFS_M_ORIGIN_X,
|
|
|
|
USERDEFS_M_ORIGIN_Y,
|
2015-02-08 08:03:30 +00:00
|
|
|
USERDEFS_PLAYERBEST,
|
2015-02-08 08:04:09 +00:00
|
|
|
USERDEFS_MUSICTOGGLE,
|
2015-03-08 07:57:13 +00:00
|
|
|
USERDEFS_USEVOXELS,
|
|
|
|
USERDEFS_USEHIGHTILE,
|
|
|
|
USERDEFS_USEMODELS,
|
2015-03-08 07:57:28 +00:00
|
|
|
USERDEFS_GAMETYPEFLAGS,
|
|
|
|
USERDEFS_M_GAMETYPEFLAGS,
|
2015-05-27 08:45:30 +00:00
|
|
|
USERDEFS_GLOBALFLAGS,
|
|
|
|
USERDEFS_GLOBALGAMEFLAGS,
|
2015-12-23 04:06:20 +00:00
|
|
|
USERDEFS_VM_PLAYER,
|
|
|
|
USERDEFS_VM_SPRITE,
|
|
|
|
USERDEFS_VM_DISTANCE,
|
2016-01-12 10:31:01 +00:00
|
|
|
USERDEFS_SOUNDTOGGLE,
|
2017-06-20 09:28:59 +00:00
|
|
|
USERDEFS_GAMETEXT_TRACKING,
|
|
|
|
USERDEFS_MGAMETEXT_TRACKING,
|
|
|
|
USERDEFS_MENUTEXT_TRACKING,
|
2017-07-08 19:42:11 +00:00
|
|
|
USERDEFS_MAXSPRITESONSCREEN,
|
2017-11-29 07:29:44 +00:00
|
|
|
USERDEFS_SCREENAREA_X1,
|
|
|
|
USERDEFS_SCREENAREA_Y1,
|
|
|
|
USERDEFS_SCREENAREA_X2,
|
|
|
|
USERDEFS_SCREENAREA_Y2,
|
2017-12-12 05:13:53 +00:00
|
|
|
USERDEFS_SCREENFADE,
|
2018-01-26 04:34:43 +00:00
|
|
|
USERDEFS_MENUBACKGROUND,
|
2018-01-26 04:34:51 +00:00
|
|
|
USERDEFS_STATUSBARFLAGS,
|
|
|
|
USERDEFS_STATUSBARRANGE,
|
|
|
|
USERDEFS_STATUSBARCUSTOM,
|
2018-01-26 04:34:57 +00:00
|
|
|
USERDEFS_HUDONTOP,
|
2018-01-26 04:35:02 +00:00
|
|
|
USERDEFS_MENU_SLIDEBARZ,
|
|
|
|
USERDEFS_MENU_SLIDEBARMARGIN,
|
|
|
|
USERDEFS_MENU_SLIDECURSORZ,
|
2018-01-26 04:35:11 +00:00
|
|
|
USERDEFS_GLOBAL_R,
|
|
|
|
USERDEFS_GLOBAL_G,
|
|
|
|
USERDEFS_GLOBAL_B,
|
2018-01-26 04:35:33 +00:00
|
|
|
USERDEFS_DEFAULT_VOLUME,
|
|
|
|
USERDEFS_DEFAULT_SKILL,
|
2018-01-29 02:14:16 +00:00
|
|
|
USERDEFS_MENU_SHADEDESELECTED,
|
|
|
|
USERDEFS_MENU_SHADEDISABLED,
|
|
|
|
USERDEFS_MENUTEXT_ZOOM,
|
|
|
|
USERDEFS_MENUTEXT_XSPACE,
|
|
|
|
USERDEFS_MENUTEXT_PAL,
|
|
|
|
USERDEFS_MENUTEXT_PALSELECTED,
|
|
|
|
USERDEFS_MENUTEXT_PALDESELECTED,
|
|
|
|
USERDEFS_MENUTEXT_PALDISABLED,
|
|
|
|
USERDEFS_MENUTEXT_PALSELECTED_RIGHT,
|
|
|
|
USERDEFS_MENUTEXT_PALDESELECTED_RIGHT,
|
|
|
|
USERDEFS_MENUTEXT_PALDISABLED_RIGHT,
|
|
|
|
USERDEFS_GAMETEXT_ZOOM,
|
|
|
|
USERDEFS_GAMETEXT_XSPACE,
|
|
|
|
USERDEFS_GAMETEXT_PAL,
|
|
|
|
USERDEFS_GAMETEXT_PALSELECTED,
|
|
|
|
USERDEFS_GAMETEXT_PALDESELECTED,
|
|
|
|
USERDEFS_GAMETEXT_PALDISABLED,
|
|
|
|
USERDEFS_GAMETEXT_PALSELECTED_RIGHT,
|
|
|
|
USERDEFS_GAMETEXT_PALDESELECTED_RIGHT,
|
|
|
|
USERDEFS_GAMETEXT_PALDISABLED_RIGHT,
|
|
|
|
USERDEFS_MINITEXT_ZOOM,
|
|
|
|
USERDEFS_MINITEXT_XSPACE,
|
|
|
|
USERDEFS_MINITEXT_TRACKING,
|
|
|
|
USERDEFS_MINITEXT_PAL,
|
|
|
|
USERDEFS_MINITEXT_PALSELECTED,
|
|
|
|
USERDEFS_MINITEXT_PALDESELECTED,
|
|
|
|
USERDEFS_MINITEXT_PALDISABLED,
|
|
|
|
USERDEFS_MINITEXT_PALSELECTED_RIGHT,
|
|
|
|
USERDEFS_MINITEXT_PALDESELECTED_RIGHT,
|
|
|
|
USERDEFS_MINITEXT_PALDISABLED_RIGHT,
|
|
|
|
USERDEFS_MENUTITLE_PAL,
|
|
|
|
USERDEFS_SLIDEBAR_PALSELECTED,
|
|
|
|
USERDEFS_SLIDEBAR_PALDISABLED,
|
2018-01-29 11:13:30 +00:00
|
|
|
USERDEFS_USER_MAP,
|
|
|
|
USERDEFS_M_USER_MAP,
|
2018-01-29 11:13:59 +00:00
|
|
|
USERDEFS_MUSIC_EPISODE,
|
|
|
|
USERDEFS_MUSIC_LEVEL,
|
2018-01-29 11:14:17 +00:00
|
|
|
USERDEFS_SHADOW_PAL,
|
2018-02-22 13:34:34 +00:00
|
|
|
USERDEFS_MENU_SCROLLBARTILENUM,
|
|
|
|
USERDEFS_MENU_SCROLLBARZ,
|
|
|
|
USERDEFS_MENU_SCROLLCURSORZ,
|
2018-02-26 20:20:00 +00:00
|
|
|
USERDEFS_RETURN,
|
2018-03-08 03:55:07 +00:00
|
|
|
USERDEFS_USERBYTEVERSION,
|
2018-03-08 03:55:12 +00:00
|
|
|
USERDEFS_AUTOSAVE,
|
2008-08-25 02:12:02 +00:00
|
|
|
USERDEFS_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum SectorLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
SECTOR_WALLPTR,
|
|
|
|
SECTOR_WALLNUM,
|
|
|
|
SECTOR_CEILINGZ,
|
2016-01-21 19:34:56 +00:00
|
|
|
SECTOR_CEILINGZGOAL,
|
|
|
|
SECTOR_CEILINGZVEL,
|
2006-04-13 20:47:06 +00:00
|
|
|
SECTOR_FLOORZ,
|
2016-01-21 19:34:56 +00:00
|
|
|
SECTOR_FLOORZGOAL,
|
|
|
|
SECTOR_FLOORZVEL,
|
2006-04-13 20:47:06 +00:00
|
|
|
SECTOR_CEILINGSTAT,
|
|
|
|
SECTOR_FLOORSTAT,
|
|
|
|
SECTOR_CEILINGPICNUM,
|
|
|
|
SECTOR_CEILINGSLOPE,
|
|
|
|
SECTOR_CEILINGSHADE,
|
|
|
|
SECTOR_CEILINGPAL,
|
|
|
|
SECTOR_CEILINGXPANNING,
|
|
|
|
SECTOR_CEILINGYPANNING,
|
|
|
|
SECTOR_FLOORPICNUM,
|
|
|
|
SECTOR_FLOORSLOPE,
|
|
|
|
SECTOR_FLOORSHADE,
|
|
|
|
SECTOR_FLOORPAL,
|
|
|
|
SECTOR_FLOORXPANNING,
|
|
|
|
SECTOR_FLOORYPANNING,
|
|
|
|
SECTOR_VISIBILITY,
|
2014-04-05 11:28:10 +00:00
|
|
|
SECTOR_FOGPAL,
|
2006-04-13 20:47:06 +00:00
|
|
|
SECTOR_LOTAG,
|
|
|
|
SECTOR_HITAG,
|
2008-08-25 02:12:02 +00:00
|
|
|
SECTOR_EXTRA,
|
2011-07-10 15:39:21 +00:00
|
|
|
SECTOR_CEILINGBUNCH,
|
|
|
|
SECTOR_FLOORBUNCH,
|
2012-11-16 00:54:04 +00:00
|
|
|
SECTOR_ULOTAG,
|
|
|
|
SECTOR_UHITAG,
|
2008-08-25 02:12:02 +00:00
|
|
|
SECTOR_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum WallLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
WALL_X,
|
|
|
|
WALL_Y,
|
|
|
|
WALL_POINT2,
|
|
|
|
WALL_NEXTWALL,
|
|
|
|
WALL_NEXTSECTOR,
|
|
|
|
WALL_CSTAT,
|
|
|
|
WALL_PICNUM,
|
|
|
|
WALL_OVERPICNUM,
|
|
|
|
WALL_SHADE,
|
|
|
|
WALL_PAL,
|
|
|
|
WALL_XREPEAT,
|
|
|
|
WALL_YREPEAT,
|
|
|
|
WALL_XPANNING,
|
|
|
|
WALL_YPANNING,
|
|
|
|
WALL_LOTAG,
|
|
|
|
WALL_HITAG,
|
2008-08-25 02:12:02 +00:00
|
|
|
WALL_EXTRA,
|
2012-11-16 00:54:04 +00:00
|
|
|
WALL_ULOTAG,
|
|
|
|
WALL_UHITAG,
|
2017-06-25 11:23:58 +00:00
|
|
|
WALL_BLEND,
|
2008-08-25 02:12:02 +00:00
|
|
|
WALL_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ActorLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
ACTOR_X,
|
|
|
|
ACTOR_Y,
|
|
|
|
ACTOR_Z,
|
|
|
|
ACTOR_CSTAT,
|
|
|
|
ACTOR_PICNUM,
|
|
|
|
ACTOR_SHADE,
|
|
|
|
ACTOR_PAL,
|
|
|
|
ACTOR_CLIPDIST,
|
|
|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|
|
|
|
ACTOR_ANGOFF = ACTOR_SPRITEEXT_BEGIN,
|
2006-04-13 20:47:06 +00:00
|
|
|
ACTOR_PITCH,
|
|
|
|
ACTOR_ROLL,
|
|
|
|
ACTOR_MDXOFF,
|
|
|
|
ACTOR_MDYOFF,
|
2007-08-19 00:15:30 +00:00
|
|
|
ACTOR_MDZOFF,
|
2008-01-03 21:54:58 +00:00
|
|
|
ACTOR_MDFLAGS,
|
|
|
|
ACTOR_XPANNING,
|
2008-07-12 10:57:52 +00:00
|
|
|
ACTOR_YPANNING,
|
2009-04-24 02:53:50 +00:00
|
|
|
ACTOR_ALPHA,
|
2013-11-11 16:48:17 +00:00
|
|
|
ACTOR_ISVALID,
|
2008-08-25 02:12:02 +00:00
|
|
|
ACTOR_END
|
2008-07-13 07:10:47 +00:00
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum InputLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
INPUT_AVEL,
|
2018-03-07 04:21:52 +00:00
|
|
|
INPUT_Q16AVEL,
|
2006-04-13 20:47:06 +00:00
|
|
|
INPUT_HORZ,
|
2018-03-07 04:21:52 +00:00
|
|
|
INPUT_Q16HORZ,
|
2006-04-13 20:47:06 +00:00
|
|
|
INPUT_FVEL,
|
|
|
|
INPUT_SVEL,
|
|
|
|
INPUT_BITS,
|
2008-08-25 02:12:02 +00:00
|
|
|
INPUT_EXTBITS,
|
|
|
|
INPUT_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
|
|
|
|
2015-03-30 05:56:37 +00:00
|
|
|
enum TileDataLabel_t
|
|
|
|
{
|
|
|
|
TILEDATA_XSIZE,
|
|
|
|
TILEDATA_YSIZE,
|
|
|
|
TILEDATA_ANIMFRAMES,
|
|
|
|
TILEDATA_XOFFSET,
|
|
|
|
TILEDATA_YOFFSET,
|
|
|
|
TILEDATA_ANIMSPEED,
|
|
|
|
TILEDATA_ANIMTYPE,
|
|
|
|
TILEDATA_GAMEFLAGS,
|
|
|
|
TILEDATA_END
|
|
|
|
};
|
|
|
|
|
|
|
|
enum PalDataLabel_t
|
|
|
|
{
|
|
|
|
PALDATA_NOFLOORPAL,
|
|
|
|
PALDATA_DUMMY, // so the hash table is size 1. remove when another member is added.
|
|
|
|
PALDATA_END
|
|
|
|
};
|
|
|
|
|
2013-02-07 21:01:03 +00:00
|
|
|
#endif
|
2012-06-17 19:45:33 +00:00
|
|
|
// KEEPINSYNC lunatic/con_lang.lua
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ProjectileLabel_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_WORKSLIKE, // 0
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_SPAWNS,
|
|
|
|
PROJ_SXREPEAT,
|
|
|
|
PROJ_SYREPEAT,
|
|
|
|
PROJ_SOUND,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_ISOUND, // 5
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_VEL,
|
|
|
|
PROJ_EXTRA,
|
|
|
|
PROJ_DECAL,
|
|
|
|
PROJ_TRAIL,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_TXREPEAT, // 10
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_TYREPEAT,
|
|
|
|
PROJ_TOFFSET,
|
|
|
|
PROJ_TNUM,
|
|
|
|
PROJ_DROP,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_CSTAT, // 15
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_CLIPDIST,
|
|
|
|
PROJ_SHADE,
|
|
|
|
PROJ_XREPEAT,
|
|
|
|
PROJ_YREPEAT,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_PAL, // 20
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_EXTRA_RAND,
|
|
|
|
PROJ_HITRADIUS,
|
2012-10-05 20:48:10 +00:00
|
|
|
PROJ_MOVECNT,
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_OFFSET,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_BOUNCES, // 25
|
2006-04-13 20:47:06 +00:00
|
|
|
PROJ_BSOUND,
|
2009-04-13 06:01:50 +00:00
|
|
|
PROJ_RANGE,
|
2012-06-17 19:45:33 +00:00
|
|
|
PROJ_FLASH_COLOR,
|
2013-06-09 16:37:18 +00:00
|
|
|
PROJ_USERDATA,
|
2008-08-25 02:12:02 +00:00
|
|
|
PROJ_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
2013-02-07 21:01:03 +00:00
|
|
|
#if !defined LUNATIC
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2016-02-02 00:21:24 +00:00
|
|
|
enum IterationTypes_t
|
|
|
|
{
|
|
|
|
ITER_ALLSPRITES,
|
|
|
|
ITER_ALLSECTORS,
|
|
|
|
ITER_ALLWALLS,
|
|
|
|
ITER_ACTIVELIGHTS,
|
|
|
|
ITER_DRAWNSPRITES,
|
|
|
|
// ---
|
|
|
|
ITER_SPRITESOFSECTOR,
|
|
|
|
ITER_SPRITESOFSTATUS,
|
|
|
|
ITER_WALLSOFSECTOR,
|
|
|
|
ITER_LOOPOFWALL,
|
|
|
|
ITER_RANGE,
|
2018-02-11 05:03:59 +00:00
|
|
|
ITER_ALLSPRITESBYSTAT,
|
|
|
|
ITER_ALLSPRITESBYSECT,
|
2016-02-02 00:21:24 +00:00
|
|
|
ITER_END
|
|
|
|
};
|
|
|
|
|
2018-12-15 01:38:00 +00:00
|
|
|
// most keywords have opcodes but some opcodes don't have keywords
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ScriptKeywords_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2018-12-15 01:38:16 +00:00
|
|
|
CON_IFVARA_GLOBAL,
|
|
|
|
CON_IFVARAE_GLOBAL,
|
|
|
|
CON_IFVARAND_GLOBAL,
|
|
|
|
CON_IFV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OR,
|
|
|
|
CON_SUBVAR_ACTOR,
|
|
|
|
CON_WHILEVARL_ACTOR,
|
|
|
|
CON_WHILEVARN_ACTOR,
|
|
|
|
CON_XORVAR_ACTOR,
|
|
|
|
|
|
|
|
CON_IFVARVARA,
|
|
|
|
CON_IFVARVARAE,
|
|
|
|
CON_IFVARVARAND,
|
|
|
|
CON_IFVARVARB,
|
|
|
|
CON_IFVARVARBE,
|
|
|
|
CON_IFVARVARBOTH,
|
|
|
|
CON_IFVARVARE,
|
|
|
|
CON_IFVARVAREITHER,
|
|
|
|
CON_IFVARVARG,
|
|
|
|
CON_IFVARVARGE,
|
|
|
|
CON_IFVARVARL,
|
|
|
|
CON_IFVARVARLE,
|
|
|
|
CON_IFVARVARN,
|
|
|
|
CON_IFVARVAROR,
|
|
|
|
CON_IFVARVARXOR,
|
|
|
|
|
|
|
|
CON_ADDVARVAR,
|
|
|
|
CON_ANDVARVAR,
|
|
|
|
CON_DIVVARVAR,
|
|
|
|
CON_MODVARVAR,
|
|
|
|
CON_MULVARVAR,
|
|
|
|
CON_ORVARVAR,
|
|
|
|
CON_RANDVARVAR,
|
|
|
|
CON_SETVARVAR,
|
|
|
|
CON_SHIFTVARVARL,
|
|
|
|
CON_SHIFTVARVARR,
|
|
|
|
CON_SUBVARVAR,
|
|
|
|
CON_WHILEVARVARL,
|
|
|
|
CON_WHILEVARVARN,
|
|
|
|
CON_XORVARVAR,
|
|
|
|
|
|
|
|
CON_IFVARA,
|
|
|
|
CON_IFVARAE,
|
|
|
|
CON_IFVARAND,
|
|
|
|
CON_IFVARB,
|
|
|
|
CON_IFVARBE,
|
|
|
|
CON_IFVARBOTH,
|
|
|
|
CON_IFVARE,
|
|
|
|
CON_IFVAREITHER,
|
|
|
|
CON_IFVARG,
|
|
|
|
CON_IFVARGE,
|
|
|
|
CON_IFVARL,
|
|
|
|
CON_IFVARLE,
|
|
|
|
CON_IFVARN,
|
|
|
|
CON_IFVAROR,
|
|
|
|
CON_IFVARXOR,
|
|
|
|
|
|
|
|
CON_ADDVAR,
|
|
|
|
CON_ANDVAR,
|
|
|
|
CON_DIVVAR,
|
|
|
|
CON_MODVAR,
|
|
|
|
CON_MULVAR,
|
|
|
|
CON_ORVAR,
|
|
|
|
CON_RANDVAR,
|
|
|
|
CON_SETVAR,
|
|
|
|
CON_SHIFTVARL,
|
|
|
|
CON_SHIFTVARR,
|
|
|
|
CON_SUBVAR,
|
|
|
|
CON_WHILEVARL,
|
|
|
|
CON_WHILEVARN,
|
|
|
|
CON_XORVAR,
|
|
|
|
|
|
|
|
CON_ELSE,
|
|
|
|
CON_ENDA,
|
|
|
|
CON_ENDEVENT,
|
|
|
|
CON_ENDS,
|
|
|
|
CON_ENDSWITCH,
|
|
|
|
CON_LEFTBRACE,
|
|
|
|
CON_RIGHTBRACE,
|
|
|
|
CON_STATE,
|
|
|
|
|
|
|
|
CON_SETACTOR,
|
|
|
|
CON_SETACTORSTRUCT,
|
|
|
|
CON_SETACTORVAR,
|
|
|
|
CON_SETARRAY,
|
|
|
|
CON_SETPLAYER,
|
|
|
|
CON_SETPLAYERVAR,
|
|
|
|
CON_SETPROJECTILE,
|
|
|
|
CON_SETSECTOR,
|
|
|
|
CON_SETSPRITEEXT,
|
|
|
|
CON_SETSPRITESTRUCT,
|
|
|
|
CON_SETTHISPROJECTILE,
|
|
|
|
CON_SETTSPR,
|
|
|
|
CON_SETUSERDEF,
|
|
|
|
CON_SETWALL,
|
|
|
|
|
|
|
|
CON_GETACTOR,
|
|
|
|
CON_GETACTORSTRUCT,
|
|
|
|
CON_GETACTORVAR,
|
|
|
|
CON_GETANGLE,
|
|
|
|
CON_GETPLAYER,
|
|
|
|
CON_GETPLAYERVAR,
|
|
|
|
CON_GETPROJECTILE,
|
|
|
|
CON_GETSECTOR,
|
|
|
|
CON_GETSPRITEEXT,
|
|
|
|
CON_GETSPRITESTRUCT,
|
|
|
|
CON_GETTSPR,
|
|
|
|
CON_GETUSERDEF,
|
|
|
|
CON_GETWALL,
|
|
|
|
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_ACTION,
|
|
|
|
CON_ACTIVATE,
|
|
|
|
CON_ACTIVATEBYSECTOR,
|
|
|
|
CON_ACTIVATECHEAT,
|
|
|
|
CON_ACTORSOUND,
|
|
|
|
CON_ADDAMMO,
|
|
|
|
CON_ADDINVENTORY,
|
|
|
|
CON_ADDKILLS,
|
|
|
|
CON_ADDLOGVAR,
|
|
|
|
CON_ADDPHEALTH,
|
|
|
|
CON_ADDSTRENGTH,
|
|
|
|
CON_ADDWEAPON,
|
|
|
|
CON_AI,
|
|
|
|
CON_ANGOFF,
|
|
|
|
CON_BREAK,
|
|
|
|
CON_CACTOR,
|
|
|
|
CON_CALCHYPOTENUSE,
|
|
|
|
CON_CANSEE,
|
|
|
|
CON_CANSEESPR,
|
|
|
|
CON_CHANGESPRITESECT,
|
|
|
|
CON_CHANGESPRITESTAT,
|
|
|
|
CON_CHECKACTIVATORMOTION,
|
|
|
|
CON_CHECKAVAILINVEN,
|
|
|
|
CON_CHECKAVAILWEAPON,
|
|
|
|
CON_CLAMP,
|
|
|
|
CON_CLEARMAPSTATE,
|
|
|
|
CON_CLIPDIST,
|
|
|
|
CON_CLIPMOVE,
|
|
|
|
CON_CLIPMOVENOSLIDE,
|
|
|
|
CON_CMENU,
|
|
|
|
CON_COPY,
|
|
|
|
CON_COS,
|
|
|
|
CON_COUNT,
|
|
|
|
CON_CSTAT,
|
|
|
|
CON_CSTATOR,
|
|
|
|
CON_DEBRIS,
|
|
|
|
CON_DEBUG,
|
|
|
|
CON_DIGITALNUMBER,
|
|
|
|
CON_DIGITALNUMBERZ,
|
|
|
|
CON_DISPLAYRAND,
|
|
|
|
CON_DIST,
|
|
|
|
CON_DIVR,
|
|
|
|
CON_DIVRU,
|
|
|
|
CON_DIVSCALE,
|
2018-12-15 01:38:16 +00:00
|
|
|
CON_DISPLAYRANDVAR,
|
|
|
|
CON_DISPLAYRANDVARVAR,
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_DRAGPOINT,
|
|
|
|
CON_DRAWLINE256,
|
|
|
|
CON_DRAWLINERGB,
|
|
|
|
CON_ECHO,
|
|
|
|
CON_ENDOFGAME,
|
|
|
|
CON_ENDOFLEVEL,
|
|
|
|
CON_EQSPAWN,
|
|
|
|
CON_ESHOOT,
|
|
|
|
CON_ESPAWN,
|
|
|
|
CON_EVENTLOADACTOR,
|
|
|
|
CON_EZSHOOT,
|
|
|
|
CON_FALL,
|
|
|
|
CON_FINDNEARACTOR,
|
2018-12-15 01:38:00 +00:00
|
|
|
CON_FINDNEARACTOR3D,
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_FINDNEARACTORZ,
|
|
|
|
CON_FINDNEARSPRITE,
|
2018-12-15 01:38:00 +00:00
|
|
|
CON_FINDNEARSPRITE3D,
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_FINDNEARSPRITEZ,
|
|
|
|
CON_FINDOTHERPLAYER,
|
|
|
|
CON_FINDPLAYER,
|
|
|
|
CON_FLASH,
|
|
|
|
CON_FOR,
|
|
|
|
CON_GAMETEXT,
|
|
|
|
CON_GAMETEXTZ,
|
|
|
|
CON_GETACTORANGLE,
|
|
|
|
CON_GETANGLETOTARGET,
|
|
|
|
CON_GETARRAYSIZE,
|
|
|
|
CON_GETCEILZOFSLOPE,
|
|
|
|
CON_GETCLOSESTCOL,
|
|
|
|
CON_GETCURRADDRESS,
|
|
|
|
CON_GETFLORZOFSLOPE,
|
|
|
|
CON_GETINCANGLE,
|
|
|
|
CON_GETINPUT,
|
|
|
|
CON_GETKEYNAME,
|
|
|
|
CON_GETLASTPAL,
|
|
|
|
CON_GETMUSICPOSITION,
|
|
|
|
CON_GETPLAYERANGLE,
|
|
|
|
CON_GETPNAME,
|
|
|
|
CON_GETTEXTURECEILING,
|
|
|
|
CON_GETTEXTUREFLOOR,
|
|
|
|
CON_GETTHISPROJECTILE,
|
|
|
|
CON_GETTICKS,
|
|
|
|
CON_GETTILEDATA,
|
|
|
|
CON_GETTIMEDATE,
|
|
|
|
CON_GETZRANGE,
|
|
|
|
CON_GLOBALSOUND,
|
|
|
|
CON_GMAXAMMO,
|
|
|
|
CON_GUNIQHUDID,
|
|
|
|
CON_GUTS,
|
|
|
|
CON_HEADSPRITESECT,
|
|
|
|
CON_HEADSPRITESTAT,
|
|
|
|
CON_HITRADIUS,
|
|
|
|
CON_HITSCAN,
|
|
|
|
CON_IFACTION,
|
|
|
|
CON_IFACTIONCOUNT,
|
|
|
|
CON_IFACTOR,
|
|
|
|
CON_IFACTORNOTSTAYPUT,
|
|
|
|
CON_IFACTORSOUND,
|
|
|
|
CON_IFAI,
|
|
|
|
CON_IFANGDIFFL,
|
|
|
|
CON_IFAWAYFROMWALL,
|
|
|
|
CON_IFBULLETNEAR,
|
|
|
|
CON_IFCANSEE,
|
|
|
|
CON_IFCANSEETARGET,
|
|
|
|
CON_IFCANSHOOTTARGET,
|
|
|
|
CON_IFCEILINGDISTL,
|
|
|
|
CON_IFCLIENT,
|
|
|
|
CON_IFCOUNT,
|
|
|
|
CON_IFCUTSCENE,
|
|
|
|
CON_IFDEAD,
|
|
|
|
CON_IFFLOORDISTL,
|
|
|
|
CON_IFGAPZL,
|
|
|
|
CON_IFGOTWEAPONCE,
|
|
|
|
CON_IFHITSPACE,
|
|
|
|
CON_IFHITWEAPON,
|
|
|
|
CON_IFINOUTERSPACE,
|
|
|
|
CON_IFINSPACE,
|
|
|
|
CON_IFINWATER,
|
|
|
|
CON_IFMOVE,
|
|
|
|
CON_IFMULTIPLAYER,
|
|
|
|
CON_IFNOSOUNDS,
|
|
|
|
CON_IFNOTMOVING,
|
|
|
|
CON_IFONWATER,
|
|
|
|
CON_IFOUTSIDE,
|
|
|
|
CON_IFP,
|
|
|
|
CON_IFPDISTG,
|
|
|
|
CON_IFPDISTL,
|
|
|
|
CON_IFPHEALTHL,
|
|
|
|
CON_IFPINVENTORY,
|
|
|
|
CON_IFPLAYBACKON,
|
|
|
|
CON_IFPLAYERSL,
|
|
|
|
CON_IFRESPAWN,
|
|
|
|
CON_IFRND,
|
|
|
|
CON_IFSERVER,
|
|
|
|
CON_IFSOUND,
|
|
|
|
CON_IFSPAWNEDBY,
|
|
|
|
CON_IFSPRITEPAL,
|
|
|
|
CON_IFSQUISHED,
|
|
|
|
CON_IFSTRENGTH,
|
|
|
|
CON_IFWASWEAPON,
|
|
|
|
CON_INITTIMER,
|
|
|
|
CON_INSERTSPRITEQ,
|
|
|
|
CON_INV,
|
|
|
|
CON_JUMP,
|
|
|
|
CON_KILLIT,
|
|
|
|
CON_KLABS,
|
|
|
|
CON_LDIST,
|
|
|
|
CON_LINEINTERSECT,
|
|
|
|
CON_LOADMAPSTATE,
|
|
|
|
CON_LOCKPLAYER,
|
|
|
|
CON_LOTSOFGLASS,
|
|
|
|
CON_MAIL,
|
|
|
|
CON_MIKESND,
|
|
|
|
CON_MINITEXT,
|
|
|
|
CON_MONEY,
|
|
|
|
CON_MOVE,
|
|
|
|
CON_MOVESECTOR,
|
|
|
|
CON_MOVESPRITE,
|
|
|
|
CON_MULSCALE,
|
|
|
|
CON_MUSIC,
|
|
|
|
CON_MYOS,
|
|
|
|
CON_MYOSPAL,
|
|
|
|
CON_MYOSPALX,
|
|
|
|
CON_MYOSX,
|
|
|
|
CON_NEARTAG,
|
|
|
|
CON_NEXTSECTORNEIGHBORZ,
|
|
|
|
CON_NEXTSPRITESECT,
|
|
|
|
CON_NEXTSPRITESTAT,
|
|
|
|
CON_NULLOP,
|
|
|
|
CON_OPERATE,
|
|
|
|
CON_OPERATEACTIVATORS,
|
|
|
|
CON_OPERATEMASTERSWITCHES,
|
|
|
|
CON_OPERATERESPAWNS,
|
|
|
|
CON_OPERATESECTORS,
|
|
|
|
CON_PALFROM,
|
|
|
|
CON_PAPER,
|
|
|
|
CON_PKICK,
|
|
|
|
CON_PRECACHE,
|
|
|
|
CON_PRELOADTRACKSLOTFORSWAP,
|
|
|
|
CON_PREVSPRITESECT,
|
|
|
|
CON_PREVSPRITESTAT,
|
|
|
|
CON_PSTOMP,
|
|
|
|
CON_QGETSYSSTR,
|
|
|
|
CON_QSPAWN,
|
|
|
|
CON_QSPRINTF,
|
|
|
|
CON_QSTRCAT,
|
|
|
|
CON_QSTRCMP,
|
|
|
|
CON_QSTRCPY,
|
|
|
|
CON_QSTRDIM,
|
|
|
|
CON_QSTRLEN,
|
|
|
|
CON_QSTRNCAT,
|
|
|
|
CON_QSUBSTR,
|
|
|
|
CON_QUAKE,
|
|
|
|
CON_QUOTE,
|
|
|
|
CON_RAYINTERSECT,
|
|
|
|
CON_READARRAYFROMFILE,
|
|
|
|
CON_READGAMEVAR,
|
|
|
|
CON_REDEFINEQUOTE,
|
|
|
|
CON_RESETACTIONCOUNT,
|
|
|
|
CON_RESETCOUNT,
|
|
|
|
CON_RESETPLAYER,
|
|
|
|
CON_RESETPLAYERFLAGS,
|
|
|
|
CON_RESIZEARRAY,
|
|
|
|
CON_RESPAWNHITAG,
|
|
|
|
CON_RETURN,
|
|
|
|
CON_ROTATEPOINT,
|
|
|
|
CON_ROTATESPRITE,
|
|
|
|
CON_ROTATESPRITE16,
|
|
|
|
CON_ROTATESPRITEA,
|
|
|
|
CON_SAVE,
|
|
|
|
CON_SAVEGAMEVAR,
|
|
|
|
CON_SAVEMAPSTATE,
|
|
|
|
CON_SAVENN,
|
|
|
|
CON_SCALEVAR,
|
|
|
|
CON_SCREENPAL,
|
|
|
|
CON_SCREENSOUND,
|
|
|
|
CON_SCREENTEXT,
|
|
|
|
CON_SECTCLEARINTERPOLATION,
|
|
|
|
CON_SECTGETHITAG,
|
|
|
|
CON_SECTGETLOTAG,
|
|
|
|
CON_SECTOROFWALL,
|
|
|
|
CON_SECTSETINTERPOLATION,
|
|
|
|
CON_SETACTORANGLE,
|
|
|
|
CON_SETACTORSOUNDPITCH,
|
|
|
|
CON_SETASPECT,
|
|
|
|
CON_SETGAMEPALETTE,
|
|
|
|
CON_SETINPUT,
|
|
|
|
CON_SETMUSICPOSITION,
|
|
|
|
CON_SETPLAYERANGLE,
|
|
|
|
CON_SETSPRITE,
|
|
|
|
CON_SETTILEDATA,
|
|
|
|
CON_SHADETO,
|
|
|
|
CON_SHOOT,
|
|
|
|
CON_SHOWVIEW,
|
|
|
|
CON_SHOWVIEWQ16,
|
|
|
|
CON_SHOWVIEWQ16UNBIASED,
|
|
|
|
CON_SHOWVIEWUNBIASED,
|
|
|
|
CON_SIN,
|
|
|
|
CON_SIZEAT,
|
|
|
|
CON_SIZETO,
|
|
|
|
CON_SLEEPTIME,
|
|
|
|
CON_SMAXAMMO,
|
|
|
|
CON_SOUND,
|
2018-12-15 01:38:00 +00:00
|
|
|
CON_SOUNDONCE,
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_SPAWN,
|
|
|
|
CON_SPAWNCEILINGGLASS,
|
|
|
|
CON_SPAWNWALLGLASS,
|
|
|
|
CON_SPAWNWALLSTAINEDGLASS,
|
|
|
|
CON_SPGETHITAG,
|
|
|
|
CON_SPGETLOTAG,
|
|
|
|
CON_SPRITEFLAGS,
|
|
|
|
CON_SPRITEPAL,
|
|
|
|
CON_SQRT,
|
|
|
|
CON_SSP,
|
|
|
|
CON_STARTCUTSCENE,
|
|
|
|
CON_STARTLEVEL,
|
|
|
|
CON_STARTSCREEN,
|
|
|
|
CON_STARTTRACK,
|
2018-12-15 01:38:00 +00:00
|
|
|
CON_STARTTRACKSLOT,
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_STOPACTORSOUND,
|
|
|
|
CON_STOPALLMUSIC,
|
|
|
|
CON_STOPALLSOUNDS,
|
|
|
|
CON_STOPSOUND,
|
|
|
|
CON_STRENGTH,
|
|
|
|
CON_SWAPARRAYS,
|
|
|
|
CON_SWAPTRACKSLOT,
|
|
|
|
CON_SWITCH,
|
|
|
|
CON_TIME,
|
|
|
|
CON_TIP,
|
|
|
|
CON_TOSSWEAPON,
|
|
|
|
CON_UPDATESECTOR,
|
|
|
|
CON_UPDATESECTORZ,
|
|
|
|
CON_USERQUOTE,
|
|
|
|
CON_WACKPLAYER,
|
|
|
|
CON_WRITEARRAYTOFILE,
|
|
|
|
CON_ZSHOOT,
|
|
|
|
|
|
|
|
CON_OPCODE_END,
|
|
|
|
|
2018-12-15 01:38:00 +00:00
|
|
|
// these are the keywords that don't have instructions written into the bytecode
|
2018-12-15 01:37:49 +00:00
|
|
|
CON_ACTOR,
|
|
|
|
CON_APPENDEVENT,
|
|
|
|
CON_BETANAME,
|
|
|
|
CON_CASE,
|
|
|
|
CON_CHEATKEYS,
|
|
|
|
CON_DAMAGEEVENTTILE,
|
|
|
|
CON_DAMAGEEVENTTILERANGE,
|
|
|
|
CON_DEFAULT,
|
|
|
|
CON_DEFINE,
|
|
|
|
CON_DEFINECHEAT,
|
|
|
|
CON_DEFINEGAMEFUNCNAME,
|
|
|
|
CON_DEFINEGAMETYPE,
|
|
|
|
CON_DEFINELEVELNAME,
|
|
|
|
CON_DEFINEPROJECTILE,
|
|
|
|
CON_DEFINEQUOTE,
|
|
|
|
CON_DEFINESKILLNAME,
|
|
|
|
CON_DEFINESOUND,
|
|
|
|
CON_DEFINEVOLUMEFLAGS,
|
|
|
|
CON_DEFINEVOLUMENAME,
|
|
|
|
CON_DEFSTATE,
|
|
|
|
CON_DYNAMICREMAP,
|
|
|
|
CON_DYNAMICSOUNDREMAP,
|
|
|
|
CON_ENHANCED,
|
|
|
|
CON_GAMEARRAY,
|
|
|
|
CON_GAMESTARTUP,
|
|
|
|
CON_GAMEVAR,
|
|
|
|
CON_INCLUDE,
|
|
|
|
CON_INCLUDEDEFAULT,
|
|
|
|
CON_ONEVENT,
|
|
|
|
CON_SCRIPTSIZE,
|
|
|
|
CON_SETCFGNAME,
|
|
|
|
CON_SETDEFNAME,
|
|
|
|
CON_SETGAMENAME,
|
|
|
|
CON_SPRITENOPAL,
|
|
|
|
CON_SPRITENOSHADE,
|
|
|
|
CON_SPRITENVG,
|
|
|
|
CON_SPRITESHADOW,
|
|
|
|
CON_UNDEFINECHEAT,
|
|
|
|
CON_UNDEFINEGAMEFUNC,
|
|
|
|
CON_UNDEFINELEVEL,
|
|
|
|
CON_UNDEFINESKILL,
|
|
|
|
CON_UNDEFINEVOLUME,
|
|
|
|
CON_USERACTOR,
|
|
|
|
|
2008-08-25 02:12:02 +00:00
|
|
|
CON_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
2018-12-15 01:37:49 +00:00
|
|
|
|
2013-07-13 21:04:43 +00:00
|
|
|
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
2017-10-04 22:30:53 +00:00
|
|
|
|
2008-12-19 00:53:54 +00:00
|
|
|
#endif
|
2014-11-26 04:39:23 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#endif // gamedef_h_
|