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


git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9006 387891d4-d844-0410-90c0-e4c51a9137d3
It's about time these changes got committed. They've been tested by Diaspora for over a year without issue. 

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9008 387891d4-d844-0410-90c0-e4c51a9137d3
Target direction arrow properly disappears when target is placed under reticle. Fixes Mantis 2504. 

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9009 387891d4-d844-0410-90c0-e4c51a9137d3
Merge branch 'trunk' of github.com:nisselarsson/fs2_open into cmake
Merge branch 'cmake' into sdl2
check to make sure a wing that has a player does not also have an arrival delay (Mantis #2678)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9010 387891d4-d844-0410-90c0-e4c51a9137d3
that's an order of magnitude too high for integers

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9011 387891d4-d844-0410-90c0-e4c51a9137d3
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)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9012 387891d4-d844-0410-90c0-e4c51a9137d3
m!m's fix for signed/unsigned mismatch
(IT'S OVER 9000!!!)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9013 387891d4-d844-0410-90c0-e4c51a9137d3
Merge branch 'trunk' of github.com:nisselarsson/fs2_open into cmake
this really ought to be a Warning, not an Error

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9014 387891d4-d844-0410-90c0-e4c51a9137d3
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

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9015 387891d4-d844-0410-90c0-e4c51a9137d3
Commit contribution from community for Lua debug as preference, while preserving old behaviour. Sorry I don't have the name of the contributor or can find the original thread containing this patch.

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9016 387891d4-d844-0410-90c0-e4c51a9137d3
this is a slightly modified version of m!m's patch for Mantis #2688

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9017 387891d4-d844-0410-90c0-e4c51a9137d3
prevent ships with mismatched models and tables from causing crashes later on (Mantis #2689)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9018 387891d4-d844-0410-90c0-e4c51a9137d3
PVS-Studio fix: V619 The array 'v' is being utilized as a pointer to single object. gropengldraw.cpp

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9019 387891d4-d844-0410-90c0-e4c51a9137d3
PVS-Studio fix: V619 The array 'shipp->ab_info' is being utilized as a pointer to single object. shipcontrails.cpp

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9020 387891d4-d844-0410-90c0-e4c51a9137d3
Whoops, fix commit r9020

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9021 387891d4-d844-0410-90c0-e4c51a9137d3
PVS-Studio fix: There is only one PI.

V624 The constant 3.14159 is being utilized. The resulting value could be inaccurate.

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9022 387891d4-d844-0410-90c0-e4c51a9137d3
PVS-Studio fix: V601 The 'true' value is implicitly cast to the integer type. Inspect the second argument.

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9023 387891d4-d844-0410-90c0-e4c51a9137d3