HI,
first of all I have to say, I love your book. Its not so theoretical and brings some flesh to the bones.
BUT there is a really BIG BUT. After reading your book i got hold of the source code and was very frustrated that this whole code is completely disordered. Everything in the book about "how to order code" and so on is broken
Example:
struct GameOptions
you refer in your Game Teapot, but also in the Interface.h and also somewhere else
but the struct itself is lying in MainLoop/Initialization.h.
This is only one of many examples i could give. What I suggest for a CodeBase 4.0. PLS tidy your code and, what is more important, could you create code that is reusable, some sort of framework? i have the feeling, everything is split around and i have to pull up "Search for" to find the Information i need from other files in other directories.
I would like to see: Tepot with all its modified code in one directory and a "framework" directory with all files, one could include to create a game of any kind one likes to build.
In this framework directory could be the CRandom, the String Class, the HashString Class, the GameLogic Interface, the Gameview,,.... As you described it in your book.
For my problem: Im coding a 2d dungeon game, and would like to include all i learned from your book. But except of some little code (structs, classes), many things have to be rewritten from scratch, since it is all put together for your demo game (so it seems).
A more generalistic view would be really cool, even if it would say at the end:
It would help building games easier and things easier to understand.
Just a suggestion and pls forgive my bad english.
first of all I have to say, I love your book. Its not so theoretical and brings some flesh to the bones.
BUT there is a really BIG BUT. After reading your book i got hold of the source code and was very frustrated that this whole code is completely disordered. Everything in the book about "how to order code" and so on is broken
Example:
struct GameOptions
you refer in your Game Teapot, but also in the Interface.h and also somewhere else
but the struct itself is lying in MainLoop/Initialization.h.
This is only one of many examples i could give. What I suggest for a CodeBase 4.0. PLS tidy your code and, what is more important, could you create code that is reusable, some sort of framework? i have the feeling, everything is split around and i have to pull up "Search for" to find the Information i need from other files in other directories.
I would like to see: Tepot with all its modified code in one directory and a "framework" directory with all files, one could include to create a game of any kind one likes to build.
In this framework directory could be the CRandom, the String Class, the HashString Class, the GameLogic Interface, the Gameview,,.... As you described it in your book.
For my problem: Im coding a 2d dungeon game, and would like to include all i learned from your book. But except of some little code (structs, classes), many things have to be rewritten from scratch, since it is all put together for your demo game (so it seems).
A more generalistic view would be really cool, even if it would say at the end:
It would help building games easier and things easier to understand.
Just a suggestion and pls forgive my bad english.