I am currently in the process of porting game code from PC to flash, and it was done in C. There are many extern variables and functions, and they are all spanned across multiple files.
Is there an easy way to keep the filenames as it is (just replacing .C with .as), but putting them all into a single class called Externals?
If I put all these code into a single Externals.as, its going to be very large, and hard to maintain from a programmer's point of view. I would like to know if it can be split into the below
Externals1.as
Externals2.as
and still be able to be called from other locations as Externals::Function(...)
Assuming the class is called Externals.