Commit graph

18 commits

Author SHA1 Message Date
Luan Santos
6d1d49c2d6 unfeat: drop android and web 2026-01-17 15:16:39 -08:00
Luan Santos
f5299139c7 refactor(platform): restructure keyboard modifiers for cross-platform consistency
Replace deprecated KeyboardControlModifier with platform-aware primary modifier
handling. Introduces KeyboardMetaModifier for native modifier keys (Cmd on macOS,
Win on Windows, Super on X11) and KeyboardPrimaryModifier to abstract the
platform-specific primary modifier key. Adds isPrimaryModifierOnly() helper
to normalize platform differences in keyboard shortcuts.

Extract Cocoa view handling into separate OTOpenGLView and OTWindowDelegate
classes for improved code organization and maintainability.
2026-01-10 10:06:53 -08:00
Luan Santos
230d1131a4 feat(platform): add native Cocoa/AppKit windowing for macOS
Implement a complete native macOS windowing system using Cocoa/AppKit to replace X11/XQuartz dependency. The implementation uses OpenGL 2.1 Legacy profile for compatibility with shader-based rendering while maintaining clean input handling and window management.

Key features:
- Native NSWindow-based windowing with full AppKit integration
- Comprehensive keyboard mapping using Carbon virtual key codes
- Mouse and cursor management via NSCursor with custom cursor support
- Window state management (maximize, fullscreen, resize, move, minimize)
- Proper event handling through OTOpenGLView and OTWindowDelegate delegates
- UTF-8 text input with proper character processing
- Clipboard support via NSPasteboard
- macOS-specific key modifier mapping (Cmd key to Alt modifier)
- Automatic window centering and display size detection

The change eliminates X11 requirements on macOS and provides a more native user experience with proper HiDPI support and macOS window conventions.

# Conflicts:
#	modules/corelib/const.lua
2026-01-10 10:06:53 -08:00
InnerCircleTFS
f262a1e4b9
feat: Interactive text by oen (#1553)
Co-authored-by: LIBERGOD <37589902+libergod@users.noreply.github.com>
2026-01-09 10:34:34 -08:00
Renato Machado
6a2bff9a80
improve: html/css syntax 2025-09-28 14:46:24 -03:00
Ben Dol
09aa446ef1
feat: adaptive ui loading #451
The goal of this feature is to provide an efficient way to load the UI on the device running the client.
2023-03-02 23:03:46 -03:00
Renato
16235e6a67 formatted modules 2022-04-29 23:14:24 -03:00
Renato
855a87ad9e code lua formatted 2021-07-19 19:24:59 -03:00
Henrique Santiago
59a5b8115a Fix locale send, spelllist reload, few changes 2013-02-18 22:18:10 -03:00
Eduardo Bart
4f8f02acad Rework auto focus behavior, closes #222 2013-01-26 17:06:25 -02:00
Henrique Santiago
c982ca81a5 Rework options visual 2013-01-25 13:33:51 -02:00
Eduardo Bart
2e75380218 Reimplement text edit scrolling in C++
* And update some corelib APIs
2013-01-16 14:20:17 -02:00
BeniS
1782de7336 Game control precision edits and many other fixes:
* Updated the walking(mouse/keys) control to be a lot more responsive/smooth!
* Updated creature diagonal steps to animate faster (due to demand).
* Added a warning popup for boost walker option in cipsoft servers.
* Added KeyUp event controls in the g_keyboard class.
* Fixed an issue with the minimap not reconfiguring.
* Fixed a bug with creature lights drawing properly.
* Fixed refreshContainer method.
* Some layout edits.
* Some minor typo fixes.

TODO:
* Add walk event stack.
* Test new walking edits extensively.
* Finish pending state feature.
2012-12-30 06:41:14 +13:00
Henrique Santiago
c517f7b745 Add/get table functions implemented on ext charlist 2012-08-30 02:59:27 -03:00
Eduardo Bart
36c029fc69 Multiprotocol 8.1-9.6 finally working
Still have many minor issues, tests are needed
No recompilation needed anymore
9.60 messages is not fully implemented
2012-07-26 06:12:20 -03:00
Henrique Santiago
6a85c31a77 Some particle stuff, far from done 2012-07-06 02:01:13 -03:00
Eduardo Bart
98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Eduardo Bart
8761220deb Refactoring and flexibility changes
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
2012-06-19 21:16:52 -03:00
Renamed from modules/core_lib/const.lua (Browse further)