Age | Commit message (Collapse) | Author |
|
strdup() can theoretically fail and return NULL. This could lead to
a crash or undesirable behavior. Add M_StringDuplicate() which does
the same thing but exits with an error if a string cannot be
allocated.
This fixes #456. Thanks to Quasar for the suggestion.
|
|
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.
|
|
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.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
|
|
The -timedemo flag is broken in Vanilla Heretic/Hexen, as not all
fields are read from the demo headers. Fix it, as there's no utility
in having it nonfunctional and plenty of utility in having it
functional. This fixes #300.
|
|
|
|
Heretic and Hexen had the pause key hard-coded to KEY_PAUSE when they
should actually use key_pause so that they can be remapped by the
user. Thanks to Fabian Greffrath for the bug report (fixes #337).
|
|
Implement this the same way it is implemented for doom and strife.
|
|
these instead of reading directly from memory buffers.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2682
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2681
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2555
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
crash)
Subversion-branch: /branches/v2-branch
Subversion-revision: 2440
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2430
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2417
|
|
values. This fixes Heretic under 64-bit.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2406
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2396
|
|
savegames.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2361
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1932
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1901
|
|
around appropriate strings to allow string replacements.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1867
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1584
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1453
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
supported by Chocolate Doom.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1304
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1303
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1300
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1294
|
|
Z_Free/Z_ChangeTag.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1288
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1273
|
|
heretic/d_main.c and change g_game.c to use the common definitions.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1265
|
|
heretic ticcmd_t to common type.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1261
|
|
table). Split RNG code out of heretic/m_misc.c to a separate m_random.c.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1256
|
|
V_ScreenShot to take a format string describing the format of the
filename for the screen shot file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1255
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1252
|
|
Replace "shareware" variable with gamemode, as in doom code. Merge angle
definitions into common code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1240
|
|
soundst.h to s_sound.h to fit. Reformat sounds.c files to declare sounds
through macros and harmonise on the common sfxinfo_t. Fix up Heretic
sound code to use common sound API.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1236
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1228
|
|
Doom.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1199
|
|
configuration for building heretic/hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1198
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1197
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1195
|