[Scummvm-cvs-logs] CVS: tools descumm.cpp,NONE,1.1
Max Horn
fingolfin at users.sourceforge.net
Sun May 4 05:49:00 CEST 2003
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv24270
Added Files:
descumm.cpp
Log Message:
first draft of merged descumm3 & descumm5; this is NOT YET WORKING as I didn't fully merge it yet
--- NEW FILE: descumm.cpp ---
/* DeScumm - Scumm Script Disassembler (version 2-5 scripts)
* Copyright (C) 2001 Ludvig Strigeus
* Copyright (C) 2002-2003 The ScummVM Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: /cvsroot/scummvm/tools/descumm.cpp,v 1.1 2003/05/04 12:46:00 fingolfin Exp $
[...3207 lines suppressed...]
if (HaveElse) {
HaveElse = 0;
j--;
}
OutputLine(buf, curoffs, opcode, j);
}
while (IndentBlock(get_curpos())) {
OutputLine("}", -1, -1, -1);
}
fflush(stdout);
} while (cur_pos < mem + len);
printf("END\n");
free(memorg);
return 0;
}
More information about the Scummvm-git-logs
mailing list