summaryrefslogtreecommitdiff
path: root/src/g_game.c
AgeCommit message (Collapse)Author
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
2005-10-17Start of Dehacked 'Misc' section support. Initial Health+Bullets,Simon Howard
and bfg cells/shot are supported. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 206
2005-10-16Fix the '-cdrom' command-line option.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 204
2005-10-16Global "configdir" variable with directory to store config files in.Simon Howard
Create a function to find the filename for a savegame slot. Store savegames in the config dir. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 202
2005-10-13Fix Doom 1 skiesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 192
2005-10-03Dehacked text substitutionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 160
2005-09-22Remove external statistics driver support (-statcopy):Simon Howard
nonfunctional on modern systems and never used. Fix for systems where sizeof(int) != sizeof(void *) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 120
2005-09-17Set the default values for variables in their initialisers. Remove theSimon Howard
"defaultvalue" parameter and associated code from the configuration file parsing code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 110
2005-09-11Second configuration file to allow chocolate doom-specific settings.Simon Howard
Adjust some existing command line logic (for graphics settings and novert) to adjust for this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 98
2005-09-04shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 71
2005-09-04Support demos recorded with cph's modified "v1.91" doom exe - whichSimon Howard
contain higher resolution angleturn Subversion-branch: /trunk/chocolate-doom Subversion-revision: 70