Changeset View
Changeset View
Standalone View
Standalone View
source/ps/Pyrogenesis.cpp
/* Copyright (C) 2015 Wildfire Games. | /* Copyright (C) 2018 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 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 | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 9 Lines | |||||
#include <cstdio> | #include <cstdio> | ||||
#include "Pyrogenesis.h" | #include "Pyrogenesis.h" | ||||
#include "lib/sysdep/sysdep.h" | #include "lib/sysdep/sysdep.h" | ||||
#include "lib/svn_revision.h" | #include "lib/svn_revision.h" | ||||
const char engine_version[] = "0.0.23"; | const char engine_version[] = "0.0.24"; | ||||
// convert contents of file <in_filename> from char to wchar_t and | // convert contents of file <in_filename> from char to wchar_t and | ||||
// append to <out> file. | // append to <out> file. | ||||
static void AppendAsciiFile(FILE* out, const OsPath& pathname) | static void AppendAsciiFile(FILE* out, const OsPath& pathname) | ||||
{ | { | ||||
FILE* in = sys_OpenFile(pathname, "rb"); | FILE* in = sys_OpenFile(pathname, "rb"); | ||||
if (!in) | if (!in) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator