basic game files port
This commit is contained in:
1 parent
8436242032
commit
9f24650296
10 files changed
+836
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "Cevo/Protocol.h"
|
||||
|
||||
namespace Cevo {
|
||||
namespace CityProcessing {
|
||||
|
||||
// Equivalent of CityProcessing.pas (~1743 lines). PORTED INCREMENTALLY: this
|
||||
// is only its "Reporting" section's two simplest functions so far - every
|
||||
// other function in the original (GetCityReport/GetCityReportNew and
|
||||
// everything in "Internal Tile Picking"/"Turn Processing") additionally
|
||||
// needs GetTileInfo/GetUnitReport/Strongest (Database.pas functions not
|
||||
// ported yet) plus several more Database.pas globals (GWonder, Difficulty,
|
||||
// ServerVersion, ...) and gameplay data tables (Imp[], CorrLevel[],
|
||||
// SupportFree[], ...). Add more here only once those are ported too.
|
||||
|
||||
// Equivalent of CityProcessing.pas's GetCityAreaInfo().
|
||||
void getCityAreaInfo(int p, int loc, TCityAreaInfo &cityAreaInfo);
|
||||
|
||||
// Equivalent of CityProcessing.pas's CanCityGrow().
|
||||
bool canCityGrow(int p, int cix);
|
||||
|
||||
} // namespace CityProcessing
|
||||
} // namespace Cevo
|
||||
Reference in new issue
Block a user