new site on fedorahosted
by Alain Baeckeroot
Hi
I have saved the berlios site content and repository and bts on my
machine, and will put this on fedorahosted asap...
I am very sorry i did not had time previously to do it.
I happily noticed new patch about music and will commit it with some
other minor fixes i did...
Cheers and happy new year,
Alain
12 years, 4 months
New music system
by Heikki Ketoharju
Hello everyone!
Few days back I sent a little patch for music handling to the new
mailing list. Because there wasn't any responses, I decided to subscribe
also to the old lincity-NG mailing list. So this mail is cross-posted.
Apologies for that.
I have coded a little bit more now in christmas time and the new music
system has developed nicely. Someone should now test if my modifications
really work. Is there any bugs? Recource hogging?
Attached patch should work with svn revision 1618 (the newest one). Also
attached is music theme file default.xml. It should be in
"music/default/default.xml" with the old songs.
Here is what works now:
* It's possible to create several music themes in 'music/' folder via
subfolders or alternatively using just different xml-files.
* Theme can be read from xml file, but game should work also with
plain music files.
* It's possible to play different songs in different tech-levels (for
example after windmills have been invented)
* Game loops through all the songs. (No more infinite City Blues.ogg ;)
* There is simple command for changing between the tracks. (Not
implemented in GUI)
Future plans:
* Transport control buttons ingame
* There isn't any way to change music theme from GUI
* Search music themes from LINCITY_HOME (or whatever it is)
* Make xml file more flexible to allow grouping songs by tech level.
* Playlist starts from beginning after visiting Options screen. This
is because game restarts.
* Randomize option for songs could be reasonable?
* Maybe there should be a menu music different from game music?
* A whole new musical score for Lincity-NG! I have few themes sketched
already.
I'm doing this in my spare time because I really like the game, but got
tired because of archaic music system. Hopefully you like my modifications?
All comments and ideas conserning the future plans are welcome!
12 years, 4 months
Improved music handling system
by Heikki Ketoharju
Hi everybody!
This is my first post to the list, so maybe I first introduce myself:
Heikki Ketoharju, Finnish musician/nerd and occasional gamer. 22 years
old, living in Helsinki now.
I modified Lincity-NG so that it no longer plays one song looped, but
plays all songs in the "music" directory. Moreover, I added some more
flexibility to the code, to allow future development. Can someone please
check if attached patch really compiles works right? At least for me it
works nicely.
What works for now:
* Play all songs one after another (sorted alphabetically, I think)
* Skip between songs easily with one command. (Not implemented in GUI)
* All songs are nicely organized to the table of struct variables.
Future plans:
* XML configuration file in music folder
* Different sound themes
* Songs can be set to play only in certain tech-levels (halfway done
I think)
* Some kind of transport control buttons in game screen, to allow
changing tracks ingame.
* A whole new musical score for Lincity!
I'm doing this in my spare time because I really like the game, but have
got tired of "02 - City Blues.ogg" ;-) I'm not a very experienced (C++)
coder, but I hope my patches are good enough :)
When I get the code to admissible level, I will begin composing. I have
few themes sketched already. Hopefully you like my idea about new music
for the game?
All comments and ideas conserning the future plans are welcome!
12 years, 4 months