Age | Commit message (Collapse) | Author | Files | Lines |
|
The compiler gave two times the warning:
comparison between signed and unsigned integer expressions.
Reviewed-by: thorbjorn
|
|
Reviewed-by: Kage
|
|
It was renamed and duplicated to "ambientlayer"
|
|
|
|
By default OK shortcut is space key.
Reviewed-by: Jaxad0127, Kage
|
|
Since the tile coordinates are already avaible the
calculation is not needed. Furthermore this avoids
the correction of the tile, which was needed because
the pixel coordinates are meant as coordinates for
drawing the being.
This resolves http://bugs.manasource.org/view.php?id=249
Reviewed-by: Thorbjorn
|
|
transparency'.
That name is more explicit about what it actually does.
Reviewed-by: CodyMartin.
|
|
- Now OpenGL and the transparency disabling are set at startup and
not read again for displaying graphics, preventing graphic errors
before startup.
- We also agreed long time ago that SDL specific functions
should have a SDL prefix. The header has been rearranged a bit
to do so.
- Also fixed a possible discrepancy in the hasAlphaChannel() function.
Reviewed-by: CodyMartin.
Resolves: Mana-Mantis: #260.
|
|
Reviewed-by: cody
|
|
Add portable option to windows installer.
Reviewed-by: Thorbjorn
|
|
Trivial fix.
|
|
Reviewed-by: Bertram, Thorbjorn
|
|
Removing mana-ea.rc, because it was the same as mana.rc.
Reviewed-by: Aard, Bertram
|
|
It is used only by tmwa handlers.
Trivial fix.
|
|
|
|
This resolves: http://bugs.manasource.org/view.php?id=51
Reviewed-by: Bertram
|
|
This disables the Image::setAlpha() function, which
uses 60% of the client's CPU cycles.
When enabled, visual quality is slightly decreased,
especially with the particle system.
Toggling this setting On from an Off state requires
a client restart or the graphics look quite funny.
Bertram's addition:
- Renamed 'Low CPU' to 'Disable transparency (Low CPU)' in the gui
for better understanding.
- Removed the sprite display with 30% opacity when disabling
transparency since it made monsters and drops be drawn above all layers
at full opacity.
- Made the OpenGL mode disable the 'low CPU mode'.
- Fixed the GUI logic as much as possible. Please note that the GUI opacity
slider stays enabled when transparency is disabled even if told to be disabled
in that case.
Reviewed-by: CodyMartin, 4144, MadCamel.
|
|
Reviewed-by: Bertram
|
|
Add colors:
Local Player Hits Monster
Local Player Critical Hit
Local Player Miss
Reviewed-by: cody
|
|
Reviewed-by: cody
|
|
Enabled by default.
Can be disabled in configuration option "alphaCache" if set it to 0.
Reviewed-by: Bertram
|
|
Reviewed-by: Bertram
|
|
This could potentially leak confidential information.
Reviewed-by: cody
|
|
Following Rotonen's advise to "make anything and everything you
can think of recolorable", a theme can now define colors for
PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because
the requirements for a color of a chat tab and of a player name
are quite different.
TODO: When guild support gets enabled, then have a look at the
colors for guilds.
Reviewed-by: 4144
|
|
Switch login gets you stuck at the ConnectionDialog. That
happens because logout is not implemented.
TODO: Implementing proper logout.
This resolves http://bugs.manasource.org/view.php?id=225
|
|
With the preprocessor definition MANASERV_SUPPORT the manaserv
support is avaible as before.
* Removing server type from server dialog GUI.
* Ignoring Manaserv entries in serverlist.xml.
* In order not to lose Manaserv CustomServers from the config.xml,
they get stored in mManaservServers.
* The entries in mManaservServers are saved in config.xml again. But
they are now behind the TMWA-Athena servers.
* For custom server the GUI sets 6901 as default value for port.
* If the server type is unknown, then we use TMW-Athena. This is
relevant, if the client is started with command line options for server.
Reviewed-by: Bertram
|
|
* Shortening option names that got cropped in video setup
* Moving options to the left hand side in player setup, because
they looked like they belong to the "when ignoring" part.
Reviewed-by: Bertram
|
|
As an upcoming feature the TMW-Athena server sends IP addresses or
IP hashes to game masters. The current client freezes if it receives
such a packet, therefor the game masters need to use a new client before
the server can use it. Normal players are not affected, because they
do not get this packet.
Showing the IP is optional and can be enable with the chat command
"/showip 1". The IP is then shown behind the players name.
Reviewed-by: Bertram
|
|
Reviewed-by: Jaxad0127
|
|
If config variable screenshotDirectory has national symbols in it, the
client could not read cofig.xml, and always used default settings.
In order to get ready for a client release, now the config.xml does not
save the screenshot folder. The --screenshot-dir commandline option
is working as before, the value is just not permanent anymore. This
makes actually sense, since the options for update folder and config
folder are not permanent either.
This resolves http://bugs.manasource.org/view.php?id=112
Reviewed-by: Jaxad0127
|
|
Removed due to unresolved social issues.
In master it had been already removed by Kage in
commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
|
|
If the player wanted to pick up an item one tile up,
then he moved to that tile before he picked it up.
The same fix is already used in Game::handleInput() for KEY_PICKUP.
TODO: Understand why the position is wrong. As a reminder I made a
mantis ticket: http://bugs.manasource.org/view.php?id=249
|
|
Reviewed-by: Jaxad0127
|
|
When a player clicked on a tile in order to
go to it, then he went to the wrong tile.
Trivial fix.
|
|
Reviewed-by: Jaxad0127
|
|
How to reproduce the bug:
* Press button Leave in social window.
* In the confirm dialog press No.
* Then switching character makes the client crash.
Trivial fix.
|
|
Until now the being was only set after a mouse move. If the mouse was
pressed after the being was out of sight or dead, then a segmentation
fault happened. Furthermore, pressing the mouse now updates the cursor
type and sets the being popup invisible.
Reviewed-by: Thorbjorn
|
|
If no name is given, then the player obviously didn't want to create it.
Now the empty input is handled just the same way as in the invite dialog.
Trivial fix.
|
|
Reviewed-by: Thorbjorn
|
|
Reviewed-by: Thorbjorn
|
|
Parse chat lines in BrowserBox once after changes.
Reviewed-by: Thorbjorn
|
|
Reviewed-by: Thorbjorn
|
|
Click-count is not double-click, because it does neither check if the
clicks happen on the same object nor if the clicks happen in rapid
succession.
* In the server dialog it can happen that you can get connected by
just selecting a server.
* In the social window it can happen that you open a chat by just
clicking once on a name.
* In the inventory window you better only select useable items if you
want to use them, because they might get used by just selecting them.
* And in case you actually want to use double-click, it often does
not work, because click-count is already larger than 2.
This reverts the commits:
8b4d9f9b5eaf175baf0c4209c312133bb457742c
b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925
4c27bfbf6ca84546e5b914b7909df14dd2966081
Reviewed-by: Thorbjorn
|
|
This log message shows up in mana.log: "Unhandled packet: 7c".
Later, the client will have to actually take care of it, though.
Reviewed-by: Bertram, jaxad0127.
|
|
Reviewed-by: Thorbjorn
|
|
The short option for the server -s did not work.
Reviewed-by: Thorbjorn
|
|
For Linux OpenGL was already deactivated.
For OSX it is still by default switched on.
Reviewed-by: Jaxad0127
|
|
Reviewed-by: Jaxad0127
|
|
The SlotsBar is updated, if InventoryWindow::slotsChanged() is called.
This did not happen when an item disappeared from the inventory, because
of using it. Then the item quantity was just set to 0, but the SlotBar
was not notified.
Reviewed-by: Jaxad0127
|
|
The sound effects did not get played, because the path was wrong.
Reviewed-by: Turmfalke
|