2021-01-10 09:39:54 +01:00
|
|
|
/* Copyright (C) 2021 Wildfire Games.
|
2009-04-18 19:00:33 +02:00
|
|
|
* This file is part of 0 A.D.
|
|
|
|
*
|
|
|
|
* 0 A.D. is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* 0 A.D. is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2003-09-21 23:24:53 +02:00
|
|
|
/*
|
2004-12-05 22:56:09 +01:00
|
|
|
Pyrogenesis.h
|
2003-09-21 23:24:53 +02:00
|
|
|
|
|
|
|
Standard declarations which are included in all projects.
|
|
|
|
*/
|
|
|
|
|
2007-05-07 18:33:24 +02:00
|
|
|
#ifndef INCLUDED_PYROGENESIS
|
|
|
|
#define INCLUDED_PYROGENESIS
|
2003-09-21 23:24:53 +02:00
|
|
|
|
2020-12-09 15:39:14 +01:00
|
|
|
class Path;
|
|
|
|
using OsPath = Path;
|
2011-03-21 23:59:00 +01:00
|
|
|
|
2019-09-13 02:56:51 +02:00
|
|
|
extern const char* engine_version;
|
2021-01-10 09:39:54 +01:00
|
|
|
extern const char* main_window_name;
|
2015-08-02 01:03:13 +02:00
|
|
|
|
2015-07-27 03:08:15 +02:00
|
|
|
extern void psBundleLogs(FILE* f); // set during InitVfs
|
2011-03-23 14:36:20 +01:00
|
|
|
extern void psSetLogDir(const OsPath& logDir); // set during InitVfs
|
|
|
|
extern const OsPath& psLogDir(); // used by AppHooks and engine code when reporting errors
|
2009-08-01 21:37:38 +02:00
|
|
|
|
2004-06-02 17:31:55 +02:00
|
|
|
#endif
|