perandersson / playstate

PlayState
2 stars 0 forks source link

Add an IFileChangedListener #5

Closed perandersson closed 11 years ago

perandersson commented 11 years ago

Add events for file changes. This enables us to save files which forces the game engine to reload those files when needed. Necessary for both the render pipeline and future level editor.

perandersson commented 11 years ago

You can now register files in IFileSystem::AddFileChangedListener(...). The supplied interface will receive events when a file has been changed. Events are triggered in the main execution thread at the end of every frame. (See IKernel::Process)