Age | Commit message (Collapse) | Author |
|
The "extern char player_names[8][16]" array is already declared in
hu_stuff.h:59.
|
|
Ensure that the loops to find the next weapon always terminate -
even if there are somehow no weapons equipped. Also, only ever do
weapon cycling when in the GS_LEVEL gamestate. This fixes #503 -
thanks to Fabian and raithe on Doomworld.
|
|
Same fix applied to wp_torpedo selection in P_PlayerThink must also be
applied to weapon rotation code in g_game
|
|
This change rewrites and simplifies the copyright headers at the top
of all source files:
* Remove "Emacs style mode select" line; this line was included in
the headers for the originally released source files and appears
to be to set the file type for old versions of Emacs. I'm not sure
entirely why it was required but I don't think it is any more.
* Remove "You should have received a copy of..." text from copyright
header. This refers to the old 59 Temple Place address where the
FSF headquarters used to be located and is no longer correct.
Rather than change to the new address, just remove the paragraph
as it is superfluous anyway. This fixes #311.
* Remove ---- separator lines so that the file headers are barer
and more simplified.
|
|
The code to handle the joystick jump button variable was not
implemented. Check the jump button on the joystick as well as the
keyboard and mouse button equivalents when deciding whether to set
the jump bit.
|
|
Modern gamepads typically have 2-3 D-pads and joysticks. This means
that it's desirable to be able to use one joystick for turning and
another for strafing. Add another axis in addition to the current X
and y axes that performs strafe movement.
|
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
Use snprintf() in place of sprintf(). This is part of fixing #371.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
|
|
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2742
|
|
change it?)
* Made attribution timestamps consistent in g_game.c
Subversion-branch: /branches/v2-branch
Subversion-revision: 2739
|
|
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
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2612
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2568
|
|
8 rather than 4 (unfortunately this was NOT accounted for in the save
code).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2498
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
Working multiplayer!
Subversion-branch: /branches/v2-branch
Subversion-revision: 2416
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2402
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2397
|
|
forgotten.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2344
|
|
temporarily until the netgame changes on raven-branch are finished.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2259
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2255
|
|
routines from Eternity.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2252
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2150
|
|
and code to transfer leveltime across map changes in G_DoWorldDone.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2144
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2138
|
|
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
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2129
|
|
engine. Also more use of new GiveVoiceObjective macro.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2111
|
|
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
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2091
|
|
Macil and all three endings.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2086
|
|
+ Fixed crash in G_DoReborn
Subversion-branch: /branches/strife-branch
Subversion-revision: 2080
|
|
+ quest enum added
+ P_damagemobj partially done
+ P_SpawnPlayer/G_PlayerReborn updated
Subversion-branch: /branches/strife-branch
Subversion-revision: 2079
|
|
+ Some inventory keys supported
Subversion-branch: /branches/strife-branch
Subversion-revision: 2060
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2051
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2043
|
|
+ Dialogs are now loaded through G_DoLoadLevel
Subversion-branch: /branches/strife-branch
Subversion-revision: 2033
|
|
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
|
|
+ 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
|
|
+ Looking/jumping implemented
+ Jump/look/center keys supported
+ Strife mouse firing bug implemented
Subversion-branch: /branches/strife-branch
Subversion-revision: 2003
|
|
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
|
|
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
|
|
+ Disabling all animdefs and switchdefs for now
+ Setting sky texture to use SKY03 as a placeholder
Subversion-branch: /branches/strife-branch
Subversion-revision: 1977
|