Age | Commit message (Collapse) | Author |
|
Don't launch the game if a server address has not been entered; show a
message to the user instead. This fixes #121.
|
|
Last argument to M_StringJoin needs to be NULL.
|
|
When configuring Chocolate Strife the sound dialog can become quite
tall, and the dialog is visibly uncentered vertically. Move it up
slightly to counterbalance it.
|
|
Define TXT_{StringCopy,StringConcat,snprintf,vsnprintf} as analogs of
the m_misc.c versions so that the textscreen library does not need a
dependency on the Doom code, and change all textscreen code to use
these instead of unsafe functions. This fixes #372.
|
|
Use M_snprintf() or M_StringJoin() instead where appropriate.
This fixes #371.
|
|
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.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
It's more readable to write "M_StringEndsWith(..." than doing a bunch of
pointer arithmetic, and this is a common pattern. Also add
M_StringStartsWith, M_StringJoin and M_StringCopy. The latter is a
safe alternative for strcpy() that works the same as OpenBSD's
strlcpy(). Use these functions in a few places where it makes sense.
|
|
Doom, Heretic, Hexen and Strife have different default SFX and music
volumes. Make sure the setup tool sets the appropriate default when
creating a new configuration file.
Thanks to Alexandre-Xavier for reporting this and providing the
correct defaults. This fixes #347.
|
|
Preserve the snd_maxslicetime_ms variable when loading/saving configs
in the setup tool.
|
|
Mix_SetMusicCMD() allows a program to be specified to configure an
external program to be invoked for music playback. Add a config
variable (snd_musiccmd) to allow this to be set from a configuration
file. Thanks to Holering for his comments on Doomworld about how to do
this.
|
|
|
|
|
|
|
|
Hexen: Deathkings of the Dark Citadel uses levels up to MAP60, not
MAP40 as used in hexen.wad. Bump up the limit for Hexen to MAP60 so
that it is possible to play multiplayer games with hexdd.wad loaded.
Thanks to Rhiyo for the bug report. This fixes #312.
|
|
|
|
Otherwise, the same key can be bound to "Show mission" and one of the other
"More controls..." at the same time.
|
|
fabian).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2756
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2754
|
|
Strife (thanks Alexandre-Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2736
|
|
correctly. This was previously fixed on trunk but not merged. Also
update the manifest to add GUIDs for Windows 8.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2734
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2728
|
|
DPI virtualization.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2727
|
|
crashing in fullscreen mode (thanks Ryan Peel).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2721
|
|
Alexandre Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2719
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2714
|
|
r2633.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2712
|
|
driver over the Windows GDI one. This causes far too many problems.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2710
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2694
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2691
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2674
|
|
being configured, not just always "Chocolate Doom".
Subversion-branch: /branches/v2-branch
Subversion-revision: 2669
|
|
Alexandre Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2633
|
|
Alexandre Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2619
|
|
What support exists is for obsolete devices I no longer possess; I've
never been contacted about the port and it's been several years since
I even bothered to build a new version. All the extra overrides are
clutter that can just be removed.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2615
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2578
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2577
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2569
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2566
|
|
file.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2564
|
|
class in Hexen mode. Add Strife skills list.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2557
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2506
|
|
the setup tool (thanks Alexandre Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2485
|
|
is -deathmatch and -altdeath enables Deathmatch II mode.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2471
|
|
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
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
screen. Add a configuration file variable to control where the game
window should appear.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2467
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2465
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2464
|