summaryrefslogtreecommitdiff
path: root/src/strife/g_game.c
AgeCommit message (Collapse)Author
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-09-25Fix Strife weapon-cycling rules.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2402
2011-09-24Rework Strife -testcontrols code to use common code.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2397
2011-06-04Resolved some TODOs and fixed a couple of problem spots that wereJames Haley
forgotten. Subversion-branch: /branches/strife-branch Subversion-revision: 2344
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-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-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
2011-02-05Documented most of the questflags. Misc fixes: Removed "is turbo!"James Haley
message, PST_REBORN set in G_DoLoadLevel if players.health <= 0, M_ClearRandom doesn't seed rndindex with time(), A_Chase doesn't check for target->health <= 0 when decrementing actor->threshold, and A_AcolyteSpecial fixed - ALL blue acolytes must be dead, not just one. Subversion-branch: /branches/strife-branch Subversion-revision: 2248
2010-10-04Added mobjinfo/state adjustments for various skill levels. Changed skyJames Haley
handling. Fixed bug that made you switch to the electric crossbow if you received poison bolt ammo (you should not switch to anything at all when this happens). Some more commented-out savegame code added. Subversion-branch: /branches/strife-branch Subversion-revision: 2154
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-27Code for line types 196 and 212 (thought I committed that already o_O),James Haley
and code to transfer leveltime across map changes in G_DoWorldDone. Subversion-branch: /branches/strife-branch Subversion-revision: 2144
2010-09-25+ stonecold, jimmy, gripper, donnytrump, and lego cheats addedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2138
2010-09-22Added linetype 180 to P_ShootSpecialLine and vetted other line types.James Haley
Removed episode parameter from G_DeferedInitNew, started work on the "Name Your Character" menu, and adjusted the temporary code in M_ChooseSkill so that the game starts in Tarnhill rather than in the Sanctuary. Subversion-branch: /branches/strife-branch Subversion-revision: 2131
2010-09-22P_CrossSpecialLine is approximately 95% complete.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2129
2010-09-18More use of DEH_String and DEH_snprintf, especially in the dialogJames Haley
engine. Also more use of new GiveVoiceObjective macro. Subversion-branch: /branches/strife-branch Subversion-revision: 2111
2010-09-17Vetted all existing floor types and modified/added ones which changed.James Haley
Finished up line type 145, WR Exit Level to Spot, and added the G_RiftPlayer call to G_DoWorldDone. Subversion-branch: /branches/strife-branch Subversion-revision: 2096
2010-09-16Work on cheats and on teleportation effects.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2091
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+ P_DamageMobj mapped outSamuel Villareal
+ Fixed crash in G_DoReborn Subversion-branch: /branches/strife-branch Subversion-revision: 2080
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-11+ P_RemoveInventoryItem and P_DropInventoryItem implementedSamuel Villareal
+ Some inventory keys supported Subversion-branch: /branches/strife-branch Subversion-revision: 2060
2010-09-09Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2051
2010-09-08Small comment change, tabs out of M_Responder for editability.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2043
2010-09-07+ P_DialogStart implementedSamuel Villareal
+ Dialogs are now loaded through G_DoLoadLevel Subversion-branch: /branches/strife-branch Subversion-revision: 2033
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-04+ Map flags for things added (MTF_*)Samuel Villareal
+ A_FireGrenade and A_MissileTick codepointers added + Step up height changed to 16*FRACUNIT (non-human things are excluded) + Fixed bug in P_MovePlayer where player cannot climb over things when pressing forward and jumping. Missed a line of code for this + P_SpawnSubMissile renamed to P_SpawnFaceMissile + P_SpawnMortar added + Ammo types added + Fixed some inaccuracies in P_SpawnBlood Subversion-branch: /branches/strife-branch Subversion-revision: 2008
2010-09-03+ More button flags added to buttoncode_eSamuel Villareal
+ Looking/jumping implemented + Jump/look/center keys supported + Strife mouse firing bug implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2003
2010-08-31+ Stripped out all doom states/sprites and added strife states/sprites.Samuel Villareal
All strife codepointers are set as placeholders + Strife weapons implemented + All state references commented out + All weapon references commented out Subversion-branch: /branches/strife-branch Subversion-revision: 1984
2010-08-31Revamped player_t to match binary layout of structure, aside fromJames Haley
enum-determined arrays which will be tackled individually. Removed player itemcount, secretcount, and didsecret fields. Changed armorpoints, armortype, and killcount to shorts. Added all runtime Strife sector types and changed handling of DOOM types where appropriate. Added nukagecount handling in P_PlayerThink. Subversion-branch: /branches/strife-branch Subversion-revision: 1981
2010-08-30+ Change to patch/maptexture data structureSamuel Villareal
+ Disabling all animdefs and switchdefs for now + Setting sky texture to use SKY03 as a placeholder Subversion-branch: /branches/strife-branch Subversion-revision: 1977
2010-08-25Added riftSpots and fleshed out Strife level exit behavior as far asJames Haley
setting of destmap, riftdest, and riftangle (previously unknown variable dword_9F138). Added functions G_RiftExitLevel, G_RiftPlayer, and G_RiftCheat. Removed G_WorldDone and secretexit variable. Subversion-branch: /branches/strife-branch Subversion-revision: 1967
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-02-06Merge from trunk.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 1849
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