Commit Graph

129 Commits

Author SHA1 Message Date
SegFault42
4987cbddb1 fix memset error 2018-08-16 19:13:29 -04:00
YY
13676f64fd Improved Japanese language support:
* Improved slight ~ serious Japanese translation miss.
* Added new STR_JP.
2018-07-31 20:34:52 -04:00
AntonioDePau
d36044daea Update language.c (#19)
* Update language.c
2018-07-31 19:43:53 -04:00
MCPE_PC
1e2c2cc877 🦄 Improve & add Korean language 2018-07-31 14:04:44 -04:00
Thompson Lee
03e7b110e7 Updated language.c for Traditional Chinese (#33)
* Updated language.c 

to correct current Traditional Chinese translations.
2018-07-31 13:00:59 -04:00
Steven Mattera
00e96fd53b Added touch controls. (#41)
* Added touch controls.
2018-07-30 17:23:34 -04:00
yellows8
c4d22af61e Use SharedFont for the A/B button icons. 2018-07-27 21:05:25 -04:00
yellows8
7c3bb175d9 Added font-loading support for the pc-build. 2018-07-24 21:50:01 -04:00
Dave Murphy
6544353245 create switch folder if it doesn't exist (#39)
Fixes #38.
2018-05-30 11:16:16 -04:00
Dave Murphy
4539b8e78d clean up includes for OSX 2018-05-12 16:57:17 +02:00
yellows8
94b1d648d1 Fixed string warnings with gcc 8.1.0. 2018-05-09 21:25:53 -04:00
yellows8
bbf6bf50f7 Always set PING_ENABLED=1, and removed outdated comment. 2018-05-08 16:28:55 -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
4563794505 Use nacp.h from libnx. Clear errortext in netloader_error(). 2018-04-26 17:28:58 -04:00
yellows8
8506e1b316 In netloader_error(), use same msgbox width/height as main() since 'OK' wasn't displayed properly. Also use snprintf instead of sprintf in netloader_error(). 2018-03-20 23:34:51 -04:00
yellows8
f738578dc1 Use a copy of the input text string for message-box. 2018-03-20 23:15:21 -04:00
Dave Murphy
03a4de8c25 use iquote for libnx headers on pc (#29) 2018-03-19 18:57:47 -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
e684bb1b71 fix old style initialisers 2018-03-14 23:49:03 +01:00
yellows8
a20cdb5781 Added STR_ES text for StrId_LastLoadResult and StrId_MsgBox_OK, from github-comments. 2018-03-11 19:58:41 -04:00
yellows8
9aaac6f01e Moved the message-box 'OK' text into language.c. Display the Result from envGetLastLoadResult() with a message-box when required. 2018-03-11 17:43:36 -04:00
Dave Murphy
27d195e118 Use __SWITCH__ rather than SWITCH 2018-03-11 00:37:03 +01:00
Dave Murphy
7d5617254a fix building on OSX
requires latest bin2s from https://github.com/devkitPro/general-tools
2018-03-05 20:42:24 +01:00
Adubbz
e93a484e86 Added basic message boxes 2018-03-05 20:41:42 +01:00
yellows8
dd78d0f8d7 Appended '/' to the switch path checked for NRO-auto-detect. 2018-02-27 22:14:56 -05:00
yellows8
1542a249f0 Improved perf. 2018-02-27 17:51:01 -05:00
yellows8
a614d2fd98 Improved drawing perf. 2018-02-27 16:40:14 -05:00
fincs
5743c2946d Default app version needs not be localized (#17) 2018-02-27 16:06:01 -05:00
yellows8
c6fe507e82 Disabled get-lang for now (see comment), and decreased x-pos by 32 for buttons/buttons-text (for longer strings). 2018-02-27 15:08:11 -05:00
Sahin H
0cb9f3961f Added system language text change (#15) 2018-02-27 14:33:56 -05:00
yellows8
1730ed1889 When '<dirname>/<dirname>.nro' is not found, use the first NRO found via dir-listing if there's only 1 NRO in the directory (only for paths starting with 'sdmc:/switch'). Closes #9. Added a comment and removed old code using StrId_Directory. 2018-02-27 13:28:22 -05:00
Adubbz
4ffb8e1355 Fix mismatched border size on cards 2018-02-27 18:37:46 +01:00
yellows8
922319b0f3 Moved hbmenu version string into Makefile. Updated Makefiles. Fixed Makefile issues. 2018-02-26 19:43:11 -05:00
yellows8
4211679e0e In menuScan(), ignore names starting with '.'. 2018-02-26 19:01:40 -05:00
yellows8
65d3a19499 Added optional PERF_LOG* defines. 2018-02-26 18:56:52 -05:00
plutoo
a9d4fb7830 Update for latest libnx 2018-02-26 23:52:13 +01:00
Sahin Habermann
f26331a828 Fix AA performance 2018-02-26 23:52:13 +01:00
Sahin Habermann
af90827c1d Fix crashing when trying to get NULL entry type 2018-02-26 23:52:13 +01:00
Adubbz
50ff808184 Removed a lot of unnecessary draws 2018-02-26 23:52:13 +01:00
Adubbz
bb53f73cc7 Switched to using textGetString for action descriptions and app info 2018-02-26 23:52:13 +01:00
Adubbz
62e26552d0 Cache calculated colours for anti-aliasing 2018-02-26 23:52:13 +01:00
Adubbz
5eb782ce8e Precompute wave gradients 2018-02-26 23:52:13 +01:00
Adubbz
0981e34b6f Cleanup some math stuff 2018-02-26 23:52:13 +01:00
Adubbz
d7396de761 Reset x and v if nEntries <= 7. Prevents potential odd behaviour when changing from dirs with > 7 entries to <= 7 entries 2018-02-26 23:52:13 +01:00
Adubbz
5e95934cb6 Renamed switchicon_questionmark to invalid_icon 2018-02-26 23:52:13 +01:00
Sahin Habermann
814961b84f Truncate title and path 2018-02-26 23:52:13 +01:00
Sahin Habermann
f98d33ace2 Added back button 2018-02-26 23:52:13 +01:00
Adubbz
3a2264e4df Vertically centered the text in the icon cards 2018-02-26 23:52:13 +01:00
Adubbz
811bcdda1d Made the top icon and description golden ratio compliant. Thank naehrwert :) 2018-02-26 23:52:13 +01:00
Adubbz
f23f133404 Changed icon highlight to flashing aqua 2018-02-26 23:52:13 +01:00
Adubbz
8d8a5c8e12 Minor positioning adjustments 2018-02-26 23:52:13 +01:00
Adubbz
7a991f2f94 Switched font, changed the background colour 2018-02-26 23:52:13 +01:00
Sahin Habermann
3a415ddaf7 Show Open instead of Launch when a folder is selected 2018-02-26 23:52:13 +01:00
Adubbz
72116ed62b RGBA8888 (or 32), not RGB 2018-02-26 23:52:13 +01:00
Adubbz
725a19605d Only enable springing if there are more than 7 entries 2018-02-26 23:52:13 +01:00
Adubbz
df8c215d43 Changed hbmenu logo 2018-02-26 23:52:13 +01:00
Adubbz
1bce371999 Added themed launch button description 2018-02-26 23:52:13 +01:00
Adubbz
0cec4acd6b Use builtin fabs 2018-02-26 23:52:13 +01:00
Adubbz
d534aaa834 Fixed setting themes automatically 2018-02-26 23:52:13 +01:00
Adubbz
7cd0e06be2 Move the background wave down slightly more 2018-02-26 23:52:13 +01:00
Adubbz
b8cf331ff9 Fixed some warnings, theme should now be set based on the system theme 2018-02-26 23:52:13 +01:00
Adubbz
4ef5c0dd15 Added a subtle shadow to the icons 2018-02-26 23:52:13 +01:00
Adubbz
5bedb753a8 Move down the background waves 2018-02-26 23:52:13 +01:00
Adubbz
05410210c3 Show half of the next icon to come on the right side 2018-02-26 23:52:13 +01:00
Adubbz
4653c32646 Added a light theme 2018-02-26 23:52:13 +01:00
plutoo
70a3995081 Added springy animation 2018-02-26 23:52:13 +01:00
Adubbz
0f93b9c9d5 Author and version no longer show for folders 2018-02-26 23:52:13 +01:00
Adubbz
473adcbdff Upped version number, changed name to hbmenu 2018-02-26 23:52:13 +01:00
Adubbz
43f6395491 Fixed long name truncation 2018-02-26 23:52:13 +01:00
Adubbz
3461adef0b Changed no applications found text colour 2018-02-26 23:52:13 +01:00
Adubbz
749bc21898 Support up to 7 icons at the bottom 2018-02-26 23:52:13 +01:00
Sahin Habermann
173aab2c07 Comment drawTime() until local-time support 2018-02-26 23:52:13 +01:00
Sahin Habermann
287487eb1f Draw current time 2018-02-26 23:52:13 +01:00
Adubbz
88d13d29e2 Repositioned large icon/info text, made the waves slightly darker towards the bottom (mainly for the switch path text) 2018-02-26 23:52:13 +01:00
Adubbz
363f7b67a7 Adjusted to be closer to concept art 2018-02-26 23:52:13 +01:00
Adubbz
233d70c22c Recoloured and added waves 2018-02-26 23:52:13 +01:00
yellows8
77baa0c32f Updated gfx code for latest libnx. 2018-02-12 18:19:23 -05:00
yellows8
b6816abe56 Initial public commit. 2018-02-11 19:07:18 -05:00