Commit Graph

45 Commits

Author SHA1 Message Date
Hersi 5598431951 Merge branch 'master' into titlescreen-refactor 2022-04-27 02:40:38 +02:00
Hersi 9937f56a4d new() doesn't need to be a class method 2022-04-27 02:40:22 +02:00
Local Atticus 20a7100521 Refactor based on feedback and fix bugs 2022-04-26 20:03:42 -04:00
Hersi 3ea1429eab refactor class.lua (because Local is a bulli) 2022-04-27 00:06:42 +02:00
Hersi 02f9a05e34 bootpage implementation done
implemented update dialog
made UpdateDialogField into a generic DialogField
2022-04-24 15:07:52 +02:00
Hersi eb55b8ffa0 add clear() to PageView 2022-04-24 01:38:28 +02:00
Hersi f44ba3743b tldr; bootpage initial implementation, fixes for page management code
added supporting functions for BootPage
removed init() from classes, it was stupid to begin with
handleButtonInput() and handleKnobInput no longer optional
added callback member to SelfTestField
placement position value fixes
use gfx.Translate instead of explicitly setting off-origin x,y values
added MARGIN and PADDING calculations to fields
removed unnecessary gfx.BeginPath() calls
2022-04-15 04:54:47 +02:00
Hersi 5e5c00272f implemented ListField
added refreshFields() to ContainerFields
added a message object parameter to Field:activate(), focus() and deactivate() methods
added anti-stupidity measures to InputButtonField and InputKnobField
fixed some multi-inheritance order mixup (yay! lua hacks)
replaced unnecessary importing of the common.dimensions module
removed unnecessary stop_processing variable from handleButtonInput() methods
fixed MainMenuPage
added PAGE_PADDING static member to ServicePage
wrote in-code documentation for members and methods
2022-04-12 23:45:28 +02:00
Hersi 556bb9048d help me, god, why have you forsaken me
renamed linkfield to servicelinkdfield to differentiate between the two
modified Inherit() to accept multiple base classes
applied code format (oh god, oh f*ck, all the changed lines)
handleScreenResponse now doesn't crash when nil is passed
added boot screen module to titlescreen.lua
added a utility function to cycle indexes
added a containerfield (biggest brain addition)
refactored how class construction is implemented (declare it a class at the end of the constructor, this way the default values are correctly imparted)
added init() to the Field class
added a getParentPage() to the Field class, for easy nav handling
added offsets and bounding box size variables to the Field class
the Field class will now scissor itself into it's bounding box
LinkField now has clearer logs
added init() to the Page class
added skeleton field classes for boot page
2022-04-11 18:47:26 +02:00
Hersi 2f034c99c1 add page getter to PageView
removed unnecessary comments from service.lua
2022-04-05 23:55:50 +02:00
Hersi df66b1592b add __tostring fields to classes 2022-04-05 23:53:19 +02:00
Hersi 6e42ccafc6 Added MainMenuPage
Added LinkField and LinkServiceField
Added state handling functions to Field
Added Page refreshFields to ServicePage
2022-04-03 19:51:56 +02:00
Hersi 297cd161bd Added class creation helper functions
Added a refreshFields function in Page
Fixed typo from selectedIndex/selectedIdx to self.selectedIndex
Added custom input handling to InputCheckPage
2022-04-03 19:47:09 +02:00
Hersi 515d3aa54a added InputCheckPage
added ServiceField class and derived classes
removed redundant function from Field
added a replace method to pageview
2022-04-03 04:59:43 +02:00
Hersi b1649fa80f BEEEG "reimplementation" of service screen
new pager/page management library
2022-04-03 01:35:41 +02:00
Hersi e1c726265c add dimensions module to songwheel, filterwheel 2022-03-30 17:40:39 +02:00
Hersi f75859f7ce Merge branch 'master' into feat/titlescreem-redo 2022-03-30 16:51:25 +02:00
Kyle Humphrey 26798bbd67 why was this shim even there in the first place 2022-03-24 23:57:00 -05:00
Kyle Humphrey 7c1ab29712 haha fixing data structures 2022-03-24 23:45:51 -05:00
Hersi af71838493 added skipIntro skin setting
moved json.lua into common
renamed common.lua to util.lua
moved stopMusic() into common/sound.lua
moved numbers.lua into components
removed unused shared directory
removed unused settingswheel.lua
2022-03-04 04:06:19 +01:00
Hersi 2f01f9f96c Added "wallpaper" component
Added common dimensions script
2022-03-03 03:55:19 +01:00
FajsiEx 535eaac269 ^ 0.2.2 & - debug text & * activate debug info with skin setting 2022-02-17 18:06:25 +01:00
Hersi ee9e1106f6 Fixed challenge header title centering 2021-12-10 04:12:31 +01:00
Hersi 7d7f7be937 Added challenge header component
Removed redundant function definitions in songtransition.lua
2021-12-10 04:07:09 +01:00
FajsiEx 1889fd3e3b ^ 0.2.0 2021-11-27 18:42:27 +01:00
FajsiEx 9befa85d55 / background scaling 2021-11-26 20:50:08 +01:00
FajsiEx 543bf7b447 + letterboxing to songwheel, filterwheel and sortwheel 2021-11-22 22:25:38 +01:00
FajsiEx ec08c8ece3 + finish diff rect component 2021-10-28 11:02:11 +02:00
FajsiEx a0ab2dc007 + song jacket to gameplay & + create diff box component 2021-10-28 10:27:06 +02:00
FajsiEx 259723167e + hexagons and flares without anims 2021-08-22 20:00:36 +02:00
FajsiEx ff0e21ff2b * further changes to bg 2021-08-22 19:15:18 +02:00
FajsiEx d9d3d5e1e4 * invert and slow down the bg spin anim 2021-08-21 16:24:15 +02:00
FajsiEx ae90c2e86e + basics of background component 2021-08-21 13:49:51 +02:00
FajsiEx 7fc93dc3be + some basic things to challengeresult & * reorganize stuff 2021-08-18 17:29:54 +02:00
FajsiEx 7d63e7d6d5 * only calculate volforce for converts 2021-08-16 16:34:01 +02:00
FajsiEx 9b0eba4d8f ^ 0.1.1 2021-08-14 21:32:55 +02:00
FajsiEx f474da8ca3 + version text to footer 2021-08-13 22:59:35 +02:00
FajsiEx 52b2c02ed2 + proper sortwheel & / footer scaling breaking on force portrait 2021-08-13 20:39:37 +02:00
FajsiEx 9e3d6aab27 + more precision to volforce calc 2021-08-13 17:05:56 +02:00
FajsiEx 3025c6651d + basic vf calculation 2021-08-12 21:21:42 +02:00
FajsiEx de5174a76a > split song select header to component & / z-index issue with filter wheel and header and footer 2021-08-12 16:20:19 +02:00
FajsiEx 60b2302a20 * rename bars component to footer & + time and credits text to footer 2021-08-09 20:13:53 +02:00
FajsiEx d525a24900 + scaling to bars component 2021-08-07 21:13:56 +02:00
FajsiEx 2292908baf + bars to songwheel 2021-08-06 20:18:18 +02:00
FajsiEx d013c76a96 + init 2021-07-25 20:10:06 +02:00