GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
gtengine::MOrganizer Class Reference

Event/Race Organizer. More...

Inheritance diagram for gtengine::MOrganizer:
System::Object

Public Member Functions

 MOrganizer ()
 constructor taking no param More...
 
void initialize ()
 Initializes the organizer. More...
 
void finalize ()
 Finalizes the organizer. More...
 
void leaveEntry (Int slot_id, Bool unk=false)
 
void requestTeamLeader (Int unk)
 
Bool checkTeamLeader (Int unk)
 
void setTeamID (Int unk, ULong id=-1)
 
ULong getTeamID (Int unk)
 
ULong getTeamPoint (ULong unk)
 
void setBoobyPoint (UShort unk)
 
UShort getBoobyPoint ()
 
void clearAllPoint ()
 
Int getRidingDriverIndex (Int slot_id)
 Gets the driver parameter index that is currently driving for the specified slot id. More...
 
void setRidingDriverIndex (Int slot_id, Int driver_idx)
 Sets the driver parameter index that is currently driving for the specified slot id. More...
 
void setStartDriverIndex (Int slot_id, Int unk2)
 
Int getRidingSlotID (Int slot_id)
 
Bool checkEnabledDrive (Int unk)
 
Int getDrivingSlotID (Int unk)
 
Bool getRideSlotCheck (Int slot_id, Int my_slot_id)
 
void dropRequest (Int myslot, Int cslot, Bool to_leave=true)
 
void dropOtherDriver (Int unk, Int unk2)
 
void toPitStop (Int unk)
 
void enableSingleOnlineRace ()
 
void setAccumulationTime (Int time_ms, Bool unk2)
 Used for GT5 Rally. More...
 
Int getAccumulationTime (Int unk_index)
 
Int getSlowestTimeInRace ()
 Used for GT5 Rally. Usage unknown. More...
 
Int replaceVehicle (Int slot_id, Float angle_rad=0.0, Float vcoord=-1.0, Bool unk4=false)
 Resets a car in the race using VCoord and angle. More...
 
Int replaceVehicleByPosition (Int slot_id, Float angle_rad=0.0, Float x=0.0, Float y=0.0, Float z=0.0)
 Resets a car in the race using angle and position. More...
 
void ostracizeRaceNoTarget (Bool switch)
 Removes or adds all the cars from the race except the current target car. More...
 
Array< FloatgetSlotGroundPosition (Int slot_id, Float unkoffset, Float unkoffset2)
 Returns the ground position for a slot id. May be starting position, does not consistently update. More...
 
void setPitID (Int slot_id, Int pit_id)
 Sets the pit id for a slot id. Intended for use with gtengine::StartType::PIT. More...
 
void setPitBoxRotation (Int unk)
 
Bool isCompleteSlot (Int slot_id)
 Returns whether a slot_id is "completed", it is ready and currently in the race. More...
 
void changeSpecialDriver (Int slot_id, Int special_driver)
 Unknown. Used in GT5 School. More...
 
void setEnableExportLiveTiming (Bool unk)
 Stubbed. More...
 
Bool setEventSignalWait (Bool wait)
 Tells the event signaler to wait before starting. Setting to true will wait for the race to start until untoggled. More...
 
void setWait0EntryEvent (Bool value)
 
void openLoadingCourseDoneEvent (MRenderContext context, MWidget widget)
 
Bool isEventSignalWait ()
 Whether the event signaler is waiting. See setEventSignalWait(). More...
 
void resetWeather (Bool keep_time_of_day, MRaceParameter new_rp=nil)
 Resets the race's weather. This can be run during a race. More...
 
Array< FloatgetSplitTripByDrivers (Int slot_id)
 Gets the odometer for each driver of a slot id. More...
 
Float getTripMeterInSession (Int slot_id)
 Gets the current trip meter/mileage in meters for the specified slot_id. More...
 
Int getWinnerSlotID ()
 Gets the slot id that won the race. More...
 
void rideRequestOtherSlot (Int unk, Int unk2, MCarDriverParameter unk3)
 
void answerRideRequestOtherSlot (Int unk, Int unk2, Bool unk3)
 
void setRejectRideRequestMode (Bool value)
 
Int getRemainMSecToStart (Int slot_id)
 Gets the time in milliseconds until a car/slot_id starts the race. More...
 
Int getRemainMSecToFinish ()
 Gets the time in milliseconds until the race ends. More...
 
ULong getRaceStartTime ()
 
Int getDisplayRemainTimeSecond (Bool unk)
 Gets the display remaining time for the race. More...
 
Bool checkFinishRace (Long ms=0)
 
Int getAccountID (Int slot_id)
 Gets the account/driver parameter id for a slot id. More...
 
Int getResourceID (Int unk)
 
void openEntryRacer ()
 Allows new entries to enter the race. More...
 
void closeEntryRacer ()
 Disallows entries to enter the race. More...
 
Bool canEntryRacer ()
 Returns whether new entries can enter the race. More...
 
void entryProcessLock (Int unk)
 
void entryProcessUnlock (Int unk)
 
Bool entryRace (Int slot_id, MCarParameter cp=nil)
 Sets a car to enter the race. Returns whether successful. More...
 
Bool entryRaceAsync (Int slot_id, MCarParameter cp=nil)
 Sets a car to enter the race (async). Returns whether successful. More...
 
MCarParameter leaveRace (Int slot_id, Bool unk2=false)
 Sets a car/slot_id to leave the race. More...
 
void leaveRaceRequestAll ()
 Sets all cars to leave the race. Use this carefully, may crash. More...
 
EntryLevel getEntryState (Int slot_id)
 Returns the entry state of a slot id/car. More...
 
RunningState getRunningState (Int slot_id)
 Returns the running state of a slot id/car. More...
 
UInt getHasEnergyType (Int slot_id)
 Returns energy type flags for a slot id/car. More...
 
void startGameObjectLoop ()
 Starts race loop. (?). More...
 
void stopGameObjectLoop ()
 Stops the race loop (?). More...
 
void syncGameObjectLoop ()
 
void connectRenderingRace ()
 
void disconnectRenderingRace ()
 
Bool isEnableRenderingRace ()
 Whether the race is being rendered. More...
 
void enableRenderingRace ()
 Enables rendering the race. More...
 
void disableRenderingRace ()
 Disables rendering the race. (Black screen) More...
 
void enableSoundingRace ()
 Enables race sounds. More...
 
void disableSoundingRace ()
 Disables race sounds. More...
 
void setCamera (CameraType type, Int window_id_maybe=0)
 Sets the current camera. More...
 
void setCameraWithMount (CameraType type, Int mount, Int window_id_maybe=0)
 Sets the current camera with the specified mount. More...
 
void changeSpectatorCamera (CameraType type, Int mount, Int window_id_maybe=0)
 Sets the current spectator camera with the specified mount. More...
 
void setForceCamera ()
 Stubbed. More...
 
void resetForceCamera ()
 Resets camera. Will set camera to ONBOARD and set target to the first slot id/car. More...
 
Map getCameraParameters ()
 Gets photo mode camera parameters. More...
 
void setForceReplayCameraSet ()
 Stubbed. More...
 
void setForceInCarModel ()
 Stubbed. More...
 
void setForceAllVisionList ()
 Stubbed. More...
 
void copyDriverParameter (Int slot_id, Int pilot_id, MCarDriverParameter dp, Bool unk4=false)
 Copies a driver parameter to the specified slot_id's pilot/driver id. More...
 
Int setDataSynchronizeAtStart (Bool unk)
 
STStructure getCurrentPitStrategy (Int slot_id, Bool unk2=false)
 
Int startVehiclePitWork (Int slot_id, STStructure pit_strategy)
 
void startVehicleInSession (Int slot_id)
 
void releasePitVehicle (Int slot_id)
 
Bool setPitMode (Int slot_id, Bool autocruise, Bool do_pit_stop)
 
void setReadyEntry (Int slot_id, Bool unk)
 
void setWithoutRace (Int unk, Bool unk)
 
Bool getWithoutRace (Int unk)
 
void toCruiseMode (Int unk, Bool unk2=false, Int unk3=80)
 
void needPitStrategyConfirm (Bool value)
 
void confirmPitStrategySlot (Int unk)
 
void enableSuspendRace (Int slot_id)
 Enables suspending the race for the provided slot id/car. More...
 
MBlob getRaceSuspendData ()
 Gets race suspended data as a blob. More...
 
void requestResumeRace (MBlob suspend_data)
 Resumes the race with the specified suspend data. More...
 
Bool isEnabledSuspendRace ()
 Returns whether suspending the race is enabled (for endurance). More...
 
Bool isResumedRace ()
 Returns whether the race has resumed (after requestResumeRace().) More...
 
Bool isResumedBuild ()
 
void clearResumedBuild ()
 
Bool checkResumeBuffer (MBlob race_snapshot)
 
void resumeCourseInfo (MBlob unk)
 
void setSequentialLoadMode (Bool unk)
 
void enableUpdateManagement (Bool unk)
 
void notrecordBestLapTime ()
 
void setUseAutoInCarReplay (Bool value)
 
void noDispVehicleFlag (Bool unk)
 
void noDispBackMirror (Bool disabled)
 Whether to disable the back mirror. Only for bumper view. More...
 
void getOverRideMipMapLv ()
 Always returns const 0 in release mode at least. More...
 
void setOverRideMipMapLv ()
 Stubbed in release mode. More...
 
CameraType getCameraType (Int window_id=0)
 Gets the current camera type for a window id. More...
 
CameraType getSpectatorCameraType ()
 Gets the current spectator camera type. More...
 
CameraType getCurrentCameraType (Int window_id)
 Gets the current camera type for a window id. More...
 
Int getCameraMountNum (Int window_id=0)
 Gets the current camera mount number for a window id. More...
 
Int getCameraTarget (Int window_id)
 Gets the target slot id/car of the camera for the specified window id. More...
 
void setCameraTarget (Int window_id, Int slot_id)
 Sets the camera target to the specific slot id/car for a specified window id. More...
 
void setCameraTargetV (Int vcoord)
 Sets the camera's target vcoord. Camera type must be gtengine::CameraType::COURSEV. More...
 
void setCameraTargetVbyPos (Array< Float > pos_XYZ)
 Sets the camera's target by position. More...
 
void initializeCameraMode (Bool unk, Bool unk2, Bool unk3)
 Initializes camera mode. More...
 
void callDriversViewChange ()
 Changes the current camera mount view (in replay mode). More...
 
void commandCameraButton (Int unk)
 Programatically presses the camera view change button. Param is unknown. More...
 
void setCameraInputEnable (Int enable)
 Whether the camera is open to inputs. Intended for use with camera types that allow movement, i.e gtengine::CameraType::WALK. More...
 
void setDisableCameraDrawFlag (CameraDrawFlag flag)
 Sets items to disable rendering on the camera. More...
 
void setDisableSelectCamera (Bool disable)
 Sets whether to disable changing cameras. Won't apply until race restart. More...
 
void setInCarCameraPlay ()
 
void setDisableSelectTarget (Int bool_int)
 Sets whether to disable selecting a target. More...
 
void setBSpecCameraTable ()
 
void setLicenseCameraTable (Int unk)
 
Bool isLicenseCameraTable ()
 
Bool isPreviewCameraInSpectator ()
 
void resetSpectatorCamera ()
 Resets the spectator camera. More...
 
Bool isTargetCarPitIn ()
 Gets whether the current target car is pitting. More...
 
void isValidCameraTarget (Int unk_maybeunused=0)
 
Int getTargetCarDistributeCameraNum ()
 
void setCameraDisableUpdateFlag (Bool unk)
 Disables any camera tracking update. More...
 
Int getSelectedOnboardCamera (Int window_id=0)
 Gets the selected onboard camera index for the specified window id. More...
 
void setEnableFullSelectCamera (Bool unk)
 
void setOnboardEffect (Bool unk)
 
Int getNumberOfPitIn (Int slot_id)
 Gets the number of times a slot id/car has pitted in the race. More...
 
MCarStatus getCarStatus (Int slot_id)
 Gets the car status for a slot id/car. More...
 
Float getAllCarGasConsumption ()
 Gets the gas consumption of all the cars in the race. More...
 
Int checkSlotPitInStatus (Int slot_id)
 Returns whether a slot id/car is currently pitting. More...
 
Bool checkMountNum (Int slot_id, Int mount)
 Returns whether a specific mount is valid for the specified slot id/car. More...
 
void setCameraWindowControllerPort (Int window_id, Int port)
 Binds a controller port to a window id. More...
 
void setCarCameraMotion (String ebc_file_name)
 
void setCarCameraMotionNoiseType (Int unused)
 
void setWalkCameraMount (Int unk)
 Sets the walking camera mount. Intended for photo mode. More...
 
void clearCarCameraMotion ()
 
void setWorldCameraMotion (String ebc_file_name)
 
void clearWorldCameraMotion ()
 
Array< FloatgetCameraSubjectPosition ()
 Gets the camera subject position as vector XYZ. More...
 
Array< FloatgetCameraSubjectQuaternion ()
 Gets the camera subject quaternion. More...
 
Bool isRenderReady ()
 Gets whether the race render is ready. More...
 
Float getVehicleTripKm (Int slot_id, Int unk2=-1)
 Gets the trip mileage for a car in kilometers. More...
 
Int getNbProbablyHaveResourceVehicles ()
 Number of vehicles that probably have a resource. More...
 
Int checkHasNotResourceVehicle (Int unk)
 
void forceFinishRace (Int slot_id, Int finish_rank)
 Forces finishes a race for a slot id/car. More...
 
Int getForceFinishResult ()
 
void setCollisionEnable (Bool enabled)
 Enables or disables collision with other cars. Does not put cars in a ghost state. More...
 
void setWallCollisionEnable (Bool enabled)
 Disables all wall collisions. More...
 
Bool isBuildComplete ()
 Returns whether building the race is complete. More...
 
Bool checkBadTiming ()
 
Bool waitOtherEntries (Int unk)
 
Bool waitRegularRacers (Int unk)
 
Bool waitForNoRacers (Int unk)
 
void loadingCourseSpeculation (ULong unk)
 
void requestLoadingCourse ()
 
Bool isCourseLoadForDataLogger ()
 
void setLoadingImageFile (String path_to_image)
 Sets the loading background image. More...
 
Bool hasLoadingCarDone ()
 
Int getLoadedCarCount ()
 
void canEnterCourse (Bool unk=false)
 
Bool enterCourse ()
 
void exitCourse ()
 Exits the course. More...
 
Bool inCourse ()
 
Bool inCourseAllEntries ()
 
Bool checkLeaveRace (Int slot_id)
 
Int checkDisqualifySlot (Int unk)
 
Bool checkInCourseSlot (Int unk)
 
UInt getCurrentCourseCode ()
 Gets the current DB course code. More...
 
void setApplicationEndSessionSecond (Int unk, Bool unk2=false)
 
Int getApplicationEndSessionSecond ()
 
void setApplicationTimeLimitNoStopAtPause (Bool unk)
 
void setNoInputLimitSecond (Int unk)
 
void setNetworkStartSync ()
 
Bool checkReadySession ()
 
ULong getNetworkCourseCode ()
 
Bool startSession (MRaceParameter rp, Bool replay_mode=false, StartSessionCameraType camera_type=0, Bool demo_mode=false)
 
Bool checkLoadingPreSession ()
 
Bool startRaceRequest (Int unk=-1)
 
void setLoopSessionMode ()
 
