1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

137 Commits

Author SHA1 Message Date
Maikel vd H
76110ef9f4 fix video stretching when cnc-ddraw is stretching a game 2012-12-20 19:05:29 +01:00
Maikel vd H
4c376dc491 fix mouse boundary on screen while video stretching and respect vhack setting 2012-12-11 10:30:22 +01:00
Maikel vd H
b91be078fd fix red alert 1 video stretching for my patch and add GDI renderer video stretching 2012-12-11 00:25:21 +01:00
Toni Spets
0a4aa43722 Improve devmode mouse handling so testing is faster 2012-08-09 14:35:28 +03:00
Toni Spets
a24045e39d Fix Carmageddon loading screen and fade animation 2012-06-03 00:52:28 -04:00
Toni Spets
7c0f9a4fa3 Fix corrupted icons in RA 3.03 WOL 2011-12-15 21:54:25 +02:00
Toni Spets
5524700d06 Handle DirectDrawSurface::GetPalette, fixes WOL in RA 3.03 2011-12-09 14:10:56 +02:00
Toni Spets
ac25cc5942 Fix major bug in OpenGL renderer's texture size, used NPOT textures if your target resolution was over 1024x1024, it was supposed to check the actual game resolution instead 2011-10-18 21:45:44 +03:00
Toni Spets
b9feb2df1a Add missing file 2011-10-18 07:06:09 +03:00
Toni Spets
c6dfae327e Add singlecpu ini var for CPU0 affinity forcing 2011-09-27 20:09:12 +03:00
Toni Spets
3c79b4aa4b Try to introduce better window message handling and management, most probably needs fixing 2011-09-11 19:12:07 +03:00
Toni Spets
f02ef15bc4 Handle NULL point in fake_GetCursorPos 2011-09-11 19:09:15 +03:00
Toni Spets
049d826473 Honor SetEntries offset and count for Diablo 2011-09-11 19:08:43 +03:00
Toni Spets
b1ca3afc6c Default to GDI for best compatibility, don't force minimum window size, disable vhack by default until v1.06c r2 2011-09-11 19:08:12 +03:00
Toni Spets
a93c04e23e Fix cursor offset on unlock in windowed 2011-09-11 16:10:43 +03:00
Toni Spets
b29cf0a0e6 Send WM_USER with NULL hWnd on exit so the plugin knows 2011-08-28 13:56:10 +03:00
Toni Spets
30f5b46e6c Be more flexible with cnc-plugin, also now transparently just works without touching the ini 2011-08-22 17:40:21 +03:00
Toni Spets
2b47947742 Add support for cnc-plugin 2011-08-21 10:34:42 +03:00
Toni Spets
c70e0e61d8 Initialize correct cursor 2011-07-09 18:29:58 +03:00
Toni Spets
3f061f3a3b Implement letter- and windowboxing for GDI 2011-07-09 17:39:01 +03:00
Toni Spets
6c7e656c67 Optimize GDI renderer by blitting directly to DC 2011-07-09 16:46:51 +03:00
Toni Spets
921684fed8 Add support for borderless mode 2011-07-09 15:20:57 +03:00
Toni Spets
83fba414d4 Fix minor flipping bug that caused flickering in Carmageddon 2011-07-09 12:35:59 +03:00
Toni Spets
134f388c95 Change mouse handling so locking/unlocking feels more natural, fix click getting trough on lock, allow locking with RMB 2011-07-08 18:22:43 +03:00
Toni Spets
1ac06dc85f Add another OpenGL note 2011-07-05 21:48:51 +03:00
Toni Spets
bfb161f27c Start colors from zero index in GDI, dunno how it worked before 2011-07-05 21:46:12 +03:00
Toni Spets
c69f258e42 Default maxfps to 0, add ogl notices to comments 2011-07-05 21:45:39 +03:00
Toni Spets
4cb7b61cc3 Expose software renderer in ddraw.ini 2011-07-05 21:36:54 +03:00
Toni Spets
2ba4bbf1e2 Make both renderers flip 10 fps when the window is inactive so something is drawn 2011-07-05 21:31:00 +03:00
Toni Spets
233aa94adf Only stop the OpenGL renderer when inactive, fixes black screen issue with GDI 2011-07-05 21:30:08 +03:00
Toni Spets
517eef41dc Going towards TS support in mainline 2011-07-01 10:55:10 +03:00
Toni Spets
706874f7f9 Implement GetSurfaceDesc, EnumAttachedSurfaces and Flip in IDirectDrawSurface, adds Carmageddon support to mainline 2011-06-29 23:18:42 +03:00
Toni Spets
a40282013b Use a semaphore object to synchronize rendering thread with the game 2011-06-29 22:47:29 +03:00
Toni Spets
5192ebc44f Don't allow click to go trough when re-locking the cursor 2011-04-02 21:57:37 +03:00
Toni Spets
ea71fa5590 Use cursorclip to center the cursor when locking 2011-04-02 21:49:15 +03:00
Toni Spets
514f35f302 Use #define for cutscene sizes 2011-04-02 21:37:04 +03:00
Toni Spets
84acbbc0c3 Re-implement software renderer in GDI 2011-04-02 21:18:14 +03:00
Toni Spets
a0c80f3e83 Change palette data_rgb to external RGBQUAD array for software rendering, it was not used before 2011-04-02 21:05:14 +03:00
Toni Spets
6e01d1c722 Initialize cursorclip to game size 2011-04-02 19:40:22 +03:00
Toni Spets
e9436a95c8 Don't capture mouse events outside the client area, messes up window dragging 2011-03-26 08:37:54 +02:00
Toni Spets
d248971e1c Bump up copyright version for 2011 2011-03-24 20:29:45 +02:00
Toni Spets
e048df42d7 Force mouse clip when using vhack 2011-03-24 19:42:36 +02:00
Toni Spets
c073805db3 Add support for C&C video scaling 2011-03-24 19:41:36 +02:00
Toni Spets
a803c12995 Use npot textures if the surface size exceeds 1024x1024 2011-03-24 19:08:27 +02:00
Toni Spets
740730d1fc Fix window size restore issues with Wine 2011-03-24 17:30:22 +02:00
Toni Spets
d42ca86297 Switch to O3 instead of Os, use gcc 3.x to get the fastest build 2011-03-12 23:40:32 +02:00
Toni Spets
e9bce8cdc1 Fix Westwood Chat, should now work 2011-01-10 22:17:29 +02:00
Toni Spets
48bed3d6f1 More StarCraft and generic support, fix mhack permissions 2010-12-12 15:17:25 +02:00
Toni Spets
1ecc6bb248 Fix a few warnings 2010-12-11 18:58:58 +02:00
Toni Spets
a8cdb4e2f2 Support StarCraft's mouse and keyboard events 2010-12-11 14:45:09 +02:00