Lines Matching refs:appCore

29     CelestiaCore *appCore;
34 CelestiaWatcher(*[_appCore appCore]), settings(_settings), appCore([_appCore appCore])
36 appCore->getRenderer()->addWatcher(this);
41 appCore->getRenderer()->removeWatcher(this);
150 CelestiaCore *appCore;
154 -(CelestiaCore*) appCore
155 {return appCore; }; method
294 appCore = NULL;
311 appCore = NULL;
328 if (appCore != NULL) {
329 // appCore doesn't own the custom alerter and cursor
332 if (appCore->getAlerter())
333 delete appCore->getAlerter();
334 if (appCore->getCursorHandler())
335 delete appCore->getCursorHandler();
336 delete appCore;
337 appCore = NULL;
346 appCore = new CelestiaCore();
404 appCore->setAlerter(new MacOSXAlerter());
405 appCore->setCursorHandler(new MacOSXCursorHandler());
406 result = appCore->initSimulation(!confFile.empty() ? &confFile : nil,
412 new MacSettingsWatcher(self, settings); // adds itself to the appCore
420 return (BOOL)appCore->initRenderer();
425 appCore->start([[Astro julianDate:date] doubleValue]);
431 appCore->charEntered(c, modifiers);
436 appCore->charEntered([string UTF8String]);
441 appCore->keyDown(c);
446 appCore->keyUp(c);
451 appCore->keyDown(c,m);
456 appCore->keyUp(c,m);
461 appCore->mouseWheel(motion, modifiers);
466 appCore->mouseButtonDown(coord.x,coord.y,modifiers);
471 appCore->mouseButtonUp(coord.x,coord.y,modifiers);
476 appCore->mouseMove(coord.x,coord.y);
481 appCore->mouseMove(delta.x,delta.y,modifiers);
486 appCore->joystickAxis(axis,value);
491 appCore->joystickButton(button,(bool)state);
496 appCore->resize((GLsizei)r.size.width,(GLsizei)r.size.height);
501 appCore->draw();
506 appCore->tick();
511 return [[[CelestiaSimulation alloc] initWithSimulation:appCore->getSimulation()] autorelease];
516 return [[[CelestiaRenderer alloc] initWithRenderer:appCore->getRenderer()] autorelease];
521 appCore->showText([text stdString]);
528 appCore->activateFavorite(*[(CelestiaFavorite*)fav favorite]);
538 if (_destinations == nil || [_destinations destinations] != appCore->getDestinations()) {
541 … _destinations = [[CelestiaDestinations alloc] initWithDestinations:appCore->getDestinations()];
549 …bestZone = [NSTimeZone timeZoneWithAbbreviation:[NSString stringWithStdString:appCore->getTimeZone…
551 bestZone = [NSTimeZone timeZoneForSecondsFromGMT:appCore->getTimeZoneBias()];
557 appCore->setTimeZoneBias([timeZone secondsFromGMTForDate:date]);
558 appCore->setTimeZoneName([[timeZone abbreviationForDate:date] stdString]);
563 return appCore->getTextEnterMode();
568 appCore->cancelScript();
573 return appCore->getHudDetail();
578 appCore->setHudDetail(hudDetail);
583 appCore->back();
588 std::vector<Url>::size_type historySize = appCore->getHistory().size();
590 if (appCore->getHistoryCurrent() > historySize-2) return;
591 appCore->forward();
597 appState.captureState(appCore);
606 appCore->goToUrl([url stdString]);
611 appCore->setStartURL([url stdString]);
616 return appCore->getSimulation()->getActiveObserver()->getLocationFilter();
621 appCore->getSimulation()->getActiveObserver()->setLocationFilter(filter);
626 appCore->runScript([fileName stdString]);
631 Selection sel = appCore->getSimulation()->getSelection();
702 return appCore->getConfig()->aaSamples;
707 CelestiaConfig *cfg = appCore->getConfig();
713 appCore->getConfig()->ignoreGLExtensions.push_back([extension stdString]);
723 appCore->initMovieCapture(movieCapture);