summaryrefslogtreecommitdiff
path: root/src/strife/d_main.c
AgeCommit message (Collapse)Author
2011-10-29Update Strife multiplayer behavior to always use altdeath mode inSimon Howard
netgames, and remove code for -deathmatch parameter. Update setup tool to remove game type dropdown when setting up a Strife game. Subversion-branch: /branches/v2-branch Subversion-revision: 2470
2011-10-29Enable gcc warning to detect redundant declarations, and clean upSimon Howard
instances of this within the code (thanks Edward-san). Subversion-branch: /branches/v2-branch Subversion-revision: 2468
2011-10-17Always show the Strife intro splash screen in windowed mode, and finishSimon Howard
the splash screen before network startup. Subversion-branch: /branches/v2-branch Subversion-revision: 2435
2011-10-13Add temporary hack to fix Strife multiplayer startup when the introSimon Howard
screen is enabled. Subversion-branch: /branches/v2-branch Subversion-revision: 2421
2011-10-13Update Strife main loop code to use d_loop.c common main loop code.Simon Howard
Working multiplayer! Subversion-branch: /branches/v2-branch Subversion-revision: 2416
2011-10-10Re-enable FEATURE_MULTIPLAYER, but #undef it in the Strife code so theSimon Howard
build isn't broken. Subversion-branch: /branches/v2-branch Subversion-revision: 2411
2011-09-26Add graphical_startup option for Strife (to match Heretic/Hexen).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2408
2011-09-25Temporary hack to avoid needing an Excedrin.James Haley
Subversion-branch: /branches/v2-branch Subversion-revision: 2403
2011-09-24Start -testcontrols for Strife on level 3 (rebel base).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2401
2011-09-24Don't show graphical startup for Heretic, Hexen or Strife when runningSimon Howard
with -testcontrols. Subversion-branch: /branches/v2-branch Subversion-revision: 2399
2011-09-24Rework Strife -testcontrols code to use common code.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2397
2011-09-19The current Chocolate Strife code emulates v1.2, not 1.31. 1.31 supportJames Haley
is still a TODO and cannot be pursued without resolution of the keybinding issue for the menu system. Subversion-branch: /branches/v2-branch Subversion-revision: 2386
2011-09-18Fix a minor annoyance with Strife startup - we are *not* emulating theSimon Howard
"Final Doom" executable. -gameversion processing code remains in case support for other Strife versions is desired in the future. Strip out some redundant gameversion / chex stuff as well. Subversion-branch: /branches/v2-branch Subversion-revision: 2385
2011-06-29Added support for -work and -flip command-line parameters. -randomJames Haley
cannot be supported yet because it requires addition to the list of transmitted variables during network game initialization (TODO!) Subversion-branch: /branches/strife-branch Subversion-revision: 2351
2011-03-06Fix up config file variables to match Vanilla.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2295
2011-03-06Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2293
2011-03-02Fixed automap background color, size of plrkilledmsg buffer, a bug whichJames Haley
caused the scanner to never be depleted from the inventory, and emulation of seemingly inconsequential undefined behavior in P_XYMovement via use of negative numspechit is currently addressed by changing the branch condition to > 0. Subversion-branch: /branches/strife-branch Subversion-revision: 2286
2011-02-20Removed ability to disable messages, and replaced with configurationJames Haley
variable to control dialogue text messages, as in vanilla. Also, absence of voices.wad, or use of the -novoices parameter, will now properly both disable voices AND enable dialogue text. Subversion-branch: /branches/strife-branch Subversion-revision: 2268
2011-02-12Merge from raven-branch. FEATURE_MULTIPLAYER has been disabledSimon Howard
temporarily until the netgame changes on raven-branch are finished. Subversion-branch: /branches/strife-branch Subversion-revision: 2259
2011-02-12Savegame code complete, hubs functional. Chocolate Strife is playable!James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2255
2011-02-11Don't crash in D_IntroBackground when using -nograph.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2254
2011-02-11Finished routines in m_saves.c. Added M_CreateSaveDirs to makeJames Haley
directories under the standard choco savegamedir for each Strife saveslot. Subversion-branch: /branches/strife-branch Subversion-revision: 2253
2011-02-10Restarted work on hub save code. Brought in multiple filepath handlingJames Haley
routines from Eternity. Subversion-branch: /branches/strife-branch Subversion-revision: 2252
2011-02-07Added graphical intro loading screen, and -nograph parameter whichJames Haley
disables it. Made most D_DoomMain messages dependent on -devparm. wipegamestate should start == 1, which is currently GS_UNKNOWN. Changed -wart behavior. Verified *no* changes in Strife to p_sight.c. Subversion-branch: /branches/strife-branch Subversion-revision: 2251
2011-02-06Numerous fixes/adjustments: removed bodyque, restored "is turbo" (foundJames Haley
it in there after all), removed some dead code in p_dialog, added a 'default: break;' case in EV_VerticalDoor, initialize player_t::allegiance in P_SetupLevel, minor changes to EV_Teleport, 2nd-pass verification for p_tick, and big fixes in p_user.c including noclip cheat, viewz clipping against floor, air control thrust amount, and missing/incorrect else's. Subversion-branch: /branches/strife-branch Subversion-revision: 2250
2010-10-03Eliminated the rest of the notion of an episode, added proper skyJames Haley
setting, and other misc code in g_game. Also started *trying* to add new savegame code in g_game, but this is a just about a lost cause without any portable filepath handling support from the engine. Subversion-branch: /branches/strife-branch Subversion-revision: 2152
2010-09-29Significant work on savegames.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2150
2010-09-19Massive work on the HUD. Multiline messages now work properly and areJames Haley
wrapped at or near the screen boundary. Subversion-branch: /branches/strife-branch Subversion-revision: 2113
2010-09-14Fully implemented all finale code, including "intermission" speeches byJames Haley
Macil and all three endings. Subversion-branch: /branches/strife-branch Subversion-revision: 2086
2010-09-13+ stonecold/workparm variables addedSamuel Villareal
+ quest enum added + P_damagemobj partially done + P_SpawnPlayer/G_PlayerReborn updated Subversion-branch: /branches/strife-branch Subversion-revision: 2079
2010-09-12+ Updating pagetics in D_DoAdvanceDemo to ticratesSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2078
2010-09-12Fix build.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2077
2010-09-12Functional demosequence for storyboard intro and exit outro.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2071
2010-09-11Added code (some possibly temporary?) to load voices.wad. Fixed severalJames Haley
problems with playing of voice sounds - especially had to add a dynamic hashtable of voice sfxinfo_t's because Choco won't tolerate overwriting them once they've been used (see channel_playing array in i_sdlsound.c) - PROBLEM: Random Z_Malloc failures when trying to play sounds. Cannot catch in debugger so far. Subversion-branch: /branches/strife-branch Subversion-revision: 2065
2010-09-09Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2051
2010-09-07Use strife1.wad as IWAD, and strife.cfg as the main config file (notSimon Howard
default.cfg). Add banner string from strife1.exe and set appropriate name in title bar. Subversion-branch: /branches/strife-branch Subversion-revision: 2035
2010-09-05Corrections to some of Kaiser's previous commits. Also, significant workJames Haley
on dialog engine, p_enemy code, and support for all new mapthing_t flag values in P_SpawnMapThing. Subversion-branch: /branches/strife-branch Subversion-revision: 2015
2010-09-02Added Strife keys to configuration. Note that this *depends* on theJames Haley
current behavior of Choco Doom in treating configuration variable strings as case-sensitive, because these are the real values used by Rogue in their config, and they differ from some Heretic/Hexen config strings only by case. Subversion-branch: /branches/strife-branch Subversion-revision: 2000
2010-09-01Started work on status bar, including loading and drawing some of theJames Haley
background graphics. Added ST_DrawExternal routine and corresponding call logic in D_Display for drawing popups and other bits that are outside the normal statbar. Moved automap mapname widget up 7 pixels. Needs verification via screenshots. Subversion-branch: /branches/strife-branch Subversion-revision: 1994
2010-08-31+ Strife music/sound implementedSamuel Villareal
+ All doom sound references replaced with sfx_swish as placeholder + Removed all but MT_PLAYER mobjinfo in mobjinfo struct Subversion-branch: /branches/strife-branch Subversion-revision: 1980
2010-08-30Reenabled modifiedgame check since Strife IWAD is now loadable. ExtendedJames Haley
MAXANIMLINES limit to 96 to match binary. Subversion-branch: /branches/strife-branch Subversion-revision: 1979
2010-08-29Added voice volume and back flat configuration variables. Made statusJames Haley
bar redraw when menus are active as in Strife. Finished up the Strife "settings" menu which was only for sound volumes in vanilla Doom. Subversion-branch: /branches/strife-branch Subversion-revision: 1973
2010-08-29Added patch clipping callback mechanism, since Strife needs to modifyJames Haley
all the V_DrawPatch functions that it uses to return if the patch overlaps the edge of or is completely outside of the framebuffer. This could be extended to handle Final DOOM as well if it proves satisfactory. Subversion-branch: /branches/strife-branch Subversion-revision: 1972
2010-08-28Added crossfade wipe and code to load XLATAB lump. Changes to the menuJames Haley
system including working Sigil cursor, alignment changes, shortcut character changes, and removal of items from the options menu that Strife put elsewhere. Initial sweep for global lump name changes completed: AMMNUM%d -> PLMNUM%d, M_DOOM -> M_STRIFE, M_OPTTTL -> M_OPTION, STTMINUS -> STCFN045, et al. A dummy modified Strife IWAD must be loaded over DOOM.WAD at this point in order to run. Subversion-branch: /branches/strife-branch Subversion-revision: 1968
2010-08-24Removed storedemo and Chex Quest cruft, adjusted screenwipe loop timing,James Haley
added DoTimeBomb function for historical interest, removed GS_INTERMISSION and #if 0'd all of wi_stuff.c/.h. Removed DOOM level transfer logic from G_DoCompleted - note that you cannot currently go to the next level at *all*. Removed G_SecretExitLevel and DOOM par times. Subversion-branch: /branches/strife-branch Subversion-revision: 1966
2010-08-23Made some repairs to VC2008 solution and added Chocolate Strife project.James Haley
Added Visual Studio autogenerated files and directories to appropriate ignore lists. Started some modifications of strings and version checking in d_englsh.h and d_main.c. Subversion-branch: /branches/strife-branch Subversion-revision: 1965
2010-02-01Create strife directory as a copy of doom directory, change Makefile.amSimon Howard
to build libstrife.a rather than libdoom.a, add chocolate-strife to src/Makefile.am. Subversion-branch: /branches/strife-branch Subversion-revision: 1840
2010-02-01Remove improperly-created strife directory.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 1839
2010-02-01Populated src/strife with copy of source files from src/doom - TODOs:James Haley
needs own Makefile.am, and eventual removal of modules not used by Strife / addition of modules not sharable with Doom. Subversion-branch: /branches/strife-branch Subversion-revision: 1838