Commit Graph

172 Commits

Author SHA1 Message Date
Jerzy Skalski 1d77d202e6 Change uint to uint32 2017-05-13 13:14:25 +02:00
Jerzy Skalski 90de0dec04 Fix iptostring
Fix iptostring bug that blocks access to half of OTSes
2017-05-12 15:47:44 +02:00
Bruno Minervino 882be286d9 Update copyright year for 2017 2017-01-13 08:47:07 -02:00
Ranieri Althoff 2f1f62a916
Update copyright year for 2016 2016-07-09 22:11:34 -03:00
Konrad Kuśnierz ec9dafcfdf Fix #696 2015-12-05 16:23:09 +01:00
Gabriel Pedro 04b516a1a0 Update copyright for 2015 2015-03-04 10:36:51 -04:00
BenDol d7429c201c Started 1050 implementation and fix ups:
* Dat now loads (new animations aren't yet functional).
* Fixed the way we reference client versions.

TODO: Write new animation functionality & find out protocol changes.
2014-08-03 10:02:28 +12:00
BenDol 07ac5c27ca Added some missing lua functions. 2014-07-12 01:03:21 +12:00
BenDol 1baad726ae Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
BenDol 3ce37dacbd Removed onUnload from corelib and added more lua bindings for resources. 2014-04-02 05:20:18 +13:00
BenDol 8b3f3b11f0 Can now unload a Config by config:unload() 2014-04-02 02:34:12 +13:00
BenDol 2d84fae2c8 Can now create new configs on the fly using: local config = g_configs.create(file) 2014-04-02 01:54:13 +13:00
BenDol 547b18db9a Update copyright for 2014 2014-04-01 18:36:42 +13:00
BenDol b295053662 Finished stable implementation (as far as tested), still requires more testing. 2014-04-01 16:27:33 +13:00
BenDol 61059e66ec Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13:00
Shawak d20c263912 Ability to get buffer from inputmessage 2014-03-22 18:09:11 +01:00
Shawak 8179915e06 Ability to get buffer from inputmessage 2014-03-22 18:05:32 +01:00
Ahmed Samy 6745bff132 Introduce g_resources.getDirectoryFiles
This can recursively find files in a directory that's not in physfs search
path, this is needed for mapeditor needs, esp the file browser.

We do not want to limit users to the application run directory
so we have to use this.

This function uses boost filesystem.
Prototype:
	g_resources.getDirectoryFiles(directory STRING, filenameOnly BOOL,
	recursive BOOL)

filenameOnly is there if we want to just get the filenames in the
directory.
recursive if we want to loop directories in the directory.
2013-12-25 21:32:49 +02:00
Eduardo Bart b43a196eac Minor fixes and add auto resize for images 2013-03-15 21:59:22 -03:00
Eduardo Bart 392acc0b43 Try to fix compilation for gcc 4.6 [2] 2013-03-06 15:40:47 -03:00
BeniS a7b27ef8dd Forgot to add MySQLResult lua binding 2013-03-05 20:33:27 +13:00
BeniS f50c63e9e5 Removed singleton instance & added more lua bindings
* Some tidying up
2013-03-04 04:11:29 +13:00
Eduardo Bart 8314b84f69 Add live_textures_reload command 2013-03-01 05:46:55 -03:00
Henrique Santiago e85afd4b63 Platform modtime, little changes to entergame 2013-03-01 05:08:40 -03:00
Henrique Santiago 46aa0c005f Support to miniwindow margin, fix protocollogin connectCallback, pt translation 2013-02-27 23:45:03 -03:00
Eduardo Bart 06e2b6eca2 Platform fixes and rework ping 2013-02-24 22:16:45 -03:00
Eduardo Bart e4e3d7d053 New platform APIs and new OpenAL cmake 2013-02-22 16:53:49 -03:00
Henrique Santiago 11cb287a21 Changes to UIProgressBar, simplified healthinfo module 2013-02-09 19:57:37 -02:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Henrique Santiago 546007f1df UIImageView, fixes to minimap 2013-01-31 14:20:04 -02:00
Eduardo Bart 5bf03c50d6 Rework hotkeys manager, fix many issues on it 2013-01-30 18:28:54 -02:00
Eduardo Bart b7eef97239 Add flexibility in login packets
* It's now possible to add custom data in the login packet
* Add utility funciton to generate RSA keys
* Make the protocol able to use RSA keys with 2048 bits or more
2013-01-28 20:52:03 -02:00
Eduardo Bart 773837da98 Minor changes in file type handling 2013-01-27 23:23:53 -02:00
Eduardo Bart 4f8f02acad Rework auto focus behavior, closes #222 2013-01-26 17:06:25 -02:00
Eduardo Bart 07959ddc04 Fix a vulnerability in password encryption
* There was an error in the encryption used to save passwords,
  now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart a144174c41 Use push/pop mechanism for cursors 2013-01-25 11:47:51 -02:00
Eduardo Bart 3a47c4f2e1 Remake cursors, closes #219 and #237 2013-01-25 11:19:40 -02:00
Eduardo Bart 0a91fff82a Textedit improvements 2013-01-25 11:17:59 -02:00
Eduardo Bart d5b4e0929f Improvements in textedit and hotkey manager
* Set textedit's cursor position to the end of text in some situations
* Send hotkey messages to the current channel instead of default channel
* Allow to overwrite sprites using otml and pngs
2013-01-24 18:36:04 -02:00
Eduardo Bart 84dfd4f7f3 UITextEdit selection, closes #55 2013-01-20 11:38:02 -02:00
Eduardo Bart 9907e9e5c7 Fix particles and some fun in the background LOL 2013-01-19 18:24:59 -02:00
Eduardo Bart f389c3b3fe Widgets can now rotate :O 2013-01-19 14:44:07 -02:00
BeniS b68df8336a Minor fixes to some previous commits.
* Fixed a bug with storing the protocol version.
* Fixed an issue with text windows cancelling.
* Fixed a typo in the source.
2013-01-18 03:23:01 +13:00
Eduardo Bart 62cd3d04e1 Update sound engine with some sound fixes
* Refactor client module
2013-01-16 16:46:42 -02:00
Eduardo Bart 2e75380218 Reimplement text edit scrolling in C++
* And update some corelib APIs
2013-01-16 14:20:17 -02:00
Eduardo Bart cce2976156 Many enhancements in client API
* Fix issues in item use
* Stack animated texts values
* Add utility functions for changing creature color and jumping
* Add some new extended functionality
* Improve map shader API
2013-01-09 17:29:58 -02:00
Eduardo Bart 0120b7554c Restore support for animated png files
* Rework resource manager
* Add missing files
* Improve some graphics classes
2013-01-08 19:31:41 -02:00
Eduardo Bart 122577a916 Just rename some files
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
BeniS 3fa5993177 Changed scrollbar style, and some other changes:
* Changed the scrollbar style to look a bit nicer.
* Fixed a typo in the EventDispatcher class.
* Added PlayerStates to player.lua.
* Minor tweak to console tab spacing.
* Add unbinding key 'Ctrl+Shift+D' in the options.
2013-01-05 20:57:31 +13: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