[xoreos-git] [xoreos/phaethon] 7ea0cb: IMAGES: Correctly load all mipmaps for a TXB textu...

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


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/phaethon
  Commit: 7ea0cbd1867234110d9516dfb3488f597e413875
      https://github.com/xoreos/phaethon/commit/7ea0cbd1867234110d9516dfb3488f597e413875
  Author: Enrico Horn <farmboy0+git at googlemail.com>
  Date:   2016-12-04 (Sun, 04 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: 8f53c33c1add31259e2cbdac84491040ee708b4d
      https://github.com/xoreos/phaethon/commit/8f53c33c1add31259e2cbdac84491040ee708b4d
  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: 67933fa742096b0e8cbb555c06c093f9a70f4529
      https://github.com/xoreos/phaethon/commit/67933fa742096b0e8cbb555c06c093f9a70f4529
  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/phaethon/compare/4de9f740da13...67933fa74209


More information about the xoreos-git mailing list