aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/callbackregistry.cpp
AgeCommit message (Collapse)Author
2010-10-12SWORD25: brought CallBackRegisry class to our naming standardsEugene Sandulenko
svn-id: r53257
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Fix callbackregistry.h compilationEugene Sandulenko
svn-id: r53221
2010-10-12SWORD25: Fix for void * conversion errorsPaul Gilbert
It turns out that strict C++ doesn't allow function pointers to be converted to void pointers and vice versa. Since there are two callback function pointer types - one with a KEY_COMMANDS enum parameter, and the other with an unsigned char type, I changed all void * occurances to a function pointer type with an 'int' parameter, and changed all implementation methods to take in an int parameter. svn-id: r53208
2010-10-12SWORD25: Mostly converted callbackregistry.cppPaul Gilbert
There is still one reference to 'It->second' that I haven't changed to 'It->value'.. if I do it, I start getting errors in ScummVM's hashmap.h, which I'm not sure how to resolve svn-id: r53204
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Fixed rest of the include pathsEugene Sandulenko
svn-id: r53181
2010-10-12SWORD25: Importing original sourcesEugene Sandulenko
svn-id: r53171