Commit Graph

18 Commits (14ddcc1204a7abebc79baed12a9d05c37c8ccf14)

Author SHA1 Message Date
Michael Papageorgiou a1cbc7fb42 Altered getFver to fix a warning 13 years ago
Lukasz Gromanowski ac9b1715d5 Added new command line option: "encoding"
Added new command line option: "encoding" which allow to
change font encoding used in game messages.

Currently there are three evailable encodings:

    win1250 - Central and Eastern European (languages
              that use Latin script, such as Polish,
              Czech, Slovak, Hungarian, Slovene, Bosnian,
              Croatian, Serbian (Latin script),
              Romanian and Albanian)

    win1251 - languages that use the Cyrillic alphabet
              such as Russian, Bulgarian, Serbian Cyrillic
              and others

    win1252 - Western European (Latin) - default

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
14 years ago
Nikolay Kasyanov a2c42ab5a2 components/esm header refactoring in progress. Refactored:
esm_reader.hpp
loadacti.hpp
loadalch.hpp
loadappa.hpp
loadarmo.hpp
loadbody.hpp
loadbook.hpp
loadbsgn.hpp
loadcell.hpp
loadclas.hpp
loadclot.hpp
loadland.hpp
Updated code style in defs.hpp
14 years ago
Jan-Peter Nilsson f65f210149 An unsigned integer can not be smaller than 0 so there's no point in checking 14 years ago
athile 27f69d0f5b Fix some double-to-float Visual Studio warnings in npc.cpp. Add 'm' prefix to member variables in esm_reader.hpp. 14 years ago
Yuri Krupenin b791a8f6be Merge remote branch 'zini/master' 14 years ago
Pieter van der Kloet dd4d022301 Converted all tabs to four spaces 14 years ago
Yuri Krupenin 6b6ee5440e Minimal set of fixes to build with MinGW. 14 years ago
Nicolay Korslund 5552c44753 Cleaned up strnlen in esm_reader. Added -Werror switch to g++. 15 years ago
Nicolay Korslund e30306f7c3 Removed redundant custom exception class 15 years ago
Nicolay Korslund 358e1ca5a5 Added custom UTF8 converter. Removed iconv dependency. 15 years ago
Armin Preiml 305563e595 disabled char encoding method for windows, although you'll need to add the iconv libs 15 years ago
Armin Preiml 986325b3b2 Changed decoding code page from ISO-8859-1 to WINDOWS-1252 15 years ago
Armin Preiml f3ee9ced5c Added cmake file for the iconv library and extended relevant
cmake files to use it.
Added convertToUTF8 to esm_reader. getString(int size) uses this
method now.
15 years ago
athile 59a2e8dcf7 Merge upstream 15 years ago
athile 819c146ad1 Project clean-up: move 'misc' into the platform lib, update CMake to build 'platform' as a lib, and various fixes for Visual Studio compiler warnings 15 years ago
athile b2485e8a52 Windows build fixes 15 years ago
Marc Zinnschlag e4f85cb3e6 directory structure reorganisation (still missing the mangle stuff) 15 years ago