Age | Commit message (Collapse) | Author |
|
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.
|
|
As part of this, add DIR_SEPARATOR_S as a string version of the
DIR_SEPARATOR macro. Change M_TempFile() to return a string allocated
on the C heap rather than the zone heap.
This is a first step towards fixing #371.
|
|
|
|
|
|
|
|
|
|
error at appropriate times.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2692
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2396
|
|
can be added to other games.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2395
|
|
and finished ST_drawKeysPopup for drawing keys (TODO: in deathmatch it
draws frags instead). Fix to buffer overflow in V_ScreenShot - *ATTN
fraggle* - needs fix in trunk!
Subversion-branch: /branches/strife-branch
Subversion-revision: 2265
|
|
+ xlatab lump loading handled in v_video.c
+ Pop up menus added in st_stuff (not completed still)
Subversion-branch: /branches/strife-branch
Subversion-revision: 2143
|
|
all the V_DrawPatch functions that it uses to return if the patch
overlaps the edge of or is completely outside of the framebuffer. This
could be extended to handle Final DOOM as well if it proves
satisfactory.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1972
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1398
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1373
|
|
chocolate.sln
- Create separate msvc projects for all games supported, which work the
same as the codeblocks ones
- Include fixes (nothing compiler specific, just additions of stdio.h)
to build with msvc
Subversion-branch: /branches/raven-branch
Subversion-revision: 1371
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1316
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1315
|
|
TLColumn/TLPatch for consistency; these are translucent draw functions,
not fuzzy draw functions like Doom's R_DrawFuzzColumn.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1313
|
|
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
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1251
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1250
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1249
|
|
V_UseBuffer where necessary.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1248
|
|
that to be temporarily changed. Make V_DrawBlock always draw to the
screen.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1246
|
|
i_video.c code. Make V_CopyRect always blit to the screen.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1245
|
|
to be bound in a distributed fashion around the program. Remove
dependency of m_config.c on doom/.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1222
|
|
common->doom header dependencies.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1211
|
|
common code and remove dependencies on deh_main.h.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1210
|
|
of v_video.h on Doom rendering code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1206
|
|
level.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1204
|
|
screenshot code into v_video.c Add M_FileLength common function for
finding the length of an open file.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1102
|
|
exit() rather than abort(). Display a message box with the error on
Windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1065
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1015
|
|
desyncs.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 923
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 910
|
|
to i_swap.h.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 857
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 704
|
|
as Vanilla Doom does.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 569
|
|
"defaultvalue" parameter and associated code from the configuration
file parsing code.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 110
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 8
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 4
|