Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PhaseShifter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GameDevWeek
S
Sommersemester 2019
Cpp
PhaseShifter
Commits
11fead05
Commit
11fead05
authored
Sep 21, 2019
by
Tim Scheiber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error fix
parent
6a5d01e5
Pipeline
#3429
passed with stage
in 4 minutes and 21 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/gameplay/camera_system.cpp
src/gameplay/camera_system.cpp
+1
-1
src/gameplay/camera_system.hpp
src/gameplay/camera_system.hpp
+1
-1
No files found.
src/gameplay/camera_system.cpp
View file @
11fead05
...
...
@@ -7,7 +7,7 @@ namespace phase_shifter::gameplay {
using
mirrage
::
ecs
::
components
::
Transform_comp
;
Camera_system
::
Camera_system
(
mirrage
::
util
::
Message_bus
&
bus
,
mirrage
::
ecs
::
Entity_manager
&
entity_manager
)
:
_
mailbox
(
bus
),
_entity_manager
(
entity_manager
)
:
_
entity_manager
(
entity_manager
),
_mailbox
(
bus
)
{
_entity_manager
.
register_component_type
<
Viewtarget_comp
>
();
_entity_manager
.
register_component_type
<
Spring_comp
>
();
...
...
src/gameplay/camera_system.hpp
View file @
11fead05
#pragma once
#include <mirrage/utils/units.hpp>
#include <mirrage/utils/messagebus.hpp>
#include <mirrage/ecs/entity_manager.hpp>
#include <mirrage/utils/messagebus.hpp>
#include "../messages.hpp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment