Bradley Bell
|
bdacd2f7d7
|
change u_int*_t to C99 standard uint*_t
|
2015-05-18 17:12:53 -07:00 |
|
Kp
|
bc886e5ade
|
Skip sliding invisible textures
|
2015-05-17 20:37:59 +00:00 |
|
Kp
|
c53b734abb
|
Compute slide segments early
Store slide flag in segment to save one byte per segment.
|
2015-05-17 20:37:59 +00:00 |
|
Kp
|
a7f9b34aff
|
Refactor slide_textures
|
2015-05-17 20:37:59 +00:00 |
|
Kp
|
8e49c191ce
|
Remove unused copy_side_except_vertex_ids
|
2015-05-17 20:37:59 +00:00 |
|
Kp
|
3caea6d618
|
Enable -Wvla
|
2015-05-17 00:59:26 +00:00 |
|
Kp
|
44625e2617
|
Remove unnecessary Mouse::button_state
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
265ad59e9c
|
Remove set_default_handler
standard_handler is the only handler. Use it directly.
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
7f403bc1af
|
Optimize clearing player animation angles
|
2015-05-14 02:23:13 +00:00 |
|
Kp
|
577321d74b
|
Remove obsolete con_close
|
2015-05-14 02:23:13 +00:00 |
|
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 |
|
Bradley Bell
|
a0fda81452
|
Merge branch 'unification/master' into clang-fixes
|
2015-05-09 15:34:30 -07: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
|
8daf33b422
|
Blacklist broken clang C++11 constructor inheritance
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
044ef0773a
|
Shorten partial_range error reporting
|
2015-05-09 17:39:02 +00:00 |
|
Kp
|
f92e890f50
|
Improve valptridx exception reporting
|
2015-05-09 17:39:02 +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
|
371838c74e
|
Use unique_ptr to manage GLsync fence
|
2015-05-09 17:39:01 +00:00 |
|
Kp
|
5a2c11c7ad
|
Precompute OGL sync wait_timeout milliseconds
|
2015-05-09 17:39:01 +00:00 |
|