Mercurial > mm7
comparison Render.h @ 1655:a7eebb6ee7a2
Window Resize (change arguments to MM7_Initialize)
author | Nomad |
---|---|
date | Wed, 18 Sep 2013 11:13:38 +0200 |
parents | 75fafd8ced59 |
children | f1cdf8c062d4 |
comparison
equal
deleted
inserted
replaced
1654:d11b5669f089 | 1655:a7eebb6ee7a2 |
---|---|
267 Render(); | 267 Render(); |
268 ~Render(); | 268 ~Render(); |
269 | 269 |
270 static Render *Create() {return new Render;} | 270 static Render *Create() {return new Render;} |
271 | 271 |
272 bool Initialize(bool bWindowed, uint32_t uDefaultDevice, | 272 bool Initialize(bool bWindowed, int window_width, int window_height, uint32_t uDefaultDevice, |
273 bool bColoredLights, uint32_t uDetailLevel, bool bTinting); | 273 bool bColoredLights, uint32_t uDetailLevel, bool bTinting); |
274 | 274 |
275 | 275 |
276 bool IsColorKeySupported(IDirectDraw4 *); | 276 bool IsColorKeySupported(IDirectDraw4 *); |
277 void _49EBF1(); | 277 void _49EBF1(); |
455 unsigned int uNumBillboardsToDraw; | 455 unsigned int uNumBillboardsToDraw; |
456 int field_129834; | 456 int field_129834; |
457 unsigned int uCurrentlyLockedSurfacePitch; | 457 unsigned int uCurrentlyLockedSurfacePitch; |
458 unsigned __int16 *pCurrentlyLockedSurfaceDataPtr; | 458 unsigned __int16 *pCurrentlyLockedSurfaceDataPtr; |
459 unsigned __int16 *pCurrentlyLockedSoftSurface; | 459 unsigned __int16 *pCurrentlyLockedSoftSurface; |
460 | |
461 | |
462 int windowed_mode_width; | |
463 int windowed_mode_height; | |
460 }; | 464 }; |
461 #pragma pack(pop) | 465 #pragma pack(pop) |
462 | 466 |
463 extern struct IDirectDrawClipper *pDDrawClipper; | 467 extern struct IDirectDrawClipper *pDDrawClipper; |
464 extern struct Render *pRenderer; // idb | 468 extern struct Render *pRenderer; // idb |