summaryrefslogtreecommitdiff
path: root/src/client.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26Fix configuration saving on exit.Andrei Karas1-2/+3
Some settings are set after the old position. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-02-26Use MYPICTURES on windows, add config parameter for screenshot directoryBernd Wachter1-9/+47
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
2010-02-25Add support for platform specifig config/data directories #84Bernd Wachter1-19/+47
Reviewed-by: Jared Adams
2010-02-25Use recursive mkdir for config directories, fix log initializationBernd Wachter1-9/+5
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
2010-02-24Added the possibility to pass a branding file by command line. Reviewed-by: ↵Philipp Sehmisch1-1/+4
Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-23Fixed compile on WindowsThorbjørn Lindeijer1-1/+1
Reviewed-by: Bernd Wachter
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-0/+1152
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: ...