niffiwan
f5eb49e652
Fix for mantis #0002593 : structs containing vectors don't like being memset to zero...
2012-02-04 11:01:18 +00:00
Goober5000
bc9cfe782f
VC6 compatibility
2012-01-21 07:58:07 +00:00
Zacam
49e9c6a1d5
From CommanderDJ: makes the maximum number of intercom sounds, misc anims and door anims dynamic (v2)
...
http://www.hard-light.net/forums/index.php?topic=78856.msg1574656#msg1574656
2012-01-20 02:13:38 +00:00
Zacam
61a9ed4700
spotted by ni1s: Need an '#include <limits.h>' to make compilers happy when using MAX_INT.
2012-01-03 15:13:17 +00:00
The_E
9bc2ac733f
Small fix to make gcc happy.
2012-01-02 12:28:58 +00:00
IssMneur
d53bf32cb8
From CommanderDJ: - Fully vectorize and stringify mainhall.tbl internals
...
- replaces all arrays with SCP_vectors
- replaces all c-strings with SCP_strings
- depreciates +Misc Anim Handles: and +Misc Anim Flags: because they are just cruft
-- +Misc Anim Handles: has not been hooked up for years
-- +Misc Anim Flags: are dealt with automatically
2011-12-29 06:28:05 +00:00
Zacam
226cd53d8a
From CommanderDJ: SCP_Vector-izes some more of the Main Hall structures (intercom and misc anim mostly)
2011-12-22 00:13:31 +00:00
Zacam
fa6fc231b5
Tortoise Merge somehow screwed the application of the patch for Commit 8093, my apologies to everybody.
2011-12-15 18:53:41 +00:00
Zacam
e6d7b56a3b
From CommanderDJ: Corrects the timing problem caused by commit 8079 regarding the playing of Main_hall misc_anim sounds.
2011-12-15 15:31:20 +00:00
IssMneur
e2ad4c2064
From CommanderDJ: parse the mainhall only on first load.
...
Adds -reparse_mainhall to enable the previous behaviour of parsing the mainhall on every viewing of the mainhall.
2011-12-10 17:56:15 +00:00
IssMneur
bc71e0abaa
From ni1s: Apparently gcc chokes on this without the space.
2011-12-09 07:23:36 +00:00
IssMneur
2eff95c4ea
Allow names in mainhall.tbl sound lists.
...
Allows sound names in addition to sound indexes in the sound lists:
+Intercom sound:
+Misc anim sounds:
+Door sounds:
Extends parse_sound to search in the interface sound table instead of the main sound table.
2011-12-09 06:38:16 +00:00
Echelon9
7f6e6e0b03
Documentation: Remove the old CreditWins from credits.cpp. These were unused for some time
2011-09-12 12:38:36 +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
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Echelon9
e3c100d5fa
Documentation: A few documentation fixes
2011-09-03 09:06:00 +00:00
Echelon9
eda7103399
PVS-Studio fix: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 1281, 1312.
2011-09-03 05:38:28 +00:00
Zacam
64efa9f2fa
Clean up the commented out code from niffiwan's PVS-Studio patches. (from niffiwan)
2011-08-31 10:58:33 +00:00
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
The_E
724f1be9d3
Removing the RELEASE_REAL define from ye olde ✌️ days. We really don't need it anymore.
2011-08-30 17:46:03 +00:00
Echelon9
3453cc9c70
PVS-Studio fix: V576 Incorrect format. Consider checking the [third] actual argument of the 'sprintf' function. The SIGNED integer type argument is expected.
...
Fixes a number of this class of issue with sprintf formats.
2011-08-30 15:39:29 +00:00
Echelon9
5a0dc8f6b1
PVS-Studio (courtesy of niffiwan): V523 The 'then' statement is equivalent to the 'else' statement (techmenu.cpp).
2011-08-30 13:12:51 +00:00
Echelon9
e58723d589
PVS-Studio fix (Courtesy of niffiwan): V523 The 'then' statement is equivalent to the 'else' statement (barracks.cpp and missionhotkey.cpp).
2011-08-29 13:19:58 +00:00
Goober5000
3b2b76206f
add infrastructure and parsing support for mission forks (vs. mission loops)
...
mission fork interface art and selection logic still needs to be written
2011-08-27 03:57:16 +00:00
Echelon9
a248a37d58
PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct
2011-08-24 13:37:01 +00:00
Echelon9
555a9033de
Documentation: General clean-up and function documentation
2011-08-18 16:47:54 +00:00
Echelon9
148c68b9f4
PVS-Studio fix: This if...then...else block was redundant in player_select_init(), as each 'then' block did the same thing
2011-08-10 13:58:25 +00:00
Goober5000
2bdaac8c52
add mjn.mixael's credits image specification feature
2011-06-13 03:42:24 +00:00
The_E
784da1e0d0
Adding the FSU main shaders, FSU post-processing.tbl, as well as the post-processing and FXAA shaders to def_files.
2011-05-21 17:07:41 +00:00
Echelon9
9ec0215ad8
Remove last references to the redundant Intel_anim_filenames array
2011-02-04 15:31:44 +00:00
Zacam
802d5956f3
Fixes the index so that Player Main Hall changes will actually save properly. Should have caught this back in 6860.
2010-12-27 20:59:16 +00:00
Echelon9
eb129200a1
Fix: Convert a further subset of strcpy() to the SAFE_STRINGS strcpy_s() version
2010-12-20 04:28:01 +00:00
Goober5000
2afc961a62
bump number of misc anims to 32
2010-11-26 04:03:56 +00:00
Goober5000
4faa94a9e3
add feature to select a random animation from a miscellaneous animation group
2010-11-25 23:51:22 +00:00
Goober5000
81607f7ddc
move the error nprintf to a place where it will trigger before the crash it tests for
...
fix a loop boundary check
2010-11-25 20:10:13 +00:00
Goober5000
04c5416de9
add error detection for arrays that exceed maximum
...
num door sounds = num door animations
(how did that ever work before?)
2010-11-24 07:18:05 +00:00
Goober5000
5214560f70
how was that accidentally deleted?
2010-11-24 06:39:22 +00:00
Goober5000
2eda13c3e8
remove #defines that were obsolete since after FS1
...
fix an nprintf bug
change the method of pausing anims so that more than one anim can play in the same spot
(this means that the first frame of an anim won't be drawn until the anim actually starts playing but I think that's okay; it is really only noticeable for the crane animation in the Bastion main hall when the "new player tips" box appears)
2010-11-24 06:33:53 +00:00
Goober5000
d069b8ede7
ugh; formatting ftw
2010-11-24 04:53:41 +00:00
Goober5000
b3db43f54c
slight cleanup
2010-11-24 04:35:10 +00:00
The_E
339ba7cca3
Fixes issue with the wrong mainhall being loaded on startup. Note: If a value gets initialized to -1, don't change it to a ubyte and init it to 0, even if that fixes a conversion warning. In this case, casting explicitly is a valid course of action, and should be taken. Here endeth the lesson on refactoring.
2010-10-26 22:23:56 +00:00
Zacam
a58a8b21af
Warnings Resolutions: 'int' to 'ubyte' conversion warnings.
...
Some formatting cleanup done on the affected files.
While not necessary, some {} put in by suggestion of output from GCC and to improve readability.
2010-10-25 00:03:29 +00:00
Goober5000
12e4d3713b
add +Tech title for ships.tbl
2010-08-29 06:07:22 +00:00
The_E
e5416e3506
Remove hardcoded piece of interface code in favour of something generated dynamically. Fixes issue with too many pilot names being displayed in the pilot select screen if a custom font is in use.
2010-08-21 20:19:48 +00:00
The_E
3c412bef42
Updated the credits after god knows how long
2010-07-16 16:16:27 +00:00
Goober5000
614f60968c
use 2_ animations in the tech room, just as in the command brief (Mantis #2231 )
2010-06-27 07:05:01 +00:00
Echelon9
67a5d89d47
Removed defined but unused variables
2010-06-06 08:35:19 +00:00
taylor
b287ecfef9
new sound code
...
- Mantis #58
- Mantis #1769
- many other fixes and improvements
2010-05-29 15:53:18 +00:00
Echelon9
36f2e4fd73
Fix Mantis 2158: Increase Intelligence limit from species.tbl
2010-03-21 06:22:35 +00:00
Zacam
6cc6bd9119
From Antipodes #5 : new TBM option '$Alt name:'
...
For ships and weapon tbms - renaming existing tbl entries in mods
2010-01-31 01:19:58 +00:00