2019-09-12 17:56:51 -07:00
|
|
|
/* Copyright (C) 2019 Wildfire Games.
|
2009-04-18 10:00:33 -07: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 14:24:53 -07:00
|
|
|
/*
|
2004-12-05 13:56:09 -08:00
|
|
|
Pyrogenesis.h
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
Standard declarations which are included in all projects.
|
|
|
|
|
*/
|
|
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#ifndef INCLUDED_PYROGENESIS
|
|
|
|
|
#define INCLUDED_PYROGENESIS
|
2003-09-21 14:24:53 -07:00
|
|
|
|
2011-03-23 07:43:35 -07:00
|
|
|
#include "lib/os_path.h"
|
2011-03-21 15:59:00 -07:00
|
|
|
|
2019-09-12 17:56:51 -07:00
|
|
|
extern const char* engine_version;
|
2015-08-01 16:03:13 -07:00
|
|
|
|
2015-07-26 18:08:15 -07:00
|
|
|
extern void psBundleLogs(FILE* f); // set during InitVfs
|
2011-03-23 06:36:20 -07: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 12:37:38 -07:00
|
|
|
|
2004-06-02 08:31:55 -07:00
|
|
|
#endif
|