Changeset - r4477:322a201874b8
[Not reviewed]
master
0 1 0
tron - 18 years ago 2006-08-31 10:14:47
tron@openttd.org
(svn r6262) Remove unused #define and function declaration
1 file changed with 0 insertions and 5 deletions:
0 comments (0 inline, 0 general)
video/win32_v.c
Show inline comments
 
@@ -77,16 +77,12 @@ typedef struct {
 
	byte map_to;
 
} VkMapping;
 

	
 
#define AS(x, z) {x, 0, z}
 
#define AM(x, y, z, w) {x, y - x, z}
 

	
 
#ifndef VK_OEM_3
 
#define VK_OEM_3 0xC0
 
#endif
 

	
 
static const VkMapping _vk_mapping[] = {
 
	// Pageup stuff + up/down
 
	AM(VK_PRIOR,VK_DOWN, WKC_PAGEUP, WKC_DOWN),
 
	// Map letters & digits
 
	AM('A','Z','A','Z'),
 
	AM('0','9','0','9'),
 
@@ -128,13 +124,12 @@ static uint MapWindowsKey(uint sym)
 
	if (GetAsyncKeyState(VK_SHIFT)   < 0) key |= WKC_SHIFT;
 
	if (GetAsyncKeyState(VK_CONTROL) < 0) key |= WKC_CTRL;
 
	if (GetAsyncKeyState(VK_MENU)    < 0) key |= WKC_ALT;
 
	return key;
 
}
 

	
 
static void MakeWindow(bool full_screen);
 
static bool AllocateDibSection(int w, int h);
 

	
 
static void ClientSizeChanged(int w, int h)
 
{
 
	if (_wnd.double_size) {
 
		w /= 2;
0 comments (0 inline, 0 general)