Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | DISCARD ON MERGE!: Temporary compatibility fix: translate signal aspects ↵ | orwell96 | 2020-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 submods | Blockhead | 2020-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 core | orwell96 | 2020-07-07 |
| | |||
* | Fix minetest.after() loop between ↵ | orwell96 | 2020-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 |