-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
6 changed files
with
55 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Manual/contents/GameMaker_Language/GML_Reference/OS_And_Compiler/GM_runtime_type.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>GM_runtime_type</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" type="text/css" href="../../../assets/css/default.css" /> | ||
<script src="../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="" /> | ||
<meta name="topic-comment" content="" /> | ||
<meta name="rh-index-keywords" content="GM_runtime_type" /> | ||
<meta name="search-keywords" content="GM_runtime_type" /> | ||
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt" /> | ||
<meta name="condition-tags" content="Export:Beta" /> | ||
</head> | ||
<body> | ||
<h1><span data-field="title" data-format="default">GM_runtime_type</span></h1> | ||
<p>This built-in constant holds the type of the runtime: <span class="inline2">"gms2"</span> for the current runtime or <span class="inline2">"gmrt"</span> for the new runtime.</p> | ||
<p class="note"><span data-conref="../../../assets/snippets/Tag_note.hts"> </span> See <a data-xref="{title}" href="../../../Settings/Runner_Details/GMRT_(GameMaker_Runtime).htm">GMRT (GameMaker Runtime)</a> for more information about the new runtime.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">GM_runtime_type</span></p> | ||
<p> </p> | ||
<h4>Holds:</h4> | ||
<p class="code"><span data-keyref="Type_String"><a href="../../GML_Overview/Data_Types.htm" target="_blank">String</a></span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">show_debug_message($"Using runtime: {string_upper(<span data-field="title" data-format="default">GM_runtime_type</span>)}");</p> | ||
<p>The above code outputs a debug message that shows the runtime the game is using.</p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div>Back: <a data-xref="{title}" href="OS_And_Compiler.htm">OS And Compiler</a></div> | ||
<div>Next: <a data-xref="{title}" href="GM_runtime_version.htm">GM_runtime_version</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
GM_runtime_type | ||
--> | ||
<!-- TAGS | ||
GM_runtime_type | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters