Open main menu

Difference between revisions of "SCI/TODO"

96 bytes added ,  20:54, 20 February 2009
m
Use C++ syntax highlighting ;)
(Added new TODO items from Max's mail)
m (Use C++ syntax highlighting ;))
Line 4: Line 4:
* check for places that use char or unsigned char for boolean values, and change those to use type bool instead
* check for places that use char or unsigned char for boolean values, and change those to use type bool instead
* more formatting fixes: TheSCI code puts return values on separate lines all over the place, e.g.
* more formatting fixes: TheSCI code puts return values on separate lines all over the place, e.g.
<syntax type="C++">
   int
   int
   _vocab_cmp_words(const void *word1, const void *word2) {
   _vocab_cmp_words(const void *word1, const void *word2) {
</syntax>
Take care of that and other formatting issues.
Take care of that and other formatting issues.


* change names of structs and how they are declare, e.g.
* change names of structs and how they are declare, e.g.
<syntax type="C++">
   typedef struct script_opcode_ {
   typedef struct script_opcode_ {
       unsigned opcode;
       unsigned opcode;
Line 14: Line 20:
       int pos, size;
       int pos, size;
   } script_opcode;
   } script_opcode;
</syntax>
->
->
<syntax type="C++">
   struct ScriptOpcode {
   struct ScriptOpcode {
       unsigned opcode;
       unsigned opcode;
Line 20: Line 30:
       int pos, size;
       int pos, size;
   };
   };
</syntax>
* Fixing all warnings
* Fixing all warnings
* change #define lists into enums
* change #define lists into enums
2,051

edits