Commit graph

4054 commits

Author SHA1 Message Date
Kp 03832a8752 Move common/3d/instance.c -> common/3d/instance.cpp 2013-08-03 17:45:22 +00:00
Kp 1274540315 Move common/3d/globvars.c -> common/3d/globvars.cpp 2013-08-03 17:45:22 +00:00
Kp eb65b73b2a Move common/3d/draw.c -> common/3d/draw.cpp 2013-08-03 17:45:22 +00:00
Kp 0d26464bfa Simplify AppendIniArgs 2013-08-03 17:45:22 +00:00
Kp 3c5c8a8068 Make arg processing static 2013-08-03 17:45:22 +00:00
Kp d1479abb2e Remove unused FindResArg 2013-08-03 17:45:22 +00:00
zico 67373f55cb merge 2013-08-03 14:20:10 +02:00
zico bde6da6d58 Setting up release 0.58.1 2013-08-03 14:18:05 +02:00
zico c21c105405 Setting up release 0.58.1 2013-08-03 14:16:05 +02:00
zico fae72d38b1 Added maph.pcx to be loaded for Automap if available 2013-08-03 13:19:58 +02:00
zico 243f5c0097 Fixed some dummy-writing for the obsolete MarkerOwner causing Valgrind a nosebleed. Warning: It's still ridiculus. Never look at it without sunglasses. 2013-08-03 13:13:50 +02:00
zico e41d269b41 When converting object_rw to object, recompute gun points for CT_CNTRLCEN as they are now part of object and not globals anymore 2013-08-03 12:54:03 +02:00
zico df5d4196e7 When converting object_rw to object, recompute gun points for CT_CNTRLCEN as they are now part of object and not globals anymore 2013-08-03 12:53:56 +02:00
zico cf31923266 Only initialize reactor if it exists 2013-08-03 12:41:19 +02:00
Kp aa0624f6b2 Only initialize a reactor if it exists
Windows users reported a crash on starting a level with no reactor.
derhass traced it to an unconditional initialization of
Objects[cntrlcen_objnum] members, even if cntrlcen_objnum is -1.  Fix
this by checking for the reactor before accessing it.
2013-08-02 22:57:39 +00:00
Kp a268bc83b7 Only initialize a reactor if it exists
Windows users reported a crash on starting a level with no reactor.
derhass traced it to an unconditional initialization of
Objects[cntrlcen_objnum] members, even if cntrlcen_objnum is -1.  Fix
this by checking for the reactor before accessing it.
2013-07-31 22:23:51 +00:00
Kp 20f8deb62a Check that object is CT_AI before accessing AI-specific fields
Reactors call player_is_visible_from_object, but do not use the ai_info
field.  Add a check to use ai_info only when the object is actually a
robot.
2013-07-31 02:12:18 +00:00
Kp c953fabbfc Remove unused variable sng_file[] 2013-07-28 23:27:10 +00:00
Kp 69535df7fd Compile out memory checker if not enabled 2013-07-28 23:20:33 +00:00
Kp e961be1c14 u_mem: split memory debugging from NDEBUG 2013-07-28 23:18:44 +00:00
Kp 0a650acbdc Collapse variable groups 2013-07-28 23:12:00 +00:00
Kp adfbb4129d Move common/3d/clipper.c -> common/3d/clipper.cpp 2013-07-27 22:30:54 +00:00
Kp 1259006db5 Move common/2d/scalec.c -> common/2d/scalec.cpp 2013-07-27 22:30:54 +00:00
Kp 18a42e3e40 Move common/2d/rle.c -> common/2d/rle.cpp 2013-07-27 22:30:54 +00:00
Kp a334ad0ab1 Move common/2d/rect.c -> common/2d/rect.cpp 2013-07-27 22:30:54 +00:00
Kp 63acd159cc Move common/2d/pixel.c -> common/2d/pixel.cpp 2013-07-27 22:30:54 +00:00
Kp c80a824136 Move common/2d/line.c -> common/2d/line.cpp 2013-07-27 22:30:54 +00:00
Kp 5832f0dbd9 Move common/2d/gpixel.c -> common/2d/gpixel.cpp 2013-07-27 22:30:54 +00:00
Kp 139a80b925 Move common/2d/disc.c -> common/2d/disc.cpp 2013-07-27 22:30:54 +00:00
Kp 46d02518bc Move common/2d/circle.c -> common/2d/circle.cpp 2013-07-27 22:30:54 +00:00
Kp b7abe1d77e Move common/2d/canvas.c -> common/2d/canvas.cpp 2013-07-27 22:30:54 +00:00
Kp 6169fc5abc Move common/2d/box.c -> common/2d/box.cpp 2013-07-27 22:30:54 +00:00
Kp f7a030483f Move common/2d/bitmap.c -> common/2d/bitmap.cpp 2013-07-27 22:30:53 +00:00
Kp c2895e5176 Move common/2d/bitblt.c -> common/2d/bitblt.cpp 2013-07-27 22:30:53 +00:00
Kp ff90315978 Use SConscript configure support to probe for format(printf) attribute 2013-07-27 22:17:13 +00:00
Kp 77d69d0384 Move configure step to DXXArchive
Run the tests once instead of twice.
2013-07-27 22:16:14 +00:00
Kp d10aaea55b Mark various font functions static 2013-07-27 21:41:27 +00:00
Kp 934867aaf3 Ensure font allocation failure if tw/th not initialized 2013-07-27 21:41:09 +00:00
Kp 74bcb86cf4 Remove some const modifiers that broke SDL-only build 2013-07-27 21:29:01 +00:00
Kp 2f4ffebde6 Add const markers to some texture mapping code 2013-07-27 21:28:53 +00:00
Kp e613b81db6 Remove obsolete tmapflat.c 2013-07-27 21:08:33 +00:00
Kp e0b30077e9 Simplify texpage name printing 2013-07-27 20:49:38 +00:00
zico 991d33def4 merge 2013-07-27 11:55:03 +02:00
zico caeb94faef set new version number for OS X release 2013-07-27 11:53:27 +02:00
zico 403c678f60 set new version number for OS X release 2013-07-27 11:53:08 +02:00
Kp 2215c0848d Use SConscript configure support to probe for format_arg attribute 2013-07-26 02:54:33 +00:00
Kp 1b912463d3 Declare size of Text_string[] 2013-07-26 01:56:42 +00:00
Kp 4725ca5f73 Move */main/songs.c -> similar/main/songs.c 2013-07-24 01:43:02 +00:00
Kp 862d1b561c Move */main/switch.h -> common/main/switch.h 2013-07-24 01:43:02 +00:00
Kp 90cd2f4938 Move */main/multi.h -> common/main/multi.h 2013-07-24 01:43:01 +00:00