Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/GameInterface/Messages.h
/* Copyright (C) 2018 Wildfire Games. | /* Copyright (C) 2019 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 20 Lines • Show All 378 Lines • ▼ Show 20 Lines | COMMAND(CreateObject, NOMERGE, | ||||
((float, angle)) | ((float, angle)) | ||||
((unsigned int, actorseed)) | ((unsigned int, actorseed)) | ||||
); | ); | ||||
// Set an actor to be previewed on its own (i.e. without the game world). | // Set an actor to be previewed on its own (i.e. without the game world). | ||||
// (Use RenderEnable to make it visible.) | // (Use RenderEnable to make it visible.) | ||||
MESSAGE(SetActorViewer, | MESSAGE(SetActorViewer, | ||||
((std::wstring, id)) | ((std::wstring, id)) | ||||
((std::wstring, animation)) | ((std::string, animation)) | ||||
((int, playerID)) | ((int, playerID)) | ||||
((float, speed)) | ((float, speed)) | ||||
((bool, flushcache)) // true => unload all actor files before starting the preview (because we don't have proper hotloading yet) | ((bool, flushcache)) // true => unload all actor files before starting the preview (because we don't have proper hotloading yet) | ||||
); | ); | ||||
////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////// | ||||
QUERY(Exit,,); // no inputs nor outputs | QUERY(Exit,,); // no inputs nor outputs | ||||
▲ Show 20 Lines • Show All 327 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator