Erik-Jan
-
Posts
3 -
Joined
-
Last visited
Posts posted by Erik-Jan
-
-
Hi,
I've been playing around with OpenRCT2 recently, and I have changed a few things to fix some bugs and to add some new functionality. Attached are a few patches with these changes. All patches are against v0.3.5.1.
Fixes:
fix_docdir: the changelog-window only looks in a few standard locations. If you install in a non-standard prefix, the changelog can't be found.
window_flags: a few functions use 16bit window flags, but there are more than 16 flags.
notification_settings_theme: the notification settings window is not themeable.
fix_NewsItems_size: the NewsItems window scroll list doesn't grow when new NewsItems are added.
Snap windows:
The windows in OpenRCT2 snap to other windows when close to eachother, but only when the left/top side of one window is close to the right/bottom side of the other window. This patch adds snapping to the same side (left/left, top/top etc) so you can align your windows much nicer
Shade windows:
On Linux, you can shade/roll-up windows: the window is rolled-up into the title bar, but stays on the screen. These two patches add this functionality to OpenRCT2: the first patch adds the technical aspects of shading windows; the second patch makes most of the windows shadable.
Enjoy!
OpenRCT2-0.3.5.1-fix_docdir-1.patch OpenRCT2-0.3.5.1-window_flags-1.patch OpenRCT2-0.3.5.1-notification_settings_theme-1.patch OpenRCT2-0.3.5.1-fix_NewsItems_size-1.patch OpenRCT2-0.3.5.1-snap_windows-1.patch OpenRCT2-0.3.5.1-shade_tech-1.patch OpenRCT2-0.3.5.1-shade_windows-1.patch
-
On linux, the directory where OpenRCT2 searches for changelog.txt is hardcoded to /usr/share/doc/openrct2. If you install OpenRCT2 in a different prefix (like /opt), changelog.txt can't be found.
Attached patch fixes this: it adds ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR} to the search locations.
Some fixes, better window snapping, shade/roll-up windows
in Problems, Bugs and Feedback
Posted
I've added bugs 16426, 16428, 16429 and 16430 for the fixes, and discussions 16431 (snapping) and 16432 (shading).