Discussion around programming R'n'D, its source code and its tools.
Moderators: Flumminator, Zomis
-
Zomis
- Posts: 1502
- Joined: Mon Jun 21, 2004 1:27 pm
- Location: Sweden
-
Contact:
Post
by Zomis »
Code: Select all
static void LoadLevel_InitElements(struct LevelInfo *level, char *filename)
Why the "char *filename" parameter? It doesn't seem to be used... and I can't see any reason for it to be used either...
-
HerzAusGold
- Posts: 366
- Joined: Sun Sep 25, 2005 4:41 pm
- Location: Germany
Post
by HerzAusGold »
This is for loging in verbose mode or usefull for debugging.
And the answer is ... 42 !
-
Holger
- Site Admin
- Posts: 4278
- Joined: Fri Jun 18, 2004 4:13 pm
- Location: Germany
-
Contact:
Post
by Holger »
> This is for loging in verbose mode or usefull for debugging.
Yup, exactly. In previous (test) versions, I used this for debugging output.
Not used at the moment, that's right.