Commit graph

7413 commits

Author SHA1 Message Date
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
UnknownShadow200
b6ff26aa5b PS1: Backface culling and better VRAM usage 2024-05-08 21:29:49 +10:00
UnknownShadow200
a4848d0f38 PS1: 10 to 15 FPS, sorta fix 2D rendering 2024-05-08 19:26:09 +10:00
UnknownShadow200
137705c51d 360: Untested analog controller support 2024-05-08 18:30:11 +10:00
Goodlyay
c601405db0 Now changing sun/shadow color updates modern lighting colors 2024-05-07 18:03:13 -07:00
Goodlyay
ff3752a26d Fix ModernLighting_OnBlockChanged function signature 2024-05-07 14:33:42 -07:00
UnknownShadow200
fe7fd614da Dreamcast: Slightly optimise clipping 2024-05-07 19:15:08 +10:00
Goodlyay
5b25d2a0f3 Move ModernLighting logic into its own source file 2024-05-07 02:05:56 -07:00
UnknownShadow200
4f0b125f9b Change back Camera.GetPosition argument list to avoid breaking plugins 2024-05-07 18:39:26 +10:00
Goodlyay
2c4a7e2a6d Merge branch 'master' into ModernLighting 2024-05-07 00:48:22 -07:00