Wally4000
76eb881494
use shared_ptr instead of RefCounted Class
2023-06-22 15:47:48 +10:00
Wally4000
4e60fb4901
Remove AuxFunc.h
2023-06-22 14:57:25 +10:00
Wally4000
b688456fbd
Use builtins for random function
2023-04-24 15:51:14 +10:00
Wally4000
a69ee0a3f3
More std::array magic
2022-05-03 12:50:08 +10:00
Wally4000
3fec82b04d
Remove stdafx.h for consistency
2022-03-22 18:06:17 +11:00
Wally4000
15e3e2a1d0
Update to the Bazel Directory Structure..
2020-08-22 18:42:41 +10:00
=
1511baa25e
Fix up paths in headers
2020-05-27 19:20:52 +10:00
Carlos R
934ea22c7f
Fix crashes in Paper Mario and Yoshi
...
*Correct bad pointer casting for optimized copy in Yoshi_Memrect and fixed non optimized copy
*Store n64 ram offset rather than the system memory for Fast TMEM (thanks strmnnrmn!). Fixes random crashes when using the non accurate path for TMEM emulation
*Make sure to reset tmem block for fast TMEM even when accurate TMEM its used since we fall back to the non accurate path when games set line to 0
*Ignore load tile for accurate TMEM when line its 0, this was causing a crash in Paper Mario which sets line = 0
2020-05-16 16:09:17 -07:00
=
1c342d8c8f
Revert all initialiser list variables.
2020-05-04 12:24:21 +10:00
z2442
275aacd212
more nullptr updates
2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e
Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings
2019-05-03 17:43:44 +10:00
Wally
5dee7fe2cb
Converted remaining HLEGraphics to C11 standard
2019-03-22 16:39:50 +09:00
Ben Slater
c562b76641
*Clean build from StrmnNrmns repo
2019-02-27 17:04:51 +11:00
Wally
e17fdddadf
[~] Fix Conker Regression
...
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
mrbenslater
2e6cf17baa
Move more debug stuff out of Release
2019-01-21 19:58:47 +11:00
salvy
31518c6046
[!] Fixed text in bomberman the second attack (accurate tmem)
2013-06-19 00:08:59 -07:00
Paul Holden
067a594a9f
[~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order.
2013-06-04 22:02:31 +01:00
strmnnrmn
b05c813379
[~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
40370e86ee
[~] Runtime toggle for emulating mirroring via the texture.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:12 +00:00
salvy
0f60eae933
[!] Started WIP to get rendering working from GL renderer (some textures show up now, ex texrect!)
...
[!] Compiled project as console app (needed for glfw) [WIP, ALOT things got broken! and huge clean up is needed, will fix them eventually)
Note: glew and glfw are now needed to build W32.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 21:58:22 +00:00
strmnnrmn
a401996c41
[~] OSX can use GetPalette now. Also, make the texture arg to DumpTexture const
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:14 +00:00
salvy
1a8aa9b8e1
[!] Fixed bad assumption for sprite2D in Glover
...
[!] Accurate TMEM can be used on the PSP (Just define DAEDALUS_ACCURATE_TMEM)
[!] Use StrmnNrmn's PrepareTexRectUVs for PSP(No need for hacks and I don't think is too expensive at the end)
[~] Fixed a SP DMA bug in W32 (I still think we should use the PSP method, since it works fine)
[~] Set rounding mode in W32/OSX (NOP for PSP)
[+] Handle more regs in MTC0
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 06:55:04 +00:00
strmnnrmn
a9ddb29935
[~] If TextureInfo.Line isn't set, fall back to ConvertTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1341 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:30 +00:00
strmnnrmn
bb7cae6784
[+] Use ConvertTile when DAEDALUS_ACCURATE_TMEM is set
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1330 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:40:19 +00:00
strmnnrmn
545e2c4221
[~] Tidy UpdateTexture a little
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1319 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:56 +00:00
strmnnrmn
dc91fe455b
[~] We can store raw pointers to CachedTextures, and save a little overhead.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1318 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:50 +00:00
strmnnrmn
c72b2ce625
[~] STextureInfoSnapshot can use a CNativeTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1316 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:35 +00:00
strmnnrmn
240081f9ff
[~] Don't store a separate mpWhiteTexture per CachedTexture. Make it a separate attribute of the key (TextureInfo) and cache it directly.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1315 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:26 +00:00
strmnnrmn
7855c69a86
[~] ConvertTexture on OSX isn't quite ready for OSX RGBA8888 only
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1310 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:41 +00:00
strmnnrmn
d04bd5b013
[~] Shuffle around the arguments to ConvertTexture a bit. Define TextureDestInfo in the cpp file, and just plumb though the required arguments directly. All this so I can try to add a ConvertTile function which decodes directly from emulated TMEM.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:19 +00:00
strmnnrmn
2bb9864821
[~] Always use RGBA 8888 textures for OSX
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1293 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:59 +00:00
strmnnrmn
9f816c5ef6
[~] Rename kCheckHashBeforeUpdate to kUpdateTexturesEveryFrame
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1284 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:55 +00:00
strmnnrmn
125243eb0a
[~] Various CachedTexture::HasExpired checks aren't needed when we update textures every frame.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1283 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:49 +00:00
strmnnrmn
640c5568ae
[~] On OSX, don't bother checking the texture hash before updating.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1282 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:39 +00:00
strmnnrmn
d5319b75e4
[~] Set mLastFrameToUpdate to gRDPFrame + x rather than doing += x. Probably doesn't matter, but this way means we're less reliant on mLastFrameToUpdate being set correctly to gRDPFrame elsewhere
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1281 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:32 +00:00
strmnnrmn
4c7520b103
[~] Give DoConversion a better name - ConvertTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1275 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:51 +00:00
strmnnrmn
a3ebd92100
[~] Tidy ConvertTexture.cpp - drop the p_ prefixes and give vars consistent names throughout
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1274 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:44 +00:00
strmnnrmn
2c32785b8b
[~] Move the logic for gConversionTable lokups to ConvertTexture.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1271 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:24 +00:00
strmnnrmn
928b5b75bd
[~] Move SelectNativeFormat to the top of the file
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1270 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:17 +00:00
strmnnrmn
088cfd061b
[~] Move Clamp/Recolour/Mirror functions out of CachedTexture.cpp and into a separate TextureTransform.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1269 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:11 +00:00
strmnnrmn
0d11586c30
[~] Simplify CachedTexture::Initialise
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1268 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:03 +00:00
strmnnrmn
5fe227b674
[~] Move DumpTexture to the end of the file.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1267 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:56 +00:00
strmnnrmn
9b55ada0a7
[~] GetSystemMemoryUsage and GetVideoMemoryUsage are unused.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1266 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:50 +00:00
strmnnrmn
19f1c4d9b8
[~] Fix a warning about palette being redefined.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1265 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:39 +00:00
strmnnrmn
b9ac9a12f0
[~] Move TextureInfo::SelectNativeFormat to be a free function in TextureCache.cpp. I want to push this closer to the NativeTexture creation/update so that different platforms can easily override (e.g. OSX can just create RGBA8888 textures.)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1263 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:26 +00:00
strmnnrmn
96de19a570
[*] Rename TextureDecriptor.{h,cpp} to TextureInfo (match the class name)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1258 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:48 +00:00
strmnnrmn
058c7de6b5
[~] Rename CTexture to CachedTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1249 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:41 +00:00