[Commits] [wesnoth/wesnoth] aae2ad: Make the game compile with SDL2.

GitHub noreply at github.com
Tue Aug 4 14:12:29 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: aae2ad77e6d2fc1d746248072688fbcb6adc6a57
      https://github.com/wesnoth/wesnoth/commit/aae2ad77e6d2fc1d746248072688fbcb6adc6a57
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-08-02 (Sun, 02 Aug 2015)

  Changed paths:
    M changelog
    M data/core/about.cfg
    M src/attack_prediction_display.cpp
    M src/build_info.cpp
    M src/desktop/clipboard.cpp
    M src/filesystem_common.cpp
    M src/floating_label.cpp
    M src/loadscreen.cpp
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/storyscreen/render.cpp
    M src/text.hpp

  Log Message:
  -----------
  Make the game compile with SDL2.

This does the bare minimum to get the game compiling and running again with SDL 2. It fixes all of the compile errors, adds a missing seek operation to the SDL_RWops. The missing seek operation caused a NULL pointer dereference during game start.


  Commit: f0613f48bd1998eff8ef254a436a4f0cc5b123f1
      https://github.com/wesnoth/wesnoth/commit/f0613f48bd1998eff8ef254a436a4f0cc5b123f1
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-08-04 (Tue, 04 Aug 2015)

  Changed paths:
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/storyscreen/render.cpp

  Log Message:
  -----------
  Remove defunct code.

This removes code that relied on the defunct class ttexture. Since it will not be reintroduced it is instead removed completely.


  Commit: 5aab187ee61d9980fd525f0448dad34be86c41a0
      https://github.com/wesnoth/wesnoth/commit/5aab187ee61d9980fd525f0448dad34be86c41a0
  Author: lipk <lipkab at zoho.com>
  Date:   2015-08-04 (Tue, 04 Aug 2015)

  Changed paths:
    M changelog
    M data/core/about.cfg
    M src/attack_prediction_display.cpp
    M src/build_info.cpp
    M src/desktop/clipboard.cpp
    M src/filesystem_common.cpp
    M src/floating_label.cpp
    M src/loadscreen.cpp
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/storyscreen/render.cpp
    M src/text.hpp

  Log Message:
  -----------
  Merge pull request #437 from aginor/sdl2

Make the game compile with SDL2.


Compare: https://github.com/wesnoth/wesnoth/compare/8c9416cfaf21...5aab187ee61d


More information about the Commits mailing list