Kp
c704cc9fc9
Add const void* conversion to various types
...
Add operator const void*() to prevent accidental use of pointer
comparison. With the overload present, comparing two objects triggers
an ambiguous conversion to pointer, instead of comparing the pointer
values.
2014-10-12 22:11:28 +00:00
Kp
6977a0eb74
Add operator!= to callsign_t
2014-10-11 04:33:22 +00:00
Kp
c928c09884
Skip sqrt for homing check
2014-10-10 02:41:51 +00:00
Kp
eef8bb3365
Pass collide_two_objects vms_vector arg by &
2014-10-10 02:30:13 +00:00
Kp
bcb26678e2
Remove unused hitpt on check_volatile_wall
2014-10-10 02:29:47 +00:00
Kp
a8f853aa7a
Pass d_event arg by const&
2014-10-04 22:36:13 +00:00
Kp
3714c0c645
Use new serializer for writing segment side wall/tmap
2014-10-04 17:53:14 +00:00
Kp
af26259158
Remove unnecessary padding in segment sides
2014-10-04 17:53:03 +00:00
Kp
2a63700d95
Use magic type for wall magic constants
2014-10-04 17:31:13 +00:00
Kp
6971dfbf4a
Use symbolic *_none constants for -1
2014-10-04 17:31:13 +00:00
Kp
93113bc400
Pass player_is_visible_from_object arg by &
2014-10-02 03:02:38 +00:00
Kp
3d6d2d3f14
Pass make_random_vector arg by &
2014-10-02 03:02:38 +00:00
Kp
02fd23f6af
Pass player_is_visible_from_object arg by const &
2014-10-02 03:02:37 +00:00
Kp
5b97433ce5
Make various ai functions take const vms_vector&
2014-10-02 03:02:36 +00:00
Kp
16b87b350f
Pass const vms_vector* to ai_follow_path
2014-10-02 03:02:36 +00:00
Kp
586f9ec0ee
Pass draw_polygon_model arg by const &
2014-10-02 03:02:35 +00:00
Kp
ff37e54087
Change Vertices to array<vertex>
2014-10-02 03:02:34 +00:00
Kp
0d0297553e
Simplify bm_free_extra_models
2014-09-28 21:55:59 +00:00
Kp
59cacbd8ce
Move Allow_marker_view, AlwaysLighting into DXX_BUILD_DESCENT_II
2014-09-28 21:09:22 +00:00
Kp
dc511d0a5c
Pass array<> to iff_read_animbrush
2014-09-27 23:06:33 +00:00
Kp
78ad2adabf
Write weapon_info carefully
2014-09-27 22:46:25 +00:00
Kp
382afad2b8
Refactor weapon_info_read_n
...
Fix potential for initializing .children to wrong value with old data
files. Currently, this cannot be hit because no caller uses the right
combination of arguments to cause it.
Rely on partial_range to report invalid custom files.
2014-09-27 21:21:58 +00:00
Kp
93bb883563
Use array<> for weapon_info fields
2014-09-27 17:15:17 +00:00
Kp
afd995aa22
Centralize N_D2_* constants in bm.h
2014-09-27 15:42:45 +00:00
Kp
53035620d5
Fix clang build of wall constants
2014-09-22 03:35:34 +00:00
Kp
9eda412dff
Use symbolic constant wall_none
2014-09-21 23:05:14 +00:00
Kp
7b36462700
Pass multiplayer message type to multi_process_data
2014-09-21 22:10:21 +00:00
Kp
e6b9f3f923
Use typedef for player number
2014-09-21 22:10:12 +00:00
Kp
6d5b9e3004
Move MAX_BITMAPS_PER_BRUSH definitions to piggy.h
2014-09-21 21:53:54 +00:00
Kp
703f60ac3f
Fix -Wtype-limits warnings
2014-09-21 21:41:55 +00:00
Kp
ef42a7cdad
Compact version number definition
2014-09-17 02:45:32 +00:00
Kp
5f8ede8d8f
Remove state_save_old_game
...
Saving old player structure is broken since d9e2337
switched to saving
the pointer to sg_player instead of the value of sg_player. No one
reported it in 6 years, so remove it.
2014-09-17 02:45:02 +00:00
Kp
191ecd2cdc
Remove write-only field matcen_info::interval
2014-09-17 02:07:55 +00:00
Kp
4b2ad9e3df
Remove write-only field matcen_info::hit_points
2014-09-17 02:07:50 +00:00
Kp
f0a1146b29
Unify MULTI_ROBOT_EXPLODE
...
Derive thief state locally. Remove unused player number. Use new
serializer.
2014-09-14 01:14:33 +00:00
Kp
44827606bc
Use serialize for multi_claim_robot
2014-09-13 23:45:13 +00:00
Kp
f5ee5f8813
Use array<> for side
2014-09-13 22:05:52 +00:00
Kp
01638a7eb0
Move N_render_segs into render_state_t
2014-09-07 23:56:37 +00:00
Kp
a02f78a171
Move saving window pointer into helper
2014-09-07 19:04:07 +00:00
Kp
73a0aee004
Use accessor for side::type
2014-09-06 22:36:58 +00:00
Kp
02e2e77ee6
Tighten processing of WALL_IS_DOORWAY flags
2014-09-06 22:26:11 +00:00
Kp
d312248d45
Return int_fast32_t from find_connect_side
2014-09-06 04:06:18 +00:00
Kp
6af1b910df
Short circuit ambient_mark_bfs test for child segments
2014-09-04 02:24:54 +00:00
Kp
3e8ec8932f
Use array<> for player_config
2014-08-26 02:59:01 +00:00
Kp
fea751bc62
Use std::string for mission path
2014-08-24 17:45:30 +00:00
Kp
8d835f8e34
Reduce inclusion of compiler-begin.h
2014-08-24 03:36:35 +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
83c6b60123
Use array<> for textures_list
2014-08-16 22:18:14 +00:00
Kp
1d16377d48
Change isyou to your_index and promote it out a layer
...
There is only ever one record for which isyou is true.
2014-08-16 21:56:46 +00:00