Commit Graph

712 Commits

Author SHA1 Message Date
Eduardo Bart 7bca3de8eb allow usage of network messages in extended opcode 2012-05-14 20:13:48 -03:00
Eduardo Bart 2478809945 add lua flexibility for protocol
* use shared_ptr for InputMessage and OutputMessage and bind them
* allow sending network messages from lua
* implement extended opcode
* use own OS type  for otclient to allow server side detection
* fixes in input event bot protection
* move RSA to input/output network messages
* allow to capture opcodes before GameProtocol parsing with the event GameProtocol.onOpcode
* fixes in lua std::string pop/push to allow byte buffering
2012-05-14 18:39:31 -03:00
Henrique Santiago b9b9e47bba isOnBotton draw changes, fixed items like mountains 2012-05-14 01:33:27 -03:00
Henrique Santiago d33d0c2ee8 fix missiles, mapzoom, restore relwithdeb, replace 32 with tilepixels 2012-05-13 13:05:09 -03:00
Henrique Santiago 1203756baf items draw rework, npc trade fix 2012-05-13 12:05:30 -03:00
Eduardo Bart b7a70dd1e3 protocol compability fixes 2012-05-12 17:16:33 -03:00
Eduardo Bart ffa94f10b6 fix wrong RSA 2012-05-12 11:45:20 -03:00
Eduardo Bart ee5b00c1a6 fix compile for 862 2012-05-12 11:10:47 -03:00
Eduardo Bart 469e0bbbca make dat reader more compatible with malformed dats 2012-05-12 09:30:51 -03:00
Eduardo Bart ae2a476872 more bindings/sends for 870-953 2012-05-12 08:55:22 -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 cc261931be more otserv compatibilities fixes 2012-05-11 18:40:40 -03:00
Eduardo Bart d586bb5e93 some protocol changes for more compatibility 2012-05-11 16:39:54 -03:00
Eduardo Bart 5584bfdd99 support for protocol854 2012-05-11 15:35:17 -03:00
Eduardo Bart 5a47e9d8a9 support for protocol 810
* change in protocol/network classes to make compatible with older protocols
* use filestream for reading dat
* add many ifdefs for multi-protocol support
2012-05-11 15:02:57 -03:00
Eduardo Bart f9bae92bff fix walk bug 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 a20a56a66c tile max things 2012-05-10 09:09:44 -03:00
Eduardo Bart 04eca969fa fix compile issue for win32 2012-05-09 20:04:09 -03:00
Eduardo Bart 606fc38109 fixes and missing file
* fix walking on tile that has too many creatures
* add missing file
* some walk rework
2012-05-09 19:19:05 -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 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 4f08a288ca fix compile error, rebind trade functions 2012-04-30 23:59:17 -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
Eduardo Bart 5b352ac999 add missing lua functions 2012-04-30 19:30:54 -03:00
Eduardo Bart 42ba5b7a2a bind rule violations/bug report functions 2012-04-30 19:25:43 -03:00
Eduardo Bart beaba25af1 UI tweaks 2012-04-30 16:30:37 -03:00
Eduardo Bart dc0ade2bd0 fix teleport incompability with some servers 2012-04-28 23:02:50 -03:00
Eduardo Bart 008fa85635 revert windows and line ending sh*t 2012-04-28 22:07:47 -03:00
Eduardo Bart df0147cf64 remove usage of libpng with custom save_png 2012-04-28 21:16:22 -03:00
Cayan 6ed0e099db Added support for exporting the sprites as PNG files. 2012-04-28 20:47:34 -03:00
Eduardo Bart d3665efbb2 fix some items not being rendered in npc trade 2012-04-28 12:35:15 -03:00
Eduardo Bart 53bbde0b48 add missing protocol 8.6 optbyte 2012-04-28 12:12:02 -03:00
Eduardo Bart 47bd619273 more fixes in count/subtypes 2012-04-27 21:44:55 -03:00
Eduardo Bart 519a52910e fix in npc trade 2012-04-27 20:51:46 -03:00
Eduardo Bart f589e6a786 fix in npc trade 2012-04-27 20:47:08 -03:00
Eduardo Bart b75483e9bf fixes
* fix filestream read
* fix transparent minimap
2012-04-27 19:17:51 -03:00
Eduardo Bart d3c484938d why so many readme updates? 2012-04-27 06:59:32 -03:00
Eduardo Bart 7b81a0cf3b fix possible crash when trading and using containers 2012-04-27 04:28:06 -03:00
Eduardo Bart ceb051cb75 finally reloadable vip, skills, inventory, chat and minimap 2012-04-27 03:30:54 -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 60495174a4 bot traceback, moveup function, chat setting default ongamestart 2012-04-25 21:15:48 -03:00
Eduardo Bart 9aa12acc22 performance improvements
* no more freezes because of file IO from hard disk, now we cache sound/spr file buffers
* more opengl painter tweaks
2012-04-24 18:05:46 -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 cb7bd521d2 fix compilation on win32 2012-04-13 21:14:25 -03:00
Eduardo Bart c4525059ce implement basic sound engine using OpenAL 2012-04-13 16:54:08 -03:00
Eduardo Bart 0fe5491635 fix display of stackable items in shop 2012-04-11 00:37:46 -03:00
Eduardo Bart 353aa5215e fix drawing of 2x2 items on UIItem 2012-04-09 16:33:40 -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
Henrique Santiago 9c88c525fb fixed channels list size 2012-04-07 03:20:36 -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
Eduardo Bart 43e2aeec73 fix far zoomout 2012-04-06 01:01:30 -03:00
Eduardo Bart 248ea9e8bc fix rare crash in containers 2012-04-05 17:51:06 -03:00
Eduardo Bart f1fda8050a fix use with for bottom items
* fix hangables
2012-04-05 00:20:40 -03:00
Eduardo Bart 16acfebe3b move clipping to painter 2012-04-04 19:46:49 -03:00
Eduardo Bart c4693fb7b9 improve map framebuffer clear 2012-04-04 18:53:10 -03:00
Eduardo Bart 79b4136a8d ... 2012-04-04 17:32:43 -03:00
Eduardo Bart b5a4d31fa7 more graphics optimizations
* avoid buffers clears
* use scisors testing instead of stencil testing for clipping
* remove stencil buffers
2012-04-04 17:18:24 -03:00
Eduardo Bart dd875fc925 support for GL_EXT_framebuffer_object 2012-04-03 23:41:12 -03:00
Eduardo Bart cb890e8cb1 prevent some protocol crashs 2012-04-03 19:24:15 -03:00
Eduardo Bart d4afb71263 clean containers when relogging 2012-04-03 11:15:11 -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 8450f1f896 add FileStream class
* minimize memory consumption by using FileStream for loading sprites
2012-04-02 12:51:03 -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 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 959d9a87b0 fix focus bug, change battle events 2012-03-29 19:47:12 -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 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 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 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 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 3ad97c9eab crash handler, logger and oengles changes
* save log messages to otclient.txt
* fixes in FrameBuffer and HardwareBuffer to work with OpenGLES
* possibility to get compilation information from lua (compiler version, build date, build revision, build type)
* make crash handler more informatave
* handle assert crash signals (SIGABRT)
2012-03-22 09:57:43 -03:00
Eduardo Bart 28633a9e20 fixes
* dont use realtime mipmaps by default
* fix void rendering
* fix max Z rendering
2012-03-21 14:30:57 -03:00
Eduardo Bart 57adcb38bd rework windows crash handler
* use -Ofast -fomit-frame-pointer for release
* new windows crash handler that can generate backtraces reports
* fix crash after fatal errors
2012-03-21 12:31:34 -03:00
Eduardo Bart c7469e4454 graphics fixes
* zooming without real FBOs kinda works, but with lower quality
* hardware detection for glGenerateMipmaps
* possibility to disable bilinear filtering, mipmaps, framebuffers, and realtime mipmap generation in g_graphics
* otclient works well using 3D acceleration in VirtualBox again
* many fixes regarding FBOs fallback implementation
2012-03-21 09:41:43 -03:00
Eduardo Bart 5c35938a92 many graphics performance tweaks
* use hardware vertex buffers (video memory)
* cache text drawing with vertex buffers instead of framebuffers
* avoid recalculating texture transformation matrix
2012-03-20 16:10:04 -03:00
Eduardo Bart b4261a8c7b bunch of optimizations 2012-03-20 12:17:10 -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 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 1145eb7e42 fix creature draw bug 2012-02-09 05:52:52 -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 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 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 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 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 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 d83804f2cb fiz win32 window positioning/moving issues 2012-02-03 22:43:51 -02:00
Eduardo Bart 444d3a4fcb fix possible draw bug 2012-02-03 11:21:28 -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 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 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 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 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 e8767d3971 fix possible crash when disconnecting, fix status small message 2012-01-26 15:23:47 -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 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
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
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
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 ad310e2baf fix diagonal walking regression 2012-01-19 02:50:48 -02:00
Eduardo Bart 950730a77f fix walk interval regression 2012-01-19 02:32:37 -02:00
Eduardo Bart 6ce92a1a64 rework walk 2012-01-19 02:12:53 -02:00
Eduardo Bart a1cee1e855 rename useHotkey to useInventoryItem 2012-01-17 20:53:06 -02:00
Eduardo Bart cb1e833e6e use items on creatures 2012-01-17 20:48:31 -02:00
Eduardo Bart cc5b36b1cb Game.useOnCreature lua api 2012-01-17 20:28:55 -02:00
Eduardo Bart 452d1a76b0 fix key events for win32 2012-01-17 04:24:58 -02:00
Eduardo Bart 7bcf7f536e cache rendering of UILabel 2012-01-17 03:36:25 -02:00
Eduardo Bart a21b4dc4f1 merge pull request #2 from AndreFaramir/otclient 2012-01-16 07:37:02 -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 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 f57d46de0e fix minor connection leak 2012-01-13 13:41:57 -02:00
Eduardo Bart eb308997d4 fix chat and grid layout 2012-01-13 04:32:47 -02:00
Eduardo Bart 4590c1b894 move network lua bindings to the correct place 2012-01-13 00:07:14 -02:00
Andre (Notebook) 8f466b432c add lua functions to support packet manipulation/send 2012-01-13 09:51:43 +08: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 c1cf53829e implement grid layout 2012-01-12 17:20:18 -02:00
Henrique Santiago c1787c2a50 use with 2012-01-11 21:10:59 -02:00
Eduardo Bart bb768f43c0 improvments for shaders 2012-01-11 21:01:20 -02:00
Henrique Santiago 5bc939a091 fix viplist sort, shared exp blink 2012-01-11 20:31:23 -02:00
Eduardo Bart cc432f784b fix multiple signals for onHealthChange, etc 2012-01-11 19:21:52 -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
Henrique Santiago e714f9e149 party improvements, still need to fix shared exp 2012-01-10 21:38:44 -02:00
Eduardo Bart a1374baee1 major UIWidget rewrite with new features 2012-01-10 20:13:40 -02:00
Eduardo Bart 044213c6cd fix parsing GM actions 2012-01-10 01:12:54 -02:00
Eduardo Bart 3e903a6113 fix gm actions parse 2012-01-10 01:01:39 -02:00
Eduardo Bart 4f4f306cd7 fix gm actions parse 2012-01-10 00:55:56 -02:00
Eduardo Bart bc7f22d395 fix map padding, parse rule violations protocol opts 2012-01-10 00:46:20 -02:00
Henrique Santiago ab4dc91d90 invisible creatures 2012-01-09 22:36:30 -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 ada5c031d6 fix critial network delay issue 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 e06692db96 fix messages in 862 protocol 2012-01-08 21:52:47 -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 ef0c625c41 add option custom user script, otclientrc.lua 2012-01-07 19:10:06 -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
Henrique Santiago 132f9a00e4 fix walk again 2012-01-06 22:49:43 -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 cd0d2cb642 fix win32 key input and implement fullscreen/maximize/minsize 2012-01-06 21:26:29 -02:00
Eduardo Bart aca082f228 check spr and dat signatures 2012-01-06 18:28:57 -02:00
Eduardo Bart f3c0260ea2 change bot protection 2012-01-06 17:29:51 -02:00
Henrique Santiago 9909ffed35 fix walk 2012-01-06 15:29:18 -02:00
Henrique Santiago c6c71a3426 fix object menu order 2012-01-06 14:16:47 -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 b9e5a4e463 show item count on inventory 2012-01-05 17:28:32 -02:00
Henrique Santiago 1b83126ed5 separator fix, fix draw outside map 2012-01-05 16:34:53 -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 30ce5e2ba9 reorganize some stuff 2012-01-04 23:28:29 -02:00
Henrique Santiago a73908fbbe addremove vip and look improvements 2012-01-04 12:30:28 -02:00
Henrique Santiago f16318e80a fix look 2012-01-04 11:39:08 -02:00
Henrique Santiago 478e55e658 thing menu improvements 2012-01-04 11:02:50 -02:00
Eduardo Bart b8150d160e implement combobox and do some ui rework 2012-01-04 08:26:58 -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
Henrique Santiago 8ad16fec18 protocol send functions 2012-01-03 11:13:54 -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
Henrique Santiago 41c2d18b93 some missing protocol send messages 2012-01-02 20:24:03 -02:00
Henrique Santiago a52ff707fe look improvements 2012-01-02 17:02:05 -02:00
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -02:00
Henrique Santiago 1ca825a4b6 creature distinction, look, remove textmessage bug 2011-12-30 16:14:50 -02:00
Henrique Santiago 88f36b0455 some rework 2011-12-30 12:15:23 -02:00
Henrique Santiago ded2133e7c fix particle removal, static messages colors 2011-12-30 06:19:43 -02:00
Eduardo Bart fd88ba773a ... 2011-12-29 21:00:37 -02:00
Eduardo Bart 00c5481dd0 fix for cmake 2.6 compatibility 2011-12-29 20:50:36 -02:00
Eduardo Bart 7c0ad7a356 fix EGL 2011-12-29 17:36:43 -02:00
Eduardo Bart d597335135 make work on win32 again using GLEW 2011-12-29 16:21:58 -02:00
Henrique Santiago d67442dc49 introduce statictext 2011-12-29 15:45:59 -02:00
Henrique Santiago ad82c549b8 walk fixed, animated text changes 2011-12-29 05:08:02 -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
Henrique Santiago 11bb365dce crash fix, add server beat 2011-12-28 09:26:52 -02:00
Henrique Santiago 5faa903e18 creatures walk and outift fixes 2011-12-28 09:00:09 -02:00
Henrique Santiago df0f2febe6 more rework 2011-12-27 00:18:15 -02:00
Henrique Santiago 5830a3dc3e animated text 2011-12-26 09:53:16 -02:00
Henrique Santiago 37a6a38ca6 some reworks 2011-12-26 04:14:57 -02:00
Eduardo Bart 3abbf5255e introduce matrix class and use it 2011-12-24 21:14:12 -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
Eduardo Bart a4eed64709 fix ctrl+g 2011-12-16 19:48:01 -02:00
Henrique Santiago f67770ed00 particles from file 2011-12-15 16:20:09 -02:00
Henrique Santiago 24022317be particles improvements 2011-12-13 18:06:22 -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
Henrique Santiago a679f258ee particles improve 2011-12-09 03:44:44 -02:00
Eduardo Bart 04ee85dc92 experiment shaders in outfit 2011-12-08 15:28:29 -02:00
Henrique Santiago 34617091bc particles works, but really early state, need pointers fix 2011-12-08 05:28:52 -02:00
Eduardo Bart 5ec386b35f bloom shader 2011-12-07 21:43:12 -02:00
Henrique Santiago 262f54ce3b init particles, still not working 2011-12-07 18:00:28 -02:00
Eduardo Bart b5cf4ad2c4 test shader effect 2011-12-07 17:54:28 -02:00
Eduardo Bart d4a6308705 fix warning 2011-12-07 13:33:00 -02:00
Eduardo Bart a6b66e3f7e fix warning 2011-12-06 22:49:34 -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 d2d8a0097a add lua binding generator tools, changes in pch header 2011-12-04 20:26:53 -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
Henrique 19eb56997d add empty thing type 2011-12-02 01:01:56 -02:00
Henrique 3e27d5a79f create thing m_type 2011-12-02 00:29:05 -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
Eduardo Bart 4afbe43e6f changes to prepare revgraphics 2011-12-01 17:38:46 -02:00