Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/GameInterface/Messages.h
Show First 20 Lines • Show All 336 Lines • ▼ Show 20 Lines | QUERY(GetObjectsList, | ||||
, // no inputs | , // no inputs | ||||
((std::vector<sObjectsListItem>, objects)) // sorted by .name | ((std::vector<sObjectsListItem>, objects)) // sorted by .name | ||||
); | ); | ||||
#ifndef MESSAGES_SKIP_STRUCTS | #ifndef MESSAGES_SKIP_STRUCTS | ||||
struct sObjectSettings | struct sObjectSettings | ||||
{ | { | ||||
Shareable<int> player; | Shareable<int> player; | ||||
Shareable<std::vector<std::wstring> > selections; | Shareable<std::vector<std::wstring>> selections; | ||||
// Some settings are immutable and therefore are ignored (and should be left | // Some settings are immutable and therefore are ignored (and should be left | ||||
// empty) when passed from the editor to the game: | // empty) when passed from the editor to the game: | ||||
Shareable<std::vector<std::vector<std::wstring> > > variantGroups; | Shareable<std::vector<std::vector<std::wstring>>> variantGroups; | ||||
}; | }; | ||||
SHAREABLE_STRUCT(sObjectSettings); | SHAREABLE_STRUCT(sObjectSettings); | ||||
#endif | #endif | ||||
// transform de local entity to a real entity | // transform de local entity to a real entity | ||||
MESSAGE(ObjectPreviewToEntity,); | MESSAGE(ObjectPreviewToEntity,); | ||||
//Query for get selected objects | //Query for get selected objects | ||||
▲ Show 20 Lines • Show All 373 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator