Goober5000
f8801446db
fix function references
2018-11-24 14:11:26 -05:00
asarium
0a53aff061
Clean up flagset handling of numeric values
...
This renames the functions exposed by flagset so that it's clear that
64-bit values are returned. This also cleans up usages of wrong format
specified when that value is printed which caused some issues in the
past.
This should also fix #1336 .
2017-05-02 10:28:29 +02:00
z64555
f4b455dd98
Replace apply_damage_to_shield() with shield_apply_damage().
...
Also remove a declaration of shield_get_max_quad() in object.h
2016-11-25 15:12:09 -06:00
z64555
b0d9c53688
Remove duplicate function get_max_shield_quad()
2016-11-25 15:07:37 -06:00
asarium
e8bd7363c8
Use microsecond precision for timestamps
...
This only increases resolution for the internal ticker but not for the
external timestamps
2016-08-31 14:32:53 +02:00
Fabian Woltermann
add8662737
Converts AI Info flags
2016-08-22 16:39:42 +02:00
Fabian Woltermann
e1ba2256ed
Changes the subsystem flags to the new flag system.
2016-08-13 13:52:51 +02:00
Fabian Woltermann
770fce8de5
Bitset flags -- take 2 ( #775 )
...
This introduces a new mechanism for handling bit flags. Instead of using an int (or two, or three) to write bits into, this uses the std::bitset in a wrapper class that accepts an enum class as input. This means that certain classes of errors we've had a few of in the engine, where a coder used the wrong set of flags or checked them against the wrong variable (SF_STEALTH vs SIF_STEALTH, for example) can now be detected at a compiler level rather than not at all.
2016-08-12 16:13:50 -07:00
asarium
a685642554
And another batch of 64-bit fixes
2016-08-12 09:42:55 +02:00
asarium
1bcd5400d3
Move build system to CMake
2016-07-22 12:07:19 +02:00
The E
a413255728
Renaming vm_vec_dotprod to vm_vec_dot
2015-12-01 20:35:47 +01:00
Goober5000
7dde0a79a7
that was just dumb
2015-10-25 21:14:08 -04:00
Goober5000
e895f86e44
come on, Travis
2015-10-25 20:48:02 -04:00
Goober5000
b82d0c579d
convert qsort to std::sort
2015-10-25 19:16:36 -04:00
MageKing17
bc0c7cf4c5
Vectorization of Ship_info.
...
Converts Ship_info from a ship_info[] to an SCP_vector<ship_info>. ship_info now has proper constructors, assignment operators, and a destructor. Num_ship_classes removed; various references to Num_ship_classes and/or MAX_SHIP_CLASSES (which remains for various other structures which need it) changed to Ship_info.size() instead.
This doesn't make the ship class limit dynamic, but it is a preparatory step to get there.
2015-04-27 00:01:22 -07:00
Echelon9
1883fcb8ae
Address Coverity 1093663: Out-of-bounds access with memcpy() in multi_oo_pack_data() for clients only
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10805 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 20:29:35 +10:00
Echelon9
f995298abf
Fix Coverity 1093663: Out-of-bounds access in multi_oo_pack_data()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10737 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-02 18:29:59 +10:00
z64555
8d5fbab768
z64555's debug console. Take 2. Includes changes to most (not Xcode) project files to include the added files of r10621
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10622 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:37 +10:00
The_E
98355da7d5
Revert 10619: Missing files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10620 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
z64555
2b2ba832f8
z64555's debug console.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10619 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
zookeeper
8cd19aa588
Merged model point shields from zookeeper branch.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10135 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
niffiwan
910d4bd293
Coverity: fix some out-of-bounds access issues
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9874 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:30 +10:00
The_E
c75469e066
PVS Studio fix: Pointer not checked against NULL
2012-11-03 09:37:29 +00:00
Echelon9
40983c4f40
GCC warning: variable set but not used
2012-06-17 13:32:04 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
The_E
d283d5800d
Another false alarm from PVS Studio
2011-09-04 12:33:00 +00:00
The_E
790dba1d3d
PVS Studio related: Mark false alarms as such
2011-09-04 09:35:08 +00:00
Echelon9
9c0edf2d64
Documentation: Code cleanup in multi_obj.cpp
2011-08-28 09:36:18 +00:00
Echelon9
91f01706fd
PVS-Studio fix: V519 The 'player_index' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1389, 1392 (multi_obj.cpp)
2011-08-28 09:32:55 +00:00
Goober5000
315bd423dc
rename subsystem type fields so as to better distinguish them
...
some consistency checks
add "no aggregate" flag to exclude a subsystem from aggregate hitpoint calculations
2011-02-14 08:33:23 +00:00
Zacam
9254dae233
Resolves LNK4221 under MSVC. multi_oo and psnet are not actually linked/used, so references pointing to them now go to multi_obj and psnet2 respectively. (Same as Antipodes 6881)
...
http://www.hard-light.net/forums/index.php?topic=73147.0
2011-01-30 05:59:36 +00:00
karajorma
47faa1c364
Fix for Mantis 2106 (Set-object-position crashes in multiplayer).
2010-02-06 11:20:32 +00:00
Wanderer
f1e808aa62
fix for a null vec issue which fubar hit.
2009-08-30 07:51:55 +00:00
Wanderer
75a514b5f9
split 'is_vec_null' macro into normal and 'safe to square' macros.
2009-08-23 11:36:44 +00:00
taylor
570e4cb1e6
make sure that a positive hull precentage doesn't hit 0 due to rounding error (Mantis #1720 )
2008-11-11 00:59:19 +00:00
turey
d5aa9ccba8
Bunch of stuff already in HEAD. Shouldn't break anything.
2007-12-20 01:57:45 +00:00
taylor
54e820b01c
cleanup of chcksum stuff (works properly on 64-bit systems now)
...
add chksum support for VPs, both a startup in debug builds, and via cmdline option (-verify_vps)
little cleanup in cmdline.cpp (get rid of the remaining "fix bugs" crap)
2007-04-11 18:21:23 +00:00
karajorma
1ef884683c
Fix bug whereby clients who were gliding can't jump out at the end of the mission. Remove a couple of magic numbers that looked at me the wrong way.
2007-04-05 16:49:21 +00:00
taylor
186bd01305
fix for network afterburner support, this one should be compatible with all previous versions
2006-07-13 22:08:10 +00:00
karajorma
270b84981e
Fix afterburner trails in multiplayer (Mantis 895)
2006-07-11 23:17:03 +00:00
taylor
f7e4a683a8
more big-endian fixage (seriously hope this is the last of it)
2006-07-06 21:54:59 +00:00
wmcoolmon
246cfcfa65
Codebase commit, most notably including objecttypes.tbl
2005-12-29 08:08:42 +00:00
taylor
819c13f658
more big-endian fixes
...
fix the totally retarded check I made for multi fighter beams (they really don't work right yet anyway) since it broke normal beams for clients
2005-12-22 04:35:04 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
Goober5000
5fb5c7faf7
various code cleanups, tweaks, and fixes; most notably the MISSION_FLAG_USE_NEW_AI
...
should now be added to all places where it is needed (except the turret code, which I still
have to to review)
--Goober5000
2005-07-25 03:13:26 +00:00
Goober5000
c17c11b651
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:26:00 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
Goober5000
6c17ef09ab
clarified max hull/shield strength names and added ship guardian thresholds
...
--Goober5000
2005-03-27 12:28:35 +00:00
taylor
3f9ffbc393
better support for Inferno builds (in PreProcDefines.h now, no networking support)
...
make sure NO_NETWORK builds are as friendly on Windows as it is on Linux/OSX
revert a timeout in Client.h back to the original value before Linux merge
2005-03-02 21:18:20 +00:00
taylor
a2232be0c7
merge with Linux/OSX tree - p0204
2005-02-04 10:12:33 +00:00