Commit graph

1720 commits

Author SHA1 Message Date
Chris Taylor 4baf17f5c0 Some minor tweaks to INSTALL.txt and README.txt 2013-08-05 19:17:40 +08:00
Chris Taylor d644455c00 Update Xcode project, removing obsolete file references and using gcc-4.0 with the Mac OS X 10.4 SDK for PowerPC so it will work with Xcode 3.2 2013-08-05 16:05:17 +08:00
Chris Taylor bd7a895bc7 Fix warning in Mac messagebox.c 2013-08-05 16:04:09 +08:00
Chris Taylor fbd7af7461 Update version in Mac resource files 2013-08-05 16:03:43 +08:00
zico bde6da6d58 Setting up release 0.58.1 2013-08-03 14:18:05 +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
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
zico caeb94faef set new version number for OS X release 2013-07-27 11:53:27 +02:00
zico e82628c859 Updated RELEASE-NOTES.txt 2013-07-19 16:39:18 +02:00
zico e579dd0a8d Set release info to 0.58 2013-07-19 16:16:08 +02:00
Kp a76211bc7e Remove unused mem_malloc,mem_free
Commit 470dc4b broke debug=0 builds because debug=0 has its own unused
implementation of mem_malloc.  Delete the unused implementation.
2013-07-19 02:12:07 +00:00
zico a18829aaf2 Initialize danger_laser_num in init_ai_object() and hopefully resolve random crash in ai_move_relative_to_player() 2013-07-18 12:41:06 +02:00
Kp 6396230c60 Include physfs.h to define PHYSFS_File for player_ship_read 2013-07-14 03:10:18 +00:00
Kp f734586f2b Add space for null terminator of g_descent_build_datetime 2013-07-14 22:42:32 +00:00
Kp dd8703d461 Remove SDL/ in #include statements 2013-06-30 02:22:56 +00:00
Kp 9e8ef71157 Replace MALLOC+memset with CALLOC 2013-07-13 02:31:27 +00:00
Kp 470dc4b1e2 Memory debug improvements 2013-07-13 04:23:18 +00:00
Kp 0ad97827e6 Cache cockpit_idx computation 2013-07-13 02:34:56 +00:00
Kp 2278ad7a6c Make mem_* description strings const char* 2013-07-13 23:08:36 +00:00
Kp 3094ba7c91 Remove unused energy_str setup 2013-07-13 23:02:12 +00:00
Kp 5dbdf8351b Remove useless strlen in newmenu string rendering 2013-07-14 23:25:25 +00:00
Kp b858538fb8 Specify prototype for newdemo_record_morph_frame 2013-07-14 23:24:53 +00:00
Kp 68e0a758b6 Use const strings for cheats 2013-07-14 23:22:25 +00:00
Kp 0f22f4b0b9 Fix sign mismatch in timer_delay2 2013-07-14 23:20:29 +00:00
Kp 7425160831 Fix sign mismatch in control_center_triggers_read_n 2013-07-14 23:10:42 +00:00
Kp a9c257f715 Use SDLK_UNKNOWN for unmapped entries 2012-11-24 16:46:43 +00:00
Kp c1162f254f Remove unused interpreter color table 2013-07-14 22:49:49 +00:00
Kp fbddc7823c Make g3_draw_morphing_model take ubyte* model_ptr 2013-07-14 22:45:35 +00:00
Kp ee3bc685e9 Make g3_draw_polygon_model take ubyte* model_ptr 2013-07-14 22:45:35 +00:00
Kp fbcbccea83 Fix preprocessor guard for draw_outline 2013-07-14 22:41:04 +00:00
Kp ab72e26469 Remove useless strlen in menubar setup 2013-07-14 22:34:37 +00:00
Kp 57cb348dea Make select_tmap take const char* 2013-07-14 22:24:08 +00:00
Kp db7092106d Use MALLOC for MenuX allocation 2013-07-06 03:08:37 +00:00
Kp fd66f82186 Use MALLOC for ui_add_gadget_inputbox 2013-07-07 19:55:59 +00:00
Kp ba132472df Make HMP cmdlen const 2013-07-06 03:57:57 +00:00
Kp 1a9e2009e3 Use sizeof to compute array extents 2012-11-24 17:35:35 +00:00
Kp 8e94b21061 Add size information to improve -fmudflap 2012-11-11 00:12:17 +00:00
Kp 5e21ee36fb Make Side_to_verts const 2013-07-14 21:47:36 +00:00
Kp 490908f530 Make various g3s_point pointers const 2013-07-14 18:54:48 +00:00
Kp 843672be06 Make zero_angles const 2013-07-14 18:04:33 +00:00
Kp 65093560b0 Mark various vector parameters as const 2012-07-01 02:27:19 +00:00
Kp 66f97d20c7 Use ubyte* for g3_poly_get_color 2012-11-24 16:18:52 +00:00
Kp be1cab6dd1 Fix -Wsign-compare warning in file_getdirlist 2013-07-07 01:51:49 +00:00
Kp 9394b366c7 Add realloc cast to file_getdirlist 2012-11-17 06:14:09 +00:00
Kp 356bf93bcd Use MALLOC in 2d/font.c 2013-07-10 21:44:39 -05:00
Kp 167fdb5832 Remove unused key_dialog_handler 2013-07-10 21:44:39 -05:00
Kp 737ac7e9cc Remove unused GetKeyCode 2013-07-10 21:44:39 -05:00
Kp 7aa4c2a55a Use MALLOC for ui_add_gadget_checkbox 2013-07-10 21:44:39 -05:00