summaryrefslogtreecommitdiff
path: root/src/g_game.c
AgeCommit message (Collapse)Author
2013-06-17Refactor handling of novert to take place at the lower layers ratherSimon Howard
than in the game code. This makes the behavior closer to Vanilla and stops the mouse affecting the menus when novert is enabled (thanks manny). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2606
2012-12-23Fix compiler warnings caused by unused variables.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2552
2011-11-26Fix weapon cycling keys when using IDKFA in Shareware Doom (thanksSimon Howard
Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2478
2011-03-28Fix weapon cycling from the shotgun to the chaingun in Doom 1 (thanksSimon Howard
Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2311
2010-12-25Remove the 32 character limit on the lengths of filenames specified toSimon Howard
-record (thanks AlexXav). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2225
2010-12-18Add a M_CheckParmWithArgs function, that behaves like M_CheckParm butSimon Howard
also checks that extra options were provided on the command line (thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2223
2010-12-06Fix -solo-net to actually behave the same as other ports.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2198
2010-12-06Rename -netdemo command line parameter to -solo-net, for consistencySimon Howard
with other ports (-netdemo is still recognised). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2197
2010-08-20Extend mouse code to support up to 8 buttons (allows mouse wheel to beSimon Howard
used). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1958
2010-08-09Add weapon cycling bindings for mouse and joystick buttons. Add weaponSimon Howard
cycling bindings to configuration file and setup tool. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1953
2010-08-04Initial code for previous/next weapon switching keys.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1950
2010-07-31Add multiplayer spy key binding.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1948
2010-07-10Add key binding to change demo recording quit key.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1939
2010-05-01Fix compiler warnings with savegame and response file code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1926
2009-12-28When recording low resolution (non-longtics) Vanilla demos, carrySimon Howard
forward the error from angleturn caused by the reduced resolution, so that consecutive errors can accumulate, possibly making turning slightly smoother. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1770
2009-06-10Add key bindings for pause, message refresh.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1586
2009-06-05Add key binding variables for automap and weapon keys.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1551
2008-07-25Initial chex.exe emulation.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1155
2008-06-14Add a helpful message for people trying to play with the wrong IWAD.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1147
2008-05-02Add W_CacheLumpNum,Name API to WAD code for releasing a lump back toSimon Howard
cache when it is no longer needed. Switch existing code to use the new API instead of Z_ChangeTag. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1134
2008-04-19Don't successfully save a savegame if a buffer overrun occurs, and don'tSimon Howard
overwrite the existing savegame. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1119
2008-03-09Split out configuration file code from m_misc.c into m_config.c. MoveSimon Howard
screenshot code into v_video.c Add M_FileLength common function for finding the length of an open file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1102
2008-02-09Remove some unneeded functions from i_system.c. Make I_Error exit usingSimon Howard
exit() rather than abort(). Display a message box with the error on Windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1065
2007-12-13Add @vanilla tag for Vanilla doom command line options. Add missingSimon Howard
documentation for -nosound, -nomusic, -nosfx. Fix up some bugs with the docgen wikitext output and allow control over output of Vanilla options. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 984
2007-09-02Don't make novert affect the joystick as well (thanks Janizdreg)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 963
2007-07-30Set timedemo start time when demo playback begins, not when the levelSimon Howard
begins. Using the level start time causes problems when timing multi-level demos. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 942
2007-07-08Add -netdemo for playing back netgame demos that only have a singleSimon Howard
player. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 934
2007-06-22Replace 35 with TICRATE where appropriate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925
2007-06-21Revert previous change from bitshifts to divides; this causes demoSimon Howard
desyncs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 923
2007-06-20Add new configuration options for the mouse and joystick for controlsSimon Howard
that are available through the keyboard. Justification: this is already possible through advanced mouse drivers and programs like js2x, so there might as well be a proper interface for it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 918
2007-06-16Use divides instead of bitshifts, for claritySimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 910
2007-06-14Support up to 20 joystick buttons. Justification: most modern joysticksSimon Howard
and joypads have many more than four buttons. Keeping the limit at four buttons restricts the player into using the first four buttons on his joystick/pad, which could be any arbitrary four set of buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 905
2007-06-01Up the threshold for the always run hack to 20; it's conceivable thatSimon Howard
there are control pads with more than 10 buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 889
2007-03-16Add config file option to enable/disable native keyboard bindings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 860
2007-02-07Revert previous change: throwing away the key state seems to be the DoomSimon Howard
1.9 behavior. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 832
2007-02-07Don't throw away keypress state when passing between levels - allowsSimon Howard
shift to be held down for run when moving between levels. Thanks to Zack Friedrich <zack18@comcast.net> for pointing this out. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 831
2006-12-24Javadoc-style self-documenting system for command line options.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 806
2006-10-25"Always run" trick should only be when joyb_speed >= 10. Use 29 as theSimon Howard
ideal value in setup as this works in Original, Ultimate and Final Doom, Heretic, Hexen and Strife. Thanks to Janizdreg for this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 739
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-11Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 694
2006-09-25Fix colors.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 667
2006-09-25Remove low-pass filter on mouse for testcontrols mode - seems to workSimon Howard
ok with real mice. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 664
2006-09-25Add "test controls" mode - for setup.exe in the future. Start straightSimon Howard
into the game with no melt effect and display a box showing mouse speed to allow the threshold to be set easily. When escape is pressed, quit straight away. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 662
2006-09-21Fix a lot of warnings (for fussy compilers) and one always-true checkRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
2006-08-31Allow the demo size limit to be disabled through the config file.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 581
2006-06-21Let the SDL parachute catch crashes and shut down properly. Don't crashSimon Howard
after playing demos. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 562
2006-05-05Syncronise the -timer/-avg parameters across all clients to avoid desyncs.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 475
2006-04-28Fix sky behavior to be like Vanilla Doom, ie. Doom II skies never changeSimon Howard
unless the player restores from a saved game. Thanks to sofaking for bringing this to my attention. There is more information here: http://doom.wikia.com/wiki/Sky_never_changes_in_Doom_II Subversion-branch: /trunk/chocolate-doom Subversion-revision: 472
2006-04-14Fix netgame respawn bug on MAP02 (may be 64-bit related)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 469
2006-03-30Split off timer code into separate i_timer.c file. Add d_dedicated.cSimon Howard
and build chocolate-server, a standalone dedicated server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 455