[xoreos-git] [xoreos/xoreos] cdf07e: ALL: SDL1.2 to SDL2 migration

GitHub noreply at github.com
Sat Dec 14 20:13:05 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: cdf07e485602ba2a60abf40df784f3f08914c6a4
      https://github.com/xoreos/xoreos/commit/cdf07e485602ba2a60abf40df784f3f08914c6a4
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M configure.ac
    M src/common/readline.cpp
    M src/common/thread.cpp
    M src/common/threads.cpp
    M src/common/ustring.cpp
    M src/common/ustring.h
    M src/engines/aurora/console.cpp
    M src/engines/aurora/gui.cpp
    M src/engines/aurora/gui.h
    M src/engines/aurora/widget.cpp
    M src/engines/aurora/widget.h
    M src/engines/kotor/module.cpp
    M src/engines/nwn/gui/widgets/listbox.cpp
    M src/engines/nwn/gui/widgets/listbox.h
    M src/engines/nwn/gui/widgets/scrollbar.cpp
    M src/engines/nwn/gui/widgets/scrollbar.h
    M src/engines/nwn/module.cpp
    M src/events/events.cpp
    M src/events/events.h
    M src/events/joystick.cpp
    M src/events/types.h
    M src/graphics/aurora/cursorman.cpp
    M src/graphics/graphics.cpp
    M src/graphics/graphics.h

  Log Message:
  -----------
  ALL: SDL1.2 to SDL2 migration

The main part is about the graphic stack and the remainder is about
events, the mousewheel and the textinput which is now distinct from
pressedkey.

A feature which would be nice to add is fullscreen from the desktop
resolution. SDL2 allows to do so with a single line.


  Commit: 59983301202f3f093cf28b9845d3dd3aa6287f30
      https://github.com/xoreos/xoreos/commit/59983301202f3f093cf28b9845d3dd3aa6287f30
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/graphics/graphics.cpp
    M src/graphics/graphics.h

  Log Message:
  -----------
  GRAPHICS: Compute window maximum width and height


  Commit: 03602a61081549473d6fe6ae0074c9b6171b7220
      https://github.com/xoreos/xoreos/commit/03602a61081549473d6fe6ae0074c9b6171b7220
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/events/events.cpp

  Log Message:
  -----------
  EVENTS: Fix enablement of repeated events


  Commit: 083d230a660a4f5b13367e7b40156c4716a4ea93
      https://github.com/xoreos/xoreos/commit/083d230a660a4f5b13367e7b40156c4716a4ea93
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/engines/aurora/console.cpp
    M src/engines/kotor/module.cpp
    M src/engines/nwn/module.cpp
    M src/events/events.cpp

  Log Message:
  -----------
  ALL: Fix the camera move

The camera should not move when the console is open. Since text input
and pressed key are now distinct events, we receive two events when a
key is actually pressed. So we have to test if text input is active.

One feature brings by SDL2 is the ability to recognize a key by is
position and not is name, that is to say we can ask the key next to
tab whatever the layout is (like qwerty, azerty or dvorak).


  Commit: b3a9a078554f32a803721d23fbe492d4aa91b926
      https://github.com/xoreos/xoreos/commit/b3a9a078554f32a803721d23fbe492d4aa91b926
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/engines/nwn/gui/options/videoadv.cpp
    M src/engines/nwn/gui/options/videoadv.h

  Log Message:
  -----------
  NWN: Avoid direct anti-aliasing change

In nwn, you can change the anti-aliasing "on the fly" with a slider.
As this change has to recreate the windows, we can miss the mouse up
event and the defocus of the slider. This commit apply the change only
if the ok button is pressed.


  Commit: 6cf354ac26a87757b2c023abafdd22c5103d8d3a
      https://github.com/xoreos/xoreos/commit/6cf354ac26a87757b2c023abafdd22c5103d8d3a
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/engines/nwn/gui/options/videoadv.cpp

  Log Message:
  -----------
  NWN: Properly initialize the fsaa value


  Commit: ac30355dca7c44f67cb82ee2e8622686727eb06b
      https://github.com/xoreos/xoreos/commit/ac30355dca7c44f67cb82ee2e8622686727eb06b
  Author: Supermanu <manueltondeur at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/graphics/graphics.cpp

  Log Message:
  -----------
  GRAPHICS: Remember display when changing fsaa


Compare: https://github.com/xoreos/xoreos/compare/62d6e504f7bf...ac30355dca7c


More information about the xoreos-git mailing list