Commit graph

121 commits

Author SHA1 Message Date
Christoph Oelckers
c1a8d55d24 - removed Softpoly from the startup screen and its enabling define in the project.
Since this not only crashes but also has totally unfitting lighting, which is unlikely to be fixed it really makes no sense offering this to the users.
Vulkan may also have to be disabled for release builds because it's not working yet but that needs to be fixed later and should eventually be supported.
2020-09-20 21:15:16 +02:00
Rachael Alexanderson
6fdc11d608 - Raze is not GZDoom. Changed to something more generic. (Will do the same update to GZDoom) 2020-06-16 08:01:37 -04:00
Christoph Oelckers
5effc95ae1 - updated startup dialog and fixed multisampling not active in the 3D scene. 2020-06-14 20:59:26 +02:00
Christoph Oelckers
ebe936f03f - moved platform backend code to 'common'. 2020-05-26 00:09:27 +02:00
Christoph Oelckers
29db3febb8 - updated the platform code to be mostly identical with GZDoom 2020-05-26 00:08:26 +02:00
Christoph Oelckers
c4017de12f - updated to GZDoom's new texture management system. 2020-05-25 23:59:07 +02:00
Christoph Oelckers
6bffdf80a1 - finally managed to merge in the original texture system commit.
Game compiles and runs but transparency doesn't work yet.

