aboutsummaryrefslogtreecommitdiff
path: root/v4
diff options
context:
space:
mode:
authorJames Brown2002-04-11 17:19:16 +0000
committerJames Brown2002-04-11 17:19:16 +0000
commit7696081c54a6cac8152a227bd9d0bcc41999f261 (patch)
tree70859cf2d6be5ad77d7e7c41ed01c20837a0b2d0 /v4
parent34747b792a42e8129af60371541e9b7321d4d55f (diff)
downloadscummvm-rg350-7696081c54a6cac8152a227bd9d0bcc41999f261.tar.gz
scummvm-rg350-7696081c54a6cac8152a227bd9d0bcc41999f261.tar.bz2
scummvm-rg350-7696081c54a6cac8152a227bd9d0bcc41999f261.zip
Large pointless reindentation of all the code. Also fixed a few mistakes
in the object flags code cleanup. Flags used: indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip -ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader -TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader -TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm -TSoundEngine -TPart -TPlayer svn-id: r3908
Diffstat (limited to 'v4')
-rw-r--r--v4/resource_v4.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/v4/resource_v4.cpp b/v4/resource_v4.cpp
index d2e63e8221..2514641020 100644
--- a/v4/resource_v4.cpp
+++ b/v4/resource_v4.cpp
@@ -23,15 +23,17 @@
#include "stdafx.h"
#include "scumm.h"
-void Scumm_v4::loadCharset(int no) {
+void Scumm_v4::loadCharset(int no)
+{
uint32 size;
+
- memset(_charsetData, 0, sizeof(_charsetData));
+memset(_charsetData, 0, sizeof(_charsetData));
- checkRange(4 ,0 ,no , "Loading illegal charset %d");
+ checkRange(4, 0, no, "Loading illegal charset %d");
openRoom(-1);
- openRoom(900+no);
+ openRoom(900 + no);
size = fileReadDwordLE();