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
|
204b7d7cb7
|
Remove dangerous const-removing constructor
Fortunately, this constructor was unnecessary. If it had ever been
used, later code could d_free() read-only storage.
|
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
|
3b54c50230
|
Use std::bitset for laser hitobj mask
|
2015-06-06 18:03:45 +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
|
f7de7d132a
|
Add initial support for minimum_size
|
2015-06-05 02:34:40 +00:00 |
|
Kp
|
a8bb0ad07d
|
Use integral_constant for serial constants
|
2015-06-05 02:34:40 +00:00 |
|
Kp
|
39b705b352
|
Use integral_constant for grant masks
|
2015-06-05 02:34:40 +00:00 |
|
Kp
|
a918692a23
|
Preprocess out EDITOR-only vm_vec_ang_2_matrix
Remove vm_vec_ang_2_matrix from non-EDITOR builds so that
sincos_2_matrix has only one caller, allowing compiler to implicitly
inline it.
|
2015-06-02 03:03:32 +00:00 |
|
Kp
|
0f6a82963a
|
Inline fix_sincos in vm_extract_angles_matrix
|
2015-06-02 03:03:32 +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
|
53a7798d80
|
Simplify fix_sincos calls
|
2015-06-02 03:03:31 +00:00 |
|
Kp
|
b207aa6900
|
Shorten vm_angles_2_matrix
|
2015-06-02 03:03:31 +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 |
|
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 |
|