str_for_entfile

Posted By: sheefo

str_for_entfile - 08/12/07 16:24

Is it possible to make "entity->type" or "str_for_entfile" return the name of the MDL file in it's real case, or will this conflict with some internal functions? I guess if someone needs it in uppercase they can just use "str_upr(str)".

Example of what I mean:

NOW:
Code:

printf(entity->type); //=> SUPPLY_TRUCK.MDL


FUTURE:
Code:

printf(entity->type); //=> Supply_Truck.mdl


Posted By: Joey

Re: str_for_entfile - 08/12/07 16:35

windows isn't case-sensitive when it comes to filenames.
Posted By: jcl

Re: str_for_entfile - 08/13/07 07:17

The real case of the name is not stored.
Posted By: sheefo

Re: str_for_entfile - 08/13/07 21:58

So when you use a function to read a filename, it does not get it's real case? That's not fair
© 2023 lite-C Forums