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

1929 Commits

Author SHA1 Message Date
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
Toni Spets
fc32b6a6d1 Fix RA edwin not receiving another unknown message 2010-11-26 21:58:03 +02:00
Toni Spets
d7c8cde0a3 640x480 mode cursor boundary hack 2010-11-26 21:44:31 +02:00
Toni Spets
1cba0b66b2 Don't fake cursor position if mhack is disabled, clicking fixed 2010-11-26 21:18:48 +02:00
Toni Spets
020168f725 Send more keyboard events to game, fixes Alt issues 2010-11-26 20:21:22 +02:00
Toni Spets
31ed343a1e Add version information 2010-11-23 20:09:00 +02:00
Toni Spets
9b7fa91afa Fix CnCNet + cnc-ddraw + RA combination 2010-11-23 18:04:04 +02:00
Toni Spets
2d5403338e Fix an issue with cncnet launcher, incorrectly called CloseHandle on loaded module handle 2010-11-23 17:36:12 +02:00
Toni Spets
f59421bbe8 Fix freezing when minimizing, thanks to Heavylobster for reporting and testing 2010-11-21 18:19:41 +02:00