Fixed Android ifdef for log
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
hinge = CreateHingeConstraint<b>(</b>actorA, frameA, <span class="rc_keyword">true</span><b>)</b> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
Note: It is recommended to use CreateSlideConstraintEx() in most cases
|
||||
Note: It is recommended to use CreateHingeConstraintEx() in most cases
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="createhingeconstraintex.html">CreateHingeConstraintEx</a>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function CreateSprite( img ) </h2></p>
|
||||
<p><h2>function CreateSprite( img, frame_w, frame_h ) </h2></p>
|
||||
<p>
|
||||
This function returns a new sprite which you can place in a variable for use in your program.
|
||||
</p>
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<p><h2>Function GetSpriteAlpha(sprite) </h2></p>
|
||||
<p>
|
||||
Returns the alpha value of a sprite
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -143,7 +143,7 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Type - The type of layer selected. There are 4 types of layers: sprite, tile, canvas 2d, and canvas 3d.
|
||||
Type - The type of layer selected. There are 5 types of layers: sprite, tile, isometric tile, canvas 2d, and canvas 3d.
|
||||
</li>
|
||||
<li>
|
||||
Name - The name of the layer
|
||||
@@ -161,6 +161,26 @@
|
||||
<p>
|
||||
</p>
|
||||
</p>
|
||||
<p>
|
||||
<p>#5 - Sprite Layers have extra settings that can be changed.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Sprite Grid - Grid type can be either SQUARE or ISOMETRIC and determines how sprites move and snap when snap tile movement is enabled.
|
||||
</li>
|
||||
<li>
|
||||
Sort By - This setting will override SpriteZ values and determines the priority sprites are rendered in
|
||||
</li>
|
||||
<li>
|
||||
Order - This determines whether the priority set by Sort By is in ascending or descending order
|
||||
</li>
|
||||
<li>
|
||||
Shape Data - You can use this to have the editor generate the shapes when generating code or just export the shape data so you can handle collision yourself
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
</p>
|
||||
</p>
|
||||
<p>
|
||||
<br> <h2>Editor Settings</h2>
|
||||
</p>
|
||||
@@ -206,6 +226,9 @@
|
||||
<p>
|
||||
These tools are only usable when a tile layer is selected.
|
||||
</p>
|
||||
<p>
|
||||
NOTE: There is a subset of these tools available on sprite layers. The sprite layer tools will create a sprite with the selected tiles.
|
||||
</p>
|
||||
<p><img src="images/nirvana_tilemap_tools.png" ></p>
|
||||
<p>
|
||||
<p>#1 - Tools
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
Sets the constant value of an FX material
|
||||
</p>
|
||||
<p>
|
||||
NOTE: Each constant can ve of type Float, Vec2, Vec3, or Vec4. The ones listed as defined are set internally by the runtime.
|
||||
NOTE: Each constant can be of type Float, Vec2, Vec3, or Vec4. The ones listed as defined are set internally by the runtime.
|
||||
</p>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_NORMAL_BLEND</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_NORMAL_BLEND</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -23,7 +23,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_REFRACTION</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_REFRACTION</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -49,7 +49,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_REFRACTION2</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_REFRACTION2</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -57,7 +57,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_GOOCH</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_GOOCH</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -77,7 +77,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_PLASTIC</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_PLASTIC</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -88,7 +88,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_TANGENT</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_TANGENT</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -99,7 +99,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_SPEAKER</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_SPEAKER</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -128,7 +128,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_PHONG_TEXTURE</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_PHONG_TEXTURE</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -151,7 +151,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_STYLE</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_STYLE</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -159,7 +159,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_STYLE2</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_STYLE2</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -167,7 +167,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_STYLE3</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_STYLE3</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -175,7 +175,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>FX_MATERIAL_TYPE_STYLE4</b> Possible Constants
|
||||
<b>FX_MATERIAL_TYPE_STYLE4</b><br> Possible Constants
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<p><h2>Sub SetSpriteAlpha(sprite, alpha) </h2></p>
|
||||
<p>
|
||||
Sets the alpha value of a sprite
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<p><h2>Sub SetSpriteColorMod(sprite, color) </h2></p>
|
||||
<p>
|
||||
Sets the color modulation of a sprite.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<p><h2>Function SpriteAnimationIsPlaying(sprite) </h2></p>
|
||||
<p>
|
||||
Returns true if there is an animation playing on the sprite
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<p><h2>Function SpriteExists(sprite) </h2></p>
|
||||
<p>
|
||||
Returns true if the sprite id is a valid sprite id
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -143,7 +143,7 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Type - The type of layer selected. There are 4 types of layers: sprite, tile, canvas 2d, and canvas 3d.
|
||||
Type - The type of layer selected. There are 5 types of layers: sprite, tile, isometric tile, canvas 2d, and canvas 3d.
|
||||
</li>
|
||||
<li>
|
||||
Name - The name of the layer
|
||||
@@ -161,6 +161,26 @@
|
||||
<p>
|
||||
</p>
|
||||
</p>
|
||||
<p>
|
||||
<p>#5 - Sprite Layers have extra settings that can be changed.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Sprite Grid - Grid type can be either SQUARE or ISOMETRIC and determines how sprites move and snap when snap tile movement is enabled.
|
||||
</li>
|
||||
<li>
|
||||
Sort By - This setting will override SpriteZ values and determines the priority sprites are rendered in
|
||||
</li>
|
||||
<li>
|
||||
Order - This determines whether the priority set by Sort By is in ascending or descending order
|
||||
</li>
|
||||
<li>
|
||||
Shape Data - You can use this to have the editor generate the shapes when generating code or just export the shape data so you can handle collision yourself
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
</p>
|
||||
</p>
|
||||
<p>
|
||||
<br> <h2>Editor Settings</h2>
|
||||
</p>
|
||||
@@ -206,6 +226,9 @@
|
||||
<p>
|
||||
These tools are only usable when a tile layer is selected.
|
||||
</p>
|
||||
<p>
|
||||
NOTE: There is a subset of these tools available on sprite layers. The sprite layer tools will create a sprite with the selected tiles.
|
||||
</p>
|
||||
<p><img src="images/nirvana_tilemap_tools.png" ></p>
|
||||
<p>
|
||||
<p>#1 - Tools
|
||||
|
||||
@@ -10,9 +10,11 @@
|
||||
#if defined(RC_ANDROID) || defined(RC_WINDOWS)
|
||||
#include <irrlicht.h>
|
||||
#include <btBulletDynamicsCommon.h>
|
||||
#include <android/log.h>
|
||||
|
||||
#define LOGE(TAG, ...) __android_log_print(ANDROID_LOG_ERROR , TAG,__VA_ARGS__)
|
||||
#if defined(RC_ANDROID)
|
||||
#include <android/log.h>
|
||||
#define LOGE(TAG, ...) __android_log_print(ANDROID_LOG_ERROR , TAG,__VA_ARGS__)
|
||||
#endif // defined
|
||||
|
||||
#else
|
||||
#include <irrlicht.h>
|
||||
|
||||
Reference in New Issue
Block a user