Eduardo Bart
68ebcb559f
Fixes for compiling with clang
2012-07-29 09:04:47 -03:00
Eduardo Bart
73769c62e4
Just some refactoring
2012-07-29 07:32:54 -03:00
Eduardo Bart
29a4d467af
Optimize map tile storage
...
Tiles are stored in blocks of 32x32 now, improving tile allocation and access speed
2012-07-29 03:23:27 -03:00
Eduardo Bart
e0431021b5
Huge engine change, replace all std::shared_ptrs
...
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr
Advantages:
* half memory usage
* faster and lightweight
Disadvantages:
* using weak_ptr is not supported anymore
* compiling seems slower
2012-07-29 00:34:40 -03:00
Eduardo Bart
3ca6494343
Remove unused func
2012-07-28 20:45:16 -03:00
Eduardo Bart
17dd08d983
More compatibility with OS X in CMake
...
Optimize Tile
2012-07-28 16:04:40 -03:00
BeniS
6c281a828c
Market fixes for creating offers, got Tibia working properly with market, fixes to statistics.
2012-07-29 01:41:10 +12:00
Eduardo Bart
497902736c
Enable widget debugging
2012-07-28 08:43:48 -03:00
Eduardo Bart
4566472662
Allow to use more than 2GB of memory on win32
2012-07-28 03:24:40 -03:00
Eduardo Bart
20314de00a
Fix corelib tr
2012-07-28 02:29:26 -03:00
Eduardo Bart
d85dd3e20f
Normalize source code
...
Add .gitattributes
Remove trailing whitespaces
2012-07-28 02:07:57 -03:00
niczkx
a240429cb8
Fix possible gcc optimizations to binary reading
2012-07-28 02:54:25 -06:00
niczkx
26e20da938
Fixes to creatures
2012-07-28 02:06:16 -06:00
Eduardo Bart
a88e9f9e0f
Avoid crashs of invalid item ids in otb files
2012-07-27 18:25:41 -03:00
BeniS
7aba117cf2
More market work (getting close to completion)
...
* Can now create market offers with fully working UI.
* All filtering is now completed (just need to finish word searching).
* Added some user friendly features to offer selections and item displays (show amount in depot).
* Some more UI ascetics.
* Some other minor market fixes.
TODO:
* Finishing applying changes for latest module updates by edubart.
* Finish buying/selling existing offers.
* Word searching items.
* Offer management.
* Full cipsoft tibia testing.
2012-07-27 15:53:42 +12:00
Eduardo Bart
2b2f5b33ff
Fix hidden npc messages
2012-07-26 20:36:51 -03:00
Eduardo Bart
564463fa01
Minimize talk messages spam on screen
2012-07-26 19:56:46 -03:00
Eduardo Bart
964c73a6ad
Debug unknown message modes
...
Fix broadcast message mode
2012-07-26 19:32:23 -03:00
Eduardo Bart
d2b85bdba8
More modules fixes
2012-07-26 19:13:47 -03:00
Eduardo Bart
5f1e58c138
Fix sending os type, bind some functions
2012-07-26 13:41:13 -03:00
Eduardo Bart
f5c97c8e8b
Remove protocol config from cmake
2012-07-26 12:58:35 -03:00
Eduardo Bart
9ad9d88e10
Fix npc trade and npc chat
2012-07-26 12:42:15 -03:00
Eduardo Bart
0a49f58e50
Fix crash when InputMessage is too large
2012-07-26 11:03:57 -03:00
Eduardo Bart
619305cc6d
Fix creatures with item outfits
2012-07-26 10:48:35 -03:00
Eduardo Bart
0eb7c166c0
Fix console blue messages
2012-07-26 09:19:30 -03:00
Eduardo Bart
657640c270
Mounts
...
Show creature mounts
Fix outfit window
Fix some 9.6 protocol issues
2012-07-26 09:19:30 -03:00
BeniS
5419eece66
Some minor fixes
...
* UISpinBox bug with minimum/maximum
* Some fixes to UITable
* Fixed force exit bug.
* Added new next/previous ui buttons.
2012-07-26 22:22:53 +12:00
Eduardo Bart
36c029fc69
Multiprotocol 8.1-9.6 finally working
...
Still have many minor issues, tests are needed
No recompilation needed anymore
9.60 messages is not fully implemented
2012-07-26 06:12:20 -03:00
Eduardo Bart
98c279c10b
Fix a stackpos bug in 9.6
2012-07-26 03:19:22 -03:00
Eduardo Bart
c795eb91ab
More multiprotocol support
2012-07-26 03:10:28 -03:00
niczkx
e393bc245d
BeniS made tests, loop is faster.
2012-07-24 17:02:56 -06:00
niczkx
45d55b63d9
typo
2012-07-24 14:00:38 -06:00
niczkx
1e2af86d16
http://lua-users.org/wiki/StringsTutorial learn plz *facepalm*
2012-07-24 13:49:19 -06:00
Eduardo Bart
bb52608cda
Fixes for last commit
2012-07-24 02:41:59 -03:00
Eduardo Bart
c54cd1fdf1
Use new coding style in game modules
...
Lots of refactoring and changes
Remove docs folder
2012-07-24 02:30:08 -03:00
Eduardo Bart
1c3e630237
Improve modules and sandbox system
2012-07-23 21:22:38 -03:00
Eduardo Bart
61d64c7417
Support for OTML inline sequences
2012-07-23 17:51:19 -03:00
BeniS
19dd96fd02
Market item filtering improvements and other some minor improvements
...
* Can now filter market items by vocation, level, slot type, and depot items.
* Added new bitwise lib for handling flag operations.
* Can now get/set local player vocation/premium (TODO: spell list).
2012-07-24 03:11:53 +12:00
Eduardo Bart
dc8ef845ab
Warn redefined key bindings
2012-07-23 01:44:15 -03:00
Eduardo Bart
c9dce51458
Update otml and casts
...
Improve casts performance
OTML can now understand value escaped sequences
Use long instead of int for lua integer
2012-07-23 01:33:37 -03:00
Eduardo Bart
253a22db3d
Bind Creature::getDirection
2012-07-22 19:29:21 -03:00
BeniS
bacb324f9e
Work on the Market Interface (feel free to test it out so far, can't purchase items through the UI yet), More on UITable (needs work on headers still).
...
* Tables can now have headers (the layouts will require some more work before read to be used formally).
* Finished Market offers display, Item details display, and Item statistics display.
* Added getSelectedWidget to UIRadioGroup class.
Market TODO:
* Create buy/sell offer.
* Purchase sale offer or accept purchase offer.
* More item filtering features (weapons, types, depot only, vocation, etc).
* Item searching feature.
* View your offers (history/current).
* UI touch ups and optimizations.
2012-07-23 02:02:01 +12:00
BeniS
76c7bf45bd
More on UITable and the Market.
2012-07-22 05:17:03 +12:00
BeniS
9c8134c8a6
Some performance fixes, added UITable widget for easy tables (needs more work still), Worked on Market order displaying.
2012-07-22 00:15:29 +12:00
niczkx
3461761739
comment out & remove untested stuff
2012-07-20 21:18:03 +02:00
niczkx
8a49d09b75
stop using pairs instead of index loops, please, it's so much slower
2012-07-20 20:56:08 +02:00
BeniS
483487ab09
More work on Market functionality and UI
...
* Now loads all market items.
* Can filter market items.
* Will load market offers on items.
* Edited some UI images.
2012-07-21 06:20:06 +12:00
Eduardo Bart
49f4c1c94b
Fix market tradeAs/showAs reading
2012-07-20 03:32:17 -03:00
Eduardo Bart
a11d6e501e
More refactoring and some changes
...
* Move protocol safeSend() to send()
* Bind some new functions
* Refactor lots of enums
2012-07-20 02:52:57 -03:00
Eduardo Bart
a6d53532d2
Rename ThingType classes
2012-07-19 22:25:55 -03:00