Echelon9
b43c50e178
Adopt the mprintf() macro correctly. It needs the braces to wrap the format string and variables
2012-01-30 16:58:23 +00:00
The_E
858426d06a
Fixes issue where the jumpnode destructor would try to use obj_delete() on already deleted objects. Also changes obj_delete() to no longer assert when called on an already deleted object; will print a message to the log now.
2012-01-29 16:37:52 +00:00
Goober5000
ff4218e405
undo animations for undockings that happen from exploding or jettisoning cargo
2012-01-29 09:58:59 +00:00
Valathil
a8206df327
Follow up to 8289 + 8310: Make the sprite rotation independent of the camera direction and revert the docking change and make it simpler
2012-01-23 22:50:01 +00:00
Valathil
2184d3698b
Follow up to 8289: Change the rotation back to relative cause of flipping out billboards at certain viewing angles and fix the dock rotation another way.
2012-01-22 14:01:18 +00:00
Valathil
c39576fce8
Fix for Mantis 2522: Moved the calculation of the sprite rotation to get the updated orientation matrix after dock calculation.
2012-01-21 10:33:57 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
Zacam
6c702a11e6
svn:eol-type set to LF.
2012-01-13 18:37:09 +00:00
Zacam
f6ad6b14b6
Synchronization of differences between Antipodes and Trunk. Cause unknown, just commit drift issues. Regular auditing will catch these faster, but people need to pay more attention when syncing Trunk changes over to Antipodes.
2012-01-13 17:49:57 +00:00
zookeeper
6353841820
Removed the unused "Ghost Save" entry from Object_type_names, because it was causing an off-by-one when using the getBreedName() scripting function. Also added "Beam" to the list since it's a valid object type.
2011-12-21 08:30:34 +00:00
Echelon9
5bf63e8c8d
Third part of fixing jump_nodes refactor, remove the union approach to linking Jump_nodes into Objects[]. First go at clearing the FRED errors.
2011-11-19 04:07:30 +00:00
Echelon9
d340f7ec2e
Documentation: Take out some old commented out code
2011-11-19 03:25:52 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Sushi
6a1f8a692c
Add $Armor Type support for missiles (table entry goes right after $Weapon Hitpoints)
2011-11-15 19:05:30 +00:00
Sushi
f333133656
Add workaround so that AI landings consistently work
2011-11-09 18:24:12 +00:00
Echelon9
86f53da049
Documentation: General code cleanup of fireballs.cpp
2011-11-06 12:14:31 +00:00
IssMneur
29b4a6c922
From m!m: patch to add support for customizable cockpit sounds. See: http://www.hard-light.net/forums/index.php?topic=78675.0
2011-10-22 22:11:31 +00:00
Echelon9
41919ee15b
Clarify some aspects of the geometry map and distortion map batchers, as well as clarifying and making consistent the function calling conventions throughout the code.
2011-10-16 05:08:33 +00:00
Zacam
cc2323b578
found by Valathil; in "int obj_in_view_cone( object * objp )", codes=g3_rotate_vector(&tmp,&pt); works out better than running the check, then discarding it since g3_code_vector calls to run g3_rotate_vector anyway.
2011-10-09 10:37:27 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
Echelon9
b9ec80682d
Documentation: Code cleanup in debris.cpp and ancilliary changes
2011-10-03 06:03:55 +00:00
The_E
dd1d682d9b
From m!m: Allows per-ship customization of ship sounds in ships.tbl. See Wiki for details.
2011-10-01 19:16:38 +00:00
The_E
7751e8c076
Another case where one should use the case-insensitive check found and fixed.
2011-09-17 21:48:46 +00:00
Zacam
9b9b172e9e
EOL inconsistencies corrected to match the rest of the files.
2011-09-14 19:25:15 +00:00
The_E
7d5bce148f
strcmp != stricmp. Using stricmp is necessary to avoid breaking old missions.
2011-09-14 18:49:06 +00:00
The_E
36aaaf018e
Since this is the only place where r1 and r2 are variable, let's safeguard it.
2011-09-13 20:36:41 +00:00
Echelon9
0ebe034272
Documentation: Big code cleanup of the collide**.cpp files
2011-09-12 12:34:49 +00:00
Zacam
a63dbe572c
Part Two: Synchronization pass of Trunk and Antipodes Differences.
...
Removes all extraneous ifdefs (Demo, E3, Multi Beta, etc).
Leaves Debug and Inferno.
2011-09-09 10:23:53 +00:00
Goober5000
3f1fcf2e71
having null iterators is apparently a no-no according to the C++ standard, so use a globally defined invalid iterator instead
2011-08-30 07:27:32 +00:00
Goober5000
3ce69f150a
waypoints and waypoint paths now have dynamic limits
2011-08-30 03:35:42 +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
93622a3748
PVS-Studio fix: V802 On 32-bit platform, structure size can be reduced from 40 to 32 bytes by rearranging the fields according to their sizes in decreasing order.
2011-08-28 07:00:38 +00:00
Valathil
da6727d9d1
Let's try this again. Adding Framebuffer distortion thrusters and explosions.
2011-08-22 17:57:01 +00:00
Swifty
fe605149c4
Soft sphere sprite rendering for particles, explosions, shockwaves, and thrusters.
2011-08-20 22:14:52 +00:00
Sushi
68b036a4af
Add "Fog Near Multiplier" and "Fog Far Multiplier" options for missions. Allows the FREDder to tweak distances at which ships fade out in a nebula.
2011-08-20 15:06:18 +00:00
karajorma
dc980ecc21
Halleck's bomb scoring code
2011-08-16 09:45:14 +00:00
The_E
ac8b7c4c10
From m!m: Adds access to collision data to the Lua API.
2011-08-04 11:05:25 +00:00
The_E
2dc34f3e1f
This is the correct version now.
2011-07-30 22:39:49 +00:00
The_E
7f219cad2c
Reverting due to bugs
2011-07-30 22:32:09 +00:00
The_E
3a702bdc1a
This should have been committed as well
2011-07-30 21:43:30 +00:00
Goober5000
96736a29ea
fix compile problems on MSVC6
2011-07-22 05:56:46 +00:00
The_E
7f5c3d343e
Valathil's code cleanup patch.
2011-07-20 18:04:43 +00:00
IssMneur
2272fd28e2
From Valathil: Vary the intensity of lighting from warp fireballs (wormhole) based on the radius of the fireball.
2011-07-06 04:22:09 +00:00
The_E
59cbde3d9e
Adds sexps to manipulate a ships' collision groups. If two objects are members of the same collision group, they will not collide with each other.
2011-06-28 08:36:54 +00:00
Wanderer
94faf22283
Fix for mantis 2406 for weapon vs. weapon collisions (not beam vs. weapon collisions however)
2011-04-20 08:17:24 +00:00
karajorma
a561ecc2a3
Remove a few annoying compilation warnings
2011-03-10 00:26:45 +00:00
Goober5000
dbd13bba38
activate the OF_IMMOBILE flag, and clean up the obj_move_all loop slightly
2011-02-12 05:00:13 +00:00
Goober5000
eae11de29b
commit the "immobile" flag, requested by Black Wolf, Diaspora, etc. This is just the infrastructure; the flag doesn't actually do anything yet.
2011-01-30 08:19:17 +00:00
Goober5000
110cd3bccc
add turret-protect-ship and turret-unprotect-ship
2011-01-21 08:55:26 +00:00
karajorma
b742eac806
LuaPineapple's fix for Mantis 2322.
...
Some comment clean up.
2011-01-19 08:24:26 +00:00