if anyone knows anything about the q3 source, its going to be a lot of help to me, if not, read on anyway. Im trying to enable the loadconfig and saveconfig menus.
I am getting this error from the compile ;
Code:
debug-x86-Linux-2.3/Q3/q3_ui/q3_ui/ui_loadconfig.o(.text+0x574): In function `UI_LoadConfigMenu':
debug-x86-Linux-2.3/Q3/q3_ui/q3_ui/ui_loadconfig.c:238: multiple definition of `UI_LoadConfigMenu'
debug-x86-Linux-2.3/Q3/q3_ui/q3_ui/ui_loadconfig.o(.text+0x574):debug-x86-Linux-2.3/Q3/q3_ui/q3_ui/ui_loadconfig.c:238: first defined here
if you look closely, its the same word !! the only way it could be redefined if it was in a loop of some sort....
the code is as follows :
Code:
void UI_LoadConfig_Cache( void ) {
trap_R_RegisterShaderNoMip( ART_BACK0 );
trap_R_RegisterShaderNoMip( ART_BACK1 );
trap_R_RegisterShaderNoMip( ART_FIGHT0 );
trap_R_RegisterShaderNoMip( ART_FIGHT1 );
trap_R_RegisterShaderNoMip( ART_FRAMEL );
trap_R_RegisterShaderNoMip( ART_FRAMER );
trap_R_RegisterShaderNoMip( ART_ARROWS );
trap_R_RegisterShaderNoMip( ART_ARROWLEFT );
trap_R_RegisterShaderNoMip( ART_ARROWRIGHT );
}
im not defineing a fuction either...
If its unclear, please tell me. Many thanks.