Bool isLoopSessionMode ()
 
void setReenterCourse ()
 
void startTrackDay ()
 
void finishTrackDay ()
 
void replaceNextGridWithSort (MRaceParameter rp, Int unk)
 
void setMatchingComplete ()
 
Bool endSession ()
 
Bool inSession ()
 
Bool isFreeRun ()
 
Int getEntryMaxAtCurrentRace ()
 
ControlType getEntryControlType (Int slot_id)
 
ControlType getEntryDriverControlType (Int slot_id)
 
String getEntryName (Int slot_id)
 Gets the internal entry name for the specified slot id i.e "Entry00". Use getDriverDisplayName() for display name. More...
 
String getEntryCountry (Int slot_id)
 Gets the internal country for the specified slot id i.e "PDI". More...
 
void entryRaceRequest (Int unk)
 
Int checkAcceptRaceRequest (Int unk)
 
Array< IntgetSlotIDListOnGrid ()
 Returns a list of slot ids currently on or will be on the grid. More...
 
Int getGhostSlotID (Int unk)
 
void killAllGhosts ()
 
void disableLoadGhost ()
 
Array< ArraygetEntriedCarParameters (Bool unk=false)
 Gets all the cars entried in the race. More...
 
MCarParameter getEntriedCarParameter (Int slot_id, Bool unk=false)
 
void setChangeableCarParameterAtBeginningOfSession (Int unk)
 
void writebackCarParameter (Int unk, Bool unk2=false)
 
void writebackCarParameterOutOfSession (Int unk, Bool unk2=false)
 
void writebackDriverParameterOutOfSession (Int unk)
 
MCarDriverParameter getEntriedDriverParameter (Int slot_id, Int unk2=-1)
 
String getDriverDisplayName (Int slot_id, Int unk2=-1)
 Gets the display name for a specified slot id. More...
 
void setChangeableDriverParameterAtBeginningOfSession (Int slot_id, Int unk2=-1)
 
void setRaceDisplayTarget (Int window_id, Int slot_id)
 Sets the display's driver target. More...
 
Int restartNetworkRace (MRaceParameter rp, GridSortType grid_type=-1, Bool init_course=false, Bool to_race=true, Bool unk2=false, Bool failure_session_maybe=false)
 
void restartOfflineRace (MRaceParameter rp, GridSortType grid_type=-1, Bool init_course=false, Bool to_race=true, Bool unk2=false, Bool failure_session_maybe=false)
 
void possibleRestartRace (Bool unk=true)
 
void setAppointment (Bool unk=true)
 
void arriveAppointment ()
 
Bool checkAppointment ()
 
void setProvidePointList (Array< UShort > list=nil)
 
Bool isRestartSequence ()
 
Bool isDestroySequence ()
 
Bool checkNewSessionAtRestart ()
 
Bool isSynchronizedSession ()
 
Bool canDropRace (Int unk=-1)
 
void completeGenerateCourse ()
 
Bool isGenerateCoursePhase ()
 
Bool reloadCourse (MRaceParameter rp, Bool to_race, Bool generated_course_unused_maybe=false, ByteData course_param=false, Bool unk2=false, Int unk3=0, Bool unk4=false, ByteData unk5=nil)
 
Bool reloadCourse (String unk, Bool to_race, Bool generated_course_unused_maybe=false, ByteData course_param=false, Bool unk2=false, Int unk3=0, Bool unk4=false, ByteData unk5=nil)
 
Bool chaseReloadCourse ()
 
MCourseGenerateData setGenerateData (ByteData course_data)
 
void issuePitMessage (PitMessageType type, Int slot_id)
 
Bool getLoadStatusOtherClient (Int unk=-1)
 
void setNoRunSlotGridIsRandom (Bool unk)
 
Int getElapsedRaceTime ()
 Gets the elapsed race time in milliseconds. More...
 
Bool checkFinishRaceSignal ()
 
Bool checkCompleteSlotSignal ()
 
void disableDiffTime ()
 Disables displaying diff time on new sectors. More...
 
void setGridPointForEvent (Array< Int > grid_points=nil)
 
Array addCourseGadget (String gadget_name, Array< Float > xyz, Array< Float > orientation_posture)
 
void removeCourseGadget (Int id)
 
void clearCourseGadget ()
 
void layoutCourseGadget ()
 
Int getGadgetIDFromName (String name)
 Gets a gadget id from name from the course data's gadget structure. More...
 
Int getHitGadgetInSession ()
 
void registGameParameterGadget (Int unk, Array< Float > unk2, Array< Float > unk3)
 
void clearGameParameterGadget ()
 
Int getGoalTime (Int slot_id)
 Gets the goal time for a slot id/car. More...
 
Int getFastestLapTime (Int slot_id)
 Gets the fastest lap time in the race for a slot id/car. Race must have ended. More...
 
Int getDisplayBestLapTime (Int slot_id=-1)
 Gets the display best lap in the race. More...
 
