Kp
00c1429ebf
Use enum for Escort_special_goal
2015-06-13 22:42:15 +00:00
Kp
148c0f44c8
Convert segnum_t to uint16_t
2015-06-13 22:42:15 +00:00
Kp
5124c510f8
Fix serial endian_access -fno-inline build
2015-06-11 03:06:58 +00:00
Kp
75b72dc8e9
Fix hoard_resources_type -fno-inline build
...
Fixes: e116e894b0
("Fix invalid free when hoard data is missing")
2015-06-11 03:06:58 +00:00
Kp
906f93ddf1
Fix has_weapon_result -fno-inline build
...
Fixes: 9d213b5282
("Wrap player_has_weapon return type")
2015-06-11 03:06:58 +00:00
John Ackerman
fe71a94d53
Implement Nonlinear Joystick Settings
...
[Kp: fix whitespace; squash fixes into main]
Requested-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/pull/84 >
2015-06-11 01:41:26 +00:00
Kp
f6d6f221ad
Fix array underread for D1 bosses in D2
2015-06-07 16:21:37 +00:00
Kp
7e263323bc
Simplify boss invulnerability lookup
2015-06-07 16:21:37 +00:00
Kp
7c436f1fbb
Merge pull #39 into unification/master
...
Requested-by: btb <https://github.com/dxx-rebirth/dxx-rebirth/pull/39 >
Acked-by: Matt1360 <https://github.com/dxx-rebirth/dxx-rebirth/pull/39#issuecomment-88712761 >
Acked-by: zico <https://github.com/dxx-rebirth/dxx-rebirth/pull/39#issuecomment-88907523 >
2015-06-07 16:21:37 +00:00
Kp
ff452dbded
Move CLI code to common
...
None of it depends on D1 vs D2.
2015-06-07 16:20:46 +00:00
Kp
1115114e3d
Remove unnecessary old-style const stripping cast
...
This cast was necessary only because cvar_set_cvar was not properly
const.
2015-06-07 16:20:46 +00:00
Kp
3718678576
Reduce cvar.h includes
2015-06-07 16:20:46 +00:00
Kp
e40172f21a
Use RAIIdmem for console memory
2015-06-07 16:20:46 +00:00
Kp
67b684f277
Fix surface in exit video
...
Fixes: f3aa8e501b
("Simplify extract_vector_from_segment")
2015-06-06 18:03:45 +00:00
Kp
0141e9ed78
Remove redundant fix_sincos calls
...
The result is immediately overwritten. Skip computing it.
2015-06-02 03:03:32 +00:00
Kp
33204bac5c
Make Break_on_object static
2015-06-02 03:03:31 +00:00
Kp
bb5fd12ffe
Pass vcobjptr to object_intersects_wall
2015-06-02 03:03:31 +00:00
Kp
87eda88319
Skip copying vertex for boss fit check
2015-06-02 03:03:31 +00: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
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
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
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
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