Goober5000
a58ae3d02e
revert changes to close out issue #1870
2009-01-18 04:00:15 +00:00
phreak
98e1d6b56f
Fix for Mantis #1870
2009-01-15 01:07:35 +00:00
Goober5000
adbb60d8bc
fix algorithms for any-of, every-of, and number-of to align with or and and, respectively
2008-12-14 08:47:27 +00:00
karajorma
90ea4099fb
Fix a bug where you could supply add-background-bitmap or add-sun-bitmap with a string variable which then couldn't be used.
2008-12-12 17:38:23 +00:00
phreak
e1416453a8
This stops the crashing as demonstrated by Mantis #1844 , but I don't know why or if it is correct. Could someone please look at this?
2008-12-12 14:38:28 +00:00
karajorma
e55577111e
Fix Mantis 1835
2008-12-04 19:32:21 +00:00
karajorma
42b5befef0
Fix Mantis 1733 (String variables required a valid default value when used in SEXPs even if that value would never be used)
2008-12-01 22:34:38 +00:00
phreak
4bf6b83e93
whoops
2008-11-30 14:13:28 +00:00
phreak
1bc83969ac
fix the message variable parsing the right way (mantis #1831 )
2008-11-27 01:38:28 +00:00
karajorma
aa7fc2d713
Fix Mantis 1825 (Int3() when trying to change a ship flag on a ship which self destructed)
2008-11-26 23:19:31 +00:00
phreak
4a4268e77d
Fix Mantis #1831
2008-11-25 22:05:39 +00:00
Goober5000
219c7541f8
if a ship or weapon is allowed, allow all its # equivalents (further insurance against the Interceptor#Weak problem)
2008-11-24 02:13:13 +00:00
karajorma
cfa7e2d7c8
Fix Mantis 1823 (Rand SEXP only has 16-bit precision)
2008-11-20 20:03:14 +00:00
phreak
9b7fff7e99
more fixes that deal with mantis 1564
2008-11-18 03:30:13 +00:00
karajorma
68c51f242a
Fix Mantis 1812 (Ship-Deaths reported incorrectly for player starts controlled by AI ships)
2008-11-10 19:31:07 +00:00
taylor
ad1c5055d4
address some rounding issues with integer based percent values (Mantis #1807 )
2008-11-09 05:09:51 +00:00
phreak
d7fd6b4454
Possible fix for mantis #1564
2008-10-26 02:57:36 +00:00
Goober5000
d3f38e26bc
fix a bug in weapon-create argument validation
2008-10-24 21:14:24 +00:00
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
karajorma
55c8720e90
Fix Mantis 1791 (invalidate-argument did not work with multiple matching arguments)
2008-10-09 21:13:26 +00:00
karajorma
3bc9a692af
Fix Mantis 1774 (when-argument within when does nothing)
2008-09-30 17:36:12 +00:00
Goober5000
89d3b62524
make CAR and CDR fail-safe
2008-09-28 19:28:22 +00:00
karajorma
58fc12fc57
KeldorKatarn's afterburner lock SEXPs
2008-09-13 22:21:38 +00:00
Swifty
7e047b5c98
WMC's fix for RTT indexing and fix unnecessary slewing for 3D HUD elements.
2008-09-06 07:51:50 +00:00
karajorma
04e4095b36
Arguments within arguments (again). It should work this time round.
2008-09-04 20:38:14 +00:00
karajorma
3b6e62805f
Fix Mantis 1545 & 1754 (Order SEXP doesn't work with wings or destroy subsystems properly)
...
Add the Query-Orders SEXP
Deprecate the Order SEXP
2008-08-31 21:04:44 +00:00
WMCoolmon
4bff232cad
Change set-fov back to a global override
2008-08-30 19:48:20 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
karajorma
81a851e33a
Revert argument changes till I can figure out why they crashing VC6 builds but not 2005 ones.
2008-08-20 20:45:45 +00:00
karajorma
672e34c166
Fix the -argument SEXPs to allow them to cope with conditionals being used within them.
...
Clean up some code from in-sequence that never worked anyway.
2008-08-19 19:00:54 +00:00
karajorma
69b61ceaa4
Hmmmmmm. Using a VC2005 keyword as a variable name is just asking for trouble.
2008-08-16 08:13:43 +00:00
karajorma
bcdc1c1589
Fix Mantis 1731 (CTEXT reporting the variable value if a block variable of the same name existed)
2008-08-03 11:39:05 +00:00
WMCoolmon
bf23eb17c8
add isPXOEnabled scripting function to Testing library
2008-07-29 04:21:58 +00:00
karajorma
e44f2c1911
Fix Mantis 1732 (Ship-Guardianing ships destroyed before mission start)
...
Add change-player/team-score SEXPs
2008-07-24 20:01:30 +00:00
taylor
9231692e48
basic commit of a few Xt tree changes
...
- updated OpenGL code (basic shader support, etc.)
- new ships lab code
- scripting RTT fixes
- don't let FRED hog CPU time
2008-07-16 02:49:19 +00:00
Goober5000
b57c41c6f7
fix incompatibility in sexps between retail and SCP
2008-06-26 21:18:46 +00:00
Wanderer
ccbdf0ead1
added startMission lua function
2008-06-24 12:27:49 +00:00
WMCoolmon
89f5949071
The new scripting hooks for mouse/keyboard.
2008-06-23 07:50:47 +00:00
Backslash
8c0bc5ab59
Minor typos. Also an fspeed -> speed change.
2008-05-30 03:33:27 +00:00
Swifty
464fd54392
Modified fireball handling; ship class or type specific explosions.
2008-05-29 03:26:23 +00:00
karajorma
eec030d092
Fix a couple of those pesky scoping in for loops problems.
2008-05-26 16:39:59 +00:00
karajorma
2c55d4caeb
Blowfish's port of Turey's ship template code.
2008-05-26 15:54:29 +00:00
karajorma
7452c98564
Allow priorities higher than 89 for orders in FRED. Clean up unused parameters from several AI methods.
2008-05-26 13:29:53 +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
65bc5b7e5c
Don't quit the game when -output_sexps is used, and move the bulk of the code to a more appropriate location.
2008-05-25 20:13:35 +00:00
phreak
0ca63f3c96
Mantis #1462
...
non-local SSMs home in on objects instead of points to they can track moving targets.
ship_apply_tag and ssm_create take "team" arguments now to indicate which team fired the ssm strike.
ship-tag sexp also has an optional team argument added. Team 0 is used if the team is not defined.
missiles that are fired without a parent and are locked will travel at their max velocity and not 1/4 of their max.
bugfixes where sometimes an animation may sometimes have a duration of zero and cause an infinite loop.
2008-05-16 01:29:19 +00:00
karajorma
a711c256b4
Fix various crashes, assertions and Int3s caused by SEXPs unable to find subsystems after the player changes class during loadout.
2008-05-14 19:36:17 +00:00
karajorma
604faf652f
Nope. I don't know why I thought that would work either.
2008-04-22 10:13:43 +00:00
karajorma
77f6c1bc9c
Fix ship-subsys-guardian-threshold so it can be used with ships in loadout.
...
Add the set-persona SEXP
2008-04-20 18:31:47 +00:00
Backslash
759872d98b
A few more tweaks for ship name end_string_at_first_hash_symbol support.
...
Make FPS and status displays hide when hud is toggled with shift-O.
2008-04-16 03:21:37 +00:00