AVA2 Windows parity passes 26-29: background, grp/net/player/app complete port, 0 placeholders, portable assets
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "python_background.h"
|
||||
#include "eter_render/RenderCommands3D.h"
|
||||
#include "eter_net/Packet.h"
|
||||
#include <vector>
|
||||
@@ -11,10 +12,6 @@ void initPlayer();
|
||||
void initchrmgr();
|
||||
void initchr();
|
||||
void initsnd();
|
||||
void initBackground();
|
||||
void GlobalToLocalPosition(int32_t& x,int32_t& y);
|
||||
void LocalToGlobalPosition(int32_t& x,int32_t& y);
|
||||
bool WarpBackgroundMap(uint32_t x,uint32_t y);
|
||||
|
||||
using SkillCastCallback = std::function<void(int quickSlot, int skillIndex)>;
|
||||
void SetPlayerSkillCastCallback(SkillCastCallback cb);
|
||||
@@ -76,14 +73,6 @@ const std::string& GetMainCharacterName();
|
||||
void SetMainCharacterName(const std::string& name);
|
||||
long long GetPlayerStatusPoint(int type);
|
||||
void SetPlayerStatusPoint(int type, long long value);
|
||||
|
||||
class TerrainHeightmap;
|
||||
TerrainHeightmap* GetActiveBackgroundTerrain();
|
||||
void SetActiveBackgroundTerrain(std::unique_ptr<TerrainHeightmap> terrain);
|
||||
bool LoadBackgroundMap(const std::string& mapName, float x = 0.0f, float y = 0.0f, float z = 0.0f);
|
||||
// CPythonBackground::IsMapOutdoor + CMapOutdoor GetName/GetBaseXY/GetTerrainCount for the loaded map
|
||||
// (setting.txt "mapsize" / "baseposition"); nullptr while no map is loaded.
|
||||
struct OutdoorMapInfo { std::string name; uint32_t baseX=0, baseY=0; int16_t terrainCountX=0, terrainCountY=0; };
|
||||
const OutdoorMapInfo* GetOutdoorMap();
|
||||
} // namespace ava2
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user