Echelon9
ffa4efd64a
Fix LLVM warning: Declaration shadows a field of 'cockpit_display_*'
2012-09-06 16:44:16 +00:00
Goober5000
5785885641
Admiral MS's patch for destroy-instantly and destroy-subsys-instantly
2012-08-27 02:50:05 +00:00
Goober5000
1c5823030c
this actually does exactly the same thing, but it's more consistent with the rest of the code
2012-08-25 23:49:32 +00:00
Goober5000
4d6b42a298
variable tokens can be quite a bit longer than standard tokens due to their unusual format; handle this properly
...
(fixes Mantis #2670 )
2012-08-22 05:31:40 +00:00
Swifty
50c649a030
Restored set object position functionality for OSWPT_TYPE_SHIP since they no longer should be sharing the same code with OSWPT_TYPE_WAYPOINT. See Mantis 2612.
2012-08-17 06:47:19 +00:00
Valathil
71ccf2e274
Fix for Mantis #2612 : Allow set-object-position to work with waypoints. Patch by Admiral MS
2012-08-14 20:25:23 +00:00
Swifty
c6c12fc251
go_even_faster: Improved collision detection performance by rewriting broadphase and narrowphase testing.
2012-08-11 21:14:53 +00:00
zookeeper
93758084dc
Fixed includes forgotten from last commit.
2012-08-01 10:06:54 +00:00
zookeeper
20b3d8c94d
Prevent garbage collection of texture handles which still have a non-zero load count. Underlying reason for why this can happen in the first place still unknown.
2012-08-01 09:45:26 +00:00
Goober5000
bbcd26c2d7
remove warning
2012-07-29 20:57:35 +00:00
Goober5000
cc45955cf2
m!m's patch for returning invalid IDs
2012-07-29 19:22:48 +00:00
The_E
4762aa6191
A few fixes for the On Weapon Fired hook.
2012-07-29 17:31:08 +00:00
Goober5000
68bf7db7c6
hooray for parentheses
2012-07-29 17:00:18 +00:00
The_E
6da6894f22
New weapons.tbl flag: "no primary linking" Weapons with this flag can not be linked with other weapons. This also introduces a third (!) field for weapon flags.
2012-07-29 11:32:39 +00:00
The_E
3b1a94b751
After a long time being tested in TAP, Team Colors are now stable. Please refer to http://www.hard-light.net/forums/index.php?topic=79743.0 for details.
2012-07-28 20:53:57 +00:00
Goober5000
fcbf33aeab
some const stuff, useful for the sounds patch
2012-07-26 07:46:35 +00:00
Goober5000
3eeb334d77
allow skyboxes to be rendered at a custom orientation
2012-07-24 03:53:25 +00:00
Goober5000
9d08a95283
standardize conversion to radians
2012-07-20 23:19:11 +00:00
Echelon9
ddbbe72630
PVS-Studio fix: V601 The 'true' value is implicitly casted to the integer type. Inspect the fifth argument. lua.cpp 6982
2012-07-16 12:19:00 +00:00
Goober5000
1adc301bde
prevent ships with mismatched models and tables from causing crashes later on (Mantis #2689 )
2012-07-15 22:54:47 +00:00
Goober5000
a687fbbf1b
this is a slightly modified version of m!m's patch for Mantis #2688
2012-07-15 18:48:42 +00:00
Goober5000
10e1e1d8ef
add four useful sexps: set-arrival-info, set-departure-info, set-debriefing-toggled, set-subspace-drive
...
also, fix a hole in the oswpt routine (and a few sexps) dealing with wings that weren't present yet
2012-07-15 05:21:12 +00:00
Goober5000
dfc0d6ec15
m!m's fix for signed/unsigned mismatch
...
(IT'S OVER 9000!!!)
2012-07-14 18:11:21 +00:00
Goober5000
fdd685fb8a
we want to truncate based on number of lines, not number of characters
...
also, we want to truncate the FRED error message boxes too
(this is a better fix for Mantis #2658 )
2012-07-14 06:23:45 +00:00
The_E
ab868da2d9
Various fixes and additions to the lua API from m!m:
...
Matrix vectors: getUvec(), getFVec() and getRVec()
equals operators for weaponclass and shipclass to improve performance where a string comparison was needed before
Cockpit display interface. Allows scripting to access the cockpit displays defined in ships.tbl and render to them using RTT
A getParent() function in the subsystem handle which returns the parent object of the subsystem
Numerous fixes in the way turret subsystems are handled which now results in more correct behavior
Targetable variable in subsystem which specifies if the subsystem is targetable or not
getNextFiringPosition() function in subsystem which returns the position and the direction of the next firing operation of the specified turret
Scripting access to post processing values
getCurrentCamera() function to retrieve the currently active camera
setLineWidth() to modify the width of the lines that are getting drawn
setClip() and resetClip() to set the clipping areas used for drawing
2012-07-11 17:19:33 +00:00
Goober5000
af4e7c3069
restore this extra space, which is necessary for formatting purposes
2012-07-07 07:39:46 +00:00
Goober5000
93c89a19ab
fix for Mantis #2179 , proper afterburner shutdown
2012-07-03 03:46:18 +00:00
Goober5000
ec5f9ccf81
CommanderDJ's set-player-throttle-speed
2012-07-02 02:17:35 +00:00
Goober5000
3fd421d432
fine-tune Valathil's error message
2012-06-25 04:27:26 +00:00
Valathil
f97eac7851
Fix for Mantis 2670: Followup: Fix the bug without breaking mission parsing.
2012-06-24 14:04:16 +00:00
Valathil
bd3a0fe0de
Fix for Mantis 2670: Truncate tokens to their maximum length and pop up a MessageBox for the user.
2012-06-23 20:54:05 +00:00
Goober5000
1990e4a635
since the if() block already checks for a specific gauge type, we can safely do the static_cast
2012-06-17 05:41:47 +00:00
Valathil
6d7674967f
Fix for Mantis 2665: Include Player Ship's in the search for valid Message Sources
2012-06-14 21:52:23 +00:00
Echelon9
791146c9ac
GCC warnings: first pass of warning: variable is set but not used
2012-06-12 15:32:47 +00:00
The_E
1413eddcd2
From CommanderDJ: Fix for Mantis 2663 (hud-set-color only works once per mission)
2012-06-08 14:45:41 +00:00
Echelon9
e20a418c94
PVS-Studio fix: The 'false' value is implicitly casted to the integer type.
2012-05-28 13:35:39 +00:00
Echelon9
4dcb3a7a16
GCC warning: comparison between signed and unsigned integer expressions
2012-05-27 14:23:41 +00:00
Echelon9
55703bb600
GCC warning: Defined by not used, in lua.cpp
2012-05-27 14:00:17 +00:00
Echelon9
592c9421ac
GCC warning: Fix absence of parentheses, further
2012-05-27 13:35:05 +00:00
Echelon9
bd405ee457
GCC warning: converting to non-pointer type 'char' from NULL
2012-05-27 13:32:08 +00:00
Echelon9
0ba6d38a31
GCC warning: Fix absence of parenthesis
2012-05-27 13:07:53 +00:00
Goober5000
dc456c667b
restore code that was inadvertently deleted, fixing Mantis #2478
2012-05-20 19:25:38 +00:00
Goober5000
1d4dee495a
if we are ignoring whitespace and we encounter a newline, don't eat it
2012-05-15 01:27:38 +00:00
Goober5000
3cc5be68d8
other people than me also deprecate sexps now
2012-05-14 06:23:05 +00:00
Goober5000
6812854419
supernova-stop sexp, written by CommanderDJ
2012-05-11 06:34:49 +00:00
karajorma
998c7eb207
Add a SEXP allowing the FREDder to change the orders a player can give to a ship.
2012-05-09 05:09:40 +00:00
Echelon9
5bc51383b7
Fix The_E's partially broken commit in r8757 -- there is no wi_flags3 or WIF3_NOLINK yet
2012-05-06 06:47:12 +00:00
The_E
0330dbf493
Fixes a few more bugs with the On Weapon Deselect hook
2012-05-05 22:05:46 +00:00
The_E
9d3faf893e
Adds ability for scripting to manipulate subsystem armor classes and shield armor classes as well.
2012-05-05 14:39:49 +00:00
The_E
2b40344bc7
Adds scripting access to a ships' armor type.
2012-05-05 14:07:31 +00:00