diff options
author | md5 | 2011-03-03 19:38:30 +0200 |
---|---|---|
committer | md5 | 2011-03-03 19:38:30 +0200 |
commit | 00b37f8552962c26412eda347024db80de3d99ac (patch) | |
tree | 9745c99180462b4d9a80ab3038bc6b77fe3dff24 /engines/sci/engine/kmisc.cpp | |
parent | 51437ba5e6e418d7e79cf341606bc6c1c50fd50b (diff) | |
download | scummvm-rg350-00b37f8552962c26412eda347024db80de3d99ac.tar.gz scummvm-rg350-00b37f8552962c26412eda347024db80de3d99ac.tar.bz2 scummvm-rg350-00b37f8552962c26412eda347024db80de3d99ac.zip |
SCI: Simplified arithmetic reg_t operations, based on fingolfin's comments
- Folded all comparison operators in a single function, cmp()
- Simplified the + operator, and removed the SQ1 workaround, as it's not
needed anymore
- Removed the workaround for uninitialized variables in the * operator
- Removed division by zero workarounds in the / and % operators
- Added a better description of pointerComparisonWithInteger(), based
on fingolfin's description and comments. Also, changed the SCI versions
where this is used to SCI0-SCI1. The SCI1.1 case in QFG3 was a script
bug
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
0 files changed, 0 insertions, 0 deletions