64 Commits

Author SHA1 Message Date
UnknownShadow200
8ca9709969 32x: Launcher rendering barely works 2024-09-10 07:25:40 +10:00
UnknownShadow200
1c3d8fb72e Simplify writing plugins in C++ slightly 2024-07-28 23:33:22 +10:00
UnknownShadow200
b31dd767e4 Fix PNGs that use a bits per sample less than 8 and a transparent colour, not calculating the transparent colour correctly 2024-07-06 08:40:28 +10:00
UnknownShadow200
ea35f73c7a Saturn: Also draw 2D using textures 2024-06-28 20:46:09 +10:00
UnknownShadow200
1d7a43793a Saturn/PS1/NDS: Use 16bpp bitmaps entirely 2024-06-28 17:21:53 +10:00
UnknownShadow200
c17973bd53 Fix last commit 2024-06-28 16:55:47 +10:00
UnknownShadow200
1383530c4f Fix 16bpp bitmaps 2024-06-28 16:52:16 +10:00
UnknownShadow200
cadf185cee Broken 16 bits per pixel bitmaps 2024-06-28 08:12:46 +10:00
UnknownShadow200
1bc589b8e5 3DS: Fix never freeing textures, oops
Also redesign PNG encoding API to support a context parameter
2024-03-29 19:12:42 +11:00
UnknownShadow200
bd7f646d6a Wii U: Now 3D blank screen works 2024-03-26 12:14:31 +11:00
UnknownShadow200
b437554fa7 PS2: Launcher drawing somewhat works 2023-11-18 10:56:31 +11:00
UnknownShadow200
abe92bfe8f 3D kinda works 2023-10-29 09:23:14 +11:00
UnknownShadow200
70410bfff3 Non working nintendo 64 test port 2023-10-28 22:07:22 +11:00
UnknownShadow200
3be053e52e Vita: Fix not compiling, launcher window colours having red and blue swapped, networking not working properly 2023-08-19 10:40:31 +10:00
UnknownShadow200
2f989fca4f Update copyright year to 2023 2023-07-17 22:56:16 +10:00
UnknownShadow200
f8b63093f2 WIP gamecube/wii port 2023-05-27 16:07:07 +10:00
UnknownShadow200
d53ef33e0e Implement chunked transfer encoding for custom http client, refactor custom http client part 1 2023-05-23 22:30:49 +10:00
UnknownShadow200
67d7f76376 3DS: Multiplayer connects now, fix loading screen not rendering at all 2023-04-18 21:11:23 +10:00
UnknownShadow200
5a4e4756f0 3DS: Now stuff sorta renders 2023-04-17 22:38:15 +10:00
UnknownShadow200
362fce5b0c PSP/3DS: Less stack usage and more appropriate stack size for new threads 2023-04-11 11:52:47 +10:00
UnknownShadow200
e0f7e85502 PSP: it actually renders now I guess 2023-04-01 15:38:21 +11:00
UnknownShadow200
ba6d8fd738 Make Makefile more standard and update copyright year 2022-10-20 19:15:35 +11:00
UnknownShadow200
a0536fc460 Launcher: Colour background of 'missing resources' menu based on current theme background colour 2022-10-15 19:02:50 +11:00
UnknownShadow200
033560a773 Launcher input widget border now bases itself on current theme button highlight color, fies #956 (Thanks TheAwesome98) 2022-07-01 12:06:33 +10:00
UnknownShadow200
8ac52ed497 WIP on making input widget used theme colors instead of hardcoded purple colors, addresses #956 (Thanks TheAwesome98)
Also add new BitmapColor_RGB macro which implicitly sets A to 255, partially addresses #955
2022-07-01 08:55:08 +10:00
UnknownShadow200
e45fad71cd Start moving Drawer2D functions to Context2D which takes Context2D* instead of just Bitmap* 2022-06-18 11:10:40 +10:00
UnknownShadow200
94bd27f94a Detect png/zip based on file header signature instead of file extension, fixes #938 (thanks TheRealMichaelWang) 2022-04-14 21:04:15 +10:00
UnknownShadow200
e413f763ad Direct3D11: Fix screenshots being corrupted, instead now Red and Blue are swapped 2021-09-25 09:02:50 +10:00
UnknownShadow200
5a4e5d6fa0 more col->colors, less warnings compiling Cocoa backend 2021-07-15 19:36:36 +10:00
UnknownShadow200
a485f4c6af Webclient: Start using placeholder text for mobile on-screen keyboard in a few places
Also bump copyright to 2021
2021-01-08 23:39:33 +11:00
UnknownShadow200
e221e9f343 Bitmap shouldn't be typedefed 2020-08-01 12:19:58 +10:00
UnknownShadow200
e140731504 Make Bitmap use BitmapCol* instead of u8*, make fields lowercase for consistency 2020-07-05 19:57:23 +10:00
UnknownShadow200
7c22112aa3 considering that it is always half way through 2020, probably should update copyright year to 2020 2020-06-25 20:44:38 +10:00
UnknownShadow200
29a8ea8441 Fix not compiling on non-windows, don't crash if out of memory for allocating system font data 2020-03-01 10:06:59 +11:00
UnknownShadow200
b0f926259c Don't byteswap bitmap colours for big endian. This fixes launcher being completely blue in linux PowerPC and uses native order for OSX PowerPC, so should be faster.
as such use GL_UNSIGNED_INT_8_8_8_8_REV for transfer format instead of GL_UNSIGNED_BYTE for big endian
2019-11-20 23:18:02 +11:00
UnknownShadow200
7b1f08b06f ReturnCode -> cc_result 2019-10-10 13:30:07 +11: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
955cfd151f Fix textures on big-endian systems.
We must not forget our PowerPC comrades
2019-10-07 19:40:55 +11:00
UnknownShadow200
df31c95f83 Initial WIP on making BitmapCol raw uint32.
Also causes hundreds of compile errors, oops.
2019-10-06 14:01:31 +11:00
UnknownShadow200
387ff702b6 Make default env colours constants instead of const variables 2019-10-03 16:58:54 +10:00
UnknownShadow200
39cd47b2d3 use cc_uint8 instead of uint8_t so we can avoid stdint.h for gcc and clang
This fixes not compiling with mingw32 out of the box on windows (not mingw-w64, it works fine) due to WINVER being defined somewhere in the headers included by stdint.h. Even after that it would produce executables that wouldn't work properly unless DUNICODE was also added.
2019-08-25 19:36:45 +10:00
UnknownShadow200
4a6e2c3419 Scale up flags with DPI 2019-08-06 12:25:02 +10:00
UnknownShadow200
2598ba18ce Make getting shadow colour for text a bit faster 2019-07-30 20:39:27 +10:00
UnknownShadow200
e76aab0b55 Use union for PackedCol/BitmapCol, generates slightly better code on all compilers 2019-07-16 21:19:44 +10:00
UnknownShadow200
5b47f939c3 Change Bitmap_CopyBlock to Bitmap_UNSAFE_CopyBlock to signify that it doesn't check arguments and will corrupt memory if used improperly 2019-07-12 22:46:45 +10:00
UnknownShadow200
9bb8dfbcfb Fix BITMAPCOL_CONST producing swapped r/b values in web client 2019-07-12 21:47:29 +10:00
UnknownShadow200
93384fa327 Update copyright year in all .h files 2019-06-03 22:09:34 +10:00
UnknownShadow200
ef21348fff add separate skybox env colour env variable and fix #570 2019-03-06 20:47:32 +11:00
UnknownShadow200
1ebd553f36 more api 2019-01-07 21:16:45 +11:00
UnknownShadow200
015b72b1ec Fix crashing with some system fonts, minor code cleanup 2019-01-04 15:12:45 +11:00