[Scummvm-cvs-logs] CVS: scummvm/saga image.cpp,1.10,1.11 saga.h,1.15,1.16
Eugene Sandulenko
sev at users.sourceforge.net
Sat Jul 31 13:51:06 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.8,1.9 animation.h,1.6,1.7
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.9,1.10 events.cpp,1.12,1.13 input.cpp,1.3,1.4 music.h,1.7,1.8 render.cpp,1.13,1.14 render.h,1.8,1.9 saga.cpp,1.22,1.23 saga.h,1.16,1.17 scene.cpp,1.12,1.13 sndres.cpp,1.15,1.16 render_mod.h,1.6,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21140
Modified Files:
image.cpp saga.h
Log Message:
Rename some more functions to fit our naming rules
Index: image.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/image.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- image.cpp 31 Jul 2004 13:49:26 -0000 1.10
+++ image.cpp 31 Jul 2004 20:50:34 -0000 1.11
@@ -83,18 +83,18 @@
out_buf_len = hdr.width * hdr.height;
out_buf = (byte *)malloc(out_buf_len);
- if (DecodeBGImageRLE(RLE_data_ptr,
+ if (decodeBGImageRLE(RLE_data_ptr,
RLE_data_len, decode_buf, decode_buf_len) != R_SUCCESS) {
free(decode_buf);
free(out_buf);
return R_FAILURE;
}
- UnbankBGImage(out_buf, decode_buf, hdr.width, hdr.height);
+ unbankBGImage(out_buf, decode_buf, hdr.width, hdr.height);
// For some reason bg images in IHNM are upside down
if (GAME_GetGameType() == R_GAMETYPE_IHNM) {
- FlipImage(out_buf, hdr.width, hdr.height);
+ flipImage(out_buf, hdr.width, hdr.height);
}
free(decode_buf);
@@ -108,7 +108,7 @@
return R_SUCCESS;
}
-int SagaEngine::DecodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outbuf, size_t outbuf_len) {
+int SagaEngine::decodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outbuf, size_t outbuf_len) {
const byte *inbuf_ptr;
byte *outbuf_ptr;
uint32 inbuf_remain;
@@ -302,7 +302,7 @@
return R_SUCCESS;
}
-int SagaEngine::FlipImage(byte *img_buf, int columns, int scanlines) {
+int SagaEngine::flipImage(byte *img_buf, int columns, int scanlines) {
int line;
byte *tmp_scan;
@@ -332,7 +332,7 @@
return R_SUCCESS;
}
-int SagaEngine::UnbankBGImage(byte *dst_buf, const byte *src_buf, int columns, int scanlines) {
+int SagaEngine::unbankBGImage(byte *dst_buf, const byte *src_buf, int columns, int scanlines) {
int x, y;
int temp;
int quadruple_rows;
Index: saga.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/saga.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- saga.h 31 Jul 2004 13:49:26 -0000 1.15
+++ saga.h 31 Jul 2004 20:50:34 -0000 1.16
@@ -71,9 +71,9 @@
Anim *_anim;
private:
- int DecodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outbuf, size_t outbuf_len);
- int FlipImage(byte *img_buf, int columns, int scanlines);
- int UnbankBGImage(byte *dest_buf, const byte *src_buf, int columns, int scanlines);
+ int decodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outbuf, size_t outbuf_len);
+ int flipImage(byte *img_buf, int columns, int scanlines);
+ int unbankBGImage(byte *dest_buf, const byte *src_buf, int columns, int scanlines);
public:
int decodeBGImage(const byte *image_data, size_t image_size,
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.8,1.9 animation.h,1.6,1.7
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.9,1.10 events.cpp,1.12,1.13 input.cpp,1.3,1.4 music.h,1.7,1.8 render.cpp,1.13,1.14 render.h,1.8,1.9 saga.cpp,1.22,1.23 saga.h,1.16,1.17 scene.cpp,1.12,1.13 sndres.cpp,1.15,1.16 render_mod.h,1.6,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list