Home
last modified time | relevance | path

Searched refs:mapFormat (Results 1 – 25 of 25) sorted by relevance

/dports/graphics/tiled/tiled-1.7.2/src/plugins/python/
H A Dpythonplugin.cpp68 Py_DECREF(script.mapFormat->pythonClass()); in ~PythonPlugin()
167 if (script.mapFormat) { in reloadModules()
168 PyObject *pluginClass = script.mapFormat->pythonClass(); in reloadModules()
181 if (script.mapFormat) { in reloadModules()
182 removeObject(script.mapFormat); in reloadModules()
183 delete script.mapFormat; in reloadModules()
249 if (script.mapFormat) { in loadOrReloadModule()
250 script.mapFormat->setPythonClass(pluginClass); in loadOrReloadModule()
252 script.mapFormat = new PythonMapFormat(name, pluginClass, this); in loadOrReloadModule()
253 addObject(script.mapFormat); in loadOrReloadModule()
H A Dpythonplugin.h49 , mapFormat(nullptr) in ScriptEntry()
54 PythonMapFormat *mapFormat; member
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/
H A DTrenchBroomApp.cpp162 Model::MapFormat::Type mapFormat = Model::MapFormat::Unknown; in newDocument() local
163 if (!GameDialog::showNewDocumentDialog(NULL, gameName, mapFormat)) in newDocument()
171 frame->newDocument(game, mapFormat); in newDocument()
180 Model::MapFormat::Type mapFormat = Model::MapFormat::Unknown; in openDocument() local
185 mapFormat = detected.second; in openDocument()
187 if (gameName.empty() || mapFormat == Model::MapFormat::Unknown) { in openDocument()
188 if (!GameDialog::showOpenDocumentDialog(NULL, gameName, mapFormat)) in openDocument()
196 frame->openDocument(game, mapFormat, path); in openDocument()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/View/
H A DGameDialog.cpp46 …log::showNewDocumentDialog(wxWindow* parent, String& gameName, Model::MapFormat::Type& mapFormat) { in showNewDocumentDialog() argument
52 mapFormat = dialog.selectedMapFormat(); in showNewDocumentDialog()
56 …og::showOpenDocumentDialog(wxWindow* parent, String& gameName, Model::MapFormat::Type& mapFormat) { in showOpenDocumentDialog() argument
62 mapFormat = dialog.selectedMapFormat(); in showOpenDocumentDialog()
76 return Model::mapFormat(formatName); in selectedMapFormat()
H A DGameDialog.h49 … bool showNewDocumentDialog(wxWindow* parent, String& gameName, Model::MapFormat::Type& mapFormat);
50 …bool showOpenDocumentDialog(wxWindow* parent, String& gameName, Model::MapFormat::Type& mapFormat);
H A DMapDocument.h171 … void newDocument(Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Model::GamePtr game);
172 …void loadDocument(Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Model::GamePtr game,…
336 … void createWorld(Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Model::GamePtr game);
337 …void loadWorld(Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Model::GamePtr game, co…
H A DMapFrame.h81 bool newDocument(Model::GamePtr game, Model::MapFormat::Type mapFormat);
82 … bool openDocument(Model::GamePtr game, Model::MapFormat::Type mapFormat, const IO::Path& path);
H A DMapDocument.cpp224 …void MapDocument::newDocument(const Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Mo… in newDocument() argument
228 createWorld(mapFormat, worldBounds, game); in newDocument()
239 …void MapDocument::loadDocument(const Model::MapFormat::Type mapFormat, const BBox3& worldBounds, M… in loadDocument() argument
243 loadWorld(mapFormat, worldBounds, game, path); in loadDocument()
1076 …void MapDocument::createWorld(const Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Mo… in createWorld() argument
1079 m_world = m_game->newMap(mapFormat, m_worldBounds); in createWorld()
1086 …void MapDocument::loadWorld(const Model::MapFormat::Type mapFormat, const BBox3& worldBounds, Mode… in loadWorld() argument
1089 m_world = m_game->loadMap(mapFormat, m_worldBounds, path, this); in loadWorld()
H A DMapFrame.cpp169 bool MapFrame::newDocument(Model::GamePtr game, const Model::MapFormat::Type mapFormat) { in newDocument() argument
172 m_document->newDocument(mapFormat, MapDocument::DefaultWorldBounds, game); in newDocument()
176 …bool MapFrame::openDocument(Model::GamePtr game, const Model::MapFormat::Type mapFormat, const IO:… in openDocument() argument
179 m_document->loadDocument(mapFormat, MapDocument::DefaultWorldBounds, game, path); in openDocument()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/libdoomsday/src/filesys/
H A Dlumpindex.cpp280 dsize LumpIndex::Id1MapRecognizer::elementSizeForDataType(Format mapFormat, DataType dataType) // s… in elementSizeForDataType() argument
301 return (mapFormat == Doom64Format? SIZEOF_64VERTEX : SIZEOF_VERTEX); in elementSizeForDataType()
304 return (mapFormat == Doom64Format? SIZEOF_64LINEDEF : in elementSizeForDataType()
305 mapFormat == HexenFormat ? SIZEOF_XLINEDEF : SIZEOF_LINEDEF); in elementSizeForDataType()
308 return (mapFormat == Doom64Format? SIZEOF_64SIDEDEF : SIZEOF_SIDEDEF); in elementSizeForDataType()
311 return (mapFormat == Doom64Format? SIZEOF_64SECTOR : SIZEOF_SECTOR); in elementSizeForDataType()
314 return (mapFormat == Doom64Format? SIZEOF_64THING : in elementSizeForDataType()
315 mapFormat == HexenFormat ? SIZEOF_XTHING : SIZEOF_THING); in elementSizeForDataType()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/IO/
H A DIOUtils.cpp72 void writeGameComment(FILE* stream, const String& gameName, const String& mapFormat) { in writeGameComment() argument
74 std::fprintf(stream, "// Format: %s\n", mapFormat.c_str()); in writeGameComment()
H A DIOUtils.h59 void writeGameComment(FILE* stream, const String& gameName, const String& mapFormat);
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DMapFormat.h36 MapFormat::Type mapFormat(const String& formatName);
H A DMapFormat.cpp24 MapFormat::Type mapFormat(const String& formatName) { in mapFormat() function
H A DWorld.cpp36 …World::World(MapFormat::Type mapFormat, const BrushContentTypeBuilder* brushContentTypeBuilder, co… in World() argument
37 m_factory(mapFormat, brushContentTypeBuilder), in World()
H A DWorld.h46 …World(MapFormat::Type mapFormat, const BrushContentTypeBuilder* brushContentTypeBuilder, const BBo…
H A DGameFactory.cpp98 const MapFormat::Type format = mapFormat(formatName); in detectGame()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/libdoomsday/include/doomsday/filesys/
H A Dlumpindex.h149 static dsize elementSizeForDataType(Format mapFormat, DataType dataType);
/dports/graphics/tiled/tiled-1.7.2/src/tiled/
H A Dscriptmodule.h103 Q_INVOKABLE Tiled::ScriptMapFormatWrapper *mapFormat(const QString &shortName) const;
H A Dmapdocument.cpp125 MapFormat *mapFormat = writerFormat(); in save() local
126 if (!mapFormat) { in save()
132 if (!mapFormat->write(map(), fileName)) { in save()
134 *error = mapFormat->errorString(); in save()
H A Dscriptmodule.cpp358 ScriptMapFormatWrapper *ScriptModule::mapFormat(const QString &shortName) const in mapFormat() function in Tiled::ScriptModule
H A Ddocumentmanager.cpp658 if (MapFormat *mapFormat = qobject_cast<MapFormat*>(fileFormat)) { in loadDocument() local
659 document = MapDocument::load(fileName, mapFormat, error); in loadDocument()
/dports/graphics/tiled/tiled-1.7.2/docs/scripting-doc/
H A Dindex.d.ts2615 export function mapFormat(shortName: string): MapFormat;
2682 mapFormat: ScriptedMapFormat
/dports/graphics/tiled/tiled-1.7.2/docs/_build/gettext/
H A Dreference.pot1728 msgid "List of supported map format names. Use :ref:`mapFormat <script-mapFormat>` to get the corre…
2040 msgid "string, mapFormat"
2059 msgid "The ``mapFormat`` object is expected to have the following properties:"
2423 msgid "tiled.mapFormat(shortName : :ref:`script-mapformatwrapper`"
/dports/graphics/tiled/tiled-1.7.2/docs/locale/pt_BR/LC_MESSAGES/
H A Dreference.po1728 msgid "List of supported map format names. Use :ref:`mapFormat <script-mapFormat>` to get the corre…
2040 msgid "string, mapFormat"
2059 msgid "The ``mapFormat`` object is expected to have the following properties:"
2423 msgid "tiled.mapFormat(shortName : :ref:`script-mapformatwrapper`"