Christoph Oelckers
ba618d308c
- bumped CMake version to 3.1.0 in all projects to reduce warning spam in recent versions.
...
3.1.0 is the highest minimum set in the existing subprojects so this will not exclude anything that hadn't been already.
2021-03-08 13:58:29 +01:00
Rachael Alexanderson
8a4b5dfb77
- remove Raspberry Pi1/2 support completely
2021-01-31 06:18:21 -05:00
Rachael Alexanderson
b70c66e2cc
- make ARM compiler flags optional, detect based on ${ZDOOM_TARGET_ARCH}, do not activate on Apple build systems
2021-01-17 06:30:14 -05:00
Rachael Alexanderson
54fba4d642
- windows: create stub functions for the crash logger for ARM. this invites the possibility, hopefully, that if someone is inclined, to actually make one. it also cleans up the code a little bit for intel.
2021-01-01 20:52:18 -05:00
Rachael Alexanderson
64ff15b82b
Squashed commit of the following: ( #1248 )
...
commit bbfb934e80
Author: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Sun Dec 6 23:50:15 2020 -0500
- and now it builds! but ... does it run?
commit 67096c8966
Author: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Sun Dec 6 22:25:13 2020 -0500
- one more step closer to compile
commit 5a0c84dd2d
Author: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Sun Dec 6 22:13:39 2020 -0500
- set up dynamic opengl load for windows
commit 6ef8118b80
Author: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Sat Dec 5 16:38:53 2020 -0500
- allow compiling for win-arm64
commit 7d6f3797c4
Author: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
Date: Fri Dec 4 05:18:29 2020 -0500
- allow targeting ARM64 on Windows
Co-authored-by: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
2020-12-10 09:16:28 -05:00
alexey.lysiuk
18b5928f49
- eliminate dependency on linking order for autosegs registration
2020-11-13 11:03:16 +02:00
Christoph Oelckers
53a6b9ee59
- moved status bar base class to 'common'.
2020-10-31 12:24:15 +01:00
Christoph Oelckers
fd6b7f9274
- split out the generic parts of the crosshair drawer.
2020-10-31 12:24:12 +01:00
Christoph Oelckers
0e4625867e
- moved c_console.cpp to 'common'.
2020-10-25 13:25:31 +01:00
Christoph Oelckers
f912712f9d
- cleaned up c_console.cpp to be moved into 'common'.
2020-10-25 13:14:19 +01:00
alexey.lysiuk
34a8a9302f
- removed obsolete probing of C++ standard for GCC and Clang
...
CMake try_compile() function still requires explicit command line option
2020-10-18 11:34:39 +03:00
alexey.lysiuk
d4bb2fa418
- fixed detection of Apple's Clang
2020-10-17 13:33:22 +03:00
Christoph Oelckers
ef7a7cc39d
- moved console command line buffer tab completion into their own files.
...
- layout fixes in load/save menu and confirmation screen.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
3ea0658449
- split the savegame manager into a game dependent and a reusable game indepenent part.
...
- added menu/advance sound alias.
2020-10-16 22:57:28 +02:00
Christoph Oelckers
504f85e6d4
- moved date code to its own file.
2020-10-16 22:57:27 +02:00
Christoph Oelckers
4b77064fc4
- moved most of the menu code into the backend.
2020-10-16 22:57:25 +02:00
Christoph Oelckers
348f9ae68c
- moved i_net into 'common' to bring it in line with Raze.
2020-09-27 12:30:54 +02:00
Christoph Oelckers
8a0634ed0d
- file system update from Raze
...
* support for SSI container format - this is an obscure format used by a few Duke Nukem mods - added to have this subsystem identical between both engines.
* removed some dead wrapper code
* made the Open methods local to their implementations, this was never called virtually.
2020-09-27 10:56:42 +02:00
Christoph Oelckers
528e4e46b3
- texture manager update from Raze
...
* new texture format: ANM - this reads the first frame of a Build-ANM movie as a texture.
* some preparations for indexed (paletted) rendering.
* optimization of the patch texture checker - do not read in the entire file if checking the initial header is sufficient for rejecting it.
2020-09-27 10:38:12 +02:00
Christoph Oelckers
96ceb11af0
- various engine updates from Raze.
...
* removed refreshFreq variable and related code. This only got into the backend because of stupid interpolation code in some of the Build games which has long been removed.
* save FixedBitArrays as base64 in savegames.
* allow indirections in the string table - by prefixing the language string with '$$' the remaining text is interpreted as another string label to resolve.
* constexpr in palette code, also replacing #defines with enums.
2020-09-27 10:17:58 +02:00
William Breathitt Gray
3e69e44763
Install soundfonts and WOPL/WOPN banks ( #874 )
...
The INSTALL_SOUNDFONT_PATH cache entry is used to configure the
installation directory.
2020-08-27 12:39:56 -04:00
Christoph Oelckers
97d515005b
- moved the menu code back to the game side.
...
This isn't really shareable. Although major parts may be identical, the specifics are not.
2020-06-14 18:37:06 +02:00
Christoph Oelckers
248aa8b5a7
- moved s_reverbedit.cpp to 'common'.
2020-06-14 12:39:59 +02:00
Christoph Oelckers
82e4104900
- moved several VM exports for game independent objects to 'common'.
2020-06-14 12:16:22 +02:00
Christoph Oelckers
3b7e236971
- moved menudef.cpp to "common", as the last piece of the menu code.
2020-06-14 00:42:01 +02:00
Christoph Oelckers
475f740058
- moved base menu code to "common".
2020-06-13 23:04:10 +02:00
Christoph Oelckers
90befff479
- moved out the Doom specific parts from menu.cpp and messagebox.cpp.
2020-06-13 22:43:35 +02:00
Christoph Oelckers
5dfe9918d0
- moved some event related code to 'common'.
2020-06-13 20:31:57 +02:00
Christoph Oelckers
666b6b7007
- moved m_joy to common.
2020-06-08 23:37:21 +02:00
Cacodemon345
9c7f5e941e
Fix compilation on NetBSD
2020-06-06 19:38:47 +03:00
Cacodemon345
9bf0f9bbfc
Add option to disable SDL joystick support.
...
This also adds some extra sanity checks to avoid crashes when the joystick isn't initialized.
2020-06-04 17:38:49 +03:00
Christoph Oelckers
3fd4d08004
- fixed startup and font init crashes.
2020-05-04 20:06:54 +02:00
Christoph Oelckers
652712d970
- moved Vulkan and Softpoly backends to 'common'.
2020-04-29 22:17:35 +02:00
Christoph Oelckers
68630d6782
- sanitized dependencies of the softpoly render backend.
...
This included half the game state and lots of unneeded parts of the software renderer.
The two modules that are shared between softpoly and the classic software renderer have been moved to a neutral place.
2020-04-29 18:48:15 +02:00
Christoph Oelckers
e3fdf2194e
- moved a few leftover utility classes to 'common'.
2020-04-29 17:51:04 +02:00
Christoph Oelckers
5d10d6c448
- directory structure cleanup.
...
The hwrenderer folder did not contain sufficient files anymore for such extensive subgrouping.
2020-04-29 17:36:58 +02:00
Christoph Oelckers
6cf91d3941
- moved the remaining core parts of the GL renderer to 'common'.
2020-04-29 17:19:17 +02:00
Christoph Oelckers
64e301130b
- moved low level sky rendering to 'common'
2020-04-29 00:21:30 +02:00
Christoph Oelckers
b1dd1eff50
- moved video files to 'common'.
2020-04-28 23:08:27 +02:00
Christoph Oelckers
3ee1aa76c3
- moved model code to 'common'.
2020-04-27 20:50:46 +02:00
Christoph Oelckers
d434ce32c8
- split voxels.cpp into a backend and a game dependent part.
2020-04-27 19:46:27 +02:00
Christoph Oelckers
d6dca40cb7
- separated models.cpp as well into engine and game parts.
2020-04-27 01:29:25 +02:00
Christoph Oelckers
6afa73bdcd
- moved m_bbox to 'common'
2020-04-27 00:07:17 +02:00
Christoph Oelckers
cb1e8a177f
- moved gl_shader.cpp to 'common'.
2020-04-26 22:24:27 +02:00
Christoph Oelckers
1346787e29
- moved 2 more modules to 'common'.
2020-04-26 21:38:34 +02:00
Christoph Oelckers
fde9172ea3
- moved shadowmap to 'common'.
2020-04-26 20:28:43 +02:00
Christoph Oelckers
ba0b42465d
- changed shadowmap setup so that the AABB tree is owned and controlled by the map, not the renderer.
...
Needed to properly separate game logic from backend implementation, the shadowmap had both in the same object thanks to the old setup.
2020-04-26 18:54:43 +02:00
Christoph Oelckers
02832297ff
- moved most of the OpenGL backend to 'common'.
...
A few things are yet to do, because they still need some changes.
2020-04-26 14:44:19 +02:00
Christoph Oelckers
5611fe0f41
- cleaned up the dependencies in the model rendering code and separated it into game-independent and game-dependent parts.
2020-04-26 13:19:57 +02:00
Christoph Oelckers
69d724ae73
- moved lightbuffers and flatvertices to 'common'.
2020-04-26 12:41:13 +02:00
Christoph Oelckers
c5dca89e66
- clean separation of vertex creation from map data and the buffer object.
...
This was yet another object with too broad scope, the vertex creation has been offloaded into out-of-class functions now.
2020-04-26 12:12:07 +02:00
Christoph Oelckers
cf41a0b1fb
- moved hw_cvars to 'common'.
2020-04-26 11:38:38 +02:00
Christoph Oelckers
686aa9779d
- moved VR code and IntRect to 'common'
2020-04-26 10:26:29 +02:00
Christoph Oelckers
21f32834b2
- moved the postprocessing code to 'common', except for the game-dependent script exports.
2020-04-25 22:37:27 +02:00
Christoph Oelckers
b6cc31eb0d
- moved around a few more files.
2020-04-25 22:17:41 +02:00
Christoph Oelckers
b9e3c9681b
- moved a few files from 'rendering' to 'common'.
2020-04-25 21:52:21 +02:00
Christoph Oelckers
9872065fc6
- moved file to its proper place.
2020-04-25 18:38:17 +02:00
Christoph Oelckers
70d30feb4c
- moved the render interface functions out of FGLRenderer into OpenGLFrameBuffer.
...
These need some consolidation among the backends, and the additional indirection in the OpenGL backend made it harder than necessary.
2020-04-24 15:52:31 +02:00
Christoph Oelckers
f8e23500c7
- moved Windows platform code as well.
2020-04-23 22:26:30 +02:00
Christoph Oelckers
0b544f2956
- moved the Posix platform files to 'common' after making sure that Raze can compiled with them as-is.
...
No content changes.
2020-04-23 21:48:50 +02:00
Christoph Oelckers
d19ac5b260
- separated the game specific Steam code from the pure backend.
2020-04-22 22:56:15 +02:00
Christoph Oelckers
4da2351671
- fixed compile errors in POSIX platform code.
2020-04-22 20:42:13 +02:00
Christoph Oelckers
cedc95c2a5
- split out FGameTexture into its own files.
2020-04-19 10:57:56 +02:00
Christoph Oelckers
8381092cce
- major shader rework
...
* handle brightmaps in the main shader instead of keeping separate instances around.
* added detail and glow layers from Raze.
* fixed material setup which could not guarantee that everything was initialized correctly.
* for warped textures, warp all layers. With this brightmaps finally work on warped textures.
Note: Vulkan reports a "device lost" error with this which still needs to be investigated.
2020-04-19 10:57:43 +02:00
alexey.lysiuk
d29c6a55eb
- fix autoseg registration by moving start/end files back to src directory
...
Link order was wrong when building via Xcode project because CMake generator sorts files by paths
This made most of classes missing from corresponding segments, and the game crashes right after launch
2020-04-13 10:14:07 +03:00
alexey.lysiuk
f5a98ed7fa
- fixed CMake configuration
...
CMake Error at src/CMakeLists.txt:1188 (add_executable): Cannot find source file: gamedata/textures/bitmap.cpp
2020-04-12 10:59:09 +03:00
Christoph Oelckers
ab8d2ef62d
- fixed serializer.
...
All includes of RapidJSON *must*(!!!) have the same #defines, otherwise incompatible code will be generated without any hint of a warning.
2020-04-11 22:53:26 +02:00
Christoph Oelckers
8f8aed5ee3
- moved bitmap.cpp to 'common' and remove the duplicate IceRemap.
2020-04-11 20:23:26 +02:00
Christoph Oelckers
0cb2a1b8e9
- moved gl_load to common.
2020-04-11 20:20:59 +02:00
Christoph Oelckers
5fe22c70b5
- moved the 2D drawer to 'common'.
2020-04-11 20:20:59 +02:00
Christoph Oelckers
932f5c64c2
- moved stats.cpp to common.
2020-04-11 20:20:57 +02:00
Christoph Oelckers
3bf7686cfb
- moved v_text.cpp to 'common'.
2020-04-11 20:20:56 +02:00
Christoph Oelckers
2e5bc3e962
- moved compiler frontend to 'common'.
2020-04-11 20:20:56 +02:00
Christoph Oelckers
466ed4e8f2
- separated the Doom specific parts of the ZScript parser from the core into a subclass.
2020-04-11 20:20:56 +02:00
Christoph Oelckers
a28182fe35
- moved the script compiler's backend to 'common'.
2020-04-11 20:20:55 +02:00
Christoph Oelckers
3454314bb1
- separated the Doom specific parts from the compiler backend into a separate file, these parts now get invoked via callback hooks.
2020-04-11 20:20:55 +02:00
Christoph Oelckers
64dc9ac456
- moved around some bits of code.
2020-04-11 20:20:54 +02:00
Christoph Oelckers
1ce11ff02a
- dictionary can also go to 'common'.
2020-04-11 20:20:54 +02:00
Christoph Oelckers
f6bd2e4f76
- moved serializer to 'common'.
2020-04-11 20:20:54 +02:00
Christoph Oelckers
7b292cca57
- split the serializer in two to keep the Doom specific parts out of the main file.
2020-04-11 20:20:53 +02:00
Christoph Oelckers
f8ac9a2662
- moved DObject and core parts of the VM to 'common'.
...
# Conflicts:
# src/common/objects/dobject.h
2020-04-11 20:20:51 +02:00
Christoph Oelckers
940f1dc9a2
- move font code to 'common'.
...
- fix use of translation slot 0, used for internal translations.
2020-04-11 20:20:40 +02:00
Christoph Oelckers
2dcf63c57d
- backport some fixes from Raze - mostly redundant includes.
2020-04-11 20:20:39 +02:00
Christoph Oelckers
65f15e1147
- moved the material class to 'common' as well.
2020-04-11 20:20:38 +02:00
Christoph Oelckers
580e463498
- moved texture code to 'common'.
2020-04-11 20:20:38 +02:00
Christoph Oelckers
5bde737be9
- split buildtexture.cpp in two.
...
The texture itself is 'common', but the setup is not.
2020-04-11 20:20:38 +02:00
Christoph Oelckers
3e285d2261
- moved renderstyle and colortables code to 'common'.
2020-04-11 20:20:37 +02:00
Christoph Oelckers
a13c7bd053
- moved sound code to "common".
2020-04-11 20:20:35 +02:00
Christoph Oelckers
cd9e2d3795
- moved music code to "common".
2020-04-11 20:19:55 +02:00
Christoph Oelckers
4af96bab47
- some cleanup on music code.
...
* change the license of the main file because there is no more id-based code here licensed under the GPL.
* moved VM interface definition out of the implementation.
* moved idmus CCMD out of implementation because it is dependent on Doom level definitions.
* moved s_music.cpp into the music folder with the rest of the music code.
2020-04-11 20:19:54 +02:00
Christoph Oelckers
56f2b2ac56
- reduce backend's dependency on game state by using callbacks.
2020-04-11 20:19:53 +02:00
Christoph Oelckers
f94e4a908c
- m_png is common.
2020-04-11 20:19:52 +02:00
Christoph Oelckers
db62aeb671
- c_cmds is not 'common'.
2020-04-11 20:19:52 +02:00
Christoph Oelckers
777f2ee7c6
- moved stringtable to 'common'.
2020-04-11 20:19:51 +02:00
Christoph Oelckers
c3a381ed92
- moved most of the console code to 'common'.
...
The main console.cpp file cannot be done yet, but the rest is ready to go.
2020-04-11 20:19:51 +02:00
Christoph Oelckers
a712866219
- split out non-game specific CCMDs into their own file.
2020-04-11 20:19:51 +02:00
Christoph Oelckers
603ad755ab
- separated the button code from c_dispatch.
...
Two separate features justify two separate files.
2020-04-11 20:19:24 +02:00
Christoph Oelckers
76db26ee0b
- split off the console's command line class into its own file.
2020-04-11 14:00:22 +02:00
Christoph Oelckers
05239c63f9
- moved some palette related code into the 'common' folder.
2020-04-11 14:00:22 +02:00
Christoph Oelckers
c713850dac
- moved sc_man and palettecontainer to the 'common' folder.
2020-04-11 14:00:21 +02:00