Commit Graph

31 Commits

Author SHA1 Message Date
5eed408012 Ported the buildings table. 2021-11-14 18:27:49 +01:00
c47a55892f Ported the resources table to the village model. 2021-11-14 16:53:05 +01:00
946b0b5acc Added base classes for buildings. 2021-11-14 14:19:13 +01:00
165d0d5d70 Initialize villages, and also call the relevant methods during migration. 2021-11-14 13:59:02 +01:00
be2a4a93f9 Ported villages, village_buildings, village_technologies, and the village_units table. Also updated the engine. 2021-11-14 13:58:26 +01:00
e49b8613e6 Added VillageInitializer helper. 2021-11-14 13:56:56 +01:00
731f45f63d Village management skeleton classes. 2021-11-14 11:45:34 +01:00
aa2664c200 Ran a code formatter on most of the old php to fix indents in vscode. 2021-11-14 11:02:22 +01:00
8cd215e0f1 Use -m for migrations, and call the new create_test_users method if -u also present. Also updated the engine. 2021-11-14 02:38:29 +01:00
01dbdb6aa1 Initialize platforms, and check whether to run migrations using the arg parser. 2021-11-14 02:28:56 +01:00
62d0d59cc9 Updated the engine to the latest. 2021-11-14 02:21:43 +01:00
12cd5a9b72 Fix RCPP_OBJECT declaration. 2021-10-31 14:33:22 +01:00
ce22bde08f Remove unecessary module folder entry. 2021-10-31 14:30:06 +01:00
8472e10d23 Redirect to / on login success. 2021-10-31 10:28:19 +01:00
c19a796782 Add call the RCPP_OBJECT macro for the user controller. 2021-10-31 10:19:41 +01:00
0f7f337517 Check whether the session is set in is_logged_in. 2021-10-31 10:19:23 +01:00
050e9bf0d0 Updated the engine. 2021-10-31 10:19:02 +01:00
deb3a6dd08 Small improvements. 2021-10-31 02:11:47 +01:00
9aa2e64199 Updated the engine, and added a redirect to the login page from index if the user is not logged in. 2021-10-31 02:07:50 +01:00
fd37c75c47 Added register link to the login page. 2021-10-31 02:22:04 +02:00
5b31cb7df8 Added a new UserController and added the new render methods from the core USerController. 2021-10-31 02:13:01 +02:00
71d0366681 Don't try to load settings.json. 2021-10-30 23:55:53 +02:00
40b0850a47 Also update the framework. 2021-10-30 23:34:11 +02:00
5881f4bbf0 Ported the menu. 2021-10-30 23:33:37 +02:00
96d8c1fcf2 Initial project setup. 2021-10-30 22:48:02 +02:00
8b691ea78e Updated the engine to the latest. 2021-10-30 22:26:35 +02:00
c898076f61 Small readme change. 2021-10-30 19:13:15 +02:00
c58ed04158 Fix the project name in the readme. 2021-10-30 19:12:24 +02:00
a9fd8ca68b Add note about the original project to the readme. 2021-10-30 19:11:36 +02:00
a1cb41aa04 Added the old project code itself. 2021-10-30 19:02:07 +02:00
5ea8eff56c Initial commit. 2021-10-30 19:01:52 +02:00