Commit Graph

795 Commits

Author SHA1 Message Date
Eduardo Bart 3cd31bcd1e rework Color to optimize render 2012-03-19 18:56:07 -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 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 27b83fa722 some optimizations and compilation changes
* speedup render of widget images on low end devices using mipmaps
* changes in CMakeLists.txt to allow usage of distcc and crosscompiling
2012-02-20 11:10:54 -02:00
Eduardo Bart ba24e7ce39 fix compile issue 2012-02-20 00:40:01 -02: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
Eduardo Bart 1145eb7e42 fix creature draw bug 2012-02-09 05:52:52 -02:00
Eduardo Bart c707f990bf fix popupmenu, fix mouserelease events, fix connect 2012-02-09 04:42:07 -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
Eduardo Bart d4ce3c5354 fix issue on onMouseRelease 2012-02-08 18:46:25 -02:00
Eduardo Bart f056131ae1 fix possible crash when reading border style, fix onLogin event 2012-02-08 11:44:06 -02:00
AndreFaramir b56a7e3029 bind more needs for battle window 2012-02-08 11:05:31 -02:00
AndreFaramir aff8c7717e fixes and preparations for battle window 2012-02-08 06:12:46 -02:00
Eduardo Bart 9bff1aa6ea changes in creature drawing for battle list 2012-02-08 03:13:52 -02:00
Eduardo Bart a24fe38174 fix some issues with stackpos 2012-02-08 02:20:14 -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
Eduardo Bart e2203799dc clean table fields on widget destruction 2012-02-07 04:33:20 -02:00
Eduardo Bart 37f3f904c7 some fixes in MainWindow move 2012-02-07 02:55:20 -02:00
Eduardo Bart e9411aa244 some cleanup 2012-02-07 01:33:50 -02:00
Eduardo Bart 85a121822e allow useWith with inventory items 2012-02-07 01:02:06 -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 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 cc081d8151 update TODO, rename onMouseDoubleClick to onDoubleClick 2012-02-04 15:04:44 -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
Eduardo Bart d83804f2cb fiz win32 window positioning/moving issues 2012-02-03 22:43:51 -02:00
Eduardo Bart 3277c050c5 fix in OpenGL ES code 2012-02-03 12:02:59 -02:00
Eduardo Bart 444d3a4fcb fix possible draw bug 2012-02-03 11:21:28 -02:00
Henrique Santiago d931b03fed spinbox improvements 2012-02-03 09:59:55 -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
Eduardo Bart 1340699b01 implement onMouseDoubleClick event in UIWidget 2012-02-03 03:47:26 -02:00
Eduardo Bart 710f105675 fix more compile issues on 861 2012-02-03 03:10:55 -02:00
Eduardo Bart 94a128da5e fix compile issue 2012-02-03 02:46:45 -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 f1cba66b1e fix possible issue when disconnecting from the server 2012-02-03 00:54:33 -02:00
Eduardo Bart 05f649cdeb rework speak types 2012-02-02 22:25:18 -02:00
Eduardo Bart fa915e088c animate idle creatures 2012-02-02 21:23:51 -02:00
Eduardo Bart 30330d1d2e fix some elevation issues 2012-02-02 21:01:57 -02:00
Eduardo Bart 8c8749520d fix bookcase draw 2012-02-02 20:52:15 -02:00
Eduardo Bart 496efc44ce bind all channels/chat lua functions 2012-02-02 20:29:44 -02:00
Eduardo Bart a4546942d2 draw yells outside screen range 2012-02-02 19:28:53 -02:00
Eduardo Bart 82dc42dc26 restore drawing elevation for creature names 2012-02-02 19:20:34 -02:00
Eduardo Bart 3a83666b9f restore missiles 2012-02-02 18:54:49 -02:00
Eduardo Bart 614d34b382 fix corpses drawing 2012-02-02 18:10:14 -02:00
Eduardo Bart 2eec08d091 fix drawing of hangable objects 2012-02-02 14:55:42 -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 edeee80631 speedup sprite loading 2012-02-02 12:07:02 -02:00
Eduardo Bart 4584ce5b86 bind Game.turn 2012-02-02 00:38:46 -02:00
Eduardo Bart 5f6dd5aff1 remove dump line 2012-02-01 22:40:43 -02:00
Eduardo Bart e88774728e otml node cast fixes 2012-02-01 22:38:42 -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 289efe34cf fix tcp congestion 2012-02-01 20:46:31 -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 3e841cd7b6 fix covered issues 2012-02-01 01:47:00 -02:00
Eduardo Bart 7a12312220 .. 2012-01-31 19:25:05 -02:00
Eduardo Bart aa1a10afbc improve map far view rendering 2012-01-31 18:50:35 -02:00
Eduardo Bart 51b0822267 zoom out much more smoother 2012-01-31 15:06:55 -02:00
Eduardo Bart deedef235d resize changes 2012-01-31 02:12:54 -02:00
Eduardo Bart 7b965a27af render walking creatures in the correct way 2012-01-30 19:28:08 -02:00
Eduardo Bart cf18b0c36f many changes 2012-01-30 16:18:10 -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 7d8d214324 simpli map load/save 2012-01-30 01:11:05 -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 29f99ee9b3 fix double walks on teleport 2012-01-25 00:16:04 -02:00
Eduardo Bart 99ff5ce24c implement line wrap for text messages 2012-01-24 22:58:57 -02:00
Henrique Santiago dd457b2b2f complete fluidsdescription 2012-01-24 22:00:16 -02:00
Eduardo Bart 24aab00431 fix use with, improve move, change icons, improve topbar 2012-01-24 16:39:16 -02:00
Eduardo Bart fb386b3845 fk39HHDJJF 2012-01-23 23:38:38 -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 820f94a1d9 fix stop walk 2012-01-20 14:48:26 -02:00
Eduardo Bart a5b4ee2c19 fix walk up/down with parcels 2012-01-20 13:00:46 -02:00