Commit graph

164 commits

Author SHA1 Message Date
Renato Machado
2c5f47cacd
improve: density pixel (mobile) (#462)
implemented #452 

---------

Co-authored-by: Túlio Magalhães <tuliohdvp@gmail.com>
2023-03-09 14:20:42 -03:00
Renato Machado
fa9969ed7a
bool to bitwise and int to uint8/16 2023-02-16 19:59:31 -03:00
Rodrigo Paixão
2ef49275e1
Fix #413 2023-02-15 17:10:35 -03:00
Renato Machado
debd5db618
Async texture loading / Rewrite Mark System / AutoRepeatDelay to 50 / cleanup 2023-02-13 19:41:06 -03:00
Renato
057a5db586 fix #410 thx @xmish 2023-02-11 14:43:46 -03:00
Renato
9a10fd2b6d use root instead of map 2023-02-10 21:14:35 -03:00
Joao Pasqualini Costa
24b3d10bb0
Improve walk response when changing direction 2023-02-10 20:51:07 -03:00
Felipe B.Tomaz
1b4e497611
Add Wrap (#377) 2022-12-26 14:32:23 -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
miah-sebastian
3dd7a9d7b9
Game prey draft (#321) 2022-08-15 20:29:51 -03:00
Renato
b80f66289c removed prints 2022-07-04 20:07:27 -03:00
Renato Machado
f4b5c0d81b
Drawpool v2 RC (#292)
- Drawpool refactored
- Removed OpenGL 1 
- Removed robin hood lib, now use parallel-hashmap, it's faster.
- Vertexarray now uses vector, instead of databuffer
~Vector practically has the same performance level as array-style + std::copy(memcpy)
- Removed RENDER_WALKING_CREATURES_BEHIND
- Add feature Otc::GameMapDontCorrectCorpse and Otc::GameMapOldEffectRendering #284 
- Fix #278 #284 #275
- Replace drawViewportEdge with limitVisibleDimension
- Various other improvements and cleanup.

Note(new libs):
[x64]
vcpkg install stduuid:x64-windows parallel-hashmap:x64-windows
[x86]
vcpkg install stduuid:x86-windows parallel-hashmap:x64-windows
[Static Lib]
vcpkg install --triplet x86-windows-static stduuid parallel-hashmap
2022-07-04 19:46:30 -03:00
Renato
16235e6a67 formatted modules 2022-04-29 23:14:24 -03:00
Renato
14b1ab9536 fix #269 2022-04-29 23:01:37 -03:00
scopp
a1504147ad
Check override autoChase onkeydown when walking 2021-08-06 00:15:19 +02:00
scopp
155fbd2ebf
Some refactoring (#116) 2021-07-26 11:06:09 +02:00
scopp
07c2f784e6
Added options controls subpanel + 'precise control' #116 2021-07-25 22:18:14 +02:00
scopp
5d02ec7113
Ability to schedule next step on the same direction if double tapping 2021-07-25 18:31:41 +02:00
scopp
f806ac4f88
Can use Ctrl+Shift to Open container in a new window 2021-07-25 16:14:59 +02:00
scopp
f44082073e
Option to move full stacks directly and use ctrl to choose amount
This option just swaps the behavior of pressing ctrl to move all stack and not pressing it
2021-07-25 16:14:59 +02:00
scopp
f24721174b
Prevent executing hotkeys when windows are opened
Hotkeys assigned to letters (without ctrl or alt) will be blocked when
wasd mode is off.

Also, can't execute hotkeys when there is any window opened for the
exact same reason: prevent executing hotkeys when typing.
2021-07-24 20:58:26 +02:00
scopp
a861244af1
Fixed small bug from 22dc14f2 2021-07-24 19:28:28 +02:00
scopp
25d2ef6838
[UI] Added Shift+Enter to toggle WASD mode
Implemented behavior similar to Tibia:
- CTRL+A/S/D/W -> Turn character
- Alt+S -> Open skills window
- Alt+W -> Clear windows messages

Now this mode is preserved after restarting client

TODO Improvements:
Add the option to change "Toggle WASD Mode" in the Hotkeys Window...
2021-07-24 00:59:55 +02:00
scopp
81931db154
[UI] Open container in another panel if selected is full
The priority order will be:
- Your selected panel
- The right panel
- The extra right panel
- The left panel

If containers doesn't fit in any panel, it'll be open in the selected
panel, closing any window.

This option does not affect other windows such as Skills, BattleList or
Inventory.
2021-07-23 22:22:08 +02:00
scopp
22dc14f285
[UI] Option to choose where to open containers
At the bottom right of each panel, you can see a checkbox. When you tick it, new containers will be open there.

Posibles TODOs:
- Save selected panel (currently it will be lost when you restart the client)
- Remove that checkbox, and add it at the options window
2021-07-23 22:21:04 +02:00
scopp
3f98381fef
[UI] Added right extra panel 2021-07-22 20:39:16 +02:00
Renato
855a87ad9e code lua formatted 2021-07-19 19:24:59 -03:00
Renato
04cd699316 rewritten the Lua code for C++ from the crosshair and highlighted mouse target
performance will be better this way
2021-01-29 17:31:07 -03:00
Renato
e40b760fc3 fixed highlight on walking 2021-01-28 18:51:05 -03:00
Renato
95db89c463 new option (Draw Viewport Edge) 2020-12-29 22:44:04 -03:00
Renato
0d335afc91 improved checking with mustHookEast and mustHookSouth 2020-12-24 14:33:48 -03:00
Renato
41000387ce removed dash option 2020-06-20 02:51:05 -03:00
Eduardo Bart
47766685d9
Merge pull request #907 from diath/topbar_visibility_toggle
Add a keyboard shortcut to toggle topmenu visibility
2017-11-20 12:04:11 -02:00
Kamil Chojnowski
68371c98d4 Add a button to show the top menu when it's hidden 2017-11-19 02:00:02 +01:00
Kamil Chojnowski
d889b5aaf2 Add turn and hotkey delay 2017-11-16 19:06:31 +01:00
EgzoT
bc507fd98b Sending trade request using "UICreatureButton"
Extending the possibilities of "UICreatureButton" widget.
Adding possibility sending trade request in battle list (game_battle module) and other modules who use widget "UICreatureButton".
2017-10-22 23:21:02 +02:00
BenDol
0afbfd58ce Proper gameinterface load sequence, thanks @Quintinon
https://github.com/edubart/otclient/pull/677
2015-07-19 07:08:21 +12:00
TheSumm
84f6cdec86 Fix #576, PopupMenus close when leaving the game 2015-04-19 13:56:03 +02:00
BenDol
ef7f94ac76 Some minor changes/additions. 2014-08-07 06:40:56 +12:00
BenDol
a52c938fef Added missing protocol versions & made some style fixes. 2014-07-30 19:58:34 +12:00
Sam
2a57a5f7d0 Browse field, locked & paginated container support 2014-07-15 23:27:44 +02:00
BenDol
74979ca16a Remove debug print and redundant checks. 2014-07-13 23:12:56 +12:00
BenDol
0c77179c46 Should check the menu category before creating a separator. 2014-07-13 22:57:45 +12:00
BenDol
935b9e4cd6 Forgot removeMenuHook function. 2014-07-13 22:39:56 +12:00
BenDol
0f362f80e3 Added easy menu hooking, fixed terminal default size/pos & more:
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
2014-07-13 22:27:09 +12:00
BenDol
99b1ddf44c Must change UIMap class checks to UIGameMap. 2014-06-07 05:05:57 +12:00
Sam
b96be291bb Fix use-with issue #508 2014-05-10 17:10:07 +02:00
BenDol
1baad726ae Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
Sam
8d8f32b081 Partial 10.36 support, also fix #499 2014-03-12 06:39:20 +01:00