2009-04-18 10:00:33 -07:00
|
|
|
/* Copyright (C) 2009 Wildfire Games.
|
|
|
|
|
* 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/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2010-02-17 15:21:49 -08:00
|
|
|
#ifndef PS_UTIL_H
|
|
|
|
|
#define PS_UTIL_H
|
|
|
|
|
|
2011-02-10 08:06:28 -08:00
|
|
|
#include "lib/file/vfs/vfs_path.h"
|
|
|
|
|
|
|
|
|
|
struct Tex;
|
|
|
|
|
|
2006-04-23 16:14:18 -07:00
|
|
|
extern void WriteSystemInfo();
|
|
|
|
|
|
|
|
|
|
extern const wchar_t* ErrorString(int err);
|
|
|
|
|
|
2011-03-23 06:36:20 -07:00
|
|
|
extern void WriteScreenshot(const VfsPath& extension);
|
|
|
|
|
extern void WriteBigScreenshot(const VfsPath& extension, int tiles);
|
2010-02-17 15:21:49 -08:00
|
|
|
|
2011-05-03 05:38:42 -07:00
|
|
|
extern Status tex_write(Tex* t, const VfsPath& filename);
|
2011-02-10 08:06:28 -08:00
|
|
|
|
2010-02-17 15:21:49 -08:00
|
|
|
#endif // PS_UTIL_H
|