67 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
77e2c637f7 WINTERMUTE: Remove unused Sqr-function. 2014-08-29 19:53:33 +02:00
Johannes Schickel
fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Johannes Schickel
a6fff7a805 WINTERMUTE: Switch WideString to U32String. 2013-11-23 21:34:54 +01:00
Filippos Karapetis
4af998b96c WINTERMUTE: Move the isAscii() string changing code to another function 2013-11-08 12:17:48 +02:00
Filippos Karapetis
492cefacb6 WINTERMUTE: Allow utf8ToWide() and wideToUtf8() work with ASCII strings
This is needed for English versions of multilingual games, which use
UTF-8 strings, but we can treat them as plain ASCII, since wide and
UTF-8 strings are not yet supported in Wintermute. This allows at least
the English versions of these games to run.

This allows Reversion 2 and Shaban to start
2013-11-08 12:04:07 +02:00
Einar Johan Trøan Sømåen
2049f53621 WINTERMUTE: Replace CP1252-symbol ... with 3 full stops. 2013-08-20 18:31:45 +02:00
Johannes Schickel
1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen
980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen
4095b76939 WINTERMUTE: Silence a warning. 2013-01-22 20:58:23 +01:00
Einar Johan Trøan Sømåen
d322592037 WINTERMUTE: Guard ConfMan a bit better. 2013-01-22 19:18:29 +01:00
Einar Johan Trøan Sømåen
228785eda2 WINTERMUTE: Convert ' correctly from CP1252 2012-10-23 03:05:17 +02:00
Willem Jan Palenstijn
b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Einar Johan Trøan Sømåen
e067520bb9 WINTERMUTE: Use tabs in enums 2012-08-31 21:03:29 +02:00
Einar Johan Trøan Sømåen
07c27b775c WINTERMUTE: Cleanup the header-guards. 2012-08-31 20:00:32 +02:00
Einar Johan Trøan Sømåen
8a212c3b6c WINTERMUTE: Add namespacing to the UTF-conversion code 2012-08-31 17:29:16 +02:00
Einar Johan Trøan Sømåen
fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen
c422ae9d8a WINTERMUTE: Get rid of strncpy+manual termination. 2012-08-11 02:30:07 +02:00
Einar Johan Trøan Sømåen
e32b79bff1 WINTERMUTE: Save the random-seed as well. 2012-08-07 13:32:26 +02:00
Einar Johan Trøan Sømåen
6b07218eb2 WINTERMUTE: Remove statics and silence spam in debug console. 2012-07-29 18:24:08 +02:00
Einar Johan Trøan Sømåen
20e2ec4ff4 WINTERMUTE: Remove unused functions from StringUtil:: 2012-07-29 18:00:15 +02:00
Einar Johan Trøan Sømåen
2e7d21fc52 WINTERMUTE: Replace BaseRegistry with ConfMan 2012-07-29 17:53:44 +02:00
Einar Johan Trøan Sømåen
da0ba41903 WINTERMUTE: Remove more unused utils. 2012-07-29 14:56:39 +02:00
Einar Johan Trøan Sømåen
e08a0d84a2 WINTERMUTE: Hardcode the Game.SaveDirectory return value in-engine for now. 2012-07-27 19:42:37 +02:00
Einar Johan Trøan Sømåen
c7fa8e7d10 WINTERMUTE: Move settings-files to save-dir (gzipped xml now) 2012-07-27 19:35:20 +02:00
Einar Johan Trøan Sømåen
99d4c55e88 WINTERMUTE: Remove all unneccessary #if 0 blocks 2012-07-27 19:07:00 +02:00
Einar Johan Trøan Sømåen
fbc19f3f0b WINTERMUTE: Fix a Clang-warning 2012-07-27 18:24:00 +02:00
Einar Johan Trøan Sømåen
f6ac34ab9a WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings. 2012-07-27 18:13:42 +02:00
Einar Johan Trøan Sømåen
3a49f2bad4 WINTERMUTE: More variable/function renaming VarName->varName 2012-07-26 22:20:55 +02:00
Einar Johan Trøan Sømåen
2c530bc6ed WINTERMUTE: var_name -> varName 2012-07-26 20:49:59 +02:00
Einar Johan Trøan Sømåen
ef11f9d0c5 WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code. 2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen
38507fa989 WINTERMUTE: AStyle-formatting. 2012-07-26 04:12:58 +02:00
Einar Johan Trøan Sømåen
fa96c9ea18 WINTERMUTE: "delete []" -> "delete[]" 2012-07-25 21:05:03 +02:00
Einar Johan Trøan Sømåen
aedb0aea50 WINTERMUTE: Remove dcgf.h from almost all includes. 2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen
7a818009b4 WINTERMUTE: Clean out unused utils. 2012-07-23 02:23:14 +02:00
Einar Johan Trøan Sømåen
803c421553 WINTERMUTE: Fix a few issues in PathUtil, mainly getFileNameWithoutExtension was off by one 2012-07-22 22:30:24 +02:00
Einar Johan Trøan Sømåen
b5a07fef8e WINTERMUTE: Get rid of the C-prefix for class-definitions. 2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen
5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00
Einar Johan Trøan Sømåen
d31b4883a6 WINTERMUTE: Disable ansiToWide for now, as the current implementation was wrong.
An odd side-effect was that the script-function SetHoverCursor in AdItem would
rename it's filenames from "folder\subfolder\filename.ext" to "folder'subfolder'filename.ext"
2012-07-20 14:24:07 +02:00
Einar Johan Trøan Sømåen
3ad839b32c WINTERMUTE: Rename PlatformSDL->platform_osystem 2012-07-20 00:45:20 +02:00
Einar Johan Trøan Sømåen
113961fd2a WINTERMUTE: Change all folder-names to lowercase. 2012-07-19 19:29:15 +02:00
Einar Johan Trøan Sømåen
49bac1ab4a WINTERMUTE: Use correct case for Rect32.h includes. 2012-07-19 17:06:45 +02:00
Einar Johan Trøan Sømåen
07cebdbf2b WINTERMUTE: Change usage of Common::Rect to our own 32-bit variant. 2012-07-09 12:27:06 +02:00
Einar Johan Trøan Sømåen
0ef77c57b6 WINTERMUTE: Rename VarName->varName in WinterMute::Utils 2012-07-09 04:36:25 +02:00
Einar Johan Trøan Sømåen
99ed2b2ae1 WINTERMUTE: Remove the rest of the WIN32-specifics 2012-07-09 04:21:48 +02:00
Einar Johan Trøan Sømåen
01d6ff2121 WINTERMUTE: Cleanup and simplify StringUtil a bit. 2012-07-09 04:17:28 +02:00
Einar Johan Trøan Sømåen
7c984d24a8 WINTERMUTE: Change RECT -> Common::Rect and POINT-> Common::Point, completing the removal of Windows-specifics in wintypes.h 2012-07-09 04:09:15 +02:00
Einar Johan Trøan Sømåen
1eea9ad1a3 WINTERMUTE: Remove most of the wintype-definitions. 2012-07-09 03:27:21 +02:00
Einar Johan Trøan Sømåen
7f1296e9dc WINTERMUTE: Remove references to HWND 2012-07-09 03:07:30 +02:00
Einar Johan Trøan Sømåen
48118cb940 WINTERMUTE: Compile ConvertUTF as C++ 2012-07-09 02:52:47 +02:00
Einar Johan Trøan Sømåen
0f249f55db WINTERMUTE: Rename FuncName->funcName and VarName->varName mainly in AdGame. (But also all const char* Filename->filename) 2012-07-04 13:15:47 +02:00