Kp
|
5ffbb6dd05
|
Enable tail call in con_add_buffer_line
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
e4d7d20bd2
|
Factor out console color lookup
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
8ddcf7b323
|
Simplify console open check
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
fa591d585a
|
Shorten event_toggle_focus
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
68d35d8e05
|
Move negation of mouse_toggle_cursor argument into callee
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
e50b0d479e
|
Inline event_mouse_get_delta
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
2a8b79f868
|
Inline event_mouse_get_button
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
0ece005dfa
|
Use screen_mode for screen resolution
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
e592f3a0bb
|
Inline call to gr_set_mode(0)
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
2d9af1e348
|
Propagate gr_init argument
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
739879d701
|
Move input config menu to macro
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
cb873563c8
|
Move reticle menu to macro
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
e64e54f521
|
Move input sensitivity menu to macro
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
ac3b1d6aa3
|
Switch do_cockpit_window_view to vobjptr_t
Only the wake_up_rendered_objects hack needed a vobjptridx_t. Switch to
vobjptr_t.
|
2015-05-13 03:20:28 +00:00 |
|
Kp
|
5810faf33d
|
Make Ai_last_missile_camera object*
|
2015-05-13 03:20:28 +00:00 |
|
Kp
|
bfeddc3501
|
Test for exploding wall damaging control center
apply_damage_to_controlcen requires a valid `who`, but exploding walls
have none.
Fixes: 3eb8f4813e ("Pass vcobjptr_t to apply_damage_to_controlcen")
|
2015-05-09 19:55:58 +00:00 |
|
Kp
|
38e8967fba
|
Split event_toggle_focus
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
67240cea48
|
Shorten mouse_get_delta
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
9151b7f300
|
Remove write-only old_delta_x, old_delta_y
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
fd51d9dcd5
|
Shorten kc_change_mouseaxis
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
7f00061f6f
|
Shorten mouse_flush
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
e111d6ec22
|
Shorten mouse_cursor_autohide
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
f248006df5
|
Remove unused mouse_get_btns
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
53036c593e
|
Use unsigned comparison in mouse_in_window
|
2015-05-09 17:39:03 +00:00 |
|
Kp
|
4ca7924907
|
Pass graphics_config_menuset items by userdata
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
29f239d6b1
|
Raise PHYSFSX_exists bool check to caller
All callers use a constant value, so raise the check into the caller to
let the optimizer delete the unnecessary branch.
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
a4ba74f94a
|
Expand void ternary operator into if/else
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
e57afde68b
|
Hoist store in gr_internal_string0_template
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
8ac92b098f
|
Cache variables in gr_internal_string0_template
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
bd5573356d
|
Reduce gr_internal_string0_template variable scope
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
4228ed2324
|
Switch gr_internal_string0_template to count down loop
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
6d9de0d177
|
Use partial_range for font width
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
d2cded3ad4
|
Combine gr_internal_string0{,m}
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
b1ed5b86e2
|
Return get_char_width results by value
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
2e2c17669c
|
Shorten timer_delay
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
b1992b5e59
|
Shorten timer_delay2
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
9312b0b00f
|
Remove write-only variable multi_do_guided::fun
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
ed86b53395
|
Make Muzzle_queue_index static
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
1cdc43d71a
|
Split object_create_egg
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
f5b02ce6a0
|
Remove write-only ai_static D1 follow_path_start_seg
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
7dae02fbb4
|
Remove write-only ai_static D1 follow_path_end_seg
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
3b59a71e11
|
Remove unused D1 last_see_time
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
83baf4dfe8
|
Remove unused D1 last_attack_time
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
d9c3005134
|
Factor out egg skip logic
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
9a4f7a32bf
|
Pass vcsegptr to fuelcen_give_fuel
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
7eea02e4f8
|
Fix paging in wrong texture for homing missiles
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
21aed0488f
|
Hoist gr_setcolor in gr_internal_string_clipped_template
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
2fc4ca8d5a
|
Cache variables in gr_internal_string_clipped_template
|
2015-05-09 17:39:00 +00:00 |
|
Kp
|
cf87ebe54d
|
Remove write-only grs_bitmap::bm_handle
|
2015-05-09 17:38:59 +00:00 |
|
Kp
|
bbadf1fe3e
|
Reduce gr_internal_string_clipped_template variable scope
|
2015-05-09 17:38:59 +00:00 |
|