Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/GameInterface/Messages.h
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Lines | MESSAGE(LoadPlayerSettings, | ||||
((bool, newplayers)) | ((bool, newplayers)) | ||||
); | ); | ||||
QUERY(GetMapSizes, | QUERY(GetMapSizes, | ||||
, | , | ||||
((std::string, sizes)) | ((std::string, sizes)) | ||||
); | ); | ||||
QUERY(GetCurrentMapSize, | |||||
, | |||||
((int, size)) | |||||
); | |||||
QUERY(RasterizeMinimap, | |||||
, | |||||
((int, dimension)) | |||||
vladislavbelov: It's not good to pass raw pointers, especially in threaded applications. There are few places… | |||||
((std::vector<uint8_t>, imageBytes)) | |||||
Done Inline Actionsu8 or uint8_t. vladislavbelov: `u8` or `uint8_t`. | |||||
); | |||||
QUERY(GetRMSData, | QUERY(GetRMSData, | ||||
, | , | ||||
((std::vector<std::string>, data)) | ((std::vector<std::string>, data)) | ||||
); | ); | ||||
COMMAND(ResizeMap, NOMERGE, | COMMAND(ResizeMap, NOMERGE, | ||||
((int, tiles)) | ((int, tiles)) | ||||
((int, offsetX)) | |||||
((int, offsetY)) | |||||
); | ); | ||||
QUERY(VFSFileExists, | QUERY(VFSFileExists, | ||||
((std::wstring, path)) | ((std::wstring, path)) | ||||
, | , | ||||
((bool, exists)) | ((bool, exists)) | ||||
); | ); | ||||
▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
It's not good to pass raw pointers, especially in threaded applications. There are few places with raw pointers in the file. But we shouldn't follow the bad practice.