This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
#endif | |
#include <errno.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#include <glib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THBT mass genocide is the only way to deal with the global population crisis. | |
THW stop all trade and negotiations with any country that does not hold free democratic elections | |
THB that the media holds men and women against different standards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private List<Stop> getStopsBetween(Station _depart, Station _arrive) | |
{ | |
List<Stop> temp = new List<Stop>(); | |
//Order stops by arrival time (null first?), to ensure that we are checking in order | |
List<Stop> orderedStops = this.Stops.OrderBy(s => s.ArrivalTime).ToList(); | |
foreach (Stop s in orderedStops) | |
{ | |
//if stop is departure (i.e. could be first stop, when arrival is null) | |
if (s.Station == _depart) |