dxx-rebirth/main
Kp 9edfd78dcc Use #ifdef, not #if, to test WORDS_BIGENDIAN
On little endian machines, WORDS_BIGENDIAN is undefined, so testing
using #if triggers warning -Wundef.
2013-03-03 23:46:22 +00:00
..
ai.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
ai.h Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:54 +02:00
ai2.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
aipath.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
aistruct.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
automap.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
automap.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
bm.c If bitmaps.tbl happens to be available, don't try and re-make the pig if EDITOR is defined because it would cause problems 2012-07-24 17:18:13 +08:00
bm.h Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
bmread.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
bmread.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
cntrlcen.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
cntrlcen.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
collide.c Fix warnings (no checking ubyte 'id' is < 0, include d_strdup prototype for radio.c and make sure that 'text' gets freed) 2012-07-24 17:28:44 +08:00
collide.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
config.c Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:54 +02:00
config.h Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu 2011-02-14 22:27:07 +01:00
console.c Marked con_printf fmt as const, Increased console lines from 512 to 2048; Marked console private entries as static - patches by Kp 2012-11-02 18:24:51 +01:00
controls.c Increased ship wiggle from 20FPS- to 30FPS-base as I think this more representy the 486 play style - feels way more natural to me, too 2013-01-22 00:55:56 +01:00
controls.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
credits.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
credits.h Giving credits function ability to use custom creditfile (again); Made laser-offset for laser exclusive so Prox mines won't go tru doors; Preventing cycling tru cockpit modes while dead, but allowing to load a state; Implemented D2X' lighting code to D1X (faster, better, sexier - weeee); Try to hop over some errors regarding walls/doors in levels instead of using -1 indexes for arrays; Made the briefing text ptr a bit more failsafe in case the file is corrupt/non-standard; Made scores use the menu screen even in GAME OVER; Fixed bug in neighbour fields of Weapon Keys table; Added the Weapon Keys stuff to TABLE_CREATION; Fixed bug where D2X did not recall applied resolution in the resolutions menu; Simpler check to create DEMO_DIR; Seperated X/Y sensitivity for mouse and joystick; Flush controls when Automap toggles so keypress won't deactivate it again; Made FrameCount in Demos aligned to the Dropframe condition; Added KEy to ttoggle playback text off; Gracefully exit demo code if demo is corrupt; Removed that new percent counter because many old demos seem to have corrupted last frames; Closing endlevel data file if IFF error so the mission still can be freed; Fixed Cruising for keyboard which was not aligned to FPS correctly; Used mouse delta scaling in kconfig.c instead of mouse.c to not screw up when delta is requested in non-ingame situations - it actually belongs to the controls IMHO; Now support up to 8 joysticks; Changed some leftover malloc's to d_malloc and free to d_free 2008-10-16 17:27:02 +00:00
desc_id.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
descent.cfg
digi.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
digiobj.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
dumpmine.c Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:54 +02:00
effects.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
effects.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
endlevel.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
endlevel.h Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup 2008-11-14 16:56:40 +00:00
escort.c Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
escort.h Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu 2011-02-14 22:27:07 +01:00
fireball.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
fireball.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
fuelcen.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
fuelcen.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
fvi.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
fvi.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
game.c Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;)) 2013-01-03 17:10:56 +01:00
game.h Renamed FixedStepCalc() to cald_d_tick() and FixedStep became d_tick_step; Also ther eonly is a 50ms-timer used to d_tick_step as it was the only one used so far; Replaced FrameCount with d_tick_count which only increments by 50ms-timer used in calc_d_tick() - that now scales timed actions for certain functions properly and makes AI work FPS-independent without any hacks in that regard 2012-05-14 19:06:28 +02:00
gamecntl.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
gamefont.c Normalize whitespace in copyright header to match D1X-Rebirth 2013-02-24 02:40:43 +00:00
gamefont.h Reverting integer casts for font spacings - was for testing only - not intended to go into the last revision 2008-11-09 14:46:31 +00:00
gamemine.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
gamemine.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gamepal.c Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gamepal.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gamerend.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
gamesave.c Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:54 +02:00
gamesave.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gameseg.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
gameseg.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gameseq.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
gameseq.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gamestat.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
gauges.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
gauges.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
hostage.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
hostage.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
hud.c Removed obsolete HUD cleaning code - patch by Kp 2013-01-03 17:33:07 +01:00
hudmsg.h Introduced HUD message class HM_MAYDUPL for messages that may appear once per frame but the player might not able to supress via option 2011-04-11 21:27:31 +02:00
inferno.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
inferno.h Remove inferno.h include of pstypes.h 2013-03-03 19:58:10 +00:00
inferno.ini Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes 2008-04-06 20:23:28 +00:00
kconfig.c Made key_properties readable in other files; Eliminated key_text variable; Marked unicode_frame_buffer as extern in header - patches by Kp 2012-11-02 17:41:40 +01:00
kconfig.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
kmatrix.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
kmatrix.h Removed support for IPX protocol and MS-DOS-Multiplayer-compability due to age and lack of real need and to really improve on the Multiplayer without adding too much complexity for backwards-compability 2011-09-14 01:15:32 +02:00
laser.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
laser.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
lighting.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
lighting.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
link.bat
menu.c Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:24 +01:00
menu.h Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
mglobal.c Renamed FixedStepCalc() to cald_d_tick() and FixedStep became d_tick_step; Also ther eonly is a 50ms-timer used to d_tick_step as it was the only one used so far; Replaced FrameCount with d_tick_count which only increments by 50ms-timer used in calc_d_tick() - that now scales timed actions for certain functions properly and makes AI work FPS-independent without any hacks in that regard 2012-05-14 19:06:28 +02:00
mission.c Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
mission.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
morph.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
morph.h Set sound distance to 0 for HUD sound taunts; Making Jukebox not crash if -nosound is enabled (should stop Jukebox since no digi system enabled); Lowered mouse axis speed a bit again; Increasing MAX_VECS to 5000 2008-05-25 08:19:31 +00:00
movie.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
movie.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
multi.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
multi.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
multibot.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
multibot.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
net_udp.c Rename D2XMAJORi/D2XMINORi/D2XMICROi to DXX_VERSION_MAJORi/DXX_VERSION_MINORi/DXX_VERSION_MICROi 2013-02-25 01:59:08 +00:00
net_udp.h Optimization for quaternion structure: Stuffed orientation in shorts and removed figure out segnum by position - saving 10 bytes for each positional update in Multiplayer; Also removed render_type from pdata to save yet another byte 2012-05-26 17:53:07 +02:00
newdemo.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
newdemo.h Use #ifdef, not #if, to test WORDS_BIGENDIAN 2013-03-03 23:46:22 +00:00
newmenu.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
newmenu.h Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
object.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
object.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
paging.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
paging.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
physics.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
physics.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
piggy.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
piggy.h Moved remove_char declaration to piggy.h - patch by Kp 2013-01-03 16:28:53 +01:00
player.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
player.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
playsave.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
playsave.h Introduced sensitivity sliders for keyboard which cause movement increase the longer the designated key is pressed 2012-06-01 11:53:59 +02:00
polyobj.c Don't draw objects with a modelnum of -1, improving stability when a third party mission is played with shareware data 2012-07-24 18:01:14 +08:00
polyobj.h Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
powerup.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
powerup.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
render.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
render.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
robot.c Use correct array index when loading circle distance 2013-02-25 01:59:08 +00:00
robot.h Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
scores.c Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:24 +01:00
scores.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
screens.h Removed remnants of the old and obsolete VR implementation 2012-05-27 00:24:57 +02:00
segment.c Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
segment.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
segpoint.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
slew.c Remove RCS embedded string to synchronize code with D1X 2013-02-22 04:32:23 +00:00
slew.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
songs.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
songs.h added songs_play_file() to play any song depending on filename-extension as a more streamlined approach to handle all different kinds of formats; also used for jukebox to make it independent from SDL_mixer; cleaned up supported filename extenstions 2012-06-10 14:02:43 +02:00
sounds.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
state.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
state.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
switch.c Avoid -Wformat-nonliteral for trigger message; Reflect plurality in light trigger messages - patches by Kp 2013-01-03 17:00:40 +01:00
switch.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
terrain.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
terrain.h Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup 2008-11-14 16:56:40 +00:00
texmerge.c Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
texmerge.h Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes 2008-04-06 20:23:28 +00:00
text.c Remove RCS embedded string to synchronize code with D1X 2013-02-22 04:32:23 +00:00
text.h On NETGAMES list Bounty mode was not shown since MODE_NAMES define was not adjusted - so in the end introduced GMNames and GMNamesShrt Arrays in multi.c for globally displaying full or short Multiplayer game mode names 2011-01-19 19:55:38 +01:00
textures.h Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes 2008-04-06 20:23:28 +00:00
titles.c Push down inclusion "args.h" from physfsx.h into sources 2013-03-03 19:41:09 +00:00
titles.h In Endlevel sequence, re-align big explosion to draw in front of exit model, relative to viewer; Re-organized tex files for Briefings and Endings and created more general code to play them; Re-aligned Dravis' head 2010-03-25 23:37:19 +00:00
vclip.c Rename include/error.h to include/dxxerror.h 2012-07-07 18:35:06 +00:00
vclip.h Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content 2011-06-01 09:59:55 +02:00
vers_id.h Rename D2XMAJORi/D2XMINORi/D2XMICROi to DXX_VERSION_MAJORi/DXX_VERSION_MINORi/DXX_VERSION_MICROi 2013-02-25 01:59:08 +00:00
wall.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
wall.h Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp 2013-01-03 16:46:36 +01:00
weapon.c Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
weapon.h Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00