]>
git.mxchange.org Git - city.git/log
Roland Haeder [Sat, 22 Aug 2015 21:16:00 +0000 (23:16 +0200)]
Updated 'core'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:10:39 +0000 (11:10 +0200)]
Some comments fixed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:08:00 +0000 (11:08 +0200)]
Moved to 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Aug 2015 09:06:35 +0000 (11:06 +0200)]
It is all city!
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 1 Aug 2015 14:41:38 +0000 (16:41 +0200)]
Added classes and interfaces for districts + updated map and some renames
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 1 Aug 2015 13:11:24 +0000 (15:11 +0200)]
Introduced "entities" to bundle lots and sections + added some (not-used) classes
for handling city lots.
'core' updated to latest commit.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 21:07:07 +0000 (23:07 +0200)]
Added more methods:
- getCityIds() - Getter for an array of all available city ids
- ifCityHasSections() - Checks whether the given city id has entries in sections table
- doInitialCityExpansion() - Initial expansion of table sections for given city id
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 20:17:36 +0000 (22:17 +0200)]
Updated project file.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 20:04:14 +0000 (22:04 +0200)]
Renamed more classes and interfaces to sections as they actually handled.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 28 Jul 2015 20:10:11 +0000 (22:10 +0200)]
Updated mind map.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 28 Jul 2015 20:03:26 +0000 (22:03 +0200)]
Renamed columns to west, east, north and south + updated mind map.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 28 Jul 2015 16:34:21 +0000 (18:34 +0200)]
Added NetBeans project files.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 26 Jul 2015 14:32:15 +0000 (16:32 +0200)]
Expanded sections table with new columns:
- Lot id : Referencing lot (as one lot may have n sections)
- Type : Section type (residential, commercial, road, etc.)
- Sub type : Sub section type (hut, house, skyscraper, etc.)
- Neighbour left id : Connected section id to left
- Neighbour right id : Connected section id to right
- Neighbour bottom id : Connected section id to bottom (horizontal)
- Neighbour top id : Connected section id to top (horizontal)
- Neighbour up id : Connected section id to upward
- Neighbour down id : Connected section id to downward
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Jul 2015 19:19:56 +0000 (21:19 +0200)]
city_map was to generic, better devide the actual map into several layers:
- city_sections : Contains section information about every part of the map
- city_policies : Contains policy informations
- city_foo : Maybe more?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 14 Jul 2015 21:33:09 +0000 (23:33 +0200)]
And yet again 'core' is updated, always use own getter/setter for easier refactoring.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 14 Jul 2015 21:31:30 +0000 (23:31 +0200)]
Again updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 14 Jul 2015 21:27:54 +0000 (23:27 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 14 Jul 2015 21:24:05 +0000 (23:24 +0200)]
Small method with just one call finished + 'core' updated
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 3 Jul 2015 14:59:44 +0000 (16:59 +0200)]
Updated 'core' + used DatabaseWrapperFactory to have only one instance of each
wrapper which is okay.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 1 Jul 2015 01:19:52 +0000 (03:19 +0200)]
Added initial database frontend class for city maps + its interface.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 1 Jul 2015 01:09:18 +0000 (03:09 +0200)]
Added city map manager + own interface + expanded interface
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 1 Jul 2015 00:49:12 +0000 (02:49 +0200)]
Renamed class + introduced BaseCityTask which expands BaseTask. This requires
that (an exception of the rules) an attribute must be defined at a 2nd location.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:18:52 +0000 (20:18 +0200)]
Grrr ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:14:45 +0000 (20:14 +0200)]
Updated 'core' again for #tpyo fixed ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:12:34 +0000 (20:12 +0200)]
Updated 'core' as 'idle_loop_time' is now configurable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:07:27 +0000 (20:07 +0200)]
No need for this call anymore.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:05:26 +0000 (20:05 +0200)]
Let's get rid of 'virgin' state as it won't have any functionality.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 04:48:54 +0000 (06:48 +0200)]
Added new task + documentation for building growth.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:46:50 +0000 (05:46 +0200)]
Added new documentation file + updated contact data.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:33:48 +0000 (05:33 +0200)]
Use more the factory.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:29:35 +0000 (05:29 +0200)]
Renamed 'testing' daemon to 'default' as this is the default.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:16:04 +0000 (05:16 +0200)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/city
Roland Haeder [Mon, 29 Jun 2015 03:08:22 +0000 (05:08 +0200)]
Added task 'household_growth' + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:08:22 +0000 (05:08 +0200)]
Added task 'household_growth' + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 02:27:53 +0000 (04:27 +0200)]
Variable 'cityMode' is not available here + added initial documentation file
for all used tasks.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:45:58 +0000 (02:45 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:06:50 +0000 (02:06 +0200)]
Renamed method, added missing config + expanded debug line a bit.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 28 Jun 2015 19:53:31 +0000 (21:53 +0200)]
It is the city daemon ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 28 Jun 2015 19:45:00 +0000 (21:45 +0200)]
Renamed some more files city -> city_daemon to avoid confusion as these classes
are only for the daemon and not for any frontends.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 11 Jun 2015 22:21:22 +0000 (00:21 +0200)]
Updated mind map + fixed typo in comment
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 11 Jun 2015 17:16:29 +0000 (19:16 +0200)]
Added mindmap documentation (may be moved to new project) + some improvements
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 19:46:41 +0000 (21:46 +0200)]
Renamed exception (in 'core') + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 18:22:55 +0000 (20:22 +0200)]
Renamed many classes as they are only for the daemon + added a task which will
expand the map.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 06:09:26 +0000 (08:09 +0200)]
Added a lot new stuff for region maps (and prepared city maps). These maps can
become really large and should not be created or expanded by the HTML client.
Better is to let the daemon do the work.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 02:22:28 +0000 (04:22 +0200)]
Updated core as $stateInstance is now in BaseFrameworkSystem
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:42:13 +0000 (03:42 +0200)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/city
Roland Haeder [Wed, 27 May 2015 01:41:53 +0000 (03:41 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:33:23 +0000 (03:33 +0200)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:29:26 +0000 (03:29 +0200)]
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores() are now static.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 20 May 2015 01:41:59 +0000 (03:41 +0200)]
Updated core.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 09:47:20 +0000 (11:47 +0200)]
Added command 'confirm' (from core) + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 00:56:31 +0000 (02:56 +0200)]
Added command for resending confirmation link (non-functional).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 12 May 2015 00:04:30 +0000 (02:04 +0200)]
Improved find-bad-php.sh with a lint check + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 11:59:28 +0000 (13:59 +0200)]
inc/classes.php is now no longer used.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 26 Apr 2015 05:27:43 +0000 (07:27 +0200)]
Added 'shutdown' filter chain for login_failed command + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 12:59:22 +0000 (14:59 +0200)]
Added logout stuff.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 11:03:58 +0000 (13:03 +0200)]
Use testLogin(), if no exception comes the login helper may do the login.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 01:55:36 +0000 (03:55 +0200)]
Updated 'core' + added output of city name.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 01:07:08 +0000 (03:07 +0200)]
Now only use 'main_content' + added missing command classes (for possible customization?).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 00:41:12 +0000 (02:41 +0200)]
Added region database handling and creation (partly finished).
Signed-off-by: Roland Haeder <roland@mxchange.org>
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 [Fri, 17 Apr 2015 20:09:20 +0000 (22:09 +0200)]
Added new stuff for founding first city (unfinished).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 17 Apr 2015 18:52:39 +0000 (20:52 +0200)]
Added new files for login form + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 12 Apr 2015 03:11:12 +0000 (05:11 +0200)]
Added missing path.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 11 Apr 2015 14:48:09 +0000 (16:48 +0200)]
Some renames + new controller added
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 21:34:18 +0000 (23:34 +0200)]
Added a lot stuff for confirming email address and resending confirmation link.
Yes, all is generic stuff (what happens with every browser-based game or
application) so let's finish this quickly.
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:36:12 +0000 (18:36 +0200)]
Updated 'core'.
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 [Mon, 6 Apr 2015 23:59:01 +0000 (01:59 +0200)]
Added a lot stuff from Ship-Simu for registration page and CAPTCHA, so basicly
two pages are "ready": home and register.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 09:49:26 +0000 (11:49 +0200)]
'page' and 'command' were both the same (command), so better name it same way.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 00:11:15 +0000 (02:11 +0200)]
Added missing config entry.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 00:08:38 +0000 (02:08 +0200)]
More fixes for HTML and console (daemon) + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 22:08:44 +0000 (00:08 +0200)]
Removed 'shutdown' filters as the new 'core' provides it.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 22:00:31 +0000 (00:00 +0200)]
Used sendGenericGetResponse() from latest 'core' commit.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 20:51:59 +0000 (22:51 +0200)]
Some infos changed (dummy).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 20:49:41 +0000 (22:49 +0200)]
Added menu entry 'infos' + fixed wrong variable
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 20:30:44 +0000 (22:30 +0200)]
Added new required method + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 20:25:50 +0000 (22:25 +0200)]
Continued simulation:
- Very early menu blocks finished
- The variable for the actual content is 'main_content'
- Updated 'core' to latest commit
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 5 Apr 2015 14:53:42 +0000 (16:53 +0200)]
Added virgin state which will come after 'init' has finished.
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, 31 Mar 2015 16:01:17 +0000 (18:01 +0200)]
Updated TODOs.txt
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 25 Mar 2015 08:35:16 +0000 (09:35 +0100)]
Possibly the HTML version won't have any shutdown filter, but let's see.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 21:23:17 +0000 (22:23 +0100)]
Copyright fixed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 20:57:12 +0000 (21:57 +0100)]
Added controller + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 20:50:50 +0000 (21:50 +0100)]
Don't log this way.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 20:43:01 +0000 (21:43 +0100)]
Capitalize title.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 20:40:46 +0000 (21:40 +0100)]
Updated 'core' as a lot has been moved there.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 20:14:56 +0000 (21:14 +0100)]
Updated 'core' to have HandleableTask interface.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 19:58:36 +0000 (20:58 +0100)]
Moved more methods to 'core' as they are now more generalized + fixed config entries +++.
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 17:20:27 +0000 (18:20 +0100)]
Added more console and database frontend classes.
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 01:20:23 +0000 (02:20 +0100)]
Huh? Not updated?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 24 Mar 2015 01:17:40 +0000 (02:17 +0100)]
Updated 'core' to latest commit including index.php
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>
Roland Haeder [Mon, 23 Mar 2015 15:10:09 +0000 (16:10 +0100)]
Little change, big impact as the class prefix has changed, so let's move on with
renaming 'web' to 'html'. And updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 23 Mar 2015 14:11:31 +0000 (15:11 +0100)]
Renamed classes to naming scheme + removed deprecated code + updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 23 Mar 2015 02:21:34 +0000 (03:21 +0100)]
Fixed main template name ('city' is correct prefix) and updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 22 Mar 2015 23:46:58 +0000 (00:46 +0100)]
Possible fix for Doxygen file.
Signed-off-by: Roland Haeder <roland@mxchange.org>