Commit graph

21 commits

Author SHA1 Message Date
Luan Santos
388b3ba2ea
feat(platform): add native Cocoa/AppKit windowing for macOS (#1559)
New Features:
- Native macOS app with Cocoa windowing, OpenGL view, improved input, clipboard and cursor handling.
- Platform-aware keyboard and shortcut behavior with clearer primary/meta/control semantics and normalized key combos.

Bug Fixes:
- Expanded detection for "connection refused" network errors.

Chores:
- macOS build/bundle and packaging improvements; new dependency overlay added; CI now runs macOS build when relevant.

Tests:
- AddressSanitizer support added for test builds.
2026-05-16 13:06:48 -03:00
kokekanon
cfc054dc05
fix: boundKeyPressCombos [fix: #1000, #1251 , #1231 , #738] (#1253) 2025-07-27 11:49:01 -03:00
Renato Machado
bdf9ab813f
fix: walking with high ping 2024-10-28 15:57:56 -03:00
Renato Machado
11cecb8c35
feat: v8 Bot 2023-11-21 22:27:20 -03:00
Beats
c3396b158e
fix: crash and UI mobile
Tanks @tuliomagalhaes
2023-03-10 10:12:20 -03:00
Renato
8e6305881e lua format - if/fnc are no longer inline 2022-08-17 12:51:56 -03:00
Renato
53f30d2969 lua cleanup 2022-08-17 02:44:09 -03:00
Eduardo Dantas
5531c40416
Fix github actions, cmake rework and integrate with vcpkg and improvement on protobuf (#257)
Full Github Action Rework (GHA), so that builds are fixed: Windows, Linux, Docker; Review checks: C++, Lua, XML and others checks
Complete Cmake Rework, modernized the code so that you can work with GHA.

Removed:
VCPKG Build
Removed generated Files from file .gitignore (all build files are required for Cmake cache generation)
Lib Lua5.1 was removed and maintained only Luajit (faster and better)
Removed the "consoleapplication" file
Removed the "lbitlib" file, after all, if the idea is the project to use updated Libs, why do we want files that bring compatibility to old Libs? I just updated the files to use the functions of the new LIBs

Modified:
The metadata of the Bitwise functions have been changed, now being in place of "bit32." is
"bit."
Protobuf will now be chased along with the client build, avoiding random errors related to Protobuf's version is different from the compiled file (this way, no matter if the repository file is outdated, as a new one will always be generated in a compilation from rebuild all)
Modified the structure of some folders, such as "protobuf" and "cmake" folder, "protobuf" was sent to the src main folder and "cmake" to the client main folder
Namespace protobuf changed from "tibia" to "otclient"
Merged the files of the Protobuf "shared.proto and appearances.proto" in one (appearances)

Added:
Issue Template
Pull Request Template
Pull Request Labeller
Check to inform that clang is not supported (it is possible to use docker on mac, this way we avoid headaches related to support for an OS that is practically not used)

GHA:
Codacy
CodeQL
Review dog
SonarCloud
Build docker
Build Ubuntu
Build Windows

Cmake:
Cmakepresets
VCPKG Manifest
Otcicon

Client:
Added the functions LuaInterface::registerTable and LuaInterface::registerMethod and Bitwise Functions (if necessary at some point compatibility with the Lua 5.1)

Note: Some checks are failing as they should only work after the merge, they should be ignored, the main ones are ok

Thanks to @costallat for for helping and assisting with addition of GHA and CMake build
2022-06-03 17:14:30 -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
Kamil Chojnowski
c4be084516 Fix an issue with key combo desc not working properly with integer keys 2019-01-05 19:31:19 +01:00
Joao Pasqualini Costa
719debfeae Fix keyboard unbind
Now this will unbind the right widget
2013-08-17 21:54:16 -03:00
Eduardo Bart
9a54bfcc90 Minimap, hotkeys and lot of other changes
* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
2013-02-21 17:03:05 -03:00
Eduardo Bart
4351f3c63f More improvements in walk 2013-01-26 20:12:00 -02:00
Eduardo Bart
2fd3c643c4 Rework smart walk, fix #247 2013-01-26 18:10:30 -02:00
BeniS
abf0ee4303 More walk control optimization and fixes:
* Finished off the walking control optimization! (Should be smooth controlling now).
* Fixed issue #151
* Fixed an issue with the character list.
* Fixed a bug in the g_keyboard.isKeySetPressed function.
2012-12-30 19:14:49 +13: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
Eduardo Bart
4bac36d3bc Implement new cool features
* Implement walk booster (dash) as an option in settings menu
* Dash is smarter (can pre-animate)
* Implement smart walking (walk in diagonal when holding two arrow keys)
* Implement ping meter for all protocols
* Ping meter uses uses real ping packet for 9.6 and walk for others
2012-08-25 16:11:54 -03:00
Eduardo Bart
dc8ef845ab Warn redefined key bindings 2012-07-23 01:44:15 -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/keyboard.lua (Browse further)