Int getCurrentRaceLaps ()
 Gets the current race laps (from the 1st's perspective) More...
 
void setEventCallback (MRenderContext context, MWidget widget)
 Binds all race events to a widget (normally window aka RaceRoot). More...
 
void setEventCallbackBackupWidget (MWidget widget)
 
void clearEventCallback ()
 
MLiveTimingRecord getLiveTimingRecord ()
 Gets live timing record object. More...
 
Array< IntgetCarOrderList (Bool unk=false)
 
Array< IntgetFixedCarOrderList ()
 
Array< ArraygetCurrentOrderList ()
 
Int getEnsuredCarOrder ()
 
Int getFixedCarOrder (Int slot_id)
 
MRaceParameter getCurrentRaceParameter ()
 
void setCurrentRaceParameter (MRaceParameter rp)
 
MRaceParameter getBackRaceParameter ()
 Gets the original race parameter. When restarting the race, this parameter will be used. More...
 
void setBackRaceParameter (MRaceParameter rp)
 Sets the original race parameter. This will also update the current one. More...
 
Int getSectorCount ()
 Gets the amount of sectors in the race. More...
 
void setEnableTimer (Bool enable)
 Whether to enable the timer. This will not stop rendering it if false; It will disable updating it. More...
 
void setOnlineEventParameter (MRaceParameter rp)
 
MBlob getGeometryBufferForLoad ()
 Stubbed in release. More...
 
MBlob getReplayHeaderFromPath (String replay_file_name)
 Gets the replay header from a specified file. More...
 
MBlob getReplayHeaderFromWorkPath ()
 
MBlob getReplayHeaderFromGhostPath ()
 
MBlob getReplayHeaderFromLoadGhostPath (String path)
 
Bool checkReplayBuffer (MBlob buffer)
 
void dumpReplayHeaderInfo (MBlob header)
 Stubbed in release. More...
 
void prepareReplayPath (String path)
 
MBlob getPreparedReplayBuffer ()
 
Bool isFinishedFirstLoad ()
 
Bool canStartReplayWithCurrentRace ()
 
Bool startReplayWithCurrentRace ()
 
Int saveReplayToFile (String file)
 
Int loadReplayFromFile (String file)
 
Bool patchReplayData (ByteData data, Int unk, MCarParameter cp, Int unk2, MCarDriverParameter dp)
 
void clearAllGhostRecord ()
 
String getRecordedMarkPath ()
 
Bool loadMarkReplay (String path, String online_id=nil, UInt mark_id, Bool unk, Bool unk2=false)
 
Bool isLoadingAnyMarkReplay ()
 
void unloadMarkReplay ()
 
void setReplayRecordableSize (UInt size)
 
void decideReplayTrackNum ()
 
void topReplayChapter ()
 
void backReplayChapter ()
 
void nextReplayChapter ()
 
void checkGhostFileBeforeRace ()
 
Bool canSeekNextChapter ()
 
Bool canSeekPrevChapter ()
 
Int getPrevChapterNum ()
 
Bool canSkipChapter ()
 
void setDisableChapterMode ()
 
Bool nowPlayingReplay ()
 Gets whether the replay is being played. More...
 
UInt getReplayNextFrame ()
 
AutomobileControllerType getControllerType (Int slot_id)
 Returns the controller type for a slot id/car. More...
 
void setBufferDecryptManager (MBufferDecryptManager manager)
 Sets the singleton for decrypting car files. More...
 
void setSoundContext (MSoundContext context)
 Sets the sound context. More...
 
void setRaceSound (MRaceSound race_sound)
 Sets the race's race sound. More...
 
MRaceSound getRaceSound ()
 Gets the race's race sound. More...
 
void enableIconCapture (Bool enabled)
 Stubbed. More...
 
Bool isEnabledIconCapture ()
 Stubbed. Always returns false. More...
 
void captureIcon ()
 Stubbed. More...
 
void beginGpsReplay ()
 
void endGpsReplay ()
 
Bool isOnline ()
 Returns whether the organizer is operating on an online race. More...
 
Bool checkEnableNetwork ()
 
MPDINetworkUserId getHostId ()
 
void setSceneQualityInRaceNoInterior (Bool unk)
 
void setSceneQualityInRaceNoCrowd (Bool unk)
 
void setSceneQualityInRaceSimpleSmoke (Bool unk)
 
Int getDriverDebugFlag (Int unk)
 Stubbed. Returns -1. More...
 
void setDriverDebugFlag (Int unk, Int flag)
 Stubbed. More...
 
void getCrowdDebugFlag ()
 Stubbed. Returns 0. More...
 
void setCrowdDebugFlag (Int flag)
 Stubbed. More...
 
Bool getDrivingLineDispFlag (Int window_id)
 Gets whether the driving line for a window is enabled. More...
 
void setDrivingLineDispFlag (Int window_id, Bool enabled)
 Sets whether to display the driving line for a window. More...
 
Bool getDebugDrawPitinLine ()
 Gets whether to display the pit-in autodrive line instead of the regular line. More...
 
void setDebugDrawPitinLine (Bool enabled)
 Sets whether to display the pit-in autodrive line instead of the regular line. More...
 
void setInCarFovyType (Int window_id, Int fovy_type)
 
void setCautionCruise (Int unk, Bool unk2, Bool unk3=false)
 
void clearCautionCruise (Int unk)
 
void setGenerateSuggestLine (Bool enable)
 
Bool getGenerateSuggestLine ()
 
void setAutoAttackLineCourseDivDis (Float unk)
 
void setAutoAttackLineSideOffset (Float offset)
 
void getMovieEnable ()
 Stubbed in release. More...
 
void setMovieEnable ()
 Stubbed in release. More...
 
Int getMovieOutput ()
 Stubbed in release. More...
 
void setMovieOutput ()
 Stubbed in release. More...
 
Int getStartFrame ()
 Stubbed in release. More...
 
void setStartFrame ()
 Stubbed in release. More...
 
Int getEndFrame ()
 Stubbed in release. More...
 
void setEndFrame ()
 Stubbed in release. More...
 
Int getSubFrames ()
 Stubbed in release. More...
 
void setSubFrames ()
 Stubbed in release. More...
 
Int setRateFor60fps ()
 Stubbed in release. More...
 
void getRateFor60fps ()
 Stubbed in release. More...
 
void setFrameDataOutput ()
 Stubbed in release. More...
 
void getFrameDataOutput ()
 Stubbed in release. More...
 
void setFramePilotDataOutput ()
 Stubbed in release. More...
 
void getFramePilotDataOutput ()
 Stubbed in release. More...
 
void setFrameDataWithParts ()
 Stubbed in release. More...
 
Array getGameResolution ()
 Gets the game's current resolution parameters. More...
 
void setGameResolution (Int width, Int height, Bool is_4x3=false, Bool unk=false)
 
Bool isSelectableGameResolution (Int width, Int height, Bool is_4x3=false)
 
Bool getUseParallaxView ()
 
void setUseParallaxView (Bool enable)
 
Int getParallaxChangeMode ()
 
void setParallaxChangeMode (Int mode)
 
Bool getEnableStereoRendering ()
 
void setEnableStereoRendering (Bool enable)
 
void applyGameResolution ()
 Use setGameResolution() before. More...
 
Bool applySimulView ()
 Stubbed in release. More...
 
void getBlur ()
 Stubbed in release. More...
 
void setBlur ()
 Stubbed in release. More...
 
void getMovieStatePrint ()
 Stubbed in release. More...
 
void setMovieStatePrint ()
 Stubbed in release. More...
 
String getMoviePath ()
 Stubbed in release. More...
 
void setMoviePath (String path)
 Stubbed in release. More...
 
void setMovieFormat ()
 Stubbed in release. More...
 
void getMovieFormat ()
 Stubbed in release. More...
 
void setMovieAudioOutput ()
 Stubbed in release. More...
 
void getMovieAudioOutput ()
 Stubbed in release. More...
 
void setMovieDepthOutput ()
 Stubbed in release. More...
 
void getMovieDepthOutput ()
 Stubbed in release. More...
 
void setMovieShutterRate ()
 Stubbed in release. More...
 
void getMovieShutterRate ()
 Stubbed in release. More...
 
void setMovieHiQualityMode ()
 Stubbed in release. More...
 
void getMovieHiQualityMode ()
 Stubbed in release. More...
 
void setSaveSequence (Bool enabled)
 
void pauseInSaveSequence (Bool enabled)
 
void requestPause ()
 
void komaOkuri ()
 
void stopReplayUpdate (Bool stop)
 
void setUpdatePauseAsyncIndex (Int index)
 
Bool isExecuteUpdate ()
 Returns whether the organizer is executing updates. More...
 
Bool isGettingPilotInVehicle ()
 
void getPilotInVehicle (Int slot_id, Bool in_vehicle=true)
 Sets whether there is a pilot driving the vehicle. If false, car will be put to a halt. More...
 
void setMonitorLayout (Int unk, Int unk2=1)
 
void startMonitorClient ()
 
void endMonitorClient ()
 
Int getMonitorClientErrorCode ()
 
void onGameOptionApply ()
 
void execCommand (String cmd, Bool unk=true)
 
void execAtUpdateThread ()
 
void waitTickEntry ()
 
Int isUnderPhotoRendering ()
 
Int isUnderPhotoEncoding ()
 
Int isUnderPhotoExitWait ()
 
Float getPhotoProgress ()
 
void exitPhotoPreview ()
 
Float getCourseLength ()
 Gets the course's length in meters. More...
 
Bool isLoopCourse ()
 Returns whether the course is a loop/circuit, not point to point. More...
 
Int getCornerNum ()
 Gets the number of corners. Note: seems to always return -1. More...
 
Float getmaxStraightLength ()
 Gets the max straight's length. More...
 
Float getVerticalInterval ()
 
Float getStartV ()
 Gets the start line's vcoord. More...
 
Float getGoalV ()
 Gets the goal's vcoord. More...
 
void getCarsAndCourseVramSize ()
 
void setCarsAndCourseVramSize ()
 
Float getCarLODSize (Array< Int > slot_ids)
 
Array< FloatgetLatestSceneModelView (Int unk)
 Gets the current scene model view as a matrix for the specified window. More...
 
Int getAIPitDecisiton10VitalityAtRace ()
 
void setAIPitDecisiton10VitalityAtRace (Int value)
 
Int getAIPitDecisiton10TireAtRace ()
 
void setAIPitDecisiton10TireAtRace (Int value)
 
UInt requestRaceStage (String stage)
 
void isReadyRaceStage (UInt unk)
 
UInt getRaceStagePhase (UInt unk)
 
void startRaceStage (UInt unk, Int unk2, Float unk3=-1.0, Float unk4=0.0, Float unk5=0.0, Float unk6=0.0, Bool unk7=true, Bool unk8=true, Int unk9=0)
 
Array< MapresetRaceStage (UInt stage_data_code, Int slot_id, Int coord, Float x=0, Float y=0, Float z=0, Float rotYdeg=0.0, Float vcoord=0.0, Bool ostracize=false, Int oclock=0, Bool move_vehicle=false)
 
void endRaceStage (UInt unk, Int unk2=nil)
 
void clearRaceStage (UInt unk)
 
StagePhaseType getRacePhase ()
 Gets the current race phase. More...
 
StagePhaseType getNetworkRacePhase ()
 Gets the current network race phase. More...
 
void ostracizeAllCars (Bool switch)
 Removes or adds all the cars from the race. More...
 
Bool isDebugStopFlag ()
 
Float getCourseStreamProgress ()
 Gets the loading/streaming progress of the course (0.0 to 1.0). More...
 
void beginReducedMem ()
 
void endReducedMem ()
 
Array< FloatgetVehiclePosition (Int slot_id)
 Gets the exact vehicle position for a slot id/car as vector 3 [X, Y, Z]. More...
 
void setRaceSubMode (Bool unk)
 
Array< RaceSubModeTypesgetRaceSubModeList ()
 
void resetVehicle (Int slot_id, Int vcoord)
 Resets a vehicle. More...
 
void resetVehicleStatus (Int slot_id)
 Resets a vehicle's status. More...
 
MRaceStatus getRace ()
 Gets the race's status. More...
 
MRaceCameraStatus getCameraControl ()
 Gets the camera control status. More...
 
MRaceCameraSetStatus getCameraStatus (Int index)
 Gets the camera set status. More...
 
MRaceEntryStatus getTargetRaceEntry (Int slot_id=0)
 Gets the race's target race entry status. NOTE: slot id must not be out of bound, or crashes. More...
 
void setEffectFader (Float unk)
 
void startBenchTest (Map settings)
 
Bool isBenchTestRunning ()
 
Map analyseBenchTest ()
 
void bindInputBenchTest (MChartFace face)
 
void bindOutputBenchTest (Int unk, MChartFace output_face, MChartFace spectrum_face, MChartFace phase_face)
 
void bindBenchTestDummy ()
 
void beginBenchTestFloor (UInt stage_request_id, String unk_name)
 
void endBenchTestFloor (UInt stage_request_id, String unk_name)
 
void setLineGhost (Bool is_set)
 
void sendDebugMessage (String message)
 Stubbed in release. More...
 
void sendDebugMessage (Int unk, String message)
 Stubbed in release. More...
 
void selectOptionalFunctions (Bool flags)
 
Bool getDerivedMapData ()
 
- Public Member Functions inherited from System::Object
 Object ()
 constructor taking no param More...
 
Bool isInstanceOf (Class classType)
 Returns whether an object is of a specific class/type. More...
 
Object getDeepCopy ()
 Gets a deep copy of this object. More...
 
void setDeepCopy (Object obj)
 Unk. More...
 
String dump ()
 Dumps all info about an object. More...
 
Object getObjectAttribute (string path)
 
void setObjectAttribute (string path, Object value)
 
Bool hasPrimitiveInterface ()
 Returns whether this object has a primitive interface. More...
 
Bool toBool ()
 Casts this object to Bool. More...
 
Byte toByte ()
 Casts this object to Byte. More...
 
Short toShort ()
 Casts this object to Short. More...
 
Int toInt ()
 Casts this object to Int. More...
 
Long toLong ()
 Casts this object to Long. More...
 
UByte toUByte ()
 Casts this object to UByte. More...
 
UShort toUShort ()
 Casts this object to UShort. More...
 
UInt toUInt ()
 Casts this object to UInt. More...
 
ULong toULong ()
 Casts this object to ULong. More...
 
Float toFloat ()
 Casts this object to Float. More...
 
Double toDouble ()
 Casts this object to Double. More...
 
String toString ()
 Casts this object to String. More...
 
Symbol toSymbol ()
 Casts this object to Symbol. More...
 
Bool hasArrayInterface ()
 Returns whether this object has an Array interface. More...
 
Int getArrayCount ()
 Gets the Array item count for this object. More...
 
void setArrayCount ()
 Sets the Array item count for this object. More...
 
Object getArrayElement (Object arg0)
 Gets an Array item for this object. More...
 
void setArrayElement (Object arg0, Object arg1)
 Sets the Array item for this object. More...
 
Bool hasMapInterface ()
 Returns whether this object has a Map interface. More...
 
int getMapCount ()
 Returns the count of items in the map. More...
 
void setMapElement (Object arg0, Object arg1)
 Returns whether the Map has a specific object key. Bool hasMapElement(Object arg0);. More...
 
Object getMapElement (Object arg0)
 Gets a Map element by key. More...
 
void hasGeneratorInterface ()
 Returns whether this object has a generator interface. More...
 
Iterator generator ()
 Returns generator (?) More...
 
void hasIteratorInterface ()
 Returns whether this object has an iterator. More...
 
Iterator iterator ()
 Gets the iterator for this object. More...
 
void hasVariableInterface ()
 Returns whether this object is a variable. More...
 
void hasFunctionInterface ()
 Returns whether this object has a function interface. More...
 
Object call ()
 Calls this object as a function. More...
 
Bool hasByteDataInterface ()
 Returns whether this object has a byte data interface. More...
 
Int getByteDataCount ()
 Returns the ByteData size for this object. More...
 
void setByteDataCount (Int count)
 Sets the ByteData size for this object. More...
 
Int getByteDataCapacity ()
 Returns the ByteData capacity for this object. More...
 
void setByteDataCapacity (Int capacity)
 Sets the ByteData capacity for this object. More...
 
ByteData getByteData ()
 Gets the underlaying ByteData. More...
 
void setByteData (ByteData bytedata)
 Sets the underlaying ByteData. More...
 
void hasObjectSelectorInterface ()
 Returns whether this object has an object selector interface. More...
 
void self ()
 Gets the get for this object if it has a get interface. More...
 
void getArchiveTree ()
 
void setArchiveTree ()
 
ByteData serialize ()
 Serializes this object. More...
 
void deserialize (ByteData serializedData)
 Deserializes this object. More...
 
void defined (Object obj)
 Returns whether a certain object is defined within this object. More...
 
Array find_all (FunctionObject func)
 Finds all the elements in this object that matches the predicates. More...
 
void each_all (FunctionObject func)
 Applies callback to all elements in this object. More...
 
Array map_all (FunctionObject< Object > func)
 Maps all the elements in this object. More...
 
Bool operator!= ()
 Returns whether this object is not equal to another. More...
 
Bool operator== ()
 Returns whether this object is equal to another. More...
 

Public Attributes

void is_camera_subjective
 
void disp_meter
 
void is_dive_mode
 
void is_force_autoreplay_camera
 
void window_max
 
void race_display_window_num
 
void racers_num
 
void racers_num_without_ghost
 
void entries_num
 
Int force30fps_mode
 Whether to force 30 frames per second. More...
 
void dual_view_mode
 
void simul_view_mode
 
UInt minimum_hdd_capacity
 
Float sec_to_finish_all_complete
 
Float replay_total_sec
 Getter-only. More...
 
Float replay_elapsed_sec
 Getter-only. More...
 
String replay_org_path
 Getter-only. More...
 
String replay_work_path
 
String replay_onelap_play_org_path
 Getter-only. More...
 
String replay_onelap_record_org_path
 Getter-only. More...
 
String replay_onelap_play_work_path
 
String replay_onelap_load_org_path
 Getter-only. More...
 
String replay_onelap_load_work_path
 
String replay_onelap_attach_org_path
 Getter-only. More...
 
String replay_onelap_attach_path
 
void replay_fulllap_ghost_path
 Getter-only. More...
 
Int replay_mode
 
Bool async_update_mark
 
Bool play_mark_with_replay
 
String photo_org_path
 Getter-only. Hardcoded to return "/APP_DATA_RAW/photo/photo.dat". More...
 
String photo_thumb_path
 Getter-only. Hardcoded to return "/APP_DATA_RAW/photo/photo_t.dat". More...
 
Bool vehicle_visible
 Freezes the car if enabled. More...
 
Bool is_host
 Getter-only. More...
 
Bool driver_name_disp
 
Int driver_debug
 Stubbed. Returns -1. More...
 
Int crowd_debug
 Stubbed. Returns 0. More...
 
Int driving_line
 
Bool debug_draw_pitinline
 
Bool pace_note
 
Bool generate_suggestline
 
Int movie_enavle
 Stubbed in release. Typo is intended. More...
 
Int movie_output
 Stubbed in release. More...
 
Int movie_start_frame
 Stubbed in release. More...
 
Int movie_end_frame
 Stubbed in release. More...
 
Int movie_sub_frame
 Stubbed in release. More...
 
Int movie_60fps_rate
 Stubbed in release. More...
 
Bool movie_blur
 Stubbed in release. More...
 
void movie_state_print
 Stubbed in release. More...
 
String movie_path
 Stubbed in release. More...
 
void movie_format
 Stubbed in release. More...
 
void movie_audio_output
 Stubbed in release. More...
 
void movie_depth_output
 Stubbed in release. More...
 
void movie_shutter_rate
 Stubbed in release. More...
 
void movie_quality_mode
 Stubbed in release. More...
 
void speed_up_mode
 Stubbed in release. More...
 
Float speed_up_rate
 Always 0.0. More...
 
Int pauseHandleAvailable
 
Int pauseAvailable
 
Int pauseRace
 
Int pauseForOnline
 
Bool monitor_host
 
String monitor_host_ip
 
Bool monitor_follow_host
 
Int monitor_index
 
Int monitor_round_y
 
Float monitor_round_angle
 
Float monitor_view_angle_y
 
Float monitor_view_angle
 
Float monitor_view_angle_scale
 
Int monitor_aspect_ratio_enable
 
Float monitor_aspect_ratio
 
Float monitor_view_offset_x
 
Float monitor_convergence
 
Float monitor_frame_delay
 
Int monitor_frame_delay_enable
 
Array< Floatmonitor_border
 
Bool monitor_pixel_jitter_enable
 
Bool monitor_race_display_enable
 
Int monitor_race_display_mode
 
Int gt_hifi
 
Int extra_wide
 
Int replay_recording_quality
 
Bool full_quality_replay
 
Bool use_customized_window_settings
 
Array< Floatcustomized_window_settings
 
Bool auto_pitstop
 
Bool enable_spark
 
void running_monitor
 
void bspec_dev_skill_gauge
 
Int replay_compatible_debug
 Sets a bool singleton in the engine. More...
 
Bool enableHMD
 
Bool disableDirectStatus
 
- Public Attributes inherited from System::Object
Int rc_size
 Getter-only. Reference counter size of this object. More...
 
Object rc_class
 Getter-only. Type name of the object. More...
 
Int rc_count
 Getter-only. Reference count of this object. More...
 
Int weak_count
 Getter-only. Weak reference count of this object. More...
 
Class class_id
 Class (type) object for this object. More...
 

Detailed Description

Event/Race Organizer.

Definition at line 7 of file MOrganizer.cpp.

Constructor & Destructor Documentation

◆ MOrganizer()

gtengine::MOrganizer::MOrganizer ( )
inline

constructor taking no param

Definition at line 11 of file MOrganizer.cpp.

Member Function Documentation

◆ addCourseGadget()

Array gtengine::MOrganizer::addCourseGadget ( String  gadget_name,
Array< Float xyz,
Array< Float orientation_posture 
)
Returns
Array with results [0] - Index (Int) [1] - Database ID (Int)

◆ analyseBenchTest()

Map gtengine::MOrganizer::analyseBenchTest ( )
Returns
Map with results (?)
  • "cutoff_lpf" - Float

◆ answerRideRequestOtherSlot()

void gtengine::MOrganizer::answerRideRequestOtherSlot ( Int  unk,
Int  unk2,
Bool  unk3 
)

◆ applyGameResolution()

void gtengine::MOrganizer::applyGameResolution ( )

Use setGameResolution() before.

◆ applySimulView()

Bool gtengine::MOrganizer::applySimulView ( )

Stubbed in release.

◆ arriveAppointment()

void gtengine::MOrganizer::arriveAppointment ( )

◆ backReplayChapter()

void gtengine::MOrganizer::backReplayChapter ( )

◆ beginBenchTestFloor()

void gtengine::MOrganizer::beginBenchTestFloor ( UInt  stage_request_id,
String  unk_name 
)

◆ beginGpsReplay()

void gtengine::MOrganizer::beginGpsReplay ( )

◆ beginReducedMem()

void gtengine::MOrganizer::beginReducedMem ( )

◆ bindBenchTestDummy()

void gtengine::MOrganizer::bindBenchTestDummy ( )

◆ bindInputBenchTest()

void gtengine::MOrganizer::bindInputBenchTest ( MChartFace  face)

◆ bindOutputBenchTest()

void gtengine::MOrganizer::bindOutputBenchTest ( Int  unk,
MChartFace  output_face,
MChartFace  spectrum_face,
MChartFace  phase_face 
)

◆ callDriversViewChange()

void gtengine::MOrganizer::callDriversViewChange ( )

Changes the current camera mount view (in replay mode).

◆ canDropRace()

Bool gtengine::MOrganizer::canDropRace ( Int  unk = -1)

◆ canEnterCourse()

void gtengine::MOrganizer::canEnterCourse ( Bool  unk = false)

◆ canEntryRacer()

Bool gtengine::MOrganizer::canEntryRacer ( )

Returns whether new entries can enter the race.

◆ canSeekNextChapter()

Bool gtengine::MOrganizer::canSeekNextChapter ( )

◆ canSeekPrevChapter()

Bool gtengine::MOrganizer::canSeekPrevChapter ( )

◆ canSkipChapter()

Bool gtengine::MOrganizer::canSkipChapter ( )

◆ canStartReplayWithCurrentRace()

Bool gtengine::MOrganizer::canStartReplayWithCurrentRace ( )

◆ captureIcon()

void gtengine::MOrganizer::captureIcon ( )

Stubbed.

◆ changeSpecialDriver()

void gtengine::MOrganizer::changeSpecialDriver ( Int  slot_id,
Int  special_driver 
)

Unknown. Used in GT5 School.

◆ changeSpectatorCamera()

void gtengine::MOrganizer::changeSpectatorCamera ( CameraType  type,
Int  mount,
Int  window_id_maybe = 0 
)

Sets the current spectator camera with the specified mount.

Parameters
typeCamera type.
mountCamera mounting type.
window_id_maybeNot sure. More than 1 crashes.

◆ chaseReloadCourse()

Bool gtengine::MOrganizer::chaseReloadCourse ( )

◆ checkAcceptRaceRequest()

Int gtengine::MOrganizer::checkAcceptRaceRequest ( Int  unk)

◆ checkAppointment()

Bool gtengine::MOrganizer::checkAppointment ( )

◆ checkBadTiming()

Bool gtengine::MOrganizer::checkBadTiming ( )

◆ checkCompleteSlotSignal()

Bool gtengine::MOrganizer::checkCompleteSlotSignal ( )

◆ checkDisqualifySlot()

Int gtengine::MOrganizer::checkDisqualifySlot ( Int  unk)

◆ checkEnabledDrive()

Bool gtengine::MOrganizer::checkEnabledDrive ( Int  unk)

◆ checkEnableNetwork()

Bool gtengine::MOrganizer::checkEnableNetwork ( )

◆ checkFinishRace()

Bool gtengine::MOrganizer::checkFinishRace ( Long  ms = 0)

◆ checkFinishRaceSignal()

Bool gtengine::MOrganizer::checkFinishRaceSignal ( )

◆ checkGhostFileBeforeRace()

void gtengine::MOrganizer::checkGhostFileBeforeRace ( )

◆ checkHasNotResourceVehicle()

Int gtengine::MOrganizer::checkHasNotResourceVehicle ( Int  unk)

◆ checkInCourseSlot()

Bool gtengine::MOrganizer::checkInCourseSlot ( Int  unk)

◆ checkLeaveRace()

Bool gtengine::MOrganizer::checkLeaveRace ( Int  slot_id)

◆ checkLoadingPreSession()

Bool gtengine::MOrganizer::checkLoadingPreSession ( )

◆ checkMountNum()

Bool gtengine::MOrganizer::checkMountNum ( Int  slot_id,
Int  mount 
)

Returns whether a specific mount is valid for the specified slot id/car.

◆ checkNewSessionAtRestart()

Bool gtengine::MOrganizer::checkNewSessionAtRestart ( )

◆ checkReadySession()

Bool gtengine::MOrganizer::checkReadySession ( )

◆ checkReplayBuffer()

Bool gtengine::MOrganizer::checkReplayBuffer ( MBlob  buffer)

◆ checkResumeBuffer()

Bool gtengine::MOrganizer::checkResumeBuffer ( MBlob  race_snapshot)

◆ checkSlotPitInStatus()

Int gtengine::MOrganizer::checkSlotPitInStatus ( Int  slot_id)

Returns whether a slot id/car is currently pitting.

◆ checkTeamLeader()

Bool gtengine::MOrganizer::checkTeamLeader ( Int  unk)

◆ clearAllGhostRecord()

void gtengine::MOrganizer::clearAllGhostRecord ( )

◆ clearAllPoint()

void gtengine::MOrganizer::clearAllPoint ( )

◆ clearCarCameraMotion()

void gtengine::MOrganizer::clearCarCameraMotion ( )

◆ clearCautionCruise()

void gtengine::MOrganizer::clearCautionCruise ( Int  unk)

◆ clearCourseGadget()

void gtengine::MOrganizer::clearCourseGadget ( )

◆ clearEventCallback()

void gtengine::MOrganizer::clearEventCallback ( )

◆ clearGameParameterGadget()

void gtengine::MOrganizer::clearGameParameterGadget ( )

◆ clearRaceStage()

void gtengine::MOrganizer::clearRaceStage ( UInt  unk)

◆ clearResumedBuild()

void gtengine::MOrganizer::clearResumedBuild ( )

◆ clearWorldCameraMotion()

void gtengine::MOrganizer::clearWorldCameraMotion ( )

◆ closeEntryRacer()

void gtengine::MOrganizer::closeEntryRacer ( )

Disallows entries to enter the race.

◆ commandCameraButton()

void gtengine::MOrganizer::commandCameraButton ( Int  unk)

Programatically presses the camera view change button. Param is unknown.

◆ completeGenerateCourse()

void gtengine::MOrganizer::completeGenerateCourse ( )

◆ confirmPitStrategySlot()

void gtengine::MOrganizer::confirmPitStrategySlot ( Int  unk)

◆ connectRenderingRace()

void gtengine::MOrganizer::connectRenderingRace ( )

◆ copyDriverParameter()

void gtengine::MOrganizer::copyDriverParameter ( Int  slot_id,
Int  pilot_id,
MCarDriverParameter  dp,
Bool  unk4 = false 
)

Copies a driver parameter to the specified slot_id's pilot/driver id.

◆ decideReplayTrackNum()

void gtengine::MOrganizer::decideReplayTrackNum ( )

◆ disableDiffTime()

void gtengine::MOrganizer::disableDiffTime ( )

Disables displaying diff time on new sectors.

◆ disableLoadGhost()

void gtengine::MOrganizer::disableLoadGhost ( )

◆ disableRenderingRace()

void gtengine::MOrganizer::disableRenderingRace ( )

Disables rendering the race. (Black screen)

◆ disableSoundingRace()

void gtengine::MOrganizer::disableSoundingRace ( )

Disables race sounds.

◆ disconnectRenderingRace()

void gtengine::MOrganizer::disconnectRenderingRace ( )

◆ dropOtherDriver()

void gtengine::MOrganizer::dropOtherDriver ( Int  unk,
Int  unk2 
)

◆ dropRequest()

void gtengine::MOrganizer::dropRequest ( Int  myslot,
Int  cslot,
Bool  to_leave = true 
)

◆ dumpReplayHeaderInfo()

void gtengine::MOrganizer::dumpReplayHeaderInfo ( MBlob  header)

Stubbed in release.

◆ enableIconCapture()

void gtengine::MOrganizer::enableIconCapture ( Bool  enabled)

Stubbed.

◆ enableRenderingRace()

void gtengine::MOrganizer::enableRenderingRace ( )

Enables rendering the race.

◆ enableSingleOnlineRace()

void gtengine::MOrganizer::enableSingleOnlineRace ( )

◆ enableSoundingRace()

void gtengine::MOrganizer::enableSoundingRace ( )

Enables race sounds.

◆ enableSuspendRace()

void gtengine::MOrganizer::enableSuspendRace ( Int  slot_id)

Enables suspending the race for the provided slot id/car.

◆ enableUpdateManagement()

void gtengine::MOrganizer::enableUpdateManagement ( Bool  unk)

◆ endBenchTestFloor()

void gtengine::MOrganizer::endBenchTestFloor ( UInt  stage_request_id,
String  unk_name 
)

◆ endGpsReplay()

void gtengine::MOrganizer::endGpsReplay ( )

◆ endMonitorClient()

void gtengine::MOrganizer::endMonitorClient ( )

◆ endRaceStage()

void gtengine::MOrganizer::endRaceStage ( UInt  unk,
Int  unk2 = nil 
)

◆ endReducedMem()

void gtengine::MOrganizer::endReducedMem ( )

◆ endSession()

Bool gtengine::MOrganizer::endSession ( )

◆ enterCourse()

Bool gtengine::MOrganizer::enterCourse ( )

◆ entryProcessLock()

void gtengine::MOrganizer::entryProcessLock ( Int  unk)

◆ entryProcessUnlock()

void gtengine::MOrganizer::entryProcessUnlock ( Int  unk)

◆ entryRace()

Bool gtengine::MOrganizer::entryRace ( Int  slot_id,
MCarParameter  cp = nil 
)

Sets a car to enter the race. Returns whether successful.

◆ entryRaceAsync()

Bool gtengine::MOrganizer::entryRaceAsync ( Int  slot_id,
MCarParameter  cp = nil 
)

Sets a car to enter the race (async). Returns whether successful.

◆ entryRaceRequest()

void gtengine::MOrganizer::entryRaceRequest ( Int  unk)

◆ execAtUpdateThread()

void gtengine::MOrganizer::execAtUpdateThread ( )

◆ execCommand()

void gtengine::MOrganizer::execCommand ( String  cmd,
Bool  unk = true 
)

◆ exitCourse()

void gtengine::MOrganizer::exitCourse ( )

Exits the course.

◆ exitPhotoPreview()

void gtengine::MOrganizer::exitPhotoPreview ( )

◆ finalize()

void gtengine::MOrganizer::finalize ( )

Finalizes the organizer.

◆ finishTrackDay()

void gtengine::MOrganizer::finishTrackDay ( )

◆ forceFinishRace()

void gtengine::MOrganizer::forceFinishRace ( Int  slot_id,
Int  finish_rank 
)

Forces finishes a race for a slot id/car.

◆ getAccountID()

Int gtengine::MOrganizer::getAccountID ( Int  slot_id)

Gets the account/driver parameter id for a slot id.

◆ getAccumulationTime()

Int gtengine::MOrganizer::getAccumulationTime ( Int  unk_index)

◆ getAIPitDecisiton10TireAtRace()

Int gtengine::MOrganizer::getAIPitDecisiton10TireAtRace ( )

◆ getAIPitDecisiton10VitalityAtRace()

Int gtengine::MOrganizer::getAIPitDecisiton10VitalityAtRace ( )

◆ getAllCarGasConsumption()

Float gtengine::MOrganizer::getAllCarGasConsumption ( )

Gets the gas consumption of all the cars in the race.

◆ getApplicationEndSessionSecond()

Int gtengine::MOrganizer::getApplicationEndSessionSecond ( )

◆ getBackRaceParameter()

MRaceParameter gtengine::MOrganizer::getBackRaceParameter ( )

Gets the original race parameter. When restarting the race, this parameter will be used.

◆ getBlur()

void gtengine::MOrganizer::getBlur ( )

Stubbed in release.

◆ getBoobyPoint()

UShort gtengine::MOrganizer::getBoobyPoint ( )

◆ getCameraControl()

MRaceCameraStatus gtengine::MOrganizer::getCameraControl ( )

Gets the camera control status.

◆ getCameraMountNum()

Int gtengine::MOrganizer::getCameraMountNum ( Int  window_id = 0)

Gets the current camera mount number for a window id.

◆ getCameraParameters()

Map gtengine::MOrganizer::getCameraParameters ( )

Gets photo mode camera parameters.

Returns
Map with elements
  • "fovy" - (Float)
  • "mm" - (Float)
  • "f_value" - (Int)
  • "target_length" - (Int)
  • "shutter_speed" - (Int)
  • "exposure_correct" - (Int)
  • "frame_height" - (Int)
  • "value_mode" - (Int)
  • "req_composition_change" - (Int)
  • "selectable_num" - (Int)
  • "walk_pos_x" - (Int)
  • "walk_pos_y" - (Int)
  • "walk_pos_z" - (Int)

◆ getCameraStatus()

MRaceCameraSetStatus gtengine::MOrganizer::getCameraStatus ( Int  index)

Gets the camera set status.

◆ getCameraSubjectPosition()

Array< Float > gtengine::MOrganizer::getCameraSubjectPosition ( )

Gets the camera subject position as vector XYZ.

◆ getCameraSubjectQuaternion()

Array< Float > gtengine::MOrganizer::getCameraSubjectQuaternion ( )

Gets the camera subject quaternion.

◆ getCameraTarget()

Int gtengine::MOrganizer::getCameraTarget ( Int  window_id)

Gets the target slot id/car of the camera for the specified window id.

◆ getCameraType()

CameraType gtengine::MOrganizer::getCameraType ( Int  window_id = 0)

Gets the current camera type for a window id.

◆ getCarLODSize()

Float gtengine::MOrganizer::getCarLODSize ( Array< Int slot_ids)

◆ getCarOrderList()

Array< Int > gtengine::MOrganizer::getCarOrderList ( Bool  unk = false)
Returns
Array with 16 ints

◆ getCarsAndCourseVramSize()

void gtengine::MOrganizer::getCarsAndCourseVramSize ( )

Stubbed in release.

◆ getCarStatus()

MCarStatus gtengine::MOrganizer::getCarStatus ( Int  slot_id)

Gets the car status for a slot id/car.

Returns
May return void aswell

◆ getControllerType()

AutomobileControllerType gtengine::MOrganizer::getControllerType ( Int  slot_id)

Returns the controller type for a slot id/car.

◆ getCornerNum()

Int gtengine::MOrganizer::getCornerNum ( )

Gets the number of corners. Note: seems to always return -1.

◆ getCourseLength()

Float gtengine::MOrganizer::getCourseLength ( )

Gets the course's length in meters.

◆ getCourseStreamProgress()

Float gtengine::MOrganizer::getCourseStreamProgress ( )

Gets the loading/streaming progress of the course (0.0 to 1.0).

◆ getCrowdDebugFlag()

void gtengine::MOrganizer::getCrowdDebugFlag ( )

Stubbed. Returns 0.

◆ getCurrentCameraType()

CameraType gtengine::MOrganizer::getCurrentCameraType ( Int  window_id)

Gets the current camera type for a window id.

◆ getCurrentCourseCode()

UInt gtengine::MOrganizer::getCurrentCourseCode ( )

Gets the current DB course code.

Returns
May not return anything

◆ getCurrentOrderList()

Array< Array > gtengine::MOrganizer::getCurrentOrderList ( )
Returns
Array with orders, each element has:
  • [0] = Slot ID/Index (Int)
  • [1] = Driver Name (String)

◆ getCurrentPitStrategy()

STStructure gtengine::MOrganizer::getCurrentPitStrategy ( Int  slot_id,
Bool  unk2 = false 
)
Returns
Struct with attributes:
  • "front_tire" - Byte
  • "rear_tire" - Byte
  • "driver_index" - Byte
  • "charge_nos" - Byte
  • "amount_of_petrol" - Byte
  • "next_mileage" - Int
  • "front_df" - Short
  • "rear_df" - Short
  • "fuel_type" - Byte
  • "target_time" - Short
  • "fuel_tank_size" - UByte
  • "fuel_amount" - UByte
  • "force_use_tire" - UInt
Always 1

◆ getCurrentRaceLaps()

Int gtengine::MOrganizer::getCurrentRaceLaps ( )

Gets the current race laps (from the 1st's perspective)

◆ getCurrentRaceParameter()

MRaceParameter gtengine::MOrganizer::getCurrentRaceParameter ( )

Gets the current race parameter.

◆ getDebugDrawPitinLine()

Bool gtengine::MOrganizer::getDebugDrawPitinLine ( )

Gets whether to display the pit-in autodrive line instead of the regular line.

◆ getDerivedMapData()

Bool gtengine::MOrganizer::getDerivedMapData ( )

◆ getDisplayBestLapTime()

Int gtengine::MOrganizer::getDisplayBestLapTime ( Int  slot_id = -1)

Gets the display best lap in the race.

◆ getDisplayRemainTimeSecond()

Int gtengine::MOrganizer::getDisplayRemainTimeSecond ( Bool  unk)

Gets the display remaining time for the race.

◆ getDriverDebugFlag()

Int gtengine::MOrganizer::getDriverDebugFlag ( Int  unk)

Stubbed. Returns -1.

◆ getDriverDisplayName()

String gtengine::MOrganizer::getDriverDisplayName ( Int  slot_id,
Int  unk2 = -1 
)

Gets the display name for a specified slot id.

◆ getDrivingLineDispFlag()

Bool gtengine::MOrganizer::getDrivingLineDispFlag ( Int  window_id)

Gets whether the driving line for a window is enabled.

◆ getDrivingSlotID()

Int gtengine::MOrganizer::getDrivingSlotID ( Int  unk)

◆ getElapsedRaceTime()

Int gtengine::MOrganizer::getElapsedRaceTime ( )

Gets the elapsed race time in milliseconds.

◆ getEnableStereoRendering()

Bool gtengine::MOrganizer::getEnableStereoRendering ( )

◆ getEndFrame()

Int gtengine::MOrganizer::getEndFrame ( )

Stubbed in release.

◆ getEnsuredCarOrder()

Int gtengine::MOrganizer::getEnsuredCarOrder ( )
Returns
Hardcoded to return 0

◆ getEntriedCarParameter()

MCarParameter gtengine::MOrganizer::getEntriedCarParameter ( Int  slot_id,
Bool  unk = false 
)
Returns
May not return anything

◆ getEntriedCarParameters()

Array< Array > gtengine::MOrganizer::getEntriedCarParameters ( Bool  unk = false)

Gets all the cars entried in the race.

Returns
Array with: [0] - Index (Int) [1] - Parameter (MCarParameter)

◆ getEntriedDriverParameter()

MCarDriverParameter gtengine::MOrganizer::getEntriedDriverParameter ( Int  slot_id,
Int  unk2 = -1 
)
Returns
May not return anything

◆ getEntryControlType()

ControlType gtengine::MOrganizer::getEntryControlType ( Int  slot_id)

◆ getEntryCountry()

String gtengine::MOrganizer::getEntryCountry ( Int  slot_id)

Gets the internal country for the specified slot id i.e "PDI".

◆ getEntryDriverControlType()

ControlType gtengine::MOrganizer::getEntryDriverControlType ( Int  slot_id)

◆ getEntryMaxAtCurrentRace()

Int gtengine::MOrganizer::getEntryMaxAtCurrentRace ( )

◆ getEntryName()

String gtengine::MOrganizer::getEntryName ( Int  slot_id)

Gets the internal entry name for the specified slot id i.e "Entry00". Use getDriverDisplayName() for display name.

◆ getEntryState()

EntryLevel gtengine::MOrganizer::getEntryState ( Int  slot_id)

Returns the entry state of a slot id/car.

◆ getFastestLapTime()

Int gtengine::MOrganizer::getFastestLapTime ( Int  slot_id)

Gets the fastest lap time in the race for a slot id/car. Race must have ended.

◆ getFixedCarOrder()

Int gtengine::MOrganizer::getFixedCarOrder ( Int  slot_id)

◆ getFixedCarOrderList()

Array< Int > gtengine::MOrganizer::getFixedCarOrderList ( )

◆ getForceFinishResult()

Int gtengine::MOrganizer::getForceFinishResult ( )

◆ getFrameDataOutput()

void gtengine::MOrganizer::getFrameDataOutput ( )

Stubbed in release.

◆ getFramePilotDataOutput()

void gtengine::MOrganizer::getFramePilotDataOutput ( )

Stubbed in release.

◆ getGadgetIDFromName()

Int gtengine::MOrganizer::getGadgetIDFromName ( String  name)

Gets a gadget id from name from the course data's gadget structure.

◆ getGameResolution()

Array gtengine::MOrganizer::getGameResolution ( )

Gets the game's current resolution parameters.

Returns
Array with resolution
  • [0] - Width (Int)
  • [1] - Height (Int)
  • [2] - is_4x3 (Bool)
  • [3] - Unk (Bool)

◆ getGenerateSuggestLine()

Bool gtengine::MOrganizer::getGenerateSuggestLine ( )

◆ getGeometryBufferForLoad()

MBlob gtengine::MOrganizer::getGeometryBufferForLoad ( )

Stubbed in release.

◆ getGhostSlotID()

Int gtengine::MOrganizer::getGhostSlotID ( Int  unk)
Returns
May not return anything

◆ getGoalTime()

Int gtengine::MOrganizer::getGoalTime ( Int  slot_id)

Gets the goal time for a slot id/car.

◆ getGoalV()

Float gtengine::MOrganizer::getGoalV ( )

Gets the goal's vcoord.

◆ getHasEnergyType()

UInt gtengine::MOrganizer::getHasEnergyType ( Int  slot_id)

Returns energy type flags for a slot id/car.

◆ getHitGadgetInSession()

Int gtengine::MOrganizer::getHitGadgetInSession ( )

◆ getHostId()

MPDINetworkUserId gtengine::MOrganizer::getHostId ( )

◆ getLatestSceneModelView()

Array< Float > gtengine::MOrganizer::getLatestSceneModelView ( Int  unk)

Gets the current scene model view as a matrix for the specified window.

◆ getLiveTimingRecord()

MLiveTimingRecord gtengine::MOrganizer::getLiveTimingRecord ( )

Gets live timing record object.

◆ getLoadedCarCount()

Int gtengine::MOrganizer::getLoadedCarCount ( )

◆ getLoadStatusOtherClient()

Bool gtengine::MOrganizer::getLoadStatusOtherClient ( Int  unk = -1)

◆ getmaxStraightLength()

Float gtengine::MOrganizer::getmaxStraightLength ( )

Gets the max straight's length.

◆ getMonitorClientErrorCode()

Int gtengine::MOrganizer::getMonitorClientErrorCode ( )

◆ getMovieAudioOutput()

void gtengine::MOrganizer::getMovieAudioOutput ( )

Stubbed in release.

◆ getMovieDepthOutput()

void gtengine::MOrganizer::getMovieDepthOutput ( )

Stubbed in release.

◆ getMovieEnable()

void gtengine::MOrganizer::getMovieEnable ( )

Stubbed in release.

◆ getMovieFormat()

void gtengine::MOrganizer::getMovieFormat ( )

Stubbed in release.

◆ getMovieHiQualityMode()

void gtengine::MOrganizer::getMovieHiQualityMode ( )

Stubbed in release.

◆ getMovieOutput()

Int gtengine::MOrganizer::getMovieOutput ( )

Stubbed in release.

◆ getMoviePath()

String gtengine::MOrganizer::getMoviePath ( )

Stubbed in release.

◆ getMovieShutterRate()

void gtengine::MOrganizer::getMovieShutterRate ( )

Stubbed in release.

◆ getMovieStatePrint()

void gtengine::MOrganizer::getMovieStatePrint ( )

Stubbed in release.

◆ getNbProbablyHaveResourceVehicles()

Int gtengine::MOrganizer::getNbProbablyHaveResourceVehicles ( )

Number of vehicles that probably have a resource.

◆ getNetworkCourseCode()

ULong gtengine::MOrganizer::getNetworkCourseCode ( )

◆ getNetworkRacePhase()

StagePhaseType gtengine::MOrganizer::getNetworkRacePhase ( )

Gets the current network race phase.

◆ getNumberOfPitIn()

Int gtengine::MOrganizer::getNumberOfPitIn ( Int  slot_id)

Gets the number of times a slot id/car has pitted in the race.

◆ getOverRideMipMapLv()

void gtengine::MOrganizer::getOverRideMipMapLv ( )

Always returns const 0 in release mode at least.

◆ getParallaxChangeMode()

Int gtengine::MOrganizer::getParallaxChangeMode ( )

◆ getPhotoProgress()

Float gtengine::MOrganizer::getPhotoProgress ( )

◆ getPilotInVehicle()

void gtengine::MOrganizer::getPilotInVehicle ( Int  slot_id,
Bool  in_vehicle = true 
)

Sets whether there is a pilot driving the vehicle. If false, car will be put to a halt.

◆ getPreparedReplayBuffer()

MBlob gtengine::MOrganizer::getPreparedReplayBuffer ( )
Returns
May not return anything

◆ getPrevChapterNum()

Int gtengine::MOrganizer::getPrevChapterNum ( )

◆ getRace()

MRaceStatus gtengine::MOrganizer::getRace ( )

Gets the race's status.

◆ getRacePhase()

StagePhaseType gtengine::MOrganizer::getRacePhase ( )

Gets the current race phase.

◆ getRaceSound()

MRaceSound gtengine::MOrganizer::getRaceSound ( )

Gets the race's race sound.

◆ getRaceStagePhase()

UInt gtengine::MOrganizer::getRaceStagePhase ( UInt  unk)

◆ getRaceStartTime()

ULong gtengine::MOrganizer::getRaceStartTime ( )

◆ getRaceSubModeList()

Array< RaceSubModeTypes > gtengine::MOrganizer::getRaceSubModeList ( )
Returns
2 elements

◆ getRaceSuspendData()

MBlob gtengine::MOrganizer::getRaceSuspendData ( )

Gets race suspended data as a blob.

◆ getRateFor60fps()

void gtengine::MOrganizer::getRateFor60fps ( )

Stubbed in release.

◆ getRecordedMarkPath()

String gtengine::MOrganizer::getRecordedMarkPath ( )

◆ getRemainMSecToFinish()

Int gtengine::MOrganizer::getRemainMSecToFinish ( )

Gets the time in milliseconds until the race ends.

Returns
-1 if no set time.

◆ getRemainMSecToStart()

Int gtengine::MOrganizer::getRemainMSecToStart ( Int  slot_id)

Gets the time in milliseconds until a car/slot_id starts the race.

◆ getReplayHeaderFromGhostPath()

MBlob gtengine::MOrganizer::getReplayHeaderFromGhostPath ( )

◆ getReplayHeaderFromLoadGhostPath()

MBlob gtengine::MOrganizer::getReplayHeaderFromLoadGhostPath ( String  path)

◆ getReplayHeaderFromPath()

MBlob gtengine::MOrganizer::getReplayHeaderFromPath ( String  replay_file_name)

Gets the replay header from a specified file.

◆ getReplayHeaderFromWorkPath()

MBlob gtengine::MOrganizer::getReplayHeaderFromWorkPath ( )

◆ getReplayNextFrame()

UInt gtengine::MOrganizer::getReplayNextFrame ( )

◆ getResourceID()

Int gtengine::MOrganizer::getResourceID ( Int  unk)

◆ getRideSlotCheck()

Bool gtengine::MOrganizer::getRideSlotCheck ( Int  slot_id,
Int  my_slot_id 
)

◆ getRidingDriverIndex()

Int gtengine::MOrganizer::getRidingDriverIndex ( Int  slot_id)

Gets the driver parameter index that is currently driving for the specified slot id.

◆ getRidingSlotID()

Int gtengine::MOrganizer::getRidingSlotID ( Int  slot_id)

◆ getRunningState()

RunningState gtengine::MOrganizer::getRunningState ( Int  slot_id)

Returns the running state of a slot id/car.

◆ getSectorCount()

Int gtengine::MOrganizer::getSectorCount ( )

Gets the amount of sectors in the race.

◆ getSelectedOnboardCamera()

Int gtengine::MOrganizer::getSelectedOnboardCamera ( Int  window_id = 0)

Gets the selected onboard camera index for the specified window id.

◆ getSlotGroundPosition()

Array< Float > gtengine::MOrganizer::getSlotGroundPosition ( Int  slot_id,
Float  unkoffset,
Float  unkoffset2 
)

Returns the ground position for a slot id. May be starting position, does not consistently update.

Returns
[X, Y, Z, ?, ?, ?]

◆ getSlotIDListOnGrid()

Array< Int > gtengine::MOrganizer::getSlotIDListOnGrid ( )

Returns a list of slot ids currently on or will be on the grid.

◆ getSlowestTimeInRace()

Int gtengine::MOrganizer::getSlowestTimeInRace ( )

Used for GT5 Rally. Usage unknown.

◆ getSpectatorCameraType()

CameraType gtengine::MOrganizer::getSpectatorCameraType ( )

Gets the current spectator camera type.

◆ getSplitTripByDrivers()

Array< Float > gtengine::MOrganizer::getSplitTripByDrivers ( Int  slot_id)

Gets the odometer for each driver of a slot id.

Returns
Array of 4 floats, one mileage per driver

◆ getStartFrame()

Int gtengine::MOrganizer::getStartFrame ( )

Stubbed in release.

◆ getStartV()

Float gtengine::MOrganizer::getStartV ( )

Gets the start line's vcoord.

◆ getSubFrames()

Int gtengine::MOrganizer::getSubFrames ( )

Stubbed in release.

◆ getTargetCarDistributeCameraNum()

Int gtengine::MOrganizer::getTargetCarDistributeCameraNum ( )
Returns
Always -1

◆ getTargetRaceEntry()

MRaceEntryStatus gtengine::MOrganizer::getTargetRaceEntry ( Int  slot_id = 0)

Gets the race's target race entry status. NOTE: slot id must not be out of bound, or crashes.

◆ getTeamID()

ULong gtengine::MOrganizer::getTeamID ( Int  unk)

◆ getTeamPoint()

ULong gtengine::MOrganizer::getTeamPoint ( ULong  unk)

◆ getTripMeterInSession()

Float gtengine::MOrganizer::getTripMeterInSession ( Int  slot_id)

Gets the current trip meter/mileage in meters for the specified slot_id.

◆ getUseParallaxView()

Bool gtengine::MOrganizer::getUseParallaxView ( )

◆ getVehiclePosition()

Array< Float > gtengine::MOrganizer::getVehiclePosition ( Int  slot_id)

Gets the exact vehicle position for a slot id/car as vector 3 [X, Y, Z].

◆ getVehicleTripKm()

Float gtengine::MOrganizer::getVehicleTripKm ( Int  slot_id,
Int  unk2 = -1 
)

Gets the trip mileage for a car in kilometers.

◆ getVerticalInterval()

Float gtengine::MOrganizer::getVerticalInterval ( )

◆ getWinnerSlotID()

Int gtengine::MOrganizer::getWinnerSlotID ( )

Gets the slot id that won the race.

Returns
-1 if no winner yet

◆ getWithoutRace()

Bool gtengine::MOrganizer::getWithoutRace ( Int  unk)

◆ hasLoadingCarDone()

Bool gtengine::MOrganizer::hasLoadingCarDone ( )

◆ inCourse()

Bool gtengine::MOrganizer::inCourse ( )

◆ inCourseAllEntries()

Bool gtengine::MOrganizer::inCourseAllEntries ( )

◆ initialize()

void gtengine::MOrganizer::initialize ( )

Initializes the organizer.

◆ initializeCameraMode()

void gtengine::MOrganizer::initializeCameraMode ( Bool  unk,
Bool  unk2,
Bool  unk3 
)

Initializes camera mode.

Parameters
unk2Enables camera logo on the right side.

◆ inSession()

Bool gtengine::MOrganizer::inSession ( )

◆ isBenchTestRunning()

Bool gtengine::MOrganizer::isBenchTestRunning ( )

◆ isBuildComplete()

Bool gtengine::MOrganizer::isBuildComplete ( )

Returns whether building the race is complete.

◆ isCompleteSlot()

Bool gtengine::MOrganizer::isCompleteSlot ( Int  slot_id)

Returns whether a slot_id is "completed", it is ready and currently in the race.

◆ isCourseLoadForDataLogger()

Bool gtengine::MOrganizer::isCourseLoadForDataLogger ( )

◆ isDebugStopFlag()

Bool gtengine::MOrganizer::isDebugStopFlag ( )

◆ isDestroySequence()

Bool gtengine::MOrganizer::isDestroySequence ( )

◆ isEnabledIconCapture()

Bool gtengine::MOrganizer::isEnabledIconCapture ( )

Stubbed. Always returns false.

◆ isEnabledSuspendRace()

Bool gtengine::MOrganizer::isEnabledSuspendRace ( )

Returns whether suspending the race is enabled (for endurance).

◆ isEnableRenderingRace()

Bool gtengine::MOrganizer::isEnableRenderingRace ( )

Whether the race is being rendered.

◆ isEventSignalWait()

Bool gtengine::MOrganizer::isEventSignalWait ( )

Whether the event signaler is waiting. See setEventSignalWait().

◆ isExecuteUpdate()

Bool gtengine::MOrganizer::isExecuteUpdate ( )

Returns whether the organizer is executing updates.

◆ isFinishedFirstLoad()

Bool gtengine::MOrganizer::isFinishedFirstLoad ( )

◆ isFreeRun()

Bool gtengine::MOrganizer::isFreeRun ( )

◆ isGenerateCoursePhase()

Bool gtengine::MOrganizer::isGenerateCoursePhase ( )

◆ isGettingPilotInVehicle()

Bool gtengine::MOrganizer::isGettingPilotInVehicle ( )

◆ isLicenseCameraTable()

Bool gtengine::MOrganizer::isLicenseCameraTable ( )

◆ isLoadingAnyMarkReplay()

Bool gtengine::MOrganizer::isLoadingAnyMarkReplay ( )

◆ isLoopCourse()

Bool gtengine::MOrganizer::isLoopCourse ( )

Returns whether the course is a loop/circuit, not point to point.

◆ isLoopSessionMode()

Bool gtengine::MOrganizer::isLoopSessionMode ( )

◆ isOnline()

Bool gtengine::MOrganizer::isOnline ( )

Returns whether the organizer is operating on an online race.

◆ isPreviewCameraInSpectator()

Bool gtengine::MOrganizer::isPreviewCameraInSpectator ( )

◆ isReadyRaceStage()

void gtengine::MOrganizer::isReadyRaceStage ( UInt  unk)

◆ isRenderReady()

Bool gtengine::MOrganizer::isRenderReady ( )

Gets whether the race render is ready.

◆ isRestartSequence()

Bool gtengine::MOrganizer::isRestartSequence ( )

◆ isResumedBuild()

Bool gtengine::MOrganizer::isResumedBuild ( )

◆ isResumedRace()

Bool gtengine::MOrganizer::isResumedRace ( )

Returns whether the race has resumed (after requestResumeRace().)

◆ isSelectableGameResolution()

Bool gtengine::MOrganizer::isSelectableGameResolution ( Int  width,
Int  height,
Bool  is_4x3 = false 
)

◆ issuePitMessage()

void gtengine::MOrganizer::issuePitMessage ( PitMessageType  type,
Int  slot_id 
)

◆ isSynchronizedSession()

Bool gtengine::MOrganizer::isSynchronizedSession ( )

◆ isTargetCarPitIn()

Bool gtengine::MOrganizer::isTargetCarPitIn ( )

Gets whether the current target car is pitting.

◆ isUnderPhotoEncoding()

Int gtengine::MOrganizer::isUnderPhotoEncoding ( )

◆ isUnderPhotoExitWait()

Int gtengine::MOrganizer::isUnderPhotoExitWait ( )

◆ isUnderPhotoRendering()

Int gtengine::MOrganizer::isUnderPhotoRendering ( )

◆ isValidCameraTarget()

void gtengine::MOrganizer::isValidCameraTarget ( Int  unk_maybeunused = 0)

◆ killAllGhosts()

void gtengine::MOrganizer::killAllGhosts ( )

◆ komaOkuri()

void gtengine::MOrganizer::komaOkuri ( )

◆ layoutCourseGadget()

void gtengine::MOrganizer::layoutCourseGadget ( )

◆ leaveEntry()

void gtengine::MOrganizer::leaveEntry ( Int  slot_id,
Bool  unk = false 
)

◆ leaveRace()

MCarParameter gtengine::MOrganizer::leaveRace ( Int  slot_id,
Bool  unk2 = false 
)

Sets a car/slot_id to leave the race.

◆ leaveRaceRequestAll()

void gtengine::MOrganizer::leaveRaceRequestAll ( )

Sets all cars to leave the race. Use this carefully, may crash.

◆ loadingCourseSpeculation()

void gtengine::MOrganizer::loadingCourseSpeculation ( ULong  unk)

◆ loadMarkReplay()

Bool gtengine::MOrganizer::loadMarkReplay ( String  path,
String  online_id = nil,
UInt  mark_id,
Bool  unk,
Bool  unk2 = false 
)

◆ loadReplayFromFile()

Int gtengine::MOrganizer::loadReplayFromFile ( String  file)

◆ needPitStrategyConfirm()

void gtengine::MOrganizer::needPitStrategyConfirm ( Bool  value)

◆ nextReplayChapter()

void gtengine::MOrganizer::nextReplayChapter ( )

◆ noDispBackMirror()

void gtengine::MOrganizer::noDispBackMirror ( Bool  disabled)

Whether to disable the back mirror. Only for bumper view.

◆ noDispVehicleFlag()

void gtengine::MOrganizer::noDispVehicleFlag ( Bool  unk)

◆ notrecordBestLapTime()

void gtengine::MOrganizer::notrecordBestLapTime ( )

◆ nowPlayingReplay()

Bool gtengine::MOrganizer::nowPlayingReplay ( )

Gets whether the replay is being played.

◆ onGameOptionApply()

void gtengine::MOrganizer::onGameOptionApply ( )

◆ openEntryRacer()

void gtengine::MOrganizer::openEntryRacer ( )

Allows new entries to enter the race.

◆ openLoadingCourseDoneEvent()

void gtengine::MOrganizer::openLoadingCourseDoneEvent ( MRenderContext  context,
MWidget  widget 
)

◆ ostracizeAllCars()

void gtengine::MOrganizer::ostracizeAllCars ( Bool  switch)

Removes or adds all the cars from the race.

◆ ostracizeRaceNoTarget()

void gtengine::MOrganizer::ostracizeRaceNoTarget ( Bool  switch)

Removes or adds all the cars from the race except the current target car.

◆ patchReplayData()

Bool gtengine::MOrganizer::patchReplayData ( ByteData  data,
Int  unk,
MCarParameter  cp,
Int  unk2,
MCarDriverParameter  dp 
)

◆ pauseInSaveSequence()

void gtengine::MOrganizer::pauseInSaveSequence ( Bool  enabled)

◆ possibleRestartRace()

void gtengine::MOrganizer::possibleRestartRace ( Bool  unk = true)

◆ prepareReplayPath()

void gtengine::MOrganizer::prepareReplayPath ( String  path)

◆ registGameParameterGadget()

void gtengine::MOrganizer::registGameParameterGadget ( Int  unk,
Array< Float unk2,
Array< Float unk3 
)
Parameters
unk22 floats
unk34 floats

◆ releasePitVehicle()

void gtengine::MOrganizer::releasePitVehicle ( Int  slot_id)

◆ reloadCourse() [1/2]

Bool gtengine::MOrganizer::reloadCourse ( MRaceParameter  rp,
Bool  to_race,
Bool  generated_course_unused_maybe = false,
ByteData  course_param = false,
Bool  unk2 = false,
Int  unk3 = 0,
Bool  unk4 = false,
ByteData  unk5 = nil 
)

◆ reloadCourse() [2/2]

Bool gtengine::MOrganizer::reloadCourse ( String  unk,
Bool  to_race,
Bool  generated_course_unused_maybe = false,
ByteData  course_param = false,
Bool  unk2 = false,
Int  unk3 = 0,
Bool  unk4 = false,
ByteData  unk5 = nil 
)

◆ removeCourseGadget()

void gtengine::MOrganizer::removeCourseGadget ( Int  id)

◆ replaceNextGridWithSort()

void gtengine::MOrganizer::replaceNextGridWithSort ( MRaceParameter  rp,
Int  unk 
)
Parameters
rpCan be nil

◆ replaceVehicle()

Int gtengine::MOrganizer::replaceVehicle ( Int  slot_id,
Float  angle_rad = 0.0,
Float  vcoord = -1.0,
Bool  unk4 = false 
)

Resets a car in the race using VCoord and angle.

Parameters
unk4May not be used
Returns
Always 0

◆ replaceVehicleByPosition()

Int gtengine::MOrganizer::replaceVehicleByPosition ( Int  slot_id,
Float  angle_rad = 0.0,
Float  x = 0.0,
Float  y = 0.0,
Float  z = 0.0 
)

Resets a car in the race using angle and position.

Returns
Always 0

◆ requestLoadingCourse()

void gtengine::MOrganizer::requestLoadingCourse ( )

◆ requestPause()

void gtengine::MOrganizer::requestPause ( )

◆ requestRaceStage()

UInt gtengine::MOrganizer::requestRaceStage ( String  stage)

◆ requestResumeRace()

void gtengine::MOrganizer::requestResumeRace ( MBlob  suspend_data)

Resumes the race with the specified suspend data.

◆ requestTeamLeader()

void gtengine::MOrganizer::requestTeamLeader ( Int  unk)

◆ resetForceCamera()

void gtengine::MOrganizer::resetForceCamera ( )

Resets camera. Will set camera to ONBOARD and set target to the first slot id/car.

◆ resetRaceStage()

Array< Map > gtengine::MOrganizer::resetRaceStage ( UInt  stage_data_code,
Int  slot_id,
Int  coord,
Float  x = 0,
Float  y = 0,
Float  z = 0,
Float  rotYdeg = 0.0,
Float  vcoord = 0.0,
Bool  ostracize = false,
Int  oclock = 0,
Bool  move_vehicle = false 
)
Returns
Gadget list

◆ resetSpectatorCamera()

void gtengine::MOrganizer::resetSpectatorCamera ( )

Resets the spectator camera.

◆ resetVehicle()

void gtengine::MOrganizer::resetVehicle ( Int  slot_id,
Int  vcoord 
)

Resets a vehicle.

◆ resetVehicleStatus()

void gtengine::MOrganizer::resetVehicleStatus ( Int  slot_id)

Resets a vehicle's status.

◆ resetWeather()

void gtengine::MOrganizer::resetWeather ( Bool  keep_time_of_day,
MRaceParameter  new_rp = nil 
)

Resets the race's weather. This can be run during a race.

Parameters
keep_daytimeWhether to keep the current time of day
new_rpNew race parameter with the new weather settings

◆ restartNetworkRace()

Int gtengine::MOrganizer::restartNetworkRace ( MRaceParameter  rp,
GridSortType  grid_type = -1,
Bool  init_course = false,
Bool  to_race = true,
Bool  unk2 = false,
Bool  failure_session_maybe = false 
)
Parameters
rpRace Parameter.
grid_typeCan also be -1
init_courseUnknown.
to_raceUnknown.
unk2Unknown.
failure_session_maybeUnknown.
Returns
Bool int

◆ restartOfflineRace()

void gtengine::MOrganizer::restartOfflineRace ( MRaceParameter  rp,
GridSortType  grid_type = -1,
Bool  init_course = false,
Bool  to_race = true,
Bool  unk2 = false,
Bool  failure_session_maybe = false 
)

◆ resumeCourseInfo()

void gtengine::MOrganizer::resumeCourseInfo ( MBlob  unk)

◆ rideRequestOtherSlot()

void gtengine::MOrganizer::rideRequestOtherSlot ( Int  unk,
Int  unk2,
MCarDriverParameter  unk3 
)

◆ saveReplayToFile()

Int gtengine::MOrganizer::saveReplayToFile ( String  file)

◆ selectOptionalFunctions()

void gtengine::MOrganizer::selectOptionalFunctions ( Bool  flags)

◆ sendDebugMessage() [1/2]

void gtengine::MOrganizer::sendDebugMessage ( Int  unk,
String  message 
)

Stubbed in release.

◆ sendDebugMessage() [2/2]

void gtengine::MOrganizer::sendDebugMessage ( String  message)

Stubbed in release.

◆ setAccumulationTime()

void gtengine::MOrganizer::setAccumulationTime ( Int  time_ms,
Bool  unk2 
)

Used for GT5 Rally.

◆ setAIPitDecisiton10TireAtRace()

void gtengine::MOrganizer::setAIPitDecisiton10TireAtRace ( Int  value)

◆ setAIPitDecisiton10VitalityAtRace()

void gtengine::MOrganizer::setAIPitDecisiton10VitalityAtRace ( Int  value)

◆ setApplicationEndSessionSecond()

void gtengine::MOrganizer::setApplicationEndSessionSecond ( Int  unk,
Bool  unk2 = false 
)

◆ setApplicationTimeLimitNoStopAtPause()

void gtengine::MOrganizer::setApplicationTimeLimitNoStopAtPause ( Bool  unk)

◆ setAppointment()

void gtengine::MOrganizer::setAppointment ( Bool  unk = true)

◆ setAutoAttackLineCourseDivDis()

void gtengine::MOrganizer::setAutoAttackLineCourseDivDis ( Float  unk)

◆ setAutoAttackLineSideOffset()

void gtengine::MOrganizer::setAutoAttackLineSideOffset ( Float  offset)

◆ setBackRaceParameter()

void gtengine::MOrganizer::setBackRaceParameter ( MRaceParameter  rp)

Sets the original race parameter. This will also update the current one.

◆ setBlur()

void gtengine::MOrganizer::setBlur ( )

Stubbed in release.

◆ setBoobyPoint()

void gtengine::MOrganizer::setBoobyPoint ( UShort  unk)

◆ setBSpecCameraTable()

void gtengine::MOrganizer::setBSpecCameraTable ( )

◆ setBufferDecryptManager()

void gtengine::MOrganizer::setBufferDecryptManager ( MBufferDecryptManager  manager)

Sets the singleton for decrypting car files.

◆ setCamera()

void gtengine::MOrganizer::setCamera ( CameraType  type,
Int  window_id_maybe = 0 
)

Sets the current camera.

Parameters
typeCamera type.
window_id_maybeNot sure. More than 1 crashes.

◆ setCameraDisableUpdateFlag()

void gtengine::MOrganizer::setCameraDisableUpdateFlag ( Bool  unk)

Disables any camera tracking update.

◆ setCameraInputEnable()

void gtengine::MOrganizer::setCameraInputEnable ( Int  enable)

Whether the camera is open to inputs. Intended for use with camera types that allow movement, i.e gtengine::CameraType::WALK.

◆ setCameraTarget()

void gtengine::MOrganizer::setCameraTarget ( Int  window_id,
Int  slot_id 
)

Sets the camera target to the specific slot id/car for a specified window id.

◆ setCameraTargetV()

void gtengine::MOrganizer::setCameraTargetV ( Int  vcoord)

Sets the camera's target vcoord. Camera type must be gtengine::CameraType::COURSEV.

◆ setCameraTargetVbyPos()

void gtengine::MOrganizer::setCameraTargetVbyPos ( Array< Float pos_XYZ)

Sets the camera's target by position.

◆ setCameraWindowControllerPort()

void gtengine::MOrganizer::setCameraWindowControllerPort ( Int  window_id,
Int  port 
)

Binds a controller port to a window id.

◆ setCameraWithMount()

void gtengine::MOrganizer::setCameraWithMount ( CameraType  type,
Int  mount,
Int  window_id_maybe = 0 
)

Sets the current camera with the specified mount.

Parameters
typeCamera type.
mountCamera mounting type.
window_id_maybeNot sure. More than 1 crashes.

◆ setCarCameraMotion()

void gtengine::MOrganizer::setCarCameraMotion ( String  ebc_file_name)

◆ setCarCameraMotionNoiseType()

void gtengine::MOrganizer::setCarCameraMotionNoiseType ( Int  unused)

◆ setCarsAndCourseVramSize()

void gtengine::MOrganizer::setCarsAndCourseVramSize ( )

Stubbed in release.

◆ setCautionCruise()

void gtengine::MOrganizer::setCautionCruise ( Int  unk,
Bool  unk2,
Bool  unk3 = false 
)

◆ setChangeableCarParameterAtBeginningOfSession()

void gtengine::MOrganizer::setChangeableCarParameterAtBeginningOfSession ( Int  unk)

◆ setChangeableDriverParameterAtBeginningOfSession()

void gtengine::MOrganizer::setChangeableDriverParameterAtBeginningOfSession ( Int  slot_id,
Int  unk2 = -1 
)

◆ setCollisionEnable()

void gtengine::MOrganizer::setCollisionEnable ( Bool  enabled)

Enables or disables collision with other cars. Does not put cars in a ghost state.

◆ setCrowdDebugFlag()

void gtengine::MOrganizer::setCrowdDebugFlag ( Int  flag)

Stubbed.

◆ setCurrentRaceParameter()

void gtengine::MOrganizer::setCurrentRaceParameter ( MRaceParameter  rp)

Sets the current race parameter. This works in a race.

◆ setDataSynchronizeAtStart()

Int gtengine::MOrganizer::setDataSynchronizeAtStart ( Bool  unk)
Returns
Always 0

◆ setDebugDrawPitinLine()

void gtengine::MOrganizer::setDebugDrawPitinLine ( Bool  enabled)

Sets whether to display the pit-in autodrive line instead of the regular line.

◆ setDisableCameraDrawFlag()

void gtengine::MOrganizer::setDisableCameraDrawFlag ( CameraDrawFlag  flag)

Sets items to disable rendering on the camera.

◆ setDisableChapterMode()

void gtengine::MOrganizer::setDisableChapterMode ( )

◆ setDisableSelectCamera()

void gtengine::MOrganizer::setDisableSelectCamera ( Bool  disable)

Sets whether to disable changing cameras. Won't apply until race restart.

◆ setDisableSelectTarget()

void gtengine::MOrganizer::setDisableSelectTarget ( Int  bool_int)

Sets whether to disable selecting a target.

◆ setDriverDebugFlag()

void gtengine::MOrganizer::setDriverDebugFlag ( Int  unk,
Int  flag 
)

Stubbed.

◆ setDrivingLineDispFlag()

void gtengine::MOrganizer::setDrivingLineDispFlag ( Int  window_id,
Bool  enabled 
)

Sets whether to display the driving line for a window.

◆ setEffectFader()

void gtengine::MOrganizer::setEffectFader ( Float  unk)

◆ setEnableExportLiveTiming()

void gtengine::MOrganizer::setEnableExportLiveTiming ( Bool  unk)

Stubbed.

◆ setEnableFullSelectCamera()

void gtengine::MOrganizer::setEnableFullSelectCamera ( Bool  unk)

◆ setEnableStereoRendering()

void gtengine::MOrganizer::setEnableStereoRendering ( Bool  enable)

◆ setEnableTimer()

void gtengine::MOrganizer::setEnableTimer ( Bool  enable)

Whether to enable the timer. This will not stop rendering it if false; It will disable updating it.

◆ setEndFrame()

void gtengine::MOrganizer::setEndFrame ( )

Stubbed in release.

◆ setEventCallback()

void gtengine::MOrganizer::setEventCallback ( MRenderContext  context,
MWidget  widget 
)

Binds all race events to a widget (normally window aka RaceRoot).

All the events:

  • onEventGoalV
  • onRunOutReplayBuffer
  • onSectionTime
  • onLapCount
  • onUpdateBestScore
  • onTargetVehicleHitGadget
  • onDisqualify
  • onUpdateGhost
  • onUpdateGhost
  • onRestartSession
  • onFixedRanking
  • onComplete
  • onEntryRace
  • onPitWorkStart
  • onFinishRace
  • onPenaltyLimitSpeed
  • onUpdateScore
  • onStartRaceRequest
  • onStartSession
  • onNetworkDisconnect
  • onClearCourseCaution
  • onAnnouncementViolation
  • onEmptyEntries
  • onEndSession
  • onChangedDriver
  • onOvertake
  • onNoInputLimit
  • onPenaltyDisorderly
  • onVehicleInConsideration
  • onRideRequestAnswer
  • onDropRequest
  • onVehicleTimeUpdate
  • onSubModeDirectionEvent
  • onLeaveRace
  • onPitIn
  • onStartVehicle
  • onRaiseFlag
  • onTimeLimit
  • onSpeedRecord
  • onEventV
  • onPreTimeLimit
  • onOvertakeResult
  • onThislapInvalid
  • onNextlapInvalid
  • onVehicleDetachedParts
  • onNetworkLapCount
  • onButtonEvent
  • onPlayVoice
  • onPitOut
  • onPenaltyIgnoreFlag
  • onPitStop
  • onConfirmPitStrategy
  • onPitWorkFinish
  • onTimeOverPit
  • onVehicleOverturned
  • onOvertakeRestartWait
  • onOvertakeRestart
  • onCourseOut
  • onNetworkWinnerDecideEvent

◆ setEventCallbackBackupWidget()

void gtengine::MOrganizer::setEventCallbackBackupWidget ( MWidget  widget)

◆ setEventSignalWait()

Bool gtengine::MOrganizer::setEventSignalWait ( Bool  wait)

Tells the event signaler to wait before starting. Setting to true will wait for the race to start until untoggled.

◆ setForceAllVisionList()

void gtengine::MOrganizer::setForceAllVisionList ( )

Stubbed.

◆ setForceCamera()

void gtengine::MOrganizer::setForceCamera ( )

Stubbed.

◆ setForceInCarModel()

void gtengine::MOrganizer::setForceInCarModel ( )

Stubbed.

◆ setForceReplayCameraSet()

void gtengine::MOrganizer::setForceReplayCameraSet ( )

Stubbed.

◆ setFrameDataOutput()

void gtengine::MOrganizer::setFrameDataOutput ( )

Stubbed in release.

◆ setFrameDataWithParts()

void gtengine::MOrganizer::setFrameDataWithParts ( )

Stubbed in release.

◆ setFramePilotDataOutput()

void gtengine::MOrganizer::setFramePilotDataOutput ( )

Stubbed in release.

◆ setGameResolution()

void gtengine::MOrganizer::setGameResolution ( Int  width,
Int  height,
Bool  is_4x3 = false,
Bool  unk = false 
)

Use applyGameResolution() before 1920x1080 can be set, but breaks the game

◆ setGenerateData()

MCourseGenerateData gtengine::MOrganizer::setGenerateData ( ByteData  course_data)

◆ setGenerateSuggestLine()

void gtengine::MOrganizer::setGenerateSuggestLine ( Bool  enable)

◆ setGridPointForEvent()

void gtengine::MOrganizer::setGridPointForEvent ( Array< Int grid_points = nil)

◆ setInCarCameraPlay()

void gtengine::MOrganizer::setInCarCameraPlay ( )

◆ setInCarFovyType()

void gtengine::MOrganizer::setInCarFovyType ( Int  window_id,
Int  fovy_type 
)

◆ setLicenseCameraTable()

void gtengine::MOrganizer::setLicenseCameraTable ( Int  unk)

◆ setLineGhost()

void gtengine::MOrganizer::setLineGhost ( Bool  is_set)

◆ setLoadingImageFile()

void gtengine::MOrganizer::setLoadingImageFile ( String  path_to_image)

Sets the loading background image.

Parameters
path_to_imageNormally a path to "piece/loading_bg/<label>.img"

◆ setLoopSessionMode()

void gtengine::MOrganizer::setLoopSessionMode ( )

◆ setMatchingComplete()

void gtengine::MOrganizer::setMatchingComplete ( )

◆ setMonitorLayout()

void gtengine::MOrganizer::setMonitorLayout ( Int  unk,
Int  unk2 = 1 
)

◆ setMovieAudioOutput()

void gtengine::MOrganizer::setMovieAudioOutput ( )

Stubbed in release.

◆ setMovieDepthOutput()

void gtengine::MOrganizer::setMovieDepthOutput ( )

Stubbed in release.

◆ setMovieEnable()

void gtengine::MOrganizer::setMovieEnable ( )

Stubbed in release.

◆ setMovieFormat()

void gtengine::MOrganizer::setMovieFormat ( )

Stubbed in release.

◆ setMovieHiQualityMode()

void gtengine::MOrganizer::setMovieHiQualityMode ( )

Stubbed in release.

◆ setMovieOutput()

void gtengine::MOrganizer::setMovieOutput ( )

Stubbed in release.

◆ setMoviePath()

void gtengine::MOrganizer::setMoviePath ( String  path)

Stubbed in release.

◆ setMovieShutterRate()

void gtengine::MOrganizer::setMovieShutterRate ( )

Stubbed in release.

◆ setMovieStatePrint()

void gtengine::MOrganizer::setMovieStatePrint ( )

Stubbed in release.

◆ setNetworkStartSync()

void gtengine::MOrganizer::setNetworkStartSync ( )

◆ setNoInputLimitSecond()

void gtengine::MOrganizer::setNoInputLimitSecond ( Int  unk)

◆ setNoRunSlotGridIsRandom()

void gtengine::MOrganizer::setNoRunSlotGridIsRandom ( Bool  unk)

◆ setOnboardEffect()

void gtengine::MOrganizer::setOnboardEffect ( Bool  unk)

◆ setOnlineEventParameter()

void gtengine::MOrganizer::setOnlineEventParameter ( MRaceParameter  rp)

◆ setOverRideMipMapLv()

void gtengine::MOrganizer::setOverRideMipMapLv ( )

Stubbed in release mode.

◆ setParallaxChangeMode()

void gtengine::MOrganizer::setParallaxChangeMode ( Int  mode)

◆ setPitBoxRotation()

void gtengine::MOrganizer::setPitBoxRotation ( Int  unk)

◆ setPitID()

void gtengine::MOrganizer::setPitID ( Int  slot_id,
Int  pit_id 
)

Sets the pit id for a slot id. Intended for use with gtengine::StartType::PIT.

Used in GT5 School project.

◆ setPitMode()

Bool gtengine::MOrganizer::setPitMode ( Int  slot_id,
Bool  autocruise,
Bool  do_pit_stop 
)

◆ setProvidePointList()

void gtengine::MOrganizer::setProvidePointList ( Array< UShort list = nil)

◆ setRaceDisplayTarget()

void gtengine::MOrganizer::setRaceDisplayTarget ( Int  window_id,
Int  slot_id 
)

Sets the display's driver target.

◆ setRaceSound()

void gtengine::MOrganizer::setRaceSound ( MRaceSound  race_sound)

Sets the race's race sound.

◆ setRaceSubMode()

void gtengine::MOrganizer::setRaceSubMode ( Bool  unk)

◆ setRateFor60fps()

Int gtengine::MOrganizer::setRateFor60fps ( )

Stubbed in release.

◆ setReadyEntry()

void gtengine::MOrganizer::setReadyEntry ( Int  slot_id,
Bool  unk 
)

◆ setReenterCourse()

void gtengine::MOrganizer::setReenterCourse ( )

◆ setRejectRideRequestMode()

void gtengine::MOrganizer::setRejectRideRequestMode ( Bool  value)

◆ setReplayRecordableSize()

void gtengine::MOrganizer::setReplayRecordableSize ( UInt  size)

◆ setRidingDriverIndex()

void gtengine::MOrganizer::setRidingDriverIndex ( Int  slot_id,
Int  driver_idx 
)

Sets the driver parameter index that is currently driving for the specified slot id.

◆ setSaveSequence()

void gtengine::MOrganizer::setSaveSequence ( Bool  enabled)

◆ setSceneQualityInRaceNoCrowd()

void gtengine::MOrganizer::setSceneQualityInRaceNoCrowd ( Bool  unk)

◆ setSceneQualityInRaceNoInterior()

void gtengine::MOrganizer::setSceneQualityInRaceNoInterior ( Bool  unk)

◆ setSceneQualityInRaceSimpleSmoke()

void gtengine::MOrganizer::setSceneQualityInRaceSimpleSmoke ( Bool  unk)

◆ setSequentialLoadMode()

void gtengine::MOrganizer::setSequentialLoadMode ( Bool  unk)

◆ setSoundContext()

void gtengine::MOrganizer::setSoundContext ( MSoundContext  context)

Sets the sound context.

Parameters
contextCan be nil to deinitialize

◆ setStartDriverIndex()

void gtengine::MOrganizer::setStartDriverIndex ( Int  slot_id,
Int  unk2 
)

◆ setStartFrame()

void gtengine::MOrganizer::setStartFrame ( )

Stubbed in release.

◆ setSubFrames()

void gtengine::MOrganizer::setSubFrames ( )

Stubbed in release.

◆ setTeamID()

void gtengine::MOrganizer::setTeamID ( Int  unk,
ULong  id = -1 
)

◆ setUpdatePauseAsyncIndex()

void gtengine::MOrganizer::setUpdatePauseAsyncIndex ( Int  index)

◆ setUseAutoInCarReplay()

void gtengine::MOrganizer::setUseAutoInCarReplay ( Bool  value)

◆ setUseParallaxView()

void gtengine::MOrganizer::setUseParallaxView ( Bool  enable)

◆ setWait0EntryEvent()

void gtengine::MOrganizer::setWait0EntryEvent ( Bool  value)

◆ setWalkCameraMount()

void gtengine::MOrganizer::setWalkCameraMount ( Int  unk)

Sets the walking camera mount. Intended for photo mode.

◆ setWallCollisionEnable()

void gtengine::MOrganizer::setWallCollisionEnable ( Bool  enabled)

Disables all wall collisions.

◆ setWithoutRace()

void gtengine::MOrganizer::setWithoutRace ( Int  unk,
Bool  unk 
)

◆ setWorldCameraMotion()

void gtengine::MOrganizer::setWorldCameraMotion ( String  ebc_file_name)

◆ startBenchTest()

void gtengine::MOrganizer::startBenchTest ( Map  settings)
Parameters
settingsSettings: "type" - (Int) "warm_sec" - (Float) "velocity_kmh" - (Float) "FreqBegin" - (Float) "FreqEnd" - (Float) "Amp" - (Float)

◆ startGameObjectLoop()

void gtengine::MOrganizer::startGameObjectLoop ( )

Starts race loop. (?).

◆ startMonitorClient()

void gtengine::MOrganizer::startMonitorClient ( )

◆ startRaceRequest()

Bool gtengine::MOrganizer::startRaceRequest ( Int  unk = -1)

◆ startRaceStage()

void gtengine::MOrganizer::startRaceStage ( UInt  unk,
Int  unk2,
Float  unk3 = -1.0,
Float  unk4 = 0.0,
Float  unk5 = 0.0,
Float  unk6 = 0.0,
Bool  unk7 = true,
Bool  unk8 = true,
Int  unk9 = 0 
)

◆ startReplayWithCurrentRace()

Bool gtengine::MOrganizer::startReplayWithCurrentRace ( )

◆ startSession()

Bool gtengine::MOrganizer::startSession ( MRaceParameter  rp,
Bool  replay_mode = false,
StartSessionCameraType  camera_type = 0,
Bool  demo_mode = false 
)

◆ startTrackDay()

void gtengine::MOrganizer::startTrackDay ( )

◆ startVehicleInSession()

void gtengine::MOrganizer::startVehicleInSession ( Int  slot_id)

◆ startVehiclePitWork()

Int gtengine::MOrganizer::startVehiclePitWork ( Int  slot_id,
STStructure  pit_strategy 
)
Parameters
slot_idSlot ID.
pit_strategyStruct with attributes:
  • "front_tire" - Byte
  • "rear_tire" - Byte
  • "front_df" - Short
  • "rear_df" - Short
  • "driver_index" - Byte
  • "amount_of_petrol" - Int
  • "next_mileage" - Int
  • "target_time" - Int
  • "charge_nos" - Byte
  • "fuel_type" - Byte
  • "force_use_tire" - UInt
Returns
Always 1

◆ stopGameObjectLoop()

void gtengine::MOrganizer::stopGameObjectLoop ( )

Stops the race loop (?).

◆ stopReplayUpdate()

void gtengine::MOrganizer::stopReplayUpdate ( Bool  stop)

◆ syncGameObjectLoop()

void gtengine::MOrganizer::syncGameObjectLoop ( )

◆ toCruiseMode()

void gtengine::MOrganizer::toCruiseMode ( Int  unk,
Bool  unk2 = false,
Int  unk3 = 80 
)

◆ toPitStop()

void gtengine::MOrganizer::toPitStop ( Int  unk)

◆ topReplayChapter()

void gtengine::MOrganizer::topReplayChapter ( )

◆ unloadMarkReplay()

void gtengine::MOrganizer::unloadMarkReplay ( )

◆ waitForNoRacers()

Bool gtengine::MOrganizer::waitForNoRacers ( Int  unk)

◆ waitOtherEntries()

Bool gtengine::MOrganizer::waitOtherEntries ( Int  unk)

◆ waitRegularRacers()

Bool gtengine::MOrganizer::waitRegularRacers ( Int  unk)

◆ waitTickEntry()

void gtengine::MOrganizer::waitTickEntry ( )

◆ writebackCarParameter()

void gtengine::MOrganizer::writebackCarParameter ( Int  unk,
Bool  unk2 = false 
)

◆ writebackCarParameterOutOfSession()

void gtengine::MOrganizer::writebackCarParameterOutOfSession ( Int  unk,
Bool  unk2 = false 
)

◆ writebackDriverParameterOutOfSession()

void gtengine::MOrganizer::writebackDriverParameterOutOfSession ( Int  unk)

Member Data Documentation

◆ async_update_mark

Bool gtengine::MOrganizer::async_update_mark

Definition at line 795 of file MOrganizer.cpp.

◆ auto_pitstop

Bool gtengine::MOrganizer::auto_pitstop

Stubbed in release.

Definition at line 1167 of file MOrganizer.cpp.

◆ bspec_dev_skill_gauge

void gtengine::MOrganizer::bspec_dev_skill_gauge

Stubbed in release.

Definition at line 1211 of file MOrganizer.cpp.

◆ crowd_debug

Int gtengine::MOrganizer::crowd_debug

Stubbed. Returns 0.

Definition at line 878 of file MOrganizer.cpp.

◆ customized_window_settings

Array<Float> gtengine::MOrganizer::customized_window_settings
Returns
5 floats in array

Definition at line 1134 of file MOrganizer.cpp.

◆ debug_draw_pitinline

Bool gtengine::MOrganizer::debug_draw_pitinline

Definition at line 892 of file MOrganizer.cpp.

◆ disableDirectStatus

Bool gtengine::MOrganizer::disableDirectStatus

Definition at line 1273 of file MOrganizer.cpp.

◆ disp_meter

void gtengine::MOrganizer::disp_meter

Definition at line 402 of file MOrganizer.cpp.

◆ driver_debug

Int gtengine::MOrganizer::driver_debug

Stubbed. Returns -1.

Definition at line 869 of file MOrganizer.cpp.

◆ driver_name_disp

Bool gtengine::MOrganizer::driver_name_disp

Definition at line 856 of file MOrganizer.cpp.

◆ driving_line

Int gtengine::MOrganizer::driving_line

Definition at line 885 of file MOrganizer.cpp.

◆ dual_view_mode

void gtengine::MOrganizer::dual_view_mode

Definition at line 414 of file MOrganizer.cpp.

◆ enable_spark

Bool gtengine::MOrganizer::enable_spark

Definition at line 1173 of file MOrganizer.cpp.

◆ enableHMD

Bool gtengine::MOrganizer::enableHMD

Definition at line 1272 of file MOrganizer.cpp.

◆ entries_num

void gtengine::MOrganizer::entries_num

Definition at line 409 of file MOrganizer.cpp.

◆ extra_wide

Int gtengine::MOrganizer::extra_wide

Definition at line 1115 of file MOrganizer.cpp.

◆ force30fps_mode

Int gtengine::MOrganizer::force30fps_mode

Whether to force 30 frames per second.

Definition at line 412 of file MOrganizer.cpp.

◆ full_quality_replay

Bool gtengine::MOrganizer::full_quality_replay

Definition at line 1117 of file MOrganizer.cpp.

◆ generate_suggestline

Bool gtengine::MOrganizer::generate_suggestline

Definition at line 902 of file MOrganizer.cpp.

◆ gt_hifi

Int gtengine::MOrganizer::gt_hifi

Definition at line 1114 of file MOrganizer.cpp.

◆ is_camera_subjective

void gtengine::MOrganizer::is_camera_subjective

Definition at line 401 of file MOrganizer.cpp.

◆ is_dive_mode

void gtengine::MOrganizer::is_dive_mode

Definition at line 403 of file MOrganizer.cpp.

◆ is_force_autoreplay_camera

void gtengine::MOrganizer::is_force_autoreplay_camera

Definition at line 404 of file MOrganizer.cpp.

◆ is_host

Bool gtengine::MOrganizer::is_host

Getter-only.

Definition at line 855 of file MOrganizer.cpp.

◆ minimum_hdd_capacity

UInt gtengine::MOrganizer::minimum_hdd_capacity

Definition at line 614 of file MOrganizer.cpp.

◆ monitor_aspect_ratio

Float gtengine::MOrganizer::monitor_aspect_ratio

Definition at line 1105 of file MOrganizer.cpp.

◆ monitor_aspect_ratio_enable

Int gtengine::MOrganizer::monitor_aspect_ratio_enable

Definition at line 1104 of file MOrganizer.cpp.

◆ monitor_border

Array<Float> gtengine::MOrganizer::monitor_border

Definition at line 1110 of file MOrganizer.cpp.

◆ monitor_convergence

Float gtengine::MOrganizer::monitor_convergence

Definition at line 1107 of file MOrganizer.cpp.

◆ monitor_follow_host

Bool gtengine::MOrganizer::monitor_follow_host

Definition at line 1097 of file MOrganizer.cpp.

◆ monitor_frame_delay

Float gtengine::MOrganizer::monitor_frame_delay

Definition at line 1108 of file MOrganizer.cpp.

◆ monitor_frame_delay_enable

Int gtengine::MOrganizer::monitor_frame_delay_enable

Definition at line 1109 of file MOrganizer.cpp.

◆ monitor_host

Bool gtengine::MOrganizer::monitor_host

Definition at line 1095 of file MOrganizer.cpp.

◆ monitor_host_ip

String gtengine::MOrganizer::monitor_host_ip

Definition at line 1096 of file MOrganizer.cpp.

◆ monitor_index

Int gtengine::MOrganizer::monitor_index

Definition at line 1098 of file MOrganizer.cpp.

◆ monitor_pixel_jitter_enable

Bool gtengine::MOrganizer::monitor_pixel_jitter_enable

Definition at line 1111 of file MOrganizer.cpp.

◆ monitor_race_display_enable

Bool gtengine::MOrganizer::monitor_race_display_enable

Definition at line 1112 of file MOrganizer.cpp.

◆ monitor_race_display_mode

Int gtengine::MOrganizer::monitor_race_display_mode

Definition at line 1113 of file MOrganizer.cpp.

◆ monitor_round_angle

Float gtengine::MOrganizer::monitor_round_angle

Definition at line 1100 of file MOrganizer.cpp.

◆ monitor_round_y

Int gtengine::MOrganizer::monitor_round_y

Definition at line 1099 of file MOrganizer.cpp.

◆ monitor_view_angle

Float gtengine::MOrganizer::monitor_view_angle

Definition at line 1102 of file MOrganizer.cpp.

◆ monitor_view_angle_scale

Float gtengine::MOrganizer::monitor_view_angle_scale

Definition at line 1103 of file MOrganizer.cpp.

◆ monitor_view_angle_y

Float gtengine::MOrganizer::monitor_view_angle_y

Definition at line 1101 of file MOrganizer.cpp.

◆ monitor_view_offset_x

Float gtengine::MOrganizer::monitor_view_offset_x

Definition at line 1106 of file MOrganizer.cpp.

◆ movie_60fps_rate

Int gtengine::MOrganizer::movie_60fps_rate

Stubbed in release.

Definition at line 956 of file MOrganizer.cpp.

◆ movie_audio_output

void gtengine::MOrganizer::movie_audio_output

Stubbed in release.

Definition at line 1042 of file MOrganizer.cpp.

◆ movie_blur

Bool gtengine::MOrganizer::movie_blur

Stubbed in release.

Definition at line 1006 of file MOrganizer.cpp.

◆ movie_depth_output

void gtengine::MOrganizer::movie_depth_output

Stubbed in release.

Definition at line 1051 of file MOrganizer.cpp.

◆ movie_enavle

Int gtengine::MOrganizer::movie_enavle

Stubbed in release. Typo is intended.

Definition at line 911 of file MOrganizer.cpp.

◆ movie_end_frame

Int gtengine::MOrganizer::movie_end_frame

Stubbed in release.

Definition at line 938 of file MOrganizer.cpp.

◆ movie_format

void gtengine::MOrganizer::movie_format

Stubbed in release.

Definition at line 1033 of file MOrganizer.cpp.

◆ movie_output

Int gtengine::MOrganizer::movie_output

Stubbed in release.

Definition at line 920 of file MOrganizer.cpp.

◆ movie_path

String gtengine::MOrganizer::movie_path

Stubbed in release.

Definition at line 1024 of file MOrganizer.cpp.

◆ movie_quality_mode

void gtengine::MOrganizer::movie_quality_mode

Stubbed in release.

Definition at line 1069 of file MOrganizer.cpp.

◆ movie_shutter_rate

void gtengine::MOrganizer::movie_shutter_rate

Stubbed in release.

Definition at line 1060 of file MOrganizer.cpp.

◆ movie_start_frame

Int gtengine::MOrganizer::movie_start_frame

Stubbed in release.

Definition at line 929 of file MOrganizer.cpp.

◆ movie_state_print

void gtengine::MOrganizer::movie_state_print

Stubbed in release.

Definition at line 1015 of file MOrganizer.cpp.

◆ movie_sub_frame

Int gtengine::MOrganizer::movie_sub_frame

Stubbed in release.

Definition at line 947 of file MOrganizer.cpp.

◆ pace_note

Bool gtengine::MOrganizer::pace_note

Definition at line 897 of file MOrganizer.cpp.

◆ pauseAvailable

Int gtengine::MOrganizer::pauseAvailable

Definition at line 1081 of file MOrganizer.cpp.

◆ pauseForOnline

Int gtengine::MOrganizer::pauseForOnline

Definition at line 1083 of file MOrganizer.cpp.

◆ pauseHandleAvailable

Int gtengine::MOrganizer::pauseHandleAvailable

Definition at line 1080 of file MOrganizer.cpp.

◆ pauseRace

Int gtengine::MOrganizer::pauseRace

Definition at line 1082 of file MOrganizer.cpp.

◆ photo_org_path

String gtengine::MOrganizer::photo_org_path

Getter-only. Hardcoded to return "/APP_DATA_RAW/photo/photo.dat".

Definition at line 817 of file MOrganizer.cpp.

◆ photo_thumb_path

String gtengine::MOrganizer::photo_thumb_path

Getter-only. Hardcoded to return "/APP_DATA_RAW/photo/photo_t.dat".

Definition at line 820 of file MOrganizer.cpp.

◆ play_mark_with_replay

Bool gtengine::MOrganizer::play_mark_with_replay

Definition at line 796 of file MOrganizer.cpp.

◆ race_display_window_num

void gtengine::MOrganizer::race_display_window_num

Definition at line 406 of file MOrganizer.cpp.

◆ racers_num

void gtengine::MOrganizer::racers_num

Definition at line 407 of file MOrganizer.cpp.

◆ racers_num_without_ghost

void gtengine::MOrganizer::racers_num_without_ghost

Definition at line 408 of file MOrganizer.cpp.

◆ replay_compatible_debug

Int gtengine::MOrganizer::replay_compatible_debug

Sets a bool singleton in the engine.

Definition at line 1243 of file MOrganizer.cpp.

◆ replay_elapsed_sec

Float gtengine::MOrganizer::replay_elapsed_sec

Getter-only.

Definition at line 760 of file MOrganizer.cpp.

◆ replay_fulllap_ghost_path

void gtengine::MOrganizer::replay_fulllap_ghost_path

Getter-only.

Definition at line 786 of file MOrganizer.cpp.

◆ replay_mode

Int gtengine::MOrganizer::replay_mode

Definition at line 788 of file MOrganizer.cpp.

◆ replay_onelap_attach_org_path

String gtengine::MOrganizer::replay_onelap_attach_org_path

Getter-only.

Definition at line 781 of file MOrganizer.cpp.

◆ replay_onelap_attach_path

String gtengine::MOrganizer::replay_onelap_attach_path

Definition at line 783 of file MOrganizer.cpp.

◆ replay_onelap_load_org_path

String gtengine::MOrganizer::replay_onelap_load_org_path

Getter-only.

Definition at line 776 of file MOrganizer.cpp.

◆ replay_onelap_load_work_path

String gtengine::MOrganizer::replay_onelap_load_work_path

Definition at line 778 of file MOrganizer.cpp.

◆ replay_onelap_play_org_path

String gtengine::MOrganizer::replay_onelap_play_org_path

Getter-only.

Definition at line 768 of file MOrganizer.cpp.

◆ replay_onelap_play_work_path

String gtengine::MOrganizer::replay_onelap_play_work_path

Definition at line 773 of file MOrganizer.cpp.

◆ replay_onelap_record_org_path

String gtengine::MOrganizer::replay_onelap_record_org_path

Getter-only.

Definition at line 771 of file MOrganizer.cpp.

◆ replay_org_path

String gtengine::MOrganizer::replay_org_path

Getter-only.

Definition at line 763 of file MOrganizer.cpp.

◆ replay_recording_quality

Int gtengine::MOrganizer::replay_recording_quality

Definition at line 1116 of file MOrganizer.cpp.

◆ replay_total_sec

Float gtengine::MOrganizer::replay_total_sec

Getter-only.

Definition at line 757 of file MOrganizer.cpp.

◆ replay_work_path

String gtengine::MOrganizer::replay_work_path

Definition at line 765 of file MOrganizer.cpp.

◆ running_monitor

void gtengine::MOrganizer::running_monitor

Stubbed in release.

Definition at line 1208 of file MOrganizer.cpp.

◆ sec_to_finish_all_complete

Float gtengine::MOrganizer::sec_to_finish_all_complete

In seconds

Definition at line 712 of file MOrganizer.cpp.

◆ simul_view_mode

void gtengine::MOrganizer::simul_view_mode

Definition at line 415 of file MOrganizer.cpp.

◆ speed_up_mode

void gtengine::MOrganizer::speed_up_mode

Stubbed in release.

Definition at line 1072 of file MOrganizer.cpp.

◆ speed_up_rate

Float gtengine::MOrganizer::speed_up_rate

Always 0.0.

Definition at line 1075 of file MOrganizer.cpp.

◆ use_customized_window_settings

Bool gtengine::MOrganizer::use_customized_window_settings

Definition at line 1131 of file MOrganizer.cpp.

◆ vehicle_visible

Bool gtengine::MOrganizer::vehicle_visible

Freezes the car if enabled.

Definition at line 823 of file MOrganizer.cpp.

◆ window_max

void gtengine::MOrganizer::window_max

Definition at line 405 of file MOrganizer.cpp.


The documentation for this class was generated from the following file: