2006-04-13 20:47:06 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
2010-05-25 10:56:00 +00:00
|
|
|
Copyright (C) 2010 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
|
|
|
|
2012-11-10 20:59:00 +00:00
|
|
|
#include "build.h" // hashtable_t
|
2012-03-26 22:05:23 +00:00
|
|
|
#include "common.h" // tokenlist
|
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
#define MAXGAMEEVENTS 128
|
|
|
|
#define LABEL_HASPARM2 1
|
|
|
|
#define LABEL_ISSTRING 2
|
|
|
|
|
Patch from Hendricks266 and whatever changes happened to be in my tree. I hope they work ;)
"The most noticeable change is the addition of the "includedefault" CON and DEF command, which will attempt to include eduke.con (or nam.con, or ww2gi.con), then game.con, or duke3d.def, or nam.def, or ww2gi.def. This is useful for TCs like my add-ons, where for my pseudo-mutators I currently say "include EDUKE.CON", but I also have to juggle this terrible order of paths, so that I can have an EDUKE.CON file in my HRP which says "include GAME.CON" to allow the mainline game to actually run, but also allow DukePlus to load its EDUKE.CON file (since it uses that and not an -x switch), and also allow any custom EDUKE.CON files in the root to be used."
git-svn-id: https://svn.eduke32.com/eduke32@1909 1a8010ca-5511-0410-912e-c29ae57300e0
2011-06-19 00:11:52 +00:00
|
|
|
#define MAXCHEATLEN 20
|
2014-03-22 09:25:15 +00:00
|
|
|
#define NUMCHEATCODES (int32_t)ARRAY_SIZE(CheatStrings)
|
Patch from Hendricks266 and whatever changes happened to be in my tree. I hope they work ;)
"The most noticeable change is the addition of the "includedefault" CON and DEF command, which will attempt to include eduke.con (or nam.con, or ww2gi.con), then game.con, or duke3d.def, or nam.def, or ww2gi.def. This is useful for TCs like my add-ons, where for my pseudo-mutators I currently say "include EDUKE.CON", but I also have to juggle this terrible order of paths, so that I can have an EDUKE.CON file in my HRP which says "include GAME.CON" to allow the mainline game to actually run, but also allow DukePlus to load its EDUKE.CON file (since it uses that and not an -x switch), and also allow any custom EDUKE.CON files in the root to be used."
git-svn-id: https://svn.eduke32.com/eduke32@1909 1a8010ca-5511-0410-912e-c29ae57300e0
2011-06-19 00:11:52 +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;
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t g_iReturnVarID; // var ID of "RETURN"
|
|
|
|
extern int32_t g_iWeaponVarID; // var ID of "WEAPON"
|
|
|
|
extern int32_t g_iWorksLikeVarID; // var ID of "WORKSLIKE"
|
|
|
|
extern int32_t g_iZRangeVarID; // var ID of "ZRANGE"
|
|
|
|
extern int32_t g_iAngRangeVarID; // var ID of "ANGRANGE"
|
|
|
|
extern int32_t g_iAimAngleVarID; // var ID of "AUTOAIMANGLE"
|
|
|
|
extern int32_t g_iLoTagID; // var ID of "LOTAG"
|
|
|
|
extern int32_t g_iHiTagID; // var ID of "HITAG"
|
|
|
|
extern int32_t g_iTextureID; // var ID of "TEXTURE"
|
|
|
|
extern int32_t g_iThisActorID; // var ID of "THISACTOR"
|
|
|
|
extern int32_t g_iSpriteVarID;
|
|
|
|
extern int32_t g_iSectorVarID;
|
|
|
|
extern int32_t g_iWallVarID;
|
|
|
|
extern int32_t g_iPlayerVarID;
|
|
|
|
extern int32_t g_iActorVarID;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2008-04-24 09:53:16 +00:00
|
|
|
extern intptr_t *apScriptGameEvent[MAXGAMEEVENTS];
|
2013-01-20 21:17:06 +00:00
|
|
|
#endif
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t otherp;
|
2008-11-20 14:06:36 +00:00
|
|
|
extern char CheatStrings[][MAXCHEATLEN];
|
|
|
|
extern char g_szScriptFileName[BMAX_PATH];
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t g_totalLines,g_lineNumber;
|
2010-08-02 08:13:51 +00:00
|
|
|
extern int32_t g_numCompilerErrors,g_numCompilerWarnings,g_numQuoteRedefinitions;
|
|
|
|
extern int32_t g_scriptVersion;
|
2010-09-27 21:52:04 +00:00
|
|
|
extern uint32_t g_scriptDateVersion; // YYYYMMDD
|
2010-08-02 08:13:51 +00:00
|
|
|
extern char g_szBuf[1024];
|
2008-09-03 04:20:46 +00:00
|
|
|
|
2013-01-20 21:17:06 +00:00
|
|
|
extern const char *EventNames[]; // MAXEVENTS
|
|
|
|
|
|
|
|
#if !defined LUNATIC
|
2008-11-25 13:06:36 +00:00
|
|
|
extern intptr_t *g_scriptPtr;
|
|
|
|
|
2008-02-14 08:35:30 +00:00
|
|
|
typedef struct
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2012-07-01 22:11:33 +00:00
|
|
|
const char *name;
|
2014-11-22 12:29:25 +00:00
|
|
|
int lId, flags, maxParm2;
|
2008-02-14 08:35:30 +00:00
|
|
|
} memberlabel_t;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern const memberlabel_t SectorLabels[];
|
|
|
|
extern const memberlabel_t WallLabels[];
|
|
|
|
extern const memberlabel_t ActorLabels[];
|
|
|
|
extern const memberlabel_t PlayerLabels[];
|
|
|
|
extern const memberlabel_t ProjectileLabels[];
|
2008-07-16 09:27:08 +00:00
|
|
|
extern const memberlabel_t userdeflabels[];
|
2008-11-20 14:06:36 +00:00
|
|
|
extern const memberlabel_t InputLabels[];
|
|
|
|
extern const memberlabel_t TsprLabels[];
|
2013-01-20 21:17:06 +00:00
|
|
|
#endif
|
2007-08-27 23:11:49 +00:00
|
|
|
|
2013-01-01 15:24:25 +00:00
|
|
|
int32_t C_AllocQuote(int32_t qnum);
|
|
|
|
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 {
|
2014-11-22 12:29:25 +00:00
|
|
|
int g_i, g_p, g_x;
|
2011-12-21 18:40:47 +00:00
|
|
|
int32_t *g_t;
|
2009-01-07 14:05:13 +00:00
|
|
|
spritetype *g_sp;
|
2014-11-22 12:29:25 +00:00
|
|
|
int g_flags;
|
2009-01-07 14:05:13 +00:00
|
|
|
} vmstate_t;
|
|
|
|
|
|
|
|
extern vmstate_t vm;
|
|
|
|
|
2013-01-20 21:17:06 +00:00
|
|
|
#if !defined LUNATIC
|
|
|
|
void C_ReportError(int32_t iError);
|
|
|
|
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
|
|
|
extern const char *keyw[];
|
|
|
|
|
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,
|
|
|
|
STR_VOLUMENAME
|
|
|
|
};
|
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ScriptError_t
|
2006-12-10 06:49:01 +00:00
|
|
|
{
|
|
|
|
ERROR_CLOSEBRACKET,
|
|
|
|
ERROR_EVENTONLY,
|
|
|
|
ERROR_EXCEEDSMAXTILES,
|
|
|
|
ERROR_EXPECTEDKEYWORD,
|
|
|
|
ERROR_FOUNDWITHIN,
|
|
|
|
ERROR_ISAKEYWORD,
|
|
|
|
ERROR_NOENDSWITCH,
|
|
|
|
ERROR_NOTAGAMEDEF,
|
|
|
|
ERROR_NOTAGAMEVAR,
|
2008-04-01 02:50:44 +00:00
|
|
|
ERROR_NOTAGAMEARRAY,
|
|
|
|
ERROR_GAMEARRAYBNC,
|
|
|
|
ERROR_GAMEARRAYBNO,
|
|
|
|
ERROR_INVALIDARRAYWRITE,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_OPENBRACKET,
|
|
|
|
ERROR_PARAMUNDEFINED,
|
|
|
|
ERROR_SYMBOLNOTRECOGNIZED,
|
|
|
|
ERROR_SYNTAXERROR,
|
|
|
|
ERROR_VARREADONLY,
|
2012-12-13 02:33:53 +00:00
|
|
|
ERROR_ARRAYREADONLY,
|
2006-12-10 06:49:01 +00:00
|
|
|
ERROR_VARTYPEMISMATCH,
|
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,
|
Patch from Hendricks266 and whatever changes happened to be in my tree. I hope they work ;)
"The most noticeable change is the addition of the "includedefault" CON and DEF command, which will attempt to include eduke.con (or nam.con, or ww2gi.con), then game.con, or duke3d.def, or nam.def, or ww2gi.def. This is useful for TCs like my add-ons, where for my pseudo-mutators I currently say "include EDUKE.CON", but I also have to juggle this terrible order of paths, so that I can have an EDUKE.CON file in my HRP which says "include GAME.CON" to allow the mainline game to actually run, but also allow DukePlus to load its EDUKE.CON file (since it uses that and not an -x switch), and also allow any custom EDUKE.CON files in the root to be used."
git-svn-id: https://svn.eduke32.com/eduke32@1909 1a8010ca-5511-0410-912e-c29ae57300e0
2011-06-19 00:11:52 +00:00
|
|
|
WARNING_NAMEMATCHESVAR
|
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_EXITX,
|
|
|
|
PLAYER_EXITY,
|
|
|
|
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_LAST_PISSED_TIME,
|
|
|
|
PLAYER_TRUEFZ,
|
|
|
|
PLAYER_TRUECZ,
|
|
|
|
PLAYER_PLAYER_PAR,
|
|
|
|
PLAYER_VISIBILITY,
|
|
|
|
PLAYER_BOBCOUNTER,
|
|
|
|
PLAYER_WEAPON_SWAY,
|
|
|
|
PLAYER_PALS_TIME,
|
|
|
|
PLAYER_RANDOMFLAMEX,
|
|
|
|
PLAYER_CRACK_TIME,
|
|
|
|
PLAYER_AIM_MODE,
|
|
|
|
PLAYER_ANG,
|
|
|
|
PLAYER_OANG,
|
|
|
|
PLAYER_ANGVEL,
|
|
|
|
PLAYER_CURSECTNUM,
|
|
|
|
PLAYER_LOOK_ANG,
|
|
|
|
PLAYER_LAST_EXTRA,
|
|
|
|
PLAYER_SUBWEAPON,
|
|
|
|
PLAYER_AMMO_AMOUNT,
|
|
|
|
PLAYER_WACKEDBYACTOR,
|
|
|
|
PLAYER_FRAG,
|
|
|
|
PLAYER_FRAGGEDSELF,
|
|
|
|
PLAYER_CURR_WEAPON,
|
|
|
|
PLAYER_LAST_WEAPON,
|
|
|
|
PLAYER_TIPINCS,
|
|
|
|
PLAYER_HORIZOFF,
|
|
|
|
PLAYER_WANTWEAPONFIRE,
|
|
|
|
PLAYER_HOLODUKE_AMOUNT,
|
|
|
|
PLAYER_NEWOWNER,
|
|
|
|
PLAYER_HURT_DELAY,
|
|
|
|
PLAYER_HBOMB_HOLD_DELAY,
|
|
|
|
PLAYER_JUMPING_COUNTER,
|
|
|
|
PLAYER_AIRLEFT,
|
|
|
|
PLAYER_KNEE_INCS,
|
|
|
|
PLAYER_ACCESS_INCS,
|
|
|
|
PLAYER_FTA,
|
|
|
|
PLAYER_FTQ,
|
|
|
|
PLAYER_ACCESS_WALLNUM,
|
|
|
|
PLAYER_ACCESS_SPRITENUM,
|
|
|
|
PLAYER_KICKBACK_PIC,
|
|
|
|
PLAYER_GOT_ACCESS,
|
|
|
|
PLAYER_WEAPON_ANG,
|
|
|
|
PLAYER_FIRSTAID_AMOUNT,
|
|
|
|
PLAYER_SOMETHINGONPLAYER,
|
|
|
|
PLAYER_ON_CRANE,
|
|
|
|
PLAYER_I,
|
|
|
|
PLAYER_ONE_PARALLAX_SECTNUM,
|
|
|
|
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,
|
|
|
|
PLAYER_INTERFACE_TOGGLE_FLAG,
|
|
|
|
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,
|
|
|
|
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_LASTRANDOMSPOT,
|
|
|
|
PLAYER_SCUBA_ON,
|
|
|
|
PLAYER_FOOTPRINTPAL,
|
|
|
|
PLAYER_HEAT_ON,
|
|
|
|
PLAYER_HOLSTER_WEAPON,
|
|
|
|
PLAYER_FALLING_COUNTER,
|
|
|
|
PLAYER_GOTWEAPON,
|
|
|
|
PLAYER_REFRESH_INVENTORY,
|
|
|
|
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,
|
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_WCHOICE,
|
|
|
|
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,
|
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,
|
|
|
|
SECTOR_FLOORZ,
|
|
|
|
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,
|
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,
|
|
|
|
ACTOR_DETAIL,
|
|
|
|
ACTOR_XREPEAT,
|
|
|
|
ACTOR_YREPEAT,
|
|
|
|
ACTOR_XOFFSET,
|
|
|
|
ACTOR_YOFFSET,
|
|
|
|
ACTOR_SECTNUM,
|
|
|
|
ACTOR_STATNUM,
|
|
|
|
ACTOR_ANG,
|
|
|
|
ACTOR_OWNER,
|
|
|
|
ACTOR_XVEL,
|
|
|
|
ACTOR_YVEL,
|
|
|
|
ACTOR_ZVEL,
|
|
|
|
ACTOR_LOTAG,
|
|
|
|
ACTOR_HITAG,
|
|
|
|
ACTOR_EXTRA,
|
|
|
|
ACTOR_HTCGG,
|
|
|
|
ACTOR_HTPICNUM,
|
|
|
|
ACTOR_HTANG,
|
|
|
|
ACTOR_HTEXTRA,
|
|
|
|
ACTOR_HTOWNER,
|
|
|
|
ACTOR_HTMOVFLAG,
|
|
|
|
ACTOR_HTTEMPANG,
|
|
|
|
ACTOR_HTACTORSTAYPUT,
|
|
|
|
ACTOR_HTDISPICNUM,
|
|
|
|
ACTOR_HTTIMETOSLEEP,
|
|
|
|
ACTOR_HTFLOORZ,
|
|
|
|
ACTOR_HTCEILINGZ,
|
|
|
|
ACTOR_HTLASTVX,
|
|
|
|
ACTOR_HTLASTVY,
|
|
|
|
ACTOR_HTBPOSX,
|
|
|
|
ACTOR_HTBPOSY,
|
|
|
|
ACTOR_HTBPOSZ,
|
|
|
|
ACTOR_HTG_T,
|
|
|
|
ACTOR_ANGOFF,
|
|
|
|
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,
|
2008-08-07 23:32:18 +00:00
|
|
|
ACTOR_HTFLAGS,
|
2009-04-24 02:53:50 +00:00
|
|
|
ACTOR_ALPHA,
|
2012-11-16 00:54:04 +00:00
|
|
|
ACTOR_ULOTAG,
|
|
|
|
ACTOR_UHITAG,
|
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,
|
|
|
|
INPUT_HORZ,
|
|
|
|
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
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum ScriptKeywords_t
|
2007-08-27 23:11:49 +00:00
|
|
|
{
|
2006-04-13 20:47:06 +00:00
|
|
|
CON_DEFINELEVELNAME, // 0
|
|
|
|
CON_ACTOR, // 1
|
|
|
|
CON_ADDAMMO, // 2
|
|
|
|
CON_IFRND, // 3
|
|
|
|
CON_ENDA, // 4
|
|
|
|
CON_IFCANSEE, // 5
|
|
|
|
CON_IFHITWEAPON, // 6
|
|
|
|
CON_ACTION, // 7
|
|
|
|
CON_IFPDISTL, // 8
|
|
|
|
CON_IFPDISTG, // 9
|
|
|
|
CON_ELSE, // 10
|
|
|
|
CON_STRENGTH, // 11
|
|
|
|
CON_BREAK, // 12
|
|
|
|
CON_SHOOT, // 13
|
|
|
|
CON_PALFROM, // 14
|
|
|
|
CON_SOUND, // 15
|
|
|
|
CON_FALL, // 16
|
|
|
|
CON_STATE, // 17
|
|
|
|
CON_ENDS, // 18
|
|
|
|
CON_DEFINE, // 19
|
2009-01-06 06:59:18 +00:00
|
|
|
CON_RETURN, // 20
|
2006-04-13 20:47:06 +00:00
|
|
|
CON_IFAI, // 21
|
|
|
|
CON_KILLIT, // 22
|
|
|
|
CON_ADDWEAPON, // 23
|
|
|
|
CON_AI, // 24
|
|
|
|
CON_ADDPHEALTH, // 25
|
|
|
|
CON_IFDEAD, // 26
|
|
|
|
CON_IFSQUISHED, // 27
|
|
|
|
CON_SIZETO, // 28
|
|
|
|
CON_LEFTBRACE, // 29
|
|
|
|
CON_RIGHTBRACE, // 30
|
|
|
|
CON_SPAWN, // 31
|
|
|
|
CON_MOVE, // 32
|
|
|
|
CON_IFWASWEAPON, // 33
|
|
|
|
CON_IFACTION, // 34
|
|
|
|
CON_IFACTIONCOUNT, // 35
|
|
|
|
CON_RESETACTIONCOUNT, // 36
|
|
|
|
CON_DEBRIS, // 37
|
|
|
|
CON_PSTOMP, // 38
|
|
|
|
CON_BLOCKCOMMENT, // 39 deprecated
|
|
|
|
CON_CSTAT, // 40
|
|
|
|
CON_IFMOVE, // 41
|
|
|
|
CON_RESETPLAYER, // 42
|
|
|
|
CON_IFONWATER, // 43
|
|
|
|
CON_IFINWATER, // 44
|
|
|
|
CON_IFCANSHOOTTARGET, // 45
|
|
|
|
CON_IFCOUNT, // 46
|
|
|
|
CON_RESETCOUNT, // 47
|
|
|
|
CON_ADDINVENTORY, // 48
|
|
|
|
CON_IFACTORNOTSTAYPUT, // 49
|
|
|
|
CON_HITRADIUS, // 50
|
|
|
|
CON_IFP, // 51
|
|
|
|
CON_COUNT, // 52
|
|
|
|
CON_IFACTOR, // 53
|
|
|
|
CON_MUSIC, // 54
|
|
|
|
CON_INCLUDE, // 55
|
|
|
|
CON_IFSTRENGTH, // 56
|
|
|
|
CON_DEFINESOUND, // 57
|
|
|
|
CON_GUTS, // 58
|
|
|
|
CON_IFSPAWNEDBY, // 59
|
|
|
|
CON_GAMESTARTUP, // 60
|
|
|
|
CON_WACKPLAYER, // 61
|
|
|
|
CON_IFGAPZL, // 62
|
|
|
|
CON_IFHITSPACE, // 63
|
|
|
|
CON_IFOUTSIDE, // 64
|
|
|
|
CON_IFMULTIPLAYER, // 65
|
|
|
|
CON_OPERATE, // 66
|
|
|
|
CON_IFINSPACE, // 67
|
|
|
|
CON_DEBUG, // 68
|
|
|
|
CON_ENDOFGAME, // 69
|
|
|
|
CON_IFBULLETNEAR, // 70
|
|
|
|
CON_IFRESPAWN, // 71
|
|
|
|
CON_IFFLOORDISTL, // 72
|
|
|
|
CON_IFCEILINGDISTL, // 73
|
|
|
|
CON_SPRITEPAL, // 74
|
|
|
|
CON_IFPINVENTORY, // 75
|
|
|
|
CON_BETANAME, // 76
|
|
|
|
CON_CACTOR, // 77
|
|
|
|
CON_IFPHEALTHL, // 78
|
|
|
|
CON_DEFINEQUOTE, // 79
|
|
|
|
CON_QUOTE, // 80
|
|
|
|
CON_IFINOUTERSPACE, // 81
|
|
|
|
CON_IFNOTMOVING, // 82
|
|
|
|
CON_RESPAWNHITAG, // 83
|
|
|
|
CON_TIP, // 84
|
|
|
|
CON_IFSPRITEPAL, // 85
|
|
|
|
CON_MONEY, // 86
|
|
|
|
CON_SOUNDONCE, // 87
|
|
|
|
CON_ADDKILLS, // 88
|
|
|
|
CON_STOPSOUND, // 89
|
|
|
|
CON_IFAWAYFROMWALL, // 90
|
|
|
|
CON_IFCANSEETARGET, // 91
|
|
|
|
CON_GLOBALSOUND, // 92
|
|
|
|
CON_LOTSOFGLASS, // 93
|
|
|
|
CON_IFGOTWEAPONCE, // 94
|
|
|
|
CON_GETLASTPAL, // 95
|
|
|
|
CON_PKICK, // 96
|
|
|
|
CON_MIKESND, // 97
|
|
|
|
CON_USERACTOR, // 98
|
|
|
|
CON_SIZEAT, // 99
|
|
|
|
CON_ADDSTRENGTH, // 100
|
|
|
|
CON_CSTATOR, // 101
|
|
|
|
CON_MAIL, // 102
|
|
|
|
CON_PAPER, // 103
|
|
|
|
CON_TOSSWEAPON, // 104
|
|
|
|
CON_SLEEPTIME, // 105
|
|
|
|
CON_NULLOP, // 106
|
|
|
|
CON_DEFINEVOLUMENAME, // 107
|
|
|
|
CON_DEFINESKILLNAME, // 108
|
|
|
|
CON_IFNOSOUNDS, // 109
|
|
|
|
CON_CLIPDIST, // 110
|
|
|
|
CON_IFANGDIFFL, // 111
|
|
|
|
CON_GAMEVAR, // 112
|
|
|
|
CON_IFVARL, // 113
|
|
|
|
CON_IFVARG, // 114
|
|
|
|
CON_SETVARVAR, // 115
|
|
|
|
CON_SETVAR, // 116
|
|
|
|
CON_ADDVARVAR, // 117
|
|
|
|
CON_ADDVAR, // 118
|
|
|
|
CON_IFVARVARL, // 119
|
|
|
|
CON_IFVARVARG, // 120
|
|
|
|
CON_ADDLOGVAR, // 121
|
|
|
|
CON_ADDLOG, // 122
|
|
|
|
CON_ONEVENT, // 123
|
|
|
|
CON_ENDEVENT, // 124
|
|
|
|
CON_IFVARE, // 125
|
|
|
|
CON_IFVARVARE, // 126
|
|
|
|
CON_SPGETLOTAG, // 127
|
|
|
|
CON_SPGETHITAG, // 128
|
|
|
|
CON_SECTGETLOTAG, // 129
|
|
|
|
CON_SECTGETHITAG, // 130
|
|
|
|
CON_IFSOUND, // 131
|
|
|
|
CON_GETTEXTUREFLOOR, // 132
|
|
|
|
CON_GETTEXTURECEILING, // 133
|
|
|
|
CON_INITTIMER, // 134
|
|
|
|
CON_STARTTRACK, // 135
|
|
|
|
CON_RANDVAR, // 136
|
|
|
|
CON_ENHANCED, // 137
|
|
|
|
CON_GETANGLETOTARGET, // 138
|
|
|
|
CON_GETACTORANGLE, // 139
|
|
|
|
CON_SETACTORANGLE, // 140
|
|
|
|
CON_MULVAR, // 141
|
|
|
|
CON_MULVARVAR, // 142
|
|
|
|
CON_DIVVAR, // 143
|
|
|
|
CON_DIVVARVAR, // 144
|
|
|
|
CON_MODVAR, // 145
|
|
|
|
CON_MODVARVAR, // 146
|
|
|
|
CON_ANDVAR, // 147
|
|
|
|
CON_ANDVARVAR, // 148
|
|
|
|
CON_ORVAR, // 149
|
|
|
|
CON_ORVARVAR, // 150
|
|
|
|
CON_GETPLAYERANGLE, // 151
|
|
|
|
CON_SETPLAYERANGLE, // 152
|
|
|
|
CON_LOCKPLAYER, // 153
|
|
|
|
CON_SETSECTOR, // 154
|
|
|
|
CON_GETSECTOR, // 155
|
|
|
|
CON_SETACTOR, // 156
|
|
|
|
CON_GETACTOR, // 157
|
|
|
|
CON_SETWALL, // 158
|
|
|
|
CON_GETWALL, // 159
|
|
|
|
CON_FINDNEARACTOR, // 160
|
|
|
|
CON_FINDNEARACTORVAR, // 161
|
|
|
|
CON_SETACTORVAR, // 162
|
|
|
|
CON_GETACTORVAR, // 163
|
|
|
|
CON_ESPAWN, // 164
|
|
|
|
CON_GETPLAYER, // 165
|
|
|
|
CON_SETPLAYER, // 166
|
|
|
|
CON_SQRT, // 167
|
|
|
|
CON_EVENTLOADACTOR, // 168
|
|
|
|
CON_ESPAWNVAR, // 169
|
|
|
|
CON_GETUSERDEF, // 170
|
|
|
|
CON_SETUSERDEF, // 171
|
|
|
|
CON_SUBVARVAR, // 172
|
|
|
|
CON_SUBVAR, // 173
|
|
|
|
CON_IFVARN, // 174
|
|
|
|
CON_IFVARVARN, // 175
|
|
|
|
CON_IFVARAND, // 176
|
|
|
|
CON_IFVARVARAND, // 177
|
|
|
|
CON_MYOS, // 178
|
|
|
|
CON_MYOSPAL, // 179
|
|
|
|
CON_DISPLAYRAND, // 180
|
|
|
|
CON_SIN, // 181
|
|
|
|
CON_XORVARVAR, // 182
|
|
|
|
CON_XORVAR, // 183
|
|
|
|
CON_RANDVARVAR, // 184
|
|
|
|
CON_MYOSX, // 185
|
|
|
|
CON_MYOSPALX, // 186
|
|
|
|
CON_GMAXAMMO, // 187
|
|
|
|
CON_SMAXAMMO, // 188
|
|
|
|
CON_STARTLEVEL, // 189
|
|
|
|
CON_ESHOOT, // 190
|
|
|
|
CON_QSPAWN, // 191
|
|
|
|
CON_ROTATESPRITE, // 192
|
|
|
|
CON_DEFINEPROJECTILE, // 193
|
|
|
|
CON_SPRITESHADOW, // 194
|
|
|
|
CON_COS, // 195
|
|
|
|
CON_ESHOOTVAR, // 196
|
|
|
|
CON_FINDNEARACTOR3D, // 197
|
|
|
|
CON_FINDNEARACTOR3DVAR, // 198
|
|
|
|
CON_FLASH, // 199
|
|
|
|
CON_QSPAWNVAR, // 200
|
|
|
|
CON_EQSPAWN, // 201
|
|
|
|
CON_EQSPAWNVAR, // 202
|
|
|
|
CON_MINITEXT, // 203
|
|
|
|
CON_GAMETEXT, // 204
|
|
|
|
CON_DIGITALNUMBER, // 205
|
|
|
|
CON_ADDWEAPONVAR, // 206
|
|
|
|
CON_SETPROJECTILE, // 207
|
|
|
|
CON_ANGOFF, // 208
|
|
|
|
CON_UPDATESECTOR, // 209
|
|
|
|
CON_INSERTSPRITEQ, // 210
|
|
|
|
CON_ANGOFFVAR, // 211
|
|
|
|
CON_WHILEVARN, // 212
|
|
|
|
CON_SWITCH, // 213
|
|
|
|
CON_CASE, // 214
|
|
|
|
CON_DEFAULT, // 215
|
|
|
|
CON_ENDSWITCH, // 216
|
|
|
|
CON_SHOOTVAR, // 217
|
|
|
|
CON_SOUNDVAR, // 218
|
|
|
|
CON_FINDPLAYER, // 219
|
|
|
|
CON_FINDOTHERPLAYER, // 220
|
|
|
|
CON_ACTIVATEBYSECTOR, // 221
|
|
|
|
CON_OPERATESECTORS, // 222
|
|
|
|
CON_OPERATERESPAWNS, // 223
|
|
|
|
CON_OPERATEACTIVATORS, // 224
|
|
|
|
CON_OPERATEMASTERSWITCHES, // 225
|
|
|
|
CON_CHECKACTIVATORMOTION, // 226
|
|
|
|
CON_ZSHOOT, // 227
|
|
|
|
CON_DIST, // 228
|
|
|
|
CON_LDIST, // 229
|
|
|
|
CON_SHIFTVARL, // 230
|
|
|
|
CON_SHIFTVARR, // 231
|
|
|
|
CON_SPRITENVG, // 232
|
|
|
|
CON_GETANGLE, // 233
|
|
|
|
CON_WHILEVARVARN, // 234
|
|
|
|
CON_HITSCAN, // 235
|
|
|
|
CON_TIME, // 236
|
|
|
|
CON_GETPLAYERVAR, // 237
|
|
|
|
CON_SETPLAYERVAR, // 238
|
|
|
|
CON_MULSCALE, // 239
|
|
|
|
CON_SETASPECT, // 240
|
2006-07-29 00:17:46 +00:00
|
|
|
CON_EZSHOOT, // 241
|
2006-04-13 20:47:06 +00:00
|
|
|
CON_SPRITENOSHADE, // 242
|
|
|
|
CON_MOVESPRITE, // 243
|
|
|
|
CON_CHECKAVAILWEAPON, // 244
|
|
|
|
CON_SOUNDONCEVAR, // 245
|
|
|
|
CON_UPDATESECTORZ, // 246
|
|
|
|
CON_STOPALLSOUNDS, // 247
|
|
|
|
CON_SSP, // 248
|
|
|
|
CON_STOPSOUNDVAR, // 249
|
|
|
|
CON_DISPLAYRANDVAR, // 250
|
|
|
|
CON_DISPLAYRANDVARVAR, // 251
|
|
|
|
CON_CHECKAVAILINVEN, // 252
|
|
|
|
CON_GLOBALSOUNDVAR, // 253
|
|
|
|
CON_GUNIQHUDID, // 254
|
|
|
|
CON_GETPROJECTILE, // 255
|
|
|
|
CON_GETTHISPROJECTILE, // 256
|
|
|
|
CON_SETTHISPROJECTILE, // 257
|
|
|
|
CON_DEFINECHEAT, // 258
|
|
|
|
CON_CHEATKEYS, // 259
|
|
|
|
CON_USERQUOTE, // 260
|
|
|
|
CON_PRECACHE, // 261
|
2006-04-28 04:14:45 +00:00
|
|
|
CON_DEFINEGAMEFUNCNAME, // 262
|
2006-04-13 20:47:06 +00:00
|
|
|
CON_REDEFINEQUOTE, // 263
|
2006-09-06 04:18:28 +00:00
|
|
|
CON_QSPRINTF, // 264
|
2006-04-13 20:47:06 +00:00
|
|
|
CON_GETPNAME, // 265
|
|
|
|
CON_QSTRCAT, // 266
|
|
|
|
CON_QSTRCPY, // 267
|
|
|
|
CON_SETSPRITE, // 268
|
|
|
|
CON_ROTATEPOINT, // 269
|
|
|
|
CON_DRAGPOINT, // 270
|
|
|
|
CON_GETZRANGE, // 271
|
|
|
|
CON_CHANGESPRITESTAT, // 272
|
|
|
|
CON_GETCEILZOFSLOPE, // 273
|
|
|
|
CON_GETFLORZOFSLOPE, // 274
|
|
|
|
CON_NEARTAG, // 275
|
|
|
|
CON_DEFINEGAMETYPE, // 276
|
|
|
|
CON_CHANGESPRITESECT, // 277
|
|
|
|
CON_SPRITEFLAGS, // 278
|
|
|
|
CON_SAVEGAMEVAR, // 279
|
|
|
|
CON_READGAMEVAR, // 280
|
|
|
|
CON_FINDNEARSPRITE, // 281
|
|
|
|
CON_FINDNEARSPRITEVAR, // 282
|
|
|
|
CON_FINDNEARSPRITE3D, // 283
|
|
|
|
CON_FINDNEARSPRITE3DVAR,// 284
|
|
|
|
CON_DYNAMICREMAP, // 285
|
|
|
|
CON_SETINPUT, // 286
|
|
|
|
CON_GETINPUT, // 287
|
2008-08-09 19:59:41 +00:00
|
|
|
CON_SAVE, // 288
|
2006-04-23 06:00:08 +00:00
|
|
|
CON_CANSEE, // 289
|
2006-04-24 05:42:29 +00:00
|
|
|
CON_CANSEESPR, // 290
|
2006-05-16 01:48:33 +00:00
|
|
|
CON_FINDNEARACTORZ, // 291
|
|
|
|
CON_FINDNEARACTORZVAR, // 292
|
|
|
|
CON_FINDNEARSPRITEZ, // 293
|
|
|
|
CON_FINDNEARSPRITEZVAR, // 294
|
2008-08-09 19:59:41 +00:00
|
|
|
CON_ZSHOOTVAR, // 295
|
|
|
|
CON_EZSHOOTVAR, // 296
|
|
|
|
CON_GETCURRADDRESS, // 297
|
|
|
|
CON_JUMP, // 298
|
|
|
|
CON_QSTRLEN, // 299
|
2006-11-06 22:14:27 +00:00
|
|
|
CON_GETINCANGLE, // 300
|
2007-01-05 22:30:35 +00:00
|
|
|
CON_QUAKE, // 301
|
2007-02-08 04:19:39 +00:00
|
|
|
CON_SHOWVIEW, // 302
|
2007-08-19 00:15:30 +00:00
|
|
|
CON_HEADSPRITESTAT, // 303
|
|
|
|
CON_PREVSPRITESTAT, // 304
|
|
|
|
CON_NEXTSPRITESTAT, // 305
|
|
|
|
CON_HEADSPRITESECT, // 306
|
|
|
|
CON_PREVSPRITESECT, // 307
|
|
|
|
CON_NEXTSPRITESECT, // 308
|
2007-12-20 19:14:38 +00:00
|
|
|
CON_GETKEYNAME, // 309
|
|
|
|
CON_QSUBSTR, // 310
|
|
|
|
CON_GAMETEXTZ, // 311
|
|
|
|
CON_DIGITALNUMBERZ, // 312
|
|
|
|
CON_SPRITENOPAL, // 313
|
2008-02-16 22:18:48 +00:00
|
|
|
CON_HITRADIUSVAR, // 314
|
2008-03-14 21:04:28 +00:00
|
|
|
CON_ROTATESPRITE16, // 315
|
2008-04-01 02:50:44 +00:00
|
|
|
CON_GAMEARRAY, // 316
|
|
|
|
CON_SETARRAY, // 317
|
2008-04-05 04:18:48 +00:00
|
|
|
CON_RESIZEARRAY, // 318
|
|
|
|
CON_WRITEARRAYTOFILE, // 319
|
|
|
|
CON_READARRAYFROMFILE, // 320
|
2008-08-09 19:59:41 +00:00
|
|
|
CON_STARTTRACKVAR, // 321
|
|
|
|
CON_QGETSYSSTR, // 322
|
|
|
|
CON_GETTICKS, // 323
|
2008-07-13 07:10:47 +00:00
|
|
|
CON_GETTSPR, // 324
|
|
|
|
CON_SETTSPR, // 325
|
2008-07-16 09:27:08 +00:00
|
|
|
CON_SAVEMAPSTATE, // 326
|
|
|
|
CON_LOADMAPSTATE, // 327
|
|
|
|
CON_CLEARMAPSTATE, // 328
|
2008-07-20 03:29:00 +00:00
|
|
|
CON_SCRIPTSIZE, // 329
|
2008-08-17 11:07:28 +00:00
|
|
|
CON_SETGAMENAME, // 330
|
2008-07-25 18:10:33 +00:00
|
|
|
CON_CMENU, // 331
|
2008-08-10 08:58:34 +00:00
|
|
|
CON_GETTIMEDATE, // 332
|
2008-08-10 16:28:25 +00:00
|
|
|
CON_ACTIVATECHEAT, // 333
|
2008-08-16 11:20:08 +00:00
|
|
|
CON_SETGAMEPALETTE, // 334
|
2008-08-17 09:01:31 +00:00
|
|
|
CON_SETDEFNAME, // 335
|
2008-08-17 09:57:36 +00:00
|
|
|
CON_SETCFGNAME, // 336
|
2008-09-07 12:36:20 +00:00
|
|
|
CON_IFVAROR, // 337
|
|
|
|
CON_IFVARVAROR, // 338
|
|
|
|
CON_IFVARXOR, // 339
|
|
|
|
CON_IFVARVARXOR, // 340
|
|
|
|
CON_IFVAREITHER, // 341
|
|
|
|
CON_IFVARVAREITHER, // 342
|
2008-09-15 02:47:02 +00:00
|
|
|
CON_GETARRAYSIZE, // 343
|
|
|
|
CON_SAVENN, // 344
|
2009-02-19 09:39:19 +00:00
|
|
|
CON_COPY, // 345
|
2009-06-19 01:10:10 +00:00
|
|
|
CON_INV, // 346
|
2009-07-12 01:55:34 +00:00
|
|
|
CON_SECTOROFWALL, // 347
|
|
|
|
CON_QSTRNCAT, // 348
|
2009-07-15 01:26:38 +00:00
|
|
|
CON_IFACTORSOUND, // 349
|
|
|
|
CON_STOPACTORSOUND, // 350
|
2010-07-22 20:29:09 +00:00
|
|
|
CON_IFCLIENT, // 351
|
|
|
|
CON_IFSERVER, // 352
|
2010-09-27 21:52:04 +00:00
|
|
|
CON_SECTSETINTERPOLATION, // 353
|
|
|
|
CON_SECTCLEARINTERPOLATION, // 354
|
Patch from Hendricks266 and whatever changes happened to be in my tree. I hope they work ;)
"The most noticeable change is the addition of the "includedefault" CON and DEF command, which will attempt to include eduke.con (or nam.con, or ww2gi.con), then game.con, or duke3d.def, or nam.def, or ww2gi.def. This is useful for TCs like my add-ons, where for my pseudo-mutators I currently say "include EDUKE.CON", but I also have to juggle this terrible order of paths, so that I can have an EDUKE.CON file in my HRP which says "include GAME.CON" to allow the mainline game to actually run, but also allow DukePlus to load its EDUKE.CON file (since it uses that and not an -x switch), and also allow any custom EDUKE.CON files in the root to be used."
git-svn-id: https://svn.eduke32.com/eduke32@1909 1a8010ca-5511-0410-912e-c29ae57300e0
2011-06-19 00:11:52 +00:00
|
|
|
CON_CLIPMOVE, // 355
|
|
|
|
CON_LINEINTERSECT, // 356
|
|
|
|
CON_RAYINTERSECT, // 357
|
|
|
|
CON_CALCHYPOTENUSE, // 358
|
|
|
|
CON_CLIPMOVENOSLIDE, // 359
|
|
|
|
CON_INCLUDEDEFAULT, // 360
|
2012-03-05 07:24:04 +00:00
|
|
|
CON_SETACTORSOUNDPITCH, // 361
|
|
|
|
CON_ECHO, // 362
|
2012-03-31 11:22:00 +00:00
|
|
|
CON_SHOWVIEWUNBIASED, // 363
|
2013-03-25 04:33:03 +00:00
|
|
|
CON_ROTATESPRITEA, // 364
|
2013-05-23 18:28:04 +00:00
|
|
|
CON_SHADETO, // 365
|
|
|
|
CON_ENDOFLEVEL, // 366
|
|
|
|
CON_IFPLAYERSL, // 367
|
|
|
|
CON_ACTIVATE, // 368
|
2013-06-01 06:55:00 +00:00
|
|
|
CON_QSTRDIM, // 369
|
|
|
|
CON_SCREENTEXT, // 370
|
2013-06-01 06:55:30 +00:00
|
|
|
CON_DYNAMICSOUNDREMAP, // 371
|
2013-06-28 14:07:46 +00:00
|
|
|
CON_SCREENSOUND, // 372
|
2008-08-25 02:12:02 +00:00
|
|
|
CON_END
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
2013-07-13 21:04:43 +00:00
|
|
|
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
2008-12-19 00:53:54 +00:00
|
|
|
#endif
|
2014-11-22 12:32:56 +00:00
|
|
|
#endif // gamedef_h_
|