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

150 Commits

Author SHA1 Message Date
FunkyFr3sh
c44055a214 set timeBeignPeriod in DllMain - Add SetProcessPriorityBoost 2017-11-13 13:50:54 +01:00
FunkyFr3sh
bfb0edd2c6 use THREAD_PRIORITY_BELOW_NORMAL in render thread to prevent slowdowns 2017-11-12 20:48:28 +01:00
FunkyFr3sh
56693f67ad revert lock/unlock changes since it doesn't work too well with GDI rendering 2017-11-12 18:23:26 +01:00
FunkyFr3sh
772c0374eb fix for render crash 2017-11-12 16:10:15 +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
FunkyFr3sh
2e9378796a replace GetTickCount with timeGetTime 2017-11-12 01:27:14 +01:00
FunkyFr3sh
34fb69fb63 use 120 max_fps as default 2017-11-12 00:38:13 +01:00
FunkyFr3sh
9bd708d8f5 fully separate render thread to prevent slowdowns in main thread 2017-11-11 23:32:07 +01:00
iran
79b83bcb7a update the memory address from ra95.exe to use for screen stretching 2013-06-26 11:19:12 +02:00
Maikel vd H
4fa437a1b9 update 'needsstretching' variable memory location and set icon for taskbar 2012-12-31 22:52:44 +01:00
Maikel vd H
34985f9021 fixed vhack=false 2012-12-25 00:22:16 +01:00
Maikel vd H
147a9a4d80 fix black screen on windows XP 2012-12-20 20:06:42 +01:00
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