Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

# of tilesets/items - limitation?


Ganjika
 Share

Recommended Posts

My apologies if this has already been asked  :P, but is there a limitation on the number of tileset files or item graphics I have?  I notice i can't get anything over the default number to work in either. Thanks for reading!
Link to comment
Share on other sites

@Ace:

> If I do recall Correctly the number of items you can have maximum is 255 (unless you change it in the source) and I think you can have a unlimited number of tilesets. If not that is also 255.

._., have you actually read the source, more specifically, the single 21 lines of code that handle counting graphics?

* * *

Well, logically speaking, the NumGRAPHICFILEHERE (Such as NumTileset, NumItems, etc) are a long value, which in VB6, the maximum is ~~4,294,967,295~~ 2,147,483,648

So, you're limited to ~~4,294,967,295~~ 2,147,483,648 for each folder of graphics. Not that you'd want to use that much, considering it loads all graphics at the start. The loading times would be horrendous, and I imagine attempting to keep that much graphics in memory would not go down well on any persons computer. =P.

Also note, that I've not considered the DDS_*** arrays, and such. This is just on the basis of the array that counts said graphics.

However, you say "I notice i can't get anything over the default number to work in either.", and I really doubt you're attempting to use that much graphics, so I'm probably missing the point. If so, mind being a bit more specific?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...