Kp
|
f7815810e8
|
Use RAIIPHYSFS_File to manage PHYSFS_File
Fixes a few leaks on error paths.
|
2015-01-17 18:31:42 +00:00 |
|
Kp
|
484a2a705d
|
Use strcasecmp when available
|
2015-01-12 00:26:03 +00:00 |
|
Kp
|
205b533c67
|
Fix d_strnicmp with zero length input
|
2015-01-11 05:08:30 +00:00 |
|
Kp
|
2b2da39d84
|
Fix unique invocation in string_array_t tidy
|
2014-12-20 04:36:11 +00:00 |
|
Kp
|
6e24954a97
|
Mark warn_printf static
|
2014-12-13 04:10:58 +00:00 |
|
Kp
|
c6043419e9
|
Use std::abort in Error
Error is called for fatal errors. Use std::abort to get a core dump.
|
2014-12-11 02:38:19 +00:00 |
|
Kp
|
a2703177b9
|
Move Error Int3 to after printing the message
|
2014-12-09 01:10:24 +00:00 |
|
Kp
|
2ad59572e0
|
Use vector to manage string array memory
|
2014-09-29 00:02:43 +00:00 |
|
Kp
|
c698bb0082
|
Propagate for variables in common/misc/hmp.cpp
|
2014-09-26 02:42:14 +00:00 |
|
Kp
|
2c8a07cfa7
|
Use vector<uint8_t> to manage current_music_hndlbuf
|
2014-09-20 23:14:03 +00:00 |
|
Kp
|
2a0917cea4
|
Simplify MIDI header setup
|
2014-09-20 23:12:42 +00:00 |
|
Kp
|
5f5bd4e01d
|
Throw runtime_error on bad HMP decode
Returning 0 writes a zero into the length field, which will likely break
things later. Throw an exception to make bad HMPs obvious.
|
2014-08-26 03:19:59 +00:00 |
|
Kp
|
94550355a8
|
Use make_unique instead of bare new
|
2014-08-24 18:28:09 +00:00 |
|
Kp
|
efb8c495f6
|
Use unique_ptr for hmp_track data
|
2014-08-05 02:31:03 +00:00 |
|
Kp
|
81cb86f2e3
|
Use unique_ptr for hmp_file
|
2014-08-05 02:29:43 +00:00 |
|
Kp
|
a07376fe05
|
List initialize hmp event
|
2014-07-04 03:43:38 +00:00 |
|
zico
|
ad7cb106bc
|
Changed custom D1X license to GPLv3
|
2014-06-01 19:55:23 +02:00 |
|
zico
|
8a4ac70541
|
Reverted commit ec709efaa3 .
|
2014-06-01 19:08:29 +02:00 |
|
Kp
|
094dfbf3d4
|
Reduce header inclusions
|
2013-12-31 03:22:03 +00:00 |
|
Kp
|
cc9f7f669d
|
Tighten definition of SWAPSHORT
|
2013-12-28 22:36:59 +00:00 |
|
Kp
|
314950d0b2
|
Pass computed message length from Error to con_puts
|
2013-12-22 20:12:56 +00:00 |
|
Kp
|
03821fab0d
|
Rely on libc strdup if DEBUG_MEMORY_ALLOCATIONS is unset
If !DEBUG_MEMORY_ALLOCATIONS, our strdup is not special. Rely on the
compiler one, which might be.
|
2013-12-19 03:31:24 +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
|
322c61ef01
|
Remove use of heap-based splitword
|
2013-12-08 21:43:53 +00:00 |
|
Kp
|
75c229c6bf
|
Normalize con_printf newline usage
|
2013-12-07 21:13:37 +00:00 |
|
Kp
|
eb84a067fa
|
Remove now unused fgets_unlimited
|
2013-12-06 03:28:59 +00:00 |
|
Kp
|
2714679284
|
Mark private functions static
|
2013-11-02 04:23:55 +00:00 |
|
Kp
|
685c3fd8e7
|
Fix Win64 build errors due to pointer casting
|
2013-10-28 04:14:20 +00:00 |
|
Kp
|
a6b1bd58a2
|
Use MALLOC consistently
|
2013-10-26 03:50:27 +00:00 |
|
Kp
|
aa9127e3c1
|
Enable -Wwrite-strings
|
2013-09-15 21:34:03 +00:00 |
|
Kp
|
9ba729ca3a
|
Print function and line when calling Error
|
2013-08-09 02:10:51 +00:00 |
|
Kp
|
2cd7748e93
|
Convert vsprintf to vsnprintf
|
2013-08-09 01:58:17 +00:00 |
|
Kp
|
7412f0bfc1
|
Move common/misc/strutil.c -> common/misc/strutil.cpp
|
2013-08-04 17:56:21 +00:00 |
|
Kp
|
90b8cdbb1a
|
Move common/misc/strio.c -> common/misc/strio.cpp
|
2013-08-04 17:56:05 +00:00 |
|
Kp
|
3e950a6b42
|
Move common/misc/ignorecase.c -> common/misc/ignorecase.cpp
|
2013-08-04 17:55:04 +00:00 |
|
Kp
|
f8cb11d714
|
Move common/misc/hmp.c -> common/misc/hmp.cpp
|
2013-08-04 17:55:00 +00:00 |
|
Kp
|
3ac8fdc032
|
Move common/misc/error.c -> common/misc/error.cpp
|
2013-08-03 17:45:23 +00:00 |
|
Kp
|
a05793fd84
|
Mark various things static
|
2013-07-23 02:09:12 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
a1ba420031
|
Mark various parameters and variables as const
|
2013-07-20 23:12:24 +00:00 |
|
Kp
|
012d8e249b
|
Merge branch d1x-rebirth/master into unification/master
|
2013-07-19 22:32:28 +00:00 |
|
Kp
|
9667abeaa7
|
Make d_splitpath const
|
2013-06-09 18:10:09 +00:00 |
|
Kp
|
88208fc228
|
Merge branch d1x-rebirth/master into unification/master
Conflicts:
SConstruct
d1x-rebirth/main/multi.c
similar/main/cntrlcen.c
similar/main/wall.c
|
2013-06-14 03:18:32 +00:00 |
|
Kp
|
22e31c0e8d
|
Remove unused argument to clear_warn_func
|
2013-06-08 23:12:44 +00:00 |
|
Kp
|
863bcff083
|
Move */misc/dl_list.c -> common/misc/dl_list.c
|
2013-03-03 01:03:33 +00:00 |
|
Kp
|
54affd79a9
|
Move */misc/error.c -> common/misc/error.c
|
2013-03-03 01:03:33 +00:00 |
|
Kp
|
630344aa98
|
Move */misc/hmp.c -> common/misc/hmp.c
|
2013-03-03 01:03:33 +00:00 |
|
Kp
|
451c3746a5
|
Move */misc/ignorecase.c -> common/misc/ignorecase.c
|
2013-03-03 01:03:33 +00:00 |
|
Kp
|
c5279ea5e8
|
Move */misc/strio.c -> common/misc/strio.c
|
2013-03-03 01:03:33 +00:00 |
|
Kp
|
610459c520
|
Move */misc/strutil.c -> common/misc/strutil.c
|
2013-03-03 01:03:33 +00:00 |
|