The_E
e978adbbdf
Adding a return and Warning in case of a null pointer here
2010-11-24 11:35:21 +00:00
Goober5000
0c945c210d
revert Echelon9's commit 6754 which needs to be discussed first
2010-11-23 08:27:18 +00:00
Goober5000
2b01993d64
corrected Echelon9's correction of Zacam's ... correction?
...
Anyway, sexp variables are only ints or strings, not floats. Therefore we need to print them to the file correctly.
2010-11-23 08:11:16 +00:00
Goober5000
10d6e21c9d
fix some things that Zacam noticed
2010-11-23 07:30:36 +00:00
Echelon9
8bc8deffd6
Fix: Local declaration of 'num_lines' hides declaration of the same name in outer scope.
2010-11-20 18:45:34 +00:00
Echelon9
8ba4f6c3c6
Corrected sprintf format, as 'Changed from 'int' to 'float' by Zacam 10/2010'
2010-11-20 17:27:45 +00:00
Echelon9
5bf9697227
Fix a range of potential NULL dereferences
2010-11-20 12:22:03 +00:00
Echelon9
9f361b791d
Fix a few malloc/vm_malloc changes to properly track memory usage; fix a potential NULL dereference in parse/lua.cpp
2010-11-20 08:25:16 +00:00
Goober5000
8ba6a7035c
add SCP_string variants of sprintf, sexp_replace_variable_names_with_values, replace_one, replace_all, and lcl_replace_stuff
...
change the death message to use an SCP_string
change the set-death-message sexp to accept actual messages
2010-11-14 02:07:45 +00:00
FUBAR-BDHR
367ff95e79
Remove sexp_turret_subsystem_targeting_disable() and sexp_turret_subsystem_targeting_enable() and changes them to use the new generic function.
2010-11-04 05:28:39 +00:00
FUBAR-BDHR
09e6972731
4 new sexps to control Wanderer's subsystem flags from r6581
...
Fix for Mantis 2330 subsystem targetable/untargetable in multi.
2010-11-04 05:17:52 +00:00
The_E
c4fe142f3a
Woops. How did I screw this up?
2010-10-29 04:14:13 +00:00
The_E
09343bfa46
Adding a warning and proper error handling to the "/" operator in order to catch div-by-zero scenarios.
2010-10-29 02:22:51 +00:00
The_E
5f5cea2c6a
Patch for minor snafu, from FUBAR
2010-10-29 01:10:19 +00:00
Wanderer
724c77afc2
adding blank scripting state to the game
2010-10-23 19:54:39 +00:00
The_E
c885611291
Adding special message source "<none>"
2010-10-22 23:17:44 +00:00
The_E
89ae5cf458
m!m's function to access the "affected by gravity" flag
2010-10-22 20:43:27 +00:00
The_E
26ac4b804a
Fix for Mantis 2171 (documentation out of sync for gr.getVectorFromCoords)
2010-10-22 13:45:33 +00:00
The_E
332f94886b
Thank you code analysis. This could have been ugly....
2010-10-20 20:06:55 +00:00
Zacam
6e46c4668d
From FUBAR: Turret ROF Sexp
...
http://www.hard-light.net/forums/index.php?topic=71884.0
2010-10-18 21:23:16 +00:00
Zacam
75043ff5b1
go_faster from Antipodes 6. Everybody, say "Thank you, taylor!"
2010-10-18 18:32:37 +00:00
karajorma
f5065880dd
Fix the camera-shudder SEXP to work in multiplayer.
2010-10-17 09:33:08 +00:00
The_E
b352e39494
m!m's team:getColor() function for scripting.
2010-10-15 19:45:02 +00:00
karajorma
baf028bdb7
Mantis 2324 (Missiontime-msecs gives the wrong value after SHORT_MAX milliseconds)
2010-10-13 06:18:36 +00:00
karajorma
9bcf6d9521
Change Alt_Type into an int to fix a compiler warning.
...
Move the multi_sexp_ship_change_callsign function (Multi_ functions should sit directly below the server side function that calls them so that they can be updated at the same time).
2010-10-13 02:16:34 +00:00
The_E
4bb193a519
Patch for Mantis 1963 (Optional argument for set-object-facing and set-object-facing-object doesn't work)
2010-10-08 12:01:11 +00:00
Zacam
f14b184c81
Warning Fix: "sexp_show_subtitle_text"/"sexp_show_subtitle_image"
...
No more 'float' to 'int'. (not the best way, but it is expedient and doesn't risk breaking things)
2010-10-07 02:21:15 +00:00
Zacam
76c4083cbd
Warning Fix: for "set_special_explosion"
...
Corrects conversion of 'float' to 'int', by setting set_special_explosion related entries to 'float'
2010-10-06 19:18:38 +00:00
karajorma
42fba98066
FUBAR's fix to allow the callsign SEXP to work properly in multiplayer.
2010-10-06 08:53:28 +00:00
Zacam
8c4e0e9614
Double-Trouble: Noted by FUBAR, somebody made a copy-paste mistake
2010-10-04 23:14:27 +00:00
The_E
4512219c9f
Adding the ad.stopMusic() function to scripting
2010-10-01 22:27:37 +00:00
The_E
e8aa478524
Another compilation warning fix.
2010-10-01 03:06:09 +00:00
The_E
044df34584
Adding the "force-glide" sexp by request of Axem
2010-10-01 00:38:58 +00:00
The_E
4f6fcc566e
Removing an Int3() that isn't as impossible to hit as expected. Since we can exit gracefully here, we should.
2010-09-29 19:01:04 +00:00
Goober5000
46f48ee3a6
fix redefinition of local variable 'i'
...
remove unused local variable 'wip'
2010-09-27 05:27:27 +00:00
The_E
55d7ca153e
Better error checking for adjust-audio-volume, fixes Mantis 2314. Thanks to Echelon9 for noticing this.
2010-09-26 15:54:19 +00:00
Wanderer
2a6727136e
Fix for mantis 2303 and related issue in lua.cpp
2010-09-26 11:32:18 +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
The_E
fa7d8cb479
Avoiding a possible Int3() due to invalid data being passed; since the documentation for get-object-* doesn't specify that you need to give all 3 "relative coordinate" arguments, this needs to be checked.
2010-09-24 06:28:25 +00:00
IssMneur
730ac54217
Fix bug in the new support ship sexp noted by Goober5000.
2010-09-22 03:05:57 +00:00
The_E
3efcad84a7
Flags are bitfields, so an "&" needs to be used instead of an "&&"
2010-09-22 00:06:20 +00:00
IssMneur
654be5a6e7
Removes the hard restriction (compile time) on the maximum number of "active" support ships per team. Controlled by an optional seventh argument to set-support-ship. Also fixes glitch where only "max concurrent ships" number of support ships would actually respond to support requests.
2010-09-21 05:16:23 +00:00
The_E
467c7d1e39
Fixing typos noticed by FUBAR
2010-09-16 21:41:10 +00:00
karajorma
eb1889327f
More SEXPs fixed for multiplayer.
2010-09-15 00:49:14 +00:00
karajorma
e960a14280
Add the has-primary/secondary-weapon SEXPs
2010-09-15 00:47:08 +00:00
The_E
e76761a84a
...For real
2010-09-12 19:38:48 +00:00
The_E
fe50ee7231
Fix for is-facing (hopefully)
2010-09-12 19:30:10 +00:00
The_E
3e390ecfdc
... right this time.
2010-09-11 16:55:10 +00:00
The_E
14ae54ad3c
Adding ship:getEMP() for scripting.
2010-09-11 16:52:36 +00:00
The_E
439c2c78cd
Adding object:getrvec() and object:getuvec() for completeness' sake
2010-09-10 23:11:28 +00:00