Commit graph

24 commits

Author SHA1 Message Date
wally4000
2480f5eac7 Replace Vector2 and remove the vector header files 2025-03-13 16:14:20 +11:00
z2442
9ad92a59a3 Typo correction in ifdef 2025-01-28 18:19:42 -05:00
z2442
4d8bfb561a Cleanup and add back in desktop GL support alongside GLES 2025-01-26 20:55:16 -05:00
z2442
e70c5950e6 Cmake GLES cleanup 2025-01-12 21:33:04 -05:00
wally4000
c8b43189a0 more IO isolation 2024-06-18 14:59:35 +10:00
Wally4000
73827031bf Bunch more compilation fixes, not quite there yet 2023-10-04 12:58:31 +11:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10: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
68e2f02f40 [~] Add a SysGL/GL.h - use this to ensure glew/glfw headers are included in a consistent order
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 12:01:59 +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
33670e4324 [~] Implement mpData/mpPalette on OSX NativeTexture, so that we can use the png code to dump textures
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1390 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:52:59 +00:00
strmnnrmn
f959a9c940 [~] OSX doesn't use mScale in CNativeTexture
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1347 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:42:16 +00:00
strmnnrmn
65928a7b4f [~] Fix Draw2DTextureBlit on OSX. It's only needed on PSP and Draw2DTexture works fine for OSX. So move the logic for calling (w>=512) to RendererPSP::Draw2DTexture, and remove Draw2DTextureBlit from the BaseRenderer abstract interface.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1346 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:42:08 +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
b1f7834620 [~] Simplify UpdateTileSnapshot a little. Move the T1 hack out into a separate function.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1253 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:04 +00:00
strmnnrmn
b32b50b2e5 [~] Move placeholder texture stuff to the PSP renderer.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1134 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:11:08 +00:00
strmnnrmn
6b321bdc67 [~] Remove NativeTexture fields that are only used by the PSP build.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1065 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:51:00 +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
salvy
4536c5c170 By StrmnNrmn : …
Multi-platform:

* Reintroduced a bunch of DAEDALUS_PSP ifdefs.
* Reintroduced a load of Win32/OSX code.
* R4300: To reduce some of the DAEDALUS_PSP ifdefs in R4300.cpp, added some
  defines for R4300_IsNan etc.
* R4300: f32_to_s32_trunc etc. I think we should keep these as they provide some
  abstraction between PSP/OSX/W32 etc and remove tons of ifdefs elsewhere.
  I think I updated all of these correctly. Please check!
* Math/Math.h: we should provide a consistent interface here. e.g. rather than
  exposing pspFpuSqrt(), we should have Sqrt() that's #defined (or a wrapper
  function) to the most appropriate implementation for the platform.

Small improvements:

* Added a few DBGConsole_Msg lines to track down boot errors.
* CPU: gLastPC/gLastAddress were defined as static in CPU.h - that means they'd
  be introduced into all compilation units that pulled in that header. Redefined
  as extern.
* NativeTexture.h - GetScaleX/Y can just return an f32 (no need for reference)
* ROMFileCache: Just declare AddressToChunkMapIndex/GetChunkStartAddress as
  inline functions in the .cpp file.

Tidying:

* Path: Moved IO::Path::Tidy to String.h (it's not really a Path function).
* Lots of whitespace fixes (git doesn't like whitespace at the end of lines)
* Started nuking lots of 'tractor lines' (//*********************)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@840 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 20:07:03 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
salvy
2b3cfdf371 [+] Implemented blit (code taken from The TriEngine)
[!] Use blitting to support large textures (since the PSP hardware can only handle up to 512x512)

Worms - Armageddon is now playable

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@694 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-06 17:30:53 +00:00
salvy
ea3e838fbb [!] Some small optimizations
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@638 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-02 02:16:42 +00:00
Corn
ac9c584e6e [+] improved T1_HACK it now merges T0 with T1 so PSP can render textures properly(Rayman2, Donald Duck, Earth worm jim, Tom & Jerry)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@626 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-15 21:16:25 +00:00
Salvy
bdbd952c60 [+] Initial repo (based from r630 dx64 branch)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00