Christoph Oelckers
b3cff43be3
- fixed: SBARInfo's Tick function was using actor references from its last Draw operation.
...
Between these two calls these can change so these need to be retrieved each time either Draw or Tick are called.
2019-03-03 09:59:08 +01:00
Rachael Alexanderson
13d07e7912
- fix what appears to have been an accidental debug commit, this broke portals and skies
2019-03-03 03:24:55 -05:00
Christoph Oelckers
f3813c036f
- filter out the BIGFONT lump in Chex Quest, now that we have a more complete font internally.
2019-03-03 07:50:10 +01:00
Christoph Oelckers
eacc6c8e08
- fixed: ACS's LocalAmbientSound did not check the activator before calling its methods.
2019-03-02 23:01:42 +01:00
Christoph Oelckers
0dc3485990
- fixed: in CollectWithinRadius, make pos a value variable instead of a reference.
...
The underlying data here can be reallocated and invalidate what it points to.
2019-03-02 22:10:44 +01:00
Magnus Norddahl
ef30ddbd40
- fix typo
2019-03-02 21:34:34 +01:00
Christoph Oelckers
0f184a0f28
- reject all DMX sounds shorter than or equal 8 bytes.
...
8 bytes is the minimum header size for DMX, so for one byte of sample data it has to be 9 bytes.
This was causing access to invalid memory when trying to read the header of something too short.
For other file formats this is of no concern because none has a header this short.
2019-03-02 21:10:24 +01:00
Christoph Oelckers
d893299185
- fixed: static event handlers must also receive WorldLoaded events on loading a savegame.
2019-03-02 13:50:58 +01:00
Christoph Oelckers
9ab57e242b
- fixed: PlayerStartStomp must check for NOTELEFRAG.
2019-03-02 13:35:35 +01:00
Christoph Oelckers
00febf0498
- fixed: FLevelLocals did not set the owner for its event manager.
2019-03-02 13:24:52 +01:00
Christoph Oelckers
0febe20a08
- fixed: Unmorphing a monster did not clear its UNMORPHED flag.
2019-03-02 13:15:38 +01:00
Christoph Oelckers
4cf90d70ae
- fixed: cl_maxdecals did not reset the decal counter when deleting decals.
2019-03-02 12:58:28 +01:00
Christoph Oelckers
5f6198f4e4
- let IWAD and PWAD BigFonts override BigUpper for consistency.
2019-03-02 12:54:46 +01:00
Christoph Oelckers
ce1ecd0d4b
- implemented string table macros.
2019-03-02 12:06:24 +01:00
Christoph Oelckers
fa123f37c7
- adjustment for renamed spreadsheet.
2019-03-01 22:04:39 +01:00
Christoph Oelckers
a5d9d334d2
- fixed: The lump renaming was not performed for Doom, even for those pieces where needed.
2019-03-01 20:21:15 +01:00
alexey.lysiuk
2939bc701e
- fixed compilation error with GCC and Clang
...
src/intermission/intermission_parse.cpp:941:2: error: no matching function for call to 'F_StartFinale'
2019-03-01 10:06:34 +02:00
Marisa Kirisame
bc5baae827
Folder casing changes for Linux compatibility.
2019-02-28 23:56:29 +01:00
Christoph Oelckers
23a62cbe12
- added a 'testfinale' CCMD, so that the layout of finale texts can be tested more easily
2019-02-28 23:52:47 +01:00
Christoph Oelckers
86620aaba5
- allow reading xlsx spreadsheets directly for language definitions.
2019-02-28 22:21:55 +01:00
Christoph Oelckers
cad2f49ceb
- use BigUpper font for option menu captions.
2019-02-28 22:19:53 +01:00
Major Cooke
b48f7da43e
Renamed to musplaying.
2019-02-28 18:47:28 +01:00
Major Cooke
210af0d414
Exported MusPlayingInfo to ZScript.
...
- Allows grabbing the currently playing song, base order, and loop properties.
2019-02-28 18:47:28 +01:00
Christoph Oelckers
fab8fed8df
- reformat the intermission screen if the text is very long.
...
This will ensure better visibility on widescreen displays, at least.
2019-02-27 22:52:08 +01:00
nashmuhandes
407983749a
Added a master volume setting.
2019-02-27 14:17:45 -05:00
Christopher Bruns
8becc0e78d
Enable menu blur in stereo 3d.
...
Use more blitting to avoid confusing framebuffer state management in stereo 3D.
2019-02-27 09:51:02 +01:00
Christoph Oelckers
90ab830ff9
- added a workaround for mods using the name CONFONT directly.
...
In the old system it just loaded the font a second time, but with the folder based setup there is no file named CONFONT anymore so it needs to be dealt with explicitly.
2019-02-26 19:19:03 +01:00
Christoph Oelckers
e8f690116b
- removed unused gl_spritebrightfog CVAR.
2019-02-26 00:07:30 +01:00
Christoph Oelckers
4a427694ac
- changed calculation of the scaling value for the option menu.
...
This was already far too generous and caused space problems, but with localization these became a lot worse, so now it will try to allocate at least 640 virtual pixels for the menu width and only go below that for small resolution ranges where the smaller value would result in too small text.
2019-02-26 00:07:09 +01:00
Christopher Bruns
051145b2c8
Use flag to avoid second eye stereo color problem
2019-02-25 00:14:41 +01:00
Christopher Bruns
e83092a7eb
Fix stereo-3D 2D quad color problem.
2019-02-25 00:14:41 +01:00
Christoph Oelckers
b670d5f372
- fixed utf8_decode.
...
This function was written for already validated UTF-8 but not for text that can be mixed with ISO-8859-1.
To handle that properly it needs to do a bit more validation to avoid mangling its output and instead reject invalid input.
2019-02-24 13:55:08 +01:00
Christoph Oelckers
0676a98efc
- fixed: ACS must use COPY_AAPTREX for all pointer transfers.
...
It was already correct for most, but two cases have slipped through.
2019-02-24 12:10:56 +01:00
Christoph Oelckers
6129f9a9cc
- fixed a warning and set NOINITCALL for a few CVARs accessing the current level.
...
These inits are done at a time when the data isn't even initialized so they will get overwritten anyway.
2019-02-24 10:05:01 +01:00
Christoph Oelckers
d5f138f14d
- made the text comparison for Dehacked case insensitive so that the contents of the string table can be properly capitalized without breaking old-style string replacements.
2019-02-23 20:23:04 +01:00
Rachael Alexanderson
7098748e9e
- fix building on case sensitive systems
2019-02-23 13:51:24 -05:00
Christoph Oelckers
bae0094039
- fixed the status bar string drawers which weren't UTF-8 capable yet.
2019-02-23 19:44:00 +01:00
Christoph Oelckers
c5156d4598
- moved around a few more files.
2019-02-23 18:57:49 +01:00
Christoph Oelckers
c3890342e6
- moved the 2D drawing code to its own directory under 'rendering'.
2019-02-23 18:08:57 +01:00
Christoph Oelckers
ef3e5ef01e
- moved a few parts from g_level.cpp to better fitting places.
2019-02-23 15:21:54 +01:00
Christoph Oelckers
2874a36fbe
- added the final missing piece of localization support, i.e. forcing text based menus.
...
Now a localization mod can disable the graphics patches containing text entirely so that it can properly localize the text based menu variant.
If this flag gets set in MAPINFO, it will override all user settings.
2019-02-23 10:40:07 +01:00
Christoph Oelckers
add10029b9
- fixed chat input.
2019-02-23 09:54:18 +01:00
Christoph Oelckers
a50a0c5b0d
- fixed: empty strings cannot be substituted.
2019-02-23 09:20:30 +01:00
Christoph Oelckers
e091369a38
- removed FCriticalSection and replaced all of its uses with std::mutex.
...
There's really no need for a non-standard solution here anymore with C++11.
This also fixes an unreleased lock in the WildMidi code.
2019-02-22 20:24:24 +01:00
Christoph Oelckers
3d9dce0156
- fixed DHUDMessageTypeOnFadeOut with empty messages.
2019-02-22 19:58:52 +01:00
Christoph Oelckers
f907bb0484
- moved a few more things and deleted the unused v_pfx implementation.
...
These were pixel format conversion routines used in the D3D backend. Nothing in here is needed anymore - the FBitmap class offers much of the functionality covered here in a far more concise and approachable manner.
2019-02-22 19:48:18 +01:00
Christoph Oelckers
b386603044
- deleted the unused lumpconfigfile.
...
The chance that this will ever see some use is precisely zero so there's no need keeping this code around.
2019-02-22 19:13:40 +01:00
Christoph Oelckers
8c06a00ee6
- moved all dialogue loading code into the map loader.
2019-02-22 19:07:58 +01:00
Christoph Oelckers
e06aa28620
- fixed the usedcolor array's base type.
...
The usedcolors array which counts the number of pixels in a given color in a font used bytes as storage, so any color that just happened to have a count that is a multiple of 256 the color was considered not present.
2019-02-22 18:19:26 +01:00
Christoph Oelckers
2eb312e041
- added a kerning option to FONTDEFS
2019-02-21 01:02:42 +01:00