Commit Graph

1203 Commits

Author SHA1 Message Date
Eduardo Bart ebc88b8354 Tweak modules interface
Minimize miniwindows space usage
Implement easier minimap navigation
Redesign inventory, minimap and healthinfo layout
2012-07-12 20:40:55 -03:00
Eduardo Bart c0c2411854 Improve minimap 2012-07-12 16:16:23 -03:00
BeniS 935ca87d16 Few minor fixes from previous commit. 2012-07-13 05:29:44 +12:00
BeniS 8850528091 Updated Top Menu, Health Info, Combat Controls, Console (Channels), Game Toggle Buttons, Minimap Layout, Game Interface Prompts, and Creature Draw Info.
* Added new left and right game button panels.
* Relocated main game toggle buttons to the right side of the screen to make it easier to toggle miniwindows.
* Added table.empty(t) function to table lib.
* Renamed module game_healthbar to game_healthinfo.
* Combat controls now save per character (e.g. Fight mode, chase mode, safe fight mode)
* Last channels open now save per character.
* Fixed typo in containers.lua.
* Added logout prompting window message when you logout via the logout button.
* Added exit promting window message when you attempt to exit the client.
* Repositioned some minimap buttons.
* Fixed so when creatures health percent is < 1 it will not draw the creature information.

