7303 Commits

Author SHA1 Message Date
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
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
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
Goodlyay
35beb67d6a Buggy but compiles sans Windows_WiiU.cpp change 2024-05-07 00:41:31 -07:00
UnknownShadow200
d3f9c5ab84 Windows ARM builds for github actions 2024-05-05 21:37:55 +10:00
UnknownShadow200
c70cc1932c PS3/Vita: Disable low memory mode 2024-05-05 19:20:44 +10:00
UnknownShadow200
b55dadf50e Try to fix rare download issues 2024-05-05 18:25:46 +10:00
UnknownShadow200
ffa128c854
Merge pull request #1183 from ClassiCube/AdvLightingFix
Adv lighting: make entities lit in fully bright blocks
2024-05-05 16:59:43 +10:00
UnknownShadow200
14685d704c GameCube/Wii: Very slightly faster rendering 2024-05-05 14:43:13 +10:00
UnknownShadow200
3081e4b304 Implement comment state tracking for Gfx_SetAlphaBlending 2024-05-04 21:22:53 +10:00
UnknownShadow200
fd1f6ef424 Implement comment state tracking for Gfx_SetAlphaTest 2024-05-04 12:35:18 +10:00
UnknownShadow200
7cfce0fb96 iOS: Compile with less warnings 2024-05-04 11:00:54 +10:00
UnknownShadow200
6f0918ee95 iOS: Set deployment target to 6.0 2024-05-04 08:57:39 +10:00