Comments (1)
I have finished implementing two new methods in the StateManager:
InactivateActiveState and ResetActiveState. The InactivateActiveState will
make the currently active state inactive without calling its DeInit method.
That way the state can retain its assets. The ResetActiveState will pause the
currently active state, call its ReInit method (newly added to the IState
interface class), and resume the currently active state. This will allow you
to restart the currently active state. This is the only way the ReInit method
is called so far. I also added better handling of HandleCleanup for recently
dropped states. Previously, the DropActiveState would not call HandleCleanup
ever. Now it gets called by IState::DoInit if mCleanup is true, this means
that ALL game states should call IState::DoInit FIRST before performing their
own DoInit stuff.
Original comment by [email protected]
on 19 Feb 2011 at 4:38
- Changed state: Fixed
from gqe.
Related Issues (20)
- Can't compile Example on Linux HOT 9
- Incompatible with Linux. HOT 5
- find_package no finds SFML HOT 7
- Example HOT 3
- Newest SFML 2.0 isn't supported... HOT 2
- Combine SFMLx-Proj with GQE to make creating GQE project easier HOT 2
- CMake error when installing tictactoe HOT 4
- #include <stdint.h> in Config.hpp with Visual Studios HOT 2
- strcasecmp HOT 4
- tictactoe not linking HOT 1
- Clock issues with GetElapsedTime() in SFML 2.0 HOT 1
- GQE for SFML 2rc and CMake 2.8 HOT 3
- Property values from prototypes do not carry over to instances. HOT 2
- collision system needs to give better data
- Let the AssetManager automaticly clean up. HOT 3
- AssetManager should be able to read a asset 'collection' file. HOT 2
- Direct.h header not present on Mac HOT 3
- Need fallback fonts for different OSs. HOT 3
- Assertions need to be replaced with real error messages for release mode compiles. HOT 4
- Can't build on Ubuntu 10.10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gqe.