taylor
8374a8be75
add some missing safety checks for Snds[] (Mantis #2216 )
2010-06-06 14:50:16 +00:00
Goober5000
db0c0a6e6b
backport of Wanderer's commit 6134:
...
add read access for lua to weapon and ship info index. enable to check 'weapon_armed' status
2010-06-03 06:22:03 +00:00
taylor
eb4e65fc6e
fix endless loop
2010-05-29 15:52:34 +00:00
Goober5000
ba52d6bbc0
backport of karajorma's commit 6053:
...
Iss Mneur's mission-set-subspace and hud-display-gauge SEXPs
2010-04-19 03:54:44 +00:00
Goober5000
cf05b699a3
backport of karajorma's commit 6001:
...
Refactoring the Special Explosion and Special Hitpoints/Shield code and saving methods.
2010-04-19 03:24:36 +00:00
Goober5000
928858d48e
prevent an endless loop if someone tries to assign a variable to itself
...
also, sync some formatting from trunk
2010-03-31 20:31:33 +00:00
Goober5000
9fa0cbe8c5
backport of karajorma's commit 6004:
...
Fix Mantis 2140 (Set-primary-ammo/weapon result in the ammo being set to 0 in some mods)
2010-03-31 05:26:45 +00:00
Goober5000
28c573d47b
patch some holes in the handling of string variables
2010-03-29 09:39:34 +00:00
Goober5000
845d8472c4
a couple of small but important fixes to the subtitle code, including (finally) the complete fix for Mantis #2152
2010-03-20 06:37:11 +00:00
Goober5000
29eb3a8866
whitespace happiness
2010-03-19 04:04:20 +00:00
Goober5000
7b0bcfc8ae
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:01:58 +00:00
Goober5000
05b3645062
this is a long-overdue rewrite of WMC's show-subtitle sexps
2010-03-15 01:55:56 +00:00
chief1983
e8aad6f979
Backport r5969 - fix for two full packets in a frame - to 3.6.12
2010-03-03 23:40:40 +00:00
chief1983
3c606b90ab
Backport r5959 - Mantis 2137 play-sound-from-file not looping - to 3.6.12
2010-03-03 23:38:04 +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
Wanderer
c2a1ff57c9
Commit of lua debug patch.
2010-02-10 21:50:15 +00:00
karajorma
47faa1c364
Fix for Mantis 2106 (Set-object-position crashes in multiplayer).
2010-02-06 11:20:32 +00:00
Wanderer
1cc80c2841
fix couple of model handle related bugs in lua.cpp
2010-02-05 23:14:34 +00:00
taylor
4b40d32f3d
particle updates from the Xt code base
2010-02-03 02:18:22 +00:00
Wanderer
05b47ecfec
bah, bah, bah, bah - fix my own stupid bug in lua raycollision function
2010-01-30 11:45:22 +00:00
Wanderer
a3ca4f4ef7
lua function for checking the state of a ship when the ship is dying
2010-01-28 08:05:43 +00:00
Wanderer
b0e8ce130e
Lua additions/bugfixes, fixed drawmodeloor function for drawing models in game, new model loading helper functions (slow).
2010-01-28 07:37:31 +00:00
Wanderer
8549f3c71a
fix to lua escort ship indexer
2010-01-23 09:02:32 +00:00
Wanderer
dbf5d60ab2
Lua control for getting the full button control data
2010-01-16 13:10:55 +00:00
Wanderer
834e4321a7
fixes for various lua wings and wing ship indexer bugs.
2010-01-14 18:05:48 +00:00
Wanderer
d41514c78e
Enable missing controls lua control info. Force fireprimary lua function to work regardless of stream status of the weapons.
2010-01-11 10:39:40 +00:00
Wanderer
e2cfb8017a
lua access & related functions to enable player button controls to be operated via scripting
2010-01-10 20:59:31 +00:00
Echelon9
cfec9106be
Complete reversion
2010-01-07 17:30:44 +00:00
Wanderer
0eca97a967
model:checkRayCollision lua function to allowed certain collision checks be done with lua
2010-01-07 15:23:25 +00:00
Goober5000
9ead43eccd
change ExternalDLL to external_dll for cross-platform friendliness
...
(yes there aren't any errors currently, but this has been a convention since the beginning of cross-platform compatibility)
vcproj and xcode projects are updated accordingly
2010-01-06 01:18:31 +00:00
Wanderer
cd15f39847
lua handled collision groups and lua bitwise ops library
2010-01-05 18:00:01 +00:00
Goober5000
cdb6ceb1f1
location oops
2010-01-03 20:20:49 +00:00
Goober5000
169e4e8518
hooray for function prototypes
2010-01-03 05:55:17 +00:00
portej05
2cc225ba3f
TrackIR DLL loading implementation. You need scptrackir.dll in order to run (on internal beta at present).
2010-01-02 14:12:22 +00:00
Echelon9
c2b601bd5c
Rename function to correctly reflect what it does
2010-01-02 13:32:43 +00:00
Goober5000
770095c84c
allow up to two additional fonts using fonts.tbl
...
allow specification of fiction viewer font
2009-12-30 08:02:37 +00:00
Hery
6939a6c05b
fix problems with lua scripts and post-processing
2009-12-27 13:01:42 +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
Wanderer
22586a2fb4
commit of aardwolf's clearOrders sexp function
2009-12-08 18:32:40 +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