[145] | 1 | diff -Naur -x build -x .git trunk/.gitignore vendor\current\crengine/.gitignore
|
---|
| 2 | --- trunk/.gitignore 1970-01-01 00:00:00.000000000
|
---|
| 3 | +++ vendor\current\crengine/.gitignore 2012-09-13 14:14:24.000000000 +0200
|
---|
| 4 | @@ -0,0 +1,9 @@
|
---|
| 5 | +*.*~
|
---|
| 6 | +qtbuild
|
---|
| 7 | +v3build
|
---|
| 8 | +v5build
|
---|
| 9 | +wxbuild
|
---|
| 10 | +qtbuild
|
---|
| 11 | +qt-build
|
---|
| 12 | +qtcreator-build
|
---|
| 13 | +*~
|
---|
| 14 | diff -Naur -x build -x .git trunk/CMakeLists.txt vendor\current\crengine/CMakeLists.txt
|
---|
| 15 | --- trunk/CMakeLists.txt 2012-09-13 15:57:06.000000000 +0200
|
---|
| 16 | +++ vendor\current\crengine/CMakeLists.txt 2012-09-13 14:14:24.000000000 +0200
|
---|
| 17 | @@ -97,8 +97,6 @@
|
---|
| 18 | ADD_DEFINITIONS( -DMAC=1 -DLINUX=1 -D_LINUX=1 -DCR_EMULATE_GETTEXT=1 )
|
---|
| 19 | elseif ( WIN32 )
|
---|
| 20 | ADD_DEFINITIONS( -DWIN32=1 -D_WIN32=1 -DCR_EMULATE_GETTEXT=1 )
|
---|
| 21 | -elseif ( OS2 )
|
---|
| 22 | - ADD_DEFINITIONS( -DOS2=1 -D_OS2=1 )
|
---|
| 23 | else()
|
---|
| 24 | ADD_DEFINITIONS( -DLINUX=1 -D_LINUX=1 )
|
---|
| 25 | endif(MAC)
|
---|
| 26 | diff -Naur -x build -x .git trunk/cr3qt/CMakeLists.txt vendor\current\crengine/cr3qt/CMakeLists.txt
|
---|
| 27 | --- trunk/cr3qt/CMakeLists.txt 2012-09-13 16:54:12.000000000 +0200
|
---|
| 28 | +++ vendor\current\crengine/cr3qt/CMakeLists.txt 2012-09-13 14:14:26.000000000 +0200
|
---|
| 29 | @@ -48,10 +48,6 @@
|
---|
| 30 | ADD_DEFINITIONS(-DCR3_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/cr3/"
|
---|
| 31 | -DUSE_FONTCONFIG=1
|
---|
| 32 | )
|
---|
| 33 | -ELSEIF (OS2)
|
---|
| 34 | - ADD_DEFINITIONS(-DCR3_DATA_DIR=""
|
---|
| 35 | - -DUSE_FONTCONFIG=1
|
---|
| 36 | - )
|
---|
| 37 | ELSE()
|
---|
| 38 | ADD_DEFINITIONS(-DCR3_DATA_DIR=""
|
---|
| 39 | -DUSE_FONTCONFIG=0
|
---|
| 40 | @@ -75,16 +71,6 @@
|
---|
| 41 | endif(MINGW)
|
---|
| 42 | ENDIF (WIN32)
|
---|
| 43 |
|
---|
| 44 | -IF (OS2)
|
---|
| 45 | - # init of the rc compiler
|
---|
| 46 | - set(RES_FILES "src/cr3_os2.rc")
|
---|
| 47 | - ENABLE_LANGUAGE(RC)
|
---|
| 48 | - set(CMAKE_RC_COMPILER_INIT rc)
|
---|
| 49 | - SET(CMAKE_RC_COMPILE_OBJECT
|
---|
| 50 | - "<CMAKE_RC_COMPILER> -n -r -i ${CMAKE_CURRENT_SOURCE_DIR}/src <SOURCE> <OBJECT>")
|
---|
| 51 | -
|
---|
| 52 | - SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Zstack 0x2000 -Zlinker \"DISABLE 1121\" -s -Zlinker /PM:PM -Zno-fork -Zhigh-mem -Zmap")
|
---|
| 53 | -ENDIF (OS2)
|
---|
| 54 |
|
---|
| 55 | SET(LANGUAGES ru uk cs de es pl bg hu)
|
---|
| 56 | message( "Languages: ${LANGUAGES}" )
|
---|
| 57 | @@ -172,8 +158,6 @@
|
---|
| 58 | #${QT_LIBRARIES}
|
---|
| 59 | ELSEIF (UNIX)
|
---|
| 60 | SET (EXTRA_LIBS ${QT_LIBRARIES} fontconfig ${STD_LIBS} )
|
---|
| 61 | -ELSEIF (OS2)
|
---|
| 62 | - SET (EXTRA_LIBS ${QT_LIBRARIES} ${STD_LIBS} fontconfig xml2 mmap)
|
---|
| 63 | ELSE()
|
---|
| 64 | SET (EXTRA_LIBS ${STD_LIBS} ${QT_LIBRARIES})
|
---|
| 65 | ENDIF(MAC)
|
---|
| 66 | diff -Naur -x build -x .git trunk/cr3qt/src/cr3_os2.rc vendor\current\crengine/cr3qt/src/cr3_os2.rc
|
---|
| 67 | --- trunk/cr3qt/src/cr3_os2.rc 2011-09-30 14:59:06.000000000 +0200
|
---|
| 68 | +++ vendor\current\crengine/cr3qt/src/cr3_os2.rc 1970-01-01 00:00:00.000000000
|
---|
| 69 | @@ -1 +0,0 @@
|
---|
| 70 | -ICON 1 DISCARDABLE "icons/cr3_os2.ico"
|
---|
| 71 | \ No newline at end of file
|
---|
| 72 | diff -Naur -x build -x .git trunk/cr3qt/src/icons/cr3_os2.ico vendor\current\crengine/cr3qt/src/icons/cr3_os2.ico
|
---|
| 73 | --- trunk/cr3qt/src/icons/cr3_os2.ico 2011-06-06 14:37:56.000000000 +0200
|
---|
| 74 | +++ vendor\current\crengine/cr3qt/src/icons/cr3_os2.ico 1970-01-01 00:00:00.000000000
|
---|
| 75 | @@ -1 +0,0 @@
|
---|
| 76 | -CI" |
---|
| 77 | : |
---|
| 78 | (PÿÿÿCI" |
---|
| 79 | º |
---|
| 80 | ((ªªÁÁÁÌÌÌÿÛªªIÿImUmªmÿm$Uª$ÿ¶U¶ª¶ÿ¶ÛUÛªÛÿÛªÛÿUÿªÿªÿÿ+U+ª+ÿ+$+U$+ª$+ÿ$+I+UI+ªI+ÿI+m+Um+ªm+ÿm++U+ª+ÿ+¶+U¶+ª¶+ÿ¶+Û+UÛ+ªÛ+ÿÛ+ÿ+Uÿ+ªÿ+ÿÿ+UUUªUÿU$UU$Uª$Uÿ$UIUUIUªIUÿIUmUUmUªmUÿmUUUUªUÿU¶UU¶Uª¶Uÿ¶UÛUUÛUªÛUÿÛUÿUUÿUªÿUÿÿUUUU$ÿ$U$ª$ÿ$IUIªIÿImUmªmÿm'''...666>>>FFFMMMUUU]]]dddlllttt|||Ûÿÿ¶ÿªªª²²²¹¹¹ÿ$IÑÑÑØØØàààèèèðððª¶ÿÿÛÿUªÿ¶U¶ª¶ÿ¶ÛUÛªÛÿÛÿUÿªÿÿÿªUªªªÿª$ªU$ªª$ªÿ$ªIªUIªªIªÿIªmªUmªªmªÿmªªUªªªÿª¶ªU¶ªª¶ªÿ¶ªÛªUÛªªÛªUIÿªUÿªªÿªÿÿªÕUÕªÕÿÕ$ÕU$Õª$Õÿ$ÕIÕUIÕªIÕÿIÕmÕUmÕªmÕÿmÕÕUÕªÕÿÕ¶ÕU¶Õª¶Õÿ¶ÕÛÕUÛÕªÛÕÿÛÕÿÕUÿÕªÿÕÿÿÕUÛÿUÿªÿUÿÿ$ÿU$ÿª$ÿÿ$ÿIÿUIÿªIÿÿIÿmÿUmÿªmÿÿmÿÿUÿªÿÿÿ¶ÿU¶ÿ÷÷÷¢¢¢ÿÿÿÿÿÿÿÿÿÿÿÿÁÿÛªmmÿU¶¶ÿUÛªÛÿªU++$$+ÿUI++mm+ÿU++¶¶+ÿUÛ++ÿÿ+ÿUUU$$UÿUIUUmmUÿUUU¶¶UÿUÛUUÿÿUÿU$$ÿUIm''66>MMM]ddtt|ÿ¶²²¹IØààððªU¶¶ÿUÛÿÿÿUªª$$ªÿUIªªmmªÿUªª¶¶ªÿUÛªÿÿªÿUÕÕ$$ÕÿUIÕÕmmÕÿUÕÕ¶¶Õÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷}ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿöÿÿÿÿÿÿÿÿÿÿÿÿÿÿööÿÿÿÿÿÿÿÿÿÿÿÿÿÿy÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿööÿÿÿÿÿÿÿÿÿÿÿÿÿö~÷øöÿÿÿÿÿÿ
|
---|
| 81 | ÿÿÿöÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿöz
|
---|
| 82 | ÷
|
---|
| 83 | yÿÿÿÿÿ
|
---|
| 84 |
|
---|
| 85 | ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 88 | ÷}}ÿÿ÷z{r
|
---|
| 89 | öÿÿÿÿÿÿÿÿÿÿÿÿÿz÷~÷
|
---|
| 90 |
|
---|
| 91 |
|
---|
| 92 | ppuuz{x÷öÿÿÿÿÿÿÿÿÿÿ÷øzz
|
---|
| 93 | q|ttyyzøy|ÿÿÿÿÿÿÿÿ|~~ø~øzvwv~~}y~~÷÷~|}ÿÿÿz~
|
---|
| 94 | z~~|÷{vyxvt|{{~øwøÿÿöø~{x~~{|zpywwy}ø{z
|
---|
| 95 |
|
---|
| 96 | öÿÿ||xy|ty}zypy{||øø÷÷~ÿÿÿzywwruxq{~~÷ÿÿö{x
|
---|
| 97 | øurwrsr~
|
---|
| 98 | ÿÿÿö÷}~uuvvqqtxøÿÿÿ÷øøtwwyw|rqyzyyxz÷
|
---|
| 99 | ÿÿö
|
---|
| 100 | ö}uxwzzz~øwyy{
|
---|
| 101 | ÿÿ÷ÿÿÿÿÿÿÿÿÿÿxvzz|~øÿ
|
---|
| 102 |
|
---|
| 103 | öÿö÷ÿuÿ~ÿøÿ~ÿÿÿÿÿqwÿ~ÿpÿÿÿÿÿöqpvy|}q~ÿÿwÿÿÿÿÿÿÿÿyø|yuxxvqz
|
---|
| 104 | qvö
|
---|
| 105 | ÷ÿÿÿÿÿÿÿÿÿÿ{uøywz|wrÿ÷öÿÿÿÿÿÿÿÿÿÿ
|
---|
| 106 | ÷ø|xvÿ}|z}~~øÿÿ
|
---|
| 107 | ÿÿÿÿÿÿÿÿÿÿÿÿöÿ|tøöÿÿö|øøxpqÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿø~y÷ÿÿÿÿÿ
|
---|
| 108 |
|
---|
| 109 | qquÿÿÿÿÿÿÿÿÿÿÿÿÿpÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿöÿÿszÿÿÿÿÿÿÿÿÿÿÿvÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿørÿÿÿÿÿÿÿÿÿÿÿÿÿÿ}ÿÿÿÿÿÿÿ~ÿÿÿÿÿÿÿÿÿÿvÿÿuÿÿÿÿÿÿÿÿÿÿÿvÿÿÿÿ÷pöÿÿÿs~ÿÿÿ}~ÿrrÿÿÿÿÿÿÿÿÿÿÿ~
|
---|
| 110 | ÷yÿÿÿupsÿÿÿÿÿÿÿÿÿÿÿÿw~ÿÿÿÿÿzöÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿxrÿÿÿÿÿÿÿÿw|öÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷}~ÿÿÿÿÿÿÿÿÿÿ}}ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
|
---|
| 111 | \ No newline at end of file
|
---|
| 112 | diff -Naur -x build -x .git trunk/cr3qt/src/main.cpp vendor\current\crengine/cr3qt/src/main.cpp
|
---|
| 113 | --- trunk/cr3qt/src/main.cpp 2012-09-13 16:58:54.000000000 +0200
|
---|
| 114 | +++ vendor\current\crengine/cr3qt/src/main.cpp 2012-09-13 14:14:26.000000000 +0200
|
---|
| 115 | @@ -156,7 +156,7 @@
|
---|
| 116 | QString exeDir = QDir::toNativeSeparators(qApp->applicationDirPath() + "/Contents/Resources/"); //QDir::separator();
|
---|
| 117 | QString translations = exeDir + "i18n";
|
---|
| 118 | #else
|
---|
| 119 | -#if defined(_WIN32) || defined(Q_OS_OS2)
|
---|
| 120 | +#if defined(_WIN32)
|
---|
| 121 | QString exeDir = QDir::toNativeSeparators(qApp->applicationDirPath() + "/"); //QDir::separator();
|
---|
| 122 | QString translations = exeDir + "i18n";
|
---|
| 123 | #else
|
---|
| 124 | @@ -308,7 +308,7 @@
|
---|
| 125 | bool InitCREngine( const char * exename, lString16Collection & fontDirs )
|
---|
| 126 | {
|
---|
| 127 | CRLog::trace("InitCREngine(%s)", exename);
|
---|
| 128 | -#if defined(_WIN32) || defined(Q_OS_OS2)
|
---|
| 129 | +#ifdef _WIN32
|
---|
| 130 | lString16 appname( exename );
|
---|
| 131 | int lastSlash=-1;
|
---|
| 132 | lChar16 slashChar = '/';
|
---|
| 133 | diff -Naur -x build -x .git trunk/crengine/include/crsetup.h vendor\current\crengine/crengine/include/crsetup.h
|
---|
| 134 | --- trunk/crengine/include/crsetup.h 2012-09-13 16:33:48.000000000 +0200
|
---|
| 135 | +++ vendor\current\crengine/crengine/include/crsetup.h 2012-09-13 14:14:26.000000000 +0200
|
---|
| 136 | @@ -48,7 +48,7 @@
|
---|
| 137 | #define FILE_STREAM_BUFFER_SIZE 0x40000
|
---|
| 138 | #endif
|
---|
| 139 |
|
---|
| 140 | -#elif defined(_LINUX) || defined (LINUX) || defined(_OS2) || defined (OS2)
|
---|
| 141 | +#elif defined(_LINUX) || defined (LINUX)
|
---|
| 142 |
|
---|
| 143 | #ifndef LDOM_USE_OWN_MEM_MAN
|
---|
| 144 | #define LDOM_USE_OWN_MEM_MAN 1
|
---|
| 145 | diff -Naur -x build -x .git trunk/crengine/src/lvstream.cpp vendor\current\crengine/crengine/src/lvstream.cpp
|
---|
| 146 | --- trunk/crengine/src/lvstream.cpp 2012-09-13 17:08:32.000000000 +0200
|
---|
| 147 | +++ vendor\current\crengine/crengine/src/lvstream.cpp 2012-09-13 14:14:26.000000000 +0200
|
---|
| 148 | @@ -54,7 +54,7 @@
|
---|
| 149 | #include <sys/mman.h>
|
---|
| 150 | #endif
|
---|
| 151 |
|
---|
| 152 | -#if defined(_LINUX) || defined(_OS2)
|
---|
| 153 | +#ifdef _LINUX
|
---|
| 154 | #include <sys/types.h>
|
---|
| 155 | #include <sys/stat.h>
|
---|
| 156 | #include <unistd.h>
|
---|
| 157 | @@ -302,7 +302,7 @@
|
---|
| 158 |
|
---|
| 159 |
|
---|
| 160 | //#if USE__FILES==1
|
---|
| 161 | -#if defined(_LINUX) || defined(_WIN32) || defined(_OS2)
|
---|
| 162 | +#if defined(_LINUX) || defined(_WIN32)
|
---|
| 163 |
|
---|
| 164 | class LVFileMappedStream : public LVNamedStream
|
---|
| 165 | {
|
---|
| 166 | @@ -828,9 +828,7 @@
|
---|
| 167 |
|
---|
| 168 |
|
---|
| 169 | //#ifdef _LINUX
|
---|
| 170 | -#ifndef _OS2
|
---|
| 171 | #undef USE_ANSI_FILES
|
---|
| 172 | -#endif
|
---|
| 173 | //#endif
|
---|
| 174 |
|
---|
| 175 | #if (USE_ANSI_FILES==1)
|
---|
| 176 | @@ -3519,7 +3517,7 @@
|
---|
| 177 | lChar16 c = pathName[0];
|
---|
| 178 | if ( c=='\\' || c=='/' )
|
---|
| 179 | return true;
|
---|
| 180 | -#if defined(_WIN32) || defined(_OS2)
|
---|
| 181 | +#ifdef _WIN32
|
---|
| 182 | if ( (c>='a' && c<='z') || (c>='A' && c<='Z') ) {
|
---|
| 183 | return (pathName[1]==':');
|
---|
| 184 | }
|
---|
| 185 | @@ -3762,7 +3760,7 @@
|
---|
| 186 | */
|
---|
| 187 | LVStreamRef LVMapFileStream( const lChar16 * pathname, lvopen_mode_t mode, lvsize_t minSize )
|
---|
| 188 | {
|
---|
| 189 | -#if !defined(_WIN32) && !defined(_LINUX) && !defined(_OS2)
|
---|
| 190 | +#if !defined(_WIN32) && !defined(_LINUX)
|
---|
| 191 | // STUB for systems w/o mmap
|
---|
| 192 | LVFileStream * stream = LVFileStream::CreateFileStream( pathname, mode );
|
---|
| 193 | if ( stream!=NULL )
|
---|
| 194 | diff -Naur -x build -x .git trunk/tinydict/tinydict.cpp vendor\current\crengine/tinydict/tinydict.cpp
|
---|
| 195 | --- trunk/tinydict/tinydict.cpp 2012-09-13 16:36:54.000000000 +0200
|
---|
| 196 | +++ vendor\current\crengine/tinydict/tinydict.cpp 2012-09-13 14:14:36.000000000 +0200
|
---|
| 197 | @@ -994,7 +994,7 @@
|
---|
| 198 | }
|
---|
| 199 | }
|
---|
| 200 | }
|
---|
| 201 | -#ifdef _WIN32 || defined(_OS2)
|
---|
| 202 | +#ifdef _WIN32
|
---|
| 203 | printf("Press any key...");
|
---|
| 204 | getchar();
|
---|
| 205 | #endif
|
---|