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
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
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
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
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
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
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
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
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
karajorma
4be0d29712
Switch from the directive-is-variable SEXP to the more powerful directive-value one.
2011-12-31 06:46:47 +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
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
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
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
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
Wanderer
badf45b75d
zookeeper's addition of new scripting hook that runs right before entering mission.
2011-11-29 21:32:57 +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
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
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Goober5000
6147c19496
clean up ship maneuvers
...
significantly improve sexp help for those sexps
2011-11-15 09:36:27 +00:00
Zacam
69ec80042e
From zookeeper: Correction to the getAnimationDoneTime in lua.cpp time_s calculation.
2011-11-14 09:45:20 +00:00
Goober5000
1eec8f5093
add is-in-mission sexp
2011-11-13 09:59:10 +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
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
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
The_E
96ef05f89c
From Eli2: Fix for Mantis 2533 (integer overflow in mission-time-msecs)
2011-11-02 11:40:51 +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
Zacam
876289a4b2
From ni1s: -Wreorder warnings clean up for GCC output.
2011-10-19 07:36:21 +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
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
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
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
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
The_E
42fcf8052c
Make force-jump cancel glide mode.
2011-10-01 20:09:00 +00:00