• R/O
  • SSH
  • HTTPS

project200805us: 提交


Commit MetaInfo

修订版3226 (tree)
时间2017-05-28 01:45:33
作者hogepiyo

Log Message

event

更改概述

差异

--- ProjectFrom200805/HPLLib/src/hpllib/game/scenario/AbstractEventManager.h (revision 3225)
+++ ProjectFrom200805/HPLLib/src/hpllib/game/scenario/AbstractEventManager.h (revision 3226)
@@ -94,8 +94,9 @@
9494 this->m_nRepeat = 0;
9595 }
9696
97- void reset() {
97+ void reset(int nDefState) {
9898 this->m_nRepeat = 0;
99+ this->m_nState = nDefState;
99100 }
100101 };
101102
--- ProjectFrom200805/HPLLib/src/hpllib/general/HPLTextResourceManager.h (revision 3225)
+++ ProjectFrom200805/HPLLib/src/hpllib/general/HPLTextResourceManager.h (revision 3226)
@@ -39,6 +39,12 @@
3939 private:
4040 map<int, HPLTextSet*> m_mapTextSets;
4141 public:
42+ bool contains(int nID) {
43+ if (this->m_mapTextSets.find(nID) == this->m_mapTextSets.end()) {
44+ return false;
45+ }
46+ return true;
47+ }
4248 HPLTextSet* get( int nID ) {
4349 if( this->m_mapTextSets.find( nID) == this->m_mapTextSets.end() ) {
4450 #ifdef _DEBUG
Show on old repository browser