1
0
forked from 0ad/0ad

Moved UI specific code to it's own directory.

This was SVN commit r331.
This commit is contained in:
notpete 2004-05-31 20:37:59 +00:00
parent ad2e237946
commit e555221221
59 changed files with 3 additions and 25 deletions

View File

@ -1,23 +1,9 @@
#include "stdafx.h"
#include "NaviCam.h"
#include "EditorData.h"
#include <stdarg.h>
CNaviCam g_NaviCam;
static void DbgText(char* str, ...)
{
char buf[1024];
va_list args;
va_start(args, str);
vsprintf(buf, str, args);
va_end(args);
OutputDebugString(buf);
}
///////////////////////////////////////////////////////////////////////////////
// CNaviCam constructor
CNaviCam::CNaviCam() : m_CameraZoom(10)

View File

@ -54,7 +54,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
# ADD LINK32 nafxcw.lib pslib.lib opengl32.lib glu32.lib ws2_32.lib version.lib xerces-c_2.lib /nologo /entry:"entry" /subsystem:windows /map /machine:I386 /out:"D:\0ad\binaries\system\ScEd.exe" /libpath:"..\libs" /fixed:no
# ADD LINK32 nafxcw.lib opengl32.lib glu32.lib ws2_32.lib version.lib xerces-c_2.lib /nologo /entry:"entry" /subsystem:windows /map /machine:I386 /out:"D:\0ad\binaries\system\ScEd.exe" /libpath:"..\libs" /fixed:no
# SUBTRACT LINK32 /pdb:none /debug
!ELSEIF "$(CFG)" == "ScEd - Win32 Debug"

View File

@ -1,8 +0,0 @@
// stdafx.cpp : source file that includes just the standard includes
// ScEd.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"

View File

View File

@ -206,12 +206,12 @@ bool CScEdView::SetupPixelFormat(HDC dc)
PFD_TYPE_RGBA, // RGBA type
bpp==16 ? 16 : 24, // 16/24 bit color depth
0, 0, 0, 0, 0, 0, // color bits ignored
bpp==16 ? 0 : 8, // 16/24 bit color depth
bpp==16 ? 0 : 8, // alpha bits
0, // shift bit ignored
0, // no accumulation buffer
0, 0, 0, 0, // accum bits ignored
24, // 24-bit z-buffer
8, // 8-bit stencil buffer
0, // 8-bit stencil buffer
0, // no auxiliary buffer
PFD_MAIN_PLANE, // main layer
0, // reserved