Commit Graph

630 Commits

Author SHA1 Message Date
Hersi 8ed4e141db WIP: rewrote splash screen code
still missing individual splash page code
2022-06-22 02:58:47 +02:00
Hersi 6fbc39e028 remove Screen class
switch to a event based page api design
2022-06-22 02:32:27 +02:00
Hersi 9b170a519f page api update 2022-05-22 03:05:24 +02:00
Hersi e68fcd5bfe code cleanup
instead of implementing __tostring, set __name
use variable name 'params' instead of 'o'
use 'self' for indicating instance instead of 'this'
move private members under self instead of params
set doc type of 'params' as the object created (helps IDE autocomplete)
2022-05-06 01:02:30 +02:00
Hersi be9a1f9408 moved titlescreen implementation to the new page system
added Screen middle-class to titlescreen/
added BootScreen implementation
added "missing" input enums to globals
PageView no longer requires a rootPage on construction
added a mouse handler to Page
ModeSelectPage no longer starts playing audio and animations on construction
2022-05-04 03:34:37 +02:00
Hersi ff8322ca28 fixed sanicfast CheckUpdateField progress bar 2022-05-04 03:29:29 +02:00
Hersi df5756ffcf started implementing ModeSelectPage
added AudioSample class
put mode select screen header into components
fix typo in animation.lua
2022-04-28 00:21:10 +02:00
Hersi 1ceb90f975 Merge branch 'titlescreen-refactor' of git.hersi.changeip.net:hersi/ExperimentalGear into titlescreen-refactor 2022-04-28 00:18:22 +02:00
gskbladez 0e28d49534 hit color changes 2022-04-27 13:06:31 -04:00
Hersi 4feb6a8645 page management code refactor 2022-04-27 12:29:54 +02:00
Hersi badbaabe2b Merge branch 'master' into titlescreen-refactor 2022-04-27 02:49:17 +02:00
Hersi 98544e5e8a change class instantiation implementation 2022-04-27 02:49:04 +02:00
local d75982154e Merge pull request 'Nears now' (#16) from feat/local/hitfx into master
Reviewed-on: #16
2022-04-27 00:47:15 +00:00
Local Atticus 265c8fcf8f Add nears 2022-04-26 20:45:37 -04:00
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 54b1fac8d7 Add useFootGun 2022-04-26 20:12:19 -04:00
local b07d72879c Merge pull request 'Get basic ht anims working' (#15) from feat/local/hitfx into master
Reviewed-on: #15
2022-04-27 00:04:45 +00:00
Local Atticus 20a7100521 Refactor based on feedback and fix bugs 2022-04-26 20:03:42 -04:00
Local Atticus 5268ac47a5 Get basic ht anims working 2022-04-26 18:12:14 -04:00
Hersi 3ea1429eab refactor class.lua (because Local is a bulli) 2022-04-27 00:06:42 +02:00
Hersi d1458d2ee2 Fix IR docs 2022-04-25 23:21:02 +02:00
Hersi ecdeab919c account filename for linux build 2022-04-25 22:22:11 +02:00
Hersi 789038d24f Merge branch 'feat/titlescreem-redo' 2022-04-25 17:29:35 +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 9fcef8c9e5 why tf is there no game.LOGGER_DEBUG? 2022-04-24 01:43:15 +02:00
Hersi e9908b6014 better docs for IR function parameters 2022-04-24 01:42:56 +02:00
Hersi e8552b44a4 bootpage implementation 2022-04-24 01:39:48 +02:00
Hersi eb55b8ffa0 add clear() to PageView 2022-04-24 01:38:28 +02:00
Hersi 9cab4201c6 ServiceField uppercase label 2022-04-24 01:35:51 +02:00
Hersi 0b809dc798 add logging to titlescreen and filereader 2022-04-24 01:29:17 +02:00
Hersi a3ae25cfad why tf is there no game.LOGGER_DEBUG? 2022-04-24 01:18:05 +02:00
Hersi 27431215c3 better docs for IR function parameters 2022-04-24 00:06:48 +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 868d5b9798 use generics in class creation functions' docstrings 2022-04-14 23:14:13 +02:00
Hersi 509dd46e37 fix lua api docs for GetKnob() 2022-04-12 23:46:31 +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 fe7e60af05 fix lua api docs for GetKnob() 2022-04-12 23:35:18 +02:00
Hersi eae3ab452e Merge branch 'assets' into feat/titlescreem-redo 2022-04-12 01:03:52 +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
gskbladez c9a9fa4de6 updated near splash fx 2022-04-09 23:47:31 -04: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