Commit graph

4087 commits

Author SHA1 Message Date
Kp c2b11da77d Move common/ui/inputbox.c -> common/ui/inputbox.cpp 2013-08-04 17:59:23 +00:00
Kp a9a464ba65 Move common/ui/icon.c -> common/ui/icon.cpp 2013-08-04 17:59:09 +00:00
Kp d66063497b Move common/ui/gadget.c -> common/ui/gadget.cpp 2013-08-04 17:58:55 +00:00
Kp 80b86f3f0d Move common/ui/file.c -> common/ui/file.cpp 2013-08-04 17:58:40 +00:00
Kp ad2d064410 Move common/ui/dialog.c -> common/ui/dialog.cpp 2013-08-04 17:58:26 +00:00
Kp 66874d419e Move common/ui/checkbox.c -> common/ui/checkbox.cpp 2013-08-04 17:58:12 +00:00
Kp 000774f49d Move common/ui/button.c -> common/ui/button.cpp 2013-08-04 17:57:20 +00:00
Kp 17d9dd4f1e Move common/texmap/tmapflat.c -> common/texmap/tmapflat.cpp 2013-08-04 17:57:06 +00:00
Kp 3c2b518d0d Move common/texmap/scanline.c -> common/texmap/scanline.cpp 2013-08-04 17:56:51 +00:00
Kp 33725eb510 Move common/texmap/ntmap.c -> common/texmap/ntmap.cpp 2013-08-04 17:56:36 +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 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