Author: akhaldi
Date: Tue Jul 26 22:09:21 2011
New Revision: 52908
URL:
http://svn.reactos.org/svn/reactos?rev=52908&view=rev
Log:
[3DTEXT]
* Use 3dtext.h as a PCH.
Modified:
trunk/reactos/base/applications/screensavers/3dtext/3dtext.c
trunk/reactos/base/applications/screensavers/3dtext/3dtext.h
trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt
trunk/reactos/base/applications/screensavers/3dtext/settings.c
Modified: trunk/reactos/base/applications/screensavers/3dtext/3dtext.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/3dtext.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/screensavers/3dtext/3dtext.c [iso-8859-1] Tue Jul 26
22:09:21 2011
@@ -18,14 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <windows.h>
-#include <scrnsave.h>
-#include <math.h>
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <tchar.h>
-
-#include "resource.h"
#include "3dtext.h"
static HGLRC hRC; // Permanent Rendering Context
Modified: trunk/reactos/base/applications/screensavers/3dtext/3dtext.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/3dtext.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/screensavers/3dtext/3dtext.h [iso-8859-1] Tue Jul 26
22:09:21 2011
@@ -20,6 +20,15 @@
//////////////////////////////////////////////////////////////////
+#include <windows.h>
+#include <scrnsave.h>
+#include <math.h>
+#include <GL/gl.h>
+#include <GL/glu.h>
+#include <tchar.h>
+
+#include "resource.h"
+
extern TCHAR m_Text[MAX_PATH];
VOID LoadSettings(VOID);
Modified: trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/screensavers/3dtext/CMakeLists.txt [iso-8859-1] Tue
Jul 26 22:09:21 2011
@@ -8,8 +8,8 @@
rsrc.rc)
set_module_type(3dtext win32gui)
+add_pch(3dtext 3dtext.h)
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
-
target_link_libraries(3dtext scrnsave)
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
Modified: trunk/reactos/base/applications/screensavers/3dtext/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
==============================================================================
--- trunk/reactos/base/applications/screensavers/3dtext/settings.c [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/screensavers/3dtext/settings.c [iso-8859-1] Tue Jul 26
22:09:21 2011
@@ -20,8 +20,6 @@
//////////////////////////////////////////////////////////////////
-#include <windows.h>
-#include <tchar.h>
#include "3dtext.h"
TCHAR m_Text[MAX_PATH];