Difference between revisions of "DataFuncs"
Jump to navigation
Jump to search
(just a start, will continue soon.) |
m (give better DataBitNot example) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
DataFuncs are [[DataNode|DataNodes]] that | DataFuncs are [[DataNode|DataNodes]] that correlate to functions within the executable. Many of these are completely unused throughout all Milo/Forge games. | ||
==List of RB3 DataFuncs== | ==List of RB3 DataFuncs== | ||
{| class="wikitable" | {| class="wikitable" | ||
!Symbol | !DTA Symbol | ||
!DataFunc | !DataFunc | ||
!Description | !Description | ||
!Usage | |||
|- | |- | ||
|replace_object | |"replace_object" | ||
|DataReplaceObject | |DataReplaceObject | ||
|TODO | |||
|TODO | |TODO | ||
|- | |- | ||
|next_name | |"next_name" | ||
|DataNextName | |DataNextName | ||
|TODO | |||
|TODO | |||
|- | |||
|"printf" | |||
|DataPrintf | |||
|TODO | |||
|TODO | |||
|- | |||
|"sprintf" | |||
|DataSprintf | |||
|TODO | |||
|TODO | |||
|- | |||
|"sprint" | |||
|DataSprint | |||
|TODO | |||
|TODO | |||
|- | |||
|"func" | |||
|DataFuncObj::New | |||
|TODO | |||
|{func name ($parameters) {script here}} | |||
|- | |||
|"elem" | |||
|DataGetElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"last_elem" | |||
|DataGetLastElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"foreach" | |||
|DataForEach | |||
|TODO | |||
|TODO | |||
|- | |||
|"foreach_int" | |||
|DataForEachInt | |||
|TODO | |||
|TODO | |||
|- | |||
|"min" | |||
|DataMin | |||
|Returns the lower of the two DataNodes. | |||
|{print {min 6 2}} = 2 | |||
|- | |||
|"max" | |||
|DataMax | |||
|Returns the higher of the two DataNodes. | |||
|{print {max 6 2}} = 6 | |||
|- | |||
|"abs" | |||
|DataAbs | |||
|Returns the absolute (i.e. positive) value of the input DataNode. | |||
|{print {abs -52}} = 52 | |||
|- | |||
|"+" | |||
|DataAdd | |||
|TODO | |||
|TODO | |||
|- | |||
|"+=" | |||
|DataAddEq | |||
|TODO | |||
|TODO | |||
|- | |||
|"-" | |||
|DataSub | |||
|TODO | |||
|TODO | |||
|- | |||
|"-=" | |||
|DataSubEq | |||
|TODO | |||
|TODO | |||
|- | |||
|"mean" | |||
|DataMean | |||
|TODO | |||
|TODO | |||
|- | |||
|"clamp" | |||
|DataClamp | |||
|TODO | |||
|TODO | |||
|- | |||
|"clamp_eq" | |||
|DataClampEq | |||
|TODO | |||
|TODO | |||
|- | |||
|"*" | |||
|DataMultiply | |||
|TODO | |||
|TODO | |||
|- | |||
|"*=" | |||
|DataMultiplyEq | |||
|TODO | |||
|{'*=' $variable 2.0} | |||
|- | |||
|"/" | |||
|DataDivide | |||
|TODO | |||
|TODO | |||
|- | |||
|"/=" | |||
|DataDivideEq | |||
|TODO | |||
|{'/=' $variable 5.0} | |||
|- | |||
|"sqrt" | |||
|DataSqrt | |||
|Never used in any of the games, presumably gives the square root of a value | |||
|TODO | |||
|- | |||
|"mod" | |||
|DataMod | |||
|TODO | |||
|TODO | |||
|- | |||
|"dist" | |||
|DataDist | |||
|TODO | |||
|TODO | |||
|- | |||
|"symbol" | |||
|DataSymbol | |||
|TODO | |||
|TODO | |||
|- | |||
|"int" | |||
|DataInt | |||
|Attempts to convert the DataNode to a kDataInteger. | |||
|{print {int 3.1415}} = 3 | |||
|- | |||
|"char" | |||
|DataChar | |||
|TODO | |||
|TODO | |||
|- | |||
|"round" | |||
|DataRound | |||
|TODO | |||
|TODO | |||
|- | |||
|"floor" | |||
|DataFloor | |||
|TODO | |||
|{floor $value} | |||
|- | |||
|"ceil" | |||
|DataCeil | |||
|TODO | |||
|{ceil $value} | |||
|- | |||
|"Set" | |||
|DataSet | |||
|TODO | |||
|TODO | |||
|- | |||
|"if_else" | |||
|DataIfElse | |||
|TODO | |||
|TODO | |||
|- | |||
|"if" | |||
|DataIf | |||
|TODO | |||
|TODO | |||
|- | |||
|"unless" | |||
|DataUnless | |||
|TODO | |||
|TODO | |||
|- | |||
|"==" | |||
|DataEq | |||
|Returns TRUE if the two DataNodes are equal. | |||
|{print {== 3 3}} = 1 | |||
|- | |||
|"!=" | |||
|DataNe | |||
|TODO | |||
|TODO | |||
|- | |||
|"<=" | |||
|DataLe | |||
|TODO | |||
|TODO | |||
|- | |||
|"<" | |||
|DataLt | |||
|TODO | |||
|TODO | |||
|- | |||
|">=" | |||
|DataGe | |||
|TODO | |||
|TODO | |||
|- | |||
|">" | |||
|DataGt | |||
|TODO | |||
|TODO | |||
|- | |||
|"!" | |||
|DataNot | |||
|TODO | |||
|TODO | |||
|- | |||
|"&&" | |||
|DataAnd | |||
|TODO | |||
|TODO | |||
|- | |||
|"<nowiki>||</nowiki>" | |||
|DataOr | |||
|TODO | |||
|TODO | |||
|- | |||
|"^^" | |||
|DataXor | |||
|TODO | |||
|TODO | |||
|- | |||
|"&" | |||
|DataBitAnd | |||
|TODO | |||
|TODO | |||
|- | |||
|"&=" | |||
|DataAndEqual | |||
|TODO | |||
|TODO | |||
|- | |||
|"mask_eq" | |||
|DataMaskEqual | |||
|TODO | |||
|TODO | |||
|- | |||
|"|" | |||
|DataBitOr | |||
|TODO | |||
|TODO | |||
|- | |||
|"|=" | |||
|DataOrEqual | |||
|TODO | |||
|TODO | |||
|- | |||
|"^" | |||
|DataBitXor | |||
|TODO | |||
|TODO | |||
|- | |||
|"~" | |||
|DataBitNot | |||
|Takes the one's complement of a DataNode in integer format. | |||
|{print {~ 0xFFFFFF00}} = 255 | |||
|- | |||
|"lowest_bit" | |||
|DataLowestBit | |||
|TODO | |||
|TODO | |||
|- | |||
|"count_bits" | |||
|DataCountBits | |||
|TODO | |||
|TODO | |||
|- | |||
|"while" | |||
|DataWhile | |||
|TODO | |||
|TODO | |||
|- | |||
|"do" | |||
|DataDo | |||
|TODO | |||
|TODO | |||
|- | |||
|"new" | |||
|DataNew | |||
|Create a new Hmx::Object. | |||
|TODO | |||
|- | |||
|"delete" | |||
|DataDelete | |||
|Delete an Hmx::Object. | |||
|TODO | |||
|- | |||
|"object" | |||
|DataObject | |||
|TODO | |||
|TODO | |||
|- | |||
|"exists" | |||
|DataExists | |||
|TODO | |||
|TODO | |||
|- | |||
|"localize" | |||
|DataLocalize | |||
|Turns a locale string into its localized format. | |||
|{print {localize test_locale_str}} = "This is the test locale string for the English language." | |||
|- | |||
|"localize_separated_int" | |||
|DataLocalizeSeparatedInt | |||
|TODO | |||
|TODO | |||
|- | |||
|"localize_float" | |||
|DataLocalizeFloat | |||
|TODO | |||
|TODO | |||
|- | |||
|"sync_reload_locale" | |||
|DataSyncReloadLocale | |||
|TODO | |||
|TODO | |||
|- | |||
|"print_unused" | |||
|DataPrintUnused | |||
|TODO | |||
|TODO | |||
|- | |||
|"startswith" | |||
|DataStartsWith | |||
|TODO | |||
|TODO | |||
|- | |||
|"print" | |||
|DataPrint | |||
|TODO | |||
|TODO | |||
|- | |||
|"time" | |||
|DataTime | |||
|TODO | |||
|TODO | |||
|- | |||
|"random_int" | |||
|DataRandomInt | |||
|TODO | |||
|TODO | |||
|- | |||
|"random_float" | |||
|DataRandomFloat | |||
|TODO | |||
|TODO | |||
|- | |||
|"random_elem" | |||
|DataRandomElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"random" | |||
|DataRandom | |||
|TODO | |||
|TODO | |||
|- | |||
|"random_seed" | |||
|DataRandomSeed | |||
|TODO | |||
|TODO | |||
|- | |||
|"notify" | |||
|DataNotify | |||
|Calls a notify, Only available in [[Debug Builds]] | |||
|{notify "A Thing Happened!"} | |||
|- | |||
|"notify_beta" | |||
|DataNotifyBeta | |||
|TODO | |||
|TODO | |||
|- | |||
|"fail" | |||
|DataFail | |||
|Calls the fail screen, ending the program. Only available in [[Debug Builds]] | |||
|{fail "A Thing Broke!"} | |||
|- | |||
|"notify_once" | |||
|DataNotifyOnce | |||
|Calls a notify, but only the first time it's called. Useful for loops. | |||
|TODO | |||
|- | |||
|"switch" | |||
|DataSwitch | |||
|TODO | |||
|TODO | |||
|- | |||
|"cond" | |||
|DataCond | |||
|TODO | |||
|TODO | |||
|- | |||
|"insert_elems" | |||
|DataInsertElems | |||
|TODO | |||
|TODO | |||
|- | |||
|"insert_elem" | |||
|DataInsertElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"print_array" | |||
|DataPrintArray | |||
|TODO | |||
|TODO | |||
|- | |||
|"size" | |||
|DataSize | |||
|TODO | |||
|TODO | |||
|- | |||
|"remove_elem" | |||
|DataRemoveElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"resize" | |||
|DataResize | |||
|TODO | |||
|TODO | |||
|- | |||
|"array" | |||
|DataNewArray | |||
|TODO | |||
|TODO | |||
|- | |||
|"set_elem" | |||
|DataSetElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"eval" | |||
|DataEval | |||
|TODO | |||
|TODO | |||
|- | |||
|"reverse_interp" | |||
|DataReverseInterp | |||
|TODO | |||
|TODO | |||
|- | |||
|"interp" | |||
|DataInterp | |||
|TODO | |||
|TODO | |||
|- | |||
|"++" | |||
|DataInc | |||
|TODO | |||
|TODO | |||
|- | |||
|"--" | |||
|DataDec | |||
|TODO | |||
|TODO | |||
|- | |||
|"run" | |||
|DataRun | |||
|TODO | |||
|TODO | |||
|- | |||
|"read_file" | |||
|OnReadFile | |||
|TODO | |||
|TODO | |||
|- | |||
|"write_file" | |||
|OnWriteFile | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_exists" | |||
|OnFileExists | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_read_only" | |||
|OnFileReadOnly | |||
|TODO | |||
|TODO | |||
|- | |||
|"handle_type" | |||
|DataHandleType | |||
|TODO | |||
|TODO | |||
|- | |||
|"handle_type_ret" | |||
|DataHandleTypeRet | |||
|TODO | |||
|TODO | |||
|- | |||
|"handle" | |||
|DataHandle | |||
|TODO | |||
|TODO | |||
|- | |||
|"handle_ret" | |||
|DataHandleRet | |||
|TODO | |||
|TODO | |||
|- | |||
|"contains" | |||
|DataContains | |||
|TODO | |||
|TODO | |||
|- | |||
|"export" | |||
|DataExport | |||
|TODO | |||
|TODO | |||
|- | |||
|"exit" | |||
|DataExit | |||
|Exits the game. | |||
|- | |||
|"find" | |||
|DataFind | |||
|TODO | |||
|TODO | |||
|- | |||
|"find_exists" | |||
|DataFindExists | |||
|TODO | |||
|TODO | |||
|- | |||
|"find_elem" | |||
|DataFindElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"find_obj" | |||
|DataFindObj | |||
|TODO | |||
|TODO | |||
|- | |||
|"basename" | |||
|DataBasename | |||
|TODO | |||
|TODO | |||
|- | |||
|"dirname" | |||
|DataDirname | |||
|TODO | |||
|TODO | |||
|- | |||
|"has_substr" | |||
|DataHasSubStr | |||
|TODO | |||
|TODO | |||
|- | |||
|"has_any_substr" | |||
|DataHasAnySubStr | |||
|TODO | |||
|TODO | |||
|- | |||
|"find_substr" | |||
|DataFindSubStr | |||
|TODO | |||
|TODO | |||
|- | |||
|"strlen" | |||
|DataStrlen | |||
|TODO | |||
|TODO | |||
|- | |||
|"str_elem" | |||
|DataStrElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"search_replace" | |||
|DataSearchReplace | |||
|TODO | |||
|TODO | |||
|- | |||
|"substr" | |||
|DataSubStr | |||
|TODO | |||
|TODO | |||
|- | |||
|"strcat" | |||
|DataStrCat | |||
|TODO | |||
|TODO | |||
|- | |||
|"string_flags" | |||
|DataStringFlags | |||
|TODO | |||
|TODO | |||
|- | |||
|"tolower" | |||
|DataStrToLower | |||
|TODO | |||
|TODO | |||
|- | |||
|"toupper" | |||
|DataStrToUpper | |||
|TODO | |||
|TODO | |||
|- | |||
|"strieq" | |||
|DataStrieq | |||
|TODO | |||
|TODO | |||
|- | |||
|"push_back" | |||
|DataPushBack | |||
|TODO | |||
|TODO | |||
|- | |||
|"sort" | |||
|DataSort | |||
|TODO | |||
|TODO | |||
|- | |||
|"var" | |||
|DataVar | |||
|TODO | |||
|TODO | |||
|- | |||
|"set_var" | |||
|DataSetVar | |||
|TODO | |||
|TODO | |||
|- | |||
|"pack_color" | |||
|DataPackColor | |||
|TODO | |||
|TODO | |||
|- | |||
|"unpack_color" | |||
|DataUnpackColor | |||
|TODO | |||
|TODO | |||
|- | |||
|"set_this" | |||
|OnSetThis | |||
|TODO | |||
|TODO | |||
|- | |||
|"macro_elem" | |||
|DataMacroElem | |||
|TODO | |||
|TODO | |||
|- | |||
|"merge_dirs" | |||
|DataMergeDirs | |||
|TODO | |||
|TODO | |||
|- | |||
|"quote" | |||
|DataQuote | |||
|TODO | |||
|TODO | |||
|- | |||
|"'" | |||
|DataQuote | |||
|TODO | |||
|TODO | |||
|- | |||
|"quasiquote" | |||
|DataQuasiquote | |||
|TODO | |||
|TODO | |||
|- | |||
|"`" | |||
|DataQuasiquote | |||
|TODO | |||
|TODO | |||
|- | |||
|"unquote" | |||
|DataUnquote | |||
|TODO | |||
|TODO | |||
|- | |||
|"," | |||
|DataUnquote | |||
|TODO | |||
|TODO | |||
|- | |||
|"get_date_time" | |||
|DataGetDateTime | |||
|TODO | |||
|TODO | |||
|- | |||
|"with" | |||
|DataWith | |||
|TODO | |||
|TODO | |||
|- | |||
|"type" | |||
|DataGetType | |||
|TODO | |||
|TODO | |||
|- | |||
|"object_list" | |||
|DataObjectList | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_list" | |||
|DataFileList | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_list_paths" | |||
|DataFileListPaths | |||
|TODO | |||
|TODO | |||
|- | |||
|"disable_notify" | |||
|DataDisableNotify | |||
|TODO | |||
|TODO | |||
|- | |||
|"filter_notify" | |||
|DataFilterNotify | |||
|TODO | |||
|TODO | |||
|- | |||
|"add_token" | |||
|AddToken | |||
|Used by Magnu, Seemingly used for locale syncing/editing | |||
|TODO | |||
|- | |||
|"edit_token" | |||
|EditToken | |||
|Used by Magnu, Seemingly used for locale syncing/editing | |||
|TODO | |||
|- | |||
|"magnu_refresh_strings" | |||
|MagnuRefreshStrings | |||
|Used by Magnu, Seemingly used for locale syncing/editing | |||
|TODO | |||
|- | |||
|"loadmgr_debug" | |||
|OnSetLoadMgrDebug | |||
|TODO | |||
|TODO | |||
|- | |||
|"loadmgr_print" | |||
|OnLoadMgrPrint | |||
|TODO | |||
|TODO | |||
|- | |||
|"set_edit_mode" | |||
|OnSetEditMode | |||
|TODO | |||
|TODO | |||
|- | |||
|"set_loader_period" | |||
|OnSetLoaderPeriod | |||
|TODO | |||
|TODO | |||
|- | |||
|"sysplatform_sym" | |||
|OnSysPlatformSym | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_root" | |||
|OnFileRoot | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_exec_root" | |||
|OnFileExecRoot | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_get_drive" | |||
|OnFileGetDrive | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_get_path" | |||
|OnFileGetPath | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_get_base" | |||
|OnFileGetBase | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_get_ext" | |||
|OnFileGetExt | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_match" | |||
|OnFileMatch | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_absolute_path" | |||
|OnFileAbsolutePath | |||
|TODO | |||
|TODO | |||
|- | |||
|"file_relative_path" | |||
|OnFileRelativePath | |||
|TODO | |||
|TODO | |||
|- | |||
|"with_file_root" | |||
|OnWithFileRoot | |||
|TODO | |||
|TODO | |||
|- | |||
|"synch_proc" | |||
|OnSynchProc | |||
|TODO | |||
|TODO | |||
|- | |||
|"toggle_fake_file_errors" | |||
|OnToggleFakeFileErrors | |||
|TODO | |||
|TODO | |||
|- | |||
|"enumerate_frame_rate_results" | |||
|OnEnumerateFrameRateResults | |||
|TODO | |||
|TODO | |||
|- | |||
|"system_language" | |||
|OnSystemLanguage | |||
|TODO | |||
|TODO | |||
|- | |||
|"system_exec" | |||
|OnSystemExec | |||
|Runs a system executable. | |||
|Xbox 360: `{system_exec GAME:/test.xex}` | |||
|- | |||
|"using_cd" | |||
|OnUsingCD | |||
|TODO | |||
|TODO | |||
|- | |||
|"supported_languages" | |||
|OnSupportedLanguages | |||
|TODO | |||
|TODO | |||
|- | |||
|"switch_system_language" | |||
|OnSwitchSystemLanguage | |||
|TODO | |||
|TODO | |||
|- | |||
|"system_ms" | |||
|OnSystemMs | |||
|TODO | |||
|TODO | |TODO | ||
|} | |} | ||
==DataFuncs added by RB3Enhanced== | |||
{| class="wikitable" | |||
!DTA Symbol | |||
!DataFunc | |||
!Description | |||
|- | |||
|"print_debug" | |||
|PrintToDebugger | |||
|TODO | |||
|- | |||
|"rb3e_change_music_speed" | |||
|ChangeMusicSpeed | |||
|TODO | |||
|- | |||
|"rb3e_change_track_speed" | |||
|ChangeTrackSpeed | |||
|TODO | |||
|- | |||
|"rb3e_get_music_speed" | |||
|GetMusicSpeed | |||
|TODO | |||
|- | |||
|"rb3e_get_track_speed" | |||
|GetTrackSpeed | |||
|TODO | |||
|- | |||
|"rb3e_set_venue" | |||
|DTASetVenue | |||
|TODO | |||
|- | |||
|"rb3e_is_emulator" | |||
|DTAIsEmulator | |||
|TODO | |||
|- | |||
|"rb3e_relaunch_game" | |||
|DTARelaunchGame | |||
|TODO | |||
|- | |||
|"rb3e_get_song_count" | |||
|DTAGetSongCount | |||
|TODO | |||
|- | |||
|"rb3e_send_event_string" | |||
|DTASendModData | |||
|TODO | |||
|} | |||
==Resources== | ==Resources== | ||
* [https://github.com/DarkRTA/rb3/blob/fa6c17190b5dc0473a6cd7d5ede92a621f667e24/src/system/obj/DataFunc.cpp Decompiled RB3 DataFuncs.cpp] | * [https://github.com/DarkRTA/rb3/blob/fa6c17190b5dc0473a6cd7d5ede92a621f667e24/src/system/obj/DataFunc.cpp Decompiled RB3 DataFuncs.cpp] | ||
* [https://github.com/RBEnhanced/RB3Enhanced/blob/master/source%2FDTAFunctions.c RB3Enhanced Dtafunctions.c] |
Latest revision as of 20:05, 9 October 2024
DataFuncs are DataNodes that correlate to functions within the executable. Many of these are completely unused throughout all Milo/Forge games.
List of RB3 DataFuncs
DTA Symbol | DataFunc | Description | Usage |
---|---|---|---|
"replace_object" | DataReplaceObject | TODO | TODO |
"next_name" | DataNextName | TODO | TODO |
"printf" | DataPrintf | TODO | TODO |
"sprintf" | DataSprintf | TODO | TODO |
"sprint" | DataSprint | TODO | TODO |
"func" | DataFuncObj::New | TODO | {func name ($parameters) {script here}} |
"elem" | DataGetElem | TODO | TODO |
"last_elem" | DataGetLastElem | TODO | TODO |
"foreach" | DataForEach | TODO | TODO |
"foreach_int" | DataForEachInt | TODO | TODO |
"min" | DataMin | Returns the lower of the two DataNodes. | {print {min 6 2}} = 2 |
"max" | DataMax | Returns the higher of the two DataNodes. | {print {max 6 2}} = 6 |
"abs" | DataAbs | Returns the absolute (i.e. positive) value of the input DataNode. | {print {abs -52}} = 52 |
"+" | DataAdd | TODO | TODO |
"+=" | DataAddEq | TODO | TODO |
"-" | DataSub | TODO | TODO |
"-=" | DataSubEq | TODO | TODO |
"mean" | DataMean | TODO | TODO |
"clamp" | DataClamp | TODO | TODO |
"clamp_eq" | DataClampEq | TODO | TODO |
"*" | DataMultiply | TODO | TODO |
"*=" | DataMultiplyEq | TODO | {'*=' $variable 2.0} |
"/" | DataDivide | TODO | TODO |
"/=" | DataDivideEq | TODO | {'/=' $variable 5.0} |
"sqrt" | DataSqrt | Never used in any of the games, presumably gives the square root of a value | TODO |
"mod" | DataMod | TODO | TODO |
"dist" | DataDist | TODO | TODO |
"symbol" | DataSymbol | TODO | TODO |
"int" | DataInt | Attempts to convert the DataNode to a kDataInteger. | {print {int 3.1415}} = 3 |
"char" | DataChar | TODO | TODO |
"round" | DataRound | TODO | TODO |
"floor" | DataFloor | TODO | {floor $value} |
"ceil" | DataCeil | TODO | {ceil $value} |
"Set" | DataSet | TODO | TODO |
"if_else" | DataIfElse | TODO | TODO |
"if" | DataIf | TODO | TODO |
"unless" | DataUnless | TODO | TODO |
"==" | DataEq | Returns TRUE if the two DataNodes are equal. | {print {== 3 3}} = 1 |
"!=" | DataNe | TODO | TODO |
"<=" | DataLe | TODO | TODO |
"<" | DataLt | TODO | TODO |
">=" | DataGe | TODO | TODO |
">" | DataGt | TODO | TODO |
"!" | DataNot | TODO | TODO |
"&&" | DataAnd | TODO | TODO |
"||" | DataOr | TODO | TODO |
"^^" | DataXor | TODO | TODO |
"&" | DataBitAnd | TODO | TODO |
"&=" | DataAndEqual | TODO | TODO |
"mask_eq" | DataMaskEqual | TODO | TODO |
" | DataBitOr | TODO | TODO |
=" | DataOrEqual | TODO | TODO |
"^" | DataBitXor | TODO | TODO |
"~" | DataBitNot | Takes the one's complement of a DataNode in integer format. | {print {~ 0xFFFFFF00}} = 255 |
"lowest_bit" | DataLowestBit | TODO | TODO |
"count_bits" | DataCountBits | TODO | TODO |
"while" | DataWhile | TODO | TODO |
"do" | DataDo | TODO | TODO |
"new" | DataNew | Create a new Hmx::Object. | TODO |
"delete" | DataDelete | Delete an Hmx::Object. | TODO |
"object" | DataObject | TODO | TODO |
"exists" | DataExists | TODO | TODO |
"localize" | DataLocalize | Turns a locale string into its localized format. | {print {localize test_locale_str}} = "This is the test locale string for the English language." |
"localize_separated_int" | DataLocalizeSeparatedInt | TODO | TODO |
"localize_float" | DataLocalizeFloat | TODO | TODO |
"sync_reload_locale" | DataSyncReloadLocale | TODO | TODO |
"print_unused" | DataPrintUnused | TODO | TODO |
"startswith" | DataStartsWith | TODO | TODO |
"print" | DataPrint | TODO | TODO |
"time" | DataTime | TODO | TODO |
"random_int" | DataRandomInt | TODO | TODO |
"random_float" | DataRandomFloat | TODO | TODO |
"random_elem" | DataRandomElem | TODO | TODO |
"random" | DataRandom | TODO | TODO |
"random_seed" | DataRandomSeed | TODO | TODO |
"notify" | DataNotify | Calls a notify, Only available in Debug Builds | {notify "A Thing Happened!"} |
"notify_beta" | DataNotifyBeta | TODO | TODO |
"fail" | DataFail | Calls the fail screen, ending the program. Only available in Debug Builds | {fail "A Thing Broke!"} |
"notify_once" | DataNotifyOnce | Calls a notify, but only the first time it's called. Useful for loops. | TODO |
"switch" | DataSwitch | TODO | TODO |
"cond" | DataCond | TODO | TODO |
"insert_elems" | DataInsertElems | TODO | TODO |
"insert_elem" | DataInsertElem | TODO | TODO |
"print_array" | DataPrintArray | TODO | TODO |
"size" | DataSize | TODO | TODO |
"remove_elem" | DataRemoveElem | TODO | TODO |
"resize" | DataResize | TODO | TODO |
"array" | DataNewArray | TODO | TODO |
"set_elem" | DataSetElem | TODO | TODO |
"eval" | DataEval | TODO | TODO |
"reverse_interp" | DataReverseInterp | TODO | TODO |
"interp" | DataInterp | TODO | TODO |
"++" | DataInc | TODO | TODO |
"--" | DataDec | TODO | TODO |
"run" | DataRun | TODO | TODO |
"read_file" | OnReadFile | TODO | TODO |
"write_file" | OnWriteFile | TODO | TODO |
"file_exists" | OnFileExists | TODO | TODO |
"file_read_only" | OnFileReadOnly | TODO | TODO |
"handle_type" | DataHandleType | TODO | TODO |
"handle_type_ret" | DataHandleTypeRet | TODO | TODO |
"handle" | DataHandle | TODO | TODO |
"handle_ret" | DataHandleRet | TODO | TODO |
"contains" | DataContains | TODO | TODO |
"export" | DataExport | TODO | TODO |
"exit" | DataExit | Exits the game. | |
"find" | DataFind | TODO | TODO |
"find_exists" | DataFindExists | TODO | TODO |
"find_elem" | DataFindElem | TODO | TODO |
"find_obj" | DataFindObj | TODO | TODO |
"basename" | DataBasename | TODO | TODO |
"dirname" | DataDirname | TODO | TODO |
"has_substr" | DataHasSubStr | TODO | TODO |
"has_any_substr" | DataHasAnySubStr | TODO | TODO |
"find_substr" | DataFindSubStr | TODO | TODO |
"strlen" | DataStrlen | TODO | TODO |
"str_elem" | DataStrElem | TODO | TODO |
"search_replace" | DataSearchReplace | TODO | TODO |
"substr" | DataSubStr | TODO | TODO |
"strcat" | DataStrCat | TODO | TODO |
"string_flags" | DataStringFlags | TODO | TODO |
"tolower" | DataStrToLower | TODO | TODO |
"toupper" | DataStrToUpper | TODO | TODO |
"strieq" | DataStrieq | TODO | TODO |
"push_back" | DataPushBack | TODO | TODO |
"sort" | DataSort | TODO | TODO |
"var" | DataVar | TODO | TODO |
"set_var" | DataSetVar | TODO | TODO |
"pack_color" | DataPackColor | TODO | TODO |
"unpack_color" | DataUnpackColor | TODO | TODO |
"set_this" | OnSetThis | TODO | TODO |
"macro_elem" | DataMacroElem | TODO | TODO |
"merge_dirs" | DataMergeDirs | TODO | TODO |
"quote" | DataQuote | TODO | TODO |
"'" | DataQuote | TODO | TODO |
"quasiquote" | DataQuasiquote | TODO | TODO |
"`" | DataQuasiquote | TODO | TODO |
"unquote" | DataUnquote | TODO | TODO |
"," | DataUnquote | TODO | TODO |
"get_date_time" | DataGetDateTime | TODO | TODO |
"with" | DataWith | TODO | TODO |
"type" | DataGetType | TODO | TODO |
"object_list" | DataObjectList | TODO | TODO |
"file_list" | DataFileList | TODO | TODO |
"file_list_paths" | DataFileListPaths | TODO | TODO |
"disable_notify" | DataDisableNotify | TODO | TODO |
"filter_notify" | DataFilterNotify | TODO | TODO |
"add_token" | AddToken | Used by Magnu, Seemingly used for locale syncing/editing | TODO |
"edit_token" | EditToken | Used by Magnu, Seemingly used for locale syncing/editing | TODO |
"magnu_refresh_strings" | MagnuRefreshStrings | Used by Magnu, Seemingly used for locale syncing/editing | TODO |
"loadmgr_debug" | OnSetLoadMgrDebug | TODO | TODO |
"loadmgr_print" | OnLoadMgrPrint | TODO | TODO |
"set_edit_mode" | OnSetEditMode | TODO | TODO |
"set_loader_period" | OnSetLoaderPeriod | TODO | TODO |
"sysplatform_sym" | OnSysPlatformSym | TODO | TODO |
"file_root" | OnFileRoot | TODO | TODO |
"file_exec_root" | OnFileExecRoot | TODO | TODO |
"file_get_drive" | OnFileGetDrive | TODO | TODO |
"file_get_path" | OnFileGetPath | TODO | TODO |
"file_get_base" | OnFileGetBase | TODO | TODO |
"file_get_ext" | OnFileGetExt | TODO | TODO |
"file_match" | OnFileMatch | TODO | TODO |
"file_absolute_path" | OnFileAbsolutePath | TODO | TODO |
"file_relative_path" | OnFileRelativePath | TODO | TODO |
"with_file_root" | OnWithFileRoot | TODO | TODO |
"synch_proc" | OnSynchProc | TODO | TODO |
"toggle_fake_file_errors" | OnToggleFakeFileErrors | TODO | TODO |
"enumerate_frame_rate_results" | OnEnumerateFrameRateResults | TODO | TODO |
"system_language" | OnSystemLanguage | TODO | TODO |
"system_exec" | OnSystemExec | Runs a system executable. | Xbox 360: `{system_exec GAME:/test.xex}` |
"using_cd" | OnUsingCD | TODO | TODO |
"supported_languages" | OnSupportedLanguages | TODO | TODO |
"switch_system_language" | OnSwitchSystemLanguage | TODO | TODO |
"system_ms" | OnSystemMs | TODO | TODO |
DataFuncs added by RB3Enhanced
DTA Symbol | DataFunc | Description |
---|---|---|
"print_debug" | PrintToDebugger | TODO |
"rb3e_change_music_speed" | ChangeMusicSpeed | TODO |
"rb3e_change_track_speed" | ChangeTrackSpeed | TODO |
"rb3e_get_music_speed" | GetMusicSpeed | TODO |
"rb3e_get_track_speed" | GetTrackSpeed | TODO |
"rb3e_set_venue" | DTASetVenue | TODO |
"rb3e_is_emulator" | DTAIsEmulator | TODO |
"rb3e_relaunch_game" | DTARelaunchGame | TODO |
"rb3e_get_song_count" | DTAGetSongCount | TODO |
"rb3e_send_event_string" | DTASendModData | TODO |