Commit Graph

405 Commits

Author SHA1 Message Date
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 868d5b9798 use generics in class creation functions' docstrings 2022-04-14 23:14:13 +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 b7bf357238 fix function name 2022-04-12 01:03:37 +02:00
Hersi a7594d9ec2 fix nil values getting into matches in FindPatterns() 2022-04-11 19:37:51 +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 83c3504e7d make file and folder names consistent 2022-04-05 17:32:55 +02:00
Hersi d3853485f8 fix module paths 2022-04-05 17:31:02 +02:00
Hersi c366753c36 refactored directory structure 2022-04-05 17:17:25 +02:00
Hersi b62dc2764a added game file reader utilities
added more fields to VersionInfoPage
2022-04-05 06:36:11 +02:00
Hersi aa2ba01550 added VersionInfoPage service page
added a way to update USC from the skin
added game configuration reader helper functions
added version string getters to version.lua
2022-04-04 01:58:10 +02:00
Hersi b08c1fb580 added ColorCheckPage and ColorGradientField
fixed ServicePage references in functions
added lerp function to util.lua
2022-04-03 23:24:17 +02:00
Hersi a0ba0b7390 added ScreenCheckPage 2022-04-03 22:08:31 +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 e8f7471663 preliminary version of credits splash 2022-04-03 03:02:16 +02:00
Hersi aecfc1c925 fix sample not playing when exiting from service screen 2022-04-03 02:10:26 +02:00
Hersi 984051205d move "skip" text to the bottom left 2022-04-03 01:45:54 +02:00
Hersi b1649fa80f BEEEG "reimplementation" of service screen
new pager/page management library
2022-04-03 01:35:41 +02:00
Hersi e19763a9bf fixed song settings dialog 2022-03-30 18:47:31 +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 ea9c39cead add jacketPath to challengesCache 2022-03-29 21:33:52 -05:00
gskbladez 44c2a10783 1 file name change, updated title text 2022-03-29 21:01:25 -04:00
Hersi 819b220357 added base classes for service page management 2022-03-30 02:53:27 +02:00
Hersi 9dffa1332a start revamping service screen structure
implemented some generic drawing functions
also removed that god damned ";" endings from everywhere, this is lua, not C
2022-03-29 04:29:28 +02:00
Hersi 0831597d3a fix transition color in splash screen 2022-03-29 04:27:37 +02:00
Hersi 7704c45dd0 use the resource table for audio samples 2022-03-29 04:27:12 +02:00
Hersi f227df0dee implemented mouse controls for titlescreen mode_select
added supporting functions to util and dimensions
2022-03-27 03:54:02 +02:00
Kyle Humphrey 24a20a2e87 add timing graph and suggested offset to results 2022-03-26 00:26:29 -05:00
Hersi 5d3e4457eb refactor and format document for mode_select
add wallpaper and dim modules to mode_select
2022-03-26 02:21:54 +01:00
Hersi 408feed832 got rid of the reference shenanigans from dimensions 2022-03-26 00:38:30 +01:00
Kyle Humphrey 4a293e70ae fix Max Chain not resetting on gameplay restart (f5) 2022-03-25 17:21:02 -05:00
Kyle Humphrey e77799c4c0 fix challengewheel 2022-03-25 00:07:39 -05: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
Kyle Humphrey 0e93e60aea fix special difficulty boxes within result and gameplay screens 2022-03-24 23:02:54 -05:00
Kyle Humphrey cc73423b6a fix edge case where songwheel would break if there is no song in index 2022-03-23 17:52:06 -05:00
Kyle Humphrey a3fa6350c1 add letter on scrollbar in SongWheel 2022-03-16 02:24:02 -05:00
Kyle Humphrey 841fb1fa35 reimplement scrollbar for songSelect and folderSelect 2022-03-15 23:51:53 -05:00
Kyle Humphrey e077c44159 add gauge flags on results screen 2022-03-14 17:40:33 -05:00
Hersi edcb7b8407 auto-formatting 2022-03-12 15:18:41 +01:00
Hersi 6e011b19eb add triggers to titlescreen 2022-03-12 15:18:24 +01:00
Hersi 9add99e777 titlescreen documentation and restructure 2022-03-12 15:17:20 +01:00
Kyle Humphrey 4cabc5990f implement skin config for search controls window 2022-03-10 19:02:48 -06:00
Kyle Humphrey 59cf769508 update search info textures 2022-03-10 17:43:19 -06:00
Kyle Humphrey 20e4cb4150 add searchbar transition, darken bg, and search info 2022-03-09 02:24:21 -06:00