Author Topic: List+Question  (Read 5118 times)

Thorn

  • Guest
List+Question
« 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......

vcxzet

  • Guest
List+Question
« Reply #1 on: December 28, 2006, 09:34:52 pm »
backporting patch

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
List+Question
« Reply #2 on: December 28, 2006, 11:18:01 pm »
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.

Thorn

  • Guest
List+Question
« Reply #3 on: December 29, 2006, 05:22:31 pm »
Whats the equivelent of inv.h?