sgolodetz / game1666

A fledgling city-building game (in C#) based in the Stuart period around the Great Fire of London (in 1666).
2 stars 2 forks source link

Tidy up the code #69

Open sgolodetz opened 12 years ago

sgolodetz commented 12 years ago

I've been migrating code across from game1666proto4 fairly rapidly, so I should check the whole project to see that all of the comments etc. still make sense and that I haven't done anything silly.

Checked so far:


Common/ADTs/PriorityQueue.cs
Common/AStar/AStarNode.cs
Common/AStar/AStarSearcher.cs
Common/Entities/Entity.cs
Common/Entities/EntityComponent.cs
Common/Entities/IEntity.cs
Common/Entities/IEntityComponent.cs
Common/Maths/Constants.cs
Common/Maths/MathUtil.cs
Common/Maths/Orientation4.cs
Common/Maths/Triangle.cs
Common/Maths/Vector2i.cs
Common/Messaging/IMessage.cs
Common/Messaging/MessageFilterFactory.cs
Common/Messaging/MessageRule.cs
Common/Messaging/MessageSystem.cs
Common/Persistence/IPersistableObject.cs
Common/Persistence/ObjectPersister.cs
Common/Persistence/PropertyPersister.cs
Common/UI/Camera.cs
Common/UI/MouseEventManager.cs
Common/UI/Renderer.cs
Common/Util/GreaterComparer.cs

GameModel/Blueprints/Blueprint.cs
GameModel/Blueprints/BlueprintManager.cs
GameModel/Blueprints/PlaceableBlueprint.cs
GameModel/Entities/Base/IModelEntity.cs
GameModel/Entities/Base/IModelEntityDestructionManager.cs
GameModel/Entities/Base/IModelEntityFactory.cs
GameModel/Entities/Base/ModelEntity.cs
GameModel/Entities/Base/ModelEntityComponent.cs
GameModel/Entities/Components/Context/ModelContextComponent.cs
GameModel/Entities/Components/External/ExternalComponent.cs
GameModel/Entities/Components/External/PlaceableComponent.cs
GameModel/Entities/Components/External/TraversableComponent.cs
GameModel/Entities/Components/Internal/InternalComponent.cs
GameModel/Entities/Components/Internal/PlayingAreaComponent.cs
GameModel/Entities/Components/Test/TestComponent.cs
GameModel/Entities/Lifetime/ModelEntityDestructionManager.cs
GameModel/Entities/Lifetime/ModelEntityFactory.cs
GameModel/Entities/Messages/ModelEntityDestructionMessage.cs
GameModel/Entities/Messages/ModelEntityPreDestructionMessage.cs
GameModel/Entities/Messages/ModelEntitySpawnMessage.cs
GameModel/Entities/Navigation/ModelEntityNavigationMap.cs
GameModel/Entities/PlacementStrategies/Footprint.cs
GameModel/Entities/PlacementStrategies/IPlacementStrategy.cs
GameModel/Entities/PlacementStrategies/PlacementStrategyRequireFlatGround.cs
GameModel/Entities/Util/ModelContextExtensions.cs
GameModel/Navigation/INavigationNode.cs
GameModel/Navigation/NavigationMap.cs
GameModel/Terrains/QuadtreeCompiler.cs
GameModel/Terrains/QuadtreeNode.cs
GameModel/Terrains/Terrain.cs

GameUI/Entities/Base/IUIEntity.cs
GameUI/Entities/Base/IUIEntityFactory.cs
GameUI/Entities/Base/UIEntity.cs
GameUI/Entities/Base/UIEntityComponent.cs
GameUI/Entities/Components/Button/ButtonInteractionComponent.cs
GameUI/Entities/Components/Button/ButtonRenderingComponent.cs
GameUI/Entities/Components/Common/CompositeInteractionComponent.cs
GameUI/Entities/Components/Common/CompositeRenderingComponent.cs
GameUI/Entities/Components/Common/InteractionComponent.cs
GameUI/Entities/Components/Common/RenderingComponent.cs
GameUI/Entities/Components/Common/StateComponent.cs
GameUI/Entities/Components/Context/UIContextComponent.cs
GameUI/Entities/Components/GameView/GameViewStateComponent.cs
GameUI/Tools/EntityDeletionTool.cs
GameUI/Tools/EntityPlacementTool.cs
GameUI/Tools/ITool.cs
GameUI/Tools/MultiEntityPlacementTool.cs
GameUI/Tools/ToolUtil.cs
GameUI/GameViewManager.cs

Dubious things noted: