Goober5000
4b662a3649
prevent an endless loop if someone tries to assign a variable to itself
2010-03-31 20:31:02 +00:00
Goober5000
c2a2f0727f
patch some holes in the handling of string variables
2010-03-29 09:39:26 +00:00
Goober5000
0458d83f94
a couple of small but important fixes to the subtitle code, including (finally) the complete fix for Mantis #2152
2010-03-20 06:37:26 +00:00
Goober5000
5a3fa6f576
allow specification of fonts via show-subtitle
2010-03-19 06:31:15 +00:00
Goober5000
7181e3d602
a few things here...
...
--add space for font argument which will be in post-3.6.12 builds
--fix round-off error in coordinate conversion, discovered by genghis
--use is_sexp_true() instead of WMC's comparison
--fix images not appearing in show-subtitle (Mantis #2152 )
--fix invalid character in change-soundtrack sexp help
2010-03-19 04:03:49 +00:00
Goober5000
7fa0a70c9e
this is a long-overdue rewrite of WMC's show-subtitle sexps
2010-03-15 01:55:40 +00:00
karajorma
b6914428ad
Fix Mantis 2140 (Set-primary-ammo/weapon result in the ammo being set to 0 in some mods)
2010-03-10 14:49:50 +00:00
karajorma
ca90928e08
Refactoring the Special Explosion and Special Hitpoints/Shield code and saving methods.
2010-03-10 08:50:28 +00:00
karajorma
64d3a85dfa
Fix an issue with the multi_sexp system if you ever had to send two full packets in a single frame.
2010-03-03 14:11:59 +00:00
karajorma
b464f2a558
Fix Mantis 2137 (Play-Sound-From-File doesn't loop correctly).
2010-03-01 13:44:25 +00:00
Goober5000
4efaaf4523
clarify difference between knossos warpin and warpout in the code -- this should fix Mantis #2128
...
"mabye" -> "maybe"
2010-02-15 11:01:29 +00:00
Wanderer
8651bb3a0b
fix for potential (and real) null vec issue caused by sexped explosions
2010-02-13 09:01:07 +00:00
karajorma
9d705df121
Better fix for Mantis 2106 (set-object-position crashing multiplayer)
2010-02-12 11:23:23 +00:00
karajorma
a1f100d0a3
Whoever designed a comparison function that reports false when the arguments are the same should be shot!
2010-02-12 07:42:23 +00:00
karajorma
8555140cf6
Deprecate <any support ship class> in favour of something that does exactly what it says on the tin.
2010-02-12 07:14:34 +00:00
chief1983
9473a345fc
Fix Mantis #2120 : is-primary-selected now returns true for any bank when primaries are linked.
2010-02-11 16:31:25 +00:00
karajorma
47faa1c364
Fix for Mantis 2106 (Set-object-position crashes in multiplayer).
2010-02-06 11:20:32 +00:00
Echelon9
cfec9106be
Complete reversion
2010-01-07 17:30:44 +00:00
Echelon9
c2b601bd5c
Rename function to correctly reflect what it does
2010-01-02 13:32:43 +00:00
Wanderer
f69d5881ed
Patch from FUBAR - set armor type sexp
2009-12-18 10:11:48 +00:00
Wanderer
80545a8a96
Patch from FUBAR - turret direction preference, turret optimum range & turret target priorities sexps
2009-12-18 09:34:23 +00:00
portej05
cf3a4975da
Antipodes #4 - Post Processing from Hery
2009-12-14 13:57:33 +00:00
Goober5000
6993a136c0
the reason for the return statement no longer exists
2009-12-14 05:28:06 +00:00
Goober5000
cc4fb68ea6
fix warnings Zacam noticed
2009-12-13 07:24:59 +00:00
Goober5000
a679a8f597
remove ai_get_subsystem_type as it's redundant
...
clean up all sorts of subsystem stuff in sexp.cpp (in particular, use ship_get_subsys when possible)
weapon / sensor subsystem types should work for "weapon" and "sensor", not "weapons" and "sensors" to be consistent
2009-12-06 10:06:51 +00:00
Goober5000
62575f7e23
add hits-left-subsystem-generic and hits-left-subsystem-specific
...
deprecate hits-left-subsystem
2009-12-06 08:48:03 +00:00
karajorma
66e3333392
Fix an issue with the client side section of sexp_deal_with_ship_flag.
2009-12-06 07:15:36 +00:00
Goober5000
434059b5a2
commit the revision patch originally inspired by Zacam
2009-12-05 22:53:04 +00:00
Goober5000
c092173f36
fix a bunch of problems where sexps with multiple arguments might not work on all of them
...
fix problem with beam-free-all and beam-lock-all only working on the first ship in a list
2009-11-28 19:15:53 +00:00
karajorma
af7ba40eb4
Add the ability to specify ships or wings to the num-ships-in-battle SEXP (In collaboration with FUBAR).
2009-11-23 04:57:42 +00:00
Goober5000
9a98a31b1b
fix Mantis #2043 - variable-array-set needed extra sexp_tree management
...
also, improve type safety for checking for sexp operators (compare the constants rather than using stricmp on the names)
2009-11-22 11:55:40 +00:00
Goober5000
aeb5fd2789
add two awesome sexps that allow treating sexp variables as arrays
2009-11-18 09:17:01 +00:00
Goober5000
769d3a4d89
sexp subcategorization
2009-11-18 06:34:09 +00:00
karajorma
b323aa89b9
FUBAR's percent-ships-arrived SEXP.
2009-11-14 09:13:45 +00:00
Goober5000
28120ca20c
allow changing of case for ship, wing, waypoint, and reinforcement names per Mantis #2017
2009-11-13 08:07:48 +00:00
karajorma
74d1c139ed
Doh x2
2009-11-05 06:16:15 +00:00
karajorma
5e968aac93
Might as well improve this message while fixing Respawn Delay.
2009-11-02 02:24:08 +00:00
Wanderer
06f0b169e4
wanderer's ai control system setup (both sexps and lua)
2009-09-17 21:27:45 +00:00
karajorma
f2158a72fa
Add the remove-weapons SEXP. Fix add-waypoint-nav to work properly in multiplayer missions.
2009-09-15 13:47:38 +00:00
portej05
585981e24b
post-frame-shaded subtitles! Pass an argument 13 which is either (true) or (false) in order to make use of this.
...
Fix for multimonitor focus loss issue associated with the mouse at the initialisation of the mainhall
2009-09-09 11:52:42 +00:00
Wanderer
5b1ceed359
from prefast log.. add missing casts
2009-09-07 16:15:35 +00:00
Wanderer
ccda696429
runsexp debug console functions - runsexp lua scripting functions
2009-08-28 07:53:45 +00:00
karajorma
5180dc1146
Fix Mantis 1984 (Using sexp_deal_with_ship_flag() on anything ship-vanished causes an Int3() )
2009-08-26 06:03:11 +00:00
Wanderer
75a514b5f9
split 'is_vec_null' macro into normal and 'safe to square' macros.
2009-08-23 11:36:44 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
915a9270c9
NEW_HUD Removal commit
2009-07-13 15:48:38 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
karajorma
a9179e2db4
Add the Get-throttle-speed SEXP.
2009-07-10 17:07:07 +00:00
karajorma
81c1002211
Fix the Primary/secondary-fired-since SEXPs
2009-07-06 17:36:44 +00:00
karajorma
5efb4abb9f
Looks like the previous SEXP code optimisation didn't take into account the fact that the game tramped values as well as operators through that function so it could call eval_num(). Fixing that gets rid of another few million needless calls to stricmp.
2009-07-06 11:27:31 +00:00