Kp
2c09f9fa90
Propagate special types for distance/magnitude
2015-03-12 02:21:19 +00:00
Kp
f7d0c853ba
Use special types for distance/magnitude
2015-03-12 02:21:19 +00:00
Kp
c5bbaaaf87
Remove unused advance_sound
2015-03-11 02:19:15 +00:00
Kp
4840ddcd22
Support overriding build date/time
...
Help the reproducible build effort by letting the builder set a specific
date and time.
2015-03-11 02:19:15 +00:00
Kp
9f6cbbe0e0
Move Vertex_list to local scope
2015-03-11 02:19:15 +00:00
Kp
b69a9438a7
Fix SDL graphics menu build failure
...
Fixes: a84a05c701
("Move graphics menu to macro")
2015-03-11 02:19:15 +00:00
Kp
b414758505
Add stub for player color remapping
2015-03-09 03:33:07 +00:00
Kp
72a01bf56c
Add indirection for player color lookup
2015-03-09 03:33:07 +00:00
Kp
0f9aa2e94e
Refactor multi_do_message
2015-03-09 03:33:07 +00:00
Kp
cbe6661cee
Fix effecting/affecting
2015-03-09 03:33:07 +00:00
Kp
ddd9d71633
Reset object size when bashed to shield
...
Drakona noted in Retro that objects retain their original size when
converted to shields. Fixed in Retro as "Objects turned into shields
were sometimes the wrong size."
Reported-by: Drakona <catherine.e.darrow@gmail.com>
2015-03-09 03:33:07 +00:00
Kp
dcb2fc6524
Factor out UDP broadcast lookup
2015-03-07 17:20:41 +00:00
Kp
650831c0fe
Set -O2 for debug builds
...
Enable optimization by default for all builds. Users can pass -O0 if an
unoptimized build is needed.
2015-03-07 17:20:41 +00:00
Kp
a84a05c701
Move graphics menu to macro
2015-03-07 17:20:41 +00:00
Kp
d39d765208
Move sandbox menu to macro
2015-03-07 17:20:41 +00:00
Kp
1762470b3a
Move options menu to macro
2015-03-07 17:20:40 +00:00
Kp
7349a90cc8
Remove unused multi_send_message_dialog
2015-03-03 04:36:16 +00:00
Kp
cb83156132
Fix -O0 build
...
btb reports that clang fails to link
<77ec36b9c3 (commitcomment-9992820)
>.
When building at -O0, static member glow_num has its address referenced
because the compiler does not inline non-static method
glow_num_stub::operator=. Add a definition of this symbol.
Fixes: 77ec36b9c3
("Convert g3_draw_morphing_model to class")
2015-03-03 04:36:16 +00:00
Kp
1f5190bcfd
Fix resource leak closing SDL RW ops
...
Leak introduced in b3d134a6b7
("merged
physfs branch"), but this fix only applies after the conversion to RAII.
An equivalent change from SDL_FreeRW->SDL_RWclose is needed for pre-RAII
code.
Fixes: d0de0cf963
("Use unique_ptr for SDL_RWops")
2015-02-28 22:34:07 +00:00
Kp
5dace576ae
Defer checking citem in state_callback
2015-02-28 22:34:07 +00:00
Kp
81eae187e5
Pass selection for EVENT_NEWMENU_CHANGED
2015-02-28 22:34:07 +00:00
Kp
cc508be34c
Pass selection for EVENT_NEWMENU_SELECTED
2015-02-28 22:34:07 +00:00
Kp
d6e029194b
Fix memory leak on escort menu
2015-02-28 22:34:07 +00:00
Kp
0684444765
Fix Windows build
...
Fixes: 07869d9dba
("Add automatic demo recording")
2015-02-28 22:34:07 +00:00
Kp
14530d43ea
Guard g3d_interp_outline by defined(EDITOR)
2015-02-28 22:34:07 +00:00
Kp
2397bc9a02
Cache &Polygon_models[N_polygon_models]
2015-02-28 22:34:07 +00:00
Kp
86800b1515
Simplify op_sortnorm
2015-02-28 22:34:06 +00:00
Kp
68be3baeca
Track highest_texture_num locally
2015-02-28 22:34:06 +00:00
Kp
87516a5b1b
Always update glow_num
...
If !glow_values, the update will be ignored later.
2015-02-28 22:34:06 +00:00
Kp
1833ea6bfa
Factor out polymodel init_sub switch
2015-02-28 22:34:06 +00:00
Kp
c0a8f598c2
Factor out polymodel morph switch
2015-02-28 22:34:06 +00:00
Kp
c0eb4391ba
Factor out polymodel draw switch
2015-02-28 22:34:06 +00:00
Kp
655dc60850
Factor out polymodel color switch
2015-02-28 22:34:06 +00:00
Kp
aafe252c6d
Factor out polymodel chunk switch
2015-02-28 22:34:06 +00:00
Kp
2085fcca34
Factor out record size
2015-02-28 22:34:06 +00:00
Kp
e19237c105
Factor out polymodel swap switch
2015-02-28 22:34:06 +00:00
Kp
1a0f409648
Convert init_model_sub to class
2015-02-28 22:34:05 +00:00
Kp
77ec36b9c3
Convert g3_draw_morphing_model to class
2015-02-28 22:34:05 +00:00
Kp
c080f65e81
Convert g3_draw_polygon_model to class
2015-02-28 22:34:05 +00:00
Kp
0ec4a876c5
Convert g3_poly_get_color to class
2015-02-28 22:34:05 +00:00
Kp
a07ae16d93
Convert get_chunks to class
2015-02-28 22:34:05 +00:00
Kp
8338cc7640
Convert swap_polygon_model_data to class
2015-02-28 22:34:05 +00:00
Kp
07869d9dba
Add automatic demo recording
...
Various users want automatic demo recording. Add new command line options:
-auto-record-demo start recording on level entry
-record-demo-format set demo name automatically
For -record-demo-format, specify a template containing any mix of strftime
insertions, variable insertions, and literal text. As a special case, specify
"." to use the builtin template "%Y%m%d.%H%M%S-$p-$m". Most users should use
".". Supported variables:
$p name of pilot recording the demo
$m name of msn/mn2 file played
Suggested by jeffersoncarpenter in https://github.com/dxx-rebirth/dxx-rebirth/pull/33 , but implemented by vLKp.
2015-02-28 19:36:02 +00:00
Kp
335780758b
Remove unused DXX_*_INPUT argument MAX_TEXT_LEN
2015-02-28 19:36:02 +00:00
Kp
ec1ab45f4d
Remove bogus KEY_BACKSP trap
...
Numbers accept KEY_BACKSP to mean value-=10.
2015-02-28 19:36:01 +00:00
Kp
3dfac8350e
Use array<> for robot_info
2015-02-28 19:36:01 +00:00
Kp
a9a330bf3f
Use array<> for expl_wall_list
...
Fixes: 125d9257be
("Use special type names for segment/object numbers")
2015-02-28 19:36:01 +00:00
Kp
b940ca0510
Use array<> for bogus_data
2015-02-28 19:36:01 +00:00
Kp
8ad180c0a2
Use array<> for Reactors
2015-02-28 19:36:01 +00:00
Kp
1580a274f2
Use array<> for net_udp buffers
2015-02-28 19:36:01 +00:00