Age | Commit message (Collapse) | Author | Files | Lines |
|
This name represents the name of the client software, not the branding
it received.
Cleaned up the rest of the code a bit.
Reviewed-by: Jared Adams
|
|
Resolves: Mana-mantis #236.
Reviewed-by: Mpa4Hu.
|
|
Now the icon extension is computed against the os.
This means that the 'icons/mana' appIcon branding parameter
will now load icons/mana.png files for unices and mac,
and icons/mana.ico for Windows.
Reviewed-by: Trapdoor.
Resolves: Mana-Mantis: #135.
|
|
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.
|
|
Add portable option to windows installer.
Reviewed-by: Thorbjorn
|
|
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.
|
|
Enabled by default.
Can be disabled in configuration option "alphaCache" if set it to 0.
Reviewed-by: Bertram
|
|
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
|
|
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
|
|
For Linux OpenGL was already deactivated.
For OSX it is still by default switched on.
Reviewed-by: Jaxad0127
|
|
Reviewed-by: Jaxad0127
|
|
|
|
If server and port was given on the command line, then the server type
was unknown. The command line options do work now, but only if standard
ports 6901 and 9601 are used.
This resolves http://bugs.manasource.org/view.php?id=177
TODO: Query the server about itself and choose the server type based on that.
Reviewed-by: Jaxad0127
|
|
|
|
data/paths.xml configuration file.
Also added default gui theme path in branding and default wallpaper path
and file searched respectively in the branding and paths.xml files.
Hard-coded values are still used as fallbacks.
Resolves: Manasource Mantis #148.
Reviewed-by: jaxad0127.
|
|
Also fix a small compilation error sometimes reported.
Reviewed-by: Chuck Miller
|
|
|
|
This greatly simplifies handling DBs when changing states. No more
need to manage unloading in Client (except when exiting).
Reviewed-by: Thorbjørn Lindeijer
|
|
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Freeyorp
|
|
Add variable cur_time for current time.
Add command /away [text]
Reviewed by: Bertram
|
|
Latest two patches reviewed by Jaxad0127.
|
|
Reviewed-by: Bertram
|
|
|
|
Also do some cleanup that's been needed for a while.
Reviewed-by: Bertram
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Bernd Wachter
|
|
Reviewed-by: Chuck Miller
|
|
Reviewed-by: Chuck Miller
|
|
Themes can now control the colors they use. Colors in the Viewport (being
names, particles, etc) can still be changed by the user. Also make
ProgressBars more easily colored. DyePalette was made more flexible in the
process.
Also fixes comparing strings of different lengths insensitively.
Reviewed-by: Thorbjørn Lindeijer
|
|
Also merge the guialpha ConfigListener into Theme.
Reviewed-by: Thorbjørn Lindeijer
|
|
|
|
Reviewed-by: Chuck Miller
|
|
Reviewed-by: Jared Adams
|
|
The older gray theme and the new wood theme are available as themes.
The gray theme needs some new graphics for hilights.
Add a theme option for branding and add path/to/branding/data to the
PhysFS search path.
Reviewed-by: Thorbjørn Lindeijer
Reviewed-by: Chuck Miller
|
|
By initializing the configuration before starting to log, so that we can
take into account the logToStandardOut setting.
Reviewed-by: Jared Adams
|
|
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
With help from Jared.
Reviewed-by: Jared Adams
|
|
|
|
Reviewed-by: Jared Adams
|
|
Some settings are set after the old position.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Under Windows try to place the screenshots in the `My Pictures' directory,
and use Desktop as a fallback.
On all platforms, add a Suffix to the screenshot directory path to avoid
cluttering the Desktop/...
Usage of suffix/suffix content/path are configurable.
Create the screenshot directory if it does not exist, and fall back to saving
screenshots in the users home directory if it could not be created.
Reviewed-by: Jared Adams
|
|
Reviewed-by: Jared Adams
|
|
Logger now logs to stdout by default, and allows logging without
having a log file open. This allows using logger for error logging
in early startup functions.
Reviewed-by: Jared Adams
|
|
Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
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: ...
|