Commit Graph

1625 Commits

Author SHA1 Message Date
otfallen ced5c035b9 optimize otb/xml a bit.
m_itemTypes was being resized too much than expected so is allocin
new itemtype each time it was not being found (which is fake).

otb loader is slow, not sure if it's because of the binary reader
or just the file format is stupid
2012-10-05 20:31:05 +00:00
Eduardo Bart 526885f70d Fix issue #14 2012-10-05 15:17:10 -03:00
Samuel 6c2539bbd4 Added support for curly braces in NPC chat
-Added overlay to the default consoleBuffer for highlighting
-Char 127 now is used as spacer (Width 1)
-Supports default font "verdana-11px-antialised"

http://i.imgur.com/8drWH.png
2012-10-05 17:50:54 +02:00
Eduardo Bart 737001264d Update version to 0.5.4 2012-10-04 20:33:10 -03:00
Eduardo Bart 58d3a2ec72 Fix issue #99 2012-10-04 19:58:22 -03:00
Eduardo Bart 394f7a7821 Fix issue #104 2012-10-04 19:50:18 -03:00
Eduardo Bart 7b38e44382 Fix issue #105 2012-10-04 19:44:48 -03:00
Eduardo Bart 8119428d41 Fix issue #90 2012-10-04 19:35:02 -03:00
Eduardo Bart 68f9af376f Fix issue #103 2012-10-04 19:18:48 -03:00
Eduardo Bart 393f8c7a9b Fix glitch in battle when creatures walk 2012-10-04 18:42:10 -03:00
Eduardo Bart d1812ae695 Fix hotkeys error when selecting items from map 2012-10-04 16:08:12 -03:00
Eduardo Bart 0e80d1bb0d Merge pull request #107 from TheSumm/master
Fix: Scrolling up over empty lines.
2012-10-03 09:19:02 -07:00
TheSumm faa6a51ac4 Update modules/game_textwindow/textwindow.lua
Scrolling over empty lines fixed.
2012-10-03 19:03:56 +03:00
Eduardo Bart 087b29cd14 Merge pull request #106 from TheSumm/master
Improved behavior to textwindow scrollbars
2012-10-03 08:54:51 -07:00
TheSumm d75841e085 Update modules/game_textwindow/textwindow.lua
Improved behavior
- Up / Down will move the whole screen 1 line up / down
- If scrollbar is at the end and Up / Down is pressed it will move the cursor in the right direction
- You can't change the line by using Left / Right key (to remove bugs with scrollbar)

Bugs:
When editing the text (adding new lines / removing line) the scrollbar doesn't update
2012-10-03 18:51:07 +03:00
Eduardo Bart 31efe0a82d Fix crash when closing otclient in debug mode 2012-10-03 12:49:57 -03:00
otfallen b50eecc779 Merge https://github.com/TheSumm/otclient 2012-09-30 10:24:07 +00:00
TheSumm f514460589 Textwindow.lua update for scrollbars 2012-09-30 06:16:57 +03:00
TheSumm d902a13e1c Textwindow.otui update for scrollbars 2012-09-30 06:16:15 +03:00
otfallen 9650179ae8 More Mac OS X progress.
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 23:08:10 +00:00
otfallen f0e85e21b3 Mac OS X port progress
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 22:57:14 +00:00
otfallen 3b7ad41740 Spare a call yeye 2012-09-29 16:48:01 +00:00
otfallen e1900bdf9a binarytree: type fix 2012-09-28 07:24:49 +00:00
otfallen 655b5a8ce4 Update README 2012-09-27 08:09:13 +00:00
otfallen 3902490d6b Minor changes 2012-09-24 13:59:23 +00:00
otfallen 4d6057ffbe Yet another set of fixes 2012-09-24 12:11:01 +00:00
otfallen 7f6b204ded tiny perf fix 2012-09-23 01:19:12 +00:00
Eduardo Bart 8f9d7593d6 Merge map branch 2012-09-20 18:45:43 -03:00
otfallen fe3a751ffa Fixes to creatures 2012-09-20 23:23:10 +00:00
otfallen baceba74b9 Minor changes 2012-09-19 07:13:45 +00:00
otfallen 4d0725e876 Fix creature outfit
typeex wasn't being treated right; the outfit category was supposed
to be an itemid and the aux id should be set to the item id of the
outfit.

Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 09:14:55 +00:00
otfallen d89dbec9e8 Merge branch 'master' of github.com:edubart/otclient 2012-09-18 05:23:58 +00:00
otfallen 1156059af1 Bind missing C++ functions into lua
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 05:23:31 +00:00
A. Samy 5d5a7fcc76 Update README.md
Added Travis build status image.
2012-09-17 04:47:00 +00:00
otfallen 68d2347ee5 Fix creatures not being cleared at exit (caused a segfault).
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-17 02:29:54 +00:00
otfallen a40594752d Fix segfault on exit cause by creatures not being cleared. 2012-09-17 02:15:46 +00:00
otfallen 054938af90 Merge branch 'mape_maint' 2012-09-15 05:06:33 +00:00
otfallen bfa0844de1 TiXmlElement can already Set integer attribs. 2012-09-15 05:05:45 +00:00
otfallen 554292e46b Tiny fix to UICreature
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-15 05:01:49 +00:00
otfallen b7721f6856 Tiny fix to UICreature 2012-09-15 05:00:56 +00:00
otfallen 29ec07efb4 tiny fix to my last commit... used for testing 2012-09-15 03:53:24 +00:00
otfallen f5cbb62eff Fix characterlist being destroyed on ESC pressed closes #93
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-15 03:51:53 +00:00
otfallen eb7a11158a XML saving and minor fixes + code refactoring.
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-14 21:39:10 +00:00
Eduardo Bart 1ecaca82b7 Remove forum from README
Sadly I can't maintain a forum anymore, users should use otland
2012-09-12 11:04:54 -03:00
Eduardo Bart f491bf288f Fix some issues in text window 2012-09-05 21:37:52 -03:00
Eduardo Bart c2bbff5113 Fix issue #87 2012-09-05 16:53:48 -03:00
Eduardo Bart 6f2255071c Fix issue #86 2012-09-05 16:33:36 -03:00
Eduardo Bart 7ab2c02c79 Update README.md 2012-09-04 00:52:35 -03:00
Eduardo Bart a8771e86ad Fix bug when closing character list 2012-09-04 00:42:22 -03:00
Eduardo Bart 4c3b284f0e Fix lua error in stats module 2012-09-03 22:55:02 -03:00