﻿Xtreme3D v2 for C. Fork of Xtreme3D v2 for C++ by Timur Gafarov.
About Xtreme3D library/engine you can read here: http://xtreme3d.narod.ru

How to build it:
1. Download it and extract somewhere to.
2. Download and install MinGW32 (if you have not it) and add path to its "bin/" folder in PATH variable of OS.
3. Open MSYS and jump to directory where you extract Xtreme3D v2 for C.
4. Commands:
	For delete object files and config.h:
		make clean
	For build C-language binding of Xtreme3D.dll only:
		make
	For build C-language binding of Xtreme3D.dll and some addidional functions
		make INC_WINDOW=yes
	Or
		make INC_TIMER=yes
	Or
		make INC_WINDOW=yes INC_TIMER=yes
	For rebuild enter "make clean" and then one of build commands above
There is 2 build options: INC_WINDOW=yes and INC_TIMER=yes. First adds window creation functions to C-language binding library. Second adds timer functions. Originally Xtreme3D.dll does not contain this functions and if you wish, you can use external libraries of window creation and timer functions. 

How to use it:
1. Build it.
2. Copy folders "include" and "lib" to your project.
3. Use "xtreme3d.h" only for including all library functions. Use "libxtreme3d_2c.a" for link to your program
4. Copy "Xtreme3D.dll" and "ode.dll" to folder where are executable file of your game.
Enjoy.

You can see samples in the folder "samples". For build samples type:
	cd samples
	make

Copying:
#. Source code of binding and samples "3rdperson", "template", "terrain" released to public domain (read "UNLICENSE" file). Some parts of code copypasted from Xtreme3D v2 for C++ and samples for it (I cheked it in source texts).
#. Samples forked from samples for Game Maker:
	#. Source code of samples "water", "bumpmapping_and_blur", "volumetric_spotlight", "offscreen_rendering", "octree_1", "octree_2", "antialiasing", "parallax_mapping", "raycasting", "smd_skeleton_basic", "smd_skeleton_trinity", "thorfx", "primitives", "fps_demo" are without license. Original samples made by Xception.
#. Open Dynamics Engine ("ode.dll") under modified 3-clause BSD license (read "doc/LICENSE-BSD.TXT").
#. License agreement for "Xtreme3D.dll" you can found in file "doc/LICENSE-XTREME3D_DLL.TXT".
#. Media files for samples placed in "samples/media" are without license. Authors - Timur Gafarov and some unknown peoples.
#. Media files for samples placed in "samples/xception" are without license. I do not know who are autors.

Also you can found original Xtreme3D v2 for C++ here: http://xtreme3d.narod.ru/x3d_cpp.htm
Original samples for Game Maker: http://xtreme3d.narod.ru/examples.htm

I think I will not make complete doc. If you need ask me for doc.
I am sorry for my bad English.
