Home » MODDING HQ 1.13 » v1.13 Coding Talk » Strategic Map load in source code
Re: Strategic Map load in source code[message #339059 is a reply to message #339050] Wed, 21 January 2015 09:57 Go to previous messageGo to previous message
CVB is currently offline CVB

 
Messages:129
Registered:September 2014
Location: Berlin
Flugente wrote on Wed, 21 January 2015 00:23
For starters, all sector IDs are stored in an UINT8 - which doesn't take numbers higher than 255, thus does not allow maps bigger than 16x16.


Does this mean that we may have 256 maps max (including basement/mine maps), or are those handled outside this 256 sector id limit?
In other words, may we use hitherto unused ocean sectors and the south-east country map corner for additional maps or do they have to be left empty to accomodate the mines and cellars in the UINT8?



Peace is a purely theoretical state of affairs whose existence we deduce because there have been intervals between wars.
J. Pournelle

Report message to a moderator

Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JA2 Roguelike mod
Next Topic: New Stealth Mechanics
Goto Forum:
  


Current Time: Fri Jan 10 10:38:05 GMT+2 2025

Total time taken to generate the page: 0.00898 seconds