# Conflicts:
#	source/CMakeLists.txt
#	source/core/menu/menu.cpp
#	source/core/textures/buildtiles.cpp
2020-05-24 22:53:14 +02:00
Christoph Oelckers
7a84887fc4 - transitioned FTexture.
Mostly working. Note: Brightmaps must be per-translation!
2020-05-24 19:12:22 +02:00
alexey.lysiuk
d8e3d60e85 - fixed compilation of Cocoa backend 2020-05-05 10:55:35 +03:00
Mitchell Richters
68a0ead5f0
- fix Linux builds following reset of master branch. (#44)
* - fix Linux builds following reset of master branch.

* - fix Linux Clang CI failure.

* - change '#ifdef __linux__' to '#ifndef _WIN32' as requested/required.

* - initialise batchrun in proper spot.
2020-05-05 10:45:21 +03:00
Mitchell Richters
1ce4081d37 - change 'refreshfreq' from int to double.
A double is already used in CalcSmoothRatio. Further to this, displays that use TV standard frequencies do not use perfect 60Hz frequencies, but frequencies such as 59.94Hz, 23.976Hz (precisely, 24*(1000/1001) = 23.9760239760239760...) etc.

Reference: 'https://www.ghacks.net/2010/04/28/59-hertz-refresh-rate/', 'http://www.paradiso-design.net/videostandards_en.html'.

# Conflicts:
#	source/build/include/baselayer.h
#	source/platform/posix/cocoa/i_main.mm
2020-04-16 00:03:00 +02:00
Mitchell Richters
5c3c55b6cd - fix issues with Linux SDL builds following changes to refreshfreq. 2020-04-16 00:01:49 +02:00
alexey.lysiuk
e6431a756b - fixed error when Steam config cannot be opened
https://forum.zdoom.org/viewtopic.php?t=68193
2020-04-13 23:59:53 +02:00
Mitchell Richters
654ab5bee4 - Repair compiling on Arch Linux with GCC 9.3.0.
'countof()' was not available.
2020-04-13 23:59:51 +02:00
Christoph Oelckers
14cdfa3f3c - more file matching.
- moved c_con to Duke subproject because it's the only one using this stuff.
2020-04-12 08:30:41 +02:00
Christoph Oelckers
8e87674d4c - backend code matching with GZDoom 2020-04-12 08:30:40 +02:00
Christoph Oelckers
5584c726ba - file system update and adjustment. 2020-04-12 08:30:40 +02:00
Christoph Oelckers
ac32194079 - code cleanup / removal of imgui. 2020-04-12 08:30:39 +02:00
Christoph Oelckers
f671eb622f - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
Christoph Oelckers
6ef93ba514 - match cmdlib.cpp/.h with GZDoom. 2020-04-12 08:30:36 +02:00
Christoph Oelckers
e2f5e8fe34 - renamed 'common' to 'core'.
We'll need 'common' for something else.
2020-04-12 08:30:36 +02:00
Christoph Oelckers
8f3cc0b5af - removed screen tilting code for software renderer.
Since this doesn't work anymore the code is no longer needed - and it stands in the way of doing camera textures purely in hardware.
2020-03-29 08:36:39 +02:00
alexey.lysiuk
53cda00747 - added detection of Redneck Deer Huntin' installed from Steam 2020-03-07 11:31:46 +02:00
Rachael Alexanderson
6a40d71e89 - Replicate commit from: 5ee864ab5b
- Special thanks to @hanatos
2020-02-21 07:55:11 -05:00
Christoph Oelckers
52e12702cf - fixed Linux paths not ending with a slash. 2020-02-11 21:00:01 +01:00
alexey.lysiuk
508b019447 - removed useless call in SDL backend
Its result wasn't used, and it may invoke function of DDummyFrameBuffer during initial sound precaching
2020-02-10 15:09:59 +02:00
alexey.lysiuk
67b5cd2cb3 - disabled progress bar on Cocoa start window 2020-02-08 16:56:52 +02:00
Christoph Oelckers
681155de65 - fixed GOG path lookup.
I was unable to verify the Steam paths so they may or may not work.
2020-02-07 22:23:33 +01:00
alexey.lysiuk
1479e1feae - unified demo path handling for all platforms
The current game subdirectory is now created on all platforms
2020-02-06 12:04:51 +01:00
alexey.lysiuk
787211c9dc - unified saved games path handling for all platforms
The current game subdirectory is now created on all platforms
Added support for -savedir command line switch for all platforms
Removed save_dir CVAR in favor of cl_savedir which was available on Windows only
Made cl_savedir CVAR global instead of different value per each game
2020-02-06 12:04:51 +01:00
Christoph Oelckers
67a2952ead - fixed RR's music. 2020-02-05 22:03:42 +01:00
Christoph Oelckers
3a522091b9 - detect the add ons in the Megaton edition. 2020-02-02 13:33:07 +01:00
Christoph Oelckers
1bb1f2ae98 - fixed the crash reporter on Windows. 2020-02-02 13:33:07 +01:00
alexey.lysiuk
a890079906 - added Steam path to Shadow Warrior Redux add-ons
Twin Dragon and Wanton Destruction are in the game selection list now
2020-02-02 13:57:45 +02:00
alexey.lysiuk
1edb5fe8ae - moved showing of start window banner to proper location in Cocoa backend
Banner with the current game's name is not used yet but was displayed without any text
2020-02-02 13:55:59 +02:00
alexey.lysiuk
0c2faae48b - fixed invalid context warnings with Cocoa backend
A bunch of 'CGContext<...>: invalid context 0x0' messages were printed to console during OpenGL view creation and resizing
2020-02-01 17:11:56 +02:00
alexey.lysiuk
55cfecbe2c - extended list of paths to Steam games 2020-02-01 17:09:13 +02:00
alexey.lysiuk
9dd3213393 - fixed path traversal on POSIX platforms 2020-01-29 11:41:23 +02:00
Christoph Oelckers
9b88d41169 - fixed compile errors. 2020-01-28 21:44:39 +01:00
Christoph Oelckers
8657ecb35d - implemented 'map' CCMD for all games. 2020-01-28 11:20:30 +01:00
Rachael Alexanderson
999986e6cd - replace Linux xpm icon, even though it doesn't seem like it's ever being used 2020-01-27 21:31:08 -05:00
Christoph Oelckers
6f3bbcba46 - fixed the demo setup for Blood.
This failed to read the demos in the game directory.
For those who find demos annoying there's now a demo_playloop CVAR.
Currently this is only active in Blood because the other games have demos disabled because they are non-functional.
2020-01-26 22:22:41 +01:00
alexey.lysiuk
687573d4c5 - fixed crash during initialization in Cocoa backend 2020-01-26 16:41:52 +02:00
alexey.lysiuk
e7b013e201 - setup icon for macOS application bundle 2020-01-26 16:39:10 +02:00
Madame Rachelle
47ba169150 - oops, I misplaced an endif in the Linux code 2020-01-22 05:54:59 -05:00
Rachael Alexanderson
a637ec60c4 - finally - we have a compile on linux! 2020-01-20 05:46:18 -05:00
Rachael Alexanderson
f28d05753d - almost got it all compiled on linux 2020-01-20 04:09:44 -05:00
Rachael Alexanderson
d9563dae73 Merge remote-tracking branch 'origin/master' into fix-linux-compile 2020-01-20 03:00:16 -05:00
Christoph Oelckers
d7d5da93f6 - properly set up info.plist for macOS 2020-01-20 00:24:25 +01:00
Christoph Oelckers
454f796b69 - collect all 3D geometry in a list so that it can be rendered later.
With this out of the way the renderer can now be switched to the core profile.
2020-01-18 22:41:08 +01:00