Tremulous Forum
Mods => Modding Center => Topic started by: doomagent13 on August 15, 2007, 12:10:15 am
-
Does anyone know where I can find the bodies of the various Vector* methods? In particular, I would like the "VectorMA" method body.
-
q_math.c q_shared.h q_shared.c
-
Please learn to use grep or your IDE's "go to definition" function.
By default (#if 1), q_shared.h defines C macros near line 408. Otherwise it declares (through #define-style typedefs) real functions, that reside in q_math.c, below line 1090.
EDIT: too slow.
tehOen: q_shared.c?
-
Thanks. My OS's search function was naming practically every source file for tremulous.
-
Thanks. My OS's search function was naming practically every source file for tremulous.
Please learn to use grep or your IDE's "go to definition" function.
if you are using windows and don't have a proper IDE, use atleast something like Notepad++ (http://sourceforge.net/projects/notepad-plus/) or Textpad (http://textpad.com/), that feature search in files. I am sure other OS's have free good editors too.
-
SciTe all the way :D
works both on linux and win, linux version has gtk interface and windows version has win32 interface. so it looks quite native on both OS
-
EMAC*gets punched out by a vim user*
-
I have a MAC...
I use XCode to code in, and terminal to compile.
-
I have a MAC...
I use XCode to code in, and terminal to compile.
the vim thing should have been a hint that an S was cut off...(EMACS meant Editor MACroS long before you guys stole it for the name a computer (in fact it has existed longer than apple as a company))
-
Yay editor wars!
-
Yay editor wars!
GNU EMACS vs Apple Emacs, this is clearly an OS war and not an editor war :D
-
terminal to compile.
If I may go further off topic for a moment, how do you use Terminal to compile code from Xcode?
-
gcc and make. gcc takes a little getting used to, but make is really as simple as that.
cd /tremulous/source/folder/
make
-
I just use XCode to edit code in because it color-codes things.
For example, comments are red, strings/characters are green, constant numbers are blue, and preprocessor commands are brown.