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