diff options
author | richiesams | 2013-07-30 14:25:31 -0500 |
---|---|---|
committer | richiesams | 2013-08-04 13:32:55 -0500 |
commit | f1135292d0d714187b719988dba8d5a7d487fe94 (patch) | |
tree | 57f6a7e185dbfadefac514c8a8d1cdd4d6dc721b /engines/zvision/zvision.h | |
parent | 89d8496dbac2fb1fc5fc77d5b26fa2a9405f9d77 (diff) | |
download | scummvm-rg350-f1135292d0d714187b719988dba8d5a7d487fe94.tar.gz scummvm-rg350-f1135292d0d714187b719988dba8d5a7d487fe94.tar.bz2 scummvm-rg350-f1135292d0d714187b719988dba8d5a7d487fe94.zip |
ZVISION: Optimize integer type usages
The general thought is int is faster than int16 or byte. So if you can afford the
space, use it over int16 or byte. Also, only use int32 when you specifically need
the 32 bits.
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r-- | engines/zvision/zvision.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index 2e6ec11a53..9588623f56 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -83,7 +83,7 @@ private: void processEvents(); void onMouseDown(const Common::Point &pos); void onMouseMove(const Common::Point &pos); - void onKeyDown(uint16 keyCode); + void onKeyDown(uint keyCode); }; } // End of namespace ZVision |