这是indexloc提供的服务,不要输入任何密码
Skip to content

GameMain / Renderer design? #286

@Jon0

Description

@Jon0

GameMain could be broken into several components, I think splitting into model (terrain, units), view (main opengl rendering) and controller (hud/hotkeys) might work.

This would allow all the rendering code to be split into its own system, allowing easy future extensions (3d terrain or something)
The UnitTypes currently contain graphics, it maybe be better to remove these and have the renderer map UnitTypes to graphics which would allow easier graphic modding

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang: c++Done in C++ codeto-discussIdea or suggestion that needs some discussion before implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions