From f1135292d0d714187b719988dba8d5a7d487fe94 Mon Sep 17 00:00:00 2001 From: richiesams Date: Tue, 30 Jul 2013 14:25:31 -0500 Subject: 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. --- engines/zvision/zvision.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/zvision/zvision.h') 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 -- cgit v1.2.3