Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FreeSpaceFreak on January 20, 2011, 12:32:38 pm

Title: Fixed/flexible number of credit images?
Post by: FreeSpaceFreak on January 20, 2011, 12:32:38 pm
Retail has 46 credit images (00 to 45); is this a fixed number, or will FSO loop through everything in \interface called 2_crim## ?
Title: Re: Fixed/flexible number of credit images?
Post by: Colonol Dekker on January 20, 2011, 12:55:54 pm
Retail has 46 credit images (00 to 45); is this a fixed number, or will FSO loop through everything in \interface called 2_crim## ?


Excellent question. I am intrigued.
Title: Re: Fixed/flexible number of credit images?
Post by: Droid803 on January 20, 2011, 08:49:53 pm
Indeed, this piques my interest.
Title: Re: Fixed/flexible number of credit images?
Post by: FUBAR-BDHR on January 20, 2011, 08:55:36 pm
A very quick check seems to indicate 46 is the max but no minumum
Title: Re: Fixed/flexible number of credit images?
Post by: Echelon9 on January 22, 2011, 12:34:19 am
Yup, 46 is a current hardcode limit. Very odd code, as this should be made dynamic and utilise an STL type (i.e. probably SCP_list)
Title: Re: Fixed/flexible number of credit images?
Post by: FUBAR-BDHR on January 22, 2011, 12:57:27 am
It's part of the interface code.  Did you expect it to be rational?
Title: Re: Fixed/flexible number of credit images?
Post by: Echelon9 on January 22, 2011, 01:19:31 am
Nope.
Title: Re: Fixed/flexible number of credit images?
Post by: FreeSpaceFreak on January 22, 2011, 01:39:22 am
Okay, thanks :)