I was comparing the book to the source code and was unable to find
this is shown on pg. 171 of GCC4, at least not anywhere I thought it would be.
In the process of trying I noticed that the source code is far more involved and is in some cases entirely different. For example, the ActorFactory ctor that I'm to add the above functions to the m_actorComponentCreators is done using a entirely different method. There are also some things like the ActorId is defined in a different place as a different type from the source and the book.
It makes sense to me that they would be defined in the Pickup classes but I'm wanting to make sure I don't break the decoupling.
So I really have three questions:
1. Where should I be defining the creation functions for components?
2. Is it semi pointless to try to re-write the code as I read the book considering it seems that a ton is missing from the it?
3. Are the build scripts hidden somewhere that are talked about in the book or was that just informational?
this is shown on pg. 171 of GCC4, at least not anywhere I thought it would be.
In the process of trying I noticed that the source code is far more involved and is in some cases entirely different. For example, the ActorFactory ctor that I'm to add the above functions to the m_actorComponentCreators is done using a entirely different method. There are also some things like the ActorId is defined in a different place as a different type from the source and the book.
It makes sense to me that they would be defined in the Pickup classes but I'm wanting to make sure I don't break the decoupling.
So I really have three questions:
1. Where should I be defining the creation functions for components?
2. Is it semi pointless to try to re-write the code as I read the book considering it seems that a ton is missing from the it?
3. Are the build scripts hidden somewhere that are talked about in the book or was that just informational?