|
|
| version 1.25, 2007/11/11 07:11:27 | version 1.27, 2011/03/07 09:54:11 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | /** |
| #include <ddraw.h> | * @file scrnmng.cpp |
| * @brief Screen Manager (DirectDraw2) | |
| * | |
| * @author $Author$ | |
| * @date $Date$ | |
| */ | |
| #include "compiler.h" | |
| #include <ddraw.h> | |
| #ifndef __GNUC__ | #ifndef __GNUC__ |
| #include <winnls32.h> | #include <winnls32.h> |
| #endif | #endif |
| #include "resource.h" | #include "resource.h" |
| #include "np2.h" | #include "np2.h" |
| #include "winloc.h" | #include "winloc.h" |
| #include "mousemng.h" | #include "mousemng.h" |
| #include "scrnmng.h" | #include "scrnmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "menu.h" | #include "menu.h" |
| #include "np2class.h" | #include "np2class.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "scrndraw.h" | #include "scrndraw.h" |
| #include "palettes.h" | #include "palettes.h" |
| #if defined(SUPPORT_DCLOCK) | #if defined(SUPPORT_DCLOCK) |
| #include "dclock.h" | #include "dclock.h" |
| #endif | #endif |
| #if !defined(__GNUC__) | |
| #pragma comment(lib, "ddraw.lib") | |
| #pragma comment(lib, "dxguid.lib") | |
| #endif // !defined(__GNUC__) | |
| extern WINLOCEX np2_winlocexallwin(HWND base); | extern WINLOCEX np2_winlocexallwin(HWND base); |
| Line 615 BRESULT scrnmng_create(UINT8 scrnmode) { | Line 628 BRESULT scrnmng_create(UINT8 scrnmode) { |
| ddraw.height = height; | ddraw.height = height; |
| ddraw.cliping = 0; | ddraw.cliping = 0; |
| renewalclientsize(FALSE); | renewalclientsize(FALSE); |
| screenupdate = 3; // update! | // screenupdate = 3; // update! |
| return(SUCCESS); | return(SUCCESS); |
| scre_err: | scre_err: |