Kp
87eda88319
Skip copying vertex for boss fit check
2015-06-02 03:03:31 +00:00
zico
2399eae2ab
Merge branch 'unification/master' of github.com:dxx-rebirth/dxx-rebirth into unification/master
2015-06-01 15:27:51 +02:00
zico
2bfe21183e
Changing homing turn times to 30 FPS base again by user request
2015-06-01 15:27:34 +02:00
Kp
ed46a05296
Update control_type when ghosting reactor
2015-05-30 21:29:57 +00:00
Kp
a523171748
Shorten calc_d_homer_tick
...
Combine redundant write to d_homer_tick_step
Combine redundant write to static timer
Only test for exceeding 3*cap if timer >= 1*cap
2015-05-30 16:53:49 +00:00
zico
b09703cd3f
Merge branch 'unification/master' of github.com:dxx-rebirth/dxx-rebirth into unification/master
2015-05-30 18:29:59 +02:00
zico
b04282e791
Using one global yet independent timeer for homing missiles similar to d_tick instead of having one in each missile object. Also decreased HOMING_TURNING_TIME to 25 FPS base
2015-05-30 18:29:41 +02:00
Kp
27b6012e20
Fix hang in statusbar mode when energy>100
...
Reported-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/78 >
2015-05-30 16:06:05 +00:00
Kp
3f9d110502
Reverse score order
...
Reported-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/74 >
2015-05-29 03:15:48 +00:00
Kp
3239693c26
Fix primary/secondary select mismatch
...
Fixes: d161b17191
("Factor out shareware/unusable weapon handling")
Reported-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/72 >
2015-05-29 03:15:48 +00:00
zico
7414b8165d
Fixed little regression from previous commit: Do not increade homing tick every frame but according to turn time - duh
2015-05-28 16:07:24 +02:00
zico
7ba3d1317b
Isolated all of the homing code into time-depending condition determined by track_turn_time and added track_turn_tick to make target re-discovery dependent on the individual missile tracking instead of global d_tick_count
2015-05-28 15:22:40 +02:00
Kp
6eb724d872
Reorder flag drop
...
Suppress message if drop fails
2015-05-28 03:08:40 +00:00
Kp
3ec6340cb4
Update open-coded tests for object_none
2015-05-28 03:08:40 +00:00
Kp
1216c26704
Make exit nextcenter const
2015-05-28 03:08:40 +00:00
Kp
58c8b17619
Use helper for reading 16-bit segments
2015-05-28 03:08:40 +00:00
Kp
bb79e50656
Fix definition of newdemo_record_effect_blowup
...
Fixes: 9a32e151ff
("Pass check_effect_blowup vms_vector arg by &")
2015-05-28 03:08:40 +00:00
Kp
b6a9b2a853
Pass vsegptridx to wall_toggle
2015-05-28 03:08:40 +00:00
Kp
c0eb67a9f1
Use vsegptr in network messages
2015-05-28 03:08:39 +00:00
Kp
850853326c
Pass vsegptridx to gate_in_robot
2015-05-28 03:08:39 +00:00
Kp
1b0e3f4aa5
Pass vsegptr to multibot compute_segment_center
2015-05-28 03:08:39 +00:00
Kp
ea2c2df250
Update open-coded tests for segment_none
2015-05-28 03:08:39 +00:00
Kp
4007b297ec
Pass vcsegptr to aipath compute_segment_center
2015-05-28 03:08:39 +00:00
Kp
5cc38ea06c
Pass vcsegptridx to digi_link_sound_to_pos
2015-05-28 03:08:39 +00:00
Kp
136e6acda9
Pass vcobjptr to object_types
2015-05-28 03:08:39 +00:00
Kp
d586385bd1
Pass vcobjptr to object_ids
2015-05-28 03:08:39 +00:00
Kp
babfa9d8e7
Construct d_event_mousebutton
2015-05-28 03:08:39 +00:00
Kp
a8431a1933
Fix noreturn test with LTO
2015-05-28 03:08:38 +00:00
Kp
692038f284
Cache modifier keys
2015-05-28 03:08:38 +00:00
Kp
e98c679f06
Simplify key_flush
2015-05-28 03:08:38 +00:00
Kp
a991ff0d82
Remove write-only key_data
2015-05-28 03:08:38 +00:00
Kp
34fb7bde90
Test for !=SDL_RELEASED, not ==SDL_PRESSED
2015-05-28 03:08:38 +00:00
Kp
25186ca984
Remove write-only keyd_last_released
2015-05-28 03:08:38 +00:00
Kp
badad2ef33
Remove write-only keyd_last_pressed
2015-05-28 03:08:38 +00:00
Kp
a66da49cb6
Factor out mouse z button
2015-05-28 03:08:38 +00:00
Kp
821fefe145
Cache locals in mouse_button_handler
2015-05-28 03:08:38 +00:00
Kp
abfd8e4d83
Split mouse_toggle_cursor
2015-05-28 03:08:38 +00:00
Kp
83326e89e2
Factor out sending mouse clicks
2015-05-28 03:08:38 +00:00
zico
74b66a7f5a
Fixed regression (with kp's help) in multi_do_player_deres which made conditional check for map_objnum_local_to_remote fail for the wrong reasons
2015-05-25 11:48:05 +02:00
Kp
d29d52be7f
Restore temporary rear view
2015-05-24 17:16:38 +00:00
Kp
ec453dcb28
Merge "Clang fixes" from btb
...
clang whines about some innocuous constructs. Preprocess them out to
silence it.
Requested-by: btb <https://github.com/dxx-rebirth/dxx-rebirth/pull/63 >
2015-05-24 17:13:13 +00:00
Kp
7e3bec43a0
Allow object_none as killer in multi_compute_kill
2015-05-23 22:38:15 +00:00
Kp
73300a285d
Merge "change u_int*_t to C99 standard uint*_t"
...
Requested-by: btb <https://github.com/dxx-rebirth/dxx-rebirth/pull/67 >
Acked-by: Matt1360 <https://github.com/dxx-rebirth/dxx-rebirth/pull/67#issuecomment-104806115 >
2015-05-23 17:36:29 +00:00
Kp
d2724ea90f
Remove bogus backspace Int3
...
There is no reason to trap to debugger when backspace is pressed on a
window that ignores it. Remove the bogus trap.
Reported-by: A Future Pilot <http://www.dxx-rebirth.com/frm/index.php/topic,2024.msg21713/topicseen.html#msg21713 >
2015-05-23 17:25:56 +00:00
zico
1f6ae58f52
Added HANDS_OFF_PERIOD define for multibot to make sure code will not break if MAX_ROBOTS_CONTROLLED changes
2015-05-23 18:18:20 +02:00
Kp
41c58ec70e
Remove zlib.h from physfs test
...
The test does not use zlib functions directly.
2015-05-23 04:13:29 +00:00
Kp
d5cf0fcd6f
Store hoard goal_eclip locally
2015-05-23 04:13:29 +00:00
Kp
e116e894b0
Fix invalid free when hoard data is missing
...
If hoard data is not initialized, hoard_resources_type::reset frees
GameBitmaps[0].data, which is bogus_data instead of nullptr or a valid
pointer.
Fixes: d422e8656a
("Simplify HoardEquipped")
2015-05-23 04:13:29 +00:00
Kp
02c6f2a9f3
Fix gcc-4.6 render range error
...
gcc-4.6 fails to synthesize a move constructor to initialize
reversed_render_range; later gcc accept this.
Switch to capturing the value by const auto &&, which works in both old
and new gcc.
2015-05-22 03:33:21 +00:00
Kp
6615aff8a4
Fix gcc-4.6 piggy build
...
gcc-4.6 warns about the transition to new for scope rules; later gcc
does not warn.
Replace the loops with range-based for.
2015-05-22 03:33:20 +00:00