Commit graph

4023 commits

Author SHA1 Message Date
Kp 861ff0e8db Fix format mismatch on Win32 info_display_default
Win32 makes (pointer1-pointer2) an int instead of long.
2013-08-03 20:32:48 +00:00
Kp ad0d499022 Fix format mismatch on Win32 centers_dialog_handler
Win32 makes (pointer1-pointer2) an int instead of long.
2013-08-03 20:32:48 +00:00
Kp 2355df5eaf Fix format mismatch on Win32 HandleTestKey
Win32 needs a special modifier to represent an int64_t parameter.
2013-08-03 20:32:48 +00:00
Kp 4f56ed0819 Fix format mismatch on Win32 draw_window_label
Win32 makes (pointer1-pointer2) an int instead of long.
2013-08-03 20:32:48 +00:00
Kp 48c1b7a321 Fix const mismatch in digi_win32_play_midi_song 2013-08-03 20:32:48 +00:00
Kp 07d6e2c994 Fix format mismatch on Win32 newdemo
Win32 makes sizeof(object) an unsigned int instead of unsigned long.
2013-08-03 20:32:48 +00:00
Kp 4a67e8332a Always initialize fullscreen in display_win32_alert 2013-08-03 19:59:09 +00:00
Kp 3ac8fdc032 Move common/misc/error.c -> common/misc/error.cpp 2013-08-03 17:45:23 +00:00
Kp 2932582a2e Move common/maths/vecmat.c -> common/maths/vecmat.cpp 2013-08-03 17:45:23 +00:00
Kp 34f5ee1575 Move common/maths/tables.c -> common/maths/tables.cpp 2013-08-03 17:45:23 +00:00
Kp 1ef771136b Move common/maths/rand.c -> common/maths/rand.cpp 2013-08-03 17:45:23 +00:00
Kp bae5ce9a66 Move common/maths/fixc.c -> common/maths/fixc.cpp 2013-08-03 17:45:23 +00:00
Kp 09b1f8fab7 Move common/arch/sdl/window.c -> common/arch/sdl/window.cpp 2013-08-03 17:45:23 +00:00
Kp 97bea01c80 Move common/arch/sdl/rbaudio.c -> common/arch/sdl/rbaudio.cpp 2013-08-03 17:45:22 +00:00
Kp 9daacbdf81 Move common/arch/sdl/joy.c -> common/arch/sdl/joy.cpp 2013-08-03 17:45:22 +00:00
Kp d97e7b468b Move common/3d/setup.c -> common/3d/setup.cpp 2013-08-03 17:45:22 +00:00
Kp 040216910f Move common/3d/rod.c -> common/3d/rod.cpp 2013-08-03 17:45:22 +00:00
Kp fe9f99ead8 Move common/3d/points.c -> common/3d/points.cpp 2013-08-03 17:45:22 +00:00
Kp eaf449e144 Move common/3d/matrix.c -> common/3d/matrix.cpp 2013-08-03 17:45:22 +00:00
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