2006-04-13 20:47:06 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 1996, 2003 - 3D Realms Entertainment
|
2007-02-08 04:19:39 +00:00
|
|
|
Copyright (C) 2000, 2003 - Matt Saettler (EDuke Enhancements)
|
|
|
|
Copyright (C) 2004, 2007 - EDuke32 developers
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2007-02-08 04:19:39 +00:00
|
|
|
This file is part of EDuke32
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2007-02-08 04:19:39 +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.
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef __funct_h__
|
|
|
|
#define __funct_h__
|
|
|
|
|
2008-12-15 10:29:42 +00:00
|
|
|
#ifndef _MSC_VER
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#ifndef __fastcall
|
|
|
|
#define __fastcall __attribute__((fastcall))
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define __fastcall
|
|
|
|
#endif
|
2008-12-15 08:38:16 +00:00
|
|
|
#endif
|
|
|
|
|
2006-12-23 02:38:47 +00:00
|
|
|
extern void sendscore(const char *s);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void S_SoundStartup(void);
|
|
|
|
extern void S_SoundShutdown(void);
|
|
|
|
extern void S_MusicStartup(void);
|
|
|
|
extern void S_MusicShutdown(void);
|
|
|
|
extern void S_MenuSound(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t S_PlayMusic(const char *fn, const int32_t sel);
|
|
|
|
extern int32_t S_LoadSound(unsigned num);
|
2009-01-13 04:40:56 +00:00
|
|
|
extern int32_t S_PlaySoundXYZ(int32_t num,int32_t i,const vec3_t *pos);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void S_PlaySound(int32_t num);
|
|
|
|
extern int32_t A_PlaySound(uint32_t num,int32_t i);
|
|
|
|
extern void S_StopSound(int32_t num);
|
|
|
|
extern void S_StopEnvSound(int32_t num,int32_t i);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern void pan3dsound(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void S_TestSoundCallback(uint32_t num);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void S_ClearSoundLocks(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t A_CallSound(int32_t sn,int32_t whatsprite);
|
2009-01-10 07:38:50 +00:00
|
|
|
extern int32_t G_CheckActivatorMotion(int32_t lotag);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t CheckDoorTile(int32_t dapic);
|
|
|
|
extern int32_t isanunderoperator(int32_t lotag);
|
|
|
|
extern int32_t isanearoperator(int32_t lotag);
|
2009-01-13 12:23:18 +00:00
|
|
|
extern inline int32_t G_CheckPlayerInSector(int32_t sect);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t ldist(spritetype *s1,spritetype *s2);
|
|
|
|
extern int32_t dist(spritetype *s1,spritetype *s2);
|
|
|
|
extern int32_t __fastcall A_FindPlayer(spritetype *s,int32_t *d);
|
|
|
|
extern int32_t P_FindOtherPlayer(int32_t p,int32_t *d);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_DoSectorAnimations(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t GetAnimationGoal(int32_t *animptr);
|
|
|
|
extern int32_t SetAnimation(int32_t animsect,int32_t *animptr,int32_t thegoal,int32_t thevel);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_AnimateCamSprite(void);
|
|
|
|
extern void G_AnimateWalls(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t G_ActivateWarpElevators(int32_t s,int32_t d);
|
|
|
|
extern void G_OperateSectors(int32_t sn,int32_t ii);
|
|
|
|
extern void G_OperateRespawns(int32_t low);
|
|
|
|
extern void G_OperateActivators(int32_t low,int32_t snum);
|
|
|
|
extern void G_OperateMasterSwitches(int32_t low);
|
|
|
|
extern void G_OperateForceFields(int32_t s,int32_t low);
|
|
|
|
extern int32_t P_ActivateSwitch(int32_t snum,int32_t w,int32_t switchtype);
|
|
|
|
extern void activatebysector(int32_t sect,int32_t j);
|
2009-01-13 04:40:56 +00:00
|
|
|
extern void A_DamageWall(int32_t spr,int32_t dawallnum,const vec3_t *pos,int32_t atwith);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void P_CheckTouchDamage(DukePlayer_t *p,int32_t j);
|
|
|
|
extern int32_t Sect_DamageCeiling(int32_t sn);
|
|
|
|
extern void A_DamageObject(int32_t i,int32_t sn);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern void allignwarpelevators(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_HandleSharedKeys(int32_t snum);
|
|
|
|
extern void checksectors(int32_t snum);
|
2006-12-23 02:38:47 +00:00
|
|
|
extern int32 RTS_AddFile(const char *filename);
|
|
|
|
extern void RTS_Init(const char *filename);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern int32 RTS_NumSounds(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
extern int32 RTS_SoundLength(int32 lump);
|
2006-12-23 02:38:47 +00:00
|
|
|
extern const char *RTS_GetSoundName(int32 i);
|
2006-04-13 20:47:06 +00:00
|
|
|
extern void RTS_ReadLump(int32 lump,void *dest);
|
|
|
|
extern void *RTS_GetSound(int32 lump);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_CacheMapData(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void xyzmirror(int32_t i,int32_t wn);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_UpdateScreenArea(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void P_RandomSpawnPoint(int32_t snum);
|
|
|
|
extern void P_ResetWeapons(int32_t snum);
|
|
|
|
extern void P_ResetInventory(int32_t snum);
|
|
|
|
extern void G_NewGame(int32_t vn,int32_t ln,int32_t sk);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_ResetTimers(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
extern void waitforeverybody(void);
|
|
|
|
extern void clearfifo(void);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void Net_ResetPrediction(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t G_EnterLevel(int32_t g);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_BackToMenu(void);
|
|
|
|
extern void P_UpdateScreenPal(DukePlayer_t *p);
|
|
|
|
extern void P_QuickKill(DukePlayer_t *p);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t A_GetHitscanRange(int32_t i);
|
|
|
|
extern int32_t A_CheckHitSprite(int32_t i,short *hitsp);
|
|
|
|
extern int32_t A_Shoot(int32_t i,int32_t atwith);
|
|
|
|
extern void P_DisplayScubaMask(int32_t snum);
|
|
|
|
extern void P_DisplayWeapon(int32_t snum);
|
|
|
|
extern void getinput(int32_t snum);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void P_DropWeapon(DukePlayer_t *p);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void P_ProcessInput(int32_t snum);
|
|
|
|
extern void ChangeToMenu(int32_t cm);
|
|
|
|
// extern void savetemp(const char *fn,int32_t daptr,int32_t dasiz);
|
|
|
|
// extern int32_t G_LoadSaveHeader(char spot,int32 *vn,int32 *ln,int32 *psk,int32 *numplr);
|
|
|
|
extern int32_t G_LoadPlayer(int32_t spot);
|
|
|
|
extern int32_t G_SavePlayer(int32_t spot);
|
|
|
|
extern int32_t menutext_(int32_t x,int32_t y,int32_t s,int32_t p,char *t,int32_t bits);
|
2008-10-11 11:50:02 +00:00
|
|
|
#define menutext(x,y,s,p,t) menutext_(x,y,s,p,(char *)stripcolorcodes(menutextbuf,t),10+16)
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void M_DisplayMenus(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_FadePalette(int32_t r,int32_t g,int32_t b,int32_t e);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_PlayAnim(const char *fn,char);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t G_GetAngleDelta(int32_t a,int32_t na);
|
|
|
|
extern void A_GetZLimits(int32_t iActor);
|
|
|
|
extern void A_Fall(int32_t iActor);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void C_Compile(const char *fn);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t A_GetFurthestAngle(int32_t iActor,int32_t angs);
|
|
|
|
extern void A_Execute(int32_t iActor,int32_t iPlayer,int32_t lDist);
|
|
|
|
extern void gamenumber(int32_t x,int32_t y,int32_t n,int32_t s);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_Shutdown(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void Net_GetPackets(void);
|
|
|
|
extern void A_PlayAlertSound(int32_t i);
|
|
|
|
extern inline int32_t A_CheckInventorySprite(spritetype *s);
|
|
|
|
extern inline int32_t A_CheckEnemySprite(spritetype *s);
|
|
|
|
extern int32_t A_CheckEnemyTile(int32_t pn);
|
|
|
|
extern void G_DrawTile(int32_t x,int32_t y,int32_t tilenum,int32_t shade,int32_t orientation);
|
|
|
|
extern void G_DrawTilePal(int32_t x,int32_t y,int32_t tilenum,int32_t shade,int32_t orientation,int32_t p);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_DrawFrags(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void P_DoQuote(int32_t q,DukePlayer_t *p);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_GameExit(const char *t);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_DisplayRest(int32_t smoothratio);
|
|
|
|
extern void updatesectorz(int32_t x,int32_t y,int32_t z,short *sectnum);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_DrawBackground(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_DrawRooms(int32_t snum,int32_t smoothratio);
|
|
|
|
extern int32_t A_InsertSprite(int32_t whatsect,int32_t s_x,int32_t s_y,int32_t s_z,int32_t s_pn,int32_t s_s,int32_t s_xr,int32_t s_yr,int32_t s_a,int32_t s_ve,int32_t s_zv,int32_t s_ow,int32_t s_ss);
|
|
|
|
extern int32_t A_CheckSwitchTile(int32_t i);
|
|
|
|
extern int32_t A_Spawn(int32_t j,int32_t pn);
|
|
|
|
extern void G_DoSpriteAnimations(int32_t x,int32_t y,int32_t a,int32_t smoothratio);
|
|
|
|
extern int32_t main(int32_t argc,char **argv);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_OpenDemoWrite(void);
|
|
|
|
extern void G_CloseDemoWrite(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_BonusScreen(int32_t bonusonly);
|
|
|
|
extern void A_SpawnWallGlass(int32_t i,int32_t wallnum,int32_t n);
|
|
|
|
extern void A_SpawnGlass(int32_t i,int32_t n);
|
|
|
|
extern void A_SpawnCeilingGlass(int32_t i,int32_t sectnum,int32_t n);
|
|
|
|
extern void A_SpawnRandomGlass(int32_t i,int32_t wallnum,int32_t n);
|
|
|
|
extern int32_t GetTime(void);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern void CONFIG_GetSetupFilename(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
extern int32 CONFIG_FunctionNameToNum(char *func);
|
|
|
|
extern char *CONFIG_FunctionNumToName(int32 func);
|
|
|
|
extern int32 CONFIG_AnalogNameToNum(char *func);
|
|
|
|
extern char *CONFIG_AnalogNumToName(int32 func);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern void CONFIG_SetDefaults(void);
|
|
|
|
extern void CONFIG_ReadKeys(void);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void ReadSaveGameHeaders(void);
|
2006-11-19 03:02:36 +00:00
|
|
|
extern int32 CONFIG_ReadSetup(void);
|
|
|
|
extern void CONFIG_WriteSetup(void);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern inline void G_UpdateInterpolations(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_SetInterpolation(int32_t *posptr);
|
|
|
|
extern void G_StopInterpolation(int32_t *posptr);
|
|
|
|
extern void G_DoInterpolations(int32_t smoothratio);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern inline void G_RestoreInterpolations(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern inline int32_t G_CheckForSpaceCeiling(int32_t sectnum);
|
|
|
|
extern inline int32_t G_CheckForSpaceFloor(int32_t sectnum);
|
|
|
|
extern void P_AddAmmo(int32_t weapon,DukePlayer_t *p,int32_t amount);
|
|
|
|
extern void P_AddWeaponNoSwitch(DukePlayer_t *p,int32_t weapon);
|
|
|
|
extern void P_AddWeapon(DukePlayer_t *p,int32_t weapon);
|
2008-12-01 10:44:18 +00:00
|
|
|
extern void P_SelectNextInvItem(DukePlayer_t *p);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void P_CheckWeapon(DukePlayer_t *p);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void A_RadiusDamage(int32_t i,int32_t r,int32_t hp1,int32_t hp2,int32_t hp3,int32_t hp4);
|
2009-01-13 04:40:56 +00:00
|
|
|
extern int32_t A_MoveSprite(int32_t spritenum,const vec3_t *change,uint32_t cliptype);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern inline int32_t A_SetSprite(int32_t i,uint32_t cliptype);
|
|
|
|
extern void A_AddToDeleteQueue(int32_t i);
|
|
|
|
extern void A_SpawnMultiple(int32_t sp,int32_t pic,int32_t n);
|
|
|
|
extern void A_DoGuts(int32_t sp,int32_t gtype,int32_t n);
|
|
|
|
extern void Sect_SetInterpolation(int32_t i);
|
|
|
|
extern void Sect_ClearInterpolation(int32_t i);
|
|
|
|
extern int32_t A_IncurDamage(int32_t sn);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_MoveWorld(void);
|
|
|
|
extern void A_MoveCyclers(void);
|
|
|
|
extern void A_MoveDummyPlayers(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
// game.c
|
2009-01-09 09:29:17 +00:00
|
|
|
extern inline void G_SetStatusBarScale(int32_t sc);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-10 07:38:50 +00:00
|
|
|
extern void P_SetGamePalette(DukePlayer_t *player, uint8_t *pal, int32_t set);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void fadepal(int32_t r, int32_t g, int32_t b, int32_t start, int32_t end, int32_t step);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t gametext_z(int32_t small, int32_t starttile, int32_t x,int32_t y,const char *t,int32_t s,int32_t p,int32_t orientation,int32_t x1, int32_t y1, int32_t x2, int32_t y2,int32_t z);
|
|
|
|
extern void G_DrawTXDigiNumZ(int32_t starttile, int32_t x,int32_t y,int32_t n,int32_t s,int32_t pal,int32_t cs,int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t z);
|
|
|
|
extern void G_DrawTileSmall(int32_t x,int32_t y,int32_t tilenum,int32_t shade,int32_t orientation);
|
|
|
|
extern void G_DrawTilePalSmall(int32_t x,int32_t y,int32_t tilenum,int32_t shade,int32_t orientation,int32_t p);
|
2008-12-13 07:23:13 +00:00
|
|
|
extern void Gv_ResetVars(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void A_ResetVars(int32_t iActor);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t minitext_(int32_t x,int32_t y,const char *t,int32_t s,int32_t p,int32_t sb);
|
2008-07-30 02:51:32 +00:00
|
|
|
|
|
|
|
#define minitextshade(x, y, t, s, p, sb) minitext_(x,y,t,s,p,sb)
|
|
|
|
#define minitext(x, y, t, p, sb) minitext_(x,y,t,0,p,sb)
|
|
|
|
|
2008-07-22 10:56:22 +00:00
|
|
|
#define gametext(x,y,t,s,dabits) gametext_z(0,STARTALPHANUM, x,y,t,s,0,dabits,0, 0, xdim-1, ydim-1, 65536)
|
2008-10-11 09:20:04 +00:00
|
|
|
#define gametextscaled(x,y,t,s,dabits) gametext_z(1,STARTALPHANUM, x,y,t,s,0,dabits,0, 0, xdim-1, ydim-1, 65536)
|
2008-07-22 10:56:22 +00:00
|
|
|
#define gametextpal(x,y,t,s,p) gametext_z(0,STARTALPHANUM, x,y,t,s,p,26,0, 0, xdim-1, ydim-1, 65536)
|
2008-09-15 02:47:02 +00:00
|
|
|
#define gametextpalbits(x,y,t,s,p,dabits) gametext_z(0,STARTALPHANUM, x,y,t,s,p,dabits,0, 0, xdim-1, ydim-1, 65536)
|
2008-07-22 10:56:22 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_InitDynamicTiles();
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void A_LoadActor(int32_t sActor);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t Gv_GetVarByLabel(const char *szGameLabel, int32_t lDefault, int32_t iActor, int32_t iPlayer);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void Gv_DumpValues(FILE *fp);
|
2007-02-08 04:19:39 +00:00
|
|
|
// extern void AddLog(const char *psz, ...);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void Gv_ResetSystemDefaults(void);
|
|
|
|
extern void Gv_InitWeaponPointers(void);
|
|
|
|
extern void Gv_Init(void);
|
|
|
|
extern void Gv_WriteSave(FILE *fil);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t Gv_ReadSave(int32_t fil);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t __fastcall Gv_GetVar(int32_t id, int32_t iActor, int32_t iPlayer);
|
|
|
|
extern void __fastcall Gv_SetVar(int32_t id, int32_t lValue, int32_t iActor, int32_t iPlayer);
|
|
|
|
extern int32_t __fastcall Gv_GetVarX(int32_t id);
|
|
|
|
extern void __fastcall Gv_SetVarX(int32_t id, int32_t lValue);
|
2008-12-21 22:46:55 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
// extern void SetGameArrayID(int32_t id,int32_t index, int32_t lValue);
|
2008-04-01 02:50:44 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t Gv_NewVar(const char *pszLabel, int32_t lValue, uint32_t dwFlags);
|
|
|
|
extern int32_t Gv_NewArray(const char *pszLabel, int32_t asize);
|
|
|
|
extern void C_ReportError(int32_t iError);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void onvideomodechange(int32_t newmode);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void X_OnEvent(int32_t iEventID, int32_t sActor, int32_t sPlayer, int32_t lDist);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t A_CheckSoundPlaying(int32_t i, int32_t num);
|
|
|
|
extern int32_t S_CheckSoundPlaying(int32_t i, int32_t num);
|
|
|
|
extern void A_StopSound(int32_t num, int32_t i);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_UpdatePlayerFromMenu(void);
|
|
|
|
extern void Net_SendPlayerName(void);
|
|
|
|
extern void Net_SendUserMapName(void);
|
|
|
|
extern void Net_SendQuit(void);
|
2006-04-20 19:21:40 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_AddUserQuote(const char *daquote);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void Net_NewGame(int32_t volume, int32_t level);
|
2006-05-03 04:49:54 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern inline int32_t A_CheckSpriteFlags(int32_t iActor, int32_t iType);
|
|
|
|
extern inline int32_t A_CheckSpriteTileFlags(int32_t iPicnum, int32_t iType);
|
2006-12-21 09:33:26 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t G_GetTeamPalette(int32_t team);
|
2007-01-26 00:28:44 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void se40code(int32_t x,int32_t y,int32_t z,int32_t a,int32_t h, int32_t smoothratio);
|
2007-03-13 18:37:46 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_FreeMapState(int32_t mapnum);
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_FindLevelForFilename(const char *fn, char *volume, char *level);
|
2008-07-18 02:46:24 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
extern void G_GetCrosshairColor(void);
|
2009-01-09 09:29:17 +00:00
|
|
|
extern void G_SetCrosshairColor(int32_t r, int32_t g, int32_t b);
|
|
|
|
extern int32_t kopen4loadfrommod(char *filename, char searchfirst);
|
2008-12-19 00:53:54 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t _EnterText(int32_t small,int32_t x,int32_t y,char *t,int32_t dalen,int32_t c);
|
2008-12-19 00:53:54 +00:00
|
|
|
|
|
|
|
#define G_EnterText(x, y, t, dalen, c) _EnterText(0,x,y,t,dalen,c)
|
|
|
|
#define Net_EnterText(x, y, t, dalen, c) _EnterText(1,x,y,t,dalen,c)
|
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
#endif // __funct_h__
|