210 Commits

Author SHA1 Message Date
UnknownShadow200
ae2d73cf54 Consoles: Avoid checking and uploading unused portions of UI textures on some consoles 2025-07-06 09:39:59 +10:00
UnknownShadow200
863906766f Dreamcast: Only allocate necessary VRAM rows for UI textures
Doesn't usually save that much, but does make UI textures a bit quicker to upload and also makes virtual keyboard texture ~24 kb less
2025-07-05 21:03:14 +10:00
UnknownShadow200
8dd99cb11c WIP on non power of two texture upload support 2025-07-05 13:24:10 +10:00
UnknownShadow200
e86caaa4e1 SoftGPU: Don't render clouds or sky 2025-01-01 11:05:47 +11:00
UnknownShadow200
0fbe0281e3 Saturn: 2D text now is somewhat legible 2024-07-27 08:58:20 +10:00
UnknownShadow200
cadf185cee Broken 16 bits per pixel bitmaps 2024-06-28 08:12:46 +10:00
UnknownShadow200
e98906b706 Always fallback to hardcoded font when default.png is missing 2024-05-01 17:48:54 +10:00
UnknownShadow200
04f8cad0cb Add missing java file 2024-04-28 23:05:15 +10:00
UnknownShadow200
4bda9ee2c1 Fix onscreen keyboard capital letters, make it sort of transparent too 2024-04-12 11:48:19 +10:00
UnknownShadow200
1e8bbd0c4b More consistent struct field naming 2024-04-06 09:34:07 +11:00
UnknownShadow200
a03a5a9b78 3DS: Fix movement being stuck, crash when going into texture pack, extra logged line in citra logs 2024-04-05 22:26:33 +11:00
UnknownShadow200
cc048431f6 N64: Support loading UI textures as 16bpp instead of 32bpp to squeeze even more out of the 4 KB TMEM 2023-12-04 22:07:55 +11:00
UnknownShadow200
9661c34b4f N64: Add support for non power of two textures for UI texures to squeeze a bit more into the 4 kb TMEM 2023-12-04 20:14:39 +11:00
UnknownShadow200
39b09a9202 Simplify altering default builtin colours, and loading options representing colours
Also improve String_Append to deliberately crash the game when attempting to append to an uninitialised string in MSVC debug builds
2023-11-20 19:30:36 +11:00
UnknownShadow200
1a1473ad4d 3DS: Try to fix system font being slightly clipped
Also tidy up and slightly optimise system font rendering for 3DS/Wii/GameCube
2023-07-29 15:08:00 +10:00
UnknownShadow200
ac7602386e Split up Drawer2D module into Drawer2D and SystemFonts modules 2023-04-25 16:19:47 +10:00
UnknownShadow200
f076195472 3DS: System fonts draw something now
Even if that something is just boxes
2023-04-21 21:37:34 +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
c666ee3ab9 Fix the 'initialising fonts cache' dialog getting shown 13 times when font cache has no entries and no system fonts are able to be loaded
This typically happened when porting the game to a new operating system
2023-03-23 08:56:44 +11:00
UnknownShadow200
e52b670b6e Move UTF8 encoding out of Platform and into String module 2022-12-04 16:27:46 +11:00
cflip
ca41fe5a82 Add resource and library paths for SerenityOS 2022-11-13 18:13:13 -07:00
UnknownShadow200
2532940c49 Refactor texture pack entry extraction to be more uniform 2022-10-23 12:44:24 +11:00
UnknownShadow200
626b35a993 Change Drawer2D_UNSAFE_NextPart to return color code instead of color 2022-07-28 20:05:08 +10:00
UnknownShadow200
d90fb2f092 Fix game force exiting if you attempt to add a chat message with over 511 characters (Thanks sethbatman05) 2022-07-11 07:25:12 +10: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
d3d31a874c iOS: Add xcode project and WIP CoreText text rendering backend 2022-06-24 08:12:55 +10:00
UnknownShadow200
1ae86627b8 Refactor font code to move font_candidates into just CC_BUILD_FREETYPE backend 2022-06-20 19:23:29 +10:00
UnknownShadow200
e2ed4884ba Fix iOS compilation issues 2022-06-19 17:13:13 +10:00
UnknownShadow200
548924c854 Move must previous usages of Bitmap to newer Context2D 2022-06-19 13:39:26 +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
bc91ddaae4 Rename font related functions in Drawer2D.h 2022-06-17 11:47:49 +10:00
UnknownShadow200
40183b6059 iOS: Support colored text in labels in launcher 2022-05-13 22:57:35 +10:00
UnknownShadow200
64e892741a Webclient: Support colors in system font drawn text 2022-05-13 21:41:03 +10:00
UnknownShadow200
cfb6f11dfe Webclient: Make system fonts render closer to how they are rendered on desktop/mobile 2022-01-01 22:50:20 +11:00
UnknownShadow200
a3a0e30592 Implement system font position, bold, non-ascii characters 2021-12-11 09:22:19 +11:00
UnknownShadow200
7477751096 Webclient: Add list of common sytem fonts 2021-12-03 22:48:14 +11:00
UnknownShadow200
20ce465eb5 WIP on implementing system fonts in webclient
Although either memory or canvas gets corrupted.. still trying to work out what's going on there
2021-12-03 21:44:21 +11:00
UnknownShadow200
6a74fd0408 Now with more consistency in use of color/colour/col 2021-11-05 18:26:52 +11:00
UnknownShadow200
c7aa361240 Change managedPool parameter to flags for Gfx_CreateTexture/GfxRecreateTexture 2021-09-20 20:34:51 +10:00
UnknownShadow200
c65143e6d0 More col -> color renaming 2021-09-16 20:07:38 +10:00
UnknownShadow200
fa850fecb3 Fix compiling for Apple M1 wrongly using Carbon instead of Cocoa backend (Thanks doctorj1) 2021-08-25 08:32:02 +10:00
UnknownShadow200
5a4e5d6fa0 more col->colors, less warnings compiling Cocoa backend 2021-07-15 19:36:36 +10:00
UnknownShadow200
d15ef3ed69 Export Drawer2D per request 2021-05-20 17:36:26 +10:00
UnknownShadow200
198932aa93 Get it partially working on Android 3.0 2021-01-30 08:57:41 +11:00
UnknownShadow200
d0f21a24b8 Make code depending on HUD hotbar layout a bit less hacky 2021-01-11 23:20:43 +11:00
UnknownShadow200
8f888c0589 Make StringsBuffer no longer hardcoded to max 512 character entries 2020-12-30 18:56:44 +11:00
UnknownShadow200
aedd53eeb6 CC_BUILD_OSX -> CC_BUILD_DARWIN, add ARM register dumping 2020-12-29 22:16:15 +11:00
UnknownShadow200
bc66ea9325 Always recreate gfx resources instead of just creating, should prevent any leak 2020-12-16 20:28:30 +11:00
UnknownShadow200
23f9194b27 Disable the padding at end of bitmapped drawn text by default 2020-12-07 20:37:51 +11:00