Compare commits
293 Commits
RCBasic4-A
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6570999c29 | ||
|
|
b15b954648 | ||
|
|
c4573e87f7 | ||
|
|
12d34ec8cc | ||
|
|
28f8412c6d | ||
|
|
135b9f8bbb | ||
|
|
ea986a826b | ||
|
|
0130864a6f | ||
|
|
9dbb4b6b5f | ||
|
|
aa7667c838 | ||
|
|
902f0129f1 | ||
|
|
c4d559f0d4 | ||
|
|
21e06b0848 | ||
|
|
d53f5c43f6 | ||
|
|
b0f09c3aae | ||
|
|
ddfd6b8838 | ||
|
|
2b16b0b3d2 | ||
|
|
bc0d138387 | ||
|
|
5779e59cdd | ||
|
|
72ecdc046e | ||
|
|
e4d92c74b1 | ||
|
|
17238f3eeb | ||
|
|
61e55f72f6 | ||
|
|
a2c4eba1e2 | ||
|
|
606d74fd39 | ||
|
|
dd6de7875e | ||
|
|
db80705980 | ||
|
|
ff7120e4a0 | ||
|
|
762ef94b7b | ||
|
|
320adcf808 | ||
|
|
d5f9719d57 | ||
|
|
f11d41622b | ||
|
|
f53f486c54 | ||
|
|
4df735e4f6 | ||
|
|
e0141b11e6 | ||
|
|
e6c0cb5a69 | ||
|
|
340a6a6615 | ||
|
|
83c239fc3f | ||
|
|
af1ade702e | ||
|
|
5bedafc8c8 | ||
|
|
e5deb6bc86 | ||
|
|
92af3e4772 | ||
|
|
0d345b8cd5 | ||
|
|
af895b3f11 | ||
|
|
8f7fd7d453 | ||
|
|
3fa3dbb4e3 | ||
|
|
4f8a4e4d7c | ||
|
|
c9a4cd6fcd | ||
|
|
3aa74deb68 | ||
|
|
1293aec729 | ||
|
|
715098d200 | ||
|
|
d63195de3b | ||
|
|
642d6dd23e | ||
|
|
8120a1fd96 | ||
|
|
15e8426f99 | ||
|
|
a9d15d69ec | ||
|
|
91b7b1b3d7 | ||
|
|
bfdff4207a | ||
|
|
a25b4ad6ec | ||
|
|
c2e898aa87 | ||
|
|
fd760f3201 | ||
|
|
ab9238cdb8 | ||
|
|
ee5395bd66 | ||
|
|
60278f03ba | ||
|
|
4b2f517de4 | ||
|
|
6ad655f40d | ||
|
|
06d1d717dc | ||
|
|
05c5a6ca9f | ||
|
|
1e3500bd05 | ||
|
|
aa48cfc661 | ||
|
|
ea9a92d9ed | ||
|
|
3a217d9438 | ||
|
|
fd3124a4d3 | ||
|
|
96ba62c9de | ||
|
|
f6a99ebba1 | ||
|
|
0c36af2557 | ||
|
|
207868cd5d | ||
|
|
bd3ec7f502 | ||
|
|
a5d1445b60 | ||
|
|
262d618d19 | ||
|
|
bed6f292c4 | ||
|
|
62bef8b6d0 | ||
|
|
e7da6b745c | ||
|
|
daac85c26a | ||
|
|
51c64fa857 | ||
|
|
65a37690ef | ||
|
|
020f107952 | ||
|
|
edb6462752 | ||
|
|
b67d63d32c | ||
|
|
14a315db60 | ||
|
|
3dcd6512df | ||
|
|
14f87ecbf1 | ||
|
|
b6b1ecf86f | ||
|
|
acdc78a149 | ||
|
|
eab4029642 | ||
|
|
a3b99950db | ||
|
|
979c946429 | ||
|
|
17b420578c | ||
|
|
5fafa1c73c | ||
|
|
8e161a1a22 | ||
|
|
4723ed8c6f | ||
|
|
a7f13b98ad | ||
|
|
b88688bea7 | ||
|
|
d91146db60 | ||
|
|
ff01fa83f4 | ||
|
|
f2af1d4045 | ||
|
|
a2c9d4952c | ||
|
|
070cbe2898 | ||
|
|
44eb4aa236 | ||
|
|
0ef552910a | ||
|
|
ac2cb91b18 | ||
|
|
0f24f30c38 | ||
|
|
9c5aaa8db6 | ||
|
|
33919725bf | ||
|
|
25e225ff96 | ||
|
|
94a9bb08fb | ||
|
|
8b8be85dea | ||
|
|
6f93be7a23 | ||
|
|
33edf29fd0 | ||
|
|
d3c508f149 | ||
|
|
a4e9fdd9fd | ||
|
|
4c4c4d4952 | ||
|
|
c30bade6c7 | ||
|
|
ba3bbd2fc8 | ||
|
|
7b87adc07e | ||
|
|
6bf8a310a1 | ||
|
|
c4af461e3d | ||
|
|
2381c84fe5 | ||
|
|
80435becff | ||
|
|
f9092efbba | ||
|
|
323e91e4df | ||
|
|
f963213013 | ||
|
|
af7ac75384 | ||
|
|
3a03aaa148 | ||
|
|
7181b6924a | ||
|
|
98e8257e4a | ||
|
|
d4aa4198af | ||
|
|
e05f4ff024 | ||
|
|
b01f3cfc01 | ||
|
|
119e6f5bfe | ||
|
|
39c5e4a9f2 | ||
|
|
0e2253ad02 | ||
|
|
6b8f078291 | ||
|
|
f392bdebfc | ||
|
|
447bc241d7 | ||
|
|
d0dc046c6b | ||
|
|
59e93b66d1 | ||
|
|
a4fca34d19 | ||
|
|
a07c6e8d15 | ||
|
|
588e866bad | ||
|
|
f827706734 | ||
|
|
1a574146af | ||
|
|
7c3d44b0ff | ||
|
|
82cbb6c73a | ||
|
|
d7b1440917 | ||
|
|
0c3cfde381 | ||
|
|
38021bf1fa | ||
|
|
d1d291d823 | ||
|
|
c354825638 | ||
|
|
072024fa41 | ||
|
|
bb03c0f9a3 | ||
|
|
10f225d14b | ||
|
|
b3667a70df | ||
|
|
4cdcf7aa24 | ||
|
|
31872c955c | ||
|
|
80c97f0a93 | ||
|
|
09ab7d76cd | ||
|
|
9fba7a380c | ||
|
|
a85bb304ea | ||
|
|
005d324a81 | ||
|
|
953b7b562d | ||
|
|
bea293d13c | ||
|
|
da3e4fbe36 | ||
|
|
3753e1a0d3 | ||
|
|
8e1686978c | ||
|
|
3cd9dde20d | ||
|
|
c4e2dc9d8e | ||
|
|
5a24dc445b | ||
|
|
32e1e0a00f | ||
|
|
fef3d682e6 | ||
|
|
4876640bf4 | ||
|
|
b7e4281352 | ||
|
|
0b66a9294f | ||
|
|
cfad58b99c | ||
|
|
f008cf839b | ||
|
|
2a78f8cf81 | ||
|
|
36cee820d3 | ||
|
|
adec3d0039 | ||
|
|
917a2a10eb | ||
|
|
26f89808ba | ||
|
|
a2363aa63a | ||
|
|
d79a8f9602 | ||
|
|
b56f0185cf | ||
|
|
f3c49b8a8b | ||
|
|
33ece2b755 | ||
|
|
5048597745 | ||
|
|
b9275b7d80 | ||
|
|
f35b940637 | ||
|
|
cf47eb2039 | ||
|
|
c085150def | ||
|
|
378c25ffde | ||
|
|
40ca65cb3f | ||
|
|
3f4a1ce1cc | ||
|
|
ac30b0f7bb | ||
|
|
370c2bed33 | ||
|
|
73fb1bded8 | ||
|
|
fc082973d2 | ||
|
|
a8c3f059cc | ||
|
|
89258b691d | ||
|
|
3972f8b927 | ||
|
|
5719ad1dbd | ||
|
|
a08ab8760c | ||
|
|
0b132399fc | ||
|
|
79ec4b5ae0 | ||
|
|
c506ea110c | ||
|
|
bac4a2734f | ||
|
|
5ff184aff6 | ||
|
|
ca2c818b25 | ||
|
|
229aebfec3 | ||
|
|
9e61ea1c5e | ||
|
|
78e3281bf3 | ||
|
|
cf6feab5c1 | ||
|
|
5221ac5e8f | ||
|
|
3e2b01d794 | ||
|
|
b4b18b4860 | ||
|
|
8fd6acbde3 | ||
|
|
a0b3025848 | ||
|
|
fe5b5bc389 | ||
|
|
ceee3fc5d0 | ||
|
|
34c023a976 | ||
|
|
74f9fc8969 | ||
|
|
a13d3de54f | ||
|
|
b66e458590 | ||
|
|
19f67fa883 | ||
|
|
f8296f44cf | ||
|
|
f30aaffc4c | ||
|
|
1e47d69e23 | ||
|
|
5c53e7067b | ||
|
|
de0101253d | ||
|
|
cbb578981a | ||
|
|
bffa478064 | ||
|
|
f7b6e8e609 | ||
|
|
ece34a3989 | ||
|
|
77ab9983a7 | ||
|
|
2a580f9686 | ||
|
|
8f1b72a8e2 | ||
|
|
d49b9f5d58 | ||
|
|
87ccd04589 | ||
|
|
4d8ff846f3 | ||
|
|
67d3373429 | ||
|
|
6edb1bc09d | ||
|
|
b14019f9a9 | ||
|
|
86fee87c0f | ||
|
|
6a763febf9 | ||
|
|
4b64af34be | ||
|
|
a9c4921228 | ||
|
|
9cac24402e | ||
|
|
be84a27243 | ||
|
|
1033701d1d | ||
|
|
6f5cb3c6d5 | ||
|
|
78c897068b | ||
|
|
5762c171ae | ||
|
|
8f372bdf19 | ||
|
|
9b517acae1 | ||
|
|
f9a8e828f2 | ||
|
|
4d2e050dcf | ||
|
|
f5b42cf73b | ||
|
|
5f2f2bbf2c | ||
|
|
9509b4fa65 | ||
|
|
e50a1f9d96 | ||
|
|
693037ccd6 | ||
|
|
78cc1a983c | ||
|
|
5542629c92 | ||
|
|
62363b4b98 | ||
|
|
641c5c86ca | ||
|
|
00309fa481 | ||
|
|
721db50404 | ||
|
|
44a2793f37 | ||
|
|
1bf67ba02c | ||
|
|
3fd18b2ce6 | ||
|
|
27e8a448ea | ||
|
|
72715cd17e | ||
|
|
a5aedb1fa7 | ||
|
|
526478b618 | ||
|
|
f013e6ba71 | ||
|
|
10551c83f3 | ||
|
|
0402039a72 | ||
|
|
d271ed7885 | ||
|
|
6836a07f2f | ||
|
|
2ce04bbeca | ||
|
|
a94ad1e5f0 | ||
|
|
60ecf625aa | ||
|
|
0ca34a769d |
190
RCBasic_Dev_Setup.bat
Normal file
190
RCBasic_Dev_Setup.bat
Normal file
@@ -0,0 +1,190 @@
|
||||
cd ..
|
||||
|
||||
set DEV_BASE_DIR=%CD%
|
||||
|
||||
git clone --branch sdl2_device https://github.com/n00b87/RCIrrlicht.git
|
||||
|
||||
git clone --branch irrlicht_loader https://github.com/n00b87/an8-parser.git
|
||||
|
||||
git clone https://github.com/n00b87/RCDocs.git
|
||||
git clone https://github.com/n00b87/IrrTheora.git
|
||||
git clone https://github.com/n00b87/irrBullet.git
|
||||
|
||||
git clone --branch "VER-2-13-3" https://github.com/freetype/freetype.git
|
||||
|
||||
curl -Lo SDL2-devel-2.30.10-mingw.zip "https://github.com/libsdl-org/SDL/releases/download/release-2.30.10/SDL2-devel-2.30.10-mingw.zip"
|
||||
tar -xf SDL2-devel-2.30.10-mingw.zip
|
||||
rename SDL2-2.30.10 SDL2-dev
|
||||
|
||||
curl -Lo SDL2_image-devel-2.8.3-mingw.zip "https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.3/SDL2_image-devel-2.8.3-mingw.zip"
|
||||
tar -xf SDL2_image-devel-2.8.3-mingw.zip
|
||||
rename SDL2_image-2.8.3 SDL2_image-dev
|
||||
|
||||
curl -Lo SDL2_mixer-devel-2.8.0-mingw.zip "https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.8.0/SDL2_mixer-devel-2.8.0-mingw.zip"
|
||||
tar -xf SDL2_mixer-devel-2.8.0-mingw.zip
|
||||
rename SDL2_mixer-2.8.0 SDL2_mixer-dev
|
||||
|
||||
curl -Lo SDL2_net-devel-2.2.0-mingw.zip "https://github.com/libsdl-org/SDL_net/releases/download/release-2.2.0/SDL2_net-devel-2.2.0-mingw.zip"
|
||||
tar -xf SDL2_net-devel-2.2.0-mingw.zip
|
||||
rename SDL2_net-2.2.0 SDL2_net-dev
|
||||
|
||||
git clone --branch "v1.1.1" https://github.com/xiph/theora.git
|
||||
git clone --branch "v1.1.1" https://github.com/xiph/theora.git theora64
|
||||
git clone --branch "v1.3.7" https://github.com/xiph/vorbis.git
|
||||
git clone --branch "v1.3.5" https://github.com/xiph/ogg.git
|
||||
|
||||
git clone --branch "v2.4.2" https://github.com/erincatto/box2d.git
|
||||
git clone --branch "3.25" https://github.com/bulletphysics/bullet3.git
|
||||
|
||||
cd ogg
|
||||
|
||||
set TMP_PATH=%PATH%
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
mkdir build64
|
||||
cd build64
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
cd vorbis
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" .. -DOGG_INCLUDE_DIR=%DEV_BASE_DIR%\ogg\include -DOGG_LIBRARY=%DEV_BASE_DIR%\ogg\build\libogg.a
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
mkdir build64
|
||||
cd build64
|
||||
cmake -G "MinGW Makefiles" .. -DOGG_INCLUDE_DIR=%DEV_BASE_DIR%\ogg\include -DOGG_LIBRARY=%DEV_BASE_DIR%\ogg\build64\libogg.a
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
cd theora\win32\xmingw32
|
||||
set bash="C:\Program Files\Git\bin\sh.exe"
|
||||
%bash% --login -i -c "export dev_dir=$PWD/../../.. && export C_INCLUDE_PATH=$dev_dir/ogg/include && export C_INCLUDE_PATH=$dev_dir/vorbis/include:$C_INCLUDE_PATH && export LIBRARY_PATH=$dev_dir/ogg/build:$LIBRARY_PATH && export LIBRARY_PATH=$dev_dir/vorbis/build/lib:$LIBRARY_PATH && mingw32-make libtheoradec.dll"
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
cd theora64\win32\xmingw32
|
||||
set bash="C:\Program Files\Git\bin\sh.exe"
|
||||
%bash% --login -i -c "export dev_dir=$PWD/../../.. && export C_INCLUDE_PATH=$dev_dir/ogg/include && export C_INCLUDE_PATH=$dev_dir/vorbis/include:$C_INCLUDE_PATH && export LIBRARY_PATH=$dev_dir/ogg/build64:$LIBRARY_PATH && export LIBRARY_PATH=$dev_dir/vorbis/build64/lib:$LIBRARY_PATH && mingw32-make libtheoradec.dll"
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
|
||||
cd box2d
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
mkdir build64
|
||||
cd build64
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
|
||||
|
||||
cd bullet3
|
||||
|
||||
cd src
|
||||
mklink /J bullet %CD%
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" .. -DBUILD_OPENGL3_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF -DBUILD_UNIT_TESTS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
mkdir build64
|
||||
cd build64
|
||||
cmake -G "MinGW Makefiles" .. -DBUILD_OPENGL3_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF -DBUILD_UNIT_TESTS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
|
||||
cd freetype
|
||||
|
||||
cd include
|
||||
mklink /J freetype2 %CD%
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW32%\bin;%PATH%
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd ..
|
||||
|
||||
set PATH=%MINGW64%\bin;%PATH%
|
||||
mkdir build64
|
||||
cd build64
|
||||
cmake -G "MinGW Makefiles" ..
|
||||
mingw32-make
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
|
||||
cd RCIrrlicht\include
|
||||
del IrrCompileConfig.h
|
||||
rename IrrCompileConfig_win.h IrrCompileConfig.h
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
cd RCIrrlicht\source\Irrlicht
|
||||
|
||||
set PATH=%CODEBLOCKS_DIR%;%PATH%
|
||||
|
||||
codeblocks --clean --target="Win32 - Release - accurate math - dll" Irrlicht-gcc.cbp
|
||||
codeblocks --clean --target="Release64 - accurate math - dll" Irrlicht-gcc.cbp
|
||||
|
||||
codeblocks --build --target="Win32 - Release - accurate math - dll" Irrlicht-gcc.cbp
|
||||
codeblocks --build --target="Release64 - accurate math - dll" Irrlicht-gcc.cbp
|
||||
|
||||
set PATH=%TMP_PATH%
|
||||
|
||||
cd %DEV_BASE_DIR%
|
||||
|
||||
echo ------------------------
|
||||
echo Setup Complete
|
||||
39
RCBasic_Dev_Setup.sh
Normal file
39
RCBasic_Dev_Setup.sh
Normal file
@@ -0,0 +1,39 @@
|
||||
sudo apt update
|
||||
|
||||
sudo apt install git
|
||||
sudo apt install make
|
||||
sudo apt install cmake
|
||||
sudo apt install g++
|
||||
sudo apt install geany
|
||||
sudo apt install spice-webdavd spice-client-gtk
|
||||
sudo apt install codeblocks
|
||||
sudo apt install python3
|
||||
sudo apt install openjdk-21-jdk
|
||||
|
||||
cd ..
|
||||
|
||||
git clone --branch "v2.4.2" https://github.com/erincatto/box2d.git
|
||||
git clone --branch "3.21" https://github.com/bulletphysics/bullet3.git
|
||||
|
||||
sudo apt install libsdl2-dev
|
||||
sudo apt install libsdl2-image-dev
|
||||
sudo apt install libsdl2-mixer-dev
|
||||
sudo apt install libsdl2-net-dev
|
||||
|
||||
sudo apt install libogg-dev
|
||||
sudo apt install libvorbis-dev
|
||||
sudo apt install libtheora-dev
|
||||
|
||||
git clone git@github.com:n00b87/RCBASIC4.git
|
||||
git clone git@github.com:n00b87/an8-parser.git --branch irrlicht_loader
|
||||
git clone git@github.com:n00b87/IrrTheora.git
|
||||
git clone git@github.com:n00b87/RCBasic-Studio.git
|
||||
git clone git@github.com:n00b87/RCIrrlicht.git --branch sdl2_device
|
||||
git clone git@github.com:n00b87/RCIrrlicht.git RCIrrlicht_em --branch ogles2_sdl2
|
||||
git clone git@github.com:n00b87/irrBullet.git
|
||||
git clone git@github.com:n00b87/RCDocs.git
|
||||
|
||||
git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd emsdk
|
||||
./emsdk install 3.1.72
|
||||
./emsdk activate 3.1.72
|
||||
13
README.md
Normal file → Executable file
13
README.md
Normal file → Executable file
@@ -1,2 +1,15 @@
|
||||
# RCBASIC4
|
||||
Version 4 of the RCBasic Programming Language Compiler and Runtime
|
||||
|
||||
## Setup Build Environment
|
||||
|
||||
### On Windows
|
||||
1. Install the following software: Codeblocks, MinGW32, MinGW64, Git, and CMake
|
||||
2. Set MINGW32 and MINGW64 environment variables to the root of each tool
|
||||
3. Set CODEBLOCKS_DIR to Codeblocks root
|
||||
4. Run RCBasic_Dev_Setup.bat
|
||||
|
||||
### On Linux
|
||||
1. Run RCBasic_Dev_Setup.sh
|
||||
|
||||
NOTE: The linux setup script is still a work in progress.
|
||||
|
||||
48
build_vm_scripts/build_rcbasic_all.sh
Normal file
48
build_vm_scripts/build_rcbasic_all.sh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
BASEDIR=$(dirname 0)
|
||||
cd $BASEDIR
|
||||
|
||||
RCBASIC_BUILD_ERROR=2
|
||||
RCBASIC_RUNTIME_ERROR=2
|
||||
|
||||
export RCBASIC_BUILD_MAIN_DIR=/home/n00bc0de/Projects
|
||||
|
||||
export RCBASIC_BUILD_JOURNAL=build_journal.sh
|
||||
|
||||
#RCBASIC_BUILD
|
||||
if [ -e $RCBASIC_BUILD_JOURNAL ]
|
||||
then
|
||||
rm $RCBASIC_BUILD_JOURNAL
|
||||
fi
|
||||
|
||||
touch build_journal.sh
|
||||
chmod +x build_journal.sh
|
||||
|
||||
pushd $BASEDIR/RCBASIC4/rcbasic_build
|
||||
./build.sh
|
||||
popd
|
||||
|
||||
source $RCBASIC_BUILD_JOURNAL
|
||||
|
||||
echo "RCBASIC_BUILD STATUS = $RCBASIC_BUILD_ERROR"
|
||||
|
||||
|
||||
#RCBASIC_RUNTIME
|
||||
if [ $RCBASIC_BUILD_ERROR == 0 ]
|
||||
then
|
||||
|
||||
pushd $BASEDIR/RCBASIC4/rcbasic_runtime
|
||||
./build.sh
|
||||
popd
|
||||
|
||||
source $RCBASIC_BUILD_JOURNAL
|
||||
|
||||
echo "RCBASIC_RUNTIME STATUS = $RCBASIC_RUNTIME_ERROR"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
echo "rcbasic_build status=$RCBASIC_BUILD_ERROR"
|
||||
echo "rcbasic_RUNTIME status=$RCBASIC_RUNTIME_ERROR"
|
||||
25
build_vm_scripts/rcbasic_build_auto.sh
Normal file
25
build_vm_scripts/rcbasic_build_auto.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASEDIR=$(dirname 0)
|
||||
|
||||
echo "build journal path: $RCBASIC_BUILD_JOURNAL"
|
||||
|
||||
codeblocks --clean rcbasic_build.cbp
|
||||
codeblocks --target=Release --build rcbasic_build.cbp
|
||||
|
||||
|
||||
if [ ! -e $BASEDIR/bin/Release/rcbasic_build ]
|
||||
then
|
||||
|
||||
pushd $RCBASIC_BUILD_MAIN_DIR
|
||||
echo "export RCBASIC_BUILD_ERROR=1" >> $RCBASIC_BUILD_JOURNAL
|
||||
popd
|
||||
|
||||
else
|
||||
|
||||
pushd $RCBASIC_BUILD_MAIN_DIR
|
||||
echo "export RCBASIC_BUILD_ERROR=0" >> $RCBASIC_BUILD_JOURNAL
|
||||
popd
|
||||
|
||||
fi
|
||||
|
||||
25
build_vm_scripts/rcbasic_runtime_auto.sh
Normal file
25
build_vm_scripts/rcbasic_runtime_auto.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASEDIR=$(dirname 0)
|
||||
|
||||
|
||||
echo "build journal path: $RCBASIC_BUILD_JOURNAL"
|
||||
|
||||
codeblocks --clean rcbasic_runtime.cbp
|
||||
codeblocks --target=Release --build rcbasic_runtime.cbp
|
||||
|
||||
if [ ! -e $BASEDIR/bin/Release/rcbasic_runtime ]
|
||||
then
|
||||
|
||||
pushd $RCBASIC_BUILD_MAIN_DIR
|
||||
echo "export RCBASIC_RUNTIME_ERROR=1" >> "$RCBASIC_BUILD_JOURNAL"
|
||||
popd
|
||||
|
||||
else
|
||||
|
||||
pushd $RCBASIC_BUILD_MAIN_DIR
|
||||
echo "export RCBASIC_RUNTIME_ERROR=0" >> "$RCBASIC_BUILD_JOURNAL"
|
||||
popd
|
||||
|
||||
fi
|
||||
|
||||
18
doc/doc_files/abs.html
Normal file
18
doc/doc_files/abs.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Abs [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Abs(n) </h2></p>
|
||||
<p>
|
||||
Returns the absolute value of n
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/accelname.html
Normal file
18
doc/doc_files/accelname.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AccelName$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AccelName$(accel_num) </h2></p>
|
||||
<p>
|
||||
Returns the name of an accelerometer
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/acos.html
Normal file
18
doc/doc_files/acos.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Acos [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Acos(n) </h2></p>
|
||||
<p>
|
||||
Returns the Arcosine of n
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
34
doc/doc_files/activecanvas.html
Normal file
34
doc/doc_files/activecanvas.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActiveCanvas [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActiveCanvas() </h2></p>
|
||||
<p>
|
||||
Returns the canvas that drawing commands are currently applied to
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
c1 = OpenCanvas<b>(</b><span class="rc_number">640</span>, <span class="rc_number">480</span>, <span class="rc_number">0</span>, <span class="rc_number">0</span>, <span class="rc_number">640</span>, <span class="rc_number">480</span>, <span class="rc_number">0</span><b>)</b> <br>
|
||||
c2 = OpenCanvas<b>(</b><span class="rc_number">640</span>, <span class="rc_number">480</span>, <span class="rc_number">0</span>, <span class="rc_number">0</span>, <span class="rc_number">640</span>, <span class="rc_number">480</span>, <span class="rc_number">0</span><b>)</b> <br>
|
||||
<br>
|
||||
Canvas<b>(</b>c1<b>)</b> <br>
|
||||
<br>
|
||||
<span class="rc_keyword">If</span> ActiveCanvas<b>(</b><b>)</b> = c1 <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Active canvas is c1"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
<br>
|
||||
Canvas<b>(</b>c2<b>)</b> <br>
|
||||
<br>
|
||||
<span class="rc_keyword">If</span> ActiveCanvas<b>(</b><b>)</b> = c2 <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Active canvas is now c2"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
30
doc/doc_files/activefont.html
Normal file
30
doc/doc_files/activefont.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActiveFont [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActiveFont() </h2></p>
|
||||
<p>
|
||||
Returns the current font that will be used with DrawText
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
test_font = LoadFont<b>(</b><span class="rc_string">"test_font.ttf"</span>, <span class="rc_number">12</span><b>)</b> <br>
|
||||
SetFont<b>(</b>test_font<b>)</b> <br>
|
||||
<span class="rc_keyword">If</span> ActiveFont<b>(</b><b>)</b> = test_font <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Test Font is active"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
</code></p>
|
||||
<br><p>Related:
|
||||
<a href="loadfont.html">LoadFont</a>
|
||||
<a href="setfont.html">SetFont</a>
|
||||
<a href="drawtext.html">DrawText</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/actoranimationislooped.html
Normal file
23
doc/doc_files/actoranimationislooped.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorAnimationIsLooped [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function ActorAnimationIsLooped( actor ) </h2></p>
|
||||
<p>
|
||||
Returns true if an actors animation is set to looped.
|
||||
</p>
|
||||
<p>
|
||||
Note: Actor animation is set to looped with the LoopActorAnimation() function.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="loopactoranimation.html">LoopActorAnimation</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/actoranimationisplaying.html
Normal file
21
doc/doc_files/actoranimationisplaying.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorAnimationIsPlaying [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActorAnimationIsPlaying(actor) </h2></p>
|
||||
<p>
|
||||
Returns true if an actor is currently playing an animation
|
||||
</p>
|
||||
<p>
|
||||
Note: If the number of loops in the animation is set to -1 then this will always be true since it does not return false until it plays the last frame in the last loop
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/actorexists.html
Normal file
18
doc/doc_files/actorexists.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorExists [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActorExists( actor ) </h2></p>
|
||||
<p>
|
||||
Returns true if the id passed is a valid actor
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/actorisintransition.html
Normal file
22
doc/doc_files/actorisintransition.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorIsInTransition [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function ActorIsInTransition( actor ) </h2></p>
|
||||
<p>
|
||||
Returns true if actor is in a transition from its current frame to the frame set in the StartActorTransition() function
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="startactortransition.html">StartActorTransition</a>
|
||||
<a href="stopactortransition.html">StopActorTransition</a>
|
||||
<a href="getactortransitiontime.html">GetActorTransitionTime</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
29
doc/doc_files/actorissolid.html
Normal file
29
doc/doc_files/actorissolid.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorIsSolid [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActorIsSolid(actor) </h2></p>
|
||||
<p>
|
||||
Returns true or false depending on if physics and collision response applies to an actor.
|
||||
</p>
|
||||
<p>
|
||||
Note: Collision is still able to be checked on an actor but the actor will be like a ghost able to go through wall and other objects.
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
SetActorSolid<b>(</b>actor, <span class="rc_keyword">true</span><b>)</b> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Actor solid state: "</span>; ActorIsSolid<b>(</b>actor<b>)</b> <span class="rc_comment">'This will output 1 </span><br>
|
||||
SetActorSolid<b>(</b>actor, <span class="rc_keyword">false</span><b>)</b> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Actor solid state: "</span>; ActorIsSolid<b>(</b>actor<b>)</b> <span class="rc_comment">'This will output 0 </span><br>
|
||||
#/<span class="rc_keyword">end</span> <br>
|
||||
<br>
|
||||
#ref SetActorSolid <br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/actorisvisible.html
Normal file
27
doc/doc_files/actorisvisible.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActorIsVisible [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActorIsVisible( actor ) </h2></p>
|
||||
<p>
|
||||
Returns true if an actor is visible
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
SetActorVisible<b>(</b>actor, <span class="rc_keyword">true</span><b>)</b> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Actor solid state: "</span>; ActorIsVisible<b>(</b>actor<b>)</b> <span class="rc_comment">'Outputs 1 </span><br>
|
||||
SetActorSolid<b>(</b>actor, <span class="rc_keyword">false</span><b>)</b> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Actor solid state: "</span>; ActorIsSolid<b>(</b>actor<b>)</b> <span class="rc_comment">'Outputs 0 </span><br>
|
||||
</code></p>
|
||||
<br><p>Related:
|
||||
<a href="setactorvisible.html">SetActorVisible</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
24
doc/doc_files/addactorshadow.html
Normal file
24
doc/doc_files/addactorshadow.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddActorShadow [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub AddActorShadow( actor ) </h2></p>
|
||||
<p>
|
||||
Cast a shadow on an actor during lighting calculations
|
||||
</p>
|
||||
<p>
|
||||
Note: Also check the section on lights for more info
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="removeactorshadow.html">RemoveActorShadow</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/addcompositechild.html
Normal file
27
doc/doc_files/addcompositechild.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddCompositeChild [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AddCompositeChild(actor, child_actor, t_matrix) </h2></p>
|
||||
<p>
|
||||
Adds a child Actor to a composite actor.
|
||||
</p>
|
||||
<p>
|
||||
Returns the child index in the composite actor.
|
||||
</p>
|
||||
<p>
|
||||
NOTE: Reference the included Composite Demo for an example
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="createcompositeactor.html">CreateCompositeActor</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/addmatrix.html
Normal file
18
doc/doc_files/addmatrix.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AddMatrix(mA, mB, mC) </h2></p>
|
||||
<p>
|
||||
Adds matrix mA to matrix mB and stores the results in mC
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/addmeshbuffer.html
Normal file
21
doc/doc_files/addmeshbuffer.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddMeshBuffer [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub AddMeshBuffer( mesh, vertex_count, ByRef vertex_data, ByRef normal_data, ByRef uv_data, index_count, ByRef index_data ) </h2></p>
|
||||
<p>
|
||||
Sets the vertices, normals, and texture coordinates for a mesh
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="createmesh.html">CreateMesh</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/addprojectoreffectactor.html
Normal file
27
doc/doc_files/addprojectoreffectactor.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddProjectorEffectActor [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AddProjectorEffectActor(actor, tgt_actor) </h2></p>
|
||||
<p>
|
||||
Add an effect actor from a projector.
|
||||
</p>
|
||||
<p>
|
||||
Returns the index of the effect actor in the projector.
|
||||
</p>
|
||||
<p>
|
||||
Refer to the included Projector Demo for an example
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="removeprojectoreffectactor.html">RemoveProjectorEffectActor</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/addsceneskybox.html
Normal file
22
doc/doc_files/addsceneskybox.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddSceneSkyBox [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub AddSceneSkyBox( img_top, img_bottom, img_left, img_right, img_front, img_back) </h2></p>
|
||||
<p>
|
||||
Generates a skybox based on the provided images.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="addsceneskydome.html">AddSceneSkyDome</a>
|
||||
<a href="addsceneskydomeex.html">AddSceneSkyDomeEx</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/addsceneskydome.html
Normal file
21
doc/doc_files/addsceneskydome.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddSceneSkyDome [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub AddSceneSkyDome( img ) </h2></p>
|
||||
<p>
|
||||
Adds a sky dome to the scene
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="addsceneskydomeex.html">AddSceneSkyDomeEx</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
doc/doc_files/addsceneskydomeex.html
Normal file
42
doc/doc_files/addsceneskydomeex.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddSceneSkyDomeEx [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub AddSceneSkyDomeEx( img, horiRes, vertRes, txPercentage, spherePercentage, radius) </h2></p>
|
||||
<p>
|
||||
Adds a sky dome to the scene
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
img - The texture for the sky dome
|
||||
</li>
|
||||
<li>
|
||||
horiRes - Number of vertices of a horizontal layer of the sphere.
|
||||
</li>
|
||||
<li>
|
||||
vertRes - Number of vertices of a vertical layer of the sphere.
|
||||
</li>
|
||||
<li>
|
||||
txPercentage - How much of the height of the texture is used. Should be between 0 and 1.
|
||||
</li>
|
||||
<li>
|
||||
spherePercentage - How much of the sphere is drawn. Value should be between 0 and 2, where 1 is an exact half-sphere and 2 is a full sphere.
|
||||
</li>
|
||||
<li>
|
||||
radius - The Radius of the sphere
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="addsceneskybox.html">AddSceneSkyBox</a>
|
||||
<a href="addsceneskydome.html">AddSceneSkyDome</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/addspritechild.html
Normal file
21
doc/doc_files/addspritechild.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddSpriteChild [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AddSpriteChild(sprite, child_sprite, x, y) </h2></p>
|
||||
<p>
|
||||
Adds a sprite as a child to another sprite. Child sprite is offset by given position.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="removespritechild.html">RemoveSpriteChild</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/addvehiclewheel.html
Normal file
27
doc/doc_files/addvehiclewheel.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AddVehicleWheel [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AddVehicleWheel( actor, wheel_actor, is_front_wheel ) </h2></p>
|
||||
<p>
|
||||
Add a wheel to a vehicle actor
|
||||
</p>
|
||||
<p>
|
||||
is_front_wheel sets whether it should be considered a front wheel for physics and control
|
||||
</p>
|
||||
<p>
|
||||
NOTE: Once an actor is set as a wheel, the vehicle controls all transforms for the actor
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="createvehicleactor.html">CreateVehicleActor</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/adjointmatrix.html
Normal file
18
doc/doc_files/adjointmatrix.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AdjointMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AdjointMatrix(mA, mB) </h2></p>
|
||||
<p>
|
||||
Stores the adjoint matrix of mA in mB
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/andbit.html
Normal file
18
doc/doc_files/andbit.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AndBit [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AndBit(a,b) </h2></p>
|
||||
<p>
|
||||
Returns the bitwise AND operation of 2 numbers
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/android_getexternalstoragepath.html
Normal file
22
doc/doc_files/android_getexternalstoragepath.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Android_GetExternalStoragePath$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Android_GetExternalStoragePath$() </h2></p>
|
||||
<p>
|
||||
Returns the designated external storage path
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="android_getexternalstoragestate.html">Android_GetExternalStorageState</a>
|
||||
<a href="android_getinternalstoragepath.html">Android_GetInternalStoragePath$</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
doc/doc_files/android_getexternalstoragestate.html
Normal file
35
doc/doc_files/android_getexternalstoragestate.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Android_GetExternalStorageState [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Android_GetExternalStorageState() </h2></p>
|
||||
<p>
|
||||
Returns a bitmask of these values:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
ANDROID_EXTERNAL_STORAGE_READ
|
||||
</li>
|
||||
<li>
|
||||
ANDROID_EXTERNAL_STORAGE_WRITE
|
||||
</li>
|
||||
</ul>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">If</span> AndBit<b>(</b> Android_GetExternalStorageState<b>(</b><b>)</b>, ANDROID_EXTERNAL_STORAGE_READ <b>)</b> <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Can read from external storage"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
</code></p>
|
||||
<br><p>Related:
|
||||
<a href="android_getexternalstoragepath.html">Android_GetExternalStoragePath$</a>
|
||||
<a href="android_getinternalstoragepath.html">Android_GetInternalStoragePath$</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/android_getinternalstoragepath.html
Normal file
22
doc/doc_files/android_getinternalstoragepath.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Android_GetInternalStoragePath$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Android_GetInternalStoragePath$() </h2></p>
|
||||
<p>
|
||||
Returns the internal storage path
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="android_getexternalstoragestate.html">Android_GetExternalStorageState</a>
|
||||
<a href="android_getexternalstoragepath.html">Android_GetExternalStoragePath$</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/android_jni_message.html
Normal file
21
doc/doc_files/android_jni_message.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Android_JNI_Message$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Android_JNI_Message$(arg$) </h2></p>
|
||||
<p>
|
||||
Passes arg$ to the rcbasic_android_interface() method in the java code for your android app. The java method returns a string.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="runtime_utility_message.html">Runtime_Utility_Message$</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactorcentralforcelocal.html
Normal file
28
doc/doc_files/applyactorcentralforcelocal.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorCentralForceLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorCentralForceLocal( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies a force to the center of mass of an actor in local coordinate space. This force impacts the linear velocity of the object without affecting its rotation.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the force
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorcentralforceworld.html">ApplyActorCentralForceWorld</a>
|
||||
<a href="applyactorcentralimpulselocal.html">ApplyActorCentralImpulseLocal</a>
|
||||
<a href="applyactorcentralimpulseworld.html">ApplyActorCentralImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactorcentralforceworld.html
Normal file
28
doc/doc_files/applyactorcentralforceworld.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorCentralForceWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorCentralForceWorld( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies a force to the center of mass of an actor in world coordinate space. This force impacts the linear velocity of the object without affecting its rotation.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the force
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorcentralforcelocal.html">ApplyActorCentralForceLocal</a>
|
||||
<a href="applyactorcentralimpulselocal.html">ApplyActorCentralImpulseLocal</a>
|
||||
<a href="applyactorcentralimpulseworld.html">ApplyActorCentralImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactorcentralimpulselocal.html
Normal file
28
doc/doc_files/applyactorcentralimpulselocal.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorCentralImpulseLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorCentralImpulseLocal( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse directly to the center of mass of an actor. An impulse differs from a continuous force in that it applies an immediate, short-duration change to the velocity of the actor. It affects the linear velocity but does not generate rotational effects (since it's applied to the center of mass).
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the impulse
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorcentralforcelocal.html">ApplyActorCentralForceLocal</a>
|
||||
<a href="applyactorcentralforceworld.html">ApplyActorCentralForceWorld</a>
|
||||
<a href="applyactorcentralimpulseworld.html">ApplyActorCentralImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactorcentralimpulseworld.html
Normal file
28
doc/doc_files/applyactorcentralimpulseworld.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorCentralImpulseWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorCentralImpulseWorld( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse directly to the center of mass of an actor. An impulse differs from a continuous force in that it applies an immediate, short-duration change to the velocity of the actor. It affects the linear velocity but does not generate rotational effects (since it's applied to the center of mass).
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the impulse
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorcentralforcelocal.html">ApplyActorCentralForceLocal</a>
|
||||
<a href="applyactorcentralforceworld.html">ApplyActorCentralForceWorld</a>
|
||||
<a href="applyactorcentralimpulselocal.html">ApplyActorCentralImpulseLocal</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
39
doc/doc_files/applyactordamping.html
Normal file
39
doc/doc_files/applyactordamping.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorDamping [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorDamping( actor, timeStep) </h2></p>
|
||||
<p>
|
||||
Reduces the velocity of an actor over time, simulating the effect of friction or air resistance.
|
||||
</p>
|
||||
<p>
|
||||
This function applies the linear and angular damping values set with the SetActorDamping() function.
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
init_damping = <span class="rc_keyword">False</span> <br>
|
||||
SetActorDamping<b>(</b>actor, <span class="rc_number">0.1</span>, <span class="rc_number">0.5</span><b>)</b> <br>
|
||||
ApplyActorCentralImpulse<b>(</b>actor, <span class="rc_number">300</span>, <span class="rc_number">0</span>, <span class="rc_number">0</span><b>)</b> <br>
|
||||
<br>
|
||||
<span class="rc_keyword">While</span> <span class="rc_keyword">True</span> <br>
|
||||
<span class="rc_keyword">If</span> <span class="rc_keyword">Not</span> init_damping <span class="rc_keyword">Then</span> <br>
|
||||
ApplyActorDamping<b>(</b>actor, <span class="rc_number">5.0</span><b>)</b> <span class="rc_comment">'Will apply the damping effect for 5 seconds </span><br>
|
||||
init_damping = <span class="rc_keyword">True</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
Update<b>(</b><b>)</b> <br>
|
||||
<span class="rc_keyword">Wend</span> <br>
|
||||
</code></p>
|
||||
<br><p>Related:
|
||||
<a href="setactordamping.html">setActorDamping</a>
|
||||
<a href="getactorlineardamping.html">getActorLinearDamping</a>
|
||||
<a href="getactorangulardamping.html">getActorAngularDamping</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/applyactorforcelocal.html
Normal file
31
doc/doc_files/applyactorforcelocal.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorForceLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorForceLocal( actor, x, y, z, rel_x, rel_y, rel_z) </h2></p>
|
||||
<p>
|
||||
Applies a force to an actor at a specific point. Unlike ApplyActorCentralForce(local/world), which applies force only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the force
|
||||
</li>
|
||||
<li>
|
||||
rel_x, rel_y, rel_z - position to apply the force to relative to the center of mass
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorforceworld.html">ApplyActorForceWorld</a>
|
||||
<a href="applyactorcentralforcelocal.html">ApplyActorCentralForceLocal</a>
|
||||
<a href="applyactorcentralforceworld.html">ApplyActorCentralForceWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/applyactorforceworld.html
Normal file
31
doc/doc_files/applyactorforceworld.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorForceWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorForceWorld( actor, x, y, z, rel_x, rel_y, rel_z) </h2></p>
|
||||
<p>
|
||||
Applies a force to an actor at a specific point. Unlike ApplyActorCentralForce(local/world), which applies force only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the force
|
||||
</li>
|
||||
<li>
|
||||
rel_x, rel_y, rel_z - position to apply the force to relative to the center of mass
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorforcelocal.html">ApplyActorForceLocal</a>
|
||||
<a href="applyactorcentralforcelocal.html">ApplyActorCentralForceLocal</a>
|
||||
<a href="applyactorcentralforceworld.html">ApplyActorCentralForceWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/applyactorimpulselocal.html
Normal file
31
doc/doc_files/applyactorimpulselocal.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorImpulseLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorImpulseLocal( actor, x, y, z, rel_x, rel_y, rel_z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse to an actor at a specific point. Unlike ApplyActorCentralImpulse(local/world), which applies impulse only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the impulse
|
||||
</li>
|
||||
<li>
|
||||
rel_x, rel_y, rel_z - position to apply the force to relative to the center of mass
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorimpulseworld.html">ApplyActorImpulseWorld</a>
|
||||
<a href="applyactorforcelocal.html">ApplyActorForceLocal</a>
|
||||
<a href="applyactorforceworld.html">ApplyActorForceWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/applyactorimpulseworld.html
Normal file
31
doc/doc_files/applyactorimpulseworld.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorImpulseWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorImpulseWorld( actor, x, y, z, rel_x, rel_y, rel_z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse to an actor at a specific point. Unlike ApplyActorCentralImpulse(local/world), which applies impulse only at the center of mass (affecting linear velocity), this can generate both linear motion and rotation (torque), depending on where the force is applied relative to the center of mass.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x,y,z - direction of the impulse
|
||||
</li>
|
||||
<li>
|
||||
rel_x, rel_y, rel_z - position to apply the force to relative to the center of mass
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactorimpulselocal.html">ApplyActorImpulseLocal</a>
|
||||
<a href="applyactorforcelocal.html">ApplyActorForceLocal</a>
|
||||
<a href="applyactorforceworld.html">ApplyActorForceWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/applyactortorqueimpulselocal.html
Normal file
27
doc/doc_files/applyactortorqueimpulselocal.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorTorqueImpulseLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorTorqueImpulseLocal( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse that directly affects the angular velocity of an actor, causing it to rotate. This is similar to applying an impulse, but instead of changing the linear velocity (which applyActorCentralImpulse does), it alters the body's rotational motion (angular velocity) instantaneously.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x, y, z - Direction of rotation
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactortorque.html">ApplyActorTorque</a>
|
||||
<a href="applyactortorqueimpulseworld.html">ApplyActorTorqueImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
27
doc/doc_files/applyactortorqueimpulseworld.html
Normal file
27
doc/doc_files/applyactortorqueimpulseworld.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorTorqueImpulseWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorTorqueImpulseWorld( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies an impulse that directly affects the angular velocity of an actor, causing it to rotate. This is similar to applying an impulse, but instead of changing the linear velocity (which applyActorCentralImpulse does), it alters the body's rotational motion (angular velocity) instantaneously.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x, y, z - Direction of rotation
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactortorque.html">ApplyActorTorque</a>
|
||||
<a href="applyactortorqueimpulselocal.html">ApplyActorTorqueImpulseLocal</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactortorquelocal.html
Normal file
28
doc/doc_files/applyactortorquelocal.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorTorqueLocal [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorTorqueLocal( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies a continuous torque to an actor, causing it to accelerate its rotational motion over time. Unlike applyActorTorqueImpulse, which causes an immediate change in angular velocity, this applies a torque force gradually, leading to a continuous rotational effect, similar to applying a force to linear motion.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x, y, z - direction of rotation
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactortorqueworld.html">ApplyActorTorqueWorld</a>
|
||||
<a href="applyactortorqueimpulselocal.html">ApplyActorTorqueImpulseLocal</a>
|
||||
<a href="applyactortorqueimpulseworld.html">ApplyActorTorqueImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
doc/doc_files/applyactortorqueworld.html
Normal file
28
doc/doc_files/applyactortorqueworld.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyActorTorqueWorld [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyActorTorqueWorld( actor, x, y, z) </h2></p>
|
||||
<p>
|
||||
Applies a continuous torque to an actor, causing it to accelerate its rotational motion over time. Unlike applyActorTorqueImpulse, which causes an immediate change in angular velocity, this applies a torque force gradually, leading to a continuous rotational effect, similar to applying a force to linear motion.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
x, y, z - direction of rotation
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="applyactortorquelocal.html">ApplyActorTorqueLocal</a>
|
||||
<a href="applyactortorqueimpulselocal.html">ApplyActorTorqueImpulseLocal</a>
|
||||
<a href="applyactortorqueimpulseworld.html">ApplyActorTorqueImpulseWorld</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/applyspriteangularimpulse.html
Normal file
21
doc/doc_files/applyspriteangularimpulse.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplySpriteAngularImpulse [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplySpriteAngularImpulse( spr_id, impulse) </h2></p>
|
||||
<p>
|
||||
Apply an angular impulse to a body. This method affects the body’s rotational motion, changing its angular velocity based on the impulse applied.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="applyspritelinearimpulse.html">ApplySpriteLinearImpulse</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/applyspritecentralforce.html
Normal file
18
doc/doc_files/applyspritecentralforce.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplySpriteCentralForce [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplySpriteCentralForce( spr_id, x, y) </h2></p>
|
||||
<p>
|
||||
Apply a continuous force to a body at its center of mass, regardless of the body's current orientation. This method affects the body's linear motion and is useful for simulating forces like gravity, wind, or any other directional force.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/applyspriteforce.html
Normal file
18
doc/doc_files/applyspriteforce.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplySpriteForce [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplySpriteForce( spr_id, fX, fY, pX, pY) </h2></p>
|
||||
<p>
|
||||
Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. This wakes up the body.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/applyspritelinearimpulse.html
Normal file
21
doc/doc_files/applyspritelinearimpulse.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplySpriteLinearImpulse [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplySpriteLinearImpulse( spr_id, iX, iY, pX, pY) </h2></p>
|
||||
<p>
|
||||
Apply an instantaneous linear impulse to a body. This method directly affects the body’s linear motion by changing its velocity based on the impulse applied.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="applyspriteangularimpulse.html">ApplySpriteAngularImpulse</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/applyspritetorque.html
Normal file
18
doc/doc_files/applyspritetorque.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplySpriteTorque [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplySpriteTorque( spr_id, torque) </h2></p>
|
||||
<p>
|
||||
Apply a torque. This affects the angular velocity without affecting the linear velocity of the center of mass.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/applywheelengineforce.html
Normal file
21
doc/doc_files/applywheelengineforce.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ApplyWheelEngineForce [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ApplyWheelEngineForce( actor, wheel, force ) </h2></p>
|
||||
<p>
|
||||
Apply force to a wheel.
|
||||
</p>
|
||||
<p>
|
||||
NOTE: For movement, you can apply force to a vehicle the same way you apply it to any actor. Refer to the actor physics section for documentation on that.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
26
doc/doc_files/arraycopy.html
Normal file
26
doc/doc_files/arraycopy.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ArrayCopy [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ArrayCopy(ByRef src, ByRef dst) </h2></p>
|
||||
<p>
|
||||
Copies the contents of src array to dst array
|
||||
</p>
|
||||
<p>
|
||||
Note: This function is a special case in that it can take any type for src or dst
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="arraydim.html">ArrayDim</a>
|
||||
<a href="arraysize.html">ArraySize</a>
|
||||
<a href="arrayfill.html">ArrayFill</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/arraydim.html
Normal file
23
doc/doc_files/arraydim.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ArrayDim [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ArrayDim(ByRef id) </h2></p>
|
||||
<p>
|
||||
Returns the number of dimensions in an array
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="arraycopy.html">ArrayCopy</a>
|
||||
<a href="arrayfill.html">ArrayFill</a>
|
||||
<a href="arraysize.html">ArraySize</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/arrayfill.html
Normal file
23
doc/doc_files/arrayfill.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ArrayFill [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ArrayFill(ByRef src, fdata) </h2></p>
|
||||
<p>
|
||||
Fills all the elements in an array with the value in fdata
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="arraycopy.html">ArrayCopy</a>
|
||||
<a href="arraydim.html">ArrayDim</a>
|
||||
<a href="arraysize.html">ArraySize</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
62
doc/doc_files/arrays.html
Normal file
62
doc/doc_files/arrays.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>RCBasic Arrays [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>ARRAYS </h2></p>
|
||||
<p>
|
||||
In complex programs there is often a need to be able to store large amounts of data. It would be unreasonable to have to create a variable for each piece of data we may need to store. This is where an array can come in handy. Arrays are simply ways of using one variable to store multiple different values. You can create arrays of numbers or strings. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Dim</span> A<b>[</b><span class="rc_number">5</span><b>]</b> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
The above example creates an array of numbers called A. A can store five numbers which are retrieved using A[0] to A[4]. Notice that A[4] is the last element in the array and not A[5]. That is because the first index in the array is 0 and the array only stores 5 numbers. To set the values in this array you could do the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
A<b>[</b><span class="rc_number">0</span><b>]</b> = <span class="rc_number">3</span> <br>
|
||||
A<b>[</b><span class="rc_number">1</span><b>]</b> = <span class="rc_number">2</span> <br>
|
||||
A<b>[</b><span class="rc_number">2</span><b>]</b> = <span class="rc_number">7</span> <br>
|
||||
A<b>[</b><span class="rc_number">3</span><b>]</b> = <span class="rc_number">1</span> <br>
|
||||
A<b>[</b><span class="rc_number">4</span><b>]</b> = <span class="rc_number">0</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
You would access and array just like you would a variable. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
X = A<b>[</b><span class="rc_number">0</span><b>]</b> + A<b>[</b><span class="rc_number">3</span><b>]</b> <span class="rc_comment">'( Based on the above example the variable X would be set to 4. ) </span><br>
|
||||
</code></p>
|
||||
<p>
|
||||
To make a string variable you would do the same thing you do to make a number variable except you would use the $ just like you would use to make a normal string variable. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Dim</span> B$<b>[</b><span class="rc_number">3</span><b>]</b> <br>
|
||||
<br>
|
||||
B<b>[</b><span class="rc_number">0</span><b>]</b> = <span class="rc_string">"ABC"</span> <br>
|
||||
B<b>[</b><span class="rc_number">1</span><b>]</b> = <span class="rc_string">"DEF"</span> <br>
|
||||
B<b>[</b><span class="rc_number">2</span><b>]</b> = <span class="rc_string">"I KNOW THE ALPHABET"</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
Arrays can have up to 3 dimensions. Adding more dimensions to an array can make organizing data in the array easier depending on the situation. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Dim</span> X<b>[</b><span class="rc_number">2</span>, <span class="rc_number">3</span><b>]</b> <br>
|
||||
<span class="rc_keyword">Dim</span> Y<b>[</b><span class="rc_number">3</span>, <span class="rc_number">4</span>, <span class="rc_number">5</span><b>]</b> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
The above example creates a 2 dimensional array called X which has 2 indices in its first dimension. Its second dimension has 3 indices. This means that each of the 2 indices in the first dimension can store 3 different values. So X can store a total of 6 different values. The second line creates a 3 dimensional array called Y. Y has 3 indices in its first dimension. Each of those 3 indices has 4 indices in its 2nd dimension. Each of the 4 indices has 5 values it can store. This means that Y can store a total of 60 different values. Look at the following for an example on how to work with these multi-dimensional arrays:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
X<b>[</b><span class="rc_number">0</span>, <span class="rc_number">2</span><b>]</b> = <span class="rc_number">5</span> <span class="rc_comment">'(This line sets the 3rd value in the first index to 5. Remember that the first index is always 0 so the 3rd index will be 2.) </span><br>
|
||||
<br>
|
||||
Y<b>[</b><span class="rc_number">1</span>, <span class="rc_number">2</span>, <span class="rc_number">3</span><b>]</b> = <span class="rc_number">6</span> <span class="rc_comment">'(This line sets the 4th value of the 3rd index in the 2nd index in the array to 6. That was a mouth full. ) </span><br>
|
||||
</code></p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/arraysize.html
Normal file
23
doc/doc_files/arraysize.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ArraySize [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ArraySize(ByRef id, array_dim) </h2></p>
|
||||
<p>
|
||||
Returns the number of elements in the given dimension of an array
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="arraydim.html">ArrayDim</a>
|
||||
<a href="arraycopy.html">ArrayCopy</a>
|
||||
<a href="arrayfill.html">ArrayFill</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/asc.html
Normal file
18
doc/doc_files/asc.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Asc [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Asc(c$) </h2></p>
|
||||
<p>
|
||||
Returns the ASCII value of a character.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/asin.html
Normal file
18
doc/doc_files/asin.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Asin [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Asin(n) </h2></p>
|
||||
<p>
|
||||
Returns the ArcSine of a number.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/atan.html
Normal file
18
doc/doc_files/atan.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Atan [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Atan(n) </h2></p>
|
||||
<p>
|
||||
Returns the ArcTangent of a number.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/atan2.html
Normal file
18
doc/doc_files/atan2.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ATan2 [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ATan2(y, x) </h2></p>
|
||||
<p>
|
||||
Returns the ArcTangent of x and y
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/augmentmatrix.html
Normal file
21
doc/doc_files/augmentmatrix.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>AugmentMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function AugmentMatrix(mA, mB, mC) </h2></p>
|
||||
<p>
|
||||
Appends the columns of matrix mB onto matrix mA and stores the result in mC.
|
||||
</p>
|
||||
<p>
|
||||
NOTE: Must mA and mB must be the same number of rows.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/bin.html
Normal file
18
doc/doc_files/bin.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Bin$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Bin$(n) </h2></p>
|
||||
<p>
|
||||
Returns the binary representation of a number.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/box3d.html
Normal file
18
doc/doc_files/box3d.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Box3D [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub Box3D(min_x, min_y, min_z, max_x, max_y, max_z) </h2></p>
|
||||
<p>
|
||||
Draws a box in 3D space
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
15
doc/doc_files/bufferfromimage.html
Normal file
15
doc/doc_files/bufferfromimage.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>BufferFromImage [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub BufferFromImage(slot, ByRef buffer) </h2></p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
24
doc/doc_files/bufferfrommatrix.html
Normal file
24
doc/doc_files/bufferfrommatrix.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>BufferFromMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub BufferFromMatrix(ByRef buffer, mA) </h2></p>
|
||||
<p>
|
||||
Saves the matrix mA in an array
|
||||
</p>
|
||||
<p>
|
||||
NOTE: buffer must have the same number of dimensions as the desired matrix for the structure to remain intact.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="matrixfrombuffer.html">MatrixFromBuffer</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/bufferfromstring.html
Normal file
21
doc/doc_files/bufferfromstring.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>BufferFromString [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function BufferFromString(s$, ByRef buffer) </h2></p>
|
||||
<p>
|
||||
Stores the byte value of a string into a number buffer
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="stringfrombuffer.html">StringFromBuffer$</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
doc/doc_files/calculatecompositeprincipaltransform.html
Normal file
35
doc/doc_files/calculatecompositeprincipaltransform.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CalculateCompositePrincipalTransform [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub CalculateCompositePrincipalTransform(actor, ByRef masses, principal_matrix, ByRef x, ByRef y, ByRef z) </h2></p>
|
||||
<p>
|
||||
Calculates the center of mass and principal intertia axes for a composite actor.
|
||||
</p>
|
||||
<p>
|
||||
Parameters:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
masses - An array with masses for each child in the compound shape
|
||||
</li>
|
||||
<li>
|
||||
principal_matrix - This will be set to principal axis transform
|
||||
</li>
|
||||
<li>
|
||||
(x, y, z) - Inertia
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="createcompositeactor.html">CreateCompositeActor</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/canvas.html
Normal file
21
doc/doc_files/canvas.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Canvas [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub Canvas(c_num) </h2></p>
|
||||
<p>
|
||||
Sets the active canvas for drawing commands to use
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="activecanvas.html">ActiveCanvas</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/canvasclip.html
Normal file
21
doc/doc_files/canvasclip.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CanvasClip [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CanvasClip(x, y, w, h) </h2></p>
|
||||
<p>
|
||||
Returns an image id with a selected portion of the active drawing canvas saved
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="windowclip.html">WindowClip</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/canvasisvisible.html
Normal file
21
doc/doc_files/canvasisvisible.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CanvasIsVisible [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CanvasIsVisible(c_num) </h2></p>
|
||||
<p>
|
||||
Returns true if a canvas is shown in the Window
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="setcanvasvisible.html">SetCanvasVisible</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
24
doc/doc_files/canvasz.html
Normal file
24
doc/doc_files/canvasz.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CanvasZ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CanvasZ(c_num) </h2></p>
|
||||
<p>
|
||||
Returns the Canvas Z Order.
|
||||
</p>
|
||||
<p>
|
||||
Note: Canvases with a higher Z order are drawn first and those with lower values will be drawn on top
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="setcanvasz.html">SetCanvasZ</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/castray2d.html
Normal file
31
doc/doc_files/castray2d.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CastRay2D [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CastRay2D( from_x, from_y, to_x, to_y ) </h2></p>
|
||||
<p>
|
||||
Cast a ray and get the closest hit on the ray
|
||||
</p>
|
||||
<p>
|
||||
Returns 1 if there is a hit and 0 if not
|
||||
</p>
|
||||
<p>
|
||||
NOTE: GetRayHit2D is used to read each hit
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="getrayhit3d.html">GetRayHit3D</a>
|
||||
<a href="castray3d.html">CastRay3D</a>
|
||||
<a href="castray3d_all.html">CastRay3D_All</a>
|
||||
<a href="castray2d_all.html">CastRay2D_All</a>
|
||||
<a href="getrayhit2d.html">GetRayHit2D</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/castray2d_all.html
Normal file
31
doc/doc_files/castray2d_all.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CastRay2D_All [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CastRay2D_All( from_x, from_y, to_x, to_y ) </h2></p>
|
||||
<p>
|
||||
Cast a ray and gets all hits on the ray
|
||||
</p>
|
||||
<p>
|
||||
Returns the number of hits from the ray cast
|
||||
</p>
|
||||
<p>
|
||||
NOTE: GetRayHit2D is used to read each hit
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="getrayhit3d.html">GetRayHit3D</a>
|
||||
<a href="castray3d.html">CastRay3D</a>
|
||||
<a href="castray3d_all.html">CastRay3D_All</a>
|
||||
<a href="castray2d.html">CastRay2D</a>
|
||||
<a href="getrayhit2d.html">GetRayHit2D</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/castray3d.html
Normal file
31
doc/doc_files/castray3d.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CastRay3D [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CastRay3D( from_x, from_y, from_z, to_x, to_y, to_z ) </h2></p>
|
||||
<p>
|
||||
Cast a ray and get the closest hit on the ray
|
||||
</p>
|
||||
<p>
|
||||
Returns 1 if there is a hit and 0 if not
|
||||
</p>
|
||||
<p>
|
||||
NOTE: GetRayHit3D is used to read each hit
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="getrayhit3d.html">GetRayHit3D</a>
|
||||
<a href="castray3d_all.html">CastRay3D_All</a>
|
||||
<a href="castray2d.html">CastRay2D</a>
|
||||
<a href="castray2d_all.html">CastRay2D_All</a>
|
||||
<a href="getrayhit2d.html">GetRayHit2D</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
doc/doc_files/castray3d_all.html
Normal file
31
doc/doc_files/castray3d_all.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CastRay3D_All [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CastRay3D_All( from_x, from_y, from_z, to_x, to_y, to_z ) </h2></p>
|
||||
<p>
|
||||
Cast a ray and gets all hits on the ray
|
||||
</p>
|
||||
<p>
|
||||
Returns the number of hits from the ray cast
|
||||
</p>
|
||||
<p>
|
||||
NOTE: GetRayHit3D is used to read each hit
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="getrayhit3d.html">GetRayHit3D</a>
|
||||
<a href="castray3d.html">CastRay3D</a>
|
||||
<a href="castray2d.html">CastRay2D</a>
|
||||
<a href="castray2d_all.html">CastRay2D_All</a>
|
||||
<a href="getrayhit2d.html">GetRayHit2D</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/changedir.html
Normal file
18
doc/doc_files/changedir.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ChangeDir [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ChangeDir(p$) </h2></p>
|
||||
<p>
|
||||
Sets the working directory that the directory commands use
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/channelispaused.html
Normal file
21
doc/doc_files/channelispaused.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ChannelIsPaused [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ChannelIsPaused(channel) </h2></p>
|
||||
<p>
|
||||
Returns true if an audio channel is currently paused
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="pausesound.html">PauseSound</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/channelisplaying.html
Normal file
23
doc/doc_files/channelisplaying.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ChannelIsPlaying [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ChannelIsPlaying(channel) </h2></p>
|
||||
<p>
|
||||
Returns true if an audio channel is playing
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="channelispaused.html">ChannelIsPaused</a>
|
||||
<a href="playsound.html">PlaySound</a>
|
||||
<a href="playsoundtimed.html">PlaySoundTimed</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/checksockets.html
Normal file
21
doc/doc_files/checksockets.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CheckSockets [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CheckSockets(timeout_ms) </h2></p>
|
||||
<p>
|
||||
Checks all connected sockets for activity. If timeout_ms is greater than 0 than it will wait that many milliseconds. If less than 0 it will wait for over 49 days (hint: there is no reason what so ever to set this less than 0).
|
||||
</p>
|
||||
<p>
|
||||
Returns the number of sockets that have activity (ie. a connection was made or data was sent)
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/chr.html
Normal file
18
doc/doc_files/chr.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Chr$ [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function Chr$(n) </h2></p>
|
||||
<p>
|
||||
Returns the character with the matching ASCII value n.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/cint32.html
Normal file
18
doc/doc_files/cint32.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CInt32 [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CInt32(i) </h2></p>
|
||||
<p>
|
||||
Returns a 32-bit signed integer.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/cint64.html
Normal file
18
doc/doc_files/cint64.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CInt64 [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CInt64(i) </h2></p>
|
||||
<p>
|
||||
Returns a 64-bit signed integer.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/circle.html
Normal file
18
doc/doc_files/circle.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Circle [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub Circle(x,y,radius) </h2></p>
|
||||
<p>
|
||||
Draws a circle on the current canvas.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/circlefill.html
Normal file
18
doc/doc_files/circlefill.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CircleFill [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub CircleFill(x,y,radius) </h2></p>
|
||||
<p>
|
||||
Draws a filled circle on the current canvas.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
32
doc/doc_files/clearactorforces.html
Normal file
32
doc/doc_files/clearactorforces.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearActorForces [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearActorForces( actor) </h2></p>
|
||||
<p>
|
||||
Resets or clears all the forces and torques that have been applied to a rigid body in the current simulation step. This ensures that any forces, including linear forces and torques, do not accumulate from one simulation step to the next.
|
||||
</p>
|
||||
<p>
|
||||
<b>Notes:</b>
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<b>Resets Forces:</b> It removes all linear forces (like those applied by applyActorForce or applyActorCentralForce) and torques (like those applied by applyActorTorque).
|
||||
</li>
|
||||
<li>
|
||||
<b>Does Not Affect Velocity:</b> It clears only the applied forces and torques, but the current velocity (linear and angular) of the actor remains unchanged.
|
||||
</li>
|
||||
<li>
|
||||
<b>Typically Used in Each Simulation Step:</b> Used to reset forces after each step, so that only new forces applied in the next step will affect the body.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/clearcanvas.html
Normal file
21
doc/doc_files/clearcanvas.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearCanvas [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearCanvas() </h2></p>
|
||||
<p>
|
||||
Clears the active drawing canvas
|
||||
</p>
|
||||
<p>
|
||||
NOTE: This is only for drawing canvases (ie. Those opened with OpenCanvas())
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/clearmatrix.html
Normal file
18
doc/doc_files/clearmatrix.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearMatrix(mA) </h2></p>
|
||||
<p>
|
||||
Sets all elements in a matrix to zero
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/clearmatrixcolumns.html
Normal file
22
doc/doc_files/clearmatrixcolumns.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearMatrixColumns [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ClearMatrixColumns(mA, c, num_cols) </h2></p>
|
||||
<p>
|
||||
Sets all elements in the matrix columns specified to zero.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="clearmatrix.html">ClearMatrix</a>
|
||||
<a href="clearmatrixrows.html">ClearMatrixRows</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
doc/doc_files/clearmatrixrows.html
Normal file
22
doc/doc_files/clearmatrixrows.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearMatrixRows [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ClearMatrixRows(mA, r, num_rows) </h2></p>
|
||||
<p>
|
||||
Sets all elements in the matrix rows specified to zero.
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="clearmatrix.html">ClearMatrix</a>
|
||||
<a href="clearmatrixcolumns.html">ClearMatrixColumns</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/clearmousezone.html
Normal file
18
doc/doc_files/clearmousezone.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearMouseZone [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearMouseZone() </h2></p>
|
||||
<p>
|
||||
Removes the previously set mouse zone from the window
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/clearposteffect.html
Normal file
18
doc/doc_files/clearposteffect.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearPostEffect [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearPostEffect( c_num ) </h2></p>
|
||||
<p>
|
||||
Removes the current post effect from the canvas.
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
15
doc/doc_files/clearscene.html
Normal file
15
doc/doc_files/clearscene.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearScene [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearScene() </h2></p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/clearstack_n.html
Normal file
21
doc/doc_files/clearstack_n.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearStack_N [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearStack_N( num_stack ) </h2></p>
|
||||
<p>
|
||||
Removes all elements from the stack
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="clearstack_s.html">ClearStack_S</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/clearstack_s.html
Normal file
21
doc/doc_files/clearstack_s.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClearStack_S [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClearStack_S( str_stack ) </h2></p>
|
||||
<p>
|
||||
Removes all elements from the stack
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="clearstack_n.html">ClearStack_N</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
doc/doc_files/clipmatrix.html
Normal file
18
doc/doc_files/clipmatrix.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ClipMatrix [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub ClipMatrix(mA, r, c, num_rows, num_cols, mB) </h2></p>
|
||||
<p>
|
||||
Copies the specified portion of matrix mA into matrix mB
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
24
doc/doc_files/clonecanvas.html
Normal file
24
doc/doc_files/clonecanvas.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CloneCanvas [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function CloneCanvas(c_num, mode) </h2></p>
|
||||
<p>
|
||||
Returns a clone of a canvas. Clone canvases are mirrors of the original canvas so when you draw to one it will also be on the other. This is useful for a splitscreen 2d game.
|
||||
</p>
|
||||
<p>
|
||||
Mode is a canvas render mode like the one passed to OpenCanvas()
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="opencanvas.html">OpenCanvas</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/closecanvas.html
Normal file
21
doc/doc_files/closecanvas.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CloseCanvas [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub CloseCanvas(c_num) </h2></p>
|
||||
<p>
|
||||
Closes a canvas
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="opencanvas.html">OpenCanvas</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/closefile.html
Normal file
21
doc/doc_files/closefile.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CloseFile [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub CloseFile( stream ) </h2></p>
|
||||
<p>
|
||||
Closes a file
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="openfile.html">OpenFile</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
doc/doc_files/closewindow.html
Normal file
21
doc/doc_files/closewindow.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>CloseWindow [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Sub CloseWindow( ) </h2></p>
|
||||
<p>
|
||||
Closes the graphics window
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="openwindow.html">OpenWindow</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user