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

85 Commits

Author SHA1 Message Date
FunkyFr3sh
0a779ac4fe sync with master 2019-08-07 12:45:40 +02:00
FunkyFr3sh
9a9e9feead automatically switch between windowed/fullscreen with d3d9 renderer 2019-08-07 04:40:43 +02:00
FunkyFr3sh
18f2e16bb0 make bnet moveable 2019-08-06 04:37:06 +02:00
FunkyFr3sh
11c103f36c some more hook.c tweaks 2019-03-19 09:45:14 +01:00
FunkyFr3sh
d42284c4bf optional hotpatch support 2019-03-19 06:57:49 +01:00
FunkyFr3sh
0f58746515 experimental tweaks for diablo and warcraft 2 2019-03-17 00:16:09 +01:00
FunkyFr3sh
45c2206946 adjust gdi renderer for accurateTimers 2018-11-30 05:18:44 +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
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
5d2d258d52 save last flip tick to force redraw in case the game switches between blt and flip 2018-11-19 08:36:18 +01:00
FunkyFr3sh
6f520b4843 add checks for media stream 2018-11-18 13:11:05 +01:00
FunkyFr3sh
e4437a278f Linear scaling using integer math (copied from ts-ddraw) 2018-11-17 05:54:22 +01:00
FunkyFr3sh
55328cb497 rename hidemouse to handlemouse since it got a lot more functionality now 2018-11-16 08:58:39 +01:00
FunkyFr3sh
ec435d21d3 make cursor visible on unlock for tiberian sun 2018-11-16 08:43:28 +01:00
FunkyFr3sh
d45fabe5cd add workaround for TS/YR stretching - don't stretch the menus 2018-11-16 06:37:11 +01:00
FunkyFr3sh
4d867fcaef add floats for scaling 2018-11-16 02:59:42 +01:00
FunkyFr3sh
5e4de793d4 fix tiberian sun menus 2018-11-15 09:45:24 +01:00
FunkyFr3sh
b04dc01104 make opengl compatible with older versions than 2.0 (for 16bit games only) 2018-11-15 06:16:09 +01:00
FunkyFr3sh
806746d364 experimental 16bit color support (Dune 2000) 2018-11-14 05:35:59 +01:00
FunkyFr3sh
45ceb74df2 use lodepng for screenshots 2018-11-12 06:31:02 +01:00
FunkyFr3sh
9811f310bc use fancy macros 2018-11-12 00:39:47 +01:00
FunkyFr3sh
bdb5675459 make maxgameticks working via surface unlock for atomic bomberman 2018-11-09 20:39:45 +01:00
FunkyFr3sh
72a86a9f78 make alt+enter working with a resized window 2018-11-04 19:35:38 +01:00
FunkyFr3sh
8ba6185965 fix for carmageddon 2 2018-11-02 02:21:16 +01:00
FunkyFr3sh
7b55df3ed7 remove screenshot hotkey 2018-11-01 20:14:33 +01:00
FunkyFr3sh
d56240e178 make windowed+stretching working for a lot of non-cnc games 2018-11-01 20:09:42 +01:00
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
737a26bfb3 add Dungeon Keeper preset + required hack 2018-10-30 21:48:01 +01:00
FunkyFr3sh
5bcf6b2a97 resizable window 2018-10-27 16:44:09 +02:00
FunkyFr3sh
2d1ab88f85 partial support for DDBLTFAST_SRCCOLORKEY 2018-10-26 08:33:09 +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
3fa02ac34d support for loading/saving settings for multiple games via a single settings file 2018-10-25 07:03:01 +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
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
42d13edb92 fix d3d9 automatic cursor lock on alt+tab 2018-10-09 09:16:00 +02:00
FunkyFr3sh
bbe8fa11d8 release d3d9 on alt+enter 2018-10-07 16:49:35 +02:00
FunkyFr3sh
12655fa5a3 stop drawing and release d3d9 on alt+tab 2018-10-07 13:42:32 +02:00
FunkyFr3sh
36c14bd857 separate d3d9 and opengl shaders into 2 headers 2018-10-06 12:24:43 +02:00
FunkyFr3sh
a741fa9dca fix palette bug 2018-10-06 05:02:53 +02:00
FunkyFr3sh
519f499d23 improve d3d9 auto renderer check 2018-10-04 06:27:03 +02:00
FunkyFr3sh
9cbd2de62f force at least 5 FPS to avoid problems in the menus 2018-10-03 12:12:11 +02:00
FunkyFr3sh
c0a26ce858 enables fullscreen exclusive mode for d3d9 2018-10-03 08:50:00 +02:00
FunkyFr3sh
848f996f9b try to use 1.30 shader first and use 1.10 shader as fallback solution 2018-10-02 16:26:37 +02:00
FunkyFr3sh
29478d6e25 remove legacy opengl code 2018-10-02 15:58:30 +02:00
FunkyFr3sh
b2cf1b0a55 move pixel shader into header file 2018-10-02 12:19:46 +02:00