fixed font only returning 0 for id
This commit is contained in:
@@ -4447,7 +4447,7 @@ int main(int argc, char * argv[])
|
||||
std::cin >> debug_opt;
|
||||
if(debug_opt.compare("a")==0)
|
||||
{
|
||||
rc_intern_dirChange("/home/n00b/Downloads/Tile Scrolling");
|
||||
rc_intern_dirChange("/home/n00b/Programs/RCBasic_v400_Linux64/examples/Spinning Axis/");
|
||||
//rc_intern_dirChange("");
|
||||
rc_filename = "main.cbc";
|
||||
}
|
||||
|
||||
@@ -1800,7 +1800,7 @@ int rc_loadFont(std::string fnt_file, int font_size)
|
||||
int font_id = -1;
|
||||
for(int i = 0; i < rc_font.size(); i++)
|
||||
{
|
||||
if(rc_font[i]!=NULL)
|
||||
if(!rc_font[i].active)
|
||||
{
|
||||
font_id = i;
|
||||
break;
|
||||
@@ -1821,11 +1821,12 @@ int rc_loadFont(std::string fnt_file, int font_size)
|
||||
{
|
||||
font_id = rc_font.size();
|
||||
|
||||
rc_font_obj* f = new rc_font_obj();
|
||||
rc_font_obj f;
|
||||
|
||||
f->face = Face;
|
||||
f->font = dfont;
|
||||
f->font_size = font_size;
|
||||
f.face = Face;
|
||||
f.font = dfont;
|
||||
f.font_size = font_size;
|
||||
f.active = true;
|
||||
|
||||
rc_font.push_back(f);
|
||||
|
||||
@@ -1833,21 +1834,25 @@ int rc_loadFont(std::string fnt_file, int font_size)
|
||||
}
|
||||
else
|
||||
{
|
||||
rc_font[font_id]->face = Face;
|
||||
rc_font[font_id]->font = dfont;
|
||||
rc_font[font_id]->font_size = font_size;
|
||||
rc_font[font_id].face = Face;
|
||||
rc_font[font_id].font = dfont;
|
||||
rc_font[font_id].font_size = font_size;
|
||||
rc_font[font_id].active = true;
|
||||
}
|
||||
|
||||
//std::cout << "id: " << font_id << std::endl;
|
||||
|
||||
return font_id;
|
||||
}
|
||||
|
||||
bool rc_fontExists(int font_id)
|
||||
{
|
||||
if(font_id >= 0 && font_id < rc_font.size())
|
||||
{
|
||||
if(rc_font[font_id]->font != NULL)
|
||||
if(font_id < 0 || font_id >= rc_font.size())
|
||||
return false;
|
||||
|
||||
if(rc_font[font_id].active)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1855,11 +1860,12 @@ void rc_deleteFont(int font_id)
|
||||
{
|
||||
if(rc_fontExists(font_id))
|
||||
{
|
||||
delete rc_font[font_id]->font;
|
||||
delete rc_font[font_id]->face;
|
||||
rc_font[font_id]->font = NULL;
|
||||
rc_font[font_id]->face = NULL;
|
||||
rc_font[font_id]->font_size = 0;
|
||||
delete rc_font[font_id].font;
|
||||
delete rc_font[font_id].face;
|
||||
rc_font[font_id].font = NULL;
|
||||
rc_font[font_id].face = NULL;
|
||||
rc_font[font_id].font_size = 0;
|
||||
rc_font[font_id].active = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1874,11 +1880,11 @@ void rc_drawText(std::string txt, int x, int y)
|
||||
if(rc_fontExists(rc_active_font))
|
||||
{
|
||||
std::wstring text = utf8_to_wstring(txt);
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font]->font->getDimension(text.c_str());
|
||||
irr::core::rect<s32> tpos(x, y, text_dim.Width, rc_font[rc_active_font]->font_size);
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font].font->getDimension(text.c_str());
|
||||
irr::core::rect<s32> tpos(x, y, text_dim.Width, rc_font[rc_active_font].font_size);
|
||||
|
||||
//std::cout << "Start drawing text: " << tpos.getWidth() << ", " << tpos.getHeight() << std::endl;
|
||||
rc_font[rc_active_font]->font->draw(text.c_str(), tpos, rc_active_color);
|
||||
rc_font[rc_active_font].font->draw(text.c_str(), tpos, rc_active_color);
|
||||
//std::cout << "------------------" << std::endl;
|
||||
}
|
||||
}
|
||||
@@ -1888,7 +1894,7 @@ Uint32 rc_getTextWidth(const std::string txt)
|
||||
if(rc_fontExists(rc_active_font))
|
||||
{
|
||||
std::wstring text = utf8_to_wstring(txt);
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font]->font->getDimension(text.c_str());
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font].font->getDimension(text.c_str());
|
||||
return text_dim.Width;
|
||||
}
|
||||
return 0;
|
||||
@@ -1901,7 +1907,7 @@ Uint32 rc_getTextHeight(const std::string txt)
|
||||
std::wstring text = utf8_to_wstring(txt);
|
||||
//std::wstring wide = converter.from_bytes(txt);
|
||||
//irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font]->getDimension(wide.c_str());
|
||||
return rc_font[rc_active_font]->font_size;
|
||||
return rc_font[rc_active_font].font_size;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -1911,9 +1917,9 @@ void rc_getTextSize(const std::string txt, double* w, double* h)
|
||||
if(rc_fontExists(rc_active_font))
|
||||
{
|
||||
std::wstring text = utf8_to_wstring(txt);
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font]->font->getDimension(text.c_str());
|
||||
irr::core::dimension2d<irr::u32> text_dim = rc_font[rc_active_font].font->getDimension(text.c_str());
|
||||
*w = text_dim.Width;
|
||||
*h = rc_font[rc_active_font]->font_size;
|
||||
*h = rc_font[rc_active_font].font_size;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -420,9 +420,10 @@ struct rc_font_obj
|
||||
CGUITTFace* face;
|
||||
CGUIFreetypeFont* font;
|
||||
int font_size;
|
||||
bool active;
|
||||
};
|
||||
|
||||
irr::core::array<rc_font_obj*> rc_font;
|
||||
irr::core::array<rc_font_obj> rc_font;
|
||||
|
||||
int rc_active_font = -1;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# depslib dependency file v1.0
|
||||
1734311733 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/main.cpp
|
||||
1736029334 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/main.cpp
|
||||
"rc_os_defines.h"
|
||||
<emscripten.h>
|
||||
<sys/param.h>
|
||||
@@ -33,12 +33,12 @@
|
||||
<irrtheora.h>
|
||||
"rc_func130_cases.h"
|
||||
|
||||
1734311733 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_os_defines.h
|
||||
1736029373 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_os_defines.h
|
||||
<TargetConditionals.h>
|
||||
|
||||
1734309571 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_defines.h
|
||||
1734919451 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_defines.h
|
||||
|
||||
1730291453 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_stdlib.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_stdlib.h
|
||||
"rc_os_defines.h"
|
||||
<sys/param.h>
|
||||
<iostream>
|
||||
@@ -109,9 +109,9 @@
|
||||
"theoraplay.h"
|
||||
<set>
|
||||
|
||||
1694287822 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay.h
|
||||
|
||||
1729346052 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_matrix.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_matrix.h
|
||||
<iostream>
|
||||
<vector>
|
||||
<bits/stdc++.h>
|
||||
@@ -127,11 +127,11 @@
|
||||
"rc_matrix.h"
|
||||
"rc_defines.h"
|
||||
|
||||
1728937556 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_geometry.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_geometry.h
|
||||
"rc_matrix.h"
|
||||
<cmath>
|
||||
|
||||
1728937556 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay.c
|
||||
1734372058 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay.c
|
||||
"rc_os_defines.h"
|
||||
<stdio.h>
|
||||
<stdlib.h>
|
||||
@@ -148,13 +148,13 @@
|
||||
"theoraplay_cvtrgb.h"
|
||||
"theoraplay_cvtrgb.h"
|
||||
|
||||
1694287822 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay_cvtrgb.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/theoraplay_cvtrgb.h
|
||||
|
||||
1727545973 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/gui_freetype_font.cpp
|
||||
1734372058 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/gui_freetype_font.cpp
|
||||
"gui_freetype_font.h"
|
||||
<cassert>
|
||||
|
||||
1728937556 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/gui_freetype_font.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/gui_freetype_font.h
|
||||
"rc_os_defines.h"
|
||||
"ft2build.h"
|
||||
"freetype/freetype.h"
|
||||
@@ -1242,13 +1242,13 @@
|
||||
"matrix4.h"
|
||||
"IVideoDriver.h"
|
||||
|
||||
1727545973 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/RealisticWater.cpp
|
||||
1734372058 source:/home/n00b/Projects/RCBASIC4/rcbasic_runtime/RealisticWater.cpp
|
||||
"RealisticWater.h"
|
||||
|
||||
1727545973 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/RealisticWater.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/RealisticWater.h
|
||||
<irrlicht.h>
|
||||
|
||||
1734312754 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx.h
|
||||
1736029811 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx.h
|
||||
"SDL.h"
|
||||
<SDL2/SDL.h>
|
||||
<irrlicht.h>
|
||||
@@ -1272,7 +1272,7 @@
|
||||
"rc_joints.h"
|
||||
<irrtheora.h>
|
||||
|
||||
1734313369 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx_core.h
|
||||
1736028804 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx_core.h
|
||||
"SDL.h"
|
||||
"btBulletDynamicsCommon.h"
|
||||
"BulletSoftBody/btSoftRigidDynamicsWorld.h"
|
||||
@@ -1298,15 +1298,15 @@
|
||||
"an8parser.h"
|
||||
<an8parser.h>
|
||||
|
||||
1727545973 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_utf8.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_utf8.h
|
||||
<string>
|
||||
<algorithm>
|
||||
|
||||
1727545973 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/camera.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/camera.h
|
||||
<irrlicht.h>
|
||||
<iostream>
|
||||
|
||||
1730168962 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_sprite2D.h
|
||||
1734900354 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_sprite2D.h
|
||||
<irrlicht.h>
|
||||
<box2d/box2d.h>
|
||||
|
||||
@@ -2193,7 +2193,7 @@
|
||||
|
||||
1686539631 /home/n00b/Projects/irrTheora/theoraplay.h
|
||||
|
||||
1733594068 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx3D.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_gfx3D.h
|
||||
"SDL.h"
|
||||
<btBulletDynamicsCommon.h>
|
||||
<BulletCollision/CollisionDispatch/btGhostObject.h>
|
||||
@@ -2222,7 +2222,7 @@
|
||||
"rc_scene.h"
|
||||
"rc_camera.h"
|
||||
|
||||
1727545973 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_audio.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_audio.h
|
||||
<vector>
|
||||
"rc_os_defines.h"
|
||||
<android/log.h>
|
||||
@@ -2243,7 +2243,7 @@
|
||||
<SDL2/SDL.h>
|
||||
<SDL2/SDL_mixer.h>
|
||||
|
||||
1734293958 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_net.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_net.h
|
||||
"rc_os_defines.h"
|
||||
<android/log.h>
|
||||
"SDL.h"
|
||||
@@ -2271,11 +2271,11 @@
|
||||
<unistd.h>
|
||||
<assert.h>
|
||||
|
||||
1727545973 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_video.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_video.h
|
||||
"rc_gfx_core.h"
|
||||
<irrtheora.h>
|
||||
|
||||
1734309571 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_func130_cases.h
|
||||
1734919451 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_func130_cases.h
|
||||
|
||||
1724469097 source:/home/n00b/Projects/irrBullet/src/irrBullet.cpp
|
||||
"irrBullet.h"
|
||||
@@ -2479,9 +2479,9 @@
|
||||
1608686973 /usr/include/bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h
|
||||
"BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h"
|
||||
|
||||
1728937556 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_test.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_test.h
|
||||
|
||||
1728751611 /home/n00b/Projects/an8-parser/an8parser.h
|
||||
1735440217 /home/n00b/Projects/an8-parser/an8parser.h
|
||||
<iostream>
|
||||
<fstream>
|
||||
<vector>
|
||||
@@ -2489,8 +2489,9 @@
|
||||
<string>
|
||||
<irrlicht.h>
|
||||
<cmath>
|
||||
<cstdint>
|
||||
|
||||
1733892344 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_spritelib.h
|
||||
1734919451 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_spritelib.h
|
||||
"SDL.h"
|
||||
<SDL2/SDL.h>
|
||||
"rc_sprite2D.h"
|
||||
@@ -2498,50 +2499,58 @@
|
||||
"rc_sprite_physics.h"
|
||||
"rc_joints.h"
|
||||
|
||||
1733959298 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_tilelib.h
|
||||
1734658467 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_tilelib.h
|
||||
"SDL.h"
|
||||
<SDL2/SDL.h>
|
||||
"rc_tilemap.h"
|
||||
"rc_gfx_core.h"
|
||||
|
||||
1729551233 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_tilemap.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_tilemap.h
|
||||
<irrlicht.h>
|
||||
<vector>
|
||||
|
||||
1734205862 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_sprite_physics.h
|
||||
1734900354 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_sprite_physics.h
|
||||
"rc_sprite2D.h"
|
||||
|
||||
1730291453 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_joints.h
|
||||
1734910148 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_joints.h
|
||||
"SDL.h"
|
||||
<SDL2/SDL.h>
|
||||
"rc_sprite2D.h"
|
||||
"rc_gfx_core.h"
|
||||
|
||||
1734206925 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_physics3D_base.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_physics3D_base.h
|
||||
"rc_gfx_core.h"
|
||||
|
||||
1734138955 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_base_actor.h
|
||||
1734900354 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_base_actor.h
|
||||
|
||||
1731710840 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_material.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_material.h
|
||||
|
||||
1734119354 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_animation.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_animation.h
|
||||
|
||||
1730291453 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_physics.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_actor_physics.h
|
||||
|
||||
1731249956 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_constraint.h
|
||||
1734372966 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_constraint.h
|
||||
|
||||
1730291453 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_mesh.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_mesh.h
|
||||
|
||||
1730291453 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_particles.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_particles.h
|
||||
|
||||
1733777902 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_scene.h
|
||||
1734719003 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_scene.h
|
||||
"rc_gfx_core.h"
|
||||
|
||||
1731249956 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_camera.h
|
||||
1734372058 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_camera.h
|
||||
|
||||
1734313936 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_windowclose.h
|
||||
1734900354 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_windowclose.h
|
||||
|
||||
1608686973 /usr/include/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
|
||||
"BulletCollision/CollisionShapes/btTriangleCallback.h"
|
||||
"LinearMath/btTransform.h"
|
||||
|
||||
1734710710 /home/n00b/Projects/RCBASIC4/rcbasic_runtime/rc_tri_points.h
|
||||
<iostream>
|
||||
<string>
|
||||
<math.h>
|
||||
<cmath>
|
||||
<vector>
|
||||
<algorithm>
|
||||
|
||||
|
||||
@@ -1,60 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Release" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="rc_test.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="115" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_scene.h" open="0" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1764" topLine="39" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_joints.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="310" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_tilemap.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="243" topLine="26" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_net.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="3769" topLine="186" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="../../irrBullet/src/irrBulletCollisionObject.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="42757" topLine="1597" />
|
||||
<Cursor1 position="0" topLine="384" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_defines.h" open="1" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_os_defines.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="190390" topLine="579" />
|
||||
<Cursor1 position="93" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_actor_physics.h" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_tilelib.h" open="0" top="0" tabpos="22" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBullet.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="7" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_sprite_physics.h" open="1" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="15889" topLine="674" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_actor_material.h" open="1" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="14123" topLine="531" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_video.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="169" topLine="6" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_tilemap.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="243" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_actor_animation.h" open="1" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="4598" topLine="117" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx3D.h" open="1" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="565" topLine="0" />
|
||||
<Cursor1 position="3693" topLine="136" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_geometry.h" open="0" top="0" tabpos="20" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
@@ -62,52 +47,37 @@
|
||||
<Cursor1 position="20919" topLine="652" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx3D.h" open="0" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="565" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBullet.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="7" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_actor_physics.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_audio.h" open="0" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="6531" topLine="311" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletWorld.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="2750" topLine="75" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_spritelib.h" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_spritelib.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="8684" topLine="355" />
|
||||
<Cursor1 position="20148" topLine="829" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletRigidBody.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="2046" topLine="42" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx_core.h" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="22069" topLine="736" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_tilelib.h" open="1" top="0" tabpos="22" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="4726" topLine="182" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="133512" topLine="4432" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="RealisticWater.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="7671" topLine="204" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_os_defines.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="223" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="camera.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="261" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_matrix.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_matrix.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="116" topLine="804" />
|
||||
</Cursor>
|
||||
@@ -117,74 +87,109 @@
|
||||
<Cursor1 position="183" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="gui_freetype_font.cpp" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="792" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_windowclose.h" open="1" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="17028" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_audio.h" open="0" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="6531" topLine="311" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_func130_cases.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="38120" topLine="1031" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletcommon.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="924" topLine="6" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_base_actor.h" open="1" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="6579" topLine="168" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_scene.h" open="1" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1890" topLine="48" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_stdlib.h" open="1" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_stdlib.h" open="0" top="0" tabpos="18" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="24491" topLine="1083" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_sprite2D.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1444" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_physics3D_base.h" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="3283" topLine="66" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_media.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="17752" topLine="630" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletCollisionObject.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_sprite2D.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="384" />
|
||||
<Cursor1 position="1019" topLine="31" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_constraint.h" open="1" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_base_actor.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="303" topLine="255" />
|
||||
<Cursor1 position="9458" topLine="288" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_test.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_actor_animation.h" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="115" topLine="0" />
|
||||
<Cursor1 position="4598" topLine="117" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="64435" topLine="2541" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_func130_cases.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="54913" topLine="1444" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="133467" topLine="4436" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletcommon.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="924" topLine="6" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="gui_freetype_font.cpp" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="792" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="RealisticWater.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="7671" topLine="204" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="camera.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="261" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_defines.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="190390" topLine="2847" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_actor_material.h" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="14123" topLine="456" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_video.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="169" topLine="6" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_physics3D_base.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="3283" topLine="66" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="../../irrBullet/src/irrBulletRigidBody.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="2046" topLine="42" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_windowclose.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="22498" topLine="611" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_constraint.h" open="0" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="8391" topLine="231" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_sprite_physics.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="13990" topLine="547" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_gfx_core.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="22838" topLine="755" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
|
||||
Reference in New Issue
Block a user