aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
Commit message (Collapse)AuthorAge
* DISCARD ON MERGE!: Temporary compatibility fix: translate signal aspects ↵orwell962020-07-23
| | | | back to old format if they are in the new format, to allow reverting from new_lzb
* Make using the default tracks optional, even in submodsBlockhead2020-07-10
| | | | | | | | | | If advtrains_train_track is disabled, don't register any tracks that use its model like the LuaATC automation rail, point speed restriction rail, station/stop rail. For LuaATC, the definition for firing an event when a train runs over the rail needs to be moved into the common defs so that other mods like linetrack can use that as an interface.
* Add "Fallback state" for freed routes, move p_mesecon_iface.lua to coreorwell962020-07-07
|
* Fix minetest.after() loop between ↵orwell962020-06-05
| | | | ARS->update_route->update_signal_aspect->invalidate_path
* Apply minetest.formspec_escape() to prevent formspec injection (H#143)class Database_SQLite3 : public Database { public: Database_SQLite3(ServerMap *map, std::string savedir); virtual void beginSave(); virtual void endSave(); virtual bool saveBlock(v3s16 blockpos, std::string &data); virtual std::string loadBlock(v3s16 blockpos); virtual void listAllLoadableBlocks(std::list<v3s16> &dst); virtual int Initialized(void); ~Database_SQLite3(); private: ServerMap *srvmap; std::string m_savedir; sqlite3 *m_database; sqlite3_stmt *m_database_read; sqlite3_stmt *m_database_write; #ifdef __ANDROID__ sqlite3_stmt *m_database_delete; #endif sqlite3_stmt *m_database_list; // Create the database structure void createDatabase(); // Verify we can read/write to the database void verifyDatabase(); void createDirs(std::string path); }; #endif
id=b56cda8695e4af6ebc5bf98c01de715979a219db'>Fix remote routesettingorwell962019-04-16 | * Move LZB system to core and unify approach callback mechanismorwell962019-04-16 | * Disable-ARS switch in signal and set this when cancelling an ARS routeorwell962019-03-15 | * Ugly workaround for green signals bugorwell962019-03-15 | * Fix cancelling "Unknown Route" when section is deleted.orwell962019-03-15 | * Do not clear LZB control when invalidating.orwell962019-02-23 | | | | Prevents trains accelerating towards red signals on /at_reroute * possible fix for "trains standing at green signals"orwell962019-02-21 | * Fix moving Signal IPs (no duplicate IPs)orwell962019-02-21 | * Add ARS rules for stop railsorwell962019-02-19 | * Prioritize LZB callback (possible bugfix for H#100)orwell962019-02-19 | * Improve Signal IP form/workfloworwell962019-02-16 | * Fix TCBS crash also for route_uiorwell962019-02-16 | * Fix routesetting when TCBS is missing (H#109)orwell962019-02-12 | * Fixes regarding signal assignments/tcbsorwell962019-02-09 | | | | | - No longer crashes when assigned tcb is removed - don't forbid modification just because signal is assigned * Signalling form auto-updateorwell962019-02-05 | * Force LZB Halt settingorwell962019-02-05 | * Minor Bugfixesorwell962019-02-03 | * Basic functions of "stop rail", missing ARS rules and signal.orwell962019-01-24 | | | | For signal, need to think of a callback system for signals and moving atlatc queue to core? * Point speed restriction railsorwell962019-01-24 | * Fix last commit (and another warn2log)orwell962019-01-22 | * Fix atc command evaluation BB commandorwell962019-01-22 | * Make LZB params adjustableorwell962019-01-22 | * another small fix for route_uiorwell962019-01-22 | * Fix small bug in routeui and make another message log-onlyorwell962019-01-22 | * disable debug print of ARSorwell962019-01-22 | * Fix may_modify_section on newly created sectionsorwell962019-01-22 | * Fix invalid path invalidation in ARS codeorwell962019-01-22 | * Prohibit removing/changing of TCBs and sections while routes or signals are setorwell962019-01-22 | * Do not run LZB traverser when path does not existorwell962019-01-21 | * Fix route aspect dialogorwell962019-01-15 | * Fix Routingcode ARSorwell962019-01-15 | * Can disable automatic working without cancelling routeorwell962019-01-15 | * Actual working ARSorwell962019-01-15 | * Add Automatic Routesetting UIorwell962019-01-09 | | | | Settings have no effect so far * Fix crashes:orwell962018-12-10 | | | | | 1. when train hit a route, nil access to already cancelled route caused crash 2. fix crash when trying to ensure_init a train that doesn't exist * Signs (static signals)orwell962018-12-08 | * Shunt signals (not exactly Ks), along with fixes in other components that ↵orwell962018-12-08 | | | | those rely on * Apply speed restriction 0.5 indexes later, do not cap tarvelocity by ↵orwell962018-12-04 | | | | speed_restriction * Do not set speed_restriction for nprorwell962018-12-04 | * Added on_train_approach callback, non-permanent external LZB brakepoints and ↵orwell962018-11-29 | | | | | | basis for "stop rails" Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.