Commit e19ec17f authored by NY00123's avatar NY00123 Committed by Richard Gobeille

Duke3D: Remove KEEPINSYNC comments referencing LUA code

parent 4de04462
......@@ -35,7 +35,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifdef __cplusplus
extern "C" {
#endif
// KEEPINSYNC lunatic/con_lang.lua
char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
{
"Move_Forward",
......
......@@ -41,7 +41,6 @@ extern "C" {
#define ACTOR_MAXFALLINGZVEL 6144
#define ACTOR_ONWATER_ADDZ (24<<8)
// KEEPINSYNC lunatic/con_lang.lua
#define STAT_DEFAULT 0
#define STAT_ACTOR 1
#define STAT_ZOMBIEACTOR 2
......@@ -299,7 +298,6 @@ typedef struct
} tiledata_t;
// KEEPINSYNC lunatic/con_lang.lua
enum sflags_t
{
SFLAG_SHADOW = 0x00000001,
......
......@@ -69,7 +69,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define RECSYNCBUFSIZ 2520 //2520 is the (LCM of 1-8)*3
#define MOVEFIFOSIZ 2
// KEEPINSYNC lunatic/con_lang.lua
#define MAXVOLUMES 7
#define MAXLEVELS 64
#define MAXGAMETYPES 16
......
......@@ -3,7 +3,7 @@
#define EDUKE32_EVENTS_DEFS_H_
// the order of these can't be changed or else compatibility with EDuke 2.0 mods will break
// KEEPINSYNC with EventNames[] and lunatic/con_lang.lua
// KEEPINSYNC with EventNames[]
enum GameEvent_t {
EVENT_INIT, // 0
EVENT_ENTERLEVEL,
......
......@@ -147,7 +147,6 @@ static inline int32_t G_GetLogoFlags(void)
#define MAX_ARRAYRANGE_VALUES 32
// KEEPINSYNC lunatic/_defs_game.lua
typedef struct ud_setup_s {
int32_t usejoystick;
int32_t usemouse;
......
......@@ -849,7 +849,7 @@ char const *VM_GetKeywordForID(int32_t id)
return "<unknown instruction>";
}
// KEEPINSYNC with enum GameEvent_t and lunatic/con_lang.lua
// KEEPINSYNC with enum GameEvent_t
const char *EventNames[MAXEVENTS] =
{
"EVENT_INIT",
......@@ -5941,7 +5941,6 @@ static void C_AddDefinition(const char *lLabel,int32_t lValue,int32_t lType)
labelcode[g_labelCnt++] = lValue;
}
// KEEPINSYNC lunatic/con_lang.lua
static void C_AddDefaultDefinitions(void)
{
for (int i=0; i<MAXEVENTS; i++)
......
......@@ -192,7 +192,6 @@ extern const tokenmap_t iter_tokens[];
extern char const * VM_GetKeywordForID(int32_t id);
// KEEPINSYNC lunatic/con_lang.lua
enum SystemString_t {
STR_MAPNAME,
STR_MAPFILENAME,
......@@ -749,7 +748,6 @@ enum PalDataLabel_t
PALDATA_END
};
// KEEPINSYNC lunatic/con_lang.lua
enum ProjectileLabel_t
{
PROJ_WORKSLIKE, // 0
......@@ -1341,8 +1339,6 @@ enum IterationTypes_t
\
TRANSFORM(CON_END)
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
#define ENUM_TRANSFORM(ENUM_CONST) ENUM_CONST
#define COMMA ,
enum ScriptKeywords_t
......
......@@ -38,7 +38,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#endif
#define MAXINTERPOLATIONS MAXSPRITES
// KEEPINSYNC lunatic/con_lang.lua
#define MAXSKILLS 7
// duke3d global soup :(
......
......@@ -139,7 +139,6 @@ typedef struct {
// * char --> int8_t
// Need to carefully think about implications!
// TODO: rearrange this if the opportunity arises!
// KEEPINSYNC lunatic/_defs_game.lua
typedef struct {
vec3_t pos, opos;
vec3_t vel, npos;
......@@ -208,7 +207,6 @@ typedef struct {
int8_t padding_[3];
} DukePlayer_t;
// KEEPINSYNC lunatic/_defs_game.lua
typedef struct
{
DukePlayer_t *ps;
......@@ -232,7 +230,6 @@ typedef struct
} playerdata_t;
#pragma pack(pop)
// KEEPINSYNC lunatic/con_lang.lua
typedef struct
{
// NOTE: the member names must be identical to aplWeapon* suffixes.
......@@ -294,7 +291,6 @@ typedef struct {
int32_t userdata; // 4b
} projectile_t;
// KEEPINSYNC lunatic/_defs_game.lua
typedef struct {
int32_t cur, count; // "cur" is the only member that is *used*
int32_t gunposx, lookhalfang; // weapon_xoffset, ps->look_ang>>1
......
......@@ -35,7 +35,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
extern "C" {
#endif
// KEEPINSYNC lunatic/con_lang.lua
#define MAXSOUNDS 4096
#define MAXSOUNDINSTANCES 8
#define LOUDESTVOLUME 111
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment