[Scummvm-cvs-logs] SF.net SVN: scummvm: [24812] scummvm/trunk/engines/agi
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Dec 6 22:23:02 CET 2006
Revision: 24812
http://scummvm.svn.sourceforge.net/scummvm/?rev=24812&view=rev
Author: fingolfin
Date: 2006-12-06 13:23:01 -0800 (Wed, 06 Dec 2006)
Log Message:
-----------
Fixing some compiler warnings
Modified Paths:
--------------
scummvm/trunk/engines/agi/agi.h
scummvm/trunk/engines/agi/agi_v2.cpp
scummvm/trunk/engines/agi/agi_v3.cpp
scummvm/trunk/engines/agi/sound.cpp
Modified: scummvm/trunk/engines/agi/agi.h
===================================================================
--- scummvm/trunk/engines/agi/agi.h 2006-12-06 20:36:14 UTC (rev 24811)
+++ scummvm/trunk/engines/agi/agi.h 2006-12-06 21:23:01 UTC (rev 24812)
@@ -392,6 +392,7 @@
public:
AgiLoader() {}
+ virtual ~AgiLoader() {}
virtual int init() = 0;
virtual int deinit() = 0;
Modified: scummvm/trunk/engines/agi/agi_v2.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi_v2.cpp 2006-12-06 20:36:14 UTC (rev 24811)
+++ scummvm/trunk/engines/agi/agi_v2.cpp 2006-12-06 21:23:01 UTC (rev 24812)
@@ -33,8 +33,8 @@
return 2;
}
-void AgiLoader_v2::setIntVersion(int version) {
- int_version = version;
+void AgiLoader_v2::setIntVersion(int ver) {
+ int_version = ver;
}
int AgiLoader_v2::getIntVersion() {
Modified: scummvm/trunk/engines/agi/agi_v3.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi_v3.cpp 2006-12-06 20:36:14 UTC (rev 24811)
+++ scummvm/trunk/engines/agi/agi_v3.cpp 2006-12-06 21:23:01 UTC (rev 24812)
@@ -36,8 +36,8 @@
return 3;
}
-void AgiLoader_v3::setIntVersion(int version) {
- int_version = version;
+void AgiLoader_v3::setIntVersion(int ver) {
+ int_version = ver;
}
int AgiLoader_v3::getIntVersion() {
Modified: scummvm/trunk/engines/agi/sound.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound.cpp 2006-12-06 20:36:14 UTC (rev 24811)
+++ scummvm/trunk/engines/agi/sound.cpp 2006-12-06 21:23:01 UTC (rev 24812)
@@ -97,10 +97,7 @@
static uint8 *song;
static uint8 env;
-static void stop_note(int i);
-static void play_note(int i, int freq, int vol);
-
static int16 *snd_buffer;
static int16 *waveform;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list