6381 Commits

Author SHA1 Message Date
UnknownShadow200
10b9384fb3
Merge pull request #1014 from UnknownShadow200/WinStringCleanup
Windows: Simplify native unicode and ascii string representation handling
2023-05-15 07:41:21 +10:00
UnknownShadow200
68d8b748d2 Allow blocking sockets 2023-05-13 10:49:50 +10:00
UnknownShadow200
7c92e21ce6
Merge pull request #1012 from 360ied/keylook
Keyboard aiming (looking around using keyboard instead of mouse)
2023-05-12 09:02:12 +10:00
UnknownShadow200
09d000fec2
Tidy up and expand readme a bit 2023-05-11 21:59:12 +10:00
360ied
c64f01b244 Don't move camera while in menus 2023-05-10 13:58:41 -04:00
360ied
7c9d57dae2 Format Look keybinds better
- Put all 4 keybinds on one column
- Place LookLeft keybind before LookRight keybind
2023-05-10 12:26:08 -04:00
360ied
794cb857c4 Make keyboard aiming respond to mouse sens option 2023-05-08 17:34:57 -04:00
360ied
fa83c1033c Fix keyboard aiming turning at fps-dependent speed 2023-05-08 16:53:53 -04:00
360ied
c0628d4a68 Add basic keyboard-only aiming support 2023-05-08 13:22:21 -04:00
UnknownShadow200
aefa0e93e0 3DS: Make system fonts kinda readable 2023-04-29 09:26:20 +10:00
UnknownShadow200
26cd3ebe24 3DS: Implement onscreen keyboard, and avoid flickering in launcher due to running in double buffered mode (which launcher isn't designed to do) 2023-04-29 08:17:05 +10:00
UnknownShadow200
4760d529d1 3DS: System font at least draws something legible now 2023-04-26 22:46:02 +10:00
UnknownShadow200
ac7602386e Split up Drawer2D module into Drawer2D and SystemFonts modules 2023-04-25 16:19:47 +10:00
UnknownShadow200
02e559e520 3DS: Default to blank white texture instead of black when attempting to bind a non-existent texture 2023-04-24 18:48:41 +10:00
UnknownShadow200
6cd5801d78 Fix webclient mostly not working due to 9411b5d63f29a43dd3651b1525b6d8b714b90dbc
I forgot that floating point suffixes weren't supported in older GLSL versions, so it would fail to compile the shader with 'floating-point suffix unsupported prior to GLSL ES 3.00
2023-04-23 23:16:21 +10:00
UnknownShadow200
cc18e0a449 Direct3D11: Use reverse depth buffer for better range precision (Thanks 123DMWM)
This should reduce Z-fighting with very far away objects, e.g. the water/bedrock outside level with a view distance of 4096
2023-04-23 21:23:40 +10:00
UnknownShadow200
9411b5d63f Direct3D 11/OpenGL modern: Fix fog being very slightly different compared to Direct3D 9/OpenGL backends 2023-04-23 16:35:49 +10:00
UnknownShadow200
da8ab3d979 Simplify projection matrix calculation and add more explanatory comments 2023-04-23 12:29:31 +10:00
UnknownShadow200
03ccdbbc5c Fix rare issue where some PNGs were decoded with the wrong transparency (Thanks Goodly)
If the bitmap used a colour type of 2 (RGB) or 0 (GRAYSCALE), and had a tRNS chunk to indicate to treat one specific RGB colour as transparent, and that specific colour wasn't block, the decoder would still incorrectly treat black as the transparent colour instead of the actual colour specified
2023-04-22 20:51:24 +10:00
Goodlyay
3e08cfc533 Merge branch 'master' of https://github.com/UnknownShadow200/ClassiCube 2023-04-22 03:12:00 -07:00
Goodlyay
d05d4829fa Do not apply anti-mirror offset on rain for better classic accuracy
(Thanks UnknownShadow200)
2023-04-22 03:11:56 -07:00
UnknownShadow200
a8a40c18e4 PSP: Use native PSP APIs for I/O rather than libc APIs 2023-04-22 17:02:19 +10:00
UnknownShadow200
159f0d5f56 PSP: Fix crashing if you try to bind null/missing texture 2023-04-22 13:33:16 +10:00
Goodlyay
1aa975bd6f Tweak snow/rainfall animation
Now the vertical speed at which snow moves is slightly randomized
Also offset the height of one of the planes to avoid unnatural mirrored effect on textures
2023-04-21 19:52:36 -07:00
Goodlyay
9fef44c07d Improve snowfall animation
Add a random offset to the direction that the billboards scroll to better differentiate it from rainfall and add more liveliness to the effect
2023-04-21 18:30:49 -07:00
UnknownShadow200
a53325234b Fix last commit 2023-04-22 09:21:39 +10:00
UnknownShadow200
cfd95851d6 Move crosshairs rendering to new UI rendering way 2023-04-22 09:07:14 +10:00
UnknownShadow200
f076195472 3DS: System fonts draw something now
Even if that something is just boxes
2023-04-21 21:37:34 +10:00
UnknownShadow200
5347d136ef 3DS: You can click stuff I guess 2023-04-21 20:44:20 +10:00
UnknownShadow200
44348c432c 3DS: Use more appropriate default directory and fix can't compile it 2023-04-21 19:58:27 +10:00
UnknownShadow200
58fefbe466 3DS: Set root directory to ClassiCube directory on sdmc device, add makefile for 3DS 2023-04-20 21:52:49 +10:00
UnknownShadow200
67d7f76376 3DS: Multiplayer connects now, fix loading screen not rendering at all 2023-04-18 21:11:23 +10:00
UnknownShadow200
5a4e4756f0 3DS: Now stuff sorta renders 2023-04-17 22:38:15 +10:00
UnknownShadow200
00b0af1a5e 3DS: Texturing WIP 2023-04-16 09:58:55 +10:00
UnknownShadow200
048ebd9aef 3DS: Something renders now 2023-04-15 22:01:09 +10:00
UnknownShadow200
6a70c40b26 macOS: Don't hardcode libcurl.dylib lookup to /usr/lib directory 2023-04-12 20:21:52 +10:00
UnknownShadow200
508020ac78 GUI: Fix FPS text in top left being significantly lower after context is recreated than actual FPS
e.g. when resizing the game window with direct3d9 backend
2023-04-11 18:52:27 +10:00
UnknownShadow200
362fce5b0c PSP/3DS: Less stack usage and more appropriate stack size for new threads 2023-04-11 11:52:47 +10:00
UnknownShadow200
51505f7ef3 Fix last commit 2023-04-09 13:17:10 +10:00
UnknownShadow200
8b4828fafa 3DS: it renders something now 2023-04-09 13:06:35 +10:00
UnknownShadow200
7847c5830f Launcher: Fix if servers list initially had entries, then you clicked Refresh, and then the server list now had zero entries, the launcher crashed
This was because LTables_Sort wasn't resetting w->rowCounts to 0 when FetchServersTask.numServers was 0, so the table rendering code would still attempt to retrieve server information from the now NULL FetchServersTask.servers point via LTable_Get
2023-04-09 11:21:04 +10:00
UnknownShadow200
574790d360 3DS: launcher now renders 2023-04-08 20:43:06 +10:00
UnknownShadow200
421bfcabcd PSP: Fix terrain not rendering and implement texture animations
The terrain not rendering was caused by enabling alpha test but not setting alpha reference value or mode, oops
2023-04-07 14:51:32 +10:00
UnknownShadow200
d96aba237b PSP: Less broken rendering 2023-04-07 13:05:03 +10:00
UnknownShadow200
c07d34a5fc PSP: Launcher now doesn't immediately crash 2023-04-06 21:08:56 +10:00
UnknownShadow200
1cd954e31c Fix not compiling when EXTENDED_BLOCKS is turned off (Thanks rdebath, fixes #1006)
Also add a PSP specific platform backend
2023-04-05 22:59:08 +10:00
UnknownShadow200
e0f7e85502 PSP: it actually renders now I guess 2023-04-01 15:38:21 +11:00
UnknownShadow200
03dde88c1a Windows: use a single struct that contains both unicode and ascii representations of string for API interop 2023-03-27 23:08:30 +11:00
UnknownShadow200
bf52adf76c Visual Studio: Include CCIcon.rc by default, so that executables compiled using Visual Studio have an icon 2023-03-26 00:23:45 +11:00
UnknownShadow200
3783380e1a
Make it easier to compiler on IRIX (#997)
Thanks ]joshyfishy22 for testing on an actual machine running IRIX
2023-03-23 22:21:46 +11:00