mirror of
https://github.com/KranX/Vangers.git
synced 2025-11-30 23:15:27 +07:00
First version of public source.
This commit is contained in:
104
CMakeLists.txt
Normal file
104
CMakeLists.txt
Normal file
@@ -0,0 +1,104 @@
|
||||
# root
|
||||
PROJECT(vangers)
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0)
|
||||
|
||||
# modules
|
||||
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||
|
||||
# options
|
||||
OPTION(RUSSIAN_VERSION "Build russian version" ON)
|
||||
OPTION(BINARY_SCRIPT "Use binary script for interface" ON)
|
||||
OPTION(WITH_OPENGL "Use experimental OpenGL renderer" OFF)
|
||||
OPTION(DIAGEN_TEST "Dialog generator and test subsystem" OFF)
|
||||
|
||||
# hide optons
|
||||
OPTION(ACTINT "Actint user interface in road game" ON)
|
||||
|
||||
SET(CMAKE_CONFIGURATION_TYPES "Release;Debug;MinSizeRel;RelWithDebInfo")
|
||||
|
||||
# depends
|
||||
FIND_PACKAGE(SDL2 REQUIRED)
|
||||
FIND_PACKAGE(SDL2_net REQUIRED)
|
||||
FIND_PACKAGE(Ogg REQUIRED)
|
||||
FIND_PACKAGE(Vorbis REQUIRED)
|
||||
if (NOT APPLE)
|
||||
FIND_PACKAGE(VorbisFile REQUIRED)
|
||||
endif (NOT APPLE)
|
||||
|
||||
FIND_PACKAGE(Clunk REQUIRED)
|
||||
if (MINGW)
|
||||
ADD_DEFINITIONS(-I/local/include/)
|
||||
ADD_DEFINITIONS(-L/local/lib/)
|
||||
#set(SDL_net_INCLUDE_DIR "/local/include/SDL")
|
||||
ADD_DEFINITIONS(-I/local/include/SDL2)
|
||||
#set(SDLNET_LIBRARY "/local/bin/SDL_net.dll")
|
||||
|
||||
set(FFMPEG_INCLUDE_DIRS "/local/include/libavcodec /local/include/libavformat")
|
||||
ADD_DEFINITIONS(-I/local/include/libavcodec -I/local/include/libavformat)
|
||||
set(FFMPEG_LIBRARIES "/local/bin/avutil-52.dll" "/local/bin/avformat-54.dll" "/local/bin/avcodec-54.dll")
|
||||
set(ZLIB_LIBRARIES "/local/lib/zlib1.dll")
|
||||
|
||||
set(CLUNK_INCLUDE_DIR "/local/include/clunk")
|
||||
ADD_DEFINITIONS(-I/local/include/clunk)
|
||||
set(CLUNK_LIBRARY "/local/lib/libclunk.dll")
|
||||
set(WINDOWS_RES "../vangers.res")
|
||||
ADD_DEFINITIONS(-Wl,-subsystem,windows)
|
||||
else (MINGW)
|
||||
FIND_PACKAGE(FFMPEG REQUIRED)
|
||||
FIND_PACKAGE(ZLIB REQUIRED)
|
||||
set(WINDOWS_RES "")
|
||||
endif (MINGW)
|
||||
|
||||
|
||||
|
||||
IF(RUSSIAN_VERSION)
|
||||
ADD_DEFINITIONS(-DRUSSIAN_VERSION)
|
||||
ENDIF(RUSSIAN_VERSION)
|
||||
IF(BINARY_SCRIPT)
|
||||
ADD_DEFINITIONS(-D_BINARY_SCRIPT_)
|
||||
ENDIF(BINARY_SCRIPT)
|
||||
|
||||
IF(WITH_OPENGL)
|
||||
FIND_PACKAGE(OpenGL REQUIRED)
|
||||
ADD_DEFINITIONS(-DWITH_OPENGL)
|
||||
ENDIF(WITH_OPENGL)
|
||||
|
||||
IF(ACTINT)
|
||||
ADD_DEFINITIONS(-DACTINT)
|
||||
ENDIF(ACTINT)
|
||||
|
||||
IF(DIAGEN_TEST)
|
||||
ADD_DEFINITIONS(-DDIAGEN_TEST)
|
||||
ENDIF(DIAGEN_TEST)
|
||||
|
||||
# globals
|
||||
INCLUDE_DIRECTORIES(
|
||||
${SDL2_INCLUDE_DIR}
|
||||
${SDL2_NET_INCLUDE_DIR}
|
||||
${FFMPEG_INCLUDE_DIRS}
|
||||
${CLUNK_INCLUDE_DIR}
|
||||
${OGG_INCLUDE_DIR}
|
||||
${VORBIS_INCLUDE_DIR}
|
||||
${VORBISFILE_INCLUDE_DIR}
|
||||
/usr/local/include
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS(-Wall -Wextra )
|
||||
#ADD_DEFINITIONS(-Weffc++) #Extra debug
|
||||
ADD_DEFINITIONS(-g)
|
||||
ADD_DEFINITIONS(-O2)
|
||||
IF (NOT MINGW)
|
||||
ADD_DEFINITIONS(-ftree-vectorize)
|
||||
ADD_DEFINITIONS(-ffast-math)
|
||||
ENDIF (NOT MINGW)
|
||||
ADD_DEFINITIONS(-msse2)
|
||||
|
||||
|
||||
|
||||
# subdirs
|
||||
ADD_SUBDIRECTORY("src")
|
||||
ADD_SUBDIRECTORY("lib/xgraph")
|
||||
ADD_SUBDIRECTORY("lib/xsound")
|
||||
ADD_SUBDIRECTORY("lib/xtool")
|
||||
ADD_SUBDIRECTORY("lib/utils")
|
||||
28
INSTALL
Normal file
28
INSTALL
Normal file
@@ -0,0 +1,28 @@
|
||||
VANGERS: One for the Road
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
1. Required libraries:
|
||||
|
||||
- SDL
|
||||
- SDL_net
|
||||
- libvorbis
|
||||
- clunk (http://media.netive.ru/clunk/)
|
||||
- ffmpeg
|
||||
- zlib
|
||||
|
||||
2. Required tools:
|
||||
|
||||
- cmake
|
||||
- make
|
||||
|
||||
3. Building:
|
||||
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
4. Running:
|
||||
|
||||
$ cd data
|
||||
$ ../build/src/vangers
|
||||
674
LICENSE
Normal file
674
LICENSE
Normal file
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
13
README.md
13
README.md
@@ -1,5 +1,14 @@
|
||||
Vangers
|
||||
=======
|
||||

|
||||
|
||||
Video game that combines elements of the racing and role-playing genres.Only issue tracker.
|
||||
Page on steam: http://store.steampowered.com/app/264080
|
||||
|
||||
Video game that combines elements of the racing and role-playing genres.
|
||||
|
||||
All source code is published under the GPL license.
|
||||
|
||||
The necessary resources for the game (maps, sounds, textures, etc.) you can take from the games purchased here:
|
||||
|
||||
http://store.steampowered.com/app/264080
|
||||
|
||||
http://www.gog.com/game/vangers
|
||||
44
cmake/FindClunk.cmake
Normal file
44
cmake/FindClunk.cmake
Normal file
@@ -0,0 +1,44 @@
|
||||
FIND_PATH(CLUNK_INCLUDE_DIR
|
||||
NAMES
|
||||
clunk.h
|
||||
PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/local/include
|
||||
/mingw/include
|
||||
/opt/local/include
|
||||
/opt/include
|
||||
/sw/include
|
||||
/usr/local/include
|
||||
PATH_SUFFIXES
|
||||
clunk
|
||||
)
|
||||
|
||||
FIND_LIBRARY(CLUNK_LIBRARY
|
||||
NAMES
|
||||
clunk
|
||||
PATHS
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/local/lib
|
||||
/sw/lib
|
||||
/local/lib
|
||||
/mingw/lib
|
||||
/local/bin
|
||||
/mingw/bin
|
||||
/usr/local/lib
|
||||
|
||||
)
|
||||
IF(CLUNK_INCLUDE_DIR AND CLUNK_LIBRARY)
|
||||
SET(CLUNK_FOUND TRUE)
|
||||
ENDIF(CLUNK_INCLUDE_DIR AND CLUNK_LIBRARY)
|
||||
|
||||
IF(CLUNK_FOUND)
|
||||
IF(NOT CLUNK_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found clunk: ${CLUNK_LIBRARY} ${CLUNK_INCLUDE_DIR}")
|
||||
ENDIF(NOT CLUNK_FIND_QUIETLY)
|
||||
ELSE(CLUNK_FOUND)
|
||||
IF(CLUNK_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could not find clunk")
|
||||
ENDIF(CLUNK_FIND_REQUIRED)
|
||||
ENDIF(CLUNK_FOUND)
|
||||
141
cmake/FindFFMPEG.cmake
Normal file
141
cmake/FindFFMPEG.cmake
Normal file
@@ -0,0 +1,141 @@
|
||||
# Locate the FFmpeg libraries
|
||||
# This module defines
|
||||
# {AVUTIL,AVCODEC,AVFORMAT}_INCLUDE_DIR
|
||||
# {AVUTIL,AVCODEC,AVFORMAT}_LIBRARY
|
||||
# FFMPEG_INLUDE_DIRS
|
||||
# FFMPEG_LIBRARIES
|
||||
#
|
||||
|
||||
FIND_PATH(AVUTIL_INCLUDE_DIR
|
||||
NAMES
|
||||
avutil.h
|
||||
PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/local/include
|
||||
/mingw/include
|
||||
/opt/local/include
|
||||
/opt/include
|
||||
/sw/include
|
||||
PATH_SUFFIXES
|
||||
libavutil
|
||||
ffmpeg
|
||||
)
|
||||
|
||||
FIND_PATH(AVCODEC_INCLUDE_DIR
|
||||
NAMES
|
||||
avcodec.h
|
||||
PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/opt/local/include
|
||||
/local/include
|
||||
/mingw/include
|
||||
/opt/include
|
||||
/sw/include
|
||||
PATH_SUFFIXES
|
||||
libavcodec
|
||||
ffmpeg
|
||||
)
|
||||
|
||||
FIND_PATH(AVFORMAT_INCLUDE_DIR
|
||||
NAMES
|
||||
avformat.h
|
||||
PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/opt/local/include
|
||||
/local/include
|
||||
/mingw/include
|
||||
/opt/include
|
||||
/sw/include
|
||||
PATH_SUFFIXES
|
||||
libavformat
|
||||
ffmpeg
|
||||
)
|
||||
|
||||
FIND_LIBRARY(AVUTIL_LIBRARY
|
||||
NAMES
|
||||
avutil
|
||||
PATHS
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/local/lib
|
||||
/sw/lib
|
||||
/local/lib
|
||||
/mingw/lib
|
||||
/local/bin
|
||||
/mingw/bin
|
||||
)
|
||||
|
||||
FIND_LIBRARY(AVCODEC_LIBRARY
|
||||
NAMES
|
||||
avcodec
|
||||
PATHS
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/local/lib
|
||||
/sw/lib
|
||||
/local/lib
|
||||
/mingw/lib
|
||||
/local/bin
|
||||
/mingw/bin
|
||||
)
|
||||
|
||||
FIND_LIBRARY(AVFORMAT_LIBRARY
|
||||
NAMES
|
||||
avformat
|
||||
PATHS
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/local/lib
|
||||
/sw/lib
|
||||
/local/lib
|
||||
/local/bin
|
||||
/mingw/bin
|
||||
/mingw/lib
|
||||
|
||||
)
|
||||
|
||||
SET(FFMPEG_INCLUDE_DIRS
|
||||
# ${AVUTIL_INCLUDE_DIR}
|
||||
${AVCODEC_INCLUDE_DIR}
|
||||
${AVFORMAT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
SET(FFMPEG_LIBRARIES)
|
||||
|
||||
IF (AVUTIL_LIBRARY)
|
||||
SET(FFMPEG_LIBRARIES
|
||||
${FFMPEG_LIBRARIES}
|
||||
${AVUTIL_LIBRARY}
|
||||
)
|
||||
ENDIF(AVUTIL_LIBRARY)
|
||||
|
||||
IF(AVCODEC_LIBRARY)
|
||||
SET(FFMPEG_LIBRARIES
|
||||
${FFMPEG_LIBRARIES}
|
||||
${AVCODEC_LIBRARY}
|
||||
)
|
||||
ENDIF(AVCODEC_LIBRARY)
|
||||
|
||||
IF(AVFORMAT_LIBRARY)
|
||||
SET(FFMPEG_LIBRARIES
|
||||
${FFMPEG_LIBRARIES}
|
||||
${AVFORMAT_LIBRARY}
|
||||
)
|
||||
ENDIF(AVFORMAT_LIBRARY)
|
||||
|
||||
IF(FFMPEG_INCLUDE_DIRS AND FFMPEG_LIBRARIES)
|
||||
SET(FFMPEG_FOUND TRUE)
|
||||
ENDIF(FFMPEG_INCLUDE_DIRS AND FFMPEG_LIBRARIES)
|
||||
|
||||
IF(FFMPEG_FOUND)
|
||||
IF(NOT FFMPEG_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found FFmpeg: ${FFMPEG_LIBRARIES}")
|
||||
ENDIF(NOT FFMPEG_FIND_QUIETLY)
|
||||
ELSE(FFMPEG_FOUND)
|
||||
IF(FFMPEG_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could not find FFmpeg")
|
||||
ENDIF(FFMPEG_FIND_REQUIRED)
|
||||
ENDIF(FFMPEG_FOUND)
|
||||
90
cmake/FindOgg.cmake
Normal file
90
cmake/FindOgg.cmake
Normal file
@@ -0,0 +1,90 @@
|
||||
# Locate OGG
|
||||
# This module defines XXX_FOUND, XXX_INCLUDE_DIRS and XXX_LIBRARIES standard variables
|
||||
#
|
||||
# $OGGDIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$OGGDIR
|
||||
# used in building OGG.
|
||||
|
||||
SET(OGG_SEARCH_PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local
|
||||
/usr
|
||||
/sw # Fink
|
||||
/opt/local # DarwinPorts
|
||||
/opt/csw # Blastwave
|
||||
/opt
|
||||
/local/
|
||||
)
|
||||
|
||||
SET(MSVC_YEAR_NAME)
|
||||
IF (MSVC_VERSION GREATER 1599) # >= 1600
|
||||
SET(MSVC_YEAR_NAME VS2010)
|
||||
ELSEIF(MSVC_VERSION GREATER 1499) # >= 1500
|
||||
SET(MSVC_YEAR_NAME VS2008)
|
||||
ELSEIF(MSVC_VERSION GREATER 1399) # >= 1400
|
||||
SET(MSVC_YEAR_NAME VS2005)
|
||||
ELSEIF(MSVC_VERSION GREATER 1299) # >= 1300
|
||||
SET(MSVC_YEAR_NAME VS2003)
|
||||
ELSEIF(MSVC_VERSION GREATER 1199) # >= 1200
|
||||
SET(MSVC_YEAR_NAME VS6)
|
||||
ENDIF()
|
||||
|
||||
FIND_PATH(OGG_INCLUDE_DIR
|
||||
NAMES ogg/ogg.h ogg/os_types.h
|
||||
HINTS
|
||||
$ENV{OGGDIR}
|
||||
$ENV{OGG_PATH}
|
||||
PATH_SUFFIXES include
|
||||
PATHS ${OGG_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(OGG_LIBRARY
|
||||
NAMES ogg libogg
|
||||
HINTS
|
||||
$ENV{OGGDIR}
|
||||
$ENV{OGG_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/Dynamic_Release "Win32/${MSVC_YEAR_NAME}/x64/Release" "Win32/${MSVC_YEAR_NAME}/Win32/Release"
|
||||
PATHS ${OGG_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
# First search for d-suffixed libs
|
||||
FIND_LIBRARY(OGG_LIBRARY_DEBUG
|
||||
NAMES oggd ogg_d liboggd libogg_d
|
||||
HINTS
|
||||
$ENV{OGGDIR}
|
||||
$ENV{OGG_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${OGG_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
IF(NOT OGG_LIBRARY_DEBUG)
|
||||
# Then search for non suffixed libs if necessary, but only in debug dirs
|
||||
FIND_LIBRARY(OGG_LIBRARY_DEBUG
|
||||
NAMES ogg libogg
|
||||
HINTS
|
||||
$ENV{OGGDIR}
|
||||
$ENV{OGG_PATH}
|
||||
PATH_SUFFIXES win32/Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${OGG_SEARCH_PATHS}
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
if (MINGW)
|
||||
set(OGG_INCLUDE_DIR "/local/include/vorbis")
|
||||
set(OGG_LIBRARY "/local/lib/libogg.dll.a")
|
||||
endif (MINGW)
|
||||
|
||||
IF(OGG_LIBRARY)
|
||||
IF(OGG_LIBRARY_DEBUG)
|
||||
SET(OGG_LIBRARIES optimized "${OGG_LIBRARY}" debug "${OGG_LIBRARY_DEBUG}")
|
||||
ELSE()
|
||||
SET(OGG_LIBRARIES "${OGG_LIBRARY}") # Could add "general" keyword, but it is optional
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set XXX_FOUND to TRUE if all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OGG DEFAULT_MSG OGG_LIBRARIES OGG_INCLUDE_DIR)
|
||||
59
cmake/FindOggVorbis.cmake
Normal file
59
cmake/FindOggVorbis.cmake
Normal file
@@ -0,0 +1,59 @@
|
||||
# - Try to find the OggVorbis libraries
|
||||
# Once done this will define
|
||||
#
|
||||
# OGGVORBIS_FOUND - system has OggVorbis
|
||||
# OGGVORBIS_VERSION - set either to 1 or 2
|
||||
# OGGVORBIS_INCLUDE_DIR - the OggVorbis include directory
|
||||
# OGGVORBIS_LIBRARIES - The libraries needed to use OggVorbis
|
||||
# OGG_LIBRARY - The Ogg library
|
||||
# VORBIS_LIBRARY - The Vorbis library
|
||||
# VORBISFILE_LIBRARY - The VorbisFile library
|
||||
# Copyright (c) 2006, Richard Laerkaeng, <richard@goteborg.utfors.se>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
include (CheckLibraryExists)
|
||||
find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h)
|
||||
find_library(OGG_LIBRARY NAMES ogg)
|
||||
find_library(VORBIS_LIBRARY NAMES vorbis)
|
||||
find_library(VORBISFILE_LIBRARY NAMES vorbisfile)
|
||||
|
||||
if (MINGW)
|
||||
set(VORBIS_INCLUDE_DIR "/local/include/vorbis")
|
||||
set(OGG_LIBRARY "/local/lib/libogg.dll.a")
|
||||
set(VORBIS_LIBRARY "/local/lib/libvorbis.dll.a")
|
||||
set(VORBISFILE_LIBRARY "/local/lib/libvorbisfile.dll.a")
|
||||
endif (MINGW)
|
||||
|
||||
if (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
|
||||
set(OGGVORBIS_FOUND TRUE)
|
||||
# [sommer] (for SuperTux) reversed order of libraries, so that cmake 2.4.5 for Windows generates an MSYS Makefile that will link correctly
|
||||
# set(OGGVORBIS_LIBRARIES ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
|
||||
set(OGGVORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY})
|
||||
set(_CMAKE_REQUIRED_LIBRARIES_TMP ${CMAKE_REQUIRED_LIBRARIES})
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${OGGVORBIS_LIBRARIES})
|
||||
check_library_exists(vorbis vorbis_bitrate_addblock "" HAVE_LIBVORBISENC2)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_TMP})
|
||||
if (HAVE_LIBVORBISENC2)
|
||||
set (OGGVORBIS_VERSION 2)
|
||||
else (HAVE_LIBVORBISENC2)
|
||||
set (OGGVORBIS_VERSION 1)
|
||||
endif (HAVE_LIBVORBISENC2)
|
||||
else (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
|
||||
set (OGGVORBIS_VERSION)
|
||||
set(OGGVORBIS_FOUND FALSE)
|
||||
endif (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)
|
||||
|
||||
if (OGGVORBIS_FOUND)
|
||||
if (NOT OggVorbis_FIND_QUIETLY)
|
||||
message(STATUS "Found OggVorbis: ${OGGVORBIS_LIBRARIES}")
|
||||
endif (NOT OggVorbis_FIND_QUIETLY)
|
||||
else (OGGVORBIS_FOUND)
|
||||
if (OggVorbis_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could NOT find OggVorbis libraries")
|
||||
endif (OggVorbis_FIND_REQUIRED)
|
||||
if (NOT OggVorbis_FIND_QUIETLY)
|
||||
message(STATUS "Could NOT find OggVorbis libraries")
|
||||
endif (NOT OggVorbis_FIND_QUIETLY)
|
||||
endif (OGGVORBIS_FOUND)
|
||||
183
cmake/FindSDL2.cmake
Normal file
183
cmake/FindSDL2.cmake
Normal file
@@ -0,0 +1,183 @@
|
||||
# Locate SDL2 library
|
||||
# This module defines
|
||||
# SDL2_LIBRARY, the name of the library to link against
|
||||
# SDL2_FOUND, if false, do not try to link to SDL2
|
||||
# SDL2_INCLUDE_DIR, where to find SDL.h
|
||||
#
|
||||
# This module responds to the the flag:
|
||||
# SDL2_BUILDING_LIBRARY
|
||||
# If this is defined, then no SDL2_main will be linked in because
|
||||
# only applications need main().
|
||||
# Otherwise, it is assumed you are building an application and this
|
||||
# module will attempt to locate and set the the proper link flags
|
||||
# as part of the returned SDL2_LIBRARY variable.
|
||||
#
|
||||
# Don't forget to include SDL2main.h and SDL2main.m your project for the
|
||||
# OS X framework based version. (Other versions link to -lSDL2main which
|
||||
# this module will try to find on your behalf.) Also for OS X, this
|
||||
# module will automatically add the -framework Cocoa on your behalf.
|
||||
#
|
||||
#
|
||||
# Additional Note: If you see an empty SDL2_LIBRARY_TEMP in your configuration
|
||||
# and no SDL2_LIBRARY, it means CMake did not find your SDL2 library
|
||||
# (SDL2.dll, libsdl2.so, SDL2.framework, etc).
|
||||
# Set SDL2_LIBRARY_TEMP to point to your SDL2 library, and configure again.
|
||||
# Similarly, if you see an empty SDL2MAIN_LIBRARY, you should set this value
|
||||
# as appropriate. These values are used to generate the final SDL2_LIBRARY
|
||||
# variable, but when these values are unset, SDL2_LIBRARY does not get created.
|
||||
#
|
||||
#
|
||||
# $SDL2DIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$SDL2DIR
|
||||
# used in building SDL2.
|
||||
# l.e.galup 9-20-02
|
||||
#
|
||||
# Modified by Eric Wing.
|
||||
# Added code to assist with automated building by using environmental variables
|
||||
# and providing a more controlled/consistent search behavior.
|
||||
# Added new modifications to recognize OS X frameworks and
|
||||
# additional Unix paths (FreeBSD, etc).
|
||||
# Also corrected the header search path to follow "proper" SDL2 guidelines.
|
||||
# Added a search for SDL2main which is needed by some platforms.
|
||||
# Added a search for threads which is needed by some platforms.
|
||||
# Added needed compile switches for MinGW.
|
||||
#
|
||||
# On OSX, this will prefer the Framework version (if found) over others.
|
||||
# People will have to manually change the cache values of
|
||||
# SDL2_LIBRARY to override this selection or set the CMake environment
|
||||
# CMAKE_INCLUDE_PATH to modify the search paths.
|
||||
#
|
||||
# Note that the header path has changed from SDL2/SDL.h to just SDL.h
|
||||
# This needed to change because "proper" SDL2 convention
|
||||
# is #include "SDL.h", not <SDL2/SDL.h>. This is done for portability
|
||||
# reasons because not all systems place things in SDL2/ (see FreeBSD).
|
||||
#
|
||||
# Ported by Johnny Patterson. This is a literal port for SDL2 of the FindSDL.cmake
|
||||
# module with the minor edit of changing "SDL" to "SDL2" where necessary. This
|
||||
# was not created for redistribution, and exists temporarily pending official
|
||||
# SDL2 CMake modules.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2003-2009 Kitware, Inc.
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES include/SDL2 include
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local/include/SDL2
|
||||
/usr/include/SDL2
|
||||
/sw # Fink
|
||||
/opt/local # DarwinPorts
|
||||
/opt/csw # Blastwave
|
||||
/opt
|
||||
C:/MinGW/include/SDL2
|
||||
)
|
||||
#MESSAGE("SDL2_INCLUDE_DIR is ${SDL2_INCLUDE_DIR}")
|
||||
|
||||
FIND_LIBRARY(SDL2_LIBRARY_TEMP
|
||||
NAMES SDL2
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES lib64 lib
|
||||
PATHS
|
||||
/sw
|
||||
/opt/local
|
||||
/opt/csw
|
||||
/opt
|
||||
C:/MinGW/
|
||||
)
|
||||
|
||||
#MESSAGE("SDL2_LIBRARY_TEMP is ${SDL2_LIBRARY_TEMP}")
|
||||
|
||||
IF(NOT SDL2_BUILDING_LIBRARY)
|
||||
IF(NOT ${SDL2_INCLUDE_DIR} MATCHES ".framework")
|
||||
# Non-OS X framework versions expect you to also dynamically link to
|
||||
# SDL2main. This is mainly for Windows and OS X. Other (Unix) platforms
|
||||
# seem to provide SDL2main for compatibility even though they don't
|
||||
# necessarily need it.
|
||||
FIND_LIBRARY(SDL2MAIN_LIBRARY
|
||||
NAMES SDL2main
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES lib64 lib
|
||||
PATHS
|
||||
/sw
|
||||
/opt/local
|
||||
/opt/csw
|
||||
/opt
|
||||
C:/MinGW/
|
||||
)
|
||||
ENDIF(NOT ${SDL2_INCLUDE_DIR} MATCHES ".framework")
|
||||
ENDIF(NOT SDL2_BUILDING_LIBRARY)
|
||||
|
||||
# SDL2 may require threads on your system.
|
||||
# The Apple build may not need an explicit flag because one of the
|
||||
# frameworks may already provide it.
|
||||
# But for non-OSX systems, I will use the CMake Threads package.
|
||||
IF(NOT APPLE)
|
||||
FIND_PACKAGE(Threads)
|
||||
ENDIF(NOT APPLE)
|
||||
|
||||
# MinGW needs an additional library, mwindows
|
||||
# It's total link flags should look like -lmingw32 -lSDL2main -lSDL2 -lmwindows
|
||||
# (Actually on second look, I think it only needs one of the m* libraries.)
|
||||
IF(MINGW)
|
||||
SET(MINGW32_LIBRARY mingw32 CACHE STRING "mwindows for MinGW")
|
||||
ENDIF(MINGW)
|
||||
|
||||
SET(SDL2_FOUND "NO")
|
||||
IF(SDL2_LIBRARY_TEMP)
|
||||
# For SDL2main
|
||||
IF(NOT SDL2_BUILDING_LIBRARY)
|
||||
IF(SDL2MAIN_LIBRARY)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2MAIN_LIBRARY} ${SDL2_LIBRARY_TEMP})
|
||||
ENDIF(SDL2MAIN_LIBRARY)
|
||||
ENDIF(NOT SDL2_BUILDING_LIBRARY)
|
||||
|
||||
# For OS X, SDL2 uses Cocoa as a backend so it must link to Cocoa.
|
||||
# CMake doesn't display the -framework Cocoa string in the UI even
|
||||
# though it actually is there if I modify a pre-used variable.
|
||||
# I think it has something to do with the CACHE STRING.
|
||||
# So I use a temporary variable until the end so I can set the
|
||||
# "real" variable in one-shot.
|
||||
IF(APPLE)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2_LIBRARY_TEMP} "-framework Cocoa")
|
||||
ENDIF(APPLE)
|
||||
|
||||
# For threads, as mentioned Apple doesn't need this.
|
||||
# In fact, there seems to be a problem if I used the Threads package
|
||||
# and try using this line, so I'm just skipping it entirely for OS X.
|
||||
IF(NOT APPLE)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2_LIBRARY_TEMP} ${CMAKE_THREAD_LIBS_INIT})
|
||||
ENDIF(NOT APPLE)
|
||||
|
||||
# For MinGW library
|
||||
IF(MINGW)
|
||||
SET(SDL2_LIBRARY_TEMP ${MINGW32_LIBRARY} ${SDL2_LIBRARY_TEMP})
|
||||
ENDIF(MINGW)
|
||||
|
||||
# Set the final string here so the GUI reflects the final state.
|
||||
SET(SDL2_LIBRARY ${SDL2_LIBRARY_TEMP} CACHE STRING "Where the SDL2 Library can be found")
|
||||
# Set the temp variable to INTERNAL so it is not seen in the CMake GUI
|
||||
SET(SDL2_LIBRARY_TEMP "${SDL2_LIBRARY_TEMP}" CACHE INTERNAL "")
|
||||
|
||||
SET(SDL2_FOUND "YES")
|
||||
ENDIF(SDL2_LIBRARY_TEMP)
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2
|
||||
REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)
|
||||
77
cmake/FindSDL2_net.cmake
Normal file
77
cmake/FindSDL2_net.cmake
Normal file
@@ -0,0 +1,77 @@
|
||||
# - Find SDL2_net library and headers
|
||||
#
|
||||
# Find module for SDL_net 2.0 (http://www.libsdl.org/projects/SDL_net/).
|
||||
# It defines the following variables:
|
||||
# SDL2_NET_INCLUDE_DIRS - The location of the headers, e.g., SDL_net.h.
|
||||
# SDL2_NET_LIBRARIES - The libraries to link against to use SDL2_net.
|
||||
# SDL2_NET_FOUND - If false, do not try to use SDL2_net.
|
||||
# SDL2_NET_VERSION_STRING
|
||||
# Human-readable string containing the version of SDL2_net.
|
||||
#
|
||||
# Also defined, but not for general use are:
|
||||
# SDL2_NET_INCLUDE_DIR - The directory that contains SDL_net.h.
|
||||
# SDL2_NET_LIBRARY - The location of the SDL2_net library.
|
||||
#
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2013 Benjamin Eikel
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_SDL2_NET QUIET SDL2_net)
|
||||
|
||||
find_path(SDL2_NET_INCLUDE_DIR
|
||||
NAMES SDL_net.h
|
||||
HINTS
|
||||
${PC_SDL2_NET_INCLUDEDIR}
|
||||
${PC_SDL2_NET_INCLUDE_DIRS}
|
||||
/Library/Frameworks
|
||||
PATH_SUFFIXES SDL2
|
||||
)
|
||||
|
||||
MESSAGE("SDL2_NET_INCLUDE_DIR is ${SDL2_NET_INCLUDE_DIR}")
|
||||
|
||||
find_library(SDL2_NET_LIBRARY
|
||||
NAMES SDL2_net
|
||||
HINTS
|
||||
${PC_SDL2_NET_LIBDIR}
|
||||
${PC_SDL2_NET_LIBRARY_DIRS}
|
||||
/Library/Frameworks
|
||||
PATH_SUFFIXES x64 x86
|
||||
)
|
||||
|
||||
if(SDL2_NET_INCLUDE_DIR AND EXISTS "${SDL2_NET_INCLUDE_DIR}/SDL_net.h")
|
||||
file(STRINGS "${SDL2_NET_INCLUDE_DIR}/SDL_net.h" SDL2_NET_VERSION_MAJOR_LINE REGEX "^#define[ \t]+SDL_NET_MAJOR_VERSION[ \t]+[0-9]+$")
|
||||
file(STRINGS "${SDL2_NET_INCLUDE_DIR}/SDL_net.h" SDL2_NET_VERSION_MINOR_LINE REGEX "^#define[ \t]+SDL_NET_MINOR_VERSION[ \t]+[0-9]+$")
|
||||
file(STRINGS "${SDL2_NET_INCLUDE_DIR}/SDL_net.h" SDL2_NET_VERSION_PATCH_LINE REGEX "^#define[ \t]+SDL_NET_PATCHLEVEL[ \t]+[0-9]+$")
|
||||
string(REGEX REPLACE "^#define[ \t]+SDL_NET_MAJOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL2_NET_VERSION_MAJOR "${SDL2_NET_VERSION_MAJOR_LINE}")
|
||||
string(REGEX REPLACE "^#define[ \t]+SDL_NET_MINOR_VERSION[ \t]+([0-9]+)$" "\\1" SDL2_NET_VERSION_MINOR "${SDL2_NET_VERSION_MINOR_LINE}")
|
||||
string(REGEX REPLACE "^#define[ \t]+SDL_NET_PATCHLEVEL[ \t]+([0-9]+)$" "\\1" SDL2_NET_VERSION_PATCH "${SDL2_NET_VERSION_PATCH_LINE}")
|
||||
set(SDL2_NET_VERSION_STRING ${SDL2_NET_VERSION_MAJOR}.${SDL2_NET_VERSION_MINOR}.${SDL2_NET_VERSION_PATCH})
|
||||
unset(SDL2_NET_VERSION_MAJOR_LINE)
|
||||
unset(SDL2_NET_VERSION_MINOR_LINE)
|
||||
unset(SDL2_NET_VERSION_PATCH_LINE)
|
||||
unset(SDL2_NET_VERSION_MAJOR)
|
||||
unset(SDL2_NET_VERSION_MINOR)
|
||||
unset(SDL2_NET_VERSION_PATCH)
|
||||
endif()
|
||||
|
||||
set(SDL2_NET_INCLUDE_DIRS ${SDL2_NET_INCLUDE_DIR})
|
||||
set(SDL2_NET_LIBRARIES ${SDL2_NET_LIBRARY})
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_package_handle_standard_args(SDL2_net
|
||||
REQUIRED_VARS SDL2_NET_INCLUDE_DIRS SDL2_NET_LIBRARIES
|
||||
VERSION_VAR SDL2_NET_VERSION_STRING)
|
||||
|
||||
mark_as_advanced(SDL2_NET_INCLUDE_DIR SDL2_NET_LIBRARY)
|
||||
65
cmake/FindSDL_ffmpeg.cmake
Normal file
65
cmake/FindSDL_ffmpeg.cmake
Normal file
@@ -0,0 +1,65 @@
|
||||
# Locate SDL_ffmpeg library
|
||||
# This module defines
|
||||
# SDLFFMPEG_LIBRARY, the name of the library to link against
|
||||
# SDLFFMPEG_FOUND, if false, do not try to link to SDL
|
||||
# SDLFFMPEG_INCLUDE_DIR, where to find SDL/SDL.h
|
||||
#
|
||||
# $SDLDIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$SDLDIR
|
||||
# used in building SDL.
|
||||
#
|
||||
# Based on FindSDL_ttf.cmake from cmake distribution, original
|
||||
# copyright note:
|
||||
#
|
||||
# Created by Eric Wing. This was influenced by the FindSDL.cmake
|
||||
# module, but with modifications to recognize OS X frameworks and
|
||||
# additional Unix paths (FreeBSD, etc).
|
||||
|
||||
FIND_PATH(SDLFFMPEG_INCLUDE_DIR SDL_ffmpeg.h
|
||||
HINTS
|
||||
$ENV{SDLFFMPEGDIR}
|
||||
$ENV{SDLDIR}
|
||||
PATH_SUFFIXES include
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local/include/SDL
|
||||
/usr/include/SDL
|
||||
/usr/local/include/SDL12
|
||||
/usr/local/include/SDL11 # FreeBSD ports
|
||||
/usr/include/SDL12
|
||||
/usr/include/SDL11
|
||||
/usr/local/include
|
||||
/usr/include
|
||||
/sw/include/SDL # Fink
|
||||
/sw/include
|
||||
/opt/local/include/SDL # DarwinPorts
|
||||
/opt/local/include
|
||||
/opt/csw/include/SDL # Blastwave
|
||||
/opt/csw/include
|
||||
/opt/include/SDL
|
||||
/opt/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(SDLFFMPEG_LIBRARY
|
||||
NAMES SDL_ffmpeg
|
||||
HINTS
|
||||
$ENV{SDLFFMPEGDIR}
|
||||
$ENV{SDLDIR}
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local
|
||||
/usr
|
||||
/sw
|
||||
/opt/local
|
||||
/opt/csw
|
||||
/opt
|
||||
PATH_SUFFIXES lib64 lib
|
||||
)
|
||||
|
||||
SET(SDLFFMPEG_FOUND "NO")
|
||||
IF(SDLFFMPEG_LIBRARY AND SDLFFMPEG_INCLUDE_DIR)
|
||||
SET(SDLFFMPEG_FOUND "YES")
|
||||
ENDIF(SDLFFMPEG_LIBRARY AND SDLFFMPEG_INCLUDE_DIR)
|
||||
|
||||
88
cmake/FindVorbis.cmake
Normal file
88
cmake/FindVorbis.cmake
Normal file
@@ -0,0 +1,88 @@
|
||||
# Locate Vorbis
|
||||
# This module defines XXX_FOUND, XXX_INCLUDE_DIRS and XXX_LIBRARIES standard variables
|
||||
#
|
||||
# $VORBISDIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$VORBISDIR
|
||||
# used in building Vorbis.
|
||||
|
||||
SET(VORBIS_SEARCH_PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local
|
||||
/usr
|
||||
/sw # Fink
|
||||
/opt/local # DarwinPorts
|
||||
/opt/csw # Blastwave
|
||||
/opt
|
||||
/local/
|
||||
)
|
||||
|
||||
SET(MSVC_YEAR_NAME)
|
||||
IF (MSVC_VERSION GREATER 1599) # >= 1600
|
||||
SET(MSVC_YEAR_NAME VS2010)
|
||||
ELSEIF(MSVC_VERSION GREATER 1499) # >= 1500
|
||||
SET(MSVC_YEAR_NAME VS2008)
|
||||
ELSEIF(MSVC_VERSION GREATER 1399) # >= 1400
|
||||
SET(MSVC_YEAR_NAME VS2005)
|
||||
ELSEIF(MSVC_VERSION GREATER 1299) # >= 1300
|
||||
SET(MSVC_YEAR_NAME VS2003)
|
||||
ELSEIF(MSVC_VERSION GREATER 1199) # >= 1200
|
||||
SET(MSVC_YEAR_NAME VS6)
|
||||
ENDIF()
|
||||
|
||||
FIND_PATH(VORBIS_INCLUDE_DIR
|
||||
NAMES vorbis/codec.h
|
||||
HINTS
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES include
|
||||
PATHS ${VORBIS_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(VORBIS_LIBRARY
|
||||
NAMES vorbis libvorbis
|
||||
HINTS
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/Vorbis_Dynamic_Release "Win32/${MSVC_YEAR_NAME}/x64/Release" "Win32/${MSVC_YEAR_NAME}/Win32/Release"
|
||||
PATHS ${VORBIS_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
# First search for d-suffixed libs
|
||||
FIND_LIBRARY(VORBIS_LIBRARY_DEBUG
|
||||
NAMES vorbisd vorbis_d libvorbisd libvorbis_d
|
||||
HINTS
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/Vorbis_Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${VORBIS_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
IF(NOT VORBIS_LIBRARY_DEBUG)
|
||||
# Then search for non suffixed libs if necessary, but only in debug dirs
|
||||
FIND_LIBRARY(VORBIS_LIBRARY_DEBUG
|
||||
NAMES vorbis libvorbis
|
||||
HINTS
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES win32/Vorbis_Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${VORBIS_SEARCH_PATHS}
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
if (MINGW)
|
||||
set(VORBIS_INCLUDE_DIR "/local/include/vorbis")
|
||||
set(VORBIS_LIBRARY "/local/lib/libvorbis.dll.a")
|
||||
endif (MINGW)
|
||||
|
||||
IF(VORBIS_LIBRARY)
|
||||
IF(VORBIS_LIBRARY_DEBUG)
|
||||
SET(VORBIS_LIBRARIES optimized "${VORBIS_LIBRARY}" debug "${VORBIS_LIBRARY_DEBUG}")
|
||||
ELSE()
|
||||
SET(VORBIS_LIBRARIES "${VORBIS_LIBRARY}") # Could add "general" keyword, but it is optional
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set XXX_FOUND to TRUE if all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBIS DEFAULT_MSG VORBIS_LIBRARIES VORBIS_INCLUDE_DIR)
|
||||
96
cmake/FindVorbisFile.cmake
Normal file
96
cmake/FindVorbisFile.cmake
Normal file
@@ -0,0 +1,96 @@
|
||||
# Locate VorbisFile
|
||||
# This module defines XXX_FOUND, XXX_INCLUDE_DIRS and XXX_LIBRARIES standard variables
|
||||
#
|
||||
# $VORBISDIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$VORBISDIR
|
||||
# used in building Vorbis.
|
||||
|
||||
SET(VORBISFILE_SEARCH_PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local
|
||||
/usr
|
||||
/sw # Fink
|
||||
/opt/local # DarwinPorts
|
||||
/opt/csw # Blastwave
|
||||
/opt
|
||||
/local/
|
||||
)
|
||||
|
||||
SET(MSVC_YEAR_NAME)
|
||||
IF (MSVC_VERSION GREATER 1599) # >= 1600
|
||||
SET(MSVC_YEAR_NAME VS2010)
|
||||
ELSEIF(MSVC_VERSION GREATER 1499) # >= 1500
|
||||
SET(MSVC_YEAR_NAME VS2008)
|
||||
ELSEIF(MSVC_VERSION GREATER 1399) # >= 1400
|
||||
SET(MSVC_YEAR_NAME VS2005)
|
||||
ELSEIF(MSVC_VERSION GREATER 1299) # >= 1300
|
||||
SET(MSVC_YEAR_NAME VS2003)
|
||||
ELSEIF(MSVC_VERSION GREATER 1199) # >= 1200
|
||||
SET(MSVC_YEAR_NAME VS6)
|
||||
ENDIF()
|
||||
|
||||
FIND_PATH(VORBISFILE_INCLUDE_DIR
|
||||
NAMES vorbis/vorbisfile.h
|
||||
HINTS
|
||||
$ENV{VORBISFILEDIR}
|
||||
$ENV{VORBISFILE_PATH}
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES include
|
||||
PATHS ${VORBISFILE_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(VORBISFILE_LIBRARY
|
||||
NAMES vorbisfile libvorbisfile
|
||||
HINTS
|
||||
$ENV{VORBISFILEDIR}
|
||||
$ENV{VORBISFILE_PATH}
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/VorbisFile_Dynamic_Release "Win32/${MSVC_YEAR_NAME}/x64/Release" "Win32/${MSVC_YEAR_NAME}/Win32/Release"
|
||||
PATHS ${VORBISFILE_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
# First search for d-suffixed libs
|
||||
FIND_LIBRARY(VORBISFILE_LIBRARY_DEBUG
|
||||
NAMES vorbisfiled vorbisfile_d libvorbisfiled libvorbisfile_d
|
||||
HINTS
|
||||
$ENV{VORBISFILEDIR}
|
||||
$ENV{VORBISFILE_PATH}
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES lib lib64 win32/VorbisFile_Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${VORBISFILE_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
IF(NOT VORBISFILE_LIBRARY_DEBUG)
|
||||
# Then search for non suffixed libs if necessary, but only in debug dirs
|
||||
FIND_LIBRARY(VORBISFILE_LIBRARY_DEBUG
|
||||
NAMES vorbisfile libvorbisfile
|
||||
HINTS
|
||||
$ENV{VORBISFILEDIR}
|
||||
$ENV{VORBISFILE_PATH}
|
||||
$ENV{VORBISDIR}
|
||||
$ENV{VORBIS_PATH}
|
||||
PATH_SUFFIXES win32/VorbisFile_Dynamic_Debug "Win32/${MSVC_YEAR_NAME}/x64/Debug" "Win32/${MSVC_YEAR_NAME}/Win32/Debug"
|
||||
PATHS ${VORBISFILE_SEARCH_PATHS}
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
if (MINGW)
|
||||
set(VORBISFILE_INCLUDE_DIR "/local/include/vorbis")
|
||||
set(VORBISFILE_LIBRARY "/local/lib/libvorbisfile.dll.a")
|
||||
endif (MINGW)
|
||||
|
||||
IF(VORBISFILE_LIBRARY)
|
||||
IF(VORBISFILE_LIBRARY_DEBUG)
|
||||
SET(VORBISFILE_LIBRARIES optimized "${VORBISFILE_LIBRARY}" debug "${VORBISFILE_LIBRARY_DEBUG}")
|
||||
ELSE()
|
||||
SET(VORBISFILE_LIBRARIES "${VORBISFILE_LIBRARY}") # Could add "general" keyword, but it is optional
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set XXX_FOUND to TRUE if all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBISFILE DEFAULT_MSG VORBISFILE_LIBRARIES VORBISFILE_INCLUDE_DIR)
|
||||
68
data/iscreen/ext_evnt.h
Normal file
68
data/iscreen/ext_evnt.h
Normal file
@@ -0,0 +1,68 @@
|
||||
|
||||
// iScreen external events...
|
||||
#define iEXT_UPDATE_SOUND_MODE 1
|
||||
#define iEXT_UPDATE_SOUND_VOLUME 2
|
||||
#define iEXT_UPDATE_MUSIC_MODE 3
|
||||
#define iEXT_UPDATE_MUSIC_VOLUME 4
|
||||
#define iEXT_UPDATE_TUTORIAL_MODE 5
|
||||
|
||||
#define iEXT_PREPARE_SLOTS 6
|
||||
#define iEXT_SET_SLOT 7
|
||||
|
||||
#define iEXT_FIRST_SEARCH 8
|
||||
#define iEXT_INIT_SERVERS_LIST 9
|
||||
#define iEXT_UPDATE_SERVERS_LIST 10
|
||||
#define iEXT_UP_SERVERS_LIST 11
|
||||
#define iEXT_DN_SERVERS_LIST 12
|
||||
#define iEXT_CHOOSE_SERVER 13
|
||||
#define iEXT_CONNECT 14
|
||||
#define iEXT_CHECK_SERVER_CONFIG 15
|
||||
|
||||
#define iEXT_SAVE_GAME 16
|
||||
|
||||
#define iEXT_INIT_CONTROL 17
|
||||
#define iEXT_RESET_CONTROLS 18
|
||||
|
||||
#define iEXT_UPDATE_OPTION 19
|
||||
|
||||
#define iEXT_UPDATE_SERVER_INFO 20
|
||||
#define iEXT_SEND_SERVER_INFO 21
|
||||
#define iEXT_SELECT_GAME 22
|
||||
#define iEXT_SEND_CONFIG_DATA 23
|
||||
#define iEXT_CHOOSE_PARAMS_SCREEN 24
|
||||
|
||||
#define iEXT_ACTIVATE_CHAT 25
|
||||
#define iEXT_DEACTIVATE_CHAT 26
|
||||
|
||||
#define iEXT_LOCK_PARAMS 27
|
||||
#define iEXT_UNLOCK_PARAMS 28
|
||||
|
||||
#define iEXT_INIT_iSERVERS_LIST 29
|
||||
#define iEXT_UPDATE_iSERVERS_LIST 30
|
||||
#define iEXT_UP_iSERVERS_LIST 31
|
||||
#define iEXT_DN_iSERVERS_LIST 32
|
||||
|
||||
#define iEXT_DISCONNECT 33
|
||||
|
||||
#define iEXT_INIT_KEEP_OPTIONS 34
|
||||
#define iEXT_KEEP_CLEAN_UP 35
|
||||
|
||||
#define iEXT_INIT_RESULT 36
|
||||
#define iEXT_CREATE_SERVER 37
|
||||
|
||||
#define iEXT_INIT_JOYSTICK 38
|
||||
#define iEXT_INIT_JOYSTICK_OBJ 39
|
||||
|
||||
#define iEXT_DELETE_CONTROL 40
|
||||
|
||||
#define iEXT_INIT_PROXY 41
|
||||
|
||||
#define iEXT_SELECT_HALL 42
|
||||
|
||||
#define iEXT_INIT_PORT 43
|
||||
#define iEXT_RESTORE_PORT 44
|
||||
|
||||
#define iEXT_PREPARE_MP_RESULTS 45
|
||||
#define iEXT_CHECK_END_FLAG 46
|
||||
|
||||
#define iEXT_INIT_SOCKETS 47
|
||||
34
data/iscreen/oftr.scr
Normal file
34
data/iscreen/oftr.scr
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
#include "iscreen/scripts/strings.inc"
|
||||
#include "iscreen/scripts/strings1.inc"
|
||||
|
||||
#include "iscreen/scripts/vkeys.inc"
|
||||
#include "iscreen/scripts/bugs.inc"
|
||||
|
||||
#include "actint/aci_ev.inc"
|
||||
#include "actint/a_consts.h"
|
||||
#include "actint/mlconsts.h"
|
||||
#include "actint/aci_ml.inc"
|
||||
#include "iscreen/scripts/oftr.inc"
|
||||
#include "iscreen/scripts/buttons.inc"
|
||||
|
||||
#include "iscreen/scripts/mainmenu.inc"
|
||||
#include "iscreen/scripts/mmenu1.inc"
|
||||
|
||||
#include "iscreen/scripts/main.inc"
|
||||
|
||||
#include "iscreen/scripts/cr_main1.inc"
|
||||
|
||||
/* ------------------------------ TEXT SECTION ------------------------------ */
|
||||
|
||||
text_object $iTEXT_ENG2_ID $iSTR_Genesis "resource/iscreen/text/eng/genesis.txt"
|
||||
text_object $iTEXT_ENG1_ID $iSTR_Prehistory "resource/iscreen/text/eng/prehist.txt"
|
||||
text_object $iTEXT_ENG3_ID $iSTR_Present "resource/iscreen/text/eng/present.txt"
|
||||
|
||||
//text_object $iTEXT_RUS2_ID $iSTR_Genesis "resource/iscreen/text/rus/genesis.txt"
|
||||
//text_object $iTEXT_RUS1_ID $iSTR_Prehistory "resource/iscreen/text/rus/prehist.txt"
|
||||
//text_object $iTEXT_RUS3_ID $iSTR_Present "resource/iscreen/text/rus/present.txt"
|
||||
|
||||
/* -------------------------- END OF TEXT SECTION --------------------------- */
|
||||
|
||||
|
||||
34
data/iscreen/oftr2.scr
Normal file
34
data/iscreen/oftr2.scr
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
#include "iscreen/scripts/strings.inc"
|
||||
#include "iscreen/scripts/strings2.inc"
|
||||
|
||||
#include "iscreen/scripts/vkeys.inc"
|
||||
#include "iscreen/scripts/bugs.inc"
|
||||
|
||||
#include "actint/aci_ev.inc"
|
||||
#include "actint/a_consts.h"
|
||||
#include "actint/mlconsts.h"
|
||||
#include "actint/aci_ml.inc"
|
||||
#include "iscreen/scripts/oftr.inc"
|
||||
#include "iscreen/scripts/buttons.inc"
|
||||
|
||||
#include "iscreen/scripts/mainmenu.inc"
|
||||
#include "iscreen/scripts/mmenu2.inc"
|
||||
|
||||
#include "iscreen/scripts/main.inc"
|
||||
|
||||
#include "iscreen/scripts/cr_main1.inc"
|
||||
|
||||
/* ------------------------------ TEXT SECTION ------------------------------ */
|
||||
|
||||
//text_object $iTEXT_ENG2_ID $iSTR_Genesis "resource/iscreen/text/eng/genesis.txt"
|
||||
//text_object $iTEXT_ENG1_ID $iSTR_Prehistory "resource/iscreen/text/eng/prehist.txt"
|
||||
//text_object $iTEXT_ENG3_ID $iSTR_Present "resource/iscreen/text/eng/present.txt"
|
||||
|
||||
text_object $iTEXT_RUS2_ID $iSTR_Genesis "resource/iscreen/text/rus/genesis.txt"
|
||||
text_object $iTEXT_RUS1_ID $iSTR_Prehistory "resource/iscreen/text/rus/prehist.txt"
|
||||
text_object $iTEXT_RUS3_ID $iSTR_Present "resource/iscreen/text/rus/present.txt"
|
||||
|
||||
/* -------------------------- END OF TEXT SECTION --------------------------- */
|
||||
|
||||
|
||||
112
data/iscreen/scripts/btn00.inc
Normal file
112
data/iscreen/scripts/btn00.inc
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 22 \
|
||||
y 204
|
||||
|
||||
#define BT00_SIZE size_x 54 \
|
||||
size_y 53
|
||||
|
||||
|
||||
#define BT01_COORDS x 24 \
|
||||
y 25
|
||||
|
||||
#define BT01_SIZE size_x 61 \
|
||||
size_y 91
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 688 \
|
||||
y 400
|
||||
|
||||
#define BT04_SIZE size_x 86 \
|
||||
size_y 73
|
||||
|
||||
|
||||
#define BT05_COORDS x 714 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 63 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 86 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 75 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT07_COORDS x 174 \
|
||||
y 10
|
||||
|
||||
#define BT07_SIZE size_x 92 \
|
||||
size_y 50
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 60 \
|
||||
y 404
|
||||
|
||||
#define BT09_SIZE size_x 59 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT10_COORDS x 134 \
|
||||
y 411
|
||||
|
||||
#define BT10_SIZE size_x 60 \
|
||||
size_y 32
|
||||
|
||||
|
||||
#define BT11_COORDS x 204 \
|
||||
y 426
|
||||
|
||||
#define BT11_SIZE size_x 52 \
|
||||
size_y 19
|
||||
|
||||
|
||||
#define BT12_COORDS x 266 \
|
||||
y 414
|
||||
|
||||
#define BT12_SIZE size_x 61 \
|
||||
size_y 30
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
105
data/iscreen/scripts/btn01.inc
Normal file
105
data/iscreen/scripts/btn01.inc
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 37 \
|
||||
y 383
|
||||
|
||||
#define BT00_SIZE size_x 58 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BT01_COORDS x 24 \
|
||||
y 25
|
||||
|
||||
#define BT01_SIZE size_x 61 \
|
||||
size_y 91
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 696 \
|
||||
y 398
|
||||
|
||||
#define BT04_SIZE size_x 80 \
|
||||
size_y 69
|
||||
|
||||
|
||||
#define BT05_COORDS x 704 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 73 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 86 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 74 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 60 \
|
||||
y 404
|
||||
|
||||
#define BT09_SIZE size_x 59 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT10_COORDS x 134 \
|
||||
y 411
|
||||
|
||||
#define BT10_SIZE size_x 60 \
|
||||
size_y 32
|
||||
|
||||
|
||||
#define BT11_COORDS x 204 \
|
||||
y 426
|
||||
|
||||
#define BT11_SIZE size_x 52 \
|
||||
size_y 19
|
||||
|
||||
|
||||
#define BT12_COORDS x 266 \
|
||||
y 414
|
||||
|
||||
#define BT12_SIZE size_x 61 \
|
||||
size_y 30
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
112
data/iscreen/scripts/btn02.inc
Normal file
112
data/iscreen/scripts/btn02.inc
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 50 \
|
||||
y 354
|
||||
|
||||
#define BT00_SIZE size_x 58 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BT01_COORDS x 18 \
|
||||
y 9
|
||||
|
||||
#define BT01_SIZE size_x 72 \
|
||||
size_y 99
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 712 \
|
||||
y 402
|
||||
|
||||
#define BT04_SIZE size_x 66 \
|
||||
size_y 60
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 86 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 74 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT07_COORDS x 175 \
|
||||
y 10
|
||||
|
||||
#define BT07_SIZE size_x 91 \
|
||||
size_y 50
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 69 \
|
||||
y 447
|
||||
|
||||
#define BT09_SIZE size_x 67 \
|
||||
size_y 59
|
||||
|
||||
|
||||
#define BT10_COORDS x 140 \
|
||||
y 422
|
||||
|
||||
#define BT10_SIZE size_x 52 \
|
||||
size_y 30
|
||||
|
||||
|
||||
#define BT11_COORDS x 206 \
|
||||
y 414
|
||||
|
||||
#define BT11_SIZE size_x 45 \
|
||||
size_y 38
|
||||
|
||||
|
||||
#define BT12_COORDS x 265 \
|
||||
y 424
|
||||
|
||||
#define BT12_SIZE size_x 55 \
|
||||
size_y 29
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
105
data/iscreen/scripts/btn03.inc
Normal file
105
data/iscreen/scripts/btn03.inc
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 99 \
|
||||
y 381
|
||||
|
||||
#define BT00_SIZE size_x 58 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BT01_COORDS x 20 \
|
||||
y 19
|
||||
|
||||
#define BT01_SIZE size_x 69 \
|
||||
size_y 86
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 14 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 69 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 712 \
|
||||
y 402
|
||||
|
||||
#define BT04_SIZE size_x 66 \
|
||||
size_y 60
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 79 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 81 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 69 \
|
||||
y 447
|
||||
|
||||
#define BT09_SIZE size_x 67 \
|
||||
size_y 59
|
||||
|
||||
|
||||
#define BT10_COORDS x 140 \
|
||||
y 420
|
||||
|
||||
#define BT10_SIZE size_x 52 \
|
||||
size_y 32
|
||||
|
||||
|
||||
#define BT11_COORDS x 207 \
|
||||
y 414
|
||||
|
||||
#define BT11_SIZE size_x 44 \
|
||||
size_y 38
|
||||
|
||||
|
||||
#define BT12_COORDS x 265 \
|
||||
y 423
|
||||
|
||||
#define BT12_SIZE size_x 55 \
|
||||
size_y 30
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
105
data/iscreen/scripts/btn04.inc
Normal file
105
data/iscreen/scripts/btn04.inc
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 13 \
|
||||
y 411
|
||||
|
||||
#define BT00_SIZE size_x 58 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BT01_COORDS x 18 \
|
||||
y 17
|
||||
|
||||
#define BT01_SIZE size_x 76 \
|
||||
size_y 91
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 712 \
|
||||
y 402
|
||||
|
||||
#define BT04_SIZE size_x 66 \
|
||||
size_y 60
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 80 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 82 \
|
||||
size_y 79
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 69 \
|
||||
y 447
|
||||
|
||||
#define BT09_SIZE size_x 67 \
|
||||
size_y 59
|
||||
|
||||
|
||||
#define BT10_COORDS x 140 \
|
||||
y 418
|
||||
|
||||
#define BT10_SIZE size_x 52 \
|
||||
size_y 34
|
||||
|
||||
|
||||
#define BT11_COORDS x 206 \
|
||||
y 414
|
||||
|
||||
#define BT11_SIZE size_x 50 \
|
||||
size_y 38
|
||||
|
||||
|
||||
#define BT12_COORDS x 265 \
|
||||
y 419
|
||||
|
||||
#define BT12_SIZE size_x 55 \
|
||||
size_y 34
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
112
data/iscreen/scripts/btn05.inc
Normal file
112
data/iscreen/scripts/btn05.inc
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 167 \
|
||||
y 422
|
||||
|
||||
#define BT00_SIZE size_x 58 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BT01_COORDS x 33 \
|
||||
y 24
|
||||
|
||||
#define BT01_SIZE size_x 71 \
|
||||
size_y 88
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 497
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT04_COORDS x 670 \
|
||||
y 395
|
||||
|
||||
#define BT04_SIZE size_x 100 \
|
||||
size_y 78
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 86 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 75 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT07_COORDS x 174 \
|
||||
y 10
|
||||
|
||||
#define BT07_SIZE size_x 92 \
|
||||
size_y 50
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 36 \
|
||||
y 418
|
||||
|
||||
#define BT09_SIZE size_x 91 \
|
||||
size_y 78
|
||||
|
||||
|
||||
#define BT10_COORDS x 135 \
|
||||
y 426
|
||||
|
||||
#define BT10_SIZE size_x 60 \
|
||||
size_y 26
|
||||
|
||||
|
||||
#define BT11_COORDS x 211 \
|
||||
y 423
|
||||
|
||||
#define BT11_SIZE size_x 32 \
|
||||
size_y 28
|
||||
|
||||
|
||||
#define BT12_COORDS x 267 \
|
||||
y 425
|
||||
|
||||
#define BT12_SIZE size_x 59 \
|
||||
size_y 26
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
105
data/iscreen/scripts/btn06.inc
Normal file
105
data/iscreen/scripts/btn06.inc
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
#define BT00_COORDS x 161 \
|
||||
y 439
|
||||
|
||||
#define BT00_SIZE size_x 54 \
|
||||
size_y 51
|
||||
|
||||
|
||||
#define BT01_COORDS x 33 \
|
||||
y 24
|
||||
|
||||
#define BT01_SIZE size_x 71 \
|
||||
size_y 88
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 496
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 76
|
||||
|
||||
|
||||
#define BT04_COORDS x 670 \
|
||||
y 395
|
||||
|
||||
#define BT04_SIZE size_x 100 \
|
||||
size_y 78
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
|
||||
|
||||
#define BT06_COORDS x 86 \
|
||||
y 47
|
||||
|
||||
#define BT06_SIZE size_x 75 \
|
||||
size_y 75
|
||||
|
||||
|
||||
#define BT08_COORDS x 287 \
|
||||
y 47
|
||||
|
||||
#define BT08_SIZE size_x 70 \
|
||||
size_y 80
|
||||
|
||||
|
||||
#define BT09_COORDS x 36 \
|
||||
y 418
|
||||
|
||||
#define BT09_SIZE size_x 91 \
|
||||
size_y 78
|
||||
|
||||
|
||||
#define BT10_COORDS x 135 \
|
||||
y 426
|
||||
|
||||
#define BT10_SIZE size_x 60 \
|
||||
size_y 26
|
||||
|
||||
|
||||
#define BT11_COORDS x 211 \
|
||||
y 423
|
||||
|
||||
#define BT11_SIZE size_x 32 \
|
||||
size_y 28
|
||||
|
||||
|
||||
#define BT12_COORDS x 267 \
|
||||
y 425
|
||||
|
||||
#define BT12_SIZE size_x 59 \
|
||||
size_y 26
|
||||
|
||||
|
||||
#define BT13_COORDS x 911 \
|
||||
y 496
|
||||
|
||||
#define BT13_SIZE size_x 64 \
|
||||
size_y 61
|
||||
|
||||
|
||||
#define BT14_COORDS x 1022 \
|
||||
y 495
|
||||
|
||||
#define BT14_SIZE size_x 66 \
|
||||
size_y 64
|
||||
|
||||
|
||||
#define BT15_COORDS x 1132 \
|
||||
y 496
|
||||
|
||||
#define BT15_SIZE size_x 46 \
|
||||
size_y 68
|
||||
28
data/iscreen/scripts/btn07.inc
Normal file
28
data/iscreen/scripts/btn07.inc
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
#define BT01_COORDS x 33 \
|
||||
y 24
|
||||
|
||||
#define BT01_SIZE size_x 71 \
|
||||
size_y 88
|
||||
|
||||
|
||||
#define BT02_COORDS x 728 \
|
||||
y 25
|
||||
|
||||
#define BT02_SIZE size_x 36 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define BT03_COORDS x 17 \
|
||||
y 499
|
||||
|
||||
#define BT03_SIZE size_x 66 \
|
||||
size_y 73
|
||||
|
||||
|
||||
#define BT05_COORDS x 716 \
|
||||
y 491
|
||||
|
||||
#define BT05_SIZE size_x 61 \
|
||||
size_y 84
|
||||
77
data/iscreen/scripts/bugs.inc
Normal file
77
data/iscreen/scripts/bugs.inc
Normal file
@@ -0,0 +1,77 @@
|
||||
|
||||
|
||||
#define BUG00_COORDS x 55 \
|
||||
y 402
|
||||
|
||||
#define BUG00_SIZE size_x 56 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BUG01_COORDS x 7 \
|
||||
y 474
|
||||
|
||||
#define BUG01_SIZE size_x 56 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BUG02_COORDS x 94 \
|
||||
y 496
|
||||
|
||||
#define BUG02_SIZE size_x 50 \
|
||||
size_y 52
|
||||
|
||||
|
||||
#define BUG03_COORDS x 333 \
|
||||
y 541
|
||||
|
||||
#define BUG03_SIZE size_x 52 \
|
||||
size_y 48
|
||||
|
||||
|
||||
#define BUG04_COORDS x 423 \
|
||||
y 532
|
||||
|
||||
#define BUG04_SIZE size_x 48 \
|
||||
size_y 50
|
||||
|
||||
|
||||
#define BUG05_COORDS x 632 \
|
||||
y 501
|
||||
|
||||
#define BUG05_SIZE size_x 57 \
|
||||
size_y 52
|
||||
|
||||
|
||||
#define BUG06_COORDS x 711 \
|
||||
y 490
|
||||
|
||||
#define BUG06_SIZE size_x 55 \
|
||||
size_y 46
|
||||
|
||||
|
||||
#define BUG07_COORDS x 849 \
|
||||
y 489
|
||||
|
||||
#define BUG07_SIZE size_x 53 \
|
||||
size_y 57
|
||||
|
||||
|
||||
#define BUG08_COORDS x 1154 \
|
||||
y 538
|
||||
|
||||
#define BUG08_SIZE size_x 51 \
|
||||
size_y 48
|
||||
|
||||
|
||||
#define BUG09_COORDS x 1374 \
|
||||
y 481
|
||||
|
||||
#define BUG09_SIZE size_x 48 \
|
||||
size_y 53
|
||||
|
||||
|
||||
#define BUG10_COORDS x 1447 \
|
||||
y 478
|
||||
|
||||
#define BUG10_SIZE size_x 57 \
|
||||
size_y 45
|
||||
40
data/iscreen/scripts/buttons.inc
Normal file
40
data/iscreen/scripts/buttons.inc
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
// Button parameters...
|
||||
#define BUTTON_BMP_NULL 200
|
||||
#define BUTTON_NULL 200
|
||||
|
||||
// Button Events...
|
||||
#define BUTTON_PRESS_START 0
|
||||
#define BUTTON_UNPRESS_START 7
|
||||
#define BUTTON_PRESS_TIME 7
|
||||
#define BUTTON_UNPRESS_TIME 7
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
|
||||
#define BUTTON_PRESS_EV EvComm { \
|
||||
smooth_obj $BUTTON_NAME $BUTTON_SMOOTH_INDEX \
|
||||
start_time $BUTTON_PRESS_START \
|
||||
time $BUTTON_PRESS_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $BUTTON_NAME $BUTTON_SCALE_STRENGTH \
|
||||
start_time $BUTTON_PRESS_START \
|
||||
time $BUTTON_PRESS_TIME \
|
||||
}
|
||||
|
||||
|
||||
#define BUTTON_UNPRESS_EV EvComm { \
|
||||
smooth_obj $BUTTON_NAME 0 \
|
||||
start_time $BUTTON_UNPRESS_START \
|
||||
time $BUTTON_UNPRESS_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $BUTTON_NAME 256 \
|
||||
start_time $BUTTON_UNPRESS_START \
|
||||
time $BUTTON_UNPRESS_TIME \
|
||||
}
|
||||
|
||||
|
||||
#define AVI_HIDE_SPEED 5
|
||||
|
||||
224
data/iscreen/scripts/cr0.inc
Normal file
224
data/iscreen/scripts/cr0.inc
Normal file
@@ -0,0 +1,224 @@
|
||||
|
||||
#define Credits0_More_Option_PosX 650
|
||||
#define Credits0_More_Option_PosY 310
|
||||
#define Credits0_Back_Option_PosX 10
|
||||
#define Credits0_Back_Option_PosY 280
|
||||
|
||||
Screen "Credits0"
|
||||
{
|
||||
screen_offs 0
|
||||
|
||||
block_global_obj
|
||||
default_obj "Back Option"
|
||||
|
||||
Object "Credits Text"{
|
||||
null_level 200
|
||||
align_x center
|
||||
y 20
|
||||
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/credits.txt"
|
||||
}
|
||||
|
||||
Object "Back Option"
|
||||
{
|
||||
x $Credits0_Back_Option_PosX
|
||||
y $Credits0_Back_Option_PosY
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 3
|
||||
space 2
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_BACK
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Back Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Back Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Back Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
Object "More Option"
|
||||
{
|
||||
x $Credits0_More_Option_PosX
|
||||
y $Credits0_More_Option_PosY
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 3
|
||||
space 2
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_MORE
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "More Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits3"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "More Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "More Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits3"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#define Credits3_Logo0_PosX 71
|
||||
#define Credits3_Logo0_PosY 207
|
||||
#define Credits3_Back_Option_PosX 616
|
||||
#define Credits3_Back_Option_PosY 254
|
||||
|
||||
Screen "Credits3"
|
||||
{
|
||||
screen_offs 800
|
||||
|
||||
block_global_obj
|
||||
default_obj "Back Option"
|
||||
|
||||
Object "Credits Text"{
|
||||
null_level 200
|
||||
align_x center
|
||||
y 20
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/credits3.txt"
|
||||
}
|
||||
|
||||
Object "Back Option"
|
||||
{
|
||||
x $Credits3_Back_Option_PosX
|
||||
y $Credits3_Back_Option_PosY
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 3
|
||||
space 2
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_BACK
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Back Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits0"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Back Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Back Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits0"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
#define LOGO_OBJ_ID "Logo0"
|
||||
Object "Logo0" {
|
||||
x $Credits3_Logo0_PosX
|
||||
y $Credits3_Logo0_PosY
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo0.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
92
data/iscreen/scripts/cr1.inc
Normal file
92
data/iscreen/scripts/cr1.inc
Normal file
@@ -0,0 +1,92 @@
|
||||
|
||||
Screen "Credits1"
|
||||
{
|
||||
screen_offs 0
|
||||
|
||||
block_global_obj
|
||||
default_obj "Back Option"
|
||||
|
||||
Object "Credits Text"{
|
||||
null_level 200
|
||||
align_x center
|
||||
y 110
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/credits1.txt"
|
||||
}
|
||||
|
||||
Object "Back Option"
|
||||
{
|
||||
align_x right
|
||||
align_x_offs 20
|
||||
align_y center
|
||||
align_y_offs 70
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 3
|
||||
space 2
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_BACK
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Back Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Back Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Back Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
#define LOGO_OBJ_ID "Logo1"
|
||||
Object "Logo1" {
|
||||
align_x center
|
||||
y 20
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo1.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
}
|
||||
|
||||
92
data/iscreen/scripts/cr2.inc
Normal file
92
data/iscreen/scripts/cr2.inc
Normal file
@@ -0,0 +1,92 @@
|
||||
|
||||
Screen "Credits2"
|
||||
{
|
||||
screen_offs 0
|
||||
|
||||
block_global_obj
|
||||
default_obj "Back Option"
|
||||
|
||||
Object "Credits Text"{
|
||||
null_level 200
|
||||
align_x center
|
||||
y 100
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/credits2.txt"
|
||||
}
|
||||
|
||||
Object "Back Option"
|
||||
{
|
||||
align_x right
|
||||
align_x_offs 20
|
||||
align_y center
|
||||
align_y_offs -90
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 3
|
||||
space 2
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_BACK
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Back Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Back Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Back Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Credits screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
#define LOGO_OBJ_ID "Logo2"
|
||||
Object "Logo2" {
|
||||
align_x center
|
||||
y 20
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo2.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
}
|
||||
|
||||
333
data/iscreen/scripts/cr_main1.inc
Normal file
333
data/iscreen/scripts/cr_main1.inc
Normal file
@@ -0,0 +1,333 @@
|
||||
|
||||
#define LOGO_EV Event { \
|
||||
key $VK_LBUTTON \
|
||||
\
|
||||
time { $PRESS_OBJ_TIME * 2 + $MOVE2SCREEN_TIME + 1 } \
|
||||
EvComm { \
|
||||
scale_obj $LOGO_OBJ_ID -200 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 2 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $LOGO_OBJ_ID \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
move2screen $CREDITS_SCR_ID \
|
||||
start_time { $PRESS_OBJ_TIME * 2 } \
|
||||
time $MOVE2SCREEN_TIME \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_RBUTTON \
|
||||
\
|
||||
time { $SMOOTH_OBJ_TIME * 2 + $MOVE2SCREEN_TIME + 1 } \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 3 \
|
||||
start_time 0 \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $SMOOTH_OBJ_TIME \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
move2screen $CREDITS_SCR_ID \
|
||||
start_time { $SMOOTH_OBJ_TIME * 2 } \
|
||||
time $MOVE2SCREEN_TIME \
|
||||
} \
|
||||
}
|
||||
|
||||
Screen "Credits screen"
|
||||
{
|
||||
screen_offs 800
|
||||
|
||||
default_obj "Logo0"
|
||||
|
||||
Object "TitleStr"
|
||||
{
|
||||
align_x center
|
||||
y $TITLE_STR_Y
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_Credits
|
||||
}
|
||||
}
|
||||
|
||||
Object "Main Menu Option"
|
||||
{
|
||||
align_x center
|
||||
y 450
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_MAIN_MENU
|
||||
}
|
||||
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Main Menu Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time 32
|
||||
EvComm {
|
||||
smooth_obj "Main Menu Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Main Menu Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Object "SiteLink" {
|
||||
align_x center
|
||||
align_y center
|
||||
align_y_offs { -10 + $LOGO_DY }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string "kranx.com"
|
||||
}
|
||||
}
|
||||
|
||||
#define LOGO_OBJ_ID "Logo0"
|
||||
#define CREDITS_SCR_ID "Credits0"
|
||||
Object "Logo0" {
|
||||
align_x center
|
||||
align_y center
|
||||
/*align_y_offs { 100 - $LOGO_DY }*/
|
||||
align_y_offs { -50 - $LOGO_DY }
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
/*bmp_file "resource/iscreen/bitmap/logo0.bmp" */
|
||||
bmp_file "resource/iscreen/bitmap/kranx_logo.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
|
||||
/*Object "NewCredits"
|
||||
{
|
||||
align_x center
|
||||
y 400
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string "Re-release credits"
|
||||
}
|
||||
|
||||
Event {
|
||||
if_selected
|
||||
key $VK_LBUTTON
|
||||
key $VK_RETURN
|
||||
key $VK_SPACE
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "NewCredits"
|
||||
|
||||
start_time 0
|
||||
time $PRESS_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Controls screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
|
||||
Event {
|
||||
if_not_selected
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $PRESS_OBJ_TIME + $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
jump_obj "NewCredits"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
smooth_obj "NewCredits" 4
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "NewCredits"
|
||||
start_time { $PRESS_OBJ_TIME + $SMOOTH_OBJ_TIME }
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
low_obj "SELECTED_OBJ"
|
||||
start_time 0
|
||||
time $PRESS_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
rise_obj "NewCredits"
|
||||
start_time 0
|
||||
time $PRESS_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Controls screen"
|
||||
start_time { $PRESS_OBJ_TIME + $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
|
||||
#define OBJ1 "SELECTED_OBJ"
|
||||
#define OBJ2 "NewCredits"
|
||||
Event {
|
||||
if_not_selected
|
||||
key $VK_LBUTTON
|
||||
key $VK_MOVE
|
||||
|
||||
$EV_CHANGE_OBJ
|
||||
}
|
||||
}*/
|
||||
|
||||
/*#define LOGO_OBJ_ID "Logo1"
|
||||
#define CREDITS_SCR_ID "Credits1"
|
||||
Object "Logo1" {
|
||||
align_x center
|
||||
align_y center
|
||||
align_y_offs { -10 - $LOGO_DY }
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo1.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
#define LOGO_OBJ_ID "Logo2"
|
||||
#define CREDITS_SCR_ID "Credits2"
|
||||
Object "Logo2" {
|
||||
align_x center
|
||||
align_y center
|
||||
align_y_offs { -100 - $LOGO_DY }
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo2.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}*/
|
||||
}
|
||||
|
||||
#define LOGO_EV Event { \
|
||||
key $VK_LBUTTON \
|
||||
\
|
||||
time { $PRESS_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
scale_obj $LOGO_OBJ_ID -200 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 2 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $LOGO_OBJ_ID \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_RBUTTON \
|
||||
\
|
||||
time { $SMOOTH_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 3 \
|
||||
start_time 0 \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $SMOOTH_OBJ_TIME \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
}
|
||||
|
||||
/*#include "iscreen/scripts/cr1.inc"
|
||||
#include "iscreen/scripts/cr2.inc"*/
|
||||
#include "iscreen/scripts/cr0.inc"
|
||||
213
data/iscreen/scripts/cr_main2.inc
Normal file
213
data/iscreen/scripts/cr_main2.inc
Normal file
@@ -0,0 +1,213 @@
|
||||
|
||||
#define LOGO_EV Event { \
|
||||
key $VK_LBUTTON \
|
||||
\
|
||||
time { $PRESS_OBJ_TIME * 2 + $MOVE2SCREEN_TIME + 1 } \
|
||||
EvComm { \
|
||||
scale_obj $LOGO_OBJ_ID -200 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 2 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $LOGO_OBJ_ID \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
move2screen $CREDITS_SCR_ID \
|
||||
start_time { $PRESS_OBJ_TIME * 2 } \
|
||||
time $MOVE2SCREEN_TIME \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_RBUTTON \
|
||||
\
|
||||
time { $SMOOTH_OBJ_TIME * 2 + $MOVE2SCREEN_TIME + 1 } \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 3 \
|
||||
start_time 0 \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $SMOOTH_OBJ_TIME \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
move2screen $CREDITS_SCR_ID \
|
||||
start_time { $SMOOTH_OBJ_TIME * 2 } \
|
||||
time $MOVE2SCREEN_TIME \
|
||||
} \
|
||||
}
|
||||
|
||||
Screen "Credits screen"
|
||||
{
|
||||
screen_offs 800
|
||||
|
||||
default_obj "Logo0"
|
||||
|
||||
Object "TitleStr"
|
||||
{
|
||||
align_x center
|
||||
y $TITLE_STR_Y
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_Credits
|
||||
}
|
||||
}
|
||||
|
||||
Object "Main Menu Option"
|
||||
{
|
||||
align_x center
|
||||
y 450
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_MAIN_MENU
|
||||
}
|
||||
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Main Menu Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time 32
|
||||
EvComm {
|
||||
smooth_obj "Main Menu Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Main Menu Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#define LOGO_OBJ_ID "Logo0"
|
||||
#define CREDITS_SCR_ID "Credits0"
|
||||
Object "Logo0" {
|
||||
align_x center
|
||||
align_y center
|
||||
align_y_offs { 50 - $LOGO_DY }
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo0.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
#define LOGO_OBJ_ID "Logo1"
|
||||
#define CREDITS_SCR_ID "Credits1"
|
||||
Object "Logo1" {
|
||||
align_x center
|
||||
align_y center
|
||||
align_y_offs { -60 - $LOGO_DY }
|
||||
|
||||
Element BITMAP {
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_null_level 148
|
||||
null_level 128
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/logo1.bmp"
|
||||
}
|
||||
$LOGO_EV
|
||||
}
|
||||
}
|
||||
|
||||
#define LOGO_EV Event { \
|
||||
key $VK_LBUTTON \
|
||||
\
|
||||
time { $PRESS_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
scale_obj $LOGO_OBJ_ID -200 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 2 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $LOGO_OBJ_ID \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_RBUTTON \
|
||||
\
|
||||
time { $SMOOTH_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 3 \
|
||||
start_time 0 \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO_OBJ_ID 0 \
|
||||
start_time $SMOOTH_OBJ_TIME \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
}
|
||||
|
||||
#include "iscreen/scripts/cr1.inc"
|
||||
#include "iscreen/scripts/cr0.inc"
|
||||
|
||||
35
data/iscreen/scripts/escave/bt00.inc
Normal file
35
data/iscreen/scripts/escave/bt00.inc
Normal file
@@ -0,0 +1,35 @@
|
||||
#define BUTTON_NAME "Button00"
|
||||
Object "Button00" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT00_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BT00_NULL
|
||||
|
||||
bmp_file $BT00_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
// key $VK_S
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
EvComm {
|
||||
ext_event $iEXT_SAVE_GAME 0
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT00_TEXT
|
||||
}
|
||||
|
||||
37
data/iscreen/scripts/escave/bt01.inc
Normal file
37
data/iscreen/scripts/escave/bt01.inc
Normal file
@@ -0,0 +1,37 @@
|
||||
#define BUTTON_NAME "Button01"
|
||||
Object "Button01" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT01_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level 185
|
||||
|
||||
bmp_file $BT01_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_UP
|
||||
|
||||
scancode $AML_FORCED_EXIT_CODE
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
|
||||
EvComm {
|
||||
exit 1
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
}
|
||||
prompt_text $BT01_TEXT
|
||||
}
|
||||
|
||||
39
data/iscreen/scripts/escave/bt02.inc
Normal file
39
data/iscreen/scripts/escave/bt02.inc
Normal file
@@ -0,0 +1,39 @@
|
||||
#define BUTTON_NAME "Button02"
|
||||
Object "Button02" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT02_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BT02_NULL
|
||||
|
||||
bmp_file $BT02_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_DOWN
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_NEXT_PHRASE
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_START_SPEECH
|
||||
start_time 1
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT02_TEXT
|
||||
}
|
||||
|
||||
34
data/iscreen/scripts/escave/bt03.inc
Normal file
34
data/iscreen/scripts/escave/bt03.inc
Normal file
@@ -0,0 +1,34 @@
|
||||
#define BUTTON_NAME "Button03"
|
||||
Object "Button03" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT03_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
bmp_file $BT03_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_LEFT
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_SHOW_QUESTS
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT03_TEXT
|
||||
}
|
||||
|
||||
87
data/iscreen/scripts/escave/bt04.inc
Normal file
87
data/iscreen/scripts/escave/bt04.inc
Normal file
@@ -0,0 +1,87 @@
|
||||
#define BUTTON_NAME "Button04"
|
||||
Object "Button04" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT04_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BT04_BMP_NULL
|
||||
null_level $BT04_NULL
|
||||
|
||||
bmp_file $BT04_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_RETURN
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
if_locked
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_GET_BLOCK_PHRASE
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_START_SPEECH
|
||||
start_time 1
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -180
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_RIGHT
|
||||
|
||||
scancode $AML_ELEECH_CODE
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 15 + 10 + 1 }
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -180
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_PAUSE_AML
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME - 1 }
|
||||
}
|
||||
|
||||
EvComm {
|
||||
scale_obj "SELECTED_OBJ" 256
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 10 }
|
||||
time 15
|
||||
}
|
||||
EvComm {
|
||||
move2screen $LSCREEN_SHOP_ID
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
time 10
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME - 1 }
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_AVI_OBJECT
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME - 2 }
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_ACTIVATE_IINV
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME - 1 }
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_REDRAW
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
}
|
||||
prompt_text $BT04_TEXT
|
||||
}
|
||||
|
||||
38
data/iscreen/scripts/escave/bt05.inc
Normal file
38
data/iscreen/scripts/escave/bt05.inc
Normal file
@@ -0,0 +1,38 @@
|
||||
#define BUTTON_NAME "Button05"
|
||||
Object "Button05" {
|
||||
|
||||
no_fon
|
||||
|
||||
$BT05_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
bmp_file $BT05_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_RETURN
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_ASK_QUEST
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_START_SPEECH
|
||||
start_time 1
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -180
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT05_TEXT
|
||||
}
|
||||
|
||||
118
data/iscreen/scripts/escave/bt06.inc
Normal file
118
data/iscreen/scripts/escave/bt06.inc
Normal file
@@ -0,0 +1,118 @@
|
||||
#define BUTTON_NAME "Button06"
|
||||
Object "Button06" {
|
||||
|
||||
$BT06_COORDS
|
||||
|
||||
shadow_size 28
|
||||
|
||||
Element BITMAP {
|
||||
id "Button06el"
|
||||
|
||||
bmp_null_level 200
|
||||
null_level 200
|
||||
|
||||
scale_null
|
||||
|
||||
bmp_file $BT06_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_1
|
||||
key $VK_F1
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
multi_event
|
||||
|
||||
EvComm {
|
||||
set_event_line $WEAPONS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $WEAPONS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $WEAPONS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $WEAPONS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $WEAPONS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time 1
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 1
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_WEAPONS
|
||||
time 1
|
||||
start_time 1
|
||||
}
|
||||
#define BUTTON_SCALE_STRENGTH 150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT06_TEXT
|
||||
}
|
||||
|
||||
118
data/iscreen/scripts/escave/bt07.inc
Normal file
118
data/iscreen/scripts/escave/bt07.inc
Normal file
@@ -0,0 +1,118 @@
|
||||
#define BUTTON_NAME "Button07"
|
||||
Object "Button07" {
|
||||
|
||||
$BT07_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "Button07el"
|
||||
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
scale_null
|
||||
|
||||
bmp_file $BT07_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_2
|
||||
key $VK_F2
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
multi_event
|
||||
|
||||
EvComm {
|
||||
set_event_line $MECHOS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $MECHOS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $MECHOS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $MECHOS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $MECHOS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time 1
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 1
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_MECHOS
|
||||
time 1
|
||||
start_time 1
|
||||
}
|
||||
#define BUTTON_SCALE_STRENGTH 150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT07_TEXT
|
||||
}
|
||||
|
||||
120
data/iscreen/scripts/escave/bt08.inc
Normal file
120
data/iscreen/scripts/escave/bt08.inc
Normal file
@@ -0,0 +1,120 @@
|
||||
#define BUTTON_NAME "Button08"
|
||||
Object "Button08" {
|
||||
|
||||
$BT08_COORDS
|
||||
|
||||
shadow_size 5
|
||||
|
||||
Element BITMAP {
|
||||
id "Button08el"
|
||||
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
scale_null
|
||||
|
||||
bmp_file $BT08_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_3
|
||||
key $VK_F3
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
multi_event
|
||||
|
||||
EvComm {
|
||||
set_event_line $ITEMS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $ITEMS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $ITEMS_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $ITEMS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
set_event_line $ITEMS_LIST_MODE
|
||||
start_time 0
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_LIST
|
||||
start_time 1
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 1
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_ITEMS
|
||||
time 1
|
||||
start_time 1
|
||||
}
|
||||
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH 150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT08_TEXT
|
||||
}
|
||||
|
||||
65
data/iscreen/scripts/escave/bt09.inc
Normal file
65
data/iscreen/scripts/escave/bt09.inc
Normal file
@@ -0,0 +1,65 @@
|
||||
#define BUTTON_NAME "Button09"
|
||||
Object "Button09" {
|
||||
|
||||
$BT09_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level 180
|
||||
|
||||
bmp_file $BT09_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_ESCAPE
|
||||
key $VK_TAB
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 10 + 2 }
|
||||
|
||||
multi_event
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -50
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_RESUME_AML
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 10 + 1 }
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_DEACTIVATE_IINV
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME - 1 }
|
||||
}
|
||||
EvComm {
|
||||
move2screen $LSCREEN_ID
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
time 10
|
||||
}
|
||||
}
|
||||
prompt_text $BT09_TEXT
|
||||
}
|
||||
|
||||
80
data/iscreen/scripts/escave/bt10.inc
Normal file
80
data/iscreen/scripts/escave/bt10.inc
Normal file
@@ -0,0 +1,80 @@
|
||||
#define BUTTON_NAME "Button10"
|
||||
Object "Button10" {
|
||||
|
||||
$BT10_COORDS
|
||||
|
||||
shadow_size 6
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BT10_BMP_NULL
|
||||
null_level $BT10_NULL
|
||||
|
||||
scale_null
|
||||
bmp_file $BT10_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
key $VK_LEFT
|
||||
|
||||
multi_event
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_PREV_SHOP_AVI
|
||||
start_time $AVI_HIDE_SPEED
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH $BT10_SCALE
|
||||
#define BUTTON_SMOOTH_INDEX $BT10_SMOOTH
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT10_TEXT
|
||||
}
|
||||
|
||||
|
||||
60
data/iscreen/scripts/escave/bt11.inc
Normal file
60
data/iscreen/scripts/escave/bt11.inc
Normal file
@@ -0,0 +1,60 @@
|
||||
#define BUTTON_NAME "Button11"
|
||||
Object "Button11" {
|
||||
|
||||
$BT11_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "Button11el"
|
||||
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
scale_null
|
||||
bmp_file $BT11_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
key $VK_RETURN
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
|
||||
multi_event
|
||||
|
||||
EvComm {
|
||||
end_event
|
||||
start_time 0
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
change_trigger "Avi00"
|
||||
start_time 1
|
||||
|
||||
time { $AVI_HIDE_SPEED - 1 }
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_ACTIVATE_SHOP_MENU
|
||||
start_time 1
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
|
||||
#define BUTTON_PRESS_START 1
|
||||
#define BUTTON_PRESS_TIME 6
|
||||
#define BUTTON_SCALE_STRENGTH 128
|
||||
#define BUTTON_SMOOTH_INDEX 1
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_PRESS_START 0
|
||||
#define BUTTON_PRESS_TIME 7
|
||||
}
|
||||
prompt_text $BT11_TEXT
|
||||
}
|
||||
|
||||
|
||||
79
data/iscreen/scripts/escave/bt12.inc
Normal file
79
data/iscreen/scripts/escave/bt12.inc
Normal file
@@ -0,0 +1,79 @@
|
||||
#define BUTTON_NAME "Button12"
|
||||
Object "Button12" {
|
||||
|
||||
$BT12_COORDS
|
||||
|
||||
shadow_size 5
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BT12_BMP_NULL
|
||||
null_level $BT12_NULL
|
||||
|
||||
scale_null
|
||||
bmp_file $BT12_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
key $VK_RIGHT
|
||||
|
||||
multi_event
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_NEXT_SHOP_AVI
|
||||
start_time $AVI_HIDE_SPEED
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH $BT12_SCALE
|
||||
#define BUTTON_SMOOTH_INDEX $BT12_SMOOTH
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT12_TEXT
|
||||
}
|
||||
|
||||
50
data/iscreen/scripts/escave/bt13.inc
Normal file
50
data/iscreen/scripts/escave/bt13.inc
Normal file
@@ -0,0 +1,50 @@
|
||||
#define BUTTON_NAME "Button13"
|
||||
Object "Button13" {
|
||||
|
||||
$BT13_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
bmp_file $BT13_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + $AVI_HIDE_SPEED + 8 }
|
||||
EvComm {
|
||||
hide_obj "MechNameObj"
|
||||
start_time 0
|
||||
time 10
|
||||
}
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_CANCEL_MATRIX
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
|
||||
EvComm {
|
||||
move_screen -400
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 5
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 7 }
|
||||
time $AVI_HIDE_SPEED
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT13_TEXT
|
||||
}
|
||||
|
||||
30
data/iscreen/scripts/escave/bt14.inc
Normal file
30
data/iscreen/scripts/escave/bt14.inc
Normal file
@@ -0,0 +1,30 @@
|
||||
#define BUTTON_NAME "Button14"
|
||||
Object "Button14" {
|
||||
|
||||
$BT14_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
bmp_file $BT14_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
EvComm {
|
||||
send2actint $EV_AUTO_MOVE_ITEMS
|
||||
start_time $BUTTON_UNPRESS_START
|
||||
}
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
}
|
||||
prompt_text $BT14_TEXT
|
||||
}
|
||||
|
||||
63
data/iscreen/scripts/escave/bt15.inc
Normal file
63
data/iscreen/scripts/escave/bt15.inc
Normal file
@@ -0,0 +1,63 @@
|
||||
#define BUTTON_NAME "Button15"
|
||||
Object "Button15" {
|
||||
|
||||
$BT15_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $BUTTON_BMP_NULL
|
||||
null_level $BUTTON_NULL
|
||||
|
||||
bmp_file $BT15_BMP
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
key $VK_LBUTTON
|
||||
|
||||
#define BUTTON_PRESS_START 1
|
||||
#define BUTTON_UNPRESS_START 8
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + $AVI_HIDE_SPEED + 7 }
|
||||
|
||||
EvComm {
|
||||
check_credits
|
||||
start_time 0
|
||||
}
|
||||
|
||||
EvComm {
|
||||
hide_obj "MechNameObj"
|
||||
start_time 1
|
||||
time 5
|
||||
}
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_DEACTIVATE_MATRIX
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
|
||||
EvComm {
|
||||
move_screen -400
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 5
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 6 }
|
||||
time $AVI_HIDE_SPEED
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
|
||||
#define BUTTON_PRESS_START 0
|
||||
#define BUTTON_UNPRESS_START 7
|
||||
}
|
||||
prompt_text $BT15_TEXT
|
||||
prompt_id $ACI_BT15_PROMPT
|
||||
}
|
||||
|
||||
20
data/iscreen/scripts/escave/escave00.inc
Normal file
20
data/iscreen/scripts/escave/escave00.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
/* ---------------------------- LOCATION SECTION ---------------------------- */
|
||||
|
||||
#include "iscreen/scripts/buttons.inc"
|
||||
#include "iscreen/scripts/tutorial.inc"
|
||||
|
||||
Screen $LSCREEN_ID
|
||||
{
|
||||
screen_offs 0
|
||||
|
||||
pal_file $LPALETTE_ID
|
||||
default_obj "Button01"
|
||||
/*
|
||||
Event {
|
||||
key $VK_ESCAPE
|
||||
EvComm {
|
||||
exit 0
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
59
data/iscreen/scripts/escave/escave01.inc
Normal file
59
data/iscreen/scripts/escave/escave01.inc
Normal file
@@ -0,0 +1,59 @@
|
||||
|
||||
Object "QuestPanel"{
|
||||
|
||||
no_fon
|
||||
|
||||
$PANELQ_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "QuestPanelBMP"
|
||||
null_level 300
|
||||
|
||||
$PANELQ_SIZE
|
||||
|
||||
hidden_fon
|
||||
|
||||
picture
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
|
||||
Object "TimePanel"{
|
||||
|
||||
no_fon
|
||||
|
||||
$PANELTM_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "TimePanelBMP"
|
||||
null_level 300
|
||||
|
||||
$PANELTM_SIZE
|
||||
|
||||
hidden_fon
|
||||
|
||||
picture
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
|
||||
Object "AnswerPanel"{
|
||||
|
||||
no_fon
|
||||
|
||||
$PANELANSW_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "AnswerPanelBMP"
|
||||
null_level 300
|
||||
|
||||
$PANELANSW_SIZE
|
||||
|
||||
hidden_fon
|
||||
|
||||
picture
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
8
data/iscreen/scripts/escave/escave02.inc
Normal file
8
data/iscreen/scripts/escave/escave02.inc
Normal file
@@ -0,0 +1,8 @@
|
||||
Screen $LSCREEN_SHOP_ID
|
||||
{
|
||||
screen_offs 800
|
||||
|
||||
default_obj "Avi00"
|
||||
|
||||
|
||||
|
||||
500
data/iscreen/scripts/escave/escave03.inc
Normal file
500
data/iscreen/scripts/escave/escave03.inc
Normal file
@@ -0,0 +1,500 @@
|
||||
Object "PricePanel"{
|
||||
|
||||
$PANELPRICE_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "PricePanelBMP"
|
||||
null_level 10
|
||||
|
||||
$PANELPRICE_SIZE
|
||||
|
||||
picture
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
|
||||
Object "InfoPanel"{
|
||||
|
||||
$PANELINFO_COORDS
|
||||
|
||||
Element BITMAP {
|
||||
id "InfoPanelBMP"
|
||||
null_level 2
|
||||
|
||||
$PANELINFO_SIZE
|
||||
|
||||
picture
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
|
||||
Trigger "TRIG00" {
|
||||
align_x left
|
||||
align_y up
|
||||
|
||||
align_x_offs 180
|
||||
align_y_offs 100
|
||||
|
||||
num_state 3
|
||||
|
||||
null_level 20
|
||||
|
||||
State 2 "S_STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
string "MECHOS"
|
||||
}
|
||||
State 1 "S_STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
string "ITEMS"
|
||||
}
|
||||
State 0 "S_STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
string "WEAPONS"
|
||||
}
|
||||
}
|
||||
|
||||
Object "Matrix00" {
|
||||
x 458
|
||||
y 52
|
||||
|
||||
Element BITMAP {
|
||||
id "MatrixBorder"
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $MATRIX_TERRAIN
|
||||
|
||||
null_level 200
|
||||
|
||||
bmp_file "resource/actint/iscreen/matrix/mt00.bmp"
|
||||
}
|
||||
}
|
||||
|
||||
Object "Matrix01" {
|
||||
x 858
|
||||
y 52
|
||||
|
||||
Element BITMAP {
|
||||
id "sMatrixBorder"
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $MATRIX_TERRAIN
|
||||
|
||||
null_level 200
|
||||
|
||||
bmp_file "resource/actint/iscreen/matrix/mt00.bmp"
|
||||
}
|
||||
}
|
||||
|
||||
Trigger "Avi00" {
|
||||
x $AVI_OBJ_X
|
||||
y $AVI_OBJ_Y
|
||||
|
||||
num_state 2
|
||||
|
||||
prompt_text $AVI_TEXT
|
||||
prompt_id $ACI_AVI_PROMPT1
|
||||
|
||||
State 0 AVI "AVI Element" {
|
||||
null_level 83
|
||||
avi_file "mech00.avi"
|
||||
ibs_file $LBORDER_ID
|
||||
}
|
||||
State 1 BITMAP {
|
||||
null_level 11
|
||||
|
||||
$PANELITEMS_SIZE
|
||||
|
||||
id "ItemsMenuBMP"
|
||||
|
||||
picture
|
||||
// no_scale
|
||||
|
||||
bmp_file NONE
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $AVI_HIDE_SPEED * 2 + 2 }
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_CHANGE_AVI_INDEX
|
||||
start_time $AVI_HIDE_SPEED
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
|
||||
multi_event
|
||||
|
||||
time 30
|
||||
|
||||
// Change modes...
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_WEAPONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED * 2 + 1 }
|
||||
|
||||
event_line $CHANGE_2_WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED * 2 }
|
||||
|
||||
event_line $CHANGE_2_WEAPONS_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_MECHOS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED * 2 + 1 }
|
||||
|
||||
event_line $CHANGE_2_MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED * 2 }
|
||||
|
||||
event_line $CHANGE_2_MECHOS_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
set_trigger "TRIG00" $TRG_ITEMS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $CHANGE_2_ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $CHANGE_2_ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED * 2 }
|
||||
|
||||
event_line $CHANGE_2_ITEMS_MODE
|
||||
}
|
||||
|
||||
// MECHOS_LIST_MODE event...
|
||||
EvComm {
|
||||
send2actint $EV_CHOOSE_SHOP_ITEM
|
||||
start_time 0
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
change_trigger "Avi00"
|
||||
start_time 1
|
||||
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED + 2 }
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $MECHOS_LIST_MODE
|
||||
}
|
||||
|
||||
// ITEMS_LIST_MODE event...
|
||||
EvComm {
|
||||
send2actint $EV_CHOOSE_SHOP_ITEM
|
||||
start_time 0
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
change_trigger "Avi00"
|
||||
start_time 1
|
||||
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED + 2 }
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $ITEMS_LIST_MODE
|
||||
}
|
||||
|
||||
// WEAPONS_LIST_MODE event...
|
||||
EvComm {
|
||||
send2actint $EV_CHOOSE_SHOP_ITEM
|
||||
start_time 0
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
change_trigger "Avi00"
|
||||
start_time 1
|
||||
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
exit_event
|
||||
start_time { $AVI_HIDE_SPEED + 2 }
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
|
||||
event_line $WEAPONS_LIST_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_INIT_BUTTONS
|
||||
start_time { $AVI_HIDE_SPEED * 2 }
|
||||
}
|
||||
|
||||
// EMPTY_MODE event...
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_BUY_ITEM
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
EvComm {
|
||||
end_event
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 2 }
|
||||
|
||||
event_line $EMPTY_MODE
|
||||
}
|
||||
|
||||
// ITEMS_MODE event...
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time 5
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_BUY_ITEM
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
EvComm {
|
||||
end_event
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 2 }
|
||||
|
||||
event_line $ITEMS_MODE
|
||||
}
|
||||
|
||||
// WEAPONS_MODE event...
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "Avi00" 256
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_BUY_ITEM
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
EvComm {
|
||||
end_event
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 2 }
|
||||
|
||||
event_line $WEAPONS_MODE
|
||||
}
|
||||
|
||||
// MEHOS_MODE event...
|
||||
EvComm {
|
||||
hide_obj "Avi00"
|
||||
start_time 0
|
||||
time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_SELL_MOVE_ITEM
|
||||
start_time $AVI_HIDE_SPEED
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_SET_MECH_NAME
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 2 }
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
scale_obj "MechNameObj" 256
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 3 }
|
||||
time 5
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "MechNameObj"
|
||||
start_time 1
|
||||
time 1
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
move_screen 400
|
||||
start_time { $AVI_HIDE_SPEED + 1 }
|
||||
time 5
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
|
||||
EvComm {
|
||||
send2actint $EV_ACTIVATE_MATRIX
|
||||
start_time { $AVI_HIDE_SPEED + 1 + 5 + 1 }
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
send2actint $EV_REDRAW
|
||||
start_time { $AVI_HIDE_SPEED + 1 + 5 + 2 }
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
EvComm {
|
||||
end_event
|
||||
start_time { $AVI_HIDE_SPEED + $AVI_HIDE_SPEED + 9 }
|
||||
|
||||
event_line $MECHOS_MODE
|
||||
}
|
||||
|
||||
// EvComm {
|
||||
// check_credits
|
||||
// start_time 0
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Object "MechNameObj" {
|
||||
align_x center
|
||||
align_x_offs 630
|
||||
y 10
|
||||
|
||||
Element "STRING"{
|
||||
id "MechNameStr"
|
||||
null_level 200
|
||||
|
||||
terrain_num 3
|
||||
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
font 3
|
||||
space 1
|
||||
|
||||
string "XXXXXXXXXXXXXXXXXXXXXXXXX"
|
||||
}
|
||||
}
|
||||
|
||||
Object "CreditsObj" {
|
||||
|
||||
$PANELCREDITS_COORDS
|
||||
|
||||
Element "BITMAP"{
|
||||
id "CreditsBMP"
|
||||
null_level 200
|
||||
|
||||
$PANELCREDITS_SIZE
|
||||
|
||||
picture
|
||||
|
||||
bmp_file NONE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------ END OF LOCATION SECTION ------------------------- */
|
||||
|
||||
32
data/iscreen/scripts/gameobj.inc
Normal file
32
data/iscreen/scripts/gameobj.inc
Normal file
@@ -0,0 +1,32 @@
|
||||
Object $GAME_OBJ_NAME {
|
||||
$GAME_OBJECT
|
||||
#define OBJ1 "SELECTED_OBJ"
|
||||
#define OBJ2 $GAME_OBJ_NAME
|
||||
Event {
|
||||
if_not_selected
|
||||
key $VK_LBUTTON
|
||||
key $VK_MOVE
|
||||
|
||||
$EV_CHANGE_OBJ
|
||||
}
|
||||
|
||||
#define OBJ1 $GAME_OBJ_NAME
|
||||
#define OBJ2 $GAME_OBJ_NEXT
|
||||
Event {
|
||||
if_selected
|
||||
key $VK_DOWN
|
||||
key $VK_TAB
|
||||
|
||||
$EV_CHANGE_OBJ
|
||||
}
|
||||
|
||||
#define OBJ1 $GAME_OBJ_NAME
|
||||
#define OBJ2 $GAME_OBJ_PREV
|
||||
Event {
|
||||
if_selected
|
||||
key $VK_UP
|
||||
|
||||
$EV_CHANGE_OBJ
|
||||
}
|
||||
}
|
||||
|
||||
475
data/iscreen/scripts/gamescr.inc
Normal file
475
data/iscreen/scripts/gamescr.inc
Normal file
@@ -0,0 +1,475 @@
|
||||
|
||||
#define GAMESCR_BACK_OFFS 70
|
||||
#define GAMESCR_BACK_Y 410
|
||||
|
||||
|
||||
screen_offs 800
|
||||
default_obj "Back Option"
|
||||
|
||||
Object "TitleStr"
|
||||
{
|
||||
align_x center
|
||||
y $TITLE_STR_Y
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_GAME_PARAMETERS
|
||||
}
|
||||
}
|
||||
|
||||
Object "Back Option"
|
||||
{
|
||||
x $Game_Params_0_Back_Option_PosX
|
||||
y $GAMESCR_BACK_Y
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_CANCEL
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_ESCAPE
|
||||
|
||||
multi_event
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Back Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Select Game"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 4
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Info screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 3
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
multi_event
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Back Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Back Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Select Game"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 4
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Info screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 3
|
||||
}
|
||||
}
|
||||
}
|
||||
Object "Ok Option"
|
||||
{
|
||||
x $Game_Params_0_Ok_Option_PosX
|
||||
y $GAMESCR_BACK_Y
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_OK
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RETURN
|
||||
|
||||
multi_event
|
||||
|
||||
time { $PRESS_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
low_obj "Ok Option"
|
||||
time $PRESS_OBJ_TIME
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Config screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 4
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Info screen"
|
||||
start_time $PRESS_OBJ_TIME
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 3
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
multi_event
|
||||
|
||||
time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME + $MOVE2SCREEN_TIME + 1 }
|
||||
EvComm {
|
||||
smooth_obj "Ok Option" 2
|
||||
start_time 0
|
||||
time $SMOOTH_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
hide_obj "Ok Option"
|
||||
start_time $SMOOTH_OBJ_TIME
|
||||
time $HIDE_OBJ_TIME
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Config screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 4
|
||||
}
|
||||
EvComm {
|
||||
move2screen "Server Info screen"
|
||||
start_time { $SMOOTH_OBJ_TIME + $HIDE_OBJ_TIME }
|
||||
time $MOVE2SCREEN_TIME
|
||||
|
||||
event_line 3
|
||||
}
|
||||
}
|
||||
}
|
||||
Object "CashStr"
|
||||
{
|
||||
x $Game_Params_0_CashStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 0 }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_Initial_Cash
|
||||
}
|
||||
}
|
||||
Object "BeebosStr"
|
||||
{
|
||||
x $Game_Params_0_BeebosStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 0 }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string "$"
|
||||
}
|
||||
}
|
||||
Object "BeebosNumberStr"
|
||||
{
|
||||
x $Game_Params_0_BeebosNumberStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 0 }
|
||||
|
||||
not_unlock
|
||||
|
||||
Element STRING {
|
||||
id "BeebosNumberID"
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
number_text
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string "100000"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
|
||||
time 2
|
||||
EvComm {
|
||||
input_string "BeebosNumberID" 7
|
||||
time 2
|
||||
}
|
||||
}
|
||||
}
|
||||
Object "ArtefactsStr"
|
||||
{
|
||||
x $Game_Params_0_ArtefactsStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 1 }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_Artefacts_Using
|
||||
}
|
||||
}
|
||||
Trigger "ArtefactsTrig"
|
||||
{
|
||||
x $Game_Params_0_ArtefactsTrig_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 1 }
|
||||
|
||||
not_unlock
|
||||
|
||||
num_state 2
|
||||
|
||||
State 1 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string $iSTR_YES
|
||||
}
|
||||
State 0 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string $iSTR_NO
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $TRIGGER_TIME + 1 }
|
||||
EvComm {
|
||||
change_trigger "ArtefactsTrig"
|
||||
time $TRIGGER_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Trigger "TimeTrig"
|
||||
{
|
||||
x $Game_Params_0_TimeTrig_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 2 }
|
||||
|
||||
num_state 10
|
||||
|
||||
not_unlock
|
||||
|
||||
State 0 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "1"
|
||||
}
|
||||
State 1 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "2"
|
||||
}
|
||||
State 2 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "3"
|
||||
}
|
||||
State 3 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "4"
|
||||
}
|
||||
State 4 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "5"
|
||||
}
|
||||
State 5 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "6"
|
||||
}
|
||||
State 6 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "7"
|
||||
}
|
||||
State 7 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "8"
|
||||
}
|
||||
State 8 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "9"
|
||||
}
|
||||
State 9 "STRING"{
|
||||
align_x center
|
||||
align_y center
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "10"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
|
||||
time { $TRIGGER_TIME + 1 }
|
||||
EvComm {
|
||||
change_trigger "TimeTrig"
|
||||
time $TRIGGER_TIME
|
||||
}
|
||||
}
|
||||
Event {
|
||||
key $VK_RBUTTON
|
||||
|
||||
time { $TRIGGER_TIME + 1 }
|
||||
EvComm {
|
||||
prev_trigger "TimeTrig"
|
||||
time $TRIGGER_TIME
|
||||
}
|
||||
}
|
||||
}
|
||||
Object "EscaveTimeStr"
|
||||
{
|
||||
x $Game_Params_0_EscaveTimeStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 2 }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_In_Escave_Time
|
||||
}
|
||||
}
|
||||
Object "EscaveMinStr"
|
||||
{
|
||||
x $Game_Params_0_EscaveMinStr_PosX
|
||||
y { $PARAMS_START_Y + $PARAMS_DELTA_Y * 2 }
|
||||
|
||||
Element STRING {
|
||||
align_x center
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
space $PARAMS_SPACE
|
||||
font $PARAM_FNT
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_min
|
||||
}
|
||||
}
|
||||
|
||||
170
data/iscreen/scripts/i_chat.inc
Normal file
170
data/iscreen/scripts/i_chat.inc
Normal file
@@ -0,0 +1,170 @@
|
||||
|
||||
#define iCHAT_LEVEL -40
|
||||
#define iCHAT_SCALE 128
|
||||
|
||||
|
||||
ScaledTerrain { // Chat players block
|
||||
x 542
|
||||
y 257
|
||||
|
||||
size_x 176
|
||||
size_y 206
|
||||
|
||||
// x 545
|
||||
// y 260
|
||||
|
||||
// size_x 170
|
||||
// size_y 200
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat input
|
||||
x 82
|
||||
y 437
|
||||
|
||||
size_x 456
|
||||
size_y 26
|
||||
|
||||
// x 85
|
||||
// y 440
|
||||
|
||||
// size_x 450
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat button "ALL"
|
||||
x 542
|
||||
y 107
|
||||
|
||||
size_x 176
|
||||
size_y 26
|
||||
|
||||
// x 545
|
||||
// y 110
|
||||
|
||||
// size_x 170
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat button "GREEN"
|
||||
x 542
|
||||
y 137
|
||||
|
||||
size_x 176
|
||||
size_y 26
|
||||
|
||||
// x 545
|
||||
// y 140
|
||||
|
||||
// size_x 170
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat button "ORANGE"
|
||||
x 542
|
||||
y 167
|
||||
|
||||
size_x 176
|
||||
size_y 26
|
||||
|
||||
// x 545
|
||||
// y 170
|
||||
|
||||
// size_x 170
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat button "BLUE"
|
||||
x 542
|
||||
y 197
|
||||
|
||||
size_x 176
|
||||
size_y 26
|
||||
|
||||
// x 545
|
||||
// y 200
|
||||
|
||||
// size_x 170
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat button "YELLOW"
|
||||
x 542
|
||||
y 227
|
||||
|
||||
size_x 176
|
||||
size_y 26
|
||||
|
||||
// x 545
|
||||
// y 230
|
||||
|
||||
// size_x 170
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Chat history
|
||||
x 82
|
||||
y 107
|
||||
|
||||
size_x 456
|
||||
size_y 326
|
||||
|
||||
// x 85
|
||||
// y 110
|
||||
|
||||
// size_x 450
|
||||
// size_y 320
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Clear history
|
||||
x { 85 + 143 + 7 }
|
||||
y 77
|
||||
|
||||
size_x 149
|
||||
size_y 26
|
||||
|
||||
// x { 85 + 143 + 10 }
|
||||
// y 80
|
||||
|
||||
// size_x 143
|
||||
// size_y 20
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
ScaledTerrain { // Mute
|
||||
x 82
|
||||
y 77
|
||||
|
||||
size_x 149
|
||||
size_y 26
|
||||
|
||||
null_level $iCHAT_LEVEL
|
||||
scale $iCHAT_SCALE
|
||||
}
|
||||
|
||||
|
||||
71
data/iscreen/scripts/l0.inc
Normal file
71
data/iscreen/scripts/l0.inc
Normal file
@@ -0,0 +1,71 @@
|
||||
|
||||
// Podish...
|
||||
|
||||
#define LSCREEN_ID "LocScreen00"
|
||||
#define LSCREEN_SHOP_ID "LocScreen00Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l0/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l0/border"
|
||||
#define MATRIX_TERRAIN 5
|
||||
|
||||
#define AVI_OBJ_X 61
|
||||
#define AVI_OBJ_Y 147
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l0/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l0/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l0/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l0/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l0/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l0/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l0/buttons/bt06.bmp"
|
||||
#define BT07_BMP "resource/iscreen/ldata/l0/buttons/bt07.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l0/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l0/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l0/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l0/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l0/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l0/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l0/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l0/buttons/bt15.bmp"
|
||||
|
||||
#define BT00_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT00_NULL 180
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 200
|
||||
#define BT02_NULL 150
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn00.inc"
|
||||
#include "iscreen/scripts/pnl00.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt07.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
63
data/iscreen/scripts/l1.inc
Normal file
63
data/iscreen/scripts/l1.inc
Normal file
@@ -0,0 +1,63 @@
|
||||
|
||||
// Incubator...
|
||||
|
||||
#define LSCREEN_ID "LocScreen01"
|
||||
#define LSCREEN_SHOP_ID "LocScreen01Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l1/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l0/border"
|
||||
#define MATRIX_TERRAIN 5
|
||||
|
||||
#define AVI_OBJ_X 61
|
||||
#define AVI_OBJ_Y 147
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l1/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l1/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l1/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l1/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l1/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l1/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l1/buttons/bt06.bmp"
|
||||
#define BT07_BMP "resource/iscreen/ldata/l1/buttons/bt07.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l1/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l1/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l1/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l1/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l1/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l1/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l1/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l1/buttons/bt15.bmp"
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn01.inc"
|
||||
#include "iscreen/scripts/pnl01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
68
data/iscreen/scripts/l2.inc
Normal file
68
data/iscreen/scripts/l2.inc
Normal file
@@ -0,0 +1,68 @@
|
||||
|
||||
// VigBoo...
|
||||
|
||||
#define LSCREEN_ID "LocScreen02"
|
||||
#define LSCREEN_SHOP_ID "LocScreen02Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l2/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l2/border"
|
||||
#define MATRIX_TERRAIN 7
|
||||
|
||||
#define AVI_OBJ_X 58
|
||||
#define AVI_OBJ_Y 143
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l2/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l2/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l2/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l2/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l2/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l2/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l2/buttons/bt06.bmp"
|
||||
#define BT07_BMP "resource/iscreen/ldata/l2/buttons/bt07.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l2/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l2/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l2/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l2/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l2/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l2/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l2/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l2/buttons/bt15.bmp"
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 180
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn02.inc"
|
||||
#include "iscreen/scripts/pnl00.inc"
|
||||
#include "iscreen/scripts/pnl02.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt07.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
65
data/iscreen/scripts/l3.inc
Normal file
65
data/iscreen/scripts/l3.inc
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
// Lampasso...
|
||||
|
||||
#define LSCREEN_ID "LocScreen03"
|
||||
#define LSCREEN_SHOP_ID "LocScreen03Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l3/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l3/border"
|
||||
#define MATRIX_TERRAIN 7
|
||||
|
||||
#define AVI_OBJ_X 57
|
||||
#define AVI_OBJ_Y 144
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l3/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l3/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l3/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l3/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l3/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l3/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l3/buttons/bt06.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l3/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l3/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l3/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l3/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l3/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l3/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l3/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l3/buttons/bt15.bmp"
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 180
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn03.inc"
|
||||
#include "iscreen/scripts/pnl02.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
66
data/iscreen/scripts/l4.inc
Normal file
66
data/iscreen/scripts/l4.inc
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
// Ororod...
|
||||
|
||||
#define LSCREEN_ID "LocScreen04"
|
||||
#define LSCREEN_SHOP_ID "LocScreen04Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l4/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l4/border"
|
||||
#define MATRIX_TERRAIN 7
|
||||
|
||||
#define AVI_OBJ_X 57
|
||||
#define AVI_OBJ_Y 144
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l4/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l4/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l4/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l4/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l4/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l4/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l4/buttons/bt06.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l4/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l4/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l4/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l4/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l4/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l4/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l4/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l4/buttons/bt15.bmp"
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 180
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn04.inc"
|
||||
#include "iscreen/scripts/pnl02.inc"
|
||||
#include "iscreen/scripts/pnl04.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
69
data/iscreen/scripts/l5.inc
Normal file
69
data/iscreen/scripts/l5.inc
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
// ZeePa...
|
||||
|
||||
#define LSCREEN_ID "LocScreen05"
|
||||
#define LSCREEN_SHOP_ID "LocScreen05Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l5/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l5/border"
|
||||
#define MATRIX_TERRAIN 5
|
||||
|
||||
#define AVI_OBJ_X 45
|
||||
#define AVI_OBJ_Y 144
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l5/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l5/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l5/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l5/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l5/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l5/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l5/buttons/bt06.bmp"
|
||||
#define BT07_BMP "resource/iscreen/ldata/l5/buttons/bt07.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l5/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l5/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l5/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l5/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l5/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l5/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l5/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l5/buttons/bt15.bmp"
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 200
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn05.inc"
|
||||
#include "iscreen/scripts/pnl00.inc"
|
||||
#include "iscreen/scripts/pnl06.inc"
|
||||
#include "iscreen/scripts/pnl05.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt07.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
67
data/iscreen/scripts/l6.inc
Normal file
67
data/iscreen/scripts/l6.inc
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
// B-Zone...
|
||||
|
||||
#define LSCREEN_ID "LocScreen06"
|
||||
#define LSCREEN_SHOP_ID "LocScreen06Shop"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l6/escave.pal"
|
||||
#define LBORDER_ID "resource/iscreen/ldata/l6/border"
|
||||
#define MATRIX_TERRAIN 5
|
||||
|
||||
#define AVI_OBJ_X 45
|
||||
#define AVI_OBJ_Y 144
|
||||
|
||||
#define BT00_BMP "resource/iscreen/ldata/l6/buttons/bt00.bmp"
|
||||
#define BT01_BMP "resource/iscreen/ldata/l6/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l6/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l6/buttons/bt03.bmp"
|
||||
#define BT04_BMP "resource/iscreen/ldata/l6/buttons/bt04.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l6/buttons/bt05.bmp"
|
||||
#define BT06_BMP "resource/iscreen/ldata/l6/buttons/bt06.bmp"
|
||||
#define BT08_BMP "resource/iscreen/ldata/l6/buttons/bt08.bmp"
|
||||
#define BT09_BMP "resource/iscreen/ldata/l6/buttons/bt09.bmp"
|
||||
#define BT10_BMP "resource/iscreen/ldata/l6/buttons/bt10.bmp"
|
||||
#define BT11_BMP "resource/iscreen/ldata/l6/buttons/bt11.bmp"
|
||||
#define BT12_BMP "resource/iscreen/ldata/l6/buttons/bt12.bmp"
|
||||
#define BT13_BMP "resource/iscreen/ldata/l6/buttons/bt13.bmp"
|
||||
#define BT14_BMP "resource/iscreen/ldata/l6/buttons/bt14.bmp"
|
||||
#define BT15_BMP "resource/iscreen/ldata/l6/buttons/bt15.bmp"
|
||||
|
||||
|
||||
#define BT04_BMP_NULL $BUTTON_BMP_NULL
|
||||
#define BT04_NULL 200
|
||||
|
||||
#define BT10_SCALE 64
|
||||
#define BT10_SMOOTH 2
|
||||
#define BT10_BMP_NULL 0
|
||||
#define BT10_NULL 128
|
||||
|
||||
#define BT12_SCALE 64
|
||||
#define BT12_SMOOTH 2
|
||||
#define BT12_BMP_NULL 0
|
||||
#define BT12_NULL 128
|
||||
|
||||
#include "iscreen/scripts/btn06.inc"
|
||||
#include "iscreen/scripts/pnl00.inc"
|
||||
#include "iscreen/scripts/pnl06.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#include "iscreen/scripts/escave/bt03.inc"
|
||||
#include "iscreen/scripts/escave/bt04.inc"
|
||||
#include "iscreen/scripts/escave/bt05.inc"
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave02.inc"
|
||||
#include "iscreen/scripts/escave/bt06.inc"
|
||||
#include "iscreen/scripts/escave/bt08.inc"
|
||||
#include "iscreen/scripts/escave/bt09.inc"
|
||||
#include "iscreen/scripts/escave/bt10.inc"
|
||||
#include "iscreen/scripts/escave/bt11.inc"
|
||||
#include "iscreen/scripts/escave/bt12.inc"
|
||||
#include "iscreen/scripts/escave/bt13.inc"
|
||||
#include "iscreen/scripts/escave/bt14.inc"
|
||||
#include "iscreen/scripts/escave/bt15.inc"
|
||||
#include "iscreen/scripts/escave/escave03.inc"
|
||||
|
||||
23
data/iscreen/scripts/l7.inc
Normal file
23
data/iscreen/scripts/l7.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
// Spobs...
|
||||
|
||||
#define LSCREEN_ID "LocScreen07"
|
||||
#define LPALETTE_ID "resource/iscreen/ldata/l7/escave.pal"
|
||||
|
||||
#define BT01_BMP "resource/iscreen/ldata/l7/buttons/bt01.bmp"
|
||||
#define BT02_BMP "resource/iscreen/ldata/l7/buttons/bt02.bmp"
|
||||
#define BT03_BMP "resource/iscreen/ldata/l7/buttons/bt03.bmp"
|
||||
#define BT05_BMP "resource/iscreen/ldata/l7/buttons/bt04.bmp"
|
||||
|
||||
#include "iscreen/scripts/btn07.inc"
|
||||
#include "iscreen/scripts/pnl00.inc"
|
||||
#include "iscreen/scripts/pnl07.inc"
|
||||
|
||||
#include "iscreen/scripts/escave/escave00.inc"
|
||||
#include "iscreen/scripts/escave/bt01.inc"
|
||||
|
||||
#define BT02_NULL 175
|
||||
#include "iscreen/scripts/escave/bt02.inc"
|
||||
#define BT02_NULL 150
|
||||
#include "iscreen/scripts/escave/escave01.inc"
|
||||
|
||||
682
data/iscreen/scripts/main.inc
Normal file
682
data/iscreen/scripts/main.inc
Normal file
@@ -0,0 +1,682 @@
|
||||
|
||||
/* ------------------------- Options Screen Defines ------------------------- */
|
||||
|
||||
#define LANG_Y 150
|
||||
#define LANG_STR_X 100
|
||||
#define LANG_TRG_X 500
|
||||
|
||||
#define MEM_Y 220
|
||||
#define MEM_STR_X 100
|
||||
#define MEM_TRG_X 400
|
||||
|
||||
#define SND_Y 290
|
||||
#define SND_STR_X 50
|
||||
#define SND_TRG_X 550
|
||||
|
||||
#define SND2_Y 360
|
||||
#define SND2_STR_X 70
|
||||
#define SND_SCR_X 470
|
||||
|
||||
#define OK_X 310
|
||||
#define OK_Y 490
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
// Terrains...
|
||||
#define TERRAIN2 2
|
||||
#define TERRAIN3 3
|
||||
#define TERRAIN4 4
|
||||
|
||||
#define DEFAULT_NULL 150
|
||||
|
||||
#define TEXT_BT_NULL 90
|
||||
#define TEXT_BT_NULL_LEV 128
|
||||
|
||||
#define TEXT_BT_Y 380
|
||||
|
||||
#define TEXT_BT_DELTA 100
|
||||
#define TEXT01_PLAY_X 250
|
||||
|
||||
num_fonts 5
|
||||
default_scr "Main Screen"
|
||||
|
||||
#define BUG_OBJ Object $BUG_OBJ_ID { \
|
||||
$BUG_COORDS \
|
||||
shadow_size 15 \
|
||||
\
|
||||
Element BITMAP { \
|
||||
bmp_null_level 0 \
|
||||
null_level 128 \
|
||||
\
|
||||
bmp_file $BUG_OBJ_BMP \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_LBUTTON \
|
||||
\
|
||||
time { $PRESS_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
scale_obj $BUG_OBJ_ID -200 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $BUG_OBJ_ID 2 \
|
||||
start_time 0 \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $BUG_OBJ_ID \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $BUG_OBJ_ID 0 \
|
||||
start_time $PRESS_OBJ_TIME \
|
||||
time $PRESS_OBJ_TIME \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key $VK_RBUTTON \
|
||||
\
|
||||
time { $SMOOTH_OBJ_TIME * 2 + 1 } \
|
||||
EvComm { \
|
||||
smooth_obj $BUG_OBJ_ID 3 \
|
||||
start_time 0 \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $BUG_OBJ_ID 0 \
|
||||
start_time $SMOOTH_OBJ_TIME \
|
||||
time $SMOOTH_OBJ_TIME \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
#define BUG_OBJ_ID "Bug00"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug00.bmp"
|
||||
#define BUG_COORDS $BUG00_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug01"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug01.bmp"
|
||||
#define BUG_COORDS $BUG01_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug02"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug02.bmp"
|
||||
#define BUG_COORDS $BUG02_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug03"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug03.bmp"
|
||||
#define BUG_COORDS $BUG03_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug04"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug04.bmp"
|
||||
#define BUG_COORDS $BUG04_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug05"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug05.bmp"
|
||||
#define BUG_COORDS $BUG05_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug06"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug06.bmp"
|
||||
#define BUG_COORDS $BUG06_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug07"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug07.bmp"
|
||||
#define BUG_COORDS $BUG07_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug08"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug08.bmp"
|
||||
#define BUG_COORDS $BUG08_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug09"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug09.bmp"
|
||||
#define BUG_COORDS $BUG09_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
#define BUG_OBJ_ID "Bug10"
|
||||
#define BUG_OBJ_BMP "resource/iscreen/bitmap/bug10.bmp"
|
||||
#define BUG_COORDS $BUG10_COORDS
|
||||
$BUG_OBJ
|
||||
|
||||
Screen "TextScreen00"
|
||||
{
|
||||
screen_offs 800
|
||||
default_obj "Text00"
|
||||
|
||||
Event {
|
||||
key $VK_ESCAPE
|
||||
|
||||
time 11
|
||||
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time 0
|
||||
time 10
|
||||
}
|
||||
}
|
||||
|
||||
Event {
|
||||
scancode $iTEXT_NEXT_EVENT_CODE0
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
next_text "TextScreen01" 0
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen01"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
}
|
||||
Event {
|
||||
scancode $iTEXT_PREV_EVENT_CODE0
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
prev_text "TextScreen01" 0
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen01"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
}
|
||||
Event {
|
||||
scancode $iTEXT_END_EVENT_CODE0
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
move2screen "LOADING"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
EvComm {
|
||||
exit 1
|
||||
start_time 12
|
||||
}
|
||||
}
|
||||
|
||||
Object "TitleObj" {
|
||||
align_x center
|
||||
y 20
|
||||
|
||||
Element "STRING" {
|
||||
id "TextTitle00"
|
||||
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "XXXXXXXXXXXXXX"
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
align_x center
|
||||
align_y center
|
||||
}
|
||||
}
|
||||
|
||||
#define BUTTON_NAME "NextText"
|
||||
Object "NextText" {
|
||||
align_x center
|
||||
align_x_offs $TEXT_BT_DELTA
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/next_txt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_RIGHT
|
||||
key $VK_RETURN
|
||||
key $VK_TAB
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
next_text "TextScreen00" 0
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen00"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 10
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
#define BUTTON_NAME "PrevText"
|
||||
Object "PrevText" {
|
||||
align_x center
|
||||
align_x_offs { 0 - $TEXT_BT_DELTA }
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/prev_txt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_LEFT
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
prev_text "TextScreen00" 0
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen00"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 10
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
#define BUTTON_NAME "PlayBT"
|
||||
Object "PlayBT" {
|
||||
align_x center
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/play_bt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_SPACE
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
move2screen "LOADING"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
time 10
|
||||
}
|
||||
EvComm {
|
||||
exit 1
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 11 }
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
|
||||
Object "Text00"{
|
||||
null_level 200
|
||||
align_x center
|
||||
|
||||
y 70
|
||||
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/text/empty.txt"
|
||||
}
|
||||
}
|
||||
|
||||
Screen "TextScreen01"
|
||||
{
|
||||
screen_offs 0
|
||||
default_obj "Text00"
|
||||
|
||||
Event {
|
||||
key $VK_ESCAPE
|
||||
|
||||
time 11
|
||||
|
||||
EvComm {
|
||||
move2screen "Main Screen"
|
||||
start_time 0
|
||||
time 10
|
||||
}
|
||||
}
|
||||
|
||||
Event {
|
||||
scancode $iTEXT_NEXT_EVENT_CODE1
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
next_text "TextScreen00" 1
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen00"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
}
|
||||
Event {
|
||||
scancode $iTEXT_PREV_EVENT_CODE1
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
prev_text "TextScreen00" 1
|
||||
start_time 0
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen00"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
}
|
||||
|
||||
Event {
|
||||
scancode $iTEXT_END_EVENT_CODE1
|
||||
|
||||
time 13
|
||||
|
||||
EvComm {
|
||||
move2screen "LOADING"
|
||||
start_time 1
|
||||
time 10
|
||||
}
|
||||
EvComm {
|
||||
exit 1
|
||||
start_time 12
|
||||
}
|
||||
}
|
||||
|
||||
Object "TitleObj" {
|
||||
align_x center
|
||||
y 20
|
||||
|
||||
Element "STRING" {
|
||||
id "TextTitle00"
|
||||
|
||||
null_level $DEFAULT_NULL
|
||||
|
||||
string "XXXXXXXXXXXXXX"
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
align_x center
|
||||
align_y center
|
||||
}
|
||||
}
|
||||
|
||||
#define BUTTON_NAME "NextText"
|
||||
Object "NextText" {
|
||||
align_x center
|
||||
align_x_offs $TEXT_BT_DELTA
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/next_txt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_RIGHT
|
||||
key $VK_RETURN
|
||||
key $VK_TAB
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
next_text "TextScreen01" 1
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen01"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 10
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
#define BUTTON_NAME "PrevText"
|
||||
Object "PrevText" {
|
||||
align_x center
|
||||
align_x_offs { 0 - $TEXT_BT_DELTA }
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/prev_txt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_LEFT
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
prev_text "TextScreen01" 1
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
}
|
||||
EvComm {
|
||||
move2screen "TextScreen01"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 1 }
|
||||
time 10
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
#define BUTTON_NAME "PlayBT"
|
||||
Object "PlayBT" {
|
||||
align_x center
|
||||
y $TEXT_BT_Y
|
||||
|
||||
Element BITMAP {
|
||||
bmp_null_level $TEXT_BT_NULL
|
||||
null_level $TEXT_BT_NULL_LEV
|
||||
|
||||
terrain_num $TERRAIN4
|
||||
|
||||
bmp_file "resource/iscreen/bitmap/play_bt.bmp"
|
||||
}
|
||||
Event {
|
||||
key $VK_LBUTTON
|
||||
key $VK_RBUTTON
|
||||
key $VK_SPACE
|
||||
|
||||
time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 12 }
|
||||
|
||||
EvComm {
|
||||
move2screen "LOADING"
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME }
|
||||
time 10
|
||||
}
|
||||
EvComm {
|
||||
exit 1
|
||||
start_time { $BUTTON_UNPRESS_START + $BUTTON_UNPRESS_TIME + 11 }
|
||||
}
|
||||
|
||||
#define BUTTON_SCALE_STRENGTH -150
|
||||
#define BUTTON_SMOOTH_INDEX 2
|
||||
$BUTTON_PRESS_EV
|
||||
$BUTTON_UNPRESS_EV
|
||||
#define BUTTON_SCALE_STRENGTH 0
|
||||
#define BUTTON_SMOOTH_INDEX 4
|
||||
}
|
||||
}
|
||||
|
||||
Object "Text00"{
|
||||
null_level 200
|
||||
align_x center
|
||||
|
||||
y 70
|
||||
|
||||
space 2
|
||||
|
||||
font 0
|
||||
s_text "resource/iscreen/text/empty.txt"
|
||||
}
|
||||
}
|
||||
|
||||
#include "iscreen/scripts/mainmenu.scr"
|
||||
|
||||
Screen "LOADING"
|
||||
{
|
||||
default_obj "Loading0"
|
||||
Event {
|
||||
key $VK_ESCAPE
|
||||
EvComm {
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
Object "Loading0"
|
||||
{
|
||||
y 190
|
||||
align_x center
|
||||
Element STRING {
|
||||
font 1
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_ACHTUNG
|
||||
}
|
||||
}
|
||||
Object "Loading1"
|
||||
{
|
||||
y 250
|
||||
align_x center
|
||||
Element STRING {
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
font 0
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_VANGERS_APPROACHING
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Screen "LOADING2"
|
||||
{
|
||||
screen_offs 800
|
||||
default_obj "Loading0"
|
||||
Event {
|
||||
key $VK_ESCAPE
|
||||
EvComm {
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
Object "Loading0"
|
||||
{
|
||||
y 190
|
||||
align_x center
|
||||
Element STRING {
|
||||
font 1
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_ACHTUNG
|
||||
}
|
||||
}
|
||||
Object "Loading1"
|
||||
{
|
||||
y 250
|
||||
align_x center
|
||||
Element STRING {
|
||||
font 0
|
||||
|
||||
terrain_num $TERRAIN2
|
||||
|
||||
null_level $DEFAULT_NULL
|
||||
string $iSTR_VANGERS_APPROACHING
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------- LOCATIONS -------------------------------- */
|
||||
|
||||
// Podish
|
||||
#include "iscreen/scripts/l0.inc"
|
||||
|
||||
// Incubator
|
||||
#include "iscreen/scripts/l1.inc"
|
||||
|
||||
// VigBoo
|
||||
#include "iscreen/scripts/l2.inc"
|
||||
|
||||
// Lampasy
|
||||
#include "iscreen/scripts/l3.inc"
|
||||
|
||||
// Ogorod
|
||||
#include "iscreen/scripts/l4.inc"
|
||||
|
||||
// ZeePa
|
||||
#include "iscreen/scripts/l5.inc"
|
||||
|
||||
// B-Zone
|
||||
#include "iscreen/scripts/l6.inc"
|
||||
|
||||
// Spobs
|
||||
#include "iscreen/scripts/l7.inc"
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
326
data/iscreen/scripts/mainmenu.inc
Normal file
326
data/iscreen/scripts/mainmenu.inc
Normal file
@@ -0,0 +1,326 @@
|
||||
|
||||
// MainMenu...
|
||||
#define EXIT_X1 426
|
||||
#define EXIT_Y1 380
|
||||
|
||||
//426
|
||||
#define EXIT_X2 426
|
||||
#define EXIT_Y2 380
|
||||
|
||||
// Graphics options...
|
||||
#define KEEP_STR_X1 90
|
||||
#define KEEP_TRG_X1 600
|
||||
|
||||
#define KEEP_STR_X2 85
|
||||
#define KEEP_TRG_X2 614
|
||||
|
||||
#define DESTR_TRG_X1 600
|
||||
#define DESTR_TRG_X2 615
|
||||
|
||||
#define Graphics_screen_CleanUpObj_PosX1 550
|
||||
#define Graphics_screen_InUseObj_PosX1 90
|
||||
|
||||
#define Graphics_screen_CleanUpObj_PosX2 566
|
||||
#define Graphics_screen_InUseObj_PosX2 36
|
||||
|
||||
// LAN Servers...
|
||||
#define UP_LIST_X1 150
|
||||
#define UP_LIST_Y1 400
|
||||
|
||||
#define UP_LIST_X2 30
|
||||
#define UP_LIST_Y2 400
|
||||
|
||||
#define UPDATE_LIST_X1 300
|
||||
#define UPDATE_LIST_Y1 400
|
||||
|
||||
#define UPDATE_LIST_X2 320
|
||||
#define UPDATE_LIST_Y2 400
|
||||
|
||||
#define DN_LIST_X1 580
|
||||
#define DN_LIST_Y1 400
|
||||
|
||||
#define DN_LIST_X2 660
|
||||
#define DN_LIST_Y2 400
|
||||
|
||||
#define SLIST_BACK_X1 40
|
||||
#define SLIST_BACK_Y1 20
|
||||
|
||||
#define SLIST_BACK_X2 320
|
||||
#define SLIST_BACK_Y2 450
|
||||
|
||||
// ------------ Screen: "Controls screen" ENG ------------
|
||||
|
||||
#define Controls_screen_More_Option_PosX1 532
|
||||
#define Controls_screen_More_Option_PosY1 395
|
||||
|
||||
#define Controls_screen_Back_Option_PosX1 90
|
||||
#define Controls_screen_Back_Option_PosY1 395
|
||||
|
||||
#define Controls_screen_Defaults_Option_PosX1 219
|
||||
#define Controls_screen_Defaults_Option_PosY1 443
|
||||
|
||||
// ------------ Screen: "Controls screen" LOC ------------
|
||||
|
||||
#define Controls_screen_More_Option_PosX2 425
|
||||
#define Controls_screen_More_Option_PosY2 400
|
||||
|
||||
#define Controls_screen_Back_Option_PosX2 188
|
||||
#define Controls_screen_Back_Option_PosY2 400
|
||||
|
||||
#define Controls_screen_Defaults_Option_PosX2 98
|
||||
#define Controls_screen_Defaults_Option_PosY2 452
|
||||
|
||||
// ------------ Screen: "Sound screen" ENG ------------
|
||||
|
||||
#define Sound_screen_BackSndTrig_PosX1 530
|
||||
#define Sound_screen_BackSndStr_PosX1 110
|
||||
#define Sound_screen_MechSndTrig_PosX1 530
|
||||
#define Sound_screen_MechSndStr_PosX1 170
|
||||
#define Sound_screen_PanningTrig_PosX1 530
|
||||
#define Sound_screen_PanningStr_PosX1 130
|
||||
#define Sound_screen_MusScrlObj_PosX1 430
|
||||
#define Sound_screen_MusicStr2_PosX1 160
|
||||
#define Sound_screen_SndScrlObj_PosX1 430
|
||||
#define Sound_screen_SoundStr2_PosX1 160
|
||||
#define Sound_screen_MusicTrig_PosX1 530
|
||||
#define Sound_screen_MusicStr_PosX1 220
|
||||
#define Sound_screen_SoundTrig_PosX1 530
|
||||
#define Sound_screen_SoundStr_PosX1 130
|
||||
|
||||
// ------------ Screen: "Sound screen" LOC ------------
|
||||
|
||||
#define Sound_screen_BackSndTrig_PosX2 510
|
||||
#define Sound_screen_BackSndStr_PosX2 146
|
||||
#define Sound_screen_MechSndTrig_PosX2 510
|
||||
#define Sound_screen_MechSndStr_PosX2 108
|
||||
#define Sound_screen_PanningTrig_PosX2 510
|
||||
#define Sound_screen_PanningStr_PosX2 122
|
||||
#define Sound_screen_MusScrlObj_PosX2 432
|
||||
#define Sound_screen_MusicStr2_PosX2 106
|
||||
#define Sound_screen_SndScrlObj_PosX2 432
|
||||
#define Sound_screen_SoundStr2_PosX2 122
|
||||
#define Sound_screen_MusicTrig_PosX2 510
|
||||
#define Sound_screen_MusicStr_PosX2 213
|
||||
#define Sound_screen_SoundTrig_PosX2 510
|
||||
#define Sound_screen_SoundStr_PosX2 115
|
||||
|
||||
// ------------ Screen: "Server screen" ENG ------------
|
||||
|
||||
#define Server_screen_Back_Option_PosX1 20
|
||||
#define Server_screen_Back_Option_PosY1 20
|
||||
|
||||
// ------------ Screen: "Server screen" LOC ------------
|
||||
|
||||
#define Server_screen_Back_Option_PosX2 330
|
||||
#define Server_screen_Back_Option_PosY2 393
|
||||
|
||||
// ------------ Screen: "Identification screen" ENG ------------
|
||||
|
||||
#define Identification_screen_Back_Option_PosX1 20
|
||||
#define Identification_screen_Back_Option_PosY1 20
|
||||
|
||||
// ------------ Screen: "Identification screen" LOC ------------
|
||||
|
||||
#define Identification_screen_Back_Option_PosX2 330
|
||||
#define Identification_screen_Back_Option_PosY2 400
|
||||
|
||||
// ------------ Screen: "Select Game" ENG ------------
|
||||
|
||||
#define Select_Game_Back_Option_PosX1 20
|
||||
#define Select_Game_Back_Option_PosY1 20
|
||||
|
||||
// ------------ Screen: "Select Game" LOC ------------
|
||||
|
||||
#define Select_Game_Back_Option_PosX2 330
|
||||
#define Select_Game_Back_Option_PosY2 411
|
||||
|
||||
// ------------ Screen: "Game Params 0" ENG ------------
|
||||
|
||||
#define Game_Params_0_AccessTrig_PosX1 380
|
||||
#define Game_Params_0_AccessStr_PosX1 245
|
||||
#define Game_Params_0_TeamTrig_PosX1 445
|
||||
#define Game_Params_0_TeamStr_PosX1 260
|
||||
#define Game_Params_0_BirthTrig_PosX1 405
|
||||
#define Game_Params_0_BirthStr_PosX1 245
|
||||
#define Game_Params_0_EscaveMinStr_PosX1 500
|
||||
#define Game_Params_0_EscaveTimeStr_PosX1 210
|
||||
#define Game_Params_0_TimeTrig_PosX1 450
|
||||
#define Game_Params_0_ArtefactsTrig_PosX1 480
|
||||
#define Game_Params_0_ArtefactsStr_PosX1 240
|
||||
#define Game_Params_0_BeebosNumberStr_PosX1 391
|
||||
#define Game_Params_0_BeebosStr_PosX1 520
|
||||
#define Game_Params_0_CashStr_PosX1 180
|
||||
#define Game_Params_0_Ok_Option_PosX1 249
|
||||
#define Game_Params_0_Back_Option_PosX1 367
|
||||
#define Game_Params_0_MaxKillsNumberStr_PosX1 440
|
||||
#define Game_Params_0_MaxKillsStr_PosX1 280
|
||||
#define Game_Params_0_MaxTimeNumberStr_PosX1 380
|
||||
#define Game_Params_0_MaxTimeMinStr_PosX1 470
|
||||
#define Game_Params_0_MaxTimeStr_PosX1 270
|
||||
|
||||
// ------------ Screen: "Game Params 0" LOC ------------
|
||||
|
||||
#define Game_Params_0_MaxKillsNumberStr_PosX2 494
|
||||
#define Game_Params_0_MaxKillsStr_PosX2 231
|
||||
#define Game_Params_0_MaxTimeNumberStr_PosX2 391
|
||||
#define Game_Params_0_MaxTimeMinStr_PosX2 480
|
||||
#define Game_Params_0_MaxTimeStr_PosX2 272
|
||||
#define Game_Params_0_AccessTrig_PosX2 410
|
||||
#define Game_Params_0_AccessStr_PosX2 253
|
||||
#define Game_Params_0_TeamTrig_PosX2 489
|
||||
#define Game_Params_0_TeamStr_PosX2 254
|
||||
#define Game_Params_0_BirthTrig_PosX2 398
|
||||
#define Game_Params_0_BirthStr_PosX2 215
|
||||
#define Game_Params_0_EscaveMinStr_PosX2 551
|
||||
#define Game_Params_0_EscaveTimeStr_PosX2 208
|
||||
#define Game_Params_0_TimeTrig_PosX2 475
|
||||
#define Game_Params_0_ArtefactsTrig_PosX2 441
|
||||
#define Game_Params_0_ArtefactsStr_PosX2 238
|
||||
#define Game_Params_0_BeebosNumberStr_PosX2 416
|
||||
#define Game_Params_0_BeebosStr_PosX2 560
|
||||
#define Game_Params_0_CashStr_PosX2 195
|
||||
#define Game_Params_0_Ok_Option_PosX2 230
|
||||
#define Game_Params_0_Back_Option_PosX2 408
|
||||
|
||||
// ------------ Screen: "Game Params 1" ENG ------------
|
||||
|
||||
#define Game_Params_1_OneTimeNum_PosX1 510
|
||||
#define Game_Params_1_OneTimeStr_PosX1 220
|
||||
#define Game_Params_1_ItemsNumber2_PosX1 550
|
||||
#define Game_Params_1_ItemsNumber1_PosX1 350
|
||||
#define Game_Params_1_ItemStrTrig2_PosX1 410
|
||||
#define Game_Params_1_ItemStrTrig1_PosX1 210
|
||||
#define Game_Params_1_TeamTrig_PosX1 445
|
||||
#define Game_Params_1_TeamStr_PosX1 260
|
||||
#define Game_Params_1_WorldTrig_PosX1 405
|
||||
#define Game_Params_1_WorldStr_PosX1 300
|
||||
|
||||
// ------------ Screen: "Game Params 1" LOC ------------
|
||||
|
||||
#define Game_Params_1_OneTimeNum_PosX2 497
|
||||
#define Game_Params_1_OneTimeStr_PosX2 232
|
||||
#define Game_Params_1_ItemsNumber2_PosX2 550
|
||||
#define Game_Params_1_ItemsNumber1_PosX2 350
|
||||
#define Game_Params_1_ItemStrTrig2_PosX2 410
|
||||
#define Game_Params_1_ItemStrTrig1_PosX2 210
|
||||
#define Game_Params_1_TeamTrig_PosX2 478
|
||||
#define Game_Params_1_TeamStr_PosX2 246
|
||||
#define Game_Params_1_WorldTrig_PosX2 386
|
||||
#define Game_Params_1_WorldStr_PosX2 286
|
||||
|
||||
// ------------ Screen: "Server Info screen" ENG ------------
|
||||
|
||||
#define Server_Info_screen_Chat_Option_PosX1 110
|
||||
#define Server_Info_screen_Game_Option_PosX1 616
|
||||
|
||||
// ------------ Screen: "Server Info screen" LOC ------------
|
||||
|
||||
#define Server_Info_screen_Chat_Option_PosX2 110
|
||||
#define Server_Info_screen_Game_Option_PosX2 616
|
||||
|
||||
// ------------ Screen: "Chat screen" ENG ------------
|
||||
|
||||
#define Chat_screen_Game_Option_PosX1 504
|
||||
#define Chat_screen_Game_Option_PosY1 553
|
||||
#define Chat_screen_Server_Option_PosX1 104
|
||||
#define Chat_screen_Server_Option_PosY1 556
|
||||
|
||||
// ------------ Screen: "Chat screen" LOC ------------
|
||||
|
||||
#define Chat_screen_Game_Option_PosX2 489
|
||||
#define Chat_screen_Game_Option_PosY2 550
|
||||
#define Chat_screen_Server_Option_PosX2 147
|
||||
#define Chat_screen_Server_Option_PosY2 549
|
||||
|
||||
// ------------ Screen: "INet Host screen" ENG ------------
|
||||
|
||||
#define INet_Host_screen_ProxyPortNumStr_PosX1 300
|
||||
#define INet_Host_screen_ProxyPortStr_PosX1 181
|
||||
#define INet_Host_screen_ProxyServerNameStr_PosX1 300
|
||||
#define INet_Host_screen_ProxyServerStr_PosX1 160
|
||||
#define INet_Host_screen_ProxyTrg_PosX1 470
|
||||
#define INet_Host_screen_ProxyStr_PosX1 242
|
||||
#define INet_Host_screen_Ok_Option_PosX1 294
|
||||
#define INet_Host_screen_Back_Option_PosX1 400
|
||||
#define INet_Host_screen_IP_Str_PosX1 270
|
||||
#define INet_Host_screen_IP_Addr_PosX1 420
|
||||
|
||||
// ------------ Screen: "INet Host screen" LOC ------------
|
||||
|
||||
#define INet_Host_screen_ProxyPortNumStr_PosX2 300
|
||||
#define INet_Host_screen_ProxyPortStr_PosX2 181
|
||||
#define INet_Host_screen_ProxyServerNameStr_PosX2 300
|
||||
#define INet_Host_screen_ProxyServerStr_PosX2 160
|
||||
#define INet_Host_screen_ProxyTrg_PosX2 490
|
||||
#define INet_Host_screen_ProxyStr_PosX2 241
|
||||
#define INet_Host_screen_Ok_Option_PosX2 304
|
||||
#define INet_Host_screen_Back_Option_PosX2 490
|
||||
#define INet_Host_screen_IP_Str_PosX2 270
|
||||
#define INet_Host_screen_IP_Addr_PosX2 420
|
||||
|
||||
// ------------ Screen: "Port screen" ENG ------------
|
||||
|
||||
#define Port_screen_Default_Option_PosX1 210
|
||||
#define Port_screen_Default_Option_PosY1 290
|
||||
#define Port_screen_PortStr_PosX1 502
|
||||
#define Port_screen_PortStr_PosY1 189
|
||||
#define Port_screen_Back_Option_PosX1 460
|
||||
#define Port_screen_Back_Option_PosY1 290
|
||||
#define Port_screen_TitleStr_PosX1 200
|
||||
#define Port_screen_TitleStr_PosY1 188
|
||||
|
||||
// ------------ Screen: "Port screen" LOC ------------
|
||||
|
||||
#define Port_screen_Default_Option_PosX2 91
|
||||
#define Port_screen_Default_Option_PosY2 290
|
||||
#define Port_screen_PortStr_PosX2 520
|
||||
#define Port_screen_PortStr_PosY2 188
|
||||
#define Port_screen_Back_Option_PosX2 519
|
||||
#define Port_screen_Back_Option_PosY2 290
|
||||
#define Port_screen_TitleStr_PosX2 183
|
||||
#define Port_screen_TitleStr_PosY2 188
|
||||
|
||||
// ------------ Screen: "HallOfFame screen" ENG ------------
|
||||
|
||||
#define HallOfFame_screen_Back_Option_PosX1 461
|
||||
#define HallOfFame_screen_Back_Option_PosY1 539
|
||||
|
||||
// ------------ Screen: "HallOfFame screen" LOC ------------
|
||||
|
||||
#define HallOfFame_screen_Back_Option_PosX2 461
|
||||
#define HallOfFame_screen_Back_Option_PosY2 539
|
||||
|
||||
// ------------ Screen: "iSearch server screen" ENG ------------
|
||||
|
||||
#define iSearch_server_screen_Down_Option_PosX1 660
|
||||
#define iSearch_server_screen_Down_Option_PosY1 400
|
||||
#define iSearch_server_screen_Up_Option_PosX1 30
|
||||
#define iSearch_server_screen_Up_Option_PosY1 400
|
||||
#define iSearch_server_screen_Back_Option_PosX1 344
|
||||
#define iSearch_server_screen_Back_Option_PosY1 451
|
||||
|
||||
// ------------ Screen: "iSearch server screen" LOC ------------
|
||||
|
||||
#define iSearch_server_screen_Back_Option_PosX2 344
|
||||
#define iSearch_server_screen_Back_Option_PosY2 451
|
||||
#define iSearch_server_screen_Down_Option_PosX2 617
|
||||
#define iSearch_server_screen_Down_Option_PosY2 400
|
||||
#define iSearch_server_screen_Up_Option_PosX2 55
|
||||
#define iSearch_server_screen_Up_Option_PosY2 400
|
||||
|
||||
|
||||
// ------------ Screen: "Search server screen" ENG ------------
|
||||
|
||||
#define Search_server_screen_Down_Option_PosX1 660
|
||||
#define Search_server_screen_Down_Option_PosY1 400
|
||||
#define Search_server_screen_Up_Option_PosX1 30
|
||||
#define Search_server_screen_Up_Option_PosY1 400
|
||||
|
||||
// ------------ Screen: "Search server screen" LOC ------------
|
||||
|
||||
#define Search_server_screen_Down_Option_PosX2 611
|
||||
#define Search_server_screen_Down_Option_PosY2 400
|
||||
#define Search_server_screen_Up_Option_PosX2 74
|
||||
#define Search_server_screen_Up_Option_PosY2 400
|
||||
|
||||
|
||||
11611
data/iscreen/scripts/mainmenu.scr
Normal file
11611
data/iscreen/scripts/mainmenu.scr
Normal file
File diff suppressed because it is too large
Load Diff
165
data/iscreen/scripts/mmenu1.inc
Normal file
165
data/iscreen/scripts/mmenu1.inc
Normal file
@@ -0,0 +1,165 @@
|
||||
|
||||
#define KEEP_STR_X $KEEP_STR_X1
|
||||
#define KEEP_TRG_X $KEEP_TRG_X1
|
||||
|
||||
#define Graphics_screen_CleanUpObj_PosX $Graphics_screen_CleanUpObj_PosX1
|
||||
#define Graphics_screen_InUseObj_PosX $Graphics_screen_InUseObj_PosX1
|
||||
|
||||
#define EXIT_X $EXIT_X1
|
||||
#define EXIT_Y $EXIT_Y1
|
||||
|
||||
#define DESTR_TRG_X $DESTR_TRG_X1
|
||||
|
||||
#define UP_LIST_X $UP_LIST_X1
|
||||
#define UP_LIST_Y $UP_LIST_Y1
|
||||
|
||||
#define UPDATE_LIST_X $UPDATE_LIST_X1
|
||||
#define UPDATE_LIST_Y $UPDATE_LIST_Y1
|
||||
|
||||
#define DN_LIST_X $DN_LIST_X1
|
||||
#define DN_LIST_Y $DN_LIST_Y1
|
||||
|
||||
#define SLIST_BACK_X $SLIST_BACK_X1
|
||||
#define SLIST_BACK_Y $SLIST_BACK_Y1
|
||||
|
||||
|
||||
// ------------ Screen: "Controls screen" ------------
|
||||
|
||||
#define Controls_screen_More_Option_PosX $Controls_screen_More_Option_PosX1
|
||||
#define Controls_screen_More_Option_PosY $Controls_screen_More_Option_PosY1
|
||||
|
||||
#define Controls_screen_Back_Option_PosX $Controls_screen_Back_Option_PosX1
|
||||
#define Controls_screen_Back_Option_PosY $Controls_screen_Back_Option_PosY1
|
||||
|
||||
#define Controls_screen_Defaults_Option_PosX $Controls_screen_Defaults_Option_PosX1
|
||||
#define Controls_screen_Defaults_Option_PosY $Controls_screen_Defaults_Option_PosY1
|
||||
|
||||
// ------------ Screen: "Sound screen" ------------
|
||||
|
||||
#define Sound_screen_BackSndTrig_PosX $Sound_screen_BackSndTrig_PosX1
|
||||
#define Sound_screen_BackSndStr_PosX $Sound_screen_BackSndStr_PosX1
|
||||
#define Sound_screen_MechSndTrig_PosX $Sound_screen_MechSndTrig_PosX1
|
||||
#define Sound_screen_MechSndStr_PosX $Sound_screen_MechSndStr_PosX1
|
||||
#define Sound_screen_PanningTrig_PosX $Sound_screen_PanningTrig_PosX1
|
||||
#define Sound_screen_PanningStr_PosX $Sound_screen_PanningStr_PosX1
|
||||
#define Sound_screen_MusScrlObj_PosX $Sound_screen_MusScrlObj_PosX1
|
||||
#define Sound_screen_MusicStr2_PosX $Sound_screen_MusicStr2_PosX1
|
||||
#define Sound_screen_SndScrlObj_PosX $Sound_screen_SndScrlObj_PosX1
|
||||
#define Sound_screen_SoundStr2_PosX $Sound_screen_SoundStr2_PosX1
|
||||
#define Sound_screen_MusicTrig_PosX $Sound_screen_MusicTrig_PosX1
|
||||
#define Sound_screen_MusicStr_PosX $Sound_screen_MusicStr_PosX1
|
||||
#define Sound_screen_SoundTrig_PosX $Sound_screen_SoundTrig_PosX1
|
||||
#define Sound_screen_SoundStr_PosX $Sound_screen_SoundStr_PosX1
|
||||
|
||||
// ------------ Screen: "Server screen" ------------
|
||||
|
||||
#define Server_screen_Back_Option_PosX $Server_screen_Back_Option_PosX1
|
||||
#define Server_screen_Back_Option_PosY $Server_screen_Back_Option_PosY1
|
||||
|
||||
// ------------ Screen: "Identification screen" ------------
|
||||
|
||||
#define Identification_screen_Back_Option_PosX $Identification_screen_Back_Option_PosX1
|
||||
#define Identification_screen_Back_Option_PosY $Identification_screen_Back_Option_PosY1
|
||||
|
||||
// ------------ Screen: "Select Game" ------------
|
||||
|
||||
#define Select_Game_Back_Option_PosX $Select_Game_Back_Option_PosX1
|
||||
#define Select_Game_Back_Option_PosY $Select_Game_Back_Option_PosY1
|
||||
|
||||
// ------------ Screen: "Game Params 0" ------------
|
||||
|
||||
#define Game_Params_0_AccessTrig_PosX $Game_Params_0_AccessTrig_PosX1
|
||||
#define Game_Params_0_AccessStr_PosX $Game_Params_0_AccessStr_PosX1
|
||||
#define Game_Params_0_TeamTrig_PosX $Game_Params_0_TeamTrig_PosX1
|
||||
#define Game_Params_0_TeamStr_PosX $Game_Params_0_TeamStr_PosX1
|
||||
#define Game_Params_0_BirthTrig_PosX $Game_Params_0_BirthTrig_PosX1
|
||||
#define Game_Params_0_BirthStr_PosX $Game_Params_0_BirthStr_PosX1
|
||||
#define Game_Params_0_EscaveMinStr_PosX $Game_Params_0_EscaveMinStr_PosX1
|
||||
#define Game_Params_0_EscaveTimeStr_PosX $Game_Params_0_EscaveTimeStr_PosX1
|
||||
#define Game_Params_0_TimeTrig_PosX $Game_Params_0_TimeTrig_PosX1
|
||||
#define Game_Params_0_ArtefactsTrig_PosX $Game_Params_0_ArtefactsTrig_PosX1
|
||||
#define Game_Params_0_ArtefactsStr_PosX $Game_Params_0_ArtefactsStr_PosX1
|
||||
#define Game_Params_0_BeebosNumberStr_PosX $Game_Params_0_BeebosNumberStr_PosX1
|
||||
#define Game_Params_0_BeebosStr_PosX $Game_Params_0_BeebosStr_PosX1
|
||||
#define Game_Params_0_CashStr_PosX $Game_Params_0_CashStr_PosX1
|
||||
#define Game_Params_0_Ok_Option_PosX $Game_Params_0_Ok_Option_PosX1
|
||||
#define Game_Params_0_Back_Option_PosX $Game_Params_0_Back_Option_PosX1
|
||||
#define Game_Params_0_MaxTimeStr_PosX $Game_Params_0_MaxTimeStr_PosX1
|
||||
#define Game_Params_0_MaxTimeMinStr_PosX $Game_Params_0_MaxTimeMinStr_PosX1
|
||||
#define Game_Params_0_MaxTimeNumberStr_PosX $Game_Params_0_MaxTimeNumberStr_PosX1
|
||||
#define Game_Params_0_MaxKillsStr_PosX $Game_Params_0_MaxKillsStr_PosX1
|
||||
#define Game_Params_0_MaxKillsNumberStr_PosX $Game_Params_0_MaxKillsNumberStr_PosX1
|
||||
|
||||
// ------------ Screen: "Game Params 1" ------------
|
||||
|
||||
#define Game_Params_1_OneTimeNum_PosX $Game_Params_1_OneTimeNum_PosX1
|
||||
#define Game_Params_1_OneTimeStr_PosX $Game_Params_1_OneTimeStr_PosX1
|
||||
#define Game_Params_1_ItemsNumber2_PosX $Game_Params_1_ItemsNumber2_PosX1
|
||||
#define Game_Params_1_ItemsNumber1_PosX $Game_Params_1_ItemsNumber1_PosX1
|
||||
#define Game_Params_1_ItemStrTrig2_PosX $Game_Params_1_ItemStrTrig2_PosX1
|
||||
#define Game_Params_1_ItemStrTrig1_PosX $Game_Params_1_ItemStrTrig1_PosX1
|
||||
#define Game_Params_1_TeamTrig_PosX $Game_Params_1_TeamTrig_PosX1
|
||||
#define Game_Params_1_TeamStr_PosX $Game_Params_1_TeamStr_PosX1
|
||||
#define Game_Params_1_WorldTrig_PosX $Game_Params_1_WorldTrig_PosX1
|
||||
#define Game_Params_1_WorldStr_PosX $Game_Params_1_WorldStr_PosX1
|
||||
|
||||
// ------------ Screen: "Server Info screen" ------------
|
||||
|
||||
#define Server_Info_screen_Game_Option_PosX $Server_Info_screen_Game_Option_PosX1
|
||||
#define Server_Info_screen_Chat_Option_PosX $Server_Info_screen_Chat_Option_PosX1
|
||||
|
||||
// ------------ Screen: "Chat screen" ------------
|
||||
|
||||
#define Chat_screen_Game_Option_PosX $Chat_screen_Game_Option_PosX1
|
||||
#define Chat_screen_Game_Option_PosY $Chat_screen_Game_Option_PosY1
|
||||
#define Chat_screen_Server_Option_PosX $Chat_screen_Server_Option_PosX1
|
||||
#define Chat_screen_Server_Option_PosY $Chat_screen_Server_Option_PosY1
|
||||
|
||||
// ------------ Screen: "INet Host screen" ------------
|
||||
|
||||
#define INet_Host_screen_ProxyPortNumStr_PosX $INet_Host_screen_ProxyPortNumStr_PosX1
|
||||
#define INet_Host_screen_ProxyPortStr_PosX $INet_Host_screen_ProxyPortStr_PosX1
|
||||
#define INet_Host_screen_ProxyServerNameStr_PosX $INet_Host_screen_ProxyServerNameStr_PosX1
|
||||
#define INet_Host_screen_ProxyServerStr_PosX $INet_Host_screen_ProxyServerStr_PosX1
|
||||
#define INet_Host_screen_ProxyTrg_PosX $INet_Host_screen_ProxyTrg_PosX1
|
||||
#define INet_Host_screen_ProxyStr_PosX $INet_Host_screen_ProxyStr_PosX1
|
||||
#define INet_Host_screen_Ok_Option_PosX $INet_Host_screen_Ok_Option_PosX1
|
||||
#define INet_Host_screen_Back_Option_PosX $INet_Host_screen_Back_Option_PosX1
|
||||
#define INet_Host_screen_IP_Str_PosX $INet_Host_screen_IP_Str_PosX1
|
||||
#define INet_Host_screen_IP_Addr_PosX $INet_Host_screen_IP_Addr_PosX1
|
||||
|
||||
// ------------ Screen: "Port screen" ------------
|
||||
|
||||
#define Port_screen_TitleStr_PosX $Port_screen_TitleStr_PosX1
|
||||
#define Port_screen_TitleStr_PosY $Port_screen_TitleStr_PosY1
|
||||
|
||||
#define Port_screen_PortStr_PosX $Port_screen_PortStr_PosX1
|
||||
#define Port_screen_PortStr_PosY $Port_screen_PortStr_PosY1
|
||||
|
||||
#define Port_screen_Back_Option_PosX $Port_screen_Back_Option_PosX1
|
||||
#define Port_screen_Back_Option_PosY $Port_screen_Back_Option_PosY1
|
||||
|
||||
#define Port_screen_Default_Option_PosX $Port_screen_Default_Option_PosX1
|
||||
#define Port_screen_Default_Option_PosY $Port_screen_Default_Option_PosY1
|
||||
|
||||
// ------------ Screen: "HallOfFame screen" ------------
|
||||
|
||||
#define HallOfFame_screen_Back_Option_PosX $HallOfFame_screen_Back_Option_PosX1
|
||||
#define HallOfFame_screen_Back_Option_PosY $HallOfFame_screen_Back_Option_PosY1
|
||||
|
||||
// ------------ Screen: "iSearch server screen" ------------
|
||||
|
||||
#define iSearch_server_screen_Back_Option_PosX $iSearch_server_screen_Back_Option_PosX1
|
||||
#define iSearch_server_screen_Back_Option_PosY $iSearch_server_screen_Back_Option_PosY1
|
||||
#define iSearch_server_screen_Down_Option_PosX $iSearch_server_screen_Down_Option_PosX1
|
||||
#define iSearch_server_screen_Down_Option_PosY $iSearch_server_screen_Down_Option_PosY1
|
||||
#define iSearch_server_screen_Up_Option_PosX $iSearch_server_screen_Up_Option_PosX1
|
||||
#define iSearch_server_screen_Up_Option_PosY $iSearch_server_screen_Up_Option_PosY1
|
||||
|
||||
// ------------ Screen: "Search server screen" ------------
|
||||
|
||||
#define Search_server_screen_Down_Option_PosX $Search_server_screen_Down_Option_PosX1
|
||||
#define Search_server_screen_Down_Option_PosY $Search_server_screen_Down_Option_PosY1
|
||||
#define Search_server_screen_Up_Option_PosX $Search_server_screen_Up_Option_PosX1
|
||||
#define Search_server_screen_Up_Option_PosY $Search_server_screen_Up_Option_PosY1
|
||||
|
||||
165
data/iscreen/scripts/mmenu2.inc
Normal file
165
data/iscreen/scripts/mmenu2.inc
Normal file
@@ -0,0 +1,165 @@
|
||||
|
||||
#define KEEP_STR_X $KEEP_STR_X2
|
||||
#define KEEP_TRG_X $KEEP_TRG_X2
|
||||
|
||||
#define Graphics_screen_CleanUpObj_PosX $Graphics_screen_CleanUpObj_PosX2
|
||||
#define Graphics_screen_InUseObj_PosX $Graphics_screen_InUseObj_PosX2
|
||||
|
||||
#define EXIT_X $EXIT_X2
|
||||
#define EXIT_Y $EXIT_Y2
|
||||
|
||||
#define DESTR_TRG_X $DESTR_TRG_X2
|
||||
|
||||
#define UP_LIST_X $UP_LIST_X2
|
||||
#define UP_LIST_Y $UP_LIST_Y2
|
||||
|
||||
#define UPDATE_LIST_X $UPDATE_LIST_X2
|
||||
#define UPDATE_LIST_Y $UPDATE_LIST_Y2
|
||||
|
||||
#define DN_LIST_X $DN_LIST_X2
|
||||
#define DN_LIST_Y $DN_LIST_Y2
|
||||
|
||||
#define SLIST_BACK_X $SLIST_BACK_X2
|
||||
#define SLIST_BACK_Y $SLIST_BACK_Y2
|
||||
|
||||
|
||||
// ------------ Screen: "Controls screen" ------------
|
||||
|
||||
#define Controls_screen_More_Option_PosX $Controls_screen_More_Option_PosX2
|
||||
#define Controls_screen_More_Option_PosY $Controls_screen_More_Option_PosY2
|
||||
|
||||
#define Controls_screen_Back_Option_PosX $Controls_screen_Back_Option_PosX2
|
||||
#define Controls_screen_Back_Option_PosY $Controls_screen_Back_Option_PosY2
|
||||
|
||||
#define Controls_screen_Defaults_Option_PosX $Controls_screen_Defaults_Option_PosX2
|
||||
#define Controls_screen_Defaults_Option_PosY $Controls_screen_Defaults_Option_PosY2
|
||||
|
||||
// ------------ Screen: "Sound screen" ------------
|
||||
|
||||
#define Sound_screen_BackSndTrig_PosX $Sound_screen_BackSndTrig_PosX2
|
||||
#define Sound_screen_BackSndStr_PosX $Sound_screen_BackSndStr_PosX2
|
||||
#define Sound_screen_MechSndTrig_PosX $Sound_screen_MechSndTrig_PosX2
|
||||
#define Sound_screen_MechSndStr_PosX $Sound_screen_MechSndStr_PosX2
|
||||
#define Sound_screen_PanningTrig_PosX $Sound_screen_PanningTrig_PosX2
|
||||
#define Sound_screen_PanningStr_PosX $Sound_screen_PanningStr_PosX2
|
||||
#define Sound_screen_MusScrlObj_PosX $Sound_screen_MusScrlObj_PosX2
|
||||
#define Sound_screen_MusicStr2_PosX $Sound_screen_MusicStr2_PosX2
|
||||
#define Sound_screen_SndScrlObj_PosX $Sound_screen_SndScrlObj_PosX2
|
||||
#define Sound_screen_SoundStr2_PosX $Sound_screen_SoundStr2_PosX2
|
||||
#define Sound_screen_MusicTrig_PosX $Sound_screen_MusicTrig_PosX2
|
||||
#define Sound_screen_MusicStr_PosX $Sound_screen_MusicStr_PosX2
|
||||
#define Sound_screen_SoundTrig_PosX $Sound_screen_SoundTrig_PosX2
|
||||
#define Sound_screen_SoundStr_PosX $Sound_screen_SoundStr_PosX2
|
||||
|
||||
// ------------ Screen: "Server screen" ------------
|
||||
|
||||
#define Server_screen_Back_Option_PosX $Server_screen_Back_Option_PosX2
|
||||
#define Server_screen_Back_Option_PosY $Server_screen_Back_Option_PosY2
|
||||
|
||||
// ------------ Screen: "Identification screen" ------------
|
||||
|
||||
#define Identification_screen_Back_Option_PosX $Identification_screen_Back_Option_PosX2
|
||||
#define Identification_screen_Back_Option_PosY $Identification_screen_Back_Option_PosY2
|
||||
|
||||
// ------------ Screen: "Select Game" ------------
|
||||
|
||||
#define Select_Game_Back_Option_PosX $Select_Game_Back_Option_PosX2
|
||||
#define Select_Game_Back_Option_PosY $Select_Game_Back_Option_PosY2
|
||||
|
||||
// ------------ Screen: "Game Params 0" ------------
|
||||
|
||||
#define Game_Params_0_AccessTrig_PosX $Game_Params_0_AccessTrig_PosX2
|
||||
#define Game_Params_0_AccessStr_PosX $Game_Params_0_AccessStr_PosX2
|
||||
#define Game_Params_0_TeamTrig_PosX $Game_Params_0_TeamTrig_PosX2
|
||||
#define Game_Params_0_TeamStr_PosX $Game_Params_0_TeamStr_PosX2
|
||||
#define Game_Params_0_BirthTrig_PosX $Game_Params_0_BirthTrig_PosX2
|
||||
#define Game_Params_0_BirthStr_PosX $Game_Params_0_BirthStr_PosX2
|
||||
#define Game_Params_0_EscaveMinStr_PosX $Game_Params_0_EscaveMinStr_PosX2
|
||||
#define Game_Params_0_EscaveTimeStr_PosX $Game_Params_0_EscaveTimeStr_PosX2
|
||||
#define Game_Params_0_TimeTrig_PosX $Game_Params_0_TimeTrig_PosX2
|
||||
#define Game_Params_0_ArtefactsTrig_PosX $Game_Params_0_ArtefactsTrig_PosX2
|
||||
#define Game_Params_0_ArtefactsStr_PosX $Game_Params_0_ArtefactsStr_PosX2
|
||||
#define Game_Params_0_BeebosNumberStr_PosX $Game_Params_0_BeebosNumberStr_PosX2
|
||||
#define Game_Params_0_BeebosStr_PosX $Game_Params_0_BeebosStr_PosX2
|
||||
#define Game_Params_0_CashStr_PosX $Game_Params_0_CashStr_PosX2
|
||||
#define Game_Params_0_Ok_Option_PosX $Game_Params_0_Ok_Option_PosX2
|
||||
#define Game_Params_0_Back_Option_PosX $Game_Params_0_Back_Option_PosX2
|
||||
#define Game_Params_0_MaxTimeStr_PosX $Game_Params_0_MaxTimeStr_PosX2
|
||||
#define Game_Params_0_MaxTimeMinStr_PosX $Game_Params_0_MaxTimeMinStr_PosX2
|
||||
#define Game_Params_0_MaxTimeNumberStr_PosX $Game_Params_0_MaxTimeNumberStr_PosX2
|
||||
#define Game_Params_0_MaxKillsStr_PosX $Game_Params_0_MaxKillsStr_PosX2
|
||||
#define Game_Params_0_MaxKillsNumberStr_PosX $Game_Params_0_MaxKillsNumberStr_PosX2
|
||||
|
||||
// ------------ Screen: "Game Params 1" ------------
|
||||
|
||||
#define Game_Params_1_OneTimeNum_PosX $Game_Params_1_OneTimeNum_PosX2
|
||||
#define Game_Params_1_OneTimeStr_PosX $Game_Params_1_OneTimeStr_PosX2
|
||||
#define Game_Params_1_ItemsNumber2_PosX $Game_Params_1_ItemsNumber2_PosX2
|
||||
#define Game_Params_1_ItemsNumber1_PosX $Game_Params_1_ItemsNumber1_PosX2
|
||||
#define Game_Params_1_ItemStrTrig2_PosX $Game_Params_1_ItemStrTrig2_PosX2
|
||||
#define Game_Params_1_ItemStrTrig1_PosX $Game_Params_1_ItemStrTrig1_PosX2
|
||||
#define Game_Params_1_TeamTrig_PosX $Game_Params_1_TeamTrig_PosX2
|
||||
#define Game_Params_1_TeamStr_PosX $Game_Params_1_TeamStr_PosX2
|
||||
#define Game_Params_1_WorldTrig_PosX $Game_Params_1_WorldTrig_PosX2
|
||||
#define Game_Params_1_WorldStr_PosX $Game_Params_1_WorldStr_PosX2
|
||||
|
||||
// ------------ Screen: "Server Info screen" ------------
|
||||
|
||||
#define Server_Info_screen_Game_Option_PosX $Server_Info_screen_Game_Option_PosX2
|
||||
#define Server_Info_screen_Chat_Option_PosX $Server_Info_screen_Chat_Option_PosX2
|
||||
|
||||
// ------------ Screen: "Chat screen" ------------
|
||||
|
||||
#define Chat_screen_Game_Option_PosX $Chat_screen_Game_Option_PosX2
|
||||
#define Chat_screen_Game_Option_PosY $Chat_screen_Game_Option_PosY2
|
||||
#define Chat_screen_Server_Option_PosX $Chat_screen_Server_Option_PosX2
|
||||
#define Chat_screen_Server_Option_PosY $Chat_screen_Server_Option_PosY2
|
||||
|
||||
// ------------ Screen: "INet Host screen" ------------
|
||||
|
||||
#define INet_Host_screen_ProxyPortNumStr_PosX $INet_Host_screen_ProxyPortNumStr_PosX2
|
||||
#define INet_Host_screen_ProxyPortStr_PosX $INet_Host_screen_ProxyPortStr_PosX2
|
||||
#define INet_Host_screen_ProxyServerNameStr_PosX $INet_Host_screen_ProxyServerNameStr_PosX2
|
||||
#define INet_Host_screen_ProxyServerStr_PosX $INet_Host_screen_ProxyServerStr_PosX2
|
||||
#define INet_Host_screen_ProxyTrg_PosX $INet_Host_screen_ProxyTrg_PosX2
|
||||
#define INet_Host_screen_ProxyStr_PosX $INet_Host_screen_ProxyStr_PosX2
|
||||
#define INet_Host_screen_Ok_Option_PosX $INet_Host_screen_Ok_Option_PosX2
|
||||
#define INet_Host_screen_Back_Option_PosX $INet_Host_screen_Back_Option_PosX2
|
||||
#define INet_Host_screen_IP_Str_PosX $INet_Host_screen_IP_Str_PosX2
|
||||
#define INet_Host_screen_IP_Addr_PosX $INet_Host_screen_IP_Addr_PosX2
|
||||
|
||||
// ------------ Screen: "Port screen" ------------
|
||||
|
||||
#define Port_screen_TitleStr_PosX $Port_screen_TitleStr_PosX2
|
||||
#define Port_screen_TitleStr_PosY $Port_screen_TitleStr_PosY2
|
||||
|
||||
#define Port_screen_PortStr_PosX $Port_screen_PortStr_PosX2
|
||||
#define Port_screen_PortStr_PosY $Port_screen_PortStr_PosY2
|
||||
|
||||
#define Port_screen_Back_Option_PosX $Port_screen_Back_Option_PosX2
|
||||
#define Port_screen_Back_Option_PosY $Port_screen_Back_Option_PosY2
|
||||
|
||||
#define Port_screen_Default_Option_PosX $Port_screen_Default_Option_PosX2
|
||||
#define Port_screen_Default_Option_PosY $Port_screen_Default_Option_PosY2
|
||||
|
||||
// ------------ Screen: "HallOfFame screen" ------------
|
||||
|
||||
#define HallOfFame_screen_Back_Option_PosX $HallOfFame_screen_Back_Option_PosX2
|
||||
#define HallOfFame_screen_Back_Option_PosY $HallOfFame_screen_Back_Option_PosY2
|
||||
|
||||
// ------------ Screen: "iSearch server screen" ------------
|
||||
|
||||
#define iSearch_server_screen_Back_Option_PosX $iSearch_server_screen_Back_Option_PosX2
|
||||
#define iSearch_server_screen_Back_Option_PosY $iSearch_server_screen_Back_Option_PosY2
|
||||
#define iSearch_server_screen_Down_Option_PosX $iSearch_server_screen_Down_Option_PosX2
|
||||
#define iSearch_server_screen_Down_Option_PosY $iSearch_server_screen_Down_Option_PosY2
|
||||
#define iSearch_server_screen_Up_Option_PosX $iSearch_server_screen_Up_Option_PosX2
|
||||
#define iSearch_server_screen_Up_Option_PosY $iSearch_server_screen_Up_Option_PosY2
|
||||
|
||||
// ------------ Screen: "Search server screen" ------------
|
||||
|
||||
#define Search_server_screen_Down_Option_PosX $Search_server_screen_Down_Option_PosX2
|
||||
#define Search_server_screen_Down_Option_PosY $Search_server_screen_Down_Option_PosY2
|
||||
#define Search_server_screen_Up_Option_PosX $Search_server_screen_Up_Option_PosX2
|
||||
#define Search_server_screen_Up_Option_PosY $Search_server_screen_Up_Option_PosY2
|
||||
|
||||
107
data/iscreen/scripts/oftr.inc
Normal file
107
data/iscreen/scripts/oftr.inc
Normal file
@@ -0,0 +1,107 @@
|
||||
/* iScript include file */
|
||||
|
||||
#define MOVE_TIME 401
|
||||
#define MOVE_TIME1 200
|
||||
|
||||
#define VOLUME_CHANGE_TIME 5
|
||||
#define CHANGE_OBJ_TIME 7
|
||||
#define PRESS_OBJ_TIME 7
|
||||
#define SMOOTH_OBJ_TIME 5
|
||||
#define HIDE_OBJ_TIME 8
|
||||
#define MOVE2SCREEN_TIME 10
|
||||
#define TRIGGER_TIME 10
|
||||
|
||||
#define EV_CHANGE_OBJ time { $CHANGE_OBJ_TIME + 1 } \
|
||||
EvComm { \
|
||||
jump_obj $OBJ2 \
|
||||
start_time $CHANGE_OBJ_TIME \
|
||||
time 1 \
|
||||
} \
|
||||
EvComm { \
|
||||
low_obj $OBJ1 \
|
||||
start_time 0 \
|
||||
time $CHANGE_OBJ_TIME \
|
||||
} \
|
||||
EvComm { \
|
||||
rise_obj $OBJ2 \
|
||||
start_time 0 \
|
||||
time $CHANGE_OBJ_TIME \
|
||||
}
|
||||
|
||||
#define LOGO_EVENTS Event { \
|
||||
key LEFT_MOUSE \
|
||||
time 30 \
|
||||
EvComm { \
|
||||
scale_obj $LOGO0 128 \
|
||||
start_time 0 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO0 255 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO1 128 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO1 255 \
|
||||
start_time 20 \
|
||||
time 10 \
|
||||
} \
|
||||
} \
|
||||
Event { \
|
||||
key RIGHT_MOUSE \
|
||||
time 30 \
|
||||
EvComm { \
|
||||
scale_obj $LOGO0 128 \
|
||||
start_time 0 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO0 255 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO1 128 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
scale_obj $LOGO1 255 \
|
||||
start_time 20 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO0 4 \
|
||||
start_time 0 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO0 0 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO1 4 \
|
||||
start_time 10 \
|
||||
time 10 \
|
||||
} \
|
||||
EvComm { \
|
||||
smooth_obj $LOGO1 0 \
|
||||
start_time 20 \
|
||||
time 10 \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Shop trigger states...
|
||||
#define TRG_MECHOS 2
|
||||
#define TRG_ITEMS 1
|
||||
#define TRG_WEAPONS 0
|
||||
|
||||
/* EOF */
|
||||
50
data/iscreen/scripts/pnl00.inc
Normal file
50
data/iscreen/scripts/pnl00.inc
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
|
||||
#define PANELANSW_COORDS x 116 \
|
||||
y 13
|
||||
|
||||
#define PANELANSW_SIZE size_x 580 \
|
||||
size_y 100
|
||||
|
||||
|
||||
#define PANELCREDITS_COORDS x 476 \
|
||||
y 16
|
||||
|
||||
#define PANELCREDITS_SIZE size_x 230 \
|
||||
size_y 40
|
||||
|
||||
|
||||
#define PANELINFO_COORDS x 466 \
|
||||
y 475
|
||||
|
||||
#define PANELINFO_SIZE size_x 261 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define PANELITEMS_COORDS x 60 \
|
||||
y 145
|
||||
|
||||
#define PANELITEMS_SIZE size_x 340 \
|
||||
size_y 255
|
||||
|
||||
|
||||
#define PANELPRICE_COORDS x 119 \
|
||||
y 451
|
||||
|
||||
#define PANELPRICE_SIZE size_x 223 \
|
||||
size_y 138
|
||||
|
||||
|
||||
#define PANELQ_COORDS x 146 \
|
||||
y 510
|
||||
|
||||
#define PANELQ_SIZE size_x 509 \
|
||||
size_y 58
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 682 \
|
||||
y 123
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
|
||||
50
data/iscreen/scripts/pnl01.inc
Normal file
50
data/iscreen/scripts/pnl01.inc
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
|
||||
#define PANELANSW_COORDS x 101 \
|
||||
y 10
|
||||
|
||||
#define PANELANSW_SIZE size_x 580 \
|
||||
size_y 100
|
||||
|
||||
|
||||
#define PANELCREDITS_COORDS x 476 \
|
||||
y 16
|
||||
|
||||
#define PANELCREDITS_SIZE size_x 230 \
|
||||
size_y 40
|
||||
|
||||
|
||||
#define PANELINFO_COORDS x 466 \
|
||||
y 475
|
||||
|
||||
#define PANELINFO_SIZE size_x 261 \
|
||||
size_y 89
|
||||
|
||||
|
||||
#define PANELITEMS_COORDS x 60 \
|
||||
y 145
|
||||
|
||||
#define PANELITEMS_SIZE size_x 340 \
|
||||
size_y 255
|
||||
|
||||
|
||||
#define PANELPRICE_COORDS x 119 \
|
||||
y 451
|
||||
|
||||
#define PANELPRICE_SIZE size_x 223 \
|
||||
size_y 138
|
||||
|
||||
|
||||
#define PANELQ_COORDS x 146 \
|
||||
y 510
|
||||
|
||||
#define PANELQ_SIZE size_x 509 \
|
||||
size_y 58
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 682 \
|
||||
y 123
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
|
||||
36
data/iscreen/scripts/pnl02.inc
Normal file
36
data/iscreen/scripts/pnl02.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
|
||||
#define PANELANSW_COORDS x 119 \
|
||||
y 4
|
||||
|
||||
#define PANELANSW_SIZE size_x 580 \
|
||||
size_y 100
|
||||
|
||||
|
||||
#define PANELQ_COORDS x 121 \
|
||||
y 517
|
||||
|
||||
#define PANELQ_SIZE size_x 545 \
|
||||
size_y 55
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 674 \
|
||||
y 132
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
|
||||
/*
|
||||
#define PANELPRICE_COORDS x 143 \
|
||||
y 479
|
||||
|
||||
#define PANELPRICE_SIZE size_x 184 \
|
||||
size_y 101
|
||||
*/
|
||||
|
||||
#define PANELPRICE_COORDS x 142 \
|
||||
y 476
|
||||
|
||||
#define PANELPRICE_SIZE size_x 191 \
|
||||
size_y 117
|
||||
|
||||
7
data/iscreen/scripts/pnl04.inc
Normal file
7
data/iscreen/scripts/pnl04.inc
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 684 \
|
||||
y 126
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
12
data/iscreen/scripts/pnl05.inc
Normal file
12
data/iscreen/scripts/pnl05.inc
Normal file
@@ -0,0 +1,12 @@
|
||||
#define PANELANSW_COORDS x 120 \
|
||||
y 15
|
||||
|
||||
#define PANELANSW_SIZE size_x 580 \
|
||||
size_y 100
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 658 \
|
||||
y 141
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
21
data/iscreen/scripts/pnl06.inc
Normal file
21
data/iscreen/scripts/pnl06.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
#define PANELANSW_COORDS x 120 \
|
||||
y 15
|
||||
|
||||
#define PANELANSW_SIZE size_x 580 \
|
||||
size_y 100
|
||||
|
||||
|
||||
#define PANELQ_COORDS x 140 \
|
||||
y 527
|
||||
|
||||
#define PANELQ_SIZE size_x 543 \
|
||||
size_y 58
|
||||
|
||||
|
||||
|
||||
#define PANELTM_COORDS x 616 \
|
||||
y 146
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
|
||||
21
data/iscreen/scripts/pnl07.inc
Normal file
21
data/iscreen/scripts/pnl07.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
#define PANELTM_COORDS x 491 \
|
||||
y 196
|
||||
|
||||
#define PANELTM_SIZE size_x 104 \
|
||||
size_y 74
|
||||
|
||||
|
||||
#define PANELANSW_COORDS x 126 \
|
||||
y 11
|
||||
|
||||
#define PANELANSW_SIZE size_x 582 \
|
||||
size_y 94
|
||||
|
||||
|
||||
#define PANELQ_COORDS x 123 \
|
||||
y 498
|
||||
|
||||
#define PANELQ_SIZE size_x 531 \
|
||||
size_y 71
|
||||
|
||||
588
data/iscreen/scripts/strings.inc
Normal file
588
data/iscreen/scripts/strings.inc
Normal file
@@ -0,0 +1,588 @@
|
||||
// Please refer to the remarks I've made (seperated by a double-slash //)
|
||||
|
||||
/*
|
||||
iScreen string defines
|
||||
|
||||
English Version:
|
||||
#define <SOMEWORD>1 "..."
|
||||
|
||||
Local Version:
|
||||
#define <SOMEWORD>2 "..."
|
||||
*/
|
||||
|
||||
#define iSTR_LOAD_GAME1 "LOAD GAME"
|
||||
#define iSTR_LOAD_GAME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_MULTIPLAYER1 "MULTIPLAYER"
|
||||
#define iSTR_MULTIPLAYER2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_NEW_GAME1 "NEW GAME"
|
||||
#define iSTR_NEW_GAME2 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_OPTIONS1 "OPTIONS"
|
||||
#define iSTR_OPTIONS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CREDITS1 "CREDITS"
|
||||
#define iSTR_CREDITS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_EXIT1 "EXIT"
|
||||
#define iSTR_EXIT2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Credits1 "Credits"
|
||||
#define iSTR_Credits2 "<22> ᮧ<><E1AEA7>⥫<EFBFBD><E2A5AB>"
|
||||
|
||||
#define iSTR_MAIN_MENU1 "MAIN MENU"
|
||||
#define iSTR_MAIN_MENU2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_HALL_OF_FAME1 "HALL OF FAME"
|
||||
#define iSTR_HALL_OF_FAME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Options1 "Options"
|
||||
#define iSTR_Options2 "<22><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9>"
|
||||
|
||||
#define iSTR_GRAPHICS1 "GRAPHICS"
|
||||
#define iSTR_GRAPHICS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_SOUND1 "SOUND"
|
||||
#define iSTR_SOUND2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CONTROLS1 "CONTROLS"
|
||||
#define iSTR_CONTROLS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Graphics_Options1 "Graphics Options"
|
||||
#define iSTR_Graphics_Options2 "<22><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9> <20><><EFBFBD>䨪<EFBFBD>"
|
||||
|
||||
#define iSTR_DETAIL1 "MEMORY:"
|
||||
#define iSTR_DETAIL2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_MEM16MB1 "GOOD-16MB"
|
||||
#define iSTR_MEM16MB2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - 16 MB"
|
||||
|
||||
#define iSTR_MEM32MB1 "EXCELLENT-32MB"
|
||||
#define iSTR_MEM32MB2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - 32 MB"
|
||||
|
||||
#define iSTR_TIPS1 "TIPS:"
|
||||
#define iSTR_TIPS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_ON1 "ON"
|
||||
#define iSTR_ON2 "<22><>"
|
||||
|
||||
#define iSTR_OFF1 "OFF"
|
||||
#define iSTR_OFF2 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_BACK1 "BACK"
|
||||
#define iSTR_BACK2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_SCREEN1 "SCREEN:"
|
||||
#define iSTR_SCREEN2 "<22><><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_800x6001 "800x600"
|
||||
#define iSTR_800x6002 "800x600"
|
||||
|
||||
#define iSTR_640x4801 "640x480"
|
||||
#define iSTR_640x4802 "640x480"
|
||||
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE1 "DEFORMABLE LANDSCAPE:"
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES1 "KEEP ALL TERRAIN CHANGES:"
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_FULL_SCREEN1 "FULL SCREEN:"
|
||||
#define iSTR_FULL_SCREEN2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_DISK_SPACE_IN_USE1 "DISK SPACE IN USE: 100 MB"
|
||||
#define iSTR_DISK_SPACE_IN_USE2 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>: 100 MB"
|
||||
|
||||
#define iSTR_CLEAN_UP1 "CLEAN UP!"
|
||||
#define iSTR_CLEAN_UP2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
|
||||
|
||||
|
||||
#define iSTR_Sound_Options1 "Sound Options"
|
||||
#define iSTR_Sound_Options2 "<22><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9> <20><>㪠"
|
||||
|
||||
#define iSTR_SOUND_EFFECTS1 "SOUND EFFECTS"
|
||||
#define iSTR_SOUND_EFFECTS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_MUSIC1 "MUSIC"
|
||||
#define iSTR_MUSIC2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_SOUND_VOLUME1 "SOUND VOLUME"
|
||||
#define iSTR_SOUND_VOLUME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_MUSIC_VOLUME1 "MUSIC VOLUME"
|
||||
#define iSTR_MUSIC_VOLUME2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_EFFECTS_PANNING1 "EFFECTS PANNING"
|
||||
#define iSTR_EFFECTS_PANNING2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_ENGINE_NOISE1 "ENGINE NOISE"
|
||||
#define iSTR_ENGINE_NOISE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_BACKGROUND_SOUND1 "BACKGROUND SOUND"
|
||||
#define iSTR_BACKGROUND_SOUND2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Controls1 "Controls"
|
||||
#define iSTR_Controls2 "<22><>ࠢ<EFBFBD><E0A0A2><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Multiplayer1 "Multiplayer"
|
||||
#define iSTR_Multiplayer2 "<22><>⥢<EFBFBD><E2A5A2> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_JOIN_SERVER1 "JOIN SERVER"
|
||||
#define iSTR_JOIN_SERVER2 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CREATE_SERVER1 "CREATE SERVER"
|
||||
#define iSTR_CREATE_SERVER2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_PLAYER_SETUP1 "PLAYER SETUP"
|
||||
#define iSTR_PLAYER_SETUP2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_SERVER_PORT1 "SET SERVER PORT"
|
||||
#define iSTR_SERVER_PORT2 "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Default1 "RESTORE"
|
||||
#define iSTR_Default2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Server_Port1 "Server Port:"
|
||||
#define iSTR_Server_Port2 "<22><><EFBFBD><EFBFBD> <20><>ࢥ<EFBFBD><E0A2A5>:"
|
||||
|
||||
#define iSTR_Join_Server1 "Join Server"
|
||||
#define iSTR_Join_Server2 "<22><><EFBFBD> <20>᪠<EFBFBD><E1AAA0> <20><>ࢥ<EFBFBD>?"
|
||||
|
||||
|
||||
#define iSTR_LAN1 "LAN"
|
||||
#define iSTR_LAN2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_INTERNET1 "INTERNET"
|
||||
#define iSTR_INTERNET2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CANT_CREATE1 "Can't create server..."
|
||||
#define iSTR_CANT_CREATE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ᮧ<><E1AEA7><EFBFBD><EFBFBD> <20><>ࢥ<EFBFBD>..."
|
||||
|
||||
|
||||
#define iSTR_LAN_Servers1 "LAN Servers"
|
||||
#define iSTR_LAN_Servers2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ࢥ<EFBFBD><E0A2A5>"
|
||||
|
||||
#define iSTR_UP1 "UP"
|
||||
#define iSTR_UP2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_DOWN1 "DOWN"
|
||||
#define iSTR_DOWN2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Update_List1 "Update List"
|
||||
#define iSTR_Update_List2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>᮪"
|
||||
|
||||
#define iSTR_Searching_Servers1 "Searching Servers"
|
||||
#define iSTR_Searching_Servers2 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><>ࢥ"
|
||||
|
||||
#define iSTR_Please_wait1 "Please wait"
|
||||
#define iSTR_Please_wait2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Player_Settings1 "Player Settings"
|
||||
#define iSTR_Player_Settings2 "<22><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9> <20><>ப<EFBFBD>"
|
||||
|
||||
#define iSTR_NAME01 "NAME"
|
||||
#define iSTR_NAME02 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_COLOR1 "COLOR"
|
||||
#define iSTR_COLOR2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_YELLOW1 "YELLOW"
|
||||
#define iSTR_YELLOW2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_ORANGE1 "ORANGE"
|
||||
#define iSTR_ORANGE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_BLUE1 "BLUE"
|
||||
#define iSTR_BLUE2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_GREEN1 "GREEN"
|
||||
#define iSTR_GREEN2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Connection_failed1 "Connection failed"
|
||||
#define iSTR_Connection_failed2 "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>祭<EFBFBD><E7A5AD>"
|
||||
|
||||
#define iSTR_OK1 "OK"
|
||||
#define iSTR_OK2 "<22><>"
|
||||
|
||||
#define iSTR_CANCEL1 "CANCEL"
|
||||
#define iSTR_CANCEL2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_MORE1 "MORE"
|
||||
#define iSTR_MORE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Customize_keyboard1 "Customize keyboard"
|
||||
#define iSTR_Customize_keyboard2 "<22><><EFBFBD><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_RESTORE_ALL1 "RESTORE ALL"
|
||||
#define iSTR_RESTORE_ALL2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_SELECT_GAME1 "SELECT GAME"
|
||||
#define iSTR_SELECT_GAME2 "<22><><EFBFBD>᮪ <20><><EFBFBD><EFBFBD>㯭<EFBFBD><E3AFAD> <20><><EFBFBD>"
|
||||
|
||||
#define iSTR_Nascency1 "Nascency:"
|
||||
#define iSTR_Nascency2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:" // whats that? An artificial word -
|
||||
// cloned from nasty...? Difficulty?
|
||||
// if yes, please use: 'Schwierigkeit'
|
||||
|
||||
#define iSTR_Any_World1 "Any World"
|
||||
#define iSTR_Any_World2 "<22><EFBFBD> <20><><EFBFBD>"
|
||||
|
||||
#define iSTR_Fostral1 "Fostral"
|
||||
#define iSTR_Fostral2 "<22><><EFBFBD><EFBFBD>ࠫ"
|
||||
|
||||
#define iSTR_Glorx1 "Glorx"
|
||||
#define iSTR_Glorx2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Necross1 "Necross"
|
||||
#define iSTR_Necross2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Team_Mode1 "Team Mode:"
|
||||
#define iSTR_Team_Mode2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_Access1 "Access:"
|
||||
#define iSTR_Access2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_All_Worlds1 "All Worlds"
|
||||
#define iSTR_All_Worlds2 "<22><><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_One_World1 "One World"
|
||||
#define iSTR_One_World2 "<22><><EFBFBD><EFBFBD> <20><><EFBFBD>"
|
||||
|
||||
#define iSTR_World1 "World:"
|
||||
#define iSTR_World2 "<22><><EFBFBD>:"
|
||||
|
||||
#define iSTR_Nymbos1 "Nymbos"
|
||||
#define iSTR_Nymbos2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Heroin1 "Heroin"
|
||||
#define iSTR_Heroin2 "<22><>ந<EFBFBD>"
|
||||
|
||||
#define iSTR_Toxick1 "Toxick"
|
||||
#define iSTR_Toxick2 "<22><><EFBFBD>ᨪ"
|
||||
|
||||
#define iSTR_Phlegma1 "Phlegma"
|
||||
#define iSTR_Phlegma2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Shrub1 "Shrub"
|
||||
#define iSTR_Shrub2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Poponka1 "Poponka"
|
||||
#define iSTR_Poponka2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_One_at_a_time1 "One at a time:"
|
||||
#define iSTR_One_at_a_time2 "<22><><EFBFBD><EFBFBD>쪮 <20><><EFBFBD><EFBFBD> <20><> ࠧ:"
|
||||
|
||||
#define iSTR_Checkpoints_Number1 "Checkpoints Number:"
|
||||
#define iSTR_Checkpoints_Number2 "<22><> <20>⠯<EFBFBD><E2A0AF>:"
|
||||
|
||||
#define iSTR_Unique_Mechos1 "Unique Mechos:"
|
||||
#define iSTR_Unique_Mechos2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_Last_Moggy1 "Last Moggy"
|
||||
#define iSTR_Last_Moggy2 "<22><><EFBFBD><E1ABA5><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Queen_Frog1 "Queen Frog"
|
||||
#define iSTR_Queen_Frog2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Sandoll1 "Sandoll"
|
||||
#define iSTR_Sandoll2 "<22><><EFBFBD><E1AAAE><EFBFBD>"
|
||||
|
||||
#define iSTR_Lawn_Mower1 "Lawn Mower"
|
||||
#define iSTR_Lawn_Mower2 "<22><><EFBFBD>⮪<EFBFBD><E2AEAA><EFBFBD>"
|
||||
|
||||
#define iSTR_Wormaster1 "Wormaster"
|
||||
#define iSTR_Wormaster2 "<22><>ࢮ<EFBFBD><E0A2AE><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_IDENTIFICATION1 "IDENTIFICATION"
|
||||
#define iSTR_IDENTIFICATION2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_PASSWORD1 "PASSWORD"
|
||||
#define iSTR_PASSWORD2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_DISCONNECT1 "DISCONNECT"
|
||||
#define iSTR_DISCONNECT2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Server_Configuration1 "Server Configuration"
|
||||
#define iSTR_Server_Configuration2 "<22><><EFBFBD>䨣<EFBFBD><E4A8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ࢥ<EFBFBD><E0A2A5>"
|
||||
|
||||
#define iSTR_NAME21 "NAME:"
|
||||
#define iSTR_NAME22 "<22><><EFBFBD>:"
|
||||
|
||||
#define iSTR_GAME1 "GAME:"
|
||||
#define iSTR_GAME2 "<22><><EFBFBD><EFBFBD>:"
|
||||
|
||||
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY1 "THE SERVER HAS ALREADY"
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_BEEN_CONFIGURED_BY1 "BEEN CONFIGURED BY"
|
||||
#define iSTR_BEEN_CONFIGURED_BY2 "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_ANOTHER_PLAYER1 "ANOTHER PLAYER!"
|
||||
#define iSTR_ANOTHER_PLAYER2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
|
||||
|
||||
#define iSTR_Server_Info1 "Server Info"
|
||||
#define iSTR_Server_Info2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CHAT1 "CHAT"
|
||||
#define iSTR_CHAT2 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_START1 "START!"
|
||||
#define iSTR_START2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!"
|
||||
|
||||
|
||||
#define iSTR_Chat_Room1 "Chat Room"
|
||||
#define iSTR_Chat_Room2 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_SERVER_INFO1 "SERVER INFO"
|
||||
#define iSTR_SERVER_INFO2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_HOST_NAME1 "HOST NAME:"
|
||||
#define iSTR_HOST_NAME2 "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_Internet_Servers1 "Internet Servers"
|
||||
#define iSTR_Internet_Servers2 "<22><>ࢥ<EFBFBD><E0A2A5> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Game_Results1 "Game Results"
|
||||
#define iSTR_Game_Results2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_GAME_PARAMETERS1 "GAME PARAMETERS"
|
||||
#define iSTR_GAME_PARAMETERS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Initial_Cash1 "Initial Cash:"
|
||||
#define iSTR_Initial_Cash2 "<22><>砫<EFBFBD><E7A0AB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>⠫:"
|
||||
|
||||
#define iSTR_Artefacts_Using1 "Artefacts Using:"
|
||||
#define iSTR_Artefacts_Using2 "<22>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>䠪⮢:"
|
||||
|
||||
|
||||
#define iSTR_YES1 "YES"
|
||||
#define iSTR_YES2 "<22><>"
|
||||
|
||||
#define iSTR_NO1 "NO"
|
||||
#define iSTR_NO2 "<22><><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_In_Escave_Time1 "In-Escave Time:"
|
||||
#define iSTR_In_Escave_Time2 "<22>ॡ뢠<E0A5A1><EBA2A0><EFBFBD> <20> <20>᪥<EFBFBD><E1AAA5><EFBFBD>:"
|
||||
|
||||
#define iSTR_min1 "min" // this one means "minutes"...
|
||||
#define iSTR_min2 "<22><><EFBFBD>" // this one means "minutes"...
|
||||
|
||||
|
||||
#define iSTR_ACHTUNG1 "ACHTUNG"
|
||||
#define iSTR_ACHTUNG2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_VANGERS_APPROACHING1 "VANGERS APPROACHING"
|
||||
#define iSTR_VANGERS_APPROACHING2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
#define iSTR_Genesis1 "Genesis"
|
||||
#define iSTR_Genesis2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Prehistory1 "Prehistory"
|
||||
#define iSTR_Prehistory2 "<22>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..."
|
||||
|
||||
#define iSTR_Present1 "Present"
|
||||
#define iSTR_Present2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>饥"
|
||||
|
||||
|
||||
#define iSTR_Turn_wheels_left1 "Turn wheels left"
|
||||
#define iSTR_Turn_wheels_left2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Turn_wheels_right1 "Turn wheels right"
|
||||
#define iSTR_Turn_wheels_right2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>ࠢ<EFBFBD>"
|
||||
|
||||
#define iSTR_Move_forward1 "Move forward"
|
||||
#define iSTR_Move_forward2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Move_backward1 "Move backward"
|
||||
#define iSTR_Move_backward2 "<22><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Acceleration1 "Acceleration"
|
||||
#define iSTR_Acceleration2 "<22>७<E1AAAE><E0A5AD>"
|
||||
|
||||
#define iSTR_Handbrake1 "Handbrake"
|
||||
#define iSTR_Handbrake2 "<22><>筮<EFBFBD> <20><>ମ<EFBFBD>"
|
||||
|
||||
#define iSTR_Turn_over_left1 "Turn over left"
|
||||
#define iSTR_Turn_over_left2 "<22><>ॢ<EFBFBD><E0A5A2><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Turn_over_right1 "Turn over right"
|
||||
#define iSTR_Turn_over_right2 "<22><>ॢ<EFBFBD><E0A5A2><EFBFBD><EFBFBD> <20><>ࠢ<EFBFBD>"
|
||||
|
||||
#define iSTR_Activate_KiD1 "Activate KiD"
|
||||
#define iSTR_Activate_KiD2 "<22><>⨢<EFBFBD><E2A8A2><EFBFBD><EFBFBD> <20><>㦨<EFBFBD><E3A6A8>"
|
||||
|
||||
#define iSTR_Open1 "Open"
|
||||
#define iSTR_Open2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Turn_device_ON1 "Turn device UP"
|
||||
#define iSTR_Turn_device_ON2 "<22>ਡ<EFBFBD><E0A8A1> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Turn_device_OFF1 "Turn device DOWN"
|
||||
#define iSTR_Turn_device_OFF2 "<22>ਡ<EFBFBD><E0A8A1> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Inventory_ON_OFF1 "Inventory"
|
||||
#define iSTR_Inventory_ON_OFF2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Change_target1 "Change target"
|
||||
#define iSTR_Change_target2 "<22><>४<EFBFBD><E0A5AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 楫<>"
|
||||
|
||||
#define iSTR_Fire_all_weapons1 "Fire all weapons"
|
||||
#define iSTR_Fire_all_weapons2 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ᥣ<EFBFBD> <20><>㦨<EFBFBD>"
|
||||
|
||||
#define iSTR_Fire_weapon_11 "Fire weapon 1"
|
||||
#define iSTR_Fire_weapon_12 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>㦨<EFBFBD> 1"
|
||||
|
||||
#define iSTR_Fire_weapon_21 "Fire weapon 2"
|
||||
#define iSTR_Fire_weapon_22 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>㦨<EFBFBD> 2"
|
||||
|
||||
#define iSTR_Fire_weapon_31 "Fire weapon 3"
|
||||
#define iSTR_Fire_weapon_32 "<22><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>㦨<EFBFBD> 3"
|
||||
|
||||
#define iSTR_Fire_weapon_41 "Terminator release"
|
||||
#define iSTR_Fire_weapon_42 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ନ<EFBFBD><E0ACA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Full_screen1 "Full screen"
|
||||
#define iSTR_Full_screen2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>࠭"
|
||||
|
||||
#define iSTR_Reduce_view1 "Reduce view"
|
||||
#define iSTR_Reduce_view2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Enlarge_view1 "Enlarge view"
|
||||
#define iSTR_Enlarge_view2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Rotation1 "Rotation"
|
||||
#define iSTR_Rotation2 "<22><><EFBFBD>饭<EFBFBD><E9A5AD>"
|
||||
|
||||
#define iSTR_Auto_tilt1 "Auto tilt"
|
||||
#define iSTR_Auto_tilt2 "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Auto_zoom1 "Auto zoom"
|
||||
#define iSTR_Auto_zoom2 "<22><><EFBFBD><EFBFBD> <20><><EFBFBD>⠡"
|
||||
|
||||
#define iSTR_Zoom_in1 "Zoom in"
|
||||
#define iSTR_Zoom_in2 "<22>ਡ<EFBFBD><E0A8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Zoom_out1 "Zoom out"
|
||||
#define iSTR_Zoom_out2 "<22>⮤<EFBFBD><E2AEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_Standard_zoom1 "Standard zoom"
|
||||
#define iSTR_Standard_zoom2 "<22><><EFBFBD>⠡ 1:1"
|
||||
|
||||
#define iSTR_SkipText1 "Next text part"
|
||||
#define iSTR_SkipText2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_UseVector1 "Activate Vector"
|
||||
#define iSTR_UseVector2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_ExitGame1 "Exit game"
|
||||
#define iSTR_ExitGame2 "<22><>室 <20><> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_ChatON1 "Chat"
|
||||
#define iSTR_ChatON2 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_Statistics1 "Game statistics"
|
||||
#define iSTR_Statistics2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⨪<EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_VAN_WAR1 "VAN-WAR"
|
||||
#define iSTR_VAN_WAR2 "<22><><EFBFBD>-<2D><><EFBFBD>"
|
||||
|
||||
#define iSTR_MECHOSOMA1 "MECHOSOMA"
|
||||
#define iSTR_MECHOSOMA2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_PASSEMBLOSS1 "PASSEMBLOSS"
|
||||
#define iSTR_PASSEMBLOSS2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_HUNTAGE1 "HUNTAGE"
|
||||
#define iSTR_HUNTAGE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_MUSTODONT1 "MUSTODONT"
|
||||
#define iSTR_MUSTODONT2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_JOYSTICK_SETUP1 "JOYSTICK SETUP"
|
||||
#define iSTR_JOYSTICK_SETUP2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CUSTOMIZE1 "CUSTOMIZE CONTROLS"
|
||||
#define iSTR_CUSTOMIZE2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_JoystickSetup1 "Joystick Setup"
|
||||
#define iSTR_JoystickSetup2 "<22><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9> <20><><EFBFBD><EFBFBD>⨪<EFBFBD>"
|
||||
|
||||
#define iSTR_JoystickType1 "Type:"
|
||||
#define iSTR_JoystickType2 "<22><><EFBFBD>:"
|
||||
|
||||
#define iSTR_NONE1 "NONE"
|
||||
#define iSTR_NONE2 "<22><><EFBFBD>"
|
||||
|
||||
#define iSTR_JoystickGamePad1 "GamePad"
|
||||
#define iSTR_JoystickGamePad2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_JoystickJoystick1 "Joystick"
|
||||
#define iSTR_JoystickJoystick2 "<22><><EFBFBD><EFBFBD><EFBFBD>⨪"
|
||||
|
||||
#define iSTR_JoystickSteeringWheel1 "Steering Wheel"
|
||||
#define iSTR_JoystickSteeringWheel2 "<22><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_JoystickAlternFnc1 "Handle Alternative Function:"
|
||||
#define iSTR_JoystickAlternFnc2 "<22><><EFBFBD><EFBFBD><EFBFBD>ୠ⨢<E0ADA0><E2A8A2><EFBFBD> <20>㭪<EFBFBD><E3ADAA><EFBFBD> <20>㪮<EFBFBD>⪨:"
|
||||
|
||||
#define iSTR_JoystickBUTTON11 "BUTTON1"
|
||||
#define iSTR_JoystickBUTTON12 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1"
|
||||
|
||||
#define iSTR_JoystickBUTTON21 "BUTTON2"
|
||||
#define iSTR_JoystickBUTTON22 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2"
|
||||
|
||||
#define iSTR_JoystickBUTTON31 "BUTTON3"
|
||||
#define iSTR_JoystickBUTTON32 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3"
|
||||
|
||||
#define iSTR_JoystickBUTTON41 "BUTTON4"
|
||||
#define iSTR_JoystickBUTTON42 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>4"
|
||||
|
||||
#define iSTR_JoystickBUTTON51 "BUTTON5"
|
||||
#define iSTR_JoystickBUTTON52 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>5"
|
||||
|
||||
#define iSTR_JoystickBUTTON61 "BUTTON6"
|
||||
#define iSTR_JoystickBUTTON62 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>6"
|
||||
|
||||
#define iSTR_JoystickBUTTON71 "BUTTON7"
|
||||
#define iSTR_JoystickBUTTON72 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>7"
|
||||
|
||||
#define iSTR_JoystickBUTTON81 "BUTTON8"
|
||||
#define iSTR_JoystickBUTTON82 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8"
|
||||
|
||||
#define iSTR_SOCKS5_Proxy1 "SOCKS5 Proxy:"
|
||||
#define iSTR_SOCKS5_Proxy2 "SOCKS5 <20>ப<EFBFBD><E0AEAA>:"
|
||||
|
||||
#define iSTR_SOCKS5_ProxyServer1 "Server:"
|
||||
#define iSTR_SOCKS5_ProxyServer2 "<22><>ࢥ<EFBFBD>:"
|
||||
|
||||
#define iSTR_SOCKS5_ProxyPort1 "Port:"
|
||||
#define iSTR_SOCKS5_ProxyPort2 "<22><><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_Use_Gluek1 "Use Gluek"
|
||||
#define iSTR_Use_Gluek2 "<22>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
// Added...
|
||||
#define iSTR_MaxTime1 "Time:"
|
||||
#define iSTR_MaxTime2 "<22>६<EFBFBD>:"
|
||||
|
||||
#define iSTR_MaxKills1 "Max Kills:"
|
||||
#define iSTR_MaxKills2 "<22><><EFBFBD>ᨬ<EFBFBD><E1A8AC> <20><><EFBFBD><EFBFBD><EFBFBD>:"
|
||||
|
||||
#define iSTR_GameInfo1 "CURRENT GAME"
|
||||
#define iSTR_GameInfo2 "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
||||
|
||||
#define iSTR_CurIP1 "Your IP:"
|
||||
#define iSTR_CurIP2 "<22><><EFBFBD> IP:"
|
||||
|
||||
BIN
data/iscreen/scripts/strings.inc2
Normal file
BIN
data/iscreen/scripts/strings.inc2
Normal file
Binary file not shown.
BIN
data/iscreen/scripts/strings.inc_
Normal file
BIN
data/iscreen/scripts/strings.inc_
Normal file
Binary file not shown.
BIN
data/iscreen/scripts/strings.inc_old
Normal file
BIN
data/iscreen/scripts/strings.inc_old
Normal file
Binary file not shown.
BIN
data/iscreen/scripts/strings.inc_utf8
Normal file
BIN
data/iscreen/scripts/strings.inc_utf8
Normal file
Binary file not shown.
275
data/iscreen/scripts/strings.inc_utf8.save
Normal file
275
data/iscreen/scripts/strings.inc_utf8.save
Normal file
@@ -0,0 +1,275 @@
|
||||
// Please refer to the remarks I've made (seperated by a double-slash //)
|
||||
|
||||
/*
|
||||
iScreen string defines
|
||||
|
||||
English Version:
|
||||
#define <SOMEWORD>1 "..."
|
||||
|
||||
Local Version:
|
||||
#define <SOMEWORD>2 "..."
|
||||
*/
|
||||
|
||||
#define iSTR_LOAD_GAME1 "LOAD GAME"
|
||||
#define iSTR_LOAD_GAME2 "ПРОДОЛЖИТЬ ИГРУ"
|
||||
|
||||
#define iSTR_MULTIPLAYER1 "MULTIPLAYER"
|
||||
#define iSTR_MULTIPLAYER2 "СЕТЕВАЯ ИГРА"
|
||||
|
||||
#define iSTR_NEW_GAME1 "NEW GAME"
|
||||
#define iSTR_NEW_GAME2 "НОВАЯ ИГРА"
|
||||
|
||||
#define iSTR_OPTIONS1 "OPTIONS"
|
||||
#define iSTR_OPTIONS2 "НАСТРОЙКИ"
|
||||
|
||||
#define iSTR_CREDITS1 "CREDITS"
|
||||
#define iSTR_CREDITS2 "АВТОРЫ"
|
||||
|
||||
#define iSTR_EXIT1 "EXIT"
|
||||
#define iSTR_EXIT2 "ВЫХОД"
|
||||
|
||||
#define iSTR_Credits1 "Credits"
|
||||
#define iSTR_Credits2 "О создателях"
|
||||
|
||||
#define iSTR_MAIN_MENU1 "MAIN MENU"
|
||||
#define iSTR_MAIN_MENU2 "ГЛАВНОЕ МЕНЮ"
|
||||
|
||||
#define iSTR_HALL_OF_FAME1 "HALL OF FAME"
|
||||
#define iSTR_HALL_OF_FAME2 "ТАБЛИЦА РЕКОРДОВ"
|
||||
|
||||
#define iSTR_Options1 "Options"
|
||||
#define iSTR_Options2 "Настройки"
|
||||
|
||||
#define iSTR_GRAPHICS1 "GRAPHICS"
|
||||
#define iSTR_GRAPHICS2 "ГРАФИКА"
|
||||
|
||||
#define iSTR_SOUND1 "SOUND"
|
||||
#define iSTR_SOUND2 "ЗВУК"
|
||||
|
||||
#define iSTR_CONTROLS1 "CONTROLS"
|
||||
#define iSTR_CONTROLS2 "УПРАВЛЕНИЕ"
|
||||
|
||||
|
||||
#define iSTR_Graphics_Options1 "Graphics Options"
|
||||
#define iSTR_Graphics_Options2 "Настройка графики"
|
||||
|
||||
#define iSTR_DETAIL1 "MEMORY:"
|
||||
#define iSTR_DETAIL2 "ПАМЯТЬ:"
|
||||
|
||||
#define iSTR_MEM16MB1 "GOOD-16MB"
|
||||
#define iSTR_MEM16MB2 "ХОРОШО - 16 MB"
|
||||
|
||||
#define iSTR_MEM32MB1 "EXCELLENT-32MB"
|
||||
#define iSTR_MEM32MB2 "ОТЛИЧНО - 32 MB"
|
||||
|
||||
#define iSTR_TIPS1 "TIPS:"
|
||||
#define iSTR_TIPS2 "ПОДСКАЗКИ:"
|
||||
|
||||
#define iSTR_ON1 "ON"
|
||||
#define iSTR_ON2 "ДА"
|
||||
|
||||
#define iSTR_OFF1 "OFF"
|
||||
#define iSTR_OFF2 "НЕТ"
|
||||
|
||||
#define iSTR_BACK1 "BACK"
|
||||
#define iSTR_BACK2 "НАЗАД"
|
||||
|
||||
#define iSTR_SCREEN1 "SCREEN:"
|
||||
#define iSTR_SCREEN2 "ЭКРАН:"
|
||||
|
||||
#define iSTR_800x6001 "800x600"
|
||||
#define iSTR_800x6002 "800x600"
|
||||
|
||||
#define iSTR_640x4801 "640x480"
|
||||
#define iSTR_640x4802 "640x480"
|
||||
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE1 "DEFORMABLE LANDSCAPE:"
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE2 "ИЗМЕНЯЕМЫЙ ЛАНДШАФТ:"
|
||||
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES1 "KEEP ALL TERRAIN CHANGES:"
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES2 "ХРАНИТЬ ВСЕ ИЗМЕНЕНИЯ ЛАНДШАФТА:"
|
||||
|
||||
#define iSTR_DISK_SPACE_IN_USE1 "DISK SPACE IN USE: 100 MB"
|
||||
#define iSTR_DISK_SPACE_IN_USE2 "МЕСТА НА ДИСКЕ: 100 MB"
|
||||
|
||||
#define iSTR_CLEAN_UP1 "CLEAN UP!"
|
||||
#define iSTR_CLEAN_UP2 "ОСВОБОДИТЬ!"
|
||||
|
||||
|
||||
#define iSTR_Sound_Options1 "Sound Options"
|
||||
#define iSTR_Sound_Options2 "Настройка звука"
|
||||
|
||||
#define iSTR_SOUND_EFFECTS1 "SOUND EFFECTS"
|
||||
#define iSTR_SOUND_EFFECTS2 "ЗВУКОВЫЕ ЭФФЕКТЫ"
|
||||
|
||||
#define iSTR_MUSIC1 "MUSIC"
|
||||
#define iSTR_MUSIC2 "МУЗЫКА"
|
||||
|
||||
#define iSTR_SOUND_VOLUME1 "SOUND VOLUME"
|
||||
#define iSTR_SOUND_VOLUME2 "ГРОМКОСТЬ ЗВУКА"
|
||||
|
||||
#define iSTR_MUSIC_VOLUME1 "MUSIC VOLUME"
|
||||
#define iSTR_MUSIC_VOLUME2 "ГРОМКОСТЬ МУЗЫКИ"
|
||||
|
||||
#define iSTR_EFFECTS_PANNING1 "EFFECTS PANNING"
|
||||
#define iSTR_EFFECTS_PANNING2 "ЭФФЕКТ ПАНОРАМЫ"
|
||||
|
||||
#define iSTR_ENGINE_NOISE1 "ENGINE NOISE"
|
||||
#define iSTR_ENGINE_NOISE2 "РАБОТА ДВИГАТЕЛЯ"
|
||||
|
||||
#define iSTR_BACKGROUND_SOUND1 "BACKGROUND SOUND"
|
||||
#define iSTR_BACKGROUND_SOUND2 "ФОНОВЫЕ ЗВУКИ"
|
||||
|
||||
#define iSTR_Controls1 "Controls"
|
||||
#define iSTR_Controls2 "Управление"
|
||||
|
||||
#define iSTR_Multiplayer1 "Multiplayer"
|
||||
#define iSTR_Multiplayer2 "Сетевая игра"
|
||||
|
||||
#define iSTR_JOIN_SERVER1 "JOIN SERVER"
|
||||
#define iSTR_JOIN_SERVER2 "НАЙТИ СЕРВЕР"
|
||||
|
||||
#define iSTR_CREATE_SERVER1 "CREATE SERVER"
|
||||
#define iSTR_CREATE_SERVER2 "СОЗДАТЬ СЕРВЕР"
|
||||
|
||||
#define iSTR_PLAYER_SETUP1 "PLAYER SETUP"
|
||||
#define iSTR_PLAYER_SETUP2 "НАСТРОИТЬ ИГРОКА"
|
||||
|
||||
#define iSTR_SERVER_PO// Please refer to the remarks I've made (seperated by a double-slash //)
|
||||
|
||||
/*
|
||||
iScreen string defines
|
||||
|
||||
English Version:
|
||||
#define <SOMEWORD>1 "..."
|
||||
|
||||
Local Version:
|
||||
#define <SOMEWORD>2 "..."
|
||||
*/
|
||||
|
||||
#define iSTR_LOAD_GAME1 "LOAD GAME"
|
||||
#define iSTR_LOAD_GAME2 "ПРОДОЛЖИТЬ ИГРУ"
|
||||
|
||||
#define iSTR_MULTIPLAYER1 "MULTIPLAYER"
|
||||
#define iSTR_MULTIPLAYER2 "СЕТЕВАЯ ИГРА"
|
||||
|
||||
#define iSTR_NEW_GAME1 "NEW GAME"
|
||||
#define iSTR_NEW_GAME2 "НОВАЯ ИГРА"
|
||||
|
||||
#define iSTR_OPTIONS1 "OPTIONS"
|
||||
#define iSTR_OPTIONS2 "НАСТРОЙКИ"
|
||||
|
||||
#define iSTR_CREDITS1 "CREDITS"
|
||||
#define iSTR_CREDITS2 "АВТОРЫ"
|
||||
|
||||
#define iSTR_EXIT1 "EXIT"
|
||||
#define iSTR_EXIT2 "ВЫХОД"
|
||||
|
||||
#define iSTR_Credits1 "Credits"
|
||||
#define iSTR_Credits2 "О создателях"
|
||||
|
||||
#define iSTR_MAIN_MENU1 "MAIN MENU"
|
||||
#define iSTR_MAIN_MENU2 "ГЛАВНОЕ МЕНЮ"
|
||||
|
||||
#define iSTR_HALL_OF_FAME1 "HALL OF FAME"
|
||||
#define iSTR_HALL_OF_FAME2 "ТАБЛИЦА РЕКОРДОВ"
|
||||
|
||||
#define iSTR_Options1 "Options"
|
||||
#define iSTR_Options2 "Настройки"
|
||||
|
||||
#define iSTR_GRAPHICS1 "GRAPHICS"
|
||||
#define iSTR_GRAPHICS2 "ГРАФИКА"
|
||||
|
||||
#define iSTR_SOUND1 "SOUND"
|
||||
#define iSTR_SOUND2 "ЗВУК"
|
||||
|
||||
#define iSTR_CONTROLS1 "CONTROLS"
|
||||
#define iSTR_CONTROLS2 "УПРАВЛЕНИЕ"
|
||||
|
||||
|
||||
#define iSTR_Graphics_Options1 "Graphics Options"
|
||||
#define iSTR_Graphics_Options2 "Настройка графики"
|
||||
|
||||
#define iSTR_DETAIL1 "MEMORY:"
|
||||
#define iSTR_DETAIL2 "ПАМЯТЬ:"
|
||||
|
||||
#define iSTR_MEM16MB1 "GOOD-16MB"
|
||||
#define iSTR_MEM16MB2 "ХОРОШО - 16 MB"
|
||||
|
||||
#define iSTR_MEM32MB1 "EXCELLENT-32MB"
|
||||
#define iSTR_MEM32MB2 "ОТЛИЧНО - 32 MB"
|
||||
|
||||
#define iSTR_TIPS1 "TIPS:"
|
||||
#define iSTR_TIPS2 "ПОДСКАЗКИ:"
|
||||
|
||||
#define iSTR_ON1 "ON"
|
||||
#define iSTR_ON2 "ДА"
|
||||
|
||||
#define iSTR_OFF1 "OFF"
|
||||
#define iSTR_OFF2 "НЕТ"
|
||||
|
||||
#define iSTR_BACK1 "BACK"
|
||||
#define iSTR_BACK2 "НАЗАД"
|
||||
|
||||
#define iSTR_SCREEN1 "SCREEN:"
|
||||
#define iSTR_SCREEN2 "ЭКРАН:"
|
||||
|
||||
#define iSTR_800x6001 "800x600"
|
||||
#define iSTR_800x6002 "800x600"
|
||||
|
||||
#define iSTR_640x4801 "640x480"
|
||||
#define iSTR_640x4802 "640x480"
|
||||
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE1 "DEFORMABLE LANDSCAPE:"
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE2 "ИЗМЕНЯЕМЫЙ ЛАНДШАФТ:"
|
||||
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES1 "KEEP ALL TERRAIN CHANGES:"
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES2 "ХРАНИТЬ ВСЕ ИЗМЕНЕНИЯ ЛАНДШАФТА:"
|
||||
|
||||
#define iSTR_DISK_SPACE_IN_USE1 "DISK SPACE IN USE: 100 MB"
|
||||
#define iSTR_DISK_SPACE_IN_USE2 "МЕСТА НА ДИСКЕ: 100 MB"
|
||||
|
||||
#define iSTR_CLEAN_UP1 "CLEAN UP!"
|
||||
#define iSTR_CLEAN_UP2 "ОСВОБОДИТЬ!"
|
||||
|
||||
|
||||
#define iSTR_Sound_Options1 "Sound Options"
|
||||
#define iSTR_Sound_Options2 "Настройка звука"
|
||||
|
||||
#define iSTR_SOUND_EFFECTS1 "SOUND EFFECTS"
|
||||
#define iSTR_SOUND_EFFECTS2 "ЗВУКОВЫЕ ЭФФЕКТЫ"
|
||||
|
||||
#define iSTR_MUSIC1 "MUSIC"
|
||||
#define iSTR_MUSIC2 "МУЗЫКА"
|
||||
|
||||
#define iSTR_SOUND_VOLUME1 "SOUND VOLUME"
|
||||
#define iSTR_SOUND_VOLUME2 "ГРОМКОСТЬ ЗВУКА"
|
||||
|
||||
#define iSTR_MUSIC_VOLUME1 "MUSIC VOLUME"
|
||||
#define iSTR_MUSIC_VOLUME2 "ГРОМКОСТЬ МУЗЫКИ"
|
||||
|
||||
#define iSTR_EFFECTS_PANNING1 "EFFECTS PANNING"
|
||||
#define iSTR_EFFECTS_PANNING2 "ЭФФЕКТ ПАНОРАМЫ"
|
||||
|
||||
#define iSTR_ENGINE_NOISE1 "ENGINE NOISE"
|
||||
#define iSTR_ENGINE_NOISE2 "РАБОТА ДВИГАТЕЛЯ"
|
||||
|
||||
#define iSTR_BACKGROUND_SOUND1 "BACKGROUND SOUND"
|
||||
#define iSTR_BACKGROUND_SOUND2 "ФОНОВЫЕ ЗВУКИ"
|
||||
|
||||
#define iSTR_Controls1 "Controls"
|
||||
#define iSTR_Controls2 "Управление"
|
||||
|
||||
#define iSTR_Multiplayer1 "Multiplayer"
|
||||
#define iSTR_Multiplayer2 "Сетевая игра"
|
||||
|
||||
#define iSTR_JOIN_SERVER1 "JOIN SERVER"
|
||||
#define iSTR_JOIN_SERVER2 "НАЙТИ СЕРВЕР"
|
||||
|
||||
#define iSTR_CREATE_SERVER1 "CREATE SERVER"
|
||||
#define iSTR_CREATE_SERVER2 "СОЗДАТЬ СЕРВЕР"
|
||||
|
||||
#define iSTR_PLAYER_SETUP1 "PLAYER SETUP"
|
||||
#define iSTR_PLAYER_SETUP2 "НАСТРОИТЬ ИГРОКА"
|
||||
|
||||
#define iSTR_SERVER_PO
|
||||
BIN
data/iscreen/scripts/strings.inc_utf8.save.1
Normal file
BIN
data/iscreen/scripts/strings.inc_utf8.save.1
Normal file
Binary file not shown.
585
data/iscreen/scripts/strings.inc_utf8_2
Normal file
585
data/iscreen/scripts/strings.inc_utf8_2
Normal file
@@ -0,0 +1,585 @@
|
||||
// Please refer to the remarks I've made (seperated by a double-slash //)
|
||||
|
||||
/*
|
||||
iScreen string defines
|
||||
|
||||
English Version:
|
||||
#define <SOMEWORD>1 "..."
|
||||
|
||||
Local Version:
|
||||
#define <SOMEWORD>2 "..."
|
||||
*/
|
||||
|
||||
#define iSTR_LOAD_GAME1 "LOAD GAME"
|
||||
#define iSTR_LOAD_GAME2 "ПРОДОЛЖИТЬ ИГРУ"
|
||||
|
||||
#define iSTR_MULTIPLAYER1 "MULTIPLAYER"
|
||||
#define iSTR_MULTIPLAYER2 "СЕТЕВАЯ ИГРА"
|
||||
|
||||
#define iSTR_NEW_GAME1 "NEW GAME"
|
||||
#define iSTR_NEW_GAME2 "НОВАЯ ИГРА"
|
||||
|
||||
#define iSTR_OPTIONS1 "OPTIONS"
|
||||
#define iSTR_OPTIONS2 "НАСТРОЙКИ"
|
||||
|
||||
#define iSTR_CREDITS1 "CREDITS"
|
||||
#define iSTR_CREDITS2 "О СОЗДАТЕЛЯХ"
|
||||
|
||||
#define iSTR_EXIT1 "EXIT"
|
||||
#define iSTR_EXIT2 "ВЫХОД"
|
||||
|
||||
#define iSTR_Credits1 "Credits"
|
||||
#define iSTR_Credits2 "О создателях"
|
||||
|
||||
#define iSTR_MAIN_MENU1 "MAIN MENU"
|
||||
#define iSTR_MAIN_MENU2 "ГЛАВНОЕ МЕНЮ"
|
||||
|
||||
#define iSTR_HALL_OF_FAME1 "HALL OF FAME"
|
||||
#define iSTR_HALL_OF_FAME2 "Рекорды"
|
||||
|
||||
#define iSTR_Options1 "Options"
|
||||
#define iSTR_Options2 "Настройки"
|
||||
|
||||
#define iSTR_GRAPHICS1 "GRAPHICS"
|
||||
#define iSTR_GRAPHICS2 "ГРАФИКА"
|
||||
|
||||
#define iSTR_SOUND1 "SOUND"
|
||||
#define iSTR_SOUND2 "ЗВУК"
|
||||
|
||||
#define iSTR_CONTROLS1 "CONTROLS"
|
||||
#define iSTR_CONTROLS2 "УПРАВЛЕНИЕ"
|
||||
|
||||
|
||||
#define iSTR_Graphics_Options1 "Graphics Options"
|
||||
#define iSTR_Graphics_Options2 "Настройка графики"
|
||||
|
||||
#define iSTR_DETAIL1 "MEMORY:"
|
||||
#define iSTR_DETAIL2 "ПАМЯТЬ:"
|
||||
|
||||
#define iSTR_MEM16MB1 "GOOD-16MB"
|
||||
#define iSTR_MEM16MB2 "ХОРОШО - 16 MB"
|
||||
|
||||
#define iSTR_MEM32MB1 "EXCELLENT-32MB"
|
||||
#define iSTR_MEM32MB2 "ОТЛИЧНО - 32 MB"
|
||||
|
||||
#define iSTR_TIPS1 "TIPS:"
|
||||
#define iSTR_TIPS2 "ПОДСКАЗКИ:"
|
||||
|
||||
#define iSTR_ON1 "ON"
|
||||
#define iSTR_ON2 "ДА"
|
||||
|
||||
#define iSTR_OFF1 "OFF"
|
||||
#define iSTR_OFF2 "НЕТ"
|
||||
|
||||
#define iSTR_BACK1 "BACK"
|
||||
#define iSTR_BACK2 "НАЗАД"
|
||||
|
||||
#define iSTR_SCREEN1 "SCREEN:"
|
||||
#define iSTR_SCREEN2 "ЭКРАН:"
|
||||
|
||||
#define iSTR_800x6001 "800x600"
|
||||
#define iSTR_800x6002 "800x600"
|
||||
|
||||
#define iSTR_640x4801 "640x480"
|
||||
#define iSTR_640x4802 "640x480"
|
||||
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE1 "DEFORMABLE LANDSCAPE:"
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE2 "ИЗМЕНЯЕМЫЙ ЛАНДШАФТ:"
|
||||
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES1 "KEEP ALL TERRAIN CHANGES:"
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES2 "ХРАНИТЬ ВСЕ ИЗМЕНЕНИЯ ЛАНДШАФТА:"
|
||||
|
||||
#define iSTR_DISK_SPACE_IN_USE1 "DISK SPACE IN USE: 100 MB"
|
||||
#define iSTR_DISK_SPACE_IN_USE2 "МЕСТА НА ДИСКЕ: 100 MB"
|
||||
|
||||
#define iSTR_CLEAN_UP1 "CLEAN UP!"
|
||||
#define iSTR_CLEAN_UP2 "ОСВОБОДИТЬ!"
|
||||
|
||||
|
||||
#define iSTR_Sound_Options1 "Sound Options"
|
||||
#define iSTR_Sound_Options2 "Настройка звука"
|
||||
|
||||
#define iSTR_SOUND_EFFECTS1 "SOUND EFFECTS"
|
||||
#define iSTR_SOUND_EFFECTS2 "ЗВУКОВЫЕ ЭФФЕКТЫ"
|
||||
|
||||
#define iSTR_MUSIC1 "MUSIC"
|
||||
#define iSTR_MUSIC2 "МУЗЫКА"
|
||||
|
||||
#define iSTR_SOUND_VOLUME1 "SOUND VOLUME"
|
||||
#define iSTR_SOUND_VOLUME2 "ГРОМКОСТЬ ЗВУКА"
|
||||
|
||||
#define iSTR_MUSIC_VOLUME1 "MUSIC VOLUME"
|
||||
#define iSTR_MUSIC_VOLUME2 "ГРОМКОСТЬ МУЗЫКИ"
|
||||
|
||||
#define iSTR_EFFECTS_PANNING1 "EFFECTS PANNING"
|
||||
#define iSTR_EFFECTS_PANNING2 "ЭФФЕКТ ПАНОРАМЫ"
|
||||
|
||||
#define iSTR_ENGINE_NOISE1 "ENGINE NOISE"
|
||||
#define iSTR_ENGINE_NOISE2 "РАБОТА ДВИГАТЕЛЯ"
|
||||
|
||||
#define iSTR_BACKGROUND_SOUND1 "BACKGROUND SOUND"
|
||||
#define iSTR_BACKGROUND_SOUND2 "ФОНОВЫЕ ЗВУКИ"
|
||||
|
||||
#define iSTR_Controls1 "Controls"
|
||||
#define iSTR_Controls2 "Управление"
|
||||
|
||||
#define iSTR_Multiplayer1 "Multiplayer"
|
||||
#define iSTR_Multiplayer2 "Сетевая игра"
|
||||
|
||||
#define iSTR_JOIN_SERVER1 "JOIN SERVER"
|
||||
#define iSTR_JOIN_SERVER2 "НАЙТИ СЕРВЕР"
|
||||
|
||||
#define iSTR_CREATE_SERVER1 "CREATE SERVER"
|
||||
#define iSTR_CREATE_SERVER2 "СОЗДАТЬ СЕРВЕР"
|
||||
|
||||
#define iSTR_PLAYER_SETUP1 "PLAYER SETUP"
|
||||
#define iSTR_PLAYER_SETUP2 "НАСТРОЙКИ ИГРОКА"
|
||||
|
||||
#define iSTR_SERVER_PORT1 "SET SERVER PORT"
|
||||
#define iSTR_SERVER_PORT2 "ПОРТ СЕРВЕРА"
|
||||
|
||||
#define iSTR_Default1 "RESTORE"
|
||||
#define iSTR_Default2 "ВОССТАНОВИТЬ"
|
||||
|
||||
#define iSTR_Server_Port1 "Server Port:"
|
||||
#define iSTR_Server_Port2 "Порт сервера:"
|
||||
|
||||
#define iSTR_Join_Server1 "Join Server"
|
||||
#define iSTR_Join_Server2 "Где искать сервер?"
|
||||
|
||||
|
||||
#define iSTR_LAN1 "LAN"
|
||||
#define iSTR_LAN2 "ЛОКАЛЬНАЯ СЕТЬ"
|
||||
|
||||
#define iSTR_INTERNET1 "INTERNET"
|
||||
#define iSTR_INTERNET2 "ИНТЕРНЕТ"
|
||||
|
||||
#define iSTR_CANT_CREATE1 "Can't create server..."
|
||||
#define iSTR_CANT_CREATE2 "Невозможно создать сервер..."
|
||||
|
||||
|
||||
#define iSTR_LAN_Servers1 "LAN Servers"
|
||||
#define iSTR_LAN_Servers2 "Локальные сервера"
|
||||
|
||||
#define iSTR_UP1 "UP"
|
||||
#define iSTR_UP2 "ВВЕРХ"
|
||||
|
||||
#define iSTR_DOWN1 "DOWN"
|
||||
#define iSTR_DOWN2 "ВНИЗ"
|
||||
|
||||
#define iSTR_Update_List1 "Update List"
|
||||
#define iSTR_Update_List2 "Обновить список"
|
||||
|
||||
#define iSTR_Searching_Servers1 "Searching Servers"
|
||||
#define iSTR_Searching_Servers2 "Поиск Серверов"
|
||||
|
||||
#define iSTR_Please_wait1 "Please wait"
|
||||
#define iSTR_Please_wait2 "Ждите"
|
||||
|
||||
|
||||
#define iSTR_Player_Settings1 "Player Settings"
|
||||
#define iSTR_Player_Settings2 "Настройки Игрока"
|
||||
|
||||
#define iSTR_NAME01 "NAME"
|
||||
#define iSTR_NAME02 "ИМЯ"
|
||||
|
||||
#define iSTR_COLOR1 "COLOR"
|
||||
#define iSTR_COLOR2 "ЦВЕТ"
|
||||
|
||||
#define iSTR_YELLOW1 "YELLOW"
|
||||
#define iSTR_YELLOW2 "ЖЁЛТЫЙ"
|
||||
|
||||
#define iSTR_ORANGE1 "ORANGE"
|
||||
#define iSTR_ORANGE2 "ОРАНЖЕВЫЙ"
|
||||
|
||||
#define iSTR_BLUE1 "BLUE"
|
||||
#define iSTR_BLUE2 "СИНИЙ"
|
||||
|
||||
#define iSTR_GREEN1 "GREEN"
|
||||
#define iSTR_GREEN2 "ЗЕЛЕНЫЙ"
|
||||
|
||||
|
||||
#define iSTR_Connection_failed1 "Connection failed"
|
||||
#define iSTR_Connection_failed2 "Сбой подключения"
|
||||
|
||||
#define iSTR_OK1 "OK"
|
||||
#define iSTR_OK2 "OK"
|
||||
|
||||
#define iSTR_CANCEL1 "CANCEL"
|
||||
#define iSTR_CANCEL2 "ОТМЕНА"
|
||||
|
||||
#define iSTR_MORE1 "MORE"
|
||||
#define iSTR_MORE2 "ДАЛЬШЕ"
|
||||
|
||||
#define iSTR_Customize_keyboard1 "Customize keyboard"
|
||||
#define iSTR_Customize_keyboard2 "Подстройка клавиш"
|
||||
|
||||
#define iSTR_RESTORE_ALL1 "RESTORE ALL"
|
||||
#define iSTR_RESTORE_ALL2 "ВОССТАНОВИТЬ ВСЕ"
|
||||
|
||||
|
||||
#define iSTR_SELECT_GAME1 "SELECT GAME"
|
||||
#define iSTR_SELECT_GAME2 "Список Доступных Игр"
|
||||
|
||||
#define iSTR_Nascency1 "Nascency:"
|
||||
#define iSTR_Nascency2 "Рождение:"
|
||||
|
||||
#define iSTR_Any_World1 "Any World"
|
||||
#define iSTR_Any_World2 "Любой мир"
|
||||
|
||||
#define iSTR_Fostral1 "Fostral"
|
||||
#define iSTR_Fostral2 "Фострал"
|
||||
|
||||
#define iSTR_Glorx1 "Glorx"
|
||||
#define iSTR_Glorx2 "Глоркс"
|
||||
|
||||
#define iSTR_Necross1 "Necross"
|
||||
#define iSTR_Necross2 "Некросс"
|
||||
|
||||
#define iSTR_Team_Mode1 "Team Mode:"
|
||||
#define iSTR_Team_Mode2 "Командная Игра:"
|
||||
|
||||
#define iSTR_Access1 "Access:"
|
||||
#define iSTR_Access2 "Доступ:"
|
||||
|
||||
#define iSTR_All_Worlds1 "All Worlds"
|
||||
#define iSTR_All_Worlds2 "Все Миры"
|
||||
|
||||
#define iSTR_One_World1 "One World"
|
||||
#define iSTR_One_World2 "Один Мир"
|
||||
|
||||
#define iSTR_World1 "World:"
|
||||
#define iSTR_World2 "Мир:"
|
||||
|
||||
#define iSTR_Nymbos1 "Nymbos"
|
||||
#define iSTR_Nymbos2 "Нимбос"
|
||||
|
||||
#define iSTR_Heroin1 "Valorin"
|
||||
#define iSTR_Heroin2 "Героин"
|
||||
|
||||
#define iSTR_Toxick1 "Toxick"
|
||||
#define iSTR_Toxick2 "Токсик"
|
||||
|
||||
#define iSTR_Phlegma1 "Phlegma"
|
||||
#define iSTR_Phlegma2 "Флегма"
|
||||
|
||||
#define iSTR_Shrub1 "Shrub"
|
||||
#define iSTR_Shrub2 "Куст"
|
||||
|
||||
#define iSTR_Poponka1 "Poponka"
|
||||
#define iSTR_Poponka2 "Попонка"
|
||||
|
||||
#define iSTR_One_at_a_time1 "One at a time:"
|
||||
#define iSTR_One_at_a_time2 "Сколько штук за раз:"
|
||||
|
||||
#define iSTR_Checkpoints_Number1 "Checkpoints Number:"
|
||||
#define iSTR_Checkpoints_Number2 "Число этапов:"
|
||||
|
||||
#define iSTR_Unique_Mechos1 "Unique Mechos:"
|
||||
#define iSTR_Unique_Mechos2 "Уникальные Мехосы:"
|
||||
|
||||
#define iSTR_Last_Moggy1 "Last Moggy"
|
||||
#define iSTR_Last_Moggy2 "Последний из Могикан"
|
||||
|
||||
#define iSTR_Queen_Frog1 "Queen Frog"
|
||||
#define iSTR_Queen_Frog2 "Жаба"
|
||||
|
||||
#define iSTR_Sandoll1 "Sandoll"
|
||||
#define iSTR_Sandoll2 "Песколаз"
|
||||
|
||||
#define iSTR_Lawn_Mower1 "Lawn Mower"
|
||||
#define iSTR_Lawn_Mower2 "Винтокрыл"
|
||||
|
||||
#define iSTR_Wormaster1 "Wormaster"
|
||||
#define iSTR_Wormaster2 "Червонец"
|
||||
|
||||
|
||||
#define iSTR_IDENTIFICATION1 "IDENTIFICATION"
|
||||
#define iSTR_IDENTIFICATION2 "ИДЕНТИФИКАЦИЯ"
|
||||
|
||||
#define iSTR_PASSWORD1 "PASSWORD"
|
||||
#define iSTR_PASSWORD2 "ПАРОЛЬ"
|
||||
|
||||
#define iSTR_DISCONNECT1 "DISCONNECT"
|
||||
#define iSTR_DISCONNECT2 "ОТСОЕДИНИТЬСЯ"
|
||||
|
||||
#define iSTR_Server_Configuration1 "Server Configuration"
|
||||
#define iSTR_Server_Configuration2 "Конфигурация Сервера"
|
||||
|
||||
#define iSTR_NAME21 "NAME:"
|
||||
#define iSTR_NAME22 "ИМЯ:"
|
||||
|
||||
#define iSTR_GAME1 "GAME:"
|
||||
#define iSTR_GAME2 "ИГРА:"
|
||||
|
||||
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY1 "THE SERVER HAS ALREADY"
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY2 "ПРОСТИТЕ, НО СЕРВЕР"
|
||||
|
||||
#define iSTR_BEEN_CONFIGURED_BY1 "BEEN CONFIGURED BY"
|
||||
#define iSTR_BEEN_CONFIGURED_BY2 "УЖЕ СКОНФИГУРИРОВАН"
|
||||
|
||||
#define iSTR_ANOTHER_PLAYER1 "ANOTHER PLAYER!"
|
||||
#define iSTR_ANOTHER_PLAYER2 "ДРУГИМ ИГРОКОМ!"
|
||||
|
||||
#define iSTR_Server_Info1 "Server Info"
|
||||
#define iSTR_Server_Info2 "Текущая Игра"
|
||||
|
||||
#define iSTR_CHAT1 "CHAT"
|
||||
#define iSTR_CHAT2 "ЧАТ"
|
||||
|
||||
#define iSTR_START1 "START!"
|
||||
#define iSTR_START2 "ВПЕРЕД!"
|
||||
|
||||
|
||||
#define iSTR_Chat_Room1 "Chat Room"
|
||||
#define iSTR_Chat_Room2 "Чат"
|
||||
|
||||
#define iSTR_SERVER_INFO1 "SERVER INFO"
|
||||
#define iSTR_SERVER_INFO2 "ТЕКУЩАЯ ИГРА"
|
||||
|
||||
|
||||
#define iSTR_HOST_NAME1 "HOST NAME:"
|
||||
#define iSTR_HOST_NAME2 "ИМЯ СЕРВЕРА:"
|
||||
|
||||
#define iSTR_Internet_Servers1 "Internet Servers"
|
||||
#define iSTR_Internet_Servers2 "Серверы Интернет"
|
||||
|
||||
|
||||
#define iSTR_Game_Results1 "Game Results"
|
||||
#define iSTR_Game_Results2 "Результаты Игры"
|
||||
|
||||
#define iSTR_GAME_PARAMETERS1 "GAME PARAMETERS"
|
||||
#define iSTR_GAME_PARAMETERS2 "ПАРАМЕТРЫ ИГРЫ"
|
||||
|
||||
|
||||
#define iSTR_Initial_Cash1 "Initial Cash:"
|
||||
#define iSTR_Initial_Cash2 "Начальный капитал:"
|
||||
|
||||
#define iSTR_Artefacts_Using1 "Artefacts Using:"
|
||||
#define iSTR_Artefacts_Using2 "Использование Артефактов:"
|
||||
|
||||
|
||||
#define iSTR_YES1 "YES"
|
||||
#define iSTR_YES2 "ДА"
|
||||
|
||||
#define iSTR_NO1 "NO"
|
||||
#define iSTR_NO2 "НЕТ"
|
||||
|
||||
|
||||
#define iSTR_In_Escave_Time1 "In-Escave Time:"
|
||||
#define iSTR_In_Escave_Time2 "Пребывание в эскейве:"
|
||||
|
||||
#define iSTR_min1 "min"
|
||||
#define iSTR_min2 "мин"
|
||||
|
||||
|
||||
#define iSTR_ACHTUNG1 "ACHTUNG"
|
||||
#define iSTR_ACHTUNG2 "ВНИМАНИЕ"
|
||||
|
||||
#define iSTR_VANGERS_APPROACHING1 "VANGERS APPROACHING"
|
||||
#define iSTR_VANGERS_APPROACHING2 "СОЕДИНЯЕМ С ВАШИМ ВАНГЕРОМ"
|
||||
|
||||
|
||||
#define iSTR_Genesis1 "Genesis"
|
||||
#define iSTR_Genesis2 "Генезис"
|
||||
|
||||
|
||||
#define iSTR_Prehistory1 "Prehistory"
|
||||
#define iSTR_Prehistory2 "Предыстория"
|
||||
|
||||
#define iSTR_Present1 "Present"
|
||||
#define iSTR_Present2 "Настоящее"
|
||||
|
||||
|
||||
#define iSTR_Turn_wheels_left1 "Turn wheels left"
|
||||
#define iSTR_Turn_wheels_left2 "Поворот колёс влево"
|
||||
|
||||
#define iSTR_Turn_wheels_right1 "Turn wheels right"
|
||||
#define iSTR_Turn_wheels_right2 " Поворот колёс вправо "
|
||||
|
||||
#define iSTR_Move_forward1 "Move forward"
|
||||
#define iSTR_Move_forward2 "Вперёд"
|
||||
|
||||
#define iSTR_Move_backward1 "Move backward"
|
||||
#define iSTR_Move_backward2 "Назад"
|
||||
|
||||
#define iSTR_Acceleration1 "Acceleration"
|
||||
#define iSTR_Acceleration2 "Ускорение"
|
||||
|
||||
#define iSTR_Handbrake1 "Handbrake"
|
||||
#define iSTR_Handbrake2 "Ручной тормоз"
|
||||
|
||||
#define iSTR_Turn_over_left1 "Turn over left"
|
||||
#define iSTR_Turn_over_left2 "Переворот влево"
|
||||
|
||||
#define iSTR_Turn_over_right1 "Turn over right"
|
||||
#define iSTR_Turn_over_right2 "Переворот вправо"
|
||||
|
||||
#define iSTR_Activate_KiD1 "Activate KiD"
|
||||
#define iSTR_Activate_KiD2 "Активация пружины"
|
||||
|
||||
#define iSTR_Open1 "Open"
|
||||
#define iSTR_Open2 "Открыть"
|
||||
|
||||
#define iSTR_Turn_device_ON1 "Turn device UP"
|
||||
#define iSTR_Turn_device_ON2 " Прибор ВВЕРХ "
|
||||
|
||||
#define iSTR_Turn_device_OFF1 "Turn device DOWN"
|
||||
#define iSTR_Turn_device_OFF2 "Прибор ВНИЗ"
|
||||
|
||||
#define iSTR_Inventory_ON_OFF1 "Inventory"
|
||||
#define iSTR_Inventory_ON_OFF2 "Показать трюм"
|
||||
|
||||
#define iSTR_Change_target1 "Change target"
|
||||
#define iSTR_Change_target2 "Переключить цель"
|
||||
|
||||
#define iSTR_Fire_all_weapons1 "Fire all weapons"
|
||||
#define iSTR_Fire_all_weapons2 "Огонь из всего оружия"
|
||||
|
||||
#define iSTR_Fire_weapon_11 "Fire weapon 1"
|
||||
#define iSTR_Fire_weapon_12 " Огонь из оружия 1"
|
||||
|
||||
#define iSTR_Fire_weapon_21 "Fire weapon 2"
|
||||
#define iSTR_Fire_weapon_22 " Огонь из оружия 1"
|
||||
|
||||
#define iSTR_Fire_weapon_31 "Fire weapon 3"
|
||||
#define iSTR_Fire_weapon_32 " Огонь из оружия 1"
|
||||
|
||||
#define iSTR_Fire_weapon_41 "Terminator release"
|
||||
#define iSTR_Fire_weapon_42 "Запуск терминатора"
|
||||
|
||||
#define iSTR_Full_screen1 "Full screen"
|
||||
#define iSTR_Full_screen2 "Полный экран"
|
||||
|
||||
#define iSTR_Reduce_view1 "Reduce view"
|
||||
#define iSTR_Reduce_view2 "Уменьшить обзор"
|
||||
|
||||
#define iSTR_Enlarge_view1 "Enlarge view"
|
||||
#define iSTR_Enlarge_view2 "Увеличить обзор"
|
||||
|
||||
#define iSTR_Rotation1 "Rotation"
|
||||
#define iSTR_Rotation2 "Вращение"
|
||||
|
||||
#define iSTR_Auto_tilt1 "Auto tilt"
|
||||
#define iSTR_Auto_tilt2 "Авто наклон"
|
||||
|
||||
#define iSTR_Auto_zoom1 "Auto zoom"
|
||||
#define iSTR_Auto_zoom2 "Авто масштаб"
|
||||
|
||||
#define iSTR_Zoom_in1 "Zoom in"
|
||||
#define iSTR_Zoom_in2 "Приблизить камеру"
|
||||
|
||||
#define iSTR_Zoom_out1 "Zoom out"
|
||||
#define iSTR_Zoom_out2 "Удалить камеру"
|
||||
|
||||
#define iSTR_Standard_zoom1 "Standard zoom"
|
||||
#define iSTR_Standard_zoom2 "Масштаб 1:1"
|
||||
|
||||
#define iSTR_SkipText1 "Next text part"
|
||||
#define iSTR_SkipText2 "Следующая часть текста"
|
||||
|
||||
#define iSTR_UseVector1 "Activate Vector"
|
||||
#define iSTR_UseVector2 "Включить Вектор"
|
||||
|
||||
#define iSTR_ExitGame1 "Exit game"
|
||||
#define iSTR_ExitGame2 "Выход из игры"
|
||||
|
||||
#define iSTR_ChatON1 "Chat"
|
||||
#define iSTR_ChatON2 "Чат"
|
||||
|
||||
#define iSTR_Statistics1 "Game statistics"
|
||||
#define iSTR_Statistics2 "Статистика игры"
|
||||
|
||||
#define iSTR_VAN_WAR1 "VAN-WAR"
|
||||
#define iSTR_VAN_WAR2 "ВАН-ВАР"
|
||||
|
||||
#define iSTR_MECHOSOMA1 "MECHOSOMA"
|
||||
#define iSTR_MECHOSOMA2 "МЕХОСОМА"
|
||||
|
||||
#define iSTR_PASSEMBLOSS1 "PASSEMBLOSS"
|
||||
#define iSTR_PASSEMBLOSS2 "ПАССЕМБЛОС"
|
||||
|
||||
#define iSTR_HUNTAGE1 "HUNTAGE"
|
||||
#define iSTR_HUNTAGE2 "ХАНТЭЙДЖ"
|
||||
|
||||
#define iSTR_MUSTODONT1 "MUSTODONT"
|
||||
#define iSTR_MUSTODONT2 "МАСТОДОНТ"
|
||||
|
||||
#define iSTR_JOYSTICK_SETUP1 "JOYSTICK SETUP"
|
||||
#define iSTR_JOYSTICK_SETUP2 "ПАРАМЕТРЫ ДЖОЙСТИКА"
|
||||
|
||||
#define iSTR_CUSTOMIZE1 "CUSTOMIZE CONTROLS"
|
||||
#define iSTR_CUSTOMIZE2 "НАСТРОЙКИ УПРАЛВЕНИЯ"
|
||||
|
||||
#define iSTR_JoystickSetup1 "Joystick Setup"
|
||||
#define iSTR_JoystickSetup2 "Параметры Джойстика"
|
||||
|
||||
#define iSTR_JoystickType1 "Type:"
|
||||
#define iSTR_JoystickType2 "Тип:"
|
||||
|
||||
#define iSTR_NONE1 "NONE"
|
||||
#define iSTR_NONE2 "НЕТ"
|
||||
|
||||
#define iSTR_JoystickGamePad1 "GamePad"
|
||||
#define iSTR_JoystickGamePad2 "Геймпад"
|
||||
|
||||
#define iSTR_JoystickJoystick1 "Joystick"
|
||||
#define iSTR_JoystickJoystick2 "Джойстик"
|
||||
|
||||
#define iSTR_JoystickSteeringWheel1 "Steering Wheel"
|
||||
#define iSTR_JoystickSteeringWheel2 "Руль"
|
||||
|
||||
#define iSTR_JoystickAlternFnc1 "Handle Alternative Function:"
|
||||
#define iSTR_JoystickAlternFnc2 "Альтернативная функция рукоятки:"
|
||||
|
||||
#define iSTR_JoystickBUTTON11 "BUTTON1"
|
||||
#define iSTR_JoystickBUTTON12 "КНОПКА1"
|
||||
|
||||
#define iSTR_JoystickBUTTON21 "BUTTON2"
|
||||
#define iSTR_JoystickBUTTON22 "КНОПКА2"
|
||||
|
||||
#define iSTR_JoystickBUTTON31 "BUTTON3"
|
||||
#define iSTR_JoystickBUTTON32 "КНОПКА3"
|
||||
|
||||
#define iSTR_JoystickBUTTON41 "BUTTON4"
|
||||
#define iSTR_JoystickBUTTON42 "КНОПКА4"
|
||||
|
||||
#define iSTR_JoystickBUTTON51 "BUTTON5"
|
||||
#define iSTR_JoystickBUTTON52 "КНОПКА5"
|
||||
|
||||
#define iSTR_JoystickBUTTON61 "BUTTON6"
|
||||
#define iSTR_JoystickBUTTON62 "КНОПКА6"
|
||||
|
||||
#define iSTR_JoystickBUTTON71 "BUTTON7"
|
||||
#define iSTR_JoystickBUTTON72 "КНОПКА7"
|
||||
|
||||
#define iSTR_JoystickBUTTON81 "BUTTON8"
|
||||
#define iSTR_JoystickBUTTON82 "КНОПКА8"
|
||||
|
||||
#define iSTR_SOCKS5_Proxy1 "SOCKS5 Proxy:"
|
||||
#define iSTR_SOCKS5_Proxy2 "SOCKS5 Прокси:"
|
||||
|
||||
#define iSTR_SOCKS5_ProxyServer1 "Server:"
|
||||
#define iSTR_SOCKS5_ProxyServer2 "Сервер:"
|
||||
|
||||
#define iSTR_SOCKS5_ProxyPort1 "Port:"
|
||||
#define iSTR_SOCKS5_ProxyPort2 "Порт:"
|
||||
|
||||
#define iSTR_Use_Gluek1 "Use Gluek"
|
||||
#define iSTR_Use_Gluek2 "Использовать Глюк"
|
||||
|
||||
// Added...
|
||||
#define iSTR_MaxTime1 "Time:"
|
||||
#define iSTR_MaxTime2 "Время:"
|
||||
|
||||
#define iSTR_MaxKills1 "Max Kills:"
|
||||
#define iSTR_MaxKills2 "Максимум побед:"
|
||||
|
||||
#define iSTR_GameInfo1 "CURRENT GAME"
|
||||
#define iSTR_GameInfo2 "ТЕКУЩАЯ ИГРА"
|
||||
|
||||
#define iSTR_CurIP1 "Your IP:"
|
||||
#define iSTR_CurIP2 "Ваш IP:"
|
||||
|
||||
|
||||
237
data/iscreen/scripts/strings1.inc
Normal file
237
data/iscreen/scripts/strings1.inc
Normal file
@@ -0,0 +1,237 @@
|
||||
|
||||
#define iSTR_LOAD_GAME $iSTR_LOAD_GAME1
|
||||
#define iSTR_MULTIPLAYER $iSTR_MULTIPLAYER1
|
||||
#define iSTR_NEW_GAME $iSTR_NEW_GAME1
|
||||
#define iSTR_OPTIONS $iSTR_OPTIONS1
|
||||
#define iSTR_CREDITS $iSTR_CREDITS1
|
||||
#define iSTR_EXIT $iSTR_EXIT1
|
||||
#define iSTR_Credits $iSTR_Credits1
|
||||
#define iSTR_MAIN_MENU $iSTR_MAIN_MENU1
|
||||
#define iSTR_HALL_OF_FAME $iSTR_HALL_OF_FAME1
|
||||
|
||||
#define iSTR_Options $iSTR_Options1
|
||||
#define iSTR_GRAPHICS $iSTR_GRAPHICS1
|
||||
#define iSTR_SOUND $iSTR_SOUND1
|
||||
#define iSTR_CONTROLS $iSTR_CONTROLS1
|
||||
|
||||
#define iSTR_Graphics_Options $iSTR_Graphics_Options1
|
||||
#define iSTR_DETAIL $iSTR_DETAIL1
|
||||
#define iSTR_MEM16MB $iSTR_MEM16MB1
|
||||
#define iSTR_MEM32MB $iSTR_MEM32MB1
|
||||
#define iSTR_TIPS $iSTR_TIPS1
|
||||
|
||||
#define iSTR_ON $iSTR_ON1
|
||||
#define iSTR_OFF $iSTR_OFF1
|
||||
#define iSTR_BACK $iSTR_BACK1
|
||||
#define iSTR_SCREEN $iSTR_SCREEN1
|
||||
#define iSTR_800x600 $iSTR_800x6001
|
||||
#define iSTR_640x480 $iSTR_640x4801
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE $iSTR_DEFORMABLE_LANDSCAPE1
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES $iSTR_KEEP_ALL_TERRAIN_CHANGES1
|
||||
#define iSTR_FULL_SCREEN $iSTR_FULL_SCREEN1
|
||||
#define iSTR_DISK_SPACE_IN_USE $iSTR_DISK_SPACE_IN_USE1
|
||||
#define iSTR_CLEAN_UP $iSTR_CLEAN_UP1
|
||||
|
||||
#define iSTR_Sound_Options $iSTR_Sound_Options1
|
||||
#define iSTR_SOUND_EFFECTS $iSTR_SOUND_EFFECTS1
|
||||
#define iSTR_MUSIC $iSTR_MUSIC1
|
||||
#define iSTR_SOUND_VOLUME $iSTR_SOUND_VOLUME1
|
||||
#define iSTR_MUSIC_VOLUME $iSTR_MUSIC_VOLUME1
|
||||
#define iSTR_EFFECTS_PANNING $iSTR_EFFECTS_PANNING1
|
||||
#define iSTR_ENGINE_NOISE $iSTR_ENGINE_NOISE1
|
||||
#define iSTR_BACKGROUND_SOUND $iSTR_BACKGROUND_SOUND1
|
||||
|
||||
#define iSTR_Multiplayer $iSTR_Multiplayer1
|
||||
#define iSTR_JOIN_SERVER $iSTR_JOIN_SERVER1
|
||||
#define iSTR_CREATE_SERVER $iSTR_CREATE_SERVER1
|
||||
#define iSTR_PLAYER_SETUP $iSTR_PLAYER_SETUP1
|
||||
#define iSTR_Join_Server $iSTR_Join_Server1
|
||||
|
||||
#define iSTR_LAN $iSTR_LAN1
|
||||
#define iSTR_INTERNET $iSTR_INTERNET1
|
||||
#define iSTR_SERVER_PORT $iSTR_SERVER_PORT1
|
||||
#define iSTR_Default $iSTR_Default1
|
||||
#define iSTR_Server_Port $iSTR_Server_Port1
|
||||
#define iSTR_CANT_CREATE $iSTR_CANT_CREATE1
|
||||
|
||||
#define iSTR_LAN_Servers $iSTR_LAN_Servers1
|
||||
#define iSTR_UP $iSTR_UP1
|
||||
#define iSTR_DOWN $iSTR_DOWN1
|
||||
#define iSTR_Update_List $iSTR_Update_List1
|
||||
|
||||
#define iSTR_Searching_Servers $iSTR_Searching_Servers1
|
||||
#define iSTR_Please_wait $iSTR_Please_wait1
|
||||
|
||||
#define iSTR_Player_Settings $iSTR_Player_Settings1
|
||||
#define iSTR_NAME $iSTR_NAME01
|
||||
#define iSTR_COLOR $iSTR_COLOR1
|
||||
#define iSTR_YELLOW $iSTR_YELLOW1
|
||||
#define iSTR_ORANGE $iSTR_ORANGE1
|
||||
#define iSTR_BLUE $iSTR_BLUE1
|
||||
#define iSTR_GREEN $iSTR_GREEN1
|
||||
|
||||
#define iSTR_Connection_failed $iSTR_Connection_failed1
|
||||
|
||||
#define iSTR_OK $iSTR_OK1
|
||||
#define iSTR_CANCEL $iSTR_CANCEL1
|
||||
|
||||
#define iSTR_MORE $iSTR_MORE1
|
||||
#define iSTR_Customize_keyboard $iSTR_Customize_keyboard1
|
||||
#define iSTR_RESTORE_ALL $iSTR_RESTORE_ALL1
|
||||
|
||||
#define iSTR_SELECT_GAME $iSTR_SELECT_GAME1
|
||||
#define iSTR_Nascency $iSTR_Nascency1
|
||||
#define iSTR_Any_World $iSTR_Any_World1
|
||||
#define iSTR_Fostral $iSTR_Fostral1
|
||||
#define iSTR_Glorx $iSTR_Glorx1
|
||||
#define iSTR_Necross $iSTR_Necross1
|
||||
#define iSTR_Team_Mode $iSTR_Team_Mode1
|
||||
#define iSTR_Access $iSTR_Access1
|
||||
#define iSTR_All_Worlds $iSTR_All_Worlds1
|
||||
#define iSTR_One_World $iSTR_One_World1
|
||||
#define iSTR_World $iSTR_World1
|
||||
#define iSTR_MaxKills $iSTR_MaxKills1
|
||||
#define iSTR_MaxTime $iSTR_MaxTime1
|
||||
|
||||
#define iSTR_Nymbos $iSTR_Nymbos1
|
||||
#define iSTR_Heroin $iSTR_Heroin1
|
||||
#define iSTR_Toxick $iSTR_Toxick1
|
||||
#define iSTR_Phlegma $iSTR_Phlegma1
|
||||
#define iSTR_Shrub $iSTR_Shrub1
|
||||
#define iSTR_Poponka $iSTR_Poponka1
|
||||
#define iSTR_One_at_a_time $iSTR_One_at_a_time1
|
||||
#define iSTR_Checkpoints_Number $iSTR_Checkpoints_Number1
|
||||
|
||||
#define iSTR_Unique_Mechos $iSTR_Unique_Mechos1
|
||||
#define iSTR_Last_Moggy $iSTR_Last_Moggy1
|
||||
#define iSTR_Queen_Frog $iSTR_Queen_Frog1
|
||||
#define iSTR_Sandoll $iSTR_Sandoll1
|
||||
#define iSTR_Lawn_Mower $iSTR_Lawn_Mower1
|
||||
#define iSTR_Wormaster $iSTR_Wormaster1
|
||||
|
||||
#define iSTR_IDENTIFICATION $iSTR_IDENTIFICATION1
|
||||
#define iSTR_PASSWORD $iSTR_PASSWORD1
|
||||
#define iSTR_DISCONNECT $iSTR_DISCONNECT1
|
||||
#define iSTR_Server_Configuration $iSTR_Server_Configuration1
|
||||
#define iSTR_NAME2 $iSTR_NAME21
|
||||
#define iSTR_GAME $iSTR_GAME1
|
||||
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY $iSTR_THE_SERVER_HAS_ALREADY1
|
||||
#define iSTR_BEEN_CONFIGURED_BY $iSTR_BEEN_CONFIGURED_BY1
|
||||
#define iSTR_ANOTHER_PLAYER $iSTR_ANOTHER_PLAYER1
|
||||
#define iSTR_Server_Info $iSTR_Server_Info1
|
||||
#define iSTR_CHAT $iSTR_CHAT1
|
||||
#define iSTR_START $iSTR_START1
|
||||
|
||||
#define iSTR_Chat_Room $iSTR_Chat_Room1
|
||||
#define iSTR_SERVER_INFO $iSTR_SERVER_INFO1
|
||||
|
||||
#define iSTR_HOST_NAME $iSTR_HOST_NAME1
|
||||
#define iSTR_CurIP $iSTR_CurIP1
|
||||
#define iSTR_Internet_Servers $iSTR_Internet_Servers1
|
||||
|
||||
#define iSTR_Game_Results $iSTR_Game_Results1
|
||||
#define iSTR_GAME_PARAMETERS $iSTR_GAME_PARAMETERS1
|
||||
|
||||
#define iSTR_Initial_Cash $iSTR_Initial_Cash1
|
||||
#define iSTR_beebos $iSTR_beebos1
|
||||
#define iSTR_Artefacts_Using $iSTR_Artefacts_Using1
|
||||
|
||||
#define iSTR_YES $iSTR_YES1
|
||||
#define iSTR_NO $iSTR_NO1
|
||||
|
||||
#define iSTR_In_Escave_Time $iSTR_In_Escave_Time1
|
||||
#define iSTR_min $iSTR_min1
|
||||
|
||||
#define iSTR_ACHTUNG $iSTR_ACHTUNG1
|
||||
#define iSTR_VANGERS_APPROACHING $iSTR_VANGERS_APPROACHING1
|
||||
|
||||
#define iSTR_Genesis $iSTR_Genesis1
|
||||
#define iSTR_Prehistory $iSTR_Prehistory1
|
||||
#define iSTR_Present $iSTR_Present1
|
||||
|
||||
#define iSTR_Turn_wheels_left $iSTR_Turn_wheels_left1
|
||||
#define iSTR_Turn_wheels_right $iSTR_Turn_wheels_right1
|
||||
#define iSTR_Move_forward $iSTR_Move_forward1
|
||||
#define iSTR_Move_backward $iSTR_Move_backward1
|
||||
#define iSTR_Acceleration $iSTR_Acceleration1
|
||||
#define iSTR_Handbrake $iSTR_Handbrake1
|
||||
#define iSTR_Turn_over_left $iSTR_Turn_over_left1
|
||||
#define iSTR_Turn_over_right $iSTR_Turn_over_right1
|
||||
#define iSTR_Activate_KiD $iSTR_Activate_KiD1
|
||||
#define iSTR_Open $iSTR_Open1
|
||||
#define iSTR_Turn_device_ON $iSTR_Turn_device_ON1
|
||||
#define iSTR_Turn_device_OFF $iSTR_Turn_device_OFF1
|
||||
#define iSTR_Inventory_ON_OFF $iSTR_Inventory_ON_OFF1
|
||||
#define iSTR_Change_target $iSTR_Change_target1
|
||||
#define iSTR_Fire_all_weapons $iSTR_Fire_all_weapons1
|
||||
#define iSTR_Fire_weapon_1 $iSTR_Fire_weapon_11
|
||||
#define iSTR_Fire_weapon_2 $iSTR_Fire_weapon_21
|
||||
#define iSTR_Fire_weapon_3 $iSTR_Fire_weapon_31
|
||||
#define iSTR_Fire_weapon_4 $iSTR_Fire_weapon_41
|
||||
#define iSTR_Use_Gluek $iSTR_Use_Gluek1
|
||||
#define iSTR_Full_screen $iSTR_Full_screen1
|
||||
#define iSTR_Reduce_view $iSTR_Reduce_view1
|
||||
#define iSTR_Enlarge_view $iSTR_Enlarge_view1
|
||||
#define iSTR_Rotation $iSTR_Rotation1
|
||||
#define iSTR_Auto_tilt $iSTR_Auto_tilt1
|
||||
#define iSTR_Auto_zoom $iSTR_Auto_zoom1
|
||||
#define iSTR_Zoom_in $iSTR_Zoom_in1
|
||||
#define iSTR_Zoom_out $iSTR_Zoom_out1
|
||||
#define iSTR_Standard_zoom $iSTR_Standard_zoom1
|
||||
#define iSTR_SkipText $iSTR_SkipText1
|
||||
#define iSTR_UseVector $iSTR_UseVector1
|
||||
#define iSTR_ChatON $iSTR_ChatON1
|
||||
#define iSTR_Statistics $iSTR_Statistics1
|
||||
#define iSTR_ExitGame $iSTR_ExitGame1
|
||||
|
||||
#define iSTR_VAN_WAR $iSTR_VAN_WAR1
|
||||
#define iSTR_MECHOSOMA $iSTR_MECHOSOMA1
|
||||
#define iSTR_PASSEMBLOSS $iSTR_PASSEMBLOSS1
|
||||
#define iSTR_HUNTAGE $iSTR_HUNTAGE1
|
||||
#define iSTR_MUSTODONT $iSTR_MUSTODONT1
|
||||
|
||||
#define BT00_TEXT $BT00_TEXT1
|
||||
#define BT01_TEXT $BT01_TEXT1
|
||||
#define BT02_TEXT $BT02_TEXT1
|
||||
#define BT03_TEXT $BT03_TEXT1
|
||||
#define BT04_TEXT $BT04_TEXT1
|
||||
#define BT05_TEXT $BT05_TEXT1
|
||||
#define BT06_TEXT $BT06_TEXT1
|
||||
#define BT07_TEXT $BT07_TEXT1
|
||||
#define BT08_TEXT $BT08_TEXT1
|
||||
#define BT09_TEXT $BT09_TEXT1
|
||||
#define BT10_TEXT $BT10_TEXT1
|
||||
#define BT11_TEXT $BT11_TEXT1
|
||||
#define BT12_TEXT $BT12_TEXT1
|
||||
#define BT13_TEXT $BT13_TEXT1
|
||||
#define BT14_TEXT $BT14_TEXT1
|
||||
#define BT15_TEXT $BT15_TEXT1
|
||||
#define AVI_TEXT $AVI_TEXT1
|
||||
|
||||
#define iSTR_Controls $iSTR_Controls1
|
||||
|
||||
#define iSTR_JOYSTICK_SETUP $iSTR_JOYSTICK_SETUP1
|
||||
#define iSTR_CUSTOMIZE $iSTR_CUSTOMIZE1
|
||||
#define iSTR_JoystickSetup $iSTR_JoystickSetup1
|
||||
#define iSTR_JoystickType $iSTR_JoystickType1
|
||||
#define iSTR_NONE $iSTR_NONE1
|
||||
#define iSTR_JoystickGamePad $iSTR_JoystickGamePad1
|
||||
#define iSTR_JoystickJoystick $iSTR_JoystickJoystick1
|
||||
#define iSTR_JoystickSteeringWheel $iSTR_JoystickSteeringWheel1
|
||||
#define iSTR_JoystickAlternFnc $iSTR_JoystickAlternFnc1
|
||||
#define iSTR_JoystickBUTTON1 $iSTR_JoystickBUTTON11
|
||||
#define iSTR_JoystickBUTTON2 $iSTR_JoystickBUTTON21
|
||||
#define iSTR_JoystickBUTTON3 $iSTR_JoystickBUTTON31
|
||||
#define iSTR_JoystickBUTTON4 $iSTR_JoystickBUTTON41
|
||||
#define iSTR_JoystickBUTTON5 $iSTR_JoystickBUTTON51
|
||||
#define iSTR_JoystickBUTTON6 $iSTR_JoystickBUTTON61
|
||||
#define iSTR_JoystickBUTTON7 $iSTR_JoystickBUTTON71
|
||||
#define iSTR_JoystickBUTTON8 $iSTR_JoystickBUTTON81
|
||||
|
||||
#define iSTR_SOCKS5_Proxy $iSTR_SOCKS5_Proxy1
|
||||
#define iSTR_SOCKS5_ProxyServer $iSTR_SOCKS5_ProxyServer1
|
||||
#define iSTR_SOCKS5_ProxyPort $iSTR_SOCKS5_ProxyPort1
|
||||
|
||||
#define iSTR_GameInfo $iSTR_GameInfo1
|
||||
|
||||
237
data/iscreen/scripts/strings2.inc
Normal file
237
data/iscreen/scripts/strings2.inc
Normal file
@@ -0,0 +1,237 @@
|
||||
|
||||
#define iSTR_LOAD_GAME $iSTR_LOAD_GAME2
|
||||
#define iSTR_MULTIPLAYER $iSTR_MULTIPLAYER2
|
||||
#define iSTR_NEW_GAME $iSTR_NEW_GAME2
|
||||
#define iSTR_OPTIONS $iSTR_OPTIONS2
|
||||
#define iSTR_CREDITS $iSTR_CREDITS2
|
||||
#define iSTR_EXIT $iSTR_EXIT2
|
||||
#define iSTR_Credits $iSTR_Credits2
|
||||
#define iSTR_MAIN_MENU $iSTR_MAIN_MENU2
|
||||
#define iSTR_HALL_OF_FAME $iSTR_HALL_OF_FAME2
|
||||
|
||||
#define iSTR_Options $iSTR_Options2
|
||||
#define iSTR_GRAPHICS $iSTR_GRAPHICS2
|
||||
#define iSTR_SOUND $iSTR_SOUND2
|
||||
#define iSTR_CONTROLS $iSTR_CONTROLS2
|
||||
|
||||
#define iSTR_Graphics_Options $iSTR_Graphics_Options2
|
||||
#define iSTR_DETAIL $iSTR_DETAIL2
|
||||
#define iSTR_MEM16MB $iSTR_MEM16MB2
|
||||
#define iSTR_MEM32MB $iSTR_MEM32MB2
|
||||
#define iSTR_TIPS $iSTR_TIPS2
|
||||
|
||||
#define iSTR_ON $iSTR_ON2
|
||||
#define iSTR_OFF $iSTR_OFF2
|
||||
#define iSTR_BACK $iSTR_BACK2
|
||||
#define iSTR_SCREEN $iSTR_SCREEN2
|
||||
#define iSTR_800x600 $iSTR_800x6002
|
||||
#define iSTR_640x480 $iSTR_640x4802
|
||||
#define iSTR_DEFORMABLE_LANDSCAPE $iSTR_DEFORMABLE_LANDSCAPE2
|
||||
#define iSTR_KEEP_ALL_TERRAIN_CHANGES $iSTR_KEEP_ALL_TERRAIN_CHANGES2
|
||||
#define iSTR_FULL_SCREEN $iSTR_FULL_SCREEN2
|
||||
#define iSTR_DISK_SPACE_IN_USE $iSTR_DISK_SPACE_IN_USE2
|
||||
#define iSTR_CLEAN_UP $iSTR_CLEAN_UP2
|
||||
|
||||
#define iSTR_Sound_Options $iSTR_Sound_Options2
|
||||
#define iSTR_SOUND_EFFECTS $iSTR_SOUND_EFFECTS2
|
||||
#define iSTR_MUSIC $iSTR_MUSIC2
|
||||
#define iSTR_SOUND_VOLUME $iSTR_SOUND_VOLUME2
|
||||
#define iSTR_MUSIC_VOLUME $iSTR_MUSIC_VOLUME2
|
||||
#define iSTR_EFFECTS_PANNING $iSTR_EFFECTS_PANNING2
|
||||
#define iSTR_ENGINE_NOISE $iSTR_ENGINE_NOISE2
|
||||
#define iSTR_BACKGROUND_SOUND $iSTR_BACKGROUND_SOUND2
|
||||
|
||||
#define iSTR_Multiplayer $iSTR_Multiplayer2
|
||||
#define iSTR_JOIN_SERVER $iSTR_JOIN_SERVER2
|
||||
#define iSTR_CREATE_SERVER $iSTR_CREATE_SERVER2
|
||||
#define iSTR_PLAYER_SETUP $iSTR_PLAYER_SETUP2
|
||||
#define iSTR_Join_Server $iSTR_Join_Server2
|
||||
|
||||
#define iSTR_LAN $iSTR_LAN2
|
||||
#define iSTR_INTERNET $iSTR_INTERNET2
|
||||
#define iSTR_SERVER_PORT $iSTR_SERVER_PORT2
|
||||
#define iSTR_Default $iSTR_Default2
|
||||
#define iSTR_Server_Port $iSTR_Server_Port2
|
||||
#define iSTR_CANT_CREATE $iSTR_CANT_CREATE2
|
||||
|
||||
#define iSTR_LAN_Servers $iSTR_LAN_Servers2
|
||||
#define iSTR_UP $iSTR_UP2
|
||||
#define iSTR_DOWN $iSTR_DOWN2
|
||||
#define iSTR_Update_List $iSTR_Update_List2
|
||||
|
||||
#define iSTR_Searching_Servers $iSTR_Searching_Servers2
|
||||
#define iSTR_Please_wait $iSTR_Please_wait2
|
||||
|
||||
#define iSTR_Player_Settings $iSTR_Player_Settings2
|
||||
#define iSTR_NAME $iSTR_NAME02
|
||||
#define iSTR_COLOR $iSTR_COLOR2
|
||||
#define iSTR_YELLOW $iSTR_YELLOW2
|
||||
#define iSTR_ORANGE $iSTR_ORANGE2
|
||||
#define iSTR_BLUE $iSTR_BLUE2
|
||||
#define iSTR_GREEN $iSTR_GREEN2
|
||||
|
||||
#define iSTR_Connection_failed $iSTR_Connection_failed2
|
||||
|
||||
#define iSTR_OK $iSTR_OK2
|
||||
#define iSTR_CANCEL $iSTR_CANCEL2
|
||||
|
||||
#define iSTR_MORE $iSTR_MORE2
|
||||
#define iSTR_Customize_keyboard $iSTR_Customize_keyboard2
|
||||
#define iSTR_RESTORE_ALL $iSTR_RESTORE_ALL2
|
||||
|
||||
#define iSTR_SELECT_GAME $iSTR_SELECT_GAME2
|
||||
#define iSTR_Nascency $iSTR_Nascency2
|
||||
#define iSTR_Any_World $iSTR_Any_World2
|
||||
#define iSTR_Fostral $iSTR_Fostral2
|
||||
#define iSTR_Glorx $iSTR_Glorx2
|
||||
#define iSTR_Necross $iSTR_Necross2
|
||||
#define iSTR_Team_Mode $iSTR_Team_Mode2
|
||||
#define iSTR_Access $iSTR_Access2
|
||||
#define iSTR_All_Worlds $iSTR_All_Worlds2
|
||||
#define iSTR_One_World $iSTR_One_World2
|
||||
#define iSTR_World $iSTR_World2
|
||||
#define iSTR_MaxKills $iSTR_MaxKills2
|
||||
#define iSTR_MaxTime $iSTR_MaxTime2
|
||||
|
||||
#define iSTR_Nymbos $iSTR_Nymbos2
|
||||
#define iSTR_Heroin $iSTR_Heroin2
|
||||
#define iSTR_Toxick $iSTR_Toxick2
|
||||
#define iSTR_Phlegma $iSTR_Phlegma2
|
||||
#define iSTR_Shrub $iSTR_Shrub2
|
||||
#define iSTR_Poponka $iSTR_Poponka2
|
||||
#define iSTR_One_at_a_time $iSTR_One_at_a_time2
|
||||
#define iSTR_Checkpoints_Number $iSTR_Checkpoints_Number2
|
||||
|
||||
#define iSTR_Unique_Mechos $iSTR_Unique_Mechos2
|
||||
#define iSTR_Last_Moggy $iSTR_Last_Moggy2
|
||||
#define iSTR_Queen_Frog $iSTR_Queen_Frog2
|
||||
#define iSTR_Sandoll $iSTR_Sandoll2
|
||||
#define iSTR_Lawn_Mower $iSTR_Lawn_Mower2
|
||||
#define iSTR_Wormaster $iSTR_Wormaster2
|
||||
|
||||
#define iSTR_IDENTIFICATION $iSTR_IDENTIFICATION2
|
||||
#define iSTR_PASSWORD $iSTR_PASSWORD2
|
||||
#define iSTR_DISCONNECT $iSTR_DISCONNECT2
|
||||
#define iSTR_Server_Configuration $iSTR_Server_Configuration2
|
||||
#define iSTR_NAME2 $iSTR_NAME22
|
||||
#define iSTR_GAME $iSTR_GAME2
|
||||
|
||||
#define iSTR_THE_SERVER_HAS_ALREADY $iSTR_THE_SERVER_HAS_ALREADY2
|
||||
#define iSTR_BEEN_CONFIGURED_BY $iSTR_BEEN_CONFIGURED_BY2
|
||||
#define iSTR_ANOTHER_PLAYER $iSTR_ANOTHER_PLAYER2
|
||||
#define iSTR_Server_Info $iSTR_Server_Info2
|
||||
#define iSTR_CHAT $iSTR_CHAT2
|
||||
#define iSTR_START $iSTR_START2
|
||||
|
||||
#define iSTR_Chat_Room $iSTR_Chat_Room2
|
||||
#define iSTR_SERVER_INFO $iSTR_SERVER_INFO2
|
||||
|
||||
#define iSTR_HOST_NAME $iSTR_HOST_NAME2
|
||||
#define iSTR_CurIP $iSTR_CurIP2
|
||||
#define iSTR_Internet_Servers $iSTR_Internet_Servers2
|
||||
|
||||
#define iSTR_Game_Results $iSTR_Game_Results2
|
||||
#define iSTR_GAME_PARAMETERS $iSTR_GAME_PARAMETERS2
|
||||
|
||||
#define iSTR_Initial_Cash $iSTR_Initial_Cash2
|
||||
#define iSTR_beebos $iSTR_beebos2
|
||||
#define iSTR_Artefacts_Using $iSTR_Artefacts_Using2
|
||||
|
||||
#define iSTR_YES $iSTR_YES2
|
||||
#define iSTR_NO $iSTR_NO2
|
||||
|
||||
#define iSTR_In_Escave_Time $iSTR_In_Escave_Time2
|
||||
#define iSTR_min $iSTR_min2
|
||||
|
||||
#define iSTR_ACHTUNG $iSTR_ACHTUNG2
|
||||
#define iSTR_VANGERS_APPROACHING $iSTR_VANGERS_APPROACHING2
|
||||
|
||||
#define iSTR_Genesis $iSTR_Genesis2
|
||||
#define iSTR_Prehistory $iSTR_Prehistory2
|
||||
#define iSTR_Present $iSTR_Present2
|
||||
|
||||
#define iSTR_Turn_wheels_left $iSTR_Turn_wheels_left2
|
||||
#define iSTR_Turn_wheels_right $iSTR_Turn_wheels_right2
|
||||
#define iSTR_Move_forward $iSTR_Move_forward2
|
||||
#define iSTR_Move_backward $iSTR_Move_backward2
|
||||
#define iSTR_Acceleration $iSTR_Acceleration2
|
||||
#define iSTR_Handbrake $iSTR_Handbrake2
|
||||
#define iSTR_Turn_over_left $iSTR_Turn_over_left2
|
||||
#define iSTR_Turn_over_right $iSTR_Turn_over_right2
|
||||
#define iSTR_Activate_KiD $iSTR_Activate_KiD2
|
||||
#define iSTR_Open $iSTR_Open2
|
||||
#define iSTR_Turn_device_ON $iSTR_Turn_device_ON2
|
||||
#define iSTR_Turn_device_OFF $iSTR_Turn_device_OFF2
|
||||
#define iSTR_Inventory_ON_OFF $iSTR_Inventory_ON_OFF2
|
||||
#define iSTR_Change_target $iSTR_Change_target2
|
||||
#define iSTR_Fire_all_weapons $iSTR_Fire_all_weapons2
|
||||
#define iSTR_Fire_weapon_1 $iSTR_Fire_weapon_12
|
||||
#define iSTR_Fire_weapon_2 $iSTR_Fire_weapon_22
|
||||
#define iSTR_Fire_weapon_3 $iSTR_Fire_weapon_32
|
||||
#define iSTR_Fire_weapon_4 $iSTR_Fire_weapon_42
|
||||
#define iSTR_Use_Gluek $iSTR_Use_Gluek2
|
||||
#define iSTR_Full_screen $iSTR_Full_screen2
|
||||
#define iSTR_Reduce_view $iSTR_Reduce_view2
|
||||
#define iSTR_Enlarge_view $iSTR_Enlarge_view2
|
||||
#define iSTR_Rotation $iSTR_Rotation2
|
||||
#define iSTR_Auto_tilt $iSTR_Auto_tilt2
|
||||
#define iSTR_Auto_zoom $iSTR_Auto_zoom2
|
||||
#define iSTR_Zoom_in $iSTR_Zoom_in2
|
||||
#define iSTR_Zoom_out $iSTR_Zoom_out2
|
||||
#define iSTR_Standard_zoom $iSTR_Standard_zoom2
|
||||
#define iSTR_SkipText $iSTR_SkipText2
|
||||
#define iSTR_UseVector $iSTR_UseVector2
|
||||
#define iSTR_ChatON $iSTR_ChatON2
|
||||
#define iSTR_Statistics $iSTR_Statistics2
|
||||
#define iSTR_ExitGame $iSTR_ExitGame2
|
||||
|
||||
#define iSTR_VAN_WAR $iSTR_VAN_WAR2
|
||||
#define iSTR_MECHOSOMA $iSTR_MECHOSOMA2
|
||||
#define iSTR_PASSEMBLOSS $iSTR_PASSEMBLOSS2
|
||||
#define iSTR_HUNTAGE $iSTR_HUNTAGE2
|
||||
#define iSTR_MUSTODONT $iSTR_MUSTODONT2
|
||||
|
||||
#define BT00_TEXT $BT00_TEXT2
|
||||
#define BT01_TEXT $BT01_TEXT2
|
||||
#define BT02_TEXT $BT02_TEXT2
|
||||
#define BT03_TEXT $BT03_TEXT2
|
||||
#define BT04_TEXT $BT04_TEXT2
|
||||
#define BT05_TEXT $BT05_TEXT2
|
||||
#define BT06_TEXT $BT06_TEXT2
|
||||
#define BT07_TEXT $BT07_TEXT2
|
||||
#define BT08_TEXT $BT08_TEXT2
|
||||
#define BT09_TEXT $BT09_TEXT2
|
||||
#define BT10_TEXT $BT10_TEXT2
|
||||
#define BT11_TEXT $BT11_TEXT2
|
||||
#define BT12_TEXT $BT12_TEXT2
|
||||
#define BT13_TEXT $BT13_TEXT2
|
||||
#define BT14_TEXT $BT14_TEXT2
|
||||
#define BT15_TEXT $BT15_TEXT2
|
||||
#define AVI_TEXT $AVI_TEXT2
|
||||
|
||||
#define iSTR_Controls $iSTR_Controls2
|
||||
|
||||
#define iSTR_JOYSTICK_SETUP $iSTR_JOYSTICK_SETUP2
|
||||
#define iSTR_CUSTOMIZE $iSTR_CUSTOMIZE2
|
||||
#define iSTR_JoystickSetup $iSTR_JoystickSetup2
|
||||
#define iSTR_JoystickType $iSTR_JoystickType2
|
||||
#define iSTR_NONE $iSTR_NONE2
|
||||
#define iSTR_JoystickGamePad $iSTR_JoystickGamePad2
|
||||
#define iSTR_JoystickJoystick $iSTR_JoystickJoystick2
|
||||
#define iSTR_JoystickSteeringWheel $iSTR_JoystickSteeringWheel2
|
||||
#define iSTR_JoystickAlternFnc $iSTR_JoystickAlternFnc2
|
||||
#define iSTR_JoystickBUTTON1 $iSTR_JoystickBUTTON12
|
||||
#define iSTR_JoystickBUTTON2 $iSTR_JoystickBUTTON22
|
||||
#define iSTR_JoystickBUTTON3 $iSTR_JoystickBUTTON32
|
||||
#define iSTR_JoystickBUTTON4 $iSTR_JoystickBUTTON42
|
||||
#define iSTR_JoystickBUTTON5 $iSTR_JoystickBUTTON52
|
||||
#define iSTR_JoystickBUTTON6 $iSTR_JoystickBUTTON62
|
||||
#define iSTR_JoystickBUTTON7 $iSTR_JoystickBUTTON72
|
||||
#define iSTR_JoystickBUTTON8 $iSTR_JoystickBUTTON82
|
||||
|
||||
#define iSTR_SOCKS5_Proxy $iSTR_SOCKS5_Proxy2
|
||||
#define iSTR_SOCKS5_ProxyServer $iSTR_SOCKS5_ProxyServer2
|
||||
#define iSTR_SOCKS5_ProxyPort $iSTR_SOCKS5_ProxyPort2
|
||||
|
||||
#define iSTR_GameInfo $iSTR_GameInfo2
|
||||
|
||||
BIN
data/iscreen/scripts/tutorial.inc
Normal file
BIN
data/iscreen/scripts/tutorial.inc
Normal file
Binary file not shown.
186
data/iscreen/scripts/vkeys.inc
Normal file
186
data/iscreen/scripts/vkeys.inc
Normal file
@@ -0,0 +1,186 @@
|
||||
/*
|
||||
* Virtual Keys, Standard Set
|
||||
*/
|
||||
#define VK_LBUTTON -1
|
||||
#define VK_RBUTTON -2
|
||||
#define VK_MOVE -3
|
||||
|
||||
#define VK_ESCAPE 0x29
|
||||
#define VK_SPACE 0x2C
|
||||
#define VK_RETURN 0x28
|
||||
#define VK_TAB 0x2B
|
||||
|
||||
#define VK_LEFT 0x50
|
||||
#define VK_UP 0x52
|
||||
#define VK_RIGHT 0x4F
|
||||
#define VK_DOWN 0x51
|
||||
|
||||
#define VK_1 0x1E
|
||||
#define VK_2 0x1F
|
||||
#define VK_3 0x20
|
||||
|
||||
#define VK_F1 0x3A
|
||||
#define VK_F2 0x3B
|
||||
#define VK_F3 0x3C
|
||||
|
||||
#define VK_PRIOR 0x9D
|
||||
#define VK_NEXT 0x22
|
||||
|
||||
/* not need */
|
||||
#define VK_CANCEL 0x03
|
||||
#define VK_MBUTTON 0x04 /* NOT contiguous with L & RBUTTON */
|
||||
|
||||
#define VK_BACK 0x08
|
||||
|
||||
|
||||
#define VK_CLEAR 0x0C
|
||||
|
||||
|
||||
#define VK_SHIFT 0x130
|
||||
#define VK_CONTROL 0x11
|
||||
#define VK_MENU 0x12
|
||||
#define VK_PAUSE 0x13
|
||||
#define VK_CAPITAL 0x14
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define VK_END 0x23
|
||||
#define VK_HOME 0x24
|
||||
|
||||
|
||||
|
||||
#define VK_SELECT 0x29
|
||||
#define VK_PRINT 0x2A
|
||||
#define VK_EXECUTE 0x2B
|
||||
#define VK_SNAPSHOT 0x2C
|
||||
#define VK_INSERT 0x2D
|
||||
#define VK_DELETE 0x7F
|
||||
#define VK_HELP 0x2F
|
||||
|
||||
/* VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39) */
|
||||
#define VK_0 0x30
|
||||
|
||||
|
||||
|
||||
#define VK_4 0x34
|
||||
#define VK_5 0x35
|
||||
#define VK_6 0x36
|
||||
#define VK_7 0x37
|
||||
#define VK_8 0x38
|
||||
#define VK_9 0x39
|
||||
|
||||
/* VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A) */
|
||||
|
||||
#define VK_LWIN 0x5B
|
||||
#define VK_RWIN 0x5C
|
||||
#define VK_APPS 0x5D
|
||||
|
||||
#define VK_NUMPAD0 0x60
|
||||
#define VK_NUMPAD1 0x61
|
||||
#define VK_NUMPAD2 0x62
|
||||
#define VK_NUMPAD3 0x63
|
||||
#define VK_NUMPAD4 0x64
|
||||
#define VK_NUMPAD5 0x65
|
||||
#define VK_NUMPAD6 0x66
|
||||
#define VK_NUMPAD7 0x67
|
||||
#define VK_NUMPAD8 0x68
|
||||
#define VK_NUMPAD9 0x69
|
||||
#define VK_MULTIPLY 0x6A
|
||||
#define VK_ADD 0x6B
|
||||
#define VK_SEPARATOR 0x6C
|
||||
#define VK_SUBTRACT 0x6D
|
||||
#define VK_DECIMAL 0x6E
|
||||
#define VK_DIVIDE 0x6F
|
||||
|
||||
#define VK_F4 0x73
|
||||
#define VK_F5 0x74
|
||||
#define VK_F6 0x75
|
||||
#define VK_F7 0x76
|
||||
#define VK_F8 0x77
|
||||
#define VK_F9 0x78
|
||||
#define VK_F10 0x79
|
||||
#define VK_F11 0x7A
|
||||
#define VK_F12 0x7B
|
||||
#define VK_F13 0x7C
|
||||
#define VK_F14 0x7D
|
||||
#define VK_F15 0x7E
|
||||
#define VK_F16 0x7F
|
||||
#define VK_F17 0x80
|
||||
#define VK_F18 0x81
|
||||
#define VK_F19 0x82
|
||||
#define VK_F20 0x83
|
||||
#define VK_F21 0x84
|
||||
#define VK_F22 0x85
|
||||
#define VK_F23 0x86
|
||||
#define VK_F24 0x87
|
||||
|
||||
#define VK_NUMLOCK 0x90
|
||||
#define VK_SCROLL 0x91
|
||||
|
||||
/*
|
||||
* VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys.
|
||||
* Used only as parameters to GetAsyncKeyState() and GetKeyState().
|
||||
* No other API or message will distinguish left and right keys in this way.
|
||||
*/
|
||||
#define VK_LSHIFT 0x130
|
||||
#define VK_RSHIFT 0x12F
|
||||
#define VK_LCONTROL 0x132
|
||||
#define VK_RCONTROL 0x131
|
||||
#define VK_LMENU 0xA4
|
||||
#define VK_RMENU 0xA5
|
||||
|
||||
#define VK_ATTN 0xF6
|
||||
#define VK_CRSEL 0xF7
|
||||
#define VK_EXSEL 0xF8
|
||||
#define VK_EREOF 0xF9
|
||||
#define VK_PLAY 0xFA
|
||||
#define VK_ZOOM 0xFB
|
||||
#define VK_NONAME 0xFC
|
||||
#define VK_PA1 0xFD
|
||||
#define VK_OEM_CLEAR 0xFE
|
||||
|
||||
// Some additional virtual keycodes...
|
||||
#define VK_OEM_COMMA 0xBC
|
||||
#define VK_OEM_PERIOD 0xBE
|
||||
#define VK_OEM_SCROLL 0x91
|
||||
#define VK_OEM_MINUS 0xBD
|
||||
#define VK_OEM_5 0xDC
|
||||
#define VK_OEM_PLUS 0xBB
|
||||
#define VK_OEM_ALT 0xF2
|
||||
|
||||
#define VK_SLASH 0x2F
|
||||
#define VK_BKSLASH 0x5C
|
||||
#define VK_TILDE 0x60
|
||||
#define VK_LBR 0x5B
|
||||
#define VK_RBR 0x5D
|
||||
|
||||
#define VK_A 0x61
|
||||
#define VK_B 0x62
|
||||
#define VK_C 0x63
|
||||
#define VK_D 0x64
|
||||
#define VK_E 0x65
|
||||
#define VK_F 0x66
|
||||
#define VK_G 0x67
|
||||
#define VK_H 0x68
|
||||
#define VK_I 0x69
|
||||
#define VK_J 0x6A
|
||||
#define VK_K 0x6B
|
||||
#define VK_L 0x6C
|
||||
#define VK_M 0x6D
|
||||
#define VK_N 0x6E
|
||||
#define VK_O 0x6F
|
||||
#define VK_P 0x70
|
||||
#define VK_Q 0x71
|
||||
#define VK_R 0x72
|
||||
#define VK_S 0x73
|
||||
#define VK_T 0x74
|
||||
#define VK_U 0x75
|
||||
#define VK_V 0x76
|
||||
#define VK_W 0x77
|
||||
#define VK_X 0x78
|
||||
#define VK_Y 0x79
|
||||
#define VK_Z 0x7A
|
||||
|
||||
3497
data/iscreen/temp.scr
Normal file
3497
data/iscreen/temp.scr
Normal file
File diff suppressed because it is too large
Load Diff
21
lib/utils/CMakeLists.txt
Normal file
21
lib/utils/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
|
||||
|
||||
# FIND_PACKAGE(ZLIB REQUIRED)
|
||||
|
||||
ADD_EXECUTABLE(zip_convert
|
||||
zip_convert.cpp
|
||||
xzip/inzip.cpp
|
||||
xzip/outzip.cpp
|
||||
xzip/treezip.cpp
|
||||
)
|
||||
|
||||
#ADD_DEFINITIONS(-e SDL_main )
|
||||
|
||||
TARGET_LINK_LIBRARIES(zip_convert
|
||||
${ZLIB_LIBRARIES}
|
||||
xtool
|
||||
xgraph
|
||||
${SDL2_LIBRARY}
|
||||
)
|
||||
|
||||
|
||||
458
lib/utils/backtrace.c
Normal file
458
lib/utils/backtrace.c
Normal file
@@ -0,0 +1,458 @@
|
||||
/*
|
||||
Copyright (c) 2010 ,
|
||||
Cloud Wu . All rights reserved.
|
||||
|
||||
http://www.codingnow.com
|
||||
|
||||
Use, modification and distribution are subject to the "New BSD License"
|
||||
as listed at <url: http://www.opensource.org/licenses/bsd-license.php >.
|
||||
|
||||
filename: backtrace.c
|
||||
|
||||
compiler: gcc 3.4.5 (mingw-win32)
|
||||
|
||||
build command: gcc -O2 -shared -Wall -o backtrace.dll backtrace.c -lbfd -liberty -limagehlp -lintl
|
||||
|
||||
how to use: Call LoadLibraryA("backtrace.dll"); at beginning of your program .
|
||||
|
||||
*/
|
||||
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
/* #undef HAVE_DLFCN_H */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#define LT_OBJDIR ".libs/"
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "libogg"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "ogg-dev@xiph.org"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "libogg"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "libogg 1.3.1"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "libogg"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "1.3.1"
|
||||
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
#define SIZEOF_INT 4
|
||||
|
||||
/* The size of `int16_t', as computed by sizeof. */
|
||||
#define SIZEOF_INT16_T 2
|
||||
|
||||
/* The size of `int32_t', as computed by sizeof. */
|
||||
#define SIZEOF_INT32_T 4
|
||||
|
||||
/* The size of `int64_t', as computed by sizeof. */
|
||||
#define SIZEOF_INT64_T 8
|
||||
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
#define SIZEOF_LONG 4
|
||||
|
||||
/* The size of `long long', as computed by sizeof. */
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#define SIZEOF_SHORT 2
|
||||
|
||||
/* The size of `uint16_t', as computed by sizeof. */
|
||||
#define SIZEOF_UINT16_T 2
|
||||
|
||||
/* The size of `uint32_t', as computed by sizeof. */
|
||||
#define SIZEOF_UINT32_T 4
|
||||
|
||||
/* The size of `u_int16_t', as computed by sizeof. */
|
||||
#define SIZEOF_U_INT16_T 0
|
||||
|
||||
/* The size of `u_int32_t', as computed by sizeof. */
|
||||
#define SIZEOF_U_INT32_T 0
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "1.3.1"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <excpt.h>
|
||||
#include <imagehlp.h>
|
||||
#include <bfd.h>
|
||||
#include <psapi.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
#define BUFFER_MAX (16*1024)
|
||||
|
||||
struct bfd_ctx {
|
||||
bfd * handle;
|
||||
asymbol ** symbol;
|
||||
};
|
||||
|
||||
struct bfd_set {
|
||||
char * name;
|
||||
struct bfd_ctx * bc;
|
||||
struct bfd_set *next;
|
||||
};
|
||||
|
||||
struct find_info {
|
||||
asymbol **symbol;
|
||||
bfd_vma counter;
|
||||
const char *file;
|
||||
const char *func;
|
||||
unsigned line;
|
||||
};
|
||||
|
||||
struct output_buffer {
|
||||
char * buf;
|
||||
size_t sz;
|
||||
size_t ptr;
|
||||
};
|
||||
|
||||
static void
|
||||
output_init(struct output_buffer *ob, char * buf, size_t sz)
|
||||
{
|
||||
ob->buf = buf;
|
||||
ob->sz = sz;
|
||||
ob->ptr = 0;
|
||||
ob->buf[0] = '\0';
|
||||
}
|
||||
|
||||
static void
|
||||
output_print(struct output_buffer *ob, const char * format, ...)
|
||||
{
|
||||
if (ob->sz == ob->ptr)
|
||||
return;
|
||||
ob->buf[ob->ptr] = '\0';
|
||||
va_list ap;
|
||||
va_start(ap,format);
|
||||
vsnprintf(ob->buf + ob->ptr , ob->sz - ob->ptr , format, ap);
|
||||
va_end(ap);
|
||||
|
||||
ob->ptr = strlen(ob->buf + ob->ptr) + ob->ptr;
|
||||
}
|
||||
|
||||
static void
|
||||
lookup_section(bfd *abfd, asection *sec, void *opaque_data)
|
||||
{
|
||||
struct find_info *data = opaque_data;
|
||||
|
||||
if (data->func)
|
||||
return;
|
||||
|
||||
if (!(bfd_get_section_flags(abfd, sec) & SEC_ALLOC))
|
||||
return;
|
||||
|
||||
bfd_vma vma = bfd_get_section_vma(abfd, sec);
|
||||
if (data->counter < vma || vma + bfd_get_section_size(sec) <= data->counter)
|
||||
return;
|
||||
|
||||
bfd_find_nearest_line(abfd, sec, data->symbol, data->counter - vma, &(data->file), &(data->func), &(data->line));
|
||||
}
|
||||
|
||||
static void
|
||||
find(struct bfd_ctx * b, DWORD offset, const char **file, const char **func, unsigned *line)
|
||||
{
|
||||
struct find_info data;
|
||||
data.func = NULL;
|
||||
data.symbol = b->symbol;
|
||||
data.counter = offset;
|
||||
data.file = NULL;
|
||||
data.func = NULL;
|
||||
data.line = 0;
|
||||
|
||||
bfd_map_over_sections(b->handle, &lookup_section, &data);
|
||||
if (file) {
|
||||
*file = data.file;
|
||||
}
|
||||
if (func) {
|
||||
*func = data.func;
|
||||
}
|
||||
if (line) {
|
||||
*line = data.line;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
init_bfd_ctx(struct bfd_ctx *bc, const char * procname, struct output_buffer *ob)
|
||||
{
|
||||
bc->handle = NULL;
|
||||
bc->symbol = NULL;
|
||||
|
||||
bfd *b = bfd_openr(procname, 0);
|
||||
if (!b) {
|
||||
output_print(ob,"Failed to open bfd from (%s)\n" , procname);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int r1 = bfd_check_format(b, bfd_object);
|
||||
int r2 = bfd_check_format_matches(b, bfd_object, NULL);
|
||||
int r3 = bfd_get_file_flags(b) & HAS_SYMS;
|
||||
|
||||
if (!(r1 && r2 && r3)) {
|
||||
bfd_close(b);
|
||||
output_print(ob,"Failed to init bfd from (%s)\n", procname);
|
||||
return 1;
|
||||
}
|
||||
|
||||
void *symbol_table;
|
||||
|
||||
unsigned dummy = 0;
|
||||
if (bfd_read_minisymbols(b, FALSE, &symbol_table, &dummy) == 0) {
|
||||
if (bfd_read_minisymbols(b, TRUE, &symbol_table, &dummy) < 0) {
|
||||
free(symbol_table);
|
||||
bfd_close(b);
|
||||
output_print(ob,"Failed to read symbols from (%s)\n", procname);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
bc->handle = b;
|
||||
bc->symbol = symbol_table;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
close_bfd_ctx(struct bfd_ctx *bc)
|
||||
{
|
||||
if (bc) {
|
||||
if (bc->symbol) {
|
||||
free(bc->symbol);
|
||||
}
|
||||
if (bc->handle) {
|
||||
bfd_close(bc->handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static struct bfd_ctx *
|
||||
get_bc(struct output_buffer *ob , struct bfd_set *set , const char *procname)
|
||||
{
|
||||
while(set->name) {
|
||||
if (strcmp(set->name , procname) == 0) {
|
||||
return set->bc;
|
||||
}
|
||||
set = set->next;
|
||||
}
|
||||
struct bfd_ctx bc;
|
||||
if (init_bfd_ctx(&bc, procname , ob)) {
|
||||
return NULL;
|
||||
}
|
||||
set->next = calloc(1, sizeof(*set));
|
||||
set->bc = malloc(sizeof(struct bfd_ctx));
|
||||
memcpy(set->bc, &bc, sizeof(bc));
|
||||
set->name = strdup(procname);
|
||||
|
||||
return set->bc;
|
||||
}
|
||||
|
||||
static void
|
||||
release_set(struct bfd_set *set)
|
||||
{
|
||||
while(set) {
|
||||
struct bfd_set * temp = set->next;
|
||||
free(set->name);
|
||||
close_bfd_ctx(set->bc);
|
||||
free(set);
|
||||
set = temp;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_backtrace(struct output_buffer *ob, struct bfd_set *set, int depth , LPCONTEXT context)
|
||||
{
|
||||
char procname[MAX_PATH];
|
||||
GetModuleFileNameA(NULL, procname, sizeof procname);
|
||||
|
||||
struct bfd_ctx *bc = NULL;
|
||||
|
||||
STACKFRAME frame;
|
||||
memset(&frame,0,sizeof(frame));
|
||||
|
||||
frame.AddrPC.Offset = context->Eip;
|
||||
frame.AddrPC.Mode = AddrModeFlat;
|
||||
frame.AddrStack.Offset = context->Esp;
|
||||
frame.AddrStack.Mode = AddrModeFlat;
|
||||
frame.AddrFrame.Offset = context->Ebp;
|
||||
frame.AddrFrame.Mode = AddrModeFlat;
|
||||
|
||||
HANDLE process = GetCurrentProcess();
|
||||
HANDLE thread = GetCurrentThread();
|
||||
|
||||
char symbol_buffer[sizeof(IMAGEHLP_SYMBOL) + 255];
|
||||
char module_name_raw[MAX_PATH];
|
||||
|
||||
while(StackWalk(IMAGE_FILE_MACHINE_I386,
|
||||
process,
|
||||
thread,
|
||||
&frame,
|
||||
context,
|
||||
0,
|
||||
SymFunctionTableAccess,
|
||||
SymGetModuleBase, 0)) {
|
||||
|
||||
--depth;
|
||||
if (depth < 0)
|
||||
break;
|
||||
|
||||
IMAGEHLP_SYMBOL *symbol = (IMAGEHLP_SYMBOL *)symbol_buffer;
|
||||
symbol->SizeOfStruct = (sizeof *symbol) + 255;
|
||||
symbol->MaxNameLength = 254;
|
||||
|
||||
DWORD module_base = SymGetModuleBase(process, frame.AddrPC.Offset);
|
||||
|
||||
const char * module_name = "[unknown module]";
|
||||
if (module_base &&
|
||||
GetModuleFileNameA((HINSTANCE)module_base, module_name_raw, MAX_PATH)) {
|
||||
module_name = module_name_raw;
|
||||
bc = get_bc(ob, set, module_name);
|
||||
}
|
||||
|
||||
const char * file = NULL;
|
||||
const char * func = NULL;
|
||||
unsigned line = 0;
|
||||
|
||||
if (bc) {
|
||||
find(bc,frame.AddrPC.Offset,&file,&func,&line);
|
||||
}
|
||||
|
||||
if (file == NULL) {
|
||||
DWORD dummy = 0;
|
||||
if (SymGetSymFromAddr(process, frame.AddrPC.Offset, &dummy, symbol)) {
|
||||
file = symbol->Name;
|
||||
}
|
||||
else {
|
||||
file = "[unknown file]";
|
||||
}
|
||||
}
|
||||
if (func == NULL) {
|
||||
output_print(ob,"0x%x : %s : %s \n",
|
||||
frame.AddrPC.Offset,
|
||||
module_name,
|
||||
file);
|
||||
}
|
||||
else {
|
||||
output_print(ob,"0x%x : %s : %s (%d) : in function (%s) \n",
|
||||
frame.AddrPC.Offset,
|
||||
module_name,
|
||||
file,
|
||||
line,
|
||||
func);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static char * g_output = NULL;
|
||||
static LPTOP_LEVEL_EXCEPTION_FILTER g_prev = NULL;
|
||||
|
||||
static LONG WINAPI
|
||||
exception_filter(LPEXCEPTION_POINTERS info)
|
||||
{
|
||||
struct output_buffer ob;
|
||||
output_init(&ob, g_output, BUFFER_MAX);
|
||||
|
||||
if (!SymInitialize(GetCurrentProcess(), 0, TRUE)) {
|
||||
output_print(&ob,"Failed to init symbol context\n");
|
||||
}
|
||||
else {
|
||||
bfd_init();
|
||||
struct bfd_set *set = calloc(1,sizeof(*set));
|
||||
_backtrace(&ob , set , 128 , info->ContextRecord);
|
||||
release_set(set);
|
||||
|
||||
SymCleanup(GetCurrentProcess());
|
||||
}
|
||||
|
||||
fputs(g_output , stderr);
|
||||
|
||||
exit(1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
backtrace_register(void)
|
||||
{
|
||||
if (g_output == NULL) {
|
||||
g_output = malloc(BUFFER_MAX);
|
||||
g_prev = SetUnhandledExceptionFilter(exception_filter);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
backtrace_unregister(void)
|
||||
{
|
||||
if (g_output) {
|
||||
free(g_output);
|
||||
SetUnhandledExceptionFilter(g_prev);
|
||||
g_prev = NULL;
|
||||
g_output = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
BOOL WINAPI
|
||||
DllMain(HANDLE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
|
||||
{
|
||||
switch (dwReason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
backtrace_register();
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
backtrace_unregister();
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
7
lib/utils/tga2vbmp.sh
Normal file
7
lib/utils/tga2vbmp.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
dd if=$1 bs=1c skip=18 of=$2_clean
|
||||
printf "0: %.4x" $3 | sed -E 's/0: (..)(..)/0: \2\1/' | xxd -r -g0 > $2
|
||||
printf "0: %.4x" $4 | sed -E 's/0: (..)(..)/0: \2\1/' | xxd -r -g0 >> $2
|
||||
cat $2_clean >> $2
|
||||
rm $2_clean
|
||||
567
lib/utils/xzip/inzip.cpp
Normal file
567
lib/utils/xzip/inzip.cpp
Normal file
@@ -0,0 +1,567 @@
|
||||
#include "xzip.h"
|
||||
|
||||
typedef unsigned char uchar;
|
||||
typedef unsigned short ushort;
|
||||
//typedef unsigned long ulong;
|
||||
|
||||
struct huft;
|
||||
|
||||
#ifdef _LARGE_MODEL_
|
||||
#define WSIZE 0x4000U
|
||||
#define OUTBUFSIZ 0x800U
|
||||
#else
|
||||
#define WSIZE 0x8000U
|
||||
#define OUTBUFSIZ 0x1000U
|
||||
#endif
|
||||
|
||||
#define MIN_MATCH 3
|
||||
#define MAX_MATCH 258
|
||||
|
||||
#define DYN_ALLOC
|
||||
#define MIN_LOOKAHEAD (MAX_MATCH + MIN_MATCH + 1)
|
||||
#define MAX_DIST (WSIZE-MIN_LOOKAHEAD)
|
||||
|
||||
#define UNKNOWN (-1)
|
||||
#define BINARY 0
|
||||
#define ASCII 1
|
||||
|
||||
#define STORE 0
|
||||
#define DEFLATE 8
|
||||
|
||||
|
||||
#define Buf_size (8 * 2 * sizeof(char))
|
||||
|
||||
#define PUTSHORT(w) \
|
||||
{ if(out_offset < out_size-1){ \
|
||||
out_buf[out_offset++] = (char)((w) & 0xFF); \
|
||||
out_buf[out_offset++] = (char)((ushort)(w) >> 8); \
|
||||
} else { \
|
||||
flush_outbuf((w),2); \
|
||||
} \
|
||||
}
|
||||
|
||||
#define PUTBYTE(b) \
|
||||
{ if(out_offset < out_size){ \
|
||||
out_buf[out_offset++] = (char)(b); \
|
||||
} else { \
|
||||
flush_outbuf((b),1); \
|
||||
} \
|
||||
}
|
||||
|
||||
// ---------- EXTERN SECTION ----------
|
||||
|
||||
extern unsigned int window_size;
|
||||
|
||||
// ---------- PROTOTYPE SECTION ----------
|
||||
|
||||
unsigned int deflate(void);
|
||||
|
||||
void lm_init(int pack_level,ushort* flags);
|
||||
void bi_init(void);
|
||||
void bi_windup(void);
|
||||
unsigned bi_reverse(unsigned code,int len);
|
||||
|
||||
void ct_init(ushort* attr,int* method);
|
||||
|
||||
void send_bits(int value,int length);
|
||||
void flush_outbuf(unsigned w,unsigned bytes);
|
||||
int mem_read(char* b,unsigned bsize);
|
||||
void copy_block(char* buf,unsigned len,int header);
|
||||
void free_data(void);
|
||||
|
||||
// ---------- DEFINITION SECTION ----------
|
||||
|
||||
unsigned short bi_buf;
|
||||
|
||||
char IErrMsg[] = "ZIP Internal Error";
|
||||
|
||||
int level = 6;
|
||||
int verbose = 0;
|
||||
int bi_valid;
|
||||
|
||||
char* in_buf;
|
||||
char* out_buf;
|
||||
|
||||
unsigned in_offset;
|
||||
unsigned out_offset;
|
||||
unsigned in_size;
|
||||
unsigned out_size;
|
||||
|
||||
int (*read_buf)(char* buf,unsigned size);
|
||||
|
||||
unsigned int ZIP_compress(char* trg,unsigned int trgsize,char* src,unsigned int srcsize)
|
||||
{
|
||||
ushort att = (ushort)UNKNOWN;
|
||||
ushort flags = 0;
|
||||
int method = DEFLATE;
|
||||
|
||||
read_buf = mem_read;
|
||||
in_buf = src;
|
||||
in_size = (unsigned)srcsize;
|
||||
in_offset = 0;
|
||||
|
||||
out_buf = trg;
|
||||
out_size = (unsigned)trgsize;
|
||||
out_offset = 2 + 4;
|
||||
window_size = 0L;
|
||||
|
||||
if(out_size <= 6) return 0;
|
||||
|
||||
bi_init();
|
||||
ct_init(&att,&method);
|
||||
lm_init((level != 0 ? level : 1),&flags);
|
||||
deflate();
|
||||
free_data();
|
||||
window_size = 0L;
|
||||
|
||||
trg[0] = (char)(method & 0xFF);
|
||||
trg[1] = (char)((method >> 8) & 0xFF);
|
||||
|
||||
*(unsigned int*)(trg + 2) = (unsigned int)srcsize;
|
||||
return (unsigned int)out_offset;
|
||||
}
|
||||
|
||||
void bi_init(void)
|
||||
{
|
||||
bi_buf = 0;
|
||||
bi_valid = 0;
|
||||
}
|
||||
|
||||
void send_bits(int value,int length)
|
||||
{
|
||||
if(bi_valid > (int)Buf_size - length){
|
||||
bi_buf |= (value << bi_valid);
|
||||
PUTSHORT(bi_buf);
|
||||
bi_buf = (ushort)value >> (Buf_size - bi_valid);
|
||||
bi_valid += length - Buf_size;
|
||||
}
|
||||
else {
|
||||
bi_buf |= value << bi_valid;
|
||||
bi_valid += length;
|
||||
}
|
||||
}
|
||||
|
||||
unsigned bi_reverse(unsigned code,int len)
|
||||
{
|
||||
register unsigned res = 0;
|
||||
do {
|
||||
res |= code & 1;
|
||||
code >>= 1, res <<= 1;
|
||||
} while (--len > 0);
|
||||
return res >> 1;
|
||||
}
|
||||
|
||||
void flush_outbuf(unsigned w,unsigned bytes)
|
||||
{
|
||||
//ErrH.Abort(IErrMsg);
|
||||
}
|
||||
|
||||
void bi_windup(void)
|
||||
{
|
||||
if(bi_valid > 8){
|
||||
PUTSHORT(bi_buf);
|
||||
}
|
||||
else
|
||||
if(bi_valid > 0){
|
||||
PUTBYTE(bi_buf);
|
||||
}
|
||||
bi_buf = 0;
|
||||
bi_valid = 0;
|
||||
}
|
||||
|
||||
void copy_block(char* buf,unsigned len,int header)
|
||||
{
|
||||
bi_windup();
|
||||
if(header){
|
||||
PUTSHORT((ushort)len);
|
||||
PUTSHORT((ushort)~len);
|
||||
}
|
||||
if(out_offset + len > out_size){
|
||||
//ErrH.Abort(IErrMsg);
|
||||
}
|
||||
else {
|
||||
memcpy(out_buf + out_offset, buf, len);
|
||||
out_offset += len;
|
||||
}
|
||||
}
|
||||
|
||||
int mem_read(char* b,unsigned bsize)
|
||||
{
|
||||
if(in_offset < in_size){
|
||||
unsigned int block_size = in_size - in_offset;
|
||||
if (block_size > (unsigned int)bsize) block_size = (unsigned int)bsize;
|
||||
memcpy(b, in_buf + in_offset, (unsigned)block_size);
|
||||
in_offset += (unsigned)block_size;
|
||||
return (int)block_size;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef _LARGE_MODEL_
|
||||
#define HASH_BITS 14
|
||||
#else
|
||||
#define HASH_BITS 15
|
||||
#endif
|
||||
|
||||
#define HASH_SIZE (unsigned short)(1<<HASH_BITS)
|
||||
#define HASH_MASK (HASH_SIZE-1)
|
||||
#define WMASK (WSIZE-1)
|
||||
|
||||
#define NIL 0
|
||||
|
||||
#define FAST 4
|
||||
#define SLOW 2
|
||||
|
||||
#ifndef TOO_FAR
|
||||
# define TOO_FAR 4096
|
||||
#endif
|
||||
|
||||
typedef ushort Pos;
|
||||
typedef unsigned IPos;
|
||||
|
||||
#define H_SHIFT ((HASH_BITS+MIN_MATCH-1)/MIN_MATCH)
|
||||
|
||||
|
||||
// ---------- EXTERN SECTION ----------
|
||||
|
||||
extern int (*read_buf)(char* buf,unsigned size);
|
||||
extern int verbose;
|
||||
extern int level;
|
||||
|
||||
// ---------- PROTOTYPE SECTION ----------
|
||||
|
||||
void fill_window(void);
|
||||
unsigned int deflate_fast(void);
|
||||
int longest_match(IPos cur_match);
|
||||
void lm_init(int pack_level,ushort* flags);
|
||||
void lm_free(void);
|
||||
unsigned int deflate(void);
|
||||
unsigned int flush_block(char* buf,unsigned int stored_len,int eof);
|
||||
int ct_tally(int dist,int lc);
|
||||
|
||||
// ---------- DEFINITION SECTION ----------
|
||||
|
||||
#ifndef DYN_ALLOC
|
||||
uchar window[2L*WSIZE];
|
||||
Pos prev[WSIZE];
|
||||
Pos head[HASH_SIZE];
|
||||
#else
|
||||
uchar* window = NULL;
|
||||
Pos* prev = NULL;
|
||||
Pos* head;
|
||||
#endif
|
||||
|
||||
unsigned int window_size;
|
||||
int block_start;
|
||||
static int sliding;
|
||||
static unsigned ins_h;
|
||||
|
||||
unsigned int prev_length;
|
||||
|
||||
unsigned strstart;
|
||||
unsigned match_start;
|
||||
static int eofile;
|
||||
static unsigned lookahead;
|
||||
|
||||
unsigned max_chain_length;
|
||||
static unsigned int max_lazy_match;
|
||||
|
||||
#define max_insert_length max_lazy_match
|
||||
|
||||
unsigned good_match;
|
||||
|
||||
typedef struct config {
|
||||
ushort good_length;
|
||||
ushort max_lazy;
|
||||
ushort nice_length;
|
||||
ushort max_chain;
|
||||
} config;
|
||||
|
||||
int nice_match;
|
||||
|
||||
static config configuration_table[10] = {
|
||||
/* 0 */ {0, 0, 0, 0},
|
||||
/* 1 */ {4, 4, 8, 4},
|
||||
/* 2 */ {4, 5, 16, 8},
|
||||
/* 3 */ {4, 6, 32, 32},
|
||||
|
||||
/* 4 */ {4, 4, 16, 16},
|
||||
/* 5 */ {8, 16, 32, 32},
|
||||
/* 6 */ {8, 16, 128, 128},
|
||||
/* 7 */ {8, 32, 128, 256},
|
||||
/* 8 */ {32, 128, 258, 1024},
|
||||
/* 9 */ {32, 258, 258, 4096}};
|
||||
|
||||
#define EQUAL 0
|
||||
|
||||
#define UPDATE_HASH(h,c) (h = (((h)<<H_SHIFT) ^ (c)) & HASH_MASK)
|
||||
|
||||
#define INSERT_STRING(s, match_head) \
|
||||
(UPDATE_HASH(ins_h, window[(s) + MIN_MATCH-1]), \
|
||||
prev[(s) & WMASK] = match_head = head[ins_h], \
|
||||
head[ins_h] = (s))
|
||||
|
||||
void lm_init(int pack_level,ushort* flags)
|
||||
{
|
||||
register unsigned j;
|
||||
|
||||
//if(pack_level < 1 || pack_level > 9) ErrH.Abort(IErrMsg);
|
||||
|
||||
sliding = 0;
|
||||
if(window_size == 0L){
|
||||
sliding = 1;
|
||||
window_size = (unsigned int)2L*WSIZE;
|
||||
}
|
||||
|
||||
#ifdef DYN_ALLOC
|
||||
if(window == NULL)
|
||||
window = new uchar[WSIZE * 2];
|
||||
if(prev == NULL){
|
||||
prev = new Pos[WSIZE];
|
||||
head = new Pos[HASH_SIZE];
|
||||
}
|
||||
#endif
|
||||
|
||||
head[HASH_SIZE-1] = NIL;
|
||||
memset((char*)head,NIL,(unsigned)(HASH_SIZE - 1) * sizeof(*head));
|
||||
|
||||
max_lazy_match = configuration_table[pack_level].max_lazy;
|
||||
good_match = configuration_table[pack_level].good_length;
|
||||
nice_match = configuration_table[pack_level].nice_length;
|
||||
max_chain_length = configuration_table[pack_level].max_chain;
|
||||
if(pack_level == 1){
|
||||
*flags |= FAST;
|
||||
} else
|
||||
if(pack_level == 9){
|
||||
*flags |= SLOW;
|
||||
}
|
||||
strstart = 0;
|
||||
block_start = 0L;
|
||||
|
||||
j = WSIZE;
|
||||
|
||||
if(sizeof(int) > 2)
|
||||
j <<= 1;
|
||||
|
||||
lookahead = (*read_buf)((char*)window, j);
|
||||
|
||||
if(lookahead == 0 || lookahead == (unsigned)EOF){
|
||||
eofile = 1, lookahead = 0;
|
||||
return;
|
||||
}
|
||||
eofile = 0;
|
||||
while(lookahead < MIN_LOOKAHEAD && !eofile) fill_window();
|
||||
|
||||
ins_h = 0;
|
||||
for(j=0; j<MIN_MATCH-1; j++) UPDATE_HASH(ins_h, window[j]);
|
||||
}
|
||||
|
||||
void lm_free(void)
|
||||
{
|
||||
#ifdef DYN_ALLOC
|
||||
if(window != NULL){
|
||||
// free(window);
|
||||
delete window;
|
||||
window = NULL;
|
||||
}
|
||||
if(prev != NULL){
|
||||
/*
|
||||
free((unsigned char*)prev);
|
||||
free((unsigned char*)head);
|
||||
*/
|
||||
delete prev;
|
||||
delete head;
|
||||
prev = head = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int longest_match(IPos cur_match)
|
||||
{
|
||||
unsigned chain_length = max_chain_length;
|
||||
register uchar *scan = window + strstart;
|
||||
register uchar *match;
|
||||
register int len;
|
||||
int best_len = prev_length;
|
||||
IPos limit = strstart > (IPos)MAX_DIST ? strstart - (IPos)MAX_DIST : NIL;
|
||||
|
||||
register uchar *strend = window + strstart + MAX_MATCH;
|
||||
register uchar scan_end1 = scan[best_len-1];
|
||||
register uchar scan_end = scan[best_len];
|
||||
if(prev_length >= good_match){
|
||||
chain_length >>= 2;
|
||||
}
|
||||
do {
|
||||
match = window + cur_match;
|
||||
if(match[best_len] != scan_end ||
|
||||
match[best_len-1] != scan_end1 ||
|
||||
*match != *scan ||
|
||||
*++match != scan[1]) continue;
|
||||
|
||||
scan += 2, match++;
|
||||
do {
|
||||
} while(*++scan == *++match && *++scan == *++match &&
|
||||
*++scan == *++match && *++scan == *++match &&
|
||||
*++scan == *++match && *++scan == *++match &&
|
||||
*++scan == *++match && *++scan == *++match &&
|
||||
scan < strend);
|
||||
|
||||
len = MAX_MATCH - (int)(strend - scan);
|
||||
scan = strend - MAX_MATCH;
|
||||
if(len > best_len){
|
||||
match_start = cur_match;
|
||||
best_len = len;
|
||||
if(len >= nice_match) break;
|
||||
scan_end1 = scan[best_len-1];
|
||||
scan_end = scan[best_len];
|
||||
}
|
||||
} while((cur_match = prev[cur_match & WMASK]) > limit && --chain_length != 0);
|
||||
return best_len;
|
||||
}
|
||||
|
||||
#define check_match(start, match, length)
|
||||
|
||||
void fill_window(void)
|
||||
{
|
||||
register unsigned n, m;
|
||||
unsigned more = (unsigned)(window_size - (unsigned int)lookahead - (unsigned int)strstart);
|
||||
if(more == (unsigned)EOF){
|
||||
more--;
|
||||
} else
|
||||
if(strstart >= WSIZE+MAX_DIST && sliding){
|
||||
memcpy((char*)window, (char*)window+WSIZE, (unsigned)WSIZE);
|
||||
match_start -= WSIZE;
|
||||
strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */
|
||||
|
||||
block_start -= (int) WSIZE;
|
||||
|
||||
for(n = 0; n < HASH_SIZE; n++){
|
||||
m = head[n];
|
||||
head[n] = (Pos)(m >= WSIZE ? m-WSIZE : NIL);
|
||||
}
|
||||
for(n = 0; n < WSIZE; n++){
|
||||
m = prev[n];
|
||||
prev[n] = (Pos)(m >= WSIZE ? m-WSIZE : NIL);
|
||||
}
|
||||
more += WSIZE;
|
||||
if(verbose) putc('.', stderr);
|
||||
}
|
||||
if(!eofile){
|
||||
n = (*read_buf)((char*)window+strstart+lookahead, more);
|
||||
if(n == 0 || n == (unsigned)EOF){
|
||||
eofile = 1;
|
||||
}
|
||||
else {
|
||||
lookahead += n;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#define FLUSH_BLOCK(eof) \
|
||||
flush_block(block_start >= 0L ? (char*)&window[(unsigned)block_start] : \
|
||||
(char*)NULL,(int)strstart - block_start,(eof))
|
||||
|
||||
unsigned int deflate_fast(void)
|
||||
{
|
||||
IPos hash_head;
|
||||
int flush;
|
||||
unsigned match_length = 0;
|
||||
|
||||
prev_length = MIN_MATCH-1;
|
||||
while(lookahead != 0){
|
||||
INSERT_STRING(strstart, hash_head);
|
||||
if(hash_head != NIL && strstart - hash_head <= MAX_DIST){
|
||||
match_length = longest_match (hash_head);
|
||||
if(match_length > lookahead) match_length = lookahead;
|
||||
}
|
||||
if(match_length >= MIN_MATCH){
|
||||
check_match(strstart, match_start, match_length);
|
||||
flush = ct_tally(strstart-match_start, match_length - MIN_MATCH);
|
||||
lookahead -= match_length;
|
||||
if(match_length <= max_insert_length){
|
||||
match_length--;
|
||||
do {
|
||||
strstart++;
|
||||
INSERT_STRING(strstart, hash_head);
|
||||
} while(--match_length != 0);
|
||||
strstart++;
|
||||
}
|
||||
else {
|
||||
strstart += match_length;
|
||||
match_length = 0;
|
||||
ins_h = window[strstart];
|
||||
UPDATE_HASH(ins_h, window[strstart+1]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
flush = ct_tally (0, window[strstart]);
|
||||
lookahead--;
|
||||
strstart++;
|
||||
}
|
||||
if(flush) FLUSH_BLOCK(0), block_start = strstart;
|
||||
while(lookahead < MIN_LOOKAHEAD && !eofile) fill_window();
|
||||
}
|
||||
return FLUSH_BLOCK(1);
|
||||
}
|
||||
|
||||
unsigned int deflate(void)
|
||||
{
|
||||
IPos hash_head;
|
||||
IPos prev_match;
|
||||
int flush;
|
||||
int match_available = 0;
|
||||
register unsigned match_length = MIN_MATCH - 1;
|
||||
|
||||
if(level <= 3) return deflate_fast();
|
||||
|
||||
while(lookahead != 0){
|
||||
INSERT_STRING(strstart, hash_head);
|
||||
|
||||
prev_length = match_length, prev_match = match_start;
|
||||
match_length = MIN_MATCH-1;
|
||||
|
||||
if(hash_head != NIL && prev_length < max_lazy_match && strstart - hash_head <= MAX_DIST){
|
||||
match_length = longest_match (hash_head);
|
||||
if(match_length > lookahead) match_length = lookahead;
|
||||
|
||||
if(match_length == MIN_MATCH && strstart-match_start > TOO_FAR){
|
||||
match_length--;
|
||||
}
|
||||
}
|
||||
if(prev_length >= MIN_MATCH && match_length <= prev_length){
|
||||
check_match(strstart-1, prev_match, prev_length);
|
||||
flush = ct_tally(strstart-1-prev_match, prev_length - MIN_MATCH);
|
||||
lookahead -= prev_length-1;
|
||||
prev_length -= 2;
|
||||
do {
|
||||
strstart++;
|
||||
INSERT_STRING(strstart, hash_head);
|
||||
} while(--prev_length != 0);
|
||||
match_available = 0;
|
||||
match_length = MIN_MATCH-1;
|
||||
strstart++;
|
||||
if(flush) FLUSH_BLOCK(0), block_start = strstart;
|
||||
}
|
||||
else
|
||||
if(match_available){
|
||||
if(ct_tally (0, window[strstart-1])){
|
||||
FLUSH_BLOCK(0), block_start = strstart;
|
||||
}
|
||||
strstart++;
|
||||
lookahead--;
|
||||
}
|
||||
else {
|
||||
match_available = 1;
|
||||
strstart++;
|
||||
lookahead--;
|
||||
}
|
||||
while(lookahead < MIN_LOOKAHEAD && !eofile) fill_window();
|
||||
}
|
||||
if(match_available) ct_tally(0, window[strstart-1]);
|
||||
return FLUSH_BLOCK(1);
|
||||
}
|
||||
|
||||
698
lib/utils/xzip/outzip.cpp
Normal file
698
lib/utils/xzip/outzip.cpp
Normal file
@@ -0,0 +1,698 @@
|
||||
#include "xzip.h"
|
||||
|
||||
typedef unsigned char uchar;
|
||||
//typedef unsigned short ushort;
|
||||
//typedef unsigned long ulong;
|
||||
|
||||
struct huft;
|
||||
|
||||
#ifdef _LARGE_MODEL_
|
||||
#define WSIZE 0x4000U
|
||||
#define OUTBUFSIZ 0x800U
|
||||
#else
|
||||
#define WSIZE 0x8000U
|
||||
#define OUTBUFSIZ 0x1000U
|
||||
#endif
|
||||
|
||||
#define MIN_MATCH 3
|
||||
#define MAX_MATCH 258
|
||||
|
||||
#define DYN_ALLOC
|
||||
#define MIN_LOOKAHEAD (MAX_MATCH + MIN_MATCH + 1)
|
||||
#define MAX_DIST (WSIZE-MIN_LOOKAHEAD)
|
||||
|
||||
#define UNKNOWN (-1)
|
||||
#define BINARY 0
|
||||
#define ASCII 1
|
||||
|
||||
#define STORE 0
|
||||
#define DEFLATE 8
|
||||
|
||||
// ---------- EXTERN SECTION ----------
|
||||
// ---------- PROTOTYPE SECTION ----------
|
||||
|
||||
int FlushMemory(void);
|
||||
int FlushOutput(void);
|
||||
void inflate(void);
|
||||
int ReadMemoryByte(unsigned short* x);
|
||||
|
||||
// ---------- DEFINITION SECTION ----------
|
||||
|
||||
uchar* outbuf;
|
||||
uchar* outptr;
|
||||
|
||||
uchar* slide;
|
||||
|
||||
int outcnt = 0;
|
||||
int outpos = 0;
|
||||
unsigned int bitbuf = 0;
|
||||
int bits_left = 0;
|
||||
char zipeof = 0;
|
||||
|
||||
unsigned short mask_bits[] = {
|
||||
0x0000,
|
||||
0x0001, 0x0003, 0x0007, 0x000F, 0x001F, 0x003F, 0x007F, 0x00FF,
|
||||
0x01FF, 0x03FF, 0x07FF, 0x0FFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF
|
||||
};
|
||||
|
||||
static uchar* mem_i_buffer;
|
||||
static uchar* mem_o_buffer;
|
||||
static unsigned int mem_i_size,mem_i_offset;
|
||||
static unsigned int mem_o_size,mem_o_offset;
|
||||
|
||||
unsigned int ZIP_GetExpandedSize(char* p)
|
||||
{
|
||||
return *(unsigned int*)(p + 2);
|
||||
}
|
||||
|
||||
void ZIP_expand(char* trg,unsigned int trgsize,char* src,unsigned int srcsize)
|
||||
{
|
||||
unsigned short method;
|
||||
|
||||
outbuf = new uchar[OUTBUFSIZ + 1];
|
||||
slide = new uchar[WSIZE];
|
||||
|
||||
method = *(short*)(src);
|
||||
|
||||
mem_i_buffer = (uchar*)src + 2 + 4;
|
||||
mem_i_size = srcsize - 2 - 4;
|
||||
mem_i_offset = 0;
|
||||
|
||||
mem_o_buffer = (uchar*)trg;
|
||||
mem_o_size = trgsize;
|
||||
mem_o_offset = 0;
|
||||
|
||||
bits_left = 0;
|
||||
bitbuf = 0L;
|
||||
outpos = 0L;
|
||||
outcnt = 0;
|
||||
outptr = outbuf;
|
||||
zipeof = 0;
|
||||
memset(outbuf,0xAA,OUTBUFSIZ);
|
||||
|
||||
switch (method) {
|
||||
case STORE:
|
||||
memcpy(trg,src + 2 + 4,(unsigned)(srcsize - 2 - 4));
|
||||
break;
|
||||
case DEFLATE:
|
||||
inflate();
|
||||
FlushOutput();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
delete outbuf;
|
||||
delete slide;
|
||||
}
|
||||
|
||||
int FlushOutput(void)
|
||||
{
|
||||
int rc = FlushMemory();
|
||||
outpos += outcnt;
|
||||
outcnt = 0;
|
||||
outptr = outbuf;
|
||||
return rc;
|
||||
}
|
||||
|
||||
int ReadMemoryByte(unsigned short* x)
|
||||
{
|
||||
if (mem_i_offset < mem_i_size) {
|
||||
*x = (unsigned short) mem_i_buffer[mem_i_offset++];
|
||||
return 8;
|
||||
} else
|
||||
return 0;
|
||||
}
|
||||
|
||||
int FlushMemory(void)
|
||||
{
|
||||
if(outcnt == 0)
|
||||
return 0;
|
||||
|
||||
if(mem_o_offset + outcnt <= mem_o_size){
|
||||
memcpy((char*)(mem_o_buffer + mem_o_offset),(char*)outbuf,outcnt);
|
||||
mem_o_offset += outcnt;
|
||||
return 0;
|
||||
} else
|
||||
return 50;
|
||||
}
|
||||
|
||||
|
||||
#define NEXTBYTE (ReadByte(&bytebuf), bytebuf)
|
||||
#define NEEDBITS(n) {while(k<(n)){b|=((unsigned int)NEXTBYTE)<<k;k+=8;}}
|
||||
#define DUMPBITS(n) {b>>=(n);k-=(n);}
|
||||
|
||||
#define BMAX 16
|
||||
#define N_MAX 288
|
||||
|
||||
// ---------- EXTERN SECTION ----------
|
||||
|
||||
extern uchar* outptr;
|
||||
extern int outcnt;
|
||||
|
||||
// ---------- PROTOTYPE SECTION ----------
|
||||
|
||||
int FlushOutput(void);
|
||||
int ReadMemoryByte(unsigned short* x);
|
||||
|
||||
int huft_build(unsigned int* b,unsigned int n,unsigned int s,unsigned short* d,unsigned short* e,struct huft** t,int* m);
|
||||
int huft_free(struct huft* t);
|
||||
void flush(unsigned w);
|
||||
int inflate_codes(struct huft* tl,struct huft* td,int bl,int bd);
|
||||
int inflate_stored(void);
|
||||
int inflate_fixed(void);
|
||||
int inflate_dynamic(void);
|
||||
int inflate_block(int* e);
|
||||
int inflate_entry(void);
|
||||
void inflate(void);
|
||||
int ReadByte(unsigned short* x);
|
||||
|
||||
// ---------- DEFINITION SECTION ----------
|
||||
|
||||
struct huft {
|
||||
uchar e;
|
||||
uchar b;
|
||||
union {
|
||||
unsigned short n;
|
||||
struct huft *t;
|
||||
} v;
|
||||
};
|
||||
|
||||
static unsigned border[] = {
|
||||
16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15};
|
||||
static unsigned short cplens[] = {
|
||||
3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,
|
||||
35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
|
||||
static unsigned short cplext[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2,
|
||||
3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 99, 99};
|
||||
static unsigned short cpdist[] = {
|
||||
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
|
||||
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
|
||||
8193, 12289, 16385, 24577};
|
||||
static unsigned short cpdext[] = {
|
||||
0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6,
|
||||
7, 7, 8, 8, 9, 9, 10, 10, 11, 11,
|
||||
12, 12, 13, 13};
|
||||
|
||||
unsigned wp;
|
||||
unsigned int bb;
|
||||
unsigned bk;
|
||||
unsigned short bytebuf;
|
||||
|
||||
int lbits = 9;
|
||||
int dbits = 6;
|
||||
|
||||
unsigned hufts;
|
||||
|
||||
int huft_build(unsigned int* b,unsigned int n,unsigned int s,unsigned short* d,unsigned short* e,struct huft** t,int* m)
|
||||
{
|
||||
unsigned a;
|
||||
unsigned c[BMAX+1];
|
||||
unsigned f;
|
||||
int g;
|
||||
int h;
|
||||
unsigned i;
|
||||
unsigned j;
|
||||
int k;
|
||||
int l;
|
||||
unsigned *p;
|
||||
struct huft *q;
|
||||
struct huft r;
|
||||
struct huft *u[BMAX];
|
||||
unsigned v[N_MAX];
|
||||
int w;
|
||||
unsigned x[BMAX+1];
|
||||
unsigned *xp;
|
||||
int y;
|
||||
unsigned z;
|
||||
|
||||
memset(c, 0,sizeof(c));
|
||||
p = b; i = n;
|
||||
do {
|
||||
c[*p++]++;
|
||||
} while(--i);
|
||||
if(c[0] == n)
|
||||
return 2;
|
||||
|
||||
l = *m;
|
||||
for(j = 1; j <= BMAX; j++)
|
||||
if(c[j])
|
||||
break;
|
||||
k = j;
|
||||
if((unsigned)l < j)
|
||||
l = j;
|
||||
for(i = BMAX; i; i--)
|
||||
if(c[i])
|
||||
break;
|
||||
g = i;
|
||||
if((unsigned)l > i)
|
||||
l = i;
|
||||
*m = l;
|
||||
|
||||
for(y = 1 << j; j < i; j++,y <<= 1)
|
||||
if((y -= c[j]) < 0)
|
||||
return 2;
|
||||
if((y -= c[i]) < 0)
|
||||
return 2;
|
||||
c[i] += y;
|
||||
|
||||
x[1] = j = 0;
|
||||
p = c + 1; xp = x + 2;
|
||||
while(--i){
|
||||
*xp++ = (j += *p++);
|
||||
}
|
||||
|
||||
p = b; i = 0;
|
||||
do {
|
||||
if((j = *p++) != 0)
|
||||
v[x[j]++] = i;
|
||||
} while(++i < n);
|
||||
|
||||
x[0] = i = 0;
|
||||
p = v;
|
||||
h = -1;
|
||||
w = -l;
|
||||
u[0] = (struct huft*)NULL;
|
||||
q = (struct huft*)NULL;
|
||||
z = 0;
|
||||
|
||||
for(; k <= g; k++){
|
||||
a = c[k];
|
||||
while(a--){
|
||||
while(k > w + l){
|
||||
h++;
|
||||
w += l;
|
||||
z = (z = g - w) > (unsigned)l ? l : z;
|
||||
if((f = 1 << (j = k - w)) > a + 1)
|
||||
{
|
||||
f -= a + 1;
|
||||
xp = c + k;
|
||||
while(++j < z)
|
||||
{
|
||||
if((f <<= 1) <= *++xp)
|
||||
break;
|
||||
f -= *xp;
|
||||
}
|
||||
}
|
||||
z = 1 << j;
|
||||
q = new huft[z + 1];
|
||||
hufts += z + 1;
|
||||
*t = q + 1;
|
||||
*(t = &(q->v.t)) = (struct huft*)NULL;
|
||||
u[h] = ++q;
|
||||
|
||||
if(h){
|
||||
x[h] = i;
|
||||
r.b = (uchar)l;
|
||||
r.e = (uchar)(16 + j);
|
||||
r.v.t = q;
|
||||
j = i >> (w - l);
|
||||
u[h-1][j] = r;
|
||||
}
|
||||
}
|
||||
|
||||
r.b = (uchar)(k - w);
|
||||
if(p >= v + n)
|
||||
r.e = 99;
|
||||
else
|
||||
if(*p < s){
|
||||
r.e = (uchar)(*p < 256 ? 16 : 15);
|
||||
r.v.n = *p++;
|
||||
}
|
||||
else {
|
||||
r.e = (uchar)e[*p - s]; /* non-simple--look up in lists */
|
||||
r.v.n = d[*p++ - s];
|
||||
}
|
||||
|
||||
f = 1 << (k - w);
|
||||
for(j = i >> w; j < z; j += f)
|
||||
q[j] = r;
|
||||
|
||||
for(j = 1 << (k - 1); i & j; j >>= 1)
|
||||
i ^= j;
|
||||
i ^= j;
|
||||
|
||||
while((i & ((1 << w) - 1)) != x[h]){
|
||||
h--;
|
||||
w -= l;
|
||||
}
|
||||
}
|
||||
}
|
||||
return y != 0 && n != 1;
|
||||
}
|
||||
|
||||
int huft_free(struct huft* t)
|
||||
{
|
||||
struct huft *p,*q;
|
||||
p = t;
|
||||
while(p != (struct huft*)NULL){
|
||||
q = (--p)->v.t;
|
||||
// free(p);
|
||||
delete p;
|
||||
p = q;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void flush(unsigned w)
|
||||
{
|
||||
unsigned n;
|
||||
uchar *p;
|
||||
|
||||
p = slide;
|
||||
while(w){
|
||||
n = (n = OUTBUFSIZ - outcnt) < w ? n : w;
|
||||
memcpy(outptr,p,n);
|
||||
outptr += n;
|
||||
if((outcnt += n) == OUTBUFSIZ)
|
||||
FlushOutput();
|
||||
p += n;
|
||||
w -= n;
|
||||
}
|
||||
}
|
||||
|
||||
int inflate_codes(struct huft* tl,struct huft* td,int bl,int bd)
|
||||
{
|
||||
unsigned e;
|
||||
unsigned n,d;
|
||||
unsigned w;
|
||||
struct huft *t;
|
||||
unsigned ml,md;
|
||||
unsigned int b;
|
||||
unsigned k;
|
||||
|
||||
b = bb;
|
||||
k = bk;
|
||||
w = wp;
|
||||
|
||||
ml = mask_bits[bl];
|
||||
md = mask_bits[bd];
|
||||
while(1){
|
||||
NEEDBITS((unsigned)bl)
|
||||
if((e = (t = tl + ((unsigned)b & ml))->e) > 16)
|
||||
do {
|
||||
if(e == 99)
|
||||
return 1;
|
||||
DUMPBITS(t->b)
|
||||
e -= 16;
|
||||
NEEDBITS(e)
|
||||
} while((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16);
|
||||
DUMPBITS(t->b)
|
||||
if(e == 16){
|
||||
slide[w++] = (uchar)t->v.n;
|
||||
if(w == WSIZE){
|
||||
flush(w);
|
||||
w = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(e == 15)
|
||||
break;
|
||||
NEEDBITS(e)
|
||||
n = t->v.n + ((unsigned)b & mask_bits[e]);
|
||||
DUMPBITS(e);
|
||||
NEEDBITS((unsigned)bd)
|
||||
if((e = (t = td + ((unsigned)b & md))->e) > 16)
|
||||
do {
|
||||
if(e == 99)
|
||||
return 1;
|
||||
DUMPBITS(t->b)
|
||||
e -= 16;
|
||||
NEEDBITS(e)
|
||||
} while((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16);
|
||||
DUMPBITS(t->b)
|
||||
NEEDBITS(e)
|
||||
d = w - t->v.n - ((unsigned)b & mask_bits[e]);
|
||||
DUMPBITS(e)
|
||||
do {
|
||||
n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e);
|
||||
if(w - d >= e){
|
||||
memcpy(slide + w,slide + d,e);
|
||||
w += e;
|
||||
d += e;
|
||||
}
|
||||
else
|
||||
do {
|
||||
slide[w++] = slide[d++];
|
||||
} while(--e);
|
||||
if(w == WSIZE){
|
||||
flush(w);
|
||||
w = 0;
|
||||
}
|
||||
} while(n);
|
||||
}
|
||||
}
|
||||
wp = w;
|
||||
bb = b;
|
||||
bk = k;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int inflate_stored(void)
|
||||
{
|
||||
unsigned n;
|
||||
unsigned w;
|
||||
unsigned int b;
|
||||
unsigned k;
|
||||
|
||||
b = bb;
|
||||
k = bk;
|
||||
w = wp;
|
||||
n = k & 7;
|
||||
DUMPBITS(n);
|
||||
|
||||
NEEDBITS(16)
|
||||
n = ((unsigned)b & 0xffff);
|
||||
DUMPBITS(16)
|
||||
NEEDBITS(16)
|
||||
if(n != (unsigned)((~b) & 0xffff))
|
||||
return 1;
|
||||
DUMPBITS(16)
|
||||
|
||||
while(n--){
|
||||
NEEDBITS(8)
|
||||
slide[w++] = (uchar)b;
|
||||
if(w == WSIZE){
|
||||
flush(w);
|
||||
w = 0;
|
||||
}
|
||||
DUMPBITS(8)
|
||||
}
|
||||
|
||||
wp = w;
|
||||
bb = b;
|
||||
bk = k;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int inflate_fixed(void)
|
||||
{
|
||||
int i;
|
||||
struct huft *tl;
|
||||
struct huft *td;
|
||||
int bl;
|
||||
int bd;
|
||||
unsigned l[288];
|
||||
|
||||
for(i = 0; i < 144; i++)
|
||||
l[i] = 8;
|
||||
for(; i < 256; i++)
|
||||
l[i] = 9;
|
||||
for(; i < 280; i++)
|
||||
l[i] = 7;
|
||||
for(; i < 288; i++)
|
||||
l[i] = 8;
|
||||
bl = 7;
|
||||
if((i = huft_build(l,288,257,cplens,cplext,&tl,&bl)) != 0)
|
||||
return i;
|
||||
|
||||
for(i = 0; i < 30; i++)
|
||||
l[i] = 5;
|
||||
bd = 5;
|
||||
if((i = huft_build(l,30,0,cpdist,cpdext,&td,&bd)) > 1){
|
||||
huft_free(tl);
|
||||
return i;
|
||||
}
|
||||
|
||||
if(inflate_codes(tl,td,bl,bd))
|
||||
return 1;
|
||||
|
||||
huft_free(tl);
|
||||
huft_free(td);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int inflate_dynamic(void)
|
||||
{
|
||||
int i;
|
||||
unsigned j;
|
||||
unsigned l;
|
||||
unsigned m;
|
||||
unsigned n;
|
||||
struct huft *tl;
|
||||
struct huft *td;
|
||||
int bl;
|
||||
int bd;
|
||||
unsigned nb;
|
||||
unsigned nl;
|
||||
unsigned nd;
|
||||
unsigned ll[286+30];
|
||||
unsigned int b;
|
||||
unsigned k;
|
||||
|
||||
b = bb;
|
||||
k = bk;
|
||||
|
||||
NEEDBITS(5)
|
||||
nl = 257 + ((unsigned)b & 0x1f);
|
||||
DUMPBITS(5)
|
||||
NEEDBITS(5)
|
||||
nd = 1 + ((unsigned)b & 0x1f);
|
||||
DUMPBITS(5)
|
||||
NEEDBITS(4)
|
||||
nb = 4 + ((unsigned)b & 0xf);
|
||||
DUMPBITS(4)
|
||||
if(nl > 286 || nd > 30)
|
||||
return 1;
|
||||
for(j = 0; j < nb; j++){
|
||||
NEEDBITS(3)
|
||||
ll[border[j]] = (unsigned)b & 7;
|
||||
DUMPBITS(3)
|
||||
}
|
||||
for(; j < 19; j++)
|
||||
ll[border[j]] = 0;
|
||||
bl = 7;
|
||||
if((i = huft_build(ll,19,19,NULL,NULL,&tl,&bl)) != 0){
|
||||
if(i == 1)
|
||||
huft_free(tl);
|
||||
return i;
|
||||
}
|
||||
n = nl + nd;
|
||||
m = mask_bits[bl];
|
||||
i = l = 0;
|
||||
while((unsigned)i < n){
|
||||
NEEDBITS((unsigned)bl)
|
||||
j = (td = tl + ((unsigned)b & m))->b;
|
||||
DUMPBITS(j)
|
||||
j = td->v.n;
|
||||
if(j < 16)
|
||||
ll[i++] = l = j;
|
||||
else
|
||||
if(j == 16){
|
||||
NEEDBITS(2)
|
||||
j = 3 + ((unsigned)b & 3);
|
||||
DUMPBITS(2)
|
||||
if((unsigned)i + j > n)
|
||||
return 1;
|
||||
while(j--)
|
||||
ll[i++] = l;
|
||||
}
|
||||
else
|
||||
if(j == 17){
|
||||
NEEDBITS(3)
|
||||
j = 3 + ((unsigned)b & 7);
|
||||
DUMPBITS(3)
|
||||
if((unsigned)i + j > n)
|
||||
return 1;
|
||||
while(j--)
|
||||
ll[i++] = 0;
|
||||
l = 0;
|
||||
}
|
||||
else {
|
||||
NEEDBITS(7)
|
||||
j = 11 + ((unsigned)b & 0x7f);
|
||||
DUMPBITS(7)
|
||||
if((unsigned)i + j > n)
|
||||
return 1;
|
||||
while(j--)
|
||||
ll[i++] = 0;
|
||||
l = 0;
|
||||
}
|
||||
}
|
||||
huft_free(tl);
|
||||
|
||||
bb = b;
|
||||
bk = k;
|
||||
bl = lbits;
|
||||
if((i = huft_build(ll,nl,257,cplens,cplext,&tl,&bl)) != 0){
|
||||
if(i == 1)
|
||||
huft_free(tl);
|
||||
return i;
|
||||
}
|
||||
bd = dbits;
|
||||
if((i = huft_build(ll + nl,nd,0,cpdist,cpdext,&td,&bd)) != 0){
|
||||
if(i == 1)
|
||||
huft_free(td);
|
||||
huft_free(tl);
|
||||
return i;
|
||||
}
|
||||
if(inflate_codes(tl,td,bl,bd))
|
||||
return 1;
|
||||
huft_free(tl);
|
||||
huft_free(td);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int inflate_block(int* e)
|
||||
{
|
||||
unsigned t;
|
||||
unsigned int b;
|
||||
unsigned k;
|
||||
|
||||
b = bb;
|
||||
k = bk;
|
||||
|
||||
NEEDBITS(1)
|
||||
*e = (int)b & 1;
|
||||
DUMPBITS(1)
|
||||
|
||||
NEEDBITS(2)
|
||||
t = (unsigned)b & 3;
|
||||
DUMPBITS(2)
|
||||
|
||||
bb = b;
|
||||
bk = k;
|
||||
|
||||
if(t == 2)
|
||||
return inflate_dynamic();
|
||||
if(t == 0)
|
||||
return inflate_stored();
|
||||
if(t == 1)
|
||||
return inflate_fixed();
|
||||
return 2;
|
||||
}
|
||||
|
||||
int inflate_entry(void)
|
||||
{
|
||||
int e;
|
||||
int r;
|
||||
unsigned h;
|
||||
|
||||
wp = 0;
|
||||
bk = 0;
|
||||
bb = 0;
|
||||
|
||||
h = 0;
|
||||
do {
|
||||
hufts = 0;
|
||||
if((r = inflate_block(&e)) != 0)
|
||||
return r;
|
||||
if(hufts > h)
|
||||
h = hufts;
|
||||
} while(!e);
|
||||
|
||||
flush(wp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void inflate(void)
|
||||
{
|
||||
inflate_entry();
|
||||
}
|
||||
|
||||
int ReadByte(unsigned short* x)
|
||||
{
|
||||
return ReadMemoryByte(x);
|
||||
}
|
||||
|
||||
706
lib/utils/xzip/treezip.cpp
Normal file
706
lib/utils/xzip/treezip.cpp
Normal file
@@ -0,0 +1,706 @@
|
||||
#include "xzip.h"
|
||||
|
||||
typedef unsigned char uchar;
|
||||
//typedef unsigned short ushort;
|
||||
//typedef unsigned long ulong;
|
||||
|
||||
extern char* IErrMsg;
|
||||
|
||||
#ifdef _LARGE_MODEL_
|
||||
#define WSIZE 0x4000U
|
||||
#define OUTBUFSIZ 0x800U
|
||||
#else
|
||||
#define WSIZE 0x8000U
|
||||
#define OUTBUFSIZ 0x1000U
|
||||
#endif
|
||||
|
||||
#define MIN_MATCH 3
|
||||
#define MAX_MATCH 258
|
||||
|
||||
#define DYN_ALLOC
|
||||
#define MIN_LOOKAHEAD (MAX_MATCH + MIN_MATCH + 1)
|
||||
#define MAX_DIST (WSIZE-MIN_LOOKAHEAD)
|
||||
|
||||
#define UNKNOWN (-1)
|
||||
#define BINARY 0
|
||||
#define ASCII 1
|
||||
|
||||
#define STORE 0
|
||||
#define DEFLATE 8
|
||||
|
||||
#define MAX_BITS 15
|
||||
#define MAX_BL_BITS 7
|
||||
#define LENGTH_CODES 29
|
||||
#define LITERALS 256
|
||||
#define END_BLOCK 256
|
||||
#define L_CODES (LITERALS+1+LENGTH_CODES)
|
||||
#define D_CODES 30
|
||||
#define BL_CODES 19
|
||||
|
||||
#define STORED_BLOCK 0
|
||||
#define STATIC_TREES 1
|
||||
#define DYN_TREES 2
|
||||
|
||||
#define LIT_BUFSIZE 0x4000
|
||||
|
||||
#define DIST_BUFSIZE LIT_BUFSIZE
|
||||
|
||||
#define REP_3_6 16
|
||||
#define REPZ_3_10 17
|
||||
#define REPZ_11_138 18
|
||||
|
||||
typedef struct ct_data {
|
||||
union {
|
||||
unsigned short freq;
|
||||
unsigned short code;
|
||||
} fc;
|
||||
union {
|
||||
unsigned short dad;
|
||||
unsigned short len;
|
||||
} dl;
|
||||
} ct_data;
|
||||
|
||||
typedef struct tree_desc
|
||||
{
|
||||
ct_data* dyn_tree;
|
||||
ct_data* static_tree;
|
||||
int* extra_bits;
|
||||
int extra_base;
|
||||
int elems;
|
||||
int max_length;
|
||||
int max_code;
|
||||
} tree_desc;
|
||||
|
||||
#define Freq fc.freq
|
||||
#define Code fc.code
|
||||
#define Dad dl.dad
|
||||
#define Len dl.len
|
||||
|
||||
#define HEAP_SIZE (2 * L_CODES + 1)
|
||||
|
||||
// ---------- EXTERN SECTION ----------
|
||||
|
||||
extern int verbose;
|
||||
extern int level;
|
||||
|
||||
// ---------- PROTOTYPE SECTION ----------
|
||||
|
||||
void ct_init(unsigned short* attr,int* method);
|
||||
unsigned int flush_block(char* buf,unsigned int stored_len,int eof);
|
||||
int ct_tally(int dist,int lc);
|
||||
|
||||
void copy_block(char* buf,unsigned len,int header);
|
||||
void bi_windup(void);
|
||||
unsigned bi_reverse(unsigned code,int len);
|
||||
void send_bits(int value,int length);
|
||||
void free_data(void);
|
||||
void lm_free(void);
|
||||
|
||||
static void init_block(void);
|
||||
static void pqdownheap(ct_data* tree, int k);
|
||||
static void gen_bitlen(tree_desc* desc);
|
||||
static void gen_codes(ct_data* tree, int max_code);
|
||||
static void build_tree(tree_desc* desc);
|
||||
static void scan_tree(ct_data* tree, int max_code);
|
||||
static void send_tree(ct_data* tree, int max_code);
|
||||
static int build_bl_tree(void);
|
||||
static void send_all_trees(int lcodes, int dcodes, int blcodes);
|
||||
static void compress_block(ct_data* ltree, ct_data* dtree);
|
||||
static void set_file_type(void);
|
||||
|
||||
// ---------- DEFINITION SECTION ----------
|
||||
|
||||
static int extra_lbits[LENGTH_CODES]
|
||||
= {0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0};
|
||||
|
||||
static int extra_dbits[D_CODES]
|
||||
= {0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13};
|
||||
|
||||
static int extra_blbits[BL_CODES]
|
||||
= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7};
|
||||
|
||||
static ct_data dyn_ltree[HEAP_SIZE];
|
||||
static ct_data dyn_dtree[2*D_CODES+1];
|
||||
|
||||
static ct_data static_ltree[L_CODES+2];
|
||||
static ct_data static_dtree[D_CODES];
|
||||
static ct_data bl_tree[2*BL_CODES+1];
|
||||
|
||||
static tree_desc l_desc =
|
||||
{dyn_ltree, static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS, 0};
|
||||
|
||||
static tree_desc d_desc =
|
||||
{dyn_dtree, static_dtree, extra_dbits, 0, D_CODES, MAX_BITS, 0};
|
||||
|
||||
static tree_desc bl_desc =
|
||||
{bl_tree, NULL, extra_blbits, 0, BL_CODES, MAX_BL_BITS, 0};
|
||||
|
||||
static unsigned short bl_count[MAX_BITS + 1];
|
||||
|
||||
static uchar bl_order[BL_CODES]
|
||||
= {16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15};
|
||||
|
||||
static int heap[2 * L_CODES + 1];
|
||||
static int heap_len;
|
||||
static int heap_max;
|
||||
|
||||
static uchar depth[2 * L_CODES + 1];
|
||||
static uchar length_code[MAX_MATCH - MIN_MATCH + 1];
|
||||
static uchar dist_code[512];
|
||||
static int base_length[LENGTH_CODES];
|
||||
|
||||
static int base_dist[D_CODES];
|
||||
|
||||
#ifndef DYN_ALLOC
|
||||
static uchar l_buf[LIT_BUFSIZE];
|
||||
static unsigned short d_buf[DIST_BUFSIZE];
|
||||
#else
|
||||
static uchar* l_buf;
|
||||
static unsigned short* d_buf;
|
||||
#endif
|
||||
|
||||
static uchar flag_buf[(LIT_BUFSIZE/8)];
|
||||
|
||||
static unsigned last_lit;
|
||||
static unsigned last_dist;
|
||||
static unsigned last_flags;
|
||||
static uchar flags;
|
||||
static uchar flag_bit;
|
||||
|
||||
static unsigned int opt_len;
|
||||
static unsigned int static_len;
|
||||
|
||||
static unsigned int compressed_len;
|
||||
|
||||
static unsigned int input_len;
|
||||
|
||||
unsigned short *file_type;
|
||||
int *file_method;
|
||||
|
||||
extern int block_start;
|
||||
extern unsigned strstart;
|
||||
|
||||
# define send_code(c, tree) \
|
||||
{ if(verbose>1) fprintf(stderr,"\ncd %3d ",(c)); \
|
||||
send_bits(tree[c].Code, tree[c].Len); }
|
||||
|
||||
#define d_code(dist) \
|
||||
((dist) < 256 ? dist_code[dist] : dist_code[256+((dist)>>7)])
|
||||
|
||||
#define MAX(a,b) (a >= b ? a : b)
|
||||
|
||||
void ct_init(unsigned short* attr,int* method)
|
||||
{
|
||||
int n;
|
||||
int bits;
|
||||
int length;
|
||||
int code;
|
||||
int dist;
|
||||
|
||||
file_type = attr;
|
||||
file_method = method;
|
||||
compressed_len = input_len = 0L;
|
||||
|
||||
#ifdef DYN_ALLOC
|
||||
d_buf = new unsigned short[DIST_BUFSIZE];
|
||||
l_buf = new uchar[LIT_BUFSIZE];
|
||||
#endif
|
||||
length = 0;
|
||||
for(code = 0; code < LENGTH_CODES-1; code++){
|
||||
base_length[code] = length;
|
||||
for(n = 0; n < (1<<extra_lbits[code]); n++){
|
||||
length_code[length++] = (uchar)code;
|
||||
}
|
||||
}
|
||||
length_code[length-1] = (uchar)code;
|
||||
|
||||
dist = 0;
|
||||
for(code = 0 ; code < 16; code++){
|
||||
base_dist[code] = dist;
|
||||
for(n = 0; n < (1<<extra_dbits[code]); n++){
|
||||
dist_code[dist++] = (uchar)code;
|
||||
}
|
||||
}
|
||||
dist >>= 7;
|
||||
for( ; code < D_CODES; code++){
|
||||
base_dist[code] = dist << 7;
|
||||
for(n = 0; n < (1<<(extra_dbits[code]-7)); n++){
|
||||
dist_code[256 + dist++] = (uchar)code;
|
||||
}
|
||||
}
|
||||
|
||||
for(bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0;
|
||||
n = 0;
|
||||
while(n <= 143) static_ltree[n++].Len = 8, bl_count[8]++;
|
||||
while(n <= 255) static_ltree[n++].Len = 9, bl_count[9]++;
|
||||
while(n <= 279) static_ltree[n++].Len = 7, bl_count[7]++;
|
||||
while(n <= 287) static_ltree[n++].Len = 8, bl_count[8]++;
|
||||
gen_codes((ct_data*)static_ltree, L_CODES+1);
|
||||
|
||||
for(n = 0; n < D_CODES; n++){
|
||||
static_dtree[n].Len = 5;
|
||||
static_dtree[n].Code = bi_reverse(n, 5);
|
||||
}
|
||||
|
||||
init_block();
|
||||
}
|
||||
|
||||
static void init_block(void)
|
||||
{
|
||||
int n;
|
||||
|
||||
for(n = 0; n < L_CODES; n++) dyn_ltree[n].Freq = 0;
|
||||
for(n = 0; n < D_CODES; n++) dyn_dtree[n].Freq = 0;
|
||||
for(n = 0; n < BL_CODES; n++) bl_tree[n].Freq = 0;
|
||||
|
||||
dyn_ltree[END_BLOCK].Freq = 1;
|
||||
opt_len = static_len = 0L;
|
||||
last_lit = last_dist = last_flags = 0;
|
||||
flags = 0; flag_bit = 1;
|
||||
}
|
||||
|
||||
#define SMALLEST 1
|
||||
|
||||
#define pqremove(tree, top) \
|
||||
{\
|
||||
top = heap[SMALLEST]; \
|
||||
heap[SMALLEST] = heap[heap_len--]; \
|
||||
pqdownheap(tree,SMALLEST); \
|
||||
}
|
||||
|
||||
#define smaller(tree, n, m) \
|
||||
(tree[n].Freq < tree[m].Freq || \
|
||||
(tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
|
||||
|
||||
static void pqdownheap(ct_data* tree,int k)
|
||||
{
|
||||
int v = heap[k];
|
||||
int j = k << 1;
|
||||
int htemp;
|
||||
|
||||
while(j <= heap_len){
|
||||
if(j < heap_len && smaller(tree, heap[j+1], heap[j])) j++;
|
||||
|
||||
htemp = heap[j];
|
||||
if(smaller(tree, v, htemp)) break;
|
||||
|
||||
heap[k] = htemp;
|
||||
k = j;
|
||||
|
||||
j <<= 1;
|
||||
}
|
||||
heap[k] = v;
|
||||
}
|
||||
|
||||
static void gen_bitlen(tree_desc* desc)
|
||||
{
|
||||
ct_data* tree = desc->dyn_tree;
|
||||
int* extra = desc->extra_bits;
|
||||
int base = desc->extra_base;
|
||||
int max_code = desc->max_code;
|
||||
int max_length = desc->max_length;
|
||||
ct_data* stree = desc->static_tree;
|
||||
int h;
|
||||
int n, m;
|
||||
int bits;
|
||||
int xbits;
|
||||
unsigned short f;
|
||||
int overflow = 0;
|
||||
|
||||
for(bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0;
|
||||
|
||||
tree[heap[heap_max]].Len = 0;
|
||||
|
||||
for(h = heap_max+1; h < HEAP_SIZE; h++){
|
||||
n = heap[h];
|
||||
bits = tree[tree[n].Dad].Len + 1;
|
||||
if(bits > max_length) bits = max_length, overflow++;
|
||||
tree[n].Len = bits;
|
||||
|
||||
if(n > max_code) continue;
|
||||
|
||||
bl_count[bits]++;
|
||||
xbits = 0;
|
||||
if(n >= base) xbits = extra[n-base];
|
||||
f = tree[n].Freq;
|
||||
opt_len += (unsigned int)f * (bits + xbits);
|
||||
if(stree) static_len += (unsigned int)f * (stree[n].Len + xbits);
|
||||
}
|
||||
if(overflow == 0) return;
|
||||
|
||||
do {
|
||||
bits = max_length-1;
|
||||
while(bl_count[bits] == 0) bits--;
|
||||
bl_count[bits]--;
|
||||
bl_count[bits+1] += 2;
|
||||
bl_count[max_length]--;
|
||||
overflow -= 2;
|
||||
} while(overflow > 0);
|
||||
|
||||
for(bits = max_length; bits != 0; bits--){
|
||||
n = bl_count[bits];
|
||||
while(n != 0){
|
||||
m = heap[--h];
|
||||
if(m > max_code) continue;
|
||||
if(tree[m].Len != (unsigned) bits){
|
||||
opt_len += ((int)bits-(int)tree[m].Len)*(int)tree[m].Freq;
|
||||
tree[m].Len = bits;
|
||||
}
|
||||
n--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void gen_codes (ct_data* tree,int max_code)
|
||||
{
|
||||
unsigned short next_code[MAX_BITS+1];
|
||||
unsigned short code = 0;
|
||||
int bits;
|
||||
int n;
|
||||
|
||||
for(bits = 1; bits <= MAX_BITS; bits++){
|
||||
next_code[bits] = code = (code + bl_count[bits-1]) << 1;
|
||||
}
|
||||
for(n = 0; n <= max_code; n++){
|
||||
int len = tree[n].Len;
|
||||
if(len == 0) continue;
|
||||
tree[n].Code = bi_reverse(next_code[len]++, len);
|
||||
}
|
||||
}
|
||||
|
||||
static void build_tree(tree_desc* desc)
|
||||
{
|
||||
ct_data* tree = desc->dyn_tree;
|
||||
ct_data* stree = desc->static_tree;
|
||||
int elems = desc->elems;
|
||||
int n, m;
|
||||
int max_code = -1;
|
||||
int node = elems;
|
||||
|
||||
heap_len = 0, heap_max = HEAP_SIZE;
|
||||
|
||||
for(n = 0; n < elems; n++){
|
||||
if(tree[n].Freq != 0){
|
||||
heap[++heap_len] = max_code = n;
|
||||
depth[n] = 0;
|
||||
}
|
||||
else {
|
||||
tree[n].Len = 0;
|
||||
}
|
||||
}
|
||||
|
||||
while(heap_len < 2){
|
||||
int new_ = heap[++heap_len] = (max_code < 2 ? ++max_code : 0);
|
||||
tree[new_].Freq = 1;
|
||||
depth[new_] = 0;
|
||||
opt_len--;
|
||||
if(stree)
|
||||
static_len -= stree[new_].Len;
|
||||
}
|
||||
desc->max_code = max_code;
|
||||
|
||||
for(n = heap_len/2; n >= 1; n--) pqdownheap(tree, n);
|
||||
|
||||
do {
|
||||
pqremove(tree, n);
|
||||
m = heap[SMALLEST];
|
||||
|
||||
heap[--heap_max] = n;
|
||||
heap[--heap_max] = m;
|
||||
|
||||
tree[node].Freq = tree[n].Freq + tree[m].Freq;
|
||||
depth[node] = (uchar) (MAX(depth[n], depth[m]) + 1);
|
||||
tree[n].Dad = tree[m].Dad = node;
|
||||
heap[SMALLEST] = node++;
|
||||
pqdownheap(tree, SMALLEST);
|
||||
|
||||
} while(heap_len >= 2);
|
||||
|
||||
heap[--heap_max] = heap[SMALLEST];
|
||||
gen_bitlen((tree_desc*)desc);
|
||||
gen_codes ((ct_data*)tree, max_code);
|
||||
}
|
||||
|
||||
static void scan_tree (ct_data* tree,int max_code)
|
||||
{
|
||||
int n;
|
||||
int prevlen = -1;
|
||||
int curlen;
|
||||
int nextlen = tree[0].Len;
|
||||
int count = 0;
|
||||
int max_count = 7;
|
||||
int min_count = 4;
|
||||
|
||||
if(nextlen == 0) max_count = 138, min_count = 3;
|
||||
tree[max_code+1].Len = (unsigned short)-1;
|
||||
|
||||
for(n = 0; n <= max_code; n++){
|
||||
curlen = nextlen; nextlen = tree[n+1].Len;
|
||||
if(++count < max_count && curlen == nextlen){
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if(count < min_count){
|
||||
bl_tree[curlen].Freq += count;
|
||||
}
|
||||
else
|
||||
if(curlen != 0){
|
||||
if(curlen != prevlen) bl_tree[curlen].Freq++;
|
||||
bl_tree[REP_3_6].Freq++;
|
||||
}
|
||||
else
|
||||
if(count <= 10){
|
||||
bl_tree[REPZ_3_10].Freq++;
|
||||
}
|
||||
else {
|
||||
bl_tree[REPZ_11_138].Freq++;
|
||||
}
|
||||
count = 0; prevlen = curlen;
|
||||
if(nextlen == 0){
|
||||
max_count = 138, min_count = 3;
|
||||
} else
|
||||
if(curlen == nextlen){
|
||||
max_count = 6, min_count = 3;
|
||||
}
|
||||
else {
|
||||
max_count = 7, min_count = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void send_tree (ct_data* tree,int max_code)
|
||||
{
|
||||
int n;
|
||||
int prevlen = -1;
|
||||
int curlen;
|
||||
int nextlen = tree[0].Len;
|
||||
int count = 0;
|
||||
int max_count = 7;
|
||||
int min_count = 4;
|
||||
|
||||
if(nextlen == 0) max_count = 138, min_count = 3;
|
||||
|
||||
for(n = 0; n <= max_code; n++){
|
||||
curlen = nextlen; nextlen = tree[n+1].Len;
|
||||
if(++count < max_count && curlen == nextlen){
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if(count < min_count){
|
||||
do { send_code(curlen, bl_tree); } while(--count != 0);
|
||||
|
||||
}
|
||||
else
|
||||
if(curlen != 0){
|
||||
if(curlen != prevlen){
|
||||
send_code(curlen, bl_tree); count--;
|
||||
}
|
||||
send_code(REP_3_6, bl_tree); send_bits(count-3, 2);
|
||||
|
||||
}
|
||||
else
|
||||
if(count <= 10){
|
||||
send_code(REPZ_3_10, bl_tree); send_bits(count-3, 3);
|
||||
|
||||
}
|
||||
else {
|
||||
send_code(REPZ_11_138, bl_tree); send_bits(count-11, 7);
|
||||
}
|
||||
count = 0; prevlen = curlen;
|
||||
if(nextlen == 0){
|
||||
max_count = 138, min_count = 3;
|
||||
}
|
||||
else
|
||||
if(curlen == nextlen){
|
||||
max_count = 6, min_count = 3;
|
||||
}
|
||||
else {
|
||||
max_count = 7, min_count = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static int build_bl_tree()
|
||||
{
|
||||
int max_blindex;
|
||||
|
||||
scan_tree((ct_data*)dyn_ltree, l_desc.max_code);
|
||||
scan_tree((ct_data*)dyn_dtree, d_desc.max_code);
|
||||
|
||||
build_tree((tree_desc*)(&bl_desc));
|
||||
for(max_blindex = BL_CODES-1; max_blindex >= 3; max_blindex--){
|
||||
if(bl_tree[bl_order[max_blindex]].Len != 0) break;
|
||||
}
|
||||
opt_len += 3*(max_blindex+1) + 5+5+4;
|
||||
|
||||
return max_blindex;
|
||||
}
|
||||
|
||||
static void send_all_trees(int lcodes,int dcodes,int blcodes)
|
||||
{
|
||||
int rank;
|
||||
|
||||
send_bits(lcodes-257, 5);
|
||||
send_bits(dcodes-1, 5);
|
||||
send_bits(blcodes-4, 4);
|
||||
for(rank = 0; rank < blcodes; rank++){
|
||||
send_bits(bl_tree[bl_order[rank]].Len, 3);
|
||||
}
|
||||
|
||||
send_tree((ct_data*)dyn_ltree, lcodes-1);
|
||||
send_tree((ct_data*)dyn_dtree, dcodes-1);
|
||||
}
|
||||
|
||||
unsigned int flush_block(char* buf,unsigned int stored_len,int eof)
|
||||
{
|
||||
unsigned int opt_lenb, static_lenb;
|
||||
int max_blindex;
|
||||
|
||||
flag_buf[last_flags] = flags;
|
||||
|
||||
if(*file_type == (unsigned short)UNKNOWN) set_file_type();
|
||||
|
||||
build_tree((tree_desc*)(&l_desc));
|
||||
|
||||
build_tree((tree_desc*)(&d_desc));
|
||||
max_blindex = build_bl_tree();
|
||||
|
||||
opt_lenb = (opt_len+3+7)>>3;
|
||||
static_lenb = (static_len+3+7)>>3;
|
||||
input_len += stored_len;
|
||||
if(static_lenb <= opt_lenb) opt_lenb = static_lenb;
|
||||
|
||||
if(stored_len <= opt_lenb && eof && compressed_len == 0L){
|
||||
//if(buf == NULL) ErrH.Abort(IErrMsg);
|
||||
copy_block(buf,(unsigned)stored_len,0);
|
||||
compressed_len = stored_len << 3;
|
||||
*file_method = STORE;
|
||||
}
|
||||
else
|
||||
if(stored_len+4 <= opt_lenb && buf != (char*)NULL){
|
||||
send_bits((STORED_BLOCK<<1)+eof, 3);
|
||||
compressed_len = (compressed_len + 3 + 7) & ~7L;
|
||||
compressed_len += (stored_len + 4) << 3;
|
||||
|
||||
copy_block(buf, (unsigned)stored_len, 1);
|
||||
}
|
||||
else
|
||||
if(static_lenb == opt_lenb){
|
||||
send_bits((STATIC_TREES<<1)+eof, 3);
|
||||
compress_block((ct_data*)static_ltree, (ct_data*)static_dtree);
|
||||
compressed_len += 3 + static_len;
|
||||
}
|
||||
else {
|
||||
send_bits((DYN_TREES<<1)+eof, 3);
|
||||
send_all_trees(l_desc.max_code+1, d_desc.max_code+1, max_blindex+1);
|
||||
compress_block((ct_data*)dyn_ltree, (ct_data*)dyn_dtree);
|
||||
compressed_len += 3 + opt_len;
|
||||
}
|
||||
init_block();
|
||||
if(eof){
|
||||
#ifdef DYN_ALLOC
|
||||
extern uchar *window;
|
||||
#else
|
||||
extern uchar window[];
|
||||
#endif
|
||||
memset(window, 0, (unsigned)(2*WSIZE-1));
|
||||
bi_windup();
|
||||
compressed_len += 7;
|
||||
}
|
||||
return compressed_len >> 3;
|
||||
}
|
||||
|
||||
|
||||
int ct_tally(int dist,int lc)
|
||||
{
|
||||
l_buf[last_lit++] = (uchar)lc;
|
||||
if(dist == 0){
|
||||
dyn_ltree[lc].Freq++;
|
||||
}
|
||||
else {
|
||||
dist--;
|
||||
|
||||
dyn_ltree[length_code[lc]+LITERALS+1].Freq++;
|
||||
dyn_dtree[d_code(dist)].Freq++;
|
||||
|
||||
d_buf[last_dist++] = dist;
|
||||
flags |= flag_bit;
|
||||
}
|
||||
flag_bit <<= 1;
|
||||
|
||||
if((last_lit & 7) == 0){
|
||||
flag_buf[last_flags++] = flags;
|
||||
flags = 0, flag_bit = 1;
|
||||
}
|
||||
if(level > 2 && (last_lit & 0xfff) == 0){
|
||||
unsigned int out_length = (unsigned int)last_lit*8L;
|
||||
unsigned int in_length = (unsigned int)strstart-block_start;
|
||||
int dcode;
|
||||
for(dcode = 0; dcode < D_CODES; dcode++){
|
||||
out_length += (unsigned int)dyn_dtree[dcode].Freq*(5L+extra_dbits[dcode]);
|
||||
}
|
||||
out_length >>= 3;
|
||||
if(last_dist < last_lit/2 && out_length < in_length/2) return 1;
|
||||
}
|
||||
return (last_lit == LIT_BUFSIZE-1 || last_dist == DIST_BUFSIZE);
|
||||
}
|
||||
|
||||
static void compress_block(ct_data* ltree,ct_data* dtree)
|
||||
{
|
||||
unsigned dist;
|
||||
int lc;
|
||||
unsigned lx = 0;
|
||||
unsigned dx = 0;
|
||||
unsigned fx = 0;
|
||||
uchar flag = 0;
|
||||
unsigned code;
|
||||
int extra;
|
||||
|
||||
if(last_lit != 0) do {
|
||||
if((lx & 7) == 0) flag = flag_buf[fx++];
|
||||
lc = l_buf[lx++];
|
||||
if((flag & 1) == 0){
|
||||
send_code(lc, ltree);
|
||||
}
|
||||
else {
|
||||
code = length_code[lc];
|
||||
send_code(code+LITERALS+1, ltree);
|
||||
extra = extra_lbits[code];
|
||||
if(extra != 0){
|
||||
lc -= base_length[code];
|
||||
send_bits(lc, extra);
|
||||
}
|
||||
dist = d_buf[dx++];
|
||||
code = d_code(dist);
|
||||
|
||||
send_code(code, dtree);
|
||||
extra = extra_dbits[code];
|
||||
if(extra != 0){
|
||||
dist -= base_dist[code];
|
||||
send_bits(dist, extra);
|
||||
}
|
||||
}
|
||||
flag >>= 1;
|
||||
} while(lx < last_lit);
|
||||
send_code(END_BLOCK, ltree);
|
||||
}
|
||||
|
||||
static void set_file_type()
|
||||
{
|
||||
int n = 0;
|
||||
unsigned ascii_freq = 0;
|
||||
unsigned bin_freq = 0;
|
||||
while(n < 7) bin_freq += dyn_ltree[n++].Freq;
|
||||
while(n < 128) ascii_freq += dyn_ltree[n++].Freq;
|
||||
while(n < LITERALS) bin_freq += dyn_ltree[n++].Freq;
|
||||
*file_type = bin_freq > (ascii_freq >> 2) ? BINARY : ASCII;
|
||||
}
|
||||
|
||||
void free_data(void)
|
||||
{
|
||||
#ifdef DYN_ALLOC
|
||||
delete l_buf;
|
||||
delete d_buf;
|
||||
lm_free();
|
||||
#endif
|
||||
}
|
||||
10
lib/utils/xzip/xzip.h
Normal file
10
lib/utils/xzip/xzip.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef XZIP
|
||||
#define XZIP
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
unsigned int ZIP_compress(char* trg,unsigned int trgsize,char* src,unsigned int srcsize);
|
||||
unsigned int ZIP_GetExpandedSize(char* p);
|
||||
void ZIP_expand(char* trg,unsigned int trgsize,char* src,unsigned int srcsize);
|
||||
|
||||
#endif
|
||||
119
lib/utils/zip_convert.cpp
Normal file
119
lib/utils/zip_convert.cpp
Normal file
@@ -0,0 +1,119 @@
|
||||
#include <zlib.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "xzip/xzip.h"
|
||||
#include "../xtool/xglobal.h"
|
||||
//#include "../xtool/zip_resource.h"
|
||||
|
||||
inline unsigned crt(unsigned& VAL)
|
||||
{
|
||||
VAL ^= VAL >> 3;
|
||||
VAL ^= VAL << 28;
|
||||
VAL &= 0x7FFFFFFF;
|
||||
|
||||
return VAL;
|
||||
}
|
||||
|
||||
int xtInitApplication() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void xtDoneApplication() {
|
||||
|
||||
}
|
||||
|
||||
/* For simple zlib files (like credits.txt) can use:
|
||||
* dd if=./credits.txt bs=1c skip=6 | zlib-flate -uncompress | iconv -f ibm866 -t utf-8
|
||||
*/
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
//int SDL_main(int argc, char *argv[]) {
|
||||
if (argc<3) {
|
||||
std::cout<<"need 2 files"<<std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int i;
|
||||
char c, *buf, *out_buf;
|
||||
unsigned _time_;
|
||||
XStream ff(argv[1], XS_IN);
|
||||
std::fstream fh;
|
||||
int len = ff.size();
|
||||
ff > c;
|
||||
if(c) {
|
||||
std::cout<<"Not compress file"<<std::endl;
|
||||
ff.seek(0,XS_BEG);
|
||||
buf = new char[len+1];
|
||||
ff.read(buf,len);
|
||||
buf[len] = 0;
|
||||
ff.close();
|
||||
} else {
|
||||
std::cout<<"Compress file"<<std::endl;
|
||||
ff > _time_;
|
||||
_time_ *= 6386891;
|
||||
_time_ |= 1;
|
||||
|
||||
int compressed_size = len - 5;
|
||||
char* compressed_buff = new char[compressed_size];
|
||||
ff.read(compressed_buff,compressed_size);
|
||||
ff.close();
|
||||
std::cout<<"Read compress file - done."<<std::endl;
|
||||
|
||||
for(i = 0;i < compressed_size;i++)
|
||||
compressed_buff[i] ^= crt(_time_);
|
||||
|
||||
std::cout<<"Decrypt data - done."<<std::endl;
|
||||
|
||||
int decompressed_size = ZIP_GetExpandedSize(compressed_buff);
|
||||
out_buf = new char[decompressed_size+1];
|
||||
std::cout<<"Uncompress data size:"<<decompressed_size<<std::endl;
|
||||
ZIP_expand(out_buf,decompressed_size,compressed_buff,compressed_size);
|
||||
//delete compressed_buff;
|
||||
//buf[decompressed_size] = 0;
|
||||
std::cout<<"Uncompress data - done."<<std::endl;
|
||||
fh.open(argv[2], std::fstream::out | std::fstream::binary);
|
||||
fh.write(out_buf, decompressed_size);
|
||||
fh.close();
|
||||
}
|
||||
// std::cout<<out_buf<<std::endl;
|
||||
|
||||
|
||||
/*long sz,sz1;
|
||||
char* p,*p1;
|
||||
std::fstream fh;
|
||||
fh.open(argv[1], std::fstream::in | std::fstream::binary);
|
||||
fh.seekg (0, fh.end);
|
||||
sz = fh.tellg();
|
||||
fh.seekg (0, fh.beg);
|
||||
|
||||
p = new char[sz];
|
||||
fh.read(p, sz);
|
||||
fh.close();
|
||||
|
||||
for (int i=0; i<20; i++) {
|
||||
std::cout<<"A:"<<*(unsigned int *)(p+i)<<std::endl;
|
||||
}
|
||||
sz1 = ZIP_GetExpandedSize(p);
|
||||
p1 = new char[sz1];
|
||||
ZIP_expand(p1,sz1,p,sz);
|
||||
sz = sz1+20;
|
||||
p = new char[sz];
|
||||
|
||||
std::cout<<"p1:"<<p1<<" sz1:"<<sz1<<std::endl;
|
||||
p[0] = (char)(8 & 0xFF); //8 it is DEFLATE method
|
||||
p[1] = (char)((8 >> 8) & 0xFF);
|
||||
*(unsigned int*)(p + 2) = (unsigned int)sz1;
|
||||
sz-=2+4;
|
||||
int stat = compress((Bytef*)(p+2+4),(uLongf*)&(sz),(Bytef*)p1,sz1);
|
||||
sz+=2+4;
|
||||
switch(stat){
|
||||
case Z_OK: std::cout<<"Compress ok."<<std::endl; break;
|
||||
case Z_MEM_ERROR: std::cout<<"not enough memory."<<std::endl; break;
|
||||
case Z_BUF_ERROR: std::cout<<"not enough room in the output buffer."<<std::endl; break;
|
||||
};
|
||||
fh.open(argv[2], std::fstream::out | std::fstream::binary);
|
||||
fh.write(p, sz);
|
||||
fh.close();*/
|
||||
return 0;
|
||||
}
|
||||
6
lib/xgraph/CMakeLists.txt
Normal file
6
lib/xgraph/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
SET(xgraph_SRCS
|
||||
xfont.cpp
|
||||
xgraph.cpp
|
||||
)
|
||||
|
||||
ADD_LIBRARY(xgraph STATIC ${xgraph_SRCS})
|
||||
194
lib/xgraph/Makefile
Normal file
194
lib/xgraph/Makefile
Normal file
@@ -0,0 +1,194 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MSYS Makefiles" Generator, CMake Version 2.8
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = "/c/Program Files/CMake 2.8/bin/cmake.exe"
|
||||
|
||||
# The command to remove a file.
|
||||
RM = "/c/Program Files/CMake 2.8/bin/cmake.exe" -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The program to use to edit the cache.
|
||||
CMAKE_EDIT_COMMAND = "/c/Program Files/CMake 2.8/bin/cmake-gui.exe"
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /C/MinGW/msys/1.0/home/flash/vangers
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /C/MinGW/msys/1.0/home/flash/vangers
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
||||
"/c/Program Files/CMake 2.8/bin/cmake-gui.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
"/c/Program Files/CMake 2.8/bin/cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(CMAKE_COMMAND) -E cmake_progress_start /C/MinGW/msys/1.0/home/flash/vangers/CMakeFiles /C/MinGW/msys/1.0/home/flash/vangers/lib/xgraph/CMakeFiles/progress.marks
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f CMakeFiles/Makefile2 lib/xgraph/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /C/MinGW/msys/1.0/home/flash/vangers/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f CMakeFiles/Makefile2 lib/xgraph/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f CMakeFiles/Makefile2 lib/xgraph/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f CMakeFiles/Makefile2 lib/xgraph/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
lib/xgraph/CMakeFiles/xgraph.dir/rule:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f CMakeFiles/Makefile2 lib/xgraph/CMakeFiles/xgraph.dir/rule
|
||||
.PHONY : lib/xgraph/CMakeFiles/xgraph.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
xgraph: lib/xgraph/CMakeFiles/xgraph.dir/rule
|
||||
.PHONY : xgraph
|
||||
|
||||
# fast build rule for target.
|
||||
xgraph/fast:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/build
|
||||
.PHONY : xgraph/fast
|
||||
|
||||
xfont.obj: xfont.cpp.obj
|
||||
.PHONY : xfont.obj
|
||||
|
||||
# target to build an object file
|
||||
xfont.cpp.obj:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xfont.cpp.obj
|
||||
.PHONY : xfont.cpp.obj
|
||||
|
||||
xfont.i: xfont.cpp.i
|
||||
.PHONY : xfont.i
|
||||
|
||||
# target to preprocess a source file
|
||||
xfont.cpp.i:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xfont.cpp.i
|
||||
.PHONY : xfont.cpp.i
|
||||
|
||||
xfont.s: xfont.cpp.s
|
||||
.PHONY : xfont.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
xfont.cpp.s:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xfont.cpp.s
|
||||
.PHONY : xfont.cpp.s
|
||||
|
||||
xgraph.obj: xgraph.cpp.obj
|
||||
.PHONY : xgraph.obj
|
||||
|
||||
# target to build an object file
|
||||
xgraph.cpp.obj:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xgraph.cpp.obj
|
||||
.PHONY : xgraph.cpp.obj
|
||||
|
||||
xgraph.i: xgraph.cpp.i
|
||||
.PHONY : xgraph.i
|
||||
|
||||
# target to preprocess a source file
|
||||
xgraph.cpp.i:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xgraph.cpp.i
|
||||
.PHONY : xgraph.cpp.i
|
||||
|
||||
xgraph.s: xgraph.cpp.s
|
||||
.PHONY : xgraph.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
xgraph.cpp.s:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(MAKE) -f lib/xgraph/CMakeFiles/xgraph.dir/build.make lib/xgraph/CMakeFiles/xgraph.dir/xgraph.cpp.s
|
||||
.PHONY : xgraph.cpp.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... xgraph"
|
||||
@echo "... xfont.obj"
|
||||
@echo "... xfont.i"
|
||||
@echo "... xfont.s"
|
||||
@echo "... xgraph.obj"
|
||||
@echo "... xgraph.i"
|
||||
@echo "... xgraph.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /C/MinGW/msys/1.0/home/flash/vangers && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
1
lib/xgraph/config.h
Normal file
1
lib/xgraph/config.h
Normal file
@@ -0,0 +1 @@
|
||||
/* #undef WITH_OPENGL */
|
||||
11
lib/xgraph/global.h
Normal file
11
lib/xgraph/global.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include "../xtool/xglobal.h"
|
||||
#include "../xtool/port.h"
|
||||
#include "xgraph.h"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user