Zacam
55996169ff
Trunk Sync: r8456-8459
2012-02-10 19:05:36 +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
Zacam
3a62c1bb23
From CommanderDJ:
...
Introduces +Name identifiers for mainhall.tbl entries:
- +Name identifiers only need to be added to the lo-res (640x480) entry of the mainhall. If you really must add a +Name to both res versions, the two resolutions must have the exact same name.
- +Name identifiers are added immediately under the $Main Hall string
Vectorises Main_hall_defines, thus removing the MAIN_HALLS_MAX limit.
Main halls are now loaded based purely on campaign files. Hall indexes are no longer stored in the player struct, and thus this patch changes the pilot file version.
2012-02-09 12:56:10 +00:00
Zacam
feba1296d8
Trunk Sync: r8406-8410
2012-01-30 18:27:55 +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
4236636365
Trunk Sync: r8287, r8291-8295
2012-01-22 02:09:35 +00:00
zookeeper
c12fa5c183
Small scripting documentation fix: modeltextures -> modeltextures_h.
2012-01-21 15:52:31 +00:00
Zacam
e75c12920b
Trunk Sync: r8207-8212
2012-01-14 02:35:17 +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
Zacam
aacaf1944b
Trunk 8199: 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:53:56 +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
Zacam
6e648f5205
Trunk Sync r8013
2011-11-19 16:32:50 +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
The_E
465b3296ae
Trunk sync r7997
2011-11-16 18:16: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
Zacam
657182c001
Trunk Sync r7936
2011-11-01 04:16:18 +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
6c6849405d
Trunk Sync r7891
2011-10-11 09:04:55 +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
Zacam
3839228867
Trunk Sync r7871
2011-10-08 05:41:06 +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
The_E
f77910e72e
Trunk sync r7842
2011-10-02 07:54:02 +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
Zacam
e6a4e6114a
And another Sync Drift check for AP to tidy things up.
2011-09-25 08:27:17 +00:00
The_E
15afdd864a
Trunk sync r7792
2011-09-24 17:44:49 +00:00
The_E
4ce7dfe9e4
Revert 7789
2011-09-24 17:42:56 +00:00
The_E
24d6ca3bad
PVS Studio related: False alarms
2011-09-24 15:46:24 +00:00
Zacam
a4c59963ef
Trunk Sync (r7732, r7736, r7737)
2011-09-17 15:11:02 +00:00
The_E
5b53430da5
From m!m: Adds isTurret() and isAfterburnerActive() Scripting functions
2011-09-17 12:59:54 +00:00
Zacam
98bbc8bee3
These PVS-Studio checks were fixed by IssMneur in Trunk r7676 and don't need flagging.
2011-09-09 13:46:12 +00:00
The_E
f7e75c32b1
A few PVS Studio things (fixes, false alarm marks)
2011-09-09 11:47:55 +00:00
Zacam
17b3c8be17
Trunk Sync r7677
2011-09-08 05:47:44 +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
The_E
b725ff7e21
trunk sync r7657
2011-09-06 21:22:39 +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
The_E
d8a728d5f1
Trunk sync r7593
2011-08-30 18:17:09 +00:00
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
Goober5000
3ce69f150a
waypoints and waypoint paths now have dynamic limits
2011-08-30 03:35:42 +00:00
Zacam
ad3b01c2f2
Trunk Sync r7563
2011-08-29 00:21:43 +00:00
Echelon9
cb07f76f6c
Documentation: Clean up lua.cpp
2011-08-28 08:54:10 +00:00
Zacam
2f6d659147
Trunk Sync r7529
2011-08-24 20:41:13 +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
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