2
2
\brief The random map generator
5
// $Id: edgen.cpp,v 1.20 2004/07/12 18:15:05 mbickel Exp $
8
// Revision 1.20 2004/07/12 18:15:05 mbickel
9
// Lots of tweaks and fixed for more portability and compilation with mingw
11
// Revision 1.19 2004/05/12 20:05:52 mbickel
12
// Restructured file loading routines for upcoming data cache
14
// Revision 1.18 2002/04/21 21:27:00 mbickel
15
// Mapeditor: Fixed crash in "Put Resources"
16
// Updating the small map after AI
17
// Fixed infinite loop "quit game" after sending signal
19
// Revision 1.17 2002/04/17 22:41:34 mbickel
20
// Updated build system to warn about missing music
21
// Updated build system to insert version information automatically
22
// edgen.cpp compiles with gcc 3.0.4 again
24
// Revision 1.16 2002/04/05 09:25:09 mbickel
25
// Project files now for Borland C++ Builder 6
26
// Fixed: netcontrol not working
27
// Fixed: replay errors when constructing turrets
28
// Submarine require no fuel for sufacing
29
// Field info dialog extended
30
// Fixed several buffer overruns
32
// Revision 1.15 2001/12/14 10:20:05 mbickel
33
// Cleanup and enhancements to configure.in
34
// Removed last remains of octagonal version from source files
36
// Revision 1.14 2001/10/31 18:34:31 mbickel
37
// Some adjustments and fixes for gcc 3.0.2
39
// Revision 1.13 2001/10/11 10:22:49 mbickel
40
// Some cleanup and fixes for Visual C++
42
// Revision 1.12 2001/08/09 10:28:22 mbickel
44
// Mapeditor can edit a units AI parameter
46
// Revision 1.11 2001/07/28 11:19:10 mbickel
47
// Updated weaponguide
48
// moved item repository from spfst to itemrepository
50
// Revision 1.10 2001/07/27 21:13:34 mbickel
51
// Added text based file formats
52
// Terraintype and Objecttype restructured
54
// Revision 1.9 2001/02/01 22:48:37 mbickel
55
// rewrote the storing of units and buildings
56
// Fixed bugs in bi3 map importing routines
58
// Fixed bugs in mapeditor
60
// Revision 1.8 2001/01/28 14:04:13 mbickel
61
// Some restructuring, documentation and cleanup
62
// The resource network functions are now it their own files, the dashboard
64
// Updated the TODO list
66
// Revision 1.7 2000/12/23 13:19:45 mbickel
67
// Made ASC compileable with Borland C++ Builder
69
// Revision 1.6 2000/08/12 12:52:45 mbickel
70
// Made DOS-Version compile and run again.
72
// Revision 1.5 2000/05/23 20:40:44 mbickel
73
// Removed boolean type
75
// Revision 1.4 2000/05/10 19:55:48 mbickel
76
// Fixed empty loops when waiting for mouse events
78
// Revision 1.3 2000/05/05 21:15:02 mbickel
79
// Added Makefiles for mount/demount and mapeditor
80
// mapeditor can now be compiled for linux, but is not running yet
82
// Revision 1.2 1999/11/16 03:41:31 tmwilson
83
// Added CVS keywords to most of the files.
84
// Started porting the code to Linux (ifdef'ing the DOS specific stuff)
85
// Wrote replacement routines for kbhit/getch for Linux
86
// Cleaned up parts of the code that gcc barfed on (char vs unsigned char)
87
// Added autoconf/automake capabilities
88
// Added files used by 'automake --gnu'
92
6
This file is part of Advanced Strategic Command; http://www.asc-hq.de
93
7
Copyright (C) 1994-1999 Martin Bickel and Marc Schellenberger
268
183
showtext2(strcat(s1,strrr(plasma.maxx)),x1+10,y1+10);
269
184
showtext2(strcat(s2,strrr(plasma.maxy)),x1+120,y1+10);
271
187
putspriteimage(x1 + 487,y1 + 83,icons.pfeil2[6]);
272
188
putspriteimage(x1 + 537,y1 + 83,icons.pfeil2[2]);
274
190
putspriteimage(x1 + 487,y1 + 373,icons.pfeil2[6]);
275
191
putspriteimage(x1 + 537,y1 + 373,icons.pfeil2[2]);
277
194
rahmen(true,x1 + 450,y1 + 40,x1 + 590,y1 + 400);
278
195
rahmen(true,x1 + 10,y1 + 40,x1 + 440,y1 + 390);