Commit Graph

625 Commits

Author SHA1 Message Date
Henrique Santiago d931b03fed spinbox improvements 2012-02-03 09:59:55 -02:00
Eduardo Bart 1340699b01 implement onMouseDoubleClick event in UIWidget 2012-02-03 03:47:26 -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 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 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 51b0822267 zoom out much more smoother 2012-01-31 15:06:55 -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 4276bd680d allow use of mipmaps in framebuffers 2012-01-28 16:29:03 -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 99ff5ce24c implement line wrap for text messages 2012-01-24 22:58:57 -02:00
Eduardo Bart 24aab00431 fix use with, improve move, change icons, improve topbar 2012-01-24 16:39:16 -02:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Henrique Santiago e3096c1648 fix move on different floors, dragqueen border on uiitem 2012-01-20 23:01:11 -02:00
Eduardo Bart a5b4ee2c19 fix walk up/down with parcels 2012-01-20 13:00:46 -02:00
Eduardo Bart f21927e8d9 implement cursor change for win32 2012-01-20 00:48:56 -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
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
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 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 e6cb3de637 add options style for UIComboBox, fix push values of otml nodes 2012-01-16 06:26:57 -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 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
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
Eduardo Bart bb768f43c0 improvments for shaders 2012-01-11 21:01:20 -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 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
Eduardo Bart 81e378cc22 some rework on gameprotocol class 2012-01-09 03:23:55 -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 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 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 b0f8e495c9 changes in number conversion 2012-01-06 22:53:15 -02:00
Eduardo Bart 5d0d1432ed lua fixes 2012-01-06 22:46:41 -02:00
Eduardo Bart 3c62ce97db fixes in Settings 2012-01-06 22:34:40 -02:00
Eduardo Bart 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
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
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 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
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
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
Eduardo Bart 7fc4ebd89e add new style states (first,middle,last,alternate) 2012-01-02 20:51:36 -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
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -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
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 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 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 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 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
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 aad540f5b5 outfit window working, still needs radio group and remove test button 2011-11-30 00:42:21 -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
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
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 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
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
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
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
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
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
Eduardo Bart 9c55f18186 enable tcp_nodelay option 2011-11-08 21:03:17 -02:00
Henrique a3c65f3a7e missiles and some reworking 2011-11-07 23:44:43 -02:00