Kp
6fd6436f14
Move player energy to object.ctype.player_info
2015-11-07 21:55:58 +00:00
Kp
2196008178
Move fwdobject.h -> fwd-object.h for consistency
2015-10-10 03:44:14 +00:00
Kp
b48efd0c56
Initialize the largest subobjects in object unions
2015-09-22 02:28:38 +00:00
Kp
1cdd4ac2ce
Pass object & to [gs]et_*_id
2015-09-15 02:48:04 +00:00
Kp
2155c417cb
Move array_managed_type into valptridx<T>
2015-08-22 20:43:04 +00:00
Kp
f8008ca34f
Only define object_array_t::object_array_t if VALGRIND
2015-08-22 20:43:04 +00:00
Kp
745de17c41
Use T::index_type for highest_valid
2015-07-13 01:09:36 +00:00
Kp
06b453d617
Enable D1 weapon drops
2015-07-02 02:37:55 +00:00
Kp
3b54c50230
Use std::bitset for laser hitobj mask
2015-06-06 18:03:45 +00: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
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
9dc22b1ee6
Expand DXX_CXX11_EXPLICIT_DELETE
...
Various functions use the non-macro form, so support for =delete is
already mandatory. Remove the remnants of support for compilers which
lack =delete and replace it with a hard stop when the compiler rejects
declaring explicitly deleted functions.
2015-05-01 02:18:33 +00:00
Kp
b32298df5a
Rewrite powerup cap code to centralize logic
2015-04-19 04:18:53 +00:00
Kp
adbefd39c4
Minimize unnecessary fields passed to check_effect_blowup
2015-04-19 04:18:52 +00:00
Kp
51ab9ff9d6
Simplify DXX guard on object.h
2015-04-19 04:18:52 +00:00
Kp
efc5b071de
Remove object_rw::pad, pad2
...
The presence of these fields breaks network compatibility between
aligned and unaligned users. Removing these fields breaks the ability
to use aligned savegames. Per discussion in
<fdaa09d7f9
>,
this is acceptable to clean up the code.
Reported-by: derhass <http://www.dxx-rebirth.com/frm/index.php/topic,1986.msg21232.html >
Approved-by: zico <fdaa09d7f9 (commitcomment-10575014)
>
2015-04-04 23:20:12 +00:00
Kp
90fbebf8fd
Convert most global arrays to array<>
2015-04-02 02:36:52 +00:00
Kp
b32d1c76c9
Move powerup size reset into set_powerup_id
2015-03-28 17:18:02 +00:00
Kp
91d31b1952
Wrap object signature in subtype
2015-03-22 18:49:21 +00:00
Kp
d1f45f85b2
Wrap submodel angles
2015-02-14 22:48:28 +00:00
Kp
bb60f64001
Undefine object instances at construction
2015-01-28 03:42:52 +00:00
Kp
9ffd958d3d
Create window_rendered_data locally
2014-12-18 04:12:38 +00:00
Kp
88101f8f57
Move object declarations to fwdobject.h
2014-11-23 04:36:58 +00:00
Kp
7e3c7a413a
Pass obj_create_copy vector by const &
2014-11-01 03:06:04 +00:00
Kp
95c3dc81e6
Pass drop_marker_object arg by &
2014-10-30 03:19:32 +00:00
Kp
53aa70cecb
Use vsegptridx_t
2014-10-28 03:08:51 +00:00
Kp
2a5265493e
Pass obj_create position vms_vector by &
2014-10-26 21:35:16 +00:00
Kp
f08224e4ee
Move [gs]_*_id object helpers down
2014-10-25 16:11:23 +00:00
Kp
b95759aecc
Propagate use of objptridx
2014-08-23 23:53:56 +00:00
Kp
66cb80c343
Propagate use of objptridx
2014-08-17 20:31:18 +00:00
Kp
915b78b5e1
Add vvalptridx_t for always-valid valptridx values
2014-08-13 03:19:12 +00:00
Kp
125d9257be
Use special type names for segment/object numbers
2014-08-13 02:57:12 +00:00
Kp
553f17a3be
Initialize MarkerObject properly
2014-08-05 03:10:04 +00:00
Kp
d667772b21
Move valptridx operator- into DEFINE_VALPTRIDX_SUBTYPE
2014-08-02 00:46:56 +00:00
Kp
bd1c6d8c5d
Reduce header includes of physfsx.h
2014-07-22 23:48:23 +00:00
Kp
082bb43ede
Fold valptridx_t features into template
2014-07-13 03:43:32 +00:00
Kp
c1aebe6771
Remove unused OBJ_FLARE
2014-07-12 16:38:33 +00:00
Kp
fa24a40033
Move Highest_object_index into Objects[]
2014-07-06 03:34:43 +00:00
Kp
08546489c3
Require integral index to Objects[]
2014-07-06 03:34:43 +00:00
Kp
da1bd2fd08
Precompute collision tables
2014-06-24 03:40:31 +00:00
Kp
f6631ce742
Unpack various structures
...
Prohibit conversion to void* to avoid accidental use with memcpy
2014-06-21 23:56:27 +00:00
zico
ad7cb106bc
Changed custom D1X license to GPLv3
2014-06-01 19:55:23 +02:00
Kp
a2427f58b5
Use special type to reduce pointer/index conversions
2014-01-12 19:32:12 +00:00
Kp
da8e5459d6
Return objptridx_t from obj_create_copy
2014-01-12 19:32:10 +00:00
Kp
599af3e1ba
Return objptridx_t from obj_allocate
2014-01-12 19:14:16 +00:00
Kp
377626541d
Pass objptridx_t to render_object
2014-01-11 23:06:33 +00:00
Kp
70b8a2bb6d
Disallow using operator-(objptridx_t,Objects)
...
Implicit conversions made this work, but it just does extra work for no gain.
2014-01-11 22:50:07 +00:00
Kp
8cbd85a77d
Unpack laser_info to fix build on old compilers
2014-01-11 21:51:29 +00:00
Kp
fca105e95d
Pass objptridx_t to create_small_fireball_on_object
2014-01-11 17:25:26 +00:00
Kp
a0ac77569b
Pass objptridx_t to obj_delete
2014-01-11 17:22:11 +00:00