Commit graph

47 commits

Author SHA1 Message Date
Wally4000
0c04c1ada1 Merge branch 'master' into Tidy-Pointers 2023-06-28 10:39:43 +10:00
Wally4000
5c7d7d48a6 Updated a bunch of pointers so they're unique. 2023-06-26 22:11:29 +10:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
Wally4000
6dca83df5e Clean up CMake (PSP Build is jank) 2023-04-15 09:35:45 +10:00
Wally4000
060557db9b Use smart pointers for singleton and graphics 2022-07-16 00:36:25 +10:00
Wally4000
2824aaaba6 Use Std::filesystem more 2022-07-11 13:54:08 +10:00
Wally4000
a9cf98ff24 Add Imgui UI made by Z2442. Will clean later 2022-05-03 11:35:28 +10: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
4fbc81a4ac Use std::max and std::min 2021-10-23 22:12:40 +11:00
z2442
383621ba0d Add window resize + fullscreen toggle 2020-12-31 08:52:37 -05:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
6311dba429 Added savestate support to the Linux build
Usage is: There's 9 slots available for savestes, pressing ctrl + 0-9 will create a savestate and pressing 0-9 will load the savestate
*Properly exit the emulator when the Daedalus window is closed, also the emulator can now be exited when pressing escape
*Properly disabled gamepad support, also added a define to re enable once it gets implemented with SDL
*Moved key polling events to a callback
2020-08-09 13:32:21 -07:00
Ben Slater
0e2d2369c4 Reverted base renderer 2019-05-27 17:34:13 +10:00
wally4000
d2694878c0 Fixed GL 2019-05-27 16:55:36 +10:00
Wally
2d7157e5a9 Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM 2019-05-27 13:00:23 +10:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
f7d5bf9ff3 fixed input so keys actually work now 2019-02-18 21:01:36 -05:00
mrbenslater
e791226e2e Merge branch 'SDL2' of https://github.com/z2442/daedalus into SDL2 2019-02-18 14:31:52 +11:00
Wally4000
07b9834d18 Tidied up GraphicsContextGL, removed remaining glfw references 2019-02-18 13:47:10 +11:00
mrbenslater
f60b5cd993 Something 2019-02-17 10:54:52 +11:00
mrbenslater
3b7b47e16a More tinkering but no dice 2019-02-15 22:15:42 +11:00
mrbenslater
1b73c06860 Fix transparent screen for linux.. now it's just black 2019-02-15 21:34:50 +11:00
Ben Slater
06b0c9b15c add more stuff 2019-02-15 15:58:18 +11:00
Ben Slater
09eddeacce small rewrite of SDL init stuff 2019-02-15 10:09:23 +11:00
Wally
fd5964b619 Fixed Linux build, GLSL stuff still doesn't work.. maybe it will on my PC at home 2019-02-14 15:06:16 +11:00
Ben Slater
17f05fbf5d Fixed linker errors, just gotta get SDL rendering 2019-02-14 14:23:34 +11:00
Ben Slater
e664edc436 Start moving from GLFW to SDL 2019-02-14 13:21:59 +11:00
Ben Slater
673a08a10a Work on macOS build.. Linker errors are annoying 2019-01-29 15:57:48 +11:00
Paul Holden
7bcb333f75 [+] Fixes for GLFW 3.0 2013-06-16 19:39:20 +01:00
salvy
359389f092 [+] Enabled FSAA 4X filter (Your video card must support it!) (Makes graphics very smooth, good example is Mario's 3D head) 2013-06-14 12:24:42 -07:00
Paul Holden
7daf339031 [!] Fixed bug when resizing window (from Salvy) 2013-06-01 17:15:23 +01:00
salvy
9f40daf05f [!] Enabled R0 checks for W32/OSX/Linux, on the PSP is relatively expensive so is disabled
[+] Added clean scene for GL renderer, DK64 needs it (Glover still works fine)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1711 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 05:01:33 +00:00
salvy
aeff9d3e4a [!] Fixed Glover and other games not rendering anything in W32/OSX/Linux
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1709 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 22:34:52 +00:00
strmnnrmn
ffcbe649b1 [~] stdafx cleanup: Include stdio.h and stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1703 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:29 +00:00
strmnnrmn
4e78d7d970 [~] stdafx cleanup: Include stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1702 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:59 +00:00
strmnnrmn
c8452474a4 [~] Store common conifg in a config.gypi, rather than having a dummy Config project
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1650 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:47 +00:00
strmnnrmn
dd57b3f53a [+] Use GLEW on all SysGL platforms
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1635 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 14:58:59 +00:00
wally4000
5ba2a2f624 Daedalus Linux will compile with DAEDALUS_LINUX define.
Daedalus.gyp will need to go to the OSX Proj file until I work out
gyp files =)
u


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1581 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-14 23:36:29 +00:00
strmnnrmn
55c30c0450 [!] Fix GL bug running System_Close then System_Open - the window was being closed too early
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1563 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:09 +00: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
strmnnrmn
5ff092324f [!] Reset the scissor at the start of each frame - fix flickering borders when resizing.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1540 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:47:22 +00:00
salvy
78d331be07 [!] Rendering works now perfectly on W32 :)
[!] Init GLEW early, otherwise calling ClearToBlack is initialized (W32)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 00:02:01 +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
5d4d2e276c [*] Move the OSX NativeTexture to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:46 +00:00
strmnnrmn
34ef91631b [*] Move the OSX GraphicsContext to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1437 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:37 +00:00