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

380 Commits

Author SHA1 Message Date
FunkyFr3sh
0e6d415f63 remove sleep hack and add a smarter game speed limiter that takes the games performance into account 2018-10-31 11:48:41 +01:00
FunkyFr3sh
2d4841beda handle ddraw_surface_QueryInterface 2018-10-31 00:33:21 +01:00
FunkyFr3sh
737a26bfb3 add Dungeon Keeper preset + required hack 2018-10-30 21:48:01 +01:00
FunkyFr3sh
82b245228c add dummy callback + new preset 2018-10-30 19:38:32 +01:00
FunkyFr3sh
90a31e1daf limit resolutions in EnumDisplayModes to prevent crashes 2018-10-30 17:54:14 +01:00
FunkyFr3sh
478d716a26 init rgb palette on surface::SetPalette 2018-10-30 15:54:52 +01:00
FunkyFr3sh
429389af07 lock mouse in windowed mode if resolution changed during runtime 2018-10-30 14:35:13 +01:00
FunkyFr3sh
8ae70e454f fix DDSCAPS_PRIMARYSURFACE check in surface->release 2018-10-30 14:05:43 +01:00
FunkyFr3sh
5ea076752b fix d2 palette bug 2018-10-30 12:59:12 +01:00
FunkyFr3sh
49c4fe826d fix debug define 2018-10-30 12:43:44 +01:00
FunkyFr3sh
d79b2086cc make sure only 8bit video modes are used + add some more debugging code 2018-10-30 08:29:19 +01:00
FunkyFr3sh
8f394009b1 add AoE2 workaround 2018-10-29 07:01:32 +01:00
FunkyFr3sh
bde5fcd70b remove unused code + add some more presets 2018-10-29 05:47:01 +01:00
FunkyFr3sh
5e121fd76b fix for maintain aspect ratio 2018-10-28 13:00:50 +01:00
FunkyFr3sh
ff5fcec431 raise version number 2018-10-28 12:41:08 +01:00
FunkyFr3sh
0bca0877fb restrict size via WM_SIZING 2018-10-28 12:38:57 +01:00
FunkyFr3sh
30618755a1 don't use WM_GETMINMAXINFO to prevent possible bugs later on 2018-10-28 08:01:31 +01:00
FunkyFr3sh
a07fec08e0 maintain aspect ratio on resize 2018-10-28 06:46:35 +01:00
FunkyFr3sh
d70104c610 force redraw 2018-10-27 17:39:43 +02:00
FunkyFr3sh
5bcf6b2a97 resizable window 2018-10-27 16:44:09 +02:00
FunkyFr3sh
7f0eef570b add partial support for DDBLT_KEYSRC 2018-10-27 09:23:00 +02:00
FunkyFr3sh
8e53cdc5fa fix palette issues on GetDC 2018-10-27 07:43:47 +02:00
FunkyFr3sh
5477e5139a fixes resolution changes during run time with d3d9 and opengl renderers 2018-10-27 02:28:07 +02:00
FunkyFr3sh
202e4eb869 improve logging 2018-10-26 10:34:45 +02:00
FunkyFr3sh
88faf16fd9 bump version 2018-10-26 08:46:12 +02:00
FunkyFr3sh
2d1ab88f85 partial support for DDBLTFAST_SRCCOLORKEY 2018-10-26 08:33:09 +02:00
FunkyFr3sh
70492f6412 highlight unsupported functions (for easier DebugString real-time filtering) 2018-10-26 07:24:38 +02:00
FunkyFr3sh
c54465ed9e copy empires2.exe settings to age2_x1.exe 2018-10-26 06:06:09 +02:00
FunkyFr3sh
d2561b3305 force posX/posY to 0 to have a somewhat working alt+enter 2018-10-26 05:41:22 +02:00
FunkyFr3sh
cbc66c3bc2 implement EnumDisplayModes and BltFast - Fixes DDBLT_COLORFILL with NULL rect - support resolution changes during runtime (AoE2) 2018-10-26 05:27:10 +02:00
FunkyFr3sh
25627134e7 don't save windowPos if it's -32000 2018-10-25 09:31:40 +02:00
FunkyFr3sh
5114d902da add additional empty line to the end of the settings file 2018-10-25 07:20:19 +02:00
FunkyFr3sh
bb647d91f6 set maxFPS to 125 by default 2018-10-25 07:11:36 +02:00
FunkyFr3sh
3fa02ac34d support for loading/saving settings for multiple games via a single settings file 2018-10-25 07:03:01 +02:00
FunkyFr3sh
5f1fab04d9 remove old 125 fps workaround since it isn't needed anymore 2018-10-25 04:18:37 +02:00
FunkyFr3sh
67f7f2bfe6 move detect_cutscene into main.c since it's used by all renderers 2018-10-25 04:15:53 +02:00
FunkyFr3sh
b9eda0f6af allow Sleep hack with GDI renderer 2018-10-25 04:05:44 +02:00
FunkyFr3sh
a8165c4112 remove maxFPS from GDI renderer since it isn't async and would slow down the whole game 2018-10-25 03:53:25 +02:00
FunkyFr3sh
4fe2bf7c99 screenshots in .bmp format without libpng 2018-10-24 09:01:24 +02:00
FunkyFr3sh
4814054df5 remove duplicate code 2018-10-24 06:27:42 +02:00
FunkyFr3sh
35ac845688 use run-time dynamic linking for opengl32.dll to prevent random bugs where the game fails to start 2018-10-24 04:21:22 +02:00
FunkyFr3sh
2754da2a30 raise version for release 1.2.2.0 2018-10-16 17:35:31 +02:00
FunkyFr3sh
6d90e8395a don't use glFinish in test functions 2018-10-16 07:07:49 +02:00
FunkyFr3sh
21500ca591 make sure d3ddev is not null 2018-10-15 03:31:57 +02:00
FunkyFr3sh
59f0f4d9b2 add a header file for d3d9 renderer 2018-10-15 00:57:05 +02:00
FunkyFr3sh
28c9886dbe fix d3d9 multi threading 2018-10-15 00:01:31 +02:00
FunkyFr3sh
227bbc8280 keep trying to ReleaseDirect3D in case the first try fails 2018-10-14 20:09:44 +02:00
FunkyFr3sh
f70a085f08 make d3d9 the default on every version of windows 2018-10-12 16:50:18 +02:00
FunkyFr3sh
8a0a56bffa add missing BitsPerPixel check 2018-10-09 11:46:40 +02:00
FunkyFr3sh
f0b280485f return 0 on WM_D3D9FULLSCREEN 2018-10-09 09:33:17 +02:00