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
|
4b56714199
|
- made hw_postprocess.cpp compatible.
The shadowmap is not universal, it depends on Doom's map format.
|
2020-04-26 00:03:08 +02:00 |
|
Christoph Oelckers
|
0c63f5c832
|
- moved FRenderState to 'common' and removed some game-dependent parts from it.
|
2020-04-25 23:29:38 +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
|
72533e2f8a
|
- redirect ST_Sound to a callback because the sound code is game specific
|
2020-04-23 22:33:43 +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
|
612bf20809
|
- moved game state connections of the startup screen out of the backend code.
|
2020-04-23 00:02:34 +02:00 |
|
Christoph Oelckers
|
3961f708fe
|
- moved refreshfreq variable to a common place.
|
2020-04-22 22:32:24 +02:00 |
|
Christoph Oelckers
|
4da2351671
|
- fixed compile errors in POSIX platform code.
|
2020-04-22 20:42:13 +02:00 |
|
Christoph Oelckers
|
12e69adec3
|
- system backend cleanup.
This is mainly for running CI on Linux and macOS. Windws is already working.
|
2020-04-22 19:57:14 +02:00 |
|
Christoph Oelckers
|
f17617706d
|
- moved the scale overrider to v_draw.h.
|
2020-04-21 21:23:04 +02:00 |
|
Christoph Oelckers
|
ce95d7379f
|
- swapped out the license in two files.
BSD is preferred over LGPL
|
2020-04-21 21:06:11 +02:00 |
|
Christoph Oelckers
|
f296660266
|
- set all texture IDs after finishing the initial texture manager initialization.
As it turned out, not all textures have a valid ID at that point so it needs to be redone.
|
2020-04-19 21:15:01 +02:00 |
|
Christoph Oelckers
|
b7ea483323
|
- fixed checkForHacks placement.
|
2020-04-19 19:52:03 +02:00 |
|
Christoph Oelckers
|
8dbc727178
|
- fixed compile errors pointed out by CI
|
2020-04-19 19:05:50 +02:00 |
|
Christoph Oelckers
|
0eb68177ca
|
Merge branch 'master' into texture_rework
|
2020-04-19 18:07:16 +02:00 |
|
Christoph Oelckers
|
db6a284253
|
- apply aspect ratio compensation for all fullscreen images with a height of 200 and 400, and not just to 320x200 and 640x400.
|
2020-04-19 13:49:10 +02:00 |
|
Christoph Oelckers
|
5228a67ff5
|
- fixed keybinding reader - before trying to load DEFBINDS the lump index wasn't reset.
|
2020-04-19 13:23:02 +02:00 |
|
Christoph Oelckers
|
1c99e0917e
|
- do not treat the ':' as a path separator.
The cases where it really is needed have special handling for it, in all others it causes more problems than it solves.
|
2020-04-19 12:24:12 +02:00 |
|
Christoph Oelckers
|
b2281c38e1
|
- fixed texture layer management so that each material layer can decide for itself if it wants to allow upscaling.
- rewrote the hardware texture precacher to use the new texture management to properly track the data to delete.
|
2020-04-19 10:57:56 +02:00 |
|
Christoph Oelckers
|
cedc95c2a5
|
- split out FGameTexture into its own files.
|
2020-04-19 10:57:56 +02:00 |
|
Christoph Oelckers
|
5a2a72fc95
|
- store the Vulkan descriptor sets in the material - where they belong!
Having them in the base texture object was a major maintenance issue.
|
2020-04-19 10:57:56 +02:00 |
|
Christoph Oelckers
|
46e75e8107
|
- fixed crash with particles checking a non-existent actor.
|
2020-04-19 10:57:56 +02:00 |
|
Christoph Oelckers
|
c836dd3dbf
|
- initialize bNoRemap0
|
2020-04-19 10:57:55 +02:00 |
|
Christoph Oelckers
|
ef8e7a4944
|
- reworked the multipatch texture builder to reuse the FImageTexture objects.
|
2020-04-19 10:57:55 +02:00 |
|
Christoph Oelckers
|
389892a079
|
- moved SkyOffset and Rotations.
|
2020-04-19 10:57:55 +02:00 |
|
Christoph Oelckers
|
f7dd16ba16
|
- test skyboxes with dynamic_cast and scale them properly.
|
2020-04-19 10:57:55 +02:00 |
|
Christoph Oelckers
|
217b80b1fb
|
- moved the brightmap check flag out of FTexture.
|
2020-04-19 10:57:54 +02:00 |
|
Christoph Oelckers
|
0a1bd458db
|
- moved most material flags out of FTexture.
|
2020-04-19 10:57:54 +02:00 |
|
Christoph Oelckers
|
d812801707
|
- moved the shader properties to FGameTexture.
|
2020-04-19 10:57:54 +02:00 |
|
Christoph Oelckers
|
e60d758287
|
- made all member variables of FTexture protected. Also temorarily disabled the CleanUnused call of the precacher - this needs some reworking, now that the texture system is better equipped for it.
|
2020-04-19 10:57:54 +02:00 |
|
Christoph Oelckers
|
718949f74d
|
- moved the texture name to FGameTexture.
|
2020-04-19 10:57:53 +02:00 |
|
Christoph Oelckers
|
7dd108c960
|
- removed FTexture's Scale variable.
|
2020-04-19 10:57:53 +02:00 |
|
Christoph Oelckers
|
eb369dbf41
|
- initialize texture offsets for images on construction.
|
2020-04-19 10:57:53 +02:00 |
|
Christoph Oelckers
|
61380fc505
|
- moved the offsets to FGameTexture.
# Conflicts:
# src/common/textures/textures.h
|
2020-04-19 10:57:53 +02:00 |
|
Christoph Oelckers
|
8843761bf8
|
- moved most of the texture size maintenance to the FGameTexture class.
|
2020-04-19 10:57:53 +02:00 |
|
Christoph Oelckers
|
9bc1d4f38f
|
- restored null texture setup.
|
2020-04-19 10:57:52 +02:00 |
|
Christoph Oelckers
|
c563f4993f
|
- took the sky cap color getter out of the texture system.
# Conflicts:
# src/common/textures/textures.h
|
2020-04-19 10:57:52 +02:00 |
|
Christoph Oelckers
|
d1da26895b
|
- moved the texture ID up one level.
|
2020-04-19 10:57:52 +02:00 |
|
Christoph Oelckers
|
7641da8b7b
|
- moved several members from FTexture to FGameTexture.
|
2020-04-19 10:57:52 +02:00 |
|
Christoph Oelckers
|
42304d9680
|
- store the material layers in reference counted pointers in the FGameTexture object.
Reference counting is used because a texture image may be shared by more than one game texture.
|
2020-04-19 10:57:51 +02:00 |
|
Christoph Oelckers
|
70ec20c137
|
- optimization of texture scaling checks.
The texture dimension checks can be performed up front when the texture is inserted into the texture manager.
|
2020-04-19 10:57:51 +02:00 |
|
Christoph Oelckers
|
09898ef6c3
|
- cache the upscaling check's result in the texture, as this will be queried quite frequently.
|
2020-04-19 10:57:51 +02:00 |
|