Christoph Oelckers
6b86d7606f
- safety commit - does not compile!
2020-07-07 13:19:09 +02:00
Christoph Oelckers
f2380f8829
- constant cleanup.
2020-07-06 13:26:26 +02:00
Christoph Oelckers
cfe1e531c5
- activated the newly added render code and deleted the old one.
2020-07-05 21:21:39 +02:00
Christoph Oelckers
8a1206edbc
Merge remote-tracking branch 'remotes/origin/master' into back_to_basics2
2020-07-05 11:55:41 +02:00
Mitchell Richters
bbacc9e816
- factor in xdimenscale and viewingrangerecip when calculating renderSetVisibility().
...
* Changes performed in 0bd460d9e3
didn't take into account xdimenscale and viewingrangerecip like the days of old and this wasn't picked up in d80a32d379
or d80a32d379
, where the applied fixes only appeared to work because they worked for me at 2560x1440p.
2020-07-03 14:42:41 +02:00
Christoph Oelckers
c09b4896a6
- made RR summary screens work.
2020-07-01 22:14:11 +02:00
Christoph Oelckers
fc017f5868
- removed unused editwall variable.
2020-06-26 20:28:57 +02:00
Christoph Oelckers
e146e73345
- consolidated the 'music' parsing in Defs (pending a refactor of the MAPINFO system.)
...
- removed the remaining parts of the game Defs parser because we do not want anything EDuke in here.
2020-06-24 00:40:22 +02:00
Mitchell Richters
291475eeb5
- simplify visibility calculation from changes performed in d80a32d379
.
...
* Achieves the exact same result in a cleaner fashion.
2020-06-23 14:16:42 +02:00
Christoph Oelckers
56834dee6b
- 2D animation fix.
2020-06-22 00:27:11 +02:00
Christoph Oelckers
4c00e4cf7c
- got rid of the old precaching code.
...
# Conflicts:
# source/games/duke/src/zz_premap.cpp
2020-06-22 00:07:25 +02:00
Christoph Oelckers
ed9b418db7
- deleted a bit more unused code.
...
# Conflicts:
# source/games/duke/src/zz_config.cpp
2020-06-22 00:06:34 +02:00
Christoph Oelckers
e3153f143d
hudweapon
...
# Conflicts:
# source/build/src/engine.cpp
2020-06-22 00:05:07 +02:00
Christoph Oelckers
990cb2acb8
-'shoot' replaced.
...
# Conflicts:
# source/build/src/palette.cpp
2020-06-21 23:24:49 +02:00
Christoph Oelckers
f56a8360b0
- spawnglass functions and fta_sounds.
2020-06-21 23:23:21 +02:00
Christoph Oelckers
18d6a8e65d
- another safety commit.
...
# Conflicts:
# source/games/duke/src/zz_actors.cpp
2020-06-21 23:07:42 +02:00
Christoph Oelckers
e007b9bceb
- safety commit
2020-06-21 23:07:41 +02:00
Christoph Oelckers
15c744f3da
- movement code of the VM transitioned
2020-06-21 23:07:41 +02:00
Christoph Oelckers
577a800843
- the rest of sector.cpp, except for the input function.
2020-06-21 22:40:12 +02:00
Christoph Oelckers
92f5236b24
- more sector stuff.
2020-06-21 22:40:12 +02:00
Christoph Oelckers
c8cb0e4efd
- the beginning of sector.cpp
...
The math backend functions have been moved out of Build because they originally have a good license.
# Conflicts:
# source/build/src/mdsprite.cpp
# source/build/src/polymost.cpp
2020-06-21 22:39:05 +02:00
Christoph Oelckers
8cc273955d
- moveeffectors, actors.c complete.
2020-06-21 22:38:04 +02:00
Christoph Oelckers
7b75a0683a
moveactors plus backing code.
2020-06-21 22:37:29 +02:00
Christoph Oelckers
89e555761d
- guts and moves
2020-06-21 22:36:09 +02:00
Christoph Oelckers
c11963b41a
- movesprite
2020-06-21 22:36:08 +02:00
Mitchell Richters
d80a32d379
- fix render visibility calculation following changes in 0bd460d9e3
.
...
* Output from PrintVis() in 9dfd3ddd02
showed resulting global visibility as 0.078125.
* Following 0bd460d9e3
, resulting global visibility shown as 0.041667.
* Scaling g_visibility by (8.f / 15.f) (0.533333) restores resulting global visibility to 0.078125.
2020-06-21 10:12:54 +02:00
Mitchell Richters
3325ef272e
- make r_ambientlight work globally for all games by performing adjustment engine-side.
2020-06-21 10:12:54 +02:00
Christoph Oelckers
1bb7da173a
- removed a few more dependencies on Build includes.
2020-06-20 18:17:49 +02:00
Christoph Oelckers
686999381b
- moved non-Build definitions out of baselayer.h.
2020-06-20 17:52:10 +02:00
Christoph Oelckers
15d869ccde
-moved scancodes.h out of Build folder.
...
This file is from the Duke source and available under a good license so it can be moved to a better place.
2020-06-20 12:54:33 +02:00
Christoph Oelckers
198ed45357
- clean up redundancy
2020-06-20 10:58:47 +02:00
Richard C. Gobeille
d28929c437
engine: add klabs() back into ksqrtasm_old()
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
4128fd62c7
engine: set g_loadedMapVersion in engineLoadBoardV5V6()
...
# Conflicts:
# source/build/src/engine.cpp
2020-06-17 12:26:05 +02:00
Richard C. Gobeille
1cab7b9765
engine: add divideu64()/divideu64_noinline()
2020-06-17 12:26:03 +02:00
Dino Bollinger
9c2c1cc765
Fix 3D model animation depending on the number of sprites present on the map.
...
Fixes terminx/eduke32#64 .
2020-06-17 12:26:03 +02:00
Christoph Oelckers
2a29dbf793
- use backend independent code to render the camera textures.
2020-06-14 21:57:21 +02:00
Christoph Oelckers
946da7d622
- moved the textures used for the animations into the texture manager.
...
This is to allow giving them a texture ID so that they can be used from ZScript which has no access to naked textures.
This also consolidates AnimTexture and VpxTexture.
2020-06-14 20:27:13 +02:00
Christoph Oelckers
67b1963e7c
- fixed render state management.
...
There are effectively two states - the one in the backend and a local one in the drawer for the render list which is supposed to eliminate some of the more costly repeated calls.
This higher level state was cached globally, which did not work anymore because the real render state could be changed elsewhere without this code realizing it.
All this means that the render list drawer must create a new state cache for each call and also must apply its current pending render state before leaving to ensure that everything is properly reset.
2020-06-12 22:32:49 +02:00
Christoph Oelckers
a419181c36
- simplified screenshot code.
2020-06-12 00:39:06 +02:00
Christoph Oelckers
f2d075e0d0
- code cleanup.
2020-06-12 00:37:40 +02:00
Christoph Oelckers
6a9f1e9da1
- removed the old OpenGL interface.
2020-06-12 00:25:52 +02:00
Christoph Oelckers
ba397f5ca1
- always draw floors opaque
2020-06-11 23:55:23 +02:00
Christoph Oelckers
22aad4999c
- use the engine backend to render the scene
2020-06-11 22:26:46 +02:00
Christoph Oelckers
a6545788a6
- do RR's lightning flash as a postprocessing effect.
2020-06-07 22:06:47 +02:00
Christoph Oelckers
4c6abe1bb9
- pass the shade through the 2D drawer, so that palette emulation can still use it.
2020-06-07 14:50:12 +02:00
Christoph Oelckers
b6d204a88b
- fixed: Weapons are part of the scene and always need to be rendered with the global base palette.
2020-06-07 13:50:41 +02:00
Christoph Oelckers
f2a637418d
- moved palette.cpp out of Build folder.
2020-06-07 13:06:18 +02:00
Christoph Oelckers
3fe4dbed01
- fixed fog translation table generation.
2020-06-07 12:51:26 +02:00
NY00123
ec11d22caf
Use static instead of LUNATIC_EXTERN
...
# Conflicts:
# source/build/include/build.h
# source/duke3d/src/gamedef.cpp
2020-06-07 10:36:43 +02:00
NY00123
6a70389f1d
Let's just use __fastcall instead of LUNATIC_FASTCALL
...
# Conflicts:
# source/build/include/build.h
2020-06-07 10:36:04 +02:00