Kp
23349f06e1
Use std::forward_list for cmd_queue
2015-06-07 16:20:47 +00:00
Kp
6bc96bd72b
Remove unaliased entries from map
2015-06-07 16:20:47 +00:00
Kp
e33b037b83
Use RAIIdmem for cmd_alias_t value
2015-06-07 16:20:47 +00:00
Kp
3dec5551ca
Use std::map for cmd_alias_list
2015-06-07 16:20:47 +00:00
Kp
948a4fc184
Use std::map for cmd_list
2015-06-07 16:20:47 +00:00
Kp
1afa132c18
Simplify cli gr_string call
2015-06-07 16:20:47 +00:00
Kp
ddb521c5e7
Use std::map for cvar_list
2015-06-07 16:20:46 +00:00
Kp
2be3ce1f01
Use std::string for cvar string
2015-06-07 16:20:46 +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
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
Bradley Bell
b69dee5c07
remove trailing newlines.
2015-04-25 13:48:11 -07:00
Bradley Bell
eaf40c24ce
use Int3 instead of assert.
2015-04-25 13:45:37 -07:00
Bradley Bell
70cf799a6a
use con_puts instead of con_printf.
2015-04-25 13:45:26 -07:00
Bradley Bell
3a550e124d
mark functions as static.
2015-04-25 13:45:26 -07:00
Bradley Bell
a63ec5bd7c
Merge branch 'unification/master' into command-line
2015-04-25 12:27:16 -07:00
Kp
23364a5862
Remove warn_unused_result from vm_vec_normalize
...
Some callers want the side effect of normalizing the argument and do not
need the magnitude. Per report from btb, the warning broke the OS X
build.
Reported-by: btb <5e4bd5c73f (commitcomment-10899878)
>
Fixes: 5e4bd5c73f
("vm_vec_delta_ang: check for vm_vec_copy_normalize failure")
2015-04-25 16:56:25 +00:00
Bradley Bell
1b08ed9aff
disable non-working clang support in travis
2015-04-25 16:54:05 +00:00
Kp
6d2d0f33fa
Merge 'Use Travis for CI' into unification/master
...
Requested-by: btb <https://github.com/dxx-rebirth/dxx-rebirth/pull/54 >
2015-04-25 16:51:49 +00:00
Bradley Bell
844aad2639
Merge branch 'unification/master' into command-line
2015-04-24 20:54:35 -07:00
Kp
65a0d35678
Remove bogus Int3 in object_to_object_visibility
...
A Future Pilot reports that find_vector_intersection can return an
unhandled fate. When Int3 is enabled, this crashes the game. Replace
the Int3 with a debug print.
Reported-by: A Future Pilot <http://www.dxx-rebirth.com/frm/index.php/topic,2024.msg21633.html#msg21633 >
2015-04-24 01:39:35 +00:00
Kp
147bc4ae0a
Merge pull #43 'Osx issues'
...
Requested-by: btb <https://github.com/dxx-rebirth/dxx-rebirth/pull/43 >
2015-04-24 01:39:35 +00:00
Kp
6e9638531a
Mark get_previous_segment static
2015-04-22 02:44:31 +00:00
Kp
9cfdc1d376
Fix game_leave_menus infinite loop if menu rejects close
2015-04-22 02:44:30 +00:00
Kp
08ee591e21
Fix ODR collision between ui/file browser and main/menu browser
2015-04-22 02:44:30 +00:00
Kp
834ae3b885
Fix find_escort build with gcc-5
2015-04-22 02:44:30 +00:00
Kp
bb3f414128
Cache scons subprocess calls
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
f86f06f1d4
Add -fvisibility=hidden when supported
...
Saves ~4k of text on debug+editor build
2015-04-22 02:44:29 +00:00
Kp
eee5e8d4b9
Require compiler support for constexpr
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