UnknownShadow200
9d7bde7218
Windows/Linux: Add more special keys support
2024-05-18 20:19:11 +10:00
Goodlyay
64c4582b01
Merge branch 'master' into ModernLighting
2024-05-18 00:20:58 -07:00
Goodlyay
3e797338db
Fix out of bounds colors in fancy lighting
2024-05-17 18:09:04 -07:00
UnknownShadow200
a9929e52b0
Saturn: Double performance and fix timing sort of
2024-05-17 23:14:59 +10:00
Goodlyay
44d808016c
Fix grass physics in singleplayer
2024-05-17 02:16:50 -07:00
UnknownShadow200
1e765919ea
More multimedia keys
2024-05-17 18:31:59 +10:00
UnknownShadow200
0ad6d4e8ba
Windows: Add support for binding to some media keys
2024-05-17 17:53:36 +10:00
Goodlyay
883d93c6b8
Change "Fancy lighting" option bool to "Lighting mode" enum
...
Fully rename modern lighting to fancy lighting internally
Other misc code cleanup and rename "sun" light type to "lamp"
2024-05-16 20:21:38 -07:00
UnknownShadow200
a5dfd2ef8b
All graphics backends can now see if in 2D mode or not
2024-05-16 21:28:10 +10:00
UnknownShadow200
2d5e0e2edf
Fix NetBSD workflow
2024-05-16 18:47:09 +10:00
UnknownShadow200
a3e559add9
Linux/macOS: Support 4 extra buttons, partially addresses #1186
2024-05-16 17:20:17 +10:00
Goodlyay
d18a8fe988
Fix overly bright env colors
2024-05-15 22:12:44 -07:00
Goodlyay
fd7988e492
Support LavaLight and LampLight colors
2024-05-15 21:42:40 -07:00
Goodlyay
40f454b602
Support LavaLight and LampLight env color part 1
2024-05-15 20:41:39 -07:00
Goodlyay
c4235fa653
Support blocks casting "sun" color
2024-05-15 18:46:23 -07:00
Goodlyay
a994bf367c
Update lighting appropriately when block definitions are changed
2024-05-15 17:04:18 -07:00
UnknownShadow200
29859ca9ab
Dreamcast: Unify assembly
2024-05-15 22:00:24 +10:00
Goodlyay
f1e7cad094
Rename and clarify lighting-related options
2024-05-15 03:54:27 -07:00
Goodlyay
a9c5c7167c
Support BlockLight EnvColor variable
2024-05-15 03:38:46 -07:00
UnknownShadow200
9a69e3fac6
Fix order of buttons in PauseScreen to work better for gamepad input
2024-05-15 20:17:06 +10:00
Goodlyay
d401b13cbb
Fix wrong axis in Z light unspread
2024-05-14 16:50:57 -07:00
Goodlyay
c93a3c56c2
Fix missing return value in Block_WriteFullBright (thanks Unk)
2024-05-14 01:31:09 -07:00
UnknownShadow200
8621415f50
Dreamcast: Move clipflag calculation into vertex transform code
2024-05-14 17:52:02 +10:00
Goodlyay
e82fb20943
Not to jinx it, but lighting updates seems to fully work now
...
TODO: Handle "sun" color light updates and calculations
2024-05-14 00:15:40 -07:00
Goodlyay
1077948a13
WIP remove lights when blocks update
2024-05-13 20:54:37 -07:00
Goodlyay
0b597fbb3f
Light updates when placing light sources now
2024-05-13 14:40:14 -07:00
UnknownShadow200
effa39f3aa
Merge remote-tracking branch 'origin' into ModernLighting
2024-05-13 22:56:18 +10:00
UnknownShadow200
66cf05667c
Try to be a bit more efficient in LightHint
2024-05-13 22:54:26 +10:00
UnknownShadow200
1151eb473d
Fix can't manually run workflows on non-master branches
2024-05-13 22:24:47 +10:00
UnknownShadow200
779c75022b
Make it compile with non-MSVC compilers
2024-05-13 21:35:20 +10:00
UnknownShadow200
6b089ccb22
Xbox: Use proper way of infinite timeout when waiting for a signal
2024-05-13 21:10:49 +10:00
Goodlyay
957d89ecd0
Break lighting update
2024-05-13 02:06:28 -07:00
UnknownShadow200
e0970e1c9f
Xbox: Add support for disabling stuff that doesn't work in cxbx-reloaded
2024-05-12 21:52:10 +10:00
Goodlyay
b26e9fc3a9
Lighting now updates in an unoptimized way when blocks are changed
2024-05-12 01:10:34 -07:00
Goodlyay
d759277961
Don't pointlessly allocate memory for chunks with no block lighting data
2024-05-11 20:39:40 -07:00
Goodlyay
5221a827c7
revert "always use sunlight color" test
2024-05-11 19:55:37 -07:00
Goodlyay
4e01e2ac67
Less code duplication when calculating lighting
...
Also don't actually include sunlight in chunkLightingData as it's already calculated from classic heightmap.
TODO: don't waste memory allocating lighting data for chunks that have no light-casting block influence
2024-05-11 19:44:35 -07:00
UnknownShadow200
8a3f02dc0c
Xbox: Don't pointlessly create unused index buffer
2024-05-12 11:27:47 +10:00
Goodlyay
808819a045
Add a generic, reusable queue for future lighting logic
2024-05-10 23:18:05 -07:00
UnknownShadow200
4a96f653bf
Direct3D11: Fix 3D anaglyph not working
2024-05-11 11:12:03 +10:00
UnknownShadow200
43a49d48cc
Xbox: Be a little more efficient in draw calls
2024-05-11 11:12:02 +10:00
Goodlyay
04cbf398eb
Merge branch 'master' into ModernLighting
2024-05-09 23:38:28 -07:00
UnknownShadow200
0bcc2c09c0
Allow triggering workflows manually
2024-05-10 12:49:51 +10:00
Goodlyay
df3e6834d6
Fix setting spawn with -noclip sometimes allowing clipping through blocks
2024-05-09 19:38:40 -07:00
UnknownShadow200
7fd7d489f1
VirtualKeyboard: L/R append @ and /, also fFix accidentally initing with placeholder instead of initial text
2024-05-09 23:08:46 +10:00
UnknownShadow200
c4e20e94f4
Avoid pointer sign conversion warning when parsing content length, should also fix DS build
2024-05-09 21:43:50 +10:00
UnknownShadow200
0035ffc9cd
Upload .bin/.cue for Saturn build
2024-05-09 21:30:46 +10:00
UnknownShadow200
5bd2d6848a
Saturn: Try to fix chunk building insta crashing the game
2024-05-09 20:53:46 +10:00
UnknownShadow200
3ee1b1e92a
Mobile: Fix can't click on thumbstick widget to move anymore after going in-game, quitting, then going in-game again
2024-05-08 22:59:24 +10:00
UnknownShadow200
3ce74bf30e
PS1: Fix texture brightness and blocks in inventory
2024-05-08 22:03:59 +10:00