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

84 Commits

Author SHA1 Message Date
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
921684fed8 Add support for borderless mode 2011-07-09 15:20:57 +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
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
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
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
84acbbc0c3 Re-implement software renderer in GDI 2011-04-02 21:18: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
c073805db3 Add support for C&C video scaling 2011-03-24 19:41:36 +02:00
Toni Spets
740730d1fc Fix window size restore issues with Wine 2011-03-24 17:30:22 +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
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
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
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
158344348d Pass only the minimal amount of window messages to game wndproc 2010-11-21 17:50:20 +02:00
Toni Spets
e019401407 Use ^S instead for screenshots, VK_SNAPSHOT is not sent to WindowProc 2010-11-21 17:11:47 +02:00
Toni Spets
aa69dbbb3e Initial screenshot support for paletted surfaces 2010-11-20 21:08:17 +02:00
Toni Spets
57e7ddf3fc Manual sensitivity scaling option to ini 2010-11-18 17:23:01 +02:00
Toni Spets
8a3f17a18e Use HeapFree() instead of free(), dumb mistake 2010-11-18 16:47:25 +02:00
Toni Spets
6b237c5ba1 Flip scrolling issues around, it'll slow on load instead of jumping fast 2010-11-18 16:46:22 +02:00
Toni Spets
d066962617 Add vsync ini option, controls GL_EXT_swap_control, default disabled 2010-11-17 22:12:19 +02:00
Toni Spets
fe6322d165 Move mouse movement stuff to fake_GetCursorPos where it should be 2010-11-17 18:57:22 +02:00
Toni Spets
c940464de2 Remove unused winpos stuff 2010-11-17 18:55:57 +02:00
Toni Spets
f092dd601a Fix cursor release, didn't read MSDN carefully enough 2010-11-17 18:53:39 +02:00
Toni Spets
167342411f Fix alt-tab when fullscreen and remove SendMessage hack 2010-11-16 19:13:59 +02:00
Toni Spets
790b5ab5ea Use a more simple way to detect unlock hotkey 2010-11-16 18:14:02 +02:00
Toni Spets
3e594b10c6 Move some render init stuff out of render main loop 2010-11-16 18:07:59 +02:00
Toni Spets
fdf8395dd1 Move critical section to main ddraw, fix shadow window bug when exiting fullscreen 2010-11-15 22:25:12 +02:00
Toni Spets
40f196bc8f Add 'devmode' ini variable for Nyerguds 2010-11-15 20:37:02 +02:00
Toni Spets
924a5254a8 Allow disabling mouse hacks 2010-11-15 20:36:22 +02:00
Toni Spets
d881b92c1c Support minimize and close buttons 2010-11-13 10:49:46 +02:00
Toni Spets
34df9fe79a Remove legacy ddraw code 2010-11-12 19:50:00 +02:00
Toni Spets
22134748e1 Create default ddraw.ini if it doesn't exist 2010-11-09 17:49:14 +02:00
Toni Spets
b6642edb67 Default to current mode bpp 2010-11-09 17:47:41 +02:00
Toni Spets
23cf107020 Change default maxfps to 120 2010-11-09 17:46:30 +02:00
Toni Spets
f9cc483e67 Default to 32 bpp 2010-11-08 21:47:49 +02:00
Toni Spets
17968c433c Fix a recursive call when DirectDraw is created more than once 2010-11-08 21:42:23 +02:00
Toni Spets
52ec288169 Allow mouse unlocking in fullscreen (for dual head users mostly) 2010-11-08 19:23:13 +02:00
Toni Spets
b2c1500c70 Do not free DirectDraw ever, avoids crashing issue on exit with Red Alert, real surface can be freed 2010-11-08 18:54:03 +02:00