martedì 1 settembre 2015

Day 58: Huge refactoring

Today I made a substanctial refactoring.
I started by moving the MainGame class to the game, and I left to it just the base stuff a game programmer should implement, moving the rest to the super class.

I also moved all the glsl program initialization to the deferred renderer, because unitl now it was handled by lights, main game and deferred renderer, making the situation pretty messy.
Everything seems to work exactly like before.
Probably tomorrow or in the next days I'll add a few classes to the Game project and make something with the engine, just for fun and to test that everything is fine.

Nessun commento:

Posta un commento