Commit Graph

17539 Commits

Author SHA1 Message Date
Christoph Oelckers 56cb7cbaea - did a bit of cleanup on the MAPINFO organization
What could be done has been moved into the filter directory of game_support.pk3

Unfortunately most of the rest is needed as presets even for custom games so it cannot be fully cleaned up, because the dependencies here and the filter structure do not align 100%.
2019-07-17 01:05:58 +02:00
Christoph Oelckers 77b1ebe0d7 - moved several IWAD dependent files into the game_support resource
* sprite offset definitions, which are IWAD dependent
* Freedoom's decal overrides
* conversation ID definitions for the Strife teasers
* the fallback BigFont now can also be loaded by IWADs which declare themselves as GAME_Heretic or GAME_Hexen.
2019-07-17 00:54:59 +02:00
Christoph Oelckers c64aedb262 - reimplemented the Harmony status bar in ZScript
* the Doom status bar has been partially virtualized to allow overriding specific parts of it, most notably the ammo display
* the internal Harmony status bar has been removed because it only works with the now disabled Dehacked patch.
* the SBARINFO definition has been removed, instead it uses a ZScript-based status bar now which overrides the ammo display to use the new ammo types instead.
2019-07-17 00:36:38 +02:00
Christoph Oelckers 8dbad9b530 - text update for quit message. 2019-07-16 23:59:14 +02:00
Christoph Oelckers 30646e6c20 - Harmony quit message. 2019-07-16 23:12:38 +02:00
Rachael Alexanderson f7c110698f - add +ZDOOMTRANS to BFGExtra in order to force classic transparency per user setting. 2019-07-16 16:52:30 -04:00
Christoph Oelckers 9de462ee07 - renamed zd_extra.pk3 to game_support.pk3 2019-07-16 22:24:43 +02:00
Christoph Oelckers 17ce621e1f - setup Harmony localization.
This also includes Blzut3's DECORATE version of the Harmony actors and disables the Dehacked patch, which was necessary to define a working set of dynamic lights and fix a few minor errors with the original.
2019-07-16 22:21:32 +02:00
Christoph Oelckers 56d03c8223 - remove test code. 2019-07-16 21:53:53 +02:00
Christoph Oelckers 38a1a05af3 - moved iwadinfo.txt to zd_extra.pk3.
This was done for two reasons:

1. It forces loading of zd_extra.pk3 for the stock IWADs, eliminating a certain kind of user error.
2. It removes the stock IWAD definitions for custom games that distribute the engine along with their data, so that it doesn't pick up on Steam and GOG installations and shows an inappropriate IWAD picker.
2019-07-16 20:22:15 +02:00
Christoph Oelckers 4cc1aeadd4 - language update 2019-07-16 20:01:16 +02:00
Christoph Oelckers f42a1dedf1 - Harmony BigFont added and SmallFont moved to its proper place. 2019-07-16 19:50:02 +02:00
Christoph Oelckers 982a98e254 - added a few missing ts with diacritics. 2019-07-16 18:43:33 +02:00
Christoph Oelckers 6290756b1e - moved a few misplaced characters 2019-07-16 17:32:53 +02:00
Nemrtvi 8ea46320ce Fix Hacx Ș and Ț 2019-07-16 11:48:51 +02:00
alexey.lysiuk 36ed7e5182 - fixed UMAPINFO episode parsing
* bounds checking for accessing episode tokens
* support empty tokens in episode definition
* handle upper cased episode shortcut

