Folder layout

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Folder layout

Post by Transportman »

I went into the OpenTTD folder in My Documents to place a savegame in the save-subfolder, and then I suddenly had a suggestion I wanted to share.

The current situation is that there are a number of subfolders in the OpenTTD folder but screenshots just go in the main folder, and my suggestion is to add a subfolder for screenshots.

So, for Windows 7 the path to a screenshot:

Code: Select all

old: C:\Users\Username\My Documents\OpenTTD\screenshot.png
new: C:\Users\Username\My Documents\OpenTTD\screenshot\screenshot.png
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: Folder layout

Post by Pyoro »

Good suggestion (though I'd vote for "screenshots" as folder name ;) ). Maybe make it configurable in the config file? Unless I've overlooked something and it is already...
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: Folder layout

Post by Transportman »

The reason I propose the singular form, is because the other folder names are also singular.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
ZxBiohazardZx
Tycoon
Tycoon
Posts: 1534
Joined: 14 Mar 2006 12:46
Location: Netherlands

Re: Folder layout

Post by ZxBiohazardZx »

i gave it a try:

nevermind wont compile, ill check this later
0001-test-to-add-screenshot-dir.patch
(5.18 KiB) Downloaded 114 times

7>..\src\screenshot.cpp(716): error C2065: 'slot' : undeclared identifier
7>..\src\screenshot.cpp(716): error C2065: 'file_index' : undeclared identifier
7>..\src\screenshot.cpp(716): error C2143: syntax error : missing ',' before ';'


i just copied it from newgrf and modified it, but that ofc doesnt work

after adding 2 uints (pointless and wrong i think, but yeah...)
0001-test-to-add-screenshot-dir.patch
(5.18 KiB) Downloaded 114 times
Attachments
0001-test-2.patch
(5.21 KiB) Downloaded 101 times
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 27 guests