Commit Graph

486 Commits

Author SHA1 Message Date
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
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 7db6b8b5e6 walk changes, nothing special 2011-11-06 02:12:13 -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
Eduardo Bart 39c62942cf add chat buffer 2011-11-03 21:35:43 -02:00
Eduardo Bart b216b00a32 add chat panel, send text messages, guard forbidden functions with an ifdef 2011-11-03 18:54:53 -02:00
Eduardo Bart 6d6479e4a9 fix tooltip crash 2011-11-03 17:33:20 -02:00
Eduardo Bart 1b9f9bbc7d implement button tooltips on top menu 2011-11-03 17:07:07 -02:00
Eduardo Bart 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
Eduardo Bart 4b8a0bab77 improv miniwindow move 2011-11-03 11:19:12 -02:00
Eduardo Bart 9636392d58 implement move policy for window moving 2011-11-03 10:48:48 -02:00
Eduardo Bart 14ce1c8183 enable skills and vip window on right panel 2011-11-03 10:17:10 -02:00
Eduardo Bart 101f608d40 fix key input on windows 2011-11-03 08:10:39 -02:00
Eduardo Bart b345a6d783 create in game interface panels and renable about and options windows 2011-11-03 07:59:11 -02:00
Eduardo Bart b66cf3373f fix font glyph width calculation 2011-11-02 03:59:04 -02:00
Eduardo Bart 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
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
Eduardo Bart 6737b0a492 push deques into lua 2011-09-02 01:21:41 -03:00
Eduardo Bart 361b28c6d6 walk perfect? 2011-09-01 11:49:51 -03:00
Eduardo Bart e69a6d1140 move datmanager to thingstype 2011-08-31 12:03:33 -03:00
Eduardo Bart 4d10b0dd49 render improvments using some cache 2011-08-30 20:39:14 -03:00
Eduardo Bart 27ccb472d2 implement status messages 2011-08-30 12:12:57 -03:00
Eduardo Bart b6b823aa9c hide passwords in line edits 2011-08-30 11:25:08 -03:00
Eduardo Bart 12661c1b1b map losing focus fix 2011-08-29 20:40:56 -03:00
Eduardo Bart 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
Eduardo Bart 9de3bfb8b0 logout works 2011-08-29 00:44:26 -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
Eduardo Bart 8aadea2a96 rework key input handling, add more script events for UI and implement console history 2011-08-28 18:32:43 -03:00
Eduardo Bart 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 67e3cfcb07 focus last logged character in charlist 2011-08-26 18:20:53 -03:00
Eduardo Bart ccc4c1ba5e some fancy 2011-08-26 15:56:56 -03:00
Eduardo Bart 0749e6a9d5 improved charlist 2011-08-26 15:44:18 -03:00
Eduardo Bart c60b677baa basic charlist 2011-08-26 15:00:22 -03:00
Eduardo Bart 7359370251 new layout system, new UI state/styles system 2011-08-26 12:06:52 -03:00
Eduardo Bart d31d32bf82 changes.. 2011-08-23 12:09:50 -03:00
Eduardo Bart 3c72c844d2 much faster layout calculation 2011-08-22 22:08:36 -03:00
Eduardo Bart 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 8fb07afc10 change ui event handling 2011-08-22 09:44:26 -03:00
Eduardo Bart 8007e37796 console max lines 2011-08-21 18:49:31 -03:00
Eduardo Bart f266b9fbc6 remake widgets's anchor layouts 2011-08-21 16:43:05 -03:00
Eduardo Bart b410921e32 fix focus bugs in UI 2011-08-20 22:01:46 -03:00
Eduardo Bart d0f47f47a4 fix bug 2011-08-20 18:37:27 -03:00
Eduardo Bart 38529ea837 lua console and some changes 2011-08-20 17:30:41 -03:00
Eduardo Bart 033f14780d make otml simpler and easier to use, improve error handling/exceptions 2011-08-19 15:53:23 -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 c6dd25ed99 outfit colors 2011-08-19 09:26:26 -03:00
Eduardo Bart be21321393 ... 2011-08-16 10:06:16 -03:00
Eduardo Bart 758b4b5dfb display motd message only once, remove update loop, use g_platform.getTicks() instead 2011-08-16 09:47:30 -03:00
Eduardo Bart 65c1867f55 login protocol cancel 2011-08-16 01:24:20 -03:00
Eduardo Bart 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 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 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 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 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 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 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