Christoph Oelckers
9e7f91b5ac
- fixed size of texture arrays.
...
We need 6 slots, not 5.
2020-01-05 12:56:32 +01:00
Christoph Oelckers
b6862cfd70
- fixed text input menu and y-positioning of option menus.
2020-01-05 12:12:14 +01:00
Christoph Oelckers
746aa4da82
- added a ClearScreen function to the 2D drawer to wrap the frequent occurence of this use case.
2020-01-05 10:48:44 +01:00
Christoph Oelckers
a3020ed867
- don't let joystick/controller axis events register as a keypress for screen advancing.
2020-01-05 10:36:52 +01:00
Christoph Oelckers
e84acb7e2f
- invalidate the render state after finishing a frame.
...
Last bound textures in particular may not be valid anymore in the next frame in movie playback.
2020-01-05 09:38:44 +01:00
Magnus Norddahl
0714155e3a
Fix ssao no longer working
2020-01-04 09:54:47 +01:00
Christoph Oelckers
9de5814063
- fixed bad alpha setting for rotatesprite calls.
2020-01-03 22:05:00 +01:00
Christoph Oelckers
73950458d4
- fixed mouse selection for generated menus.
2020-01-03 21:28:01 +01:00
Christoph Oelckers
5cc165587e
- added mouse control for image scroller menu.
2020-01-03 20:53:38 +01:00
Christoph Oelckers
4155d49e59
- fixed menu slider rendering.
2020-01-03 20:40:56 +01:00
Christoph Oelckers
39c55199f9
- added a few missing menu things.
2020-01-03 20:37:02 +01:00
Christoph Oelckers
064a453b41
- fixed: Key up events were processed as character input.
...
This broke the cheat input in Duke Nukem.
2020-01-03 19:28:54 +01:00
Magnus Norddahl
13a7b7d4b2
Hook up gl_ssao
2020-01-03 18:34:43 +01:00
Christoph Oelckers
07754b3255
- std::filesystem is gone.
2020-01-03 17:56:22 +01:00
Christoph Oelckers
9f0b720b25
-second function freed of std::filesystem.
2020-01-03 17:34:52 +01:00
Christoph Oelckers
c82d6de6c3
- fixed a few typos and uninitialized variables.
2020-01-03 17:08:41 +01:00
Christoph Oelckers
78e7b2dd8c
- getting rid of std::filesystem, part one.
...
Since it's not usable on macOS it needs to go.
2020-01-03 14:19:52 +01:00
Christoph Oelckers
6574c34543
- re-enabled MIDI selection, but only with the devices that are supposed to be seen.
2020-01-03 09:22:22 +01:00
Christoph Oelckers
6135e388ed
- changed the remaining license headers from GZDoom's renderer's files, in agreement with all contributors to this code.
2020-01-03 08:03:29 +01:00
Magnus Norddahl
066f444dd0
Hook up vid_fps
2020-01-03 06:28:25 +01:00
Magnus Norddahl
2403d1b7e5
Update the license for the postprocessing source code
2020-01-03 05:42:37 +01:00
Christoph Oelckers
62fd8a49c1
- fixed CVAR assignment for number of sound channels.
2020-01-03 00:47:13 +01:00
Christoph Oelckers
72036721d5
- made DN3D shareware operable.
...
The GRP defines neither episodes nor skills, so they have to be provided internally.
This isn't 100% correct yet, but should do for now.
2020-01-03 00:44:39 +01:00
Christoph Oelckers
e63ca0f471
- removed redundant keyboard.h header
2020-01-02 19:56:57 +01:00
Christoph Oelckers
afb1d7b885
- changed a few licenses of my own code to something more permissive.
2020-01-02 19:38:47 +01:00
Christoph Oelckers
e43d2c10c0
- removed the OPL synth because parts of it are GPLv3 and even under the best circumstances not compatible with the license mix here.
2020-01-02 19:20:12 +01:00
Rachael Alexanderson
a6bf1c3026
- oops, didn't mean to change this line (I blindly copied the function over)
2020-01-02 00:15:19 -05:00
Rachael Alexanderson
21ba23f36d
- pull most recent video scale changes from gzdoom
2020-01-01 23:42:09 -05:00
Rachael Alexanderson
6a17e3910b
- relicense my reused GZDoom code as BSD
2020-01-01 08:59:40 -05:00
Christoph Oelckers
e01c161258
- removed some dead variables.
2020-01-01 13:11:44 +01:00
Christoph Oelckers
18099e9179
- removed the pure software render surface and deleted a few unused variables.
...
With all the 2D refactorings thhe softsurface won't work anymore.
This also revealed a bug with the fullscreen variable, a few places were still using the old one from the SDL backend.
2020-01-01 12:36:48 +01:00
Christoph Oelckers
d09b83d4a5
- moved the last remaining function out of baselayer.cpp and removed that file.
...
g_logFlushWindow was deleted entirely because with the current console this is not needed anymore.
2020-01-01 12:01:26 +01:00
Christoph Oelckers
d464017363
- cleaned up the input code a bit.
2020-01-01 11:35:47 +01:00
Christoph Oelckers
bcb48d8441
- added handling for changing the screen size (dragging the window borders / change scale factor)
2020-01-01 09:49:06 +01:00
Christoph Oelckers
98604e513e
- set up the scene viewport for the postprocessor.
2019-12-31 20:11:31 +01:00
Christoph Oelckers
05e381ff6d
- fixed screen clearing for the automap.
...
This should only affect the active window, not the entire screen.
2019-12-31 19:50:27 +01:00
Christoph Oelckers
1890df98f9
- process lines through the 2D drawer.
2019-12-31 19:02:55 +01:00
Christoph Oelckers
2f8d472d7d
- cleaned up the map drawer by using a real triangulator.
...
Immediate benefit: almost 200 lines of bona-fide Kencode go to the dumpster.
2019-12-31 17:23:29 +01:00
Christoph Oelckers
77cd7bffc5
- fixed alpha calculations for textured automap.
2019-12-31 15:50:08 +01:00
Christoph Oelckers
964e303dd7
- draw the textures on the automap with the 2D drawer.
2019-12-31 15:05:08 +01:00
Rachael Alexanderson
143c8be84d
- fixed: argument count passed to the OSD system was +1 than it expected
2019-12-31 08:07:22 -05:00
Christoph Oelckers
51eaa5cd1f
- let mouse control in the menu default to Touchscreen-like, like it is in GZDoom.
2019-12-31 02:48:16 +01:00
Magnus Norddahl
8f1d1fa94b
Fix mouse move precision loss when only moving the mouse a pixel or two. Also make the baseline mouse scaling more reasonable.
2019-12-31 01:46:54 +01:00
Magnus Norddahl
0396f79c15
Fix in_mouse 0 and in_joystick 0 not working
2019-12-31 01:00:30 +01:00
Christoph Oelckers
6b431cec2c
- fixed: True color texture replacements were set up incorrectly.
...
They incorrectly set themselves up as their own glow and detail textures.
These layers also weren't disabled for the next texture.
2019-12-30 20:44:37 +01:00
Christoph Oelckers
ad24a1ce31
- place weapon sprites in a separate render list.
...
They need to be drawn in a different pass than the 2D overlay HUD so the backend must have them separately.
2019-12-30 20:16:51 +01:00
Christoph Oelckers
9ceb47fdb2
- cleaned up the rotatesprite code a bit.
2019-12-30 20:16:51 +01:00
Christoph Oelckers
596705a36e
- apply RS_YFLIP to 2D sprites.
2019-12-30 20:16:51 +01:00
Christoph Oelckers
5830e72ab0
- fixed some rotatesprite issues:
...
* scissor was not applied
* texture coordinates were fetched from the wrong texture, courtesy of using global variables.
2019-12-30 19:37:23 +01:00
Christoph Oelckers
6459f4e532
- refactored rotatesprite to really use the 2D drawer.
...
Mostly working, except clipping and weapon sprites.
2019-12-30 19:37:23 +01:00