I'm new to game programming and I'm having a hard time reading the 100 pages of source code, do you think theres a possibility to organize them a bit better so its easier for new people like myself to read?
Such as this:
It's a thought.
The file name prefixes help there somewhat. All the Menus, Widgets, and GameStates are grouped together, and most of the remaining files are harder to categorize.
On the topic of organizing the game's content, I'm having some trouble digging into the guts of this game.
I installed this game through the ubuntu repo, and I can't find where they put this game.
There is no .flare folder hidden in my home directory, all I've been able to find so far are my settings and keybindings in /home/.config/flare and my savegame details in /home/.local/share, and the executable in /usr/games/
Is there a reason the ubuntu software centre didn't just install everything into a nice and easy /.flare in my home directory? where is the game data?
@kyleclements I am on Debian and I'm sure Ubuntu also does it similarly as they take most of the stuff from Debian.Lemme see if I understand your question correctly. You are looking for the content i.e. the art.
From what I see in Debian, there are two packages in Debian.
One is flare and the other is flare-data.
$ aptitude search flare
p flare - single-player 2D action role-playing game, binary
p flare-data - single-player 2D action role-playing game, data files
I haven't installed it as I use and have the flare repo. (one for the game and one for the game engine).
So if you want to see the game-data then would sugget you do the following :-
$ dpkg -L flare-data | less
You should get a list of all the data files which are there.
I am using apt-file here and it gives me the same info.
http://pastebin.com/B9vJbmh2
On most *nix style operating systems we use the full XDG standard on where to put data:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
The main exception is OSX, where we put the game data inside the .app folder.
For now we release Windows all in one folder. There are preferred places in Windows to put the user's save games and config data but we're not using those (yet).
Thank you, both of you.
:)