Commit graph

5023 commits

Author SHA1 Message Date
Kp be8c9d5d2d Split out trigger_write
Conditional trigger_write is hard to read.
2014-06-20 02:59:53 +00:00
Kp 8cc3e2c9e9 Use array<> for Triggers 2014-06-20 02:59:53 +00:00
Kp cb498b3b38 Make padding value customizable 2014-06-20 02:59:53 +00:00
Kp fa77105084 Simplify D2X trigger upgrade code 2014-06-20 02:59:53 +00:00
Kp 952fc31449 Simplify d1_matcen_info_read 2014-06-20 02:59:53 +00:00
Kp 92814475a9 Use array<> for RobotCenters 2014-06-20 02:59:52 +00:00
Kp 8e7b2f7d15 Fix range in disable_matcens
Num_robot_centers is for RobotCenters[], not Station[].
2014-06-15 22:19:26 +00:00
Kp 958f452d2e Improve UDT static_assert messages 2014-06-15 22:19:26 +00:00
Kp 64b78e0061 Fix copy-paste bug for multiplayer weapon sound
Send SOUND_GOOD_SELECTION_SECONDARY for changing secondaries.
2014-06-15 04:00:18 +00:00
Kp d510438fd4 Use array<> for WallAnims 2014-06-15 03:35:21 +00:00
Kp bd35eb7469 Use array<> for wclip arrays 2014-06-14 23:13:38 +00:00
Kp 1cf1373fb2 Use array<> for control_center_triggers members 2014-06-14 23:13:38 +00:00
Kp 9ab8a587b8 Write FuelCenter structures carefully 2014-06-14 23:13:38 +00:00
Kp 4bc9475076 Use array<> for Station 2014-06-14 23:13:37 +00:00
Kp 93ec327a10 Write powerup_type_info structures carefully 2014-06-14 23:13:37 +00:00
Kp 7c62bf98ef Use array<> for Powerup_info 2014-06-14 01:15:33 +00:00
Kp 488e46b562 Return reasonable type from deleted partial_range
Avoid secondary errors related to binding void as a range.
2014-06-14 01:15:33 +00:00
zico 1136619786 merge 2014-06-12 10:42:26 +02:00
zico c96aece6d2 Removed PARALLAX banner from source files that were not released by PARALLAX; most importantly C source code translated from Assembler and args.cpp which was rewritten from scratch 2014-06-12 10:41:03 +02:00
Kp dfc4b66f95 Use std::swap in meddraw.cpp 2014-06-08 00:05:33 +00:00
Kp 743cb49ed8 Make cockpit_decode_alpha static 2014-06-08 00:05:33 +00:00
Kp f7ceca974b Add config.h inclusion for digi.cpp
Win32 builds fail without this.
2014-06-08 00:05:33 +00:00
Kp c4ae4e5379 Pass player number to multi functions 2014-06-08 00:05:33 +00:00
Kp 6f9cdcd01c Pass player number to multibot functions 2014-06-08 00:05:33 +00:00
Kp e5673ae8ea Pass pnum to boss action 2014-06-08 00:05:33 +00:00
Kp 61b3b52868 Propagate failure in create_gated_robot 2014-06-08 00:05:33 +00:00
Kp 1eabce05b1 Only use defined AI path 2014-06-08 00:05:33 +00:00
Kp 5eb3c6267a Remove C-only warnings 2014-06-08 00:05:33 +00:00
Kp 7f3ad84094 Use std::swap instead of inline swap 2014-06-08 00:05:33 +00:00
Kp e326567cdf Skip useless sin computation 2014-06-08 00:05:33 +00:00
Kp dd3c1144a9 Remove useless Sounds[] counting loop 2014-06-08 00:05:33 +00:00
Kp 5d34d178dc Remove write-only variable tmap_times_used 2014-06-08 00:05:33 +00:00
Kp b7a9701564 Get rid of MarkerPoint
Hope MT's ambiguous "horrible bug" is long gone since he never said what
it was.
2014-06-08 00:05:33 +00:00
Kp 41dc39c64c Remove unused v19_door 2014-06-08 00:05:33 +00:00
Kp b5701bf202 Add __attribute__((warn_unused_result)) to partial_range 2014-06-08 00:05:33 +00:00
Kp 5c14cf870f Add optional offset to partial_range 2014-06-08 00:05:33 +00:00
Kp 20164b0639 Use symbolic constants for trigger types 2014-06-08 00:05:33 +00:00
Kp 6f84624f4c Remove write-only D1X trigger field type 2014-06-08 00:05:32 +00:00
Kp 766ed23dda Remove broken TRIGGER_MATCEN check
D1X sets flags to TRIGGER_MATCEN, not type.
2014-06-08 00:05:32 +00:00
Kp ebfb559fe1 Add dummy parameter version to D2 matcen_info_read 2014-06-08 00:05:32 +00:00
Kp 0257b9ca1c Disallow using signed offsets with partial_range 2014-06-08 00:05:32 +00:00
zico bca9531fbe corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
zico ad7cb106bc Changed custom D1X license to GPLv3 2014-06-01 19:55:23 +02:00
zico 090e4c5f1d Reverted commit 8f112d669c. 2014-06-01 19:10:38 +02:00
zico a5893af38b Reverted commit 0c10c9db7f. 2014-06-01 19:09:42 +02:00
zico 8a4ac70541 Reverted commit ec709efaa3. 2014-06-01 19:08:29 +02:00
zico ab4975bab0 Reverted commit 347292d866 2014-06-01 19:08:17 +02:00
Kp 07f0555099 Switch missed sites to vclip_write/eclip_write 2014-02-05 02:37:39 +00:00
Kp 14cdf1b352 Fix crash loading game with in-flight weapon 2014-02-02 00:22:12 +00:00
Kp 72b7ff6720 Write vclip structures carefully 2014-02-01 19:26:16 +00:00