zookeeper
0c5a72a5d3
Trunk sync r11329, with some cosmetic changes to the EFF subdirs code to conform with recent bmpman changes.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11330 387891d4-d844-0410-90c0-e4c51a9137d3
2015-05-03 19:07:22 +10:00
zookeeper
e1591a7be1
Trunk sync r11296.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11297 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-11 09:12:26 +10:00
zookeeper
e64299e533
Added a hud_gauges.tbl flag for controlling whether ETS gauges should disappear when ETS is disabled.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11287 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-23 17:51:38 +10:00
zookeeper
fa3506f5a5
Fixed "get-ets-values" to "get-ets-value" in the help string.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11283 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-19 16:40:11 +10:00
zookeeper
bd200d631d
Trunk sync r11277.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11278 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-08 12:46:17 +10:00
zookeeper
225c5ccd90
Made it possible to name control presets, and made controls config display the current preset's name if there are multiple to choose from.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11277 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-08 12:46:16 +10:00
zookeeper
2958cb7ece
Possibly fixed Mantis #2436 : Mouse controls ignore the axis binds.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11275 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-07 09:39:20 +10:00
zookeeper
affd2a40c6
Added bay arrive/depart speed multipliers to +Path Metadata.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11271 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-04 22:42:57 +10:00
zookeeper
591026084d
Added a "Show Destroyed Subsystems" flag to ship lab for viewing -destroyed submodels.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11269 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-03 16:22:45 +10:00
zookeeper
acf1f160d9
Fixed +Spread From LOD not working right.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11268 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-03 16:22:45 +10:00
zookeeper
7ec3d3f1ad
Added $Collision LOD ship table property, for using a LOD for collision detection.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11267 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-03 16:22:45 +10:00
zookeeper
6ea9d8d1f0
Typo-fixed and clarified some SEXP argument descriptions.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11259 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-28 19:55:33 +10:00
chief1983
758514af77
Trunk sync r11257.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11258 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-24 18:36:28 +10:00
zookeeper
d178d36ad2
Made the firepoint HUD gauge light up only the firepoints which will fire next, if "dynamic primary linking" ship flag or "cycle" weapon flag is used.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11256 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-22 10:30:11 +10:00
zookeeper
4e0cb1f5f5
Trunk sync r11236.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11237 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-03 17:08:52 +10:00
zookeeper
4b06b9730c
Avoid loading the anchor ship model multiple times when resolving path masks.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11235 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-03 17:08:52 +10:00
zookeeper
6858371ebc
Set the Sender hook variable to nil in On Message Received hooks if message not coming from a ship.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11232 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-27 18:27:35 +10:00
zookeeper
f28082d241
Trunk sync r11230.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11231 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-27 18:27:35 +10:00
chief1983
1c500458fa
Trunk sync r11222.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11224 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-24 09:22:26 +10:00
zookeeper
876360c5fb
Fixed an off-by-one mistake.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11219 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-18 12:27:54 +10:00
zookeeper
489867c0dd
Fixed game_settings.tbl default volume controls not working when creating a new but not first pilot.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11217 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-17 08:34:25 +10:00
zookeeper
32dee2889a
Trunk sync r11215.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11216 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-15 09:59:24 +10:00
zookeeper
52c537d7b8
Probably fixed a bug with the next/prev subsystem targeting keys not working if the target only has one subsystem.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11209 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-15 09:59:24 +10:00
zookeeper
90c868b8f5
Trunk sync r11205.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11207 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-15 09:59:24 +10:00
zookeeper
9b590d6f2c
Trunk sync r11199.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11200 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-20 11:54:45 +10:00
zookeeper
e69e050412
Avoid running On Frame hooks during all popups, not only the "Quit mission" popup.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11199 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-20 11:54:45 +10:00
zookeeper
880a2cbf26
Trunk sync r11193.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11194 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-11 18:18:20 +10:00
zookeeper
8b55964a5c
Trunk sync r11163.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11164 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-30 13:23:53 +10:00
zookeeper
10b6640afd
Trunk sync r11161.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11162 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-29 18:46:59 +10:00
zookeeper
ba057dc137
Fix various issues with $Acceleration Time.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11100 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-03 18:18:39 +10:00
chief1983
eaafbabdaf
Trunk sync r11090.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11091 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-29 12:17:57 +10:00
zookeeper
3a3ca4e206
Fixed MAX_SHIP_FLAG_NAMES having the wrong value.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11088 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-27 18:19:07 +10:00
zookeeper
07a7ad3461
Trunk sync r11085.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11086 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-25 19:37:39 +10:00
zookeeper
da166f35ba
Fixed weapon particle spews not taking launch velocity properly into account if $Acceleration Time is used.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11085 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-25 19:37:28 +10:00
zookeeper
f73b142071
Trunk sync r11070.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11071 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:17 +10:00
zookeeper
ce5bd90a7f
Fixed compilation issue stemming from trunk r10964.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10994 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:17 +10:00
zookeeper
1f7203ec0f
Reverted (r10896) Default_min_draw_distance back to 1 due to z-order glitches it somehow caused.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10993 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:17 +10:00
zookeeper
c6fe99a1cc
Added new $Subdir: <bool> .eff file property, allowing the animation frames to be located in a subdirectory.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10992 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:17 +10:00
zookeeper
60d8ded285
Trunk sync r10990.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10991 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:17 +10:00
zookeeper
5f6089df4f
Trunk sync r10959.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10960 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
c2ab1f4edb
Trunk sync r10933.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10934 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
3681add767
Fixed a screwup in a trunk sync.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10917 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
32d1af2c71
Trunk sync r10900.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10905 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
66fb035b2c
Decreased minimum draw distance from 1 to 0.1, and maximum draw distance from 1e10 to 10,000,000.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10896 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
a667d1f635
Trunk sync r10794.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10795 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:16 +10:00
zookeeper
8f3cc556b7
Fixed crash due to an improperly placed if, introduced in r10729.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10790 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
b8b652874c
Fixed $Thruster Glow Noise Mult not having effect in the ship lab.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10789 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
87ed7e8d87
Trunk sync r10777.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10778 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
6f262613af
Fixed breakage in r10520.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10777 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
245c32285d
Fixed breakage introduced in the shield impact effects code.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10776 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
998c530ed0
Bumped the SEXP variable char limit from 32 to 256.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10775 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
ab44765c0d
Initialize bay_arrive_speed_mult and bay_depart_speed_mult.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10731 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
707ce957ef
Trunk sync r10729.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10730 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
58185d11f4
Don't parse bsp trees of non-colliding submodels.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10729 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
7dfc7bef68
Trunk sync r10629.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10630 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:15 +10:00
zookeeper
835e05c771
Trunk sync r10627.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10628 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
dbde386299
Added a $Model Icon Direction ship table entry for overriding the angle from which ship icons are rendered from.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10612 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
ee6e5aabd7
Added a $Thruster Glow Noise Mult ship table entry for decreasing/increasing the effect of noise applied to the glow radius.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10610 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
542f20bec1
Added a $Minimum Engine Volume ship table entry for specifying the minimum engine sound volume used when ship is stationary.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10609 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
8b68aa537b
Trunk sync r10605.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10606 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
6c4ad6aac9
Added a ship flag to disable homing of secondaries fired by the ship.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10605 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:14 +10:00
zookeeper
3e66436edf
Fix some stuff apparently missed in trunk syncs.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10560 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
a8fe0f5b61
Trunk sync r10558.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10559 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
eca8d4f2cb
Trunk sync r10545.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10546 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
0a69cc3cf2
Trunk sync r10520.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10521 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
55f1ed93d2
Reverted r9825 and r9827 for now because they break badly on some corner cases.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10520 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
ed365d1349
Fixed oversight in r10490.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10508 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-11 19:50:13 +10:00
zookeeper
be2f628ac3
Renamed "$Max Shield Recharge Percent" to "$Max Shield Recharge", along with the associated variables.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10490 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:02 +10:00
zookeeper
4d0274b196
Trunk sync r10479.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10480 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:02 +10:00
zookeeper
16e32a0d45
Trunk sync r10471.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10472 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:02 +10:00
zookeeper
c85ef1f429
Hopefully increased the arrival/departure paths restriction dialog's width by 100px so even longer path names will be fully visible.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10442 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:02 +10:00
zookeeper
312a601ac6
Trunk sync r10431.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10432 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
70d5c7998c
Ported $Max Shield Recharge Percent from Wanderer branch, with some alterations.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10427 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
bec99b27f1
Added ai_profiles.tbl options to force AI ships flying bay paths to gradually accelerate/decelerate instead of flying the path at max speed.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10422 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
d3d8d82e31
Made $Shield Impact Explosion Radius default to the value of $Impact Explosion Radius.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10421 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
f1495861b9
Ported the surface shield impact effects code from Wanderer branch, making it work on any type of shield and renaming the table entries to $Shield Impact Explosion and $Shield Impact Explosion Radius.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10420 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
987abad6db
Made the Shields handle support non-quadrant shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10395 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
869c021453
Trunk sync r10393.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10394 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
df5746b329
Trunk sync r10314.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10315 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
8209273f8c
Trunk sync r10293.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10294 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:01 +10:00
zookeeper
c14a37a826
Added a +Minimum Weapon Span auto spread shield option to control the minimum distance weapons must have traveled before being allowed to hit the shield.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10292 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
308acbe7aa
Trunk sync r10290.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10291 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
614d83ff4e
Fixed $Velocity Inherit not working right with regards to the AI and lead sights.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10285 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
9de34836d0
Added a ship flag to make detail boxes unaffected by model detail settings.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10284 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
1b224c1361
Fixed $Velocity Inherit and tweaked a few comments.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10283 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
6cccc502a1
Added a new #SOUND SETTINGS section to game_settings.tbl and in it overrides for the default sound, music and voice volume.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10282 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
83a191828a
Trunk sync r10280.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10281 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
67026a1066
Trunk sync r10270.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10271 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
b24b08d168
Trunk sync r10255.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10256 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
54b21407f9
Trunk sync r10237.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10238 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
3225f25150
Added the "no homing speed ramp" weapon flag as well as the $Acceleration Time and $Velocity Inherit weapon table entries.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10226 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:19:00 +10:00
zookeeper
55aca9510d
Fixed screwup in r10122 which was supposed to fix screwups.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10212 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
1374b52ef4
Trunk sync r10205.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10206 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
ecf99de11b
Enabled fighterbay door animations to better define which bay path must be used or not used for the animation to trigger using +sub_type. Fixes the (undocumented) current numbering of fighterbay +sub_types to be 1-based instead of 0-based. Turns the SUBTYPE_CHECK macro to a proper function.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10193 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
af5b6a8c66
Made +delay, +reverse_delay and +acceleration in animation code optional and default to 0.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10191 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
356cddb4ea
Trunk sync r10188.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10189 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
14380d293e
Trunk sync r10168.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10169 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
2ef033dcdd
Fixed a merging screw-up which broke the $Action condition.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10148 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
8255871336
Trunk sync r10141.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10142 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
671f73e9c4
Added missing include.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10134 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
0425f704fa
Made model shield points tabling and flag names be more consistent.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10133 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
a734cd64cf
Ensure shield hit data gets reset immediately also when changing the player's target via Lua.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10126 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:59 +10:00
zookeeper
7645062496
Model point shields fixes suggested by niffiwan.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10123 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
9a1b674fce
Trunk sync 10121; ought to include things that have slipped through in previous sync attempts.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10122 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
47b7077520
Some model point shield stuff I had forgotten to commit.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10107 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
0a64aee4a5
Trunk sync r10092.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10093 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
b5447a8c1f
Trunk sync r10052.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@10053 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
ecceae93ae
Removed the unused Interp_render_sphere_offset variable.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9991 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
0cfe277247
Made render sphere offsets be relative to the ship instead of the submodel, and implemented a similar $box_offset property for detail boxes.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9990 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
eaa5fd636b
Trunk sync r9968.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9969 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
693cd4f529
Fixed a clang compile error.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9961 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:58 +10:00
zookeeper
7b699aa196
Fixes Mantis 2939: Off-screen direction/distance indicators showing up incorrectly in widescreen mode.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9959 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
1e351eeaf5
Trunk sync r9957.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9958 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
c555ae6dd7
Fix a potential crash by making sure HUD shield data gets initialized as soon as the player targets something.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9956 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
45e81ae0a2
Renamed MAX_SHIELD_SECTIONS to DEFAULT_SHIELD_SECTIONS.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9955 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
3336072f1c
Disable shield-related training SEXPs if model shield points are used, because the SEXPs assume default 4-segment shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9954 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
af8a5f6de2
Guard against possible out-of-bounds shield quadrant indexing.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9953 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
2e219e9966
Some more netcode fixes for n-segment shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9952 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
8992977832
Made network code cope with any number of shield segments.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9951 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
134d7d311d
Corrected player to viewer in a comment.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9950 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
eeb2cf35c9
Fixed brokenness in previous commit.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9941 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
1e3d2a91dc
Made the targeting box render the target relative to player's eyepoint orientation.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9940 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
dfc6435268
Fixed shield quadrant number getting broken when changing from a point shields ship to a one with standard shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9937 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
d5d8ad17f7
Fixed possible crashes related to the eyepoint orientation features.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9936 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
e95554f27a
Fixed model point shields not getting updated when changing ship class, and removed the warning about generated shield icons.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9934 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
b8defa5eec
Allow shield augmentation controls to be re-mapped for model point shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9933 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:57 +10:00
zookeeper
536e3866ef
Fixed some messed up merging.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9932 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
41872f2648
Trunk sync r9930.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9931 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
1e26052d19
Enabled HUD icons for point shields to function correctly.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9930 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
6a41b039fc
Fixed -misc maps being dependent on LOD and lighting levels.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9928 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
f4eb09eb21
Enabled more than 4 shield points to be used.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9919 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
948e778975
Added support for a new shield segment system where the placement and area of each segment depends on model-defined points. Needs some more work.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9860 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
5060c02d95
Maybe helps in fixing the linking error.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9847 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:56 +10:00
zookeeper
cd5a95a88e
Removed an unnecessary variable initialization.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9845 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
ccab33c02a
Trunk sync r9838.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9839 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
7c731f03fe
Slightly streamlined the code for the $Action hook condition.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9838 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
922f8e7630
Upped the hook condition length limit from 32 to 128 and moved the limit to its own define.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9837 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
d528508ebf
Prevented $On Action hooks from being executed more than once per frame.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9836 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
8c021f0503
Removed some debug messages that accidentally got in.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9835 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
a463d9a58d
Trunk sync r9824.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9828 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:55 +10:00
zookeeper
3daa7f58d4
Fixed the submodel LOD finding code to work even when the a,b,c,... letters are in the middle of the name.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9827 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
d6f3811cf7
Forgot to make r9825 actually do what it was supposed to.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9826 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
797dadc1d7
Rewrote the submodel LOD finding code to be a lot simpler and to also allow LOD0 submodels without the trailing "a".
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9825 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
1262cc08c7
Added an option to make pitch and yaw axes be determined by eyepoint orientation.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9823 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
8b42ed0824
Tiny tweaks to auto spread shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9793 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
f69f70def8
Trunk sync r9791.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9792 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
5317c13304
Added a table option to allow auto spread shields to be bypassed from up close.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9790 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
7ca10c9b5e
Forgot this from r9728; makes changing eyepoint orientation affect chase view as well.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9738 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:54 +10:00
zookeeper
139f60e0d4
Trunk sync r9735.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9736 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
c71da021ce
Added scripting function to enable/disable tips of the day in mainhall.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9734 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
ceea0202b3
strcmpi->strcmp.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9729 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
53b8bd1797
Made eyepoints match the orientation of their parent submodel.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9728 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
faef780270
Added support for multiple control presets, and for renaming individual binds.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9727 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
chief1983
58a04d32f5
Trunk sync r9720.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9726 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
356d18246e
Added a Lua function for drawing offscreen indicators. Includes refactoring of some of HudGaugeOffscreen gauge code to separate the position finding and drawing logic.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9725 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
8f5b27873f
Exposing ship orders to Lua, patch by Admiral MS: http://www.hard-light.net/forums/index.php?topic=83818.0
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9724 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
6717395b54
Made is-facing able to check for target objects other than ships.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9723 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
32157fbe57
Worked around what seems to be an underlying problem in keypress checking for shift and alt.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9722 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
561e50e860
Fixed issues in r9702.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9721 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
9f22090ce9
Allowed the center reticle to switch to a different frame when autoaim is active, and enabled sounds to be played when gaining/losing autoaim lock-on.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9707 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
858dc8dedd
Exposed a ship's autoaim FOV to Lua and allowed $Autoaim FOV to take floats rather than just ints.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9705 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
4a7f059119
Added scripting function for drawing filled and unfilled arcs and made drawCircle able to draw unfilled circles.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9704 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
393a5ae1a2
Added auto spread shields.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9703 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
0cc3dc9c13
Added $On Action Started and $On Action Stopped scripting hooks as well as an $On Action hook condition.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9702 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:53 +10:00
zookeeper
1993f8bed7
Added a Lua function to check whether a ship is warp-capable.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@9701 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-15 14:18:52 +10:00
Echelon9
90a6702ede
Fix Mantis 2896: AddressSanitizer: global-buffer-overflow in hud_lock_reset() hudlock.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9699 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:30 +10:00
Goober5000
54875d1de8
fix Mantis #2893 (invalid characters in sexp tokens weren't replaced)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9698 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:29 +10:00
Goober5000
4e2ee8bece
Mantis #2852 : commit the newest version of the patch, based on discussion
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9697 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:29 +10:00
Goober5000
693448eb99
Mantis #2852 : good catch, but I'd rather not modify the damage variable... and also, there's the danger of divide-by-zero which wasn't checked
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9696 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:29 +10:00
Echelon9
773ada0084
Fix Mantis 2852: AddressSanitizer: global-buffer-overflow in shockwave_move() shockwave.cpp:359
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9695 387891d4-d844-0410-90c0-e4c51a9137d3
2013-07-26 08:14:29 +10:00
The_E
b7cd4e3c67
oops, broke something
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9693 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
The_E
f860e040b2
Fix for Mantis 2882: "None" team color setting causes errors. Also fixes a few other oversights.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9692 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
niffiwan
46796a59c8
Fix for mantis 1326: add & handle "not present" state for red alert ships
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9689 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
niffiwan
049b3205ef
Fix for mantis 2880: handle -1 red alert departed ship indexes
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9688 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
The_E
658c6c5aa8
From Axem: Patch for Mantis 2870 (hook variable for On Death: scripting hook is not always set correctly)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9687 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
karajorma
5708875eda
We only need to see this error once in FS2. Ensure that this instance only appears in FRED.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9686 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
karajorma
856c593a2c
Better error reporting for this issue (in order to help track down a Diaspora bug).
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9685 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:17 +10:00
karajorma
d1ec691f62
Assign the debris signature correctly.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9684 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
karajorma
99948813c1
Fix for Mantis 1863 (Ships with an arrival cue of true and a delay do not arrive on the standalone). Might possibly fix Mantis 1815 too.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9683 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
niffiwan
d04130c453
Fix for mantis 2879: clear/reset *everything* in Campaign struct
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9682 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
niffiwan
194300dc94
Fix for mantis 2864: correctly init message_extra struct
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9681 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Backslash
14aa992f6c
Small fix to selection set / multitarget / hotkey wing behavior. If a set is not active and something is targeted that is in a set, pressing THAT set's key will not change targets, but just activate the set.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9680 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
niffiwan
c5bdbe268e
Fix for mantis 2868: clear all mission completed flags when changing campaigns
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9679 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
niffiwan
793cd89ad3
Fix for mantis 2801 from Mr_Maniac: increase buffer size to correctly handle localisation strings > 1024 chars
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9678 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Echelon9
4cbe3903d7
Fix Mantis 2837: AddressSanitizer: heap-buffer-overflow in sexp_get_damage_caused()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9677 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Goober5000
b9d06a1e58
fix for Mantis #2856 - combine all the has-[un]docked[-delay] sexp functions and make adjustments for the order of ship checks
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9675 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Echelon9
af5928aa70
Fix Mantis 2859: Game crashes if mod is changed with the same pilot in use. From niffiwan.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9673 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Echelon9
3d2c85f623
Fix Mantis 2862: Crash exiting game from command briefing on newly created pilot, caused by double free in cutscenes.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9672 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Echelon9
9d85779875
Fix Mantis 2819: AddressSanitizer: stack-buffer-overflow in l_File_read_f()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9671 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Zacam
ca90ec8e75
Fix for Mantis 0002860: Tostring function for enumerations returns invalid for highest enumeration index From: Admiral MS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9670 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Zacam
23faeda404
Fix for Mantis 2829: If it doesn't like trying to @param a double stuffed func, then don't. We have the @params defined in the original draw_func_ptr anyway.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9669 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
niffiwan
46a3f5483a
Fix for mantis 2802: when restoring last missions loadout, ignore weapons on absent ships Also clear ship weapons & weapon-counts when clearing loadout slots
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9668 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Zacam
b2e1f1d211
From z64555; a better version of r9666's Doxygen comments.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9667 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
Zacam
c49d1a1e6a
Doxygen and clean-up start for making the controls more robust. Doxygen additions: z64555 Tab/Whitespace cleanup: My fault.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9666 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
The_E
b991499620
From Plombo: Make the FXAA shaders conform to the (absolutely braindead, I might add) GLSL specs. Also makes Mesa happy.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9665 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
9c5fd447fc
Fix for mantis 2855: fix off-by-one, add negative index check, empty invalid slots & enable mprintfs
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9664 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
504fb153db
Revert "Fix for mantis 2802: when restoring last missions loadout, ignore weapons on absent ships" Wrong patch you git!
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9663 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
97d228947a
Fix for mantis 2802: when restoring last missions loadout, ignore weapons on absent ships Also clear ship weapons & weapon-counts when clearing loadout slots
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9662 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
m_m
d2cc75561d
Fix for Mantis 2846: Problems with mission loop animations
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9661 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
The_E
cb1f812cef
Fix for Mantis 2857: We need to tell generic_anim_load what to load, really. Otherwise this whole exercise is kinda pointless :P
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9660 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Echelon9
316308cc40
Fix for Mantis 2833: AddressSanitizer: heap-buffer-overflow in get_char_width()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9659 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
e67daf2afc
Remove a duplicate line in r9657 - thanks to Echelon9 for noticing this
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9658 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
78cb7cc039
Fix mantis 2753: save csg just before mission starts read loadout indexes into int instead of uint & ensure -1 is not used as array index initialise Player_loadout struct during FSO start
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9657 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Zacam
90151d3e0a
Fix for Mantis 2841: From CommanderDJ, Allows FRED to select/set Main Hall by string input, not just integers.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9656 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Echelon9
74b89d9fc5
Extra logging functionality for BMPMAN. This helped localise the fix in r9654.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9655 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Echelon9
aa463ca772
Fix for loading of AVIs in BP. As discussed with The_E on IRC, this bug may have had a range of unintended consequences, although not clear why it hasn't been picked up already.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9654 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Echelon9
fc555177fd
Fix Mantis 2850: AddressSanitizer: global-buffer-overflow in emp_randomize_chars()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9653 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
niffiwan
b8c625d589
log the correct CSG version
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9652 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
The_E
20abba69dc
Fix my fix from revision 9305: Properly check for null pointer dereference
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9651 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
FUBAR-BDHR
0457fcc9ad
From Yarn fix for Mantis 2849 +Flags: does not select main halls
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9650 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:15 +10:00
Echelon9
0a7fcfc0a5
Fix Mantis 2854: AddressSanitizer: global-buffer-overflow in do_subobj_hit_stuff()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9649 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
51c14de891
Fix Mantis 2853: AddressSanitizer: heap-buffer-overflow in change_ship_type()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9648 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
e0ed2fa45f
Let form follow substance; when using indentation around if() ensure the approach is clear
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9647 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
83bb931baf
Fix for Mantis 2821: AddressSanitizer: global-buffer-overflow in ship_get_secondary_weapon_range()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9646 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
7d76471b03
Fix Mantis 2834: AddressSanitizer: global-buffer-overflow in get_max_ammo_count_for_bank()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9645 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
690460df8e
Fix Mantis 2824: AddressSanitizer: global-buffer-overflow in obj_snd_delete_all()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9644 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Goober5000
b1191f53d5
code cleanup related to Mantis #2845... straighten out and standardize the differences between the various OPF_SHIP_WING_* argument types make sure all ships using an OPF_SHIP_WING_* type actually specify and handle the type they need to (removing the ones that don't make sense, e.g. you can't set the orientation of a waypoint) enforce type safety by clarifying the distinction between "any ship on a team" and "every ship on a team", and splitting the OSWPT_TYPE_TEAM type to accommodate this (which maintains compatibility with the original OPF_SHIP_WING_TEAM type)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9643 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Goober5000
f865ab85b5
fix the is-in-box sexp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9642 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Goober5000
381f54663b
the fix for Mantis #2845 in isolation
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9641 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Goober5000
8926a4de06
Yarn's patch to make version checking work correctly
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9640 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
chief1983
f5903f771d
More missed filename renames.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9636 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
chief1983
51abff326d
This was probably not letting linking work correctly.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9634 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Zacam
34b7dbe233
Revert r9631: If you are going to make a fix, commit just the fix, not a slew of "oh, also" stuff that ends up breaking things. Especially not immediately preceding an RC phase, kthx.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9632 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Goober5000
be86442006
cleanup due to Mantis #2845... straighten out and standardize the differences between the various OPF_SHIP_WING_* argument types make sure all ships using an OPF_SHIP_WING_* type actually specify and handle the type they need to (removing the ones that don't make sense, e.g. you can't set the orientation of a waypoint) fix num-ships-in-battle and is-in-box which were both broken and make sure the sexp lookup for IFFs uses sexp_determine_team rather than iff_lookup (which is the actual fix for Mantis #2845 )
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9631 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
e773a0a94e
Fix for Mantis 2844: AddressSanitizer: heap-buffer-overflow in pilotfile_convert::csg_import_red_alert csg_convert.cpp:438
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9630 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:14 +10:00
Echelon9
709f914867
Fix Mantis 2825: AddressSanitizer: global-buffer-overflow in turret_weapon_has_flags() aiturret.cpp:316
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9629 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
Echelon9
cf8bad999b
Fix Mantis 2828: AddressSanitizer: global-buffer-overflow in ship_subsys_disrupted() ship.cpp:8066
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9627 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
Echelon9
62600ec156
Fix for Mantis 2820: AddressSanitizer: global-buffer-overflow in os_init_cmdline() cmdline.cpp on Mac
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9626 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
niffiwan
2b6fea8ff4
From Yarn - Fix mantis 2839: remove overlap in default 640x480 res HUD gauges
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9625 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
niffiwan
414ab43e64
Fix mantis 2832: conversion functions now use certain consts from the new pilot code when exporting *only*
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9624 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
zookeeper
aec367efbc
Probably fixes is-secondary-selected not working.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9623 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
niffiwan
61bf714c51
Fix mantis 2815: store single/multi squad names and images separately (in csg/plr respectively)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9622 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
Echelon9
d0ca515cef
Fix Mantis 2836: AddressSanitizer: global-buffer-overflow in ai_fire_from_turret() aiturret.cpp:2528
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9621 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
Echelon9
351da2c864
Fix for Mantis 2835: AddressSanitizer: global-buffer-overflow in ConditionedHook::ConditionsValid() scripting.cpp:338
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9620 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
Echelon9
a9a1c736c1
Fix use of magic numbers in ConditionedHook::ConditionsValid()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9619 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
chief1983
86309a5d66
Since the timerbar warning can't be fixed, this should fix the remaining parts of Mantis #2829 by escaping things it confused with xml tags.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9618 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
Echelon9
2f5fc4a754
CommanderDJ's patch for half of the Doxygen warnings - see Mantis 2829
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9617 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
karajorma
78b02095e6
Forgot to null check that. Also this SEXP was only designed to work on ships, not wings or teams. I can add that later maybe.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9616 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
niffiwan
2a7174b1bf
GCC warning: vector.size() is unsigned, no point in checking if it's >= 0
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9615 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
niffiwan
c4115831fc
Fix for mantis 2813: don't let pilot conversion create more than MAX_PILOTS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9614 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
niffiwan
9ebbd7efce
Fix for mantis 2814: don't check filename lengths when deleting .csg files Also change win32 to check for last . in filenames, not the 1st
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9613 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:34 +10:00
Echelon9
f627a66488
Extra validation to help triage Mantis 2828
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9612 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:49 +10:00
The_E
3664486cdb
If the player ships' sensors are out, we need to exit button_function earlier.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9611 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:49 +10:00
m_m
53b8ebeeb4
Fixed scripting functions which use the current camera to also use the main camera when no custom camera is in use. This adds a optional boolean parameter to getCurrentCamera to retain backwards-compatibility.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9610 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:49 +10:00
Echelon9
36363fc419
Fix for Mantis 2823: AddressSanitizer: global-buffer-overflow in hud_escort_ship_hit()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9607 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
niffiwan
f45b8dbf5a
Update for mantis 2817: this is a better way of removing extra popups There are more types of campaign load failures than just missing campaign files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9606 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
niffiwan
45cbfa32e0
Fix for mantis 2817: remove two redundant popups regarding missing campaigns
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9605 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
Echelon9
9376ad1d51
Fix Mantis 2822: AddressSanitizer: global-buffer-overflow in hud_target_change_check() hudtarget.cpp:4459
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9604 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
Echelon9
078d065688
Third shot at Mantis 2818, other sections of the code in modelinterp.cpp use -1 is odd ways but nonetheless valid ways
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9603 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
karajorma
0c4f6bfcdc
Fix Mantis 2811 (Default Campaign File Name was not used).
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9602 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
Echelon9
2d51c3e05f
Have another go at fixing Mantis 2818, this time using the less fatal Warning() report in Debug builds when invalid handles passed to bm_is_valid()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9601 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
karajorma
ac6796f5af
Add all the strings that had no translation.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9600 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
zookeeper
b4f721c253
Fixed dual fire being available even for secondary banks with only one firepoint.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9599 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
chief1983
4fe447aab5
Revert r9596 and reopen #2818 .
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9598 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
niffiwan
815ce24d0d
Fix for mantis 2809: re-enable quick-start-missions (g key in debug) Save Recent_missions & last_flown_ship_si_index to CSG
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9597 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
Echelon9
c348f5b7c0
AddressSanitizer: global-buffer-overflow in bm_is_valid() bmpman.cpp fix
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9596 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
The_E
8aba499825
Accidentally committed some project files, ooops.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9595 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
The_E
b4f39e9ece
Patch for Mantis 2808: Player select menu always defaults to Single Player mode regardless of what the last played mode was.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9594 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
zookeeper
53c90981ea
Fixed even secondaries without a free flight time receiving a decreased initial speed, which was causing particle spews to create a particle with the wrong speed when the weapon is created.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9593 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
niffiwan
edcb5aa483
Fix for mantis 2810: ensure Last Player from registry/.ini is at the top of the pilot selection list
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9592 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:17 +10:00
niffiwan
8a1666c5aa
derp - fix for r9584; remove 7th entry in the 6-item array Thanks for zookeeper for noticing this
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9585 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
niffiwan
5c3d105f85
Fix for mantis 2789: replace shield icons drawn with 100's of lines with 6-point polygons
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9584 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
zookeeper
c105b2ad15
Fixed an accidentally committed debug mprintf.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9583 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
zookeeper
4eee845335
Restored the code which loads up the default HUD colors from hud_3.hcf. Was apparently accidentally removed in r9549.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9582 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
zookeeper
95a11f71f8
Fixed gr_opengl_circle drawing the middle horizontal line twice, which is a problem when drawing with alpha.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9581 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:07 +10:00
chief1983
37a37d1a5b
Missing doxproj from Antipodes.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9567 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
FUBAR-BDHR
07fdf1b3c1
Commit 9473 from anitpodes to prevent standalone crashing never ported over. Original commit message: "From Eli2: Lower the value of MAX_SHIPS_PER_PACKET to 64 in order to keep packet size down"
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9565 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Zacam
43f02b201a
For BluePlanet compatibility: change-nebula-pattern SEXP. Also adds a logging nprintf for op_num in add_to_event_log_buffer.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9564 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
FUBAR-BDHR
13efc81b22
Need to back out temporary commit 9553 or it looks in inferno\inferno and \inferno for pilots.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9563 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
zookeeper
2490764c1b
Fixed a syntax error.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9562 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
zookeeper
222f632943
Fix turrets not getting can_move = true set for them; fixes at least glowpoints parented to turrets not moving right.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9560 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
chief1983
e22b7a5548
This version string is not used for output filenames, it's more useful indicating to developers that this is a trunk build as opposed to an RC or final release. Also, the same change wasn't made to the Xcode 3 project so they ought to match one way or another.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9555 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
chief1983
b765485d98
Clean up a few more Inferno references.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9554 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
11140adf51
aaaaaaaaand finally, lets make sure that we can actually see the "Inferno" directory for all those pilot files. *sighs* That had better be everything.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9553 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
0ba6052326
Update to r9550: Make sure that we keep the right directory default for the reading of current player Pilot files until the Pilot code goes in.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9552 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
abd6a465f7
And lets not forget Global Section headers.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9551 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
16e9892903
Whoops. When removing #ifdefs, check the #else block.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9550 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
759b080814
pre-Antipodes Staging Merge: "Inferno" build options go away, INF_BUILD settings now "default" settings. Fixed and made consistent across all projects the Build Output names ("Debug" used for Debug builds at the very end of the file name before the extension and after other options such as SSE, where applicable) Other unused #defines or #ifdefs removed: DEMO build Related, STANDALONE_ONLY_BUILD (already covered by -standalone command line flag)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9549 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
chief1983
104d2d6fce
Update trunk version to 3.6.19 to make sure nightlies are now properly indicated as newer than 3.6.18.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9547 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
karajorma
9531268fd9
Fix Mantis 2797 (Ship Loadout shouldn't remember the previous settings if the mission has changed)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9544 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Goober5000
3c3d1b4bd1
proper movement of ships attached to other ships fixes Mantis #2787
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9542 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Goober5000
dc18b7e012
fix Mantis #2796 (capships always have an EMP time of 7.5 seconds) by adding a weapon flag to allow the full value of emp_time to be used
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9540 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
Zacam
8959ecdc07
Follow up to r9536: re-instate -no_warn, but put it behind a compiler level #ifdef flag to enable the ability to use it. And if you don't know how to do that, you have no business using it.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9539 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
m_m
7f170217a8
Fixed scripting issue with wrong type conversions.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9538 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
55d4f0b96c
follow-up to revision 9127: that commit breaks FSPort (causing part of the nameplated Orions to be translucent), so let's just check that "nameplate" is the entire texture name
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9537 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
129d02eb0d
Removing the -nowarn commandline argument. The encouragement of bad habits is a serious bug.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9536 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
4bcc9f1716
From AMS: Fix for Mantis 2293: Destroyed/departed AI showing up as present in wingmen display.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9535 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
niffiwan
24037c6e02
Fix for mantis 2786: from Yarn - make +Main Hall: always override +Flags: i.e. so retail-compatible campaigns can use the second main hall in retail and a different main hall in FSO
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9534 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Echelon9
72770939a2
Further spelling fixes, inspired by bugmenot's Mantis 2794
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9533 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
d1e73bd8b7
Followup for 2788: Fix potential issue while looping through subobjects.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9530 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
6197c20010
Patch for Mantis 2788: Difficulty-based damage scaling does not work
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9529 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
6ab03f2e2b
might as well remove this unnecessary temporary variable
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9528 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
niffiwan
37c132318a
Fix for mantis 2785: when unpausing sounds, use the previous volume, not the detault
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9527 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Echelon9
93d0af04d2
Resolve uninitialised value warnings in load_gauge_warhead_count()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9526 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Echelon9
6fceacafd8
Revise Xcode4 project file to support recommended settings of the current Xcode 4.6 release
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9525 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
1409e7d6cf
don't throw errors for missing skybox models... we just won't display the skybox
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9524 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
e4d92ae779
don't crash when doing debug stuff
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9523 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
d02ef204a2
Fix a bug caused by an oversight during refactoring. It should be noted that this wouldn't have happened if this code was using normal scoping in for loops (for (int i = 0.....)) instead of having the loop counter be declared in the outer scope.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9522 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
karajorma
8271a12a53
FUBAR's fix for Mantis 2778 (Game_skill_level goes out of range and causes crashes) with some changes by me.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9520 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
6cab0d12bc
no, silly Volition programmer, that's handled elsewhere (fix Mantis #2783 )
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9516 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
28b386633b
this ought to fix Mantis #2326
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9515 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
c8b5e8e755
correct the sexp help for string-to-int
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9514 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
ebd54319d2
flip these around so that they're less confusing
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9513 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Goober5000
94f7a54596
apply m!m's fix for Mantis #2780 also correct the off-by-one error in the range check (path_num must < n_paths, not <=)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9512 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:44 +10:00
The_E
17a48525e7
Prevent the hud-set-frame sexp from accidentally causing badness by setting an invalid frame offset
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9510 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:44 +10:00
niffiwan
f947a5fb5d
Fix for mantis 2776: from onlyjob, fix format-hardening error
2013-01-22 09:57:29 +00:00
m_m
cd19783e69
Fix for Mantis 2763: ETS gauge showing up for ships with no shields if default ship had shields
2013-01-19 13:06:51 +00:00
Goober5000
29a0cc5684
tell who is respawning
2013-01-16 07:13:47 +00:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
Goober5000
4791df1b17
return special_hitpoints to using a specific value instead of a multiplier;
...
this was extensively tested in both single-player and multiplayer, using change-ship-class and changing ship loadout, against ships both higher and lower in hitpoints, to ensure it didn't re-break Mantis #2326
2013-01-13 09:28:28 +00:00
Goober5000
e26c663c59
wing departure now works
2013-01-13 03:55:09 +00:00
Goober5000
107a61ea13
for Mantis #2097 , straighten out the departure code so that goals to warp cause warping, and comm departures use whatever departure method is specified
2013-01-13 03:03:25 +00:00
Goober5000
9cb9e349ac
FUBAR's changes for Mantis #2775 , plus the addition of the asteroid model
2013-01-13 00:05:21 +00:00
Goober5000
6fe3e087a9
FUBAR's fix for #2779 -- don't crash when launching asteroids
2013-01-12 22:34:30 +00:00
Goober5000
15fb88b8c5
add files to project
2013-01-08 01:56:54 +00:00
Goober5000
9b589d3005
MSVC6 compatibility
2013-01-08 01:44:48 +00:00
Goober5000
ab5c47cdf6
jg18's patch -- don't do irrelevant stuff when we're only querying for flags
...
see http://www.hard-light.net/forums/index.php?topic=83315.0
2013-01-07 23:33:49 +00:00
chief1983
ef9e06fcb1
Reverting 9491.
2013-01-07 16:33:42 +00:00
Echelon9
85e42f57be
Updated Mac Xcode 4 project for the 3.6.16 RC phase
2013-01-07 14:20:24 +00:00
Goober5000
6b62d36e02
change from 1 meter to 0.1 meter
2013-01-07 04:35:36 +00:00
Goober5000
bdb40e07e9
strncpy_s wasn't specified quite right (Mantis #2765 )
2013-01-07 04:07:28 +00:00
Goober5000
c610a1f9a2
FUBAR's fix for Mantis #2770
...
see http://www.hard-light.net/forums/index.php?topic=83122.0
2013-01-07 03:31:46 +00:00
chief1983
2d228279fa
Change output filenames to match those used for 3.6.14 releases.
2013-01-06 19:24:49 +00:00
niffiwan
4b2bfd4bf3
autotools: remove extra -lpng that will break compiles if libpng12 is being used
2013-01-06 05:03:33 +00:00
niffiwan
4e4f551c31
Autotools: check for alternate libpng package name (specifically for opensuse)
2013-01-06 04:14:01 +00:00
niffiwan
7f7179f327
Workaround for mantis 2760: re-order struct shield_hit_info to avoid segfault with gcc & -ftree-vectorize
2013-01-03 06:57:53 +00:00
Goober5000
5a4c6c90c4
be mindful of sending ship-create packets for docked ships in multiplayer -- should fix Mantis #2761
2013-01-01 22:22:11 +00:00
niffiwan
45b98592e6
autotools: exclude lua5.2 because it's not (yet) compatible with FSO
2012-12-31 09:34:27 +00:00
Goober5000
154356924e
allow alternate spelling
2012-12-30 18:01:02 +00:00
niffiwan
3177815a3c
Linux/GCC compilation: -march=athlon64 could cause issues on non-AMD CPUs. Use mtune for more widely compatible binaries.
...
Also enable SSE/SSE2
2012-12-30 03:36:13 +00:00
The_E
71571e40da
Fixes issue with the "no primary linking" weapon flag not working correctly
2012-12-29 23:19:51 +00:00
niffiwan
a218b7d37d
GCC: make install now installs fs2_open_x.y.z - helps Linux packaging tools
2012-12-27 09:47:35 +00:00
Valathil
c8eceec482
Followup to 9454. Only check in the one instance where the crash happened. Ticket 2757
2012-12-25 18:44:09 +00:00
FUBAR-BDHR
8cb31c63e7
Mantis 2759 - Add Warning for null normals on docking points
2012-12-24 06:23:56 +00:00
Valathil
5bce063959
Fix for Mantis 2745: Make it impossible in FRED to select individual ships for reinforcements when in a wing. From FUBAR: Check at mission parse and spit out warnings.
2012-12-23 23:58:58 +00:00
FUBAR-BDHR
2ca8fce056
add -tbp and -jpgtga to the depreciated flags
2012-12-22 23:45:15 +00:00
karajorma
a4489e6b97
Fix Mantis 1818 (PXO Login fails ambiguously if you don't have a password or username)
2012-12-21 07:15:07 +00:00
Goober5000
6e77fe5fbb
enhance debug warning for Mantis #1951
2012-12-20 07:34:38 +00:00
Valathil
3f3b8c128b
Adding an assert to multi_ts_get_team_and_slot so we can get Auto variable data in the crash dump to track down ticket 2757.
2012-12-19 01:58:27 +00:00
Valathil
3fbbaf05fa
Fix for Mantis 2738: Reset buffer state before drawing spheres and lines. Additionally fix the new htl outline rendering in fred by setting the outline color.
2012-12-19 00:11:28 +00:00
The_E
d702b276ef
Rename the model subsystem flag masks to MSS_MODEL_FLAG_MASK and MSS_MODEL_FLAG2_MASK respectively, for readability
2012-12-18 21:55:26 +00:00
The_E
20f7383d4a
Fix for Mantis 2513 by Admiral MS: Fixes issues with two ship classes sharing model data.
2012-12-18 21:46:35 +00:00
Valathil
456290db4e
Fix for Mantis 2364: Load the relevant thruster bitmaps when switching weapons in lab.
2012-12-18 20:09:08 +00:00
Valathil
1a8a03aba2
Fix for Mantis 1901: Update the displayed ship after the loadout is refreshed.
2012-12-18 19:42:59 +00:00
Valathil
7577bacfbc
Fix for Mantis 1928: Recreate the briefing and background dialog when the mission updates.
2012-12-18 18:40:25 +00:00
Valathil
4eaa532ce0
Fix for Mantis 2447: Allow fighters to use anti subsystem weapons when disarming/disabling protected ships.
2012-12-18 17:26:48 +00:00
Goober5000
b3c5bdab7b
properly fix the removal of particles (Mantis #2165 )
2012-12-17 09:36:40 +00:00
Goober5000
6bb4ae42ae
revert revision 9411 in preparation for fixing particles (Mantis #2165 )
2012-12-17 08:59:55 +00:00
Goober5000
5b77af048c
since invisible textures were loaded as -1, they have to be flagged specially to actually replace real textures (Mantis #2340 )
2012-12-17 08:00:17 +00:00
Goober5000
2e2c1afe38
there is actually a way to check for extra sound values per Mantis #2048 , and here it is
2012-12-17 05:54:18 +00:00
Valathil
913aeb0753
Fix for Mantis 2199: Reject objects from being clicked on when selection lock is active.
2012-12-17 01:17:19 +00:00
Valathil
e1f07390e2
Fix for Mantis 2755: Update weapon_info references after weapon_create to get updates from possible substitution
2012-12-16 14:25:21 +00:00
Valathil
0dc6c8fcf7
Set the 3D flag in the new sounds.tbl parsing.
2012-12-15 22:11:57 +00:00
Valathil
f920395b0c
Fix for Mantis 2707: Pass the firing turret to weapon_create so it knows where to look for when using $Substitute.
2012-12-15 21:47:51 +00:00
Valathil
a4974307f5
Fix for Mantis 2737: Recreate the entire orientation matrix not just the forward vector when ships spawn from docking bays.
2012-12-15 19:51:40 +00:00
The_E
0e3003fc93
Change the default toolset for MSVC2012 to "110-XP", to make builds made with VS2012 XP-compatible.
2012-12-15 10:33:35 +00:00
Goober5000
68cb625ce7
allow saving of invisible textures for replacements (Mantis #2340 )
2012-12-15 04:41:52 +00:00
Goober5000
2e783fe37b
fix Mantis #2319 (alt names and callsigns aren't properly removed)
2012-12-15 04:36:27 +00:00
Valathil
fd125acb19
Fix for Mantis 1978: Add eyepoint directions to cameras; Add guncam view for cameras that are bound to turrets
2012-12-14 22:18:45 +00:00
The_E
dee413b32c
Fix for Mantis 2754: Reset the frame offset for custom HUD gauges when reinitializing.
2012-12-14 12:07:30 +00:00
karajorma
4cb7e70068
Fix Mantis 2753 (Customised Loadouts sometimes won't save for next time the mission is played).
2012-12-14 09:27:17 +00:00
karajorma
2e96022d5e
Fix a couple of event logs. Clean up the operators array.
2012-12-14 08:51:22 +00:00
karajorma
eebe54b0b1
Actually fix a bug in Num-ships-in-battle rather than accidentally committing a different minor fix.
2012-12-14 03:31:26 +00:00
karajorma
5c7804cadd
Fix a bug in Num-ships-in-battle
2012-12-14 03:28:40 +00:00
Goober5000
b329c4020a
fix Mantis #2752
2012-12-13 06:14:04 +00:00
Goober5000
13f1705c1b
patch another memory leak
2012-12-13 06:12:24 +00:00
Goober5000
cff8cde651
patch a memory leak
2012-12-13 05:56:28 +00:00
The_E
9ac4d2d0b0
Patch for Mantis 2733: Updates the description for add-nav-waypoint. Also makes it work as intended.
2012-12-12 13:57:34 +00:00
Goober5000
dc66db326a
fix compilation
2012-12-11 03:53:53 +00:00
Zacam
0502b4d648
Revert of 9410. Apparently not ready for prime time, what with older compilers that don't seem to understand C++0x types (and complaints about upgrades to enable it), and it apparently (under said compilers) isn't any faster than stdext::hash_set anyway.
2012-12-10 08:23:19 +00:00
The_E
f0dee720d9
Fix for Mantis 2733: Adds documentation for the 4th argument for the add-nav-waypoint sexp
2012-12-09 22:47:31 +00:00
The_E
38ba853d9b
Rewrite the sexp documentation for most of Kazan's navpoint sexps to follow the formatting established by the rest of the sexp docs.
2012-12-09 22:36:17 +00:00
Valathil
ec32829615
Fix for Mantis 184: Use Vertex shader to replicate nohtl rendering of thruster cones. Also make shader state handling a bit less hackish.
2012-12-09 21:51:20 +00:00
Valathil
982f7e63ff
Fix for Mantis 2146: Move the model_clear_instance call so it doesn't reset the replaced texture.
2012-12-09 21:49:20 +00:00
Zacam
e43f9dcc83
Fixes Mantis 2706: Weapons not colliding
2012-12-09 06:28:56 +00:00
Zacam
fc51dde285
Fixes Mantis 2325: View shakes in 'show ship' flag when far from the mission origin
2012-12-09 04:28:44 +00:00
Zacam
71a9ab8b7d
Fix for Mantis 1496: Ships stopping mid-waypoint; From Admiral MS
2012-12-09 03:45:27 +00:00
Zacam
c10eca5808
Fix for Mantis 2165: Vector iterator becomes invalid in Particle.cpp
2012-12-09 03:31:18 +00:00
Zacam
5f998ff345
Mantis 2746: Fix for geometry batcher, from Valathil. Update for Mac by Echelon9.
2012-12-09 02:59:02 +00:00
The_E
a77e9d3376
From CommanderDJ: Patch for Mantis 2009
2012-12-08 20:25:37 +00:00
The_E
01e45dc8e8
Patch for Mantis 2188 by Admiral MS
2012-12-08 20:23:09 +00:00
The_E
8ef4975eee
Patch for Mantis 2200 by Eli2
2012-12-08 20:21:25 +00:00
Valathil
01cb063bd4
Fix for Mantis 2693: Fix rotating submodels still colliding even if $no_collision or $no_collision_this_only is set. Also fix ships that have $no_collision on detail0 set colliding with bigger ships.
2012-12-06 20:44:29 +00:00
Goober5000
c811f80f2a
set the mini help text to blank if we select an operator
...
make sure special lists of arguments are checked for mini help text
(Mantis #2020 )
2012-12-06 06:50:43 +00:00
Goober5000
0a5392f2aa
fix Mantis #1975
2012-12-06 06:14:24 +00:00
Goober5000
301be27e72
1) don't actually copy the ship object, because it has classes
...
2) fix Mantis #1616 by re-applying the original parsed texture replacements
2012-12-06 04:20:54 +00:00
The_E
291c17f380
Fix for Mantis 1616: Texture replacement data is not copied over when changing ship classes that share models
2012-12-05 19:06:49 +00:00
FUBAR-BDHR
b0d7dfc750
Fix for mantis 2748: Wing delay values not reset when using file->new
2012-12-05 18:09:32 +00:00
niffiwan
fd7fe0dd9e
Goober!!! :) Fix parentheses in r9397
2012-12-05 09:23:29 +00:00
niffiwan
90f25111d9
Fix for mantis 1922: set glowmaps on/off in the hud target box
2012-12-05 09:02:48 +00:00
Goober5000
b11cca1e7d
bulletproof the activation and deactivation of shields; this should fix Mantis #2747
2012-12-05 07:45:47 +00:00
Goober5000
5ac69dc1a2
for Mantis #2346 and #1129 -- munge the data if it runs afoul of the warnings
2012-12-05 04:20:45 +00:00
Valathil
3c9130e39b
From Mantis 2346: Spit out a warning if the two docking slots lie on the same axis as the docking normal.
2012-12-04 23:02:02 +00:00
Valathil
b3465ad929
From Mantis 1129: Spit out a Warning if a model has a docking port with identical slot positions.
2012-12-04 20:25:55 +00:00
Valathil
9cf3151ef4
Fix for Mantis 2743: Strip down 16 Bit files to 8 Bit by adding PNG_TRANSFORM_STRIP_16 to png_read_png
2012-12-04 17:19:05 +00:00
Goober5000
ea4e1acb34
CommanderDJ's patch for #2730
2012-12-04 05:12:48 +00:00
Valathil
96c9a56549
Fix for Mantis 2727: Add Autocenter for debris rendering
2012-12-03 20:45:14 +00:00
Valathil
6ad5a937a9
Fix for Mantis 2736: abs is int in Linux and Mac; change to fl_abs in all instances where floats were used in the codebase.
2012-12-03 00:59:45 +00:00
The_E
552779163b
And another fix for Mantis 2326.
2012-12-02 10:23:23 +00:00
The_E
097673762c
I am just going to assume that this was a hasty application of Ctrl-C Ctrl-V, not some kind of intentional cast of a boolean to a float
2012-12-01 18:12:50 +00:00
karajorma
54a8788cb9
Update SEXP help for ai goal SEXPs to reflect that priorities over 89 are allowed now.
2012-12-01 07:11:29 +00:00
The_E
26b5c3a926
Changing the function descriptions of isLaser() and isMissile() to better explain what they're doing. Also adding isPrimary() and isSecondary(), which are basically the same as the first two, but named better.
2012-11-28 21:38:09 +00:00
The_E
9cec60f23d
Fix for Mantis 1596: Adds "turret-fired" animation trigger
2012-11-28 20:08:07 +00:00
The_E
1a7a74f43e
From FUBAR: Patch for Mantis 2256
2012-11-28 18:32:39 +00:00
karajorma
893701d0b7
This might or might not help with Mantis 1841. Either way Assertion > Int3() anyway.
2012-11-28 09:18:23 +00:00
Goober5000
2014ee4bab
update comment
2012-11-28 06:56:08 +00:00
Goober5000
583f5f39ae
clean out dead_docked list as part of ship_cleanup -- fixes Mantis #2294
2012-11-28 06:55:15 +00:00
Goober5000
48a30b0888
update ship orders when changing ship classes in FRED - fix Mantis #2341
2012-11-27 06:59:48 +00:00
Goober5000
9df9157e3c
improve ship-copy-damage sexp with more robust checks and incidentally a fix for Mantis #2734
2012-11-26 05:49:23 +00:00
Valathil
917bd38692
Fix for Mantis 2735: Port commit 8643 & 8644 to Turrets as well
2012-11-26 01:37:24 +00:00
Echelon9
b4a578314c
PVS-Studio fix: V601 The 'true' value is implicitly casted to the integer type.
2012-11-25 02:45:16 +00:00
The_E
7208989f05
Did you know that WP_BEAM isn't actually used anywhere? I didn't. Neither did the isBeam() scripting function.
2012-11-24 09:17:18 +00:00
karajorma
2d91a76f47
Fix Mantis 2703 (Primary weapons with the child flag prevent any further weapons appearing in the ships-editor->weapons list)
2012-11-24 08:37:25 +00:00
niffiwan
26d70dcb33
Fix for mantis 2664: shockwaves now use bounding box to test distance for damage
2012-11-24 02:40:55 +00:00
karajorma
b5b9b8bc6e
Fix an issue with persistent variables being ignored by the loadout code.
2012-11-23 06:49:04 +00:00
karajorma
e10a41a82e
That buffer needs to be bigger!
2012-11-23 06:37:09 +00:00
FUBAR-BDHR
c2eb2e0840
Log but don't warn about LOD mismatches when running a standalone server.
2012-11-21 18:49:13 +00:00
Valathil
e039a4954e
Fix for Mantis 2207: Use Missiontime for F4 Logscreen entries and fix the calculation.
2012-11-20 23:42:12 +00:00
Valathil
eb434cf828
Fix for Mantis 2376: Don't calculate nose offsets for chase view.
2012-11-20 20:54:28 +00:00
Valathil
c5005adf53
Correct some issues with Help screens that popped up because of glCleanup and undocumented Nvidia driver behaviour.
2012-11-20 18:53:26 +00:00
niffiwan
c38ad85175
Fix mantis 2732
2012-11-20 10:38:52 +00:00
Goober5000
a756cf2960
for Mantis #2636
2012-11-20 00:05:51 +00:00
Goober5000
c9d7673801
fix Mantis #2691 by just ending colorization on whitespace
2012-11-19 23:40:50 +00:00
Goober5000
48f36f569e
addendum to r9340 to fix Mantis #2714 in scripting function (thanks to Admiral MS)
2012-11-19 22:57:41 +00:00
Valathil
374b5afafd
Fix for Mantis 2731: Add a +use_pxo flag in multi.cfg
2012-11-19 17:43:40 +00:00
Goober5000
bc26caba28
follow-up to 9355: since we have a version of get_string that accepts SCP_string, just use that
2012-11-19 05:36:05 +00:00
Valathil
699e69b027
Followup to 9357: Don't flush texture state we don't care about that in shader pipeline and also move the fix to a more efficient place per Swifty's suggestion.
2012-11-18 23:33:01 +00:00
Valathil
666f978756
Fix for Mantis 2719: Clear Vertex Array state after rendering.
2012-11-18 19:07:33 +00:00
Valathil
5997a72a62
Fix for Mantis 2729: Remove the Int3 and make the log entry a little clearer.
2012-11-18 18:01:41 +00:00
The_E
def96b21d2
Increase the buffer size for stuff_string_list(SCP_vector<SCP_string>) to 2048. If this function was used with substrings longer than NAME_LENGTH, this would cause stack corruption due to a buffer overrun.
2012-11-18 17:58:05 +00:00
Zacam
755d7326b3
From Valathil, glCleanup to reduce the amount of calls.
...
First post here: http://www.hard-light.net/forums/index.php?topic=82886.0
Mantis Here: http://scp.indiegames.us/mantis/view.php?id=2728
2012-11-18 10:05:44 +00:00
Zacam
212eee3b31
Warning resolution: grbatch.cpp(806) : warning C4018: '<' : signed/unsigned mismatch; solved by setting 'Batch_buffer_size' from 'int' to 'size_t'
2012-11-17 23:12:17 +00:00
zookeeper
0f198fd677
Fixed the reset button in the HUD config screen not resetting to the default color scheme given to new pilots.
2012-11-16 21:17:18 +00:00
zookeeper
a88b1e145c
Ought to fix bug 2690.
2012-11-16 19:45:24 +00:00
zookeeper
8308920e3b
Fix really stupid mistake.
2012-11-16 11:26:48 +00:00
Zacam
05944baae8
From Valathil: Corrects for dynamic switching regarding Fixed Render Pipeline in the LAB
2012-11-16 04:14:29 +00:00
Goober5000
0a7d226d5f
fix for Mantis #2726 -- proper handling of mismatch of LOD levels
2012-11-15 07:52:45 +00:00
zookeeper
b7335b4f2e
Tweaked some of the settings of the four detail level presets.
2012-11-14 12:05:59 +00:00
zookeeper
a456519b95
Made the default detail level tableable in game_settings.tbl, but kept "very high" as the default.
2012-11-14 11:54:47 +00:00
Echelon9
c6691dc721
PVS-Studio fix: Resolve bug introduced in r201 (9 years, 11 months ago) in relation to an if statement without encompassing curly brackets.
2012-11-12 14:32:57 +00:00
Goober5000
0627377338
Admiral MS's fix for Mantis #2723
2012-11-12 06:57:18 +00:00
Goober5000
92c03d15f2
CommanderDJ's fix for Mantis #2529
2012-11-12 06:48:17 +00:00
Goober5000
429ab61311
fix Mantis #2714 -- hud doesn't change when change-ship-class is called
2012-11-12 03:25:59 +00:00
zookeeper
1b6a87498d
Fix botchedness in r9338.
2012-11-11 20:59:02 +00:00
zookeeper
4e273451b4
Set the default detail level of new pilots to "very high".
2012-11-11 12:09:25 +00:00
Goober5000
b30e2ee226
inspired by recent change to multi_sexp.cpp... in most cases, SCP_string should not be passed by value
2012-11-05 08:31:39 +00:00
Goober5000
14322c5064
a ship that is self-destructed should have the same behavior as one that is destroyed, if going by mission log entries
...
(c.f. thread: http://www.hard-light.net/forums/index.php?topic=82718.0 )
2012-11-05 05:43:28 +00:00
Zacam
815b74691b
Lets see if this handles Mantis 2724.
...
On Valathil's suggestion, pulled the code added in 9312 from 'model_render_glow_points' and 'model_render_thrusters'
2012-11-04 21:50:34 +00:00
Zacam
e9d39c9b57
One more spot to update Build revision from .13 to .15
2012-11-04 15:44:11 +00:00
The_E
ca5dd281bd
Compiler warning removal: Variable initialized but not used
2012-11-04 08:30:20 +00:00
The_E
664c1c383b
Compiler Warning removal: int-to-ubyte conversion
2012-11-04 08:29:46 +00:00
The_E
1032302351
Compiler warning removal: Unused variable, float-to-int cast
2012-11-04 08:27:50 +00:00
The_E
051fcdd770
Compiler warning removal: ubyte/int comparison
2012-11-04 08:25:53 +00:00
Echelon9
ba917667b6
Re: r9305 - while NULL pointer checks in non-Debug are useful, ensure we don't lose the better check in Debug as well.
2012-11-03 23:11:41 +00:00
The_E
43fecf84c8
PVS Studio fix: string last_portion is not used anywhere
2012-11-03 09:39:11 +00:00
The_E
cc8893ca72
PVS Studio suggestion: Create a reference to avoid repeated vector access
2012-11-03 09:38:34 +00:00
The_E
c75469e066
PVS Studio fix: Pointer not checked against NULL
2012-11-03 09:37:29 +00:00
The_E
40536f9069
PVS Studio fix: Pointer shipp is not checked against NULL
2012-11-03 09:36:44 +00:00
The_E
dd098ed217
PVS Studio fix: Really confusing code
2012-11-03 09:35:46 +00:00
The_E
2ab5c72111
PVS Studio fix: "!none_valid" is always true
2012-11-03 09:33:54 +00:00
The_E
1f48d15dcc
PVS Studio suggestion: Create a reference to avoid multiple vector access operations
2012-11-03 09:31:54 +00:00
The_E
4c9333a6f0
PVS Studio fix: String play_callsign is not used anywhere
2012-11-03 09:28:49 +00:00
The_E
35cc7b886e
PVS Studio suggestion: Create a reference instead of repeated vector access
2012-11-03 09:25:48 +00:00
The_E
75ba6a15cc
PVS Studio suggestion: Use ++it for iterators
2012-11-03 09:24:25 +00:00
The_E
a71b5f4247
PVS Studio fix: Add checks against NULL pointer dereferences
2012-11-03 09:23:23 +00:00
karajorma
5769d206e4
Turns out you do need some of those after all. No idea why grep didn't find them.
2012-11-03 09:01:17 +00:00
karajorma
e83c18a7f9
Clear out some cruft from the multiplayer code. Make sure Macros are being used.
2012-11-03 08:25:27 +00:00
karajorma
9dd9dd1581
Object numbers are not guaranteed to the same on the client. Sent the net_sig instead.
2012-11-03 06:08:22 +00:00
chief1983
2ca33c3ee6
He did the job, parse error fixes came with ease, but one couldn't stop it's like he had a disease, he fixed another and another and a sista and her brotha...
2012-11-02 19:48:57 +00:00
chief1983
666aee826f
Darn typos.
2012-11-02 19:41:59 +00:00
chief1983
9f4f3dfd2c
More tweaks for FreeBSD support, and cleanup of configure.ac. Slightly experimental.
2012-11-02 19:36:53 +00:00
chief1983
4e5d3e2e57
Fix all the 'no newline at end of file' warnings I saw thrown by gcc on FreeBSD.
2012-11-02 17:30:17 +00:00
Echelon9
beb0f3915a
Update Xcode4 project file to the latest recommended settings in Xcode 4.5.x
2012-11-01 14:41:07 +00:00
Goober5000
b09e535c3b
Admiral MS's fix to the lab weaponmodel fix
2012-10-31 01:56:35 +00:00
The_E
4bb94b0abf
OOps, forgot a :
2012-10-30 20:09:03 +00:00
The_E
ebd477067d
Fix for Mantis 2679: Adds new setting to game_settings.tbl: "$Weapons inherit parent collision group:", a boolean setting defaulting to FALSE. Setting it to true will cause weapons fired to inherit their parent ships' collision group setting.
2012-10-30 19:37:53 +00:00
karajorma
418135917d
Move the add paste button in FRED. Hopefully this will result in less cursing when people press paste instead of add paste.
2012-10-30 03:26:30 +00:00
karajorma
cfcb883159
Switch the name of the deselect-nav SEXP
2012-10-30 02:07:41 +00:00
Goober5000
91d30c608a
fix an old Volition bug -- properly mark a goal as not achievable if a ship departs, not only if it's destroyed
...
and throw in self-destructed for good measure, per Admiral MS
2012-10-29 20:48:06 +00:00
Goober5000
3b5b154712
fix from Admiral MS -- if there's no explosion, explosion sound shouldn't play either
2012-10-29 20:29:54 +00:00
Goober5000
b9a803a771
fix from Admiral MS -- move waypoints properly when moved via scripting
2012-10-29 20:27:31 +00:00
Goober5000
b8ce4b7a7e
fix from Admiral MS -- page out weapons when lab is exited
...
also, modelnum comparisons should be >= 0, not > 0
2012-10-29 20:26:29 +00:00
Goober5000
ee357c9846
yes, whoops (fix bug noticed by Droid803)
2012-10-29 07:10:01 +00:00
The_E
4d57e2eaba
Make change-team-color multi. Also adds SCP_string overloads for multi_send_string/multi_get_string
2012-10-27 09:24:11 +00:00
The_E
f98e75dde6
A few updates to Team Colors:
...
-Team Colors can now be applied to player ships
-change-team-color sexp for on the fly changes
-New F3 lab controls: T and Y can now be used to cycle team color presets
2012-10-26 18:39:43 +00:00
karajorma
20b614069e
Resaving a mission shouldn't result in any changes other than the date.
2012-10-26 09:44:12 +00:00
karajorma
d822dce5bb
Small error with alter-ship-flag fixed.
2012-10-26 00:28:20 +00:00
chief1983
00abe171bc
Bump trunk revision to 3.6.15. Update output build names for MSVC 2005 through 2012, Xcode 3 and 4, Linux, and internal version strings.
2012-10-25 16:26:11 +00:00
chief1983
b7f8bc6ba8
Add event.log stuff to Xcode3 project file.
2012-10-25 16:03:17 +00:00
niffiwan
6e0bfaa4d1
Add generic_log files to Makefile.am for *nix compiles
2012-10-25 10:16:38 +00:00
karajorma
54f6d864a0
alter-ship-flag SEXP. Now does AI flags too.
2012-10-23 12:02:28 +00:00
IssMneur
fa00353c9d
Name the packfile with the odd header
2012-10-20 03:41:25 +00:00
Swifty
385b8c48bb
Axem's rotating dead subobjects.
2012-10-17 05:58:33 +00:00
Goober5000
8aa23d6a1a
fix for Mantis #2643 (generated shield quadrants displayed in the wrong spots)
2012-10-16 03:20:47 +00:00
Goober5000
d57b46bfe5
add missing files to project
2012-10-16 02:27:14 +00:00
Goober5000
b01a5b3f65
add arrival_delay and departure_delay arguments to set-arrival-info and set-departure-info
2012-10-16 01:08:30 +00:00
Echelon9
2b3def2ade
PVS-Studio fix: V601 The 'true' value is implicitly casted to the integer type. Inspect the first argument.
2012-10-15 10:57:15 +00:00
Echelon9
841032c37a
PVS-Studio fix: V576 Incorrect format. Consider checking the fourth actual argument of the '_snprintf' function. The SIGNED integer type argument is expected.
2012-10-15 10:53:01 +00:00
Swifty
7aadb223ef
Let's simplify that no autoaim in multiplayer commit.
2012-10-15 09:08:20 +00:00
Swifty
3236a1d262
Removed the multiplayer game mode check in unnecessary places in the autoaim/convergence firing code.
2012-10-15 07:31:26 +00:00
Swifty
e4880e319e
Made sure that cockpit models are getting flushed out when unloading a given model.
2012-10-15 06:21:00 +00:00
Swifty
2132f14d60
Fixed scaling and positioning issues with cockpit displays. Added Display Offsets: to all RTT capable gauges.
2012-10-15 04:45:02 +00:00
Swifty
002f143725
Added RTIF settings for DRADIS.
2012-10-15 02:42:10 +00:00
IssMneur
3ae4064268
Added a note to the configure file about letting SCP know about successful builds on our unsupported and less supported platforms.
2012-10-13 21:42:06 +00:00
IssMneur
8f39310eb9
nbspjr's changes for FreeBSD building
...
See: http://www.hard-light.net/forums/index.php?topic=82425.msg1646772#msg1646772
2012-10-13 21:27:42 +00:00
m_m
e2e3eeafed
Adding a few new scripting functions, including support for dockingpoint access for scripting and a function to draw HUD-like brackets around an arbitrary subsystem.
2012-10-12 16:14:47 +00:00
m_m
513caa9ec3
Fix compilation for Visual Studio 2010 and 2012.
2012-10-12 10:39:44 +00:00
Echelon9
52093cf6c6
Documentation: Pass cleaning up a few functions with partial docs
2012-10-08 15:53:14 +00:00
Echelon9
c1121a56bb
Fix: Format string is not a string literal (potentially insecure)
2012-10-08 15:17:43 +00:00
Echelon9
b1fc599517
Support event.log compilation in the Xcode4 project file
2012-10-08 15:03:01 +00:00
karajorma
7769a4e6e1
Okay, this time JUST the event.log stuff!
2012-10-08 09:13:21 +00:00
karajorma
49f63ad88b
Backout that commit. Wrong codebsse!
2012-10-08 09:11:14 +00:00
karajorma
7c25c35243
Commit the event.log feature.
2012-10-08 09:02:44 +00:00
Swifty
ab7c112951
Cockpit display support for a crapload of gauges.
2012-10-07 05:37:50 +00:00
Goober5000
f53f819591
remove all hacks with #weak because FSPort has corrected data
2012-10-07 04:06:29 +00:00
karajorma
5a75b350cb
Fix AI issue where ships ended up with no target to land on.
2012-10-07 01:18:30 +00:00
Swifty
54a668bc1c
Disabled auto aim in multiplayer.
2012-10-06 23:57:29 +00:00
Swifty
38da17a334
Fixed crash caused by certain AI code assuming all objects are Ships.
2012-10-06 23:56:20 +00:00
karajorma
c94d97073c
Talon1024's Nav select/deselect SEXPs.
2012-10-04 02:28:23 +00:00
Goober5000
45c8ad336c
change alloca to standard vm_malloc/vm_free
2012-10-01 06:16:15 +00:00
Goober5000
2c701c592a
update comments
2012-10-01 03:19:46 +00:00
Goober5000
acac926656
update const-correctness
2012-10-01 03:19:31 +00:00
Swifty
4b95d09f8c
Fixed attempted reinitialization of collision pairs. Need to use OBJ_INDEX(objp), not objp->instance as that refers to the ship index, not the object index.
2012-10-01 03:05:20 +00:00
Goober5000
22dc84b6e1
MSVC6 compatibility
2012-09-30 21:08:05 +00:00
Goober5000
3e08e72d5b
Admiral MS's lab patch
...
http://www.hard-light.net/forums/index.php?topic=82192.0
2012-09-30 19:43:24 +00:00
Goober5000
b028b372af
fix a compiler warning
2012-09-28 06:26:34 +00:00
Goober5000
8612ee9f69
fix the techroom bug where #weak weapons appear because they were assigned the player-allowed flag during parsing
2012-09-28 06:26:14 +00:00
Goober5000
e7bcccd4c0
revert r9218 per discussion with karajorma... new fix will follow shortly
2012-09-28 05:36:12 +00:00
Echelon9
3825ce1968
Fix up cmd_brief and cmd_brief_stage struct definitions; some general cleanup of code within missioncmdbrief as well
2012-09-26 10:39:56 +00:00
Valathil
aa5f42f1f1
Fix for Mantis 2709: Use the correct dimensions for updating texture images when texture streaming to fix crashes on hardware not capable of handling non power of 2 texture dimensions
2012-09-25 19:11:05 +00:00
karajorma
e4978a67a4
Allow mods to mark campaigns as ignored.
2012-09-25 13:40:05 +00:00
karajorma
c51f88abd8
Doh! Those two should be the other way round.
2012-09-25 01:08:19 +00:00
m_m
947263a047
Let's try this again, hopefully this time without reverting previous changes. See r9215 for a better description.
2012-09-24 16:17:26 +00:00
karajorma
05215a7ffa
Commit Mission Moods
2012-09-24 11:00:40 +00:00
Goober5000
ef6ccc36f0
play-sound-from-table should work for both 3d and non-3d sounds
2012-09-24 06:58:54 +00:00
Goober5000
424c315575
remove a warning
2012-09-24 06:58:10 +00:00
Echelon9
7b00d3dd45
Support Universal builds (32/64 bit) on Mac OS X 10.6+. Also updates library frameworks to libogg-1.3.0, libvorbis-1.3.3 and libtheora-1.1.1
2012-09-23 15:17:52 +00:00
karajorma
9433f054f3
Stop #weak weapons appearing in the tech room in multiplayer missions.
2012-09-23 08:33:32 +00:00
The_E
1f8dcf5494
Reverting 9215, because it conflicts massively with my fixes for hud_gauges. m|m, did you update your checkout before committing your stuff?
2012-09-22 21:41:23 +00:00
m_m
1faee4f711
Added weapon specific HUD tracking and lock-on sounds and in-flight sounds.
...
New options are $TrackingSnd, $LockedSnd, $InFlightSnd and +Inflight sound type.
2012-09-20 13:05:09 +00:00
karajorma
d5cb354950
Display the skill level on the debriefing stats screen.
2012-09-20 01:05:23 +00:00
The_E
c04b6a54f0
Fixes memory management issues due to duplicated pointers
2012-09-19 19:28:03 +00:00
The_E
1cae449aad
Clear the ship list between gauge configs to avoid multiple huds rendering at once
2012-09-19 18:40:10 +00:00
The_E
dcf8339ae2
And another fix. Apparently, = != ==, who knew
2012-09-19 17:34:09 +00:00
The_E
d324780a3f
And more fixes
2012-09-19 16:52:30 +00:00
The_E
98e4c56c19
Fix a stupid parsing bug
2012-09-19 16:37:34 +00:00
The_E
a736ac2d36
As requested by mjn.mixael: Allows modders to specify a list of ship classes a given hud config can be applied to. To use this, use "$Ships: ("Some ship" "Another ship")" instead of "$Ship: This ship". $Ship has been deprecated.
2012-09-19 15:31:31 +00:00
karajorma
6b7f78965d
Allow subtitles to also display remappable keys.
2012-09-18 09:22:21 +00:00
karajorma
3780eb6a86
Looks like Do-Nothing went walkabout. Putting it back.
2012-09-16 13:30:18 +00:00
karajorma
a8cccb2168
Send a keep alive packet when loading icons as sometimes this can take quite a while (for instance in debug).
2012-09-16 09:09:19 +00:00
karajorma
ee52320146
Fix Mantis 2712 (Change-ship-class does not update clients). Only a partial fix as cockpit and HUD are not updated.
2012-09-16 08:30:48 +00:00
karajorma
683e8cf2a4
Axem's Radians -> Degrees fix for FRED
2012-09-16 01:27:32 +00:00
karajorma
0d0a8b644a
Axem's SEXP reorganisation.
2012-09-15 03:28:36 +00:00
karajorma
abd9b6a3f7
Add the debug SEXP.
2012-09-13 09:35:13 +00:00
karajorma
67d106ae15
We really shouldn't be doing that on the standalone
2012-09-13 04:47:27 +00:00
IssMneur
bc713b68bb
Fixes mantis 2711. AudioStream handles are leaked under certain conditions.
...
AudioStream handles that were to destroy and fade would not if the stream was already finished or not started.
2012-09-12 02:41:08 +00:00
The_E
c69f00d90e
Fixes issue with Team Colors accidentally causing a null pointer dereference. Thanks to mjn.mixael for prodding at this.
2012-09-11 22:24:45 +00:00
Valathil
ac5c8dc798
Only use offsets for thruster distortions. Fixes weird framebuffer explosions.
2012-09-11 12:50:43 +00:00
niffiwan
adecd7fe12
From m!m: Fix for mantis #0002695
2012-09-11 10:02:59 +00:00
Swifty
849976985a
Created Primary Weapons Gauge and Secondary Weapons Gauge.
2012-09-10 07:09:32 +00:00
Swifty
2b857771fc
Created Hardpoints gauge.
2012-09-10 06:58:59 +00:00
Swifty
aba9b4515e
Created Warhead Count gauge.
2012-09-10 06:51:14 +00:00
Swifty
087d9c04db
Added additional parameters for the Wingman Status gauge.
2012-09-10 06:35:33 +00:00
Swifty
cafad3bb24
Added text color parameters for the auto target and auto speed gauges.
2012-09-10 06:31:03 +00:00
Swifty
a3fafcb248
Added Bottom Background Offset: and Max Line Width: to Directives gauge.
2012-09-10 06:23:46 +00:00
Swifty
9c3ef3c636
Added Bottom Background Offset: to Squad Message gauge.
2012-09-10 06:14:06 +00:00
Swifty
4c9ca0c336
Added parameters to adjust subsystem name, integrity, and status offsets for the Target Monitor.
2012-09-10 06:04:24 +00:00
Swifty
e4af974b70
Added Desaturated rendering to the Target Monitor.
2012-09-10 05:59:55 +00:00
Swifty
2ca77f899a
Added alpha masking support for the Target Monitor gauge.
2012-09-10 05:53:53 +00:00
Swifty
67767e77ff
Added a variety of parameters to the Weapon Energy gauge.
2012-09-10 05:43:10 +00:00
Swifty
b83644c8a0
Added a variety of parameters to the Throttle gauge.
2012-09-10 05:38:02 +00:00
Swifty
c32052a1a0
Added Bottom Background Offset: and Ship Name Max Width: parameters to the Escort gauge in hud_gauges.tbl.
2012-09-10 05:35:49 +00:00
Swifty
2f22a5ce67
Created Flight Path Marker gauge.
2012-09-10 05:33:17 +00:00
Swifty
e2ee74c387
Added bottom offset parameter to the Damage gauge in hud_gauges.tbl
2012-09-10 05:21:46 +00:00
Swifty
6dfa635811
Added better object and weapon cleanup code for the new collision detection code when max object and weapon counts are reached.
2012-09-10 05:08:16 +00:00
Swifty
87436e4eec
Added OpenGL color masking functions to the graphics code.
2012-09-10 05:06:36 +00:00
Swifty
de89915514
Added OpenGL alpha testing functions to the graphics code.
2012-09-10 05:05:14 +00:00
Swifty
d2d9f4e74b
Forgot to add these stubs for the graphics code stencil functions.
2012-09-10 05:03:33 +00:00
Swifty
0ef190c33a
Added basic OpenGL stencil support. Valathil, feel free to alter this implementation if you need to get things working with deferred shading.
2012-09-10 05:00:26 +00:00
Swifty
eeeeb2ce96
Base support for desaturated model rendering.
2012-09-10 04:51:11 +00:00
Swifty
63e43021ed
Added method to the HudGauge class that renders full color bitmaps.
2012-09-10 04:39:41 +00:00
Swifty
967c28c87d
Allowed resizing of scaled HUD gauges even if we're using GR_640 or GR_1024.
2012-09-10 04:32:28 +00:00
Swifty
0a4f6b332d
Added "$Radar Color Image 2D:" to ships.tbl. Adds full color radar image blips on top of IFF-colored image blips.
2012-09-10 04:22:07 +00:00
Swifty
e23a729ec5
HUD Config Options will properly set Text Messages and Messages to its defaults when reset.
2012-09-10 04:01:17 +00:00
Swifty
d8d6e86fd6
Collision caching properly resets between missions.
2012-09-10 03:58:14 +00:00
Swifty
22b51105e7
Fixed change_ship_type to use proper collision functions.
2012-09-10 03:57:00 +00:00
Swifty
11e355757b
Fixed crash when using viewing from a ship using the "show ship" flag.
2012-09-10 03:55:46 +00:00
Echelon9
42a4aef344
Fix LLVM warning: Declaration shadows a field of 'NavPoint'
2012-09-06 17:01:51 +00:00
Echelon9
fae7e022ad
Fix LLVM warning: Declaration shadows a local variable (modelread.cpp)
2012-09-06 16:59:02 +00:00
Echelon9
b28e57f86d
Fix LLVM warning: Declaration shadows a local variable (ship.cpp)
2012-09-06 16:57:52 +00:00
Echelon9
530aa28cfa
Fix LLVM warning: Declaration shadows a local variable (missionparse.cpp)
2012-09-06 16:56:47 +00:00
Echelon9
a8ee61c0fa
Fix LLVM warning: Declaration shadows a field of 'HudGaugeRadarDradis'
2012-09-06 16:51:06 +00:00
Echelon9
a59c092fc6
Fix LLVM warning: Declaration shadows a field of 'WE_BSG'
2012-09-06 16:47:59 +00:00
Echelon9
d919dc2cb2
Fix LLVM warning: Declaration shadows a field of 'LoopingSoundInfo'
2012-09-06 16:45:52 +00:00
Echelon9
ffa4efd64a
Fix LLVM warning: Declaration shadows a field of 'cockpit_display_*'
2012-09-06 16:44:16 +00:00
Echelon9
9abd596b72
Fix LLVM warning: Declaration shadows a field of 'waypoint_list'
2012-09-06 16:40:18 +00:00
Echelon9
73a487aab6
Fix LLVM warning: Declaration shadows a field of 'waypoint'
2012-09-06 16:38:15 +00:00
Echelon9
fa671f18fc
Remove some unused variables
2012-09-06 15:51:52 +00:00
The_E
9901ad613d
This warning needs to be a bit more helpful
2012-09-05 15:29:56 +00:00
zookeeper
45da46eddd
Fix the disabled flag not getting initialized right for controls which don't have an entry in controlconfigdefaults.tbl.
2012-08-31 19:23:44 +00:00
zookeeper
83871b3aa3
Added support for hiding/disabling keybinds in controlconfigdefaults.tbl. Patch from http://www.hard-light.net/forums/index.php?topic=81727.0
2012-08-30 06:45:22 +00:00
Valathil
71cd726349
Fix for Mantis 2705: Add Jump Nodes to the list of object types that are models so they are rendered at the right time
2012-08-28 18:50:53 +00:00
Goober5000
5785885641
Admiral MS's patch for destroy-instantly and destroy-subsys-instantly
2012-08-27 02:50:05 +00:00
Goober5000
1c5823030c
this actually does exactly the same thing, but it's more consistent with the rest of the code
2012-08-25 23:49:32 +00:00
Goober5000
4ab6f03c9e
make red-alert not dependent on whether the HUD is visible or not
...
(fixes Mantis #2683 )
2012-08-24 04:09:05 +00:00
The_E
c163a453ce
Also revert 9132. That was actually meant to go through review first.
2012-08-22 16:35:49 +00:00
The_E
4142a964bd
Revert 9131 for real
2012-08-22 16:35:18 +00:00
The_E
ee6afdd724
Double oops, I don't know why I committed this
2012-08-22 16:30:27 +00:00
The_E
d36e568a76
Ooooops, forgot a ":" in the parser
2012-08-22 16:26:06 +00:00
Goober5000
4d6b42a298
variable tokens can be quite a bit longer than standard tokens due to their unusual format; handle this properly
...
(fixes Mantis #2670 )
2012-08-22 05:31:40 +00:00
Goober5000
0537dff6d6
the initialized value should match the default value
2012-08-22 02:00:03 +00:00
niffiwan
3c14c37fde
Replace RamTable memory management with something a bit faster
2012-08-21 10:32:05 +00:00
The_E
f591b04348
Adding nameplate textures to the list of texture names that trigger the transparency renderer.
2012-08-20 19:00:28 +00:00
Goober5000
271d344f01
spelling
2012-08-20 01:42:45 +00:00
Goober5000
8e807f0fff
sync ai_profiles.cpp with def_files.cpp and with wiki page
2012-08-20 01:04:49 +00:00
Echelon9
460dab24f8
Fix Mantis 2699: Replace deprecated hash_map on systems that support std::tr1::unordered_map. Code review following ni1s initial patch and suggestions.
2012-08-19 14:14:20 +00:00
Goober5000
6422270049
there is indeed one minor bug -- switching flags for flags2
2012-08-19 07:53:12 +00:00
Goober5000
ca08b3813a
reverting 9121 -- I'll give karajorma the benefit of the doubt and assume he just didn't see the compatibility additions
2012-08-19 07:20:06 +00:00
karajorma
8e043a0019
Revert 9119 and 9120 since at least one of them breaks compatibility with 3.6.12
2012-08-19 06:13:45 +00:00
Goober5000
53f080ea67
all mod_table flags should also default to NO
...
also, change the generic_anim flag on whether to use the HUD color settings to be a bit more descriptive
2012-08-19 03:27:31 +00:00
Goober5000
4fa40e49c4
LESS -> FEWER
...
also, all ai profiles flags should default to NO
2012-08-19 02:06:26 +00:00
Valathil
8ea85e3004
Fix for Mantis #2697 : That was supposed to be the other way round. DIVIDE BY 0 OH SHIII...
2012-08-18 17:47:13 +00:00
The_E
f5ebe4be4a
Fix for Mantis 2685: Glowpoints attached to a modelled subsystem will be rendered even if that subsysstem has been destroyed
2012-08-18 16:57:48 +00:00
Swifty
7c7c64e769
Fixed rendering when using fixed function OpenGL pipeline. (Mantis 2696)
2012-08-18 10:39:20 +00:00
Swifty
50c649a030
Restored set object position functionality for OSWPT_TYPE_SHIP since they no longer should be sharing the same code with OSWPT_TYPE_WAYPOINT. See Mantis 2612.
2012-08-17 06:47:19 +00:00
Echelon9
3623cb6d79
Fix Mantis 2687: In weapon selection window, glowpoints can be seen through a ships hull. Note this is similar to the fix in r9031.
2012-08-16 10:05:22 +00:00
IssMneur
76a889a027
Fixes 2266 by reverting ds_get_free_channel to retail
2012-08-16 04:42:21 +00:00
Valathil
ff47353bd7
Followup to 9109: Add some error handling to handle 1 frame "animations" and missing frame 0 image files
2012-08-16 01:16:05 +00:00
zookeeper
7a50e19311
Turned $Comms Menu Hides Messages from a global HUD flag to a +Messages gauge flag.
2012-08-15 19:18:25 +00:00
zookeeper
ea81983597
Added a hud_gauges.tbl boolean flag to allow one to override the default behaviour of messages not being displayed while the comms menu is open.
2012-08-15 14:27:12 +00:00
Valathil
48e0517e0d
Allow generic_anim's to reuse bmpman and texture_cache slots and implement eff streaming. Changed talking heads to use generic_anim. Fixes Mantis 2417
2012-08-14 23:48:23 +00:00
Valathil
71ccf2e274
Fix for Mantis #2612 : Allow set-object-position to work with waypoints. Patch by Admiral MS
2012-08-14 20:25:23 +00:00
zookeeper
dbb5988dc7
Added some default mod_table comments.
2012-08-14 05:53:49 +00:00
The_E
ecd363ed3e
Adding stub functions for maybe_create_shader, set_team_color, enable_team_color and disable_team_color
2012-08-13 19:43:21 +00:00
Swifty
f913017200
BSG FTL effect modified to use soft particle rendering if available.
2012-08-11 21:40:01 +00:00
Swifty
c6c12fc251
go_even_faster: Improved collision detection performance by rewriting broadphase and narrowphase testing.
2012-08-11 21:14:53 +00:00
Swifty
6ba0da6020
go_even_faster: Improved rendering performance of particles by sending vertex data via buffer object.
2012-08-11 21:01:13 +00:00
Swifty
638ff917a1
go_even_faster: Added framework to improve rendering performance by reducing OpenGL state changes between vertex data binds.
2012-08-11 20:20:24 +00:00
The_E
4550188f8b
Removing the "run_launcher" function, since as far as I know, it hasn't worked for a looooong time
2012-08-11 15:18:23 +00:00
niffiwan
0619953c14
Also check we have a valid bitmap before trying to render it
2012-08-11 09:39:43 +00:00
niffiwan
bd05b0c1e7
Switch mprintf to Warning - if these are missing you can get bmpman assertions
2012-08-11 09:27:20 +00:00
Echelon9
a4813e38dc
Clean up the Xcode 4 project file, to work default on Xocde 4.4.1 (latest)
2012-08-08 14:24:10 +00:00
niffiwan
6579133220
Remove unnecessary Int3() - already gracefully handles running out of turret swarm slots
2012-08-07 09:11:41 +00:00
Goober5000
2ceecf9405
fix for Mantis #2694 : homing breaks when free_flight_time is 0
...
also, correctly set default free_flight_time to retail value of 0.5 second
2012-08-07 05:59:35 +00:00
chief1983
b2f566a5d8
Fix compile errors about an ambiguous call when using the Xcode project and Xcode 3.
2012-08-06 18:12:02 +00:00
The_E
e8b23a5b03
Correcting a few mistakes that somehow happened
2012-08-04 06:18:00 +00:00
The_E
bc682b8e12
Changing "use" to "enable"
2012-08-04 05:44:51 +00:00
The_E
9a54bd0cc4
New game_settings.tbl setting: "$Enable External Shaders:", which allows the use of, you may have guessed it, external shaders. Default is off.
2012-08-03 20:31:57 +00:00
The_E
64d55a67a1
Fix to make glowpoints respect clip planes during warpout again
2012-08-03 18:19:35 +00:00
The_E
340ee49db3
Fixes issue with team color setting resetting itself when tbms become involved
2012-08-02 14:24:14 +00:00
niffiwan
a66665dd73
remove memsets on game_snd vars - struct now has vectors in it...
2012-08-02 10:17:32 +00:00
The_E
b0ab2b96d2
Aaargh, derp again
2012-08-01 17:32:48 +00:00
The_E
33d8d4cdf7
A bit of un-derping.
2012-08-01 17:23:05 +00:00
The_E
f26a189cc2
Fix for Mantis 2692: Invalid memory access in initial ship status editor. Also adds a line to ships.tbl "$Enable Team Colors: <BOOL>", inserted after the "$ND:" block and before the "$Default Team" entry, which can be used to switch on Team Colors without specifying a team.
...
Also adds a "None" entry to the Team color selection that can be used to switch off team colors.
2012-08-01 16:40:33 +00:00
zookeeper
93758084dc
Fixed includes forgotten from last commit.
2012-08-01 10:06:54 +00:00
zookeeper
20b3d8c94d
Prevent garbage collection of texture handles which still have a non-zero load count. Underlying reason for why this can happen in the first place still unknown.
2012-08-01 09:45:26 +00:00
The_E
371b827014
Patch from Pecenipicek that allows a "none" team color to be defined in ships.tbl
2012-07-31 18:27:07 +00:00
The_E
b52453ee9b
Remove a define from the builtin shader that was causing issues now that AMD has fixed their driver's clipping behaviour
2012-07-31 14:18:27 +00:00
chief1983
28e04bf7d1
From pecenipicek: Fix team colors bug in built-in shaders.
2012-07-30 06:34:04 +00:00
Goober5000
f33c101224
clean up some of the CString code in FRED
2012-07-30 01:49:57 +00:00
Goober5000
0ad86d78f6
unherp the derp
2012-07-29 20:59:44 +00:00
Goober5000
bbcd26c2d7
remove warning
2012-07-29 20:57:35 +00:00
Goober5000
a5f80ab4bb
move the selection effect settings into game_settings.tbl because putting them in ai_profiles.tbl is incorrect and misleading
...
also, fix game_settings.tbl to not leave some settings uninitialized
2012-07-29 20:57:20 +00:00
Goober5000
cc45955cf2
m!m's patch for returning invalid IDs
2012-07-29 19:22:48 +00:00
The_E
e120d533a3
Do not penalize for linking weapons with WIF3_NOLINK
2012-07-29 17:54:23 +00:00
The_E
4762aa6191
A few fixes for the On Weapon Fired hook.
2012-07-29 17:31:08 +00:00
Goober5000
68bf7db7c6
hooray for parentheses
2012-07-29 17:00:18 +00:00
The_E
6da6894f22
New weapons.tbl flag: "no primary linking" Weapons with this flag can not be linked with other weapons. This also introduces a third (!) field for weapon flags.
2012-07-29 11:32:39 +00:00
The_E
535d91bae8
New weapons.tbl flag: "anti-subsystem beam" Enabling this allows the turret AI to use beams against subsystems
2012-07-29 11:09:36 +00:00
Goober5000
f1c4e57300
more warning reduction
2012-07-29 07:47:49 +00:00
Goober5000
e541cf0180
m!m's modular sounds patch, with minor modifications
2012-07-29 07:35:37 +00:00
Goober5000
db351f77dd
this gets rid of the "conversion to ushort" warning, strangely
2012-07-29 07:34:46 +00:00
The_E
aa19416dbe
Ooops, this should not be here twice
2012-07-28 21:13:37 +00:00
The_E
3b1a94b751
After a long time being tested in TAP, Team Colors are now stable. Please refer to http://www.hard-light.net/forums/index.php?topic=79743.0 for details.
2012-07-28 20:53:57 +00:00
Echelon9
90069f176b
Fix commit 2628 - treatment of is_training_mission(). Nothing like fixing 6.5 year old bugs.
2012-07-26 14:01:32 +00:00
Goober5000
fcbf33aeab
some const stuff, useful for the sounds patch
2012-07-26 07:46:35 +00:00
niffiwan
b1f32b5087
Fix 4 for #2590 : don't use "j" when its value could be greater than the array size - thanks to Zacam & Goober for finding this
2012-07-24 10:02:11 +00:00
Goober5000
3eeb334d77
allow skyboxes to be rendered at a custom orientation
2012-07-24 03:53:25 +00:00
Goober5000
b3c0f7a58b
I guess these need to be listed in the project file?
2012-07-24 03:37:40 +00:00
Swifty
7645c6628a
Fixed glow points in the Tech Room.
2012-07-22 08:35:44 +00:00
Goober5000
9d08a95283
standardize conversion to radians
2012-07-20 23:19:11 +00:00
Echelon9
5c9b9044e0
PVS Studio fix: V619 The array 'Players' is being utilized as a pointer to single object. hudsquadmsg.cpp 2595
2012-07-19 14:38:01 +00:00
Goober5000
d001f8ebea
these arguments are needed
2012-07-19 03:31:37 +00:00
Goober5000
dd847005af
update SCP credits, add $Music: for credits.tbl
2012-07-19 02:31:10 +00:00
Swifty
ad6e68d819
Corrected glow point directional attenuation. Need to use world coordinates of glow points, not local.
2012-07-18 08:07:47 +00:00
Echelon9
ddbbe72630
PVS-Studio fix: V601 The 'true' value is implicitly casted to the integer type. Inspect the fifth argument. lua.cpp 6982
2012-07-16 12:19:00 +00:00
Echelon9
3ec3849598
PVS-Studio fix: Subtle one, as FALSE (the define) is not the same as false (the boolean).
...
V601 The 'false' value is implicitly casted to the integer type. hudtarget.cpp 1346
2012-07-16 12:14:28 +00:00
Echelon9
11fbc7b5cf
PVS-Studio fix: V601 The 'true' value is implicitly cast to the integer type. Inspect the second argument.
2012-07-16 12:08:57 +00:00
Echelon9
46d854d9f0
PVS-Studio fix: There is only one PI.
...
V624 The constant 3.14159 is being utilized. The resulting value could be inaccurate.
2012-07-16 11:44:22 +00:00
Echelon9
e337c91482
Whoops, fix commit r9020
2012-07-16 11:34:02 +00:00
Echelon9
e5ff246f1b
PVS-Studio fix: V619 The array 'shipp->ab_info' is being utilized as a pointer to single object. shipcontrails.cpp
2012-07-16 11:26:43 +00:00
Echelon9
0efe864dd1
PVS-Studio fix: V619 The array 'v' is being utilized as a pointer to single object. gropengldraw.cpp
2012-07-16 11:16:28 +00:00
Goober5000
1adc301bde
prevent ships with mismatched models and tables from causing crashes later on (Mantis #2689 )
2012-07-15 22:54:47 +00:00
Goober5000
a687fbbf1b
this is a slightly modified version of m!m's patch for Mantis #2688
2012-07-15 18:48:42 +00:00
Echelon9
35d9af7e5f
Commit contribution from community for Lua debug as preference, while preserving old behaviour. Sorry I don't have the name of the contributor or can find the original thread containing this patch.
2012-07-15 15:53:51 +00:00
Goober5000
10e1e1d8ef
add four useful sexps: set-arrival-info, set-departure-info, set-debriefing-toggled, set-subspace-drive
...
also, fix a hole in the oswpt routine (and a few sexps) dealing with wings that weren't present yet
2012-07-15 05:21:12 +00:00
Goober5000
8cf4e79607
this really ought to be a Warning, not an Error
2012-07-15 05:16:13 +00:00
Goober5000
dfc0d6ec15
m!m's fix for signed/unsigned mismatch
...
(IT'S OVER 9000!!!)
2012-07-14 18:11:21 +00:00
Goober5000
fdd685fb8a
we want to truncate based on number of lines, not number of characters
...
also, we want to truncate the FRED error message boxes too
(this is a better fix for Mantis #2658 )
2012-07-14 06:23:45 +00:00
Goober5000
d05d04ec4f
that's an order of magnitude too high for integers
2012-07-14 05:34:44 +00:00
Goober5000
5654733692
check to make sure a wing that has a player does not also have an arrival delay (Mantis #2678 )
2012-07-13 05:06:08 +00:00
Swifty
3fff8216ed
Target direction arrow properly disappears when target is placed under reticle. Fixes Mantis 2504.
2012-07-12 07:26:45 +00:00
karajorma
e620a3e5e1
It's about time these changes got committed. They've been tested by Diaspora for over a year without issue.
2012-07-12 06:27:36 +00:00
The_E
ab868da2d9
Various fixes and additions to the lua API from m!m:
...
Matrix vectors: getUvec(), getFVec() and getRVec()
equals operators for weaponclass and shipclass to improve performance where a string comparison was needed before
Cockpit display interface. Allows scripting to access the cockpit displays defined in ships.tbl and render to them using RTT
A getParent() function in the subsystem handle which returns the parent object of the subsystem
Numerous fixes in the way turret subsystems are handled which now results in more correct behavior
Targetable variable in subsystem which specifies if the subsystem is targetable or not
getNextFiringPosition() function in subsystem which returns the position and the direction of the next firing operation of the specified turret
Scripting access to post processing values
getCurrentCamera() function to retrieve the currently active camera
setLineWidth() to modify the width of the lines that are getting drawn
setClip() and resetClip() to set the clipping areas used for drawing
2012-07-11 17:19:33 +00:00
Goober5000
1798c9b750
add the mission cutscene save type, per Karajorma and MjnMixael
2012-07-09 06:48:53 +00:00
Goober5000
1d0e73adcf
in the interest of avoiding mysterious and subtle differences in AI behavior, restore retail behavior where:
...
a) the player's wing forms on him at mission start
b) wings in the Starting_wings list will form on the player if they arrive later in the mission
c) no other wing automatically forms on its leader
2012-07-09 05:29:43 +00:00
Goober5000
807a3cf7cd
also revert the "nohtl" part of r8977 for FRED (Mantis #2676 ) because no-HTL models shouldn't use HTL rendering
2012-07-07 21:01:27 +00:00
Goober5000
497d11c7af
revert r8975 because this fix adds unwanted diagonal lines to the jump node model (Mantis #2396 )
2012-07-07 21:00:37 +00:00
Goober5000
4195945a36
niffiwan's fix for Mantis #2681
2012-07-07 20:51:39 +00:00
The_E
a28dc8beff
Fix for Mantis 2682: extra glowpoints are rendered for targeted ships
2012-07-07 14:31:14 +00:00
The_E
227f6cc8ef
*sigh* And because MSVC6 is a bit on the stupid side (read: Does not know about this little thing called C++0x), I have to do this bit of ugliness.
2012-07-07 08:41:12 +00:00
Goober5000
af4e7c3069
restore this extra space, which is necessary for formatting purposes
2012-07-07 07:39:46 +00:00
The_E
585db085ea
Removing the rest of the glBegin()/glEnd() pairs.
2012-07-07 06:45:35 +00:00
niffiwan
ab5709ecb2
Fix number 3 for mantis #2590 - move array overflow detection to correct place in loops
2012-07-07 01:39:27 +00:00
niffiwan
1ef253a65a
Sync linux binary name format between 3.6.14 & trunk
2012-07-04 10:13:25 +00:00
Goober5000
8910b50d96
replace variables in recommendations too
2012-07-04 05:38:51 +00:00
Echelon9
cda28dba2f
Fix for Mantis 2677: Compiler errors following r8973, thanks to niffiwan
2012-07-03 13:13:23 +00:00
niffiwan
fdafa3f2a4
Linux release compilation back to using -Wall, but with -Wno-write-strings
2012-07-03 10:01:20 +00:00
Goober5000
5c6261c229
fix a rather important variable initialization
...
(follow-up to r8967)
2012-07-03 05:12:24 +00:00
Goober5000
53bc8c5821
this is the equivalent of r8975 for FRED (Mantis #2676 )
2012-07-03 05:05:33 +00:00
Goober5000
5346544807
attacking a protected target will remove its protected flag, so don't allow this if hit by EMP
...
(Mantis #2192 )
2012-07-03 05:02:32 +00:00
Goober5000
eac17f338e
Zacam's fix for Mantis #2396
2012-07-03 05:01:33 +00:00
Goober5000
93c89a19ab
fix for Mantis #2179 , proper afterburner shutdown
2012-07-03 03:46:18 +00:00
The_E
cc2b907673
Changes the glBegin()/glEnd() stuff we were using in some places to the more modern glDrawArrays() way of doing things. Thanks to Kromaatikse for the initial implementation.
2012-07-02 15:48:56 +00:00
Goober5000
495ab7fdb2
fix Mantis #1972 : hotkey brackets are drawn around stealth ships
2012-07-02 06:00:41 +00:00
Goober5000
358d860542
fix TD2192...
...
[derp, wrong game]
fix Mantis #2192 , EMP brings play-dead fighters back to life
2012-07-02 03:47:53 +00:00
Goober5000
ec5f9ccf81
CommanderDJ's set-player-throttle-speed
2012-07-02 02:17:35 +00:00
Goober5000
89eca40235
wings that are initially docked will now arrive in mission correctly
2012-07-02 01:59:35 +00:00
Goober5000
4cfd7f903a
follow-up to r8922: this part isn't actually a problem
2012-07-01 19:54:22 +00:00
Goober5000
3a47eae3a7
make the dock leader code more robust, and make FRED mark dock leaders in wings correctly
2012-07-01 08:17:59 +00:00
Goober5000
7200341deb
add more error checking for initially docked ships, per Mantis #1658
2012-07-01 05:56:15 +00:00
Goober5000
30ebd4ecfd
looks like this was never actually implemented!
2012-07-01 05:54:26 +00:00
Goober5000
3e983aa390
add mod.tbl flag for Mantis #82
2012-07-01 04:32:03 +00:00
Goober5000
e1d4e74092
remove extension if user didn't
2012-07-01 04:17:22 +00:00
Goober5000
00d4f23209
this should fix all of the issues with docked fighters and bombers (Mantis #945 )
2012-07-01 03:24:41 +00:00
Goober5000
b0af0aa71a
fix for Mantis #2673 , following Valathil's detective work
2012-06-30 23:31:48 +00:00
karajorma
e23449f911
Minor fixes to the message.tbl settings I just added.
2012-06-25 14:23:00 +00:00
Goober5000
d71f6dda5f
fix the old Volition bug where a docked ship would execute its default behavior even when the preceding comment explicitly said that it should "just sit here" :-/
...
also guard against a few edge cases related to this
(all of this is in regards to Mantis #945 )
2012-06-25 10:39:26 +00:00
Goober5000
fcb0d8149d
remove unused variable
2012-06-25 07:06:03 +00:00
Goober5000
9b885aca84
CommanderDJ's fix for Mantis #2628
2012-06-25 06:41:06 +00:00
Goober5000
3fd421d432
fine-tune Valathil's error message
2012-06-25 04:27:26 +00:00
The_E
72bfeef335
Changing glowpoint rendering from being a separate step during model rendering to being a part of the batch renderer. This makes glowpoint rendering much faster.
2012-06-24 20:17:46 +00:00
Valathil
bf0756be2f
Fix for Mantis 2671: Skip submodels that have been blown off in ship-ship collisions.
2012-06-24 18:12:43 +00:00
Valathil
f97eac7851
Fix for Mantis 2670: Followup: Fix the bug without breaking mission parsing.
2012-06-24 14:04:16 +00:00
karajorma
480931fa17
Additions to message.tbl to allow users to specify the frequency of builtin messages.
2012-06-24 11:36:45 +00:00
IssMneur
9d335569f1
No warnings for release linux builds.
2012-06-23 21:19:41 +00:00
Valathil
bd3a0fe0de
Fix for Mantis 2670: Truncate tokens to their maximum length and pop up a MessageBox for the user.
2012-06-23 20:54:05 +00:00
Goober5000
583d702c80
synchronize the ship classes that evade shockwaves
...
(this fixes Mantis #2548 )
2012-06-23 11:51:47 +00:00
Goober5000
715727c333
restore retail behavior for chaining by reverting r8603 -- this fixes Mantis #2667
...
also add descriptive comment in header file
2012-06-23 10:31:42 +00:00
niffiwan
56ab99d5cd
Fix for mantis #2666 : call the new HUD renderBitmap function for the red alert notification background image
2012-06-23 03:02:33 +00:00
The_E
f0254524db
From CommanderDJ: Fix for Mantis 2657 (Alt-Shift-E does not clear escort list)
2012-06-22 15:55:43 +00:00
Echelon9
40983c4f40
GCC warning: variable set but not used
2012-06-17 13:32:04 +00:00
Goober5000
7ef1c9f99a
MSVC6 compatibility
2012-06-17 05:43:28 +00:00
Goober5000
367278315b
revert r8893 since it's no longer needed and since RTTI adds overhead
2012-06-17 05:42:54 +00:00
Goober5000
1990e4a635
since the if() block already checks for a specific gauge type, we can safely do the static_cast
2012-06-17 05:41:47 +00:00
Goober5000
e5e06d1e32
MSVC6 project should have Run-Time Type Information enabled
2012-06-17 05:04:48 +00:00
Valathil
6d7674967f
Fix for Mantis 2665: Include Player Ship's in the search for valid Message Sources
2012-06-14 21:52:23 +00:00
niffiwan
9a6611198e
GCC warnings: more 'variable set but not used'
2012-06-14 11:21:09 +00:00
niffiwan
bcea3057f5
GCC warnings: declaration of ‘ship_obj’ shadows a global declaration (weapon/*.cpp)
2012-06-14 10:30:01 +00:00
IssMneur
271d05ecc9
Recommit 8843 with a simpler fix to the build failure with GCC.
2012-06-14 04:44:13 +00:00
IssMneur
dccd2d9811
Reverse 8843 as requested by Goober5000. Breaks compilation with GCC.
...
- This fix is too confusing.
2012-06-14 04:41:16 +00:00
Echelon9
79da099645
GCC warning: variable set but not used (related to HUD)
2012-06-13 14:50:57 +00:00
Echelon9
20ac5cb868
GCC warning: defined but not used
2012-06-13 14:43:08 +00:00
Echelon9
e5ef4467da
GCC warning: missing initialiser for member ‘opengl_shader_file_t::attributes’
2012-06-13 14:26:30 +00:00
Echelon9
d029db7f88
GCC warning: statement has no effect (clearing this warning as it was prevalent throughout)
2012-06-13 14:18:56 +00:00
Echelon9
43a7fd178a
GCC warning: missing initialiser for member ‘<anonymous struct>::bitmap’
2012-06-13 14:10:52 +00:00
Echelon9
2214bb7ac6
GCC warning: missing initialiser
2012-06-13 14:07:37 +00:00
Echelon9
dcbe91136b
GCC warning: variable set but not used (further)
2012-06-13 14:07:05 +00:00
Echelon9
e9f103dfd2
GCC warning: variable set but not used (fireballs.cpp)
2012-06-13 13:20:04 +00:00
Echelon9
65adaf51a9
GCC warning: variable set but not used (within AI code)
2012-06-12 16:45:36 +00:00
Echelon9
eceb337219
GCC warning: variable set but not used (further cases)
2012-06-12 16:09:22 +00:00
Echelon9
65c6a8f51e
GCC warning: suggest curly brackets (braces) around empty body in an ‘else’ statement
2012-06-12 15:57:21 +00:00
Echelon9
791146c9ac
GCC warnings: first pass of warning: variable is set but not used
2012-06-12 15:32:47 +00:00
niffiwan
d19c6702cf
GCC warning: weapon/shockwave.cpp - variable set but not used
2012-06-11 10:12:09 +00:00
niffiwan
09c4bc2b00
GCC Warnings: mission/missiontraining.cpp - variable set but not used
2012-06-11 09:56:13 +00:00
niffiwan
c8c0a213bf
GCC Warnings: mission/missiontraining.cpp - variable defined but not used
2012-06-11 09:51:16 +00:00
Valathil
ae1327c7b1
Fix for Mantis 2631: Take the main hall of first mission of the fallback campaign as the current one and save the campaign to the pilot struct.
2012-06-11 04:53:35 +00:00
niffiwan
a6d501de98
Fix for last bit of mantis #2410 : show training messages when hud-disabled-except-messages
2012-06-11 03:45:12 +00:00
Goober5000
39fc7d8834
Valathil's fix for Mantis #2652
2012-06-11 03:22:48 +00:00
Goober5000
03b8f478b1
remove the unnecessary null sets
2012-06-11 03:17:55 +00:00
Goober5000
e683881ac3
remove the vestiges of free_flight_time, which never worked
2012-06-11 02:52:43 +00:00
Goober5000
b14d2c4938
fix some aspects of homing (pun not intended), including hopefully Mantis #2652
2012-06-11 02:40:05 +00:00
Goober5000
bfe3f3f60c
parentheses are A-1 SUPAR
2012-06-11 01:04:46 +00:00
Sushi
3ae15d873d
Mastadon's fix to make auto-target pick the nearest enemy ship instead of the nearest ship attacking the player.
...
http://www.hard-light.net/forums/index.php?topic=80906.msg1614837#msg1614837
2012-06-09 01:33:53 +00:00
The_E
1413eddcd2
From CommanderDJ: Fix for Mantis 2663 (hud-set-color only works once per mission)
2012-06-08 14:45:41 +00:00
The_E
8e271af26b
As requested and tested by VA, bumping MAX_INSTANCE_DEPTH to 10
2012-06-06 10:50:23 +00:00
Sushi
22ae177ba7
Fix Evil Turret Bug of Doom. :)
2012-06-06 06:17:23 +00:00
IssMneur
c429e1ddec
Reformat the function modified by 8842 so that we don't jump over a variable initialization
...
This issue was not picked up by VC, and was brought to my attention by ZekeS on #scp and his GCC build. Fix was tested by ZekeS.
2012-06-02 23:25:08 +00:00
IssMneur
a28d92456e
From Mastadon: "target nearest attacker" now selects only *attacking* hostiles
...
Fixes #2659
2012-06-01 02:07:56 +00:00
IssMneur
218ce9ed3f
From Mastadon: "Target closest attacker" cycles through all attackers; misc code cleanup.
...
- Changed "target closest attacker" command to cycle through the other baddies gunning for you by pressing the "target closest attacker" command repeatedly.
- The new functionality behaves similarly to the "target closest hostile" key.
- Moved the esct (or, the "Evaluate Ship as Closest Target" struct) to hudtarget.h, where a type declaration belongs.
- Moved the documenting comments for hud_target_closest() to be just above the function definition.
-- Also, converted these comments to doxygen format.
2012-06-01 02:05:14 +00:00
niffiwan
cc222f1b53
Add mod_table.* to codeblocks
2012-05-30 08:48:47 +00:00
Echelon9
3df38b912b
Implement EModelAnimationPosition enum to more completely address boolean issue fixed in r8837
2012-05-29 10:27:52 +00:00
niffiwan
553766600d
GCC Warning: declaration shadows a global declarationa (hudparse.*)
2012-05-29 10:24:00 +00:00
Echelon9
26e1226478
PVS-Studio fix: The 'false' value is implicitly casted to the integer type.
2012-05-29 09:55:54 +00:00
Goober5000
fae70dbb8d
truncate assert strings, warnings, errors, and dump buffers if they are too long
...
(this should fix Mantis #2658 )
2012-05-28 22:24:53 +00:00
Echelon9
e20a418c94
PVS-Studio fix: The 'false' value is implicitly casted to the integer type.
2012-05-28 13:35:39 +00:00
Echelon9
a04a14170f
PVS-Studio fix: The 'modified' variable is assigned values twice successively. Perhaps this is a mistake (freespace.cpp:4666,4668)
2012-05-28 13:20:40 +00:00
niffiwan
2cded90031
Mantis 2419: add a new ETS gauge that behaves like the retail one
2012-05-28 08:13:35 +00:00
Echelon9
fd56997cdf
GCC warning: Absence of curly brackets in initialiser
2012-05-27 15:00:40 +00:00
Echelon9
b0e614c410
GCC warning: base_res[0] and base_res[1] may be used uninitialised in this function
2012-05-27 14:52:56 +00:00
Echelon9
a8c54f5b9d
GCC warning: initialisation reorder
2012-05-27 14:46:00 +00:00
Echelon9
68faf910cd
GCC warning: suggest brackets (parentheses) around '&&' within '||'
2012-05-27 14:38:53 +00:00
Echelon9
4dcb3a7a16
GCC warning: comparison between signed and unsigned integer expressions
2012-05-27 14:23:41 +00:00
Echelon9
7dfa5bdd7a
GCC warning: passing NULL to non-pointer argument, in hudtarget.cpp
2012-05-27 14:16:00 +00:00
Echelon9
4d31532aad
GCC warning: passing NULL to non-pointer argument, in gropenglpostprocessing.cpp
2012-05-27 14:13:25 +00:00
Echelon9
7c41319714
GCC warning: missing curly brackets (braces) around initialiser for 'vec3d::<anonymous union>::<anonymous struct>'
2012-05-27 14:07:34 +00:00
Echelon9
55703bb600
GCC warning: Defined by not used, in lua.cpp
2012-05-27 14:00:17 +00:00
Echelon9
28c20e0468
GCC warning: converting to non-pointer type 'int' from NULL
2012-05-27 13:53:04 +00:00
Echelon9
592c9421ac
GCC warning: Fix absence of parentheses, further
2012-05-27 13:35:05 +00:00
Echelon9
bd405ee457
GCC warning: converting to non-pointer type 'char' from NULL
2012-05-27 13:32:08 +00:00
Echelon9
0ba6d38a31
GCC warning: Fix absence of parenthesis
2012-05-27 13:07:53 +00:00
Goober5000
9fd70fd5a9
fix for Mantis #2117 (dock names with trailing spaces cause errors)
2012-05-22 08:39:13 +00:00
Goober5000
b5aa89a8e1
restrict multi-editing for Mantis #1681
2012-05-22 06:43:38 +00:00
Goober5000
7bc7c4297e
time the briefing stages appropriately for text-to-speech (Mantis #2637 )
...
also, make the briefing speech timing, which is badly written, a little bit more like the command briefing, which is a bit better written
2012-05-21 08:05:18 +00:00
Goober5000
f36a76ff5b
the Microsoft documentation was misleading; there is a hidden "queued to speak" state
2012-05-21 05:24:47 +00:00
Goober5000
f3a0a1921d
project changes to enable simulated speech
2012-05-21 03:53:58 +00:00
Goober5000
9785871010
if a movie fails to play, give back the mouse cursor
2012-05-20 20:50:17 +00:00
Goober5000
dc456c667b
restore code that was inadvertently deleted, fixing Mantis #2478
2012-05-20 19:25:38 +00:00
niffiwan
381d50c74c
Documentation for head-ani's && messages
2012-05-20 10:07:21 +00:00
niffiwan
c634b65d24
GCC: remove trivial warning: multi-line comment [-Wcomment]
2012-05-20 06:31:09 +00:00
niffiwan
3eb66f7bae
save a tiny amount of RAM when creating BMP_AABITMAP bitmaps
2012-05-20 06:15:23 +00:00
niffiwan
b1b2920ea9
Fix for mantis 2655: play messages at least until head ani finishes
2012-05-20 06:03:24 +00:00
niffiwan
7dc94578b5
Fix for mantis 2411: allow repeated messages to play head anis
2012-05-20 05:41:53 +00:00
zookeeper
b4c53dba03
Decoupled height and normal maps in one more place.
2012-05-19 10:10:12 +00:00
The_E
10a2e8d1d3
Ooops, forgot the safety check
2012-05-19 09:27:36 +00:00
The_E
aa67e7dd1f
Decoupling height and normal maps
2012-05-19 09:22:11 +00:00
The_E
749fee1a3d
Turn -height into -noheight, to follow the precedent set by the other flags.
2012-05-19 08:51:12 +00:00
karajorma
f883224269
Niffiwan's fix for 2590 seems to have introduced a bug of it's own. Easy enough to fix it though.
2012-05-19 02:28:41 +00:00
zookeeper
af997d2b5d
Added changes missing from previous commit.
2012-05-18 17:02:49 +00:00
zookeeper
3f34b57fb3
Allowed detail spheres to provide an $offset: x,y,z prop to offset the sphere from the model center.
2012-05-18 15:24:45 +00:00
Echelon9
de48302de6
GCC: Remove unused variable
2012-05-17 17:51:51 +00:00
Echelon9
9fc2a7c908
GCC: warning: converting to non-pointer type 'char' from NULL
2012-05-17 17:36:55 +00:00
Echelon9
d71a32677e
Remove some unused variables
2012-05-17 17:20:36 +00:00
IssMneur
ea75b099ff
From jg18: Allow FSO to actually fetch the max anisotropy value rather than hard capping at 2.0.
2012-05-17 03:10:12 +00:00
IssMneur
bcab66cd87
Fixes #2624 . The sound environment should now track the camera correctly.
2012-05-17 02:57:33 +00:00
Goober5000
1d4dee495a
if we are ignoring whitespace and we encounter a newline, don't eat it
2012-05-15 01:27:38 +00:00
Goober5000
896f0721dc
make the closing color span brace be $} instead of $c}
2012-05-15 01:26:36 +00:00
Goober5000
270a4111c0
add capability to specify different nested default colors
...
(see http://www.hard-light.net/forums/index.php?topic=80766.0 )
2012-05-14 06:48:47 +00:00
Goober5000
e704974a1b
remove small warning
2012-05-14 06:32:58 +00:00
Goober5000
3cc5be68d8
other people than me also deprecate sexps now
2012-05-14 06:23:05 +00:00
The_E
e0c1c21bae
Fix for Mantis 2647, take two: Remove the pointers in question
2012-05-13 19:38:21 +00:00
Echelon9
5782378e6f
Fix PVS-Studio warnings: The 'rval' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: freespace.cpp:8277, 8281.
...
The 'then' statement is equivalent to the 'else' statement. freespace.cpp:8311.
2012-05-13 05:00:31 +00:00
The_E
be86dc5254
Introduces "-misc" maps, which can be used to pass information to shaders using the sMiscmap sampler and FLAG_MISC_MAP shader define.
2012-05-12 21:08:15 +00:00
The_E
d03af34eed
Add a log print for my previous mod.tbl addition
2012-05-11 11:30:19 +00:00
The_E
b006d8de1a
Since we can't change the default cutscene camera behaviour (switching off the HUD when cutscene camera is active), this introduces a mod.tbl setting to alter this behaviour.
...
The new setting is called "$Cutscene camera disables HUD:", is a boolean, and defaults to true.
2012-05-11 07:57:01 +00:00
Goober5000
6812854419
supernova-stop sexp, written by CommanderDJ
2012-05-11 06:34:49 +00:00
The_E
17a99ac973
Partial fix for 2410: Fixes Directive gauge ignoring hud-disable-except messages
2012-05-10 21:38:15 +00:00
The_E
acffa5b358
Fix for Mantis 2606: Local SSMs fired in swarm may cause propagating NaN errors
2012-05-10 20:54:40 +00:00
The_E
a57e263c7c
Make sure we use a valid pointer for 8768
2012-05-10 15:06:41 +00:00
The_E
4d8c498628
Fix for Mantis 2647: Pointers becoming invalid when going out of scope during armor calculations (PVS Studio warning)
2012-05-10 15:04:05 +00:00
The_E
c4f103e1d7
From CommanderDJ: Patch for Mantis 2650 (Allow 0 door animations in mainhall.tbls/tbms)
2012-05-10 12:32:19 +00:00
karajorma
998c7eb207
Add a SEXP allowing the FREDder to change the orders a player can give to a ship.
2012-05-09 05:09:40 +00:00
niffiwan
a09306b31c
From m!m: Fix for mantis #0002648 - skip intercom mainhall sounds when none are defined
2012-05-08 07:28:45 +00:00
Echelon9
04b12cf599
PVS-Studio fix: The conditional expressions of the 'if' operators situated alongside each other are identical. multi_ingame.cpp: 1073, 1086
2012-05-06 14:23:11 +00:00
Echelon9
5bc51383b7
Fix The_E's partially broken commit in r8757 -- there is no wi_flags3 or WIF3_NOLINK yet
2012-05-06 06:47:12 +00:00
niffiwan
65aedf36ad
From CommanderDJ: Fix for mantis #0002646
2012-05-06 03:46:03 +00:00
The_E
0330dbf493
Fixes a few more bugs with the On Weapon Deselect hook
2012-05-05 22:05:46 +00:00
zookeeper
a1ab5a725d
Fixed a pointer assignment which should have been a value assignment.
2012-05-05 15:01:14 +00:00
The_E
9d3faf893e
Adds ability for scripting to manipulate subsystem armor classes and shield armor classes as well.
2012-05-05 14:39:49 +00:00
The_E
2b40344bc7
Adds scripting access to a ships' armor type.
2012-05-05 14:07:31 +00:00
The_E
57d7fb7fbd
Clarifies the code for the On Weapon Fired hook. also adds On Primary Fire and On Secondary Fire hooks.
2012-05-05 13:46:24 +00:00
The_E
49466254c7
Change this little piece of code to avoid a potentially very baffling null pointer dereference later on
2012-05-05 12:50:06 +00:00
Valathil
a6d112c192
Fix for transparent submodels that are children of submodels.
2012-05-04 21:26:49 +00:00
Valathil
bded282738
Fix for transparent cockpits that should'nt be transparent. Breaks lightshafts for cockpit models with glass which don't use "-trans". This may be remedied in the future.
2012-05-04 18:49:34 +00:00
Echelon9
6e51b354d1
Fix Mantis 2644: Replace vector<bool> with proper STL deque<bool>, thanks IssMneur and CommanderDJ
2012-05-02 15:20:57 +00:00
Echelon9
e21ad72877
Utilise the CLAMP() utility macro in a further range of appropriate locations
2012-05-02 15:15:48 +00:00
Echelon9
8a839fa159
Use CLAMP utility macro in lightin.cpp
2012-05-02 14:48:22 +00:00
Echelon9
721b3af9d7
Documentation: Doxygen comments for lighting.cpp
2012-05-02 14:35:50 +00:00
chief1983
dd13785941
Remove ltests from Xcode 3 project file.
2012-05-01 18:48:28 +00:00
karajorma
d7d6009ea1
Fix a bug that caused bombs to be indestructible by the player for much longer than they should be according to the table settings given.
2012-04-30 07:47:23 +00:00
karajorma
e5b2ebd02e
Fix the bug in closing the event editor that caused it to take minutes with some missions rather than seconds.
2012-04-30 07:26:44 +00:00
Echelon9
5b7190ea39
Fix Assert and Assertion for non-MSVC compilers, due to changes in r8692; Fix use of C++11 cbegin/cend() STL operators as these are not going to be supported widely yet, due to changes in r8693
2012-04-29 11:10:29 +00:00
IssMneur
cc521fcaa4
Make the asteroid.tbl parser generate a more useful error messages.
...
- Converts asteroid_info into the class that it is.
- Changes the asteroid.tbl parser to parse the table as specified
- Also removes the attempts at being clever from the asteroid.tbl parser.
2012-04-29 04:10:58 +00:00
IssMneur
a95091db20
Rename the args of Assert and Assertion macros to be more helpful than just 'x' and 'y'.
2012-04-29 03:52:30 +00:00
Echelon9
15e5adf31d
Documentation: Doxygen comments throughout mainhallmenu.cpp
2012-04-29 03:49:00 +00:00
The_E
a415a803ee
Update the MSVC projects to remove ltests.c from the lua library.
2012-04-27 11:01:24 +00:00
Echelon9
9e4f1cc30c
Upgrade internal Lua interpreter to 5.1.5 bugfix release; announcement details http://lua-users.org/lists/lua-l/2012-02/msg00639.html
2012-04-25 13:40:32 +00:00
Echelon9
5828d17ac7
Fix Mantis 2640: Double free in missionbriefcommon.cpp, thanks 3dL3XAqPiDaS5WF2
2012-04-22 13:44:06 +00:00
Echelon9
52b421c56b
Documentation: Remove redundant #includes
2012-04-22 13:36:31 +00:00
Echelon9
c4c33bea34
Fix Mantis 2642: Cockpits are rendered incorrectly when post-processing is disabled, thanks m_m
2012-04-22 13:34:37 +00:00
Echelon9
cbc7b49399
Setting the floats correctly in avd_movement constructor
2012-04-22 11:27:31 +00:00
Echelon9
51ad3f97eb
Eradicate the memset(this...) paradigm within ade_table_entry
2012-04-22 11:25:15 +00:00
Echelon9
33918a1a17
Eradicate the memset(this...) paradigm within class avd_movement
2012-04-22 10:54:59 +00:00
Sushi
5669c03872
Add support for weapon spread over time (+FOF Spread Rate, +FOF Reset Rate, +Max FOF)
2012-04-21 15:40:06 +00:00
Echelon9
f28bd3e167
These two variables were missed; the sort of overlooked error that is easy with this odd method of copy constructing...
2012-04-19 13:22:44 +00:00
Echelon9
1da3f30ff4
warning C4018: '<' : signed/unsigned mismatch
2012-04-15 09:02:10 +00:00
Echelon9
4820ef1fdf
warning C6246: Local declaration of 'i' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1037'
2012-04-15 07:55:27 +00:00
Echelon9
b74f0dd2a1
warning C6246: Local declaration of 'i' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '832'
2012-04-15 07:44:11 +00:00
Echelon9
267a88eb59
warning C6246: Local declaration of 'i' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1350'
2012-04-15 07:17:51 +00:00
Echelon9
81bd5a98f1
warning C6246: Local declaration of 'curspeed' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1877'
2012-04-15 07:14:58 +00:00
Echelon9
8befbc7adf
warning C6246: Local declaration of 'subsys' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '443'
2012-04-15 07:12:28 +00:00
Echelon9
fd74d06398
warning C6246: Local declaration of 'exp' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '8063'
2012-04-15 07:02:18 +00:00
Echelon9
12fbf17af5
warning C6246: Local declaration of 'pm' hides declaration of the same name in outer scope.
2012-04-15 06:57:05 +00:00
Echelon9
e798ee0f5e
Ensure that the Xcode 4 project file can build Mac binaries for OS X 10.6, as well as 10.7
2012-04-15 06:20:56 +00:00
Goober5000
908557be9f
fix for Mantis #2630
...
(LUA is not mentioned, but the problem might affect that too)
2012-04-13 07:01:45 +00:00
Echelon9
172ff073ef
Documentation: Some extra notes within aiturret.cpp
2012-04-12 16:09:33 +00:00
Echelon9
3ce3fea911
Correct copy/paste error -- refer functions above for similar pattern used correctly
2012-04-12 16:05:57 +00:00
Echelon9
6bebe3c397
Documentation: Attempt to begin getting aiturret.cpp under control
2012-04-12 15:55:57 +00:00
Goober5000
63a78e79fd
modular credits.tbl, courtesy of m!m
...
(with a few tiny tweaks)
2012-04-12 03:49:47 +00:00
Goober5000
34bfc4a12e
const-correctness in preparation for modular credits.tbl, courtesy of m!m
2012-04-12 03:48:24 +00:00
Echelon9
a10b5ae804
warning C6011: Dereferencing NULL pointer 'wp->turret_subsys'
2012-04-11 14:44:59 +00:00
Echelon9
6ed3ce07d7
warning C6011: Dereferencing NULL pointer 'lowest_vol_osp'
2012-04-11 14:44:05 +00:00
Echelon9
067724f5a8
warning C6280: 'tmp_Player' is allocated with 'new', but deleted with 'free'
2012-04-11 13:04:28 +00:00
Echelon9
8947768fda
warning C6246: Local declaration of 'props' hides declaration of the same name in outer scope
2012-04-11 13:00:28 +00:00
Echelon9
968f2e6423
warning C6246: Local declaration of 'temp' hides declaration of the same name in outer scope.
2012-04-11 12:59:16 +00:00
The_E
ae084d47e0
Do shader compilation during modelload, in order to avoid having to compile shaders during gameplay as much as possible
2012-04-09 12:43:20 +00:00
Swifty
edb5762d9c
Optimization: sped up rendering of trails by switching out g3_draw_poly with gr_render. Removed extra memory allocation.
2012-04-08 22:00:16 +00:00
Echelon9
13ca0a1c67
Remove redundant #includes to fs2open's internal linked list implementation
2012-04-08 01:39:34 +00:00
Echelon9
c0df634874
Documentation: Complete documentation of CJumpNode
2012-04-07 23:31:23 +00:00
Echelon9
a0e59defd6
CJumpNode class code convention; convert to UpperCamelCase for class and function name; ensure all private variables adopt m_ prefix
2012-04-07 11:07:30 +00:00
Echelon9
7b1d5e1ece
Documentation: A bit of code cleanup
2012-04-06 08:52:15 +00:00
The_E
66b5912d7b
Converting this Assert() to an Assertion(), for better error logging
2012-04-04 22:01:32 +00:00
The_E
6157334fe8
MSVC Analyze warning fix: Incorrect type passed as parameter in call to function printf()
2012-04-03 19:44:39 +00:00
The_E
7cb8876976
MSVC Analyze warning fix: Local declaration of variable hides variable of same name in outer scope
2012-04-03 19:35:37 +00:00
The_E
3383b20893
Change the MSVC2012 projects to use the MSVC2012 toolset
2012-04-03 19:34:22 +00:00
Echelon9
164581168d
Fix Mantis 2632: Sounds assigned to objects get dropped when limit hardcoded gets reached. Patch from m_m
2012-04-02 21:32:47 +00:00
The_E
c2d19384f5
Fixes LLVM and Doxygen errors
2012-04-02 15:01:31 +00:00
The_E
95f56d3af7
New shader initialization code. This removes the big, ugly GL_Shader_file[] array, and changes shader compilation behaviour to only compile shaders on demand, not on program startup
2012-04-02 10:20:31 +00:00
zookeeper
c3fe50ecce
Made @Laser Color2 work even with a value of 0,0,0.
2012-04-02 06:35:19 +00:00
The_E
5d8b95c2f5
Same for secondary weapons
2012-04-01 15:09:24 +00:00
The_E
2f72134675
Fix for Mantis 2635: Invalid memory access when saving a mission due to a weapon bank set to empty.
2012-04-01 14:57:09 +00:00
Echelon9
8157463c4b
Fix Doxygen documentation for wl_draw_ship_weapons()
2012-04-01 08:25:53 +00:00
Echelon9
0c9cfdfc93
PVS-Studio fix: The 'Player' pointer is used simultaneously as an array and as a pointer to single object.
2012-04-01 08:06:21 +00:00
Echelon9
0a45d3df33
PVS-Studio fix: The 'Players' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 1392, 1410.
2012-04-01 08:05:29 +00:00
Echelon9
491793adcd
PVS-Studio fix: The 'Weapon_info' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 2962, 2975.
2012-04-01 08:04:40 +00:00
Echelon9
8caa385786
Xcode4: Add the common schemes
2012-04-01 04:58:26 +00:00
Echelon9
a9a9c43ea2
Remainder of Xcode4 project files
2012-04-01 04:44:45 +00:00
Echelon9
0fdfef37d4
Add Xcode4 compatable project file, along with SDL v1.2.15 that addresses Mac OS X 10.7 compatability
2012-04-01 04:28:04 +00:00
The_E
6badeadd54
As per discussion for Mantis 2633, Reverting revision 8544 due to timer drift.
2012-03-31 20:30:09 +00:00
zookeeper
7ebb6f53a3
Fixed a screwup in $detail_sphere distance calculation.
2012-03-31 20:10:26 +00:00
The_E
21ef9c620a
Adding a few newlines here
2012-03-30 16:25:06 +00:00
Goober5000
913edc6294
revision 8155 inadvertently made ALL weapons area-effect... so don't add an automatic inner radius (for Mantis #2634 ) but still be careful about potential divide-by-zero
2012-03-30 05:58:55 +00:00
Zacam
2cb5b15bd8
Nukes changes to the Armor Table for Difficulty Scaling and additional options.
...
Potentially handles Mantis issues 2493 and/or 2494.
http://www.hard-light.net/forums/index.php?topic=78277.0
2012-03-28 06:25:26 +00:00
Sushi
92e593fb37
Gliding bugfix: only "decay" glide speed when actually thrusting.
2012-03-27 15:31:08 +00:00
The_E
28410c9ec9
Removing -img2dds, since it's highly unlikely that anyone would run into issues with it.
2012-03-25 21:22:27 +00:00
zookeeper
a5279f786c
Fixed a typo ("$Fix Turret Collisions:" -> "$Fixed Turret Collisions:").
2012-03-22 06:52:35 +00:00
zookeeper
a02fb5a869
Moved the features from r8621 and r8622 behind two game_settings.tbl flags.
2012-03-22 06:15:39 +00:00
Sushi
f941c56597
Make $Max Turrets per Target only affect small ships (we can add a separate one for large ships later, if needed)
2012-03-21 15:07:28 +00:00
zookeeper
8890b61350
Made hits which directly impact a subsystem's submodel always deal damage to that subsystem first, even if other subsystems are closer to the point of impact.
2012-03-21 12:34:34 +00:00
zookeeper
c14399cfb1
Made hits to a turret's barrel count as hits to the turret subsystem itself.
2012-03-21 12:31:02 +00:00
zookeeper
c87c2cbd63
Added a "collide submodel" subsystem flag, which makes the subsystem take local damage only from shots which actually impacted its submodel.
2012-03-17 17:40:53 +00:00
Goober5000
8cd3cbc721
considering that both the HUD and sexp_replace_variable_names_with_values work with SCP_string, just use SCP_string directly and remove the character limit
...
also, MESSAGE_LENGTH isn't 32 characters
2012-03-16 04:09:30 +00:00
karajorma
2b445b41c0
Fix a rather unhelpfully vague piece of the SEXP documentation.
2012-03-16 03:28:57 +00:00
Swifty
bebf5e8fbf
Added hud-clear-messages. Clears active messages currently displayed.
2012-03-14 05:25:07 +00:00
Swifty
d84d9a8f5d
Allowed hud-set-directive and hud-set-message to set custom gauge text up to MESSAGE_LENGTH instead of NAME_LENGTH.
2012-03-13 06:54:13 +00:00
niffiwan
d315a55fbe
Update to 8602 - an even simpler fix
2012-03-12 10:08:10 +00:00
Goober5000
1372ff8a17
this isn't needed
2012-03-12 06:52:32 +00:00
Goober5000
e022277a42
redo the fix for Mantis #2627 so that we don't create temporary SCP_strings
2012-03-12 06:49:28 +00:00
Echelon9
124cbbfb99
Fix for Mantis 2629: PVS-Studio warning: The variable j is being used for this loop and for the outer loop. (controlsconfig.cpp 1613)
2012-03-11 11:19:06 +00:00
niffiwan
3163f80518
Fix for mantis #0002627 : save filename to temp var in generic_anim_init
2012-03-10 04:01:51 +00:00
chief1983
596d99d685
This is probably a better way to add silent rules support.
2012-03-09 23:09:24 +00:00
chief1983
8dbc4660e2
Fix line ending issues from happening here too.
2012-03-09 18:32:17 +00:00
karajorma
6f4227e21d
Well I find it hard to believe that in over eight years three senior SCP coders couldn't find THAT!
...
Fix Mantis 0082 (Repeat count sexp does not work reliably)
2012-03-08 15:19:42 +00:00
niffiwan
9489e74d9c
Reorder setting of filename in game init to stop missions crashing in load screen
2012-03-08 10:55:33 +00:00
niffiwan
5a873d6646
Fix gcc compile error with yet more const ness
2012-03-08 10:55:22 +00:00
Goober5000
b146b10403
MOAR const-correctness!
2012-03-08 08:12:56 +00:00
Goober5000
a378cfe005
sexp strings are now SCP_string
2012-03-08 06:48:44 +00:00
Goober5000
9683410dbb
const-correctness and SCP_string which is useful for sexp string conversion
2012-03-08 06:46:25 +00:00
Goober5000
c743b37a77
fix a derp by Echelon9 (local variable was hiding the member field)
2012-03-08 03:09:40 +00:00
niffiwan
2950030649
From Echelon9, fix for mantis #0002621
2012-03-07 09:23:34 +00:00
Goober5000
7d4fd7ee2a
convert briefing and debriefing to use SCP_string
2012-03-07 05:23:21 +00:00
Goober5000
19fc7728ba
one more bit of const-correctness
2012-03-07 05:22:55 +00:00
Goober5000
15d603b2e8
revert 8515 per Mantis #2607
2012-03-07 02:50:10 +00:00
Goober5000
5127340279
per discussion with mjn.mixael, fix error function so that it doesn't break on messages that are too long
2012-03-07 01:52:30 +00:00
karajorma
dc9de13d85
Get the default chance of a pilot praising his own kills from mod.tbl rather than the hardcoded magic number it currently uses.
...
Switch mod.tbl to automatically read the default table first, then look for the one the mod uses. This guarantees that variables are initialised to something and simplifies the logic for mod.tbl a lot.
2012-03-07 00:45:28 +00:00
The_E
c075661087
Mea culpa. I made a stupid mistake, goober's version was correct.
2012-03-06 12:35:12 +00:00
The_E
9b43020e26
Reverting 8581. If you are breaking freespace2.fc2, something is wrong with your code.
2012-03-06 12:20:59 +00:00
The_E
d1607ffa3c
Switches -glow, -normal, -spec and -env to be on by default. Renames commandline options to -noglow, -nospec, -nonormal and -noenv. Also renames -flightshaftsoff to -nolightshafts for consistency.
2012-03-06 11:53:41 +00:00
karajorma
2c1db51681
Allow modders to define a default campaign using mod.tbl
2012-03-06 11:21:29 +00:00
niffiwan
f75e83c900
Fix for Mantis #0002604 : using m_m's patch, allow swarm/corkscrew bank to keep firing if current bank changes
2012-03-06 10:09:04 +00:00
Goober5000
42942750e0
no need for this #define now
2012-03-06 05:16:16 +00:00
Goober5000
1e23f07948
fix the algorithm for trimming whitespace
2012-03-06 05:11:55 +00:00
Goober5000
d4adf75ffa
change command briefing text to use SCP_string
2012-03-06 04:58:45 +00:00
Goober5000
a01d54e808
another change to parsing of XSTR ids because an id can be one digit long
2012-03-06 04:52:14 +00:00
Goober5000
75232cc2f3
const-correctness which will be useful for SCP_string
2012-03-06 03:41:57 +00:00
The_E
a75d03ac05
Fix for Mantis 2619: Adds .png to FRED's list of recognized file formats for loading screens.
2012-03-05 23:00:06 +00:00
The_E
5c18143aa1
From casual_pilot: Fix for Mantis 2395 (incorrect index values passed to OpenGL)
2012-03-05 12:01:44 +00:00
The_E
88dbf09947
Properly updating all the projects to VS11 beta. Also sets toolset property to use the VS2010 toolset; given that almost noone has the MSVC2011 redistributable installed.
2012-03-05 11:33:52 +00:00
Goober5000
4e9915cc9b
change fout routines to use SCP_string instead of large C string buffers
2012-03-05 09:23:01 +00:00
Goober5000
0d3f28e8d4
enhance vsprintf for SCP_string to be more intelligent in how it handles specifiers
2012-03-05 09:09:15 +00:00
Goober5000
bc9023f5ad
fix a bug in the way XSTR ids were interpreted
2012-03-05 08:18:11 +00:00
Goober5000
97002e90ca
use SCP_string internally in stuff_and_malloc_string to remove the need for huge temporary buffers
...
also fix a Volition derp with the function prototype: if you're mallocing a string, you don't need a maximum length
2012-03-05 06:20:23 +00:00
Goober5000
b0079dc0ce
we might XSTR these at some point
2012-03-05 06:00:33 +00:00
Goober5000
589f7f332e
use SCP_string for great justice
2012-03-05 05:55:43 +00:00
Goober5000
79e4c58064
just derping along
2012-03-05 05:49:25 +00:00
Goober5000
d22ad134fd
a vsprintf equivalent is useful
2012-03-05 05:24:15 +00:00
Goober5000
f03eb16119
mjn.mixael's required weapon feature
2012-03-05 02:37:09 +00:00
Goober5000
806492779a
partial revert of 8561: vm_malloc should never return null, so the Assert is necessary, and will immediately flag the error as it happens instead of leaving a mine to be triggered later
2012-03-04 19:19:11 +00:00
zookeeper
8e8d11962b
Fixed the inability to use ship:TargetSubsystem to set the player's subsystem target during one frame even if the ship was not already being targeted.
2012-03-04 13:48:40 +00:00
Echelon9
8891526368
Fix for Mantis 2327 - Strange behavior with key-press, patch from Eli2
2012-03-04 13:05:41 +00:00
Echelon9
165721374a
Fix for Mantis 2616 - Lua forward controls don't get applied to player controls, patch by m_m
2012-03-04 13:02:48 +00:00
Echelon9
f2856015ad
PVS-Studio fixes: Resolve some warnings about use of pointers before checking for a null pointer
2012-03-04 08:51:59 +00:00
Echelon9
9ae918ead4
Fix SCP_string parselo code - std::string.c_str() function means it's a string being passed to Error(), not the whole std::string object
2012-03-04 07:50:47 +00:00
Goober5000
e2ccd37673
derp
2012-03-04 06:54:56 +00:00
Goober5000
83b09269f4
add variants of replace_one and replace_all
2012-03-04 03:59:29 +00:00
The_E
48977af19a
Mod.tbl adjustments for VS2011
2012-03-04 00:44:52 +00:00
Goober5000
02def13365
add SCP_string variants of parselo functions
2012-03-04 00:20:09 +00:00
Goober5000
297725ee76
small project fix
2012-03-03 08:05:20 +00:00
Goober5000
138148c92a
const correctness for fhash
2012-03-03 07:57:54 +00:00
Goober5000
a52b1e0c1b
this is a fix that doesn't require #including another file
2012-03-03 02:02:32 +00:00
Echelon9
2fd00900f6
Fix Mantis 2620 - PVS-Studio warning: Consider inspecting the '(strlen(filename) > 6)' expression. A 5 year old bug.
2012-03-03 00:22:49 +00:00
Echelon9
e04e570078
PVS Studio fix: The conditional expressions of the 'if' operators situated alongside each other are identical (aicode.cpp)
2012-03-03 00:00:16 +00:00
Goober5000
805374a5d8
fix compilation for MSVC6
2012-03-02 22:00:33 +00:00
chief1983
52c60b1711
stdint.h and inttypes.h moved, and let's fix some paths that VC6 botched up for us again.
2012-03-02 20:29:19 +00:00
Goober5000
687cc4b87b
mod_table project updates
2012-03-02 19:58:07 +00:00
Goober5000
abeb98a566
change stuff_vector to stuff_vec3d for clarity, since "vector" now refers to a dynamic list and "vec3d" now refers to the three-float struct
2012-03-02 04:26:44 +00:00
zookeeper
e98ff51535
Eli2's minimal timer fix patch(es) from http://www.hard-light.net/forums/index.php?topic=79070.0
2012-03-01 19:16:31 +00:00
karajorma
76f8d96721
Fix a bug where placing the host in team 2 of a TvT mission would cause the clients to crash out.
2012-03-01 09:58:39 +00:00
chief1983
e290d97228
Add mod_table files to Xcode project.
2012-02-29 17:41:06 +00:00
Sushi
1af1c1644c
Update VS2010 project to work with mod_table stuff.
2012-02-29 16:07:31 +00:00
Echelon9
5eb4e7728c
Related to Mantis 2617 - there is no way this is correct, now we have a properly functioning constructor for mc_info
2012-02-29 14:13:22 +00:00
Echelon9
53aa9752f2
Fix Mantis 2617: LLVM warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it?
2012-02-29 14:09:42 +00:00
niffiwan
adb2475528
Update makefile for new mod_table files
2012-02-29 10:33:58 +00:00
karajorma
caf038d3fc
Commit game_settings.tbl / -mod.tbm
2012-02-29 07:13:49 +00:00
karajorma
f856776a6e
Fix ignore-keys not blocking joystick or mouse buttons. (Mantis 2611)
2012-02-29 06:07:08 +00:00
Echelon9
35e26fb068
Diaspora code: Fix for Mantis 840 - Sounds for DRADIS, patch by m_m
2012-02-28 14:19:34 +00:00
Echelon9
621d82e1dd
Diaspora code: Fix for Mantis 768 - Tabled explosion sounds for ships, patch my m_m
2012-02-28 14:17:07 +00:00
Valathil
fe511293fa
Fix for Mantis 2614: Remove that statement, it works fine without exponentiating the offset.
2012-02-27 16:45:29 +00:00
The_E
d1c6d894eb
Forgot newlines
2012-02-24 23:51:03 +00:00
The_E
5287c93dfe
Deprecating stuff: Good. Printing messages to the log: Good. Using Warning() instead of mprintf(): Bad.
2012-02-24 23:25:00 +00:00
zookeeper
535c0f3bb5
Added subsystem:NextFireTimestamp scripting variable, exposing the ship_subsys->turret_next_fire_stamp variable to Lua.
2012-02-20 10:10:50 +00:00
zookeeper
56a62f6a46
Added subsystem:TurretLocked scripting variable, providing a way of directly getting/setting the locked status of a turret (also without the random delay incurred by the turret-free SEXP).
2012-02-20 10:07:38 +00:00
zookeeper
6198e29bad
Added weapon:ParentTurret scripting variable, providing a handle to the turret (if any) which fired the weapon. This allows $On Turret Fired hooks to easily get a handle to the fired turret.
2012-02-20 09:59:34 +00:00
zookeeper
9f3bc98876
Fixed a few typos in scripting documentation.
2012-02-20 09:53:24 +00:00
The_E
bff9ebae74
Fix for 8515: Need to init Use_GLSL earlier
2012-02-19 18:04:15 +00:00
The_E
19de3c06c9
From CommanderDJ: Fix for Mantis 2594 (FRED is unable to open mission files from the commandline or shell)
2012-02-16 13:54:45 +00:00
The_E
7284622f4a
Fixes GLSL detection to switch off GLSL support if reported GLSL version is below 1.2
2012-02-16 13:00:18 +00:00
Zacam
b78ad057e5
Reported by ni1s: GCC complaint about missing .c_str() in the updated dynamic MAX_SHIELD_ICON dynamic change.
2012-02-15 07:58:46 +00:00
zookeeper
472837efb3
Added the "no disappear" subsystem flag. http://www.hard-light.net/forums/index.php?topic=79093.0
2012-02-15 07:54:38 +00:00
niffiwan
a7681b38d9
From CommanderDJ, fix for mantis #0002601 : create constructor for player struct
2012-02-14 10:27:03 +00:00
zookeeper
19326e0a18
Proper way to fix what was attempted in r8439.
2012-02-11 16:42:16 +00:00
The_E
8163db606f
Not only did rev 8439 not do what it was supposed to, it also broke subsystem scanning
2012-02-11 12:37:39 +00:00
The_E
a95b79c879
Fix for Mantis 2603: Fullscreen_window window not centered.
2012-02-10 18:45:06 +00:00
The_E
6b4fd467a4
Given that hitting this assert can cause crashes in release builds, it's probably better if it's turned into an Error() instead.
2012-02-10 18:09:43 +00:00
zookeeper
9dfb30b67d
Added subsystem:getModelName() scripting function, returning the original subsystem name as it appears in the model file, which is useful for example as a unique subsystem identifier.
2012-02-09 19:51:23 +00:00
zookeeper
924a188ac7
Made subsystems contain an objnum reference to their parent ship.
2012-02-09 16:06:37 +00:00
The_E
f929dc0a49
Amendment to 8431: Introduces AI Profiles flag "$countermeasures affect aspect seekers:", which governs the behaviour in 8431
2012-02-09 14:40:59 +00:00
Zacam
15f7e72fc6
From CommanderDJ: Makes MAX_SHIELD_ICONS dynamic
2012-02-09 12:40:15 +00:00
Goober5000
b0585fe5c1
Mantis #2524
2012-02-08 07:28:27 +00:00
Valathil
3f69eafcbc
Don't wait for brackets for messages without a target.
2012-02-08 02:49:34 +00:00
Valathil
21de0f9f73
Fixed the annoying OpenAL error messages in the log. AL_DOPPLER_FACTOR is only valid for alGet. Changed all instances to the correct alDopplerFactor.
2012-02-07 19:12:21 +00:00
zookeeper
828c766337
Slightly relocated the triggering of $On Turret Fired hooks as well as the setting of a few weapon variables. Makes sure that the variables only get set when a weapon is actually created and that all the weapon variables have been set before the hook is triggered.
2012-02-06 21:09:16 +00:00
Swifty
d8118c3f8b
Minor optimization when rendering tris that do not use distortion effects and therefore do not require calling glDrawBuffers.
2012-02-06 10:19:56 +00:00
Swifty
dd1c4a436c
Fixed Mantis 2413. hud-set-color changes to the HUD will no longer reset when pausing or entering options menu. Introduced Color entry fields for hud_gauges.tbl.
2012-02-06 10:01:01 +00:00
niffiwan
fe25fc41d2
Fix for mantis #0002597 : fix some GCC compiler warnings
2012-02-05 04:27:18 +00:00
Swifty
3affb86b52
Removed configOverride from HudGauge class since we don't even use it.
2012-02-05 03:41:31 +00:00
zookeeper
b9aea9b532
Makes subsystem targeting brackets always get drawn in the right place in the targeting box.
2012-02-04 22:43:28 +00:00
The_E
747841add1
Make the OS_SUBSYS_ROTATION sound depend on the SSF_ROTATES flag
2012-02-04 22:08:45 +00:00
The_E
b8c1a68989
Makes the $AliveSnd, $DeadSnd and $RotationSnd entries for subsystems work. NOTE: This will apparently not work correctly for nested subsystems.
2012-02-04 21:50:49 +00:00
The_E
855fe8cb34
Removing superfluous SSM alert message spawning.
2012-02-04 21:05:02 +00:00
The_E
d8026058d5
Ooops, I accidentally broke flaks.
2012-02-04 19:25:20 +00:00
Valathil
eea597decd
Make $FlyBySnd actually do something and allow primaries as well.
2012-02-04 17:13:45 +00:00
The_E
09b28e2b71
Make aspect lock weapons react to countermeasures the same way as heatseekers do instead of going dumbfire.
2012-02-04 17:04:40 +00:00
The_E
6145ae753a
A bit of cleanup in flak.cpp. Removes #defines made obsolete by previous commits, especially the hardcoded need for the "flk2" animation, which wasn't referenced anywhere in the actual code.
2012-02-04 13:48:58 +00:00
The_E
8636e43dbd
oops, forgot to remove this terminal command
2012-02-04 13:32:03 +00:00
The_E
928ef7a91b
A few parameters for Flak weapons as requested by fury. Changes:
...
-Arm Radius now determines how far a flak shell will have to travel before being able to detonate (used to be hardcoded to 10 meters)
-New weapons.tbl parameter "Flak Detonation Accuracy" to determine how far from a target a flak shell may explode (used to be hardcoded to 65 meters)
-New weapons.tbl parameter "Flak Targeting Accuracy" to determine the amount of jitter applied to turrets targeting other objects. Used to be hardcoded to 60 meters, applied as a radius around the target position
-New weapons.tbl parameter "Untargeted Flak Range Penalty" to determine the range penalty a flak weapon is subjected to when firing without a target. Used to be hardcoded to 20 meters.
2012-02-04 13:28:02 +00:00
niffiwan
f5eb49e652
Fix for mantis #0002593 : structs containing vectors don't like being memset to zero...
2012-02-04 11:01:18 +00:00
Valathil
1d64312266
Fix for Mantis 2534: Separate Warp IN and OUT when checking if the thrusters are behind the clip plane and don't do any checks for the "Hyperspace" warp type
2012-02-03 19:05:01 +00:00
Valathil
5fcc1c513e
Add a random offset to the thruster distortion to make thruster clusters look better.
2012-02-03 15:27:24 +00:00
The_E
1c1ad1214d
Given how often the particle shaders are called, moving them up to the beginning of the shaders array makes sense.
2012-02-03 10:27:33 +00:00
Zacam
3b865b16d3
Apologies to Swifty, this line change got truncated from the Font Fix.
2012-02-02 00:41:02 +00:00
Zacam
dd6fb0d27b
100ms was perhaps a bit too long. The answer is, of course, 42.
...
Wait, what was the question...?
2012-02-01 23:13:11 +00:00
Valathil
b9599be1cc
Fix for Mantis 2588: Messages without voice files now show the target brackets for at least "Message Length" * 100ms
2012-02-01 20:27:25 +00:00
Zacam
cf017ba490
From Swifty: Alternative fix to the font distortion problem by glyph realignment at the font creation phase rather than by manipulating the draw stage.
...
http://www.hard-light.net/forums/index.php?topic=79807.0
2012-02-01 20:07:36 +00:00
Zacam
d56a2a188b
Fix for the Fix for Mantis #2374 : Had only updated the Effect 2 portion of the missionscreencommon. Don't I feel silly now. Did a little housekeeping while at it.
2012-02-01 17:31:19 +00:00
Zacam
82f68b59f5
Fix for Mantis #2374 : Adds "+Closeup_pos:" and "+Closeup_zoom:" as entries following "$Tech Model:" for the weapons.tbl. For entries not using a dedicated $Tech Model, simply specify the $Tech Model as the same POF used in $Model to adjust Loadout Screen viewing position and zoom.
2012-02-01 14:11:45 +00:00
niffiwan
1b1ede220f
Fix for mantis #0002590 : fix array overruns caused by starting wings have > MAX_WING_SLOTS ships
2012-02-01 09:23:05 +00:00
Goober5000
ef62e392b0
more robust saving of dockpoint indexes (again for Mantis #2587 )
2012-01-31 04:53:37 +00:00
Echelon9
b43c50e178
Adopt the mprintf() macro correctly. It needs the braces to wrap the format string and variables
2012-01-30 16:58:23 +00:00
Valathil
3a26811c1d
Follow up to 8408: torename is a bad name since jnp is actually the jump node to be renamed
2012-01-30 15:24:46 +00:00
Valathil
9d1659aba9
Fix for Mantis 2523: Actually add the jump node to the vector after creating it and fix some new renaming code checks to work when you're trying to rename a node to the same name it had before.
2012-01-30 14:47:43 +00:00
Valathil
770593930a
Fix for Mantis 2589: Deactivate the Special* buttons while no ship is selected
2012-01-30 12:53:16 +00:00
Valathil
eb658ce53e
Fix for Mantis 2458: Initialize stuff before calling the point_to_vec function so it has the right matrices for calculation, also fixed scripted sphere drawing
2012-01-30 09:29:32 +00:00
Zacam
4541545bed
Slight touch up to Trunk Commit 8401: (! switch to !( to resolve a C4806 warning in MSVC.
2012-01-29 17:38:50 +00:00
The_E
858426d06a
Fixes issue where the jumpnode destructor would try to use obj_delete() on already deleted objects. Also changes obj_delete() to no longer assert when called on an already deleted object; will print a message to the log now.
2012-01-29 16:37:52 +00:00
The_E
2583d974e5
Adds weapons.tbl flag "ciws". This allows a flak weapons' blasts and shockwaves to damage bombs (essentially a reversal of the way the "takes blast/shockwave damage" flaks work)
2012-01-29 12:13:12 +00:00
The_E
c14dd6fa82
As requested by Diaspora: Adds "render flak" flag to weapons.tbl. This will allow the game to render flak shells.
2012-01-29 11:47:00 +00:00
Goober5000
ff4218e405
undo animations for undockings that happen from exploding or jettisoning cargo
2012-01-29 09:58:59 +00:00
Goober5000
5e2d53fba5
coded for Mantis #2587 but not actually used... this can allow a series of animations to be pushed and then popped
2012-01-29 09:19:40 +00:00
Goober5000
1732520514
fix Mantis #2587
2012-01-29 09:19:07 +00:00
Goober5000
b44df6f7be
tweaks
2012-01-29 06:53:42 +00:00
Goober5000
0b8089d07f
Vasudan Admiral's fix for the modelanim code
2012-01-29 05:05:59 +00:00
niffiwan
e2be31bff0
Fix for mantis #0002591 : add braces based on code indentation
2012-01-29 04:38:45 +00:00
Goober5000
c535100ae6
remove another four warnings
2012-01-29 03:24:36 +00:00
Goober5000
87b23a8184
remove warning
2012-01-29 03:23:12 +00:00
Goober5000
c84812fbda
herp a big derp
2012-01-29 02:58:29 +00:00
Goober5000
ceb53cbb30
derp
2012-01-29 02:32:19 +00:00
Goober5000
f8c5a31a6a
VA says this might work?
2012-01-29 02:26:26 +00:00
Goober5000
8b95cbb92b
wait until animation finishes before separating during undocking
2012-01-29 02:12:09 +00:00
Valathil
09b5e02331
Fix for Mantis 2521: Don't use the ship list for updating when we're in the middle of creating it.
2012-01-28 21:00:51 +00:00
The_E
1460805856
Given that there's an exit path available right here, changing this Assert() into a Warning() seems appropriate.
2012-01-28 19:32:09 +00:00
Zacam
938a122440
Fix for Mantis 2538: From Eli2, corrects for looping fade issue reported by FelixJim.
2012-01-28 15:48:19 +00:00
Zacam
eb4a6f6fff
Getting annoyed by -mipmap being used when it doesn't need to be. Moving it out of general graphics and into troubleshooting where it more appropriately belongs.
2012-01-28 13:02:40 +00:00
niffiwan
35d796d7cb
Fix for mantis #0002370 : ignore missing starting wing indexes during mission restart
2012-01-28 11:10:30 +00:00
Goober5000
cd7874e856
two new sexps, signum and trigger-submodel-animation
...
also, fix a smattering of missing sexp stuff from other people's commits such as argument types, validity checking, putting things in submenus, and using is_sexp_true
2012-01-28 07:56:26 +00:00
Zacam
a3c0ed6880
Fix to Trunk r8379, for want of a ; a compile was lost.
2012-01-28 07:07:07 +00:00
Goober5000
7d99d1016a
update docking code some more
...
add code logic to (theoretically) set submodels instantly to initial or final positions
2012-01-28 02:51:42 +00:00
Goober5000
e4c749ed2c
enhancement for bug 2582: trigger animations on BOTH ships undergoing docking
2012-01-27 07:42:13 +00:00
Goober5000
86e53c60b7
remove unnecessary warning
2012-01-27 07:40:23 +00:00
zookeeper
fe604aaf4a
Added support for the $detail_sphere submodel prop.
2012-01-26 14:25:20 +00:00
Goober5000
a54cfd15de
partial fix for Mantis #2582 :
...
--add Vasudan Admiral's fix for setting submodels to their initial positions
--add trigger for moving submodels to their docked positions when an initially-docked ship arrives
2012-01-26 03:57:23 +00:00
Zacam
b0d077677b
From Eli2: Mantis #2538 : Fade-in time limitation.
...
Testing in Multiplayer as well, no drastic incompatibility found. (If the host is patched but the client is not, then the timing returns are a little funny, but it doesn't cause for any crashes)
2012-01-24 05:54:55 +00:00
Valathil
d637e02f30
Fix for Mantis 2556: Check if the mouse cursor is really there before drawing it.
2012-01-24 04:11:13 +00:00
Valathil
6d7ce503d5
Fix for Mantis 2583: Reinitialize the timer right when changing selection modes.
2012-01-24 00:13:21 +00:00
The_E
64ce84c367
Makes a very strangely coded warning more readable and useful.
2012-01-24 00:11:07 +00:00
Goober5000
de6eb9460d
upgrades to the docking system to incorporate docking animations -- incidentally, fixes Mantis #2581
...
also, remove DOCK_BACKUP_RETURN_VAL which never did anything even in retail
2012-01-23 23:27:06 +00:00
Valathil
a8206df327
Follow up to 8289 + 8310: Make the sprite rotation independent of the camera direction and revert the docking change and make it simpler
2012-01-23 22:50:01 +00:00
Valathil
3d045470eb
Fix for Mantis 2580: Use the texture matrix in the vertex shader to support texture panning.
2012-01-23 19:12:16 +00:00
The_E
eed196e9ba
Followup to 8327: Texture names from pofs are provided without extension, so we have to make sure to account for it.
2012-01-23 13:51:13 +00:00
Goober5000
43fdfaa209
fix Mantis #2579
2012-01-23 02:48:33 +00:00
The_E
9b15f2bc0f
Fix for Mantis 1997: "Filename too long" warning for nonexistant textures.
2012-01-23 01:25:08 +00:00
chief1983
46d1ff7d7f
Fixes #2578 - Change the < in these checks against NAME_LENGTH to <=.
2012-01-23 01:22:05 +00:00
Valathil
2184d3698b
Follow up to 8289: Change the rotation back to relative cause of flipping out billboards at certain viewing angles and fix the dock rotation another way.
2012-01-22 14:01:18 +00:00
Echelon9
7b5b59e913
Fix for Mantis #2523 : FRED Waypoints/Jumpnode Refuses Rename Leading To Unescapeable Loop
2012-01-22 12:00:08 +00:00
Echelon9
bedaf72b94
Fix LoopingSoundInfo constructor, as reported by Goober
2012-01-22 09:30:01 +00:00
Echelon9
a8c5c80a39
Fix for Mantis #2540 - confirmed by Goober to resolve the constructor warnings
2012-01-22 09:19:57 +00:00
Goober5000
64e430b586
quash a warning
2012-01-22 09:19:22 +00:00
Echelon9
ac96bad97b
Documentation: pedantic rename of this function to describe it better
2012-01-22 08:52:31 +00:00
Goober5000
599efc960f
follow-up to 8299: we need to check visibility for our own team in case we have a friendly-stealth-invisible ship covered by AWACS, or something
2012-01-22 06:51:53 +00:00
Echelon9
f95628f94d
Documentation: Missionweaponchoice.cpp and related changes. Removed a few redundant functions.
2012-01-22 06:47:55 +00:00
Goober5000
854e55c843
don't remove the escort flag from invisible ships that aren't on the escort list (fixes Mantis #2057 )
...
also, don't remove dead or dying ships from the escort list, because due to the design of the culling function, they were never removed previously
2012-01-22 06:40:12 +00:00
Goober5000
149797ae75
the proper way to fix Mantis #2441 is by modifying the team_visibility_update function
...
also, clarify terminology: in-frustum/not-in-frustum replaces visible/invisible
and do some minor rewrites for additional clarification
2012-01-22 05:37:09 +00:00
Zacam
3514f7a961
From Valathil: Adjusts view point rotation in 3rd Person/chase view. This is especially apparent in Nebula missions where rotating in Chase View is radically different from cockpit view. This fix corrects that, and has additionally been tested in Multiplayer.
2012-01-22 03:13:33 +00:00
Zacam
256c881885
Purely aesthetic. I have no idea what a packlock is.
2012-01-22 02:30:02 +00:00
Goober5000
9ab3a0728f
tie scramble-messages and unscramble-messages into the communications subsystem status so that they will affect all aspects of communications in a consistent way (squadmsg menu, dashed text, etc.)
...
also make hud_communications_state() be a pure function, i.e. one without side effects
also fixes Mantis #2577
2012-01-21 22:08:38 +00:00
Valathil
49c31e34cd
Fix for Mantis 2575: Don't increment array indices without checking for the maximum.
2012-01-21 19:52:00 +00:00
zookeeper
c12fa5c183
Small scripting documentation fix: modeltextures -> modeltextures_h.
2012-01-21 15:52:31 +00:00
zookeeper
ab34afd212
Added the $On Turret Fired scripting hook.
2012-01-21 15:16:53 +00:00
The_E
a915fda2f5
Fix a few unused variable warnings that popped up after recent commits by Echelon9
2012-01-21 12:40:53 +00:00
Valathil
c39576fce8
Fix for Mantis 2522: Moved the calculation of the sprite rotation to get the updated orientation matrix after dock calculation.
2012-01-21 10:33:57 +00:00
Goober5000
17bdae26b5
project file changes for wxfred
2012-01-21 08:41:15 +00:00
Goober5000
bc9cfe782f
VC6 compatibility
2012-01-21 07:58:07 +00:00
Echelon9
90b17eacd0
LLVM Warnings fix: Value stored to is never read and related, in mission folder
2012-01-21 07:48:24 +00:00
Echelon9
447af95475
LLVM Warnings fix: Value stored to * is never read, in missionweaponchoice.cpp
2012-01-21 07:27:49 +00:00
Echelon9
bc8e853ae5
LLVM Warning fix: Various warnings within hudtarget.cpp and ancilliary changes
2012-01-21 07:21:51 +00:00
Echelon9
3d05a92ace
LLVM Warning fix: Value stored to goal_changed is never read
2012-01-21 06:44:12 +00:00
Echelon9
0c56cdc7f1
LLVM Warning fix: Value stored to percent_left is never read
2012-01-21 06:42:29 +00:00
Echelon9
4923b671f2
LLVM Warning fix: Value stored to num_offsets_on_this_line is never read. Btw no need to clear this specific variable as it is defined within the while() loop, unlike the others.
2012-01-21 06:36:52 +00:00
Echelon9
9557a779de
LLVM Warning fix: Value stored to ship_is_ballistic is never read
2012-01-21 06:34:11 +00:00
Echelon9
7501ff2bef
LLVM Warning fix: Value stored to target_objp is never read
2012-01-21 06:27:54 +00:00
Echelon9
2873a28131
LLVM Warning fix: Value stored to enemy_ship_type is never read
2012-01-21 06:25:30 +00:00
Echelon9
3ec5e94ff2
LLVM Warning fix: Remove this dead code to ai_shipname
2012-01-21 06:18:22 +00:00
Echelon9
f0746c2524
LLVM Warning fix: This is a dead store to the value done_reading.
2012-01-21 06:10:45 +00:00
Echelon9
e67348d4e6
LLVM Warning fix: This is all dead code, removing.
2012-01-21 06:09:50 +00:00
Echelon9
eb8d60d281
LLVM Warning fix: No need to assign value to entry.ship_class twice.
2012-01-21 05:57:42 +00:00
Echelon9
3251ea5c95
LLVM Warning fix: Resolve an order of precedence issue with && and ||
2012-01-21 05:40:58 +00:00
Valathil
dd810fa34e
Fix for Mantis 2576: Use the beam direction as the applied force vector
2012-01-21 04:07:27 +00:00
Goober5000
9ace109aa0
update to revision 8263: one should probably reset the special shields if you reset special hitpoints
2012-01-21 03:58:42 +00:00
Valathil
41a875c5e2
Fix for Mantis 2461: Check to see if the reduced damp timestamp is valid so we don't get ridiculous acceleration values.
2012-01-21 01:54:17 +00:00
The_E
438aee9862
These error messages need to be waay clearer
2012-01-20 14:55:06 +00:00
Zacam
49e9c6a1d5
From CommanderDJ: makes the maximum number of intercom sounds, misc anims and door anims dynamic (v2)
...
http://www.hard-light.net/forums/index.php?topic=78856.msg1574656#msg1574656
2012-01-20 02:13:38 +00:00
Valathil
16df14125d
Fix for Mantis 2574: Timestamps do not work that way, also fixed the rapid fire "Out of Energy" sound for fighter beams.
2012-01-20 01:35:19 +00:00
Valathil
dd6fa1c906
Fix for Mantis 2553: Fix overdrawing subspace glows by changing them from thrusters to normal bitmaps therefore avoiding a render time problem with the thruster geometry batcher.
2012-01-19 19:15:43 +00:00
The_E
a3e00635d6
Fix for Mantis 2573: Special Hitpoint settings get carried over when deleting and adding ships in FRED
2012-01-19 11:41:19 +00:00
Goober5000
3f0914f407
need to use subsystem_stricmp for subsystems
2012-01-19 07:05:50 +00:00
Valathil
e3773925ee
Fix for Mantis 2572: Just dont render 0.0 Laser Length weapons
2012-01-18 19:21:38 +00:00
niffiwan
a3fc01c2d6
Fix for mantis #0002480 : when emptying secondary banks use the standard function to select the next bank
2012-01-18 10:12:38 +00:00
Valathil
42a0fd0626
Fix cockpit simulated brightness for lightshafts: Recalculate even if falloff is 1.0 and use the actual sample number
2012-01-17 17:13:01 +00:00
Zacam
351922e042
Slight update to unify the formating of the built in shaders. This behaviorally changes nothing, just their presentation.
2012-01-17 00:18:22 +00:00
chief1983
a5fae58600
Fixes #2571 - Changes a value in each config to match the config name.
2012-01-16 01:34:01 +00:00
The_E
149ec390d1
Followup to 8232: Fixes slight mistake in the usage of boolean operators
2012-01-16 00:09:49 +00:00
Zacam
23b6548390
Update to Commit 8223: When adding more lines to an IF, brace it please.
2012-01-15 23:33:49 +00:00
The_E
f89d327e48
Made the failure message for failed model loads include the model filename.
2012-01-15 17:07:37 +00:00
The_E
f93cd55032
Fix for Mantis 2441: "friendly-stealth-invisible" flag doesn't work
2012-01-15 14:14:46 +00:00
The_E
f23c5ebba7
Fix for Mantis 1768: Cutscene bars do not display properly.
2012-01-15 13:29:00 +00:00
Echelon9
45ba7fd411
Removing the redundant weapon_create_names(). If you want to find Weapons by name, the Weapon_names[i] approach is not the right one. Found by Eli2.
2012-01-15 12:08:31 +00:00
Echelon9
e57fc904b5
Fix initialisation bug in the weapon_info struct, from within init_weapon_entry(). Patch from Eli2
2012-01-15 11:19:14 +00:00
niffiwan
13274d4fc5
Fix for Mantis #0002443 : allow primary weapons to have fire_waits longer than 5 secs
2012-01-15 10:55:09 +00:00
Goober5000
494bdf6493
yeesh... part of the original iff_defs feature that wasn't updated
2012-01-15 08:13:50 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
Echelon9
d57bcd41a1
Ensure we don't leak memory on Mac OS X. Any object created with a CF*Create() function must have CFRelease() called upon it.
2012-01-15 07:27:41 +00:00
Echelon9
53d407332f
Fix LLVM warnings in weapon folder
2012-01-15 07:05:20 +00:00
Valathil
86dcd45e50
Fix for #2570 : Changed the external camera messages to be IFF color and internal messages back to green
2012-01-15 03:11:12 +00:00
Valathil
b126751503
Fix for #2549 & #2457 - Fixed rendering of bars and moved earlier in code so we dont overdraw the hud messages
2012-01-15 00:09:59 +00:00
The_E
7f49ef1a9d
Fix for Mantis 1803: Lensflares are rendered with no sun in sight
2012-01-14 23:20:05 +00:00
Valathil
bca5096e9a
Fix OpenGL errors caused by animated shaders when not rendering to a fbo
2012-01-14 19:24:29 +00:00
Valathil
80c44ab1f0
Fix "Unable to get shader uniform location" warning for distortion shaders
2012-01-14 19:03:55 +00:00
The_E
3477e1d968
Fix for Mantis 2568: "Fog Near/Far Mult:" being written to mission files even when in retail compatibility mode.
2012-01-14 10:55:13 +00:00
Echelon9
cccabac1af
Fix for #2567 - LLVM warning: Semantic issue in lua.cpp
2012-01-14 00:31:14 +00:00
Echelon9
7270d1fb88
Fix for #2566 - GCC warning: NULL used in arithmetic in lua.cpp (lua_getstack(L,n+1, ar) == NULL)
2012-01-14 00:22:58 +00:00
Echelon9
a24370a2e2
Fix for #2565 - GCC warning: Use of unary operation that may not be intended in lua.cpp (type =- 1;)
2012-01-14 00:17:03 +00:00
Echelon9
4389dae0e0
Fix for #2564 - GCC warning: Use of NULL in arithmetic operation in ship.cpp (winfo_p->pre_launch_snd != NULL)
2012-01-14 00:13:25 +00:00
Echelon9
f8fddac844
Fix for #2563 - GCC warning: Equality comparison with extraneous parentheses in ship.cpp (Ai_tp_list[i].obj_type == -1)
2012-01-14 00:00:31 +00:00
Echelon9
2a00ead369
Fix for #2562 - Expression result unused in ship.cpp (ship_system->turret_swarm_num)
2012-01-13 23:54:19 +00:00
Zacam
5e34a60d35
Okay. This was ridiculous running all these changes separately. This setts svn:eol-type across the board for types that were not previously set to LF as they should have been.
2012-01-13 18:44:18 +00:00
Zacam
6c702a11e6
svn:eol-type set to LF.
2012-01-13 18:37:09 +00:00
Zacam
f6ad6b14b6
Synchronization of differences between Antipodes and Trunk. Cause unknown, just commit drift issues. Regular auditing will catch these faster, but people need to pay more attention when syncing Trunk changes over to Antipodes.
2012-01-13 17:49:57 +00:00
The_E
6b1bf3ea0f
Various scripting patches from m!m:
...
--Eyepoint access to the model handle
--getCollisionDistance() to the collision info handle to get the precomputed distance to the hit point
--A Disabled variable for the ship handle
--getTimeUntilExplosion() for the ship handle to get the time until the ship finally explodes
--A change to the documentation of ad.play3DSound() to reflect that the function also takes position parameters
2012-01-13 17:46:36 +00:00
The_E
10713cebc4
Fix for Mantis 2561: Rotating guns don't rotate. Allows gun rotation property to be set by using "$gun_rotation".
2012-01-13 10:44:55 +00:00
chief1983
bea9ef7c36
Fix for #2559 - new frameworks file that strips the metadata files out of the archive.
2012-01-11 17:43:26 +00:00
The_E
b9f9b49e4f
Make sure the FXAA pass only draws to COLOR_ATTACHMENT0
2012-01-11 17:41:52 +00:00
karajorma
bfb54ea844
Split the Locked flag in two so that you can lock Ships or Weapons independently.
2012-01-11 07:57:36 +00:00
karajorma
a15a260245
Change the define to one that is a little less confusing.
2012-01-11 01:46:50 +00:00
karajorma
28db28427b
Not that it matters much since it's that's what it's ending up as anyway but since the variable that uses it was switched to unsigned we might as well change this.
2012-01-11 01:44:24 +00:00
Zacam
93c43bfced
Fix for Mantis 0002558 : Resolves the issue by updating the libpng provided to version 1.5.7.
2012-01-10 21:43:30 +00:00
Valathil
164898ee8e
Made WIF2_SMALL_ONLY weapons on turrets not fire on HUGE ships when grouped with other weapons that are not WIF2_SMALL_ONLY
2012-01-10 18:34:50 +00:00
The_E
d36f05218d
Another Assert->Assertion change. Also changes parsing code to throw warnings when a shockwaves' inner radius is zero.
2012-01-07 00:44:48 +00:00
The_E
03d9233618
Remove incomprehensible Comment
2012-01-06 18:20:44 +00:00
The_E
ecb11b095c
We were disabling the framebuffer a bit too soon here.
2012-01-06 01:03:37 +00:00
zookeeper
9b5dbe6674
Added support for a fourth targeting box render mode and re-structured some of the targeting box rendering code to make it easier to read and extend.
2012-01-05 20:13:14 +00:00
zookeeper
a42c430650
Added support for the $Targetbox Shader Effect option in hud_gauges.tbl.
2012-01-05 19:48:39 +00:00
Zacam
61a9ed4700
spotted by ni1s: Need an '#include <limits.h>' to make compilers happy when using MAX_INT.
2012-01-03 15:13:17 +00:00
The_E
4c0c94f70d
Removed an unused #define
2012-01-02 15:51:04 +00:00
The_E
9bc2ac733f
Small fix to make gcc happy.
2012-01-02 12:28:58 +00:00
karajorma
fb561c55c3
Remove a magic number. This number will probably become something defined in mod.tbl eventually but for now at least it's easy to find again.
2011-12-31 06:51:21 +00:00
karajorma
e95201e041
Training weapons shouldn't cause smoke to come off of ships which haven't really taken any damage.
2011-12-31 06:49:30 +00:00
karajorma
4be0d29712
Switch from the directive-is-variable SEXP to the more powerful directive-value one.
2011-12-31 06:46:47 +00:00
Valathil
f7ccb35817
Fixed font rendering at high resolutions
2011-12-29 18:16:04 +00:00
zookeeper
2a79bd427e
Fixed stupid mistake in previous commit.
2011-12-29 08:37:44 +00:00
zookeeper
0815b6f5a6
Fixes ships not rendering during hyperspace warpin due to r7936.
2011-12-29 08:13:27 +00:00
IssMneur
d53bf32cb8
From CommanderDJ: - Fully vectorize and stringify mainhall.tbl internals
...
- replaces all arrays with SCP_vectors
- replaces all c-strings with SCP_strings
- depreciates +Misc Anim Handles: and +Misc Anim Flags: because they are just cruft
-- +Misc Anim Handles: has not been hooked up for years
-- +Misc Anim Flags: are dealt with automatically
2011-12-29 06:28:05 +00:00
The_E
b84060a437
Fixing an old mistake I made back in September 2010. Note: Assertions are optimized out of release builds, leaving this necessary skip out.
2011-12-29 00:53:49 +00:00
chief1983
dd4026f82a
Make sure to include the right lua headers on all platforms, as pointed out by rhl.
2011-12-28 19:53:50 +00:00
The_E
ebf89c9ef2
We do need to bind the correct depth buffer for rendering, else things get all confused.
2011-12-26 16:20:38 +00:00
The_E
34e536cd90
We only need to set up Scene_Depth_texture once, there must have been a merge gone wrong somewhere
2011-12-23 17:17:55 +00:00
The_E
41d68f3aca
From m|m: Fix for Mantis 2400 (RTT rendering broken in current builds). Also changes GL_rendering_to_framebuffer to the more aptly named GL_rendering_to_texture.
2011-12-23 13:09:39 +00:00
Echelon9
e98f25198c
Adjust alignment when shader debug logs are written.
2011-12-23 00:15:46 +00:00
Valathil
04af86b7a4
Added hardware accelerated YUV to RGB conversion with shaders to the ogg video renderpath.
2011-12-22 16:40:50 +00:00
The_E
09b8d1e3d1
Adds an intermediate render target for FXAA to work against, this removes a previous reliance on undocumented behaviour in OpenGL.
2011-12-22 15:12:18 +00:00
Valathil
7ffe518adb
Allow for FS1 shader effect to be customized in post_process.tbl
2011-12-22 14:40:30 +00:00
Zacam
226cd53d8a
From CommanderDJ: SCP_Vector-izes some more of the Main Hall structures (intercom and misc anim mostly)
2011-12-22 00:13:31 +00:00
zookeeper
6353841820
Removed the unused "Ghost Save" entry from Object_type_names, because it was causing an off-by-one when using the getBreedName() scripting function. Also added "Beam" to the list since it's a valid object type.
2011-12-21 08:30:34 +00:00
The_E
8ca2106ad5
Fix for Mantis 2498: Invalid species reference in ships.tbl is not detected.
2011-12-21 01:14:01 +00:00
Valathil
da24970b18
from zookeeper: make hv.Player availiable in "$On Gameplay Start" scripting hook
2011-12-20 21:50:38 +00:00
Valathil
4096a41ac3
Fixed Swarm Salvo turrets Spamming their ordinance since 7981
2011-12-18 16:52:35 +00:00
The_E
0bbca2cd79
Removing two unused variables
2011-12-18 16:36:49 +00:00
The_E
90982854b2
Fix for Mantis 2545: Default ship in FRED is not the ship defined by #Default Player Ship
2011-12-18 16:35:10 +00:00
The_E
07b03ff2b3
Fix for Mantis 2550: Text in multiplayer is rendered outside the textbox if custom fonts are in use
2011-12-18 16:00:26 +00:00
Goober5000
c7b38b0b92
fix for Mantis #2547
2011-12-18 08:45:47 +00:00
Goober5000
47a51b8e37
make sexp category stuff accessible
...
fix Mantis #2551
2011-12-18 08:43:37 +00:00
Zacam
fa6fc231b5
Tortoise Merge somehow screwed the application of the patch for Commit 8093, my apologies to everybody.
2011-12-15 18:53:41 +00:00
Valathil
d839351511
Fix rendering of Sun Coronas and Lens Flares
2011-12-15 18:45:13 +00:00
Zacam
e6d7b56a3b
From CommanderDJ: Corrects the timing problem caused by commit 8079 regarding the playing of Main_hall misc_anim sounds.
2011-12-15 15:31:20 +00:00
Zacam
1ad0e977ff
Fix to the sexp_ship_effect causing an assert when used against ships that get destroyed before the event triggering it fires off. (From The E)
2011-12-13 16:32:17 +00:00
The_E
a3e0dedf6f
Fix for trunkated command briefs when custom fonts are in use
2011-12-13 16:11:49 +00:00
IssMneur
e2ad4c2064
From CommanderDJ: parse the mainhall only on first load.
...
Adds -reparse_mainhall to enable the previous behaviour of parsing the mainhall on every viewing of the mainhall.
2011-12-10 17:56:15 +00:00
Echelon9
faa029e540
Fix small compile issue on Apple OSX with new Valathil lightrays code
2011-12-09 09:48:35 +00:00
IssMneur
bc71e0abaa
From ni1s: Apparently gcc chokes on this without the space.
2011-12-09 07:23:36 +00:00
IssMneur
2eff95c4ea
Allow names in mainhall.tbl sound lists.
...
Allows sound names in addition to sound indexes in the sound lists:
+Intercom sound:
+Misc anim sounds:
+Door sounds:
Extends parse_sound to search in the interface sound table instead of the main sound table.
2011-12-09 06:38:16 +00:00
IssMneur
58ebb97d26
Fix breaking of FRED by revision 8069. Sun_spot was only declared in freespace.cpp which fred doesn't have linked in.
2011-12-09 06:24:07 +00:00
IssMneur
e496117892
From CommanderDJ: add check_for_eoln() to parselo.cpp.
2011-12-09 05:48:35 +00:00
chief1983
40372c53e4
Fix stdint's existence breaking OS X compiling.
2011-12-08 23:05:56 +00:00
Valathil
8208aecf1b
Fix crash when framebuffer shockwaves are enabled but no weapon loads the standard shockwave animation
2011-12-08 21:58:16 +00:00
Valathil
a0d1c8445a
Added Lightshafts as a replacement for sun glare. Look at http://www.hard-light.net/forums/index.php?topic=78923.80 for post_processing.tbl format
2011-12-08 20:57:11 +00:00
The_E
e767e7dc01
Oops, infinite loops are bad in a sexp.
2011-12-06 17:09:00 +00:00
The_E
2538ed6814
Adds a sexp to switch the thrusters on a given ship or list of ships on and off.
2011-12-04 17:29:02 +00:00
Echelon9
b06fa6d7f9
Fix r8054: Const char* to char* conversion was causing GCC compile errors
2011-12-04 03:16:56 +00:00
Echelon9
da95aa8a14
Clear old commented out line
2011-12-04 03:06:24 +00:00
Wanderer
82ddb4a305
fix to autoaim
2011-12-03 17:27:22 +00:00
The_E
1a9b5aa980
Hellzed's french keyboard layout stuff
2011-12-03 14:18:14 +00:00
Wanderer
1a8745c960
zookeeper's change to locating subsystem positions
2011-11-30 21:33:31 +00:00
karajorma
5dbb9c3295
Make it possible to localise a couple of extra sentences.
2011-11-30 03:12:06 +00:00
Wanderer
badf45b75d
zookeeper's addition of new scripting hook that runs right before entering mission.
2011-11-29 21:32:57 +00:00
Wanderer
7bb10d8408
changes to the order in which autoaim/convergence modes are used
2011-11-29 20:44:39 +00:00
Goober5000
9eb2eacee0
make weapon parsing more robust for Mantis #2369
2011-11-29 06:03:15 +00:00
Zacam
72a80fb925
From CommanderDJ: Since "neb2_eye_changed()" contains "Neb2_regen" why not use it instead?
2011-11-29 04:07:42 +00:00
Zacam
fd66bdcab3
From CommanderDJ: Nebula distance check for set-object-position's regeneration of local nebula.
2011-11-29 01:54:34 +00:00
Echelon9
21c2449f0b
Documentation: Changes such that the Doxygen log reports clean, in anticipation of 3.6.14 release
2011-11-28 13:03:38 +00:00
The_E
a1c0483f86
Since the +RGBA Inner and +RGBA Outer options aren't used anywhere in the code, we can just remove them.
2011-11-27 18:37:48 +00:00
Goober5000
2fac8f1899
fix revision 7971: Echelon9, if you add statements to a single-line if(), make sure you also add braces
2011-11-23 05:18:18 +00:00
Goober5000
94e13d761b
add to the project file too
2011-11-23 04:26:20 +00:00
Goober5000
977ea25a6d
approximate the standard function for MSVC6 compatibility purposes
2011-11-23 04:25:50 +00:00
Goober5000
b243f3151a
these ought to appear in the project file
2011-11-23 03:10:57 +00:00
Goober5000
e5367f49dd
LOL and DERP, whoever coded this didn't even read his own comment
2011-11-23 02:47:43 +00:00
Goober5000
14bc0e2230
zookeeper's initial velocity patch
...
http://www.hard-light.net/forums/index.php?topic=79069.0
2011-11-20 19:48:53 +00:00
IssMneur
5f7fc07507
Fixes a crash when a jumpnode targeted by the player is hidden. See MANTIS#2541
2011-11-19 23:17:51 +00:00
The_E
24a0c18cd9
Another one from zookeeper: More fixes for thrusters
2011-11-19 19:14:57 +00:00
The_E
717ea3a2dd
From zookeeper: Proper fix for thrusters attached to rotating submodels
2011-11-19 19:11:47 +00:00
The_E
c33749ac82
Those filters are just too helpful
2011-11-19 17:43:57 +00:00
karajorma
31bc16cd6e
That's a rather pointless test when we don't have AI smart missiles.
2011-11-19 09:04:06 +00:00
Echelon9
fc9fbdd8f7
Fourth part of fixing jump_nodes refactor, clearing FRED compile errors.
2011-11-19 05:59:41 +00:00
Echelon9
5bf63e8c8d
Third part of fixing jump_nodes refactor, remove the union approach to linking Jump_nodes into Objects[]. First go at clearing the FRED errors.
2011-11-19 04:07:30 +00:00
Echelon9
d340f7ec2e
Documentation: Take out some old commented out code
2011-11-19 03:25:52 +00:00
Echelon9
f1060979fd
Second part of fixing jump_nodes refactor, using cleaner attribute variables
2011-11-19 03:05:44 +00:00
Echelon9
e9c91374e0
Documentation: code/hud/hudtargetbox.cpp
2011-11-19 01:40:58 +00:00
Echelon9
84c96eaac6
First part of fixing jump_nodes refactor, use the set_name() function properly as it is available
2011-11-19 01:11:35 +00:00
Echelon9
12eda6154e
Documentation: Code cleanup in weapons.cpp
2011-11-17 11:33:17 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
The_E
8b65d3e3ce
Patch for Mantis 2391 (again): Removes a few leftovers from the old HUD code that generated warnings unnecessarily.
2011-11-15 23:25:50 +00:00
The_E
0f2f77d2d5
Fix for Mantis 2544: Crash when opening the "Class Variables" window for a weapon.
2011-11-15 22:54:21 +00:00
The_E
66c2741772
Fix for Mantis 2543: Windows in F3 lab aren't getting closed.
2011-11-15 21:50:41 +00:00
The_E
3fd09a9828
Slight fix for the "thrusters on rotating subobjects" thing: Only account for rotations that are actually happening.
2011-11-15 21:39:39 +00:00
Sushi
6a1f8a692c
Add $Armor Type support for missiles (table entry goes right after $Weapon Hitpoints)
2011-11-15 19:05:30 +00:00
Goober5000
6147c19496
clean up ship maneuvers
...
significantly improve sexp help for those sexps
2011-11-15 09:36:27 +00:00
Sushi
f542f19fcc
Add "only target if can fire" turret flag
2011-11-14 18:26:55 +00:00
Zacam
69ec80042e
From zookeeper: Correction to the getAnimationDoneTime in lua.cpp time_s calculation.
2011-11-14 09:45:20 +00:00
niffiwan
e5ebb22d49
Fix for 7977 - explicitly include <algorithm> so gcc will compile
2011-11-14 03:55:08 +00:00
niffiwan
ee0358ee79
cfile: change Assert to Assertion
2011-11-14 03:55:01 +00:00
Goober5000
1eec8f5093
add is-in-mission sexp
2011-11-13 09:59:10 +00:00
Goober5000
6dff3d4179
fix compilation on MSVC 6
2011-11-13 03:52:01 +00:00
niffiwan
8312d0a1e1
Documentation: cf*_string_len in cfile.h
2011-11-13 03:10:41 +00:00
Zacam
bcf9fd90be
From zookeeper: allow thrusters to follow a rotating engine
...
http://www.hard-light.net/forums/index.php?topic=74290.msg1557431#msg1557431
2011-11-12 15:22:48 +00:00
Zacam
403fef79ec
From zookeeper: mod-wide disable of the warp camera
...
http://www.hard-light.net/forums/index.php?topic=78748.0
2011-11-12 14:53:59 +00:00
Zacam
6b2af30314
From zookeeper: fix $Shots for turret-fired weapons
...
http://www.hard-light.net/forums/index.php?topic=78832.0
2011-11-12 14:39:02 +00:00
Zacam
ef5f145d5a
From zookeeper: customizable warpout engage time
...
http://www.hard-light.net/forums/index.php?topic=78913.0
2011-11-12 14:36:31 +00:00
Zacam
6c87b2c5bc
Small cleanup to last two commits, Tortoise Patch apparently decided to eat some line returns along the way. Additionally, some spacing adjustments to line things up a little better.
2011-11-12 14:20:25 +00:00
Zacam
8c8974b215
From zookeeper: customizable asteroid death explosions and radius
...
http://www.hard-light.net/forums/index.php?topic=78762.0
2011-11-12 14:01:38 +00:00
Zacam
3323847094
From zookeeper: customized asteroid split rules
...
http://www.hard-light.net/forums/index.php?topic=78755.0
2011-11-12 13:51:22 +00:00
Zacam
1b403a4505
Might as well include the missing inttypes.h file as well, just in case we ever come around to needing to use it, sine it's another file that MSVC doesn't ship with as part of it's C99 support.
2011-11-12 06:59:41 +00:00
Zacam
98b93e572d
As per commit message r7963, uint64_t is not supported on MSVC out of the box. This is because stdint.h is not shipped with MSVC, so <include>ing it doesn't do any good when it doesn't exist. Since stdint.h can be distributed without modification, it is now in globalincs and the include is ifdef'd to MSVC to use the globalincs version, all other platforms will use the C++ ISO standard library version.
2011-11-12 06:45:39 +00:00
Echelon9
3f0761e4c7
Documentation: More code cleanup of missionparse.cpp and missionparse.h
2011-11-10 13:46:11 +00:00
Echelon9
4ad4d98c93
Documentation: Code cleanup of missionparse.cpp
2011-11-10 13:21:03 +00:00
Echelon9
0564ae99b8
Fix Mantis 2343: Assert on arriving from destroyed ship
2011-11-10 12:21:34 +00:00
Sushi
f333133656
Add workaround so that AI landings consistently work
2011-11-09 18:24:12 +00:00
Echelon9
f04551523d
Documentation: General
2011-11-09 14:21:16 +00:00
Echelon9
0615fe46f6
Mantis 2537: Help track down a memory leak problem
2011-11-09 14:01:06 +00:00
Echelon9
ac90d940a1
Fix Mantis 2539: Valgrind: Memory leak - parse_ship_values(ship_info*, bool, bool, bool)
2011-11-09 13:38:01 +00:00
Echelon9
3a28d938ea
Documentation: Code cleanup of missioncampaign.cpp
2011-11-09 12:48:35 +00:00
Echelon9
9e127ca7f9
Documentation: Code cleanup in graphics/bmpman
2011-11-09 12:12:33 +00:00
The_E
e7e279ca10
uint64_t is not supported out of the box on MSVC.
2011-11-09 09:36:23 +00:00
The_E
f92eae073f
Fix for Mantis 2533 from Eli2: Integer overflow in mission-time-msecs
2011-11-09 09:25:59 +00:00
Zacam
4dd05cde7f
Originally spotted by zookeeper: "$gun_rotation:" should be set to "!= NULL" like the other entries around it.
2011-11-08 04:48:50 +00:00
Sushi
cdfacd5f67
Oops, committed the wrong version of the player autoaim patch
2011-11-07 20:58:29 +00:00
The_E
17a420c92a
Reverting the texture cache stuff due to issues with some models
2011-11-07 09:26:37 +00:00
niffiwan
047f2ab811
Linux: remove -g (debug symbols) flag from release builds & switch optimisations from -Os -to -O2
2011-11-07 03:32:42 +00:00
Sushi
113465660a
Add "$Player Autoaim FOV:" to AI Profiles (optionally allows autoaim only for the player on a per-difficulty-level basis)
2011-11-06 12:46:33 +00:00
Echelon9
86f53da049
Documentation: General code cleanup of fireballs.cpp
2011-11-06 12:14:31 +00:00
Echelon9
2ed77792fe
Documentation: Code cleanup in modelread.cpp
2011-11-06 11:25:15 +00:00
The_E
e004154986
Eep, missed a "!"
2011-11-05 19:52:02 +00:00
Valathil
0fe89eedd4
Fixed min(0) and max(0) being recognized as macros on Windows
2011-11-05 19:42:29 +00:00
The_E
593d3c00c1
Changing opengl_render_pipeline_program to avoid unnecessary texture uploads.
2011-11-05 19:23:39 +00:00
The_E
fff1a1c60b
Reverting 7938: Bugfix breaks existing missions relying on old behaviour.
2011-11-05 19:20:17 +00:00
Echelon9
9f711bf53e
Documentation: General code cleanup for 64bit
2011-11-05 08:12:04 +00:00
Echelon9
c852d3a466
Fix Mantis 2535: Game crashes in player select menu, patch from Eli2
2011-11-05 07:09:58 +00:00
Echelon9
90601fce4d
Bug fix: This looked to be an accidental copy paste. See further gamesnd_get_by_iface_tbl_index() and gamesnd_get_by_tbl_index()
2011-11-03 14:39:37 +00:00
Echelon9
181fbfed52
From Eli2: patch removes leftovers of the conversion from arrays to Vectors.
2011-11-03 14:32:52 +00:00
chief1983
c00f931cfa
From niffiwan: Fix our linking order to work with --as-needed
2011-11-02 16:23:42 +00:00
The_E
96ef05f89c
From Eli2: Fix for Mantis 2533 (integer overflow in mission-time-msecs)
2011-11-02 11:40:51 +00:00
Goober5000
289169f96a
zookeeper's hyperspace patch
...
http://www.hard-light.net/forums/index.php?topic=65427.msg1558799#msg1558799
2011-10-29 22:22:39 +00:00
Echelon9
ce0d6fc978
Fix Mantis 2531: Issues with cockpit sounds, from Eli2
2011-10-29 03:09:05 +00:00
The_E
c8d456a784
Moving this up a bit more
2011-10-28 11:21:25 +00:00
The_E
2a80a598f7
This line shouldn't have been removed in m previous commit. No idea how that happened, but I moved it closer to where it's actually used.
2011-10-28 10:41:01 +00:00
The_E
327afbc262
From zookeeper: Adds kill() function to asteroid objects
2011-10-28 10:01:54 +00:00
The_E
681c2a356e
From m!m: Reworked scripting sound API
2011-10-28 09:59:31 +00:00
Goober5000
1bcea87036
the ship copy flag needs to be able to recognize ships that appear later in the table
2011-10-26 07:51:31 +00:00
Goober5000
91fc326a17
we have some preconditions, so let's enforce them
2011-10-26 06:35:19 +00:00
Zacam
fde2022fa2
from zookeeper: [FotG] Fixes collision problem with the hyperspace warpin type introduced by r7889
2011-10-23 19:00:04 +00:00
Echelon9
22219ed382
Documentation: Code cleanup of shockwaves.cpp and ancilliary changes
2011-10-23 05:00:49 +00:00
Echelon9
457e36c511
Documentation: Fix typo in the Doxygen comment block
2011-10-23 02:36:12 +00:00
IssMneur
29b4a6c922
From m!m: patch to add support for customizable cockpit sounds. See: http://www.hard-light.net/forums/index.php?topic=78675.0
2011-10-22 22:11:31 +00:00
Echelon9
648723e2ff
Documentation: cleanup and documentation of gamesnd.h from Eli2
2011-10-22 10:29:48 +00:00
Echelon9
684b59e500
Fix Mantis 2526: Valgrind: Conditional jump or move depends on uninitialized value(s) - init_anim_instance()
2011-10-20 20:25:39 +00:00
Echelon9
9f4a1ac309
Fix Mantis 2525: Valgrind: Conditional jump or move depends on uninitialized value(s) - parse_ship_values()
2011-10-20 13:37:58 +00:00
Zacam
876289a4b2
From ni1s: -Wreorder warnings clean up for GCC output.
2011-10-19 07:36:21 +00:00
Echelon9
6c9598b2ae
And found another offender of the STL capacity() / size() / reserve() type
2011-10-17 13:10:17 +00:00
Echelon9
8543045b15
STL types again. Some of these are just inefficient, like reserving one extra slot for each additional element, and then pushing that element onto the STL type
2011-10-17 13:07:24 +00:00
Echelon9
598bd73413
STL types are tuned to handle their own memory allocations. Code like this is never going to be optimal in all situations, and likely to be sub-optimal in many situations
2011-10-17 13:01:48 +00:00
Echelon9
366fc7b342
Huh? This Assert() check doesn't make any sense
2011-10-17 12:58:31 +00:00
Echelon9
69dbd07c88
STL types are tuned to handle their own memory allocations. Code like this is never going to be optimal in all situations, and likely to be sub-optimal in many situations
2011-10-17 12:56:47 +00:00
Echelon9
7a573539cc
It's small, does lead to a slightly longer (but not necessarily less concise) code... but it is slightly faster. Tested on OS X, Intel Core 2 Duo, compiled with GCC 4.0
2011-10-17 12:42:34 +00:00
Echelon9
a2199e6b81
Looks pretty unneeded now, odd commented out definition in cmdline.h
2011-10-16 05:27:03 +00:00
Echelon9
cb0326a38e
Convert the geometry map batcher lookup functions to use size_t, in line with the STL types
2011-10-16 05:22:34 +00:00
Echelon9
41919ee15b
Clarify some aspects of the geometry map and distortion map batchers, as well as clarifying and making consistent the function calling conventions throughout the code.
2011-10-16 05:08:33 +00:00
Echelon9
61791b01cc
Fixing Eli2's commit in r7905. Where the -keyboard_layout commandline hasn't been used, the code was causing a CTD rather than handling gracefully the fallback option
2011-10-16 04:23:42 +00:00
The_E
76923c1613
From Eli2: Allows adjustment of the keyboard layout on Linux/MacOS. Right now, only german layout is added in, use "-keyboard_layout qwertz" to activate it.
2011-10-14 13:58:50 +00:00
Zacam
183c57dc03
Wrong EOL type on these two.
2011-10-12 17:44:40 +00:00
niffiwan
cb293f60c5
Improve performance of jpeg byte swap operation
2011-10-12 10:37:27 +00:00
Valathil
965c251ce6
Fix the transparency delay framework to work with submodel_render()
2011-10-11 15:55:43 +00:00
Echelon9
563fd4db10
min (lowercase) is not cross-platform, MIN (uppercase) is
2011-10-11 13:45:44 +00:00
niffiwan
8d59b5954a
Add RGB / BGR byte swap to jpeg reading - libjpeg now doesn't need jmorecfg.h to be updated
2011-10-10 21:45:20 +00:00
Sushi
c206ba8548
Remove unneeded warnings
2011-10-10 15:22:22 +00:00
Zacam
ea52bab005
from zookeeper: [FotG] Makes adjustments to the Hyperspace warp type to allow the arrival/departure acceleration/deceleration rate to be controlled, $Warpout speed to be used as well as maintains initial velocity after warpin
2011-10-10 09:57:24 +00:00
Echelon9
b45a5ee281
From m\!m: access to the Viewer_mode as I need to know if the view is currently in the cockpit or not
2011-10-09 12:57:39 +00:00
The_E
2341c9aef3
Change the log message here to better explain what's happening.
2011-10-09 12:24:35 +00:00
niffiwan
2713be7140
From Eli2: fix for mantis 2517: loop sounds are always at 100% volume locked and afterburner fade out sound not work
2011-10-09 11:10:13 +00:00
Echelon9
e150a93cfb
Testing Assert() to track down a series of bugs reported by QuantumDelta
2011-10-09 10:52:24 +00:00
Zacam
cc2323b578
found by Valathil; in "int obj_in_view_cone( object * objp )", codes=g3_rotate_vector(&tmp,&pt); works out better than running the check, then discarding it since g3_code_vector calls to run g3_rotate_vector anyway.
2011-10-09 10:37:27 +00:00
Echelon9
a1e054190e
Documentation: Clean up of globals.h
2011-10-09 03:00:53 +00:00
Echelon9
375ca512ad
Documentation: Code cleanup of iff_deffs.cpp and related
2011-10-09 02:52:41 +00:00
Zacam
015a70bc48
Adds Success/Average/Fail music selections to the Debriefing Editor.
...
http://www.hard-light.net/forums/index.php?topic=78504.0
2011-10-08 15:38:07 +00:00
Zacam
5b7883128c
From zookeeper: [FotG] makes hyperspace warp type use a longer distance for the collision check
2011-10-08 15:15:46 +00:00
Echelon9
3c7dad3563
Fix for medal room crash reported by QuantumDelta
2011-10-08 07:31:06 +00:00
Echelon9
9314724fc3
Documentation: Code cleanup of bmpman.cpp and ancilliary changes
2011-10-08 06:22:41 +00:00
The_E
4237db0536
Fixes issue with the mn.Asteroids and mn.Debris scripting tables, as these were accidentally 0-indexed instead of the Lua-standard way of starting indices from 1.
2011-10-06 15:09:26 +00:00
Echelon9
3d97037b87
Documentation: Code clean up of medals.cpp and medals.h
2011-10-06 12:51:15 +00:00
Goober5000
d5ee76453f
enhance are-waypoints-done-delay to allow ships to complete waypoint paths multiple times
...
make count check more robust in has-docked-delay and has-undocked-delay; Assert shouldn't be used for mission data entered in FRED
2011-10-06 04:33:52 +00:00
Zacam
de9864b36a
Remove the empty hudresource.cpp/.h files from /code/hud and all projects.
2011-10-05 09:14:19 +00:00
Goober5000
d6b23cc1c0
PVS-Studio V581 in revision 7779 was actually a false alarm; overzealous cleanup created a condition where a negative array index could occur, triggering either an assert or a crash (Mantis #2514 )
2011-10-04 06:34:47 +00:00
karajorma
e28573fe30
CommanderDJ's fix for Mantis 2276 set-object-speed SEXPs don't work in multiplayer.
2011-10-04 05:03:09 +00:00
Echelon9
77c852e15a
A few further changes for Windows support under the new jump_nodes STL refactor
2011-10-03 13:26:03 +00:00
Echelon9
27900ec1a9
Refactor of the jump_node code to use the STL's std::list, rather than Volition's in-house written linked_list.
2011-10-03 12:15:55 +00:00
niffiwan
24f253971a
Fix: Mantis 2470 - $Flags: ("untargetable") does not work on turret subsystems
2011-10-03 10:37:30 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
Echelon9
17e9ace62a
Documentation: Code cleanup in modelinterp.cpp and ancilliary changes
2011-10-03 08:35:36 +00:00
Echelon9
500859ae98
Documentation: Only need update_min_max() because CLAMP() doesn't handle pointers
2011-10-03 07:46:04 +00:00
Echelon9
227b835116
Documentation: Code cleanup in aicode.cpp and ancilliary changes
2011-10-03 07:40:09 +00:00
Echelon9
b9ec80682d
Documentation: Code cleanup in debris.cpp and ancilliary changes
2011-10-03 06:03:55 +00:00
The_E
ca52181adb
From Eli2: Patch for Mantis 2489: adjust-audio-volume doesn't affect subspace
2011-10-02 11:08:41 +00:00
Zacam
1b1895abdb
Finish removing dbugfile.cpp/.h from the rest of the projects.
2011-10-02 08:09:04 +00:00
The_E
42fcf8052c
Make force-jump cancel glide mode.
2011-10-01 20:09:00 +00:00
The_E
dd1d682d9b
From m!m: Allows per-ship customization of ship sounds in ships.tbl. See Wiki for details.
2011-10-01 19:16:38 +00:00
Echelon9
5dfb30dfce
PVS-Studio fix: V507 Pointer to local array 'title_str' is stored outside the scope of this array. Such a pointer will become invalid.
2011-10-01 06:54:43 +00:00
Echelon9
6d0ac6b2f3
Remove the variables.cpp and variables.h redundant references from the Xcode project file
2011-10-01 04:32:55 +00:00
karajorma
a52ba3d462
Remove dbugfile from VC2008 project files so that it will build.
2011-10-01 00:03:38 +00:00
The_E
939f1f949f
Damn, wrong line changed.
2011-09-30 17:54:01 +00:00
The_E
766486b103
Update to ad.playMusic to allow control over whether or not to loop the passed sound file.
2011-09-30 17:53:06 +00:00
The_E
ac82e45cd5
Removing dbugfile.cpp/.h from the project, since it doesn't seem to be useful.
2011-09-30 14:52:33 +00:00
The_E
d85fb17efc
Change this for loop to use an iterator for better performance
2011-09-30 10:22:34 +00:00
Goober5000
0d96fc1bff
partial revert of 7825... don't remove the sound index
2011-09-29 06:03:30 +00:00
niffiwan
dd66475b75
Reapplying 7790, seems to have been mistakenly swatted by 7802
2011-09-28 11:23:27 +00:00
Zacam
b306018b92
This is now in the .14 Branch, we'll keep it there and leave the "final" code for putting to Trunk when AP is merged/Final is released.
2011-09-27 21:23:46 +00:00
Zacam
5c8f8f0cae
This file is not binary nor an application. Silly SVN.
2011-09-27 20:54:56 +00:00
Zacam
b1428c9eb7
What the? There were two Inferno Debug SSE/SSE2 project setups in libpng project file.
2011-09-27 07:02:25 +00:00
Sushi
2b6ef14077
Add set-docked SEXP
2011-09-27 03:32:05 +00:00
IssMneur
3ec2689d39
A bunch of audio code hacks to address the concerns in http://www.hard-light.net/forums/index.php?topic=77889.0 until proper fixes of the sound code are completed.
...
+F -donotenforce = to turn off concurrent playback limit for sounds.
+F -percent_flashtobang = sets the default percentage of nebula flashes get converted to bangs. Default is 50, max 100, min 0.
+T lightning.tbl +flash_to_bang_percent: = sets the percentage of nebula flashes that get converted to bangs for the storm type.
-- Audio gain of OpenAL is set to 65% of max.
2011-09-27 03:04:11 +00:00
niffiwan
ece4ad88bc
Fix for mantis 2501
2011-09-26 11:17:06 +00:00
Zacam
02a23b22b1
From CommanderDJ: Fix for Mantis 2224 "Chat messages may end up unreadable due to unfortunate color choice"
...
Allows for the specification of colors via a colors.tbl
(Wiki Documentation here: http://www.hard-light.net/wiki/index.php/Colors.tbl )
2011-09-26 05:40:07 +00:00
The_E
9710f64934
Aargh. NOW it's fixed correctly
2011-09-25 20:47:31 +00:00
The_E
e8d36eac79
And a final fix here
2011-09-25 20:46:22 +00:00
The_E
c052cbe1e2
Fix for subsystem flags resetting erroneously. Thanks to zookeeper for noticing this.
2011-09-25 10:50:08 +00:00
Zacam
206279c5fd
Sync Drift: Apparently still some lingering ifdefs for OEM/Multiplayer_Beta and non-AP specific things not having made it to trunk for some reason.
2011-09-25 08:26:45 +00:00
The_E
6b90b35f56
FRom CommanderDJ: Patch for Mantis 2307, set-object-position weirdness when in nebula
2011-09-25 07:50:07 +00:00
IssMneur
1ac6127251
Fixes Mantis 2510 - Rotation periods for submodels of less than 1.0 seconds cause uncontrolled rotation of submodel.
2011-09-25 04:00:06 +00:00
Echelon9
e3195a82d6
Code cleanup: We should be really careful with using these scoring struct elements, as the types were changed from ushort to int at some point.
2011-09-25 02:42:27 +00:00
The_E
0f51dc1925
Redo 7777 without breaking anything else in the process
2011-09-24 19:47:47 +00:00
The_E
531a7c71bb
Revert 7791. Something went wrong there.
2011-09-24 18:31:20 +00:00
The_E
4ce7dfe9e4
Revert 7789
2011-09-24 17:42:56 +00:00
The_E
a982eb153d
Remove more useless encryption stuff. NOTE FOR PROJECT FILE MAINTAINERS: parse/encrypt.(cpp|h) should no longer be part of the project.
2011-09-24 17:37:12 +00:00
The_E
b964c63d6e
From niffiwan: Fix for Mantis 2477
2011-09-24 15:59:00 +00:00
The_E
24d6ca3bad
PVS Studio related: False alarms
2011-09-24 15:46:24 +00:00
The_E
5f0cf81cd2
PVS Studio fix: Rearranged struct to decrease size
2011-09-24 15:46:03 +00:00
The_E
6511cfdddf
From eli2: Change the control defines into a more manageable enum
2011-09-24 15:45:13 +00:00
The_E
05f3578109
PVS Studio fix: V547, <variable> >= 0 check on size_t variable
2011-09-24 14:26:04 +00:00
The_E
0e66893f32
Remove unused variable
2011-09-24 14:22:35 +00:00
Echelon9
cd1cc88640
Xcode project file cleanup: Xcode 3 thinks these sections are unnecessary after the encrypt.cpp file was removed recently
2011-09-24 01:35:19 +00:00
Echelon9
7d9ea6b21c
Documenation: Code cleanup of keycontrol.cpp
2011-09-24 01:34:25 +00:00
Echelon9
911025d835
A small code cleanup patch from Eli2. Thanks.
2011-09-24 01:19:29 +00:00
Echelon9
8e1c689f32
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 2056, 2061 (multiteamselect.cpp)
2011-09-23 20:28:06 +00:00
Echelon9
2866b4fb3b
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 2039, 2044 (multiteamselect.cpp)
2011-09-23 20:27:25 +00:00
Echelon9
82a36997cb
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 2172, 2186 (sexp.cpp)
2011-09-23 20:26:32 +00:00
Echelon9
efcdac911e
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 1977, 1986 (sexp.cpp)
2011-09-23 20:24:43 +00:00
The_E
ad0581dd4d
Fix for Mantis 2134: set-fov sexp has no effect at mission start. This moves the camera initialization stuff up a few lines to run before game_simulation_frame, thus ensuring the main camera is set up when sexps are evaluated.
...
Many thanks to CommanderDJ for tracking this down.
2011-09-23 19:09:23 +00:00
Swifty
e329d4542f
Fixed Mantis 2502. Messages gauge will no longer calculate string sizes using the incorrect font.
2011-09-23 09:14:02 +00:00
Echelon9
586491f150
PVS-Studio fix: V512 A call of the 'memset' function will lead to underflow of the buffer '&stackFrame' (mspdb_callstack.cpp).
2011-09-22 13:42:07 +00:00
Swifty
0ab6ecd58c
Further fix for Mantis 2500. Directives should now be using sexp overrides.
2011-09-22 06:28:49 +00:00
Echelon9
2db013e321
Documentation: Code cleanup of grbatch.cpp and work to prepare for 64bit with size_t
2011-09-21 14:37:36 +00:00
Zacam
cf5125d6a0
Revert enabling Speech and Voice Recognition, as it doesn't play well with Express versions of MSVC (at least not without a lot of work)
2011-09-21 06:37:56 +00:00
IssMneur
023c267374
- renamed +frequency to +period to reflect what the code actually does (as Valathil pointed out)
...
- +period: or +index: is no longer required for $substitute: (default is +index: 0)
- removed unnecessary check on +period: (1 is now a valid period)
2011-09-20 02:47:39 +00:00
The_E
c428e55ee2
Move this check outside the for loop for better performance
2011-09-19 18:01:56 +00:00
The_E
5c05db7c40
Small fix for the logic here
2011-09-19 15:53:11 +00:00
The_E
e689c90703
As requested by zookeeper: Adds "play fire sound for player" subsystem flag
2011-09-18 17:31:41 +00:00
Echelon9
83bc0e33fa
From niffiwan: Fix for Mantis 2468 - Change-Ship-Class does not change armor type
2011-09-18 05:24:34 +00:00
Zacam
c88660eca9
Also from Eli2: Code cleanup
2011-09-18 01:03:23 +00:00
Zacam
0a4f360908
Project cleanup for the removals of cryptstring, scramble, and crypt.cpp/.h.
2011-09-18 00:35:48 +00:00
Valathil
7a810e1dde
From Eli2_: Change cheat codes to not use that useless crypto function anymore
2011-09-17 23:00:58 +00:00
The_E
9f4d15b9d6
Make sure ETS settings carry over when changing ship class, as well as making sure that weapon selection are still valid after the change.
2011-09-17 22:11:34 +00:00
The_E
7751e8c076
Another case where one should use the case-insensitive check found and fixed.
2011-09-17 21:48:46 +00:00
Valathil
fe8f7ebaec
Reinitialize collision checks when executing the change-ship-class sexp
2011-09-17 21:02:33 +00:00
Valathil
4c4258eb6d
Reordered shaders for performance reasons
2011-09-17 20:55:03 +00:00
The_E
704908f74e
Since this header and cpp define a single function used in a single place, let's move the function to where it's used, and get rid of these files
2011-09-17 20:25:49 +00:00
The_E
d031406000
And another obsolete tool goes away
2011-09-17 20:08:13 +00:00
The_E
75790a647d
These are unused as well.
2011-09-17 20:00:29 +00:00
The_E
b692311667
These files are referenced nowhere, so away they go
2011-09-17 19:53:27 +00:00
The_E
b1fc8971de
Little change to fix bug with external post shaders not loading
2011-09-17 19:36:24 +00:00
Valathil
df80d5a1c3
Add Ships.tbl flag to disable lighting
2011-09-17 18:00:38 +00:00
Valathil
7074db9287
Don't do a boolean check on Floats could be -0.0 which is boolean true
2011-09-17 14:36:29 +00:00
The_E
c4ea493f9e
From m!m: Make the player object and mn.* table available in an $On Mission Start hook
2011-09-17 13:03:52 +00:00
The_E
5b53430da5
From m!m: Adds isTurret() and isAfterburnerActive() Scripting functions
2011-09-17 12:59:54 +00:00
The_E
5cb8835238
Highly experimental project files for the highly experimental MSVC 2011.
2011-09-16 21:17:02 +00:00
The_E
8c129cfc3d
Reverting 7733. This is clearly not ready for primetime, let alone a release.
2011-09-16 10:01:10 +00:00
The_E
5ec132d6e4
Adding support for the $On Weapon Fired: hook going off when turret weapons are firing
2011-09-15 11:46:33 +00:00
The_E
2997266ce9
Fix for the $On Weapon fired: scripting hook firing on every frame as long as the fire button is pressed
2011-09-15 11:35:32 +00:00
Zacam
1c324758f0
Enable Text-to-Speech (SVN Include) and Voice Recognition. (MSVC 2010)
2011-09-15 03:29:05 +00:00
Zacam
cc14debd26
Enable Text-to-Speech (SVN Include) and Voice Recognition.
2011-09-14 22:44:50 +00:00
Zacam
9b9b172e9e
EOL inconsistencies corrected to match the rest of the files.
2011-09-14 19:25:15 +00:00
The_E
7d5bce148f
strcmp != stricmp. Using stricmp is necessary to avoid breaking old missions.
2011-09-14 18:49:06 +00:00
The_E
49fe727218
Fix for the $On Weapon Fired: scripting hook
2011-09-14 12:21:45 +00:00
Backslash
28c482a2f1
Add radar gauges to Hud_gauge_types list, so that hud-activate-gauge-type sexp can affect radar. Also a bit of code sorting to make it easier to make sure all gauges are accounted for.
2011-09-14 02:53:12 +00:00
chief1983
f07609e6db
Update codeblocks project file.
2011-09-13 22:00:26 +00:00
The_E
36aaaf018e
Since this is the only place where r1 and r2 are variable, let's safeguard it.
2011-09-13 20:36:41 +00:00
The_E
4c838f2014
Adding an exit path here.
2011-09-13 20:26:23 +00:00
Echelon9
dacd3337c7
Documentation: Code cleanup in hudnavigation and hudobserver
2011-09-12 13:52:07 +00:00
Echelon9
8c272b61ae
Documentation: Code cleanup in fvi.cpp
2011-09-12 13:31:38 +00:00
Echelon9
5d2e1444e6
Documentation: Code cleanup in font.cpp and font.h
2011-09-12 12:52:33 +00:00
Echelon9
c17fbdbcfc
Documentation: Code cleanup in flak.cpp and flak.h
2011-09-12 12:45:19 +00:00
Echelon9
7f6e6e0b03
Documentation: Remove the old CreditWins from credits.cpp. These were unused for some time
2011-09-12 12:38:36 +00:00
The_E
debdb78531
A few fixes for the $Weapon Class scripting hook and associated actions
2011-09-12 12:35:08 +00:00
Echelon9
0ebe034272
Documentation: Big code cleanup of the collide**.cpp files
2011-09-12 12:34:49 +00:00
Echelon9
10f9ecac09
Documentation: Code cleanup of camera.cpp and camera.h, and removal of redundant function
2011-09-12 12:15:27 +00:00
IssMneur
dedd73a3f5
Lets try this again without templates that VC6 doesn't like (this time for real).
...
Use const strings in split_str.
2011-09-12 05:14:58 +00:00
Goober5000
3597538bde
revert 7705... it did, in fact, contain templates that VC6 doesn't like
2011-09-12 05:01:57 +00:00
IssMneur
10809783f9
Lets try this again without templates that VC6 doesn't like.
...
Use const strings in split_str.
2011-09-12 04:03:56 +00:00
Valathil
a899b8601f
Allow customization of the thruster distortion effect in species_defs.tbl and ships.tbl
2011-09-12 03:59:45 +00:00
Echelon9
eb56cc982d
Documentation: Code cleanup of asteroid.cpp and asteroid.h
2011-09-11 13:56:10 +00:00
Echelon9
1f07c6fcb1
Documentation: Code cleanup of alphacolors.cpp
2011-09-11 13:38:17 +00:00
Echelon9
6c4e057035
Documentation: Code cleanup of afterburner.cpp
2011-09-11 13:36:33 +00:00
Zacam
f779a5b8a8
Fix for Trunk r7677 causing map corruption on model cache rebuild.
2011-09-10 21:14:55 +00:00
Zacam
b781d3220c
From Goober5000: Fix for model read for 'submodel_get_two_random_points' failing to find any points in the POF 'defpoints' as reported by Nighteyes.
2011-09-09 15:13:23 +00:00
Zacam
83045f7d4c
Some more Parity/drift correction between Antipodes and Trunk: cfile update for better handling.
2011-09-09 14:06:29 +00:00
Zacam
f15c81fdd0
Part Three: Synchronization pass of Trunk and Antipodes Differences.
...
Catching on anything missed in the first two passes.
2011-09-09 10:38:14 +00:00
Zacam
a63dbe572c
Part Two: Synchronization pass of Trunk and Antipodes Differences.
...
Removes all extraneous ifdefs (Demo, E3, Multi Beta, etc).
Leaves Debug and Inferno.
2011-09-09 10:23:53 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Zacam
efaa50fd0c
From Valathil: Fixes thrusters with -trans textures
2011-09-08 17:12:25 +00:00
Goober5000
6c2f4f3c30
PVS-Studio fixes:
...
V506 Pointer to local variable 'Default_video_settings' is stored outside the scope of this variable. Such a pointer will become invalid. code 2d.cpp 507
V506 Pointer to local variable 'pos' is stored outside the scope of this variable. Such a pointer will become invalid. code shipfx.cpp 1075
2011-09-08 06:55:50 +00:00
Goober5000
fd4dc268d4
made show/hide jumpnode work on more than one argument
2011-09-08 06:41:38 +00:00
IssMneur
0717ad3d13
PVS-Studio fix: V512 A call of the 'memcpy' function will lead to overflow of the buffer '& x'. (pstypes.h:131)
2011-09-08 05:39:53 +00:00
IssMneur
dd3404b441
PVS-Studio: These are not false positives. Variable args can only be PODs, changing the "class" to a structure makes ade_odata a POD which should stop PVS-Studio from flagging this.
2011-09-08 05:38:21 +00:00
Echelon9
3eb9602696
Documentation: Complete code clean up of the 3d/2d code
2011-09-07 14:33:26 +00:00
Echelon9
f1cd24101f
Documentation: Code clean up in 3dlaser.cpp
2011-09-07 14:26:25 +00:00
Echelon9
dd99b7b035
Documentation: Code cleanup of 3ddraw.cpp
2011-09-07 14:22:03 +00:00
Echelon9
687b91d197
Documentation: Code cleanup to 2d.cpp, 2d.h and 3d.h
2011-09-07 14:10:41 +00:00
Echelon9
23d689e087
PVS-Studio fix: V512 A call of the 'memcpy' function will lead to underflow of the buffer 'szcode'.
2011-09-07 12:46:35 +00:00
Echelon9
6de5b02e77
Documentation: Code clean up of psnet2.cpp
2011-09-07 12:28:18 +00:00
Echelon9
dece779168
PVS-Studio fix (courtesy of niffiwan): V512 A call of the 'memcpy' function will lead to underflow of the buffer '& bit_24'.
2011-09-07 12:00:21 +00:00
Echelon9
9086c95131
PVS-Studio fix (courtesy of niffiwan): V512 A call of the 'memcpy' function will lead to underflow of the buffer (psnet2.cpp)
2011-09-07 11:58:47 +00:00
Zacam
c946bc4a45
PVS-Studio fix (courtesy of niffiwan): V512 - A call of the 'memcpy' function will lead to overflow of the buffer '& ip_addr.sin_addr'.
2011-09-07 10:00:03 +00:00
Zacam
0dac515506
MSVC Analysis: Local declaration of <variable> hides previous declaration at <line> of <file>: 'Scene_texture_width'/'Scene_texture_height' in gropengldraw lines 56 & 57.
2011-09-07 09:57:37 +00:00
karajorma
d7274c3714
Fix Mantis 2497 (SEXP help text not available in the ships editor)
2011-09-07 02:50:05 +00:00
Valathil
388fd3bb81
Delay transparent texture rendering to fix z-buffer ordering issues
2011-09-06 17:17:58 +00:00
Echelon9
f678baabde
Documentation: Major code clean up of shield.cpp
2011-09-06 14:39:53 +00:00
Echelon9
6d245f7bc2
PVS-Studio fix: V524 It is odd that the body of 'multi_xfer_reset' function is fully equivalent to the body of 'multi_xfer_close' function (multi_xfer.cpp, line 185).
...
Remove duplicate, unused function
2011-09-06 12:29:56 +00:00
Goober5000
f3349119b8
end string at hash symbol for jump nodes too
2011-09-06 08:59:29 +00:00
karajorma
7e97177a75
Fix Mantis 2492 (Confusing help messages for the get-x-ammo SEXPs)
2011-09-06 02:29:47 +00:00
Goober5000
d94416f71b
remove unreferenced variable
2011-09-05 19:50:26 +00:00
Echelon9
aacaa2d331
Documentation: Major code cleanup of ship.cpp
2011-09-05 14:30:34 +00:00
Echelon9
7d56f961e5
PVS-Studio fix (courtesy of niffiwan): V568It's odd that the argument of sizeof() operator is the '(short) method' expression.
2011-09-05 12:49:37 +00:00
Echelon9
1de8a20958
PVS-Studio fix (courtesy of niffiwan): This is a false positive, BUT IT REALLY SHOULD be rewritten with an STL container
2011-09-05 12:47:12 +00:00
karajorma
1fe4fdeaef
Fix the cloaked ship flag not saving.
2011-09-05 00:05:20 +00:00
Valathil
02848eb577
Fixed a little misunderstanding of the collision query framework in the sun occlusion test
2011-09-04 20:01:34 +00:00
The_E
5ea6138708
A bit of cleanup here. Removed unnecessary "if (true)" and changed the sexp code to use the already written armor_type_get_idx function
2011-09-04 19:33:09 +00:00
Valathil
944ea0b367
Implemented Sun occlusion for Cockpit models and shown Ship models
2011-09-04 15:48:05 +00:00
Echelon9
47ce96863f
PVS-Studio fix: Mark a false positive reported by niffiwan
2011-09-04 15:30:34 +00:00
The_E
e63a8680f9
PVS Studio fix: V535 The variable 'j' is being used for this loop and for the outer loop.
2011-09-04 12:36:33 +00:00
The_E
c187041e9f
PVS Studio fix: Variable "item_index" was assigned values twice in succession
2011-09-04 12:35:14 +00:00
The_E
d283d5800d
Another false alarm from PVS Studio
2011-09-04 12:33:00 +00:00
The_E
834e383c26
Marking a bunch of PVS Studio warnings as false alarms. While the warnings are technically correct, none of these are in places where performance matters.
2011-09-04 12:31:33 +00:00
The_E
5bec06b168
PVS Studio fix: V803 Decreased performance. In case 'obji' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
2011-09-04 12:14:35 +00:00
The_E
b92c6402a4
More false alarms from PVS Studio
2011-09-04 12:13:31 +00:00
The_E
124138ae07
PVS Studio related: Mark false alarms as such
2011-09-04 10:14:17 +00:00
The_E
790dba1d3d
PVS Studio related: Mark false alarms as such
2011-09-04 09:35:08 +00:00
The_E
383403967c
PVS Studio fix: V510, class type argument passed to sprintf
2011-09-04 09:31:30 +00:00
The_E
c14d9213d2
Change batch_render_* to use iterators
2011-09-04 08:19:21 +00:00
Swifty
8e2fbd8b9e
Thrusters render in the proper position when drawing an auto centered model.
2011-09-04 06:54:09 +00:00
Goober5000
001baa29a2
remove unneeded Assert
2011-09-04 05:43:42 +00:00
Goober5000
bab303963b
fix a bug from the waypoint conversion
2011-09-04 00:41:05 +00:00
Goober5000
0e278350d7
d'oh... in most cases, atoi(CTEXT(n)) should be eval_num(n)
2011-09-03 21:46:49 +00:00
Valathil
107f02d8d6
Fix tcache_set() OpenGL Errors by not using vertex attributes when drawing distortion Thrusters
2011-09-03 16:17:19 +00:00
Echelon9
e3c100d5fa
Documentation: A few documentation fixes
2011-09-03 09:06:00 +00:00
Echelon9
67658b89c8
Documentation: A few documentation fixes so that Doxygen 1.7.5.1 outputs a clean log
2011-09-03 08:25:53 +00:00
Echelon9
eda7103399
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 1281, 1312.
2011-09-03 05:38:28 +00:00
Echelon9
6c55c061c4
Suppress a PVS-Studio false positive
2011-09-03 05:34:08 +00:00
Echelon9
f701d00d0a
PVS-Studio fix: V592 The expression was enclosed by parentheses twice: ((expression)). One pair of parentheses is unnecessary or misprint is present (starfield.cpp).
2011-09-03 05:31:12 +00:00
Echelon9
4f2574dddb
PVS-Studio fix: V592 The expression was enclosed by parentheses twice: '((cur_sep > 0.9f * desired_sep))'. One pair of parentheses is unnecessary or misprint is present (aicode.cpp).
...
I think this is the right fix. In addition the code comments did not reflect what was happening, so I've updated these to reflect the if() comparison.
2011-09-03 05:20:27 +00:00
Goober5000
3b5512d60a
whoops
2011-09-03 04:30:23 +00:00
Goober5000
725762bf35
The_E made the wrong fix; this is the right one
2011-09-03 02:34:14 +00:00
Goober5000
70a1873c86
a bunch of small PVS-Studio fixes (mostly duplicate assignments)
2011-09-03 02:25:39 +00:00
Goober5000
43cbdb0783
wl_fury_missile_offset_hack was only applicable for FS1
2011-09-03 02:21:20 +00:00
Goober5000
eee761ab79
PVS-Studio fix: V507 Pointer to local array 'name' is stored outside the scope of this array. Such a pointer will become invalid. code missioncampaign.cpp
...
(This is a Volition bug! In all other locations, Campaign_file_names and Campaign_names are set using strdup.)
2011-09-03 01:48:06 +00:00
Goober5000
c7ddf2f619
PVS-Studio fix: V506 Pointer to local variable 'terminus' is stored outside the scope of this variable. Such a pointer will become invalid.
2011-09-03 01:45:56 +00:00
Goober5000
2ce8ca62cf
PVS-Studio fix: V804 Decreased performance. The 'strlen' function is called twice in the specified expression to calculate length of the same string.
2011-09-03 01:32:07 +00:00
Goober5000
09bb4ab771
PVS-Studio fix: V804 Decreased performance. The 'strlen' function is called twice in the specified expression to calculate length of the same string.
2011-09-03 01:15:20 +00:00
Goober5000
ee4e1f2afa
PVS-Studio fix: V805 Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) != 0' construct. A more efficient way is to check: str[0] != '\0'.
...
(and sorry Kazan, you don't get to call your for statement a work of art if you use strlen inefficiently)
2011-09-03 01:05:00 +00:00
Valathil
22c4cf13da
Changed Sun glow and lens flare rendering to not be obscured by objects
2011-09-01 19:35:17 +00:00
Valathil
a67f2d4f29
Enable alpha channel on render to texture targets and provide scripting functions with alpha capabilities
2011-09-01 16:16:03 +00:00
Echelon9
45f8701e68
Documentation: Code cleanup of missionbriefcommon.cpp
2011-09-01 13:50:37 +00:00
Echelon9
4201582786
Let's have another go at this one... around we go again
2011-09-01 13:08:32 +00:00
karajorma
7df5137ac4
Fix a mismatch.
2011-08-31 14:06:19 +00:00
Echelon9
a20c658026
cppcheck fix: Memory leak in icon table parsing.
2011-08-31 13:53:14 +00:00
Echelon9
3063b2cd85
Undo my rather silly patch, apply niffiwan's patch as a temporary measure (at least).
2011-08-31 13:48:23 +00:00
Echelon9
2abd999dd9
PVS-Studio fix: V522 Dereferencing of the null pointer 'snd' might take place. Check the logical condition (autopilot.cpp)
2011-08-31 13:25:14 +00:00
Echelon9
9be05a4d7f
PVS-Studio fix: V523 The 'then' statement is equivalent to the 'else' statement (psnet2.cpp).
...
This one was particular bad as it code have lead to remotely induced crashes over the network with oversize packets.
2011-08-31 13:12:46 +00:00
Echelon9
dc29308c31
PVS-Studio false positive: V581 The conditional expressions of the 'if' operators situated alongside each other are identical.(hudtarget.cpp)
2011-08-31 13:02:44 +00:00
Echelon9
81f5d8ee99
PVS-Studio false positive: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 185, 189 (dscap.cpp)
2011-08-31 13:00:57 +00:00
Echelon9
bcb60d8bd0
PVS-Studio false positive: V537 Consider reviewing the correctness of 'y' item's usage (3dmath.cpp)
2011-08-31 12:58:58 +00:00
Zacam
64efa9f2fa
Clean up the commented out code from niffiwan's PVS-Studio patches. (from niffiwan)
2011-08-31 10:58:33 +00:00
Zacam
10445ba0c3
MSVC Analysis C6244: Local declaration of <variable> hides previous declaration at <line> of <file>. (lock_world_pos; 31; hudlock.cpp)
2011-08-31 09:59:55 +00:00
Zacam
def9877ade
MSVC Analysis C6246: Local declaration of <variable> hides declaration of same name in outer scope. (wip, swp, objp, j)
2011-08-31 09:37:20 +00:00
Zacam
e21235bfb9
Fix for 7590: Shipp can be NULL, which would lead to a crash. This resolves that crash from happening.
2011-08-30 22:59:57 +00:00
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
The_E
724f1be9d3
Removing the RELEASE_REAL define from ye olde ✌️ days. We really don't need it anymore.
2011-08-30 17:46:03 +00:00
The_E
9e8f902ed3
PVS Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical.
2011-08-30 17:40:00 +00:00
Swifty
fa54551e26
Engine glows no longer render when on the wrong side of a warp-in/out.
2011-08-30 17:39:48 +00:00
The_E
9d9d2d0eb2
PVS Studio fix: V576 Incorrect format. A different number of actual arguments is expected while calling 'Format' function. Expected: 2. Present: 3.
2011-08-30 17:29:56 +00:00
The_E
57fae21a9c
PVS Studio fix: V567 Undefined behavior. The 'index' variable is modified while being used twice between sequence points.
2011-08-30 17:28:39 +00:00
The_E
27e0c1b3b2
PVS Studio fix: V547 Expression 'character <= 127' is always true. The value range of signed char type: [-128, 127].
2011-08-30 17:26:57 +00:00
The_E
0ce71ca239
PVS Studio fix: V541 It is dangerous to print the string 'base' into itself.
2011-08-30 17:24:50 +00:00
The_E
b15d864aac
PVS Studio fix: V541 It is dangerous to print the string 'ani_name' into itself.
2011-08-30 17:23:01 +00:00
Echelon9
3453cc9c70
PVS-Studio fix: V576 Incorrect format. Consider checking the [third] actual argument of the 'sprintf' function. The SIGNED integer type argument is expected.
...
Fixes a number of this class of issue with sprintf formats.
2011-08-30 15:39:29 +00:00
Echelon9
a03118b88d
PVS-Studio fix: V805 Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) == 0' construct. A more efficient way is to check: str[0] == '\0' (missioncampaign.cpp).
2011-08-30 15:17:28 +00:00
Echelon9
a5bd4b9845
PVS-Studio fix: V523 The 'then' statement is equivalent to the 'else' statement (shipfx.cpp).
...
Also take opportunity to clean up the BSG warp effect code. That duplice if() else() had been included since the original WMC commit in r5261.
2011-08-30 14:32:10 +00:00
Echelon9
64d2e8b9fb
PVS-Studio fix: V803 Decreased performance. In case 'aip->wp_index' is iterator it's more effective to use prefix form of decrement. Replace iterator-- with --iterator.
2011-08-30 14:06:03 +00:00
The_E
e3039d3ea4
PVS Studio fix: V570 The 'end_angle.a1d [axis]' variable is assigned to itself.
2011-08-30 13:55:36 +00:00
The_E
2a723f78b0
PVS Studio fix: V547 Expression is always true. Unsigned type value is always >= 0.
2011-08-30 13:48:56 +00:00
The_E
c7422150fc
PVS Studio fix: V535 The variable 'i' is being used for this loop and for the outer loop.
2011-08-30 13:46:00 +00:00
The_E
003ed628c7
PVS Studio fix: V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 279, 287.
2011-08-30 13:40:36 +00:00
The_E
32bc367306
PVS Studio fix: "delete operator applied to non-pointer"
2011-08-30 13:38:33 +00:00
The_E
1aa806a3ab
PVS Studio fix: duplicated "!strlen(filename)" check
2011-08-30 13:21:28 +00:00
Echelon9
5a0dc8f6b1
PVS-Studio (courtesy of niffiwan): V523 The 'then' statement is equivalent to the 'else' statement (techmenu.cpp).
2011-08-30 13:12:51 +00:00
Echelon9
8a4482c827
PVS-Studio fix (courtesy of niffiwan): V523 The 'then' statement is equivalent to the 'else' statement (missiontraining.cpp).
2011-08-30 13:06:28 +00:00
karajorma
7ca92457b4
PVS-Studio fix: V512 A call of the 'memset' function will lead to underflow of the buffer 'type'.
...
Never really would matter but it's a waste of memory declaring an int buffer and then only using 1/4 of it
2011-08-30 11:50:23 +00:00
Goober5000
2ef9fa11b6
add fire-beam-at-coordinates, which is as awesome as it sounds
2011-08-30 07:29:57 +00:00
Goober5000
3f1fcf2e71
having null iterators is apparently a no-no according to the C++ standard, so use a globally defined invalid iterator instead
2011-08-30 07:27:32 +00:00
karajorma
af96b121b6
Gliding remains on when the player restarts a mission.
2011-08-30 04:12:55 +00:00
Goober5000
3ce69f150a
waypoints and waypoint paths now have dynamic limits
2011-08-30 03:35:42 +00:00
karajorma
caff640862
Documentation for the Multiplayer SEXP system.
2011-08-30 00:18:32 +00:00
Echelon9
9a76fcfe78
PVS-Studio fix: V515 The 'delete' operator is applied to non-pointer (hud.cpp).
2011-08-29 16:08:03 +00:00
Echelon9
e58723d589
PVS-Studio fix (Courtesy of niffiwan): V523 The 'then' statement is equivalent to the 'else' statement (barracks.cpp and missionhotkey.cpp).
2011-08-29 13:19:58 +00:00
Echelon9
b55516dfdb
Documentation: Code cleanup of sexp.cpp
2011-08-28 15:10:07 +00:00
Echelon9
a5249cf57c
Reverting 7545: Due to some odd errors coming through as Asserts in cfile.cpp
2011-08-28 12:48:20 +00:00
Echelon9
81c9c92479
PVS-Studio fix: V516 Consider inspecting an odd expression. Non-null function pointer is compared to null: 'jumpnode_get_by_name == 0' (sexp.cpp).
...
Ironic that check_sexp_syntax() appeared to have a mistake in it's check functions.
2011-08-28 09:49:02 +00:00
Echelon9
5386b9da7c
PVS-Studio fix: V555 The expression '(now - bi->last_down_check) > 0' will work as 'now != bi->last_down_check'.
...
Due to unsigned int type wrapping the former code would have always returned true.
2011-08-28 09:41:54 +00:00
Echelon9
9c0edf2d64
Documentation: Code cleanup in multi_obj.cpp
2011-08-28 09:36:18 +00:00
Echelon9
66dd978878
PVS-Studio fix: V519 The 'num_users' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2296, 2297 (multi_pxo.cpp)
2011-08-28 09:34:09 +00:00
Echelon9
91f01706fd
PVS-Studio fix: V519 The 'player_index' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1389, 1392 (multi_obj.cpp)
2011-08-28 09:32:55 +00:00
Echelon9
9bd9ea619d
PVS-Studio fix: V519 The 'list_size' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 597, 604 (gropenglpostprocessing.cpp)
2011-08-28 09:31:21 +00:00
Echelon9
b765ca37b9
PVS-Studio fix: V519 The 'path_index' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 12782, 12809 (aicode.cpp)
2011-08-28 09:30:07 +00:00
Echelon9
cb07f76f6c
Documentation: Clean up lua.cpp
2011-08-28 08:54:10 +00:00
Echelon9
80a027a400
PVS-Studio fix: V803 Decreased performance. In case 'tvs' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
...
For further discussion see, http://www.viva64.com/en/b/0093/
The scenarios where it will improve performance are under Debug builds. This improvement will however allow quicker use of other profiling tools that need to run on Debug builds.
Note. Code with size_t does not see the performance improvement comparison to iterators due to absence of array overrun check.
2011-08-28 08:31:25 +00:00
Echelon9
2226ca29d8
Revert r7546 -- will need more work.
2011-08-28 07:39:56 +00:00
Echelon9
34084aebe6
PVS-Studio fix: V501 There are identical sub-expressions '(stricmp (szCmd, "372") == 0)' to the left and to the right of the '||' operator.
...
and
V501 There are identical sub-expressions '(stricmp (szCmd, "375") == 0)' to the left and to the right of the '||' operator.
2011-08-28 07:27:53 +00:00
Echelon9
2d01954585
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 80 to 76 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 07:16:42 +00:00
Echelon9
9fa25a9ae4
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 50 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 07:08:40 +00:00
Echelon9
58b77fb8f9
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 52 to 48 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 07:03:57 +00:00
Echelon9
93622a3748
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 40 to 32 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 07:00:38 +00:00
Echelon9
499c698ba8
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 24 to 20 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 06:55:00 +00:00
Echelon9
a93f7d50fd
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 28 to 24 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 06:50:02 +00:00
Goober5000
7931831cbe
add dynamic vector stuffing
2011-08-28 03:31:46 +00:00
Goober5000
13366ad45b
add linked lists, woot
2011-08-27 05:27:24 +00:00
Goober5000
9ef2aac09a
return special exp values to ints, per discussion with Zacam awhile ago
...
while we're at it, change kamikaze damage to int since it's treated as such
2011-08-27 05:08:39 +00:00
Goober5000
7f5d1b362f
enhance end-mission to possibly dump player to main hall
2011-08-27 04:39:18 +00:00
Goober5000
3b2b76206f
add infrastructure and parsing support for mission forks (vs. mission loops)
...
mission fork interface art and selection logic still needs to be written
2011-08-27 03:57:16 +00:00
Zacam
c6beca2629
Fix for Mantis 2467: untargeted heat seekers ignore ship protect
...
from niffiwan: http://www.hard-light.net/forums/index.php?topic=78001.0
2011-08-26 00:17:45 +00:00
Zacam
2115469681
Alt Name field for ships not being set was interfering with displaying the ship class or name in the loadout screen when selecting a weapon said ship could not carry. This fixes that. From Wanderer, via Karajorma.
2011-08-25 07:33:49 +00:00
Zacam
9bbc485f0c
Slight update to optimize the built in main-f.sdr.
2011-08-25 02:42:05 +00:00
karajorma
7952433415
I've already removed this section of code once! Let's see if it stays out this time!
2011-08-25 02:36:10 +00:00
Sushi
04af101eda
Add "$Max Turrets per Bomb" and "$Max Turrets per Target" turret attributes. Allow per-turret control over maximum number of targeted bombs and ships (respectively). Works like "$Max Turret Target Ownage" but on a per-turret basis, and with the ability to affect incoming bombs as well.
2011-08-25 01:33:44 +00:00
Echelon9
0b17acff72
Documentation: Cleanup a few comments in pstypes.h
2011-08-24 21:27:07 +00:00
The_E
fe0ec8dffa
Update for the ad.playMusic() function so that it accepts a volume parameter
2011-08-24 15:20:04 +00:00
Echelon9
d208740bcd
PVS-Studio fix: V524 It is odd that the body of 'ds_eax_set_preset' function is fully equivalent to the body of 'ds_eax_set_environment' function (ds.cpp, line 2091).
2011-08-24 15:06:22 +00:00
Echelon9
a47f5b4069
PVS-Studio fix: V525 The code containing the collection of similar blocks. Check items 'Scene_color_texture', 'Scene_color_texture', 'Scene_depth_texture' in lines 2073, 2076, 2079. code gropengldraw.cpp
2011-08-24 14:56:48 +00:00
Echelon9
c2e41e4a95
PVS-Studio fix: V524 It is odd that the body of 'l_Object_getrvec_f' function is fully equivalent to the body of 'l_Object_getfvec_f' function (lua.cpp, line 4735).
2011-08-24 14:52:05 +00:00
Echelon9
dbcce6b112
PVS-Studio fix: V524 It is odd that the body of 'fireball_level_close' function is fully equivalent to the body of 'fireball_close' function (fireballs.cpp, line 970).
2011-08-24 14:48:17 +00:00
Echelon9
a248a37d58
PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct
2011-08-24 13:37:01 +00:00
karajorma
56f758967a
Fix several SEXPs for multiplayer use. This should fix Mantis issues 2401, 2483 and 2382.
...
In addition, fix a bug caused by SEXPs that do a callback but don't send any data.
2011-08-24 08:37:11 +00:00
Goober5000
f5ad44950a
change the units on rotation acceleration to bring them in line with rotational velocity
...
this is not a compatibility break because acceleration didn't work until just a few days ago :D
2011-08-24 02:41:07 +00:00
Goober5000
b232661a78
supposedly these two checks were forgotten
2011-08-24 02:23:44 +00:00
The_E
94bb513f0f
Another FXAA change to stop it from murdering our pretty pretty starfields.
2011-08-23 19:07:58 +00:00
The_E
34e7c0c927
Removing a preprocessor define from the fxaa fragment shader that we're not using.
2011-08-23 18:41:19 +00:00
Echelon9
745ec904d5
Documentation: Minor tweaking to ai.cpp
2011-08-23 13:50:24 +00:00
Zacam
ec58a7388f
Formating the shaders entries for soft particles to match the rest of the shaders.
2011-08-22 22:18:06 +00:00
Zacam
c8d0e343e2
From jg18: Platform flag exclusion, Soft Particles wiki link.
...
(reformatting/spacing is mine)
2011-08-22 22:17:34 +00:00
Valathil
da6727d9d1
Let's try this again. Adding Framebuffer distortion thrusters and explosions.
2011-08-22 17:57:01 +00:00
The_E
14ac7a3cbf
object:checkRayCollision() for scripting, from m!m
2011-08-22 12:57:01 +00:00
karajorma
9aa338ecd8
Add a version of the event-true-delay SEXP which works using milliseconds rather than seconds.
2011-08-22 10:44:41 +00:00
Goober5000
a74ae93a14
wow... it looks like the subsystem acceleration sexp never worked until now...
2011-08-22 08:38:02 +00:00
Goober5000
f492ce292c
revert 7508, which MSVC6 doesn't like
2011-08-22 07:58:00 +00:00
IssMneur
80d3b0ed84
- make split_str use const strings were appropriate.
...
- make brief_color_text_init use const strings where appropriate.
2011-08-21 17:05:04 +00:00
Zacam
583f5c976f
Revert 7498: You should also test without optional command lines present, yellow disco screens of death in-mission are bad.
2011-08-21 04:04:45 +00:00
Goober5000
b1ad28efdb
add an option to fire-beam to force the beam to fire
...
combine fighter_beam flag into flags field
2011-08-21 01:11:24 +00:00
Goober5000
6346fc6de6
fix string length
2011-08-21 00:43:31 +00:00
Goober5000
8e27e23acc
Zacam's patch for bringing MSVC 2005 up to date
2011-08-21 00:29:11 +00:00
Valathil
89da5f6fdc
Added thruster heat distortions and explosion framebuffer effects
2011-08-20 23:31:07 +00:00
Swifty
fe605149c4
Soft sphere sprite rendering for particles, explosions, shockwaves, and thrusters.
2011-08-20 22:14:52 +00:00
Sushi
68b036a4af
Add "Fog Near Multiplier" and "Fog Far Multiplier" options for missions. Allows the FREDder to tweak distances at which ships fade out in a nebula.
2011-08-20 15:06:18 +00:00
Goober5000
bc1b977c77
rewrite facing and is-facing to be more clear; I think I also fixed a bug in the process
2011-08-20 08:25:39 +00:00
Goober5000
5a28b96872
the key should be in the training category along with the other key sexps
2011-08-20 05:55:14 +00:00
Valathil
9c5e18225e
Fixed a crash in the Ship effect SEXP so it doesn't crash the game if you try to cloak a wing with destroyed/departed/vanished ships.
2011-08-19 14:49:04 +00:00
karajorma
c56684cf43
Fix Mantis 2397 (Variables do not use more than one column when using replace data or replace variable unlike all other data)
2011-08-19 10:10:53 +00:00
karajorma
4dfa577114
Add options to send objects, shorts and ushorts via the multiplayer SEXP system.
2011-08-19 08:09:50 +00:00
Goober5000
ce48784a5f
add some sanity protections against overstuffing arrays
2011-08-19 04:39:12 +00:00
Goober5000
017699d8a3
minor tweaks
2011-08-19 04:32:24 +00:00
The_E
bb2c773d7b
Fix for Mantis 2484: Default text length for EFF files was far too short.
2011-08-18 20:21:05 +00:00
Echelon9
555a9033de
Documentation: General clean-up and function documentation
2011-08-18 16:47:54 +00:00
karajorma
77745bdb75
Doh, missed one!
2011-08-18 07:56:31 +00:00
karajorma
1a577f6473
Fixes and clean up for the multiplayer SEXP packet system.
...
- Make the system more robust against accidental attempts to write data to the packet without proper initialisation.
- Improve the error messages and function names to make clear the difference between the packet the game actually sends and the abstracted packets the coder seems to create and send in sexp.cpp
- Add a convenience methods to deal with SEXPs that don't need to write any data.
2011-08-18 07:48:59 +00:00
karajorma
df0722f929
Fixes for the multiplayer SEXP packet to prevent errors caused by the coder taking too little data out of the packet before reporting that they are done.
2011-08-18 05:24:27 +00:00
Echelon9
13d8c4e97c
Diaspora feature: Control configs override and default table
2011-08-17 14:40:13 +00:00
karajorma
dc980ecc21
Halleck's bomb scoring code
2011-08-16 09:45:14 +00:00
Goober5000
a60c3d5a2d
compilation fix
2011-08-16 04:55:47 +00:00
IssMneur
9395281267
From jg18: Add some missing wiki urls in the flag file output.
2011-08-14 23:10:08 +00:00
Zacam
608880bae5
Fred2 Open debug log now records build version data, just like fs2_open.log.
...
Updated the fs2_open.log output to declare "FreeSpace 2 Open version" instead of just "FreeSpace version"
2011-08-14 16:42:47 +00:00
The_E
d5c065bf74
When loading FXAA shaders, always use the built-in defaults.
2011-08-14 15:08:28 +00:00
Echelon9
639fd1951a
PVS-Studio fix: Expression 'b->type < 0' is always false. Unsigned type value is never < 0.
2011-08-14 14:07:11 +00:00
Goober5000
570aaf88ae
change warnings to mprintfs
2011-08-14 08:42:50 +00:00
Zacam
0054d25e0b
Shader Update: main-f updated with latest cloaking code. small amount of cleanup done as well.
2011-08-14 02:36:33 +00:00
Echelon9
37097f2d83
PVS-Studio fix: Duplicate comparison check for stricmp('FRED2_Open', scp->data.name). Instead use the second comparison to check for the same naming format as stricmp('FS2Open', scp->data.name)
2011-08-13 08:22:51 +00:00
Echelon9
c45aa93a9a
PVS-Studio fix: Calling empty() on an STL vector does not modify the content of the vector in any way. To clear, use clear(). In addition, this commit also fixes the spelling of the containing function and turns on Doxygen documentation.
2011-08-13 08:19:55 +00:00
Echelon9
3a9f72c231
PVS-Studio fix: A call of the 'memset' function will lead to underflow of the buffer 'txt'. In HudGaugeMultiMsg::render()
2011-08-11 15:31:44 +00:00
Echelon9
ddb6039161
PVS-Studio fix: The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator. In UI_SLIDER2::draw()
2011-08-11 14:59:16 +00:00
Echelon9
5b60b84cfd
PVS-Studio: The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator. In process_event_update_packet()
2011-08-11 14:56:43 +00:00
Echelon9
71255d6ba5
PVS-Studio: A call of the 'memset' function will lead to underflow of various buffers in multi code.
2011-08-11 14:53:11 +00:00
Echelon9
f25f912848
PVS-Studio fix: Fix r5260 - A call of the 'memset' function will lead to underflow of the buffer 'Valid_builtin_message_types'.
2011-08-11 14:35:03 +00:00
Echelon9
fe1c83e4eb
PVS-Studio fix: Expression 'i >= 0' is always true. Unsigned type value is always >= 0.
2011-08-11 14:18:26 +00:00
Echelon9
2808f6624d
PVS-Studio fix: Expression 'idx < 0' is always false. Unsigned type value is never < 0.
2011-08-11 14:15:05 +00:00
Echelon9
682936b8d7
PVS-Studio fix: XYZ co-ordinated were not correctly copied and pasted in parse_ship_values()
2011-08-10 16:11:29 +00:00
Zacam
1c4dacdafc
Logging update: Major/Minor/Build update so that "Build" will always be available/log correctly even when "0" (ex: 3.7.0) without also needing "Revision" present.
2011-08-10 14:23:51 +00:00
Echelon9
f2f77ccc5f
PVS-Studio fix: This if...then...else block was redundant in HudGaugeSupport::render(), as each 'then' block did the same thing
2011-08-10 14:01:15 +00:00
Echelon9
148c68b9f4
PVS-Studio fix: This if...then...else block was redundant in player_select_init(), as each 'then' block did the same thing
2011-08-10 13:58:25 +00:00
Echelon9
e7f07441f9
PVS-Studio fix: Incorrect logic within ping time colour indicator in multi_join_display_games() was overrepresenting yellow at the expense of red. Also replaced magic number with a definition.
2011-08-10 13:55:33 +00:00
Echelon9
913c4effe7
PVS-Studio fix: No need to set sinfo variable again immediately after first assignment to a different value in send_secondary_fired_packet()
2011-08-10 13:51:31 +00:00
Echelon9
283753bffa
PVS-Studio fix: No need to set Current_stage variable again immediately after first assignment to a different hard coded value
2011-08-10 13:49:42 +00:00
Echelon9
139bb5afa9
PVS-studio fix: Ensure that both x and y of Player->current_target are reset correctly in hud_lock_determine_lock_point()
2011-08-10 13:47:06 +00:00
Echelon9
8531488d1b
PVS-Studio fix: Remove duplicate if...then conditional within fs2netd_get_pilot_info()
2011-08-10 13:45:14 +00:00
Echelon9
127ac8d051
PVS-Studio fix: Remove duplicate if...then conditional within ai_process()
2011-08-10 13:43:18 +00:00
Echelon9
989916e0a7
PVS-Studio fix: Correct duplicate attempt to set the docker_aip->support_ship_signature in ai_do_objects_undocked_stuff()
2011-08-10 13:40:53 +00:00
IssMneur
973efc2865
From jg18: various polish details and a description clarification, based from descriptions within sandmanjack's launcher
2011-08-09 04:37:59 +00:00
Swifty
f6ba2141b4
Shockwaves and death explosions will stay oriented independently of player's bank.
2011-08-07 09:55:18 +00:00
The_E
abd7134e0e
ALtered according to feedback from Valathil.
2011-08-06 19:11:43 +00:00
IssMneur
1c130bbc8a
From Valathil: Fixes a problem with a min-max lifetime smart spawn weapons where it wouldn't fire except at close range
2011-08-06 18:20:34 +00:00
The_E
20346118c6
Another sprite rendering fix from Valathil
2011-08-05 21:39:14 +00:00
Swifty
f35b322397
Ship-specific gauges will only get preprocessed once.
2011-08-05 09:06:31 +00:00
The_E
154f90823c
Another sprite rendering fix from Valathil
2011-08-04 21:46:21 +00:00
The_E
55427f1690
Patch for sprite orientation from Valathil
2011-08-04 16:25:19 +00:00
Zacam
7cb68f6de2
Resolves MSVC complaint about "'i' : unreferenced local variable" for the size_t in "void game_render_hud(camid cid)"
2011-08-04 13:58:46 +00:00
The_E
e6f0e0e956
Ooops, meant to use a pointer there.
2011-08-04 13:34:33 +00:00
The_E
4dd9021e9c
Resolve an "uninitialized Variable" warning
2011-08-04 13:33:35 +00:00
The_E
aa9bb91dd7
And another one.
2011-08-04 13:17:55 +00:00
The_E
300ee6f9e9
Slight correction to make nvidias GLSL compiler happy
2011-08-04 13:16:32 +00:00
The_E
ac8b7c4c10
From m!m: Adds access to collision data to the Lua API.
2011-08-04 11:05:25 +00:00
Swifty
5283c36d34
Let's try this again without breaking the orb radar: Optimized BSG radar and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-04 11:01:28 +00:00
The_E
47b1f57435
Adding the function "ship::addShipEffect(string name, int duration)" to the LUA API.
2011-08-04 10:58:28 +00:00
IssMneur
bb75f7fc4e
Move clear-subtitles to the camera subcategory in FRED.
2011-08-03 04:12:46 +00:00
The_E
4a488dd7f0
Reverting 7411 due to it breaking the standard 3D radar.
2011-08-02 13:02:34 +00:00
Swifty
043d56b3f7
For Diaspora: Optimized BSG radar rendering and cockpit displays. Fixed cockpit models not switching when changing ships.
2011-08-02 10:49:51 +00:00
The_E
43e220aa68
Fix for issue with the weapon select sound not playing when weapon_choice_3d was active
2011-08-01 20:39:31 +00:00
IssMneur
64ff2ba5a5
Complain correctly about pilot name length (actually say that the name is too long rather than just an assert).
2011-08-01 20:10:51 +00:00
The_E
ab30a9662d
Updating the internal shaders a bit
2011-08-01 18:38:04 +00:00
The_E
91e54218a7
Correcting a little oversight with the $Selection Effect: tbl entries
2011-08-01 18:06:58 +00:00
The_E
fd29f15e12
Make external weapon models cloak when the mothership is cloaking.
2011-08-01 11:56:06 +00:00
The_E
ebf412d9f4
From Valathil: Allow shader effects to be less wrong if the Post-processing framebuffer is not active
2011-07-31 20:37:42 +00:00
The_E
d366751420
Request by MjnMixael: clear-subtitles sexp
2011-07-31 20:35:34 +00:00
The_E
245ed41f71
Moving ai_profiles parsing up a few lines to fix issue with $Default Weapon select effect
2011-07-31 20:21:35 +00:00
Echelon9
e4125bab11
Picked up by MSVC analyser: Lock down these cases of unsafe string operations
2011-07-31 13:41:13 +00:00
Echelon9
7d8ec67a99
Fix Apple support for vglDrawBuffers, part of the new shader code
2011-07-31 08:03:04 +00:00
The_E
43c6cd2539
Updating the sexp description
2011-07-30 23:21:28 +00:00
The_E
4c919f0a59
Fixes issue with post_processing.tbl parsing
2011-07-30 22:45:53 +00:00
The_E
2dc34f3e1f
This is the correct version now.
2011-07-30 22:39:49 +00:00
The_E
7f219cad2c
Reverting due to bugs
2011-07-30 22:32:09 +00:00
The_E
3a702bdc1a
This should have been committed as well
2011-07-30 21:43:30 +00:00
The_E
32c5491d83
Adding support for the new cloaking effect.
2011-07-30 21:13:02 +00:00
The_E
c1ed95995d
Fixes issue regarding UI sounds and built-in retail ship/weapon effects being of different length.
2011-07-30 19:49:49 +00:00
karajorma
04348d856d
Ignore-key SEXP and the changes needed to support it.
2011-07-30 18:54:02 +00:00
The_E
466441a58b
Slight fix for issue with SSMs hitting the player ship
2011-07-30 07:31:24 +00:00
The_E
9e423a8bca
Fixes issue with Default ship/weapon select ai_profiles entries.
2011-07-29 13:53:35 +00:00
The_E
23f7fcfd07
Woops, built-in shader was incorrect
2011-07-27 14:44:43 +00:00
The_E
8fb2085a9d
Adding the realtime ship/weapon select effects by Valathil.
2011-07-26 22:02:12 +00:00
Zacam
9d212a5f07
From Plombo: sets "force_s3tc_enable" for some linux drivers to be able to render DDS textures.
...
http://www.hard-light.net/forums/index.php?topic=77196.0
2011-07-25 22:10:32 +00:00
The_E
83d1fe8f5f
Update to FXAA 3.11
2011-07-23 10:14:36 +00:00
Echelon9
ea27c04867
Documentation: Resolve a Doxygen warning on the unpack_frame() and unpack_frame_from_file() functions
2011-07-23 04:38:16 +00:00
Zacam
96925143c1
Resolves SSE detection issues on #including <xmmintrin.h> for GCC/G++ and MSVC6.
...
GCC/G++ users (Apple, Linux) should look to adding intrinsics to their compile options. (-msse)
2011-07-23 02:07:19 +00:00
The_E
76dfdc4ba7
Another change to make compilers happy. This time, it's ATi's turn.
2011-07-22 20:54:46 +00:00
Zacam
f2cc1239dd
If we declare inv2A as a float up top, we no longer need to brace out any instances which resolves cross initialization as well as still allowing MSVC6 to remain operational (per 7372). Minor formating cleanup as well.
...
Thanks to Goober and Plombo for feedback.
2011-07-22 18:32:22 +00:00
Goober5000
96736a29ea
fix compile problems on MSVC6
2011-07-22 05:56:46 +00:00
Goober5000
8dac846455
fix Mantis #2474
2011-07-22 05:55:04 +00:00
Goober5000
6422ac62e0
revert 7368: these are most certainly not graphics options
2011-07-22 05:13:28 +00:00
The_E
646046538c
Small change to make nvidias' GLSL compiler happier
2011-07-21 20:44:26 +00:00
The_E
39a1a01a63
Moving the -window and -fullscreen_window cmdline options to the "Graphics" section
2011-07-21 16:29:49 +00:00
The_E
bbae282db5
Update FXAA to 3.10. Also changes the fxaa preset selection method to recompile shaders when preset changes, should yield some speed improvements.
2011-07-21 12:18:37 +00:00
Zacam
6e8265278a
This is not a repeat of 7340/7344. It is necessary however that we be able to tell users the value found before we reset it to zero, otherwise the warning will only ever return 0 instead of the bogus value.
2011-07-21 06:02:42 +00:00
The_E
7f5c3d343e
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
The_E
a61116b42b
Remove unreferenced variable.
2011-07-20 15:54:28 +00:00
The_E
519819b550
More lighting patches from Valathil
2011-07-20 15:27:59 +00:00
The_E
60c4ca8eb3
Changing this Warning to an mprintf. We really do NOT want to generate warnings with retail data, don't we?
2011-07-19 22:00:27 +00:00
The_E
1d3aa79e6b
Split the fxaa shader in two for better compiler compatibility
2011-07-19 21:51:37 +00:00
The_E
084465a613
Updating the built-in fxaa shaders to 3.9
2011-07-19 18:23:32 +00:00
Echelon9
c6d0f6170d
For Valathil: Fix distance check in beam.cpp
2011-07-19 13:25:42 +00:00
The_E
c57dd1ed07
From m!m: Gives scripting access to debris chunk size data
2011-07-18 17:58:49 +00:00
Sushi
bbfc33eb40
Revert 7340 and 7344, since they derped hard. (Kept 7341)
2011-07-18 14:54:41 +00:00
Zacam
1e7caaccda
Update:
...
libpng now at 1.5.2 (with update to pngutils)
zlib now at 1.2.5
(Files are in "LF" instead of "CRLF" this time around.)
MSVC6-2010 and XCode project updates included.
2011-07-17 05:46:14 +00:00
Zacam
1e7c5e65b3
Update to Post_Processing for split controls on Brightness and contrast.
...
Spacing/formatting clean-up.
2011-07-17 04:39:10 +00:00
Zacam
8cbffd6065
From Valathil: Beams now use Tube lighting. Updates to main shaders accordingly.
2011-07-17 04:36:00 +00:00
Swifty
6488b73b0a
Corrected directive gauge to use both X and Y offsets.
2011-07-14 07:08:53 +00:00
The_E
7b2c8f7086
From Valathil: Do light sorting only once per object
2011-07-13 09:03:03 +00:00
Goober5000
a308e6f45f
Valathil's fixes for #weak weapon variants
...
http://www.hard-light.net/forums/index.php?topic=77060.0
2011-07-13 07:33:29 +00:00
Zacam
513d2d7182
Copeh Pasteh does not make for al dente.
2011-07-11 19:09:10 +00:00
Goober5000
2eb4bb3aec
deal with string truncation on MSVC6
2011-07-11 02:10:48 +00:00
Goober5000
bff6c5d16d
Valathil's method will fail on a string that is less than 60 chars and does not contain a :, so use memset, which is the historical technique
2011-07-11 02:05:27 +00:00
Zacam
cc46867722
Additional warning messaging for parsing the ai_profiles.tbl or -aip.tbm.
2011-07-10 17:21:33 +00:00
Zacam
8438530258
From Valathil: ai_profiles tbl/tbm will now parse set_flags and warn on unrecognized declarations when found.
...
Credits to Spoon and WoD for unveiling this over-sight.
2011-07-10 17:05:57 +00:00
The_E
53428e2b62
Reverting 7334 and 7333, following feedback from valathil
2011-07-09 13:14:49 +00:00
Echelon9
872f8589b7
Fix r7325: Asset() =/= Assertion()
2011-07-07 12:59:38 +00:00
Zacam
1dd78de5ff
Directional Lights sorting probably should not have been flipped, the rest seem to be okay though.
...
(Sun facing sides of ships were going pitch dark when lots of beams were active)
2011-07-06 23:07:09 +00:00
Zacam
a312b49bc9
From Valathil: Correction to commit 7292. Light sorting now takes place in the proper order.
2011-07-06 20:55:45 +00:00
The_E
4fdfd96b8f
Major change to FXAA. Now doing a prepass to convert the main shaders' RGBA output into RGBL. Also enables minor speedup for OpenGL 4/4.1 capable chips. Default preset changed to 6.
2011-07-06 10:48:56 +00:00
Goober5000
0244c64214
a wee bit more is needed
2011-07-06 05:06:22 +00:00
Goober5000
b175a91843
make things compile
2011-07-06 04:44:25 +00:00
Goober5000
eeeb1a8898
don't assert on a benign conflict
2011-07-06 04:39:40 +00:00
IssMneur
2272fd28e2
From Valathil: Vary the intensity of lighting from warp fireballs (wormhole) based on the radius of the fireball.
2011-07-06 04:22:09 +00:00
The_E
4fa70b61db
New FXAA shaders. These have an increased preset range, going from 0 to 9 inclusive. Presets 0 - 4 use the "Console" version of the algorithm, 5 - 9 get the "PC" version
2011-07-05 12:35:18 +00:00
The_E
9db07896e1
Wasn't supposed to change this
2011-07-04 14:59:12 +00:00
The_E
28bbbdab09
Reverting, due to unforeseen consequences
2011-07-04 14:55:07 +00:00
The_E
48610b1de5
Small update to the FXAA shaders. Also adds a function for shader uniform access that was previously missing.
2011-07-04 13:59:02 +00:00
karajorma
d6767809b1
Add a separator between paste and add paste in the event editor.
2011-07-04 02:22:26 +00:00
Zacam
c284047c36
I should sleep more. 7307 was to add a "{ "glUniform4fARB", 0 }," not another v.
2011-07-03 14:44:16 +00:00
The_E
5674ce0c3e
Updating these to current official versions
2011-07-03 08:40:21 +00:00
The_E
b6548dfb50
And -oldfire, which does nothing, goes to the grave.
2011-07-02 19:45:46 +00:00
The_E
eaf03bb480
And -safeloading bites the dust too.
2011-07-02 19:43:02 +00:00
The_E
e23da70624
Removing several deprecated/unused cmdline options. Victims this round are: -cell, -timerbar and -d3d_bad_tsys
2011-07-02 19:33:23 +00:00
Zacam
e0ae11af61
Fix for SSM usage causing Assert. If warp lifetime must be 4 seconds or greater, how about we warn them (in parsing) before they try and use it (and thus set it to at least 4.0) instead?
...
Thanks to bigchunk1 for catching this one and to IssMneur for the assist and review.
2011-07-02 05:07:57 +00:00
Zacam
c2452b69fa
This is the right way to do it.
...
Correct version of 7304.
2011-07-02 01:02:26 +00:00
Zacam
54644adfb8
...but apparently not that way.
2011-07-02 00:14:04 +00:00
Zacam
9f00e84edf
OGL_UNIFORM4FV should be (and now is) preceded by OGL_UNIFORM4F.
2011-07-01 23:37:30 +00:00
The_E
5d210146e3
Built-in bloom shader adjusted for higher quality
2011-07-01 19:09:25 +00:00
The_E
ff7b3cdaaf
Minor typo correction. Thanks to Valathil for finding it.
2011-07-01 19:00:57 +00:00
The_E
f768943284
Swifty's collision detection improvements.
2011-07-01 17:00:31 +00:00
The_E
f22bef9b5e
Another small change to the built-in shaders
2011-07-01 11:33:09 +00:00
The_E
c806651d11
From Valathiel: enables light sorting. Reduces light flickering in some cases.
2011-07-01 10:00:55 +00:00
The_E
9d6e0936cd
Minor adjustment to the built-in shaders
2011-06-30 10:06:01 +00:00
The_E
a46de9340f
Fix for Mantis 2395: Introduces troubleshooting flag to switch between using glDrawElements and glDrawRangeElements
2011-06-28 20:20:25 +00:00
The_E
aaba640733
Fix for Mantis 1983: Do not process lightning info when in standalone mode
2011-06-28 19:48:20 +00:00
The_E
d60e3787d1
Fix for Mantis 2424: Crashes in multiplayer when <Wingname> 1 is not a player ship
2011-06-28 19:24:13 +00:00
The_E
3a451f36b5
When will I get it right....
2011-06-28 14:13:21 +00:00
The_E
a955dfa6dc
Aaaargh, messed up AGAIN.
2011-06-28 14:10:23 +00:00
The_E
28e82d9c5b
Ooops, fucked this one up a bit.
2011-06-28 14:07:34 +00:00
The_E
28db0bfe1f
How did these values start colliding all of a sudden? Must have been my fault, sorry.
2011-06-28 09:38:06 +00:00
The_E
59cbde3d9e
Adds sexps to manipulate a ships' collision groups. If two objects are members of the same collision group, they will not collide with each other.
2011-06-28 08:36:54 +00:00
Goober5000
e4266af9cf
add string-get-substring, string-set-substring, and string-get-length; needed for Blue Planet
2011-06-28 04:08:59 +00:00
Zacam
524099c68e
Some "\n"'s to help with logging during multi. "Scoring:" wasn't using any, so it would run on the next item right at the end.
2011-06-28 01:03:03 +00:00
The_E
c57ede0cc1
Adding a piece of sanity checking here, to avoid crashing the release build under certain strange circumstances
2011-06-27 22:16:41 +00:00
The_E
a60d32e669
Disable warning that is meaningless ("why are G_predicted_pos and G_fire_pos the same?"), and only serves to confuse people.
2011-06-27 13:52:45 +00:00
The_E
fb21bc4272
Patch for Mantis 2050: Renaming the log file may cause crashes
2011-06-27 13:45:19 +00:00
The_E
4b5d6f939a
From m!m: Patch for Mantis 2459 (Calling ts.createParticle with an invalid effect handle causes an Int3())
2011-06-27 12:49:42 +00:00
Sushi
e661586a3f
Add "wait for animation" turret flag (turret won't fire until associated animation completes)
2011-06-26 18:10:54 +00:00
The_E
590cbf0b2b
Patch from m!m to give scripting access to debris metadata
2011-06-25 14:15:44 +00:00
Swifty
a7383cba89
Introduced the preprocess() method in HudGauges. Allowed the HUD to peek at the HUD message buffer when HUD is disabled.
2011-06-25 09:30:47 +00:00
The_E
f8fef5c56f
Patch for Mantis 2326: Standalone server crashes when ship classes are changed in loadout.
...
I hope.
2011-06-25 08:03:52 +00:00
Zacam
d15c9259cd
Standalone execution now creates it's own log file (fs2_standalone.log)
2011-06-21 19:23:56 +00:00
The_E
503fa0d19b
Fixes issue with padlock view messages not appearing
2011-06-19 12:57:26 +00:00
The_E
bafed3f964
Fix compiler warnings re: signed/unsigned mismatch
2011-06-18 21:36:05 +00:00
Sushi
3a7c0f2cee
Halleck's glide sound patch (mantis 2452)
2011-06-18 00:44:41 +00:00
The_E
2f01d3f0ce
Bumping the max number of files CFile can handle to 2^16
2011-06-16 17:09:30 +00:00
Zacam
1b6bfd2c89
Adds "/MP" as an Additional compiler Option for MSVC 2008.
2011-06-16 15:59:59 +00:00
Sushi
83b4d80566
Added is-in-box SEXP
2011-06-16 02:59:44 +00:00
chief1983
0a06eff122
Update OS X Ogg libraries in the Frameworks archive.
2011-06-15 20:04:07 +00:00
karajorma
65d6013539
Get and set SEXPs for countermeasures.
2011-06-15 12:46:02 +00:00
The_E
a5a34af86d
Oops, small typo
2011-06-14 16:45:35 +00:00
The_E
f187ed531e
This will make various text boxes react correctly to changes in font height.
2011-06-14 16:40:20 +00:00
Goober5000
2bdaac8c52
add mjn.mixael's credits image specification feature
2011-06-13 03:42:24 +00:00
The_E
695db665e3
Adds "$disable weapon damage scaling for player:" AI profiles option, which does what it says on the tin.
2011-06-11 19:26:56 +00:00
Sushi
4f8e6da7b9
Halleck's pre-launch sound patch (mantis 2451)
2011-06-10 04:52:35 +00:00
Zacam
0801b6861f
Back port from AP: removes a couple of Unreachable NULL returns
2011-06-07 02:30:00 +00:00
Sushi
4b6d7192a1
Merged from Diaspora: Slight bump in contrail limit and max reinforcements
2011-06-04 16:42:43 +00:00
Sushi
ed340e193f
Merged from Diaspora branch: Make "+Shield_Hit_ani" optional
2011-06-04 16:02:21 +00:00
Sushi
14717f3368
Turn Z-buffering back on for BSG warp effect.
2011-06-03 23:54:30 +00:00
The_E
cd9663f015
A small change to make Apple's GLSL compiler happy
2011-06-03 18:02:29 +00:00
chief1983
f7c4aa5221
Fix a typo reported by ElGuillermo.
2011-06-03 16:53:39 +00:00
Zacam
6f4725b0d9
In crawling through XT Branch, noticed this.
...
"%sÀÄ%s" should be "%s:%s"
2011-06-03 05:18:10 +00:00
Sushi
fcbce45a2c
Fix nasty pointer bug
2011-06-03 03:02:48 +00:00
The_E
6037493ae9
Another Assert -> Assertion conversion to help in mission debugging.
2011-06-02 09:36:24 +00:00
The_E
c71012a829
Patch for Mantis 2421 from m!m: Adds scripting controls for particles.
2011-06-01 19:41:07 +00:00
Goober5000
8d10c0864d
extra small enhancement
2011-05-30 21:20:32 +00:00
Goober5000
5fb4a6db18
add ability to set the duration of the ship death roll
2011-05-30 21:06:11 +00:00
The_E
2eab7d90f2
From m!m: Patch for Mantis 2446: Scripts not pausing when game is paused.
2011-05-30 18:47:27 +00:00
Goober5000
c6b4fc32d3
fix sanity check for too-long messages (Mantis #2412 )
2011-05-30 06:47:27 +00:00
Goober5000
600936b331
reverting 7211 because it is not a proper fix
2011-05-29 06:56:17 +00:00
The_E
5c628d2abd
Adding a code comment here to remind people about necessary bumpings
2011-05-28 14:37:48 +00:00
Zacam
e1c107a483
Back in r6952 "HUD_OBJECT_PING," was added to "static int retail_gauges[] = {" but "int num_default_gauges = 43;" was not bumped up, resulting in "HUD_OBJECT_FIXED_MESSAGES" not displaying.
2011-05-27 23:38:14 +00:00
Sushi
2106903cbc
Fixing some HUDs showing from other ships when they shouldn't, take 2
2011-05-27 14:36:14 +00:00
The_E
23b121a108
Patch for Mantis 2441 (friendly-stealth-invisible" flag doesn't work) from pyro3d
2011-05-27 09:11:51 +00:00
The_E
649c0fb3c4
Reverting commit 7203. If you wish to exclude certain gauges from rendering depending on camera mode, you need to edit that gauges's constructor function, NOT the canRender() method.
2011-05-26 20:45:12 +00:00
Goober5000
358343b813
break strings into bite-size pieces for ease of compiler digestion
2011-05-26 03:58:00 +00:00
Goober5000
0a8f93d474
fix minor pierce-shields table flag bug (Mantis #2442 )
2011-05-26 03:40:07 +00:00
Sushi
6f11196106
Added an Assertion to help track down a sound error
2011-05-24 15:03:09 +00:00
Sushi
368029ec59
Fix some HUD gauges being rendered while viewing other ships externally
2011-05-24 14:40:57 +00:00
Sushi
1d4d3c0b6f
Update thruster rendering (consistently render based on acceleration instead of speed, don't render distant/tiny thrusters)
2011-05-21 20:25:14 +00:00
The_E
784da1e0d0
Adding the FSU main shaders, FSU post-processing.tbl, as well as the post-processing and FXAA shaders to def_files.
2011-05-21 17:07:41 +00:00
The_E
3cbf515fe3
Since bloom can now be changed in-game, we always need to compile the shaders.
2011-05-20 15:56:30 +00:00
The_E
6526b86bc5
Patch for bug encountered by Zacam: Ship model instance data was not being reset correctly when changing ship classes.
2011-05-19 21:32:02 +00:00
The_E
444936ec21
This will make the lab more useful, as it is now possible to adjust the bloom intensity on-the-fly by pressing b (for more bloom) or n (for less bloom).
2011-05-19 14:51:51 +00:00
Zacam
99cdc82be6
Stupidest typo ever. "GS_STATE_END_OF_CAMPAIGN" not "_EMD_"
2011-05-19 12:20:22 +00:00
Sushi
63444087e2
Fix BSG warp effect shockwave
2011-05-19 00:50:27 +00:00
The_E
ad1297167d
Adding a bit of configurability to the FXAA business. This alters the F3 Lab so that the number keys correspond to FXAA presets (with 0 being lowest and fastest, default being 3). Also adds the "-fxaa_preset" commandline argument, which accepts a single int parameter. New Shaders needed to take full advantage of this, see forum thread ( http://www.hard-light.net/forums/index.php?topic=76145.0 ) for details.
2011-05-18 11:37:27 +00:00
The_E
814f9777c5
Adding an error message in case FXAA shader compilation fails.
2011-05-17 16:29:43 +00:00
The_E
41bfa86911
This will enable FXAA support in FSO (Read: Antialiasing as a post-process stage). In order to use it, the shaders found here: http://blueplanet.fsmods.net/E/stuff/FXAA-shaders.7z need to be in data/effects.
2011-05-17 14:57:33 +00:00
The_E
c1c9096d82
Converting a few more Asserts to Assertions. Also added a graceful exit path.
2011-05-15 08:38:22 +00:00
Sushi
8c3150455a
Fix clipping problems with deathcam and cutscene bars.
2011-05-14 16:58:29 +00:00
Echelon9
365bd811c2
Documentation: First pass of AI code functions
2011-05-12 13:44:20 +00:00
Echelon9
38257bead8
Documentation: 3D clipper functions
2011-05-12 13:43:42 +00:00
Echelon9
e1fa804c1c
Documentation: Animation code function documentation
2011-05-12 13:43:00 +00:00
The_E
70d1c6f8b1
Fixes issue where both the 2D and 3D radars were visible at the same time. Code should now respet the commandline flags properly.
2011-05-10 15:26:46 +00:00
The_E
c684705e01
This makes the "Form on Wing" AI order accessible to FREDers as an AI goal.
2011-05-08 11:17:34 +00:00
Sushi
4324ca87d6
Updated "alt1" path mode so that it respects the cap-waypoint-speed SEXP.
2011-05-07 11:31:30 +00:00
The_E
033f06ec20
Aargh, this might have been catastrophic
2011-05-01 15:05:01 +00:00
The_E
c65a175d2c
Fix compile warnings here.
2011-05-01 15:00:53 +00:00
Echelon9
e55068ccf1
ds.cpp: Back this change back out until the wholesale change can be made at once
2011-05-01 14:59:31 +00:00
Echelon9
f55260cc0e
Fix Diaspora Mantis 772: Player is able to fire countermeasures when player-use-ai SEXP is used. Also document.
2011-05-01 13:03:39 +00:00
Echelon9
761266b768
Two small comment typo corrections for model.h and ship.cpp
2011-05-01 12:00:26 +00:00
Echelon9
8138efbcf9
Documentation: Commentary for modelanim.cpp|h
2011-05-01 11:59:40 +00:00
Echelon9
aa708f6d26
Fix Valgrind report: Use of uninitialised value &freq in alcGetIntergerv(); requires braces to address GCC crosses initialisation error due to the goto in this function
2011-05-01 11:07:26 +00:00
Echelon9
dab00c94bf
Documentation: Help save some trees
2011-05-01 09:06:12 +00:00
Echelon9
4669a7613c
As we don't do Unicode properly yet, this character corrupts. In French it still means Hat Back (joystick control)
2011-05-01 08:53:13 +00:00
Echelon9
5565e0ac8b
Documentation: hud.cpp and hud.h files
2011-05-01 06:05:48 +00:00
Echelon9
aa1601bb36
Documentation: Fix a few syntax errors reported in Doxygen's log
2011-05-01 03:54:01 +00:00
The_E
744a247f67
Change syntax and help text of the set-jumpnode-model sexp, as it was rather broken before.
2011-04-30 16:23:05 +00:00
Echelon9
9a4d348bc0
Xcode project file: Generate debug builds with a DWARF plus dsym file, so that analysis tools can retrieve source code line numbers
2011-04-30 06:24:08 +00:00
Echelon9
09a360c284
Documentation: sound/ds.cpp
2011-04-30 06:18:03 +00:00
The_E
a858e90a6d
And now set-jumpnode-name is even multi compatible.
2011-04-29 14:54:38 +00:00
The_E
83bd54130b
Added warning to the sexp help for set-jumpnode-name
2011-04-29 14:10:52 +00:00
The_E
6c5013760a
set-jumpnode-name, as implemented by CommanderDJ
2011-04-29 14:05:45 +00:00
karajorma
68645bd224
Fix for Mantis 2427 (Directive-Is-Variable SEXP doesn't allow you to change the variable name.
2011-04-28 12:46:01 +00:00
Sushi
2992e88315
Add $Path Metadata and +departure rvec to ships.tbl
2011-04-27 14:22:22 +00:00
The_E
b79a54b67a
Okay. No more screwing around with this.
2011-04-26 11:13:56 +00:00
The_E
a71d012ef6
Ooops, this armor type business isn't ready yet
2011-04-26 11:09:19 +00:00
The_E
e821ae2ccd
Fix for Mantis 2428: Decal parsing deprecation error
2011-04-26 09:24:54 +00:00
The_E
d71a5d5b90
Fixes issue with custom HUD gauges not resetting to their default values between missions.
2011-04-24 17:19:21 +00:00
Wanderer
2eb06e1787
fixes to turret rotation handling (swarm issue) and to secondary turret angle checks
2011-04-23 21:53:19 +00:00
Wanderer
06a3381dd9
fix for mantis 2309's corkscrew issue
2011-04-23 12:18:30 +00:00
The_E
7e50611a02
Guarding against a null vec3D in vm_vec_normalize here.
2011-04-21 16:12:54 +00:00
Wanderer
e04d475345
related to mantis 2406 - ai profiles option to make beams deal damage to weapons
2011-04-20 15:40:29 +00:00
Wanderer
94faf22283
Fix for mantis 2406 for weapon vs. weapon collisions (not beam vs. weapon collisions however)
2011-04-20 08:17:24 +00:00
IssMneur
e6f43f6f0f
Make this a more useful error message.
2011-04-20 04:16:42 +00:00
Sushi
39d6889f86
Add "$ai path mode:" to ai_profiles. This allows an alternate method of path following that works better in some cases, such as with high-damp ships.
2011-04-18 14:08:31 +00:00
karajorma
1bba558d70
Add a SEXP to allow variables to set the counter in a directive.
2011-04-18 05:34:18 +00:00
Echelon9
5d635a262b
DOC: Amendment to frand_range()
2011-04-17 00:33:51 +00:00
Echelon9
e12f71c83d
DOC: Documentation of floating.cpp
2011-04-17 00:18:59 +00:00
Wanderer
39e8a24663
fix for issue noticed by Zacam in the particle effect changes
2011-04-15 14:34:31 +00:00
The_E
f4c90eff0c
Woops, this shouldn't have gone in
2011-04-15 12:44:24 +00:00
The_E
e5efa336c1
Fix for Mantis 2416 (Messages do not display when in padlock view)
2011-04-15 12:34:11 +00:00
The_E
ceb68d44bd
Fix for Mantis 2240 (HUD anis and training messages do not display if hud_disable_except_messages is active)
2011-04-15 12:16:17 +00:00
Wanderer
bf66734ded
adds table controls for various particle effects, and explosions related to ship death event. per ship class base deathroll time.
2011-04-14 18:59:06 +00:00
Zacam
973fab655e
Reported by chief1983, adds closing brace to line 2346.
...
Mac's should be happy now.
2011-04-12 23:35:58 +00:00
The_E
5cbf11ff6b
Of course, I did it wrong. However, this works now.
2011-04-12 13:32:27 +00:00
The_E
b68ef9b9b0
Requested by Axem: Allow beams to tag targets.
2011-04-11 15:44:33 +00:00
Echelon9
362241cf22
Documentation: hud_sensors_ok() function comment
2011-04-10 13:09:24 +00:00
Echelon9
247ac6373e
Second go at patch r7110
2011-04-08 13:00:51 +00:00
Echelon9
0a7e8be8f4
Fix two buffer overflows: missionweaponchoice.cpp(3580): warning C6386: Buffer overrun: accessing 'slot->wep', the writable size is '28' bytes, but '4194244' bytes might be written & missionweaponchoice.cpp(3585): warning C6386: Buffer overrun: accessing 'slot->wep_count', the writable size is '28' bytes, but '4194244' bytes might be written
2011-04-08 12:38:19 +00:00
The_E
9a6f8a8be7
Removing an Assert in favour of more elegant error handling.
2011-04-06 10:25:18 +00:00
The_E
092ea635c3
Fix for issue with the "no ETS" flag where subsystems were not getting recharged properly.
2011-04-05 12:05:32 +00:00
The_E
67175970a4
2011-04-05 09:44:43 +00:00
The_E
72287264e3
FSF's fix for Mantis 2371 (Hotkey selection does not work for additional wings)
2011-04-04 14:48:27 +00:00
The_E
9b580610ca
Fix for Mantis 2409 (Directive gauge is rendered despite hud-disable-except-messages)
2011-04-04 13:07:17 +00:00
The_E
406b57e5b0
Fix for Mantis 2391 (Erroneous warning about missing assets due to changd HUD loading mechanisms)
2011-04-04 13:03:29 +00:00
The_E
42ff356ad2
Fix for Mantis 2422 (Target Shield indicator behaves like a duplicate of the player shield indicator)
2011-04-04 12:56:59 +00:00
The_E
0aa44e3b12
Correction: Previous commit broke AWACS behaviour.
2011-03-30 09:42:52 +00:00
The_E
e635eb373b
Add a sanity check here.
2011-03-29 18:06:04 +00:00
The_E
ef2681eb69
Change an Assert to an Assertion for better debugging.
2011-03-29 17:17:15 +00:00
Zacam
223920ded6
7092/7093 were meant for Antipodes, not Trunk.
2011-03-29 13:55:04 +00:00
Zacam
8501ffa53f
Reported by rsaxvc (Probably due to MAX_INT being used)
...
http://www.hard-light.net/forums/index.php?topic=75332.0
2011-03-29 13:50:17 +00:00
Zacam
9c0144dd96
Pull the "demo" dir out of the makefile.
2011-03-29 13:42:57 +00:00
Echelon9
6628e967b3
DOC: Update some documentation in missionbriefcommon.cpp
2011-03-24 12:53:44 +00:00
Wanderer
db8b44191d
feature commit - damage and impact particle spew controls, control for setting a multiplier for propagating explosion radius.
2011-03-19 22:37:32 +00:00
The_E
a1acb0601d
And more from m!m, as seen here: http://www.hard-light.net/forums/index.php?topic=44821.msg1487355#msg1487355
2011-03-19 21:49:42 +00:00
The_E
808a3dd1e0
A few tweaks and additions by nuke
2011-03-19 21:37:51 +00:00
The_E
9d8caf5f2a
m!m's corrections to subsystem:fireWeapon() as seen here: http://www.hard-light.net/forums/index.php?topic=44821.msg1486751#msg1486751 . Slightly adjusted to use model instances. Also tweaked ship_get_global_turret_gun_info() to use model instances.
2011-03-18 21:47:17 +00:00
Sushi
5469769936
Add "$Detail Distance Multiplier"
2011-03-18 14:33:50 +00:00
Goober5000
b9a1eca909
improved version of hud_squadmsg_wing_valid(); fixes Mantis #2415
2011-03-11 07:21:27 +00:00
karajorma
a561ecc2a3
Remove a few annoying compilation warnings
2011-03-10 00:26:45 +00:00
Goober5000
af39be3120
add another ship class to the list of FSPort changed names
2011-03-09 04:04:33 +00:00
Goober5000
c6f40a74bb
finish patching subsystem comparison
2011-03-03 07:00:42 +00:00
Swifty
225f16f754
Memory leaks involving Polymodel_instances plugged.
2011-03-02 14:08:22 +00:00
Goober5000
e765702121
use subsystem_stricmp where appropriate
2011-02-28 08:27:52 +00:00
Echelon9
444c6b293b
Update SVN ignore keyword so we don't get documentation output in SVN
2011-02-26 01:18:16 +00:00
Echelon9
d52f90c076
First version of our Documentation system, using automated Doxygen source code comments
2011-02-26 01:15:51 +00:00
Echelon9
2c8dc2722d
Effective STL: Use Container.empty() instead of Container.size() == 0 in if() statements
2011-02-25 14:38:28 +00:00
Goober5000
b0dcbfbc56
change the subsystem warning to an nprintf, since it's a pretty benign notification and sexps don't notify you anyway
2011-02-23 05:09:24 +00:00
Echelon9
d549d06728
DOC: Further instructions on initialisation of the pseudo random number generator
2011-02-22 12:05:31 +00:00
Echelon9
634dcc7e23
Accompanying changes to aicode.cpp following staticrand.cpp
2011-02-21 14:15:34 +00:00
Echelon9
80d622f56f
A couple of other small changes to staticrand.cpp|h to address readability
2011-02-21 14:13:23 +00:00
Echelon9
1c687e4b4e
Initial testing of something very exciting for the coders...
2011-02-21 12:50:16 +00:00
Goober5000
750df36303
add slash and backslash
2011-02-19 04:51:02 +00:00
karajorma
92be430fdb
Add the Num-Valid-Arguments SEXP.
2011-02-15 08:18:58 +00:00
Goober5000
315bd423dc
rename subsystem type fields so as to better distinguish them
...
some consistency checks
add "no aggregate" flag to exclude a subsystem from aggregate hitpoint calculations
2011-02-14 08:33:23 +00:00
The_E
9f9a294e9d
More lua stuff from m!m
2011-02-13 19:45:12 +00:00
Sushi
5a9202910f
Fix a bug with friendly shield manage/cm usage
2011-02-12 17:02:23 +00:00
Goober5000
dbd13bba38
activate the OF_IMMOBILE flag, and clean up the obj_move_all loop slightly
2011-02-12 05:00:13 +00:00
Goober5000
a5cd0f8de0
gaaaah, fix a whole bunch of bugs with the no-ets flag:
...
checkbox ui settings were incorrect
checkbox wasn't hooked into the event loop
resource #define's overlapped
FRED never saved the ship flag
ship flag did not have an equivalent parse flag
sexp(s) to modify ship flag did not use the existing ship flag sexp architecture
2011-02-07 09:08:39 +00:00
Goober5000
9b0b26b643
fixed compilation error
2011-02-06 08:18:26 +00:00
The_E
13ade13402
More fixes for Mantis 2372. Should now allow longer descriptions.
2011-02-05 09:18:04 +00:00
The_E
fe51ef9df0
Minor whoopsie. This shouldn't have been committed just yet.
2011-02-05 08:59:26 +00:00
The_E
ebab2d44ff
Adding patch for Mantis 2385. This adds a "+sub_name" option to the animation code, which comes after/replaces "+sub_type" for a few triggers, such as the "weapon fired" trigger.
2011-02-04 17:18:39 +00:00
The_E
e36d312d73
Adding a bit of verification here to catch a very strange bug
2011-02-04 17:12:48 +00:00
The_E
0b9429b9ea
Adding a few error messages
2011-02-04 17:02:49 +00:00
Echelon9
9ec0215ad8
Remove last references to the redundant Intel_anim_filenames array
2011-02-04 15:31:44 +00:00
Zacam
720ad2127a
Nukes Particle Code update (for more particle types)
...
http://www.hard-light.net/forums/index.php?topic=74165.0
2011-02-04 14:10:59 +00:00
Zacam
bed42975da
Karajorma's "Clean up" code. (Not for credit, but because I'm trying to reduce the "open" number of "Code Reviews" so that we don't get too backlogged with them)
...
http://www.hard-light.net/forums/index.php?topic=74066.0
2011-02-03 07:41:16 +00:00
FUBAR-BDHR
c0df5578c8
Add node-targeted sexp
2011-02-02 06:26:21 +00:00
Goober5000
f570348ee2
--the behavior of cargo index -1 (which can only happen for capships) and cargo index 0 is substantially the same, so let's standardize on index 0... this prevents crazy stuff happening with bitwise operators on negative numbers :-/
...
--also, remove the restriction on capship cargo where ships must have the "scannable" flag
--because of the above constraints, "nothing" cannot be a meaningful subsys cargo, but then again, scanning a subsystem with "nothing" didn't do anything in the old code, so this doesn't change anything
2011-01-31 10:04:37 +00:00
Goober5000
c77551181c
fix for Mantis #2390
...
errors in handling the CARGO_NO_DEPLETE flag for ship subsystems
2011-01-31 09:18:21 +00:00
Goober5000
9df7a37f3f
fix some errors with sexp numbering that free up 2 Change slots
...
merge the Nav operators into other categories
add the new Change2 category and set up hacks so that its operators will display in Change's menu
2011-01-30 09:17:15 +00:00
Goober5000
eae11de29b
commit the "immobile" flag, requested by Black Wolf, Diaspora, etc. This is just the infrastructure; the flag doesn't actually do anything yet.
2011-01-30 08:19:17 +00:00
Goober5000
e68c34eb90
fix ship flag dlg layout, which got messed up in The E's commit
2011-01-30 08:12:42 +00:00
Goober5000
32c70d3f96
someone made a bug here!
2011-01-30 07:55:05 +00:00
Goober5000
3a9ed93730
fix compilation
2011-01-30 07:07:33 +00:00
Zacam
398523e3cc
It would have been NICE if Tortoise had actually _deleted_ the files when it asked if I wanted them removed. Stupid !@$^*&# Tortoise.
2011-01-30 06:09:42 +00:00
Zacam
9254dae233
Resolves LNK4221 under MSVC. multi_oo and psnet are not actually linked/used, so references pointing to them now go to multi_obj and psnet2 respectively. (Same as Antipodes 6881)
...
http://www.hard-light.net/forums/index.php?topic=73147.0
2011-01-30 05:59:36 +00:00
Zacam
4517320ffd
Microsoft Visual Studio 6/2005/2008/2010 project updates to use newer libjpeg code committed on 6980.
2011-01-30 01:40:18 +00:00
Echelon9
fb8910635e
Update libjpeg in source to v8c (16-Jan-11) from 6b (27-Mar-98). For more details see http://www.hard-light.net/forums/index.php?topic=74110.0
2011-01-30 01:33:52 +00:00
Goober5000
d03d5b95e7
this should fix the weird crashes in localization
2011-01-29 09:41:13 +00:00
IssMneur
a468eeb878
Allow a primary or secondary weapon shot be substituted with any other weapon in any arbitrary pattern.
...
http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Substitute :
2011-01-27 05:35:13 +00:00
Echelon9
f9fd5807d8
Resolve circa 800 warnings that occur on Xcode due to symbol visibility scoping issue.
2011-01-26 11:30:56 +00:00
Echelon9
4be2c7e94d
Small fix: Correct the spelling of a NavPoint function
2011-01-25 14:37:43 +00:00
Echelon9
04fe584c87
Chase down radardradis.h from the same location in Xcode
2011-01-25 13:10:37 +00:00
Echelon9
55c3409cf8
What's radardradis.cpp doing in that spot of the Xcode project file?
2011-01-25 13:05:58 +00:00
Echelon9
b1be9e56e0
We don't need a specific Copy Bundle Resources stage to put the Info.plist file in the Mac .app bundle, as well as setting the INFOPLIST_FILE setting. Using Copy Bundle Resources doesn't use the C preprocessor and then puts the file in the wrong location anyway.
2011-01-25 13:03:00 +00:00
Echelon9
89102e2c31
shipfx_large_blowup_init() function can have the void return type, as the caller never checks.
2011-01-25 12:25:59 +00:00
Zacam
df749e6d45
A tiny over-sight. Now incorrect values on "hud_speed_multiplier" will actually report as such.
2011-01-25 07:51:02 +00:00
The_E
4a414205a3
Fix for Mantis 2372 (+Description field in Ships.tbl is being ignored)
2011-01-23 21:20:04 +00:00
The_E
824dd0cae8
Fix for Mantis 2380 (Setting target subsystem through scripting doesn't work)
2011-01-23 17:10:53 +00:00
The_E
34b7cbe0b7
Resolves a few signed/unsigned warnings
2011-01-23 17:06:58 +00:00
The_E
76e7f656d1
Adds "no ets" ships.tbl flag.
2011-01-23 16:03:04 +00:00
Echelon9
7d7ca9eb15
Fix: warning C6246: Local declaration of 'i' hides declaration of the same name in outer scope.
2011-01-23 12:47:08 +00:00
Echelon9
e09dea7a79
Revert this change to size_t; will require the wholesale update of the weapon code indices at the same time
2011-01-23 12:30:06 +00:00
FUBAR-BDHR
9f29b454b5
Fix for FRED not compiling with new nebula lightning from r6958
2011-01-23 06:56:01 +00:00
FUBAR-BDHR
41b1476b23
Fix bug in sexp_ship_set_damage_type()
2011-01-22 06:52:43 +00:00
Echelon9
a8db22bc65
Refactored nebula lightning & removed limits on Lightning.tbl
2011-01-22 05:35:43 +00:00
Sushi
b38fa48e7e
Add "starts locked" subsystem flag (that turret starts out locked by default and needs to be turret-freed before it will fire)
2011-01-22 00:44:44 +00:00
Goober5000
110cd3bccc
add turret-protect-ship and turret-unprotect-ship
2011-01-21 08:55:26 +00:00
Goober5000
ab8808e35a
get-object-speed-* are status sexps, not change sexps!
2011-01-21 08:49:54 +00:00
IssMneur
efff8a5d83
get-object-speed-{x,y,z} added.
2011-01-21 06:28:37 +00:00
Swifty
6e52dbd299
Resolved some issues involving the Ping Indicator not displaying.
2011-01-19 09:21:22 +00:00
karajorma
b742eac806
LuaPineapple's fix for Mantis 2322.
...
Some comment clean up.
2011-01-19 08:24:26 +00:00
The_E
b4db3b3ecf
FUBAR's damage type sexps. Tested ad nauseum by BP.
2011-01-18 16:21:36 +00:00
Goober5000
34fd0c53ad
make subsystem-vanish consistent with ship-vanish
...
clarify sexp help and fix name (using deprecation, so that old missions will still work)
2011-01-16 08:20:08 +00:00
Goober5000
42fc6e461c
add if-then-else and perform-actions
2011-01-16 08:18:09 +00:00
Echelon9
6c4bed411e
Fix Mantis 2379: Last available nebula storm type in Lightning.tbl wouldn't be used in game
2011-01-15 03:54:50 +00:00
Echelon9
400331d4ec
Cleanup cmeasure.*: Remove dead code, use size_t as for loop array index not a signed int
2011-01-15 03:05:01 +00:00
Echelon9
822110405a
Prevent potential overflow of Escort_ships[] array
2011-01-15 02:33:34 +00:00
Sushi
95a713128c
Add "hide from radar" weapon flag to force bombs not to show up on radar
2011-01-12 16:51:38 +00:00
Goober5000
eafc0ca82e
fix a return value error
...
also, cut down on the number of warning messages shown for background bitmap loading
2011-01-12 10:03:45 +00:00
Goober5000
230da289d2
change xor (but not bitwise-xor) to use any number of arguments, not just 2
...
enhance string-to-int to ignore non-numeric characters (so turret07 becomes 7)
2011-01-12 02:10:22 +00:00
Goober5000
330fee1b3b
commit string-concatenate and int-to-string
2011-01-12 01:37:03 +00:00
Swifty
98b65e2dba
Eliminated pesky bug involving some gauges not being properly updated with necessary HUD config data. Took a while to figure out.
2011-01-11 07:58:03 +00:00
Goober5000
0cc190e9f1
stupid brain fart
...
fix Mantis #2375
2011-01-11 01:03:48 +00:00
The_E
ebff760cca
There is no function with the signature "double pow(int, int)" in math.h
2011-01-10 16:10:54 +00:00
Goober5000
8370567747
remove for-each-of
...
add a note regarding string-to-int to for-counter
supernova-start takes a positive argument
2011-01-10 11:55:15 +00:00
Goober5000
2f0324048b
Added the following sexps:
...
pow (power function)
xor (logical operator)
set-bit, unset-bit, is-bit-set (for working with individual bits in integers)
bitwise-and, bitwise-or, bitwise-not, bitwise-xor
2011-01-10 11:29:24 +00:00
FUBAR-BDHR
55de86a47d
Add the ability to define detail distances for weapons.
2011-01-09 22:35:02 +00:00
FUBAR-BDHR
c07f1a1c1d
Fix for Mantis 2368. Subsystems with vanish flag still play sound from player ship
2011-01-07 22:01:36 +00:00
Goober5000
ea4cc1e870
the repeated messages get really annoying, so log them and display one message
2011-01-07 10:16:10 +00:00
Goober5000
66c82d58c1
added two awesome sexps, for-each-of and for-counter
...
as part of the sexp infrastructure, add test_argument_vector_for_condition so that argument sources are not limited to sexp nodes
2011-01-07 09:11:02 +00:00
chief1983
5ffb61b26c
Fix for #2365 : Assert to Assertion so we can tell the user a little more about the crash.
2011-01-06 05:07:51 +00:00
Swifty
4a9e605e56
Support for PNG/JPG/TGA based EFFs for the HUD and other graphics that previously required ANI/PCX.
2011-01-05 08:54:14 +00:00
Zacam
5b9ceff06a
GLSL version Detection fix.
...
http://www.hard-light.net/forums/index.php?topic=73712.0
2011-01-05 07:12:48 +00:00
FUBAR-BDHR
1529f948f2
Add flag that applies damage to subsystem as if it were the hull.
2011-01-05 00:12:01 +00:00
Goober5000
0ee79b269f
resolve a conversion warning pointed out by FUBAR
2011-01-02 00:35:05 +00:00
Goober5000
08e86d0192
re-add Echelon9's commit, with proper logging, and also with parallel fix to bmpman.cpp
2011-01-01 09:17:36 +00:00
Sushi
65f7c760d8
Add "$ai aims from ship center:" and "$allow primary link delay:" AI profiles flags
2010-12-31 20:03:16 +00:00
Goober5000
6d4b0efd39
add sexps for object orientation
2010-12-31 07:41:01 +00:00
Goober5000
4f7f79732e
missed one file
2010-12-31 04:28:37 +00:00
Goober5000
d57ab51162
change fl_radian to fl_radians so as to be consistent
2010-12-31 04:02:41 +00:00
chief1983
34d11f1295
Fix the DirectInput commit r6902 breaking compiling on nix
2010-12-29 18:18:44 +00:00
Echelon9
337786ef26
Remove from Xcode project file two non-existant source code files
2010-12-29 07:45:10 +00:00
Zacam
5ae8d90656
Thanks to Goober5000, this is the correct way to be doing this.
2010-12-28 04:49:05 +00:00
Zacam
802d5956f3
Fixes the index so that Player Main Hall changes will actually save properly. Should have caught this back in 6860.
2010-12-27 20:59:16 +00:00
Sushi
9a71e9b080
Add -disable_di_mouse command-line option to force the game to use Windows mouse input instead of DirectInput. For some people, this results in more reliable mouse input.
2010-12-27 16:17:54 +00:00
Zacam
900fd755b1
Fixes reports of Retail data showing "0 ms" for ships Velocity in Ship Selection Screen. When multiplying an INT by a FLOAT, setting the fl2i() on the float is a good idea.
2010-12-27 15:27:48 +00:00
Swifty
aa71f4a817
Clear the active display list when this ship is beleeted.
2010-12-27 09:28:17 +00:00
Echelon9
0da3dff1c1
Fix a small typo in Diaspora feature's comment
2010-12-27 08:26:04 +00:00
Echelon9
0557c1e4cd
Correct 2 comment typos
2010-12-27 08:18:39 +00:00
Echelon9
9410909ee1
Fix: Mantis 2351 - Animated subsystems not counted as rotating allowing max to be exceeded
2010-12-27 08:00:31 +00:00
Echelon9
db1e2a891e
This check can go back in, the real cause was fixed in r6893. Good work Assert()
2010-12-27 07:48:31 +00:00
Swifty
0c67dd9abc
Get Lua ray tests to use model_instances for collision detection. Fixes the failed assertion associated with this.
2010-12-27 07:36:49 +00:00
Echelon9
7fa59778c5
Fix a comment typo
2010-12-27 06:47:03 +00:00
Swifty
a5be8facf6
Limit the setup of cockpit displays to only the player ship.
2010-12-27 05:52:33 +00:00
Swifty
4d3bf36f48
Fixes the weapons list gauge bug where a blank space would render when no secondaries are loaded.
2010-12-27 05:43:52 +00:00
Zacam
fdd529621a
Revert 6884. Not a good thing to do apparently.
2010-12-26 19:46:00 +00:00
The_E
38d2da68a3
Fix for Mantis 2350 (Sound assignments get lost/become bogus when changing ship class)
2010-12-25 15:15:28 +00:00
Zacam
f98be5dcde
Fix: MSVC signed/unsigned mismatch.
2010-12-25 13:15:55 +00:00
FUBAR-BDHR
c3550e55dc
Fix for mantis 2356: Turret-free-all in an every-time acts as turret-lock-all
...
Fixed turret-free, beam-free-all, and beam-free as well
Removed generic subsystem argument from those as well as turret-tagged-specific as they do not have code to process it.
2010-12-22 18:39:40 +00:00
The_E
083a84feff
Swifty's go-swift stuff. Makes collision detection slightly less insane.
2010-12-22 14:42:21 +00:00
The_E
1f1640d47d
2010-12-20 19:53:52 +00:00
Sushi
c7eac88eec
Fix oversight from AI.tbl overhaul a while ago
2010-12-20 16:57:13 +00:00
Echelon9
08eeeedff3
A further two spots where the MSVC 2008 compiler doesn't like SAFE_STRINGS changes
2010-12-20 07:50:23 +00:00
Echelon9
cd7da4d94e
Mantis 1889: Utilise all three hud target box rendering styles (inclusion of a rendering style with proper lighting)
2010-12-20 07:46:38 +00:00
Echelon9
f3359d1547
MSVC compiler doesn't like some of these SAFE_STRINGS changes, GCC does...
2010-12-20 06:14:08 +00:00
Echelon9
eb129200a1
Fix: Convert a further subset of strcpy() to the SAFE_STRINGS strcpy_s() version
2010-12-20 04:28:01 +00:00
Echelon9
7b9d36e105
Guarding against array out of bounds error, ahead of conversion to STL type
2010-12-20 03:04:54 +00:00
Echelon9
10dd0c57d5
Clean up redundant checks
2010-12-19 02:03:41 +00:00
Echelon9
25b199c25c
Two further cases of typo referenced in r6861 fixed
2010-12-19 01:28:38 +00:00
Echelon9
1a98990c3c
Remove redundant Invalid_demo_keys[] and associated control_config_valid_action()
2010-12-19 01:24:50 +00:00
Echelon9
78496b1953
Remove redundant #ifdef check
2010-12-19 01:09:38 +00:00
Echelon9
f278ca0e85
Correct typo in comments
2010-12-19 01:06:58 +00:00
Echelon9
b19fc28a7e
Fix: Local declaration of 'i' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '786'
2010-12-15 12:51:51 +00:00
Echelon9
91fbebd307
Fix: Local declaration of 'i' hides declaration of the same name in outer scope.
2010-12-15 12:48:24 +00:00
Echelon9
178963e78a
Clear out commented #IFDEF INTERPLAYQA section
2010-12-15 12:39:11 +00:00
Echelon9
bacb819e5f
Fix: Local declaration of 'retail_gauge_loaded' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '392'
2010-12-15 12:27:14 +00:00
Goober5000
2e7dea0018
set certain flags that used to be in ship_info via ship_set and change_ship_type, which is the correct thing to do, rather than in the middle of parsing, which was a red herring
...
(fixes Mantis #2169 )
2010-12-13 07:33:35 +00:00
Goober5000
c8dd5e1bab
bypass weird compiler error
2010-12-13 07:24:38 +00:00
Zacam
81bf3cec47
Reverts commits 6681, 6683 and 6684. Adds C4101 Warning suppression for Release Builds (only) so that "catch" doesn't cause an unreferenced parameter warning.
2010-12-13 05:51:49 +00:00
The_E
0b292a1652
Fix for Mantis 2349 (Invalid number of arguments not detected by FRED). This adds a new function to sexp.cpp (check_operator_argument_count()), which can be used to handle cases like send-message-list.
...
Also adds a warning to change-iff-color in case the FREDer supplied an invalid rgb argument (Mantis 2256)
2010-12-13 04:10:08 +00:00
Zacam
09fad95070
Antipodes 7 Merge: HUD Overhaul, by Swifty.
2010-12-12 20:34:15 +00:00
Echelon9
b1c2a85faa
Fix: Local declaration of 'template_id' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '1062'
2010-12-12 01:09:02 +00:00
Echelon9
06d24df914
Clean up up logic check on packet length overrun
2010-12-12 01:08:10 +00:00
Echelon9
6c50ba90ba
Fix: Local declaration of 'wip' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '5444'
2010-12-12 01:07:03 +00:00
Echelon9
ebc0d3b6f4
Fix: Local declaration of 'rship' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '6450'
2010-12-11 13:49:06 +00:00
Echelon9
d0e05d5417
Fix: Buffer overrun: accessing 'struct NavPoint * Navs', the writable size is '352' bytes, but '396' bytes might be written: Lines: 1597, 1600
2010-12-11 12:54:02 +00:00
The_E
214e0daf00
Fix for Mantis 1647 (Message brackets linger around when player turns traitor)
2010-12-11 06:03:45 +00:00
Goober5000
257f92441f
use standard font to output the "more" indicator
2010-12-10 08:39:21 +00:00
FUBAR-BDHR
17776c091e
Fix for mantis 0002337: lock-rotating-subsystem affects more than it should
2010-12-09 23:30:04 +00:00
The_E
e38b68bee5
Partial fix for Mantis 2277. This moves the "Turret Firing" animation trigger so that it only triggers when the turret really is firing.
2010-12-09 23:13:46 +00:00
The_E
5db4e2a6b3
Fix for Mantis 2306 (Destroy subsystem cheat does not work in release builds)
2010-12-09 20:28:16 +00:00
The_E
bf578e51ef
Genghis' fix for Mantis 2164 (Better feedback and error handling for invalid muzzleflash definitions)
2010-12-09 19:55:46 +00:00
The_E
254cd2f2d2
Aaaand done. Now it's fixed.
2010-12-09 18:54:28 +00:00
The_E
dc91321cba
Fix for Mantis 2111 (Bank indicator alignment issues in weapon loadout select screen)
2010-12-09 18:07:44 +00:00
The_E
649f1ff6c3
Fix for Mantis 2055 (Allow/break/never/fix-warp sexps don't work on the AI)
2010-12-09 16:24:54 +00:00
The_E
82efd3434b
Fixes issue with "external model launcher" flag, where secondary weapons would use the models for primary weapons noticed y Droid803
2010-12-08 20:08:25 +00:00
The_E
109f962350
What in the nine hells is happening here? Did noone ever use set-armor-type to reset an armor type?
2010-12-08 04:25:14 +00:00
The_E
8f1f95c273
Fix for Mantis 2257. This adds the options "+HUD Message:" (Boolean, whether or not firing this SSM generates a notification on the HUD), and "+Custom Message:" (if you want to use something other than "Firing Artillery!") to ssm.tbl.
2010-12-07 16:33:58 +00:00
Goober5000
32dd5f9306
follow-up to 6804... fix secondary as well as primary
2010-12-07 07:57:00 +00:00
FUBAR-BDHR
ce8024ce15
Oops on the use of /n instead of \n. Good catch IssMneur
2010-12-07 06:31:53 +00:00
The_E
5dcdc79c4e
Fix for Mantis 2336 (Countermeasure type assignment doesn't survive ship class change)
2010-12-06 23:27:46 +00:00
FUBAR-BDHR
a79d51b357
Fix backward LOD warning message.
2010-12-06 22:00:14 +00:00
The_E
0b4fb309ae
Turning this assert to an Error, after feedback from Goober
2010-12-05 18:07:28 +00:00
The_E
4925eb8412
Turning these Warnings into Assertions, as it's something that really needs to be fixed.
2010-12-03 23:27:58 +00:00
The_E
3f21f1fe5e
Converting this Assert() to an Assertion() for better feedback
2010-12-03 22:41:44 +00:00
The_E
60ac096301
Taylor's fix for Mantis 2172
2010-12-03 17:44:23 +00:00
Sushi
1389b67bd4
Fix an additive weapon velocity bug (main symptom: collision detection going wonky sometimes).
2010-12-03 15:37:44 +00:00
The_E
9441cc7eef
Okay, I'm disabling this Int3(). It's far too easy to hit, even with perfectly valid data.
2010-12-02 21:06:32 +00:00
Echelon9
b8f3fe13bc
Fix 2339: Intermittent crashes in add_sexps
2010-11-29 10:28:47 +00:00
Goober5000
e20b95bba4
add_data_dup when we're working with a temporary string
2010-11-29 08:36:31 +00:00
The_E
c52d8a4763
Adding a break here
2010-11-27 08:13:53 +00:00
Goober5000
2afc961a62
bump number of misc anims to 32
2010-11-26 04:03:56 +00:00
Goober5000
4faa94a9e3
add feature to select a random animation from a miscellaneous animation group
2010-11-25 23:51:22 +00:00
The_E
04e252c1ea
Thanks to Goober for noticing the right way to do this.
2010-11-25 20:48:07 +00:00
Goober5000
81607f7ddc
move the error nprintf to a place where it will trigger before the crash it tests for
...
fix a loop boundary check
2010-11-25 20:10:13 +00:00
The_E
8726f7e0fb
Fix for Mantis 2344 (Post-processing sexps don't show correctly in FRED)
2010-11-25 18:48:00 +00:00
The_E
507631cf86
Moving post processing flag back to graphics section
2010-11-25 15:11:04 +00:00
The_E
e978adbbdf
Adding a return and Warning in case of a null pointer here
2010-11-24 11:35:21 +00:00
Goober5000
04c5416de9
add error detection for arrays that exceed maximum
...
num door sounds = num door animations
(how did that ever work before?)
2010-11-24 07:18:05 +00:00
Goober5000
5214560f70
how was that accidentally deleted?
2010-11-24 06:39:22 +00:00
Goober5000
2eda13c3e8
remove #defines that were obsolete since after FS1
...
fix an nprintf bug
change the method of pausing anims so that more than one anim can play in the same spot
(this means that the first frame of an anim won't be drawn until the anim actually starts playing but I think that's okay; it is really only noticeable for the crane animation in the Bastion main hall when the "new player tips" box appears)
2010-11-24 06:33:53 +00:00
Goober5000
d069b8ede7
ugh; formatting ftw
2010-11-24 04:53:41 +00:00
Goober5000
b3db43f54c
slight cleanup
2010-11-24 04:35:10 +00:00
FUBAR-BDHR
31853b77de
Fix issue with beams not doing damage due to the traitor beam fix.
2010-11-24 02:22:46 +00:00
Goober5000
0c945c210d
revert Echelon9's commit 6754 which needs to be discussed first
2010-11-23 08:27:18 +00:00
The_E
f02e83320d
Fix two instances where an object instance number was used as an index into Weapon_info[]
2010-11-23 08:20:56 +00:00
Goober5000
2b01993d64
corrected Echelon9's correction of Zacam's ... correction?
...
Anyway, sexp variables are only ints or strings, not floats. Therefore we need to print them to the file correctly.
2010-11-23 08:11:16 +00:00
Goober5000
10d6e21c9d
fix some things that Zacam noticed
2010-11-23 07:30:36 +00:00
chief1983
e7e1a07a4b
Finish matching vm_mallocs and vm_frees
2010-11-22 17:21:12 +00:00
Echelon9
4ccc6ba9a0
MAGIC numbers aren't for hiding in code...
2010-11-22 13:01:41 +00:00
Echelon9
e4e5775b63
Fix: Local declaration of 'i' hides declaration of the same name in outer scope.
2010-11-22 12:51:59 +00:00
The_E
66596f519c
Fix for commit 6756: -1 is a perfectly valid value for current_secondary_bank at that point.
2010-11-22 06:14:11 +00:00
FUBAR-BDHR
e818f7840f
Fix for Mantis 2190 - Player beams do not cause traitor.
2010-11-21 06:34:27 +00:00
Echelon9
8bc8deffd6
Fix: Local declaration of 'num_lines' hides declaration of the same name in outer scope.
2010-11-20 18:45:34 +00:00
Echelon9
8ba4f6c3c6
Corrected sprintf format, as 'Changed from 'int' to 'float' by Zacam 10/2010'
2010-11-20 17:27:45 +00:00
Echelon9
184b004e19
Fix: Use of swp->current_secondary_bank when equal to -1 as an array index. Very broken.
2010-11-20 16:25:33 +00:00
Echelon9
f96d7fc1be
Fix: Invalid data: accessing 'Text_line_size', the readable size is '80' bytes, but '4194244' bytes might be read; Invalid data: accessing 'Text_lines', the readable size is '80' bytes, but '4194244' bytes might be read
2010-11-20 15:10:14 +00:00
Echelon9
5bf9697227
Fix a range of potential NULL dereferences
2010-11-20 12:22:03 +00:00
Echelon9
9f361b791d
Fix a few malloc/vm_malloc changes to properly track memory usage; fix a potential NULL dereference in parse/lua.cpp
2010-11-20 08:25:16 +00:00
IssMneur
318d3f032b
Back to how the no configure worked before, because it does work just IssMneur is a dummy. Thank you ni1s for pointing it out :P
...
Added a clarifying comment to autogen.sh.
2010-11-15 21:13:53 +00:00
IssMneur
c898573e58
Modify autogen.sh so that it can be run without running configure. To run autogen.sh without running configure pass --noconfigure as first parameter.
2010-11-15 20:40:25 +00:00
Goober5000
b7acaf9177
remove the mprintf per discussion with taylor
2010-11-14 05:42:47 +00:00
Goober5000
8ba6a7035c
add SCP_string variants of sprintf, sexp_replace_variable_names_with_values, replace_one, replace_all, and lcl_replace_stuff
...
change the death message to use an SCP_string
change the set-death-message sexp to accept actual messages
2010-11-14 02:07:45 +00:00
Goober5000
91fd779f86
add missing files to MSVC 2005 project
2010-11-14 01:53:21 +00:00
Goober5000
a1f6c70318
Bad IssMneur! No biscuit!
2010-11-13 22:49:22 +00:00
IssMneur
9ce801e175
Remove redundant weapon_name_lookup().
...
Make the parameter to weapon_info_lookup a const char* (like it should be).
2010-11-13 07:27:45 +00:00
FUBAR-BDHR
f7f6e0e94b
Fix for mantis 2174: ERANGE: String error in multiui.cpp
2010-11-12 23:46:24 +00:00
The_E
52529f597a
Reverting that again to help tr5ack this down further
2010-11-11 09:54:18 +00:00
The_E
142649e968
Adding proper FRED-side support for special message source "<none>"
2010-11-11 08:45:25 +00:00
The_E
09f9dca972
Replacing a few asserts with proper error handling (in this case, simply CLAMPing the offending values to valid ranges).
2010-11-11 08:41:34 +00:00
The_E
1b00dda9dd
Fix for Mantis 2333 (Random crashes caused by snd_get_duration())
2010-11-08 23:04:34 +00:00
The_E
60eda39ca7
Adding a few checks here to guard/catch Mantis 2333
2010-11-08 01:36:43 +00:00
The_E
727da9031c
Fix for Mantis 2329 (Malloc fail on invalid sound files)
2010-11-06 04:44:17 +00:00
The_E
371307eb1f
Woops. This fixes screwed up test for MOI validity
2010-11-05 00:34:29 +00:00
FUBAR-BDHR
367ff95e79
Remove sexp_turret_subsystem_targeting_disable() and sexp_turret_subsystem_targeting_enable() and changes them to use the new generic function.
2010-11-04 05:28:39 +00:00
FUBAR-BDHR
09e6972731
4 new sexps to control Wanderer's subsystem flags from r6581
...
Fix for Mantis 2330 subsystem targetable/untargetable in multi.
2010-11-04 05:17:52 +00:00
chief1983
7192a2d8fe
More compatibility fixes for Solaris
2010-11-02 21:20:09 +00:00
The_E
afcf923c43
Remove bogus debug warning from the :V: days
2010-11-01 15:25:27 +00:00
The_E
d5b15a0567
Adding check for invalid MOI values
2010-11-01 15:24:07 +00:00
chief1983
4ccadf51fe
This should fix a OS X 10.5 crash, possibly others.
2010-10-29 19:09:26 +00:00
The_E
c4fe142f3a
Woops. How did I screw this up?
2010-10-29 04:14:13 +00:00
The_E
7c58abb9eb
Fix for faulty check
2010-10-29 02:44:14 +00:00
The_E
09343bfa46
Adding a warning and proper error handling to the "/" operator in order to catch div-by-zero scenarios.
2010-10-29 02:22:51 +00:00
The_E
5f5cea2c6a
Patch for minor snafu, from FUBAR
2010-10-29 01:10:19 +00:00
The_E
7fada6171a
2010-10-26 23:42:14 +00:00
The_E
e11fe6515a
Changing this sanity check to pop up a warning in FRED, but print to log in FS.
2010-10-26 22:56:58 +00:00
The_E
339ba7cca3
Fixes issue with the wrong mainhall being loaded on startup. Note: If a value gets initialized to -1, don't change it to a ubyte and init it to 0, even if that fixes a conversion warning. In this case, casting explicitly is a valid course of action, and should be taken. Here endeth the lesson on refactoring.
2010-10-26 22:23:56 +00:00
The_E
4e2fb80608
Removing lua.c from the VS2010 project
2010-10-25 15:09:17 +00:00
chief1983
416e725e22
Let's get rid of lua.c for Xcode then too
2010-10-25 14:57:53 +00:00
karajorma
f5ff35c3bf
Looks like we forgot to update the save functions when we changed the special_explosion to use floats.
2010-10-25 13:53:31 +00:00
Zacam
c45f22ff98
...and then it helps to actually initialize it to something.
2010-10-25 03:59:15 +00:00
Zacam
252f2b4e6c
Should have paid more attention on that last one, need to define what 'err' is outside of where it is.
2010-10-25 03:54:48 +00:00
Zacam
3e613ff431
Let see how unreachable all this really was.
2010-10-25 03:48:01 +00:00
Zacam
b64d1991e1
Fix for Release Build warning for 'err'
2010-10-25 03:43:02 +00:00
Zacam
984df3b5ec
'lua.c' not needed for liblua.
2010-10-25 03:34:33 +00:00
Zacam
0050b48e80
Clears up the rest of the type conversion warnings listed in MSVC.
2010-10-25 03:26:03 +00:00
Zacam
a58a8b21af
Warnings Resolutions: 'int' to 'ubyte' conversion warnings.
...
Some formatting cleanup done on the affected files.
While not necessary, some {} put in by suggestion of output from GCC and to improve readability.
2010-10-25 00:03:29 +00:00
karajorma
284fd79740
Not 100% a bug fix but this will have the effect of making it harder to hit the bug and will warn when it hits it. See http://www.hard-light.net/forums/index.php?topic=72160.0 for more details
2010-10-24 05:28:30 +00:00
Wanderer
724c77afc2
adding blank scripting state to the game
2010-10-23 19:54:39 +00:00
The_E
c885611291
Adding special message source "<none>"
2010-10-22 23:17:44 +00:00
Echelon9
a8d31d4ae4
Update project file listing
2010-10-22 22:53:48 +00:00
The_E
89ae5cf458
m!m's function to access the "affected by gravity" flag
2010-10-22 20:43:27 +00:00
The_E
26ac4b804a
Fix for Mantis 2171 (documentation out of sync for gr.getVectorFromCoords)
2010-10-22 13:45:33 +00:00
The_E
332f94886b
Thank you code analysis. This could have been ugly....
2010-10-20 20:06:55 +00:00
The_E
0f38bee49b
Change an Assert to a more elegant way of handling this.
2010-10-20 19:38:34 +00:00
Sushi
c9b6c3a4ee
Fix bug where changing AI goals while gliding can cause them to get stuck in glide
2010-10-20 05:21:51 +00:00
chief1983
d731767ea6
Wrong way with this fix, should have gone from trunk to antipodes
2010-10-19 22:16:26 +00:00
chief1983
1d9c341c07
Use appropriate line endings
2010-10-19 22:14:52 +00:00
Zacam
6e46c4668d
From FUBAR: Turret ROF Sexp
...
http://www.hard-light.net/forums/index.php?topic=71884.0
2010-10-18 21:23:16 +00:00
chief1983
b0bd068e4d
Pedantically correct a comment
2010-10-18 21:18:10 +00:00
Zacam
2b44f6325b
The hell...? Missed one somehow.
2010-10-18 20:55:08 +00:00
The_E
2349ec5695
Warnings done properly. Thanks, chief
2010-10-18 20:17:01 +00:00
The_E
770953a051
This case shouldn't ever be hit, but it's still bad form to Int3() there.
2010-10-18 19:57:12 +00:00
Zacam
59a360a139
Sun OS compatibility: "Sun" is a reserved word, so (*sun) becomes (*sun_ptr), (bool sun) becomes (bool is_a_sun), etc.
...
Also: void stars_delete_instance_FRED is now void stars_delete_entry_FRED in the CPP to better match the H.
White-space clean-up took place too.
2010-10-18 19:29:38 +00:00
Zacam
75043ff5b1
go_faster from Antipodes 6. Everybody, say "Thank you, taylor!"
2010-10-18 18:32:37 +00:00
chief1983
0cbb97861b
FORCE:MULTIPLE for VC6 in advance of Antipodes 6
2010-10-18 18:08:52 +00:00
chief1983
d0e20484ee
FORCE:MULTIPLE for VS2005 in advance of Antipodes 6
2010-10-18 18:03:10 +00:00
IssMneur
253a4b4dc9
Reimplement VerifyEx to soothe any concerns about the WinAssert use and remove any potential problems for non-VC.
2010-10-18 06:33:54 +00:00
IssMneur
3292e4eee4
Extended Verify to allow a developer to give a more detailed message.
2010-10-17 22:27:04 +00:00
Goober5000
b8736c0c0b
sanity check +Team: values, because older versions of FRED saved crazy values like 1301728
2010-10-17 20:12:09 +00:00
karajorma
f5065880dd
Fix the camera-shudder SEXP to work in multiplayer.
2010-10-17 09:33:08 +00:00
karajorma
ffd9b2cdac
Add the -parse_cmdline_only option to prevent the command line being parsed in FRED (and FSO for that matter).
2010-10-16 05:17:46 +00:00
The_E
b352e39494
m!m's team:getColor() function for scripting.
2010-10-15 19:45:02 +00:00
IssMneur
85c4032ef7
Added a couple of mprintf lines to help diagnose where exactly Openal fails to load.
2010-10-15 17:20:50 +00:00
IssMneur
1482cac08b
Fix a crash that occurs when the player turns off auto-targeting.
2010-10-15 16:39:43 +00:00
chief1983
1f61ee9025
Add the FORCE:MULTIPLE option to the linker for VS2008 and VS2010, in advance of the Antipodes 6 merge
2010-10-13 16:47:12 +00:00
karajorma
baf028bdb7
Mantis 2324 (Missiontime-msecs gives the wrong value after SHORT_MAX milliseconds)
2010-10-13 06:18:36 +00:00
karajorma
9bcf6d9521
Change Alt_Type into an int to fix a compiler warning.
...
Move the multi_sexp_ship_change_callsign function (Multi_ functions should sit directly below the server side function that calls them so that they can be updated at the same time).
2010-10-13 02:16:34 +00:00
Zacam
7d8fae55f0
Output name updated to "fred2_open_3_6_13" in MSVC2005.
2010-10-12 23:40:48 +00:00
Zacam
52b5f2fbb1
Project Synchronization: Trunk vs Antipodes
...
2005: Set PDB and Map Exports to explicitly FALSE on Release builds.
Removed <File Configuration> lines (save for in the case of phrases.xml) as they are unnecessary bloat.
2008: Set PDB and Map Exports to explicitly FALSE on Release builds.
2010-10-12 22:37:50 +00:00
chief1983
d4bfce509e
Pull this fix for VC6 from Antipodes since it's unrelated to go_faster
2010-10-12 16:06:27 +00:00
IssMneur
39e516af3f
Add some variable verification to hud_cease_subsystem_targeting.
2010-10-12 04:27:17 +00:00
Zacam
93c819e215
Warning Fix: in "opengl_make_gamma_ramp"
...
'int' to 'ushort' conversion addressed.
2010-10-08 23:32:54 +00:00
Zacam
53a78a859b
Warning Fix: (audiostr.cpp "WaveFile::Read" / ds.cpp "ds_load_buffer")
...
Sets 'float **pcm' to start as NULL
2010-10-08 23:30:15 +00:00
Zacam
55cb3c209a
Warning Fix: in "bool message_filename_is_generic"
...
signed/unsigned mismatch
2010-10-08 23:24:36 +00:00
Wanderer
57a2f2955c
feature commit - diaspora subsystem options
2010-10-08 21:32:48 +00:00
Wanderer
caae28adfa
feature commit - diaspora turret related patch
2010-10-08 21:05:40 +00:00
The_E
4bb193a519
Patch for Mantis 1963 (Optional argument for set-object-facing and set-object-facing-object doesn't work)
2010-10-08 12:01:11 +00:00
The_E
cf04d1b6de
Fix for Mantis 1817 & 2323 (Glide does not get reset on mission restart/player respawn)
2010-10-08 10:15:40 +00:00
Zacam
f14b184c81
Warning Fix: "sexp_show_subtitle_text"/"sexp_show_subtitle_image"
...
No more 'float' to 'int'. (not the best way, but it is expedient and doesn't risk breaking things)
2010-10-07 02:21:15 +00:00
Zacam
95a89874e8
Warning Fix: in "void beam_get_binfo"
...
"miss_factor" is a 'float', not an 'int'.
(some odd 'tab' spacing cleaned up in the function as well)
2010-10-06 20:03:05 +00:00
Zacam
76c4083cbd
Warning Fix: for "set_special_explosion"
...
Corrects conversion of 'float' to 'int', by setting set_special_explosion related entries to 'float'
2010-10-06 19:18:38 +00:00
Zacam
7acab9ba98
Warning Fix: in "object *ship_find_repair_ship"
...
"min_time_till_available" is a 'float', not an 'int' and so is "howlong" that it is compared to.
2010-10-06 18:45:58 +00:00
karajorma
42fba98066
FUBAR's fix to allow the callsign SEXP to work properly in multiplayer.
2010-10-06 08:53:28 +00:00
Goober5000
2e4143013a
fix some old fat-fingering from r1601 (Mantis #2226 )
2010-10-06 03:58:21 +00:00
Wanderer
2200196cd5
fix to corkscrew missile emitted particles issue
2010-10-05 08:01:23 +00:00
karajorma
4bf6dc5201
Missed one.
2010-10-05 06:45:51 +00:00
karajorma
4e40f145db
Some minor future-proofing/magic number removal.
2010-10-05 06:44:02 +00:00
karajorma
3a578fa70d
Fix Mantis 2321 (Weird values for Team when saving events).
2010-10-05 06:08:31 +00:00
Zacam
8c4e0e9614
Double-Trouble: Noted by FUBAR, somebody made a copy-paste mistake
2010-10-04 23:14:27 +00:00
IssMneur
134abc8f09
Make VS2010 copy *every time* that it rebuilds the binaries, not just when a change is made to a file in Freespace2 or Fred2 projects (ie. when it inserts code changes from code.lib into the binary).
2010-10-04 04:27:55 +00:00
The_E
b192612b57
More checking to guard against Mantis 2205
2010-10-03 20:35:48 +00:00
Echelon9
f54e6a1c86
Second case of mprintf fubar this week. MSVC thought this was valid?
2010-10-03 09:06:47 +00:00
Wanderer
4b26c34625
Feature commit - option to adjust turret ROF by multiplier or by the number of firepoints.
2010-10-03 07:19:43 +00:00
The_E
4ee64c07f1
Adding a better explanation here.
2010-10-03 03:45:01 +00:00
Echelon9
0968f851bf
Correction to r6555 to use mprintf correctly
2010-10-02 07:06:17 +00:00
The_E
4512219c9f
Adding the ad.stopMusic() function to scripting
2010-10-01 22:27:37 +00:00
The_E
2d062ff380
Print warning here as well.
2010-10-01 19:14:24 +00:00
The_E
fe38a382f9
Adding a deprecation warning to the log
2010-10-01 19:09:17 +00:00
The_E
97634e590a
Readding parsing for decals so we don't break stuff unnecessarily.
2010-10-01 18:12:31 +00:00
taylor
ecc9c970fd
allow duplicate when same file exists as both 2D and 3D in sounds.tbl
2010-10-01 16:42:06 +00:00
taylor
a06e48966b
easier to follow debug messages for sound loading
2010-10-01 16:42:05 +00:00
taylor
f7d8b9ef26
only need half size for mono buffer memory
2010-10-01 16:42:04 +00:00
taylor
3b5f674ba6
remove decal files
2010-10-01 16:42:03 +00:00
The_E
6c059f30c4
Adding a sanity check here.
2010-10-01 07:53:03 +00:00
Sushi
6500943b41
Get rid of compiler warnings
2010-10-01 04:20:40 +00:00
Zacam
db96e9fa26
Removed "grammar.h" and added to 'ignore' list. Also added phrases.cfg to 'ignore' list.
2010-10-01 04:10:03 +00:00
The_E
e8aa478524
Another compilation warning fix.
2010-10-01 03:06:09 +00:00
The_E
05e68890f4
Fix compilation warning
2010-10-01 01:36:44 +00:00
The_E
044df34584
Adding the "force-glide" sexp by request of Axem
2010-10-01 00:38:58 +00:00
The_E
93b1740848
Fix for Mantis 2289 (Invalid commandline arguments passed to FRED)
2010-09-30 17:22:58 +00:00
Zacam
b9b5237123
Purging of the Decal system. Includes Projects updates for codeblocks, MSVC 6-2010 and Xcode.
2010-09-30 05:50:04 +00:00
The_E
c6fe7ad5a0
Bumping MAX_SPOOLED_MUSIC to 50.
2010-09-30 00:00:49 +00:00
The_E
4f6fcc566e
Removing an Int3() that isn't as impossible to hit as expected. Since we can exit gracefully here, we should.
2010-09-29 19:01:04 +00:00
Wanderer
9a10b6b0b4
Fix for mantis 2304 - 2nd take
2010-09-27 11:55:21 +00:00
Goober5000
2d3f566691
use the warning loop, same as the other half of the if() block
2010-09-27 05:51:28 +00:00
Goober5000
46f48ee3a6
fix redefinition of local variable 'i'
...
remove unused local variable 'wip'
2010-09-27 05:27:27 +00:00
The_E
6fccf9f790
Ooops. Now this is a proper sanity check.
2010-09-27 04:46:08 +00:00
The_E
f5d8a1354d
Hopefully fixes an Int3() encountered by FUBAR, where the AI submode of a ship was set incorrectly.
2010-09-27 04:03:06 +00:00
The_E
55d7ca153e
Better error checking for adjust-audio-volume, fixes Mantis 2314. Thanks to Echelon9 for noticing this.
2010-09-26 15:54:19 +00:00
Wanderer
2a6727136e
Fix for mantis 2303 and related issue in lua.cpp
2010-09-26 11:32:18 +00:00
The_E
acf8f56b41
Reverting 6513 due to errors found in the implementation
2010-09-25 21:38:37 +00:00
Wanderer
eb660e86c1
Fix to prevent global damage (shockwaves etc) from creating debris shards that spawn in empty space
2010-09-25 20:50:33 +00:00
Wanderer
1015cfe7e9
Fix for mantis 2304 - non standard uvec/fvec turrets did not have proper collision detection
2010-09-25 20:49:05 +00:00
The_E
536203d7e3
Adding the "On Weapon Selected", "On Weapon Deselected", "On Weapon Equipped" and "On Weapon Fired" scripting actions.
2010-09-25 19:43:45 +00:00
The_E
18e539c27b
Moving this assert to a better place
2010-09-25 19:08:27 +00:00
The_E
5daf4591b7
Less ugly hacks is good as well. Why compute the object index, when it's passed as a function argument?
2010-09-24 06:31:52 +00:00
The_E
78f7d9f737
Added an Assertion() to further narrow down the cause of the "ai_find_path tries to find path that doesn't exist" bug
2010-09-24 06:29:46 +00:00
The_E
fa7d8cb479
Avoiding a possible Int3() due to invalid data being passed; since the documentation for get-object-* doesn't specify that you need to give all 3 "relative coordinate" arguments, this needs to be checked.
2010-09-24 06:28:25 +00:00
Zacam
4465400d13
Add a description to config.h as to what 4290 is. (Thanks Goober for catching that)
2010-09-22 22:59:06 +00:00
Zacam
bdcb906c6c
Adding 4290 to the pragma warning(disable:) list for easier testing of some code changes.
2010-09-22 21:13:10 +00:00
IssMneur
730ac54217
Fix bug in the new support ship sexp noted by Goober5000.
2010-09-22 03:05:57 +00:00
The_E
4b1dd8e719
Same here.
2010-09-22 00:41:52 +00:00
The_E
a9f02aab7b
And another variable declaration overwriting a declaration in an outer scope.
2010-09-22 00:38:08 +00:00
The_E
a92b28abdf
Moving this counter variable to be declared as local for the loops.
2010-09-22 00:32:39 +00:00
The_E
f421af5016
Another potential var name collision. Thankfully, this one's part of the decal code, so it's likely it never was a problem.
2010-09-22 00:25:01 +00:00
The_E
667a557e15
Avoiding a name collision between a global and a local variable
2010-09-22 00:15:29 +00:00
The_E
3efcad84a7
Flags are bitfields, so an "&" needs to be used instead of an "&&"
2010-09-22 00:06:20 +00:00
IssMneur
654be5a6e7
Removes the hard restriction (compile time) on the maximum number of "active" support ships per team. Controlled by an optional seventh argument to set-support-ship. Also fixes glitch where only "max concurrent ships" number of support ships would actually respond to support requests.
2010-09-21 05:16:23 +00:00
The_E
3617bb9809
Another Assert()->Assertion().
2010-09-17 20:59:39 +00:00
IssMneur
e852ecf115
I thought I fixed that typo before committing.
2010-09-17 03:59:11 +00:00
IssMneur
a29ca275a7
Converted 4 Asserts into Warnings.
2010-09-17 03:54:46 +00:00
The_E
d98efc0675
Changing a string literal to the proper XSTR lookup
2010-09-17 00:01:58 +00:00
The_E
467c7d1e39
Fixing typos noticed by FUBAR
2010-09-16 21:41:10 +00:00
The_E
99dff69a3f
Another assert->Assertion conversion.
2010-09-15 22:00:51 +00:00
Sushi
26c2725ccd
Fix a typo
2010-09-15 05:06:23 +00:00
karajorma
d181d77744
Mantis 2159 - Add the last of Ghengis' code with a switch from debug output to a warning.
2010-09-15 00:53:15 +00:00
karajorma
d4e8bd4bf3
Fix Mantis 2278 (Adding a variable can mess up team loadout variables)
2010-09-15 00:50:28 +00:00
karajorma
eb1889327f
More SEXPs fixed for multiplayer.
2010-09-15 00:49:14 +00:00
karajorma
e960a14280
Add the has-primary/secondary-weapon SEXPs
2010-09-15 00:47:08 +00:00
The_E
e7fa7f021d
Averting a potential div by zero
2010-09-14 23:56:26 +00:00
Sushi
8c6895a029
Re-added collision physics, added basic landings support (still needs some work)
2010-09-13 14:27:42 +00:00
The_E
e76761a84a
...For real
2010-09-12 19:38:48 +00:00
The_E
fe50ee7231
Fix for is-facing (hopefully)
2010-09-12 19:30:10 +00:00
The_E
3e390ecfdc
... right this time.
2010-09-11 16:55:10 +00:00
The_E
14ae54ad3c
Adding ship:getEMP() for scripting.
2010-09-11 16:52:36 +00:00
Goober5000
c4a337e391
partial revert on 6444... don't forget, someone recently fixed a five-year-old bug in the countermeasures code :)
2010-09-11 00:08:57 +00:00
The_E
439c2c78cd
Adding object:getrvec() and object:getuvec() for completeness' sake
2010-09-10 23:11:28 +00:00
The_E
d863626f26
Adding the vector:getNormalized() and object:getfvec() functions
2010-09-10 20:51:55 +00:00
karajorma
8b1460aa30
Fix sexp_show_subtitle_image to work properly in multiplayer.
2010-09-10 10:42:12 +00:00
The_E
840d11d53d
....And another fix for is-facing.
2010-09-08 16:42:58 +00:00
The_E
a41728df77
Thanks to Goober for the warning.
2010-09-08 14:58:41 +00:00
The_E
820fa1dc73
Two more Asserts turned into Assertions() for better explaining
2010-09-08 10:56:31 +00:00
The_E
67a5ae2d27
Another int3() -> Assertion() conversion
2010-09-07 15:14:36 +00:00
The_E
a31d34a991
Bah, stupid typo (!= is != <!)
2010-09-07 15:11:01 +00:00
The_E
a1ef957423
Adding the is-facing sexp, as per Axem's request
2010-09-06 22:11:25 +00:00
The_E
c28989e121
2010-09-04 13:56:02 +00:00
Goober5000
e40cef7e4f
make the if check simpler, cause part of it was redundant
2010-09-04 06:55:10 +00:00
Goober5000
a129508de7
made the AWACS hack less ugly, by making the filename replacement much more efficient
...
--this also allows stuff to be added past the #End of messages.tbl
improve message_filename_is_generic to consider #Simulated Speech Overrides specified in messages.tbl
2010-09-04 06:51:50 +00:00
Goober5000
3cab590e03
none.wav is redundant in this check
2010-09-04 06:40:46 +00:00
The_E
a5cd35a1b9
Ooops.
2010-09-03 22:51:42 +00:00
The_E
5d625a2473
More cleanup
2010-09-03 22:45:18 +00:00
The_E
5249397161
More dead code be gone.
2010-09-03 22:41:08 +00:00
The_E
b7c9f0e8dd
Dead code removal
2010-09-03 22:31:25 +00:00
Goober5000
ef46114a12
disable the warning about Assertion since it clutters the build output
2010-09-03 21:44:54 +00:00
chief1983
682a517129
MSVC, why on FSM's green earth does this compile?
2010-09-03 15:04:05 +00:00
Goober5000
8733ab557a
don't simply assume that something is a ship!
2010-09-03 02:57:49 +00:00
Goober5000
455b7f9d81
no need to check if other_objp is a capital ship in these if statements, since the first capital+ check would have already returned the function
...
this also removes the assumption that other_objp is always a ship! it isn't!
2010-09-03 02:50:54 +00:00
Goober5000
61f66f13d6
yeah, asteroids and debris are pretty much the same thing
2010-09-03 01:26:49 +00:00
Goober5000
8e5dfc2d33
maintain the original hull, shield, and subsystem percentages when changing ship class, since we might be changing it from a briefing loadout (Mantis #2301 )
2010-09-03 00:34:38 +00:00
Goober5000
31db1efaff
partial revert (just one file) of Sushi's collision physics feature as it causes all kinds of crashes in asteroid fields
2010-09-03 00:16:45 +00:00
Goober5000
39f3d1d663
fix polymodel gettage since heavy_obj could be an asteroid
2010-09-03 00:14:10 +00:00
The_E
25c80ca56f
...and here.
2010-09-03 00:08:31 +00:00
The_E
83bb23a989
...and here...
2010-09-03 00:07:50 +00:00
The_E
931cd6bf3a
Better feedback here, as well
2010-09-03 00:06:52 +00:00
The_E
431b8955e8
Another Assert() redirected to more useful things
2010-09-03 00:06:01 +00:00
The_E
bae585b910
...Aaaaand another Assert()->Assertion() to make modellers happy
2010-09-02 21:48:53 +00:00
The_E
e282c07427
And another int3() turned to something more useful
2010-09-02 21:25:54 +00:00
The_E
2bf6c518ac
A useless int3() turned into a useful Assertion()
2010-09-02 20:27:33 +00:00
The_E
ccd0401a02
More asserts turned to assertions.
2010-09-02 19:57:18 +00:00
The_E
314c4dfdc3
Removing game_load_palette(). It was useless and commented out anyway.
2010-09-02 07:47:09 +00:00
Goober5000
30feeae3d0
fix the passengers tag so that it works more like the cargo tag
2010-09-01 06:43:08 +00:00
Zacam
273be5d221
-timerbar now has the same message as -decals and is a disabled launcher command. Launcher will (or should) no longer list it as an available command and a msgbox will pop-up if in an existing command line anywhere.
2010-09-01 03:17:10 +00:00
The_E
8458f75d76
weapon_info::subtype is not a bitfield
2010-08-31 22:40:30 +00:00
chief1983
5b775e7a88
Fix Assertion on GCC to support 2 arguments, and revert hacked calls to their 2 argument state
2010-08-31 21:09:15 +00:00
Goober5000
5f85e34b3f
update project file
2010-08-31 19:55:12 +00:00
Goober5000
972bdcfd15
don't generate debug information on release builds
2010-08-31 18:18:15 +00:00
chief1983
0fbcb2a2b6
Actually fix the Assertion instead of just disabling it.
2010-08-31 17:41:50 +00:00
The_E
2bfd50b5dc
Change assert to assertion. Also allowed usage of non-anis or effs as muzzleflashes.
2010-08-31 13:12:45 +00:00
The_E
ca37eeaf8e
Changing Assert() to Assertion() again.
2010-08-31 12:52:50 +00:00
The_E
c0fc384c8a
Change Assert() to Assertion() for better feedback to modders
2010-08-31 12:43:04 +00:00
The_E
a5c10c3ce9
Several minor touchups.
2010-08-31 12:42:39 +00:00
Goober5000
12e4d3713b
add +Tech title for ships.tbl
2010-08-29 06:07:22 +00:00
Goober5000
fa1f780227
fix compile errors
2010-08-29 04:51:15 +00:00
Goober5000
cc46e18d68
handle clearing alt-name too
2010-08-29 04:45:51 +00:00
Goober5000
6bd68fdeaf
add a #define
2010-08-29 04:30:21 +00:00
Goober5000
3445ce4cb8
FUBAR's change-callsign patch
2010-08-29 03:46:48 +00:00
The_E
9fbe036484
Ooops, slight typo
2010-08-26 23:42:04 +00:00
The_E
3397d3a21e
From FUBAR: Patch to redirect a warning popup to the log when in standalone mode.
2010-08-26 22:56:36 +00:00
The_E
ee27823042
Change Assert() to Assertion(), again to better explain why it fails.
2010-08-26 12:17:51 +00:00
The_E
3d3fbb3002
Fixes a crash when "Test Load Ship" was used with a ship that has turrets with rotation sounds defined.
2010-08-25 20:24:34 +00:00
The_E
17b4aeac33
Change Int3() to assertion for better explaining and stuff.
2010-08-22 12:59:01 +00:00
The_E
e5416e3506
Remove hardcoded piece of interface code in favour of something generated dynamically. Fixes issue with too many pilot names being displayed in the pilot select screen if a custom font is in use.
2010-08-21 20:19:48 +00:00
Sushi
f045a26eed
Updated random sidethrust ($Random Sidethrust Percent) to include strafing attacks vs big ships, as well as making it a bit more situational for fighter vs fighter.
2010-08-21 19:55:44 +00:00
The_E
a47698230b
Adding a bit of sanity checking here...
2010-08-21 16:22:57 +00:00
The_E
ffe6397e66
Fix issue reported by droid803 where non-player ships that have an afterburner need shield icons as well, causing debug warnings. Changed the check so that it only triggers on player ships.
2010-08-20 23:13:44 +00:00
The_E
a1ecfe158b
Adding the adjust-audio-volume sexp.
2010-08-19 19:45:28 +00:00
IssMneur
5dac806c8e
Adds support to Voice Acting Manager in FRED for putting the speaker's name into the generated file name.
...
Also makes the "Generate Filename" function set the modified flag for FRED if any file names get changed.
2010-08-17 23:52:20 +00:00
IssMneur
26ae5efb0f
Fixes mantis 2275: Improving remove-background-bitmap and remove-sun-bitmap so that they issue an Error if an invalid index is passed via the sexp.
2010-08-17 05:42:55 +00:00
IssMneur
ad9759d2fa
Clarify the help text for set-object-speed-x, set-object-speed-y, and set-object-speed-z
2010-08-17 05:37:38 +00:00
The_E
31b88687d0
And of course, I screwed it up a bit. Reading the documentation is A1 SUPAR.
2010-08-16 23:18:10 +00:00
The_E
0ac5a17102
Allow scripting to override turret AI target selection
2010-08-16 22:04:23 +00:00
The_E
bde583461f
Fix for assertion encountered with the warp-effect sexp. Also updated sexp help to indicate correct usage.
2010-08-11 13:08:51 +00:00
The_E
6032c0b463
Remove requirement for SM3. While this will not allow cards that are only capable of SM2 to use the standard shaders, now shaders can be written for them.
2010-08-10 18:41:12 +00:00
Sushi
b64303a19e
Support for allowing bombs to be destroyed by weapon blast and/or shockwaves. Weapon flags are "takes blast damage" and "takes shockwave damage"
2010-08-05 14:17:20 +00:00
chief1983
19319a4835
Whoops hangovers and VNC don't go well together, did not mean to commit this at all.
2010-08-04 19:38:29 +00:00
chief1983
f5e236e408
2010-08-04 19:33:54 +00:00
karajorma
47f157a9f7
Fix 4 more SEXPs for multiplayer.
2010-08-04 17:44:40 +00:00
Sushi
679430d654
Added to ships.tbl:
...
$Collision Physics:
+Bounce
+Both Small Bounce
+Friction
+Rotation Factor
2010-08-04 02:08:14 +00:00
taylor
25987a680d
various FS2NetD fixes:
...
- increase sleep time during reconnect
- better handling of disconnects from connection errors
- proper disconnect in case of login failure
- log stats request calls
- don't try to read stats from packet when there aren't any to read
- allow proper connection resetting with standalone
- change auto-reconnect timeout from 30 minutes to 5
- count server traffic among activity instead of just client traffic
- reduce uneccessary client->server traffic
2010-08-03 08:22:02 +00:00
taylor
e27d61bbae
fix debug message
2010-08-03 08:21:59 +00:00
Goober5000
b48eb270f9
don't generate debug/pdb/map info for release builds on VC6
2010-08-02 04:07:28 +00:00
Goober5000
b00b61ccd2
revert using motion debris in asteroid fields
2010-08-02 03:52:16 +00:00
Zacam
342640920a
This is the same as 6335, but for FRED. 2008 and 2010.
2010-07-30 16:21:21 +00:00
Zacam
7185348ea9
Removes /DEBUG from the Linker Properties, no longer Generating PDB files for Release builds. This should also resolve the "no disk in drive" issues. MSVC 2008 and 2010.
2010-07-30 16:13:46 +00:00
The_E
063dea2f89
Patch for issue with ai-waypoints not working correctly. The ship's goals were accidentally cleared after a single run through the waypoint path.
2010-07-29 22:30:02 +00:00
Sushi
d391e3f093
Changed "big ships manage shields" to "all ships manage shields." No difference in behavior, just named more accurately.
2010-07-29 00:30:57 +00:00
The_E
c6589187e4
Fix/Workaround for Mantis 2272 (Int3() in hudtarget.cpp)
2010-07-27 15:28:09 +00:00
The_E
dd60442914
Change short to ushort to avoid issues with high-poly models.
2010-07-25 23:30:18 +00:00
Echelon9
b7c1dcff02
Fix for reinforcement menu bug - Mantis 2246
2010-07-25 05:04:14 +00:00
Goober5000
7df3e81080
add feature requested by BWO: group send-message-list messages at beginning of script
2010-07-22 07:51:32 +00:00
chief1983
e691fa8f94
Should allow INT_MAX to be visible on POSIX-compliant systems
2010-07-21 18:50:19 +00:00
chief1983
e9e3333c73
IssMneur's fix for Mantis #2240 , allow gaps after the hardcoded retail sound entries.
2010-07-20 21:59:36 +00:00
chief1983
2d43f0b847
Per IssMneur, fix the root directory detection on *nix systems.
2010-07-19 15:50:50 +00:00
The_E
d12eec674f
Fix for the "is-ai-class" sexp. Previously, the sexp would compare the given AI class against the ship class' tbl default AI class, which produced erroneous results.
2010-07-19 02:12:43 +00:00
The_E
dc54a7d11d
No wonder it didn't really work. I was looking in the wrong array.
2010-07-18 02:18:40 +00:00
chief1983
3aba1b9f73
Bump to MAX_SHIP_FLAGS and a subtle reminder for posterity
2010-07-17 22:27:14 +00:00
chief1983
251fe9a34a
One more autopilot fix for 3.6.12, per IssMneur
2010-07-17 22:18:20 +00:00
The_E
4d5008fcc1
Fix for Mantis 2263 (Objectives list is still displayed despite disable-hud-except-messages being active)
2010-07-17 14:59:32 +00:00
The_E
4f2942e440
Slight cockup on my part here. Pain flashes were not supposed to be gone for everyone.
2010-07-16 18:35:13 +00:00
The_E
3c412bef42
Updated the credits after god knows how long
2010-07-16 16:16:27 +00:00
The_E
7bcd8d162b
Reverting the revert (Yay for feedback), as the ships flag solution seems to be what people really want.
2010-07-15 14:55:59 +00:00
chief1983
b60eb681e6
Fix an Assertion usage issue on *nix platforms.
2010-07-14 15:31:17 +00:00
chief1983
cbe541598e
IssMneur's autopilot fixes (hooray\!)
2010-07-13 22:45:54 +00:00
The_E
c1f1c47fa8
Patch for Mantis 2205 (Division by zero in do_random_sidethrust())
2010-07-10 15:06:33 +00:00
Sushi
9c766c1315
Added "$big ships manage shields:" AI profile/AI class flag
2010-07-09 13:11:37 +00:00
Zacam
58d378134d
Added the following (recursively) to the svn:ignore: .ncb, .suo, .user, desktop.ini, thumbs.db.
2010-07-08 03:51:39 +00:00
Zacam
7ad97943fd
From blowfish: Mac Icon update based on: http://www.hard-light.net/forums/index.php?topic=44371.0
2010-07-08 03:35:57 +00:00
The_E
52f424a0b0
While the other code that was commented out might be unnecessary, this fvec still needs to be set up properly
2010-07-07 15:27:37 +00:00
The_E
854ff6cff9
If lock-perspective is active, the perspective should stay locked.
2010-07-07 02:19:06 +00:00
The_E
3b93ad2ba9
Reverting 6279, and making it more intelligently (Thanks Goober for the heads-up)
2010-07-07 00:04:32 +00:00
Goober5000
3cdf9d3f12
fix a bug noticed by The_E: object types are not bitfields
2010-07-05 05:43:08 +00:00
Goober5000
131805bb51
use motion debris in asteroid fields, per Galemp
2010-07-05 05:41:57 +00:00
The_E
7a8973eade
Introducing new SIF2 flag ("no pain flash") to turn off the pain flash. I guess all the peeps who want to do capship missions can rejoice now.
2010-07-05 02:28:48 +00:00
Echelon9
8383d11490
Update Lua interpreter to 5.1.4 (patch 2) to fix the following bugs http://www.lua.org/bugs.html#5.1.4
2010-07-03 02:48:03 +00:00
The_E
437b27c460
A few more dialogues added
2010-06-27 21:46:50 +00:00
Goober5000
51f9cbb20a
make FRED be intelligent about mission directory (Mantis #2236 )
2010-06-27 08:30:45 +00:00
Goober5000
c8ef8d38ef
remove unreferenced variables
2010-06-27 07:13:33 +00:00
Goober5000
614f60968c
use 2_ animations in the tech room, just as in the command brief (Mantis #2231 )
2010-06-27 07:05:01 +00:00
Goober5000
af2ac0a7eb
remove a bit of code that should no longer be necessary due to previous upgrades/fixes
2010-06-27 06:04:48 +00:00
Backslash
5263673023
Add a $Max Directives: option to hud_gauges.tbl -- works just like $Max Escort Ships
2010-06-26 19:34:59 +00:00
Wanderer
0718bc2921
fix for potential null vec issue when using limited base rotation turrets
2010-06-24 18:21:31 +00:00
Wanderer
999ec32353
fix for salvo + check hull bug found by fubar
2010-06-24 17:56:19 +00:00
Sushi
6d29c1a462
Removed unpopular circle strafe changes to make circle-strafing AI more aggressive (like in RC2)
2010-06-24 02:33:48 +00:00
Goober5000
7edfdb32ad
this is just a bit cleaner
2010-06-23 06:56:45 +00:00
Goober5000
06216fce4f
remove not-kamikaze, since it was never implemented, and since its behavior is incorporated into the kamikaze sexp
2010-06-23 06:19:43 +00:00
Goober5000
be6ea31534
fix for Mantis #2056 (sexps may not want to process every ship)
...
also, account for the fact that Command may not be "#Command"
2010-06-23 03:05:26 +00:00
Goober5000
6966b3a57d
fix a silly bug noticed by karajorma
...
also, slightly compact the knossos check
2010-06-22 02:29:53 +00:00
The_E
1ae587f819
Fix for null vec3d error mentioned in Mantis 1888 by Woolie Wool
2010-06-22 00:51:12 +00:00
Wanderer
fd6c3a84f6
allow lua to track if ship is 'dying' during the frame (bugfix for flashy deaths script)
2010-06-21 22:06:49 +00:00
Wanderer
4d1f5f6a1c
fix for the ai profile issue (mantis 2228)
2010-06-21 19:25:00 +00:00
chief1983
6284da4654
Fix the Assertion to not break Macs and Linux.
2010-06-21 17:12:23 +00:00
chief1983
eed85feae9
IssMneur's fix for #1888 (finally): Much better autopilot behavior.
2010-06-21 14:59:36 +00:00
Goober5000
f8efafb0f2
minor modification of karajorma's warp effect so that Knossos can be used for both warpin and warpout; Babylon5 still switches appropriately
2010-06-21 07:41:26 +00:00
Goober5000
5141cf6dab
fix some problems with set-explosion-option (viz. all options need to be set if a special explosion is being used)
2010-06-21 07:14:54 +00:00
Goober5000
f8e3aee161
add set-explosion-option to edit explosions (needed after karajorma's new special-exp code)
2010-06-21 01:21:40 +00:00
Wanderer
e047ba0155
Fix lua ray collision checks against debris pieces
2010-06-20 14:07:30 +00:00
Wanderer
c0862e47bc
add a null vec check - hit by fubar
2010-06-20 14:06:34 +00:00
The_E
6ead2d8d87
Stopgap fix for Mantis 2224 (Black text is unreadable in the multiplayer chat). Turned black into pink (as that colour wasn't used before).
2010-06-18 18:18:27 +00:00
karajorma
725ce08f38
Remove the -tbp command line.
2010-06-18 05:03:32 +00:00
Zacam
d50cb3841c
Commit of PNG Data fix as suggested and supplied by Armchair Commander and marvn.
...
(Read: http://www.hard-light.net/forums/index.php?topic=68405.0 )
2010-06-17 19:46:46 +00:00
Goober5000
33f47d53c7
add awesome logical operators
...
(I wonder why nobody added these until now)
2010-06-16 02:38:24 +00:00
Goober5000
db2e20e59a
add mission-time-msecs
2010-06-16 02:10:48 +00:00
The_E
67e89bdd8d
Fix for Mantis 2212 (Interface animations start at frame 1, not 0)
2010-06-15 17:24:03 +00:00
The_E
c0e55de8f0
Fix for Mantis 2210 (Ship models in ship selection do not always show up properly)
2010-06-15 12:04:50 +00:00
Echelon9
0d2c96ba09
Project file update to include bitarray.h
2010-06-14 14:12:45 +00:00
The_E
02e76c00e9
Project file update to include bitarray.h
2010-06-14 07:36:07 +00:00
Goober5000
7b8c035320
revert portej05's removal of the bitstring code
2010-06-14 06:56:52 +00:00
The_E
d41fa67715
Don't increase the total number of loaded menu music files if a tbm with +nocreate is loaded.
...
This also neatly fixes the somewhat screwed up music selection list in FRED (remember all those empty lines?), albeit not completely.
2010-06-14 01:59:15 +00:00
Goober5000
7cfdf27b78
sync file for proper string length
2010-06-12 21:23:56 +00:00
Goober5000
5cc6f5e4fd
sync case
2010-06-12 20:47:22 +00:00
Wanderer
4b66b6e42c
related to mantis 2187 - fix to improve autoaim accuracy if additive velocity is enabled
2010-06-12 16:10:31 +00:00
The_E
8edeb00886
Some stuff for wxFRED. Slowly making progress.
2010-06-10 01:29:17 +00:00
Wanderer
c01b067c1a
better handling of 'dying' weapons for lua scripting.cpp
...
added lua controls for accessing beams
2010-06-09 16:49:20 +00:00
Goober5000
9940f9a752
add OPF_SOUND_ENVIRONMENT for Taylor's sexps
...
also, some tweaks for sexp checks and for SEXP_NONE_STRING
2010-06-09 07:38:27 +00:00
Wanderer
9d75c04e99
fix for target priorities and sif2 flags issue
2010-06-09 05:19:54 +00:00
The_E
56c1699aee
Project File for wxFRED.
2010-06-09 05:18:45 +00:00
Wanderer
a9e043f156
fixes for the external weapons patch (accidentally uploaded outdated patch)
2010-06-07 12:48:53 +00:00
Wanderer
2296b885b5
changes to external weapon model handling
2010-06-07 12:22:54 +00:00
The_E
36f1acb0ae
Not quite sure how this one went broken for so long....( FSO specific .libs were not loaded on non-SSE2 configurations, leading to broken builds.)
2010-06-07 11:10:11 +00:00
Wanderer
add696869b
mantis 1988 - error checking for the targeting priorities
2010-06-07 10:53:34 +00:00
Goober5000
a6066d79a9
ignore generated file
2010-06-07 07:02:18 +00:00
Goober5000
bbeba26c70
adjust coordinates for The E's latest 640x480 art
2010-06-07 06:35:40 +00:00
Goober5000
b59580e84c
FUBAR's feature for LOD naming: http://www.hard-light.net/forums/index.php?topic=68901.0
2010-06-07 03:58:47 +00:00
Goober5000
a992f0687c
tweak fiction viewer coordinates
2010-06-07 02:13:44 +00:00
The_E
5d5b377ad8
A missing ) is bad for parsing.
2010-06-06 18:12:29 +00:00
taylor
a971f3d768
make sure to stop deathroll effect too (Mantis #2215 )
2010-06-06 14:50:38 +00:00
taylor
5e943b843c
add some missing safety checks for Snds[] (Mantis #2216 )
2010-06-06 14:50:36 +00:00
Echelon9
67a5d89d47
Removed defined but unused variables
2010-06-06 08:35:19 +00:00
taylor
f80dcd4a87
make sure to always close context and device when searching through valid devices
2010-06-06 03:10:40 +00:00
taylor
96d93607dd
fix OS X compile issue
2010-06-06 03:10:38 +00:00
The_E
03d0b66214
Same here.
2010-06-05 02:45:13 +00:00
The_E
719eb41cd8
Remove unused files from the project file
2010-06-05 02:36:41 +00:00
Goober5000
f37ff6da68
minor fix to the -wcs flag removal
2010-06-03 06:28:06 +00:00
karajorma
3005e447d3
Kill the -wcs flag. Should have done this years ago.
2010-06-02 12:01:13 +00:00
The_E
1dbe105933
Fix for Mantis 2214 (toparc2 and toparc3 hud anis [The Enemy Missile threat and Enemy Missile lock indicators] may have a length > 2 now, instead of being fixed at 3 frames)
2010-06-02 11:49:24 +00:00
taylor
04cac71fe9
revert r6151
...
Per source doppler factor is part of the EFX spec, which means all full 1.1 implementations.
2010-06-01 02:44:15 +00:00
The_E
4bee746897
According to the OpenAL programmer's guide, AL_DOPPLER_FACTOR is not a valid parameter for alSourcef
2010-05-31 10:38:00 +00:00
Wanderer
4b34460f06
Certain fixes for Bobs animation code issues. Please report if this renders any current anims invalid.
2010-05-30 19:28:21 +00:00
Echelon9
af574dacff
codec1.cpp and codec1.h included in Xcode project file when no such source files present
2010-05-30 05:14:00 +00:00
The_E
e101736d8f
Project file update for new sound code.
2010-05-30 02:17:21 +00:00
taylor
f06ef36ca6
more sane memory reserve
2010-05-29 15:53:28 +00:00
taylor
1491795451
fix endless loop
2010-05-29 15:53:27 +00:00
taylor
0a17554c4f
disable doppler for the time being
2010-05-29 15:53:24 +00:00
taylor
b287ecfef9
new sound code
...
- Mantis #58
- Mantis #1769
- many other fixes and improvements
2010-05-29 15:53:18 +00:00
taylor
a7bac8679c
fix view skew math issue (Mantis #2213 )
2010-05-29 14:55:04 +00:00
taylor
f72d0a4cd5
bah! remove debug code that slipped in with safety fixes
2010-05-29 10:55:33 +00:00
taylor
d3e750edf7
support for newer versions of automake (Mantis #2145 )
2010-05-29 10:55:30 +00:00
The_E
7f9df9c09e
Fictionviewer interface adjusted for new, official interface art found here: http://blueplanet.fsmods.net/E/FictionViewer.7z
2010-05-28 20:07:05 +00:00
Wanderer
89d7a512af
add read access for lua to weapon and ship info index. enable to check 'weapon_armed' status
2010-05-28 19:15:05 +00:00
karajorma
61af589c21
Swap the engage enemies messages over.
2010-05-28 06:09:53 +00:00
Sushi
270734b6f3
Fixed a parsing bug in AI.tbl that scaled Glide Attack Percent, Glide Strafe Percent, Circle Strafe Percent, and Random Sidethrust percent between 0 and 1 instead of 0 and 100 (as is the case for AI profiles.tbl)
2010-05-25 18:09:59 +00:00
Sushi
5704dce248
Fix a bug where additive weapon velocity would sometimes cause primary shots to pass through a target
2010-05-25 16:25:41 +00:00
The_E
f993f7ced1
Altered the project file to allow FRED release compilation on VS2010
2010-05-25 01:11:46 +00:00
Goober5000
04436d634f
remove message from queue the correct way, thus fixing the training message crash
2010-05-19 04:28:43 +00:00
Sushi
e63505510b
Added $Random Sidethrust Percent to AI Profiles and AI.tbl. Allows ships with sidethrust capability to sometimes randomly use it in dogfighting situations to make life more miserable for the player.
2010-05-17 19:10:34 +00:00
Goober5000
c5e3600bef
reverted fix. It has problems, which is why I'm going over it first.
2010-05-16 22:26:58 +00:00
The_E
acdc56272b
Committing IssMneur's fix for Mantis 2183.
2010-05-16 15:40:11 +00:00
Goober5000
7a44b33152
better handling of missing models
2010-05-15 22:53:41 +00:00
Goober5000
ec2542fa1e
misc silly fixes
2010-05-15 21:48:23 +00:00
Goober5000
1eb544da58
fix subsystem alignment on ship class change (Mantis #1181 )
...
fix a bug with Bobboau's external missiles feature
2010-05-15 21:31:32 +00:00
Sushi
71ba95081c
Added $No extra collision avoidance vs player flag. Makes the AI less likely to didder around like an idiot at close range.
2010-05-14 20:43:32 +00:00
Sushi
b01b4a1778
Small fix for circle strafe
2010-05-14 18:57:58 +00:00
Sushi
e46ba43891
Fix for Mantis 2099
2010-05-12 19:40:09 +00:00
The_E
e2c5ff679c
Swarm weapons should respect "$Free flight time" as well
2010-05-10 17:17:49 +00:00
The_E
132ba60085
Patch for Mantis 2202 (Children of swarm weapons do not inherit parent target)
2010-05-09 14:53:29 +00:00
Echelon9
fdb7de88da
Remove commented out code (still in SVN history if needed) and the overhead of an empty function call every frame
2010-05-09 06:12:06 +00:00
Echelon9
44886e1ba5
Benefit from our use of STL vectors be removing a now unnecessary variable in cutscenes.cpp and making code cleaner and easier to read
2010-05-08 15:09:08 +00:00
Sushi
63b9efeb3a
Some fixes/updates for the Circle Strafe behavior. The AI should use it a bit more effectively now.
2010-05-07 17:03:23 +00:00
chief1983
e702ce2267
Quick fix for the WarningEx breakage on *nix
2010-05-05 16:47:12 +00:00
karajorma
de0c889d10
Fix compilation under OSX and Linux with WarningEx
2010-05-04 12:34:05 +00:00
The_E
e2fbbb5e19
Genghis' fix for Mantis 2162 (Thruster cones have collision detection)
2010-05-03 12:32:42 +00:00
karajorma
27f58de890
Add the (in)validate-all-arguments SEXPs
2010-05-03 12:03:57 +00:00
karajorma
c07d555346
Genghis' fix for Mantis 2159 (Certain parsing errors are never reported)
2010-05-02 10:24:48 +00:00
karajorma
2f635ad879
Genghis' fix for Mantis 2157 (Invalid subsystems not properly detected on mission parse).
2010-05-02 06:00:50 +00:00
karajorma
10d6940145
GencGenghis' fix for Mantis 2155 (No error checking for certain ship problems in the lab that FRED does pick up).
2010-05-02 05:54:26 +00:00
karajorma
c6b8d515a4
Genghis' fix for Mantis 2151 (No error checking for incorrect engine wash entries).
2010-05-02 05:53:02 +00:00
Sushi
34c61a7caa
Reverted commit 5656, due to side effect of changing AI behavior (see mantis 1982)
2010-05-01 20:39:41 +00:00
Goober5000
39d5580651
prevent HUD formatting from destroying subsystem names - Mantis #2195
...
also made hud_targetbox_truncate_subsys_name return void to lessen the chance of people making the mistake in the future
2010-04-30 06:33:38 +00:00
Goober5000
0d75839a9d
fix rounding formula (Mantis #2194 )
2010-04-30 04:03:24 +00:00
karajorma
35ac7d6afa
Fix Mantis 2194 (FRED incorrectly calculates the wrong number used in wings).
2010-04-30 03:24:30 +00:00
Sushi
b48b7f76ac
Fix for bug causing AI to not fire secondaries, as well as a fix for other minor AI bugs
2010-04-29 18:56:11 +00:00
karajorma
a2afa2b67a
Switch to using the Macros for Multiplayer modes whenever possible.
2010-04-27 13:42:59 +00:00
Sushi
0889d77f9f
Fix for Dynamic Glide Cap so that the cap ramps max speed in the same way as normal flight when turning afterburners on/off or changing the overclock (what it should have done in the first place). Also removed some old, unused glide code.
2010-04-26 13:38:36 +00:00
Sushi
b72514fbaa
Fix for 6057 (game sometimes crashes if $Turret Max Aim Update Delay not set)
2010-04-26 13:36:08 +00:00
The_E
475853afa3
Fix for Mantis 2189 (camera FOV may get corrupted by malformed commandline argument)
2010-04-21 21:14:08 +00:00
karajorma
047ae70637
FUBAR's Fix to allow Explosion-Effect to use any explosion in fireball.tbl
2010-04-20 13:05:29 +00:00
Goober5000
2e58278eba
make sure Fred knows its base directory before loading the command line... this will allow it to load cmdline_fso.cfg which will allow Fred to recognize mods (Mantis #2185 )
2010-04-20 05:37:34 +00:00
Goober5000
26f33cba24
fix parsing of miss factors (Mantis #2185 )
2010-04-20 04:37:44 +00:00
chief1983
7846af6c24
No 2-arg asserts on Linux.
2010-04-19 23:32:52 +00:00
Goober5000
aa0c39cb7d
add beam miss factor by team, requested by Blue Planet
2010-04-19 05:17:57 +00:00
Goober5000
63909095f5
merge Iss_Mneur's fix for Mantis #2173 (better error message in cmdline.cpp)
2010-04-19 03:51:05 +00:00
Goober5000
e537b1e133
merge Iss_Mneur's fix for Mantis #2178 (Assertion in missiontraining.cpp)
2010-04-19 03:49:09 +00:00
Goober5000
09602a9ffa
merge The E's fix for Mantis #2182 (NaN propagation leading to rendering wonkiness)
2010-04-19 03:40:13 +00:00
Sushi
f7ebd3c636
Added $Turret Max Aim Update Delay (same as $Max Aim Update Delay, but affecting turrets instead).
2010-04-15 20:03:01 +00:00
chief1983
52fb26169c
Add a VS2010 project file, made from VS2010 Ultimate RC1. Added tweaks after conversion from 2008 to make the output file names and target names more dynamic. This should be the basis for getting FRED release builds to compile. The three other executables per config work fine.
2010-04-14 20:07:08 +00:00
karajorma
ff7f028e0e
Fix the end-mission SEXP to make it possible to test if the player is alive or not.
2010-04-13 11:15:18 +00:00
karajorma
1362e16c4c
Remove a hack which wouldn't allow players to skip the penultimate FS2 mission if they failed it 5 times.
2010-04-13 11:14:20 +00:00
karajorma
4178c4b65c
Iss Mneur's mission-set-subspace and hud-display-gauge SEXPs
2010-04-13 11:12:28 +00:00
Goober5000
f59fd543c9
fix Mantis #1953 (departure locations and anchors destroyed by ship editor dialog)
2010-04-13 06:51:06 +00:00
Goober5000
0dddfbca74
consolidate and fix the resetting of time compression (Mantis #2180 )
2010-04-13 03:54:30 +00:00
Sushi
0c025d96f6
Fixes a bug where paths generated by exit paths aren't garbage collected. This can cause the game to crash in missions where a lot of ships launch from fighterbays.
2010-04-11 18:36:30 +00:00