38 Commits

Author SHA1 Message Date
UnknownShadow200
34d9589b33 Avoid unnecessary matrix multiplies on saturn/ps1/softgpu 2024-07-27 08:27:58 +10:00
UnknownShadow200
c0a6811d56 Consoles: Don't auto show virtual keyboard when an input field is selected, only show it after A/Start is pressed 2024-06-22 08:18:38 +10:00
UnknownShadow200
483c7b6b07 Use Math_CosF/SinF in all cases 2024-06-05 12:24:17 +10:00
UnknownShadow200
8b58359c12 Fix direct3d9 backend 2024-05-23 07:10:20 +10:00
UnknownShadow200
b55dadf50e Try to fix rare download issues 2024-05-05 18:25:46 +10:00
UnknownShadow200
f5d8b44b8f Change X/Y/Z to lowercase in structs 2023-12-18 20:33:13 +11: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
da8ab3d979 Simplify projection matrix calculation and add more explanatory comments 2023-04-23 12:29:31 +10:00
UnknownShadow200
672e0ce0e7 Make Vec3_Normalise handle 0 vectors 2021-07-22 08:50:10 +10:00
UnknownShadow200
bf76e58e5d Make cloud rendering a little bit faster 2021-01-20 18:59:35 +11:00
UnknownShadow200
5801e7888d Mobile: Add hotbar switching as an on-screen control 2020-12-20 14:45:50 +11:00
UnknownShadow200
91a1603ef0 Fix last commit not compiling 2020-12-20 12:00:58 +11:00
UnknownShadow200
3ec8644c69 Add Mem_Equals function 2020-12-20 11:52:25 +11:00
UnknownShadow200
1597ed76d7 remove a little bit of unused freetype code 2020-12-20 00:08:58 +11:00
UnknownShadow200
98c8d459e4 D3D9: Don't reduce zNear at default 70 FOV, reduces z-fighting with far away stuff 2020-12-05 23:48:25 +11:00
UnknownShadow200
c70c38442d some minor changes 2020-12-05 22:51:04 +11:00
Cheesse
e83d66a7a6 Change frustum culling calculation for D3D 2020-12-03 17:23:01 -05:00
Cheesse
7798881442 Modify perspective matrix when calculating instead
Also simplify calculation of perspective matrix and remove pointless operations.
2020-11-06 21:09:28 -05:00
UnknownShadow200
8987e6b3e5 Remove unused Matrix_Orthographic method 2020-06-10 20:46:03 +10:00
UnknownShadow200
540bd993b2 bool -> cc_bool, for better compatibility with system headers that define bool type 2019-10-10 13:20:30 +11:00
UnknownShadow200
b62a78765d Remove Math_FastTan
Despite the name, it's not even fast at all. And it's only used from one place where replacing with a simple sin(x) / cos(x) will do anyways.
2019-10-07 18:08:48 +11:00
UnknownShadow200
58c19a38b7 Vector3 to Vec3 and Vector3I to IVec3 2019-06-13 15:59:27 +10:00
UnknownShadow200
453fb48cad less compile errors with metroworks 2019-04-25 09:26:47 +10:00
UnknownShadow200
04f508ff72 simplify menu code a little bit
saves 1-2 kb
2019-03-23 19:18:17 +11:00
UnknownShadow200
3f8dafb50d fix linux build 2019-01-27 08:02:44 +11:00
UnknownShadow200
73b90a2cc8 add default fonts for solaris 2019-01-25 23:58:52 +11:00
UnknownShadow200
401429bb70 inline vector stuff 2019-01-07 00:35:11 +11:00
UnknownShadow200
8922b377d2 Fix sounds not working 2018-12-21 14:51:42 +11:00
UnknownShadow200
caddf623b7 attempt to fix again, make lots of variables static to reduce size of linux executable 2018-11-09 15:39:46 +11:00
UnknownShadow200
0a51bfaa1e and even more 2018-10-23 17:09:40 +11:00
UnknownShadow200
ce400e6d45 more rewrite for c90 2018-10-19 15:24:19 +11:00
UnknownShadow200
2c423739bd more use of const 2018-10-14 16:03:52 +11:00
UnknownShadow200
538a6166d7 more use of enums for parameters 2018-10-14 14:22:46 +11:00
UnknownShadow200
1eda8f11a1 C client: Drop pointless Real32/Real64 typedefs 2018-09-26 12:50:44 +10:00
UnknownShadow200
6eb08b70e2 C client: Minor code cleanup 2018-09-12 07:36:37 +10:00
UnknownShadow200
176390e039 C client: start rewriting screens, stage 2 2018-08-30 23:49:06 +10:00
UnknownShadow200
9d50f20dba fix c client always playing hal2 (oops) 2018-08-26 18:07:19 +10:00
UnknownShadow200
17c686feab recorganise directory structure of C client 2018-08-22 17:28:33 +10:00