Game Development Community

Does "duse_file_redirect" Bug Anyone Else?

by Demolishun · in Torque Game Engine · 07/04/2006 (2:10 pm) · 2 replies

Does "DUSE_FILE_REDIRECT" Bug Anyone Else?
Everytime I download the latest of Torque is always remove this option from the UNIX make file. I understand what it is for, but it bugs me. I usually catch it in time before I have generated any content, but sometimes I end up having to move a bunch of files back into my development directory. Would anyone else object to making the default in the make file this?:
#CFLAGS.GENERAL    = -DUSE_FILE_REDIRECT -I/usr/X11R6/include/ -MD -march=i586 \
#		    'freetype-config --cflags' -mcpu=i686 -ffast-math -pipe 
CFLAGS.GENERAL    = -I/usr/X11R6/include/ -MD -march=i586 \
		    'freetype-config --cflags' -mcpu=i686 -ffast-math -pipe

The original would be there, but you could just uncomment it if you want it.

About the author

I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67


#1
07/04/2006 (3:36 pm)
I don't like it either, but I've fought against the temptation to remove it as that can cause trouble for installations in multiuser environments.

I just use the -nohomedir option when I startup up torque to get more or less the same result as removing USE_FILE_REDIRECT.
#2
07/06/2006 (9:11 pm)
Maybe a better way would be to make a way to alter the behavior in script on startup. That way I could just change my script files to get it to work the way I want, when I want.