Tremulous Forum
Mods => Modding Center => Topic started by: Thorn on December 28, 2006, 09:13:27 pm
-
Would it be possible to have a list of all the source files and what they actually do?
Also, I'm using vcxzets guide to testing/compiling which means its not loadable from Tremulous like balance and tremx. Its more a standalone......
-
backporting patch
-
Mods are only interested in these folders:
- src/game -- This is your game.qvm server-side code. The files starting with bg_ are also used by the cgame but its not a problem if cgame and game are compiled with different bg_ code as long as they are communication-compatible. (For example, implementing devolution requires modifying bg_misc.c but you dont need a new cgame necessarily.)
- src/cgame -- This is your cgame.qvm client-side code.
- src/ui and ui/ -- These contain dialogs and things for the main menu etc.
The files are roughly labeled by function (i.e. g_weapon.c is from game and is about weapons), but typically you are chasing code all of the place. It is helpful to use a find-in-files utility (grep).
Don't bother with the other code unless you are making your own client or tremded.
-
Whats the equivelent of inv.h?