Kp
cbc46e343d
Remove unused MULTI_ANGER
2013-11-24 23:11:30 +00:00
Kp
a4855dbdb3
Use stricter check for robots in set_player_awareness_all
...
Rather than tracking down every path through which an object can have
its type set to OBJ_NONE without clearing its control_type, add an
explicit check that the type is OBJ_ROBOT.
2013-11-24 23:11:30 +00:00
Kp
5388520198
Fix array understep in automap
2013-11-24 23:08:32 +00:00
Kp
a65d774c83
Improve packing of struct segment
...
Shrinks Segments[] by 36000 bytes.
2013-11-24 23:08:32 +00:00
Kp
c70c6c98b3
Remove obsolete segment::degenerated flag
...
Shrinks Segments[] by 36000 bytes.
2013-11-24 23:08:32 +00:00
Kp
ee5fbe1467
Use helper to diminish palette color toward zero
2013-11-24 23:08:32 +00:00
Kp
e30f548d60
Invert sense of DbgAltTexMerge
2013-11-24 22:57:36 +00:00
Kp
761795e4c8
Invert sense of DbgBigPig
2013-11-24 22:57:36 +00:00
Kp
3b49e65f95
Invert sense of DbgUseDoubleBuffer
2013-11-24 22:57:36 +00:00
Kp
bbb9214e0e
Invert sense of hires/lowres options
2013-11-24 22:57:36 +00:00
Kp
8899120312
Remove SndDisableSdlMixer when mixer=0
2013-11-24 22:57:36 +00:00
Kp
c8225369c7
Fix flag restore in configure tests
2013-11-24 22:53:30 +00:00
Kp
6296dbc749
Do not document tests with leading underscore
2013-11-24 22:53:30 +00:00
Kp
9efbba6c94
Fix D2 editor loading RDL files
2013-11-24 22:53:30 +00:00
Kp
ba1bbce571
Move similar/main/fuelcen.c -> similar/main/fuelcen.cpp
2013-11-24 22:51:56 +00:00
Kp
8f23539485
Propagate probed flags into all environments
2013-11-24 22:51:01 +00:00
Kp
2d920e5f7b
Move similar/main/gameseq.c -> similar/main/gameseq.cpp
2013-11-24 22:49:52 +00:00
Kp
aa05263b29
Move */main/gameseq.c -> similar/main/gameseq.c
2013-11-24 22:47:19 +00:00
Kp
c90ade08fe
Restructure gameseq.c for merging
2013-11-24 22:44:25 +00:00
Kp
67407d211e
Reset hours-on-level in D1X, too
2013-11-23 22:48:23 +00:00
Kp
53149e6bcd
Move similar/main/ai.c -> similar/main/ai.cpp
2013-11-23 22:47:45 +00:00
Kp
47a4bb1ff1
Move */main/ai.c -> similar/main/ai.c
2013-11-23 22:47:45 +00:00
Kp
6be79cadce
Unify ai_follow_path
2013-11-23 22:41:01 +00:00
Kp
a56edce84a
Cache result of indexing Robot_info
2013-11-23 18:53:13 +00:00
Kp
93b0f5396f
Use helpers to test next_fire state
2013-11-18 04:51:33 +00:00
Kp
7a9db6716a
Make ready_to_fire static
2013-11-18 04:51:33 +00:00
Kp
f4cbfca8e2
Use helper to test for thief flag
2013-11-18 04:51:33 +00:00
Kp
dc72fb5932
Use player_awareness_type_t for create_awareness_event
2013-11-18 04:51:33 +00:00
Kp
b326bb832b
Use helper to clamp kconfig values
2013-11-18 04:51:06 +00:00
Kp
810ccd037d
Sanity check axis reads
2013-11-18 04:51:06 +00:00
Kp
4ba8444fc8
Use helper to read axis fields
2013-11-18 04:51:06 +00:00
Kp
6f839dedae
Use helper to set exclusive binding
2013-11-18 04:51:06 +00:00
Kp
5266426171
Also switch kc_menu to references
2013-11-18 00:56:20 +00:00
Kp
975acb97fe
Remove pointer subtraction in kc_change_*
2013-11-18 00:56:20 +00:00
Kp
29826db21c
Always keep kc_* table relations const
2013-11-18 00:54:59 +00:00
Kp
6becfdacca
Remove NUM_DXX_REBIRTH_CONTROLS
2013-11-18 00:54:59 +00:00
Kp
a842b31a20
Remove NUM_MOUSE_CONTROLS
2013-11-18 00:54:59 +00:00
Kp
04b0bd892d
Remove NUM_JOYSTICK_CONTROLS
2013-11-18 00:54:59 +00:00
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
1312369c94
Restructure ai.c for merging
2013-11-16 23:20:30 +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