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
57d7fb7fbd
Clarifies the code for the On Weapon Fired hook. also adds On Primary Fire and On Secondary Fire hooks.
2012-05-05 13:46:24 +00:00
zookeeper
ab34afd212
Added the $On Turret Fired scripting hook.
2012-01-21 15:16:53 +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
The_E
49fe727218
Fix for the $On Weapon Fired: scripting hook
2011-09-14 12:21:45 +00:00
The_E
debdb78531
A few fixes for the $Weapon Class scripting hook and associated actions
2011-09-12 12:35:08 +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
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
Echelon9
80a027a400
PVS-Studio fix: V803 Decreased performance. In case 'tvs' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator.
...
For further discussion see, http://www.viva64.com/en/b/0093/
The scenarios where it will improve performance are under Debug builds. This improvement will however allow quicker use of other profiling tools that need to run on Debug builds.
Note. Code with size_t does not see the performance improvement comparison to iterators due to absence of array overrun check.
2011-08-28 08:31:25 +00:00
Echelon9
37097f2d83
PVS-Studio fix: Duplicate comparison check for stricmp('FRED2_Open', scp->data.name). Instead use the second comparison to check for the same naming format as stricmp('FS2Open', scp->data.name)
2011-08-13 08:22:51 +00:00
The_E
7f5c3d343e
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
Wanderer
724c77afc2
adding blank scripting state to the game
2010-10-23 19:54:39 +00:00
The_E
332f94886b
Thank you code analysis. This could have been ugly....
2010-10-20 20:06:55 +00:00
The_E
536203d7e3
Adding the "On Weapon Selected", "On Weapon Deselected", "On Weapon Equipped" and "On Weapon Fired" scripting actions.
2010-09-25 19:43:45 +00:00
Wanderer
c01b067c1a
better handling of 'dying' weapons for lua scripting.cpp
...
added lua controls for accessing beams
2010-06-09 16:49:20 +00:00
Goober5000
434059b5a2
commit the revision patch originally inspired by Zacam
2009-12-05 22:53:04 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
29abf1f51c
Python Stripping. Can't promise to have gotten the whole lot though.
2009-07-13 14:11:24 +00:00
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
WMCoolmon
89f5949071
The new scripting hooks for mouse/keyboard.
2008-06-23 07:50:47 +00:00
WMCoolmon
6bdf192fec
Scripting:
...
- Add On Mission Start, On Mission End hooks; swap Warpin and Warpout to Warp In and Warp Out
- Safer handle helper structs
- Improved math, eg matrix interpolation and vector multiply/divide
- Filesystem read AND write support
- Initial scripting orders support
- Better waypoints support
- Assorted requested scripting functions
bmpman:
- Safer bm_get_filename
cfile:
- Support for RW, rather than just R or W, file modes.
model:
- Safer texture_info struct. Taylor, I know we talked about this, but I realized that it was just a lot better for what it does and it shouldn't be too much trouble to replace with the new system (operations tend to be much more concise and clear). Let me know if any unexpected difficulties arise.
2008-05-25 22:52:05 +00:00
WMCoolmon
15f6909279
$Application hook for mantis 0001574
2008-03-23 07:00:54 +00:00
taylor
6aa46ca8d2
update to newest FS2NetD client code
2008-03-20 21:29:41 +00:00
wmcoolmon
b28354485b
Fix script-eval and script-eval-num
2007-11-24 08:55:21 +00:00
wmcoolmon
45c9b5f72e
- Asteroid, debris, and ship collision damage type support
...
- Scripting system variable-setting optimizations
- Standardize override style
- Reinstate "Self" variable for HUD
- Automatic drawString moving-to-next-line
- Visible subsystem name can be changed through scripting; will not be changed in the log
- Fix many for-loop signed/unsigned warnings related to size()
- Asteroid, debris scripting collision handling
- Many, many additional Lua functions and variables
- Fix the dreaded random-Lua-parse-crash bug
- Fix struct array malf-ups due to flag_def_list change
2007-11-23 23:49:42 +00:00
Goober5000
8a65c81333
added fixes for #1415 and #1483 , made sure every read_file_text had a corresponding setjmp, and sync'd the parse error messages between HEAD and stable
2007-09-02 02:10:29 +00:00
Goober5000
72d036cc42
revert Bobboau's commits for the past two months; these will be added in later in a less messy/buggy manner
2007-02-18 06:17:48 +00:00
wmcoolmon
a9bbc8c375
Lua - fix one thing so you can break another.
2007-01-15 09:24:14 +00:00
wmcoolmon
85e22a4865
Fix HookVariables-related stuff, and add errors in case it ever gets broken again.
2007-01-15 09:20:54 +00:00
bobboau
6d7c837732
ok, something aparently went wrong, last time, so I'm commiting again
...
hopefully it should work this time
damnit WORK!!!
2007-01-14 14:03:40 +00:00
wmcoolmon
3979af39b1
Fix +Override, attempted fix for code adjacent to [] causing crash in scripting.tbl (Unreproducable), and (Untested) fix for script-eval.
2007-01-14 12:06:56 +00:00
wmcoolmon
fd151e4c43
Attempt to remove various warnings under MSVC 2003, mostly related to casting, but also some instances of inaccessible code.
2007-01-14 10:26:39 +00:00
wmcoolmon
b90b5716df
WMC codebase commit. See pre-commit build thread for details on changes.
2006-12-28 00:59:54 +00:00
taylor
31f5a80283
fix some stuff_string()'s that got missed previously
2006-09-13 03:57:00 +00:00
taylor
fe80df5c2e
fixes for stuff_string() bounds checking
2006-09-11 06:51:17 +00:00
wmcoolmon
d2eac3746f
enumerations; drawImage update; subsystem orientation and fireWeapon() member objects; many new weapons.tbl data variables; conditional hooks; modular scripting table support (*-sct)
2006-09-04 06:11:50 +00:00
taylor
a8be2f7ffa
fix various compiler warnings and things that Valgrind complained about
2006-06-27 05:07:49 +00:00
wmcoolmon
b58c79b75d
Scripting system prep for 3.6.9
2006-06-07 03:23:15 +00:00
taylor
38f72231a9
if in freecamera mode, or the hud is disabled, the don't draw scripted hud elements
...
(this is almost hackish, but the bug never got a comment from WMC, so he can fix it later if this is wrong)
2006-05-09 09:23:05 +00:00
wmcoolmon
b9f263495a
Maneuvering hruster scaling, gun convergence
2006-04-04 11:38:07 +00:00
wmcoolmon
7d1a4f0efb
Removed resize fields; fixed silly bug with RunBytecode
2006-02-09 05:07:02 +00:00
wmcoolmon
c4f19e64bc
Removed USE_LUA; Simulation hook; better debug messages for Lua; swapped out mounted weapon functions for variables
2006-01-31 06:46:14 +00:00
Goober5000
ef1ae60796
ugh; these scripting #defines really need to be kept up-to-date
2006-01-26 02:26:17 +00:00
wmcoolmon
faa0b28008
Texture replacement stuff
2006-01-21 09:36:58 +00:00
wmcoolmon
24d8f7973f
Scripting updates; Special scripting image list; Better operator meta; Orientation type; Wing type; Texture type. Fix for MSVC7 compiling.
2006-01-21 02:22:05 +00:00
wmcoolmon
769608ef6d
More Lua checks; added Lua vector object; better operator support.
2006-01-19 20:18:12 +00:00
wmcoolmon
a657ad4cad
Lua debugging stuff; gr_bitmap_ex stuff for taylor
2006-01-19 16:00:04 +00:00
wmcoolmon
5a566f6e63
Various scripting updates
2006-01-18 06:13:18 +00:00