Busplan v0.8
by maciekc
maciekcz@pf.pl


Thanks to StepEx for His help and publishing stext sources:)

TODO:
- change section option
- show actual time when browsing busses

Changes:
0.1 - First version - unstable:)
0.2 - Now stable I think
0.3 - Multpile bus support
0.4 - Better displaying, when database isn`t uploaded phone doesn`t hangs, displays 1 hour later and 1 hour before you choose.
0.5 - Auto hour, auto day_type(without vacation)
0.51 - Auto day fixed(on workday it selected vacation)
0.6 - User definable day types(day type list and day type title in menu), line choose menu title, custom auto day_type 
0.7 - menu changed, save default
0.8 - comments in dbase with (like in c), key 0 changes to next line and shows 8 to previous

Program makes easier using public transport in cities(f.e. busses, underground, trains) :)

It support few diffrent lines.
You need to upload database.txt to section 18-25 - this file contains line definitions, and times.

Database.txt:
first line is definition of menu that you choose in line - format is that
line_title;line1;line2;line3

That will show menu:

line_title
-----------
line1
line2
line3

Next line is day_type menu definition - format:
day_type_title;normal day;sunday;

That will show menu:

day_type_title
-------------
normal day
sunday

Next line is defining auto day_type.
I`ll explain this on example

1111112 - means that on monday,tuesday,wendesday,thursday,friday,saturday it will choose first position in day_type menu, and on sunday it`ll choose second position.(first number is what to choose on monday, second on tuesday...)

so that file:

line_title;line1;line2;line3
day_type_title;normal day;sunday;
1111112

is for them who has 3 lines and other times on sunday and normal day...
I hope that you understand everything

After definitions are times of bus

It is in that format-

Line1
	first day type
	second day type
	...
	...
Line2
	first day type
	second day type
	...
	...
Line3
	first day type
	second day type
	...
	...

You must write every hour - from 0 to 23.

When you`ll look on database.txt and dbtest.txt i hope that you`ll understand everything:) 

That`s all now I think...

If any questions,comments write: maciekcz@pf.pl