Commit Graph

5 Commits

Author SHA1 Message Date
fce3b3aad6 [Add] Implement database persistance and Login UI.
[Build System]
- Integrate 'sqlite3' and 'sqlite_modern_cpp' using FetchContent.
- Enabled 'C' language to allow compilation of 'sqlite3' lib.

[Persistance]
- Adds a 'DatabaseManager' class to handle all SQLite operations.
- Creates a 'players' table on server startup.
- Server uses separate database for single-player 'bettola_sp.db' and
  'bettola.db'

[UI]
- Adds a new 'LoginScreen' UI.
- Game flow is now MainMenu -> LoginScreen -> bootSequence -> Desktop.
- 'LoginScreen' has interactive tabs to switch between "Login" and
  "Create Account" 'modes'.
- Full client-server communication for creating accounts and
  authentication.

[Server]
- Refactor 'NetworkManager' to handle an 'AUTHENTICATING' state for new
  connectiosn.
- Player state is only set to 'ACTIVE' after a successful login
2025-10-05 22:45:33 +01:00
a502fa64cf [Add] Load command scripts from filesystem. 2025-09-22 19:24:44 +01:00
3272d126fd [Fix] .gitignore typo 2025-09-20 01:19:53 +01:00
13307f4871 [Add] Generate compilation database. 2025-09-20 01:18:19 +01:00
01e6d432a4 [Add] Initial project structure. 2025-09-20 01:03:03 +01:00