Common subdirectories: ../descumm/CVS and descumm/CVS
Only in ../descumm: Makefile
diff -u ../descumm/descumm5.cpp descumm/descumm5.cpp
../
|
|
|
21 | 21 | |
22 | 22 | #include <string.h> |
23 | 23 | #include <stdio.h> |
24 | | |
25 | | //Very little modification was required to make this work under Unix/Linux |
26 | | #ifdef UNIX |
27 | | #include <ctype.h> |
28 | | #endif |
29 | | |
30 | | #ifdef WIN32 |
31 | 24 | #include <io.h> |
32 | 25 | #include <process.h> |
33 | | #endif |
34 | | |
35 | 26 | #include <stdlib.h> |
36 | 27 | |
37 | 28 | #define A1B (1<<0) |
… |
… |
|
987 | 978 | case 0x5A: s = " += "; break; /* add */ |
988 | 979 | case 0x5B: s = " /= "; break; /* divide */ |
989 | 980 | case 0x17: s = " &= "; break; /* and */ |
990 | | //realmz - Change Nov 10, 2001 - Fix to allow compile |
991 | | #ifdef UNIX |
992 | | case 0x46: |
993 | | if(opcode&128) |
994 | | s = "--"; |
995 | | else |
996 | | s = "++"; |
997 | | break; |
998 | | #endif |
999 | | #ifdef WIN32 |
1000 | 981 | case 0x46: s = (opcode&128) ? "--" : "++"; break; /* increment & decrement*/ |
1001 | | #endif |
1002 | 982 | default: |
1003 | 983 | /* Exit, this should never happen, only if my code is buggy */ |
1004 | 984 | printf("Unknown VARSET code %x", opcode); exit(0); |
diff -u ../descumm/descumm6.cpp descumm/descumm6.cpp
../
|
|
|
21 | 21 | |
22 | 22 | #include <string.h> |
23 | 23 | #include <stdio.h> |
24 | | |
25 | | #ifdef UNIX |
26 | | #include <ctype.h> |
27 | | #endif |
28 | | |
29 | | #ifdef WIN32 |
30 | 24 | #include <io.h> |
31 | 25 | #include <process.h> |
32 | | #endif |
33 | | |
34 | 26 | #include <stdlib.h> |
35 | 27 | #include <assert.h> |
36 | 28 | |