Commit graph

43 commits

Author SHA1 Message Date
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
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
f671eb622f - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
Christoph Oelckers
e2f5e8fe34 - renamed 'common' to 'core'.
We'll need 'common' for something else.
2020-04-12 08:30:36 +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
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
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
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
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
5e34b437d9 Merge branch 'master' into fix-linux-compile 2020-01-11 17:37:29 +01:00
Christoph Oelckers
3b955b7c94 - added support for ZDoom-style GAMEINFO. 2020-01-11 17:05:25 +01:00
Rachael Alexanderson
0785c6b9e3 - this is a good stopping point for now, again... 2020-01-11 10:02:44 -05:00
Rachael Alexanderson
96852300bf - a lil more done 2020-01-11 09:27:12 -05:00
Rachael Alexanderson
965c2fd789 - and a lil bit more work 2020-01-11 09:27:12 -05:00
Rachael Alexanderson
e86e830407 - some more work on this, taking antoher break 2020-01-11 09:27:12 -05:00
Rachael Alexanderson
897354e725 - this is incomplete, i'm just putting this here for now so i don't lose it 2020-01-11 09:27:12 -05:00
Christoph Oelckers
cfed7afd02 - all source compile now on macOS 2020-01-08 01:00:57 +01:00
Christoph Oelckers
fb985d2503 - more macOS compilation fixes
Still not complete…
2020-01-07 01:11:19 +01:00
Christoph Oelckers
134122335b - first attempt to compile on a Mac
This could have gone better, there's far too many warnings here
2020-01-06 02:41:47 +01:00
Christoph Oelckers
5da0f5c7fa - added the Posix backend code.
Nothing is hooked up yet and adjusted - next thing to do.
2020-01-05 21:40:18 +01:00