Roland Häder [Sun, 6 Dec 2020 07:52:03 +0000 (08:52 +0100)]
Continued:
- Application instance in generic registry was a little of an overdoze when
there is ApplicationHelper::getSelfInstance() around, this means lesser
method invocations and a bit smaller footprint (one registry entry lesser)
- updated core framework
Roland Häder [Tue, 24 Nov 2020 03:16:27 +0000 (04:16 +0100)]
Continued:
- language instance setting/getting is now done in non-monolithic
FrameworkBootstrap and it makes more sense there, too
- updated core framework
Roland Häder [Sat, 7 Nov 2020 15:00:05 +0000 (16:00 +0100)]
Continued:
- ApplicationHelper no longer should hold application's data and a
"self instance" as this is now all done in BaseApplication class
- BaseFrameworkSystem->getConfigInstance() is now removed, always use
non-monolithic FrameworkBootstrap::getConfigurationInstance() instead
- convertToClassName() is now in StringUtils
- updated core framework
Roland Häder [Wed, 11 Apr 2018 21:57:56 +0000 (23:57 +0200)]
Continued:
- started to use Bootstrap4 (with local files) on design
- renamed HtmlLogoutDoneCommand to City* (maybe was a leftover?)
- needed to import more classes into *.ctp files
- added some namespaces to configuration entries
- updated 'core' to latest commit id
Roland Häder [Wed, 11 Apr 2018 20:56:11 +0000 (22:56 +0200)]
Continued:
- need to initialize web output instance when request type is 'html'
- but only need to shutdown (and show messages) when 'console' is set
- assignApplicationData() does no longer accept $applicationInstance which
makes sense as it can be obtained from GenericRegistry
- also removed same parameter from factory methods
- no need to invoke setApplicationInstance() for above same reason
(this is called inter-mezzo pattern)
- updated core to latest commit id
- updated index.php from core
Roland Häder [Tue, 6 Mar 2018 21:59:16 +0000 (22:59 +0100)]
Continued:
- added new namespaces to classes and config entries
- imported classes/interfaces
- initialized language system, not required for daemon but for website
- updated 'core' framework to latest commit
Roland Häder [Sat, 3 Mar 2018 23:40:40 +0000 (00:40 +0100)]
Continued:
- 'app' is only parameter, 'application' is the application instance in registry
- changed Registry to GenericRegistry
- setting/getting request instance is now fully covered by FrameworkBootstrap
- updated core to latest commit
Roland Häder [Mon, 1 Jan 2018 07:40:10 +0000 (08:40 +0100)]
Continued:
- "imported" classes/interfaces
- added task visitors for active and shutdown phase
- rename GameManager to GameOptionsManager
- updated core framework to latest commit
Roland Haeder [Tue, 15 Nov 2016 19:10:17 +0000 (20:10 +0100)]
Continued a bit:
- added class/interface for game options (like pause/unpause flag, et cetera)
- maybe also gaming difficulty will come, if computable?
- added missing database "tables"
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jun 2016 18:08:52 +0000 (20:08 +0200)]
Continued with language rewrite:
- new 'core' now no longer supports language-based templates, please keep
localization out of them.
- I think of this:
+ translate all to English (default) language
+ maintain .po files for easy (and open-sourced) localization)
+ in those are replacements from the English language to the language in question
+ use php_intl (maybe right) to do that stuff (core changes are needed)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 27 Jun 2016 18:35:23 +0000 (20:35 +0200)]
Continued a bit: (yes, very long no activity, I'm a dad now of a half-pinay)
- Uni* LF is now default end-of-line character
- added some assertions on manager instances
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 02:40:30 +0000 (04:40 +0200)]
Putting types such as "residential" or "hut" into sections causes redundances.
The table "zones" is supposed to store such information and is linked to the
lot and not with sections. This allows great flexibility to quickly change the
zone type on same lot.
Remember that transportation ways (e.g. road, train) don't need lots.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 19:47:07 +0000 (21:47 +0200)]
They don't need map expansion:
- Lots don't get expanded by the daemon, the user just sets it and the daemon
validates and executes the "expansion".
- Also districts don't get expanded for the same reason.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 21:38:32 +0000 (23:38 +0200)]
Continued with project:
- Init city sections expansion is now in alpha quality
- Added a lot TODOs regarding handling of z coordinate (up/down) as this is not handled yet
- 'core' updated
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 [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 [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>