Add Code::Blocks files
This commit is contained in:
parent
171c890aa4
commit
1965b97c19
58
XtreemNodes.cbp
Normal file
58
XtreemNodes.cbp
Normal file
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="XtreemNodes" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/XtreemNodes" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
<Add directory="include" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/XtreemNodes" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add directory="include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lfreeglut" />
|
||||
<Add option="-lglew32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lopengl32" />
|
||||
</Linker>
|
||||
<Unit filename="Base.cpp" />
|
||||
<Unit filename="include/Base.h" />
|
||||
<Unit filename="include/FastNoiseLite.h" />
|
||||
<Unit filename="include/Logger.h" />
|
||||
<Unit filename="include/MapBlock.h" />
|
||||
<Unit filename="include/NodeRenderer.h" />
|
||||
<Unit filename="include/Nodes.h" />
|
||||
<Unit filename="include/TextureHandler.h" />
|
||||
<Unit filename="include/Utilities.h" />
|
||||
<Unit filename="include/stb_image.h" />
|
||||
<Unit filename="main.cpp" />
|
||||
<Extensions>
|
||||
<lib_finder disable_auto="1" />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
55
XtreemNodes.depend
Normal file
55
XtreemNodes.depend
Normal file
@ -0,0 +1,55 @@
|
||||
# depslib dependency file v1.0
|
||||
1667085219 source:c:\development\xtreemminer\main.cpp
|
||||
<stdlib.h>
|
||||
<GL/glut.h>
|
||||
"Utilities.h"
|
||||
"MapBlock.h"
|
||||
"Base.h"
|
||||
"NodeRenderer.h"
|
||||
"TextureHandler.h"
|
||||
<math.h>
|
||||
<cstdio>
|
||||
"FastNoiseLite.h"
|
||||
<random>
|
||||
|
||||
1667067326 c:\development\xtreemminer\include\noderenderer.h
|
||||
"Base.h"
|
||||
"MapBlock.h"
|
||||
<GL/glut.h>
|
||||
|
||||
1667014762 c:\development\xtreemminer\include\mapblock.h
|
||||
"Base.h"
|
||||
<math.h>
|
||||
|
||||
1667069440 c:\development\xtreemminer\include\base.h
|
||||
|
||||
1666531672 source:c:\development\xtreemminer\base.cpp
|
||||
"MapBlock.h"
|
||||
"Base.h"
|
||||
|
||||
1667088753 c:\development\xtreemminer\include\texturehandler.h
|
||||
"stb_image.h"
|
||||
"Base.h"
|
||||
|
||||
1666448933 c:\development\xtreemminer\include\stb_image.h
|
||||
"stb_image.h"
|
||||
<stdio.h>
|
||||
<stdlib.h>
|
||||
<stdarg.h>
|
||||
<stddef.h>
|
||||
<stdlib.h>
|
||||
<string.h>
|
||||
<limits.h>
|
||||
<math.h>
|
||||
<stdio.h>
|
||||
<assert.h>
|
||||
<stdint.h>
|
||||
<emmintrin.h>
|
||||
<intrin.h>
|
||||
<arm_neon.h>
|
||||
|
||||
1667069440 c:\development\xtreemminer\include\utilities.h
|
||||
|
||||
1667079584 c:\development\xtreemminer\include\fastnoiselite.h
|
||||
<cmath>
|
||||
|
55
XtreemNodes.layout
Normal file
55
XtreemNodes.layout
Normal file
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="include\MapBlock.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="187" topLine="15" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\FastNoiseLite.h" open="1" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="100664" topLine="2262" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\Base.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="197" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\Logger.h" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="97" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\Nodes.h" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="264" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="4287" topLine="178" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\stb_image.h" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="8925" topLine="160" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\TextureHandler.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="442" topLine="15" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="include\NodeRenderer.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="550" topLine="9" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="Base.cpp" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="44" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
2
main.cpp
2
main.cpp
@ -197,8 +197,6 @@ int main(int argc, char **argv)
|
||||
for(int y = 0; y < 48 * abs(fnl.GetNoise((float)x + (16 * bx), (float)z + (16 * bz))) + 2; y++)
|
||||
{
|
||||
blockManager.mapBlocks[bx][bz].addNode(1, 0, x, y, z);
|
||||
//printf("\nx: %i, z: %i", x + (16 * bx), z + (16 * bz));
|
||||
//printf("\nGet node at: %i\n Is air: %i", nodeManager.getNodeAt(x, y + 1, z) == 0, nodeManager.isAir(x, y + 1, z));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user