Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 6064 → Rev 6065

/source/tools/src/enumdisplay.cpp
1,10 → 1,9
#include <stdio.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "dx/ddraw.h"
 
#include "compat.h"
 
#define NEED_DDRAW_H
#include "windows_inc.h"
 
#define DEFAULT_OUTPUT_FILE "enumdisplay.txt"
 
HMODULE hDDrawDLL = NULL;
/source/tools/src/getdxdidf.cpp
1,14 → 1,11
// compile with:
// gcc -o getdxdidf.exe src\getdxdidf.c -Ic:\mingw32\dx6\include -Lc:\mingw32\dx6\lib -ldxguid -ldinput -mwindows
 
#define WIN32_LEAN_AND_MEAN
#define INITGUID
#define DIRECTINPUT_VERSION 0x0700
#include <windows.h>
#include "dx/dinput.h"
#include <stdio.h>
#include "compat.h"
 
#define NEED_DINPUT_H
#include "windows_inc.h"
 
char const * WhatGUID(const GUID *guid)
{
if (guid == &GUID_XAxis) return "&GUID_XAxis";