/dports/graphics/wdune/wdune-1.926/src/ |
H A D | NodeVrmlScene.cpp | 59 TheApp->incSelectionLinenumber(); in writeXmlProto() 61 TheApp->incSelectionLinenumber(); in writeXmlProto() 63 TheApp->incSelectionLinenumber(); in writeXmlProto() 65 TheApp->incSelectionLinenumber(); in writeXmlProto() 67 TheApp->incSelectionLinenumber(); in writeXmlProto() 69 TheApp->incSelectionLinenumber(); in writeXmlProto() 71 TheApp->incSelectionLinenumber(); in writeXmlProto() 73 TheApp->incSelectionLinenumber(); in writeXmlProto() 75 TheApp->incSelectionLinenumber(); in writeXmlProto() 77 TheApp->incSelectionLinenumber(); in writeXmlProto() [all …]
|
H A D | NodeVrmlCut.cpp | 442 TheApp->incSelectionLinenumber(); in writeJavaScript() 444 TheApp->incSelectionLinenumber(); in writeJavaScript() 446 TheApp->incSelectionLinenumber(); in writeJavaScript() 448 TheApp->incSelectionLinenumber(); in writeJavaScript() 450 TheApp->incSelectionLinenumber(); in writeJavaScript() 452 TheApp->incSelectionLinenumber(); in writeJavaScript() 454 TheApp->incSelectionLinenumber(); in writeJavaScript() 456 TheApp->incSelectionLinenumber(); in writeJavaScript() 458 TheApp->incSelectionLinenumber(); in writeJavaScript() 460 TheApp->incSelectionLinenumber(); in writeJavaScript() [all …]
|
H A D | OutputApp.cpp | 192 assert(TheApp != NULL); in OutputLoadPreferences() 282 TheApp->updatePrefix(); in OutputLoadPreferences() 317 assert(TheApp != NULL); in OutputSavePreferences() 373 TheApp->SetkrFormating(true); in parseCommandlineArgumentOutput() 378 TheApp->SetIndent(indent); in parseCommandlineArgumentOutput() 385 TheApp->forbidEFloatWriteFormat(); in parseCommandlineArgumentOutput() 518 TheApp->updatePrefix(); in SetWonderlandModuleExportPrefix() 545 swIconifyWindow(TheApp->mainWnd()); in runAnt() 568 swDeIconifyWindow(TheApp->mainWnd()); in runAnt() 569 swInvalidateWindow(TheApp->mainWnd()); in runAnt() [all …]
|
H A D | WonderlandModuleExportDialog.cpp | 56 if (TheApp->GetRunAnt()) in OnCommand() 57 TheApp->runAnt(m_scene); in OnCommand() 80 TheApp->SetAntPath(buf); in OnCommand() 84 TheApp->SetRunAnt(!TheApp->GetRunAnt()); in OnCommand() 157 TheApp->MessageBoxPerror(TheApp->GetWonderlandModuleExportPath()); in Validate() 160 if (TheApp->GetRunAnt()) { in Validate() 161 if ((TheApp->GetAntPath() == NULL) || in Validate() 162 (strlen(TheApp->GetAntPath()) == 0)) in Validate() 189 TheApp->SetAntPath(temp); in SaveData() 192 TheApp->SetAntCommand(temp); in SaveData() [all …]
|
H A D | OutputSettingsDialog.cpp | 44 TheApp->OutputSetDefaults(); in OnCommand() 55 TheApp->GetKeepURLs()); in LoadData() 63 TheApp->GetkrFormating()); in LoadData() 162 TheApp->SetIndent(atoi(buf)); in SaveData() 164 TheApp->SetFloatDigits(atoi(buf)); in SaveData() 174 TheApp->SetXitePath(temp); in SaveData() 177 TheApp->SetX3domPath(temp); in SaveData() 179 TheApp->SetX3domParameter(temp); in SaveData() 194 TheApp->setDownloadDirectory(temp); in SaveData() 211 TheApp->SetRibTexturer(temp); in SaveData() [all …]
|
H A D | ModellingApp.cpp | 82 TheApp->SetPreference("HandleSize", buf); in ModellingSavePreferences() 84 TheApp->SetPreference("HandleScale", buf); in ModellingSavePreferences() 86 TheApp->SetPreference("HandleEpsilon", buf); in ModellingSavePreferences() 89 TheApp->SetPreference("HumanoidJointScale", buf); in ModellingSavePreferences() 91 TheApp->SetPreference("ExtrusionAmount", buf); in ModellingSavePreferences() 92 TheApp->SetBoolPreference("Weights1", m_weights1); in ModellingSavePreferences() 99 TheApp->UpdateAllWindows(); in SetRotationOrder() 105 if (TheApp->useStereo()) in GetHandleSize() 114 TheApp->UpdateAllWindows(); in SetPreferenceHandleSize() 120 TheApp->UpdateAllWindows(); in SetPreferenceHandleScale() [all …]
|
H A D | StereoViewApp.cpp | 117 assert(TheApp != NULL); in StereoViewLoadPreferences() 167 assert(TheApp != NULL); in StereoViewSavePreferences() 175 TheApp->SetPreference("EyeDistance", buf); in StereoViewSavePreferences() 181 TheApp->SetPreference("FixFieldOfView", buf); in StereoViewSavePreferences() 185 TheApp->SetPreference("EyeAngleFactor", buf); in StereoViewSavePreferences() 194 TheApp->SetPreference("Cursor3dWidth", buf); in StereoViewSavePreferences() 210 TheApp->setEyeDist(eyedist); in parseCommandlineArgumentStereoView() 217 TheApp->setEyeScreenDist(screendist); in parseCommandlineArgumentStereoView() 233 if (TheApp->useStereo()) in getEyePosition() 236 if (TheApp->getEyeMode()==EM_RIGHT) in getEyePosition() [all …]
|
H A D | Commandline.cpp | 206 TheApp->setInputDeviceSetting(TheApp->getInputDevice( in parseCommandlineArgumentInputDevice() 232 TheApp->set4Kids(); in parseCommandlineArgument() 234 TheApp->set4Catt(); in parseCommandlineArgument() 236 TheApp->setDefaults(); in parseCommandlineArgument() 238 TheApp->setFull(); in parseCommandlineArgument() 240 TheApp->setX3dv(); in parseCommandlineArgument() 242 TheApp->unInstall(); in parseCommandlineArgument() 283 TheApp->setX3dv(); in parseCommandlineArgument() 575 delete TheApp; in parseCommandlineUsage() 593 delete TheApp; in parseCommandlineUsage() [all …]
|
H A D | EcmaScriptApp.cpp | 39 assert(TheApp != NULL); in EcmaScriptLoadPreferences() 40 m_ecmaScriptAddAvailableFunctions = TheApp->GetBoolPreference( in EcmaScriptLoadPreferences() 42 m_ecmaScriptAddAllowedValues = TheApp->GetBoolPreference( in EcmaScriptLoadPreferences() 44 m_ecmaScriptAddAllowedComponents = TheApp->GetBoolPreference( in EcmaScriptLoadPreferences() 46 m_ecmaScriptAddExampleUsage = TheApp->GetBoolPreference( in EcmaScriptLoadPreferences() 56 TheApp->SetBoolPreference("EcmaScriptAddAvailableFunctions", in EcmaScriptSavePreferences() 58 TheApp->SetBoolPreference("EcmaScriptAddAllowedValues", in EcmaScriptSavePreferences() 60 TheApp->SetBoolPreference("EcmaScriptAddAllowedComponents", in EcmaScriptSavePreferences() 62 TheApp->SetBoolPreference("EcmaScriptAddExampleUsage", in EcmaScriptSavePreferences() 64 TheApp->SetBoolPreference("EcmaScriptAddMathObject", in EcmaScriptSavePreferences() [all …]
|
H A D | StereoViewSettingsDialog.cpp | 48 TheApp->StereoViewSetDefaults(); in OnCommand() 59 int cursor3dMode = TheApp->Get3dCursorMode(); in LoadData() 71 mysnprintf(buf, 128, "%g", TheApp->getEyeHalfDist()*2); in LoadData() 108 TheApp->Set3dCursorMode(cursor3dMode); in SaveData() 113 TheApp->setEyeDist(atof(buf)); in SaveData() 115 TheApp->setEyeScreenDist(atof(buf)); in SaveData() 118 TheApp->setFixFieldOfView(atof(buf)); in SaveData() 121 TheApp->SetStereoHandleSizeMult(atof(buf)); in SaveData() 124 TheApp->Set3dCursorWidth(atof(buf)); in SaveData() 126 TheApp->Set3dCursorLength(atof(buf)); in SaveData() [all …]
|
H A D | CattExportDialog.cpp | 51 TheApp->SetCattExportPath(buf); in OnCommand() 62 TheApp->GetCattExportPath()); in LoadData() 69 TheApp->SkipMaterialNameAfterLastUnderscore() ? 1 : 0); in LoadData() 76 path += TheApp->GetCattExportPath(); in Validate() 90 TheApp->MessageBoxPerror(TheApp->GetCattExportPath()); in Validate() 94 TheApp->MessageBox(IDS_NOT_A_DIRECTORY, in Validate() 95 TheApp->GetCattExportPath()); in Validate() 105 TheApp->MessageBox(IDS_SHOULD_HAVE_MATERIAL_GEO, in Validate() 106 TheApp->GetCattExportPath()); in Validate() 117 TheApp->SetCattExportPath(temp); in SaveData() [all …]
|
H A D | PreferencesApp.cpp | 58 TheApp->ModellingDefaults(); in PreferencesDefaults() 59 TheApp->RenderDefaults(); in PreferencesDefaults() 70 TheApp->EcmaScriptSavePreferences(); in SavePreferences() 71 TheApp->StereoViewSavePreferences(); in SavePreferences() 72 TheApp->OutputSavePreferences(); in SavePreferences() 73 TheApp->RouteViewSavePreferences(); in SavePreferences() 74 TheApp->StartWithSavePreferences(); in SavePreferences() 75 TheApp->InputDeviceSavePreferences(); in SavePreferences() 76 TheApp->ModellingSavePreferences(); in SavePreferences() 77 TheApp->RenderSavePreferences(); in SavePreferences() [all …]
|
H A D | RenderSettingsDialog.cpp | 38 TheApp->RenderDefaults(); in OnCommand() 55 TheApp->GetShowAllFields()); in LoadData() 57 mysnprintf(buf, 128, "%g", TheApp->GetPointSetSize()); in LoadData() 80 TheApp->MessageBoxId(IDS_NEAR_CLIPPING_TOO_SMALL); in Validate() 86 TheApp->MessageBoxId(IDS_NEAR_BIGGER_FAR); in Validate() 118 TheApp->SetPointSetSize(atof(buf)); in SaveData() 121 TheApp->SetShowAllFields(swGetCheck(saf) != FALSE); in SaveData() 124 TheApp->SetNearClippingPlaneDist(atof(buf)); in SaveData() 127 TheApp->SetFarClippingPlaneDist(atof(buf)); in SaveData() 130 TheApp->SetMaxInlinesToLoad(atoi(buf)); in SaveData() [all …]
|
H A D | ModellingSettingsDialog.cpp | 59 TheApp->ModellingDefaults(); in OnCommand() 75 int handleMode = TheApp->GetHandleMode(); in LoadData() 85 TheApp->GetHandleMeshAlways()); in LoadData() 99 if (rot[i] == TheApp->GetRotationOrder()) { in LoadData() 174 TheApp->SetHandleMode(handleMode); in SaveData() 176 TheApp->SetPreferenceHandleSize(atof(buf)); in SaveData() 180 TheApp->setHumanoidScale(atof(buf)); in SaveData() 182 TheApp->setExtrusionAmount(atof(buf)); in SaveData() 185 TheApp->SetRotationOrder(rot[sel]); in SaveData() 186 TheApp->SetRotationTitle(rotTitles[sel]); in SaveData() [all …]
|
H A D | RenderApp.cpp | 40 m_showAllFields = TheApp->GetBoolPreference("ShowAllFields", false); in RenderLoadPreferences() 41 const char* pointSetSizeBuf = TheApp->GetPreference("PointSetSize", "0.0"); in RenderLoadPreferences() 46 buf2 = TheApp->GetPreference("NearClippingPlaneDistance", buf); in RenderLoadPreferences() 57 buf2 = TheApp->GetPreference("FarClippingPlaneDistance", buf); in RenderLoadPreferences() 70 m_maxInlinesToLoad = TheApp->GetIntPreference("MaxInlinesToLoad", in RenderLoadPreferences() 91 TheApp->SetBoolPreference("ShowAllFields", m_showAllFields); in RenderSavePreferences() 93 TheApp->SetPreference("NearClippingPlaneDistance", buf); in RenderSavePreferences() 95 TheApp->SetPreference("FarClippingPlaneDistance", buf); in RenderSavePreferences() 96 TheApp->SetIntPreference("MaxInlinesToLoad", m_maxInlinesToLoad); in RenderSavePreferences() 104 TheApp->UpdateAllWindows(); in SetShowAllFields() [all …]
|
H A D | EcmaScriptSettingsDialog.cpp | 37 TheApp->GetEcmaScriptAddAllowedValues()); in LoadData() 40 TheApp->GetEcmaScriptAddAllowedComponents()); in LoadData() 43 TheApp->GetEcmaScriptAddAvailableFunctions()); in LoadData() 46 TheApp->GetEcmaScriptAddMathObject()); in LoadData() 49 TheApp->GetEcmaScriptAddBrowserObject()); in LoadData() 52 TheApp->GetEcmaScriptAddExampleUsage()); in LoadData() 61 TheApp->SetEcmaScriptAddAllowedValues(swGetCheck(wnd) != FALSE); in SaveData() 64 TheApp->SetEcmaScriptAddAllowedComponents(swGetCheck(wnd) != FALSE); in SaveData() 70 TheApp->SetEcmaScriptAddMathObject(swGetCheck(wnd) != FALSE); in SaveData() 73 TheApp->SetEcmaScriptAddBrowserObject(swGetCheck(wnd) != FALSE); in SaveData() [all …]
|
H A D | RouteViewApp.cpp | 50 assert(TheApp != NULL); in RouteViewLoadPreferences() 52 m_showAll = TheApp->GetBoolPreference("RouteViewShowAll", false); in RouteViewLoadPreferences() 53 m_showRoutesAtBegin = TheApp->GetBoolPreference("ShowRoutesAtBegin", true); in RouteViewLoadPreferences() 59 buf2 = TheApp->GetPreference("RouteViewQueueLength", buf); in RouteViewLoadPreferences() 63 buf2 = TheApp->GetPreference("RoutedNodeIndent", buf); in RouteViewLoadPreferences() 70 assert(TheApp != NULL); in RouteViewSavePreferences() 74 TheApp->SetBoolPreference("RouteViewShowAll", m_showAll); in RouteViewSavePreferences() 75 TheApp->SetBoolPreference("ShowRoutesAtBegin", m_showRoutesAtBegin); in RouteViewSavePreferences() 79 TheApp->SetPreference("RouteViewQueueLength", buf); in RouteViewSavePreferences() 82 TheApp->SetPreference("RoutedNodeIndent", buf); in RouteViewSavePreferences()
|
H A D | StartWithApp.cpp | 52 assert(TheApp != NULL); in StartWithLoadPreferences() 59 m_startVariant = mystrdup(TheApp->GetPreference("StartWith", "4kids")); in StartWithLoadPreferences() 62 m_startVariant = mystrdup(TheApp->GetPreference("StartWith", "4kids")); in StartWithLoadPreferences() 64 m_startVariant = mystrdup(TheApp->GetPreference("StartWith", "dune")); in StartWithLoadPreferences() 69 m_startLanguage = mystrdup(TheApp->GetPreference("StartLanguage", "en")); in StartWithLoadPreferences() 72 mystrncpy_secure(buf, TheApp->GetPreference("DefaultSceneLength", "2"), 255); in StartWithLoadPreferences() 79 assert(TheApp != NULL); in StartWithSavePreferences() 82 TheApp->SetPreference("StartWith", m_startVariant); in StartWithSavePreferences() 84 TheApp->SetPreference("StartLanguage", m_startLanguage); in StartWithSavePreferences() 87 TheApp->SetPreference("DefaultSceneLength", buf); in StartWithSavePreferences()
|
H A D | RouteViewSettingsDialog.cpp | 44 TheApp->RouteViewSetDefaults(); in OnCommand() 56 TheApp->GetRouteViewShowAll()); in LoadData() 59 TheApp->GetShowRoutesAtBegin()); in LoadData() 61 mysnprintf(buf, 128, "%d", TheApp->GetRouteViewQueueLength()); in LoadData() 64 mysnprintf(buf, 128, "%d", TheApp->GetRoutedNodeIndent()); in LoadData() 73 TheApp->MessageBoxId(IDS_NEED_ROUTESBEGIN_AT_NOVIEWALL); in Validate() 84 TheApp->SetRouteViewShowAll(swGetCheck(swGetDialogItem(m_dlg, in SaveData() 87 TheApp->SetShowRoutesAtBegin(swGetCheck(swGetDialogItem(m_dlg, in SaveData() 91 TheApp->SetRouteViewQueueLength(atoi(buf)); in SaveData() 94 TheApp->SetRoutedNodeIndent(atoi(buf)); in SaveData()
|
H A D | main.cpp | 108 TheApp->emergency_rescue(); in emergency_rescue() 116 TheApp->initCallback(); in startmainloop() 199 TheApp = new DuneApp(); in WinMain() 234 TheApp->setUseStereo(true); in WinMain() 236 TheApp->setUseStereo(false); in WinMain() 287 TheApp->OnFileNewWindow(); in WinMain() 299 TheApp = new DuneApp(); in main() 334 TheApp->setUseStereo(true); in main() 336 TheApp->setUseStereo(false); in main() 370 TheApp->OnFileNewWindow(); in main() [all …]
|
H A D | NodeNurbsTextureSurface.cpp | 74 TheApp->incSelectionLinenumber(); in writeProto() 77 TheApp->incSelectionLinenumber(); in writeProto() 79 TheApp->incSelectionLinenumber(); in writeProto() 81 TheApp->incSelectionLinenumber(); in writeProto() 83 TheApp->incSelectionLinenumber(); in writeProto() 85 TheApp->incSelectionLinenumber(); in writeProto() 91 TheApp->incSelectionLinenumber(); in writeProto() 94 TheApp->incSelectionLinenumber(); in writeProto() 97 TheApp->incSelectionLinenumber(); in writeProto() 99 TheApp->incSelectionLinenumber(); in writeProto()
|
H A D | TexteditSettingsDialog.cpp | 78 swTextEditGetSettings(TheApp->GetTextedit(), &textEditCommand, in LoadData() 80 imageEditCommand = swImageEditGetSettings(TheApp->GetTextedit()); in LoadData() 81 imageEdit4KidsCommand = swImageEdit4KidsGetSettings(TheApp->GetTextedit()); in LoadData() 82 soundEditCommand = swSoundEditGetSettings(TheApp->GetTextedit()); in LoadData() 83 movieEditCommand = swMovieEditGetSettings(TheApp->GetTextedit()); in LoadData() 119 swTextEditSetSettings(TheApp->GetTextedit(), textEditCommand, in SaveData() 121 swImageEditSetSettings(TheApp->GetTextedit(), imageEditCommand); in SaveData() 122 swImageEdit4KidsSetSettings(TheApp->GetTextedit(), imageEdit4KidsCommand); in SaveData() 123 swSoundEditSetSettings(TheApp->GetTextedit(), soundEditCommand); in SaveData() 124 swMovieEditSetSettings(TheApp->GetTextedit(), movieEditCommand); in SaveData() [all …]
|
H A D | MFInt32.cpp | 81 bool isDynamicFieldsNode = TheApp->getDynamicFieldsNode(); in writeData() 95 if (!TheApp->GetkrFormating()) { in write() 97 TheApp->incSelectionLinenumber(); in write() 101 TheApp->incSelectionLinenumber(); in write() 104 TheApp->incSelectionLinenumber(); in write() 132 TheApp->incSelectionLinenumber(); in write() 137 if (!TheApp->GetkrFormating()) in write() 142 TheApp->incSelectionLinenumber(); in write() 194 if (TheApp->GetEcmaScriptAddAllowedValues()) { in getEcmaScriptComment() 203 if (TheApp->GetEcmaScriptAddAvailableFunctions()) { in getEcmaScriptComment() [all …]
|
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Lua/ |
H A D | persistance.lua | 148 local menu_bar = TheApp.ui and TheApp.ui.menu_bar 236 ui = TheApp.ui, 237 world = TheApp.world, 238 map = TheApp.map, 271 state.ui:resync(TheApp.ui) 272 TheApp.ui = state.ui 274 TheApp.map = state.map 278 TheApp.ui.cursor = nil 282 TheApp.ui.menu_bar.ui = TheApp.ui 287 TheApp.audio:playSoundEffects(TheApp.config.play_sounds) [all …]
|
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Luatest/spec/dialogs/ |
H A D | bottom_pannel_spec.lua | 36 TheApp.world.gameLog = function() end 42 TheApp.gfx.loadFont = function() return font end 54 mock(TheApp.world, 'gameLog') 61 …assert.stub(TheApp.world.gameLog).was_not.called_with(TheApp.world, "Dynamic info is missing text!… 70 assert.stub(TheApp.world.gameLog).was.called_with(TheApp.world, "Dynamic info is missing text!") 79 …assert.stub(TheApp.world.gameLog).was_not.called_with(TheApp.world, "Dynamic info is missing text!…
|