I've asked a few game related questions lately - thanks for the input. I've decided to make a simple 2D engine (as a library) and use it with my map editor, client and possibly the dedicated server.
It will wrap SDL for most things, but I've got a few questions
I was thinking of providing my own screen coordinate system (in dependent of the screen resolution) what's the best way to go around that? It means I won't have to change anything client wise if I change from SDL to openGL for example.
I was thinking maybe 10,000 units in each direction which is scaled to the current resolution or is there a better way? Such as the attachment.
I was thinking of structuring the engine something like:
* video (openGL)
* tile manager
* font (uses video manager)
* image loader (uses video)
* input manager etc
Each little manager has to be init'd/deinit'd, for the video manager I was thinking of just typedef'ing SDL_Surfaces for now... All sound good?