Henrique Santiago
39403e612f
Fixes to miniwindows
12 years ago
Eduardo Bart
eec6114b2d
Optimize lua object push
...
* Optimize position hash
* Fix minimap reload
12 years ago
Eduardo Bart
fcd6d3cfe9
Minimap fixes
...
* Fix infinite loop while loading minimap
* Fix errors in FileStream class
* Remake OTCM map format
* Fixes in UIMap
12 years ago
Eduardo Bart
d39cf361ab
improve minimap
12 years ago
Eduardo Bart
aed779a2c8
doc and luabinder changes
12 years ago
Eduardo Bart
c5674d10ba
some refactoring
12 years ago
Henrique Santiago
a7c17cec2e
Save miniwindows states
12 years ago
Eduardo Bart
96c363d997
changes for otb compability
12 years ago
Henrique
857657d8a0
Fix popupmenu style, exitting on game
12 years ago
Henrique
db4ced65eb
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
12 years ago
Eduardo Bart
8761220deb
Refactoring and flexibility changes
...
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
12 years ago
Henrique Santiago
4bdcae2f8b
improvements to skins
12 years ago
Eduardo Bart
5a048eb7ea
Minor graphics fixes
12 years ago
Henrique Santiago
2d04d41f09
skins, not fully working
12 years ago
Eduardo Bart
4813b7eb4b
many changes
...
* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
12 years ago
Eduardo Bart
83f86eac64
experimental map shaders
12 years ago
Eduardo Bart
8cef6463b3
improve miniwindow moving
12 years ago
Henrique Santiago
bae578a35a
fix little mistake
12 years ago
Henrique Santiago
c28aff1aa6
console ignore npc messages option
12 years ago
Henrique Santiago
e7334566a2
improve miniwindow moving
12 years ago
Eduardo Bart
29dadb849e
add EGL to win32
12 years ago
Henrique Santiago
db59c73ed2
changes to progressrect
12 years ago
Henrique Santiago
52333f5d28
progress rect
12 years ago
Henrique Santiago
ea70b85c8b
close private msg when relogin
12 years ago
Don Daniello
11767fe421
Polish translation update
...
charset changed to latin1
12 years ago
Don Daniello
d2bfe90303
Polish translation
...
Polish language file added
Still need UTF-8 support to work
12 years ago
Eduardo Bart
1a2e97bb5e
show private message on screen
...
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
12 years ago
Eduardo Bart
95cf7eb788
graphics optimizations/fixes/features
...
* cache text vertex for StaticText, AnimatedText and Creature names
* improved outfit rendering
* fully compatible with OpenGL 1.1
* enable mipmaping for game sprites again
* Ctrl+W hotkey clean game texts
12 years ago
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
12 years ago
Henrique Santiago
4f9ca15ef0
bind clock, fixes to waiting list
12 years ago
Henrique Santiago
587db0d89f
changes to uiitem
12 years ago
Eduardo Bart
066ffead08
more fixes
...
* add default key combos to Hotkeys
* impement moving countable items holding Ctrl or Shift
* fix messagebox incorrent size
* implement API in Keyboard to get modifiers key states
* minor UI layout fixes
* add Ctrl+L logout hotkey
12 years ago
Eduardo Bart
486837a61d
minor fixes
...
* change chase mode while walking and attacking
* avoid lua errors in frame counter when starting
12 years ago
Eduardo Bart
48d243a11d
disable vsync by default
12 years ago
AndreFaramir
362ab0e1c6
fix conditions on reload
12 years ago
Eduardo Bart
70ea0361b6
new useful function, cycleEvent
12 years ago
Henrique Santiago
86cade0aa9
waiting list, u16 effects feature, protocolsend uses clientversion
12 years ago
Henrique Santiago
3cb5216858
protocol login working
12 years ago
Henrique Santiago
6b9943447a
protocol login at lua
12 years ago
AndreFaramir
3f18ffa475
no more prints plx -.-'
12 years ago
AndreFaramir
0d34af972e
fix on ruleviolation reason indexes
12 years ago
Eduardo Bart
023a4ebef6
performance improvements
12 years ago
Eduardo Bart
e5000fa577
encrypt password and account number
...
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password,
he will not be able to decrypt the password without the machine UUID key
* the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
12 years ago
Eduardo Bart
296f2a17c4
many modules fixes
12 years ago
Henrique Santiago
9548ce78c6
fix lua error, add pt translations
12 years ago
Henrique Santiago
fda3ae6809
fix scroll, container item size, tradewindow scroll, questlog window alignment, stop attacking same creature
12 years ago
Eduardo Bart
d49cad31e2
fixes in EGL platform
12 years ago
Eduardo Bart
079b7a5c41
allow to change graphics engine in options
12 years ago
Eduardo Bart
257f652bb7
more opengl graphics fixes
12 years ago
Eduardo Bart
59a80ffaf9
scroll when focusing widgets
12 years ago
Eduardo Bart
ba01909088
fix alpha blending issues
12 years ago
Henrique Santiago
6fce78d519
compile error, lua const
12 years ago
Eduardo Bart
bd2faabe99
graphics optimization feature inspirated by diablo3 engine
...
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
12 years ago
Eduardo Bart
4c80d783d6
rewrite and reoganize tools functions
...
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
12 years ago
Henrique Santiago
b0fd5b3ec8
removed extended ifdef, its now activated serverside
12 years ago
Henrique Santiago
4f90783789
extended opcode disabled by default. current locale is sent to server on login, bot protection exception
12 years ago
Henrique Santiago
6162d51958
gamelib_extended
12 years ago
Henrique Santiago
1203756baf
items draw rework, npc trade fix
12 years ago
Eduardo Bart
fa9c942471
basic protocol 953 support, logging in real tibia!
12 years ago
Eduardo Bart
abbd15b1c2
basic protocol 910 support
12 years ago
Eduardo Bart
e1fad92110
terminal tweaks
12 years ago
Eduardo Bart
3f2071d097
fix possible walk crash
12 years ago
Eduardo Bart
9abac474dd
style adjustment and fixes
...
* style adjustments, now window and button style
* fix bug when logging on a tile with too many creatures
* remove deprecated onLogin and onLogout events
12 years ago
Henrique Santiago
c0b6608453
fix npctrade buy with bps and ignorecapacity
12 years ago
Eduardo Bart
6495d74edd
restore outfit colors
...
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
12 years ago
Eduardo Bart
fea34a41ea
trade working
...
* use only mouse left release in checkboxes
* remvoe duplicated code in radiogroup
* implement player trade
12 years ago
Eduardo Bart
44cf5e20d3
begin some documentation in styles
12 years ago
Eduardo Bart
02c5e7b8ff
missing files
...
* add questlog icon
* add playertrade otui
* some protocol changes for extended messages
12 years ago
Eduardo Bart
788a831f24
bug report module
...
* change modules authors and website
* avoid anchors recursivity crash
* update README
12 years ago
AndreFaramir
69614da8cb
New module and changes
...
* Implementing rule violation interface
* New popup menu on console text messages
* Terminal and Console will no longer history double command/messages
12 years ago
Eduardo Bart
2f0a151fed
questlog module complete
12 years ago
Eduardo Bart
f290d821f1
textbooks module complete
12 years ago
Eduardo Bart
00740b56f3
begin playertrade, questlog and textbooks modules
12 years ago
Henrique Santiago
45d3097504
case insensitive to npc trade, private channels are now closing
12 years ago
Eduardo Bart
beaba25af1
UI tweaks
12 years ago
Eduardo Bart
3f689e0edf
optimize UIWidget for largers NPC trades
12 years ago
Eduardo Bart
ec9ea9e33d
minor warning fix
12 years ago
Henrique Santiago
96e35eeb1d
npctrade hooked events are now local, fixed extra disconnect
12 years ago
Henrique Santiago
37d943fc28
npctrade closing trade and focusing window
12 years ago
Henrique Santiago
170d4fd365
fixes to npctrade
12 years ago
Henrique Santiago
8d0f07255d
npctrade reworked, still need skin changes, and grey shader for items
12 years ago
Eduardo Bart
cc965bb77b
add libpng as dependency
...
* NOTE: you will need to download the new required libraries
12 years ago
Eduardo Bart
1c12bc3fb2
fix minor channels lua error
12 years ago
Eduardo Bart
b75483e9bf
fixes
...
* fix filestream read
* fix transparent minimap
12 years ago
Eduardo Bart
220701e90f
clean inventory when relogging
12 years ago
Eduardo Bart
a329deb8c5
fix a vip warning
12 years ago
Eduardo Bart
b1082121d4
add spanish locale, thanks Shaday
12 years ago
Eduardo Bart
b1e5fdc9ae
some cleanup in locales
12 years ago
Eduardo Bart
ceb051cb75
finally reloadable vip, skills, inventory, chat and minimap
12 years ago
Eduardo Bart
d0b839a4eb
fix warnings and some reloading issues
12 years ago
Henrique Santiago
da1baf9673
add more pt-br translations
12 years ago
Eduardo Bart
34091bc48e
implement all needed tr() for localization
...
* implement some pt-BR translations
* remove legacy about module
12 years ago
Henrique Santiago
ca0e1bd38b
more locales changes
12 years ago
Eduardo Bart
fae2cc6481
new scripting functionality
...
* dofiles functions to run all scripts inside a directory
* new style option ! that evaluates its value from a lua code
12 years ago
Henrique Santiago
12d75a765b
init locales module
12 years ago
Henrique Santiago
60495174a4
bot traceback, moveup function, chat setting default ongamestart
12 years ago
Henrique Santiago
c89665848d
some changes to npctrade. still needs another rev
12 years ago
Henrique Santiago
9afe4e012b
request trade
12 years ago
Henrique Santiago
49fbbf6506
move up menu, still need a higher level function
12 years ago
Eduardo Bart
7526315d12
new shortcuts
...
* Ctrl+Q logout from game
* Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report
* Ctrl+A clean the chat text box
* Ctrl+F toggles fullscreen mode
12 years ago
AndreFaramir
6db87aa78b
fixing my mistakes =x
12 years ago
AndreFaramir
50145ec6b8
implementing private chat channel basics
12 years ago
AndreFaramir
6d6534f57e
fix guild channel chat
12 years ago
AndreFaramir
c903cc7ec4
Some fixes
...
* Scrollbar on hotkeys window
* Guild channel will appears on channel list but not yet working properly
12 years ago
Henrique Santiago
dcefeb134c
remove print, fix creature name position
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
1d558bc412
make precompiled header work again
12 years ago
Eduardo Bart
c3eae3ba06
bind sound functions and add sample startup music
12 years ago
AndreFaramir
04c2e1d245
moving report to addons
12 years ago
AndreFaramir
6a0677fc26
report client info to server
12 years ago
AndreFaramir
057727f5af
hide npctrade on game end
12 years ago
AndreFaramir
638cce5081
some fixes and utils
12 years ago
AndreFaramir
94984e0795
new npc trade feature, show only holding items for sell tab
12 years ago
Eduardo Bart
1d2f6c7e9f
enable text-auto-resize for width
12 years ago
Eduardo Bart
2c53d0b1dc
hide minimap by default
12 years ago
AndreFaramir
685c730dda
removing debug line
12 years ago
AndreFaramir
dae7a8b5ad
optimizations and bug fixes on npc trade
12 years ago
AndreFaramir
b4940a6b33
fixing npc items on both lists
12 years ago
Eduardo Bart
5425d344ba
optimize widget destruction
12 years ago
Henrique Santiago
2f3c83e858
textedit maxlength, fix charlist status height
12 years ago
AndreFaramir
9ca09d9849
remove unnecessary file
12 years ago
AndreFaramir
9c038e2f39
implement npc trade interface
12 years ago
Eduardo Bart
92bd1aba54
optimize graphics performance
12 years ago
Henrique Santiago
c93732a44a
close channel event
12 years ago
Eduardo Bart
2e43a77d64
change mouse press behaviour
12 years ago
Eduardo Bart
2835a66bab
experimental minimap
...
* a lot of rework in MapView
* new APIs for UIMap
12 years ago
Henrique Santiago
fba5f188d7
items movement fixed, spinbox style changed
12 years ago
Henrique Santiago
8cc0aaae23
add scrollbar to channel list, closing channels fixed
12 years ago
Eduardo Bart
4f15da695c
optimizations
12 years ago
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
12 years ago
Eduardo Bart
6b020b94a4
left+right look for UIItem
12 years ago
Eduardo Bart
c33741d324
display unsupported extensions
12 years ago
Eduardo Bart
3a6bd8341d
open private messages by default
12 years ago
Eduardo Bart
d4afb71263
clean containers when relogging
12 years ago
Eduardo Bart
4b7e0e8e58
hide miniwindow scrollbar
12 years ago
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
12 years ago
Eduardo Bart
231ba17ba1
remove old unused game files
...
* and fix minor allocation leak
12 years ago
Eduardo Bart
7e6fe71b5e
new build types
...
* and remove uneeded files
12 years ago
Eduardo Bart
0ddaa234af
rework on UILineEdit
...
* allow multiline text editing
* rename UILineEdit to UITextEdit
12 years ago
Eduardo Bart
595cdc1bb4
fix some win32 hotkeys and change zoom hotkeys
12 years ago
Eduardo Bart
95e0a41b55
remove debug message, minor battle fix
12 years ago
Eduardo Bart
fa3d60a00a
minor fixes
12 years ago
Eduardo Bart
c13a5b5dab
fix crash and focus bug
12 years ago
AndreFaramir
20e32ad2a0
fixes on battle and buff condition tooltip
12 years ago
AndreFaramir
e0325c4c3b
removing debug messages =S
12 years ago
AndreFaramir
8a22b98d01
Fixes
...
* poison condition
* battle target outside screen view
12 years ago
AndreFaramir
fd2bc9fb77
add conditions viewer below healthbar, fix hotkeys autosend
12 years ago
Eduardo Bart
6ace984440
fix combobox
12 years ago
Eduardo Bart
a475384b73
ui fixes
...
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
12 years ago
Eduardo Bart
47e7eef716
implement more functionality
...
* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
12 years ago
AndreFaramir
15fce6d4cf
fix and remove lock
12 years ago
Eduardo Bart
f3e9fc7cd4
fix viplist issues
12 years ago
AndreFaramir
09e831ddc0
restoring use with functionality and hotkeys manager module
12 years ago
Eduardo Bart
fdba1379a7
fix
12 years ago
Eduardo Bart
0e46df3f29
fix useWith mouse conflict with resize borders
12 years ago
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
12 years ago
Eduardo Bart
a4cef0d390
fix possible mapview crash
12 years ago
Eduardo Bart
8c2a84b6be
motion blur for fun
12 years ago
Eduardo Bart
56d6cc2cc0
testing bloom and motion blur
12 years ago
Eduardo Bart
81dcd42fd1
some fixes
12 years ago
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
12 years ago
Eduardo Bart
e2ea267703
rework mouse events propagation
12 years ago
Eduardo Bart
92d535f981
improve scrolling
12 years ago
Eduardo Bart
668c4d98d9
win32 fixes
12 years ago
Eduardo Bart
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
12 years ago
Eduardo Bart
060c1cf8e7
ui changes
...
* create UIResizeBorder
* restore miniwindow
* scroll fixes
12 years ago
Eduardo Bart
ee869bb279
side panel splitter
12 years ago
Eduardo Bart
9309d6e7f3
some rework in UIWidget input
12 years ago
Eduardo Bart
532e8e3e39
chat line wrapping
...
* rework UIWidget text wrapping
* implement auto wrap
* fixes in console
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
d10a68613b
bind zoom hotkeys
12 years ago
Eduardo Bart
3aacd9d43c
console fixes
12 years ago
Eduardo Bart
fe86dc8050
real autowalking
...
* smart autowalking using A* path finding algorithm
12 years ago
Eduardo Bart
8bc63e25df
simplistic autowalk
...
* add simple and stupid autowalk algorithm
* fix issue in classic control
12 years ago
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
12 years ago
Eduardo Bart
b301aa1a2b
rework splitter implementation
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
159eb98df2
introduce startup options
...
* startup options with -help and -version
* many startup options for graphics
12 years ago
Eduardo Bart
f62f507813
just fixes
...
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
12 years ago
Eduardo Bart
4bac617fd9
some protocol 870 support
12 years ago
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
12 years ago
Eduardo Bart
26629cf77c
woops!
12 years ago
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
12 years ago
Eduardo Bart
b46d4c4d5f
non relevant changes
12 years ago
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...
12 years ago
Eduardo Bart
96358b317d
drag fixes
12 years ago
AndreFaramir
d0a5f27fcf
improving battle window and fixes
12 years ago
Eduardo Bart
c707f990bf
fix popupmenu, fix mouserelease events, fix connect
12 years ago
AndreFaramir
8545d15304
implementing battle window, need some improvements but its working
12 years ago
Eduardo Bart
a8c9980a5c
bind lua functions for questlog/npc trade/trade/channels/text edit/list edit/containers
12 years ago
Eduardo Bart
55fbb5f1a6
improvment in connect
12 years ago
Eduardo Bart
175f97b98f
reaname and cleanup many stuff
12 years ago
AndreFaramir
aff8c7717e
fixes and preparations for battle window
12 years ago
Eduardo Bart
1013ae279b
fix messagebox and rename some stuff
12 years ago
Eduardo Bart
619f751371
fixes in uicreature rendering
12 years ago
Eduardo Bart
09b3aa82df
add onGameStart/onGameEnd/onLogin/onLogout events
12 years ago