1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-21 00:19:11 +01:00

74 Commits

Author SHA1 Message Date
Toni Spets
b6f989eeee Synchronize Unlock and Blt with drawing loop, force loop to constant 60 FPS, fixes too fast scrolling (its still fast) 2010-10-27 21:03:09 +03:00
Toni Spets
9606f1b54f Allow non-windowed mode too 2010-10-27 20:13:32 +03:00
Toni Spets
dba56f02fe Remove sysmenu and close button, they just can't work 2010-10-25 19:58:36 +03:00
Toni Spets
da3f185491 Handle window activation and deactivation a little better, force topmost 2010-10-25 19:37:51 +03:00
Toni Spets
c196186614 Frame limiter, force the game to draw even when inactive 2010-10-25 18:51:39 +03:00
Toni Spets
7595f6d7e5 Change unlock combination to Ctrl+Tab which doesn't conflict with any game bindings 2010-10-24 21:51:30 +03:00
Toni Spets
271622e1f5 Fix window position and size, center it by default 2010-10-24 21:47:54 +03:00
Toni Spets
03b62b21d4 Fix mouse hooks, workaround 64bit crash 2010-10-24 19:47:51 +03:00
Toni Spets
4e57e75652 First take at real windowed mode, includes a hack for CnC and RA mouse 2010-10-24 01:02:08 +03:00
Toni Spets
7bb1168a90 Reworked clipper and implemented all remaining stubs 2010-10-23 20:25:51 +03:00
Toni Spets
b77d441bee Implement all remaining stubs for IDirectDrawSurface, C&C95 now works 2010-10-23 19:54:45 +03:00
Toni Spets
e07abb7e18 Implement all IDirectDraw stubs, C&C now starts up on Wine 2010-10-23 19:25:02 +03:00
Toni Spets
023794ae97 Rework naming convention, fixes some C&C issues 2010-10-23 17:04:01 +03:00
Toni Spets
cc21e924bb Switch to real ddraw for drawing, avoids windows ogl issues 2010-10-23 00:15:11 +03:00
Toni Spets
b43517cb11 Implement stub clipper 2010-10-20 18:45:27 +03:00
Toni Spets
5669fe3380 Big cleanup, should now correctly release everything 2010-10-17 21:38:40 +03:00
Toni Spets
c3ed0a00b1 Use game's own window for drawing, initial drawing with grayscale palette 2010-10-17 14:19:48 +03:00
Toni Spets
ad037e718c Initialize OpenGL and clear the screen to blue on update 2010-10-17 10:53:01 +03:00
Toni Spets
31070a9662 Set dwCaps in ddraw_GetCaps, Implement stub AddAttachedSurface 2010-10-17 08:44:48 +03:00
Toni Spets
3c257aac86 Use bpp from display mode for surfaces 2010-10-17 00:41:14 +03:00
Toni Spets
15ff8f8e2a Implement GetCaps for ddraw and surface, GetPalette and SetPalette for surface 2010-10-16 23:22:43 +03:00
Toni Spets
4ffda7b73f Implement stub surface Blt, Lock and Unlock 2010-10-16 22:10:25 +03:00
Toni Spets
f10aad6ffb Implement palette and surface with null methods 2010-10-16 21:14:26 +03:00
Toni Spets
53137e4d8d Initial work 2010-10-10 19:41:47 +03:00