Known Issues:
* If you move a container widget into the map rect if you move an item onto itself it will allow this to execute still dropping the item on the ground.
* The server is calling to open channels after onGameStart is executed causing it to focus the last tab opened. Fix: Don't save channels to the settings that are opened by the server.
2012-07-13 04:45:22 +12:00
Kamil 8f492f7e06 Fixed bug with adding Vip from console or map, who is already on viplist. 2012-07-12 13:21:51 +02:00
Kamil de873448b5 Updated. 2012-07-11 05:43:33 -03:00
Kamil 4aeb9edfae Reopen last channels on login. 2012-07-11 05:43:33 -03:00
kilouco 104785818b Now Soul Points are shown in the bottom of the HealthBar widget. 2012-07-11 00:47:53 -03:00
Eduardo Bart d39ca7de10 Restore periodicalEvent function
* and typo fixes
2012-07-10 14:36:18 -03:00
Eduardo Bart 351115d9d9 Fix login error message 2012-07-10 09:32:13 -03:00
BeniS 54e061f2f7 Minor fix in the hotkeys from previous commit. 2012-07-11 00:27:29 +12:00
BeniS 82233dc655 Changes/Fixes to Channels/Hotkeys/Inventory Slots.
- Fixed issue with opening multiple instances of the same message channels (will focus the channel if already exists).
- Added tooltip to the 'Clear message window' button.
- Added keyboard Up/Down press for hotkeys.
- Added inventory slots/images.
- Started on adding soul
2012-07-11 00:15:31 +12:00
Eduardo Bart e7691b873b Add error code to onError protocol event 2012-07-09 19:45:34 -03:00
Eduardo Bart 59f75d996e Fix crash when logging without specifing a port or host 2012-07-09 15:06:58 -03:00
Eduardo Bart 2c5fdc88d1 restore music at startup 2012-07-09 14:53:05 -03:00
Eduardo Bart 23fee49456 Merge pull request #6 from sn4ke/master
Fixed bug with adding Vip from console or map, who is already on viplist.
2012-07-09 09:19:23 -03:00
BeniS 902ce06e88 Fixed an issue with the battle list filter.
More work on the minimap, interface changes, fixed direction controls, fixed reseting, fixed some draw things (needs some more work to finish).
Fixed a bug in the battle list causing Battle.onFollow(creature) to execute when there was no follow.
2012-07-09 09:19:02 -03:00
Kamil 85786efbd3 Fixed bug with adding Vip from console or map, who is already on viplist. 2012-07-09 08:59:16 +02:00
Eduardo Bart 4ac3ec8344 Minor fixes for releasing otclient 2012-07-08 13:46:09 -03:00
Eduardo Bart 7e96c3bec6 Disable particles module 2012-07-08 10:38:01 -03:00
Eduardo Bart c05a7f6403 Add clear channel icon 2012-07-08 10:21:12 -03:00
Kamil f533e739c9 Added clear button to game console (in commit I didn't add icon). 2012-07-08 11:50:24 +02:00
BeniS 69cc53d7f3 Minor fix from last commit. 2012-07-08 02:44:53 +12:00
BeniS 4453242bee Adjusted chase modes to work correctly, added new option for auto chase override. Fixed NPC speak messages to appear in the correct position. 2012-07-08 02:09:50 +12:00
Henrique Santiago 6a85c31a77 Some particle stuff, far from done 2012-07-06 02:01:13 -03:00
Eduardo Bart 6f12261aef Move otclientrc.lua to top dir
* Use markdown for README
2012-07-05 17:03:57 -03:00
Eduardo Bart 8cc14c2d2d Save graphics options 2012-07-05 15:49:10 -03:00
Eduardo Bart 6bce0bd680 Imrove lua engine
* Allow bound C++ functions to return multiples values to lua with tuples
2012-07-05 09:38:48 -03:00
Henrique Santiago 0b98dca50f Changes to autowalk position on different floors, move its functions to game interface 2012-07-05 02:40:31 -03:00
Henrique Santiago df8dd52c25 Changes to npc trade module 2012-07-04 17:36:58 -03:00
Henrique Santiago 46e3fbe045 Resize background image to 1024, so it'll be loadeable in old hardware 2012-07-03 12:43:13 -03:00
AndreFaramir 0005119afe improving minimap 2012-06-26 02:55:33 -03:00
Eduardo Bart 98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Henrique Santiago 39403e612f Fixes to miniwindows 2012-06-24 09:41:50 -03:00
Eduardo Bart eec6114b2d Optimize lua object push
* Optimize position hash
* Fix minimap reload
2012-06-24 08:20:39 -03:00
Eduardo Bart fcd6d3cfe9 Minimap fixes
* Fix infinite loop while loading minimap
* Fix errors in FileStream class
* Remake OTCM map format
* Fixes in UIMap
2012-06-23 12:03:28 -03:00
Eduardo Bart d39cf361ab improve minimap 2012-06-22 02:26:22 -03:00
Eduardo Bart aed779a2c8 doc and luabinder changes 2012-06-22 00:14:13 -03:00
Eduardo Bart c5674d10ba some refactoring 2012-06-21 20:58:18 -03:00
Henrique Santiago a7c17cec2e Save miniwindows states 2012-06-21 16:31:36 -03:00
Eduardo Bart 96c363d997 changes for otb compability 2012-06-21 14:54:20 -03:00
Henrique 857657d8a0 Fix popupmenu style, exitting on game 2012-06-20 04:10:12 -03:00
Henrique db4ced65eb Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option 2012-06-20 03:31:52 -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
Henrique Santiago 4bdcae2f8b improvements to skins 2012-06-19 05:46:49 -03:00
Eduardo Bart 5a048eb7ea Minor graphics fixes 2012-06-18 20:58:56 -03:00
Henrique Santiago 2d04d41f09 skins, not fully working 2012-06-18 04:47:35 -03:00
Eduardo Bart 4813b7eb4b many changes
* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
2012-06-15 21:46:36 -03:00
Eduardo Bart 83f86eac64 experimental map shaders 2012-06-14 15:26:55 -03:00
Eduardo Bart 8cef6463b3 improve miniwindow moving 2012-06-11 11:10:03 -03:00
Henrique Santiago bae578a35a fix little mistake 2012-06-11 05:25:04 -03:00
Henrique Santiago c28aff1aa6 console ignore npc messages option 2012-06-11 05:17:52 -03:00
Henrique Santiago e7334566a2 improve miniwindow moving 2012-06-11 02:38:08 -03:00
Eduardo Bart 29dadb849e add EGL to win32 2012-06-10 15:52:08 -03:00
Henrique Santiago db59c73ed2 changes to progressrect 2012-06-10 04:46:00 -03:00
Henrique Santiago 52333f5d28 progress rect 2012-06-10 03:09:37 -03:00
Henrique Santiago ea70b85c8b close private msg when relogin 2012-06-09 21:12:40 -03:00
Don Daniello 11767fe421 Polish translation update
charset changed to latin1
2012-06-09 23:44:47 +02:00
Don Daniello d2bfe90303 Polish translation
Polish language file added
Still need UTF-8 support to work
2012-06-09 22:37:32 +02:00
Eduardo Bart 1a2e97bb5e show private message on screen
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart 95cf7eb788 graphics optimizations/fixes/features
* cache text vertex for StaticText, AnimatedText and Creature names
* improved outfit rendering
* fully compatible with OpenGL 1.1
* enable mipmaping for game sprites again
* Ctrl+W hotkey clean game texts
2012-06-08 21:40:41 -03:00
Eduardo Bart 1a7f2a44fc graphics fixes and improvements 2012-06-08 21:40:41 -03:00
Henrique Santiago 4f9ca15ef0 bind clock, fixes to waiting list 2012-06-08 17:58:24 -03:00
Henrique Santiago 587db0d89f changes to uiitem 2012-06-08 00:02:06 -03:00
Eduardo Bart 066ffead08 more fixes
* add default key combos to Hotkeys
* impement moving countable items holding Ctrl or Shift
* fix messagebox incorrent size
* implement API in Keyboard to get modifiers key states
* minor UI layout fixes
* add Ctrl+L logout hotkey
2012-06-07 12:11:52 -03:00
Eduardo Bart 486837a61d minor fixes
* change chase mode while walking and attacking
* avoid lua errors in frame counter when starting
2012-06-07 08:52:17 -03:00
Eduardo Bart 48d243a11d disable vsync by default 2012-06-07 00:50:09 -03:00
AndreFaramir 362ab0e1c6 fix conditions on reload 2012-06-06 23:16:40 -03:00
Eduardo Bart 70ea0361b6 new useful function, cycleEvent 2012-06-06 17:14:53 -03:00
Henrique Santiago 86cade0aa9 waiting list, u16 effects feature, protocolsend uses clientversion 2012-06-05 20:46:36 -03:00
Henrique Santiago 3cb5216858 protocol login working 2012-06-05 18:27:37 -03:00
Henrique Santiago 6b9943447a protocol login at lua 2012-06-05 16:16:57 -03:00
AndreFaramir 3f18ffa475 no more prints plx -.-' 2012-06-05 13:47:12 -03:00
AndreFaramir 0d34af972e fix on ruleviolation reason indexes 2012-06-05 13:03:59 -03:00
Eduardo Bart 023a4ebef6 performance improvements 2012-06-05 12:36:27 -03:00
Eduardo Bart e5000fa577 encrypt password and account number
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password,
he will not be able to decrypt the password without the machine UUID key
* the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
2012-06-04 09:38:25 -03:00
Eduardo Bart 296f2a17c4 many modules fixes 2012-06-03 21:28:19 -03:00
Henrique Santiago 9548ce78c6 fix lua error, add pt translations 2012-06-03 19:55:26 -03:00
Henrique Santiago fda3ae6809 fix scroll, container item size, tradewindow scroll, questlog window alignment, stop attacking same creature 2012-06-03 17:05:35 -03:00
Eduardo Bart d49cad31e2 fixes in EGL platform 2012-06-03 11:10:34 -03:00
Eduardo Bart 079b7a5c41 allow to change graphics engine in options 2012-06-02 18:41:20 -03:00
Eduardo Bart 257f652bb7 more opengl graphics fixes 2012-06-02 15:58:30 -03:00
Eduardo Bart 59a80ffaf9 scroll when focusing widgets 2012-06-01 21:38:26 -03:00
Eduardo Bart ba01909088 fix alpha blending issues 2012-06-01 20:22:10 -03:00
Henrique Santiago 6fce78d519 compile error, lua const 2012-06-01 17:53:04 -03:00
Eduardo Bart bd2faabe99 graphics optimization feature inspirated by diablo3 engine
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
2012-06-01 16:39:09 -03:00
Eduardo Bart 4c80d783d6 rewrite and reoganize tools functions
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
2012-05-28 10:06:26 -03:00
Henrique Santiago b0fd5b3ec8 removed extended ifdef, its now activated serverside 2012-05-17 12:24:41 -03:00
Henrique Santiago 4f90783789 extended opcode disabled by default. current locale is sent to server on login, bot protection exception 2012-05-16 17:09:37 -03:00
Henrique Santiago 6162d51958 gamelib_extended 2012-05-15 17:37:09 -03:00
Henrique Santiago 1203756baf items draw rework, npc trade fix 2012-05-13 12:05:30 -03:00
Eduardo Bart fa9c942471 basic protocol 953 support, logging in real tibia! 2012-05-12 01:52:16 -03:00
Eduardo Bart abbd15b1c2 basic protocol 910 support 2012-05-11 22:44:13 -03:00
Eduardo Bart e1fad92110 terminal tweaks 2012-05-11 06:17:46 -03:00
Eduardo Bart 3f2071d097 fix possible walk crash 2012-05-11 06:17:46 -03:00
Eduardo Bart 9abac474dd style adjustment and fixes
* style adjustments, now window and button style
* fix bug when logging on a tile with too many creatures
* remove deprecated onLogin and onLogout events
2012-05-11 06:17:46 -03:00
Henrique Santiago c0b6608453 fix npctrade buy with bps and ignorecapacity 2012-05-11 06:00:30 -03:00
Eduardo Bart 6495d74edd restore outfit colors
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
2012-05-09 17:26:34 -03:00
Eduardo Bart fea34a41ea trade working
* use only mouse left release in checkboxes
* remvoe duplicated code in radiogroup
* implement player trade
2012-05-09 09:24:35 -03:00
Eduardo Bart 44cf5e20d3 begin some documentation in styles 2012-05-02 15:31:07 -03:00
Eduardo Bart 02c5e7b8ff missing files
* add questlog icon
* add playertrade otui
* some protocol changes for extended messages
2012-05-01 21:41:42 -03:00
Eduardo Bart 788a831f24 bug report module
* change modules authors and website
* avoid anchors recursivity crash
* update README
2012-05-01 10:06:38 -03:00
AndreFaramir 69614da8cb New module and changes
* Implementing rule violation interface
* New popup menu on console text messages
* Terminal and Console will no longer history double command/messages
2012-05-01 03:49:48 -03:00
Eduardo Bart 2f0a151fed questlog module complete 2012-04-30 23:00:07 -03:00
Eduardo Bart f290d821f1 textbooks module complete 2012-04-30 21:53:02 -03:00
Eduardo Bart 00740b56f3 begin playertrade, questlog and textbooks modules 2012-04-30 21:20:27 -03:00
Henrique Santiago 45d3097504 case insensitive to npc trade, private channels are now closing 2012-04-30 18:57:17 -03:00
Eduardo Bart beaba25af1 UI tweaks 2012-04-30 16:30:37 -03:00
Eduardo Bart 3f689e0edf optimize UIWidget for largers NPC trades 2012-04-30 03:34:29 -03:00
Eduardo Bart ec9ea9e33d minor warning fix 2012-04-30 02:30:54 -03:00
Henrique Santiago 96e35eeb1d npctrade hooked events are now local, fixed extra disconnect 2012-04-29 21:53:46 -03:00
Henrique Santiago 37d943fc28 npctrade closing trade and focusing window 2012-04-29 20:06:23 -03:00
Henrique Santiago 170d4fd365 fixes to npctrade 2012-04-29 19:43:23 -03:00
Henrique Santiago 8d0f07255d npctrade reworked, still need skin changes, and grey shader for items 2012-04-29 06:08:55 -03:00
Eduardo Bart cc965bb77b add libpng as dependency
* NOTE: you will need to download the new required libraries
2012-04-28 19:02:57 -03:00
Eduardo Bart 1c12bc3fb2 fix minor channels lua error 2012-04-28 17:18:36 -03:00
Eduardo Bart b75483e9bf fixes
* fix filestream read
* fix transparent minimap
2012-04-27 19:17:51 -03:00
Eduardo Bart 220701e90f clean inventory when relogging 2012-04-27 17:35:39 -03:00
Eduardo Bart a329deb8c5 fix a vip warning 2012-04-27 17:21:11 -03:00
Eduardo Bart b1082121d4 add spanish locale, thanks Shaday 2012-04-27 13:23:51 -03:00
Eduardo Bart b1e5fdc9ae some cleanup in locales 2012-04-27 03:52:49 -03:00
Eduardo Bart ceb051cb75 finally reloadable vip, skills, inventory, chat and minimap 2012-04-27 03:30:54 -03:00
Eduardo Bart d0b839a4eb fix warnings and some reloading issues 2012-04-27 01:54:14 -03:00
Henrique Santiago da1baf9673 add more pt-br translations 2012-04-26 19:28:31 -03:00
Eduardo Bart 34091bc48e implement all needed tr() for localization
* implement some pt-BR translations
* remove legacy about module
2012-04-26 16:54:16 -03:00
Henrique Santiago ca0e1bd38b more locales changes 2012-04-26 13:45:25 -03:00
Eduardo Bart fae2cc6481 new scripting functionality
* dofiles functions to run all scripts inside a directory
* new style option ! that evaluates its value from a lua code
2012-04-26 12:11:03 -03:00
Henrique Santiago 12d75a765b init locales module 2012-04-25 23:57:56 -03:00
Henrique Santiago 60495174a4 bot traceback, moveup function, chat setting default ongamestart 2012-04-25 21:15:48 -03:00
Henrique Santiago c89665848d some changes to npctrade. still needs another rev 2012-04-24 20:04:37 -03:00
Henrique Santiago 9afe4e012b request trade 2012-04-24 19:09:48 -03:00
Henrique Santiago 49fbbf6506 move up menu, still need a higher level function 2012-04-24 18:15:58 -03:00
Eduardo Bart 7526315d12 new shortcuts
* Ctrl+Q logout from game
* Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report
* Ctrl+A clean the chat text box
* Ctrl+F toggles fullscreen mode
2012-04-24 09:21:48 -03:00
AndreFaramir 6db87aa78b fixing my mistakes =x 2012-04-24 08:39:45 -03:00
AndreFaramir 50145ec6b8 implementing private chat channel basics 2012-04-24 08:20:14 -03:00
AndreFaramir 6d6534f57e fix guild channel chat 2012-04-24 01:01:59 -03:00
AndreFaramir c903cc7ec4 Some fixes
* Scrollbar on hotkeys window
* Guild channel will appears on channel list but not yet working properly
2012-04-24 00:19:01 -03:00
Henrique Santiago dcefeb134c remove print, fix creature name position 2012-04-21 21:45:05 -03:00
Eduardo Bart f14706206a continue implementing new graphics engine
* implement OpenGL ES 1.1 and OpenGL ES 2.0 support
* new framebuffer that can run on any opengl implementation
* fixes in outfit size rendering
2012-04-20 07:16:03 -03:00
Eduardo Bart 58d76e255d begin implementing OpenGL 1.0 engine
* option to pass -opengl1 or -opengl2 as argument
* note that with this commit there are a lot of graphics regressions and the master will remaing unstable for a while
* shaders disabled for a while
2012-04-18 20:03:43 -03:00
Eduardo Bart 1d558bc412 make precompiled header work again 2012-04-15 08:00:13 -03:00
Eduardo Bart c3eae3ba06 bind sound functions and add sample startup music 2012-04-14 11:19:58 -03:00
AndreFaramir 04c2e1d245 moving report to addons 2012-04-11 14:13:25 -03:00
AndreFaramir 6a0677fc26 report client info to server 2012-04-11 05:05:27 -03:00
AndreFaramir 057727f5af hide npctrade on game end 2012-04-10 22:45:40 -03:00
AndreFaramir 638cce5081 some fixes and utils 2012-04-10 22:05:05 -03:00
AndreFaramir 94984e0795 new npc trade feature, show only holding items for sell tab 2012-04-10 22:05:04 -03:00
Eduardo Bart 1d2f6c7e9f enable text-auto-resize for width 2012-04-10 23:59:05 -03:00
Eduardo Bart 2c53d0b1dc hide minimap by default 2012-04-09 18:47:29 -03:00
AndreFaramir 685c730dda removing debug line 2012-04-09 18:30:16 -03:00
AndreFaramir dae7a8b5ad optimizations and bug fixes on npc trade 2012-04-09 18:27:25 -03:00
AndreFaramir b4940a6b33 fixing npc items on both lists 2012-04-09 18:02:11 -03:00
Eduardo Bart 5425d344ba optimize widget destruction 2012-04-09 17:53:45 -03:00
Henrique Santiago 2f3c83e858 textedit maxlength, fix charlist status height 2012-04-08 19:10:07 -03:00
AndreFaramir 9ca09d9849 remove unnecessary file 2012-04-08 17:19:58 -03:00
AndreFaramir 9c038e2f39 implement npc trade interface 2012-04-08 17:13:51 -03:00
Eduardo Bart 92bd1aba54 optimize graphics performance 2012-04-08 16:31:36 -03:00
Henrique Santiago c93732a44a close channel event 2012-04-08 01:13:52 -03:00
Eduardo Bart 2e43a77d64 change mouse press behaviour 2012-04-07 00:37:29 -03:00
Eduardo Bart 2835a66bab experimental minimap
* a lot of rework in MapView
* new APIs for UIMap
2012-04-06 20:15:52 -03:00
Henrique Santiago fba5f188d7 items movement fixed, spinbox style changed 2012-04-06 19:31:45 -03:00
Henrique Santiago 8cc0aaae23 add scrollbar to channel list, closing channels fixed 2012-04-06 19:14:39 -03:00
Eduardo Bart 4f15da695c optimizations 2012-04-05 16:08:46 -03:00
Eduardo Bart 49727c573f platform fixes
* fix black cursor on win32
* fix front buffer refresh on some x11 platforms
* fix outfit framebuffer glitch
* display entergame by default
* change some icons
2012-04-05 09:18:25 -03:00
Eduardo Bart 6b020b94a4 left+right look for UIItem 2012-04-04 20:04:42 -03:00
Eduardo Bart c33741d324 display unsupported extensions 2012-04-03 17:12:05 -03:00
Eduardo Bart 3a6bd8341d open private messages by default 2012-04-03 11:18:45 -03:00
Eduardo Bart d4afb71263 clean containers when relogging 2012-04-03 11:15:11 -03:00
Eduardo Bart 4b7e0e8e58 hide miniwindow scrollbar 2012-04-02 20:19:27 -03:00
Eduardo Bart 90d3acce2a restore containers
* implemente Container class
* restore module containers
* add lua bindings for std::map
* improve grid layout
* fixes in UIItem rendering
* changes in miniwindow design
2012-04-02 20:09:47 -03:00
Eduardo Bart 231ba17ba1 remove old unused game files
* and fix minor allocation leak
2012-04-02 14:53:25 -03:00
Eduardo Bart 7e6fe71b5e new build types
* and remove uneeded files
2012-04-02 09:49:43 -03:00
Eduardo Bart 0ddaa234af rework on UILineEdit
* allow multiline text editing
* rename UILineEdit to UITextEdit
2012-03-31 10:43:01 -03:00
Eduardo Bart 595cdc1bb4 fix some win32 hotkeys and change zoom hotkeys 2012-03-30 07:21:24 -03:00
Eduardo Bart 95e0a41b55 remove debug message, minor battle fix 2012-03-30 07:06:33 -03:00
Eduardo Bart fa3d60a00a minor fixes 2012-03-30 06:51:34 -03:00
Eduardo Bart c13a5b5dab fix crash and focus bug 2012-03-30 04:40:13 -03:00
AndreFaramir 20e32ad2a0 fixes on battle and buff condition tooltip 2012-03-30 01:10:55 -03:00
AndreFaramir e0325c4c3b removing debug messages =S 2012-03-29 19:38:19 -03:00
AndreFaramir 8a22b98d01 Fixes
* poison condition
* battle target outside screen view
2012-03-29 19:36:55 -03:00
AndreFaramir fd2bc9fb77 add conditions viewer below healthbar, fix hotkeys autosend 2012-03-29 18:47:03 -03:00
Eduardo Bart 6ace984440 fix combobox 2012-03-29 17:21:59 -03:00
Eduardo Bart a475384b73 ui fixes
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
2012-03-29 16:25:04 -03:00
Eduardo Bart 47e7eef716 implement more functionality
* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
2012-03-29 10:45:40 -03:00
AndreFaramir 15fce6d4cf fix and remove lock 2012-03-28 23:03:34 -03:00
Eduardo Bart f3e9fc7cd4 fix viplist issues 2012-03-28 20:48:59 -03:00
AndreFaramir 09e831ddc0 restoring use with functionality and hotkeys manager module 2012-03-28 20:19:28 -03:00
Eduardo Bart fdba1379a7 fix 2012-03-28 19:42:02 -03:00
Eduardo Bart 0e46df3f29 fix useWith mouse conflict with resize borders 2012-03-28 19:25:00 -03:00
Eduardo Bart 58d9426be8 small changes
* show protocol version on background
* make 860 the default protocol
* avoid more crashes on mapview
* activa crash handler by default
2012-03-28 16:32:18 -03:00
Eduardo Bart a4cef0d390 fix possible mapview crash 2012-03-28 16:09:45 -03:00
Eduardo Bart 8c2a84b6be motion blur for fun 2012-03-28 14:34:07 -03:00
Eduardo Bart 56d6cc2cc0 testing bloom and motion blur 2012-03-28 14:18:21 -03:00
Eduardo Bart 81dcd42fd1 some fixes 2012-03-28 13:20:07 -03:00
Eduardo Bart 8d14d9bc99 restore old modules
* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
2012-03-28 11:10:21 -03:00
Eduardo Bart e2ea267703 rework mouse events propagation 2012-03-28 08:46:15 -03:00
Eduardo Bart 92d535f981 improve scrolling 2012-03-27 21:33:35 -03:00
Eduardo Bart 668c4d98d9 win32 fixes 2012-03-27 18:33:58 -03:00
Eduardo Bart 8ea154016b fix and changes
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart 060c1cf8e7 ui changes
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart ee869bb279 side panel splitter 2012-03-26 15:33:00 -03:00
Eduardo Bart 9309d6e7f3 some rework in UIWidget input 2012-03-26 10:34:43 -03:00
Eduardo Bart 532e8e3e39 chat line wrapping
* rework UIWidget text wrapping
* implement auto wrap
* fixes in console
2012-03-25 19:14:09 -03:00
Eduardo Bart ccf55132a1 OMG the chat is finally scrolling!
* implement UIScrollArea
* rework console to allow scrolling
* many core ui changes in the way.. so maybe we will have new bugs
* fix in UIScrollBar
2012-03-25 14:10:19 -03:00
Eduardo Bart 179e53bb77 scrollbar, options and widgets changes
* complete scrollbar skin
* implement scrollbar functionality (scrolling with mouse)
* fix onMouseClick issues
* add tabs in options (graphics and general tab)
* add new option for limiting frame rate using scrollbar
* add new widget property "clipping" that will be used on scrollable areas
2012-03-25 11:10:15 -03:00
Eduardo Bart de0008caf1 ui and graphics changes
* implement draw clipping using opengl stencil buffers
* allow to create Widgets by style name with g_ui.createWidgetByStyle
* styles can now have children widgets
* make proper use of the isNotPathable in pathfinding
* add scrollbar skin
2012-03-24 12:22:40 -03:00
Eduardo Bart d10a68613b bind zoom hotkeys 2012-03-23 19:19:53 -03:00
Eduardo Bart 3aacd9d43c console fixes 2012-03-23 19:02:58 -03:00
Eduardo Bart fe86dc8050 real autowalking
* smart autowalking using A* path finding algorithm
2012-03-23 17:36:58 -03:00
Eduardo Bart 8bc63e25df simplistic autowalk
* add simple and stupid autowalk algorithm
* fix issue in classic control
2012-03-23 11:48:00 -03:00
Eduardo Bart 239f58296e restore inventory and healthbar
* make inventory/healthbar work again allowing reload
* changes in top menu toggle buttons
* all modules are now reloadable by default
* fix warning when using fade in
* remove some unused files
2012-03-23 10:48:05 -03:00
Eduardo Bart b301aa1a2b rework splitter implementation 2012-03-23 00:06:00 -03:00
Eduardo Bart 79a1d66f3f add splitter widget
* add horizontal/vertical cursor
* possibildiade to resize game map with the new splitter widget
* fix reload warnings in textmessage
2012-03-22 22:52:31 -03:00
Eduardo Bart 33458a3e39 modules changes
* speedup widget destruction checks
* rework outfit module using grid layout and the new design
* fixes in console, terminal, textmessage modules
2012-03-22 18:47:52 -03:00
Eduardo Bart 159eb98df2 introduce startup options
* startup options with -help and -version
* many startup options for graphics
2012-03-22 13:10:12 -03:00
Eduardo Bart f62f507813 just fixes
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
2012-03-19 14:54:47 -03:00
Eduardo Bart 4bac617fd9 some protocol 870 support 2012-03-18 17:59:00 -03:00
Eduardo Bart c0611bfe2a restore some game functionallity
* i'm gradually restoring game functionality with the new modules design, though still a lot to do
* you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework)
* a bunch of fixes, but new regression too :P
* fix performance issue that could lead freezes in the client in older machines
* completely new game module with new design
* fix crashs in map render
* remove uigame.cpp (now every game input is via lua)
* enable DEBUG macro by default, with it you are able to view any possible lua leak while running
2012-03-18 10:35:45 -03:00
Eduardo Bart 26629cf77c woops! 2012-03-16 10:35:27 -03:00
Eduardo Bart a24212d4de back to otclient dev, with new background!
* show otclient version in background
* disable about module (don't really need it)
* new function for formating strings like sprintf, Fw::formatString
* new nice background (taken from RPG maker XV)
* update contact information in README
* fix text rendering issues with opacity
2012-03-16 10:31:21 -03:00
Eduardo Bart b46d4c4d5f non relevant changes 2012-03-16 10:31:21 -03:00
Eduardo Bart e03bf33f58 BEAWARE all game functionality is disabled with this commit for a while
* rework client modules
* hide main window when loading
* remake top menu functions
* rework modules autoload
* improve path resolving for otml and lua
* move core_widgets to core_lib
* fix tooltip issues
* split some styles
* add bit32 lua library
* fix assert issues
* fix compilation on linux 32 systems
* rework gcc compile options
* renable and fix some warnings
* remove unused constants
* speedup sprite cache
* move UIGame to lua (not funcional yet)
* fix a lot of issues in x11 window
* fix crash handler
* add some warnings do uiwidget
and much more...
2012-02-20 00:28:13 -02:00
Eduardo Bart 96358b317d drag fixes 2012-02-09 16:38:50 -02:00
AndreFaramir d0a5f27fcf improving battle window and fixes 2012-02-09 05:26:52 -02:00
Eduardo Bart c707f990bf fix popupmenu, fix mouserelease events, fix connect 2012-02-09 04:42:07 -02:00
AndreFaramir 8545d15304 implementing battle window, need some improvements but its working 2012-02-09 03:28:38 -02:00
Eduardo Bart a8c9980a5c bind lua functions for questlog/npc trade/trade/channels/text edit/list edit/containers 2012-02-09 01:45:19 -02:00
Eduardo Bart 55fbb5f1a6 improvment in connect 2012-02-08 20:58:27 -02:00
Eduardo Bart 175f97b98f reaname and cleanup many stuff 2012-02-08 19:23:15 -02:00
AndreFaramir aff8c7717e fixes and preparations for battle window 2012-02-08 06:12:46 -02:00
Eduardo Bart 1013ae279b fix messagebox and rename some stuff 2012-02-08 00:11:57 -02:00
Eduardo Bart 619f751371 fixes in uicreature rendering 2012-02-07 23:33:08 -02:00
Eduardo Bart 09b3aa82df add onGameStart/onGameEnd/onLogin/onLogout events 2012-02-07 21:54:33 -02:00
Eduardo Bart ee1357a848 add combat controls 2012-02-07 21:06:52 -02:00
Eduardo Bart e51789378a make hover, dragging, press and mouse release work in a proper way 2012-02-07 17:21:53 -02:00
Eduardo Bart d6ade5a8e0 fix draw of uicreature 2012-02-07 05:59:20 -02:00
Eduardo Bart 0b220e2e88 pass item id to item shader 2012-02-07 05:04:22 -02:00
AndreFaramir ff8cc88ec8 more fixes 2012-02-07 04:57:37 -02:00
Eduardo Bart 7b34d9336a fix effects 2012-02-07 04:44:48 -02:00
AndreFaramir 458cdcc23e optimizations and fixes 2012-02-07 03:52:48 -02:00
Eduardo Bart 37f3f904c7 some fixes in MainWindow move 2012-02-07 02:55:20 -02:00
AndreFaramir 7ed81799b4 added hotkey manager 2012-02-07 01:32:15 -02:00
Eduardo Bart 71c706157a drag fixes 2012-02-07 00:06:48 -02:00
Eduardo Bart 53ead20de5 restore map clicking 2012-02-06 23:35:46 -02:00
Eduardo Bart 46df3c7dbe some window moving 2012-02-06 22:41:53 -02:00
Eduardo Bart 08a88e3842 restore client_tibiafiles 2012-02-06 18:10:51 -02:00
Eduardo Bart b2d1e6bd89 remove submodule 2012-02-06 18:10:04 -02:00
Eduardo Bart 88301c329a a lot of changes in modules 2012-02-06 17:19:47 -02:00
Eduardo Bart add8505a5b implement auto repeat configuration for key press events, to give more flexibility 2012-02-06 10:53:28 -02:00
Eduardo Bart f97104f12e replace require with dofile, rename Hotkeys to Keyboard 2012-02-06 02:39:52 -02:00
Eduardo Bart 64c9e4f1d5 add modulemanager module 2012-02-05 23:44:47 -02:00
Eduardo Bart a55e138002 some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while 2012-02-05 20:42:35 -02:00
Eduardo Bart 0471785d30 remove client_tibiafiles submodule, you must download and place spr/dat by yourself from now on 2012-02-05 17:46:56 -02:00
Eduardo Bart cc081d8151 update TODO, rename onMouseDoubleClick to onDoubleClick 2012-02-04 15:04:44 -02:00
Eduardo Bart 91a7ed8371 notificate the server when leaving a channel, focus npc channel when talking to a npc 2012-02-04 01:03:46 -02:00
Eduardo Bart 2b206a74a9 some key codes changes 2012-02-04 00:43:43 -02:00
Eduardo Bart aafe219532 fix numpad keys on win32 2012-02-04 00:11:18 -02:00
AndreFaramir 6d6f890ede bug fix 2012-02-03 19:37:42 -02:00
AndreFaramir 68d0f6e015 removing debug message 2012-02-03 18:30:54 -02:00
AndreFaramir 03d6081e32 Implementing chat history (shift+up / shift+down) 2012-02-03 18:27:43 -02:00
Henrique Santiago d931b03fed spinbox improvements 2012-02-03 09:59:55 -02:00
AndreFaramir a26b64c4bf Remove debug message 2012-02-03 08:05:50 -02:00
AndreFaramir 1615bf7a36 -add tibia chat commands like #w, #y and private command.
-fixed redundant onEnter/onReturn on chat panel
2012-02-03 07:59:04 -02:00
Andre Ricca da Costa 882b7ec026 double click funcionalities and some fixes 2012-02-03 04:20:58 -02:00
Andre Ricca da Costa 4563471790 replacing tabs, fixing event hook 2012-02-03 03:24:45 -02:00
Andre (Notebook) 84bcdb5f95 rework on chat functionalities 2012-02-03 02:32:39 -02:00
Eduardo Bart 7bb828faee merge revgraphics 2012-02-03 02:21:36 -02:00
Eduardo Bart 411ac72fdc change some comments 2012-02-03 02:18:54 -02:00
Eduardo Bart 05f649cdeb rework speak types 2012-02-02 22:25:18 -02:00
Eduardo Bart ef96215421 rename item count to countOrSubType, rework and improve things animation/drawing 2012-02-02 14:37:52 -02:00
Eduardo Bart 34f9ecb6c8 fixes in Settings/g_configs 2012-02-01 22:10:55 -02:00
Eduardo Bart 98ef0e4574 allow setting/getting nodes in g_configs 2012-02-01 21:37:40 -02:00
Eduardo Bart 20390d6684 bind g_map.getSpectators 2012-02-01 17:37:40 -02:00
Eduardo Bart 2a62159a61 rename item data to count, add function to get current class name in lua 2012-02-01 13:20:13 -02:00
Eduardo Bart 266917cc3c introduce virtual items for UIItem 2012-02-01 05:36:32 -02:00
Eduardo Bart 437f515e7c fix outfit problems 2012-01-30 04:27:21 -02:00
Eduardo Bart 87236ee780 add missing shader 2012-01-30 01:27:25 -02:00
Eduardo Bart 9db7bd2602 rework map rendering 2012-01-29 22:00:12 -02:00
Eduardo Bart d3a403eb93 fix issue in move window, allow 861 protocols, update todo, remove wrong code from spinbox 2012-01-28 16:33:12 -02:00
Eduardo Bart 4276bd680d allow use of mipmaps in framebuffers 2012-01-28 16:29:03 -02:00
Eduardo Bart e8767d3971 fix possible crash when disconnecting, fix status small message 2012-01-26 15:23:47 -02:00
Henrique Santiago 1983a08cbe move window 2012-01-25 23:11:05 -02:00
Eduardo Bart cfcc3fd428 fix death issues, improve text messages 2012-01-25 12:56:17 -02:00
Eduardo Bart 4702ea5946 update submodule 2012-01-24 22:58:57 -02:00
Eduardo Bart 99ff5ce24c implement line wrap for text messages 2012-01-24 22:58:57 -02:00
Eduardo Bart 3b583bf331 fix connect 2012-01-24 20:22:56 -02:00
Eduardo Bart 24aab00431 fix use with, improve move, change icons, improve topbar 2012-01-24 16:39:16 -02:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Henrique Santiago e3096c1648 fix move on different floors, dragqueen border on uiitem 2012-01-20 23:01:11 -02:00
Eduardo Bart a5b4ee2c19 fix walk up/down with parcels 2012-01-20 13:00:46 -02:00
Henrique Santiago 7fef0809cb fix usewith, mana null 2012-01-20 03:45:56 -02:00
Henrique Santiago b17cc43fc6 fix container update item 2012-01-20 02:27:48 -02:00
Eduardo Bart f21927e8d9 implement cursor change for win32 2012-01-20 00:48:56 -02:00
Henrique Santiago bd63bde722 fix dragqueen and containers 2012-01-20 00:33:19 -02:00
Eduardo Bart 759b7f43b3 dran and drop for UIWidget 2012-01-19 23:16:22 -02:00
Henrique Santiago 733039e50e init move items 2012-01-19 23:12:26 -02:00
Henrique Santiago 168f03125c combobox with wheel event 2012-01-19 17:15:45 -02:00
Eduardo Bart 9b8043cf31 fix paste oftexts with accents in x11 2012-01-19 15:56:52 -02:00
Henrique Santiago 3a4ed78b30 borders fix 2012-01-19 15:08:52 -02:00
Eduardo Bart 9450fab9e7 fix walk freeze, fix some texts displaying in pink 2012-01-19 14:23:45 -02:00
Henrique Santiago 3725577aac little change to support mapeditor again 2012-01-19 14:02:13 -02:00
Eduardo Bart 6ce92a1a64 rework walk 2012-01-19 02:12:53 -02:00
Eduardo Bart cc5b36b1cb Game.useOnCreature lua api 2012-01-17 20:28:55 -02:00
Eduardo Bart 0b08552bbc fix a loading error crash, command to debug containers items ids 2012-01-17 06:26:13 -02:00
Eduardo Bart 9997b258b9 fix combobox style 2012-01-17 04:43:48 -02:00
Eduardo Bart 7bcf7f536e cache rendering of UILabel 2012-01-17 03:36:25 -02:00
Eduardo Bart e6cb3de637 add options style for UIComboBox, fix push values of otml nodes 2012-01-16 06:26:57 -02:00
Eduardo Bart 186e3dc86b add numpad keys in lua const 2012-01-16 03:54:53 -02:00
Eduardo Bart de0e4a1acf fix release keys on x11, remove ping addon, fix minor issue in outfit render, fix emblem updates 2012-01-15 23:55:14 -02:00
Eduardo Bart 44a20222bb walk and key event system rework with some regressions 2012-01-15 19:19:52 -02:00
Eduardo Bart 9ec40f016d implement API to save lists in configs file and terminal history 2012-01-15 13:13:22 -02:00
Eduardo Bart 8bc879d295 limite chat upto 10 labels 2012-01-14 18:14:40 -02:00
Eduardo Bart 5e5ddae167 some UI changes 2012-01-14 17:31:20 -02:00
Eduardo Bart c6013dfeda implement more chat... 2012-01-14 03:54:20 -02:00
Eduardo Bart 61aa710d1c some chat functionality 2012-01-13 23:37:15 -02:00
Eduardo Bart aae784468b fix some keyboard issues, chat tab, fix loadScript exception 2012-01-13 18:37:44 -02:00
Eduardo Bart eb308997d4 fix chat and grid layout 2012-01-13 04:32:47 -02:00
Henrique Santiago ea70f90e92 improve containers 2012-01-12 22:31:50 -02:00
Henrique Santiago b812d60690 init container 2012-01-12 22:31:50 -02:00
Eduardo Bart 830ebdbea9 implement some chat functionality, but not complete yet 2012-01-12 21:47:31 -02:00
Eduardo Bart 8db565f456 add target cursor 2012-01-11 23:21:59 -02:00
Eduardo Bart 34af633b47 implement mouse cursor set in x11 platform 2012-01-11 23:12:36 -02:00
Henrique Santiago c1787c2a50 use with 2012-01-11 21:10:59 -02:00
Henrique Santiago 5bc939a091 fix viplist sort, shared exp blink 2012-01-11 20:31:23 -02:00
Eduardo Bart a7865e26e3 reload notification for otclientrc 2012-01-11 19:24:37 -02:00
Eduardo Bart ad76353073 update tibiafiles 2012-01-11 18:47:12 -02:00
Henrique Santiago 983bc745bd viplist order 2012-01-11 16:08:56 -02:00
Eduardo Bart 0d11871298 update TODO 2012-01-11 11:42:53 -02:00
Eduardo Bart dba03d69f6 fix protocol 860 death, fix progress bar 2012-01-11 10:48:34 -02:00
Eduardo Bart 0e88b03693 styles adjustment 2012-01-11 10:06:59 -02:00
Henrique Santiago 71ed758a3f fix party shield, inventory mouse release 2012-01-11 02:43:10 -02:00
Henrique Santiago e714f9e149 party improvements, still need to fix shared exp 2012-01-10 21:38:44 -02:00
Eduardo Bart 8ad88c4070 move UIWindow to lua 2012-01-10 21:13:38 -02:00
Eduardo Bart a1374baee1 major UIWidget rewrite with new features 2012-01-10 20:13:40 -02:00
Eduardo Bart d6ff85754c remove test code 2012-01-09 19:19:45 -02:00
Eduardo Bart b18f85d6fd fix dat 2012-01-09 19:17:16 -02:00
Henrique Santiago 4de5e45d52 rework and classic controls 2012-01-09 18:54:37 -02:00
Eduardo Bart 911584e816 fix x11 keyboard modifiers 2012-01-09 17:00:53 -02:00
Henrique Santiago ef82fc1554 start implementing classic controls 2012-01-09 16:51:19 -02:00
Eduardo Bart 3230095cea add ui padding 2012-01-09 16:46:15 -02:00
Henrique Santiago 4bfd335c98 remove code from uimap to lua 2012-01-09 16:06:16 -02:00
Eduardo Bart b00076bcb9 addon to show walk ping 2012-01-09 04:46:44 -02:00
Eduardo Bart 81e378cc22 some rework on gameprotocol class 2012-01-09 03:23:55 -02:00
Henrique Santiago 4c539cbbe3 icons enum, fix animated msg, fix trade with on menu 2012-01-08 22:43:36 -02:00
Eduardo Bart 90900e44a7 console options 2012-01-08 21:28:49 -02:00
Eduardo Bart fdc9087870 implement chat colors, rework on UI layout update system 2012-01-08 20:32:55 -02:00
Eduardo Bart 23ebcd9048 protocol 860 fixes 2012-01-08 18:11:50 -02:00
Eduardo Bart c7619316bb display 'you are dead message' on death, support speak/text messages in multiprotocol 2012-01-08 16:29:41 -02:00
Eduardo Bart fbaa7c8c43 changes to wotk with protocol 860 2012-01-08 13:42:23 -02:00
Henrique Santiago d04596c5fd target rework, improved map clicking 2012-01-07 20:24:42 -02:00
Eduardo Bart 4a179cd212 dont reset password on connection errors 2012-01-07 20:25:35 -02:00
Eduardo Bart 196a95f4c0 fix options 2012-01-07 19:19:40 -02:00
Eduardo Bart ef0c625c41 add option custom user script, otclientrc.lua 2012-01-07 19:10:06 -02:00
Eduardo Bart 060d8740f5 lua hotkeys system 2012-01-07 18:00:07 -02:00
Eduardo Bart c4b2dd18d6 restore terminal, rework console 2012-01-07 15:36:58 -02:00
Eduardo Bart a3721b3a11 handle close event in lua 2012-01-07 03:35:50 -02:00
Eduardo Bart 806fb5995f disconnect on death 2012-01-07 03:10:02 -02:00
Eduardo Bart 56aa416fee classic control option 2012-01-06 23:48:16 -02:00
Eduardo Bart b0f8e495c9 changes in number conversion 2012-01-06 22:53:15 -02:00
Eduardo Bart 5d0d1432ed lua fixes 2012-01-06 22:46:41 -02:00
Eduardo Bart 3c62ce97db fixes in Settings 2012-01-06 22:34:40 -02:00
Eduardo Bart 0f3bac595e fix possible lua errors 2012-01-06 22:18:08 -02:00
Eduardo Bart a4ee590b47 fix double charlist 2012-01-06 22:08:30 -02:00
Henrique Santiago 14c517d7a6 skulls, shields and emblems are now rendered, thanks to joao 2012-01-06 21:54:30 -02:00
Eduardo Bart 2b8cbf1567 fix typo 2012-01-06 18:31:25 -02:00
Eduardo Bart aca082f228 check spr and dat signatures 2012-01-06 18:28:57 -02:00
Eduardo Bart d25228fc1c organize TODO file 2012-01-06 07:35:48 -02:00
Eduardo Bart 7206f7aad9 implement fullscreen for x11 2012-01-06 07:10:55 -02:00
Eduardo Bart 028441831d save window position and size 2012-01-06 06:49:23 -02:00
Eduardo Bart 0cb5facd7a lua binder improvments 2012-01-06 01:29:52 -02:00
Henrique Santiago 1b83126ed5 separator fix, fix draw outside map 2012-01-05 16:34:53 -02:00
Eduardo Bart 4620f71444 fix game losing focus, handle enter/escape on add vip window 2012-01-05 16:31:52 -02:00
Eduardo Bart fb20ad1ba1 improve combobox and menu design 2012-01-05 16:02:27 -02:00
Henrique Santiago 7e7050929d attack and follow 2012-01-05 12:24:38 -02:00
Henrique Santiago 320b67e292 copy name, invite to party 2012-01-05 10:48:10 -02:00
Eduardo Bart c9280ecf9d invert widget event propagation order 2012-01-05 00:42:17 -02:00
Eduardo Bart 24c1f05d66 close menus when resizing windows 2012-01-04 23:55:07 -02:00
Eduardo Bart 30ce5e2ba9 reorganize some stuff 2012-01-04 23:28:29 -02:00
Henrique Santiago a92af44eb6 viplist improvements 2012-01-04 16:11:11 -02:00
Henrique Santiago a73908fbbe addremove vip and look improvements 2012-01-04 12:30:28 -02:00
Henrique Santiago 478e55e658 thing menu improvements 2012-01-04 11:02:50 -02:00
Eduardo Bart 215d426b42 restore clearText binding, don't display menu if its empty 2012-01-04 09:29:59 -02:00
Eduardo Bart 1c4bbfb7f3 auto resize menu width 2012-01-04 09:24:29 -02:00
Eduardo Bart b8150d160e implement combobox and do some ui rework 2012-01-04 08:26:58 -02:00
Eduardo Bart 02ae3ac616 fix menu separator 2012-01-03 22:05:16 -02:00
Eduardo Bart 36ba3f639e add lua and otml syntax highlighting spec for usage with kate 2012-01-03 21:34:49 -02:00
Henrique Santiago 7c4191b1e6 menu working, still need to fix size and add events 2012-01-03 20:27:31 -02:00
Henrique Santiago 01a2e3a636 restore set outfit 2012-01-03 18:41:00 -02:00
Eduardo Bart 26800dfe2a rework on healthbar module 2012-01-03 13:18:14 -02:00
Eduardo Bart f750920a36 fix label disabled colors 2012-01-03 13:18:14 -02:00
Eduardo Bart 7172d2251a display window on screen center 2012-01-02 23:32:34 -02:00
Eduardo Bart 05230f44e4 new lua function for creating widgets: createWidget 2012-01-02 22:42:53 -02:00
Henrique Santiago 9fbdf3f5cb look on items 2012-01-02 22:10:39 -02:00
Henrique Santiago 7c28297397 menu open or use for backpacks 2012-01-02 21:08:17 -02:00
Eduardo Bart 90600bbd69 make menu work 2012-01-02 20:09:49 -02:00
Eduardo Bart 43c16a1643 init menu 2012-01-02 18:47:02 -02:00
Henrique Santiago a52ff707fe look improvements 2012-01-02 17:02:05 -02:00
Henrique Santiago 1ca825a4b6 creature distinction, look, remove textmessage bug 2011-12-30 16:14:50 -02:00
Eduardo Bart 08fbedce38 fix fullscreen mode on ARM 2011-12-30 04:36:10 -02:00
Eduardo Bart d6e818e648 fixes for ARM 2011-12-30 04:05:32 -02:00
Eduardo Bart 238c66f26c more changes to work on ARM 2011-12-30 02:53:34 -02:00
Eduardo Bart e95973174c more changes to work on ARM 2011-12-30 02:50:19 -02:00
Eduardo Bart 400afa9981 fix outfit glitches, init combobox, move shaders, remove unused particles files, create timer utility 2011-12-28 17:38:29 -02:00
Eduardo Bart 339697fce9 fix outfit shader 2011-12-22 21:30:19 -02:00
Henrique Santiago 67df3a0723 skill bar improvements 2011-12-22 02:06:00 -02:00
Henrique Santiago e6d1252b34 creature names font fix 2011-12-21 02:44:08 -02:00
Henrique Santiago 56a392f681 particle system with exori flam 2011-12-19 01:24:35 -02:00
Henrique Santiago ab9efe5a95 particles test 2011-12-18 21:44:49 -02:00
Henrique Santiago e3e6770957 particles start final size 2011-12-18 00:54:35 -02:00
Henrique Santiago 6973e1639a particles colors 2011-12-18 00:21:12 -02:00
Henrique Santiago eed6fab4b1 particles afectors upgrade and timer rework 2011-12-17 00:40:00 -02:00
Eduardo Bart a4eed64709 fix ctrl+g 2011-12-16 19:48:01 -02:00
Henrique Santiago bb0860c5d0 particles on center 2011-12-16 13:32:49 -02:00
Henrique Santiago bf28a92e31 affectors attract 2011-12-16 04:24:04 -02:00
Henrique Santiago 26eb3b42a6 some changes to particles 2011-12-16 00:48:10 -02:00
Henrique Santiago ad38dad227 particle affectors 2011-12-15 23:59:29 -02:00
Henrique Santiago 435161df62 emitter delay and system deletion 2011-12-15 21:48:15 -02:00
Eduardo Bart 16bb12011a rework particles math 2011-12-15 17:59:24 -02:00
Henrique Santiago 8926f33679 particles fixes 2011-12-15 16:39:57 -02:00
Henrique Santiago 7119468b59 particles from file missing file 2011-12-15 16:20:54 -02:00
Eduardo Bart 8638c980ec fix some issues 2011-12-09 13:01:04 -02:00
Eduardo Bart 2030a4da29 Merge branch 'revgraphics'
Conflicts:
	src/framework/CMakeLists.txt
	src/framework/application.cpp
	src/framework/graphics/graphics.cpp
2011-12-09 12:23:32 -02:00
Eduardo Bart e6449a94f4 change particle texture 2011-12-09 04:42:45 -02:00
Henrique Santiago 3eb8368d55 forgot file 2011-12-09 03:45:11 -02:00
Eduardo Bart 04ee85dc92 experiment shaders in outfit 2011-12-08 15:28:29 -02:00
Eduardo Bart 5ec386b35f bloom shader 2011-12-07 21:43:12 -02:00
Eduardo Bart b5cf4ad2c4 test shader effect 2011-12-07 17:54:28 -02:00
Eduardo Bart 7eead50806 use GLSL shaders 2011-12-06 22:31:55 -02:00
Eduardo Bart cf0aab6d4d reorganize modules 2011-12-05 16:39:33 -02:00
Eduardo Bart ffeb34e0e7 make framework more flexible, split cmake files 2011-12-05 04:44:40 -02:00
Eduardo Bart f548825faf too many changes to list, many regressions were made, master will be UNSTABLE for a few days 2011-12-03 19:52:56 -02:00
Eduardo Bart 9bb7332ac0 Merge branch 'revgraphics' 2011-12-01 20:33:45 -02:00
Eduardo Bart d5e15d1f06 add clock, change exceptions, add network exceptions, fix some crashes 2011-12-01 20:26:21 -02:00
Henrique 7eb57d5802 outfit fixes 2011-11-30 18:21:46 -02:00
Henrique aad540f5b5 outfit window working, still needs radio group and remove test button 2011-11-30 00:42:21 -02:00
Eduardo Bart 7bc8df1010 fix tibiafiles submodule 2011-11-28 21:54:28 -02:00
Eduardo Bart dfb8b428eb implement window icon for win 2011-11-23 14:35:16 -02:00
Eduardo Bart 8f2ad83756 show OTC icon in the window bar on linux 2011-11-22 23:16:14 -02:00
Henrique b50cb35734 non relevant changes 2011-11-21 14:29:21 -02:00
Henrique fa3b9fd125 add uigame 2011-11-20 18:38:35 -02:00
Eduardo Bart 5c654f685c make styles closer to CSS syntax 2011-11-17 19:41:02 -02:00
Eduardo Bart 55136fe866 change loadUI/UI.display lua API 2011-11-17 18:40:31 -02:00
Eduardo Bart 69a70f28a5 display MessageBox in win32 on fatal errors 2011-11-17 00:31:06 -02:00
Eduardo Bart 69ae043001 implement options 2011-11-16 22:12:11 -02:00
Henrique b913381d2f viplist fix 2011-11-16 19:33:15 -02:00
Henrique b29796e682 outfit fix 2011-11-16 19:28:47 -02:00
Eduardo Bart 63c018ba4c focus and active states fixes 2011-11-16 19:00:40 -02:00
Eduardo Bart fa8291a433 configure server host and port in enter game 2011-11-16 18:07:52 -02:00
Eduardo Bart 9159e14895 implement auto login and remember password 2011-11-16 17:00:17 -02:00
Henrique f381cb0a74 outfit changing hair 2011-11-16 16:52:59 -02:00
Eduardo Bart 4341bf91a6 implement motd button 2011-11-16 16:08:42 -02:00
Eduardo Bart c584426f24 implement icon property for UIButton 2011-11-16 15:58:42 -02:00
Eduardo Bart 71d9074fff motd button, adjust colorbox image 2011-11-16 15:24:43 -02:00
Eduardo Bart ba62863ff7 add style for colorbox in outfit window 2011-11-16 15:03:11 -02:00
Henrique c999a49dc7 outfit improvements 2011-11-16 05:20:50 -02:00
Eduardo Bart b1288c9711 fix otui typos 2011-11-16 03:28:18 -02:00
Eduardo Bart 1667662c5c fix disabled state in uicheckbox 2011-11-16 03:23:16 -02:00
Henrique 7ab67c012f outfit crash 2011-11-16 00:51:28 -02:00
Eduardo Bart 7e89ed8a98 add checkbox ui files 2011-11-15 22:04:24 -02:00
Eduardo Bart fbbd2b2539 remove unused file 2011-11-15 22:02:15 -02:00
Eduardo Bart 532d7f239f new widget, UICheckBox 2011-11-15 21:47:32 -02:00
Henrique b7125738d8 outfit looktype change 2011-11-15 00:04:07 -02:00
Henrique 591f8c2c7c uiitem and outfit class fixes 2011-11-14 20:47:36 -02:00
Henrique a95d0bcc1f outfit window init 2011-11-14 20:32:55 -02:00
Henrique da3b39017d skills fix 2011-11-14 17:33:49 -02:00
Eduardo Bart 7407ca35da fix tooltip regression, change readme 2011-11-14 13:01:09 -02:00
Eduardo Bart 654fb1f3ea fix uiprogressbar assert 2011-11-14 12:37:55 -02:00
Eduardo Bart 5784644701 fix tooltip 2011-11-14 12:30:35 -02:00
Eduardo Bart ff7f152522 expand skills percent progress bar 2011-11-14 06:46:49 -02:00
Henrique 91572b4802 health bar improvements 2011-11-14 06:21:20 -02:00
Henrique f3b3ecada1 progress bar and skills improve 2011-11-14 00:40:18 -02:00
Henrique f46e5aae43 item border fix 2011-11-13 23:17:13 -02:00
Henrique fd80589c7b creature square init, inventory improvements 2011-11-13 20:23:21 -02:00
Eduardo Bart ca702109d6 item menu example 2011-11-13 03:11:47 -02:00
Eduardo Bart ce3b02fa09 add menu example in playerground module 2011-11-13 02:13:32 -02:00
Eduardo Bart 56f7ed3dd1 add fps counter widget 2011-11-11 22:33:03 -02:00
Eduardo Bart fc65f99ead improve window moving, minor changes to enable others apps use otclient framework 2011-11-11 18:26:10 -02:00
Henrique 7487931b87 inventory module 2011-11-10 03:29:25 -02:00
Eduardo Bart ce67fd1733 change effects animation calculation 2011-11-07 15:20:13 -02:00
Eduardo Bart 5b1b170165 implement remove event lua function 2011-11-06 22:14:51 -02:00
Eduardo Bart 39c62942cf add chat buffer 2011-11-03 21:35:43 -02:00
Eduardo Bart 6aadf896da move tooltip and messagebox to modules 2011-11-03 21:35:43 -02:00
Henrique a9bf1cee36 remove useless files 2011-11-03 21:12:35 -02:00
Henrique 5d54971568 healthmana module 2011-11-03 21:10:12 -02:00
Eduardo Bart f444dc624c fix and move textmessage to a module 2011-11-03 20:17:00 -02:00
Henrique 667ff41ad9 skills 2011-11-03 20:14:56 -02:00
Eduardo Bart b216b00a32 add chat panel, send text messages, guard forbidden functions with an ifdef 2011-11-03 18:54:53 -02:00
Eduardo Bart 6d6479e4a9 fix tooltip crash 2011-11-03 17:33:20 -02:00
Eduardo Bart 1b9f9bbc7d implement button tooltips on top menu 2011-11-03 17:07:07 -02:00
Eduardo Bart 4b8a0bab77 improv miniwindow move 2011-11-03 11:19:12 -02:00
Eduardo Bart 9636392d58 implement move policy for window moving 2011-11-03 10:48:48 -02:00
Eduardo Bart 14ce1c8183 enable skills and vip window on right panel 2011-11-03 10:17:10 -02:00
Eduardo Bart 101f608d40 fix key input on windows 2011-11-03 08:10:39 -02:00
Eduardo Bart b345a6d783 create in game interface panels and renable about and options windows 2011-11-03 07:59:11 -02:00
Eduardo Bart b66cf3373f fix font glyph width calculation 2011-11-02 03:59:04 -02:00
Eduardo Bart 5ab0e6f2ac reorganize modules 2011-11-02 01:02:56 -02:00
Eduardo Bart 2304ff3529 fix some login phases issues 2011-11-01 23:55:36 -02:00
Eduardo Bart d2e8e1d774 add command completion to console 2011-11-01 16:32:48 -02:00
Eduardo Bart 59017205b0 change interface style, add top menu 2011-11-01 14:41:15 -02:00
Eduardo Bart 999fa731c0 new font files, fixed some font issues 2011-11-01 00:35:50 -02:00
Eduardo Bart 841769cc7d fix motd box issues 2011-10-31 15:56:00 -02:00
Eduardo Bart da6de5922c make background size fixed on ratio changes 2011-10-31 04:09:38 -02:00
Eduardo Bart 21b355a012 change console binding, now its Ctrl+F8, fix console focus issues 2011-10-31 04:04:08 -02:00
Eduardo Bart eeb46ac795 fix interface glitches 2011-10-29 18:47:16 -02:00
Henrique d814932a16 skill 2011-09-13 18:54:23 -03:00
Henrique 35f7b816ee skill 2011-09-13 18:53:58 -03:00
Henrique b69dc5487f textmessage 2011-09-04 14:21:42 -03:00
Henrique bdbfa5b6ac vip improvements 2011-09-02 19:52:40 -03:00
Henrique 3928db1c4d viplist 2011-09-02 01:43:51 -03:00
Eduardo Bart 4d10b0dd49 render improvments using some cache 2011-08-30 20:39:14 -03:00
Eduardo Bart 27ccb472d2 implement status messages 2011-08-30 12:12:57 -03:00
Eduardo Bart b6b823aa9c hide passwords in line edits 2011-08-30 11:25:08 -03:00
Eduardo Bart 12661c1b1b map losing focus fix 2011-08-29 20:40:56 -03:00
Eduardo Bart 67d8112ed0 logout improvments 2011-08-29 20:20:30 -03:00
Eduardo Bart 94324e3e88 fix an error 2011-08-29 19:34:15 -03:00
Eduardo Bart f05c048f6d straightforward signal and slots system for lua events 2011-08-29 16:35:58 -03:00
Eduardo Bart f41fd0576c login/logout/ctrl+g working correctly 2011-08-29 15:38:01 -03:00
Eduardo Bart 8b2cb410c2 ctrl+g kinda working, but login/logout events still need a remake 2011-08-29 11:14:21 -03:00
Eduardo Bart 549cd27e9c logout back to mainmenu 2011-08-29 00:48:12 -03:00
Eduardo Bart 9de3bfb8b0 logout works 2011-08-29 00:44:26 -03:00
Eduardo Bart a8afbf9b3f UIMap just got in 2011-08-29 00:04:49 -03:00
Eduardo Bart 6206eeb562 move charlist selection with arrows 2011-08-28 23:39:47 -03:00
Eduardo Bart f54fd34cb3 enable enter/escape actions for windows 2011-08-28 23:39:47 -03:00
Eduardo Bart 028ae664be use vertical layout for console (much faster) 2011-08-28 20:04:36 -03:00
Eduardo Bart 66703e4b07 use public/private semantics for lua console class 2011-08-28 19:07:22 -03:00
Eduardo Bart 8aadea2a96 rework key input handling, add more script events for UI and implement console history 2011-08-28 18:32:43 -03:00
Eduardo Bart fbabe6b3ed change color constants 2011-08-28 14:49:15 -03:00
Eduardo Bart 67e3cfcb07 focus last logged character in charlist 2011-08-26 18:20:53 -03:00
Eduardo Bart ccc4c1ba5e some fancy 2011-08-26 15:56:56 -03:00
Eduardo Bart 0749e6a9d5 improved charlist 2011-08-26 15:44:18 -03:00
Eduardo Bart c60b677baa basic charlist 2011-08-26 15:00:22 -03:00
Eduardo Bart 7359370251 new layout system, new UI state/styles system 2011-08-26 12:06:52 -03:00
Eduardo Bart d31d32bf82 changes.. 2011-08-23 12:09:50 -03:00
Eduardo Bart 3c72c844d2 much faster layout calculation 2011-08-22 22:08:36 -03:00
Eduardo Bart 8fb07afc10 change ui event handling 2011-08-22 09:44:26 -03:00
Eduardo Bart 75fcc0968b Merge branch 'master' of github.com:edubart/otclient 2011-08-21 18:49:50 -03:00
Eduardo Bart 8007e37796 console max lines 2011-08-21 18:49:31 -03:00
Henrique a3a96f78e8 Merge branch 'master' of github.com:edubart/otclient 2011-08-21 18:03:10 -03:00
Henrique 0d65889869 missing fonts 2011-08-21 18:02:51 -03:00
Eduardo Bart 4ebb201da2 merge 2011-08-21 16:51:39 -03:00
Eduardo Bart f266b9fbc6 remake widgets's anchor layouts 2011-08-21 16:43:05 -03:00
Henrique 80211b9985 health bar improvement, drawOffset bug fix 2011-08-21 16:09:23 -03:00
Eduardo Bart b410921e32 fix focus bugs in UI 2011-08-20 22:01:46 -03:00
Eduardo Bart d0f47f47a4 fix bug 2011-08-20 18:37:27 -03:00
Eduardo Bart 38529ea837 lua console and some changes 2011-08-20 17:30:41 -03:00
Eduardo Bart 758b4b5dfb display motd message only once, remove update loop, use g_platform.getTicks() instead 2011-08-16 09:47:30 -03:00
Eduardo Bart 65c1867f55 login protocol cancel 2011-08-16 01:24:20 -03:00
Eduardo Bart 2e1a96c2df rework on dat and spr loader 2011-08-15 16:15:49 -03:00
Eduardo Bart a5b41f77ea hoho 2011-08-15 06:55:43 -03:00
Eduardo Bart 80564b9dff fix some ui events 2011-08-14 15:02:28 -03:00
Eduardo Bart afc197f2dc rework on graphics.cpp, implement some GFX with lua 2011-08-14 14:45:25 -03:00
Eduardo Bart 09af50c990 remake ui event system and reimplement line edit 2011-08-14 11:09:26 -03:00
Eduardo Bart 55862b07ad merge total remake 2011-08-13 23:10:27 -03:00