1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-20 08:09:10 +01:00

41 Commits

Author SHA1 Message Date
FunkyFr3sh
c44055a214 set timeBeignPeriod in DllMain - Add SetProcessPriorityBoost 2017-11-13 13:50:54 +01:00
FunkyFr3sh
fbdfe63231 configurable screenshot hotkey 2017-11-12 15:11:22 +01:00
FunkyFr3sh
3d7f370438 save window position 2017-11-12 14:57:27 +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
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
a40282013b Use a semaphore object to synchronize rendering thread with the game 2011-06-29 22:47:29 +03:00
Toni Spets
84acbbc0c3 Re-implement software renderer in GDI 2011-04-02 21:18:14 +03: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
2d5403338e Fix an issue with cncnet launcher, incorrectly called CloseHandle on loaded module handle 2010-11-23 17:36:12 +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
57e7ddf3fc Manual sensitivity scaling option to ini 2010-11-18 17:23:01 +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
c940464de2 Remove unused winpos stuff 2010-11-17 18:55:57 +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
7ff0c285ba Add new ini option, adjmouse, enables mouse sensitivity scaling 2010-11-07 15:54:47 +02:00
Toni Spets
d267c831de Use real relative cursor, fixes scaling issues 2010-11-07 12:10:09 +02:00
Toni Spets
4b3b799106 Use power-of-two texture in OpenGL, optimize rendering, add bpp selection into ini 2010-11-07 09:59:44 +02:00
Toni Spets
d245af34bb Workaround OpenGL init issue on Windows, hackish 2010-11-06 21:42:37 +02:00
Toni Spets
423c510a17 Add configuration trough ddraw.ini 2010-11-06 21:30:48 +02:00
Toni Spets
1521648a6e Move renderers out of surface 2010-11-06 08:28:11 +02:00
Toni Spets
5edb561b2b Try to avoid race condition on startup, more work on limiting the scrolling speed 2010-11-05 17:45:32 +02:00
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
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
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
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
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
487c98aa1f Fix incorrect method definition for CreatePalette, Red Alert loads up the menu! 2010-10-17 09:17:10 +03:00
Toni Spets
3c257aac86 Use bpp from display mode for surfaces 2010-10-17 00:41:14 +03:00