Commit Graph
218 Commits
Author SHA1 Message Date
Echelon9 1612ae5ec5 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
Zacam 73b7dc8715 From zookeeper: Correction to the getAnimationDoneTime in lua.cpp time_s calculation. 2011-11-14 09:45:20 +00:00
The_E a11f37328d Moving this up a bit more 2011-10-28 11:21:25 +00:00
The_E 842681b85e 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 dc5af99778 From zookeeper: Adds kill() function to asteroid objects 2011-10-28 10:01:54 +00:00
The_E 106ba35459 From m!m: Reworked scripting sound API 2011-10-28 09:59:31 +00:00
Echelon9 06d79abb33 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 6ff0d4a5db 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
The_E e8111cce25 Damn, wrong line changed. 2011-09-30 17:54:01 +00:00
The_E 7248a5efba 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 833b2255cd Revert 7789 2011-09-24 17:42:56 +00:00
The_E eb7eb802bb PVS Studio related: False alarms 2011-09-24 15:46:24 +00:00
The_E ea151715ea From m!m: Adds isTurret() and isAfterburnerActive() Scripting functions 2011-09-17 12:59:54 +00:00
IssMneur 56a55da2a3 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 247052efdf 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
Valathil af1d8b05ee Enable alpha channel on render to texture targets and provide scripting functions with alpha capabilities 2011-09-01 16:16:03 +00:00
The_E 6e17a7f6ae PVS Studio related: Mark false alarms as such. 2011-08-30 17:46:49 +00:00
Goober5000 6a65e3cb11 waypoints and waypoint paths now have dynamic limits 2011-08-30 03:35:42 +00:00
Echelon9 4c4da1ed98 Documentation: Clean up lua.cpp 2011-08-28 08:54:10 +00:00
The_E dacf501440 Update for the ad.playMusic() function so that it accepts a volume parameter 2011-08-24 15:20:04 +00:00
Echelon9 f64ca3550d 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 98a9293520 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
The_E 573a2840f9 object:checkRayCollision() for scripting, from m!m 2011-08-22 12:57:01 +00:00
Echelon9 5db97c985e PVS-Studio fix: Expression 'i >= 0' is always true. Unsigned type value is always >= 0. 2011-08-11 14:18:26 +00:00
The_E c15384dc48 Ooops, meant to use a pointer there. 2011-08-04 13:34:33 +00:00
The_E 0a756a4d2a Resolve an "uninitialized Variable" warning 2011-08-04 13:33:35 +00:00
The_E ce0355e27a From m!m: Adds access to collision data to the Lua API. 2011-08-04 11:05:25 +00:00
The_E 6ddf6d7794 Adding the function "ship::addShipEffect(string name, int duration)" to the LUA API. 2011-08-04 10:58:28 +00:00
The_E 8c81e1c220 Valathil's code cleanup patch. 2011-07-20 18:04:43 +00:00
The_E 4ae387e92c From m!m: Gives scripting access to debris chunk size data 2011-07-18 17:58:49 +00:00
The_E 1cff27d3cc 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
The_E d45a78188b 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
The_E 4fc74f172b Patch from m!m to give scripting access to debris metadata 2011-06-25 14:15:44 +00:00
The_E 8bdd4c98f7 Patch for Mantis 2421 from m!m: Adds scripting controls for particles. 2011-06-01 19:41:07 +00:00
The_E 76d4e16985 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 72496f412f A few tweaks and additions by nuke 2011-03-19 21:37:51 +00:00
The_E 9368cd1d8f 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
The_E f98ba06c10 More lua stuff from m!m 2011-02-13 19:45:12 +00:00
The_E a0c9343414 Fix for Mantis 2380 (Setting target subsystem through scripting doesn't work) 2011-01-23 17:10:53 +00:00
Swifty 2fb94559cc 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
Zacam 6f29bdecd6 Antipodes 7 Merge: HUD Overhaul, by Swifty. 2010-12-12 20:34:15 +00:00
Echelon9 6d0c3f4078 Fix: Local declaration of 'num_lines' hides declaration of the same name in outer scope. 2010-11-20 18:45:34 +00:00
Echelon9 cea5c79872 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
Wanderer b7a89e21d8 adding blank scripting state to the game 2010-10-23 19:54:39 +00:00
The_E b0e5b362be m!m's function to access the "affected by gravity" flag 2010-10-22 20:43:27 +00:00
The_E e99c04c5b9 Fix for Mantis 2171 (documentation out of sync for gr.getVectorFromCoords) 2010-10-22 13:45:33 +00:00
Zacam 58ad43cff1 go_faster from Antipodes 6. Everybody, say "Thank you, taylor!" 2010-10-18 18:32:37 +00:00
The_E bbab34e2cf m!m's team:getColor() function for scripting. 2010-10-15 19:45:02 +00:00
The_E 11549b60b1 Adding the ad.stopMusic() function to scripting 2010-10-01 22:27:37 +00:00
The_E f73bfc5eb1 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