Kp
|
e8de74b8bf
|
Reject inappropriate printf usage
|
2013-12-17 04:03:35 +00:00 |
|
Kp
|
21cc89e2c8
|
Use ui_dputs_at instead of ui_dprintf_at where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
7efeb3f29d
|
Use PHYSFSX_puts instead of PHYSFSX_printf where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
c3c1695ba5
|
Use gr_ustring instead of gr_uprintf where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
1bf3722670
|
Use gr_string instead of gr_printf where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
3d79fe9b40
|
Use editor_status instead of editor_status_fmt where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
a99b07c98e
|
Use Error_puts instead of Error where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
f82ba904bd
|
Use Warning_puts instead of Warning where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
335cabcc79
|
Use con_puts instead of con_printf where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
be041a9cfc
|
Add type checking for ui_create_dialog
|
2013-12-17 03:49:24 +00:00 |
|
Kp
|
d1fa9ff7a6
|
Simplify setup for ui_messagebox_n
|
2013-12-15 21:54:59 +00:00 |
|
Kp
|
3908215e73
|
Add type checking to nm_messagebox format string
|
2013-12-15 21:54:17 +00:00 |
|
Kp
|
cea46651fc
|
Check type of window handler function
|
2013-12-15 18:51:26 +00:00 |
|
Kp
|
cb4fd7c1b4
|
Compact known file extension storage
|
2013-12-13 03:58:01 +00:00 |
|
Kp
|
4dfceab50b
|
Factor out file extension filtering
|
2013-12-13 03:51:14 +00:00 |
|
Kp
|
07877853ba
|
Use static_assert where available
|
2013-12-13 03:44:02 +00:00 |
|
Kp
|
322c61ef01
|
Remove use of heap-based splitword
|
2013-12-08 21:43:53 +00:00 |
|
Kp
|
b7fe431979
|
Use RAII for playsave strings
|
2013-12-08 21:02:10 +00:00 |
|
Kp
|
3b9b5ebfb0
|
Use RAII to manage function-local heap objects
|
2013-12-08 19:04:52 +00:00 |
|
Kp
|
75c229c6bf
|
Normalize con_printf newline usage
|
2013-12-07 21:13:37 +00:00 |
|
Kp
|
61d8fe7cc8
|
Remove unused return value of gr_*printf / gr_*string
|
2013-12-07 18:44:07 +00:00 |
|
Kp
|
60727dd7d5
|
Add missing va_end calls
|
2013-12-07 18:42:50 +00:00 |
|
Kp
|
706b458699
|
Mark PHYSFSX_find* functions nonnull
|
2013-12-07 18:40:32 +00:00 |
|
Kp
|
a2cec5d71f
|
Switch PHYSFSX_fgets to auto-sized variant where possible
|
2013-12-07 18:39:19 +00:00 |
|
Kp
|
7f5410cc8b
|
Use lengthof instead of sizeof(A)/sizeof(A[0])
The latter form can accept pointers, but the template lengthof cannot.
|
2013-12-07 18:38:10 +00:00 |
|
Kp
|
9de54cfa74
|
Switch to C++ linkage
import fileinput
guard = 0
cxxguard = '#ifdef __cplusplus\n'
for line in fileinput.input(inplace=True):
if line == cxxguard:
guard = 1
continue
if guard:
if line == 'extern "C" {\n':
guard = 2
continue
if line == '}\n':
guard = 0
continue
if guard == 2:
assert(line == '#endif\n')
guard = 0
print cxxguard,
continue
print line,
|
2013-12-06 03:35:32 +00:00 |
|
Kp
|
eb84a067fa
|
Remove now unused fgets_unlimited
|
2013-12-06 03:28:59 +00:00 |
|
Kp
|
25c731cc2c
|
Probe for usable array template
|
2013-12-01 22:42:47 +00:00 |
|
Kp
|
d3637e7524
|
Invert sense of SysUseNiceFPS
|
2013-12-01 22:37:21 +00:00 |
|
Kp
|
d626b6c3d4
|
Add include guard to kdefs.h
|
2013-12-01 00:53:22 +00:00 |
|
Kp
|
6439e41e3a
|
Store SDL key name inline
|
2013-11-28 00:52:37 +00:00 |
|
Kp
|
386c193cae
|
Make med_functions const
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
e30f548d60
|
Invert sense of DbgAltTexMerge
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
761795e4c8
|
Invert sense of DbgBigPig
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
3b49e65f95
|
Invert sense of DbgUseDoubleBuffer
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
bbb9214e0e
|
Invert sense of hires/lowres options
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
8899120312
|
Remove SndDisableSdlMixer when mixer=0
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
9b167689ba
|
Remove unused variable joy_num_axes
|
2013-11-09 05:08:37 +00:00 |
|
Kp
|
f11e787ef3
|
Use helper for bounding check
|
2013-11-08 03:14:44 +00:00 |
|
Kp
|
ed8484f096
|
Remove unnecessary packing on vms_vector
|
2013-11-08 03:14:43 +00:00 |
|
Kp
|
9dec31d801
|
Remove unused vms_svec
|
2013-11-01 02:58:05 +00:00 |
|
Kp
|
663d81cc8f
|
Remove unused function med_rotate_segment_ang
|
2013-10-29 03:24:43 +00:00 |
|
Kp
|
be777c78a3
|
Remove unused function med_copy_segment
|
2013-10-29 03:24:43 +00:00 |
|
Kp
|
50392e9a3c
|
Mark OpenGL loader functions static
|
2013-10-29 03:24:42 +00:00 |
|
Kp
|
8ed99faf5c
|
Make headers freestanding
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
9e1c33cca3
|
Rename struct _grs_* to struct grs_* for consistency
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
980621b9d4
|
Move similar/editor/med.c -> similar/editor/med.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
7de558490f
|
Move similar/editor/kfuncs.c -> similar/editor/kfuncs.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
65b809b218
|
Move similar/editor/info.c -> similar/editor/info.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
f95d401926
|
Move similar/editor/group.c -> similar/editor/group.cpp
|
2012-11-17 06:14:09 +00:00 |
|