| Index: ddraw/trace.c |
| — | — | @@ -1,32 +0,0 @@ |
| 2 | | -// DXGL
|
| 3 | | -// Copyright (C) 2013 William Feely
|
| 4 | | -
|
| 5 | | -// This library is free software; you can redistribute it and/or
|
| 6 | | -// modify it under the terms of the GNU Lesser General Public
|
| 7 | | -// License as published by the Free Software Foundation; either
|
| 8 | | -// version 2.1 of the License, or (at your option) any later version.
|
| 9 | | -
|
| 10 | | -// This library is distributed in the hope that it will be useful,
|
| 11 | | -// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 | | -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 13 | | -// Lesser General Public License for more details.
|
| 14 | | -
|
| 15 | | -// You should have received a copy of the GNU Lesser General Public
|
| 16 | | -// License along with this library; if not, write to the Free Software
|
| 17 | | -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
| 18 | | -
|
| 19 | | -#include "common.h"
|
| 20 | | -#include "trace.h"
|
| 21 | | -
|
| 22 | | -#ifdef _TRACE
|
| 23 | | -HANDLE outfile = INVALID_HANDLE_VALUE;
|
| 24 | | -void TRACE_ENTER(const char *function, int argtype, void *arg, int end)
|
| 25 | | -{
|
| 26 | | -}
|
| 27 | | -void TRACE_ARG(int argtype, void *arg, int end)
|
| 28 | | -{
|
| 29 | | -}
|
| 30 | | -void TRACE_EXIT(const char *function, int argtype, void *arg)
|
| 31 | | -{
|
| 32 | | -}
|
| 33 | | -#endif |
| \ No newline at end of file |
| Index: cfgmgr/ReadMe.txt |
| — | — | @@ -119,4 +119,11 @@ |
| 120 | 120 | Method used to upload textures
|
| 121 | 121 | Valid settings:
|
| 122 | 122 | 0 - Automatic
|
| 123 | | -1 - OpenGL Standard |
| \ No newline at end of file |
| | 123 | +1 - OpenGL Standard
|
| | 124 | +
|
| | 125 | +Member Windows8Detected
|
| | 126 | +REG_DWORD HKCU\DXGL\Global\Windows8Detected
|
| | 127 | +Nonzero if Windows 8 (or later) is detected.
|
| | 128 | +If zero or undefined and Windows 8 (or later) is detected, AllColorDepths in
|
| | 129 | +Global key is set to 1 and Windows8Detected is also set to 1.
|
| | 130 | +If nonzero, AllColorDepths is not affected. |
| \ No newline at end of file |
| Index: ddraw/ddraw.vcxproj |
| — | — | @@ -360,7 +360,7 @@ |
| 361 | 361 | <ClCompile Include="shadergen.cpp" />
|
| 362 | 362 | <ClCompile Include="shaders.cpp" />
|
| 363 | 363 | <ClCompile Include="texture.cpp" />
|
| 364 | | - <ClCompile Include="trace.c" />
|
| | 364 | + <ClCompile Include="trace.cpp" />
|
| 365 | 365 | </ItemGroup>
|
| 366 | 366 | <ItemGroup>
|
| 367 | 367 | <ResourceCompile Include="ddraw.rc" />
|
| Index: ddraw/ddraw.vcxproj.filters |
| — | — | @@ -211,7 +211,7 @@ |
| 212 | 212 | <ClCompile Include="glDirect3DExecuteBuffer.cpp">
|
| 213 | 213 | <Filter>Source Files</Filter>
|
| 214 | 214 | </ClCompile>
|
| 215 | | - <ClCompile Include="trace.c">
|
| | 215 | + <ClCompile Include="trace.cpp">
|
| 216 | 216 | <Filter>Source Files</Filter>
|
| 217 | 217 | </ClCompile>
|
| 218 | 218 | </ItemGroup>
|
| Index: ddraw/trace.cpp |
| — | — | @@ -0,0 +1,32 @@ |
| | 2 | +// DXGL
|
| | 3 | +// Copyright (C) 2013 William Feely
|
| | 4 | +
|
| | 5 | +// This library is free software; you can redistribute it and/or
|
| | 6 | +// modify it under the terms of the GNU Lesser General Public
|
| | 7 | +// License as published by the Free Software Foundation; either
|
| | 8 | +// version 2.1 of the License, or (at your option) any later version.
|
| | 9 | +
|
| | 10 | +// This library is distributed in the hope that it will be useful,
|
| | 11 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| | 12 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| | 13 | +// Lesser General Public License for more details.
|
| | 14 | +
|
| | 15 | +// You should have received a copy of the GNU Lesser General Public
|
| | 16 | +// License along with this library; if not, write to the Free Software
|
| | 17 | +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
| | 18 | +
|
| | 19 | +#include "common.h"
|
| | 20 | +#include "trace.h"
|
| | 21 | +
|
| | 22 | +#ifdef _TRACE
|
| | 23 | +HANDLE outfile = INVALID_HANDLE_VALUE;
|
| | 24 | +void TRACE_ENTER(const char *function, int argtype, void *arg, int end)
|
| | 25 | +{
|
| | 26 | +}
|
| | 27 | +void TRACE_ARG(int argtype, void *arg, int end)
|
| | 28 | +{
|
| | 29 | +}
|
| | 30 | +void TRACE_EXIT(const char *function, int argtype, void *arg)
|
| | 31 | +{
|
| | 32 | +}
|
| | 33 | +#endif |
| \ No newline at end of file |
| Index: ddraw/trace.h |
| — | — | @@ -20,10 +20,6 @@ |
| 21 | 21 | #define _TRACE_H
|
| 22 | 22 |
|
| 23 | 23 |
|
| 24 | | -#ifdef __cplusplus
|
| 25 | | -extern "C" {
|
| 26 | | -#endif
|
| 27 | | -
|
| 28 | 24 | #ifdef _TRACE
|
| 29 | 25 | void TRACE_ENTER(const char *function, int argtype, void *arg, int end);
|
| 30 | 26 | void TRACE_ARG(int argtype, void *arg, int end);
|
| — | — | @@ -34,9 +30,4 @@ |
| 35 | 31 | #define TRACE_EXIT(a,b,c)
|
| 36 | 32 | #endif
|
| 37 | 33 |
|
| 38 | | -
|
| 39 | | -
|
| 40 | | -#ifdef __cplusplus
|
| 41 | | -}
|
| 42 | | -#endif
|
| 43 | 34 | #endif //_TRACE_H |
| \ No newline at end of file |