Kp
834ae3b885
Fix find_escort build with gcc-5
2015-04-22 02:44:30 +00:00
Kp
d4080c2505
Pass vcobjptr_t to draw_player
2015-04-22 02:44:30 +00:00
Kp
4d6d7fbbc7
Simplify automap door coloring
2015-04-22 02:44:30 +00:00
Kp
3eb8f4813e
Pass vcobjptr_t to apply_damage_to_controlcen
2015-04-22 02:44:30 +00:00
Kp
863b429eb9
Only visit valid robots
2015-04-22 02:44:30 +00:00
Kp
3c64abb90b
Use vsegptridx for load_mine_data segment loop
2015-04-22 02:44:30 +00:00
Kp
4572099403
Make endlevel globals static
2015-04-22 02:44:29 +00:00
Kp
eedfaab822
Remove OGL Max_linear_depth
2015-04-22 02:44:29 +00:00
Kp
ba4fdd8a0e
Prevent debugger trap for hands-off multi_robot_request_change
2015-04-19 19:12:33 +00:00
Kp
9ec82b6856
Fix array overread
2015-04-19 19:12:33 +00:00
Kp
bb9930bf5b
multi_robot_request_change: check robot_controlled[slot] for object_none
2015-04-19 04:18:54 +00:00
Kp
b46ecbb3e9
Add netgame parameter to duplicate powerups
2015-04-19 04:18:53 +00:00
Kp
4381b81497
Pack spawn granted items in D1
2015-04-19 04:18:53 +00:00
Kp
b32298df5a
Rewrite powerup cap code to centralize logic
2015-04-19 04:18:53 +00:00
Kp
96d92f6eaf
Use partial_range for player trigger check
2015-04-19 04:18:53 +00:00
Kp
b88c232f9f
Use powerup_type_t for *_weapon_to_powerup
2015-04-19 04:18:53 +00:00
Kp
62d04866c4
Propagate hud_show_weapons_mode for variable i
2015-04-19 04:18:53 +00:00
Kp
d7066c3eb9
Remove constant arguments to pick_up_ammo
2015-04-19 04:18:53 +00:00
Kp
28b4a65547
Centralize ammo rack bonus
2015-04-19 04:18:52 +00:00
Kp
adbefd39c4
Minimize unnecessary fields passed to check_effect_blowup
2015-04-19 04:18:52 +00:00
Kp
bee882dc99
Refactor gauges weapon coloring
...
Move logic into smaller functions to give the compiler more choices
about inlining.
2015-04-19 04:18:52 +00:00
Kp
98dc7cb90c
Optimize D1 super weapon handling
...
D1 has no super weapons. Remove the check for them.
2015-04-19 04:18:52 +00:00
Kp
cd6be09547
Reduce kconfig.h includes
2015-04-19 04:18:51 +00:00
Kp
c338862ad6
Reduce gauges.h includes
2015-04-19 04:18:51 +00:00
Kp
516b8b2397
Reduce collide.h includes
2015-04-19 04:18:51 +00:00
Kp
8582907b91
Reduce ai.h includes
2015-04-19 04:18:51 +00:00
Kp
aa4c5efbb9
Replace HAS_PRIMARY_FLAG(x) with HAS_x_FLAG
2015-04-19 04:18:50 +00:00
Kp
12673084a0
Remove obsolete player_has_primary_weapon D1 special case
2015-04-19 04:18:50 +00:00
Kp
9d213b5282
Wrap player_has_weapon return type
2015-04-19 04:18:50 +00:00
Kp
f74f879145
Simplify do_weapon_select call
2015-04-19 04:18:50 +00:00
Kp
0a1d643442
Remove obsolete weapon_num check
2015-04-19 04:18:50 +00:00
Kp
84c638ed64
Move PHYSFS_list_t to separate header
2015-04-19 04:18:49 +00:00
Kp
29a57b0dc0
Remove unused net_udp parameters
2015-04-19 04:18:49 +00:00
Kp
150e2d2686
Convert local arrays to array<>
2015-04-19 04:18:49 +00:00
Kp
7fd4ccb004
Simplify info_display_object_placement cache override
2015-04-19 04:18:49 +00:00
Kp
32b4b8f0bb
Use enum class for level save/load
2015-04-19 04:18:49 +00:00
zico
17f5f67948
Fixed regression from 2645d41b5f
- must use UDP_MDATA_STOR_QUEUE_SIZE for UDP_mdata_trace as it it a looping list
2015-04-18 22:15:52 +02:00
zico
03f9f11b6d
Reworked net_udp_noloss_validate_mdata() to properly REsend MDATA ACK for packets that have been received before
2015-04-18 15:00:24 +02:00
Kp
8c106ea2e9
Avoid potential underflow when n_phys_segs==0
2015-04-11 04:01:29 +00:00
Kp
e99a9236cf
Avoid redundant vsegptridx calculation in object_move_one
2015-04-11 04:01:29 +00:00
zico
1fd7cb8929
Fusion cannon in Descent 1 was nerfed for Multiplayer after it was made stronger in 1.1 patch. This is fine but players expressed it being not desirable for Coop - which makes sense to me. This fix only applies the nerf to non-Coop games.
2015-04-08 15:05:03 +02:00
zico
c60eb9c412
since the game keeps running during kmatrix, bail out of start_player_death_sequence if connect state != CONNECT_PLAYING to prevent incorrect suicide scoring
2015-04-08 14:37:33 +02:00
zico
b512127328
fixed player ships not disappearing upon kill which was caused by removal of PKilledFlags and the improper undoing of hack to keep player exploding and respawning events in order
2015-04-08 14:23:55 +02:00
Kp
55fada5c14
Fix texture filtering menu
...
Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/issues/59 >
Fixes: a84a05c701
("Move graphics menu to macro")
2015-04-07 01:55:57 +00:00
derhass
1c01698e88
GLES: fix use of uninitialized variables in ogl_texture_stats()
...
Querying GL_INDEX_BITS and GL_DOUBLEBUFFER is not allowed in GLES, so
just use a reasonable default values for both. This is only used to
estimate memory consumption by the framebuffer (which is a questionable
approach in itself, since all those are implementation details not exposed
by the GL, and the actual memory used is likely to be higher anyway).
2015-04-04 23:04:24 +02:00
derhass
49e7cfe37e
GLES: never declare the unused variable gl_draw_buffer
...
Move the declarition directly to the code part where it is used
(always in a #ifndef OGLES block).
2015-04-04 22:58:02 +02:00
Kp
df9ce26dfb
Fix WORDS_NEED_ALIGNMENT build
...
Integer promotion changed short+short into an int, but INTEL_SHORT only
takes short or unsigned short. Add a cast to force the result back to
short.
Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/issues/56 >
2015-04-04 17:23:47 +00:00
Kp
a9c81c5614
Move Weapon_is_energy to collide.cpp
2015-04-02 02:36:57 +00:00
Kp
1c7bae4fc4
Use local array<> for object_buffer
2015-04-02 02:36:57 +00:00
Kp
5ae5033fed
Use enum for AIB constants
2015-04-02 02:36:57 +00:00