Page 1 of 1

dev resources

PostPosted: Sat Apr 27, 2013 20:51
by brainiacbob
hello everyone, i am somewhat of a minetest newbie but would love to dive into coding in c++ help improve the game and even make some mods. can anyone direct me to a guide on minetest c++ coding, also a list of resources would be great. i already know about the minetest dev wiki. thnks.

PostPosted: Sat Apr 27, 2013 21:20
by PilzAdam
If you are unable to find the resources how to code c++ yourself, then you are most likely unable to code at all.

Also, you dont need to know c++ at all to write mods. Read doc/lua-api.txt (in your Minetest folder) to learn how to write mods.

PostPosted: Sat Apr 27, 2013 23:03
by CryAngel
as some ppl say, there no better documentation than the source code ;)

PostPosted: Sun Apr 28, 2013 04:56
by Likwid H-Craft
CryAngel wrote:as some ppl say, there no better documentation than the source code ;)


True Beans.

Anyways I sometimes don't get, why is there a ".h" format for C++? I am a C++ guy it just I don't get the h that all.

PostPosted: Sun Apr 28, 2013 06:17
by sfan5
Likwid H-Craft wrote:
CryAngel wrote:as some ppl say, there no better documentation than the source code ;)


True Beans.

Anyways I sometimes don't get, why is there a ".h" format for C++? I am a C++ guy it just I don't get the h that all.

There is a .h format for C/C++ because it is REALLY bad to "#include <someotherfile.cpp>"

PostPosted: Sun Apr 28, 2013 06:30
by sfan5
brainiacbob wrote:hello everyone, i am somewhat of a minetest newbie but would love to dive into coding in c++ help improve the game and even make some mods. can anyone direct me to a guide on minetest c++ coding, also a list of resources would be great. i already know about the minetest dev wiki. thnks.

You don't need C++ to write mods, see minetest/doc/lua_api.txt.
You can find a Lua modding tutorial here: minetest-modding-tutorial/mtmoddeven.txt
If you want to do things with C++ check out this

PostPosted: Sun Apr 28, 2013 09:13
by xavier108
brainiacbob wrote:hello everyone, i am somewhat of a minetest newbie but would love to dive into coding in c++ help improve the game and even make some mods. can anyone direct me to a guide on minetest c++ coding, also a list of resources would be great. i already know about the minetest dev wiki. thnks.

Like the other said you don't need to learn C++ to make a mod.Go to minetest/doc/lua_api.txt to learn how.
If you still want to learn the basic's of C++ then go here: http://www.cplusplus.com/doc/tutorial/

PostPosted: Sun Apr 28, 2013 12:28
by Likwid H-Craft
sfan5 wrote:
Likwid H-Craft wrote:
CryAngel wrote:as some ppl say, there no better documentation than the source code ;)


True Beans.

Anyways I sometimes don't get, why is there a ".h" format for C++? I am a C++ guy it just I don't get the h that all.

There is a .h format for C/C++ because it is REALLY bad to "#include <someotherfile.cpp>"


Oh that why, they different thanks sfan5.

But I guess it bad use it, since it will Crash the whole system, on us.

Btw "D" programming language is for and can you use it for Minetest and is it like C?

PostPosted: Sun Apr 28, 2013 13:10
by CryAngel
Likwid H-Craft wrote:Btw "D" programming language is for and can you use it for Minetest and is it like C?

OpenMW history clearly show: D is just wasting time, at least for now.