Commit graph

280 commits

Author SHA1 Message Date
Kp bf7063080e Remove NUM_KEY_CONTROLS 2013-11-18 00:54:59 +00:00
Kp c3d328ea5c Use helper to test for guidebot flag 2013-11-16 23:24:12 +00:00
Kp 6586d474f9 Only rebuild tables on request 2013-11-16 23:24:12 +00:00
Kp fc1e00dae6 Pre-compute labelx+inputx 2013-11-16 23:24:12 +00:00
Kp c959915fba Remove always-true test in kc_drawitem 2013-11-16 23:24:12 +00:00
Kp d0514455b3 Use automap_state instead of automap_count 2013-11-16 23:24:12 +00:00
Kp 321e240744 Use rear_view_state instead of rear_view_count 2013-11-16 23:24:12 +00:00
Kp cda0b60687 Remove unused fire_secondary_count 2013-11-16 23:24:12 +00:00
Kp 494c380abb Switch automap to use fire_primary_state
Counting is unnecessary here.
2013-11-16 23:24:12 +00:00
Kp d035fb258a Remove unused kc_item->id 2013-11-16 04:28:39 +00:00
Kp 9a6414ceca Combine hitbox bounds testing 2013-11-16 04:28:39 +00:00
Kp b7f1a71840 Combine item text formatting 2013-11-16 04:28:39 +00:00
Kp beac9ec079 Use helper to read a player from PHYSFS_file 2013-11-10 23:01:40 +00:00
Kp c0e24f7c75 Add helper to write a player to a PHYSFS_file 2013-11-10 23:00:50 +00:00
Kp 5ff051cf4e Move */main/fuelcen.c -> similar/main/fuelcen.c 2013-11-10 22:56:12 +00:00
Kp bcd6ea5eed Move similar/main/piggy.c -> similar/main/piggy.cpp 2013-11-10 19:08:12 +00:00
Kp 4ef3937d35 Move */main/piggy.c -> similar/main/piggy.c 2013-11-10 19:08:12 +00:00
Kp 9c9f0a070a Reduce differences in name_frame 2013-11-09 18:06:47 +00:00
Kp c3288abd89 Remove global 'flydata' 2013-11-09 18:06:47 +00:00
Kp cbda2231a6 Move similar/main/endlevel.c -> similar/main/endlevel.cpp 2013-11-09 17:46:41 +00:00
Kp ea2022bb01 Move */main/endlevel.c -> similar/main/endlevel.c 2013-11-09 17:46:41 +00:00
Kp 4469ff36c0 Manage movie subtitles automatically 2013-11-09 17:45:21 +00:00
Kp c9692eadd1 Clamp automap viewing distance 2013-11-09 05:07:02 +00:00
Kp f11e787ef3 Use helper for bounding check 2013-11-08 03:14:44 +00:00
Kp ed8484f096 Remove unnecessary packing on vms_vector 2013-11-08 03:14:43 +00:00
Kp 6fc8d110f3 Only give secondaries that exist 2013-11-02 04:25:33 +00:00
Kp 58958e091b Only give primaries that exist 2013-11-02 04:24:14 +00:00
Kp 2714679284 Mark private functions static 2013-11-02 04:23:55 +00:00
Kp babac8144a Fix off-by-one in teleport validation 2013-11-01 23:17:22 +00:00
Kp 65e9d0caa7 Avoid double formatting when printing marker 2013-11-01 02:58:05 +00:00
Kp 65a1f86456 Mark aipath test functions as used 2013-10-29 03:24:43 +00:00
Kp 645c312989 Mark game kill_* debugger functions as used 2013-10-29 03:24:43 +00:00
Kp 4cad87115d Guard sometimes used function render_segment 2013-10-29 03:24:43 +00:00
Kp 58ac06a8ca Remove unused function kmatrix_phallic 2013-10-29 03:24:43 +00:00
Kp 95c1d784ef Remove unused function find_connected_distance_segments 2013-10-29 03:24:43 +00:00
Kp fa987b72e1 Remove unused function do_load_save_levels 2013-10-29 03:24:43 +00:00
Kp f2bf4de884 Make functions conditionally static where possible 2013-10-29 03:24:42 +00:00
Kp 02bba815ee Remove unused digi_sound_debug 2013-10-29 03:24:42 +00:00
Kp ac174b5efe Remove unused gamefont_curfontname 2013-10-29 03:24:42 +00:00
Kp c655e4159a Mark set_robot_state used for debuggers 2013-10-29 03:24:42 +00:00
Kp 0794613705 Only define multi_do_ranking in Descent II 2013-10-29 03:24:42 +00:00
Kp 68e936b809 Disable Parallax AI path debug printing 2013-10-29 03:24:41 +00:00
Kp 4fcf34fdbb Make create_weapon_object static 2013-10-28 04:16:45 +00:00
Kp 19fef0a51d Simplify full_palette_save calls 2013-10-28 04:16:44 +00:00
Kp fdd2dd65c7 Use underlying type for state_game_id
This avoids the need for a header to declare it.
2013-10-26 03:50:27 +00:00
Kp a6b1bd58a2 Use MALLOC consistently 2013-10-26 03:50:27 +00:00
Kp 894570b14d Move similar/main/weapon.c -> similar/main/weapon.cpp 2012-11-11 22:12:51 +00:00
Kp 6224fb3cef Move similar/main/wall.c -> similar/main/wall.cpp 2012-11-11 22:12:51 +00:00
Kp 5c274d9b0f Move similar/main/vers_id.c -> similar/main/vers_id.cpp 2012-11-11 22:12:51 +00:00
Kp 22868b959a Move similar/main/vclip.c -> similar/main/vclip.cpp 2012-11-11 22:12:51 +00:00