Kp
a2d32c2e6f
Remove 3d.h #include "gr.h"
2015-01-29 04:27:36 +00:00
Kp
e30df66462
Remove gauges.h #include "piggy.h"
2015-01-29 04:27:35 +00:00
Kp
f31e9f76e0
Remove textures.h #include "piggy.h"
2015-01-29 04:27:35 +00:00
Kp
6baa2411a1
Remove polyobj.h #include "piggy.h"
2015-01-29 04:27:35 +00:00
Kp
46b6519890
Remove bm.h #include "piggy.h"
2015-01-29 04:27:35 +00:00
Kp
cd1d3f52fb
Remove string copying in info_display_segsize
2015-01-29 04:27:35 +00:00
Kp
f38aec1212
Remove string copying in GetKeyDescription
2015-01-29 04:27:35 +00:00
Kp
b031e449de
Make equal_space a preprocessor constant
2015-01-29 04:27:35 +00:00
Kp
c2aa2c2e4b
Rename space to space_tab
...
Name space is too simple and causes conflicts elsewhere.
2015-01-29 04:27:35 +00:00
Kp
2f8a1ffeb7
Fix size truncation in mem_malloc
2015-01-29 04:27:35 +00:00
Kp
71ec47b32e
Refactor ui_pad_activate
2015-01-29 04:27:35 +00:00
Kp
9a36b82d5d
Disallow implicit pointer conversion from rvalue smart pointers
2015-01-29 00:58:53 +00:00
Kp
7b0442e238
Fix crash on start of demo playback
...
PHYSFSX_openReadBuffered returns an RAIIPHYSFS_File, but infile was a
PHYSFS_file. This caused the file to close instantly, leaving infile
dangling.
2015-01-29 00:56:21 +00:00
Kp
0ecea9717f
Fix crash on end of demo recording
2015-01-29 00:52:35 +00:00
Kp
3ee97b1dcd
Fix crash on start of demo recording
...
PHYSFSX_openWriteBuffered returns an RAIIPHYSFS_File, but outfile was a
PHYSFS_file. This caused the file to close instantly, leaving outfile
dangling.
2015-01-29 00:45:18 +00:00
Kp
aa2431dc7d
Use range_for in load_bitmap_replacements
2015-01-28 03:42:53 +00:00
Kp
e25446a15a
Fix Windows build for RAIIdmem index conversion
2015-01-28 03:42:53 +00:00
Kp
ff4a0ccd70
Fix RAIIdmem array usage
...
Some RAIIdmem instances managed a T[], but were declared to manage a T.
2015-01-28 03:42:53 +00:00
Kp
3952c64ffc
Fix PHYSFSX_check_* for RAIIdmem<T[]>
2015-01-28 03:42:53 +00:00
Kp
d2f0bdc867
Exit cleanly on bad command line arguments
2015-01-28 03:42:53 +00:00
Kp
faee7c7302
Ignore empty lines when parsing pads
2015-01-28 03:42:53 +00:00
Kp
786b7c35a5
Use unique_ptr for mve_audio_spec
2015-01-28 03:42:53 +00:00
Kp
accd1db476
Use unique_ptr for mve_audio_buffers
2015-01-28 03:42:52 +00:00
Kp
a3edc2b4f8
Use unique_ptr for MVEFILE::cur_chunk
2015-01-28 03:42:52 +00:00
Kp
cd14d2163b
Optimize obj_get_signature
2015-01-28 03:42:52 +00:00
Kp
4a2c9325bb
Fix various uninitialized accesses
2015-01-28 03:42:52 +00:00
Kp
77d25fd6d2
Fix uninitialized access in exists_in_mine_2
...
Objects of type OBJ_NONE have no guaranteed values in any other field.
Check curobjp->type before examining the object.
2015-01-28 03:42:52 +00:00
Kp
0ea95e87e7
Pass array<> to create_bfs_list
2015-01-28 03:42:52 +00:00
Kp
bb60f64001
Undefine object instances at construction
2015-01-28 03:42:52 +00:00
Kp
06142a6c80
Optimize gr_remap_bitmap_good integer handling
2015-01-25 05:32:45 +00:00
Kp
4488458ed8
Reactivate check_attribute_alloc_size
...
Fixes: c8022a1001
("Abstract socket array/sockaddr dispatch")
2015-01-25 05:32:45 +00:00
Kp
fa73ca8a17
Pass gr_remap_bitmap_good arg by &
2015-01-25 05:32:45 +00:00
Kp
d8f699320b
Pass iff_parse_bitmap arg by &
2015-01-25 05:32:45 +00:00
Kp
86158f605a
Pass convert_rgb15 arg by &
2015-01-25 05:32:44 +00:00
Kp
fd7d4fc1be
Pass copy_iff_to_grs arg by &
2015-01-25 05:32:44 +00:00
Kp
31450e4843
Pass iff_read_bitmap arg by &
2015-01-25 05:32:44 +00:00
Kp
922a7b7dc9
Pass grs_main_bitmap to iff_read_animbrush
2015-01-25 05:32:44 +00:00
Kp
2798ce8631
Use RAIIdmem for iff_bitmap_header
2015-01-25 05:32:44 +00:00
Kp
34761b66b3
Disable unused IFF code
2015-01-25 05:32:44 +00:00
Kp
3ca442cb33
Use arg_port_number for -udp_hostport
2015-01-25 05:32:44 +00:00
Kp
9597147283
Centralize argument port number conversion
2015-01-24 19:16:35 +00:00
Kp
6bc48b7876
Add option -no-tracker to suppress tracker for one run
2015-01-24 19:16:35 +00:00
Kp
4b2b4e0ef9
Add missed format of UDP_MyPort
...
Fixes: 9ccc5400fb
("Refactor UDP_MyPort handling")
2015-01-24 19:16:34 +00:00
Kp
cf8ca9a3e1
Pack newmenu,listbox
2015-01-24 19:16:34 +00:00
Kp
9794cfddc9
Move some local structs into anonymous namespaces
2015-01-24 19:16:34 +00:00
Kp
40fd988a0f
Hide local classes in anonymous namespaces
2015-01-23 03:55:06 +00:00
Kp
fd309ee728
Fix size truncation in mem_malloc
2015-01-23 03:55:05 +00:00
Kp
18a64e4281
Use RAII for PHYSFS_enumerateFiles result
2015-01-23 03:55:05 +00:00
Kp
705777db05
Reduce searches in locateOneElement
2015-01-23 03:55:05 +00:00
Kp
3817394b79
Simplify demo_menu_handler
2015-01-23 03:55:05 +00:00