- Timestamp:
- 06/04/04 14:41:53 (21 years ago)
- Location:
- ps/trunk/source/lib
- Files:
-
- 22 edited
-
adts.h (modified) (1 diff)
-
config.h (modified) (2 diffs)
-
input.cpp (modified) (1 diff)
-
lib.cpp (modified) (1 diff)
-
ogl.cpp (modified) (1 diff)
-
precompiled.h (modified) (2 diffs)
-
res/file.cpp (modified) (1 diff)
-
res/font.cpp (modified) (1 diff)
-
res/h_mgr.cpp (modified) (1 diff)
-
res/mem.cpp (modified) (1 diff)
-
res/tex.cpp (modified) (1 diff)
-
res/vfs.cpp (modified) (1 diff)
-
res/zip.cpp (modified) (1 diff)
-
sysdep/ia32.cpp (modified) (1 diff)
-
sysdep/win/waio.cpp (modified) (1 diff)
-
sysdep/win/wdetect.cpp (modified) (1 diff)
-
sysdep/win/win.cpp (modified) (1 diff)
-
sysdep/win/wposix.cpp (modified) (1 diff)
-
sysdep/win/wsdl.cpp (modified) (5 diffs)
-
sysdep/win/wsock.cpp (modified) (1 diff)
-
sysdep/win/wtime.cpp (modified) (1 diff)
-
timer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/lib/adts.h
r221 r396 2 2 #define ADTS_H__ 3 3 4 #include "precompiled.h"5 6 4 #include "lib.h" 7 5 8 9 6 #include <cassert> 10 7 8 #include <list> 9 #include <map> 11 10 12 11 -
ps/trunk/source/lib/config.h
r347 r396 21 21 #undef HAVE_X 22 22 23 #undef HAVE_PCH 24 23 25 #undef CONFIG_DISABLE_EXCEPTIONS 24 26 … … 30 32 #ifdef _MSC_VER 31 33 # define HAVE_ASM 34 //# define HAVE_PCH 32 35 #endif 33 36 -
ps/trunk/source/lib/input.cpp
r221 r396 22 22 23 23 #include "input.h" 24 25 #include <stdio.h> 26 #include <stdlib.h> 24 27 25 28 -
ps/trunk/source/lib/lib.cpp
r372 r396 21 21 22 22 #include "sdl.h" // endian functions 23 24 #include <assert.h> 23 25 24 26 -
ps/trunk/source/lib/ogl.cpp
r266 r396 5 5 #include "ogl.h" 6 6 #include "detect.h" 7 8 #include <assert.h> 9 #include <stdio.h> 10 #include <string.h> 7 11 8 12 #ifdef _MSC_VER -
ps/trunk/source/lib/precompiled.h
r353 r396 1 // if precompiled headers are supported, include all headers we'd ever need 2 // that don't often change. if not supported, include nothing (would actually 3 // slow down the build, since unnecessary headers would be included). 4 // hence, all files include precompiled.h and then all the headers they'd 5 // normally lead => best build performance with or without PCH. 6 7 #include "config.h" 8 9 #ifdef _MSC_VER 10 #pragma warning(disable:4996) // function is deprecated 11 #pragma warning(disable:4786) // identifier truncated to 255 chars 12 #endif 13 14 #ifdef HAVE_PCH 15 1 16 #include <string.h> 2 17 #include <stdlib.h> … … 22 37 #include <numeric> 23 38 24 #ifdef _MSC_VER25 #pragma warning(disable:4996) // function is deprecated26 #pragma warning(disable:4786) // identifier truncated to 255 chars27 39 #endif 28 40 29 #include "config.h" 41 42 -
ps/trunk/source/lib/res/file.cpp
r387 r396 27 27 #include "adts.h" 28 28 29 #include <vector> 30 #include <algorithm> 29 31 30 32 // block := power-of-two sized chunk of a file. -
ps/trunk/source/lib/res/font.cpp
r334 r396 24 24 #include "res.h" 25 25 #include "ogl.h" 26 27 #include <string.h> 28 #include <stdio.h> 26 29 27 30 /* -
ps/trunk/source/lib/res/h_mgr.cpp
r334 r396 23 23 #include "mem.h" 24 24 25 // TODO: h_find - required for caching 26 27 28 29 30 25 #include <assert.h> 26 #include <limits.h> // CHAR_BIT 27 #include <string.h> 28 #include <stdlib.h> 31 29 32 30 -
ps/trunk/source/lib/res/mem.cpp
r353 r396 7 7 #include "h_mgr.h" 8 8 9 #include <stdlib.h> 10 #include <assert.h> 11 12 #include <map> 9 13 10 14 ////////////////////////////////////////////////////////////////////////////// -
ps/trunk/source/lib/res/tex.cpp
r361 r396 24 24 #include "res.h" 25 25 #include "ogl.h" 26 27 #include <math.h> 28 #include <stdlib.h> 29 #include <assert.h> 26 30 27 31 -
ps/trunk/source/lib/res/vfs.cpp
r392 r396 23 23 #include "res.h" 24 24 #include "adts.h" 25 26 #include <string.h> 27 28 #include <map> 29 #include <list> 30 #include <vector> 31 #include <string> 32 #include <algorithm> 25 33 26 34 -
ps/trunk/source/lib/res/zip.cpp
r386 r396 21 21 #include "lib.h" 22 22 #include "res.h" 23 24 #include <assert.h> 23 25 24 26 // provision for removing all ZLib code (all inflate calls will fail). -
ps/trunk/source/lib/sysdep/ia32.cpp
r393 r396 29 29 #include "win/wtime.h" 30 30 #endif 31 32 #include <assert.h> 33 #include <string.h> 34 #include <stdio.h> 35 36 #include <vector> 37 #include <algorithm> 31 38 32 39 -
ps/trunk/source/lib/sysdep/win/waio.cpp
r334 r396 19 19 #include "precompiled.h" 20 20 21 #include <io.h>22 23 21 #include "lib.h" 24 22 #include "win_internal.h" 23 24 #include <io.h> 25 26 #include <assert.h> 27 #include <stdlib.h> 25 28 26 29 -
ps/trunk/source/lib/sysdep/win/wdetect.cpp
r334 r396 23 23 24 24 #include "win_internal.h" 25 26 #include <assert.h> 27 #include <stdio.h> 28 #include <stdlib.h> 25 29 26 30 #ifdef _MSC_VER -
ps/trunk/source/lib/sysdep/win/win.cpp
r378 r396 22 22 23 23 #include <crtdbg.h> // malloc debug 24 25 #include <assert.h> 26 #include <stdio.h> 27 #include <stdlib.h> // __argc 24 28 #include <malloc.h> 25 26 29 27 30 // -
ps/trunk/source/lib/sysdep/win/wposix.cpp
r393 r396 21 21 #include "precompiled.h" 22 22 23 #include <process.h>24 25 23 #include "lib.h" 26 24 #include "win_internal.h" 25 26 #include <process.h> 27 28 #include <assert.h> 29 #include <stdio.h> 30 #include <stdlib.h> 27 31 28 32 -
ps/trunk/source/lib/sysdep/win/wsdl.cpp
r334 r396 35 35 #include <SDL_vkeys.h> 36 36 37 #include <assert.h> 38 #include <stdio.h> 39 #include <math.h> 40 37 41 #ifdef _MSC_VER 38 42 #pragma comment(lib, "user32.lib") … … 244 248 245 249 ev->type = SDL_KEYDOWN; 246 ev->key.keysym.sym = (SDLKey)translated_keysym; 250 //ev->key.keysym.sym = (SDLKey)translated_keysym; 251 ev->key.keysym.sym = (SDLKey)((c < 256)? c : 0); 247 252 ev->key.keysym.unicode = c; 248 253 return 1; … … 278 283 // Translation complete: Produce one or more Unicode chars 279 284 char_buf[num_chars]=0; 280 translated_keysym=vkmap(vk);285 ///translated_keysym=vkmap(vk); 281 286 //wprintf(L"ToUnicode: Translated %02x to [%s], %d chars, SDLK %02x. Extended flag %d, scancode %d\n", vk, char_buf, num_chars, translated_keysym, msg.lParam & 0x01000000, scancode); 282 //fflush(stdout);283 287 goto return_char; 284 288 } … … 287 291 // Dead Key: Don't produce an event for this one 288 292 //printf("ToUnicode: Dead Key %02x [%c] [%c] SDLK %02x\n", vk, vk, char_buf[0], vkmap(vk)); 289 //fflush(stdout);290 293 num_chars = 0; 291 294 break; … … 302 305 303 306 //printf("ToUnicode: No translation for %02x, extended flag %d, scancode %d, SDLK %02x [%c]\n", vk, msg.lParam & 0x01000000, scancode, ev->key.keysym.sym, ev->key.keysym.sym); 304 //fflush(stdout);305 307 306 308 return 1; -
ps/trunk/source/lib/sysdep/win/wsock.cpp
r390 r396 22 22 #include "wsock.h" 23 23 24 #include <assert.h> 25 26 #ifdef _MSC_VER 24 27 #pragma comment(lib, "ws2_32.lib") 28 #endif 25 29 26 30 -
ps/trunk/source/lib/sysdep/win/wtime.cpp
r389 r396 24 24 25 25 #include "win_internal.h" 26 27 #include <math.h> 28 29 #include <algorithm> 30 #include <numeric> 31 26 32 27 33 // we no longer use TGT, due to issues on Win9x; GTC is just as good. -
ps/trunk/source/lib/timer.cpp
r392 r396 21 21 #include "timer.h" 22 22 23 #include <math.h> 23 24 24 25 // wrapper over gettimeofday, instead of emulating it for Windows,
Note:
See TracChangeset
for help on using the changeset viewer.
