Commit graph

61 commits

Author SHA1 Message Date
Wally4000
04a72fbc5e Add Profiler control for Cmake 2024-09-04 13:35:07 +10:00
Wally4000
ca75f74035 Tidy up some Windows exclusive stuff 2024-07-04 09:37:31 +10:00
wally4000
4a35201f22 Specify if a variable is unused to silence compiler. 2024-06-20 12:24:05 +10:00
wally4000
4bcc5af9b9 Move MathUtil.h to Utility 2024-06-17 16:29:28 +10:00
Wally4000
4de4e22eac Revert Vector change, build as a PRX 2024-01-26 15:09:43 +11:00
wally4000
f4e27fa879 Revert ConstExpr changes on Length - Breaks PSP 2023-12-04 12:07:52 +11:00
Wally4000
0693f966c1 Set C++ Standard to 20 and tidy vector class 2023-11-08 12:28:08 +11:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
0ad0fe5314 Remove std::move from Vector 2023-06-22 17:36:44 +10:00
Wally4000
b688456fbd Use builtins for random function 2023-04-24 15:51:14 +10:00
Wally4000
4aaec305d2 Silence some Warnings 2023-04-20 06:45:47 +10:00
Wally4000
6dca83df5e Clean up CMake (PSP Build is jank) 2023-04-15 09:35:45 +10:00
Wally
9fe0d7666f Use modern alignas specifier 2022-06-19 13:55:08 +10:00
Wally
2e15beada7 Clean up Math.h 2022-06-18 19:10:42 +10:00
Wally4000
f02d760072 std::move vector for performance 2022-06-13 15:24:46 +10:00
Wally4000
894db59619 Whoops missing else. 2022-04-12 16:19:03 +10:00
Wally4000
875da0a47a Remove std:: math stuff for now.. 2022-04-12 16:13:45 +10:00
Wally4000
cf97fa6fc1 Add Common Math from STL for Posix 2022-04-01 15:20:51 +11:00
Wally
23d60271b8 PSP will now build but crashes :( 2022-03-27 12:56:24 +11:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Wally4000
1804b898cf Overhaul CMake. May break PSP Build 2022-03-21 21:34:56 +11:00
Wally4000
b1e6ac01da Adding in some std:: functions to replace some templates 2021-10-16 22:54:18 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Ben Slater
cac4b9c0ed Removed some missed asserts 2019-05-07 10:36:10 +10:00
Ben Slater
e352361984 Added -WExtra
zmatt assisted with fixing the math.h problem replacing the whole thing with 1 line
2019-05-07 08:57:08 +10:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
aa1b535248 Modified a few files so we can at least get to 50% build in cmake 2019-01-15 08:03:46 +11:00
salvy
804094c1af [!] Fixed W32 build, also a couple of warnings
[!] Handle better platform differences with sqrtf, roundf etc
2013-11-13 00:47:50 -08:00
CornN64
85accc910d [!] Some minor fixes 2013-11-04 18:24:30 +01:00
CornN64
bfd94b655c [!] Some WIP for vertex fog on PSP (functions on many games that uses the standard TnL. It uses a second pass to blend in the fog)
[-] Reverted some changes from previous commit since it broke texturing in some games and CBFD lights.
2013-09-21 18:31:48 +02:00
salvy
59052f047a [!} Optimization to Conker's light (PC/OSX)
[!] Aligned v2, we can copy 2d vectors more efficiently
2013-09-19 23:28:24 -07:00
CornN64
47a1d7c67a [!] more optimization of VFPU triangle cull test
[-] removed VFPU code for dot in V3 and V4
2013-08-26 20:53:47 +02:00
CornN64
0a9a6bb2ce [!] Some tidy and small optimizations in VFPU ASM TnL
[+] Added TnL VFPU ASM for Zelda MM point lighting
[+] Added calculations in VFPU ASM for back/front culling triangles
2013-08-24 20:34:02 +02:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
strmnnrmn
df3b1682c3 [~] Include Alignment.h where it's needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1700 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:32 +00:00
strmnnrmn
5366827789 [~] stdafx cleanup: Start adding DaedalusTypes.h where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1696 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:06:16 +00:00
strmnnrmn
1e88ddbf48 [+] Add a Matrix4x4::SetTranslate function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1640 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:35:56 +00:00
strmnnrmn
1e282772ca [~] Add a SinCos function to unify a bit of PSP code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1639 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:35:51 +00:00
strmnnrmn
6543f50650 [~] 64 bit fix for MathUtil.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1523 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 13:01:55 +00:00
salvy
ff44ce2c0e [!] Some clean ups to deprecate poking the projection stack, and some other small clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 22:50:41 +00:00
strmnnrmn
c50d4da386 [~] compile fix - rename a couple of functions I missed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1222 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:00:45 +00:00
strmnnrmn
28f63547e9 [~] Implement the MatrixMultiply functions on non-PSP platforms, and remove a bunch of ifdefs.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1221 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:00:38 +00:00
strmnnrmn
5a3eac9f7d [~] Might need to fix this - PSP Round() returns an int, OSX version returns a float. Need to look at where it's used and see which makes more sense.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1217 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:00:04 +00:00
strmnnrmn
253b9612fc [~] Feels nicer to have these template functions explicitly marked as inline.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1167 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:26:34 +00:00
strmnnrmn
7b37631972 [~] Add a Round function to Math.h, to provide some platform independence for pspFpuRound
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1078 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:52:36 +00:00
strmnnrmn
5a891af54c [~] malloc.h doesn't need to be included (not present on OSX)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1068 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:51:21 +00:00
strmnnrmn
7257c5f190 [~] Replace uses of pspFpuAbs with an Abs wrapper function (platform independence)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1046 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 22:07:34 +00:00
salvy
80c071118c [!] Compile fixes for x86 platform (there's still a few errors left but getting closer)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1039 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 17:30:53 +00:00
Corn
fd472f60df [!] PspFastRand() is now just FastRand().
[!] Make sure to invalidate regs when exiting a fragment.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@937 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 21:59:04 +00:00
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00