Sign in to follow this  
  • entries
    16
  • comments
    20
  • views
    4907

It's morphin' time!

Sign in to follow this  
Nahrix

300 views

Up until now, my program has been compile-time scaleable. That is to say, I've written a header file of #defines, and written my code with those defines in mind, so that I could change some, and have the code compile perfectly with the new settings.

These settings included changes to resolution, spacers between the window components, number of tiles on the x and y axis in my tileset.bmp file, etc.

This algorithm will be no more. Today, I will convert absolutely everything into an object, and truncate variables where the defines once stood. Arrays will also be redefined as vectors.

This means that the map's size, the window's size, and everything else that was once compile-time scaleable will now be run-time scaleable, and you will be able to do things like drag windows around, resize the map, add tilesets, etc.

Thus, I close the file for another day's work.
Sign in to follow this  


4 Comments


Recommended Comments

What exactly is Civsim? Is it a strategy game of some sorts or a sand box type thing (Sim City,Rollor Coaster Tycoon, etc.)? Or something totally diffrent?

Well whatever it is, it looks good. [smile]

Share this comment


Link to comment
Just a thought... can you put the main description in the footer, and then just add a link down to it? I dislike having to scroll past it all the time ;)

Share this comment


Link to comment

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