Leon Styhre
0978c697a2
(macOS) Updated a code comment as the issue described was resolved with SDL 2.0.18
2021-12-08 21:19:24 +01:00
Leon Styhre
515577c8f9
(Unix) Changed the fullscreen mode to SDL_WINDOW_FULLSCREEN_DESKTOP.
...
Also removed the --windowed, --fullscreen-normal and --fullscreen-borderless command line options and menu entry.
2021-12-05 13:51:39 +01:00
Leon Styhre
af52d9b0ac
Changed most increment and decrement operators from postfix to prefix for es-core.
2021-11-17 17:48:49 +01:00
Leon Styhre
3e12fcb420
General refactoring and minor optimizations throughout the codebase.
2021-11-09 22:40:08 +01:00
Leon Styhre
db5fb48cf8
OCD commit to fix some spelling inconsistencies.
2021-09-21 22:53:08 +02:00
Leon Styhre
63767347f2
Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags.
2021-09-19 14:37:10 +02:00
Leon Styhre
0b6d987263
Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags.
2021-09-18 09:53:26 +02:00
Leon Styhre
91879c9b4a
Cleaned up some rendering code.
2021-08-19 21:39:01 +02:00
Leon Styhre
7b5d673050
Replaced the internal Vector2i data type and functions with the GLM library equivalent.
...
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre
1fb0ccef0d
Replaced the internal Vector2f data type and functions with the GLM library equivalent.
2021-08-16 18:25:01 +02:00
Leon Styhre
722468129e
Replaced all internal matrix data types and functions with the GLM library equivalents.
...
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre
23fdc00044
Formatted the es-core source tree using clang-format.
2021-07-07 20:31:46 +02:00
Leon Styhre
dc29b97e91
Changed es_settings.cfg to es_settings.xml
2021-06-16 19:05:24 +02:00
Leon Styhre
75430f210a
Some cosmetic code cleanup.
2021-06-11 17:02:06 +02:00
Leon Styhre
08aefdb48e
(macOS) Made the application work properly on high DPI displays.
2021-05-02 12:35:16 +02:00
Leon Styhre
330a539241
Made a Windows-specific fix for the white screen flashing during startup.
2021-03-20 08:52:08 +01:00
Leon Styhre
cd19ef7b16
Properly fixed the white screen flash seen on application startup.
2021-03-19 20:05:34 +01:00
Leon Styhre
adaec71f5b
Some minor code cleanup.
2021-03-19 18:25:37 +01:00
Leon Styhre
f08b434bc6
Fixed two regressions that could lead to crashes.
2021-03-17 20:16:22 +01:00
Leon Styhre
6a57a44df9
Improved the sizes of some menu GUI elements on 4:3 aspect ratio displays.
2021-03-09 17:17:33 +01:00
Leon Styhre
b44a21dc5a
(Unix) Added a menu option to enable or disable the desktop compositor.
2021-02-22 21:13:06 +01:00
Leon Styhre
ec5f1c1b5f
Fixed the annoying white screen flashing when starting the application.
2021-01-25 18:11:18 +01:00
Leon Styhre
4d2ef89864
Added multi-monitor support.
2021-01-24 23:44:50 +01:00
Leon Styhre
f7207edca5
(Windows) Fixed an issue with reliably launching games.
2021-01-24 13:51:40 +01:00
Leon Styhre
88235a0f06
Started to add support for multi-monitor setups.
2021-01-24 12:03:44 +01:00
Leon Styhre
97a6558472
(Windows) Made the application have the correct fullscreen size on high DPI displays.
2021-01-21 21:52:28 +01:00
Leon Styhre
632d11e46f
Minor code update.
2021-01-16 23:01:13 +01:00
Leon Styhre
ef25c675f7
Fixed an issue where separator lines would not get rendered on lower resolutions.
2021-01-16 22:55:38 +01:00
Leon Styhre
ee8e0a0c89
Some minor code cleanup.
2021-01-15 18:47:01 +01:00
Leon Styhre
11bf8046d8
Added screen resolution modifiers to get proper high resolution scaling.
2021-01-13 19:42:06 +01:00
Leon Styhre
c95334756d
Fixed a lot of MSVC compiler warnings.
2020-12-29 12:54:24 +01:00
Leon Styhre
0cce86beca
Created a common pixel conversion function for both renderers.
2020-12-18 16:49:11 +01:00
Leon Styhre
9bea6bb17e
Added a game info overlay to the screensaver.
...
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre
2a852170a8
(Windows) Fixed some build issues and got the OpenGL shaders to work.
...
Also some additional code cleanup.
2020-09-16 22:14:35 +02:00
Leon Styhre
a34bc45e56
Added an opacity shader.
2020-09-12 19:17:26 +02:00
Leon Styhre
3643c08caf
Updates to the OpenGL shader handling.
2020-09-12 12:14:48 +02:00
Leon Styhre
fd10aba815
Updated the GLSL shader logic and added a postprocessing function.
2020-09-04 18:59:19 +02:00
Leon Styhre
d512c2b11d
Implemented OpenGL GLSL shader support.
2020-08-30 22:19:37 +02:00
Leon Styhre
77076c22f4
(Unix) Added border to borderless window if the resolution was manually changed.
...
Also fixed a mistake introduced in the last commit.
2020-08-23 22:40:15 +02:00
Leon Styhre
d6baa2d132
(macOS) Add a window border if the user has changed the resolution from the command line.
2020-08-23 22:19:37 +02:00
Leon Styhre
b8c6366349
(macOS) Made the game launching more seamless.
2020-08-23 18:41:08 +02:00
Leon Styhre
88a5962926
Changed '#ifdef' to '#if defined()' throughout the code.
2020-08-23 17:04:30 +02:00
Leon Styhre
af5a48ed10
Removed unnecessary #ifdefs for the SDL2 include files.
2020-08-23 16:15:06 +02:00
Leon Styhre
b0624f2bc9
Updates to make the application work correctly (more or less) on macOS.
2020-08-18 17:48:21 +02:00
Leon Styhre
8fcb56cfb3
Made game launching on Windows much more seamless.
...
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre
5a7fb828a6
Added proper error handling for resource files and improved overall logging.
2020-07-08 17:01:47 +02:00
Leon Styhre
76aa239855
Initial update to make the application build and run on Windows.
...
Much more work will be needed to get the Windows port working properly.
2020-07-03 20:23:51 +02:00
Leon Styhre
e4fdd1e20d
Code cleanup and code documentation update.
...
As of this commit, the initial code cleanup and code documentation has been completed for the entire application.
2020-06-28 18:39:18 +02:00
Leon Styhre
eeae8033bd
Use SDL2 include files instead of those for SDL version 1.
...
This resolves an irritating issue in the code editor where SDL2-specific functions could't be found. Not entirely sure about the SDL include file logic for other operating systems than Linux so the #ifdef directives may need to be updated further at a later date.
2020-06-26 18:03:55 +02:00
Leon Styhre
1f74723533
Another code cleanup and code documentation update.
2020-06-26 17:17:35 +02:00