[xoreos-git] [xoreos/xoreos-tools] 4d0c9e: IMAGES: Correctly load all mipmaps for a TXB textu...

GitHub noreply at github.com
Mon Dec 5 01:04:01 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos-tools
  Commit: 4d0c9eeb887b704b298078cc034dcea1e0d717e4
      https://github.com/xoreos/xoreos-tools/commit/4d0c9eeb887b704b298078cc034dcea1e0d717e4
  Author: Enrico Horn <farmboy0+git at googlemail.com>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M src/images/txb.cpp

  Log Message:
  -----------
  IMAGES: Correctly load all mipmaps for a TXB texture

The current algorith doesnt load all the mipmap levels for non
rectangular textures correctly.

This is due to two problems:
1. it aborts too early for width or height less than 4
2. it would right shift till both width and heigth are less than 1

This is probably not a *big* deal but it means that not the whole TXB
data is read accuratly.


  Commit: 3075bb73ec523bf11b5b7f902b592dcccd63604a
      https://github.com/xoreos/xoreos-tools/commit/3075bb73ec523bf11b5b7f902b592dcccd63604a
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M src/aurora/language.cpp
    M src/aurora/language.h

  Log Message:
  -----------
  AURORA: Make LanguageManager::parseLanguage() take a const UString &

Yeah, we modify it (lowercasing), but the caller doesn't need to know
that.


  Commit: 882f37f4f0b1f11673e262e3c3eeb47bfcb18440
      https://github.com/xoreos/xoreos-tools/commit/882f37f4f0b1f11673e262e3c3eeb47bfcb18440
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M src/aurora/language.cpp
    M src/aurora/locstring.cpp

  Log Message:
  -----------
  AURORA: Make LangMan.getLanguageID() heed kLanguageGenderCurrent


Compare: https://github.com/xoreos/xoreos-tools/compare/30f5a54babde...882f37f4f0b1


More information about the xoreos-git mailing list