OSDN Git Service
(root)
/
proj16
/
16.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad0451
)
modified: src/eng_core.cpp
author
sparky4
<sparky4@4ch.maidlab.jp>
Tue, 26 Mar 2013 07:19:38 +0000
(
02:19
-0500)
committer
sparky4
<sparky4@4ch.maidlab.jp>
Tue, 26 Mar 2013 07:19:38 +0000
(
02:19
-0500)
src/eng_core.cpp
patch
|
blob
|
history
diff --git
a/src/eng_core.cpp
b/src/eng_core.cpp
index
b491a80
..
084ca9f
100644
(file)
--- a/
src/eng_core.cpp
+++ b/
src/eng_core.cpp
@@
-36,10
+36,14
@@
namespace engine{
}
\r
\r
void Core::update()
\r
- {
\r
+ {
+ /*for (std::list<void(Core::*)()>::iterator i = fp->begin(); i != fp->end(); i++)
\r
+ //for (std::list<void(core::*)()>::iterator i = this->fp.begin(); i != this->fp.end(); i++)
\r
+ {
\r
+ (this->*(*i))();
\r
+ }*/
\r
// call update functions, instead of traversing a function pointer
\r
// list. Remove this comment!
\r
-
\r
sound();
\r
if ( graphics_flag )
\r
graphics();
\r