summaryrefslogtreecommitdiff
path: root/src/g_game.c
AgeCommit message (Collapse)Author
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
2006-03-16Better fix for the intermission screen crash. Don't call WI_End untilSimon Howard
after we change to gamestate != GS_INTERMISSION Subversion-branch: /trunk/chocolate-doom Subversion-revision: 422
2006-03-02Remove redundant code, shut up warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 405
2006-03-01Detect turbo mode more accuratelySimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 402
2006-02-27Fix consistency checksSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 399
2006-02-23Add lowres_turn to indicate whether we generate angleturns which areSimon Howard
8-bit as opposed to 16-bit. This is used when recording demos without -longtics enabled. Sync this option between clients in a netgame, so that if one player is recording a Vanilla demo, all clients record in lowres. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 378
2006-02-19Move tic number expansion code to common code. Parse game data packetsSimon Howard
received from the server. Strip down d_net.[ch] to work through the new networking code. Remove game sync code. Remove i_net.[ch] as it is no longer needed. Working networking! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 374
2006-02-15Remove the savegame buffer entirely. Keep the old savegame size limitSimon Howard
bug add a "vanilla_savegame_limit" config file option which allows the limit to be disabled if necessary. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 367
2006-01-27Exit with an error when playing a demo with the wrong version, like Vanilla DoomSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 351
2006-01-23Fix dehacked sky replacementSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 332
2006-01-22Allow changing the sky texture names via dehacked patchesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 324
2006-01-19Move savegame header read/write code into p_saveg.cSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 300
2006-01-13Add text-mode I/O functions.Simon Howard
Use text-mode screen for the waiting screen. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 291
2006-01-01Remove GS_WAITINGSTART gamestate. This will be independent of the mainSimon Howard
loop to avoid interfering with the main game code too much. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 237
2005-12-30Fix client code to correctly send reply to server on connection.Simon Howard
Add "waiting screen" while waiting for the game to start. Hook in the new networking code into the main game code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 235