Roland Haeder [Fri, 17 Apr 2015 20:46:21 +0000 (22:46 +0200)]
Added verifications, if the user has already founded a city and if the city name
is already taken. If the first city shall be founded, a dummy region must be
created, too. Then the city needs to be assigned with it.
The region is more an organizational way of handling more than one city, for
example the user then can apply policies to an entire region and not just a city
or a district.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 19:02:45 +0000 (21:02 +0200)]
Renamed some menu points:
- Terms & Conditions is to much here, better use "Game rules" for it
- Added missing template for emergency exit (when something horrible went wrong)
- Updated 'core' to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 16:15:17 +0000 (18:15 +0200)]
Added a lot more stuff for login area and more:
- First 'welcome' or 'overview' page is "ready".
- Registration is half-finished (confirmation is not done)
- Added a lot more classes
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 14:41:57 +0000 (16:41 +0200)]
The console part of the game will become a daemon that is taking care of all
the "heavy work", like calculations of citizen happiness, land value and city
growth (and many more). So the HTML client (and later AJAX) will only have to
display the data and not do any heavy work (as this takes to long).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 18:18:53 +0000 (19:18 +0100)]
Output system is now no longer initialized by loading a centralized
inc/output.php as this was a stupid idea and sometimes the same application
has a console and web part.
Updated 'core' and re-enabled shutdown hook.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 16:58:19 +0000 (17:58 +0100)]
Added first console-related stuff:
- This game can then be launched similar to 'hub' project:
php index.php app=city
This will launch the game with the currently default simulation city type
'testing' which is for testing purposes (new features are added there first).
For now this is the only simulation city type you can choose.
More about the architecture will be added later.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 00:36:44 +0000 (01:36 +0100)]
Continued:
- Added a lot templates from shipsimu project (as they both are browser-based games)
- Renamed class (again)
- Other improvements
- Updated 'core' to latest revision
Signed-off-by: Roland Haeder <roland@mxchange.org>