-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from labuzm/timers
revamped timers
- Loading branch information
Showing
20 changed files
with
223 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule kaacore
updated
31 files
+3 −4 | demos/basic.cpp | |
+41 −43 | demos/basic_scene.cpp | |
+26 −28 | demos/controllers.cpp | |
+11 −11 | demos/drawing_order.cpp | |
+33 −32 | demos/fonts.cpp | |
+72 −60 | demos/physics.cpp | |
+30 −30 | demos/polygon_tester.cpp | |
+28 −26 | demos/spatial_indexing.cpp | |
+22 −21 | demos/sprites.cpp | |
+21 −19 | demos/timers.cpp | |
+81 −56 | demos/transitions.cpp | |
+52 −43 | demos/window.cpp | |
+41 −0 | include/kaacore/clock.h | |
+6 −0 | include/kaacore/engine.h | |
+0 −1 | include/kaacore/input.h | |
+10 −5 | include/kaacore/log.h | |
+9 −5 | include/kaacore/node_transitions.h | |
+3 −3 | include/kaacore/nodes.h | |
+4 −3 | include/kaacore/physics.h | |
+2 −1 | include/kaacore/renderer.h | |
+14 −5 | include/kaacore/scenes.h | |
+75 −25 | include/kaacore/timers.h | |
+15 −14 | include/kaacore/transitions.h | |
+2 −0 | src/CMakeLists.txt | |
+73 −0 | src/clock.cpp | |
+20 −15 | src/engine.cpp | |
+4 −3 | src/nodes.cpp | |
+8 −5 | src/physics.cpp | |
+18 −6 | src/scenes.cpp | |
+104 −132 | src/timers.cpp | |
+48 −42 | src/transitions.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cdef extern from "<chrono>" namespace "std::chrono" nogil: | ||
cdef cppclass duration[Repr, Period=*]: | ||
duration() | ||
duration(Repr) except + | ||
|
||
Repr count() | ||
|
||
|
||
cdef extern from "kaacore/clock.h" nogil: | ||
ctypedef duration[long double] CDuration "kaacore::Duration" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.