khanhduytran0
32d2d785eb
Cleanup[input]: remove glfw window focus state callback
...
This is unnecessary (no background code execution unless given keepalive permission) and is prone to JNI error
2023-09-20 17:29:05 +07:00
Eilionoir Tunnicliff
dc22673b06
Remove iOS 12/13 supporting code + Alderis
...
PojavLauncher 3.0 will require heavy modifications in order to work on those two iOS versions now.
2023-05-08 11:15:52 -04:00
khanhduytran0
78b788262c
Move LoginViewController to parts
...
- The account selector now has Add Account item
- Last selected account is kept
- Account token refreshment is done on startup and on select if need
- Moved JIT status to LauncherMenuViewController's toolbar
- Primary View Controller is now LauncherSplitViewController
- More unmentioned(?), see diff.
2022-12-04 11:41:54 +07:00
Duy Tran Khanh
b5af92d0f5
JVM crash dump: now shown, disable some Cr4shed handler
...
When Cr4shed crash handler is on, chaining to it will eventually crash
instead of returning so that JVM can continue perform dump. For now,
signal handlers are reset to default.
abort() is now caught and shown in the launcher.
Temporarily disabled safe area when windowed, until I can properly set
it up, in order to workaround buttons going out of bounds.
2022-11-03 21:12:55 +07:00
Duy Tran Khanh
3db2926743
Moved type selections to segments in picker view
...
The version picker view now only display the selected type in one of
(Installed, Releases, Snapshot, Old-beta, Old-alpha). Toggling between
Releases and Snapshots allows jumping to the corresponding release or
the latest snapshot of the version.
2022-08-08 09:37:32 +07:00
Duy Tran Khanh
292fb8166f
Custom controls: safe area is now customizable
...
Other changes:
- Cleanup unused functions
- Internal changes to access ViewController globally
- Moved ControlLayout to a separate file
2022-08-03 12:23:27 +07:00
Duy Tran Khanh
8aea2ee5fc
Changes
...
Added a little more debug info
Fixes: the GUI button hides itself; Makefile jar path; Restart before
launching game
2022-07-01 12:43:30 +07:00
Duy Tran Khanh
984647084b
Fixes
...
- [Internal] Changed how setting current viewController work
- [Internal] Correct 018e46a : avoid duplicating code
- [Internal] Saving JSON now uses NSData to write directly
- Correct a check of the Launch .jar option
- Set the AWT window size for the game
2022-05-27 21:54:26 +07:00
Duy Tran Khanh
580da57855
Set GLFW window attrib; Proper external mouse lock
...
Setting window attribute fixes DynamicFPS mod being broken
2022-03-17 07:24:41 +07:00
Duy Tran Khanh
1b0d564379
New toggle option: Restart before launching game
...
This option allows the launcher to restart itself before launching the
game, therefore all changes are applied such as JVM Arguments and Java
version. The restart mechanism doesn't always work, so a toggle is
here for now.
2021-12-17 21:13:50 +07:00
doregon
c2b301f4ad
Building on iOS is fixed
...
You need to grab compiler-rt from my repository to successfully do it though.
2021-07-07 18:28:31 -04:00
doregon
43cc6beb56
Forgot to stage that for the last commit ._.
2021-07-06 17:14:58 -04:00
doregon
dba2d292ab
Add macro to fix iOS local build
2021-07-05 21:12:58 -04:00
Duy Tran Khanh
5e0ceb5c57
Comment out __isOSVersionAtLeast as it's duplicate
...
FIXME: local build complains that "__isOSVersionAtLeast" is undefined!
2021-07-02 20:11:56 +07:00
Duy Tran Khanh
be1646c8ce
Now this can be installed as an IPA :trollface:
2021-07-02 20:05:59 +07:00
Duy Tran Khanh
8d04c7f85a
Implemented Microsoft authentication
2021-02-11 17:11:56 +07:00
Duy Tran Khanh
9881949f30
[WIP] Login UI, no functional yet
2021-02-08 18:21:54 +07:00
Duy Tran Khanh
3faac7a7fa
Better UI
2021-02-01 13:42:44 +07:00
Duy Tran Khanh
fa5dcdc727
Add SceneDelegate (for 13.0+)
2021-02-01 06:12:05 +07:00
Duy Tran Khanh
e96db799c4
Move UIKit stuff to separate java class
2021-01-30 05:23:09 +07:00
Duy Tran Khanh
ae8baaec64
(WIP) add some UI
2021-01-29 16:47:07 +07:00
Duy Tran Khanh
8f57faa0f7
Try use storyboard
2021-01-06 16:01:26 +07:00
Duy Tran Khanh
00f5613c81
Multiply size with scale
2021-01-06 15:27:29 +07:00
Duy Tran Khanh
8f5b1d98a4
Call bindDrawable
2021-01-06 13:22:34 +07:00
Duy Tran Khanh
8a9a433af0
Add GLKView.display()
2021-01-06 10:25:22 +07:00
Duy Tran Khanh
1d8fd74ccf
Uncomment init
2021-01-06 06:14:59 +07:00
khanhduytran0
62fde952c2
Try javafx again
2021-01-05 20:44:50 +07:00
Duy Tran Khanh
190ccab778
Try javafx again, prepare dylib
2021-01-05 07:33:59 +07:00
Duy Tran Khanh
4f9010ab01
Move obtainGLKView()
2021-01-03 15:45:02 +07:00
Duy Tran Khanh
96a1158e3e
Stills try to get Minecraft run on separate thread
2021-01-03 14:15:34 +07:00
Duy Tran Khanh
67d1a8321b
Compile fix: missing @end
2021-01-02 18:15:28 +07:00
Duy Tran Khanh
ec6614f7d6
Pre-init GLES context
2021-01-02 18:11:49 +07:00
Duy Tran Khanh
2c3fb496b8
glview fix
2021-01-02 17:43:33 +07:00
Duy Tran Khanh
db7a802e18
Fix
2021-01-02 17:41:17 +07:00
Duy Tran Khanh
2c87a81d6d
Call GLKView setNeedsDisplay
2021-01-02 17:38:09 +07:00
Duy Tran Khanh
dfea907fb6
Comment out
2021-01-02 17:22:07 +07:00
Duy Tran Khanh
3e0f5a4f8d
Update AppDelegate.m
2021-01-02 16:59:18 +07:00
Duy Tran Khanh
11f88510ac
Try GLKView
2021-01-02 16:28:00 +07:00
Duy Tran Khanh
ecf6d7073a
Try to debug AppDelegate callback not called
2021-01-01 14:20:41 +07:00
Duy Tran Khanh
d058be6fd4
Implemented java callback
...
For AppDelegate.didFinishLaunchingWithOptions()
2021-01-01 13:00:22 +07:00
Hayden
4f9d8eec19
Merge branch 'main' into main
2020-12-31 22:28:31 -05:00
Duy Tran Khanh
d2ec05c549
Try start java inside main()
...
Invoke map: C main() calls JLI_Launch -> Java main() calls
UIApplicationMain -> AppDelegate: didFinishLaunchingWithOptions
callback to Java -> Init OpenGL ES and start Minecraft client. (TODO)
2021-01-01 10:20:52 +07:00
Hayden
d8f4199fe1
Update AppDelegate.m
2020-12-31 22:04:37 -05:00
Duy Tran Khanh
c21d388e97
Undo last commit
2021-01-01 07:15:06 +07:00
Duy Tran Khanh
82ca2c8734
Try if empty UI work?
2021-01-01 07:14:12 +07:00
Duy Tran Khanh
b9b1e76aca
Change project structure again
2020-12-31 16:52:58 +07:00