Enhance socket management and improve android support
- Added proper socket closure and nullification in OnDemandFetcher to prevent resource leaks. - Introduced touch target areas in RSApplet to streamline touch interactions. - Made fullGameScreen public in RSApplet for external access. - Implemented a master screen buffer and a locking mechanism in RSImageProducer for better synchronization. - Reduced initial sleep duration in Signlink and added a close method for better resource management. - Increased texture array sizes in Texture for improved rendering capabilities. - Modified WorldController to optimize rendering logic based on platform (Android) and enhance performance.
This commit is contained in:
1 parent
9570a35bae
commit
87fece4854
9 files changed
+622
-244
No files matched your search
@@ -13,6 +13,13 @@ public class ClientSettings {
|
||||
*/
|
||||
public static boolean ANDROID = false;
|
||||
|
||||
/**
|
||||
* Viewport dimensions for 3D rendering.
|
||||
* Default 512x334 in fixed mode; scaled to native widescreen in resizable mode.
|
||||
*/
|
||||
public static int VIEWPORT_WIDTH = 512;
|
||||
public static int VIEWPORT_HEIGHT = 334;
|
||||
|
||||
/**
|
||||
* @QoL
|
||||
* Require control key to zoom the client
|
||||
|
||||
Reference in new issue
Block a user