diff options
Diffstat (limited to 'img')
| -rw-r--r-- | img/AssesManager.png | bin | 0 -> 571725 bytes | |||
| -rw-r--r-- | img/Rendering.png | bin | 0 -> 654711 bytes | |||
| -rw-r--r-- | img/flowchart_rendering.png | bin | 0 -> 631423 bytes | |||
| -rw-r--r-- | img/gameloop-class.puml | 42 | ||||
| -rw-r--r-- | img/gameloop-flow.puml | 21 | ||||
| -rw-r--r-- | img/poc-camera.pdf | bin | 0 -> 169814 bytes | |||
| -rw-r--r-- | img/texture.png | bin | 0 -> 593444 bytes | 
7 files changed, 32 insertions, 31 deletions
| diff --git a/img/AssesManager.png b/img/AssesManager.pngBinary files differ new file mode 100644 index 0000000..9dfb435 --- /dev/null +++ b/img/AssesManager.png diff --git a/img/Rendering.png b/img/Rendering.pngBinary files differ new file mode 100644 index 0000000..d3491ba --- /dev/null +++ b/img/Rendering.png diff --git a/img/flowchart_rendering.png b/img/flowchart_rendering.pngBinary files differ new file mode 100644 index 0000000..41306a1 --- /dev/null +++ b/img/flowchart_rendering.png diff --git a/img/gameloop-class.puml b/img/gameloop-class.puml index c9d7917..e66b7d8 100644 --- a/img/gameloop-class.puml +++ b/img/gameloop-class.puml @@ -1,29 +1,30 @@  @startuml +!include theme.ipuml  class LoopManager { -    +static LoopManager& getInstance() +	+static LoopManager& getInstance() -    +void loop() -    +void setup() -    -void render() -    -void processInput() -    -void fixedUpdate() -    -void update() -    -bool gameRunning -    -LoopManager() +	+void loop() +	+void setup() +	-void render() +	-void processInput() +	-void fixedUpdate() +	-void update() +	-bool gameRunning +	-LoopManager()  }  class LoopTimer { -    +static LoopTimer& getInstance() -    +void start() -    +void update() -    +float getLag() -    +float getFixedDeltaTime() -    +void advanceFixedUpdate() -    +void enforceFrameRate() -    +float getDeltaTime() -    -float lag -    -float fixedDeltaTime -    -float deltaTime +	+static LoopTimer& getInstance() +	+void start() +	+void update() +	+float getLag() +	+float getFixedDeltaTime() +	+void advanceFixedUpdate() +	+void enforceFrameRate() +	+float getDeltaTime() +	-float lag +	-float fixedDeltaTime +	-float deltaTime  }  LoopManager --> LoopTimer : uses @@ -32,4 +33,5 @@ LoopManager : |-- processInput()  LoopManager : |-- fixedUpdate()  LoopManager : |-- update()  LoopManager : |-- render() +' TODO: what is this supposed to be?  @enduml diff --git a/img/gameloop-flow.puml b/img/gameloop-flow.puml index 1a46cd7..e75ea42 100644 --- a/img/gameloop-flow.puml +++ b/img/gameloop-flow.puml @@ -1,23 +1,22 @@  @startuml -title Game Loop Flowchart - +!include theme.ipuml  start  :Initialize LoopManager;  :Start LoopTimer;  repeat -    :Update LoopTimer; -    :Check for Events; -    :Process Input; +	:Update LoopTimer; +	:Check for Events; +	:Process Input; -    while (Lag >= Fixed Delta Time?) is (yes) -        :Perform Fixed Update; -        :Advance Fixed Update; -    endwhile +	while (Lag >= Fixed Delta Time?) is (yes) +		:Perform Fixed Update; +		:Advance Fixed Update; +	endwhile -    :Perform Normal Update; -    :Render Frame; +	:Perform Normal Update; +	:Render Frame;  repeat while (Game Running?) diff --git a/img/poc-camera.pdf b/img/poc-camera.pdfBinary files differ new file mode 100644 index 0000000..c67c078 --- /dev/null +++ b/img/poc-camera.pdf diff --git a/img/texture.png b/img/texture.pngBinary files differ new file mode 100644 index 0000000..97b79fe --- /dev/null +++ b/img/texture.png |