[Commits] [wesnoth/wesnoth] d42b86: fixup gamestate initialization

GitHub noreply at github.com
Tue Dec 23 10:50:34 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d42b86ad3f337ee4f79e4c5996d6113e4d5d190f
      https://github.com/wesnoth/wesnoth/commit/d42b86ad3f337ee4f79e4c5996d6113e4d5d190f
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-23 (Tue, 23 Dec 2014)

  Changed paths:
    M src/game_events/manager.cpp
    M src/game_events/manager.hpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp
    M src/game_state.cpp
    M src/game_state.hpp
    M src/play_controller.cpp
    M src/replay_controller.cpp

  Log Message:
  -----------
  fixup gamestate initialization

- eliminate the "gamestate::init returns a whiteboard" hack
- store all resources used in game_events in a shared_ptr for easy
access
- add a bind function for binding the gamestate to play_controller
assets
- eliminate obsoleted functions

This fixes up commit fbcfa99c811c91538588e783dfc2d97406ab84ee





More information about the Commits mailing list