Closed ghost closed 11 years ago
I'll take a look.
I pushed up my progress into the same branch. Here's a diff of my changes.. The problem now is that the other game states aren't accessible. Some more plumbing will be necessary so that the menu screens can push onto the outer game state stack.
I'm considering just throwing out the state-vs-menu distinction and lifting everything into the same state stack. The GameScreen code provides for a lot more than my GameState anyway.
Yeah, ok. I can see what you mean. Let me know what you decide. Jorenz and I were discussing this as well. We did not know exactly what to do, so we left it alone.
I'll probably work on cleaning this up once i have the level loader working (which should be soon).
Alright, I think it's pretty much all merged in. I also moved the code from the SimulationState into GameplayState and removed the existing GameStates.
If there are no objections, I'm going to merge this in shortly. A lot of things are likely to depend on the (extensive) changes in this branch.
I checked out the code briefly, and it seems stable to me. The template's pause menu does seem to be missing, but we'll probably replace it soon enough.
(Nitpick note: how do you unfold #regions by default? I don't like them gah)
Apparently you can use Ctrl+M+L, but you need a macro to make that the default. Wat.
EDIT: Or just go to Tools -> Options -> Text Editor -> C# -> Advanced and disable outlining mode.
Would it be okay if I start using the code that has been merge or should I wait?
@Twisol Alrighty, thanks. :) As for the issue itself, I have nothing more to say :p
EDIT: edited again b/c stuff
@mike72 Go for it. I'll step back from the michael_new_menu branch now. (I'll probably merge it into master rather soon, either way.)
Merged into master.
Having trouble understanding where in the architecture the menu system fits in. We have not really tried to modify anything for the integration. We did not want to break the code that exists.
What we have so far is in the branch named michael_new_menu. Can someone take a look at it?
-- Michael and Jorenz