summaryrefslogtreecommitdiff
path: root/src/strife
AgeCommit message (Collapse)Author
2014-03-29strife: Eliminate use of unsafe string functions.Simon Howard
Eliminate use of strcpy, strcat, strncpy, and use the new safe alternatives.
2014-03-27strife: Fix default music volume to match Vanilla.Simon Howard
Strife's default music volume is 13 as opposed to Doom's value of 8. This was apparently not changed during the development of Chocolate Strife. Thanks to Alexandre-Xavier for noticing this and providing the correct value (bug #347).
2014-03-25Set GUS patch path variable using D_SetVariable.Simon Howard
commit 42faefce1fd03 added code to set the GUS patch path automatically when the BFG Edition is installed, but this caused problems because gusconf.c is not included as part of the build for the setup tool. Use D_SetVariable() instead which accomplishes the same thing without a hard dependency.
2014-03-24Fix various Clang compiler warnings.Simon Howard
2014-03-23Rearrange order of SDL sound startup.Simon Howard
Initialize low-level sound startup (calls to I_InitSound) separately from the high-level sound startup (S_Init). In particular, make sure that SDL sound is initialized before the textscreen multiplayer waiting screen is shown. This is an attempt to fix a bug with sound in multiplayer games on Windows; calling SDL_QuitSubSystem(SDL_INIT_VIDEO) (on closedown of the textscreen library) causes subsequent attempts to initialize audio to fail. Big thanks go to Alexandre-Xavier (AXDOOMER) for working out a fix for this bug and James Haley (Quasar) for giving some technical background about the lack of separation between SDL subsystems. This (hopefully) fixes #270.
2014-03-23Set default for key_menu_screenshot to 0.Simon Howard
In #364 I recommended -1 as the default to avoid taking screenshots in some situations where a key event is posted for key 0. It turns out that wasn't such a great idea, as -1 is not parsed properly by the config parser, and is shown as ??-1 in the setup tool. Default to zero instead, and add guards to prevent screenshots being taken by mistake. Thanks to Alexandre-Xavier for pointing this out.
2014-03-18Add a dedicated key for taking screenshots.Fabian Greffrath
2014-03-17Allow for PNG screenshots.Fabian Greffrath
2013-12-06Fix crash caused by Strife nicknames (thanks fabian).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2760
2013-11-03Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2742
2013-11-02* Fixed deathmatch spots error message to match binary (why'd theyJames Haley
change it?) * Made attribution timestamps consistent in g_game.c Subversion-branch: /branches/v2-branch Subversion-revision: 2739
2013-11-01Proper output of randomparm's current value when passing throughJames Haley
D_CheckNetGame Subversion-branch: /branches/v2-branch Subversion-revision: 2738
2013-10-31* Fix problem that crashes netdemos in ST_DrawerJames Haley
* Made attribution comment date formats consistent in st_stuff.c Subversion-branch: /branches/v2-branch Subversion-revision: 2737
2013-10-28Fix Vanilla behavior of shift key when entering savegame names in theSimon Howard
menu (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2723
2013-10-19Correct up/down look logic that was incorrectly allowing 6 degrees ofJames Haley
additional freedom. Subversion-branch: /branches/v2-branch Subversion-revision: 2713
2013-10-08Don't grab the mouse at the Strife startup screen.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2697
2013-09-22Small fix to a big problem regarding save slots.James Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2679
2013-09-21Sync -random command line parameter as part of game settings.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2670
2013-09-19Change to using V_DrawFilledBox to clear the intro screen instead ofJames Haley
loading and drawing PANEL0. Subversion-branch: /branches/v2-branch Subversion-revision: 2664
2013-09-16Support for the -random parameter. Needs netcode support (passing theJames Haley
ball to fraggle). Subversion-branch: /branches/v2-branch Subversion-revision: 2657
2013-09-15Re-enable netgame check on code that enters chat state.James Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2647
2013-09-15Hopefully complete implementation of player names and Strife player chatJames Haley
features, which work differently than they did in DOOM. If working properly, then this fully completes Chocolate Strife, aside from any presently unknown issues. Subversion-branch: /branches/v2-branch Subversion-revision: 2646
2013-09-15Frags are displayed on keys popup during deathmatchJames Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2645
2013-09-04Don't show ENDOOM screen when aborting netgame startup (thanks AlexandreSimon Howard
Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2635
2013-09-04Extend "emulation" of menu pause key behavior to caps/num/scroll lockSimon Howard
keys, which cause the same behavior. Subversion-branch: /branches/v2-branch Subversion-revision: 2632
2013-08-17Fix Chocolate Doom/Strife to emulate weird Vanilla behavior when theSimon Howard
pause key is pressed in a menu with a scroll-bar (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2620
2013-08-10Fix Strife documentation comments. Remove -episode which does not existSimon Howard
in Vanilla Strife. Subversion-branch: /branches/v2-branch Subversion-revision: 2613
2013-08-10Tweak Strife documentation comments.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2612
2013-04-05Use two-stage netgame startup for Strife, and restore the previousSimon Howard
startup splash-screen behavior (before it was modified in r2435). Subversion-branch: /branches/v2-branch Subversion-revision: 2586
2013-04-05Use two-stage startup for Hexen, and add netgame startup callback forSimon Howard
the spinal loading screen. Subversion-branch: /branches/v2-branch Subversion-revision: 2585
2013-04-05Split Doom netgame startup into two stages.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2583
2013-04-05Split D_InitNetGame() into two separate functions for startup.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2582
2013-03-24Initial docgen changes to generate manpages for Heretic, Hexen, Strife.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2568
2013-03-02Big bug fix: player->damage is not capped on the low end to 0 inJames Haley
P_DamageMobj. This means you *do* have to heal negative damage when auto-using inventory, and is why telefrags can still insta-kill you in vanilla - they were NOT doing so previously. Subversion-branch: /branches/v2-branch Subversion-revision: 2563
2013-03-02Noticed another non-authentic error in a built-in dialog message for theJames Haley
Acolyte. Subversion-branch: /branches/v2-branch Subversion-revision: 2562
2013-03-02Complete support for v1.31 behaviors in addition to v1.2, including theJames Haley
ability to save on multiple save slots. Subversion-branch: /branches/v2-branch Subversion-revision: 2561
2013-02-25Portability tweak when adding quest flags from collected items, due toJames Haley
the Broken Power Coupling's anomalous speed value of 512*FRACUNIT (verified against binary). Added note about this in the quest flags enumeration as well; bit 31 (quest #32) is accidentally set by this item, but is never checked for anywhere. Subversion-branch: /branches/v2-branch Subversion-revision: 2560
2013-02-10* Made formatting consistent in T_MovePlane so code could be readJames Haley
* Fixed an error in the translation of T_MovePlane changes; floors moving up SHOULD test crush == true before calling P_ChangeSector again. Subversion-branch: /branches/v2-branch Subversion-revision: 2559
2013-02-09* Update MSVC project fileJames Haley
* Add /msvc/strfsav* and *.pcx to ignore list * Fix for Strife crushAndRaise, silentCrushAndRaise types identified by Gez and verified with the disassembly - these types do not inflict crushing damage in Strife. Subversion-branch: /branches/v2-branch Subversion-revision: 2558
2012-12-24Fix compiler warnings by removing variables that are set but not used.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2555
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
2012-04-02Fix to undefined sprintf behavior in the dialog engine (thanks toJames Haley
MP2E!). Other changes are to comments only. Subversion-branch: /branches/v2-branch Subversion-revision: 2509
2012-02-14Fix save game directory behavior under Windows.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2504
2012-02-12* Correct an error in one of the beta-like Beggar internal dialogueJames Haley
strings (was missing a doubled space). These messages are used by only one guy in the game, and, as in vanilla, most of them don't appear correctly when output. * Correct HUD behavior: do not reinit the HUD at the start of each map. Subversion-branch: /branches/v2-branch Subversion-revision: 2503
2012-02-10Addiional words on the INTRO-FIXME comments.James Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2502
2012-02-10While I'm screwing with intro related stuff, I may as well replace theJames Haley
S_SetSfxVolume hack with a more appropriate fix. Subversion-branch: /branches/v2-branch Subversion-revision: 2501
2012-02-10Added INTRO-FIXME tags to borked-up intro code.James Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2500
2012-02-10Remove all temporary code that was put in place until MAXPLAYERS becameJames Haley
8 rather than 4 (unfortunately this was NOT accounted for in the save code). Subversion-branch: /branches/v2-branch Subversion-revision: 2498
2012-02-09Comment change in r_main.cJames Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2497
2012-02-09Two Strife bugs knocked out:James Haley
* R_ExecuteSetViewSize must use centery, not viewheight, or you get to see a nice infinite horizon if you resize the screen while looking at the floor or ceiling. * Finally fixed status bar flickering problem when resizing the screen - Rogue reordered some code in D_Display - HUD and ST_DrawExternal are done *after* the border redraws. Subversion-branch: /branches/v2-branch Subversion-revision: 2496