Commit graph

788 commits

Author SHA1 Message Date
Kp 33bf7b6e12 Use constant scan labels 2014-07-30 03:06:41 +00:00
Kp 2c8eca5229 Use constant status 2014-07-30 03:06:41 +00:00
Kp 4fadbbc92c Replace render globals with const 2014-07-30 03:06:41 +00:00
Kp 6d3850b6c1 Use object helper to iterate over render segments 2014-07-30 03:06:41 +00:00
Kp 4151a6989b Use object helper to iterate over fuelcen segments 2014-07-30 03:06:41 +00:00
Kp 6a4ffd84a1 Use object helper to iterate over fireball segments 2014-07-30 03:06:41 +00:00
Kp 56d12300b9 Use object helper to iterate over dumpmine segments 2014-07-30 03:06:41 +00:00
Kp dfce3e399c Use object helper to iterate over ai segments 2014-07-30 03:06:41 +00:00
Kp fcd4926d5d Fix cosmetic bug in vulcan ammo display
If the player has a gauss cannon, vulcan ammo, and no vulcan cannon, and
has never selected the gauss cannon, gauges showed 'A'.  'A' should
appear only if neither weapon is available.  Use 'G' in this situation.
2014-07-27 01:20:46 +00:00
Kp eebd1f12d4 Fix NULL pointer exception in object_create_explosion_sub 2014-07-27 01:20:43 +00:00
Kp 13b233b7d7 Fix Windows build 2014-07-26 22:53:41 +00:00
Kp b37c295c59 Pick default extra_version from git tag 2014-07-26 22:53:41 +00:00
Kp 9e619f73d5 Inline polymodel_read_n 2014-07-26 04:18:06 +00:00
Kp 51fdeea84b Use unique_ptr for model_data 2014-07-26 04:01:35 +00:00
Kp ebb1b70350 Fix polymodel writing on x64
Packed writing a structure containing a pointer, but reading it as an
int, is wrong on x64.
2014-07-26 04:01:35 +00:00
Kp 4e0665b8ee Use unique_ptr for d1_tmap_nums 2014-07-25 02:54:31 +00:00
Kp 940cbceed8 Use unique_ptr for Bitmap_replacement_data 2014-07-25 02:54:31 +00:00
Kp 5826156ff2 Use unique_ptr for SoundBits 2014-07-25 02:54:31 +00:00
Kp 2ad9437257 Use unique_ptr for BitmapBits 2014-07-25 02:54:31 +00:00
Kp 593f4b08e0 Use unique_ptr for start_poll_data 2014-07-25 02:54:31 +00:00
Kp af912ea84d Use unique_ptr for level_names 2014-07-25 02:54:31 +00:00
Kp d1eaa1819c Use unique_ptr for secret_level_names 2014-07-25 02:54:31 +00:00
Kp 3bf30f9cf7 Use unique_ptr for secret_level_table 2014-07-25 02:54:31 +00:00
Kp 675e13dbbf Use unique_ptr for text strings 2014-07-25 02:54:31 +00:00
Kp e7cdb4307c Use unique_ptr for overwritten_text 2014-07-25 02:54:31 +00:00
Kp 6020c9c013 Use d_fname for DOS filenames 2014-07-25 02:54:31 +00:00
Kp 2ddc37d804 Write tmap_info carefully 2014-07-25 02:54:31 +00:00
Kp 79708e14f4 Use unique_ptr for alternate_ham_file 2014-07-25 01:48:36 +00:00
Kp 2a5a81936a Allocate automap through new for constructor calls 2014-07-25 01:47:07 +00:00
Kp 7f1ccd298b Use unique_ptr for light_array 2014-07-22 23:48:24 +00:00
Kp 9778c1a151 Use unique_ptr to manage sub bitmaps 2014-07-22 23:48:24 +00:00
Kp 323e796cd0 Use unique_ptr to manage grs_bitmap 2014-07-22 23:48:24 +00:00
Kp 6826e966a7 Use unique_ptr for Current_mission 2014-07-22 23:48:23 +00:00
Kp ce1729f23a Use unique_ptr<> for briefing 2014-07-22 23:48:23 +00:00
Kp e19d43f92f Fix crash parsing bad mission file 2014-07-22 23:48:23 +00:00
Kp c1d184240d Use unique_ptr to manage fonts 2014-07-22 23:48:23 +00:00
Kp bd1c6d8c5d Reduce header includes of physfsx.h 2014-07-22 23:48:23 +00:00
Kp e20301c7e3 Refactor kick_player out of multi_send_message_end 2014-07-22 23:48:23 +00:00
Kp 3a35179e50 List initialize avg_color_rgb 2014-07-19 03:09:58 +00:00
Kp 4c58f80f6b List initialize Dynamic_light in set_dynamic_light 2014-07-19 03:09:26 +00:00
Kp 6370292202 Pass array<> to create_*_vertex_lists 2014-07-17 03:29:57 +00:00
Kp d3d457cf19 Pass array<> to gr_list_modes to preserve size information 2014-07-17 03:29:57 +00:00
Kp d135e93b94 Use std::min_element to find least vertex 2014-07-17 03:29:57 +00:00
Kp c69ff037d6 Remove useless self assignment 2014-07-16 03:25:28 +00:00
Kp 7552ceb259 Remove unused arguments 2014-07-16 03:24:40 +00:00
Kp 37f20ebfa7 Use specific num_frames test in convert_vclip 2014-07-16 03:23:49 +00:00
Kp bb66bbbff7 Remove always-true tests 2014-07-16 03:23:14 +00:00
Kp ec7eab42d6 Change print_trigger_message to avoid -Wstring-plus-int 2014-07-16 03:22:43 +00:00
Kp 92f7ace9ae Remove useless self assignment 2014-07-16 03:22:33 +00:00
Kp 50e4c92390 Remove write-only variable count in compute_average_rgb 2014-07-16 03:21:04 +00:00