Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
enforced by -std=c++0x
Reviewed-by: Thorbjørn Lindeijer
|
|
Another case of M_PI being no longer defined in cmath.h
_MAX_PATH doesn't work anymore, but there is still MAX_PATH
putenv doesn't work anymore, so I replaced it with a function from the
WINApi
Reviewed-by: Thorbjorn
|
|
They are more confusing than helpful. Users of these options would
likely set up a shortcut or alias already anyway.
|
|
Also changed '--chat-log-dir' to use -T as short form, to avoid conflict
with -l option used by ManaPlus.
|
|
Conflicts:
src/actorspritemanager.h
src/beingmanager.cpp
src/game.cpp
src/gui/beingpopup.cpp
src/gui/chat.cpp
src/gui/chat.h
src/gui/inventorywindow.h
src/gui/itempopup.cpp
src/gui/socialwindow.cpp
src/gui/statuswindow.cpp
src/gui/widgets/chattab.cpp
src/gui/widgets/chattab.h
src/net/tmwa/inventoryhandler.cpp
src/net/tmwa/partyhandler.cpp
src/party.cpp
src/sound.cpp
src/utils/stringutils.cpp
src/utils/stringutils.h
|
|
The short option for the server -s did not work.
Reviewed-by: Thorbjorn
|
|
Conflicts:
mana.cbp
mana.files
src/CMakeLists.txt
src/Makefile.am
src/utils/xml.cpp
|
|
Error details from libxml2 are no longer ignored and are properly
logged now. XML initialization code is now in the XML namespace.
The XML::Document constructor that took a data pointer was removed
because it wasn't being used and it would make the new logging less
useful (no filename).
Signed-off-by: Chuck Miller
|
|
Reviewed-by: Thorbjorn.
Resolves: Manasource Mantis #136.
|
|
Add option in players setup page.
Add command line option.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
|
|
Reviewed-by: Jared Adams
|
|
They don't have to be specified, so we can leave them out for rarely
used options or those for which a single character is rather unclear.
Also gave them a bit nicer order, since alphabetical doesn't make much
sense.
Reviewed-by: Jared Adams
|
|
Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
Reviewed-by: Bernd Wachter
|
|
Reviewed-by: Bernd Wachter
|
|
Much code was moved from main() to the new Client::exec(). This new
event loop now integrates with the Game class, so that the tick counter
and framerate limiter apply universally.
The Client class is also responsible for some things that used to be
global variables.
Mantis-issue: ...
|
|
|
|
The fact that it's the client is not interesting to most people.
|
|
|
|
Ownership of the charInfo global variable wasn't well defined. It was
being locked, unlocked and generally modified from a lot of places, and
somewhere in this mess it ended up crashing when switching servers.
Now the CharHandler instances, for eAthena and manaserv respectively,
own this list of characters. A new class, Net::Character wraps up the
slot index in combination with the player dummy. The list is passed on
to the CharSelectDialog each time it changes.
Both related and unrelated cleanups were made as well.
Reviewed-by: Jared Adams
|
|
Mantis-issue: 1
|
|
No longer a dialog with an annoying progress bar (due to going back and
forth), but rather a progress indicator that integrates better with the
background.
|
|
Also added the update copyright tool from the Wormux Team.
( And not forgetting credit's due. :P )
|
|
They got replaced by the ConnectionDialog.
|
|
Also show it when trying to login and when getting the list of
characters, both of which are situations in which we are waiting for the
server to respond.
I hope I got the previous state thing right.
|
|
There was little point in keeping the Engine class separate. It wasn't
an engine at all, but only kept track of the currently active map, a job
more suitable for the Game class anyway.
|
|
|
|
The --help options tells:
-D --default : Choose default character server and character
The client now choose the defaulted last character entry when --default is set.
The --character option still has precedence.
Also added a return value to the CharSelectDialog->chooseSelected() function while on it,
in case of someone willing to add errors handling at this stage.
|
|
Also remove some extra new lines and fix eAthena's PartyTab define guards.
|
|
|
|
|
|
cbc14c8a3c6614987d2331057e114d92336cbac0, where updates are loaded even if the -d option is given
|
|
download music optionally
I had to edit the XML wrapper a bit, basicilly its constructor can now take a optional
thrid arguement which will tell it to use a resman or open the file directly
Also I added fallback support for the old resouce2.txt so servers don't have to
upgrade if they do not want to
|
|
This resolves http://bugs.manasource.org/view.php?id=37
|
|
For all operating systems screenshots are now saved in ~/Desktop.
If this folder does not exist, then the user's home is used.
The players can change this with the new option --screenshot-dir.
This patch is for http://mantis.themanaworld.org/view.php?id=969
|
|
Enter and Escape now move forward and backwards for all dialogs except ServerSelectDialog (Escape quits) and CharSelectDialog (Enter doesn't do anything special).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And revert commit 30db6c4375f932370d4fce0c5b35a0cab93a2a18.
|
|
It was just forwarding to disconnect().
|
|
|
|
Was introduced in d5d10a30ceb4a9d6bbb19fe8cbcf878cd841cd53. In
particular, the progress bar was not initialized to 0, even though it is
checked for 0 later on and used if it isn't 0.
Thanks to 4144 for reporting this issue.
|
|
|
|
reverting what was made in main.cpp about it.
|