annotate src/main/win32/version.rc @ 4138:b1fd24d62e55 SDL-1.2

Date: Tue, 05 Feb 2008 01:41:08 -0500 From: Mike Miscevic Subject: SDL and capslock/numlock Find attached a patch against SDL-1.2.13 for check of SDL_NO_LOCK_KEYS environment variable. This differs slightly from other patches I've seen in that it has 3 modes: Disable CAPS-LOCK and NUM-LOCK supression of down+up key events, suitable for games where the player needs these keys to do more than just toggle. A value of 1 will effect both CAPS-LOCK and NUM-LOCK. A value of 2 will effect only CAPS-LOCK. A value of 3 will effect only NUM-LOCK. All other values have no effect. This works for me and has been tested on: - Fedora 8 64-bit - SRCRPM SDL-1.2.13-1.fc8.src.rpm - Emeny Territory Quake Wars (ETQW), native 32-bit commercial game --Mike Miscevic
author Sam Lantinga <slouken@libsdl.org>
date Tue, 26 Feb 2008 10:50:28 +0000
parents 42f34d595d8b
children a1b03ba2fcd0
rev   line source
4089
37345dc3dd83 Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents: 4078
diff changeset
1
37345dc3dd83 Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents: 4078
diff changeset
2 #include "winresrc.h"
4078
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 /////////////////////////////////////////////////////////////////////////////
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 //
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 // Version
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 //
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 VS_VERSION_INFO VERSIONINFO
4111
42f34d595d8b Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents: 4089
diff changeset
12 FILEVERSION 1,2,13,0
42f34d595d8b Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents: 4089
diff changeset
13 PRODUCTVERSION 1,2,13,0
4078
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14 FILEFLAGSMASK 0x3fL
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 FILEFLAGS 0x0L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 FILEOS 0x40004L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 FILETYPE 0x2L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18 FILESUBTYPE 0x0L
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 BLOCK "StringFileInfo"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 BLOCK "040904b0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 VALUE "CompanyName", "\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 VALUE "FileDescription", "SDL\0"
4111
42f34d595d8b Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents: 4089
diff changeset
26 VALUE "FileVersion", "1, 2, 13, 0\0"
4078
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 VALUE "InternalName", "SDL\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 VALUE "LegalCopyright", "Copyright © 2007 Sam Lantinga\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29 VALUE "OriginalFilename", "SDL.dll\0"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 VALUE "ProductName", "Simple DirectMedia Layer\0"
4111
42f34d595d8b Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents: 4089
diff changeset
31 VALUE "ProductVersion", "1, 2, 13, 0\0"
4078
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
32 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
34 BLOCK "VarFileInfo"
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
35 BEGIN
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 VALUE "Translation", 0x409, 1200
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37 END
5e6f2972f963 Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 END