mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- removed extern "C" from rr and blood folders.
This commit is contained in:
parent
15f5a35fd8
commit
5855886a5f
25 changed files with 1 additions and 194 deletions
|
@ -33,9 +33,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef function_private_h_
|
#ifndef function_private_h_
|
||||||
#define function_private_h_
|
#define function_private_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
// KEEPINSYNC lunatic/con_lang.lua
|
// KEEPINSYNC lunatic/con_lang.lua
|
||||||
char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
|
char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
|
||||||
{
|
{
|
||||||
|
@ -369,8 +366,5 @@ static const char * joystickdigitaldefaults[MAXJOYDIGITAL] =
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
int fireSize = 128;
|
int fireSize = 128;
|
||||||
int gDamping = 6;
|
int gDamping = 6;
|
||||||
|
|
||||||
/*extern "C" */char CoolTable[1024];
|
char CoolTable[1024];
|
||||||
|
|
||||||
void CellularFrame(char *pFrame, int sizeX, int sizeY);
|
void CellularFrame(char *pFrame, int sizeX, int sizeY);
|
||||||
|
|
||||||
|
|
|
@ -31,9 +31,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef function_public_h_
|
#ifndef function_public_h_
|
||||||
#define function_public_h_
|
#define function_public_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define NUMGAMEFUNCTIONS 55
|
#define NUMGAMEFUNCTIONS 55
|
||||||
#define MAXGAMEFUNCLEN 32
|
#define MAXGAMEFUNCLEN 32
|
||||||
|
@ -100,7 +97,4 @@ enum GameFunction_t
|
||||||
gamefunc_RemoteBombs,
|
gamefunc_RemoteBombs,
|
||||||
gamefunc_Show_Console,
|
gamefunc_Show_Console,
|
||||||
};
|
};
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -31,9 +31,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef gamedefs_public_h_
|
#ifndef gamedefs_public_h_
|
||||||
#define gamedefs_public_h_
|
#define gamedefs_public_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// config file name
|
// config file name
|
||||||
#define SETUPFILENAME APPBASENAME ".cfg"
|
#define SETUPFILENAME APPBASENAME ".cfg"
|
||||||
|
@ -65,8 +62,5 @@ extern "C" {
|
||||||
#define DEFAULTJOYSTICKANALOGUESATURATE 9500
|
#define DEFAULTJOYSTICKANALOGUESATURATE 9500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -22,16 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//struct osdcmd_cheatsinfo {
|
|
||||||
// int32_t cheatnum; // -1 = none, else = see DoCheats()
|
|
||||||
// int32_t volume,level;
|
|
||||||
//};
|
|
||||||
//
|
|
||||||
//extern struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat;
|
|
||||||
|
|
||||||
int32_t registerosdcommands(void);
|
int32_t registerosdcommands(void);
|
||||||
void onvideomodechange(int32_t newmode);
|
void onvideomodechange(int32_t newmode);
|
||||||
|
@ -44,7 +34,3 @@ extern const char *const ConsoleButtons[];
|
||||||
|
|
||||||
extern uint32_t cl_cheatmask;
|
extern uint32_t cl_cheatmask;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef function_private_h_
|
#ifndef function_private_h_
|
||||||
#define function_private_h_
|
#define function_private_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
// KEEPINSYNC lunatic/con_lang.lua
|
// KEEPINSYNC lunatic/con_lang.lua
|
||||||
char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
|
char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
|
||||||
{
|
{
|
||||||
|
@ -389,8 +386,5 @@ static const char * joystickdigitaldefaults[MAXJOYDIGITAL] =
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,10 +25,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXSLEEPDIST 16384
|
#define MAXSLEEPDIST 16384
|
||||||
#define SLEEPTIME 1536
|
#define SLEEPTIME 1536
|
||||||
#define ZOFFSET (1<<8)
|
#define ZOFFSET (1<<8)
|
||||||
|
@ -302,10 +298,6 @@ EXTERN_INLINE_HEADER int G_CheckForSpaceFloor(int sectnum);
|
||||||
|
|
||||||
EXTERN_INLINE_HEADER int A_CheckEnemySprite(void const * s);
|
EXTERN_INLINE_HEADER int A_CheckEnemySprite(void const * s);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined actors_c_ || !defined DISABLE_INLINING
|
#if defined actors_c_ || !defined DISABLE_INLINING
|
||||||
|
|
||||||
# if !KRANDDEBUG || (KRANDDEBUG && defined actors_c_)
|
# if !KRANDDEBUG || (KRANDDEBUG && defined actors_c_)
|
||||||
|
|
|
@ -10,10 +10,6 @@
|
||||||
#include "collections.h"
|
#include "collections.h"
|
||||||
#include "grpscan.h"
|
#include "grpscan.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int g_useCwd;
|
extern int g_useCwd;
|
||||||
|
|
||||||
#ifndef APPNAME
|
#ifndef APPNAME
|
||||||
|
@ -163,8 +159,4 @@ extern int32_t S_OpenAudio(const char *fn, char searchfirst, uint8_t ismusic);
|
||||||
# define S_OpenAudio(fn, searchfirst, ismusic) kopen4loadfrommod(fn, searchfirst)
|
# define S_OpenAudio(fn, searchfirst, ismusic) kopen4loadfrommod(fn, searchfirst)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -30,9 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef function_public_h_
|
#ifndef function_public_h_
|
||||||
#define function_public_h_
|
#define function_public_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define NUMGAMEFUNCTIONS 62
|
#define NUMGAMEFUNCTIONS 62
|
||||||
#define MAXGAMEFUNCLEN 32
|
#define MAXGAMEFUNCLEN 32
|
||||||
|
@ -106,7 +103,4 @@ enum GameFunction_t
|
||||||
gamefunc_Third_Person_View,
|
gamefunc_Third_Person_View,
|
||||||
gamefunc_Toggle_Crouch, // TODO: Implement properly for mp
|
gamefunc_Toggle_Crouch, // TODO: Implement properly for mp
|
||||||
};
|
};
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -35,10 +35,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
#include "mmulti.h"
|
#include "mmulti.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef ONLY_USERDEFS
|
#ifndef ONLY_USERDEFS
|
||||||
|
|
||||||
// Compile game-side legacy Room over Room code?
|
// Compile game-side legacy Room over Room code?
|
||||||
|
@ -575,9 +571,6 @@ EXTERN_INLINE_HEADER void SetIfGreater(int32_t *variable, int32_t potentialValue
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef ONLY_USERDEFS
|
#ifndef ONLY_USERDEFS
|
||||||
|
|
||||||
|
|
|
@ -29,10 +29,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "common.h" // tokenlist
|
#include "common.h" // tokenlist
|
||||||
#include "player.h" // projectile_t
|
#include "player.h" // projectile_t
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
LABEL_ANY = -1,
|
LABEL_ANY = -1,
|
||||||
|
@ -314,8 +310,5 @@ enum ScriptKeywords_t
|
||||||
};
|
};
|
||||||
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // gamedef_h_
|
#endif // gamedef_h_
|
||||||
|
|
|
@ -30,9 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#ifndef gamedefs_public_h_
|
#ifndef gamedefs_public_h_
|
||||||
#define gamedefs_public_h_
|
#define gamedefs_public_h_
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// config file name
|
// config file name
|
||||||
#define SETUPFILENAME APPBASENAME ".cfg"
|
#define SETUPFILENAME APPBASENAME ".cfg"
|
||||||
|
@ -64,8 +61,5 @@ extern "C" {
|
||||||
#define DEFAULTJOYSTICKANALOGUESATURATE 9500
|
#define DEFAULTJOYSTICKANALOGUESATURATE 9500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -173,9 +173,6 @@ GAMEEXEC_STATIC GAMEEXEC_INLINE void P_ForceAngle(DukePlayer_t *pPlayer)
|
||||||
}
|
}
|
||||||
|
|
||||||
// wow, this function sucks
|
// wow, this function sucks
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
#endif
|
|
||||||
int32_t A_Dodge(spritetype * const);
|
int32_t A_Dodge(spritetype * const);
|
||||||
int32_t A_Dodge(spritetype * const pSprite)
|
int32_t A_Dodge(spritetype * const pSprite)
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,10 +29,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "events_defs.h"
|
#include "events_defs.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int32_t ticrandomseed;
|
extern int32_t ticrandomseed;
|
||||||
|
|
||||||
extern vmstate_t vm;
|
extern vmstate_t vm;
|
||||||
|
@ -65,8 +61,4 @@ void G_GetTimeDate(int32_t * pValues);
|
||||||
int G_StartTrack(int levelNum);
|
int G_StartTrack(int levelNum);
|
||||||
void VM_UpdateAnim(int spriteNum, int32_t *pData);
|
void VM_UpdateAnim(int spriteNum, int32_t *pData);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -28,10 +28,6 @@ user_defs ud;
|
||||||
|
|
||||||
const char *s_buildDate = "20120522";
|
const char *s_buildDate = "20120522";
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char g_volumeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
|
char g_volumeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
|
||||||
char g_skillNames[MAXSKILLS][33] = { "Piece Of Cake", "Let's Rock", "Come Get Some", "Damn I'm Good" };
|
char g_skillNames[MAXSKILLS][33] = { "Piece Of Cake", "Let's Rock", "Come Get Some", "Damn I'm Good" };
|
||||||
char g_gametypeNames[MAXGAMETYPES][33]
|
char g_gametypeNames[MAXGAMETYPES][33]
|
||||||
|
@ -127,7 +123,3 @@ char CheatKeys[2] = { sc_D, sc_N };
|
||||||
|
|
||||||
char g_setupFileName[BMAX_PATH] = SETUPFILENAME;
|
char g_setupFileName[BMAX_PATH] = SETUPFILENAME;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
|
@ -57,10 +57,6 @@ G_EXTERN int32_t *curipos[MAXINTERPOLATIONS];
|
||||||
G_EXTERN int32_t bakipos[MAXINTERPOLATIONS];
|
G_EXTERN int32_t bakipos[MAXINTERPOLATIONS];
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
G_EXTERN int32_t duke3d_globalflags;
|
G_EXTERN int32_t duke3d_globalflags;
|
||||||
|
|
||||||
// KEEPINSYNC astub.c (used values only)
|
// KEEPINSYNC astub.c (used values only)
|
||||||
|
@ -304,10 +300,6 @@ enum
|
||||||
EXTERN_INLINE_HEADER void G_UpdateInterpolations(void);
|
EXTERN_INLINE_HEADER void G_UpdateInterpolations(void);
|
||||||
EXTERN_INLINE_HEADER void G_RestoreInterpolations(void);
|
EXTERN_INLINE_HEADER void G_RestoreInterpolations(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined global_c_ || !defined DISABLE_INLINING
|
#if defined global_c_ || !defined DISABLE_INLINING
|
||||||
|
|
||||||
EXTERN_INLINE void G_UpdateInterpolations(void) //Stick at beginning of G_DoMoveThings
|
EXTERN_INLINE void G_UpdateInterpolations(void) //Stick at beginning of G_DoMoveThings
|
||||||
|
|
|
@ -23,10 +23,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#ifndef grpscan_h_
|
#ifndef grpscan_h_
|
||||||
#define grpscan_h_
|
#define grpscan_h_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXLISTNAMELEN 32
|
#define MAXLISTNAMELEN 32
|
||||||
|
|
||||||
// List of internally-known GRP files
|
// List of internally-known GRP files
|
||||||
|
@ -103,8 +99,4 @@ extern grpfile_t * FindGroup(int32_t crcval);
|
||||||
int32_t ScanGroups(void);
|
int32_t ScanGroups(void);
|
||||||
void FreeGroups(void);
|
void FreeGroups(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,16 +25,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined EDUKE32_TOUCH_DEVICES
|
|
||||||
# define EDUKE32_SIMPLE_MENU
|
|
||||||
# define EDUKE32_ANDROID_MENU
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// #define EDUKE32_SIMPLE_MENU
|
|
||||||
|
|
||||||
enum MenuIndex_t {
|
enum MenuIndex_t {
|
||||||
MENU_NULL = INT32_MIN, // sentinel for "do nothing"
|
MENU_NULL = INT32_MIN, // sentinel for "do nothing"
|
||||||
|
@ -503,12 +493,6 @@ extern MenuFont_t MF_Redfont, MF_Bluefont, MF_Minifont;
|
||||||
#define M_MOUSETIMEOUT 210
|
#define M_MOUSETIMEOUT 210
|
||||||
extern int32_t m_mouselastactivity;
|
extern int32_t m_mouselastactivity;
|
||||||
|
|
||||||
#if defined EDUKE32_TOUCH_DEVICES
|
|
||||||
# define MOUSEALPHA 0
|
|
||||||
# define CURSORALPHA (255/3)
|
|
||||||
# define MOUSEACTIVECONDITIONAL(condition) (condition)
|
|
||||||
# define MOUSEWATCHPOINTCONDITIONAL(condition) (condition)
|
|
||||||
#else
|
|
||||||
extern int32_t m_mousewake_watchpoint, m_menuchange_watchpoint;
|
extern int32_t m_mousewake_watchpoint, m_menuchange_watchpoint;
|
||||||
// alpha increments of 3 --> 255 / 3 = 85 --> round up to power of 2 --> 128 --> divide by 2 --> 64 alphatabs required
|
// alpha increments of 3 --> 255 / 3 = 85 --> round up to power of 2 --> 128 --> divide by 2 --> 64 alphatabs required
|
||||||
// use 16 anyway :P
|
// use 16 anyway :P
|
||||||
|
@ -519,10 +503,6 @@ extern int32_t m_mousewake_watchpoint, m_menuchange_watchpoint;
|
||||||
# define MOUSEACTIVECONDITIONAL(condition) (MOUSEACTIVECONDITION && (condition))
|
# define MOUSEACTIVECONDITIONAL(condition) (MOUSEACTIVECONDITION && (condition))
|
||||||
# define MOUSEINACTIVECONDITIONAL(condition) (!MOUSEACTIVECONDITION && (condition))
|
# define MOUSEINACTIVECONDITIONAL(condition) (!MOUSEACTIVECONDITION && (condition))
|
||||||
# define MOUSEWATCHPOINTCONDITIONAL(condition) ((condition) || m_mousewake_watchpoint || m_menuchange_watchpoint == 3)
|
# define MOUSEWATCHPOINTCONDITIONAL(condition) ((condition) || m_mousewake_watchpoint || m_menuchange_watchpoint == 3)
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,10 +23,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#ifndef osdcmds_h_
|
#ifndef osdcmds_h_
|
||||||
#define osdcmds_h_
|
#define osdcmds_h_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct osdcmd_cheatsinfo {
|
struct osdcmd_cheatsinfo {
|
||||||
int32_t cheatnum; // -1 = none, else = see DoCheats()
|
int32_t cheatnum; // -1 = none, else = see DoCheats()
|
||||||
int32_t volume,level;
|
int32_t volume,level;
|
||||||
|
@ -49,9 +45,5 @@ extern const char *const ConsoleButtons[];
|
||||||
|
|
||||||
extern uint32_t cl_cheatmask;
|
extern uint32_t cl_cheatmask;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // osdcmds_h_
|
#endif // osdcmds_h_
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "fix16.h"
|
#include "fix16.h"
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int32_t g_mostConcurrentPlayers;
|
extern int32_t g_mostConcurrentPlayers;
|
||||||
|
|
||||||
#define MOVEFIFOSIZ 256
|
#define MOVEFIFOSIZ 256
|
||||||
|
@ -282,11 +278,7 @@ void P_EndLevel(void);
|
||||||
void P_CheckWeaponI(int playerNum);
|
void P_CheckWeaponI(int playerNum);
|
||||||
int P_GetHudPal(const DukePlayer_t *pPlayer);
|
int P_GetHudPal(const DukePlayer_t *pPlayer);
|
||||||
int P_GetKneePal(const DukePlayer_t *pPlayer);
|
int P_GetKneePal(const DukePlayer_t *pPlayer);
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
int P_GetKneePal(const DukePlayer_t *pPlayer, int hudPal);
|
int P_GetKneePal(const DukePlayer_t *pPlayer, int hudPal);
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
int P_GetOverheadPal(const DukePlayer_t *pPlayer);
|
int P_GetOverheadPal(const DukePlayer_t *pPlayer);
|
||||||
void P_MadeNoise(int playerNum);
|
void P_MadeNoise(int playerNum);
|
||||||
int P_HasKey(int sectNum, int playerNum);
|
int P_HasKey(int sectNum, int playerNum);
|
||||||
|
@ -316,8 +308,4 @@ static inline int P_GetP(const void *pSprite)
|
||||||
// Get the player index given an APLAYER sprite index.
|
// Get the player index given an APLAYER sprite index.
|
||||||
static inline int P_Get(int32_t spriteNum) { return P_GetP((const uspritetype *)&sprite[spriteNum]); }
|
static inline int P_Get(int32_t spriteNum) { return P_GetP((const uspritetype *)&sprite[spriteNum]); }
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,10 +23,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#ifndef premap_h_
|
#ifndef premap_h_
|
||||||
#define premap_h_
|
#define premap_h_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int16_t g_ambientLotag[64];
|
extern int16_t g_ambientLotag[64];
|
||||||
extern int16_t g_ambientHitag[64];
|
extern int16_t g_ambientHitag[64];
|
||||||
extern int32_t g_levelTextTime;
|
extern int32_t g_levelTextTime;
|
||||||
|
@ -53,8 +49,4 @@ extern int32_t fragbarheight(void);
|
||||||
void G_SetFog(int fogtype);
|
void G_SetFog(int fogtype);
|
||||||
void G_InitRRRASkies(void);
|
void G_InitRRRASkies(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,9 +25,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
# define SV_MAJOR_VER 1
|
# define SV_MAJOR_VER 1
|
||||||
#define SV_MINOR_VER 7
|
#define SV_MINOR_VER 7
|
||||||
|
@ -151,8 +148,4 @@ enum
|
||||||
void G_Util_PtrToIdx(void *ptr, int32_t count, const void *base, int32_t mode);
|
void G_Util_PtrToIdx(void *ptr, int32_t count, const void *base, int32_t mode);
|
||||||
void G_Util_PtrToIdx2(void *ptr, int32_t count, size_t stride, const void *base, int32_t const mode);
|
void G_Util_PtrToIdx2(void *ptr, int32_t count, size_t stride, const void *base, int32_t const mode);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,10 +24,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#include "menus.h"
|
#include "menus.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXUSERQUOTES 6
|
#define MAXUSERQUOTES 6
|
||||||
|
|
||||||
extern int32_t user_quote_time[MAXUSERQUOTES];
|
extern int32_t user_quote_time[MAXUSERQUOTES];
|
||||||
|
@ -98,6 +94,3 @@ extern void G_AddCoordsFromRotation(vec2_t *coords, const vec2_t *unitDirection,
|
||||||
extern vec2_t G_ScreenText(int32_t font, int32_t x, int32_t y, int32_t z, int32_t blockangle, int32_t charangle, const char *str, int32_t shade, int32_t pal, int32_t o, int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
extern vec2_t G_ScreenText(int32_t font, int32_t x, int32_t y, int32_t z, int32_t blockangle, int32_t charangle, const char *str, int32_t shade, int32_t pal, int32_t o, int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
||||||
extern vec2_t G_ScreenTextShadow(int32_t sx, int32_t sy, int32_t font, int32_t x, int32_t y, int32_t z, int32_t blockangle, int32_t charangle, const char *str, int32_t shade, int32_t pal, int32_t o, int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
extern vec2_t G_ScreenTextShadow(int32_t sx, int32_t sy, int32_t font, int32_t x, int32_t y, int32_t z, int32_t blockangle, int32_t charangle, const char *str, int32_t shade, int32_t pal, int32_t o, int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -29,10 +29,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#include "namesdyn.h" // for G_GetForcefieldPicnum()
|
#include "namesdyn.h" // for G_GetForcefieldPicnum()
|
||||||
#include "player.h" // playerspawn_t
|
#include "player.h" // playerspawn_t
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXCYCLERS 1024
|
#define MAXCYCLERS 1024
|
||||||
#define MAXANIMATES 1024
|
#define MAXANIMATES 1024
|
||||||
#define MAXANIMWALLS 512
|
#define MAXANIMWALLS 512
|
||||||
|
@ -169,10 +165,6 @@ static inline vec3_t G_GetCameraPosition(int32_t i, int32_t smoothratio)
|
||||||
|
|
||||||
EXTERN_INLINE_HEADER int32_t G_CheckPlayerInSector(int32_t sect);
|
EXTERN_INLINE_HEADER int32_t G_CheckPlayerInSector(int32_t sect);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined sector_c_ || !defined DISABLE_INLINING
|
#if defined sector_c_ || !defined DISABLE_INLINING
|
||||||
|
|
||||||
EXTERN_INLINE int32_t G_CheckPlayerInSector(int32_t sect)
|
EXTERN_INLINE int32_t G_CheckPlayerInSector(int32_t sect)
|
||||||
|
|
|
@ -31,10 +31,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
#include "sounds_common.h"
|
#include "sounds_common.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// KEEPINSYNC lunatic/con_lang.lua
|
// KEEPINSYNC lunatic/con_lang.lua
|
||||||
#define MAXSOUNDS 4096
|
#define MAXSOUNDS 4096
|
||||||
#define MAXSOUNDINSTANCES 8
|
#define MAXSOUNDINSTANCES 8
|
||||||
|
@ -102,8 +98,4 @@ static inline bool S_IsAmbientSFX(int spriteNum)
|
||||||
return (sprite[spriteNum].picnum == MUSICANDSFX && sprite[spriteNum].lotag < 999);
|
return (sprite[spriteNum].picnum == MUSICANDSFX && sprite[spriteNum].lotag < 999);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue