Commit Graph

1808 Commits

Author SHA1 Message Date
Eduardo Bart 243bd3a930 fix rendering of quotes 2012-04-26 00:34:32 -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
Eduardo Bart ee664657fb avoid some opengl redundant calls 2012-04-24 13:37:46 -03:00
Eduardo Bart 70f14b5ac3 improve performance on linux by removing glFinish() 2012-04-24 13:23:33 -03:00
Eduardo Bart 9cf40d7f53 fix repeated texture allocation bug 2012-04-24 13:18:45 -03:00
Eduardo Bart efd17361f8 non relevant drawing changes 2012-04-24 09:21:48 -03:00
Eduardo Bart dc08ba2e17 fix F10 hotkey on Windows 2012-04-24 09:21:48 -03:00
Henrique Santiago dcefeb134c remove print, fix creature name position 2012-04-21 21:45:05 -03:00
Eduardo Bart dcb196d45a minor opengl1 optimization 2012-04-20 10:32:21 -03:00
Eduardo Bart affcd03e06 don't use hardware buffers by default 2012-04-20 10:18:33 -03:00
Eduardo Bart d006e52c78 support for non power of two textures 2012-04-20 09:07:47 -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 a4a00a49fe cmake option to use luajit 2012-04-16 10:57:24 -03:00
Eduardo Bart 1d558bc412 make precompiled header work again 2012-04-15 08:00:13 -03:00
Eduardo Bart fe33614c3a fix memory leak in sound stream 2012-04-15 08:00:13 -03:00
Henrique Santiago 341898f1d0 add cmake toolchain for crosscompiling with w64-minwg32 2012-04-14 20:00:04 -03:00
Eduardo Bart c3eae3ba06 bind sound functions and add sample startup music 2012-04-14 11:19:58 -03:00
Eduardo Bart 8e679f2da7 get stereo audo working on linux 2012-04-14 10:15:51 -03:00
Eduardo Bart ae67c6adbc drop usage of threads in sound system 2012-04-14 06:53:32 -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 9b4115a7e5 fix EGL compilation 2012-04-12 17:00:51 -03:00
Eduardo Bart 0b8d8b4595 enable ogl debug with ifdefs 2012-04-12 16:56:05 -03:00
Eduardo Bart 879827bdbc enable opengl debugging on x11 2012-04-12 16:24:00 -03:00
Eduardo Bart a46a16738c performance improvement, lock free render 2012-04-12 11:26:56 -03:00
Eduardo Bart 0fe5491635 fix display of stackable items in shop 2012-04-11 00:37:46 -03:00
Eduardo Bart 4c67e57dd4 fix cmake error 2012-04-11 00:07:14 -03:00
Eduardo Bart 1d2f6c7e9f enable text-auto-resize for width 2012-04-10 23:59:05 -03:00
Eduardo Bart 48d2027327 use counter for disabling layout updates 2012-04-09 18:44:33 -03:00
Eduardo Bart 5425d344ba optimize widget destruction 2012-04-09 17:53:45 -03:00
Eduardo Bart 353aa5215e fix drawing of 2x2 items on UIItem 2012-04-09 16:33:40 -03:00
Eduardo Bart 2017fb366e some optimizations 2012-04-09 09:36:40 -03:00
Eduardo Bart db00792351 update compile options 2012-04-09 09:36:40 -03:00
Henrique Santiago 2f3c83e858 textedit maxlength, fix charlist status height 2012-04-08 19:10:07 -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 218f2e4994 add API to remove widget anchors 2012-04-05 19:46:53 -03:00
Eduardo Bart 248ea9e8bc fix rare crash in containers 2012-04-05 17:51:06 -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 f1fda8050a fix use with for bottom items
* fix hangables
2012-04-05 00:20:40 -03:00
Eduardo Bart f8d4ef60d9 fixes in x11 platform
* fix clipboard paste on x11
* fix alt tab and keyboard issues
2012-04-04 21:02:42 -03:00
Eduardo Bart 16acfebe3b move clipping to painter 2012-04-04 19:46:49 -03:00
Eduardo Bart 1410031e02 fix issues in ctrl/shift/alt states on win32 2012-04-04 19:35:56 -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 53d56259c7 fix compile error no ARM platforms
* and some improvements
2012-04-04 16:02:43 -03:00
Eduardo Bart 2c38dfb397 fix dumbfounding issue on win32 that caused HUGE lags 2012-04-04 13:21:02 -03:00
Eduardo Bart 034fce9147 improve clipping performance 2012-04-04 12:19:17 -03:00
Eduardo Bart 8b184d3ce8 compile fixes for gcc 4.7 in 32bit platforms 2012-04-04 12:12:25 -03:00
Eduardo Bart 27e24bda28 fixes to compile on gcc 4.7 2012-04-04 10:16:33 -03:00
Eduardo Bart 11ad1f5c5b performance improvements 2012-04-04 09:56:22 -03:00
Eduardo Bart c250bfcf42 fix issue 2012-04-03 23:54:56 -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 c33741d324 display unsupported extensions 2012-04-03 17:12:05 -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 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
Eduardo Bart 959d9a87b0 fix focus bug, change battle events 2012-03-29 19:47:12 -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
Eduardo Bart 0e46df3f29 fix useWith mouse conflict with resize borders 2012-03-28 19:25:00 -03:00
Eduardo Bart 5201071707 fiz rare logging crash 2012-03-28 16:59:51 -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 4743763d48 remvoe blur, fix scroll issue on win32 2012-03-28 15:10:59 -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 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 efa9811342 dragging fixes 2012-03-23 19:48:18 -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 01d5fad315 support for OpenGL 2.0
* use OpenGL 2.0 auxiliary buffers when FBO is not supported, thus this means that OpenGL 3 is not a requirement anymore, so otclient might work in older video cards
* map zooming will never work well with Opengl 2.0 because of glCopyTexSubImage2D limitation
2012-03-20 19:26:07 -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 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
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 9b9e837e97 fix drag bug 2012-01-19 23:30:08 -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 380a13ef83 fix dup wheel events on x11 2012-01-19 17:08:15 -02:00
Eduardo Bart 490eae7814 fix paste of text with accents in win32 2012-01-19 16:50:56 -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 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 4491ee8bdd fix realese crash on win32 2012-01-17 21:14:10 -02:00
Eduardo Bart dddfdbc0d5 fix realese crash on win32 2012-01-17 21:07:22 -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 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 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 e701cce5fd fire onTextChange for UILineEdit 2012-01-17 02:43:54 -02:00
Eduardo Bart a21b4dc4f1 merge pull request #2 from AndreFaramir/otclient 2012-01-16 07:37:02 -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 a238111c07 add horizontal box layout, enter keypress fix 2012-01-15 11:57:42 -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
Eduardo Bart 8cace32ce7 fix win32 error 2012-01-12 23:07:01 -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 c1cf53829e implement grid layout 2012-01-12 17:20:18 -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
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 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 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 911584e816 fix x11 keyboard modifiers 2012-01-09 17:00:53 -02:00
Eduardo Bart 3230095cea add ui padding 2012-01-09 16:46:15 -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 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 e46f5fcb69 fix resource path priority 2012-01-08 16:37:35 -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 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
Henrique Santiago 132f9a00e4 fix walk again 2012-01-06 22:49:43 -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
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 acd720e249 add missing lua casts 2012-01-06 18:42:28 -02:00
Eduardo Bart aca082f228 check spr and dat signatures 2012-01-06 18:28:57 -02:00
Eduardo Bart f41e1e75cd fix fatal error messages 2012-01-06 18:15:41 -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 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 b9e5a4e463 show item count on inventory 2012-01-05 17:28:32 -02:00
Eduardo Bart 0230540c07 fix dead keys on x11 2012-01-05 16:39:43 -02:00
Henrique Santiago 1b83126ed5 separator fix, fix draw outside map 2012-01-05 16:34:53 -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 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 215d426b42 restore clearText binding, don't display menu if its empty 2012-01-04 09:29:59 -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
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 7fc4ebd89e add new style states (first,middle,last,alternate) 2012-01-02 20:51:36 -02:00
Henrique Santiago 41c2d18b93 some missing protocol send messages 2012-01-02 20:24:03 -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
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 f7dd35f0dd fix warnign in release mode 2011-12-30 04:52:43 -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 a394033872 fix crash handler for ARM 2011-12-30 01:49:36 -02:00
Eduardo Bart fd9b9a85ce fix maximize on win32 2011-12-29 23:30:09 -02:00
Eduardo Bart 808eb8cd80 fix compile issue in mingw32 2011-12-29 22:30:09 -02:00
Eduardo Bart 212bcf9379 remove duplicate file sources 2011-12-29 21:01:42 -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
Eduardo Bart 2b25ffd86b changes to compile on gcc 4.7 2011-12-19 15:26:41 -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
Eduardo Bart d78278379b nothing 2011-12-16 19:46:47 -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
Henrique Santiago 9a5be9c4d8 add missing files 2011-12-15 18:55:05 -02:00
Henrique Santiago 2643de367a remove particles from emitter 2011-12-15 18:54:42 -02:00
Henrique Santiago 4f905da009 particles ptr fixes 2011-12-15 18:15:01 -02:00
Eduardo Bart 16bb12011a rework particles math 2011-12-15 17:59:24 -02:00
Eduardo Bart 1339e18202 ... 2011-12-15 16:42:56 -02:00
Henrique Santiago 8926f33679 particles fixes 2011-12-15 16:39:57 -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 eb3ff0950a implement random function 2011-12-09 01:08:53 -02:00
Eduardo Bart 04ee85dc92 experiment shaders in outfit 2011-12-08 15:28:29 -02:00
Henrique Santiago 7233e4e039 particles duration 2011-12-08 06:04:16 -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 1a3dcb215e use vertex buffers 2011-12-07 16:49:20 -02:00
Eduardo Bart d4a6308705 fix warning 2011-12-07 13:33:00 -02:00
Eduardo Bart cc7c334d73 ... 2011-12-07 00:13:24 -02:00
Eduardo Bart b37a34219d fix shaders for OpenGL ES 2011-12-07 00:09:44 -02:00
Eduardo Bart f89bc352d5 fix shaders for OpenGL ES 2011-12-06 23:48:39 -02:00
Eduardo Bart a6b66e3f7e fix warning 2011-12-06 22:49:34 -02:00
Eduardo Bart 203d5768cb fix compile issues on n900 2011-12-06 22:45:38 -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
Henrique 1185dc9a00 small fix to sprite loading 2011-11-30 17:26:42 -02:00
Henrique 32c916ee68 fluids fixed. thanks chojrak. still needs to create some constants to fluids type. 2011-11-30 16:59:36 -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 828abab6d1 small fix to compile on ARM 2011-11-28 21:10:16 -02:00
Eduardo Bart 9ca1637677 fix bug running in virtualbox 2011-11-26 01:35:54 -02:00
Eduardo Bart 1386064d71 add framebuffer support for old video cards 2011-11-25 20:29:45 -02:00
Eduardo Bart 7e0618b247 ... 2011-11-25 19:58:33 -02:00
Eduardo Bart dabb5bb5ef enable direct redering by default 2011-11-25 19:37:14 -02:00
Eduardo Bart 921db724f8 resize improvments, disable direct rendering 2011-11-25 19:18:52 -02:00
Eduardo Bart fb43f72583 handle more errors on icon setting 2011-11-25 14:17:40 -02:00
Eduardo Bart dfb8b428eb implement window icon for win 2011-11-23 14:35:16 -02:00
Henrique c8d5ca1cfb forgot to save last changes 2011-11-23 02:33:04 -02:00
Henrique 9208bf7b5a fix aspect ratio, clicking, TODO: add setVisibleSize event, for uimap resizing 2011-11-23 02:27:58 -02:00
Henrique 6a33473a1a map class more flexible 2011-11-23 01:11:49 -02:00
Eduardo Bart 8f2ad83756 show OTC icon in the window bar on linux 2011-11-22 23:16:14 -02:00
Eduardo Bart 18c122c71e add glext.h, remove GLU dependency 2011-11-22 22:21:33 -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 ce681480ea fix compile error on mingw32, add lua events for channels 2011-11-18 22:12:17 -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 63cbe11f7e improvments in widgets initialization 2011-11-17 15:43:41 -02:00
Eduardo Bart b736e52b29 add icon in .exe generation for win32 2011-11-17 00:53:17 -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
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
Henrique 558872f57d bind some functions 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 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 1667662c5c fix disabled state in uicheckbox 2011-11-16 03:23:16 -02:00
Eduardo Bart 5e6fcd8217 fix checkbox crash 2011-11-16 00:50:48 -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
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
Eduardo Bart e74bca2c3a ignore hidden widget in vertical layout 2011-11-14 06:13:48 -02:00
Henrique f3b3ecada1 progress bar and skills improve 2011-11-14 00:40:18 -02:00
Henrique fd80589c7b creature square init, inventory improvements 2011-11-13 20:23:21 -02:00
Henrique 5f34648c0e outfits, item, creature, thing rework 2011-11-13 06:46:19 -02:00
Eduardo Bart ca702109d6 item menu example 2011-11-13 03:11:47 -02:00
Eduardo Bart 48c22756f5 fix lua event bug 2011-11-13 02:49:32 -02:00
Eduardo Bart ce3b02fa09 add menu example in playerground module 2011-11-13 02:13:32 -02:00
Henrique 0fa61333fa thingstype rework 2011-11-12 04:24: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 3f4ad7977c using items, just test, almost nothing done yet 2011-11-10 04:53:16 -02:00
Eduardo Bart 578078007b change miniwindow moving 2011-11-10 03:40:49 -02:00
Eduardo Bart c07dd1066b fix compile issue on mingw32 2011-11-10 03:33:28 -02:00
Henrique 7487931b87 inventory module 2011-11-10 03:29:25 -02:00
Eduardo Bart 9c55f18186 enable tcp_nodelay option 2011-11-08 21:03:17 -02:00
Henrique 6a17173d08 swap map to array 2011-11-08 00:12:23 -02:00
Henrique a3c65f3a7e missiles and some reworking 2011-11-07 23:44:43 -02:00
Eduardo Bart 61ce6d6331 fix walking while the mouse is over topmenu buttons 2011-11-07 22:31:17 -02:00
Eduardo Bart ce67fd1733 change effects animation calculation 2011-11-07 15:20:13 -02:00
Henrique 4e0ca24cb7 creature direction fix 2011-11-06 19:45:42 -02:00
Henrique aa682355fa thing fix, no jump walk, but a little slow 2011-11-06 19:08:36 -02:00
Henrique 7db6b8b5e6 walk changes, nothing special 2011-11-06 02:12:13 -02:00
Eduardo Bart 4208e40c76 walk animation improv 2011-11-05 19:43:13 -02:00
Eduardo Bart d2c3e554dc remove walk updates from render loop to fix some issues and have better performance 2011-11-05 19:37:36 -02:00
Eduardo Bart 63652bd3a3 changes the way that walk calculates 2011-11-05 19:01:41 -02:00
Henrique fbda996b76 walk improvements, but not great yet 2011-11-05 18:34:49 -02:00
Eduardo Bart 650713a1e6 fix compile isses 2011-11-05 11:36:02 -02:00
Eduardo Bart d5b4137ead add missing delcarations 2011-11-04 15:29:13 -02:00
Eduardo Bart a96659e9bc add server class to framework 2011-11-04 14:40:26 -02:00
Henrique 2ec3ad40a1 fixed creature names outside map 2011-11-04 02:53:00 -02:00
Eduardo Bart 39c62942cf add chat buffer 2011-11-03 21:35:43 -02:00
Henrique 5d54971568 healthmana module 2011-11-03 21:10:12 -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
Henrique dbbfe0b3ea parse player stats 2011-11-03 17:27:05 -02:00
Eduardo Bart 1b9f9bbc7d implement button tooltips on top menu 2011-11-03 17:07:07 -02:00
Eduardo Bart 5988867787 fix vertical sort 2011-11-03 14:27:35 -02:00
Eduardo Bart dff57ecfe7 just some comments 2011-11-03 14:27:35 -02:00
Henrique 4fb59e25f4 talk functions on game class 2011-11-03 14:26:17 -02:00
Henrique e171d72f40 talk function 2011-11-03 14:07:51 -02:00
Henrique 8808587b35 Revert "talk funktion"
This reverts commit f887d39d7e.
2011-11-03 14:01:44 -02:00
Henrique f887d39d7e talk funktion 2011-11-03 13:57:56 -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
Henrique b05bb7818d remove POKE and improve item animation 2011-11-02 22:55:50 -02:00
Henrique 1406e23c23 item animation sync fixed 2011-11-02 22:36:05 -02:00
Eduardo Bart b66cf3373f fix font glyph width calculation 2011-11-02 03:59:04 -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 e9d69b7980 add exception handler for windows/linux platforms that will generate backtrace reports when the application crashes 2011-10-31 14:57:14 -02:00
Eduardo Bart ae6cd41819 remove unused allocator 2011-10-31 11:24:57 -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 e35a2e4c79 fix some graphics issues on Windows virtualbox 2011-10-30 21:13:22 -02:00
Eduardo Bart 4c5d1d0ca5 make work on Windows again 2011-10-30 18:11:43 -02:00
Eduardo Bart f4f0d7e960 fixed ratio image drawing support 2011-10-28 22:01:16 -02:00
Eduardo Bart 6c200bd764 fix compile issues 2011-10-26 20:19:41 -02:00
Eduardo Bart c08bbf828b add backtrace generator utility to platform API 2011-10-26 20:12:55 -02:00
Eduardo Bart fb6f07bfc4 fix possible bug 2011-10-19 19:10:06 -02:00
Henrique da10f16a64 thingfixes 2011-09-15 22:02:16 -03:00
Andre Antunes 5e49fad1d9 fixing memory leak when connection fail 2011-09-11 13:03:20 -03:00
Eduardo Bart 9aa87da074 small fix, thx darone 2011-09-08 14:38:21 -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 6737b0a492 push deques into lua 2011-09-02 01:21:41 -03:00
Henrique 80e4bb59d2 death fix 2011-09-01 21:28:24 -03:00
Eduardo Bart 9ca98dd00e change comments 2011-09-01 21:00:29 -03:00
Eduardo Bart bc19e5e783 change comment 2011-09-01 19:02:54 -03:00
Eduardo Bart e37efe7e65 new render, look through windows/doors 2011-09-01 19:00:46 -03:00
Eduardo Bart ff2e248e40 fix typo 2011-09-01 14:55:50 -03:00
Eduardo Bart 3a4bd50665 walk displacment 2011-09-01 14:47:38 -03:00
Eduardo Bart 361b28c6d6 walk perfect? 2011-09-01 11:49:51 -03:00
Eduardo Bart ee5180b9c5 diagonal walk improv 2011-08-31 23:56:01 -03:00
Eduardo Bart d6a29b7cb7 walk almost like tibia 2011-08-31 22:45:11 -03:00
Eduardo Bart 825502d184 poke ifdef 2011-08-31 21:44:33 -03:00
Eduardo Bart ffa4a06c4b creatures walk almost there 2011-08-31 19:42:52 -03:00
Eduardo Bart afe095e292 fix a walk glitch 2011-08-31 19:08:55 -03:00
Eduardo Bart 3b5dd3ecf9 stack/render order working more like tibia 2011-08-31 18:41:04 -03:00
Eduardo Bart 0b4d7ace05 change how tile stack works 2011-08-31 17:22:57 -03:00
Eduardo Bart 8e08decd25 enums for protocol opcodes 2011-08-31 13:49:51 -03:00
Eduardo Bart e69a6d1140 move datmanager to thingstype 2011-08-31 12:03:33 -03:00
Eduardo Bart 427dd91d79 improv animation draw 2011-08-31 11:33:23 -03:00
Eduardo Bart 1a080dbf15 more dat renaming 2011-08-31 10:58:01 -03:00
Eduardo Bart 6187bdbbdb dat comments and enum changes 2011-08-31 10:16:56 -03:00
Eduardo Bart 1da42f9a3b just some renaming 2011-08-31 02:15:59 -03:00
Henrique c3deadf916 dat opts solved 2011-08-31 01:08:16 -03:00
Eduardo Bart 8a179ea585 remvoe update cache since no much fps increase 2011-08-30 21:28:23 -03:00
Henrique 8ca0500712 stackable items fix 2011-08-30 21:22:02 -03:00
Eduardo Bart 2d61466263 creature names fix 2011-08-30 20:51:09 -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
Henrique 4d90b674ac walk changes, not done yet 2011-08-30 11:42:05 -03:00
Eduardo Bart b6b823aa9c hide passwords in line edits 2011-08-30 11:25:08 -03:00
Eduardo Bart 9bae47a40c walk animation improvments 2011-08-30 10:26:18 -03:00
Henrique 33573e957d map position, skills 2011-08-29 22:34:17 -03:00
Eduardo Bart 00484b96c8 keep map aspect ratio 2011-08-29 22:22:12 -03:00
Eduardo Bart 608e5a0331 alternate walk animation 2011-08-29 21:40:52 -03:00
Eduardo Bart 4d47bb9ecf walk animation 2011-08-29 20:57:00 -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 eb4b83faaf fix a crash 2011-08-29 19:27:22 -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
Henrique b859f66952 diagonal walking, there is a map bug 2011-08-29 02:54:28 -03:00
Eduardo Bart 9de3bfb8b0 logout works 2011-08-29 00:44:26 -03:00
Henrique 1bb89e053a improved fps 2011-08-29 00:06:02 -03:00
Eduardo Bart a8afbf9b3f UIMap just got in 2011-08-29 00:04:49 -03:00
Henrique fe9591ca8d walk back? 2011-08-28 23:46:42 -03:00
Eduardo Bart 6206eeb562 move charlist selection with arrows 2011-08-28 23:39:47 -03:00
Eduardo Bart c6b9aad87d fix protocol crash 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
Henrique d3cd4feee5 walking improvements 2011-08-28 21:38:26 -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
Henrique 7242dfc9ee cpp functions order changed 2011-08-28 16:51:34 -03:00
Henrique 4bd701f94c some render improvements 2011-08-28 16:47:23 -03:00
Eduardo Bart 65dca53c0f make ctrl+v works in lineEdits 2011-08-28 15:26:57 -03:00
Eduardo Bart ba8f8b889e simplify outfit render 2011-08-28 15:06:47 -03:00
Eduardo Bart fbabe6b3ed change color constants 2011-08-28 14:49:15 -03:00
Eduardo Bart 05edcc218d add some typedefs 2011-08-28 13:31:01 -03:00
Eduardo Bart e87297c1b5 reorganize all constants and place them into namespaces 2011-08-28 13:02:26 -03:00
Eduardo Bart dab483caab TODO file 2011-08-28 10:45:56 -03:00
Eduardo Bart f7eac377e7 restore copyright notice 2011-08-28 10:17:58 -03:00
Eduardo Bart 7962fbec19 change some deque to vectors 2011-08-27 21:07:38 -03:00
Andre Antunes 3d4556e5c9 Merge branch 'master' of https://github.com/edubart/otclient 2011-08-27 20:18:18 -03:00
Andre Antunes aeaa843fae some class color improvements 2011-08-27 20:16:23 -03:00
Eduardo Bart 62871d8060 nothing, really 2011-08-27 19:32:16 -03:00
Eduardo Bart 2a2fbc4c3a Merge branch 'master' of github.com:edubart/otclient 2011-08-27 09:16:35 -03:00
Henrique f019818423 inputmessage buffer increase 2011-08-27 00:40:52 -03:00
Eduardo Bart 36cdea7f29 Merge branch 'master' of github.com:edubart/otclient 2011-08-26 21:23:34 -03:00
Henrique 4d9c974c34 creatures name fix 2011-08-26 18:34:16 -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
Henrique b58a1aa7d4 remove garbage 2011-08-26 12:48:23 -03:00
Henrique 8f27ff60ac Merge branch 'master' of github.com:edubart/otclient 2011-08-26 12:45:02 -03:00
Henrique 0c4d0632c2 walk improvements, still have some bugs 2011-08-26 12:44:29 -03:00
Eduardo Bart 73f942c337 Merge branch 'master' of github.com:edubart/otclient 2011-08-26 12:07:02 -03:00
Eduardo Bart 7359370251 new layout system, new UI state/styles system 2011-08-26 12:06:52 -03:00
Henrique 94cdfb1856 walk in early stages, many fixes in todo 2011-08-26 02:07:23 -03:00
Henrique 63f6c38394 items animation 2011-08-25 10:30:46 -03:00
Henrique 9088bad0b0 addons, item count, stackpos fix 2011-08-24 00:58:23 -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 bfa3903940 ui internal destroy 2011-08-22 16:39:46 -03:00
Eduardo Bart 6a3ee47cc5 refactoring 2011-08-22 16:13:52 -03:00
Eduardo Bart 10ea2e5de1 Merge branch 'master' of github.com:edubart/otclient 2011-08-22 09:44:36 -03:00
Eduardo Bart 8fb07afc10 change ui event handling 2011-08-22 09:44:26 -03:00
Henrique 24c45bde50 fix merge 2011-08-21 22:12:37 -03:00
Henrique 877cd6440e name adjusts 2011-08-21 22:01:59 -03:00
Eduardo Bart 30de60c562 mend 2011-08-21 18:51:13 -03:00
Eduardo Bart 8007e37796 console max lines 2011-08-21 18:49:31 -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
Henrique 377a249f52 remove text draw on tiles 2011-08-21 00:24:43 -03:00
Henrique 1a2dcd08ed Merge branch 'master' of github.com:edubart/otclient 2011-08-21 00:22:00 -03:00
Henrique 06a72ffb7e stack fix, creature names and health bar, still buggy 2011-08-21 00:21:35 -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 7584c806f4 Merge branch 'master' of github.com:edubart/otclient 2011-08-20 17:30:51 -03:00
Eduardo Bart 38529ea837 lua console and some changes 2011-08-20 17:30:41 -03:00
Henrique 9b112b1daf map tile render rework, not done yet 2011-08-19 23:08:27 -03:00
Eduardo Bart 033f14780d make otml simpler and easier to use, improve error handling/exceptions 2011-08-19 15:53:23 -03:00
Henrique f9e7d52ac0 protocol speak fix 2011-08-19 13:25:39 -03:00
Eduardo Bart 09548488fa cache sprites masks 2011-08-19 11:23:02 -03:00
Eduardo Bart 0df7e2ed6a cache sprites masks 2011-08-19 11:18:24 -03:00
Eduardo Bart 7b13161036 draw health bars but still incorrect 2011-08-19 10:23:35 -03:00
Eduardo Bart 817234a660 head outfit color fix 2011-08-19 09:49:29 -03:00
Eduardo Bart 66e58c5914 missing param 2011-08-19 09:32:08 -03:00
Eduardo Bart c6dd25ed99 outfit colors 2011-08-19 09:26:26 -03:00
Henrique 8b2bceaef3 effect delete restored 2011-08-17 02:04:45 -03:00
Henrique 16a187b014 creature walk, fps fix (map duplicate items fix with clean), some protocol parses 2011-08-17 01:45:55 -03:00
Henrique d4244be464 effect fix, spr assert 2011-08-16 10:25:21 -03:00
Eduardo Bart 7d419d49e4 git ignore more files 2011-08-16 10:09:35 -03:00
Eduardo Bart be21321393 ... 2011-08-16 10:06:16 -03:00
Eduardo Bart e51c29702c fix crash 2011-08-16 09:58:49 -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
Henrique 99d677913a Merge branch 'master' of github.com:edubart/otclient 2011-08-16 02:49:15 -03:00
Henrique 97d2c30a81 effects working, map on higher levels too 2011-08-16 02:47:35 -03:00
Eduardo Bart 65c1867f55 login protocol cancel 2011-08-16 01:24:20 -03:00
Eduardo Bart 3d4cfb793e net improvments 2011-08-16 00:27:46 -03:00
Eduardo Bart b90bb275b9 ... 2011-08-15 21:32:16 -03:00
Eduardo Bart f87b475f49 revise network system 2011-08-15 21:30:31 -03:00
Eduardo Bart be15b1820d more refactoring 2011-08-15 18:02:52 -03:00
Eduardo Bart 2e1a96c2df rework on dat and spr loader 2011-08-15 16:15:49 -03:00
Eduardo Bart b21ccd16f9 fix gitignore and add missing sources 2011-08-15 11:11:24 -03:00
Eduardo Bart d8cc37afdb reorganize sources 2011-08-15 11:06:15 -03:00
Eduardo Bart 4e03b15b27 Merge branch 'master' of github.com:edubart/otclient 2011-08-15 06:55:51 -03:00
Eduardo Bart a5b41f77ea hoho 2011-08-15 06:55:43 -03:00
Henrique fd7f191cb2 missing files, color fix 2011-08-15 02:12:42 -03:00
Henrique e8448cddb9 creatures, fixe 2011-08-15 02:09:27 -03:00
Eduardo Bart 92b54b6f55 fix map render 2011-08-14 15:13:33 -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
Henrique 0af7856475 unordered map on map 2011-08-13 21:30:27 -03:00
Henrique 0a268fc7d9 map draw improvements 2011-08-12 01:34:21 -03:00
Eduardo Bart 7cf188a67d fix framebuffer 2011-08-11 23:04:28 -03:00
Eduardo Bart f78d1c91b0 merge 2011-08-11 22:44:00 -03:00
Eduardo Bart 1a81d1520f framebuffer 2011-08-11 22:38:54 -03:00
Henrique a5cdf634b3 now is walking 2011-08-11 21:06:01 -03:00
Henrique 651315d4cd map draw working with lil bugs 2011-08-11 02:52:30 -03:00
Henrique cf6ca15c6f dat ver 8.6 2011-08-01 23:07:19 -03:00
Henrique f07648219c remove old todo 2011-08-01 01:31:58 -03:00
Henrique a38bd18280 init protocolgame 2011-08-01 01:28:41 -03:00
Eduardo Bart 586bcde915 add missing file 2011-07-28 10:21:03 -03:00
Eduardo Bart ea2645c151 some network refactoring 2011-07-27 20:01:33 -03:00
Henrique a62785911a connection fix 2011-07-27 15:13:59 -03:00
Henrique f34b6b1bab connection rework, entergame.lua fix 2011-07-27 15:10:49 -03:00
Eduardo Bart 81ff15fe6b fix bug 2011-07-26 20:55:39 -03:00
Eduardo Bart 70f0b0dace new script engine, and things maybe be bugged for a while 2011-07-26 20:13:27 -03:00
Eduardo Bart ab7394f357 add a new folder structure redesign organized by packages 2011-07-17 08:52:20 -03:00
Eduardo Bart bddcfb08fd rework ui related scripting stuff 2011-07-17 03:56:57 -03:00
Eduardo Bart 571801ae39 some refactoring 2011-07-16 21:13:53 -03:00
Eduardo Bart 8ef1b28546 many changes and refactoring 2011-07-13 18:12:36 -03:00
Eduardo Bart 6c05ee0e82 allocator delete checks 2011-07-13 01:25:43 -03:00
Eduardo Bart fbaa89d342 allocator delete checks 2011-07-13 01:19:12 -03:00
Eduardo Bart 5299ac0233 use hashed set in allocator for O(1) lookup 2011-07-12 19:29:06 -03:00
Eduardo Bart 4e6a1106fa allocator remake 2011-07-12 18:59:45 -03:00
Eduardo Bart 3f0a0cb9de allocator with leak detecting capabilities 2011-07-12 16:27:37 -03:00
Henrique 9058a2898d Merge branch 'master' of https://github.com/edubart/otclient 2011-05-31 02:25:57 -03:00
Henrique c490577ea8 connection fixes, motd fixed 2011-05-31 02:24:30 -03:00
Eduardo Bart 5c85374ee3 fix script leak 2011-05-30 23:33:55 -03:00
Eduardo Bart 9b2d71f6d8 protocol via script 2011-05-30 22:55:34 -03:00
Henrique e239b0d611 remove connection code from main 2011-05-30 00:13:21 -03:00
Henrique ad10754779 init protocol login 2011-05-30 00:11:12 -03:00
Eduardo Bart a54f5dd3f9 FML emitter 2011-05-22 00:56:58 -03:00
Eduardo Bart d7bc083014 use exceptions in FML 2011-05-21 19:24:10 -03:00
Eduardo Bart c3e67fceb9 Merge branch 'master' of github.com:edubart/otclient 2011-05-21 16:11:36 -03:00
Eduardo Bart 46485d0d76 improvements 2011-05-21 16:10:07 -03:00
Henrique 48abbe0ed4 Merge branch 'master' of https://github.com/edubart/otclient 2011-05-21 16:03:11 -03:00
Henrique e258289edb network message 2011-05-21 16:02:37 -03:00
Eduardo Bart f5a15939b2 fix bug on how lua detect source paths 2011-05-21 15:40:06 -03:00
Eduardo Bart 80e42b0f96 replace YAML with custom made library for reading text files named FML 2011-05-21 15:15:46 -03:00
Eduardo Bart 0cd4bcd926 type casts for config manager 2011-05-19 21:03:15 -03:00
Eduardo Bart f72214f090 type casts for config manager 2011-05-19 20:56:27 -03:00
Eduardo Bart afc79a99e1 rework on resources system 2011-05-19 15:46:40 -03:00
Eduardo Bart ab6c52a3ee rework on resources system 2011-05-19 14:11:05 -03:00
Eduardo Bart f68eba6a9f fix to work with a gcc bug 2011-05-17 01:32:18 -03:00
Eduardo Bart c5b462d5b9 win32 main 2011-05-16 20:56:57 -03:00
Eduardo Bart 2d3add1b36 fix texture bug 2011-05-16 20:21:41 -03:00
Eduardo Bart b3940b487d use memset instead of bzero 2011-05-16 16:01:34 -03:00
Eduardo Bart e81e0f1c24 fix gl bug, textures sizes must be a power of 2 2011-05-16 15:30:05 -03:00
Eduardo Bart 7e7d16ee5f remove fmemopen 2011-05-15 14:26:05 -03:00
Eduardo Bart ca38f53e15 OpenGL in prerequesites 2011-05-15 13:39:14 -03:00
Eduardo Bart 1ac08aa692 default to new layout 2011-05-14 15:40:52 -03:00
Eduardo Bart 159de5d511 yaml 2.6 bugs 2011-05-14 00:07:35 -03:00
Eduardo Bart 35fc76f0a6 works with yaml 2.6 2011-05-13 23:21:25 -03:00
Eduardo Bart 177cc8ba65 cmake fixes 2011-05-13 22:28:59 -03:00
Eduardo Bart 851e8eca2a remove libpng 2011-05-12 20:31:10 -03:00
Eduardo Bart a396df51cc apng loader 2011-05-12 20:27:26 -03:00
Eduardo Bart 42eae9afd8 animated texture 2011-05-12 20:24:57 -03:00
Eduardo Bart c6753747fb a bunch of stuff 2011-05-11 19:16:11 -03:00
Eduardo Bart 42c1ae090c anchoring errors 2011-05-09 18:08:17 -03:00
Eduardo Bart 51fe97644d rework ui layouts, now it is more flexible and modular 2011-05-09 17:38:01 -03:00
Eduardo Bart 6d871b305f * load ui elements in order
* shorter ui paths
2011-05-03 10:36:08 -03:00
Eduardo Bart c052723477 scripting rework 2011-05-02 19:48:41 -03:00
Eduardo Bart f290b4f89c .. 2011-05-02 01:38:00 -03:00
Eduardo Bart 9e90ae0ee4 more scripting features (dynamic fields) 2011-05-02 01:13:57 -03:00
Eduardo Bart f7bb044f48 merging 2011-05-01 15:51:46 -03:00
Eduardo Bart 32a8ed3871 scripting and UI improvements 2011-05-01 15:47:35 -03:00
Eduardo Bart c1b2b3ed3a error proning 2011-04-23 20:23:52 -03:00
Eduardo Bart 3960240b8e messagebox (not working yet) 2011-04-23 17:04:49 -03:00
Eduardo Bart a98f1d67db onLoad and onDestroy events 2011-04-23 00:28:23 -03:00
Eduardo Bart 02ada0b82e sources are broken 2011-04-22 21:12:28 -03:00
Eduardo Bart 96e0b1e909 new logger
scripts are now more error prone
2011-04-22 15:48:02 -03:00
Eduardo Bart e611734396 remove game state classes
scripting improvements
2011-04-22 10:49:46 -03:00
Eduardo Bart a3901b0251 merge 2011-04-21 19:48:57 -03:00
Eduardo Bart 50b99a75b9 lua scripting 2011-04-21 19:44:30 -03:00
Henrique Santiago 8952bddb7a init network 2011-04-20 03:40:31 -03:00
Eduardo Bart bb05338190 first script stuff (still ugly and under experiments) 2011-04-18 23:10:08 -03:00
Eduardo Bart 3de455fe7e remove bugged net files 2011-04-18 00:26:35 -03:00
Eduardo Bart 5be199e566 basic options window 2011-04-17 18:15:24 -03:00
Eduardo Bart 8ef534e7b7 render fix 2011-04-17 17:39:03 -03:00
Eduardo Bart 44a7f6ab90 window move improv 2011-04-17 17:28:12 -03:00
Eduardo Bart f2c187c810 doxyfile 2011-04-17 17:09:37 -03:00
Eduardo Bart 9b22a6e0a6 includes changed 2011-04-17 16:14:45 -03:00
Eduardo Bart c0fce81238 ahn? 2011-04-17 16:14:24 -03:00
Eduardo Bart beeb41dafd poll 2011-04-16 23:52:54 -03:00
Eduardo Bart da57770f88 network 2011-04-16 23:48:13 -03:00
Eduardo Bart 16a7747393 all callbacks must go through dispatcher 2011-04-16 22:07:03 -03:00
Henrique Santiago 2070b94661 init protocol integ 2011-04-16 22:06:38 -03:00
Eduardo Bart 9dfb33f2ed info window 2011-04-16 21:36:58 -03:00
Eduardo Bart c5da620d59 ui improvements 2011-04-16 19:06:42 -03:00
Eduardo Bart dc39c965cc window moving 2011-04-16 16:46:31 -03:00
Eduardo Bart 9b02312bf8 performance improvments 2011-04-16 13:08:55 -03:00
Eduardo Bart da6dfea03e text edit improvments 2011-04-15 20:52:26 -03:00
Eduardo Bart 5bfeee91b2 still implemeting uitextedit 2011-04-15 19:07:23 -03:00
Eduardo Bart 43c9c5de7c text edit almost done 2011-04-15 12:46:30 -03:00
Eduardo Bart f1475c0569 text edit improvments (not finished) 2011-04-14 23:13:53 -03:00
Eduardo Bart e01bd17510 ... 2011-04-14 12:10:26 -03:00
Eduardo Bart 4f386a854a fix text enter 2011-04-14 12:09:16 -03:00
Henrique Santiago 6392f71641 Merge branch 'master' of github.com:edubart/otclient 2011-04-14 00:51:23 -03:00
Henrique Santiago 41839a1c28 win32 input events 2011-04-14 00:48:44 -03:00
Eduardo Bart f7b6be4fa4 Merge branch 'master' of github.com:edubart/otclient 2011-04-13 22:33:02 -03:00
Eduardo Bart 5616259feb simpler yaml read 2011-04-13 22:32:50 -03:00
Henrique Santiago 223e6ca85a remove undef, add on cmakelists 2011-04-13 22:30:41 -03:00
Henrique Santiago 48896f81dd undef ascii, protocol code commented, must swap lambda 2011-04-13 22:10:25 -03:00
Eduardo Bart 0f7f7827f5 rect fix and some ui new classes 2011-04-12 02:51:09 -03:00
Eduardo Bart 92ac4093a4 skin coloring fixes 2011-04-11 20:52:37 -03:00
Eduardo Bart bc7fbcca16 fix gcc 4.4 compile error 2011-04-11 20:45:18 -03:00
Eduardo Bart 83b166e91e use boost stuff 2011-04-11 18:22:01 -03:00
Eduardo Bart 08b6563fd5 remove lambdas 2011-04-11 18:11:22 -03:00
Eduardo Bart 451719479b fix compilation for win32 2011-04-11 17:27:03 -03:00
Eduardo Bart c3f0ca2b4f more flexible skins 2011-04-11 17:06:03 -03:00
Eduardo Bart da2993d1f9 text edit (not finished) 2011-04-11 01:08:56 -03:00
Eduardo Bart dcbe4855bd ui more error proning 2011-04-10 18:12:42 -03:00
Eduardo Bart 992e0a8a6b ui loader and some refactoring 2011-04-10 17:40:44 -03:00
Eduardo Bart 1f78f93096 refactoring paths and includes 2011-04-10 12:37:15 -03:00
Eduardo Bart 792d661dad loading ui from files 2011-04-10 04:34:52 -03:00
Eduardo Bart 150afa86f3 logger 2011-04-09 22:43:34 -03:00
Andre Antunes 99b2f612b7 adding protocoltibia 2011-04-09 22:35:51 -03:00
Andre Antunes b865d4834c adding rsa sources 2011-04-09 22:33:07 -03:00
Andre Antunes 0b0a62b351 merge fix 2011-04-09 22:28:51 -03:00
Andre Antunes d5e2115599 merge fix 2011-04-09 22:27:52 -03:00
Andre Antunes 296d613f3b adding net files 2011-04-09 22:26:57 -03:00
Andre Antunes 2805a34267 begining tibia protocol 2011-04-09 22:25:13 -03:00
Eduardo Bart 5de660a20e fix leaks 2011-04-09 22:13:12 -03:00
Eduardo Bart 9d1ddf34bf basic menu functionallity 2011-04-09 21:51:35 -03:00
Eduardo Bart f2bdc89d8d window ui 2011-04-09 19:55:58 -03:00
Eduardo Bart a9a110f44b missing files 2011-04-09 16:08:43 -03:00
Eduardo Bart 22c4b0976a refator some stuff, button implementation 2011-04-09 16:07:35 -03:00
Eduardo Bart a5cd0bed74 ui anchoring 2011-04-09 14:18:50 -03:00
Andre Antunes 02c58f16cd connection update 2011-04-08 20:24:51 -03:00
Eduardo Bart e94024de67 ui skinning 2011-04-08 20:20:44 -03:00
Eduardo Bart f54ef6401d image class 2011-04-08 15:29:59 -03:00
Andre Antunes bda40b218a using lambda 2011-04-08 15:18:26 -03:00
Eduardo Bart 77b31e425a bordered image class 2011-04-08 06:51:27 -03:00
Eduardo Bart 6e8df399c9 render do main menu 2011-04-08 06:50:26 -03:00
Eduardo Bart 4c6d1269a0 first gui stuff 2011-04-08 02:10:00 -03:00
Eduardo Bart 8a33e0cf19 text align rendering 2011-04-07 17:36:40 -03:00
Eduardo Bart 7739c7bb29 merge 2011-04-07 15:50:48 -03:00
Eduardo Bart f3df212793 advanced text render 2011-04-07 15:49:35 -03:00
Andre Antunes 6f952adae2 connection is now working properly 2011-04-07 15:02:06 -03:00
Eduardo Bart 8d1281b316 fonts.. 2011-04-07 12:41:49 -03:00
Eduardo Bart 21bcbf9a97 compilation fixes 2011-04-07 06:36:02 -03:00
Eduardo Bart 6451e36240 Merge branch 'master' of github.com:edubart/otclient 2011-04-07 05:48:53 -03:00
Andre Antunes ee2b05dc8d fixing merge 2011-04-07 05:48:10 -03:00
Eduardo Bart 588eccba0d compilation fixes 2011-04-07 05:45:58 -03:00
Andre Antunes 67f37ccb51 adding net to framework 2011-04-07 05:44:26 -03:00
Andre Antunes 86ed2ff287 adding net to framework 2011-04-07 05:42:57 -03:00
Eduardo Bart f3eaf3f726 fps counter 2011-04-07 05:38:29 -03:00
Eduardo Bart 937070b3e0 move render stuff to graphics 2011-04-07 04:30:32 -03:00
Eduardo Bart 9bd9f4ba53 font improvments 2011-04-07 00:13:57 -03:00
Eduardo Bart 9464f99c90 basic font redering 2011-04-06 21:58:36 -03:00
Eduardo Bart b1ec45783e rename g_config 2011-04-06 17:53:00 -03:00
Eduardo Bart 5ab943ce13 rename int types 2011-04-06 17:18:00 -03:00
Eduardo Bart 12cdefff38 refactoring some stuff 2011-04-06 16:46:58 -03:00
Andre Antunes a5d475aec1 renaming some variables 2011-04-04 21:39:57 -03:00
Eduardo Bart 70a8338804 Merge branch 'master' of github.com:edubart/otclient 2011-04-02 18:36:51 -03:00
Eduardo Bart 15147c4d2c use auto keyword 2011-04-02 18:36:45 -03:00
Andre Antunes 43001f40b7 adding convertType and minor changes 2011-04-02 18:19:07 -03:00
Eduardo Bart d29b139321 use C++0x, change prerequisites headers 2011-04-02 18:02:39 -03:00
Eduardo Bart 7ef92bb0ac fix a little thing 2011-04-02 17:04:25 -03:00
Eduardo Bart c40b827828 texture manager with weak ptr 2011-04-02 16:59:49 -03:00
Eduardo Bart 4fa659c26a Merge branch 'master' of github.com:edubart/otclient 2011-04-02 14:33:41 -03:00
Eduardo Bart e281853a0c first ticks for win32 2011-04-02 14:32:54 -03:00
Henrique Santiago 884de984f3 resource ls, init fonts 2011-03-26 17:53:08 -03:00
Eduardo Bart 33a2b885b5 useless feature 2011-03-25 16:57:11 -03:00
Henrique Santiago 8a13517714 win32 visible, focused, size fix 2011-03-21 17:03:45 -03:00
Eduardo Bart 5254b8d230 change tick on win32 2011-03-20 20:16:38 -03:00
Eduardo Bart 2e5692da45 Merge branch 'master' of github.com:edubart/otclient 2011-03-20 20:15:34 -03:00
Eduardo Bart 9f27ed75d5 change how ticks works 2011-03-20 20:15:17 -03:00
Henrique Santiago e107daf5dd Merge branch 'master' of github.com:edubart/otclient 2011-03-20 20:10:39 -03:00
Henrique Santiago dc409fe76c win32 rect fix 2011-03-20 20:09:27 -03:00
Eduardo Bart 71b6fb0590 render when visible only 2011-03-20 19:30:15 -03:00
Eduardo Bart caded3285c init on screen center on first startup 2011-03-20 19:10:02 -03:00
Eduardo Bart 2339e05b34 merging 2011-03-20 18:46:57 -03:00
Eduardo Bart e1b5d52b07 x11 maximized and coords x,y 2011-03-20 18:41:32 -03:00
Henrique Santiago c864a2cb08 clipboard fix 2011-03-20 18:08:57 -03:00
Henrique Santiago c133706890 app name as variable 2011-03-20 17:23:13 -03:00
Henrique Santiago e0cfab3dd2 win32 preferences, bug fixes 2011-03-20 16:55:12 -03:00
Eduardo Bart 7ab8b17bf6 move some codes, fix bugs 2011-03-20 16:10:40 -03:00
Henrique Santiago dab9faab91 win32 ansi functions 2011-03-20 15:15:14 -03:00
Henrique Santiago 2e2c71ecc7 win32 platform 2011-03-20 15:02:15 -03:00
Eduardo Bart 5142e912cc use ARB extensions 2011-03-18 21:22:29 -03:00
Eduardo Bart f6dc07022c use get proc address for opengl extension functions 2011-03-18 20:49:30 -03:00
Henrique Santiago 3164d7e691 textureloader - png fix, SIGQUIT removed 2011-03-18 18:09:56 -03:00
Henrique Santiago c70e27494c textureloader - png - loading from memory without fmemopen 2011-03-18 17:39:21 -03:00
Eduardo Bart b80dc4d6e0 fix load text bug 2011-02-08 21:05:31 -02:00
Eduardo Bart b2c61760e5 framework 2011-02-08 20:48:26 -02:00
Eduardo Bart 3d0b191199 basic drawing functions
powerfull Point, Rect, Size, Color classes
prerequesites header
2010-11-24 21:36:15 -02:00
Eduardo Bart 4102ae093c FBO working as expected, render background on menu state 2010-11-23 19:56:28 -02:00
Eduardo Bart 4b2886ebec FBO, game states 2010-11-23 13:31:17 -02:00
Eduardo Bart f10ced4626 texture manager, texture loader, texture 2010-11-23 01:13:37 -02:00
Eduardo Bart b6f1a18beb basic resource manager implementation
load/save configurations files in user home
2010-11-21 23:19:20 -02:00
Eduardo Bart d121154932 config manager using yaml
logger improvements
more documentation
2010-11-21 19:51:16 -02:00
Eduardo Bart f43e2bde48 * license
* authors
* readme
* roadmap
2010-11-19 13:55:55 -02:00
Eduardo Bart 914a76e54a trace utility in logger 2010-11-19 10:37:02 -02:00
Eduardo Bart 77d1ebc8c5 smater way to set latin1 locales in x11 2010-11-19 00:18:50 -02:00
Eduardo Bart f58ce52be8 * basic core design (Platform, Engine, Graphics classes)
* logger
* x11 platform implementation
2010-11-18 20:13:35 -02:00