openOMSI GitHub Discord
Architecture

Docs / The project / Architecture

Mapping to the original

1 min readEdit this pagedocs/ARCHITECTURE.md

Original unit Crate
File readers (TTextfile) omsi-cfg
mc_exprcalc (scripts) omsi-script (all 245 stock script sets compile)
mc_o3dfiles, .x meshes omsi-o3d
mc_complobj, mc_MatlMan omsi-model
mc_complMapObj, mc_splines, mc_path omsi-scenery
mc_mapclass, mc_terrain_2, mc_chrono, mc_fahrstrasse omsi-map
mc_roadvehicle, mc_vehicle, mc_train, mc_passcabin, mc_sound omsi-vehicle
mc_timetable, mc_station omsi-timetable; runtime in omsi_sim::timetable_run
mc_weather, mc_himmel, mc_font, mc_language, mc_money, mc_human, mc_driver, mc_situation, mc_input, options omsi-content
mc_texMan omsi-texture
mc_sound runtime, DirectSound omsi-audio
mc_font text textures omsi_sim::texttex
Tessellation, spline geometry omsi-geometry
mc_d3d_classes (Direct3D 9) omsi-render
mc_Form_Main, main loop omsi-app
Vehicle runtime (TRoadVehicleInst) omsi-sim
AI (mc_path, mc_pathrule), humans, physics (ODE) omsi-sim: ai_traffic, ai_motion, human, crowd, rigid, physics
Options and the start dialogs launcher/ and the omsi-launcher-* crates
No counterpart (OMSI 2 uses a plugin) omsi-trolley
No counterpart omsi-net, omsi-lan (multiplayer)

The vanilla picture reproduces Direct3D's: one-sided meshes, envmap with mask, bump map, noZcheck/Zbias, dynamic slots, night maps, reflections, mirrors, shadow cascades. The Enhanced renderer is a physically based renderer of its own (Graphics).

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open