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
|
e04bcfe43c
|
automatically lock the cursor in windowed-fullscreen mode
|
2018-11-24 13:34:25 +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
|
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
|
2018-11-20 18:45:48 +01:00 |
|
FunkyFr3sh
|
5829453a1a
|
Revert "some changes to gdi frameskip"
This reverts commit ff9bdeaf40 .
|
2018-11-20 18:20:56 +01:00 |
|
FunkyFr3sh
|
ff9bdeaf40
|
some changes to gdi frameskip
|
2018-11-20 14:44:40 +01:00 |
|
FunkyFr3sh
|
98ec61d79b
|
fix gdi renderer so it also works games other than cnc1 and ra1
|
2018-11-20 13:52:19 +01:00 |
|
FunkyFr3sh
|
64a3d0d5e1
|
use higher flip timeout
|
2018-11-20 07:33:17 +01:00 |
|
FunkyFr3sh
|
c2821b7c48
|
add another surface width workaround
|
2018-11-19 15:07:43 +01:00 |
|
FunkyFr3sh
|
a4c30f7ad8
|
don't use HeapAlloc in EnumAttachedSurfaces
|
2018-11-19 11:13:36 +01:00 |
|
FunkyFr3sh
|
650496065b
|
add hack for westwood nox
|
2018-11-19 09:56:27 +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
|
add701a7f6
|
add some more debugging code
|
2018-11-19 07:40:07 +01:00 |
|
FunkyFr3sh
|
c434e74216
|
support GetColorKey
|
2018-11-18 13:31:00 +01:00 |
|
FunkyFr3sh
|
6f520b4843
|
add checks for media stream
|
2018-11-18 13:11:05 +01:00 |
|
FunkyFr3sh
|
e2ae07dd31
|
add null check for create clipper
|
2018-11-18 08:55:11 +01:00 |
|
FunkyFr3sh
|
ecef95cbb6
|
add ddscaps to surface desc
|
2018-11-18 07:06:13 +01:00 |
|
FunkyFr3sh
|
4beebeb8cd
|
use fake counter for ShowCursor
|
2018-11-18 05:08:27 +01:00 |
|
FunkyFr3sh
|
6a2674e372
|
experimental dinput hook
|
2018-11-18 03:37:45 +01:00 |
|
FunkyFr3sh
|
7ec7f853d2
|
fix DirectDrawSurface::QueryInterface
|
2018-11-17 09:06:11 +01:00 |
|
FunkyFr3sh
|
bbd76a5d9e
|
fix GameHandlesClose
|
2018-11-17 08:33:36 +01:00 |
|
FunkyFr3sh
|
95dcf06c9c
|
adjust driver caps for TS/YR
|
2018-11-17 08:23:49 +01:00 |
|
FunkyFr3sh
|
b4da3fc3c4
|
check if stretch or clip is needed
|
2018-11-17 06:55:24 +01:00 |
|
FunkyFr3sh
|
ab5542fd9d
|
some more changes to scaling code
|
2018-11-17 06:23:56 +01:00 |
|
FunkyFr3sh
|
1ac3402cfa
|
some fixes for last commig
|
2018-11-17 06:09:13 +01:00 |
|
FunkyFr3sh
|
e4437a278f
|
Linear scaling using integer math (copied from ts-ddraw)
|
2018-11-17 05:54:22 +01:00 |
|
FunkyFr3sh
|
ee6266519a
|
remove src_w and src_h from bltfast
|
2018-11-17 04:46:36 +01:00 |
|
FunkyFr3sh
|
f39d1d0385
|
do some more colorfill tweaks
|
2018-11-17 04:25:18 +01:00 |
|
FunkyFr3sh
|
d00b95f8b0
|
improve DDBLT_COLORFILL performance - fill only the first row and then copy first row into the remaining rows
|
2018-11-17 03:48:41 +01:00 |
|
FunkyFr3sh
|
20205db5d5
|
fix invisible cursor on unlock (YR)
|
2018-11-16 12:31:50 +01:00 |
|
FunkyFr3sh
|
c2254f0d9a
|
allow mouse unlock via VK_RMENU and VK_RCONTROL
|
2018-11-16 12:23:19 +01:00 |
|
FunkyFr3sh
|
f9d26e2fa4
|
fix window resize bug
|
2018-11-16 11:56:56 +01:00 |
|
FunkyFr3sh
|
064a4ed0d7
|
allow maintain aspect ratio in windowed mode
|
2018-11-16 11:53:35 +01:00 |
|
FunkyFr3sh
|
acf047ca27
|
bump version
|
2018-11-16 09:01:24 +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
|
294e103421
|
add noactivateapp check
|
2018-11-16 08:11:07 +01:00 |
|
FunkyFr3sh
|
8714a5b1d8
|
add bad workaround for carmageddon
|
2018-11-16 08:05:50 +01:00 |
|
FunkyFr3sh
|
3c626b29b9
|
let WM_ACTIVATEAPP pass through once for tiberian sun + adjust presets
|
2018-11-16 07:56:32 +01:00 |
|
FunkyFr3sh
|
8ce134f6ce
|
combine no minimize hack with noactivateapp since it doesn't work without it
|
2018-11-16 07:40:19 +01:00 |
|
FunkyFr3sh
|
848c918362
|
don't minimize on focus loss when mouse is not locked
|
2018-11-16 07:27:05 +01:00 |
|
FunkyFr3sh
|
dcecd20d3c
|
don't update vertices/viewport on every frame to improve the performance
|
2018-11-16 07:02:27 +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
|
ff8528a72c
|
add GameHandlesClose from ts-ddraw
|
2018-11-16 01:14:05 +01:00 |
|
FunkyFr3sh
|
7f67f1c03f
|
no resizable window for wine, sorry :(
|
2018-11-16 00:40:34 +01:00 |
|
FunkyFr3sh
|
f009a4d181
|
fix misaligned comboboxes in TS and YR
|
2018-11-16 00:37:09 +01:00 |
|
FunkyFr3sh
|
e4a5c35f65
|
add presets for TS and YR
|
2018-11-15 10:47:18 +01:00 |
|
FunkyFr3sh
|
a252b3724d
|
allow moving the window to any position (tiberian sun)
|
2018-11-15 09:51:41 +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
|
ec11947593
|
remove some resolutions to keep the list short
|
2018-11-14 09:21:23 +01:00 |
|
FunkyFr3sh
|
6e92e93334
|
add some more presets
|
2018-11-14 09:12:56 +01:00 |
|
FunkyFr3sh
|
91614bf83c
|
fix for case sensitive filenames (linux)
|
2018-11-14 07:00:42 +01:00 |
|
FunkyFr3sh
|
806746d364
|
experimental 16bit color support (Dune 2000)
|
2018-11-14 05:35:59 +01:00 |
|
FunkyFr3sh
|
eced18d01f
|
make real ddraw fully optional (keep old XP workaround..)
|
2018-11-13 07:29:48 +01:00 |
|
FunkyFr3sh
|
45ceb74df2
|
use lodepng for screenshots
|
2018-11-12 06:31:02 +01:00 |
|
FunkyFr3sh
|
68c01e2be3
|
Add some empty lines to the settings file to make it easier to read + Add some additional info
|
2018-11-12 01:29:51 +01:00 |
|
FunkyFr3sh
|
a1668b14fc
|
allow values up to 1000 for maxgameticks
|
2018-11-12 00:41:08 +01:00 |
|
FunkyFr3sh
|
9811f310bc
|
use fancy macros
|
2018-11-12 00:39:47 +01:00 |
|
FunkyFr3sh
|
6b8208ad85
|
use multiple textures and rotate them (d3d9)
|
2018-11-12 00:18:26 +01:00 |
|
FunkyFr3sh
|
80563db9db
|
use ticklength * 2 (just making sure...)
|
2018-11-09 20:58:48 +01:00 |
|
FunkyFr3sh
|
bdb5675459
|
make maxgameticks working via surface unlock for atomic bomberman
|
2018-11-09 20:39:45 +01:00 |
|
FunkyFr3sh
|
0e3e7659cb
|
save window position on wine
|
2018-11-09 00:30:29 +01:00 |
|
FunkyFr3sh
|
a0605813a9
|
make devmode working in windowed mode too
|
2018-11-09 00:29:33 +01:00 |
|
FunkyFr3sh
|
c8c86f8282
|
remember window state
|
2018-11-07 23:28:19 +01:00 |
|
FunkyFr3sh
|
8d6e00d263
|
always adjust mouse in case mouse cursor can't be hidden
|
2018-11-07 20:10:15 +01:00 |
|
FunkyFr3sh
|
e14e1e74c5
|
remove sleep in setdisplaymode
|
2018-11-07 17:42:08 +01:00 |
|
FunkyFr3sh
|
b69e89d1de
|
don't override maintain aspect ratio option globally when fullscreen resolution isn't supported
|
2018-11-05 20:48:42 +01:00 |
|
FunkyFr3sh
|
14ea479797
|
some more wine tweaks to improve performance on minimize
|
2018-11-05 14:16:30 +01:00 |
|
FunkyFr3sh
|
e59043f43f
|
fix resizable window on wine
|
2018-11-05 14:05:32 +01:00 |
|
FunkyFr3sh
|
72a86a9f78
|
make alt+enter working with a resized window
|
2018-11-04 19:35:38 +01:00 |
|
FunkyFr3sh
|
d68cb86430
|
addref fix
|
2018-11-02 03:20:36 +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
|
b566d78499
|
use opengl for carma95
|
2018-10-31 16:37:27 +01:00 |
|
FunkyFr3sh
|
b4e196ca79
|
fix gdi flip bug
|
2018-10-31 15:49:18 +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
|
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
|
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 |
|
FunkyFr3sh
|
42d13edb92
|
fix d3d9 automatic cursor lock on alt+tab
|
2018-10-09 09:16:00 +02:00 |
|
FunkyFr3sh
|
bbf2b0db12
|
improve error checks
|
2018-10-09 08:56:58 +02:00 |
|
FunkyFr3sh
|
56631c8ed3
|
move Sleep(500) up
|
2018-10-08 14:11:58 +02:00 |
|
FunkyFr3sh
|
83fab457d1
|
reduce delay
|
2018-10-08 13:48:55 +02:00 |
|
FunkyFr3sh
|
c2c60683b2
|
no ChangeDisplaySettings on alt+enter with d3d9
|
2018-10-08 10:17:26 +02:00 |
|
FunkyFr3sh
|
04e063252c
|
don't change display settings, let d3d9 do it
|
2018-10-08 08:42:08 +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
|
1b23e1d42b
|
use d3d9 only on vista and xp
|
2018-10-05 12:54:53 +02:00 |
|
FunkyFr3sh
|
7bffd78db5
|
opengl / d3d9 windowed-fullscreen aka borderless
|
2018-10-05 10:01:38 +02:00 |
|
FunkyFr3sh
|
519f499d23
|
improve d3d9 auto renderer check
|
2018-10-04 06:27:03 +02:00 |
|
FunkyFr3sh
|
ff331d32f1
|
tweak d3d9 alt+enter
|
2018-10-03 15:10:57 +02:00 |
|
FunkyFr3sh
|
1a6de69da4
|
switch to windowed on minimize and go back to fullscreen exclusive on restore - makes alt+tab failsafe
|
2018-10-03 14:54:47 +02:00 |
|
FunkyFr3sh
|
9cbd2de62f
|
force at least 5 FPS to avoid problems in the menus
|
2018-10-03 12:12:11 +02:00 |
|
FunkyFr3sh
|
24b0e5cf24
|
fix d3d9 alt+enter - use d3d9 on xp/vista/7 even with dwm enabled
|
2018-10-03 09:51:15 +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 |
|
FunkyFr3sh
|
ebae1add37
|
remove duplicate debug code
|
2018-10-02 11:38:38 +02:00 |
|
FunkyFr3sh
|
fa6f9e197e
|
separate into multiple functions
|
2018-10-02 03:25:34 +02:00 |
|
FunkyFr3sh
|
15686ce5d3
|
don't delete resources on reset since they're all managed
|
2018-10-02 02:27:58 +02:00 |
|
FunkyFr3sh
|
4ed8eed654
|
don't use d3d9 on wine
|
2018-10-02 01:59:14 +02:00 |
|
FunkyFr3sh
|
0976e87304
|
fix ddraw.ini description
|
2018-10-01 13:11:52 +02:00 |
|
FunkyFr3sh
|
962ee35adc
|
add d3d9 vhack
|
2018-10-01 13:10:10 +02:00 |
|
FunkyFr3sh
|
88adfe633d
|
use d3d9 on xp/vista/7
|
2018-10-01 11:50:56 +02:00 |
|
FunkyFr3sh
|
ae14e3d9f0
|
use square POT textures for better compatibility
|
2018-09-30 09:23:00 +02:00 |
|
FunkyFr3sh
|
7f23ad5563
|
try to use D3DCREATE_HARDWARE_VERTEXPROCESSING | D3DCREATE_PUREDEVICE for better performance
|
2018-09-30 07:29:51 +02:00 |
|
FunkyFr3sh
|
abb88f456d
|
direct3d auto renderer tweaks
|
2018-09-30 03:06:45 +02:00 |
|
FunkyFr3sh
|
1d43b112c9
|
switch to gdi on failure
|
2018-09-30 01:02:48 +02:00 |
|
FunkyFr3sh
|
66438e5a2e
|
update ddraw.ini
|
2018-09-29 05:33:14 +02:00 |
|
FunkyFr3sh
|
482768e0ad
|
viewport tweaks again
|
2018-09-29 05:19:41 +02:00 |
|
FunkyFr3sh
|
dc940a8ea3
|
some more viewport tweaks
|
2018-09-29 04:58:21 +02:00 |
|
FunkyFr3sh
|
b6bd5e41dd
|
Fixes maintain aspect ratio / boxing (direct3d 9)
|
2018-09-29 04:44:28 +02:00 |
|
FunkyFr3sh
|
41f43ed090
|
direct3d 9 vsync
|
2018-09-28 23:10:58 +02:00 |
|
FunkyFr3sh
|
99ce582121
|
experimental Direct3D 9 renderer
|
2018-09-28 22:40:44 +02:00 |
|
FunkyFr3sh
|
2afe07189c
|
check if surface was created on DDBLT_COLORFILL (caused a crash on ts-ddraw, might not be needed on cnc-ddraw)
|
2018-09-25 02:01:55 +02:00 |
|
FunkyFr3sh
|
4fe107c991
|
adjust alignment in case width is not divisible 4 - fixes resolutions such as 1366*768
|
2018-09-25 01:56:15 +02:00 |
|
FunkyFr3sh
|
5bbf63a025
|
fix for last commit
|
2018-09-18 01:16:23 +02:00 |
|
FunkyFr3sh
|
4211df4c29
|
render to texture test
|
2018-09-18 01:14:18 +02:00 |
|
FunkyFr3sh
|
9400eb7b75
|
preparation for more opengl test functions
|
2018-09-17 21:27:34 +02:00 |
|
FunkyFr3sh
|
4afbbbb5cb
|
add texture test upload to ensure we don't end up with black screens on upload failure
|
2018-09-16 21:03:46 +02:00 |
|
FunkyFr3sh
|
6cb0b07621
|
fix for last commit
|
2018-09-15 16:32:36 +02:00 |
|
FunkyFr3sh
|
ac4f993976
|
separate opengl render code into multiple functions
|
2018-09-15 16:12:03 +02:00 |
|
FunkyFr3sh
|
93c240d31f
|
save error state before we reset it on texture creation
|
2018-09-11 18:08:36 +02:00 |
|
FunkyFr3sh
|
79fe86062f
|
add "sleep" setting for CnC1
|
2018-09-11 14:20:40 +02:00 |
|
FunkyFr3sh
|
77ac049c41
|
minimize on WM_AUTORENDERER (windows only)
|
2018-09-09 23:13:41 +02:00 |
|
FunkyFr3sh
|
f5698f2d0b
|
fix gdi palette bug + refactoring
|
2018-08-23 00:57:31 +02:00 |
|
FunkyFr3sh
|
084c7b113b
|
use 4 textures to reduce latency
|
2018-08-22 21:51:38 +02:00 |
|
FunkyFr3sh
|
f1718cfd05
|
fix crash on game exit (warcraft 2)
|
2018-08-19 01:01:12 +02:00 |
|
FunkyFr3sh
|
5cf78996a4
|
fix for automatic stretching - don't go higher than current resolution
|
2018-08-15 19:49:30 +02:00 |
|
FunkyFr3sh
|
7661a589bb
|
yet another unity/gnome3 hack - Fixes random window repositioning
|
2018-08-14 15:43:48 +02:00 |
|
FunkyFr3sh
|
6c05064e8d
|
Add WS_MINIMIZEBOX in fullscreen mode too (Fixes alt+tab on Ubuntu 16.04)
|
2018-08-12 13:12:04 +02:00 |
|
FunkyFr3sh
|
8b6932f6a7
|
fix for last commit
|
2018-08-09 11:39:11 +02:00 |
|
FunkyFr3sh
|
b9eab72850
|
add temporary workaround for ubuntu alt+enter bug until we got a better solution
|
2018-08-09 11:19:36 +02:00 |
|
FunkyFr3sh
|
366ce012b2
|
minimize first and then ChangeDisplaySettings (fixes alt+tab on ubuntu)
|
2018-08-09 09:33:09 +02:00 |
|
FunkyFr3sh
|
068c3af8e1
|
only lock cursor in WM_ACTIVATE in fullscreen mode - fixes cursor lock bug in ubuntu
|
2018-08-07 03:57:46 +02:00 |
|
FunkyFr3sh
|
eb93d12e1d
|
first ChangeDisplaySettings and then SetWindowPos - Fixes fullscreen problems with lower resolutions in ubuntu
|
2018-08-07 02:44:11 +02:00 |
|
FunkyFr3sh
|
422fa30d4a
|
use MoveWindow - fixes a bug where the window always showed up in the top left of the screen
|
2018-08-07 02:08:40 +02:00 |
|
FunkyFr3sh
|
d88d03b560
|
new IAT hooking
|
2018-08-06 09:33:27 +02:00 |
|
FunkyFr3sh
|
a2ec669793
|
use SetWindowPos rather than ShowWindow trick in WM_AUTORENDER (Works better on WINE)
|
2018-08-05 00:36:46 +02:00 |
|
FunkyFr3sh
|
1402054259
|
fix function names
|
2018-08-03 03:37:23 +02:00 |
|
FunkyFr3sh
|
a4a452a7f2
|
fix for auto renderer warning not showing
|
2018-07-22 15:09:51 +02:00 |
|
FunkyFr3sh
|
99406d1d64
|
force glFinish with vsync
|
2018-07-16 15:35:45 +02:00 |
|
FunkyFr3sh
|
c5975902ee
|
use multiple textures to reduce latency
|
2018-07-16 13:51:43 +02:00 |
|
FunkyFr3sh
|
d98cf4f6ea
|
fix for non working vsync
|
2018-07-16 12:27:41 +02:00 |
|
FunkyFr3sh
|
c1c3ac85ee
|
Revert "minimize window in RestoreDisplayMode"
This reverts commit e4254f7f22 .
|
2018-07-07 09:17:26 +02:00 |
|
FunkyFr3sh
|
e4254f7f22
|
minimize window in RestoreDisplayMode
|
2018-07-07 02:43:42 +02:00 |
|
FunkyFr3sh
|
30b430dbc7
|
use different workaround for macOS bug
|
2018-07-06 00:32:47 +02:00 |
|
FunkyFr3sh
|
75c25f515b
|
temporary workaround for macOS bug with crossover wine 14.1
|
2018-07-05 23:51:27 +02:00 |
|
FunkyFr3sh
|
2e6a264738
|
call DrawText before CounterStart
|
2018-07-05 19:41:48 +02:00 |
|
FunkyFr3sh
|
42fb8577a4
|
only refresh the screen when the primary palette is changed
|
2018-07-05 19:32:33 +02:00 |
|
FunkyFr3sh
|
a40392e11a
|
only update textures if necessary
|
2018-07-04 23:27:12 +02:00 |
|
FunkyFr3sh
|
4c2272a54e
|
add support for DDBLT_COLORFILL
|
2018-07-03 21:05:58 +02:00 |
|
FunkyFr3sh
|
ff7267d044
|
try to use a single memcpy if possible - adds stretching support (not used in C&C games though)
|
2018-07-03 20:54:05 +02:00 |
|
FunkyFr3sh
|
897fdb5bbb
|
allocate memory for surfaces on CreateDIBSection failure
|
2018-07-01 21:27:44 +02:00 |
|
FunkyFr3sh
|
0b12de90e2
|
fix for fullscreen bug with auto renderer
|
2018-06-26 18:02:03 +02:00 |
|
FunkyFr3sh
|
4ea226b743
|
check for errors in render loop
|
2018-06-26 14:09:47 +02:00 |
|
FunkyFr3sh
|
7108f2af7a
|
on screen debug
|
2018-06-26 14:06:02 +02:00 |
|
FunkyFr3sh
|
fa54189259
|
show opengl unavailable warning
|
2018-06-22 04:27:34 +02:00 |
|
FunkyFr3sh
|
f5b661dc1b
|
workaround for a bug where sometimes a background window steals the focus
|
2018-06-10 23:25:30 +02:00 |
|
FunkyFr3sh
|
1d83797a48
|
tweak fallback solution for possible ClipCursor failure
|
2018-06-02 13:21:00 +02:00 |
|
FunkyFr3sh
|
ad07b46822
|
fallback solution for possible ClipCursor failure
|
2018-06-02 12:59:54 +02:00 |
|
FunkyFr3sh
|
203cee4d01
|
add QueryPerformanceCounter debug code
|
2018-05-31 03:38:33 +02:00 |
|
FunkyFr3sh
|
4fbd905276
|
only enable GL_TEXTURE_2D if no shader available
|
2018-05-24 06:25:11 +02:00 |
|
FunkyFr3sh
|
52bc5ad23f
|
prevent switching to GDI on core profile
|
2018-05-24 05:21:24 +02:00 |
|
FunkyFr3sh
|
90758a08c8
|
move wglSwapIntervalEXT to opengl.c
|
2018-05-23 02:03:45 +02:00 |
|
FunkyFr3sh
|
5ed60e662e
|
remove redundant stuff from render loop
|
2018-05-23 01:11:40 +02:00 |
|
FunkyFr3sh
|
3fcc17b336
|
allow GL_RGBA8 without autorenderer to raise compatibility
|
2018-05-22 04:23:05 +02:00 |
|
FunkyFr3sh
|
09c17d80f1
|
don't use GL_RGBA8, it's way too slow
|
2018-05-22 04:16:38 +02:00 |
|
FunkyFr3sh
|
d8cee91ee8
|
try to use GL_LUMINANCE first for better performance
|
2018-05-21 22:32:19 +02:00 |
|
FunkyFr3sh
|
6d57bbbfcb
|
remove unused stuff
|
2018-05-20 21:59:47 +02:00 |
|
FunkyFr3sh
|
d43983635c
|
random tweaks
|
2018-05-20 20:22:11 +02:00 |
|
FunkyFr3sh
|
b26738db5d
|
fix cutscene double scale bug
|
2018-05-20 19:23:45 +02:00 |
|
FunkyFr3sh
|
40a4d98c29
|
update vbos outside of lock
|
2018-05-20 18:58:47 +02:00 |
|
FunkyFr3sh
|
f06045498f
|
update vertexcoord if no fbo available
|
2018-05-20 17:39:14 +02:00 |
|
FunkyFr3sh
|
7b0fc1ab57
|
update vbo on fbo failure
|
2018-05-20 07:45:51 +02:00 |
|
FunkyFr3sh
|
9127c431ec
|
update vbo only if needed
|
2018-05-20 07:06:32 +02:00 |
|
FunkyFr3sh
|
d36d432c1a
|
avoid deprecated functions if possible
|
2018-05-20 06:27:53 +02:00 |
|
FunkyFr3sh
|
07182e2055
|
use PFNGLACTIVETEXTUREPROC for glActiveTexture
|
2018-05-20 01:11:37 +02:00 |
|
FunkyFr3sh
|
fd939bfff4
|
choose best renderer automatically
|
2018-05-18 16:18:34 +02:00 |
|
FunkyFr3sh
|
8ba9b570fd
|
add shader settings to ddraw.ini
|
2018-05-14 14:53:54 +02:00 |
|
FunkyFr3sh
|
017ce900d8
|
adjust formats
|
2018-05-14 10:35:30 +02:00 |
|
FunkyFr3sh
|
51d499758d
|
delete both shaders on failure
|
2018-05-13 19:43:03 +02:00 |
|
FunkyFr3sh
|
fd4a893729
|
use POT textures with up to 4096*4096 of size
|
2018-05-13 11:15:22 +02:00 |
|
FunkyFr3sh
|
6a2ab6378d
|
fix POT texture size
|
2018-05-12 20:10:20 +02:00 |
|
FunkyFr3sh
|
7223603a08
|
don't draw whole texture into framebuffer
|
2018-05-12 19:54:55 +02:00 |
|
FunkyFr3sh
|
f5384dc560
|
make sure we #define after #version
|
2018-05-12 18:16:17 +02:00 |
|
FunkyFr3sh
|
87450e320f
|
preliminary libretro GLSL shader support https://github.com/libretro/glsl-shaders
|
2018-05-12 12:28:07 +02:00 |
|
FunkyFr3sh
|
0e511f1a7d
|
set maxfps to 125 for opengl by default
|
2018-05-10 14:57:12 +02:00 |
|
FunkyFr3sh
|
d1fb484e80
|
prevent GPU from blocking main thread
|
2018-05-10 14:45:39 +02:00 |
|
FunkyFr3sh
|
09ada60736
|
check for errrors and add fallback solution
|
2018-05-10 05:22:32 +02:00 |
|
FunkyFr3sh
|
0a5e4854d4
|
make sure all required functions are available
|
2018-05-09 08:14:10 +02:00 |
|
FunkyFr3sh
|
ac6221a68a
|
opengl cleanup
|
2018-05-09 05:56:44 +02:00 |
|
FunkyFr3sh
|
d55a025ee2
|
detach shaders and delete program
|
2018-05-09 05:41:58 +02:00 |
|
FunkyFr3sh
|
b053bc377e
|
OpenGL: add 8bit palette conversion shader for better performance - remove pixel buffer objects - temporary remove scaling filters (need to be replaced with shaders)
|
2018-05-09 05:09:57 +02:00 |
|
FunkyFr3sh
|
5a2748f3d1
|
add visual studio project files
|
2018-05-06 10:52:06 +02:00 |
|
FunkyFr3sh
|
aaf35ec5cf
|
fix vhack for ra1
|
2018-03-23 23:10:49 +01:00 |
|
FunkyFr3sh
|
e65c03c607
|
fix vhack for cnc1
|
2018-03-23 03:21:16 +01:00 |
|
FunkyFr3sh
|
4114b96766
|
redraw if viewport x/y are not 0
|
2018-03-23 00:52:08 +01:00 |
|
FunkyFr3sh
|
4725035462
|
force redraw with boxing/maintas
|
2018-03-23 00:35:19 +01:00 |
|
FunkyFr3sh
|
e32bf1032f
|
fix for vhack with boxing/maintas
|
2018-03-20 19:13:08 +01:00 |
|
FunkyFr3sh
|
f8a3498a5a
|
add devmode to config file
|
2018-03-19 16:12:50 +01:00 |
|
FunkyFr3sh
|
47026bf011
|
fix for alt+tab freeze (carmageddon)
|
2018-03-19 02:27:55 +01:00 |
|
FunkyFr3sh
|
b99f60c542
|
fix for window mode
|
2018-03-19 01:11:54 +01:00 |
|
FunkyFr3sh
|
b2bacb95c3
|
optional fake GetCursorPos for carmageddon
|
2018-03-19 00:32:13 +01:00 |
|
FunkyFr3sh
|
5d31c5db48
|
enable maintain aspect ratio on ChangeDisplaySettings failure
|
2018-03-16 18:57:59 +01:00 |
|
FunkyFr3sh
|
9ce87449ec
|
improve boxing/maintas cursor lock/unlock - fix automatic mouse sensitivity scaling with boxing/maintas
|
2018-03-15 20:49:27 +01:00 |
|
FunkyFr3sh
|
a1fa61d028
|
boxing shall override maintain aspect ratio
|
2018-03-14 15:38:25 +01:00 |
|
FunkyFr3sh
|
65525e14dd
|
boxing and maintain aspect ratio now also working with opengl
|
2018-03-14 15:12:56 +01:00 |
|
FunkyFr3sh
|
ecaaf8e647
|
maintain aspect ratio
|
2018-03-14 14:02:04 +01:00 |
|
FunkyFr3sh
|
8978f7320a
|
improve boxing
|
2018-03-14 13:15:34 +01:00 |
|
FunkyFr3sh
|
688ae45001
|
fix for 640x480 mode
|
2018-03-12 11:40:35 +01:00 |
|
FunkyFr3sh
|
fcdc863ffa
|
reinvent adjmouse
|
2018-03-11 21:23:22 +01:00 |
|
FunkyFr3sh
|
b579a258f8
|
fix mouse_lock bug
|
2018-03-11 11:43:43 +01:00 |
|
FunkyFr3sh
|
c141dc478f
|
bump version for realse 1.1.5.0
|
2018-03-11 10:34:46 +01:00 |
|
FunkyFr3sh
|
308413323c
|
SetProcessDpiAwareness
|
2018-03-10 10:19:54 +01:00 |
|
FunkyFr3sh
|
ae1b46bce2
|
fix maximize button
|
2018-03-09 19:51:23 +01:00 |
|
FunkyFr3sh
|
241ccad68c
|
fix for bad cursor position on alt+enter
|
2018-03-09 19:11:19 +01:00 |
|
FunkyFr3sh
|
a85a7533e3
|
use real GetCursorPos
|
2018-03-09 18:20:09 +01:00 |
|
FunkyFr3sh
|
1bbb2e62b7
|
SetProcessDPIAware
|
2018-03-09 14:38:02 +01:00 |
|
FunkyFr3sh
|
7a17726679
|
fix for uncontrollable mouse cursor on window 10 fall creators update
|
2018-03-09 13:50:56 +01:00 |
|
FunkyFr3sh
|
d858afe38a
|
win xp fix
|
2017-11-26 10:15:31 +01:00 |
|
FunkyFr3sh
|
e60db3ccb5
|
adjust names
|
2017-11-26 09:09:38 +01:00 |
|
FunkyFr3sh
|
c526cf63de
|
log fps
|
2017-11-26 08:49:30 +01:00 |
|
FunkyFr3sh
|
b82cffb728
|
make Carmageddon working again
|
2017-11-21 16:20:04 +01:00 |
|
FunkyFr3sh
|
d03c82da27
|
disable mhack by default
|
2017-11-21 02:28:56 +01:00 |
|
FunkyFr3sh
|
3358ada5c3
|
stretch to full screen bool
|
2017-11-20 05:11:39 +01:00 |
|
FunkyFr3sh
|
d9ee8dcd47
|
rename width and height vars
|
2017-11-20 03:24:25 +01:00 |
|
FunkyFr3sh
|
0b39e61211
|
save windows position only after windowed_init
|
2017-11-20 02:04:57 +01:00 |
|
FunkyFr3sh
|
b0cb2f13b9
|
don't use windowed as default
|
2017-11-20 01:36:52 +01:00 |
|
FunkyFr3sh
|
bde38c9b0b
|
make sure mhack is always enabled when required
|
2017-11-20 01:26:53 +01:00 |
|
FunkyFr3sh
|
8b34ec65ad
|
automatic stretching/window mode for invalid resolutions
|
2017-11-20 00:56:56 +01:00 |
|
FunkyFr3sh
|
d0cf60b618
|
temporarily revert rendering changes - need to find a better solution later
|
2017-11-17 23:08:13 +01:00 |
|
FunkyFr3sh
|
8f3b947eb1
|
Use Pixel Buffer Objects (OpenGL)
|
2017-11-16 22:21:13 +01:00 |
|
FunkyFr3sh
|
153bfda117
|
compile resources again + cleanup
|
2017-11-16 19:19:17 +01:00 |
|