summaryrefslogtreecommitdiff
path: root/src/strife/p_dialog.c
AgeCommit message (Collapse)Author
2010-09-22Rewrote P_GiveItemToPlayer to exactly match binary, particularly withJames Haley
treatment of SPR_TOKN objects, and playing proper sounds for different item types. Fixed most S_StartSound calls in the menu engine. Removed call to S_StopSound in S_StartSound, as Strife doesn't do it. Added call to P_DialogDoChoice(-1) in M_Responder when menuindialog is asserted and the menu exit key is pressed. Subversion-branch: /branches/strife-branch Subversion-revision: 2130
2010-09-19Functional inventory status bar cursor and item rendering. Fix forJames Haley
P_GiveInventoryItem to return proper value at end of function. Subversion-branch: /branches/strife-branch Subversion-revision: 2124
2010-09-19+ Renaming MF_INCOMBAT to MF_NODIALOGSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2116
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-18Tons of warnings fixed - now only 7 warnings at warning level 3, andJames Haley
most of those are outside of our own code (get on those signed/unsigned mismatches in the midi code, fraggle ;) Subversion-branch: /branches/strife-branch Subversion-revision: 2110
2010-09-18Upped warning level and started fixing warnings - can't believe someJames Haley
genius had them completely disabled... Also, a bug fix to EV_ClearForceFields so that it continues running on all tagged sectors even if sec->linecount is 0, and so that it returns a value. Made dialogtext and M_WriteText's 3rd parameter const for safety. Subversion-branch: /branches/strife-branch Subversion-revision: 2108
2010-09-18+ healthamounts array addedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2105
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-13Use DEH_snprintf where appropriate.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2083
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-11+ P_GivePower updateSamuel Villareal
+ Power tics implemented + Power enums implemented + More inventory functions implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2061
2010-09-11+ Comments addedSamuel Villareal
Subversion-branch: /branches/strife-branch Subversion-revision: 2059
2010-09-10+ P_GiveItemToPlayer fleshed outSamuel Villareal
+ Key enumerations added Subversion-branch: /branches/strife-branch Subversion-revision: 2057
2010-09-09+ More codepointers implementedSamuel Villareal
+ Converted some while loops to for loops in dialog functions Subversion-branch: /branches/strife-branch Subversion-revision: 2049
2010-09-09Changed mobj_t::allegiance to mobj_t::miscdata due to the fact it hasJames Haley
two completely different uses. Finished P_DialogDoChoice; dialog is now virtually 100% functional (just needs finished inventory to really do much beyond initial dialogs or getting "no" messages from everybody). Subversion-branch: /branches/strife-branch Subversion-revision: 2048
2010-09-08Work on P_DialogDoChoice.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2047
2010-09-08Fix static function mismatch build error.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2045
2010-09-08Functional menupause/menupausetime, fix to wait when there's not aJames Haley
background pic, and elimination of more dead code in the menu system Subversion-branch: /branches/strife-branch Subversion-revision: 2042
2010-09-08+ Converting needamountx and needitemx to arrays in choice structSamuel Villareal
+ Dialog drawer updated to draw choices Subversion-branch: /branches/strife-branch Subversion-revision: 2041
2010-09-08Proper dialog jumptoconv logic, and more commenting in P_DialogStart.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2040
2010-09-08+ Update to mapdialog structSamuel Villareal
+ P_StartDialog updated Subversion-branch: /branches/strife-branch Subversion-revision: 2038
2010-09-08+ Added check if linetarget is null in P_StartDialogSamuel Villareal
+ More codepointers implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2037
2010-09-07+ P_DialogStart implementedSamuel Villareal
+ Dialogs are now loaded through G_DoLoadLevel Subversion-branch: /branches/strife-branch Subversion-revision: 2033
2010-09-07+ P_DialogStart implementedSamuel Villareal
+ Initial dialog interaction implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2031
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-03Code to read dialog lump field-by-field to avoid any possible problemsJames Haley
with structure packing. Also a minor fix to Kaiser's key look code. Subversion-branch: /branches/strife-branch Subversion-revision: 2004
2010-09-02Added p_dialog module and header. Started work on dialog engine.James Haley
Subversion-branch: /branches/strife-branch Subversion-revision: 2002