projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d268ca
)
Added the "button" property to the list that scripttrigger.cpp writes out into a...
author
Ondřej Hošek
<ondra.hosek@gmail.com>
Wed, 11 May 2005 17:31:23 +0000
(17:31 +0000)
committer
Ondřej Hošek
<ondra.hosek@gmail.com>
Wed, 11 May 2005 17:31:23 +0000
(17:31 +0000)
SVN-Revision: 2472
src/trigger/scripttrigger.cpp
patch
|
blob
|
history
diff --git
a/src/trigger/scripttrigger.cpp
b/src/trigger/scripttrigger.cpp
index
1d2ccb8
..
e5bc848
100644
(file)
--- a/
src/trigger/scripttrigger.cpp
+++ b/
src/trigger/scripttrigger.cpp
@@
-71,6
+71,7
@@
ScriptTrigger::write(lisp::Writer& writer)
writer.write_float("width", bbox.get_width());
\r
writer.write_float("height", bbox.get_height());
\r
writer.write_string("script", script);
\r
+ writer.write_bool("button", (triggerevent == EVENT_ACTIVATE) ? true : false);
\r
\r
writer.end_list("scripttrigger");
\r
}
\r