Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
asarium
9aed627ce7
Replace longjmp with exceptions
...
Also added a EditorConfig file
2015-04-24 15:03:59 +02:00
MageKing17
c8b48e4a36
Change m_badge_earned into a vector.
...
This makes it so that getting enough kills to cross the threshold for more than one badge simultaneously grants all of them (with the debriefing showing only the last one) and backs out all of them if the scoring is backed out.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11198 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-16 19:57:49 +10:00
Echelon9
cba4cc9943
Fix cppcheck (performance) Prefer prefix ++/-- operators for non-primitive types.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11015 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-23 13:05:06 +10:00
The_E
b96b0e87d8
Removes nonfunctional debug code left over from the :V: days
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10911 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:32 +10:00
Goober5000
2fe0ec8ef0
Yarn's patch for Mantis #3049 (character remapping in tstrings.tbl)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10894 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:31 +10:00
Echelon9
d37e4c567d
Fix Coverity #1093706 Negative array index read in scoring_eval_kill_on_weapon()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10855 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-05 10:38:08 +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
niffiwan
da21b44d07
fix gcc warning: declaration of ‘ship_obj’ shadows a global declaration [-Wshadow]
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10125 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
niffiwan
4581ed9aa2
Persona-specific promotion debriefings (from Yarn)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10124 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
Goober5000
f0830b6d64
scoring_level_init is only supposed to initialize a subset of the stats
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9814 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:35 +10:00
Goober5000
7248acc004
use a copy method rather than memcpy to clone stats (Mantis #2922 )
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9813 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:35 +10:00
Goober5000
7f90f5c674
make MAX_MEDALS dynamic
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9799 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-20 19:27:03 +10:00
Goober5000
0debee3c51
pretty sure this needs to be 0, per line 325
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9772 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:31 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Echelon9
e21ad72877
Utilise the CLAMP() utility macro in a further range of appropriate locations
2012-05-02 15:15:48 +00:00
The_E
0bbca2cd79
Removing two unused variables
2011-12-18 16:36:49 +00:00
karajorma
31bc16cd6e
That's a rather pointless test when we don't have AI smart missiles.
2011-11-19 09:04:06 +00:00
Echelon9
e3195a82d6
Code cleanup: We should be really careful with using these scoring struct elements, as the types were changed from ushort to int at some point.
2011-09-25 02:42:27 +00:00
karajorma
dc980ecc21
Halleck's bomb scoring code
2011-08-16 09:45:14 +00:00
Zacam
524099c68e
Some "\n"'s to help with logging during multi. "Scoring:" wasn't using any, so it would run on the next item right at the end.
2011-06-28 01:03:03 +00:00
karajorma
a2afa2b67a
Switch to using the Macros for Multiplayer modes whenever possible.
2010-04-27 13:42:59 +00:00
Echelon9
1530e3556b
Fix Diaspora Mantis 537: Successfully killing a ship hidden from sensors should count towards your kill count
2010-03-12 23:19:42 +00:00
Wanderer
2ee628829a
fixes to various things listed in the prefast log
2009-09-11 15:52:18 +00:00
taylor
1529b99932
ensure init_scoring_element() initializes properly (Mantis #1827 )
2009-08-25 01:09:32 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
karajorma
616b19772e
Changes to allow more data to be used from exited_ship. Make ship_exited dynamic too.
...
Get-Damage-Caused SEXP and a couple of functions for counting the number of variables of a certain type.
Commit the new team loadout code and FRED changes to support it.
2009-05-14 15:06:52 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
taylor
9bce69ef79
ingame join related crash fix (the correct value is put in after mission sync)
2008-10-23 04:44:25 +00:00
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
karajorma
cb6dbe5214
Fix Mantis 1745 (TvT scoring for players kills scales with difficulty)
2008-08-12 20:29:36 +00:00
karajorma
a05b1ef11f
Allow the player to score from assists and kills in a variety of new ways.
2008-07-24 20:23:52 +00:00
karajorma
a10ea210b3
Fix a bug that meant players sometimes didn't get an assist is someone had already earned one.
...
Make it possible to decide what percentage of the damage a ship receives earns you a kill.
2008-06-23 16:27:14 +00:00
Goober5000
23863d81bc
a bugfix by razorjack
2007-09-30 19:01:18 +00:00
Goober5000
6ab0b17acc
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
taylor
6ab6cd71ce
fixes for stuff_string() bounds checking
2006-09-11 01:17:07 +00:00
Goober5000
abbb2df243
add a second method for specifying ship copies, plus allow the parser to recognize ship class copy names that aren't consistent with the table
...
--Goober5000
2006-08-03 01:33:56 +00:00
Goober5000
4d5a477f71
übercommit of custom IFF stuff :)
2006-01-13 03:31:20 +00:00
wmcoolmon
246cfcfa65
Codebase commit, most notably including objecttypes.tbl
2005-12-29 08:08:42 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
Goober5000
2a307d099a
CVS header tweaks
...
--Goober5000
2005-07-22 10:18:41 +00:00
Goober5000
2394e9801b
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:35:36 +00:00
taylor
569163a265
never "promote" to a lower rank than current
2005-06-19 02:47:00 +00:00
taylor
3f6e13d20b
use vm_malloc(), vm_free(), vm_realloc(), vm_strdup() rather than system named macros
...
fixes various problems and is past time to make the switch
2005-05-12 17:49:18 +00:00
wmcoolmon
4e9bf0998a
Dynamically allocated medals
2005-05-08 20:28:57 +00:00
taylor
91e9fb4433
more NO_NETWORK/INF_BUILD goodness for Windows, takes care of a few warnings too
2005-03-02 21:24:48 +00:00
taylor
09167fa382
merge with Linux/OSX tree - p0204-2
2005-02-04 20:06:10 +00:00