Home
last modified time | relevance | path

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

12

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/
H A Doverwritepopup.cpp233 TFilePath levelPath = srcLevelPath; in execute() local
234 TFilePath actualLevelPath = scene->decodeFilePath(levelPath); in execute()
236 return levelPath.getWideName(); in execute()
239 levelPath = addSuffix(levelPath); in execute()
240 actualLevelPath = scene->decodeFilePath(levelPath); in execute()
244 return levelPath.getWideName(); in execute()
248 .arg(toQString(levelPath))); in execute()
274 levelPath = addSuffix(srcLevelPath); in execute()
275 actualLevelPath = scene->decodeFilePath(levelPath); in execute()
279 .arg(toQString(levelPath))); in execute()
[all …]
H A Dmagpiefileimportpopup.cpp220 TFilePath levelPath(m_levelField->getPath().toStdWString()); in onLevelPathChanged() local
221 levelPath = scene->decodeFilePath(levelPath); in onLevelPathChanged()
222 if (levelPath.isEmpty() || levelPath.getUndottedType().empty() || in onLevelPathChanged()
223 !TSystem::doesExistFileOrLevel(levelPath)) { in onLevelPathChanged()
227 m_levelPath = levelPath; in onLevelPathChanged()
H A Dversioncontrol.cpp447 TFilePath levelPath = m_scene->decodeFilePath(l->getPath()); in onFrameRangeDone() local
448 if (levelPath == currentPath) { in onFrameRangeDone()
882 TFilePath levelPath = scene.decodeFilePath((*it)->getPath()); in getSceneContents() local
884 if (levelPath.getDots() == "..") { in getSceneContents()
885 TFilePath dir = levelPath.getParentDir(); in getSceneContents()
889 QString levelType = QString::fromStdString(levelPath.getType()); in getSceneContents()
899 sceneContents.append(toQString(levelPath)); in getSceneContents()
902 TXshSimpleLevel::getFiles(levelPath, fpset); in getSceneContents()
923 TFilePath levelPath = scene->decodeFilePath((*it)->getPath()); in getCurrentSceneContents() local
924 contents.append(toQString(levelPath)); in getCurrentSceneContents()
[all …]
H A Dlevelcommand.cpp159 TFilePath levelPath = scene->decodeFilePath(simpleLevel->getPath()); in getUnpaintedLevelPath() local
160 if (levelPath.isEmpty()) return TFilePath(); in getUnpaintedLevelPath()
161 std::string name = levelPath.getName() + "_np." + levelPath.getType(); in getUnpaintedLevelPath()
162 return levelPath.getParentDir() + "nopaint\\" + TFilePath(name); in getUnpaintedLevelPath()
H A Dformatsettingspopups.cpp296 const TFilePath &levelPath) { in openFormatSettingsPopup() argument
321 if (!levelPath.isEmpty()) popup->setLevelPath(levelPath); in openFormatSettingsPopup()
H A Dsvncommitdialog.cpp1019 TFilePath levelPath = in onUpdateDone() local
1021 m_level = m_scene->loadLevel(levelPath); in onUpdateDone()
1150 TFilePath levelPath = in onPropSetDone() local
1161 QString prefix = QString::fromStdWString(levelPath.getWideName()) + "_" + in onPropSetDone()
1186 levelPath.getParentDir() + hookFileName.toStdWString(); in onPropSetDone()
1213 QString tempFileName = QString::fromStdWString(levelPath.getWideName()) + in onPropSetDone()
1218 QString::fromStdString(levelPath.getType()); in onPropSetDone()
1221 TFilePath(levelPath.getParentDir() + tempFileName.toStdWString()); in onPropSetDone()
H A Dformatsettingspopups.h107 const TFilePath &levelPath =
/dports/games/xboing/xboing/
H A Dfile.c104 char levelPath[1024]; local
142 snprintf(levelPath,sizeof(levelPath), "%s/level%02ld.data", str, newLevel);
175 char levelPath[1024]; local
180 snprintf(levelPath, sizeof(levelPath)-1, "%s/.xboing-saveinfo", GetHomeDir());
183 if ((saveFile = fopen(levelPath, "r+")) == NULL)
242 snprintf(levelPath, sizeof(levelPath)-1, "%s/.xboing-savelevel", GetHomeDir());
272 char levelPath[1024]; local
286 snprintf(levelPath, sizeof(levelPath)-1, "%s/.xboing-saveinfo", GetHomeDir());
289 if ((saveFile = fopen(levelPath, "w+")) == NULL)
312 snprintf(levelPath, sizeof(levelPath)-1, "%s/.xboing-savelevel", GetHomeDir());
[all …]
H A Dpreview.c128 char levelPath[1024]; local
142 snprintf(levelPath, sizeof(levelPath)-1, "%s/level%02d.data", str, lnum);
144 sprintf(levelPath, "%s/level%02d.data", LEVEL_INSTALL_DIR, lnum);
147 if (ReadNextLevel(display, window, levelPath, True) == False)
H A Ddemo.c149 char levelPath[1024]; local
157 snprintf(levelPath, sizeof(levelPath),"%s/demo.data", str);
159 sprintf(levelPath, "%s/demo.data", LEVEL_INSTALL_DIR);
162 if (ReadNextLevel(display, window, levelPath, True) == False)
H A Deditor.c184 char levelPath[1024]; local
216 snprintf(levelPath,sizeof(levelPath)-1, "%s/editor.data", str);
218 sprintf(levelPath, "%s/editor.data", LEVEL_INSTALL_DIR);
221 if (ReadNextLevel(display, window, levelPath, True) == False)
940 char levelPath[1024]; local
962 snprintf(levelPath, sizeof(levelPath)-1,"%s/level%02ld.data", str2, (u_long) num);
964 sprintf(levelPath, "%s/level%02ld.data",
1000 char levelPath[1024]; local
1022 snprintf(levelPath, sizeof(levelPath)-1,"%s/level%02ld.data", str2, (u_long) num);
1024 sprintf(levelPath, "%s/level%02ld.data",
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzqt/
H A Dimageutils.cpp139 TFilePath duplicate(const TFilePath &levelPath) { in duplicate() argument
142 if (!TSystem::doesExistFileOrLevel(levelPath)) { in duplicate()
159 if (levelPath.getType() == "tnz") in duplicate()
160 copyScene(levelPathOut, levelPath); in duplicate()
163 if (levelPath.getType() == "tlv") { in duplicate()
188 void premultiply(const TFilePath &levelPath) { in premultiply() argument
189 if (levelPath == TFilePath()) return; in premultiply()
213 TLevelReaderP lr = TLevelReaderP(levelPath); in premultiply()
230 lw = TLevelWriterP(levelPath); in premultiply()
260 TSystem::deleteFile(levelPath); in premultiply()
[all …]
/dports/games/opendungeons/OpenDungeons-0.7.1/source/modes/
H A DMenuModeEditorLoad.cpp149 std::string levelPath; in updateFilesList() local
157 levelPath = ResourceManager::getSingleton().getGameLevelPathSkirmish(); in updateFilesList()
161 levelPath = ResourceManager::getSingleton().getGameLevelPathMultiplayer(); in updateFilesList()
165 levelPath = ResourceManager::getSingleton().getUserLevelPathSkirmish(); in updateFilesList()
168 levelPath = ResourceManager::getSingleton().getUserLevelPathMultiplayer(); in updateFilesList()
172 if(Helper::fillFilesList(levelPath, mFilesList, MapHandler::LEVEL_EXTENSION)) in updateFilesList()
176 levelPath = ResourceManager::getSingleton().getUserLevelPathSkirmish(); in updateFilesList()
178 levelPath = ResourceManager::getSingleton().getUserLevelPathMultiplayer(); in updateFilesList()
182 if (!Helper::fillFilesList(levelPath, officialFileList, MapHandler::LEVEL_EXTENSION)) in updateFilesList()
H A DMenuModeSkirmish.cpp144 std::string levelPath; in updateFilesList() local
150 levelPath = ResourceManager::getSingleton().getGameLevelPathSkirmish(); in updateFilesList()
153 levelPath = ResourceManager::getSingleton().getGameLevelPathMultiplayer(); in updateFilesList()
156 levelPath = ResourceManager::getSingleton().getUserLevelPathSkirmish(); in updateFilesList()
159 levelPath = ResourceManager::getSingleton().getUserLevelPathMultiplayer(); in updateFilesList()
163 if(Helper::fillFilesList(levelPath, mFilesList, MapHandler::LEVEL_EXTENSION)) in updateFilesList()
H A DMenuModeEditorNew.cpp113 std::string levelPath; in launchSelectedButtonPressed() local
119 levelPath = ResourceManager::getSingleton().getUserLevelPathSkirmish(); in launchSelectedButtonPressed()
122 levelPath = ResourceManager::getSingleton().getUserLevelPathMultiplayer(); in launchSelectedButtonPressed()
133 level = levelPath + "/" + level; in launchSelectedButtonPressed()
H A DMenuModeMultiplayerServer.cpp146 std::string levelPath; in updateFilesList() local
152 levelPath = ResourceManager::getSingleton().getGameLevelPathMultiplayer(); in updateFilesList()
155 levelPath = ResourceManager::getSingleton().getUserLevelPathMultiplayer(); in updateFilesList()
159 if(Helper::fillFilesList(levelPath, mFilesList, MapHandler::LEVEL_EXTENSION)) in updateFilesList()
H A DMenuModeLoad.cpp107 std::string levelPath = ResourceManager::getSingleton().getSaveGamePath(); in activate() local
108 if(Helper::fillFilesList(levelPath, mFilesList, SAVEGAME_EXTENSION)) in activate()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dtoonzscene.cpp1051 LevelType ltype = getLevelType(levelPath); in convertLevelIfNeeded()
1052 TFilePath fp = levelPath; in convertLevelIfNeeded()
1055 levelPath = levelPath.withType("pli"); in convertLevelIfNeeded()
1056 TLevelWriterP lw(levelPath); in convertLevelIfNeeded()
1070 levelPath = TFilePath(levelPath.getParentDir().getWideString() + L"\\" + in convertLevelIfNeeded()
1073 TSystem::removeFileOrLevel(levelPath); in convertLevelIfNeeded()
1079 TLevelWriterP lw(levelPath); in convertLevelIfNeeded()
1121 TFilePath levelPath = actualPath; in loadLevel() local
1140 sl->setPath(codeFilePath(levelPath)); in loadLevel()
1156 if (!convertLevelIfNeeded(levelPath)) in loadLevel()
[all …]
H A Dlevelset.cpp101 const TFilePath &levelPath) const { in getLevel()
102 const TFilePath &decodedPath = scene.decodeFilePath(levelPath); in getLevel()
126 const TFilePath &levelPath) const { in hasLevel()
127 return getLevel(scene, levelPath); in hasLevel()
/dports/games/keeperrl/keeperrl-alpha23/
H A Dmain_loop.h32 …void battleTest(int numTries, const FilePath& levelPath, const FilePath& battleInfoPath, string en…
33 …int battleTest(int numTries, const FilePath& levelPath, CreatureList ally, CreatureList enemyId, R…
34 …void endlessTest(int numTries, const FilePath& levelPath, const FilePath& battleInfoPath, RandomGe…
H A Dmain_loop.cpp544 void MainLoop::battleTest(int numTries, const FilePath& levelPath, const FilePath& battleInfoPath, … in battleTest() argument
558 battleTest(numTries, levelPath, creatureList, CreatureList(maxEnemies, enemyId), random); in battleTest()
562 void MainLoop::endlessTest(int numTries, const FilePath& levelPath, const FilePath& battleInfoPath, in endlessTest() argument
578 int numWins = battleTest(numTries, levelPath, allyInfo, wave->enemy.creatures, random); in endlessTest()
586 int MainLoop::battleTest(int numTries, const FilePath& levelPath, CreatureList ally, CreatureList e… in battleTest() argument
596 .battleModel(levelPath, ally, enemies), CampaignBuilder::getEmptyCampaign()); in battleTest()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz/
H A Dlevelset.h89 const TFilePath &levelPath) const;
92 bool hasLevel(const ToonzScene &scene, const TFilePath &levelPath) const;
/dports/textproc/p5-PerlPoint-Package/PerlPoint-Package-0.452/t/
H A Dtestlib.pm54 my $levelPath=$pathData->[2];
55 is(ref($levelPath), 'ARRAY', 'Headline check: level path data type.');
56 is(scalar(@$levelPath), $depth, 'Headline check: level path array size.');
57 …is($levelPath->[$_], $elevelPath->[$_], "Headline check: level path, ${\($_+1)}. element of $depth…
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonzqt/
H A Dimageutils.h81 TFilePath DVAPI duplicate(const TFilePath &levelPath);
83 void DVAPI premultiply(const TFilePath &levelPath);
/dports/games/divide-and-succeed/divide-and-succeed-0.9.4/src/
H A DInterface.h69 std::string levelPath();

12