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

510 Commits

Author SHA1 Message Date
FunkyFr3sh
6b0fbce7f8 add guardlines to HeapAlloc too in case bitmap creation fails 2018-12-02 07:31:53 +01:00
FunkyFr3sh
9605f4a4c4 bump version 2018-12-02 07:08:04 +01:00
FunkyFr3sh
66e37ed961 add 200 guardlines to prevent crashes 2018-12-02 06:53:11 +01:00
FunkyFr3sh
c5ce766509 pass WM_GETMINMAXINFO to DefWindowProc 2018-12-02 06:21:36 +01:00
FunkyFr3sh
945b4c954a don't allow window style changes 2018-12-02 06:18:28 +01:00
FunkyFr3sh
d1ccd81ad5 bump version 2018-12-02 00:18:17 +01:00
FunkyFr3sh
95fdd19b01 remove VirtualQuery 2018-12-01 06:28:46 +01:00
FunkyFr3sh
74cfb94717 bump version 2018-12-01 02:16:00 +01:00
FunkyFr3sh
ef5e1fbec1 fix for resize cursor not showing on startup 2018-12-01 02:02:55 +01:00
FunkyFr3sh
a4270c56fe filter some more messages 2018-12-01 01:43:05 +01:00
FunkyFr3sh
cf163c920a show resize cursor on window borders 2018-12-01 01:16:24 +01:00
FunkyFr3sh
ab7a3d5108 fix dune 2000 window frame 2018-12-01 00:25:16 +01:00
FunkyFr3sh
45c2206946 adjust gdi renderer for accurateTimers 2018-11-30 05:18:44 +01:00
FunkyFr3sh
67ac35cfc4 fix description 2018-11-30 04:09:20 +01:00
FunkyFr3sh
3265ff30d8 add accuratetimers bool for dune 2000 2018-11-30 04:07:43 +01:00
FunkyFr3sh
abf71c70ca fix flip limiter 2018-11-30 02:59:56 +01:00
FunkyFr3sh
c47a186102 disable waitable timers for now, they're too OP - plz nerf 2018-11-30 02:55:51 +01:00
FunkyFr3sh
b366b77ee0 change ts/yr maxfps to 62 to reactivate the old tearing (doesn't work too well with waitable timers at 60 fps yet) 2018-11-30 02:15:06 +01:00
FunkyFr3sh
97ca023f09 use waitable timer also for fps limiter 2018-11-29 21:26:43 +01:00
FunkyFr3sh
435854456b use waitable timers for better precision (limit game ticks / flip wait) 2018-11-29 17:45:10 +01:00
FunkyFr3sh
093486ec7f add some memcpy tweaks, not sure if it actually helps 2018-11-29 01:39:03 +01:00
FunkyFr3sh
6d337393ee force DDSCAPS_VIDEOMEMORY for all surfaces, otherwise red alert 2 is not using ddraw blt 2018-11-28 23:11:10 +01:00
FunkyFr3sh
8c119f4e33 remove dune2000 presets and enable DDFLIP_WAIT limiter instead 2018-11-28 14:14:26 +01:00
FunkyFr3sh
14304ff330 only limit game ticks via unlock if there was never any blt or flip 2018-11-28 13:40:29 +01:00
FunkyFr3sh
8e75c40cc3 revert LimitGameTicks changes since it's causing flickering in unpatched versions of cnc1 and ra1 2018-11-28 13:28:07 +01:00
FunkyFr3sh
f051957ddb raise maxgameticks to 120 for unpatched cnc1/ra1 2018-11-28 12:57:43 +01:00
FunkyFr3sh
d8667edb02 default to 60 maxfps for TS/YR 2018-11-28 12:47:39 +01:00
FunkyFr3sh
4ab472ab9b enable flip for dune 2000 2018-11-28 12:45:47 +01:00
FunkyFr3sh
0a7a552c79 forgot to set DEVMODE size d'oh 1.3.2.0 2018-11-26 12:11:23 +01:00
FunkyFr3sh
c2a775abbb bump version for release 2018-11-25 21:34:49 +01:00
FunkyFr3sh
81ef5bad83 fix minWidth and minHeight 2018-11-25 15:38:43 +01:00
FunkyFr3sh
ee23027eda auto stretching tweaks, try to get the lowest possible resolution in case 2x scaling isn't possible 2018-11-25 15:05:09 +01:00
FunkyFr3sh
66ee108198 remove WM_MOUSEHWHEEL, it's not used in old games 2018-11-25 01:49:04 +01:00
FunkyFr3sh
c70b035cbf prefer flags = 0 2018-11-24 23:54:59 +01:00
FunkyFr3sh
59c1671ad4 prefer DMDFO_DEFAULT in filter to ensure all resolutions are listed 2018-11-24 23:48:37 +01:00
FunkyFr3sh
85b6ad7201 add all resolutions to the in-game list (Tiberian Sun / Red Alert 2) 2018-11-24 23:36:38 +01:00
FunkyFr3sh
12586a4b0e bump version 2018-11-24 13:52:21 +01:00
FunkyFr3sh
e04bcfe43c automatically lock the cursor in windowed-fullscreen mode 2018-11-24 13:34:25 +01:00
FunkyFr3sh
c5769d49de bump version 2018-11-23 17:54:10 +01:00
FunkyFr3sh
663ce0a386 fix shader example 2018-11-23 16:55:23 +01:00
FunkyFr3sh
fbe8279dae add missing mouse messages 2018-11-23 15:26:27 +01:00
FunkyFr3sh
3b94b2f1d9 remove some devmode fullscreen checks since it works perfectly in windowed mode now 2018-11-23 15:01:36 +01:00
FunkyFr3sh
4cf4e55b87 add shader example line to make it easier to understand how to use shaders 2018-11-23 12:33:56 +01:00
FunkyFr3sh
0d9c038a18 fix stretching for Genie Engine 2018-11-22 13:39:03 +01:00
FunkyFr3sh
054e5d604b bump version 2018-11-22 11:16:03 +01:00
FunkyFr3sh
611fe1286f use rounding ticklength to get better results 2018-11-22 11:14:59 +01:00
FunkyFr3sh
78e9c71f31 handle double click events for adjmouse 2018-11-21 19:15:21 +01:00
FunkyFr3sh
91281e0530 bug fix for gdi frame skip, keep trying until last frame was drawn 1.3.0.1 2018-11-20 18:45:48 +01:00
FunkyFr3sh
5829453a1a Revert "some changes to gdi frameskip"
This reverts commit ff9bdeaf40ecb0d083f26a885ef4704a05d738ba.
2018-11-20 18:20:56 +01:00
FunkyFr3sh
ff9bdeaf40 some changes to gdi frameskip 2018-11-20 14:44:40 +01:00