├── .gitignore ├── data ├── FONTS.RR ├── SPRITES_extra.png └── TRACKS_extra.png ├── dune-project ├── from_manual.txt ├── game1.sav ├── game2.sav ├── game3.sav ├── game4.sav ├── game5.sav ├── hof.dat ├── music ├── anim_bridge_metal.ogg ├── anim_bridge_wood.ogg ├── anim_train_sink.ogg ├── broker.ogg ├── end_period_short_1.ogg ├── end_period_short_2.ogg ├── end_period_short_3.ogg ├── end_period_short_4.ogg ├── end_period_song_main.ogg └── main_theme.ogg ├── notes.txt ├── rails.opam ├── readme.md ├── sound ├── delivery_bell_high.ogg ├── delivery_bell_low.ogg ├── delivery_bell_mid.ogg ├── delivery_bell_very_low.ogg ├── station_build.ogg ├── track_build.ogg ├── track_remove.ogg ├── train_horn.ogg ├── train_horn_double.ogg ├── train_horn_long.ogg ├── train_horn_short.ogg ├── train_horn_very_long.ogg └── train_woosh.ogg ├── src ├── .gitignore ├── .merlin ├── dune ├── main_run.ml ├── rails_lib │ ├── anim │ │ ├── pani.ml │ │ ├── pani_format.md │ │ ├── pani_interp.ml │ │ ├── pani_render.ml │ │ └── pani_sprite.ml │ ├── backend │ │ ├── ai.ml │ │ ├── b_options.ml │ │ ├── backend.ml │ │ ├── backend_d.ml │ │ ├── backend_low.ml │ │ ├── balance_sheet.ml │ │ ├── balance_sheet_d.ml │ │ ├── block_map.ml │ │ ├── block_map_d.ml │ │ ├── bridge.ml │ │ ├── cheat_d.ml │ │ ├── cities.ml │ │ ├── climate.ml │ │ ├── constants.ml │ │ ├── end_of_year.ml │ │ ├── engine.ml │ │ ├── freight.ml │ │ ├── goods.ml │ │ ├── income_statement.ml │ │ ├── income_statement_d.ml │ │ ├── jobs.ml │ │ ├── money.ml │ │ ├── opponent.ml │ │ ├── owner.ml │ │ ├── params.ml │ │ ├── player.ml │ │ ├── priority_shipment.ml │ │ ├── region.ml │ │ ├── retirement_bonus.ml │ │ ├── retirement_bonus_d.ml │ │ ├── scan.ml │ │ ├── station.ml │ │ ├── station_map.ml │ │ ├── stock_market.ml │ │ ├── tile.ml │ │ ├── tile_develop.ml │ │ ├── tilemap.ml │ │ ├── track.ml │ │ ├── track_graph.ml │ │ ├── trackmap.ml │ │ ├── train.ml │ │ ├── train_station.ml │ │ ├── trainmap.ml │ │ ├── trainmap.mli │ │ └── ui_msg.ml │ ├── dune │ ├── main.ml │ ├── mainloop.ml │ ├── mapgen.ml │ ├── state.ml │ ├── ui │ │ ├── accomplishments.ml │ │ ├── balance_sheet_view.ml │ │ ├── broker.ml │ │ ├── build_train.ml │ │ ├── build_train_d.ml │ │ ├── cheats.ml │ │ ├── choose_engine.ml │ │ ├── efficiency_report.ml │ │ ├── endgame.ml │ │ ├── endgame_d.ml │ │ ├── engine_info.ml │ │ ├── find_city.ml │ │ ├── fired_animation.ml │ │ ├── fired_animation_d.ml │ │ ├── fiscal_end_rate_war.ml │ │ ├── fiscal_period_end.ml │ │ ├── fiscal_period_end_d.ml │ │ ├── fonts.ml │ │ ├── game_modules.ml │ │ ├── hall_of_fame.ml │ │ ├── history.ml │ │ ├── history_d.ml │ │ ├── income_statement_view.ml │ │ ├── intro.ml │ │ ├── intro_d.ml │ │ ├── job_offer.ml │ │ ├── job_offer_d.ml │ │ ├── load_game.ml │ │ ├── main_ui.ml │ │ ├── main_ui_d.ml │ │ ├── mapview.ml │ │ ├── mapview_d.ml │ │ ├── menu.ml │ │ ├── name_rr.ml │ │ ├── name_rr_d.ml │ │ ├── new_delivery_pickup.ml │ │ ├── new_delivery_pickup_d.ml │ │ ├── newspaper.ml │ │ ├── newspaper_d.ml │ │ ├── resources.ml │ │ ├── rr_command.ml │ │ ├── save_game.ml │ │ ├── save_game_d.ml │ │ ├── speed_record.ml │ │ ├── speed_record_d.ml │ │ ├── start_menu.ml │ │ ├── start_menu_d.ml │ │ ├── station_report.ml │ │ ├── stock_broker.ml │ │ ├── stock_broker_d.ml │ │ ├── stock_graph.ml │ │ ├── text_entry.ml │ │ ├── textures.ml │ │ ├── train_animate_side.ml │ │ ├── train_animate_side_d.ml │ │ ├── train_income_report.ml │ │ ├── train_income_report_d.ml │ │ ├── train_report.ml │ │ ├── train_report_d.ml │ │ ├── train_route_orders.ml │ │ ├── transition.ml │ │ └── ui_common.ml │ └── utils │ │ ├── bitset.ml │ │ ├── bitset.mli │ │ ├── dir.ml │ │ ├── ega.ml │ │ ├── event.ml │ │ ├── hall_of_fame_d.ml │ │ ├── int_id.ml │ │ ├── loc_map.ml │ │ ├── lzw.ml │ │ ├── my_gen.ml │ │ ├── pic.ml │ │ ├── png.ml │ │ ├── renderer.ml │ │ ├── sound.ml │ │ ├── tilebuffer.ml │ │ └── utils.ml └── tests │ ├── block_map_test.ml │ ├── dune │ ├── scan_test.ml │ ├── test_common.ml │ ├── tile_map_test.ml │ └── track_graph_test.ml ├── technical_documentation.md └── todo.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/.gitignore -------------------------------------------------------------------------------- /data/FONTS.RR: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/data/FONTS.RR -------------------------------------------------------------------------------- /data/SPRITES_extra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/data/SPRITES_extra.png -------------------------------------------------------------------------------- /data/TRACKS_extra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/data/TRACKS_extra.png -------------------------------------------------------------------------------- /dune-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/dune-project -------------------------------------------------------------------------------- /from_manual.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/from_manual.txt -------------------------------------------------------------------------------- /game1.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/game1.sav -------------------------------------------------------------------------------- /game2.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/game2.sav -------------------------------------------------------------------------------- /game3.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/game3.sav -------------------------------------------------------------------------------- /game4.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/game4.sav -------------------------------------------------------------------------------- /game5.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/game5.sav -------------------------------------------------------------------------------- /hof.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/hof.dat -------------------------------------------------------------------------------- /music/anim_bridge_metal.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/anim_bridge_metal.ogg -------------------------------------------------------------------------------- /music/anim_bridge_wood.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/anim_bridge_wood.ogg -------------------------------------------------------------------------------- /music/anim_train_sink.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/anim_train_sink.ogg -------------------------------------------------------------------------------- /music/broker.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/broker.ogg -------------------------------------------------------------------------------- /music/end_period_short_1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/end_period_short_1.ogg -------------------------------------------------------------------------------- /music/end_period_short_2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/end_period_short_2.ogg -------------------------------------------------------------------------------- /music/end_period_short_3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/end_period_short_3.ogg -------------------------------------------------------------------------------- /music/end_period_short_4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/end_period_short_4.ogg -------------------------------------------------------------------------------- /music/end_period_song_main.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/end_period_song_main.ogg -------------------------------------------------------------------------------- /music/main_theme.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/music/main_theme.ogg -------------------------------------------------------------------------------- /notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/notes.txt -------------------------------------------------------------------------------- /rails.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/rails.opam -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/readme.md -------------------------------------------------------------------------------- /sound/delivery_bell_high.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/delivery_bell_high.ogg -------------------------------------------------------------------------------- /sound/delivery_bell_low.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/delivery_bell_low.ogg -------------------------------------------------------------------------------- /sound/delivery_bell_mid.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/delivery_bell_mid.ogg -------------------------------------------------------------------------------- /sound/delivery_bell_very_low.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/delivery_bell_very_low.ogg -------------------------------------------------------------------------------- /sound/station_build.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/station_build.ogg -------------------------------------------------------------------------------- /sound/track_build.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/track_build.ogg -------------------------------------------------------------------------------- /sound/track_remove.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/track_remove.ogg -------------------------------------------------------------------------------- /sound/train_horn.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_horn.ogg -------------------------------------------------------------------------------- /sound/train_horn_double.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_horn_double.ogg -------------------------------------------------------------------------------- /sound/train_horn_long.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_horn_long.ogg -------------------------------------------------------------------------------- /sound/train_horn_short.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_horn_short.ogg -------------------------------------------------------------------------------- /sound/train_horn_very_long.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_horn_very_long.ogg -------------------------------------------------------------------------------- /sound/train_woosh.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/sound/train_woosh.ogg -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | png/ 3 | -------------------------------------------------------------------------------- /src/.merlin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/.merlin -------------------------------------------------------------------------------- /src/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/dune -------------------------------------------------------------------------------- /src/main_run.ml: -------------------------------------------------------------------------------- 1 | Rails_lib.Main.main () 2 | -------------------------------------------------------------------------------- /src/rails_lib/anim/pani.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/anim/pani.ml -------------------------------------------------------------------------------- /src/rails_lib/anim/pani_format.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/anim/pani_format.md -------------------------------------------------------------------------------- /src/rails_lib/anim/pani_interp.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/anim/pani_interp.ml -------------------------------------------------------------------------------- /src/rails_lib/anim/pani_render.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/anim/pani_render.ml -------------------------------------------------------------------------------- /src/rails_lib/anim/pani_sprite.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/anim/pani_sprite.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/ai.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/ai.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/b_options.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/b_options.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/backend.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/backend.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/backend_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/backend_d.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/backend_low.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/backend_low.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/balance_sheet.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/balance_sheet.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/balance_sheet_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/balance_sheet_d.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/block_map.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/block_map.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/block_map_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/block_map_d.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/bridge.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/bridge.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/cheat_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/cheat_d.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/cities.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/cities.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/climate.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/climate.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/constants.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/constants.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/end_of_year.ml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/rails_lib/backend/engine.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/engine.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/freight.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/freight.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/goods.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/goods.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/income_statement.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/income_statement.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/income_statement_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/income_statement_d.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/jobs.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/jobs.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/money.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/money.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/opponent.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/opponent.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/owner.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/owner.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/params.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/params.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/player.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/player.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/priority_shipment.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/priority_shipment.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/region.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/region.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/retirement_bonus.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/retirement_bonus.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/retirement_bonus_d.ml: -------------------------------------------------------------------------------- 1 | 2 | type t = { 3 | diff_factor: int; 4 | fired: bool 5 | } 6 | -------------------------------------------------------------------------------- /src/rails_lib/backend/scan.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/scan.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/station.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/station.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/station_map.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/station_map.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/stock_market.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/stock_market.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/tile.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/tile.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/tile_develop.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/tile_develop.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/tilemap.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/tilemap.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/track.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/track.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/track_graph.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/track_graph.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/trackmap.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/trackmap.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/train.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/train.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/train_station.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/train_station.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/trainmap.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/trainmap.ml -------------------------------------------------------------------------------- /src/rails_lib/backend/trainmap.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/trainmap.mli -------------------------------------------------------------------------------- /src/rails_lib/backend/ui_msg.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/backend/ui_msg.ml -------------------------------------------------------------------------------- /src/rails_lib/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/dune -------------------------------------------------------------------------------- /src/rails_lib/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/main.ml -------------------------------------------------------------------------------- /src/rails_lib/mainloop.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/mainloop.ml -------------------------------------------------------------------------------- /src/rails_lib/mapgen.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/mapgen.ml -------------------------------------------------------------------------------- /src/rails_lib/state.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/state.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/accomplishments.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/accomplishments.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/balance_sheet_view.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/balance_sheet_view.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/broker.ml: -------------------------------------------------------------------------------- 1 | open! Containers 2 | -------------------------------------------------------------------------------- /src/rails_lib/ui/build_train.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/build_train.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/build_train_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/build_train_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/cheats.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/cheats.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/choose_engine.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/choose_engine.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/efficiency_report.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/efficiency_report.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/endgame.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/endgame.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/endgame_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/endgame_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/engine_info.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/engine_info.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/find_city.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/find_city.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fired_animation.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fired_animation.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fired_animation_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fired_animation_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fiscal_end_rate_war.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fiscal_end_rate_war.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fiscal_period_end.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fiscal_period_end.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fiscal_period_end_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fiscal_period_end_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/fonts.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/fonts.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/game_modules.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/game_modules.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/hall_of_fame.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/hall_of_fame.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/history.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/history.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/history_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/history_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/income_statement_view.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/income_statement_view.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/intro.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/intro.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/intro_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/intro_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/job_offer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/job_offer.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/job_offer_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/job_offer_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/load_game.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/load_game.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/main_ui.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/main_ui.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/main_ui_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/main_ui_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/mapview.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/mapview.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/mapview_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/mapview_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/menu.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/menu.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/name_rr.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/name_rr.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/name_rr_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/name_rr_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/new_delivery_pickup.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/new_delivery_pickup.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/new_delivery_pickup_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/new_delivery_pickup_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/newspaper.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/newspaper.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/newspaper_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/newspaper_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/resources.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/resources.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/rr_command.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/rr_command.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/save_game.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/save_game.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/save_game_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/save_game_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/speed_record.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/speed_record.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/speed_record_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/speed_record_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/start_menu.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/start_menu.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/start_menu_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/start_menu_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/station_report.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/station_report.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/stock_broker.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/stock_broker.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/stock_broker_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/stock_broker_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/stock_graph.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/stock_graph.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/text_entry.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/text_entry.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/textures.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/textures.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_animate_side.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_animate_side.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_animate_side_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_animate_side_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_income_report.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_income_report.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_income_report_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_income_report_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_report.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_report.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_report_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_report_d.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/train_route_orders.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/train_route_orders.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/transition.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/transition.ml -------------------------------------------------------------------------------- /src/rails_lib/ui/ui_common.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/ui/ui_common.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/bitset.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/bitset.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/bitset.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/bitset.mli -------------------------------------------------------------------------------- /src/rails_lib/utils/dir.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/dir.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/ega.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/ega.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/event.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/event.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/hall_of_fame_d.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/hall_of_fame_d.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/int_id.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/int_id.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/loc_map.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/loc_map.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/lzw.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/lzw.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/my_gen.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/my_gen.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/pic.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/pic.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/png.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/png.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/renderer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/renderer.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/sound.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/sound.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/tilebuffer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/tilebuffer.ml -------------------------------------------------------------------------------- /src/rails_lib/utils/utils.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/rails_lib/utils/utils.ml -------------------------------------------------------------------------------- /src/tests/block_map_test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/block_map_test.ml -------------------------------------------------------------------------------- /src/tests/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/dune -------------------------------------------------------------------------------- /src/tests/scan_test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/scan_test.ml -------------------------------------------------------------------------------- /src/tests/test_common.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/test_common.ml -------------------------------------------------------------------------------- /src/tests/tile_map_test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/tile_map_test.ml -------------------------------------------------------------------------------- /src/tests/track_graph_test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/src/tests/track_graph_test.ml -------------------------------------------------------------------------------- /technical_documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/technical_documentation.md -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluddy/rails/HEAD/todo.md --------------------------------------------------------------------------------