https://forum.zdoom.org/viewtopic.php?t=65364
2019-07-16 12:39:36 +03:00
Nemrtvi 454fd288a0 Improved Hacx fonts 2019-07-16 10:47:08 +02:00
alexey.lysiuk b935218dc2 - fixed: subtitles background renains visible on new game
https://forum.zdoom.org/viewtopic.php?t=65366
2019-07-16 11:37:41 +03:00
Christoph Oelckers 9e25880aec - Harmony SmallFont. 2019-07-15 21:49:41 +02:00
Christoph Oelckers 2d8355f519 - moved the Hacx content. 2019-07-15 21:24:18 +02:00
Christoph Oelckers 7916cebdc1 - merged the Hacx extra stuff into zd_extra.pk3 and added the ability to inject data into the resource directory after the IWAD so that the base resources can provide content that can override IWAD data if broken or not usable.
Hacx in particular needs this to fix a handful of buggy actors and to override the IWAD's MAPINFO which is not localizable.
2019-07-15 21:23:46 +02:00
Christoph Oelckers 8177583e2f - treat configurations which load a secondary WAD on top of a primary IWAD like SVE to consider the secondary WAD an actual IWAD as well.
This fixes localization of the SVE menu.
2019-07-15 20:48:00 +02:00
Christoph Oelckers 7d87df25d8 - filled the last gaps in the Doom BigFonts. 2019-07-15 20:02:45 +02:00
Christoph Oelckers 7a556730af - added the remaining 8 missing characters of the standard set to the Chex BigFont.
Unfortunately, yet again the Ø presented the most problems because this letter is barely representable at such low resolutions with styled fonts.
2019-07-15 19:33:30 +02:00
drfrag 416f5d03b7 - Fixed compilation with MinGW. 2019-07-15 19:26:25 +02:00
alexey.lysiuk f25e5c738c
- fixed compilation of Linux targets
src/../libraries/gdtoa/gdtoa.h:67:19: fatal error: arith.h: No such file or directory
2019-07-14 22:29:38 +03:00
Christoph Oelckers 7346288bf5 - moved some more files. 2019-07-14 21:09:49 +02:00
Christoph Oelckers 4d35adbcd6 - unused macro removal. 2019-07-14 20:44:17 +02:00
Christoph Oelckers 7351a76404 - move sound files to sound folder. 2019-07-14 17:48:55 +02:00
Christoph Oelckers 293aa2e6da - There's really no need anymore to dynamically load RawInput, considering it has been in Windows since XP. 2019-07-14 17:41:25 +02:00
Christoph Oelckers 79ad3e6203 - define _WIN32_WINNT to 0x600 (Vista) in the CMake project instead of littering all files with inconsistent settings for the target version. 2019-07-14 16:55:01 +02:00
Christoph Oelckers f50e402e92 - sorted sound backend code into subdirectories. 2019-07-14 16:07:18 +02:00
Christoph Oelckers 46ec16032e - removed fixrtext tool.
This is no longer needed, because it was used to create self-modifiable code from assembly source, which no longer exists.
2019-07-14 15:10:37 +02:00
Christoph Oelckers ed6ab39b2d - moved third party library projects to a subfolder to reduce size of the root. 2019-07-14 15:06:54 +02:00
Christoph Oelckers ec52e90e54 - moved more files out of the root src directory. 2019-07-14 14:39:21 +02:00
Christoph Oelckers 2a16fb9d28 - moved most remaining playsim code into its proper folder. 2019-07-14 13:59:16 +02:00
Christoph Oelckers 9045615a7a - renamed g_shared folder to playsim. 2019-07-14 13:24:18 +02:00
Christoph Oelckers cd7438c02e - made some adjustments to the text spacing on the level summary screen.
With the extended fonts some parts here caused too large gaps.
2019-07-14 12:44:42 +02:00
Christoph Oelckers 32dd6b049c - offset text in statscreen if it gets too wide.
German and Hungarian were creating problems in Hacx here, others could also become too wide with huge amounts of monsters.
2019-07-14 10:03:50 +02:00
Christoph Oelckers 2dc864d664 - added the missing WISLASH for Hacx.
This was using Doom's red one which did not mix well with the rest of the screen.
2019-07-14 10:03:50 +02:00
alexey.lysiuk 053736363d - extended list of predefined filenames for SDL2 shared object lookup
https://forum.zdoom.org/viewtopic.php?t=65348
2019-07-14 10:52:32 +03:00
alexey.lysiuk d1541e2cf7 - normalized line endings of HacX MAPINFO
It had a weird mix of LF and CR+LF line endings, and the file was treated as modified right after checkout
2019-07-14 10:52:16 +03:00
Christoph Oelckers 2fd170b06e - allow setting the font used for the status screen's content text.
This was needed to give Hacx's screen the proper colors.
2019-07-14 09:08:19 +02:00
Christoph Oelckers f4f53a7943 - adjustments for the level summary screen.
The BigFont needs a kerning of -1 and a defined height so that it gets displayed properly and this sets all available font color properties to the correct colors.
2019-07-13 20:39:35 +02:00
Christoph Oelckers b087f3f4ed - added Hacx localization support.
Unlike the other games this required a bit of patching of the IWAD's data with a new MAPINFO so it needs to be in a separate .pk3 file loaded after the IWAD.
Since this needs to be loaded after the IWAD it was also possible to add a small DECORATE lump which fixes a few errors inherited from the original Dehacked patch, like monster counting bugs and unintentionally shootable decorations.
2019-07-13 20:29:29 +02:00
Christoph Oelckers 28d4401f4b - dynamic light definitions for Hacx. 2019-07-13 19:59:44 +02:00
Christoph Oelckers 2e42e4f5fb - fixes to let Hacx load its own extended font.
There were two issues blocking this:

* the Doom BigUpper font was loaded for all Doom-based games. It is only valid for original idgames releases and nothing more.
* Hacx.wad defines its BigFont in FONTDEFS which blocks all custom fonts. Since the Hacx font and GZDoom's base BigFont are very similar, the FONTDEFS lump now gets deleted from the WAD directory.
2019-07-13 16:20:57 +02:00
alexey.lysiuk aba7132846 - cleaned up language detection leftovers 2019-07-13 15:47:43 +03:00
Christoph Oelckers 0eb9f18e9f - fixed: The countdown for the subtitles display was never counted down so the messages remained forever. 2019-07-12 20:13:45 +02:00
Christoph Oelckers 89db16393e - offset notification messages so that the accents do not get cut off.
This essentially means that the tallest character in a font determines positioning.
2019-07-12 20:09:15 +02:00