Clownacy
baf88b0d4b
Convert cursors to RGBA
...
...instead of colour-keyed RGB. Less goofing-around for the user.
2020-09-27 17:16:58 +01:00
Clownacy
51e6cb5a6c
Convert cursors and icon to PNG
...
No point using BMP, since they're way bigger, and they're not
required for authenticity, since the original files were .cur and
.ico files. At some point, I'd like to support those formats, so this
branch can use the original files.
2020-09-27 17:16:58 +01:00
Clownacy
c2bc6c5ec2
Avoid DPI scaling on Windows
...
Causes ugly blurring. The window can be resized manually if it's too
small.
2020-09-26 23:17:55 +01:00
Clownacy
ef00bbcdd4
Get window icon working in GLFW
...
Amazingly, this actually works in SDL2, so now they both use this
method.
2020-04-02 22:03:08 +01:00
Clownacy
cf75cbcad2
Don't embed font in executable
...
Creating a Japanese build would require 4GB+ of RAM because of this.
It's about time it got removed. It was a silly idea anyway.
2020-03-17 21:14:15 +00:00
Clownacy
bd876e9309
Change icon resource IDs
...
Visual Studio 2017 doesn't like them being 0 and 1: the compiled EXE
uses the small icon as the taskbar icon. Changing them to 101 and
102, like CSE2 did before the accurate-portable-split, fixes this.
2020-01-28 21:26:28 +00:00
Clownacy
b274c3af6a
Fix window icon in Windows builds
2020-01-23 12:29:22 +00:00
Clownacy
976e2425fc
Use native window/taskbar icons on Windows
...
This used to be a feature before the accurate-portable split, I'm
just restoring it.
Previously, while the EXE itself had a unique icon, the window and
taskbar both used the generic 'small' icon, which the original EXE
only used for the window.
SDL2 gives us a way to assign separate icons to each, but it's a
little clunky: it's Windows-only, requires the icons be in .ico
format, and needs them to be embedded in the EXE as resource files.
Also, for some reason, SDL2 doesn't let us refer to them by name - we
have to use their numerical ID.
2020-01-21 11:27:32 +00:00
Clownacy
ad9e3c3e3b
Upscale the window icon
...
Using a 16x16 icon looks terrible on Raspbian's Pixel desktop (it
upscales with blurry filtering).
2020-01-21 10:54:54 +00:00
Clownacy
5838eaba1f
Add a FOSS Japanese font
...
It doesn't seem that great at 320x240, but I don't speak Japanese so
what do I know?
2019-09-27 11:18:26 +00:00
Clownacy
0510e017e1
Merge branch 'accurate' into portable
2019-09-10 02:03:58 +00:00
Clownacy
c368734a5c
Fix the resource file in MinGW-w64
...
I hate all these headers
2019-09-09 23:43:48 +01:00
Clownacy
950bf28273
Merge branch 'accurate' into portable
2019-09-06 21:08:25 +01:00
Clownacy
c5a4a3cb4c
Future-proof the Windows resource file
...
Now it works with newer versions of Visual Studio
2019-09-06 21:04:40 +01:00
Clownacy
84c3cd825e
Merge branch 'accurate' into portable
2019-09-05 14:18:42 +01:00
Clownacy
b24d212e82
Convert resource file to forward-slash path separators
...
MSVC2003 seems fine with them, and doesn't seem to automatically
revert them either.
2019-09-05 14:08:03 +01:00
Clownacy
41a2b6982c
Add Liberation Mono's license
...
Might change the font. It looks ugly as hell with no anti-aliasing.
2019-09-04 19:26:33 +00:00
Clownacy
ae8aeae2ac
Restored the new font system
2019-09-04 15:43:28 +00:00
Clownacy
0ec8997244
Add back the resource files this branch uses
2019-09-04 15:03:40 +00:00
Clownacy
d3085eabd5
Merge branch 'accurate' into portable
2019-09-04 15:00:28 +00:00
Clownacy
990c0d37ac
Remove unneeded resource files
2019-09-04 14:59:45 +00:00
Clownacy
2fc3dbb1e5
Removed the menus from the resource file
...
They're unused in this branch
2019-09-04 14:58:07 +00:00
Clownacy
0be5e9ead8
Restored the window icon and custom cursor
2019-09-04 14:39:37 +00:00
Clownacy
79759145c0
Merge branch 'accurate' into portable
2019-09-04 01:53:58 +01:00
Clownacy
44f3b15348
Move the resource script to where it used to be
2019-09-04 01:47:51 +01:00
Clownacy
77430014e4
Add cursors and icons
...
I guess this ASM-accurate side-project is "complete" now...
2019-09-01 18:22:52 +01:00
Clownacy
84faec1bd1
Resource file overhaul part 1: metadata
2019-08-27 22:33:50 +01:00
Clownacy
49defcc3fb
Now the build output directory is generated completely
...
The data folder is now stored in the new assets folder, and copied
across as part of the build process.
2019-06-17 19:13:29 +00:00