Commit Graph

21 Commits

Author SHA1 Message Date
yellows8
422039f727
Use physfs instead of minizip for asset loading, etc. 2021-10-22 13:18:30 -04:00
yellows8
3f73855170
Added theme support for dirs and .zip via physfs. Closes #121. 2021-10-21 15:26:30 -04:00
Dave Murphy
8c87b1c46f ensure build picks up version from Makefile 2021-07-16 14:52:34 +01:00
fincs
fcbc56acc4
Improve performance by using deko3d to do the framebuffer conversion on the GPU 2020-11-11 17:00:25 +01:00
yellows8
d11585589e
Added support for using themes with extension '.romfs', which contains '/theme.cfg', optionally '/icon.jpg' for the menu-entry in theme-menu, and any assets. Added 'assets' group to theme config, this is only used with .romfs themes. Added 'backgroundImage' to layout theme config, which requires assets.background_image to be setup. Various improvements. 2020-01-02 11:08:17 -05:00
yellows8
387850d301
Added APP_AUTHOR to Makefile.nx. 2019-12-14 12:44:43 -05:00
fincs
6ec7388834 Update makefile 2019-03-26 23:12:39 +01:00
yellows8
bb53a8ac81 Load assets from a .zip in romfs (romfs/ dir for pc-build) using minizip, instead of embedding it in data/. Sync Makefile.nx with latest switch-examples Makefile, with romfs. Automatically build the assets .zip in Makefile. Moved data/ to assets/ and moved data/unused/ to assets_unused/. Use #error in nx_audio.c since it's not supported currently. 2018-10-29 00:30:09 -04:00
NightlyFox
1c8a446920 enhancement: replaced nanojpeg with turbojpeg library (#65) (Closes #7)
* enhancement: replaced nanojpeg with turbojpeg library
* added space after if ()
2018-09-30 18:13:33 -04:00
friedkeenan
8909142fb4 Implement Theming (#57)
* Implement theming and fix spelling errors, fixes issue #6.

Now requires libconfig
"separator" was spelled "seperator"

* Added default case for when the system theme is not the values for light/dark.

The default case acts like the system theme is the dark one.
2018-09-13 15:16:33 -04:00
Pika
8034053d99 fix parallel building (#54)
* fix parallel building
2018-08-14 20:25:32 -04:00
yellows8
1e232372d2 Use shared-font. Setting s_textLang is still disabled, until language.c is updated. Check for setsysInitialize failure. Moved .nxfnt files into data/unused/. Currently text will not display with the pc-build since no font is loaded for it. Disabled y+=baseline in text-drawing, and adjusted all callers y-pos to manually add the original baseline (so that y-pos matches with the different font). 2018-04-28 11:55:16 -04:00
yellows8
5731858272 Moved 'v' from APP_VERSION in Makefile to Makefile.nx/Makefile.pc, so that the version in the built nro-nacp doesn't include 'v'. Removed nxlink.h include since switch.h has this. 2018-03-19 18:36:58 -04:00
Dave Murphy
ebced71ec3 Add nxlink support (#27)
* Add nxlink support

* use libnx nro.h

* make sure path doesn't overflow

* convert indentation to spaces
2018-03-19 21:42:58 +01:00
Dave Murphy
27d195e118 Use __SWITCH__ rather than SWITCH 2018-03-11 00:37:03 +01:00
yellows8
8f734a631d Added dist-bin rule to Makefiles. 2018-02-27 22:07:06 -05:00
yellows8
922319b0f3 Moved hbmenu version string into Makefile. Updated Makefiles. Fixed Makefile issues. 2018-02-26 19:43:11 -05:00
Adubbz
0981e34b6f Cleanup some math stuff 2018-02-26 23:52:13 +01:00
yellows8
e843cc598f Updated Makefile.nx with latest changes from examples Makefile. 2018-02-21 12:12:47 -05:00
yellows8
3508cdc45b Updated Makefile.nx with the latest change from switch-examples. 2018-02-11 19:42:26 -05:00
yellows8
b6816abe56 Initial public commit. 2018-02-11 19:07:18 -05:00