Initial commit
Import existing source tree; original VCS history is no longer available. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
339
COPYING
Normal file
@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
675 Mass Ave, Cambridge, MA 02139, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) 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
|
||||
this service 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 make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. 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.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
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
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the 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 a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE 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.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
Appendix: 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
|
||||
convey 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) 19yy <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 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision 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, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This 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 Library General
|
||||
Public License instead of this License.
|
||||
478
COPYING.LIB
Normal file
@ -0,0 +1,478 @@
|
||||
*********************************************************************
|
||||
* IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! *
|
||||
* *
|
||||
* "Kobo Deluxe" is a game based on the work of many programmers, *
|
||||
* artists, porters, testers and devoted fans. *
|
||||
* *
|
||||
* In order to make the new code useful to more people, even in *
|
||||
* closed source productions, I am making it available under *
|
||||
* the terms of the GNU LGPL. *
|
||||
* *
|
||||
* However, note that the GNU LGPL only applies to *
|
||||
* *some* of the files in this distribution, not all of them! *
|
||||
* *
|
||||
* If you are going to reuse all or part of "Kobo Deluxe", please *
|
||||
* read the terms stated in the header of *each file* first. *
|
||||
* *
|
||||
* IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! *
|
||||
*********************************************************************
|
||||
|
||||
Below this line follows an unmodified copy of the GNU LGPL
|
||||
---------------------------------------------------------------------
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
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 this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
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
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser 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 Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "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
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY 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
|
||||
LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
|
||||
30
Info.plist.in
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>@EXEFILE@</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>@VERSION@, Copyright 2001 David Olofson</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>@PACKAGE@</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>@VERSION@</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@VERSION@</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>SDLMain.nib</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright 2001 David Olofson</string>
|
||||
</dict>
|
||||
</plist>
|
||||
BIN
KoboPlayer
Normal file
110
Makefile.am
Normal file
@ -0,0 +1,110 @@
|
||||
if BUILD_MACOSX_BUNDLE
|
||||
bundle_contents = @PACKAGE@.app/Contents
|
||||
else
|
||||
if BUILD_SIMPLE_BUNDLE
|
||||
bundle_contents = @PACKAGE@
|
||||
endif
|
||||
endif
|
||||
|
||||
kobo_scoredir=@SCOREDIR@
|
||||
|
||||
INCLUDES = -DKOBO_DATA_DIR=\""@DATADIR@"\" \
|
||||
-DKOBO_SCORE_DIR=\""$(kobo_scoredir)"\" \
|
||||
-DKOBO_CONFIG_DIR=\""@CONFIGDIR@"\" \
|
||||
-DKOBO_CONFIG_FILE=\""@CONFIGFILE@"\" \
|
||||
-DSYSCONF_DIR=\""$(sysconfdir)"\" \
|
||||
-Isound -Igraphics -Ieel -Idata/sfx @LOCALCFLAGS@
|
||||
|
||||
SUBDIRS = graphics sound data eel
|
||||
|
||||
bin_PROGRAMS = kobodl
|
||||
|
||||
GRAPHICS_LIB = graphics/libgraphics.a @MATHLIB@
|
||||
SOUND_LIB = sound/libsound.a @AUDIO_LIBS@
|
||||
EEL_LIB = eel/libeel.a
|
||||
|
||||
kobodl_SOURCES = enemies.cpp enemy.cpp pfile.cpp gamectl.cpp manage.cpp map.cpp \
|
||||
myship.cpp radar.cpp random.cpp scenes.cpp score.cpp screen.cpp \
|
||||
filemap.cpp prefs.cpp cfgform.cpp options.cpp gamestate.cpp \
|
||||
states.cpp form.cpp cfgparse.cpp game.cpp kobo.cpp logger.c \
|
||||
dashboard.cpp sound.cpp
|
||||
kobodl_LDADD = $(GRAPHICS_LIB) $(SOUND_LIB) $(EEL_LIB)
|
||||
|
||||
kobodl_LDFLAGS = -o $(EXEFILE)
|
||||
|
||||
man_MANS = kobodl.6
|
||||
|
||||
CLEANFILES = $(EXEFILE) Info.plist log.html
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
EXTRA_DIST = *.h Info.plist.in KoboPlayer COPYING.LIB *.txt \
|
||||
README.jp README.sfont README.xkobo README.xkobo.jp README.osx \
|
||||
README.html \
|
||||
cfg-work cfg-beta cfg-release cfg-profile cfg-cross-release \
|
||||
cfg-work-opt buildpkg.sh kobodl.6 icons.tar.gz
|
||||
|
||||
|
||||
if BUILD_MACOSX_BUNDLE
|
||||
|
||||
@PACKAGE@_bundle: ${EXEFILE}
|
||||
mkdir -p $(bundle_contents)/MacOS
|
||||
echo "APPL????" > $(bundle_contents)/PkgInfo
|
||||
$(INSTALL_DATA) Info.plist $(bundle_contents)
|
||||
$(INSTALL_PROGRAM) ${EXEFILE} $(bundle_contents)/MacOS/
|
||||
|
||||
install-exec-hook: @PACKAGE@_bundle
|
||||
rm -rf $(DESTDIR)$(prefix)/@PACKAGE@.app
|
||||
mkdir -p $(DESTDIR)$(prefix)/
|
||||
cp -r @PACKAGE@.app $(DESTDIR)$(prefix)/
|
||||
|
||||
clean-local:
|
||||
rm -rf $(bundle_contents)
|
||||
|
||||
else
|
||||
|
||||
if BUILD_SIMPLE_BUNDLE
|
||||
|
||||
@PACKAGE@_bundle: ${EXEFILE}
|
||||
$(INSTALL_PROGRAM) ${EXEFILE} $(bundle_contents)/
|
||||
|
||||
install-exec-hook: @PACKAGE@_bundle
|
||||
rm -rf $(DESTDIR)/$(prefix)/@PACKAGE@
|
||||
mkdir -p $(DESTDIR)/$(prefix)/
|
||||
cp COPYING @PACKAGE@/COPYING.txt
|
||||
cp COPYING.LIB @PACKAGE@/COPYING_LIB.txt
|
||||
cp ChangeLog @PACKAGE@/ChangeLog.txt
|
||||
cp TODO @PACKAGE@/TODO.txt
|
||||
cp README @PACKAGE@/README.txt
|
||||
cp README.jp @PACKAGE@/README_jp.txt
|
||||
cp README.sfont @PACKAGE@/sfont.txt
|
||||
cp README.xkobo @PACKAGE@/xkobo.txt
|
||||
cp README.xkobo.jp @PACKAGE@/xkobo_jp.txt
|
||||
cp KoboPlayer @PACKAGE@/scores/42
|
||||
cp -r @PACKAGE@ $(DESTDIR)/$(prefix)/
|
||||
|
||||
clean-local:
|
||||
rm -rf $(bundle_contents)
|
||||
|
||||
else
|
||||
@PACKAGE@_bundle:
|
||||
|
||||
install-exec-hook:
|
||||
|
||||
clean-local:
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
||||
if UNIX_SCOREDIR
|
||||
|
||||
install-data-hook: $(DESTDIR)$(kobo_scoredir)
|
||||
chmod a+w $(DESTDIR)$(kobo_scoredir)
|
||||
|
||||
else
|
||||
|
||||
install-data-hook:
|
||||
|
||||
endif
|
||||
885
Makefile.in
Normal file
@ -0,0 +1,885 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
bin_PROGRAMS = kobodl$(EXEEXT)
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Info.plist.in \
|
||||
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/aconfig.h.in $(top_srcdir)/configure COPYING \
|
||||
COPYING.LIB ChangeLog TODO acconfig.h compile config.guess \
|
||||
config.sub depcomp install-sh missing mkinstalldirs
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno configure.status.lineno
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = aconfig.h
|
||||
CONFIG_CLEAN_FILES = Info.plist
|
||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man6dir)"
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
am_kobodl_OBJECTS = enemies.$(OBJEXT) enemy.$(OBJEXT) pfile.$(OBJEXT) \
|
||||
gamectl.$(OBJEXT) manage.$(OBJEXT) map.$(OBJEXT) \
|
||||
myship.$(OBJEXT) radar.$(OBJEXT) random.$(OBJEXT) \
|
||||
scenes.$(OBJEXT) score.$(OBJEXT) screen.$(OBJEXT) \
|
||||
filemap.$(OBJEXT) prefs.$(OBJEXT) cfgform.$(OBJEXT) \
|
||||
options.$(OBJEXT) gamestate.$(OBJEXT) states.$(OBJEXT) \
|
||||
form.$(OBJEXT) cfgparse.$(OBJEXT) game.$(OBJEXT) \
|
||||
kobo.$(OBJEXT) logger.$(OBJEXT) dashboard.$(OBJEXT) \
|
||||
sound.$(OBJEXT)
|
||||
kobodl_OBJECTS = $(am_kobodl_OBJECTS)
|
||||
am__DEPENDENCIES_1 = graphics/libgraphics.a
|
||||
am__DEPENDENCIES_2 = sound/libsound.a
|
||||
am__DEPENDENCIES_3 = eel/libeel.a
|
||||
kobodl_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
|
||||
$(am__DEPENDENCIES_3)
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
||||
-o $@
|
||||
SOURCES = $(kobodl_SOURCES)
|
||||
DIST_SOURCES = $(kobodl_SOURCES)
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-exec-recursive install-info-recursive \
|
||||
install-recursive installcheck-recursive installdirs-recursive \
|
||||
pdf-recursive ps-recursive uninstall-info-recursive \
|
||||
uninstall-recursive
|
||||
man6dir = $(mandir)/man6
|
||||
NROFF = nroff
|
||||
MANS = $(man_MANS)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUDIO_LIBS = @AUDIO_LIBS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BUILD_MACOSX_BUNDLE_FALSE = @BUILD_MACOSX_BUNDLE_FALSE@
|
||||
BUILD_MACOSX_BUNDLE_TRUE = @BUILD_MACOSX_BUNDLE_TRUE@
|
||||
BUILD_SIMPLE_BUNDLE_FALSE = @BUILD_SIMPLE_BUNDLE_FALSE@
|
||||
BUILD_SIMPLE_BUNDLE_TRUE = @BUILD_SIMPLE_BUNDLE_TRUE@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFIGDIR = @CONFIGDIR@
|
||||
CONFIGFILE = @CONFIGFILE@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIR = @DATADIR@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXEFILE = @EXEFILE@
|
||||
GREP = @GREP@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LOCALCFLAGS = @LOCALCFLAGS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MATHLIB = @MATHLIB@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POW_LIB = @POW_LIB@
|
||||
RANLIB = @RANLIB@
|
||||
SCOREDIR = @SCOREDIR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
UNIX_SCOREDIR_FALSE = @UNIX_SCOREDIR_FALSE@
|
||||
UNIX_SCOREDIR_TRUE = @UNIX_SCOREDIR_TRUE@
|
||||
VERSION = @VERSION@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@bundle_contents = @PACKAGE@
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@bundle_contents = @PACKAGE@.app/Contents
|
||||
kobo_scoredir = @SCOREDIR@
|
||||
INCLUDES = -DKOBO_DATA_DIR=\""@DATADIR@"\" \
|
||||
-DKOBO_SCORE_DIR=\""$(kobo_scoredir)"\" \
|
||||
-DKOBO_CONFIG_DIR=\""@CONFIGDIR@"\" \
|
||||
-DKOBO_CONFIG_FILE=\""@CONFIGFILE@"\" \
|
||||
-DSYSCONF_DIR=\""$(sysconfdir)"\" \
|
||||
-Isound -Igraphics -Ieel -Idata/sfx @LOCALCFLAGS@
|
||||
|
||||
SUBDIRS = graphics sound data eel
|
||||
GRAPHICS_LIB = graphics/libgraphics.a @MATHLIB@
|
||||
SOUND_LIB = sound/libsound.a @AUDIO_LIBS@
|
||||
EEL_LIB = eel/libeel.a
|
||||
kobodl_SOURCES = enemies.cpp enemy.cpp pfile.cpp gamectl.cpp manage.cpp map.cpp \
|
||||
myship.cpp radar.cpp random.cpp scenes.cpp score.cpp screen.cpp \
|
||||
filemap.cpp prefs.cpp cfgform.cpp options.cpp gamestate.cpp \
|
||||
states.cpp form.cpp cfgparse.cpp game.cpp kobo.cpp logger.c \
|
||||
dashboard.cpp sound.cpp
|
||||
|
||||
kobodl_LDADD = $(GRAPHICS_LIB) $(SOUND_LIB) $(EEL_LIB)
|
||||
kobodl_LDFLAGS = -o $(EXEFILE)
|
||||
man_MANS = kobodl.6
|
||||
CLEANFILES = $(EXEFILE) Info.plist log.html
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
EXTRA_DIST = *.h Info.plist.in KoboPlayer COPYING.LIB *.txt \
|
||||
README.jp README.sfont README.xkobo README.xkobo.jp README.osx \
|
||||
README.html \
|
||||
cfg-work cfg-beta cfg-release cfg-profile cfg-cross-release \
|
||||
cfg-work-opt buildpkg.sh kobodl.6 icons.tar.gz
|
||||
|
||||
all: aconfig.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .cpp .o .obj
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
aconfig.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/aconfig.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status aconfig.h
|
||||
$(srcdir)/aconfig.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f aconfig.h stamp-h1
|
||||
Info.plist: $(top_builddir)/config.status $(srcdir)/Info.plist.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(bindir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
kobodl$(EXEEXT): $(kobodl_OBJECTS) $(kobodl_DEPENDENCIES)
|
||||
@rm -f kobodl$(EXEEXT)
|
||||
$(CXXLINK) $(kobodl_LDFLAGS) $(kobodl_OBJECTS) $(kobodl_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfgform.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfgparse.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dashboard.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enemies.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enemy.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/form.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gamectl.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gamestate.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kobo.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logger.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manage.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/map.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myship.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pfile.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefs.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/radar.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scenes.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/score.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/screen.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sound.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/states.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
||||
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
uninstall-info-am:
|
||||
install-man6: $(man6_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man6dir)" || $(mkdir_p) "$(DESTDIR)$(man6dir)"
|
||||
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.6*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
6*) ;; \
|
||||
*) ext='6' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man6dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man6dir)/$$inst"; \
|
||||
done
|
||||
uninstall-man6:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.6*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
6*) ;; \
|
||||
*) ext='6' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f '$(DESTDIR)$(man6dir)/$$inst'"; \
|
||||
rm -f "$(DESTDIR)$(man6dir)/$$inst"; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) aconfig.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) aconfig.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) aconfig.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) aconfig.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
$(mkdir_p) $(distdir)/.
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(mkdir_p) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$top_distdir" \
|
||||
distdir="$$distdir/$$subdir" \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(PROGRAMS) $(MANS) aconfig.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man6dir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-local mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-hdr distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-man
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man: install-man6
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
uninstall-man: uninstall-man6
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
|
||||
check-am clean clean-binPROGRAMS clean-generic clean-local \
|
||||
clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
|
||||
dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
|
||||
distclean-compile distclean-generic distclean-hdr \
|
||||
distclean-recursive distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-binPROGRAMS install-data \
|
||||
install-data-am install-data-hook install-exec install-exec-am \
|
||||
install-exec-hook install-info install-info-am install-man \
|
||||
install-man6 install-strip installcheck installcheck-am \
|
||||
installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
|
||||
uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
||||
uninstall-man uninstall-man6
|
||||
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@@PACKAGE@_bundle: ${EXEFILE}
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ mkdir -p $(bundle_contents)/MacOS
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ echo "APPL????" > $(bundle_contents)/PkgInfo
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ $(INSTALL_DATA) Info.plist $(bundle_contents)
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ $(INSTALL_PROGRAM) ${EXEFILE} $(bundle_contents)/MacOS/
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@install-exec-hook: @PACKAGE@_bundle
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ rm -rf $(DESTDIR)$(prefix)/@PACKAGE@.app
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ mkdir -p $(DESTDIR)$(prefix)/
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ cp -r @PACKAGE@.app $(DESTDIR)$(prefix)/
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@clean-local:
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@ rm -rf $(bundle_contents)
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@@PACKAGE@_bundle: ${EXEFILE}
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ $(INSTALL_PROGRAM) ${EXEFILE} $(bundle_contents)/
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@install-exec-hook: @PACKAGE@_bundle
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ rm -rf $(DESTDIR)/$(prefix)/@PACKAGE@
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ mkdir -p $(DESTDIR)/$(prefix)/
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp COPYING @PACKAGE@/COPYING.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp COPYING.LIB @PACKAGE@/COPYING_LIB.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp ChangeLog @PACKAGE@/ChangeLog.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp TODO @PACKAGE@/TODO.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp README @PACKAGE@/README.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp README.jp @PACKAGE@/README_jp.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp README.sfont @PACKAGE@/sfont.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp README.xkobo @PACKAGE@/xkobo.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp README.xkobo.jp @PACKAGE@/xkobo_jp.txt
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp KoboPlayer @PACKAGE@/scores/42
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ cp -r @PACKAGE@ $(DESTDIR)/$(prefix)/
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@clean-local:
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@ rm -rf $(bundle_contents)
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@@PACKAGE@_bundle:
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@install-exec-hook:
|
||||
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@clean-local:
|
||||
|
||||
@UNIX_SCOREDIR_TRUE@install-data-hook: $(DESTDIR)$(kobo_scoredir)
|
||||
@UNIX_SCOREDIR_TRUE@ chmod a+w $(DESTDIR)$(kobo_scoredir)
|
||||
|
||||
@UNIX_SCOREDIR_FALSE@install-data-hook:
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
370
README
Normal file
@ -0,0 +1,370 @@
|
||||
(This document was generated from the kobodl.6 'man' file.)
|
||||
|
||||
Kobo Deluxe
|
||||
-----------
|
||||
v0.5.1
|
||||
|
||||
An enhanced port
|
||||
of the scrolling video game
|
||||
XKobo
|
||||
|
||||
DESCRIPTION
|
||||
Kobo Deluxe is a 3'rd person scrolling 2D shooter with a simple and
|
||||
responsive control system - which you'll need to tackle the tons of
|
||||
enemy ships that shoot at you, chase you, circle around you shooting,
|
||||
or even launch other ships at you, while you're trying to destroy the
|
||||
labyrinth shaped bases. There are 50 action packed levels with smoothly
|
||||
increasing difficulty, and different combinations of enemies that
|
||||
require different tactics to be dealt with successfully.
|
||||
|
||||
Kobo Deluxe has an improved graphics engine that delivers smoother ani-
|
||||
mation, while keeping the game logic totally accurate and predictable
|
||||
regardless of frame rate. It also adds sound effects, new graphics,
|
||||
fullscreen mode, four extra skill levels with smoother gameplay and
|
||||
various other features expected from a modern game. (There is still a
|
||||
"Clasic" mode that plays exactly like the original XKobo.)
|
||||
|
||||
Kobo Deluxe uses SDL for sound, graphics and input, and builds and runs
|
||||
on all major operating systems, as well as some more unusual platforms.
|
||||
It can also use OpenGL for accelerated rendering, through glSDL.
|
||||
|
||||
In short, Kobo Deluxe is loads of classical arcade style fun for just
|
||||
about any machine with graphics and sound!
|
||||
|
||||
CONTROLS
|
||||
The ship can be controlled with the keyboard, or optionally a mouse or
|
||||
joystick. With the keyboard, the arrow keys move the ship (two keys for
|
||||
diagonals), and the shift and ctrl keys shoots. The numeric key pad can
|
||||
also be used; the usual 2/4/6/8 (arrows), and also 1/3/7/9 for single
|
||||
key diagonals. Escape enters the meny system, from where it is possi-
|
||||
ble to change settings, start a new game or exit the game.
|
||||
|
||||
OPTIONS
|
||||
Note that all relevant options can be also configured in the config
|
||||
file, which can be edited directly, or using the options menus in the
|
||||
game.
|
||||
|
||||
-[no]logfile
|
||||
Log To File. Default: Off.
|
||||
|
||||
-logformat
|
||||
Log File Format. Default: 0.
|
||||
|
||||
-logverbosity
|
||||
Log Verbosity Level. Default: 2.
|
||||
|
||||
-[no]joystick
|
||||
Use Joystick. Default: Off.
|
||||
|
||||
-joystick_no
|
||||
Joystick Number. Default: 0.
|
||||
|
||||
-[no]mouse
|
||||
Use Mouse. Default: Off.
|
||||
|
||||
-mousemode
|
||||
Mouse Control Mode. Default: 1.
|
||||
|
||||
-[no]broken_numdia
|
||||
Broken NumPad Diagonals. Default: Off.
|
||||
|
||||
-dia_emphasis
|
||||
Diagonals Emphasis Filter. Default: 0.
|
||||
|
||||
-[no]always_fire
|
||||
Always Fire. Default: Off.
|
||||
|
||||
-[no]mousecapture
|
||||
In-game Mouse Capture. Default: On.
|
||||
|
||||
-scrollradar
|
||||
Radar Scroll Mode. Default: 2.
|
||||
|
||||
-[no]filter
|
||||
Enable/disable motion interpolation. Interpolation is what makes
|
||||
animation smooth at high frame rates despite the game logic run-
|
||||
ning at 33.33 fps. However, it also adds some input latency!
|
||||
Default: On.
|
||||
|
||||
-timefilter
|
||||
Time filter, for smoothing out timing jitter induced by the
|
||||
operating system. Default: 50.
|
||||
|
||||
-countdown
|
||||
Get Ready Countdown. Default: 5.
|
||||
|
||||
-starfield
|
||||
Starfield Style. Default: 2.
|
||||
|
||||
-stars Number of Parallax Stars. Default: 500.
|
||||
|
||||
-overheatloud
|
||||
Overheat Warning Loudness. Default: 100.
|
||||
|
||||
-cannonloud
|
||||
Player Cannons Loudness. Default: 100.
|
||||
|
||||
-[no]sound
|
||||
Enable Sound. Default: On.
|
||||
|
||||
-[no]music
|
||||
Enable Music. Default: On.
|
||||
|
||||
-[no]cached_sounds
|
||||
Use Cached Sounds. Default: Off.
|
||||
|
||||
-[no]oss
|
||||
Use OSS Sound Driver. Default: Off.
|
||||
|
||||
-samplerate
|
||||
Sample Rate. Default: 44100.
|
||||
|
||||
-latency
|
||||
Sound Latency. Default: 50.
|
||||
|
||||
-mixquality
|
||||
Mixing Quality. Default: 3.
|
||||
|
||||
-vol Master Volume. Default: 100.
|
||||
|
||||
-intro_vol
|
||||
Intro Music Volume. Default: 100.
|
||||
|
||||
-sfx_vol
|
||||
Sound Effects Volume. Default: 100.
|
||||
|
||||
-music_vol
|
||||
In-Game Music Volume. Default: 50.
|
||||
|
||||
-reverb
|
||||
Reverb Level. Default: 100.
|
||||
|
||||
-vol_boost
|
||||
Volume Boost. Default: 0.
|
||||
|
||||
-[no]fullscreen
|
||||
Fullscreen Display. Default: Off.
|
||||
|
||||
-videodriver
|
||||
Display Driver. Default: 0.
|
||||
|
||||
-width Horizontal Resolution. Default: 640.
|
||||
|
||||
-height
|
||||
Vertical Resolution. Default: 480.
|
||||
|
||||
-aspect
|
||||
Pixel Aspect Ratio. Default: 1000.
|
||||
|
||||
-depth Display Depth. Default: 0.
|
||||
|
||||
-maxfps
|
||||
Limit the framerate (fps). Saves power on laptops (75 works
|
||||
well), and can also avoid long stalls due to timesharing and
|
||||
background processes. Default: 100.
|
||||
|
||||
-maxfpsstrict
|
||||
Strictly Regulated fps. Default: 0.
|
||||
|
||||
-buffer
|
||||
Display Buffer Mode. Default: 1.
|
||||
|
||||
-[no]shadow
|
||||
Use Software Shadow Buffer. Default: On.
|
||||
|
||||
-videomode
|
||||
Video Mode. Default: 17200.
|
||||
|
||||
-[no]vsync
|
||||
Enable Vertical Sync. Default: On.
|
||||
|
||||
-videopages
|
||||
Number of Video Pages. Default: -1.
|
||||
|
||||
-scalemode
|
||||
Scaling Filter Mode. Default: 1.
|
||||
|
||||
-[no]dither
|
||||
Use Dithering. Default: On.
|
||||
|
||||
-dither_type
|
||||
Dither Type. Default: 0.
|
||||
|
||||
-[no]broken_rgba8
|
||||
Broken RGBA (OpenGL). Default: Off.
|
||||
|
||||
-[no]alpha
|
||||
Use Alpha Blending. Default: On.
|
||||
|
||||
-brightness
|
||||
Brightness. Default: 100.
|
||||
|
||||
-contrast
|
||||
Contrast. Default: 100.
|
||||
|
||||
-files Specify the root path of the game. Default: ""
|
||||
|
||||
-gfx Specify the path to the game's graphics data. Default: ""
|
||||
|
||||
-sfx Specify the path to the game's sound data. Default: ""
|
||||
|
||||
-scores
|
||||
Specify the path to the game's score files. Default: ""
|
||||
|
||||
-size (Not saved!) Screen Size (Obsolete). Default: 0.
|
||||
|
||||
-wait Game Speed (Obsolete). Default: 30.
|
||||
|
||||
-bgm (Not saved!) Background Music File (Obsolete). Default: ""
|
||||
|
||||
-threshold
|
||||
(Not saved!) Limiter Gain. Default: 200.
|
||||
|
||||
-release
|
||||
(Not saved!) Limiter Speed. Default: 50.
|
||||
|
||||
-internalres
|
||||
(Not saved!) Texture Resolution. Default: 1.
|
||||
|
||||
-last_profile
|
||||
Last used player profile. Default: 0.
|
||||
|
||||
-number_of_joysticks
|
||||
Number of Connected Joysticks. Default: 0.
|
||||
|
||||
-[no]showcfg
|
||||
(Not saved!) Show Configuration. Default: Off.
|
||||
|
||||
-[no]hiscores
|
||||
(Not saved!) List High Scores. Default: Off.
|
||||
|
||||
-[no]highscores
|
||||
(Not saved!) List High Scores. Default: Off.
|
||||
|
||||
-[no]override
|
||||
(Not saved!) Ignore Configuration File. Default: Off.
|
||||
|
||||
-[no]debug
|
||||
(Not saved!) Enable Debug Features. Default: Off.
|
||||
|
||||
-[no]fps
|
||||
(Not saved!) Display frames per second in game screen. Default:
|
||||
Off.
|
||||
|
||||
-[no]noframe
|
||||
(Not saved!) Do not render rounded corners on the playfield.
|
||||
Default: Off.
|
||||
|
||||
-[no]midi
|
||||
(Not saved!) Enable MIDI Input. Default: Off.
|
||||
|
||||
-[no]cheat
|
||||
(Not saved!) Enable/disable cheat mode. Cheat mode allows any
|
||||
level to be played, but highscores are not saved! Default: Off.
|
||||
|
||||
-[no]indicator
|
||||
(Not saved!) Enable Collision Indicator Mode. Default: Off.
|
||||
|
||||
-[no]pushmove
|
||||
(Not saved!) Enable Push Move Mode. Default: Off.
|
||||
|
||||
-[no]noparachute
|
||||
(Not saved!) Disable SDL Parachute. Default: Off.
|
||||
|
||||
-[no]pollaudio
|
||||
(Not saved!) Use Polling Audio Output. Default: Off.
|
||||
|
||||
-[no]autoshot
|
||||
(Not saved!) Ingame screenshots/movie. Default: Off.
|
||||
|
||||
-[no]help
|
||||
(Not saved!) Print usage info and exit. Default: Off.
|
||||
|
||||
-[no]options_man
|
||||
(Not saved!) Print options for 'man'. Default: Off.
|
||||
|
||||
FILES
|
||||
~/.kobodlrc
|
||||
The per-user configuration file for Kobo Deluxe.
|
||||
|
||||
AUTHORS
|
||||
Originally written by Akira Higuchi (a-higuti@math.hokudai.ac.jp),
|
||||
XKobo was turned into Kobo Deluxe by David Olofson <david@olofson.net>
|
||||
|
||||
THANKS
|
||||
Thanks, in no particular order, to...
|
||||
|
||||
Akira Higuchi
|
||||
Author of the Original XKobo.
|
||||
|
||||
Masanao Izumo
|
||||
Sound effects and original sound engine.
|
||||
|
||||
Torsten Giebl
|
||||
Slackware.
|
||||
|
||||
David Andersson
|
||||
Various Good Ideas.
|
||||
|
||||
Max Horn
|
||||
Mac OS X & Build Script Patches.
|
||||
|
||||
Jeremy Sheeley
|
||||
Player Profiles.
|
||||
|
||||
Tsuyoshi Iguchi
|
||||
FreeBSD, NetBSD.
|
||||
|
||||
Samuel Hart
|
||||
Joystick Support.
|
||||
|
||||
G. Low Solaris.
|
||||
|
||||
Gerry Jo Trick Jellestad
|
||||
Testing and ideas.
|
||||
|
||||
Riki Intel Compiler.
|
||||
|
||||
Andreas Spaangberg
|
||||
Sun Compiler & Bug Spotting.
|
||||
|
||||
SixK Amiga Port.
|
||||
|
||||
Joey Hess
|
||||
Debian.
|
||||
|
||||
Martijn van Oosterhout
|
||||
FPS limiter.
|
||||
|
||||
Antonio Messina
|
||||
Stage 1601+ difficulty wrap, Always Fire option.
|
||||
|
||||
Hans de Goede
|
||||
Audio buffer handling bug.
|
||||
|
||||
Marianne Ibbotson
|
||||
"Autopause" idea.
|
||||
|
||||
Sam Palmer
|
||||
MS Windows testing.
|
||||
|
||||
Michael Sterrett
|
||||
glSDL issues.
|
||||
|
||||
Sam Lantinga & Others
|
||||
SDL, the Simple DirectMedia library.
|
||||
|
||||
Members of the SDL mailing list
|
||||
Testing and ideas.
|
||||
|
||||
COPYRIGHT
|
||||
Copyright (c) 1995, 1996 Akira Higuchi
|
||||
Copyright (C) 1997 Masanao Izumo
|
||||
Copyright (C) 1999-2001 Simon Peter
|
||||
Copyright (C) 2002 Florian Schulze
|
||||
Copyright (C) 2002 Jeremy Sheeley
|
||||
Copyright (C) 2005 Erik Auerswald
|
||||
Copyright (c) 1999-2007 David Olofson
|
||||
|
||||
Kobo Deluxe is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License.
|
||||
803
README.html
Normal file
@ -0,0 +1,803 @@
|
||||
<!-- Creator : groff version 1.19.2 -->
|
||||
<!-- CreationDate: Sat Dec 15 10:38:40 2007 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<meta name="Content-Style" content="text/css">
|
||||
<style type="text/css">
|
||||
p { margin-top: 0; margin-bottom: 0; }
|
||||
pre { margin-top: 0; margin-bottom: 0; }
|
||||
table { margin-top: 0; margin-bottom: 0; }
|
||||
</style>
|
||||
<title>KOBODL</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1 align=center>KOBODL</h1>
|
||||
|
||||
<a href="#NAME">NAME</a><br>
|
||||
<a href="#SYNOPSIS">SYNOPSIS</a><br>
|
||||
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
||||
<a href="#CONTROLS">CONTROLS</a><br>
|
||||
<a href="#OPTIONS">OPTIONS</a><br>
|
||||
<a href="#FILES">FILES</a><br>
|
||||
<a href="#AUTHORS">AUTHORS</a><br>
|
||||
<a href="#THANKS">THANKS</a><br>
|
||||
<a href="#COPYRIGHT">COPYRIGHT</a><br>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<a name="NAME"></a>
|
||||
<h2>NAME</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">kobodl - Kobo
|
||||
Deluxe, an enhanced version of the scrolling game XKobo</p>
|
||||
|
||||
<a name="SYNOPSIS"></a>
|
||||
<h2>SYNOPSIS</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>kobodl</b> [
|
||||
<i>options</i> ]</p>
|
||||
|
||||
<a name="DESCRIPTION"></a>
|
||||
<h2>DESCRIPTION</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Kobo Deluxe is
|
||||
a 3’rd person scrolling 2D shooter with a simple and
|
||||
responsive control system - which you’ll need to
|
||||
tackle the tons of enemy ships that shoot at you, chase you,
|
||||
circle around you shooting, or even launch other ships at
|
||||
you, while you’re trying to destroy the labyrinth
|
||||
shaped bases. There are 50 action packed levels with
|
||||
smoothly increasing difficulty, and different combinations
|
||||
of enemies that require different tactics to be dealt with
|
||||
successfully.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Kobo Deluxe has
|
||||
an improved graphics engine that delivers smoother
|
||||
animation, while keeping the game logic totally accurate and
|
||||
predictable regardless of frame rate. It also adds sound
|
||||
effects, new graphics, fullscreen mode, four extra skill
|
||||
levels with smoother gameplay and various other features
|
||||
expected from a modern game. (There is still a
|
||||
"Clasic" mode that plays exactly like the original
|
||||
XKobo.)</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Kobo Deluxe
|
||||
uses SDL for sound, graphics and input, and builds and runs
|
||||
on all major operating systems, as well as some more unusual
|
||||
platforms. It can also use OpenGL for accelerated rendering,
|
||||
through glSDL.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">In short, Kobo
|
||||
Deluxe is loads of classical arcade style fun for just about
|
||||
any machine with graphics and sound!</p>
|
||||
|
||||
<a name="CONTROLS"></a>
|
||||
<h2>CONTROLS</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">The ship can be
|
||||
controlled with the keyboard, or optionally a mouse or
|
||||
joystick. With the keyboard, the arrow keys move the ship
|
||||
(two keys for diagonals), and the shift and ctrl keys
|
||||
shoots. The numeric key pad can also be used; the usual
|
||||
2/4/6/8 (arrows), and also 1/3/7/9 for single key diagonals.
|
||||
Escape enters the meny system, from where it is possible to
|
||||
change settings, start a new game or exit the game.</p>
|
||||
|
||||
<a name="OPTIONS"></a>
|
||||
<h2>OPTIONS</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Note that all
|
||||
relevant options can be also configured in the config file,
|
||||
which can be edited directly, or using the options menus in
|
||||
the game. <b><br>
|
||||
−[no]logfile</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Log To File. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−logformat</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Log File Format. Default:
|
||||
0.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−logverbosity</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Log Verbosity Level. Default:
|
||||
2.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]joystick</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Joystick. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−joystick_no</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Joystick Number. Default:
|
||||
0.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]mouse</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Mouse. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−mousemode</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Mouse Control Mode. Default:
|
||||
1.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]broken_numdia</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Broken NumPad Diagonals.
|
||||
Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−dia_emphasis</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Diagonals Emphasis Filter.
|
||||
Default: 0.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]always_fire</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Always Fire. Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]mousecapture</b></p>
|
||||
|
||||
<p style="margin-left:22%;">In-game Mouse Capture. Default:
|
||||
On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−scrollradar</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Radar Scroll Mode. Default:
|
||||
2.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]filter</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Enable/disable motion
|
||||
interpolation. Interpolation is what makes animation smooth
|
||||
at high frame rates despite the game logic running at 33.33
|
||||
fps. However, it also adds some input latency! Default:
|
||||
On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−timefilter</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Time filter, for smoothing out
|
||||
timing jitter induced by the operating system. Default:
|
||||
50.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−countdown</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Get Ready Countdown. Default:
|
||||
5.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−starfield</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Starfield Style. Default:
|
||||
2.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−stars</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="60%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Number of Parallax
|
||||
Stars. Default: 500.</p></td>
|
||||
<td width="18%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]sound</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Enable Sound. Default: On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]music</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Enable Music. Default: On.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]cached_sounds</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Cached Sounds. Default:
|
||||
Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]oss</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use OSS Sound Driver. Default:
|
||||
Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−samplerate</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sample Rate. Default:
|
||||
44100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−latency</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sound Latency. Default: 50.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−mixquality</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Mixing Quality. Default: 3.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="6%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−vol</b></p> </td>
|
||||
<td width="5%"></td>
|
||||
<td width="43%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Master Volume.
|
||||
Default: 100.</p></td>
|
||||
<td width="35%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−intro_vol</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Intro Music Volume. Default:
|
||||
100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−sfx_vol</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sound Effects Volume. Default:
|
||||
100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−music_vol</b></p>
|
||||
|
||||
<p style="margin-left:22%;">In-Game Music Volume. Default:
|
||||
50.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−reverb</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Reverb Level. Default: 100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−vol_boost</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Volume Boost. Default: 0.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]fullscreen</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Fullscreen Display. Default:
|
||||
Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−videodriver</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Display Driver. Default: 0.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−width</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="55%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Horizontal
|
||||
Resolution. Default: 640.</p></td>
|
||||
<td width="23%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−height</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Vertical Resolution. Default:
|
||||
480.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−aspect</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Pixel Aspect Ratio. Default:
|
||||
1000.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−depth</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="40%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Display Depth.
|
||||
Default: 0.</p></td>
|
||||
<td width="38%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−maxfps</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Limit the framerate (fps).
|
||||
Saves power on laptops (75 works well), and can also avoid
|
||||
long stalls due to timesharing and background processes.
|
||||
Default: 100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−maxfpsstrict</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Strictly Regulated fps.
|
||||
Default: 0.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−buffer</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Display Buffer Mode. Default:
|
||||
1.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]shadow</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Software Shadow Buffer.
|
||||
Default: On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−videomode</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Video Mode. Default: 17200.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]vsync</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Enable Vertical Sync. Default:
|
||||
On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−videopages</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Number of Video Pages. Default:
|
||||
-1.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−scalemode</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Scaling Filter Mode. Default:
|
||||
1.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]dither</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Dithering. Default: On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−dither_type</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Dither Type. Default: 0.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]broken_rgba8</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Broken RGBA (OpenGL). Default:
|
||||
Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]alpha</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Use Alpha Blending. Default:
|
||||
On.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−brightness</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Brightness. Default: 100.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−contrast</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Contrast. Default: 100.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−files</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Specify the root
|
||||
path of the game. Default: ""</p></td>
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−gfx</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Specify the path to
|
||||
the game’s graphics data. Default: ""</p></td>
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−sfx</b></p> </td>
|
||||
<td width="2%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Specify the path to
|
||||
the game’s sound data. Default: ""</p></td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−scores</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Specify the path to the
|
||||
game’s score files. Default: ""</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="7%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−size</b></p> </td>
|
||||
<td width="4%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">(Not saved!) Screen
|
||||
Size (Obsolete). Default: 0.</p></td>
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="7%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−wait</b></p> </td>
|
||||
<td width="4%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Game Speed
|
||||
(Obsolete). Default: 30.</p></td>
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="7%">
|
||||
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>−bgm</b></p> </td>
|
||||
<td width="4%"></td>
|
||||
<td width="78%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">(Not saved!)
|
||||
Background Music File (Obsolete). Default: ""</p></td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>−threshold</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Limiter Gain.
|
||||
Default: 200.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−release</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Limiter Speed.
|
||||
Default: 50.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−internalres</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Texture
|
||||
Resolution. Default: 1.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−last_profile</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Last used player profile.
|
||||
Default: 0.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−number_of_joysticks</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Number of Connected Joysticks.
|
||||
Default: 0.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]showcfg</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Show
|
||||
Configuration. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]hiscores</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) List High Scores.
|
||||
Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]highscores</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) List High Scores.
|
||||
Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]override</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Ignore
|
||||
Configuration File. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]debug</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Enable Debug
|
||||
Features. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]fps</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Display frames per
|
||||
second in game screen. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]noframe</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Do not render
|
||||
rounded corners on the playfield. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]midi</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Enable MIDI Input.
|
||||
Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]cheat</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Enable/disable
|
||||
cheat mode. Cheat mode allows any level to be played, but
|
||||
highscores are not saved! Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]indicator</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Enable Collision
|
||||
Indicator Mode. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]pushmove</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Enable Push Move
|
||||
Mode. Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]noparachute</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Disable SDL
|
||||
Parachute. Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]pollaudio</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Use Polling Audio
|
||||
Output. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]autoshot</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Ingame
|
||||
screenshots/movie. Default: Off.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]help</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Print usage info
|
||||
and exit. Default: Off.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%;"><b>−[no]options_man</b></p>
|
||||
|
||||
<p style="margin-left:22%;">(Not saved!) Print options for
|
||||
’man’. Default: Off.</p>
|
||||
|
||||
<a name="FILES"></a>
|
||||
<h2>FILES</h2>
|
||||
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>~/.kobodlrc</b></p>
|
||||
|
||||
<p style="margin-left:22%;">The per-user configuration file
|
||||
for Kobo Deluxe.</p>
|
||||
|
||||
<a name="AUTHORS"></a>
|
||||
<h2>AUTHORS</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Originally
|
||||
written by Akira Higuchi (a-higuti@math.hokudai.ac.jp),
|
||||
XKobo was turned into Kobo Deluxe by David Olofson
|
||||
<david@olofson.net></p>
|
||||
|
||||
<a name="THANKS"></a>
|
||||
<h2>THANKS</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Thanks, in no
|
||||
particular order, to... <b><br>
|
||||
Akira Higuchi</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Author of the Original
|
||||
XKobo.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Masanao Izumo</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sound effects and original
|
||||
sound engine.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Torsten Giebl</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Slackware.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>David Andersson</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Various Good Ideas.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Max Horn</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Mac OS X & Build Script
|
||||
Patches.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Jeremy Sheeley</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Player Profiles.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Tsuyoshi Iguchi</b></p>
|
||||
|
||||
<p style="margin-left:22%;">FreeBSD, NetBSD.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Samuel Hart</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Joystick Support.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="9%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>G. Low</b></p></td>
|
||||
<td width="2%"></td>
|
||||
<td width="12%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Solaris.</p></td>
|
||||
<td width="66%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>Gerry Jo Trick
|
||||
Jellestad</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Testing and ideas.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="6%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>Riki</b></p></td>
|
||||
<td width="5%"></td>
|
||||
<td width="23%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Intel Compiler.</p></td>
|
||||
<td width="55%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>Andreas Spaangberg</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Sun Compiler & Bug
|
||||
Spotting.</p>
|
||||
|
||||
<table width="100%" border=0 rules="none" frame="void"
|
||||
cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" align="left">
|
||||
<td width="11%"></td>
|
||||
<td width="6%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top"><b>SixK</b></p></td>
|
||||
<td width="5%"></td>
|
||||
<td width="16%">
|
||||
|
||||
|
||||
<p style="margin-top: 1em" valign="top">Amiga Port.</p></td>
|
||||
<td width="62%">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
<p style="margin-left:11%;"><b>Joey Hess</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Debian.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Martijn van
|
||||
Oosterhout</b></p>
|
||||
|
||||
<p style="margin-left:22%;">FPS limiter.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Antonio Messina</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Stage 1601+ difficulty wrap,
|
||||
Always Fire option.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Hans de Goede</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Audio buffer handling bug.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Marianne Ibbotson</b></p>
|
||||
|
||||
<p style="margin-left:22%;">"Autopause" idea.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Sam Palmer</b></p>
|
||||
|
||||
<p style="margin-left:22%;">MS Windows testing.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Michael Sterrett</b></p>
|
||||
|
||||
<p style="margin-left:22%;">glSDL issues.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Sam Lantinga &
|
||||
Others</b></p>
|
||||
|
||||
<p style="margin-left:22%;">SDL, the Simple DirectMedia
|
||||
library.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>Members of the SDL mailing
|
||||
list</b></p>
|
||||
|
||||
<p style="margin-left:22%;">Testing and ideas.</p>
|
||||
|
||||
<a name="COPYRIGHT"></a>
|
||||
<h2>COPYRIGHT</h2>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (c)
|
||||
1995, 1996 Akira Higuchi</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
|
||||
1997 Masanao Izumo</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
|
||||
1999-2001 Simon Peter</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
|
||||
2002 Florian Schulze</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
|
||||
2002 Jeremy Sheeley</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
|
||||
2005 Erik Auerswald</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Copyright (c)
|
||||
1999-2007 David Olofson</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>Kobo
|
||||
Deluxe</b> is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public
|
||||
License.</p>
|
||||
<hr>
|
||||
</body>
|
||||
</html>
|
||||
46
README.jp
Normal file
@ -0,0 +1,46 @@
|
||||
|
||||
Kobo Deluxe
|
||||
-----------
|
||||
v0.4
|
||||
|
||||
$B%7%e!<%F%#%s%0%2!<%`(B XKobo$B$N6/2=HG(B
|
||||
|
||||
Kobo Deluxe $B$OBh;0<T;kE@$N%9%/%m!<%k%7%e!<%F%#%s%0%2!<%`$G!"(B
|
||||
$BC1=c$G$9$,H?1~@-$N$h$$A`:n@-$r;}$C$F$$$^$9!#$"$J$?$O$3$N5!BN$G!"(B
|
||||
$B$"$J$?$rA@$C$F7b$C$F$-$?$j!"DI$$$+$1$F$-$?$j!"$H$j$+$3$s$G7b$C(B
|
||||
$B$F$-$?$j!"$"$J$?$K8~$+$C$FE(5!$rAw$j=P$96uJl$J$I!";3$[$I$NE(5!$H!"(B
|
||||
$B$o$?$j$"$&$3$H$K$J$j$^$9!#$3$N%2!<%`$K$O(B50$B$NLL$,$"$j!"4K$d$+$K(B
|
||||
$BFq0WEY$O>e>:$7!"E(5!$NAH$_9g$o$;$,JQ2=$7$^$9!#$&$^$/@Z$jH4$1$k(B
|
||||
$B$?$a$K$O$=$NETEYE*3N$J@oN,$rI,MW$H$7$^$9!#(B
|
||||
|
||||
Kobo Deluxe$B$O%0%i%U%#%C%/%(%s%8%s$r?J2=$5$;!"%2!<%`$N?J9T$d%?%$(B
|
||||
$B%_%s%0$K0MB8$7$J$$=@Fp$J%U%l!<%`%l!<%H@_Dj$r2DG=$H$7$F$$$^$9!#$^$?!"(B
|
||||
$B8z2L2;!"GI<j$J!V7W4oN`!W$N%0%i%U%#%C%/!"%U%k%9%/%j!<%s%b!<%I$d!"(B
|
||||
$B:#;~$N%2!<%`$K5a$a$i$l$F$$$k$5$^$6$^$J5!G=$r<B8=$7$F$$$^$9!#(B
|
||||
Kobo Deluxe $B$O(BSDL$B$r%Y!<%9$K$7$F$*$j!"B?$/$N%*%Z%l!<%F%#%s%0%7%9(B
|
||||
$B%F%`>e$GF0:n$7$^$9!#$"$^$j0lHLE*$G$O$J%W%i%C%H%[!<%`$G$bF0:n$9$k(B
|
||||
$B$+$b$7$l$^$;$s!#(B
|
||||
|
||||
$B$R$H$3$H$G8@$&$J$i!"(BKobo Deluxe$B$O%/%i%7%C%/$J%"!<%1!<%I%9%?%$%k$N(B
|
||||
$B%2!<%`$r!"MM!9$J4D6-$N%^%7%s$GM7$Y$k$h$&$K$7$?$H$$$&$3$H$G$9!#(B
|
||||
|
||||
Enjoy...!
|
||||
|
||||
David Olofson <david@olofson.net>
|
||||
http://olofson.net
|
||||
|
||||
|
||||
Thanks to:
|
||||
Akira Higuchi ($B%*%j%8%J%kHG(BXKobo$B$N:n<T(B)
|
||||
|
||||
Masanao Izumo ($B%5%&%s%I%(%U%'%/%H$H%*%j%8%J%kHG%5%&%s%I%(%s%8%s$N:n<T(B)
|
||||
Max Horn (Mac OS X)
|
||||
Tsuyoshi Iguchi (FreeBSD)
|
||||
G. Low (Solaris)
|
||||
Gerry Jo "Trick" Jellestad ($B%F%9%H$H%"%$%G%#%"Ds6!(B)
|
||||
SDL$B%a!<%j%s%0%j%9%H$N%a%s%P!<(B
|
||||
|
||||
|
||||
(jp) $BCp(B: $BF|K\8lLu$N@UG$$O(BTsuyoshi Iguchi$B$K$"$j$^$9!#(B
|
||||
(en) Notice: Resopnsibility for Japanese translation
|
||||
is belong to Tsuyoshi Iguchi.
|
||||
6
README.osx
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
you may need to do this to make kobo work:
|
||||
|
||||
% sudo mkdir -p -m 777 /Library/Preferences/KoboDeluxe/scores
|
||||
|
||||
|
||||
85
README.sfont
Normal file
@ -0,0 +1,85 @@
|
||||
-----------------------------------< SFont >------------------------------------
|
||||
|
||||
License: GPL
|
||||
Author: Karl Bartel <karlb@gmx.net>
|
||||
WWW: http://members.linuxstart.com/~karlb/
|
||||
|
||||
Usage:
|
||||
1. Load a font and place it in an SDL_Surface *. If your are using the
|
||||
SDL_image library you can do this with Font=IMG_Load("filename");
|
||||
2. Initialize the font by using InitFont(surface *Font);
|
||||
3. Now you can use the font in you SDL program.
|
||||
Please take a look at SFont.h to get info about the funtions.
|
||||
|
||||
FileFormat:
|
||||
The font file can be any type image file. The characters start with
|
||||
ASCII symbol #33. They are seperated by pink(255,0,255) lines at the top
|
||||
of the image. The space between these lines is the width of the caracter.
|
||||
Just take a look at the font, and you'll be able to understand what I tried
|
||||
to explain here.
|
||||
The easiest way to create a new font is to use the GIMP's Logo function.
|
||||
Use the following string as text (ASCII 33-127 with escape sequences and
|
||||
spaces between the letters):
|
||||
! \" # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~
|
||||
|
||||
Example for the font file format:
|
||||
|
||||
____ _____ _____ _____ <- This is the pink line at the top
|
||||
|
||||
# ##### ####
|
||||
# # # # #
|
||||
# # # # #
|
||||
# # ##### #
|
||||
##### # # #
|
||||
# # # # #
|
||||
# # ##### ####
|
||||
|
||||
|----|
|
||||
Width of the character
|
||||
|
||||
|----------|
|
||||
Part of the font surface that is beeing blitted
|
||||
|
||||
|
||||
ChangeLog:
|
||||
2.0 beta
|
||||
*** Added SoFont, a C++ version of SFont ***
|
||||
Added lock and unlock for hardware surfaces
|
||||
Added blinking cursor to SFont_Input
|
||||
Added check for ASCII<33 in SFont_Input
|
||||
TextWidth returned a too highh value -> fixed
|
||||
|
||||
1.4
|
||||
Added support for multiple fonts in one program
|
||||
Add a missing "*" in the SFont.h file
|
||||
Proper '\0' at the end of stings produced by SFont_Input
|
||||
Fixed problems in SFont_Input, which were creating '\b' in the string
|
||||
Fixed two other bugs in SFont_Input
|
||||
Added the SFontViewer adn new test programs
|
||||
|
||||
1.3
|
||||
Fixed three wrong interpretations of the file format
|
||||
o wrong division (float had to be used)
|
||||
o detection of right ends of pink lines (were one pixel too far right)
|
||||
o blit destination (all blits were too far right)
|
||||
support for non-alpha mapped fonts
|
||||
some fonts updated
|
||||
|
||||
1.2
|
||||
added XCenteredString
|
||||
|
||||
1.1
|
||||
renamed font.c to SFont.c and font.h to SFont.h
|
||||
better Makefile
|
||||
1.0
|
||||
Added the Input function
|
||||
Added a check wether the Font has been loaded
|
||||
0.9
|
||||
better Makefile for the example (using sdl-config)
|
||||
better Neon Font
|
||||
0.8
|
||||
First Release
|
||||
|
||||
If you have any Questions please write a mail!
|
||||
|
||||
Karl
|
||||
146
README.xkobo
Normal file
@ -0,0 +1,146 @@
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
__ __
|
||||
\ \ / /
|
||||
\ \/ / ## ## #### ##### ####
|
||||
\ / ## ## ## ## ## ## ## ##
|
||||
/ \ #### ## ## ##### ## ##
|
||||
/ /\ \ ## ## ## ## ## ## ## ##
|
||||
/ / \ \ ## ## #### ##### ####
|
||||
/_/ --'
|
||||
Version 1.11+-do3
|
||||
|
||||
by
|
||||
|
||||
Akira Higuchi <a-higuti@math.hokudai.ac.jp>
|
||||
|
||||
|
||||
sound effects and other enhancements
|
||||
Masanao Izumo <mo@goice.co.jp>
|
||||
|
||||
improved OSS sound engine
|
||||
David Olofson <do@reologica.se>
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* DESCRIPTION
|
||||
Xkobo is a single player action game. The play is quite
|
||||
simple. Your object is to destroy all the fortresses. You
|
||||
can control your ship by pressing the cursor keys (or mov-
|
||||
ing the mouse cursor), and shot beams by pressing the
|
||||
SHIFT key (or the left mouse button). The game can be
|
||||
paused by pressing 's' (or the right mouse button).
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* REQUIREMENT
|
||||
Xkobo requires:
|
||||
1) Unix (BSD, Linux, etc.)
|
||||
2) X window system (256 colors or greater)
|
||||
3) OSS compatible sound system (8 kHz, 16 bit stereo)
|
||||
4) C++ compiler
|
||||
|
||||
Xkobo is known to compile and run under the following systems:
|
||||
* Linux
|
||||
* Sun-OS 4.1.4
|
||||
* BSD/OS
|
||||
* Solaris 2.4 (Sparc)
|
||||
* HP-UX 9.05
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* INSTALLING
|
||||
Edit Imakefile (if you need) and run
|
||||
|
||||
% xmkmf -a
|
||||
% make
|
||||
% su
|
||||
# make install
|
||||
# make install.man
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* OPTIONS
|
||||
-display displayname
|
||||
This option specifies the name of the X server to use.
|
||||
|
||||
-fit
|
||||
This option causes xkobo to use the default colormap.
|
||||
Without this option, xkobo uses a private colormap.
|
||||
|
||||
-wait value
|
||||
This option specifies the speed of the game. The
|
||||
default value is 30(msec).
|
||||
|
||||
-doublesize
|
||||
This option causes xkobo to enlarge the size of the
|
||||
window. But it costs HUGE memory.
|
||||
|
||||
-fast
|
||||
This option causes xkobo to use a faster algorithm. But
|
||||
it costs much memory.
|
||||
|
||||
-cheat
|
||||
Cheat mode. It allows any level to be played, does not
|
||||
update score table.
|
||||
|
||||
-hiscores
|
||||
Print the high score table to standard out, and exit.
|
||||
|
||||
-sound
|
||||
Enable sound effects. (Default.)
|
||||
|
||||
-nosound
|
||||
Disable sound effects.
|
||||
|
||||
-vol value
|
||||
Set sound effects volume to value. Default is 100.
|
||||
|
||||
FIXME: Some options aren't translated from README.jp.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* THANKS TO ...
|
||||
|
||||
Bruce Cheng
|
||||
Christoph Lameter
|
||||
Davide Rossi
|
||||
Eduard Martinescu
|
||||
Elan Feingold
|
||||
Helmut Hoenig
|
||||
Jeff Epler
|
||||
Joe Ramey
|
||||
Joey Hess
|
||||
Michael Sterrett
|
||||
Mihail Iotov
|
||||
Shoichi Nakayama
|
||||
Thomas Marsh
|
||||
Torsten Wolnik
|
||||
|
||||
* David's Thanks To...
|
||||
|
||||
Akira Higuchi (original Xkobo)
|
||||
Masanao Izumo (sound effects)
|
||||
|
||||
=========================================================================
|
||||
|
||||
XKOBO, a video-oriented game
|
||||
Copyright (C) 1995,1996 Akira Higuchi
|
||||
a-higuti@math.hokudai.ac.jp
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the
|
||||
Free Software Foundation; either version 2 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
=========================================================================
|
||||
139
README.xkobo.jp
Normal file
@ -0,0 +1,139 @@
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
XKOBO Version 1.11+-do3
|
||||
|
||||
Fri Jan 10 11:17:50 JST 1997 Akira Higuchi
|
||||
a-higuti@math.hokudai.ac.jp
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* DESCRIPTION
|
||||
|
||||
Xkobo $B$O#1?MMQ$N%"%/%7%g%s%2!<%`$G$9!#@N$N%J%`%3$N%2!<%`(B Bosconian
|
||||
$B$K;w$F$$$^$9!#%k!<%k$OC1=c$G!"<+5!$rA`$C$F2hLL>e$K$"$kMW:I$rA4$FGK(B
|
||||
$B2u$9$k$3$H$,%2!<%`$NL\E*$G$9!#(B
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* REQUIREMENT
|
||||
|
||||
Xkobo $B$r%3%s%Q%$%k!?<B9T$9$k$K$O<!$N$b$N$,I,MW$G$9!#(B
|
||||
|
||||
1) Unix, BSD, Linux $BEy$N(B OS
|
||||
2) X window system (256 $B?'0J>eI=<($G$-$k(B X $B%5!<%P(B)
|
||||
3) C++ $B%3%s%Q%$%i(B
|
||||
|
||||
Xkobo $B$O>/$J$/$H$b0J2<$N%7%9%F%`$GF0:n$7$^$9!#(B
|
||||
|
||||
* Linux
|
||||
* Sun-OS 4.1.4
|
||||
* BSD/OS
|
||||
* Solaris 2.4 (Sparc)
|
||||
* HP-UX 9.05
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* INSTALLING
|
||||
|
||||
$B$b$7I,MW$J$i(B Imakefile $B$rJT=8$7$F$+$i!"<!$r<B9T$7$^$9!#(B
|
||||
|
||||
% xmkmf -a
|
||||
% make
|
||||
|
||||
$B0J>e$G%3%s%Q%$%k$,40N;$G$9!#$b$7$"$J$?$,(B root $B$K$J$l$k$J$i!"<!$r<B(B
|
||||
$B9T$7$F%$%s%9%H!<%k$7$F2<$5$$!#%$%s%9%H!<%k$7$J$/$F$b<B9T$O=PMh$^$9(B
|
||||
$B$,!"%O%$%9%3%"$O5-O?$5$l$^$;$s!#(B
|
||||
|
||||
% su
|
||||
# make install
|
||||
# make install.man
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* OPTIONS
|
||||
|
||||
$B%3%^%s%I9T%*%W%7%g%s$O!"0J2<$N$H$*$j$G$9!#(B
|
||||
|
||||
-display displayname
|
||||
X $B%5!<%P$r;XDj$7$^$9!#(B
|
||||
|
||||
-fit
|
||||
$B$3$N%*%W%7%g%s$r;XDj$9$k$H!"%G%U%)%k%H%+%i!<%^%C%W$r;HMQ$9$k(B
|
||||
$B$h$&$K$J$j$^$9!#(BX $B%5!<%P$,I=<(2DG=$J?'?t$,>/$J$$$H!"(Bxkobo $B$N(B
|
||||
$B1GA|$N?'$,JQ$K$J$k$3$H$,$"$j$^$9!#$3$l$r;XDj$7$J$+$C$?$i!"%W(B
|
||||
$B%i%$%Y!<%H%+%i!<%^%C%W$r;HMQ$7$^$9!#(B
|
||||
$BCm!'(Bsgi $BMQ$K%O%C%/$7$?$3$N%P!<%8%g%s$G$O!$$3$N%*%W%7%g%s$O$"(B
|
||||
$B$j$^$;$s!%(B
|
||||
|
||||
-wait value
|
||||
$B%2!<%`$N%9%T!<%I$r;XDj$7$^$9!#$3$N%*%W%7%g%s$G;XDj$7$J$1$l$P!"(B
|
||||
40$B!J%_%jIC!KKh$K2hLL$,%"%C%W%G!<%H$5$l$^$9!#(B
|
||||
|
||||
-doublesize
|
||||
$B2hLL$N%5%$%:$,=D2#$=$l$>$l#2G\$K$J$j$^$9!#$?$@!";HMQ$9$k%a%b(B
|
||||
$B%j$NNL$,Ls#4G\!*$K$J$j$^$9!#(B
|
||||
|
||||
-tetrasize
|
||||
$B2hLL$N%5%$%:$,=D2#$=$l$>$l#4G\$K$J$j$^$9!#$?$@!";HMQ$9$k%a%b(B
|
||||
$B%j$NNL$,Ls#1#6G\!*$K$J$j$^$9!#(B
|
||||
|
||||
-fast
|
||||
$BB.$$%"%k%4%j%:%`$r;HMQ$7$^$9!#%a%b%j$N;HMQNL$OA}$($^$9!#(B
|
||||
|
||||
-cheat
|
||||
$B%A%c%C%H!&%b!<%I$G<B9T$7$^$9!#%A%c%C%H!&%b!<%I$G$O!"L$$@%/%j(B
|
||||
$B%"$7$F$$$J$$LL$b%W%l%$=PMh!"<+5!$N?t$N@)8B$bL5$/$J$j$^$9$,!"(B
|
||||
$B%9%3%"$O5-O?$5$l$^$;$s!#(B
|
||||
|
||||
-hiscores
|
||||
$B%O%$%9%3%"$rI8=`=PNO$KI=<($7$F=*N;$7$^$9!#(B
|
||||
|
||||
-sound
|
||||
$B%5%&%s%I$r$J$i$7$^$9!%(B
|
||||
|
||||
-vol volume
|
||||
$B%5%&%s%I$N%\%j%e!<%`$r;XDj$7$^$9!%%G%U%)%k%HCM$O(B 100 $B$G!$(B
|
||||
volume $B$NCM$KHfNc$7$F2;$,Bg$-$/$J$j$^$9!%(B
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* CONTOLS
|
||||
|
||||
$B%+!<%=%k%-!<$G#8J}8~$KA`=D$7!"%7%U%H%-!<$G%S!<%`$r7b$A$^$9!#(BS $B%-!<(B
|
||||
$B$G%]!<%:!J%?%$%H%k2hLL$G$O!"%2!<%`$N3+;O!K!"(BQ $B%-!<$G%2!<%`$rCfCG$7(B
|
||||
$B$^$9!#(B
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* ETC.
|
||||
|
||||
Copyright (C) 1995,1996 Akira Higuchi
|
||||
GNU General Public License $B$K=q$+$l$?>r7o2<$G$N2~B$!?:FG[I[$,2DG=(B
|
||||
$B$G$9!#>\$7$/$O(B COPYING $B$r$_$F$/$@$5$$!#(B
|
||||
|
||||
$B5l%P!<%8%g%s$KB8:_$7$?(B Towns PAD $BBP1~$O:o=|$7$^$7$?!#JL$N%W%m%0%i%`(B
|
||||
xpadtrans $B$r;H$($P(B Towns PAD $B$GA`:n$G$-$k$h$&$K$J$j$^$9!#>\$7$/$O!"(B
|
||||
http://www.math.hokudai.ac.jp/~a-higuti/
|
||||
http://seki.math.hokudai.ac.jp:20080/
|
||||
$B$"$?$j$rGA$$$F$_$F2<$5$$!#(B
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
* THANKS TO ...
|
||||
|
||||
Bruce Cheng
|
||||
Christoph Lameter
|
||||
Davide Rossi
|
||||
Eduard Martinescu
|
||||
Elan Feingold
|
||||
Helmut Hoenig
|
||||
Jeff Epler
|
||||
Joe Ramey
|
||||
Joey Hess
|
||||
Michael Sterrett
|
||||
Mihail Iotov
|
||||
Shoichi Nakayama
|
||||
Thomas Marsh
|
||||
Torsten Wolnik
|
||||
|
||||
330
TODO
Normal file
@ -0,0 +1,330 @@
|
||||
|
||||
Priority:
|
||||
|
||||
* Cleaner gold fonts! (Poor AA in bigfont3, and goldfont
|
||||
is just a scaled and colorized version of icefont2.)
|
||||
|
||||
* Sort the video modes!
|
||||
|
||||
* Nodes and cores should have some sort of "spawn"
|
||||
effect when firing.
|
||||
|
||||
* Logic object pool optimization: Use LIFO pool + lists!
|
||||
|
||||
* Graphics scaling:
|
||||
* Remove or hide the advanced graphics options!
|
||||
* Graphics quality:
|
||||
* Fastest
|
||||
* Medium
|
||||
* Best (Default)
|
||||
* Custom (show old detailed settings)
|
||||
* At first startup, quality would be
|
||||
"Unknown". The game will start by
|
||||
testing the intro with no logo. The game
|
||||
picks a quality setting based on frame
|
||||
rate. If "Medium" or "Fastest" is picked,
|
||||
the game should warn and ask the user.
|
||||
* Specify in the loader what scaling methods should
|
||||
be used for each quality setting. (What about
|
||||
Custom?)
|
||||
* Disable alpha in Fastest quality. Medium...?
|
||||
|
||||
* Better scaling!
|
||||
* Try SDL_resize!!!
|
||||
* Combine Scale2x and Diamond2x?
|
||||
* S-spline style enhancement filters?
|
||||
* Detail textures?
|
||||
|
||||
* Indirectly changing the video mode (by changing one
|
||||
of the "Show" options) will not trigger a video
|
||||
restart.
|
||||
|
||||
* Death sequence UI timing should not be governed by
|
||||
game logic time! Throw in a "state time" feature in
|
||||
the gamestate manager or something. Or perhaps just
|
||||
switch to a fixed logic frame rate when not
|
||||
actually in-game? (It does actually make sense to
|
||||
scale in-game effects with game speed!)
|
||||
|
||||
* Quicker menu navigation with PgUp/Dn, Home, End etc.
|
||||
|
||||
* 3D "rockfield" for highscore and/or credits? (2D
|
||||
parallax rocks + stars without glSDL.) glSDL should
|
||||
support texture filtering for nice scaling.
|
||||
|
||||
* There should be some feedback from the sound engine,
|
||||
perhaps... As it is, you can't even see what sample
|
||||
rate it's actually using.
|
||||
|
||||
Bugs:
|
||||
|
||||
* Y scale factor f*cked up when switching to 2560x1600!
|
||||
Apparently happens only after "escape hammering"...
|
||||
|
||||
* In-game music volume affects intro music!
|
||||
|
||||
* Mouse crosshair can stick around after disabling mouse
|
||||
control!
|
||||
|
||||
* Multiple keys and buttons bound to the same
|
||||
function results in up/down state confusion; if
|
||||
you release one of the keys, the "target" gets a
|
||||
release event, despite other keys with the same
|
||||
target being held down.
|
||||
|
||||
* Nibble effect still doesn't like double buffering.
|
||||
|
||||
* The sound engine is mixing up PAN events!!!
|
||||
|
||||
* glSDL surface leak when taking screenshots!
|
||||
|
||||
* Do we *really* wait for all bases to stop exploding
|
||||
after the player lost a ship...?
|
||||
|
||||
* Noise fx glitches in some resolutions.
|
||||
|
||||
* If a ctrl+enter fullscreen/windowed switch is made
|
||||
while the menu is shown, the text goes away!
|
||||
|
||||
* Any playing game aborts after toggling windowed/
|
||||
fullscreen!
|
||||
|
||||
* VSync settings doesn't change as it should! Doesn't seem
|
||||
to be much I can do about this...
|
||||
|
||||
* Leaving the game running for a few hours results in
|
||||
"hickups" at around 2 Hz, until the graphics is reloaded
|
||||
or similar. (Logic re-init?)
|
||||
|
||||
* Downscaling (sub 320x240) breaks the radar and
|
||||
causes various other issues. (Pretty much expected...)
|
||||
|
||||
* SIGSTOP kills the main thread... SDL/AMD64 bug...?
|
||||
|
||||
* SIGSTOP/SIGCONT seems to confuse the game logic.
|
||||
(Already fixed...?)
|
||||
|
||||
* SDL_GetAppState()! (Fixed...?)
|
||||
|
||||
|
||||
Internals:
|
||||
|
||||
* Try to create a scoredir if missing!
|
||||
|
||||
* Add doc() method to the config manager, for longer
|
||||
explanations of the options.
|
||||
* Structured documentation for values...?
|
||||
|
||||
* Try reading back from the display buffer to autodetect
|
||||
how page flipping is handled! Mark pages with a few
|
||||
pixels in the corner (binary page numbers), and see
|
||||
if/when they come back.
|
||||
|
||||
* Pause mode should not consume CPU or GPU power,
|
||||
at least not if the window is passive.
|
||||
|
||||
* Multiple priority groups for sound effects!
|
||||
|
||||
* glSDL and EEL should output errors to the logger.
|
||||
|
||||
* Switch to PhysicsFS!?
|
||||
|
||||
* WAV writer? (Just for "cache sounds on disk.")
|
||||
|
||||
* Don't overwrite other windows when refreshing the
|
||||
in-game framework.
|
||||
|
||||
* Convert text files to Win32 format in the Win32
|
||||
install target!
|
||||
|
||||
* Add source info to "key" codes, to tell joystick
|
||||
input from keyboard and the like, when desired.
|
||||
|
||||
* Use custom keyboard repeat code. Should be used
|
||||
for joystick events as well.
|
||||
|
||||
* Show a system dialog of some sort, instead of
|
||||
printing to stderr. (Critical errors only.)
|
||||
|
||||
* Range checking on command line args and config.
|
||||
|
||||
* Remove either gamecontrol or gsm event pushing
|
||||
calls from skobo_gfxengine_t::frame(). Don't know
|
||||
which one, but it can't be right the way it is
|
||||
now...
|
||||
|
||||
* Rearrange the source tree so that all source is
|
||||
in an src subdir.
|
||||
|
||||
* Put README, COPYING etc in binary distros. (Done
|
||||
for Win32 "simple bundles".)
|
||||
|
||||
* Add CRC or simple "checksum" to score files, to
|
||||
prevent too easy modification. You must at least
|
||||
download the game source and hack it if you
|
||||
*really* want to cheat! ;-)
|
||||
|
||||
|
||||
Features:
|
||||
|
||||
* Proper start-of-map savegames!
|
||||
|
||||
* Instructions! (In the radar window...?)
|
||||
|
||||
* Input configurator!!!
|
||||
|
||||
* Game statistics!
|
||||
* Shots fired
|
||||
* Hits
|
||||
* Accuracy
|
||||
* Kills
|
||||
* Deaths
|
||||
* Damage
|
||||
|
||||
* Adrenaline Mode:
|
||||
* Health/damage accounting
|
||||
* Powerups
|
||||
* Indestructible labyrinths
|
||||
* N bases or objects to destroy
|
||||
* Loads of aggressive enemies
|
||||
* "Forced speedrun" style gameplay
|
||||
|
||||
* Throw in some *real* music. (The demo songs don't
|
||||
really have anything to do with Kobo Deluxe. I
|
||||
was basically just testing things when developing
|
||||
the audio engine.)
|
||||
|
||||
* Implement "world snapshot" feature, to use for
|
||||
save game option, as well as internal temporary
|
||||
save game for changing video options in the
|
||||
middle of the game and the like. Needs to save
|
||||
score, lives etc, the current map, all objects,
|
||||
random number seed etc.
|
||||
|
||||
* Implement multiplayer modes. (Deathmatch and
|
||||
Cooperative, for starters.)
|
||||
|
||||
* Separate personal and global highscores. Where
|
||||
applicable, one could keep score for player/user,
|
||||
system local, local network and the internet,
|
||||
and/or maybe some kind user defined groups.
|
||||
|
||||
* New "Instructions" solution. (New state...?)
|
||||
|
||||
* "Sloppy Refresh" hack to improve frame rate for
|
||||
sprites and base tiles, while reducing it for
|
||||
the starry background tiles.
|
||||
|
||||
* On targets with sync'ed flips, accept "close
|
||||
enough" refresh rates as time base, so that the
|
||||
video frame rate becomes an integer multiple of
|
||||
the engine frame rate. (Smoother scrolling.)
|
||||
|
||||
Gameplay:
|
||||
|
||||
* Elite and God modes should make enemies smarter
|
||||
(aim-ahead, at least). We want "tough" - not
|
||||
"stupid fast"!
|
||||
|
||||
Radar:
|
||||
* Radar markings for death + respawn points when
|
||||
getting killed?
|
||||
|
||||
* Show map borders in radar, for orientation?
|
||||
|
||||
Base layout:
|
||||
* Prevent the map generator from building
|
||||
impossible bases! Possibly build a list of
|
||||
tested and approved random seeds for each
|
||||
level...
|
||||
* Don't make bases where you have to navigate
|
||||
into the base on the first few levels.
|
||||
* Simulation based base verification method:
|
||||
1. Destroy all destructible nodes.
|
||||
2. Figure out how many turns one would
|
||||
have to navigate into the base in
|
||||
order to get a shot at the core.
|
||||
* Provide a fixed set of maps for fair highscore,
|
||||
speedruns and the like! As it is, every game
|
||||
is truly unique, so scores cannot really be
|
||||
compared. (Well, that *could* be considered
|
||||
part of the game, of course...)
|
||||
|
||||
* Import some extra maps from xkobo-1.11+w01?
|
||||
|
||||
* Bonus levels...?
|
||||
|
||||
* "Smooth chase" scroll in non Classic modes? Maybe
|
||||
even filtered player movement?
|
||||
|
||||
* Fire to push rocks around?
|
||||
|
||||
* "Milking" cores that fire enemies is a potential
|
||||
way of cheating for a higher score. Throw in an
|
||||
enemy_m* after some time as assassin to prevent
|
||||
this? (How to detect whether the player is doing
|
||||
something "sensible" or not...?)
|
||||
|
||||
Trick suggested a nice and simple solution: Just
|
||||
lower the "price tag" on enemies spawned from
|
||||
nodes over time. No effect on gameplay, but if
|
||||
you fly around shooting defenseless enemies for
|
||||
too long, they'll eventually stop counting
|
||||
towards your score. The only remaining problem
|
||||
is figuring out when to start decreasing enemy
|
||||
scores, and how fast.
|
||||
|
||||
|
||||
Features:
|
||||
|
||||
* Instant restart button? (Shouldn't really be needed
|
||||
if the "impossible base" bugs are fixed...)
|
||||
|
||||
* Should be able to skip the death explosion sequence,
|
||||
if there are more ships! Maybe an option to remove
|
||||
it (and other effects) altogether?
|
||||
|
||||
* Separate highscores for different skills.
|
||||
|
||||
* Help texts (in the radar window?) for config options!
|
||||
|
||||
* Add native OpenGL support with sub-pixel accurate
|
||||
rendering for ultra smooth animation.
|
||||
|
||||
* Nice health bar flash effects.
|
||||
|
||||
* Fine rotation adjustment when using OpenGL. (Needs
|
||||
a generic high resolution rotation field.)
|
||||
|
||||
* Screen pixel accurate map scrolling.
|
||||
|
||||
* "Stage cleared" screens with stats and stuff!
|
||||
|
||||
* Demo recording and playback! (Nice feature and
|
||||
debugging tool.)
|
||||
|
||||
* Implement waveshaper AGW command!
|
||||
|
||||
* New master output processor:
|
||||
* Three bands with separate "boost" controls.
|
||||
|
||||
* Non-linear audio output for high boost!
|
||||
|
||||
* New limiter that programs a waveshaper based
|
||||
on input level?
|
||||
|
||||
* Interesting soundscape while loading?
|
||||
|
||||
* "Center Playfield" (as opposed to "center framework")
|
||||
video option
|
||||
|
||||
* Default/Changed status indicators in the options.
|
||||
|
||||
|
||||
Web site and other stuff:
|
||||
|
||||
* Find binary packages and maintainers!
|
||||
|
||||
* Links to unrelated games sites.
|
||||
|
||||
* Write a design paper!
|
||||
0
acconfig.h
Normal file
1044
aclocal.m4
vendored
Normal file
190
aconfig.h
Normal file
@ -0,0 +1,190 @@
|
||||
/* aconfig.h. Generated from aconfig.h.in by configure. */
|
||||
/* aconfig.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the `atexit' function. */
|
||||
#define HAVE_ATEXIT 1
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
/* #undef HAVE_DOPRNT */
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#define HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the `floor' function. */
|
||||
#define HAVE_FLOOR 1
|
||||
|
||||
/* Define to 1 if you have the `getegid' function. */
|
||||
#define HAVE_GETEGID 1
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `SDL_image' library (-lSDL_image). */
|
||||
#define HAVE_LIBSDL_IMAGE 1
|
||||
|
||||
/* Define to 1 if you have the `memcmp' function. */
|
||||
#define HAVE_MEMCMP 1
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#define HAVE_MEMSET 1
|
||||
|
||||
/* Define to 1 if you have the `mkdir' function. */
|
||||
#define HAVE_MKDIR 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define to 1 if you have the `munmap' function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the `pow' function. */
|
||||
#define HAVE_POW 1
|
||||
|
||||
/* Define to 1 if you have the <SDL/SDL_opengl.h> header file. */
|
||||
#define HAVE_SDL_SDL_OPENGL_H 1
|
||||
|
||||
/* Define to 1 if you have the `select' function. */
|
||||
#define HAVE_SELECT 1
|
||||
|
||||
/* Define to 1 if you have the `setgid' function. */
|
||||
#define HAVE_SETGID 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `sqrt' function. */
|
||||
#define HAVE_SQRT 1
|
||||
|
||||
/* Define to 1 if you have the `stat' function. */
|
||||
#define HAVE_STAT 1
|
||||
|
||||
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
||||
zero-length file name argument. */
|
||||
/* #undef HAVE_STAT_EMPTY_STRING_BUG */
|
||||
|
||||
/* 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 `strchr' function. */
|
||||
#define HAVE_STRCHR 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#define HAVE_STRDUP 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 `strrchr' function. */
|
||||
#define HAVE_STRRCHR 1
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#define HAVE_STRSTR 1
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#define HAVE_SYS_IOCTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* 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/time.h> header file. */
|
||||
#define HAVE_SYS_TIME_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 1 if you have the `vprintf' function. */
|
||||
#define HAVE_VPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `_snprintf' function. */
|
||||
/* #undef HAVE__SNPRINTF */
|
||||
|
||||
/* Define to 1 if you have the `_vsnprintf' function. */
|
||||
/* #undef HAVE__VSNPRINTF */
|
||||
|
||||
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
||||
slash. */
|
||||
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "KoboDeluxe"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.5.1"
|
||||
|
||||
/* Define to 1 if the X Window System is missing or not being used. */
|
||||
/* #undef X_DISPLAY_MISSING */
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
189
aconfig.h.in
Normal file
@ -0,0 +1,189 @@
|
||||
/* aconfig.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the `atexit' function. */
|
||||
#undef HAVE_ATEXIT
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_DIRENT_H
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#undef HAVE_DOPRNT
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#undef HAVE_ERRNO_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the `floor' function. */
|
||||
#undef HAVE_FLOOR
|
||||
|
||||
/* Define to 1 if you have the `getegid' function. */
|
||||
#undef HAVE_GETEGID
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `SDL_image' library (-lSDL_image). */
|
||||
#undef HAVE_LIBSDL_IMAGE
|
||||
|
||||
/* Define to 1 if you have the `memcmp' function. */
|
||||
#undef HAVE_MEMCMP
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#undef HAVE_MEMMOVE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#undef HAVE_MEMSET
|
||||
|
||||
/* Define to 1 if you have the `mkdir' function. */
|
||||
#undef HAVE_MKDIR
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the `munmap' function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
#undef HAVE_NDIR_H
|
||||
|
||||
/* Define to 1 if you have the `pow' function. */
|
||||
#undef HAVE_POW
|
||||
|
||||
/* Define to 1 if you have the <SDL/SDL_opengl.h> header file. */
|
||||
#undef HAVE_SDL_SDL_OPENGL_H
|
||||
|
||||
/* Define to 1 if you have the `select' function. */
|
||||
#undef HAVE_SELECT
|
||||
|
||||
/* Define to 1 if you have the `setgid' function. */
|
||||
#undef HAVE_SETGID
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `sqrt' function. */
|
||||
#undef HAVE_SQRT
|
||||
|
||||
/* Define to 1 if you have the `stat' function. */
|
||||
#undef HAVE_STAT
|
||||
|
||||
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
||||
zero-length file name argument. */
|
||||
#undef HAVE_STAT_EMPTY_STRING_BUG
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#undef HAVE_STRDUP
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strrchr' function. */
|
||||
#undef HAVE_STRRCHR
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#undef HAVE_STRSTR
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_SYS_DIR_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_SYS_NDIR_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `_snprintf' function. */
|
||||
#undef HAVE__SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `_vsnprintf' function. */
|
||||
#undef HAVE__VSNPRINTF
|
||||
|
||||
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
||||
slash. */
|
||||
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#undef RETSIGTYPE
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if the X Window System is missing or not being used. */
|
||||
#undef X_DISPLAY_MISSING
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
37
buildpkg.sh
Executable file
@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# How to build a solaris package, by Andreas Spångberg:
|
||||
# ./configure
|
||||
# make
|
||||
# cd solaris
|
||||
# ./buildpkg.sh
|
||||
# pkgadd -d ./ASkobodl.pkg
|
||||
#
|
||||
|
||||
ARCH=`uname -p`
|
||||
INSTDIR=`pwd`/package
|
||||
cd ..
|
||||
make install DESTDIR=$INSTDIR
|
||||
cd $INSTDIR
|
||||
|
||||
cat > pkginfo << EOPKG
|
||||
PKG="ASkobodl"
|
||||
NAME=`grep PACKAGE ../../aconfig.h | awk -e '{print $3}'`
|
||||
ARCH="$ARCH"
|
||||
VERSION=`grep VERSION ../../aconfig.h | awk -e '{print $3}'`
|
||||
CATEGORY="games"
|
||||
VENDOR="David Olofson"
|
||||
EMAIL="david@olofson.net"
|
||||
PSTAMP="Andreas Spångberg"
|
||||
BASEDIR="/usr/local"
|
||||
CLASSES="none"
|
||||
EOPKG
|
||||
|
||||
echo "i pkginfo=./pkginfo" > prototype
|
||||
find . -print | pkgproto ./usr/local= >> prototype
|
||||
|
||||
cd ..
|
||||
pkgmk -d . -f package/prototype -o
|
||||
rm -rf $INSTDIR
|
||||
echo 1 | pkgtrans -os . ASkobodl.pkg
|
||||
rm -rf ./ASkobodl
|
||||
2
cfg-beta
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O3" CXXFLAGS="-O3" ./configure --enable-debug --enable-alsa --enable-opengl --enable-oss
|
||||
2
cfg-cross-release
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O3 -Wall" CXXFLAGS="-O3 -Wall" cross-configure --disable-debug --disable-epm
|
||||
2
cfg-profile
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O3 -pg" CXXFLAGS="-O3 -pg" ./configure --disable-alsa --enable-opengl --enable-oss
|
||||
2
cfg-release
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O3" CXXFLAGS="-O3" ./configure --prefix=/usr --disable-alsa --enable-opengl --enable-oss
|
||||
2
cfg-work
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O0" CXXFLAGS="-O0" ./configure --prefix=/usr --enable-epm --enable-debug --disable-alsa --enable-opengl --enable-oss
|
||||
2
cfg-work-opt
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="-O3" CXXFLAGS="-O3" ./configure --prefix=/usr --enable-epm --enable-debug --disable-alsa --enable-opengl --enable-oss
|
||||
152
cfgform.cpp
Normal file
@ -0,0 +1,152 @@
|
||||
/*(GPL)
|
||||
------------------------------------------------------------
|
||||
Kobo Deluxe - An enhanced SDL port of XKobo
|
||||
------------------------------------------------------------
|
||||
* Copyright (C) 2001-2003, 2006-2007 David Olofson
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "kobolog.h"
|
||||
#include "config.h"
|
||||
#include "cfgform.h"
|
||||
#include "kobo.h"
|
||||
#include "sound.h"
|
||||
#include "vidmodes.h"
|
||||
|
||||
int global_status = 0;
|
||||
|
||||
|
||||
config_form_t::config_form_t()
|
||||
{
|
||||
prf = NULL;
|
||||
stat = 0;
|
||||
}
|
||||
|
||||
|
||||
config_form_t::~config_form_t()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void config_form_t::open(prefs_t *p)
|
||||
{
|
||||
init(gengine);
|
||||
place(wmain->x(), wmain->y(), wmain->width(), wmain->height());
|
||||
font(B_NORMAL_FONT);
|
||||
foreground(wmain->map_rgb(0xffffff));
|
||||
background(wmain->map_rgb(0x000000));
|
||||
prf = p;
|
||||
prfbak = *p;
|
||||
stat = global_status & (OS_RELOAD | OS_RESTART | OS_UPDATE);
|
||||
build_all();
|
||||
}
|
||||
|
||||
|
||||
void config_form_t::close()
|
||||
{
|
||||
vmm_Close();
|
||||
clean();
|
||||
}
|
||||
|
||||
|
||||
void config_form_t::undo()
|
||||
{
|
||||
*prf = prfbak;
|
||||
undo_hook();
|
||||
}
|
||||
|
||||
|
||||
int config_form_t::status()
|
||||
{
|
||||
return stat;
|
||||
}
|
||||
|
||||
|
||||
void config_form_t::clearstatus(int mask)
|
||||
{
|
||||
stat &= ~mask;
|
||||
global_status = stat & (OS_RELOAD | OS_RESTART | OS_UPDATE);
|
||||
}
|
||||
|
||||
|
||||
void config_form_t::setstatus(int mask)
|
||||
{
|
||||
stat |= mask;
|
||||
global_status = stat & (OS_RELOAD | OS_RESTART | OS_UPDATE);
|
||||
}
|
||||
|
||||
/*virtual*/ void config_form_t::change(int delta)
|
||||
{
|
||||
kobo_form_t::change(delta);
|
||||
|
||||
if(!selected())
|
||||
return;
|
||||
|
||||
if(selected()->tag & OS_CLOSE)
|
||||
{
|
||||
if(delta == 0)
|
||||
{
|
||||
sound.ui_ok();
|
||||
setstatus(OS_CLOSE);
|
||||
}
|
||||
}
|
||||
else if(selected()->tag & OS_CANCEL)
|
||||
{
|
||||
if(delta == 0)
|
||||
{
|
||||
sound.ui_cancel();
|
||||
undo();
|
||||
setstatus(OS_CLOSE);
|
||||
}
|
||||
}
|
||||
else
|
||||
sound.ui_tick();
|
||||
|
||||
if(selected()->user)
|
||||
prf->changed = 1;
|
||||
|
||||
setstatus(selected()->tag & (OS_RELOAD | OS_RESTART | OS_UPDATE));
|
||||
|
||||
// If a video mode from the table is selected, get the parameters
|
||||
// from the video mode manager!
|
||||
if(prf->videomode)
|
||||
{
|
||||
VMM_Mode *m = vmm_FindMode(prf->videomode);
|
||||
if(m)
|
||||
{
|
||||
prf->width = m->width;
|
||||
prf->height = m->height;
|
||||
prf->aspect = (int)(m->aspect * 1000.0f + .5f);
|
||||
}
|
||||
}
|
||||
|
||||
if(selected()->tag & OS_REBUILD)
|
||||
{
|
||||
int sel = selected_index();
|
||||
build_all();
|
||||
select(sel);
|
||||
}
|
||||
}
|
||||
|
||||
/* virtual */void config_form_t::build()
|
||||
{
|
||||
}
|
||||
|
||||
/* virtual */ void config_form_t::undo_hook()
|
||||
{
|
||||
stat = 0;
|
||||
global_status = 0;
|
||||
}
|
||||
76
cfgform.h
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
------------------------------------------------------------
|
||||
Kobo Deluxe - An enhanced SDL port of XKobo
|
||||
------------------------------------------------------------
|
||||
* Copyright (C) 2001, 2003, David Olofson
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef _CONFIG_FORM_H_
|
||||
#define _CONFIG_FORM_H_
|
||||
|
||||
#include "form.h"
|
||||
#include "prefs.h"
|
||||
|
||||
enum
|
||||
{
|
||||
OS_CLOSE = 0x0001,
|
||||
OS_CANCEL = 0x0002,
|
||||
OS_REBUILD = 0x0004,
|
||||
OS_ACTION = 0x000f,
|
||||
|
||||
OS_RELOAD_GRAPHICS = 0x0010,
|
||||
OS_RELOAD_AUDIO_CACHE = 0x0020,
|
||||
OS_RELOAD = 0x0070,
|
||||
|
||||
OS_RESTART_VIDEO = 0x0100,
|
||||
OS_RESTART_AUDIO = 0x0200,
|
||||
OS_RESTART_ENGINE = 0x0400,
|
||||
OS_RESTART_INPUT = 0x0800,
|
||||
OS_RESTART_LOGGER = 0x0080,
|
||||
OS_RESTART = 0x0f80,
|
||||
|
||||
OS_UPDATE_AUDIO = 0x1000,
|
||||
OS_UPDATE_ENGINE = 0x2000,
|
||||
OS_UPDATE = 0xf000
|
||||
};
|
||||
|
||||
|
||||
class config_form_t : public kobo_form_t
|
||||
{
|
||||
protected:
|
||||
prefs_t *prf;
|
||||
prefs_t prfbak;
|
||||
int stat;
|
||||
public:
|
||||
config_form_t();
|
||||
virtual ~config_form_t();
|
||||
void open(prefs_t *p);
|
||||
virtual void build(); // <-- Override this!
|
||||
//...and this, if you need. Normally,
|
||||
//it just sets the status to 0.
|
||||
virtual void undo_hook();
|
||||
void close();
|
||||
int status();
|
||||
void setstatus(int mask);
|
||||
void clearstatus(int mask);
|
||||
void undo();
|
||||
void change(int delta);
|
||||
};
|
||||
|
||||
extern int global_status;
|
||||
|
||||
#endif //_CONFIG_FORM_H_
|
||||
1080
cfgparse.cpp
Normal file
199
cfgparse.h
Normal file
@ -0,0 +1,199 @@
|
||||
/*
|
||||
-------------------------------------------------------------------
|
||||
cfgparse.h - Generic Config File and Argument Parser
|
||||
-------------------------------------------------------------------
|
||||
* Copyright (C) 2001, 2007 David Olofson
|
||||
*
|
||||
* This code is released under the terms of the GNU LGPL.
|
||||
*/
|
||||
|
||||
#ifndef CFGPARSE_H
|
||||
#define CFGPARSE_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
enum cfg_types_t
|
||||
{
|
||||
CFG_NONE,
|
||||
CFG_BOOL,
|
||||
CFG_INT,
|
||||
CFG_FLOAT,
|
||||
CFG_STRING
|
||||
};
|
||||
|
||||
|
||||
#define CFG_STRING_LENGTH 256
|
||||
|
||||
typedef char cfg_string_t[CFG_STRING_LENGTH];
|
||||
|
||||
|
||||
class cfg_key_t
|
||||
{
|
||||
public:
|
||||
cfg_key_t *next;
|
||||
int save;
|
||||
int redefined;
|
||||
|
||||
cfg_types_t typecode;
|
||||
const char *name;
|
||||
char *description;
|
||||
cfg_key_t();
|
||||
virtual ~cfg_key_t();
|
||||
virtual int read(int argc, char *argv[]);
|
||||
virtual int test(const char *arg);
|
||||
virtual int copy(cfg_key_t *from) = 0;
|
||||
virtual void write(FILE *f) = 0;
|
||||
virtual void set_default() = 0;
|
||||
virtual int is_your_var(void *var) = 0;
|
||||
};
|
||||
|
||||
|
||||
class cfg_comment_t : public cfg_key_t
|
||||
{
|
||||
public:
|
||||
cfg_comment_t(const char *text) { name = text; }
|
||||
int read(int argc, char *argv[]) { return 0; }
|
||||
int copy(cfg_key_t *from);
|
||||
void write(FILE *f);
|
||||
void set_default() { ; }
|
||||
int is_your_var(void *var) { return 0; }
|
||||
};
|
||||
|
||||
|
||||
class cfg_switch_t : public cfg_key_t
|
||||
{
|
||||
public:
|
||||
int *value;
|
||||
int default_value;
|
||||
|
||||
cfg_switch_t(const char *_name, int &var, int def, int _save);
|
||||
int copy(cfg_key_t *from);
|
||||
virtual int test(const char *arg);
|
||||
int read(int argc, char *argv[]);
|
||||
void write(FILE *f);
|
||||
void set_default();
|
||||
int is_your_var(void *var);
|
||||
};
|
||||
|
||||
|
||||
class cfg_key_int_t : public cfg_key_t
|
||||
{
|
||||
public:
|
||||
int *value;
|
||||
int default_value;
|
||||
|
||||
cfg_key_int_t(const char *_name, int &var, int def, int _save);
|
||||
int copy(cfg_key_t *from);
|
||||
int read(int argc, char *argv[]);
|
||||
void write(FILE *f);
|
||||
void set_default();
|
||||
int is_your_var(void *var);
|
||||
};
|
||||
|
||||
|
||||
class cfg_key_float_t : public cfg_key_t
|
||||
{
|
||||
public:
|
||||
float *value;
|
||||
float default_value;
|
||||
|
||||
cfg_key_float_t(const char *_name, float &var, float def, int _save);
|
||||
int copy(cfg_key_t *from);
|
||||
int read(int argc, char *argv[]);
|
||||
void write(FILE *f);
|
||||
void set_default();
|
||||
int is_your_var(void *var);
|
||||
};
|
||||
|
||||
|
||||
class cfg_key_string_t : public cfg_key_t
|
||||
{
|
||||
public:
|
||||
cfg_string_t *value;
|
||||
cfg_string_t default_value;
|
||||
|
||||
cfg_key_string_t(const char *_name, cfg_string_t &var,
|
||||
const cfg_string_t def, int _save);
|
||||
int copy(cfg_key_t *from);
|
||||
int read(int argc, char *argv[]);
|
||||
void write(FILE *f);
|
||||
void set_default();
|
||||
int is_your_var(void *var);
|
||||
};
|
||||
|
||||
|
||||
class config_parser_t
|
||||
{
|
||||
cfg_key_t *keys, *last_key;
|
||||
int initialized;
|
||||
int nkeys; // For symbol table API
|
||||
cfg_key_t **table; // For symbol table API
|
||||
cfg_string_t retbuf; // For symbol table API
|
||||
void initialize();
|
||||
void print_switch(FILE *f, const char *base, int flag);
|
||||
int read_config(char ***cv, FILE *f);
|
||||
void add(cfg_key_t *_key);
|
||||
int _redefined(void *var);
|
||||
void _accept(void *var);
|
||||
void build_table();
|
||||
int check_symbol(int symbol);
|
||||
protected:
|
||||
//Key registration: For use in inherited init()
|
||||
void comment(const char *text);
|
||||
void yesno(const char *name, int &var, int def, int save = 1);
|
||||
void command(const char *name, int &var);
|
||||
void key(const char *name, int &var, int def, int save = 1);
|
||||
void key(const char *name, float &var, float def, int save = 1);
|
||||
void key(const char *name, cfg_string_t &var, const cfg_string_t def,
|
||||
int save = 1);
|
||||
void desc(const char *text);
|
||||
|
||||
//Plug key registration and custom stuff in here!
|
||||
virtual void init() = 0;
|
||||
virtual void postload() { ; }
|
||||
virtual void presave() { ; }
|
||||
public:
|
||||
int changed; //Set when *edited* by the user
|
||||
config_parser_t();
|
||||
virtual ~config_parser_t();
|
||||
config_parser_t &operator = (config_parser_t &from);
|
||||
void set_defaults();
|
||||
int parse(int argc, char *argv[]);
|
||||
int read(FILE *f);
|
||||
int write(FILE *f);
|
||||
|
||||
//Changed since last accept() call?
|
||||
int redefined(int &var) { return _redefined(&var); }
|
||||
int redefined(float &var) { return _redefined(&var); }
|
||||
int redefined(cfg_string_t &var) { return _redefined(&var); }
|
||||
|
||||
//Reset redefined() state to 0.
|
||||
void accept(int &var) { _accept(&var); }
|
||||
void accept(float &var) { _accept(&var); }
|
||||
void accept(cfg_string_t &var) { _accept(&var); }
|
||||
|
||||
/* Generic Symbol Table Style API */
|
||||
int find(const char *name);
|
||||
int find_next(int symbol = -1);
|
||||
cfg_types_t type(int symbol);
|
||||
int do_save(int symbol);
|
||||
const char *name(int symbol);
|
||||
const char *description(int symbol);
|
||||
void set(int symbol, int value);
|
||||
void set(int symbol, float value);
|
||||
void set(int symbol, const char *text);
|
||||
int get_i(int symbol);
|
||||
int get_default_i(int symbol);
|
||||
float get_f(int symbol);
|
||||
float get_default_f(int symbol);
|
||||
/*
|
||||
* WARNING: These ones sometimes return pointers to non-constant
|
||||
* buffers! Therefore, you need to copy the results
|
||||
* before you call these functions again.
|
||||
*/
|
||||
const char *get_s(int symbol);
|
||||
const char *get_default_s(int symbol);
|
||||
};
|
||||
|
||||
|
||||
#endif //CFGPARSE_H
|
||||
99
compile
Executable file
@ -0,0 +1,99 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Wrapper for compilers which do not understand `-c -o'.
|
||||
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Usage:
|
||||
# compile PROGRAM [ARGS]...
|
||||
# `-o FOO.o' is removed from the args passed to the actual compile.
|
||||
|
||||
prog=$1
|
||||
shift
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
args=
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-o)
|
||||
# configure might choose to run compile as `compile cc -o foo foo.c'.
|
||||
# So we do something ugly here.
|
||||
ofile=$2
|
||||
shift
|
||||
case "$ofile" in
|
||||
*.o | *.obj)
|
||||
;;
|
||||
*)
|
||||
args="$args -o $ofile"
|
||||
ofile=
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
args="$args $1"
|
||||
;;
|
||||
*)
|
||||
args="$args $1"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no `-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# `.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$prog" $args
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use `[/.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir $lockdir > /dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir $lockdir; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$prog" $args
|
||||
status=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
mv "$cofile" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir $lockdir
|
||||
exit $status
|
||||
1391
config.guess
vendored
Executable file
149
config.h
Normal file
@ -0,0 +1,149 @@
|
||||
/*(GPL)
|
||||
------------------------------------------------------------
|
||||
Kobo Deluxe - An enhanced SDL port of XKobo
|
||||
------------------------------------------------------------
|
||||
* Copyright (C) 1995, 1996, Akira Higuchi
|
||||
* Copyright (C) 2001-2003, David Olofson
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef _KOBO_CONFIG_H_
|
||||
#define _KOBO_CONFIG_H_
|
||||
|
||||
#include <aconfig.h>
|
||||
|
||||
#ifndef DEBUG
|
||||
# undef DBG
|
||||
# undef DBG2
|
||||
# undef DBG3
|
||||
# undef DBG4
|
||||
# define DBG(x)
|
||||
# define DBG2(x)
|
||||
# define DBG3(x)
|
||||
# define DBG4(x)
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SNPRINTF
|
||||
#ifndef HAVE__SNPRINTF
|
||||
#error Must have snprintf() or _snprintf!
|
||||
#endif
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VSNPRINTF
|
||||
#ifndef HAVE__VSNPRINTF
|
||||
#error Must have vsnprintf() or _vsnprintf!
|
||||
#endif
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
/*
|
||||
* On some platforms, assignments of these "opaque objects" are
|
||||
* illegal - while on others, the macro to handle that can be
|
||||
* missing... Oh, and this is really only in C99, of course. :-/
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#ifndef va_copy
|
||||
# ifdef __va_copy
|
||||
# define va_copy(to, from) __va_copy(to, from)
|
||||
# else
|
||||
# define va_copy(to, from) (to) = (from)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Key/button repeat timing */
|
||||
#define KOBO_KEY_DELAY 250
|
||||
#define KOBO_KEY_REPEAT 40
|
||||
|
||||
/*
|
||||
* This was originally 1024, but was changed in Kobo Deluxe 0.4.1
|
||||
* to avoid the bug where we run out of enemies when destroying a
|
||||
* base, and thus leave parts of it behind.
|
||||
*/
|
||||
#define ENEMY_MAX 2048
|
||||
|
||||
/*
|
||||
* Game display size.
|
||||
*
|
||||
* In XKobo, there was only WSIZE - VIEWLIMIT was added
|
||||
* for Kobo Deluxe, and WSIZE was set to 230, to add some
|
||||
* extra pixels, most of which were more or less covered
|
||||
* by the rounded framework.
|
||||
*
|
||||
* As of Kobo Deluxe 0.4.1, WSIZE is restored to the
|
||||
* original 224.
|
||||
*
|
||||
* Note that if WSIZE is larger than VIEWLIMIT, some
|
||||
* objects might be created or deleted in view. Finding
|
||||
* out whether or not it can really happen calls for
|
||||
* closer analysis of the code.
|
||||
*/
|
||||
#define WSIZE 224
|
||||
#define MARGIN 8
|
||||
|
||||
/*
|
||||
* (In XKobo, WSIZE was used where this is
|
||||
* used now; in the game logic code.)
|
||||
*
|
||||
* NOTE: I *DON'T* want to change the view
|
||||
* range as the XKobo engine knows it,
|
||||
* as that would make the game play
|
||||
* slightly differently. (Probably not
|
||||
* so that anyone would notice, but
|
||||
* let's not take chances... This is
|
||||
* NOT "Kobo II".)
|
||||
*/
|
||||
#define VIEWLIMIT 224
|
||||
|
||||
// Player ship hit rect size
|
||||
#define HIT_MYSHIP 5
|
||||
|
||||
// Player bolt hit rect size
|
||||
#define HIT_BOLT 5
|
||||
|
||||
/* Actually, this is not the *full* size in windowed mode any more. */
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 240
|
||||
|
||||
/* Various size info (DO NOT EDIT!) */
|
||||
#define CHIP_SIZEX_LOG2 4
|
||||
#define CHIP_SIZEY_LOG2 4
|
||||
#define MAP_SIZEX_LOG2 6
|
||||
#define MAP_SIZEY_LOG2 7
|
||||
#define WORLD_SIZEX_LOG2 (MAP_SIZEX_LOG2+CHIP_SIZEX_LOG2)
|
||||
#define WORLD_SIZEY_LOG2 (MAP_SIZEY_LOG2+CHIP_SIZEY_LOG2)
|
||||
#define NOISE_SIZEX_LOG2 8
|
||||
|
||||
#define CHIP_SIZEX (1<<CHIP_SIZEX_LOG2)
|
||||
#define CHIP_SIZEY (1<<CHIP_SIZEY_LOG2)
|
||||
#define MAP_SIZEX (1<<MAP_SIZEX_LOG2)
|
||||
#define MAP_SIZEY (1<<MAP_SIZEY_LOG2)
|
||||
#define WORLD_SIZEX (1<<WORLD_SIZEX_LOG2)
|
||||
#define WORLD_SIZEY (1<<WORLD_SIZEY_LOG2)
|
||||
#define NOISE_SIZEX (1<<NOISE_SIZEX_LOG2)
|
||||
|
||||
/* Text scroller speed (pixels/second) */
|
||||
#define SCROLLER_SPEED 120
|
||||
|
||||
/* Intro loop timing */
|
||||
#define INTRO_BLANK_TIME 1000 /* Inter-page blanking */
|
||||
#define INTRO_TITLE_TIME 7000 /* "Real" title show time */
|
||||
#define INTRO_TITLE2_TIME 5500 /* Intermediate title show time */
|
||||
#define INTRO_INSTRUCTIONS_TIME 19700
|
||||
#define INTRO_HIGHSCORE_TIME 11700
|
||||
#define INTRO_CREDITS_TIME 13700
|
||||
|
||||
#endif /*_KOBO_CONFIG_H_*/
|
||||
1492
config.sub
vendored
Executable file
350
configure.in
Normal file
@ -0,0 +1,350 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
dnl----------------------------------------------------------
|
||||
dnl configure.in for Kobo Deluxe - David Olofson, 2001-2007
|
||||
dnl Some tests stolen from SDL (http://www.libsdl.org)
|
||||
dnl----------------------------------------------------------
|
||||
|
||||
AC_INIT(Makefile.am)
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AM_CONFIG_HEADER(aconfig.h)
|
||||
AC_CANONICAL_HOST
|
||||
AC_CANONICAL_TARGET
|
||||
AM_INIT_AUTOMAKE(KoboDeluxe, 0.5.1)
|
||||
|
||||
dnl (For Extreme Pickyness Mode)
|
||||
LOCALCFLAGS=''
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Look for X
|
||||
dnl-------------------------------------------------------
|
||||
dnl *MUST* be out here! Pretty much everything breaks on
|
||||
dnl some targets if they're inside the case statement...
|
||||
AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Detect target platform and build style
|
||||
dnl-------------------------------------------------------
|
||||
AC_MSG_CHECKING(target platform and install style);
|
||||
build_macosx_bundle=no
|
||||
build_simple_bundle=no
|
||||
unix_scoredir=yes
|
||||
DATADIR='$(datadir)/kobo-deluxe'
|
||||
SCOREDIR='$(sharedstatedir)/kobo-deluxe/scores'
|
||||
CONFIGDIR='HOME>>'
|
||||
CONFIGFILE='.kobodlrc'
|
||||
EXEFILE=kobodl
|
||||
case "$target_os" in
|
||||
linux*)
|
||||
AC_MSG_RESULT(GNU/Linux; Un*x style)
|
||||
MATHLIB="-lm"
|
||||
if test x$have_x = xyes; then
|
||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
beos)
|
||||
AC_MSG_RESULT(BeOS; Un*x style install)
|
||||
MATHLIB=""
|
||||
;;
|
||||
mingw32*)
|
||||
AC_MSG_RESULT(Win32 (mingw32); Simple bundle)
|
||||
build_simple_bundle=yes
|
||||
unix_scoredir=no
|
||||
DATADIR='EXE>>'
|
||||
SCOREDIR='EXE>>scores'
|
||||
CONFIGDIR='EXE>>'
|
||||
CONFIGFILE='kobodl.cfg'
|
||||
EXEFILE=kobodl.exe
|
||||
MATHLIB=""
|
||||
;;
|
||||
cygwin*)
|
||||
AC_MSG_RESULT(Win32 (cygwin); Simple bundle)
|
||||
build_simple_bundle=yes
|
||||
unix_scoredir=no
|
||||
DATADIR='EXE>>'
|
||||
SCOREDIR='EXE>>scores'
|
||||
CONFIGDIR='EXE>>'
|
||||
CONFIGFILE='kobodl.cfg'
|
||||
EXEFILE=kobodl.exe
|
||||
MATHLIB=""
|
||||
;;
|
||||
darwin*)
|
||||
AC_MSG_RESULT(Mac OS X/Darwin; Mac OS X bundle)
|
||||
build_macosx_bundle=yes
|
||||
DATADIR='EXE>>../Resources'
|
||||
SCOREDIR='/Library/Preferences/KoboDeluxe/scores'
|
||||
CONFIGDIR='HOME>>Library/Preferences'
|
||||
CONFIGFILE='KoboDeluxe Preferences'
|
||||
MATHLIB=""
|
||||
;;
|
||||
aix*)
|
||||
AC_MSG_RESULT(AIX; Un*x style)
|
||||
if test x$ac_cv_c_compiler_gnu = xyes; then
|
||||
CFLAGS="-mthreads"
|
||||
fi
|
||||
if test x$have_x = xyes; then
|
||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
solaris*)
|
||||
AC_MSG_RESULT(Solaris SPARC; Un*x style)
|
||||
MATHLIB="-lm"
|
||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(Unknown (assuming Un*x-like); Un*x style)
|
||||
MATHLIB="-lm"
|
||||
if test x$have_x = xyes; then
|
||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(BUILD_MACOSX_BUNDLE, test x$build_macosx_bundle = xyes)
|
||||
AM_CONDITIONAL(BUILD_SIMPLE_BUNDLE, test x$build_simple_bundle = xyes)
|
||||
AM_CONDITIONAL(UNIX_SCOREDIR, test x$unix_scoredir = xyes)
|
||||
AC_SUBST(DATADIR)
|
||||
AC_SUBST(SCOREDIR)
|
||||
AC_SUBST(CONFIGDIR)
|
||||
AC_SUBST(CONFIGFILE)
|
||||
AC_SUBST(EXEFILE)
|
||||
AC_SUBST(MATHLIB)
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for debug mode
|
||||
dnl-------------------------------------------------------
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug Build with debug switches and defines [default=no]],
|
||||
, enable_debug=no)
|
||||
AC_MSG_CHECKING(for debug build)
|
||||
if test x$enable_debug = xyes; then
|
||||
CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -g -DDEBUG"
|
||||
fi
|
||||
AC_MSG_RESULT($enable_debug)
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for programs.
|
||||
dnl-------------------------------------------------------
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_AWK
|
||||
AC_PROG_RANLIB
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for SDL
|
||||
dnl-------------------------------------------------------
|
||||
SDL_VERSION=1.2.0
|
||||
AM_PATH_SDL($SDL_VERSION,:,
|
||||
AC_MSG_ERROR([*** SDL version $SDL_VERSION required!])
|
||||
)
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for SDL_image
|
||||
dnl-------------------------------------------------------
|
||||
AC_CHECK_LIB(SDL_image, IMG_Load,,
|
||||
AC_MSG_ERROR([You need the SDL_image library to compile this software.
|
||||
Get it at http://www.libsdl.org/projects/SDL_image/]),
|
||||
-lSDL
|
||||
)
|
||||
LIBS="$LIBS -lSDL_image"
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for OpenGL
|
||||
dnl-------------------------------------------------------
|
||||
AC_MSG_CHECKING(for OpenGL support)
|
||||
have_opengl=no
|
||||
AC_TRY_COMPILE([
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
],[
|
||||
],[
|
||||
have_opengl=yes
|
||||
])
|
||||
|
||||
AC_ARG_ENABLE(opengl,
|
||||
[ --enable-opengl use OpenGL rendering layer [default=yes]],
|
||||
, enable_opengl=yes)
|
||||
if test x$enable_opengl = xyes; then
|
||||
AC_MSG_RESULT($have_opengl)
|
||||
else
|
||||
have_opengl=no
|
||||
AC_MSG_RESULT(Disabled)
|
||||
fi
|
||||
|
||||
if test x$have_opengl = xyes; then
|
||||
CFLAGS="$CFLAGS -DHAVE_OPENGL"
|
||||
CXXFLAGS="$CXXFLAGS -DHAVE_OPENGL"
|
||||
fi
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for header files.
|
||||
dnl-------------------------------------------------------
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_TIME
|
||||
AC_CHECK_HEADERS(errno.h fcntl.h stdlib.h string.h)
|
||||
AC_CHECK_HEADERS(sys/ioctl.h sys/time.h unistd.h)
|
||||
AC_CHECK_HEADERS(SDL/SDL_opengl.h)
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
dnl-------------------------------------------------------
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_TYPE_SIGNAL
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for library functions.
|
||||
dnl-------------------------------------------------------
|
||||
AC_CHECK_FUNCS(strdup strstr strchr strrchr)
|
||||
AC_CHECK_FUNCS(snprintf _snprintf vsnprintf _vsnprintf)
|
||||
AC_CHECK_FUNCS(pow sqrt)
|
||||
AC_CHECK_FUNCS(munmap mkdir select stat)
|
||||
AC_CHECK_FUNCS(atexit floor memmove memset memcmp)
|
||||
AC_CHECK_FUNCS(gettimeofday)
|
||||
AC_CHECK_FUNCS(getegid setgid)
|
||||
AC_FUNC_MEMCMP
|
||||
AC_FUNC_STRTOD
|
||||
AC_FUNC_VPRINTF
|
||||
AC_FUNC_MMAP
|
||||
dnl AC_FUNC_MALLOC
|
||||
AC_FUNC_STAT
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl See if the OSS audio interface is supported (from SDL)
|
||||
dnl-------------------------------------------------------
|
||||
AC_MSG_CHECKING(for OSS audio support)
|
||||
if test x$enable_oss = xyes; then
|
||||
have_oss=no
|
||||
if test x$have_oss != xyes; then
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/soundcard.h>
|
||||
],[
|
||||
int arg = SNDCTL_DSP_SETFRAGMENT;
|
||||
++arg;
|
||||
],[
|
||||
have_oss=yes
|
||||
])
|
||||
fi
|
||||
if test x$have_oss != xyes; then
|
||||
AC_TRY_COMPILE([
|
||||
#include <soundcard.h>
|
||||
],[
|
||||
int arg = SNDCTL_DSP_SETFRAGMENT;
|
||||
],[
|
||||
have_oss=yes
|
||||
CFLAGS="$CFLAGS -DOSS_USE_SOUNDCARD_H"
|
||||
CXXFLAGS="$CXXFLAGS -DOSS_USE_SOUNDCARD_H"
|
||||
])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(oss,
|
||||
[ --enable-oss support the OSS audio API [default=no]],
|
||||
, enable_oss=no)
|
||||
if test x$enable_oss = xyes; then
|
||||
AC_MSG_RESULT($have_oss)
|
||||
else
|
||||
have_oss=no
|
||||
AC_MSG_RESULT(Disabled)
|
||||
fi
|
||||
|
||||
if test x$have_oss = xyes; then
|
||||
CFLAGS="$CFLAGS -DHAVE_OSS"
|
||||
CXXFLAGS="$CXXFLAGS -DHAVE_OSS"
|
||||
fi
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl See if the ALSA audio interface is supported (from SDL)
|
||||
dnl-------------------------------------------------------
|
||||
AC_CHECK_HEADER(sys/asoundlib.h, have_alsa_hdr=yes)
|
||||
AC_CHECK_LIB(asound, snd_pcm_open, have_alsa_lib=yes)
|
||||
AC_MSG_CHECKING(for ALSA audio support)
|
||||
have_alsa=no
|
||||
if test x$have_alsa_hdr = xyes -a x$have_alsa_lib = xyes; then
|
||||
have_alsa=yes
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(alsa,
|
||||
[ --enable-alsa support the ALSA audio API [default=no]],
|
||||
, enable_alsa=no)
|
||||
if test x$enable_alsa = xyes; then
|
||||
AC_MSG_RESULT($have_alsa)
|
||||
else
|
||||
have_alsa=no
|
||||
AC_MSG_RESULT(Disabled)
|
||||
fi
|
||||
|
||||
if test x$have_alsa = xyes; then
|
||||
CFLAGS="$CFLAGS -DHAVE_ALSA"
|
||||
CXXFLAGS="$CXXFLAGS -DHAVE_ALSA"
|
||||
AUDIO_LIBS="-lasound"
|
||||
else
|
||||
AUDIO_LIBS=""
|
||||
fi
|
||||
AC_SUBST(AUDIO_LIBS)
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Checks for Extreme Pickyness Mode
|
||||
dnl We have to put this here, as throwing -Werror
|
||||
dnl into C(XX)FLAGS will cause lots of autoconf
|
||||
dnl tests to fail on some systems.
|
||||
dnl-------------------------------------------------------
|
||||
AC_ARG_ENABLE(epm,
|
||||
[ --enable-epm Compile with extremely picky settings [default=no]],
|
||||
, enable_epm=no)
|
||||
AC_MSG_CHECKING(for Extreme Pickyness Mode)
|
||||
if test x$enable_epm = xyes; then
|
||||
LOCALCFLAGS="$LOCALCFLAGS -Wall -Werror -Wwrite-strings -fno-builtin"
|
||||
fi
|
||||
AC_MSG_RESULT($enable_epm)
|
||||
AC_SUBST(LOCALCFLAGS)
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Check if we should use ElectricFence
|
||||
dnl-------------------------------------------------------
|
||||
AC_ARG_ENABLE(efence,
|
||||
[ --enable-efence Link with ElectricFence [default=no]],
|
||||
, enable_efence=no)
|
||||
AC_MSG_CHECKING(if we should use ElectricFence)
|
||||
if test x$enable_efence = xyes; then
|
||||
LIBS="$LIBS -lefence"
|
||||
fi
|
||||
AC_MSG_RESULT($enable_efence)
|
||||
AC_SUBST(LOCALCFLAGS)
|
||||
|
||||
|
||||
dnl-------------------------------------------------------
|
||||
dnl Generate output files
|
||||
dnl-------------------------------------------------------
|
||||
AC_OUTPUT([Makefile
|
||||
Info.plist
|
||||
graphics/Makefile
|
||||
sound/Makefile
|
||||
data/Makefile
|
||||
data/sfx/Makefile
|
||||
data/gfx/Makefile
|
||||
eel/Makefile
|
||||
])
|
||||
452
dashboard.cpp
Normal file
@ -0,0 +1,452 @@
|
||||
/*(GPL)
|
||||
------------------------------------------------------------
|
||||
Kobo Deluxe - An enhanced SDL port of XKobo
|
||||
------------------------------------------------------------
|
||||
* Copyright (C) 2003, 2007 David Olofson
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "kobo.h"
|
||||
#include "random.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_PROGRESS 1000
|
||||
|
||||
|
||||
/*----------------------------------------------------------
|
||||
Screen
|
||||
----------------------------------------------------------*/
|
||||
|
||||
void screen_window_t::border(int top, int left, int right, int bottom)
|
||||
{
|
||||
_top = top;
|
||||
_left = left;
|
||||
_right = right;
|
||||
_bottom = bottom;
|
||||
}
|
||||
|
||||
|
||||
void screen_window_t::refresh(SDL_Rect *r)
|
||||
{
|
||||
int x, y, w, h;
|
||||
foreground(map_rgb(0x000000));
|
||||
x = 0;
|
||||
y = 0;
|
||||
w = width();
|
||||
h = _top;
|
||||
fillrect(x, y, w, h);
|
||||
|
||||
y = height() - _bottom;
|
||||
h = _bottom;
|
||||
fillrect(x, y, w, h);
|
||||
|
||||
y = _top;
|
||||
w = _left;
|
||||
h = height() - _top - _bottom;
|
||||
fillrect(x, y, w, h);
|
||||
|
||||
x = width() - _right;
|
||||
w = _right;
|
||||
fillrect(x, y, w, h);
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------
|
||||
Dashboard
|
||||
----------------------------------------------------------*/
|
||||
|
||||
dashboard_window_t::dashboard_window_t()
|
||||
{
|
||||
_mode = DASHBOARD_BLACK;
|
||||
_percent = 0.0f;
|
||||
_msg = NULL;
|
||||
}
|
||||
|
||||
|
||||
dashboard_window_t::~dashboard_window_t()
|
||||
{
|
||||
free(_msg);
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::mode(dashboard_modes_t m)
|
||||
{
|
||||
int vis;
|
||||
_mode = m;
|
||||
switch(_mode)
|
||||
{
|
||||
case DASHBOARD_GAME:
|
||||
vis = 1;
|
||||
break;
|
||||
default:
|
||||
vis = 0;
|
||||
break;
|
||||
}
|
||||
wmain->visible(vis);
|
||||
whealth->visible(vis);
|
||||
wtemp->visible(vis);
|
||||
wttemp->visible(vis);
|
||||
wradar->visible(vis);
|
||||
dhigh->visible(vis);
|
||||
dscore->visible(vis);
|
||||
dstage->visible(vis);
|
||||
dships->visible(vis);
|
||||
switch(_mode)
|
||||
{
|
||||
case DASHBOARD_OFF:
|
||||
break;
|
||||
default:
|
||||
gengine->invalidate();
|
||||
gengine->flip();
|
||||
gengine->invalidate();
|
||||
gengine->flip();
|
||||
gengine->invalidate();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::doing(const char *msg)
|
||||
{
|
||||
free(_msg);
|
||||
_msg = strdup(msg);
|
||||
invalidate();
|
||||
gengine->flip();
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::progress_init(float *progtab)
|
||||
{
|
||||
if(!progtab)
|
||||
{
|
||||
progress_table = (float *)malloc(MAX_PROGRESS * sizeof(float));
|
||||
progress_bench = (progress_table != NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
progress_table = progtab;
|
||||
progress_bench = 0;
|
||||
}
|
||||
progress_index = 0;
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::progress()
|
||||
{
|
||||
if(progress_table)
|
||||
{
|
||||
if(progress_bench)
|
||||
{
|
||||
progress_table[progress_index++] = (float)SDL_GetTicks();
|
||||
_percent = 0.0f;
|
||||
}
|
||||
else
|
||||
_percent = progress_table[progress_index++];
|
||||
}
|
||||
else
|
||||
_percent = 50.0f;
|
||||
invalidate();
|
||||
gengine->flip();
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::progress_done()
|
||||
{
|
||||
if(progress_bench)
|
||||
{
|
||||
int i;
|
||||
int total = SDL_GetTicks() - (int)progress_table[0];
|
||||
printf("Progress percentages:\n");
|
||||
printf("---------------------\n");
|
||||
for(i = 0; i < progress_index; ++i)
|
||||
printf("\t%f,\n", (progress_table[i] -
|
||||
progress_table[0]) * 100.0f / total);
|
||||
printf("---------------------\n");
|
||||
free(progress_table);
|
||||
progress_bench = 0;
|
||||
}
|
||||
progress_table = NULL;
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::render_progress()
|
||||
{
|
||||
SDL_Rect r;
|
||||
int x, y, w, h;
|
||||
|
||||
x = 0;
|
||||
w = (int)(_percent * 0.01f * width() + 0.5f);
|
||||
if(w < 4)
|
||||
w = 4;
|
||||
else if(w > width())
|
||||
w = width();
|
||||
|
||||
h = 16;
|
||||
y = height() - h;
|
||||
|
||||
r.x = x;
|
||||
r.y = y;
|
||||
r.w = w;
|
||||
r.h = h;
|
||||
|
||||
foreground(map_rgb(0x000099));
|
||||
rectangle(x, y, w, h);
|
||||
|
||||
++x;
|
||||
++y;
|
||||
w -= 2;
|
||||
h -= 2;
|
||||
foreground(map_rgb(0x0000cc));
|
||||
rectangle(x, y, w, h);
|
||||
|
||||
++x;
|
||||
++y;
|
||||
w -= 2;
|
||||
h -= 2;
|
||||
foreground(map_rgb(0x0000ff));
|
||||
fillrect(x, y, w, h);
|
||||
|
||||
r.x = 0;
|
||||
r.y = height() - 40;
|
||||
r.w = width();
|
||||
r.h = 12;
|
||||
foreground(map_rgb(0x000000));
|
||||
fillrect(r.x, r.y, r.w, r.h);
|
||||
if(_msg)
|
||||
{
|
||||
font(B_NORMAL_FONT);
|
||||
center(height() - 40, _msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#define NIBBLE_W 4
|
||||
#define NIBBLE_H 4
|
||||
#define NIBBLE_TILES ((SCREEN_WIDTH/NIBBLE_W+1)*(SCREEN_HEIGHT/NIBBLE_H+1))
|
||||
|
||||
void dashboard_window_t::nibble(int tool)
|
||||
{
|
||||
int i;
|
||||
int x[NIBBLE_TILES];
|
||||
int y[NIBBLE_TILES];
|
||||
|
||||
mode(DASHBOARD_OFF);
|
||||
|
||||
if(tool < 0)
|
||||
tool = (pubrand.get(20) + SDL_GetTicks()) % 5;
|
||||
|
||||
/* Clear */
|
||||
for(i = 0; i < NIBBLE_TILES; ++i)
|
||||
x[i] = y[i] = -1;
|
||||
|
||||
/* Fill in */
|
||||
int ind = 0;
|
||||
int xx = -NIBBLE_W / 2;
|
||||
int yy = -NIBBLE_H / 2;
|
||||
for(i = 0; i < NIBBLE_TILES; ++i)
|
||||
{
|
||||
ind = pubrand.get() % NIBBLE_TILES;
|
||||
if(ind >= NIBBLE_TILES)
|
||||
ind = 0;
|
||||
while(x[ind] != -1)
|
||||
if(++ind >= NIBBLE_TILES)
|
||||
ind = 0;
|
||||
x[ind] = xx;
|
||||
y[ind] = yy;
|
||||
xx += NIBBLE_W;
|
||||
if(xx >= SCREEN_WIDTH + NIBBLE_W / 2)
|
||||
{
|
||||
xx = -NIBBLE_W / 2;
|
||||
yy += NIBBLE_H;
|
||||
}
|
||||
}
|
||||
|
||||
/* Clear 8000 tiles/second, until all are done. */
|
||||
foreground(map_rgb(0x000000));
|
||||
ind = 0;
|
||||
int last_index;
|
||||
int t = SDL_GetTicks();
|
||||
while(ind < NIBBLE_TILES)
|
||||
{
|
||||
int nt = SDL_GetTicks();
|
||||
int dt = nt - t;
|
||||
t = nt;
|
||||
last_index = ind; /* For double buffer mode */
|
||||
for(i = 0; i < dt * 8; ++i)
|
||||
{
|
||||
if(ind >= NIBBLE_TILES)
|
||||
break;
|
||||
switch (tool)
|
||||
{
|
||||
case 0:
|
||||
fillrect(x[ind] + NIBBLE_W / 2,
|
||||
y[ind] + NIBBLE_H / 2,
|
||||
NIBBLE_W, NIBBLE_H);
|
||||
break;
|
||||
default:
|
||||
sprite(x[ind] - 8 + NIBBLE_W / 2,
|
||||
y[ind] - 8 +
|
||||
NIBBLE_H / 2, B_BRUSHES,
|
||||
tool - 1);
|
||||
break;
|
||||
}
|
||||
++ind;
|
||||
}
|
||||
gengine->invalidate();
|
||||
gengine->flip();
|
||||
if(gengine->doublebuffer())
|
||||
{
|
||||
for(i = 0; i < dt * 4; ++i)
|
||||
{
|
||||
if(last_index >= NIBBLE_TILES)
|
||||
break;
|
||||
switch (tool)
|
||||
{
|
||||
case 0:
|
||||
fillrect(x[last_index] +
|
||||
NIBBLE_W / 2,
|
||||
y[last_index] +
|
||||
NIBBLE_H / 2,
|
||||
NIBBLE_W,
|
||||
NIBBLE_H);
|
||||
break;
|
||||
default:
|
||||
sprite(x[last_index] - 8 +
|
||||
NIBBLE_W / 2,
|
||||
y[last_index] - 8 +
|
||||
NIBBLE_H / 2,
|
||||
B_BRUSHES,
|
||||
tool - 1);
|
||||
break;
|
||||
}
|
||||
++last_index;
|
||||
}
|
||||
}
|
||||
}
|
||||
mode(DASHBOARD_BLACK);
|
||||
gengine->flip();
|
||||
}
|
||||
|
||||
|
||||
void dashboard_window_t::refresh(SDL_Rect *r)
|
||||
{
|
||||
switch(_mode)
|
||||
{
|
||||
case DASHBOARD_OFF:
|
||||
break;
|
||||
case DASHBOARD_BLACK:
|
||||
background(map_rgb(0x000000));
|
||||
clear();
|
||||
break;
|
||||
case DASHBOARD_GAME:
|
||||
sprite(0, 0, B_SCREEN, 0);
|
||||
break;
|
||||
case DASHBOARD_LOADING:
|
||||
background(map_rgb(0x000000));
|
||||
clear();
|
||||
sprite((width() - 250) / 2, 55, B_LOADING, 0);
|
||||
render_progress();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------
|
||||
Bar graph display
|
||||
----------------------------------------------------------*/
|
||||
|
||||
bargraph_t::bargraph_t()
|
||||
{
|
||||
_value = 0.0f;
|
||||
_redmax = 1;
|
||||
_y = -1000;
|
||||
_enabled = 1;
|
||||
}
|
||||
|
||||
|
||||
void bargraph_t::value(float val)
|
||||
{
|
||||
if(val < 0.0f)
|
||||
_value = 0.0f;
|
||||
else
|
||||
_value = val;
|
||||
if(!_enabled)
|
||||
return;
|
||||
int y = (int)((height() - 2) * _value);
|
||||
if(y != _y)
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
||||
void bargraph_t::enable(int ena)
|
||||
{
|
||||
_enabled = ena;
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
||||
void bargraph_t::refresh(SDL_Rect *r)
|
||||
{
|
||||
if(!_enabled)
|
||||
{
|
||||
clear();
|
||||
return;
|
||||
}
|
||||
float v = _value;
|
||||
int red, green, blue;
|
||||
if(v > 1.0f)
|
||||
{
|
||||
blue = 50 + (v - 1.0f) * 512;
|
||||
if(_redmax)
|
||||
{
|
||||
red = 255;
|
||||
green = blue / 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
green = 255;
|
||||
red = blue / 2;
|
||||
}
|
||||
v = 1.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(_redmax)
|
||||
{
|
||||
red = (int)(v * 300.0);
|
||||
green = (int)((1.0 - v) * 400.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
red = (int)((1.0 - v) * 300.0);
|
||||
green = (int)(v * 400.0);
|
||||
}
|
||||
blue = 50;
|
||||
}
|
||||
if(green > 180)
|
||||
green = 180;
|
||||
if(red > 230)
|
||||
red = 230;
|
||||
if(blue > 255)
|
||||
blue = 255;
|
||||
_y = (int)((height() - 2) * (1.0f - v));
|
||||
foreground(bgcolor);
|
||||
fillrect(0, 0, width(), height());
|
||||
foreground(map_rgb(red, green, blue));
|
||||
fillrect(1, _y + 1, width() - 2, height() - _y - 2);
|
||||
}
|
||||
98
dashboard.h
Normal file
@ -0,0 +1,98 @@
|
||||
/*(GPL)
|
||||
------------------------------------------------------------
|
||||
Kobo Deluxe - An enhanced SDL port of XKobo
|
||||
------------------------------------------------------------
|
||||
* Copyright (C) 2003, 2007 David Olofson
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef KOBO_DASHBOARD_H
|
||||
#define KOBO_DASHBOARD_H
|
||||
|
||||
#include "window.h"
|
||||
|
||||
|
||||
/* "Screen" window; takes care of the border, if any. */
|
||||
class screen_window_t : public window_t
|
||||
{
|
||||
int _top, _left, _right, _bottom;
|
||||
public:
|
||||
void border(int top, int left, int right, int bottom);
|
||||
void refresh(SDL_Rect *r);
|
||||
};
|
||||
|
||||
|
||||
enum dashboard_modes_t {
|
||||
DASHBOARD_OFF = 0,
|
||||
DASHBOARD_BLACK,
|
||||
DASHBOARD_GAME,
|
||||
DASHBOARD_LOADING
|
||||
};
|
||||
|
||||
/* Dashboard window; dashboard or loading screen. */
|
||||
class dashboard_window_t : public window_t
|
||||
{
|
||||
char *_msg;
|
||||
float _percent;
|
||||
dashboard_modes_t _mode;
|
||||
int progress_index;
|
||||
float *progress_table;
|
||||
Uint32 progress_time;
|
||||
int progress_bench;
|
||||
void render_progress();
|
||||
public:
|
||||
dashboard_window_t();
|
||||
~dashboard_window_t();
|
||||
void mode(dashboard_modes_t m);
|
||||
void doing(const char *msg);
|
||||
void progress_init(float *progtab);
|
||||
void progress();
|
||||
void progress_done();
|
||||
/*
|
||||
* Tools:
|
||||
* -1: Random tool
|
||||
* 0: Black 4x4 square
|
||||
* 1+: Brushes from "brushes.png";
|
||||
* 1: Soft black 16 pixel round brush
|
||||
* 2: (4/8)x4 tilable romboid brush
|
||||
* 3: Tilable garbage brush
|
||||
* 4: Vertical "D" brush
|
||||
*/
|
||||
void nibble(int tool = -1);
|
||||
void refresh(SDL_Rect *r);
|
||||
};
|
||||
|
||||
|
||||
/* Bar graph display */
|
||||
class bargraph_t : public window_t
|
||||
{
|
||||
float _value;
|
||||
int _redmax;
|
||||
int _y;
|
||||
int _enabled;
|
||||
public:
|
||||
bargraph_t();
|
||||
void value(float val);
|
||||
void refresh(SDL_Rect *r);
|
||||
void redmax(int rm)
|
||||
{
|
||||
_redmax = rm;
|
||||
}
|
||||
void enable(int ena);
|
||||
};
|
||||
|
||||
|
||||
#endif /* KOBO_DASHBOARD_H */
|
||||
9
data/Makefile.am
Normal file
@ -0,0 +1,9 @@
|
||||
if UNIX_SCOREDIR
|
||||
koboscoredir = @SCOREDIR@
|
||||
koboscore_DATA =
|
||||
else
|
||||
koboscoredir = $(srcdir)/../@PACKAGE@/scores
|
||||
koboscore_DATA =
|
||||
endif
|
||||
|
||||
SUBDIRS = sfx gfx
|
||||
515
data/Makefile.in
Normal file
@ -0,0 +1,515 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = data
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/aconfig.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-exec-recursive install-info-recursive \
|
||||
install-recursive installcheck-recursive installdirs-recursive \
|
||||
pdf-recursive ps-recursive uninstall-info-recursive \
|
||||
uninstall-recursive
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(koboscoredir)"
|
||||
koboscoreDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(koboscore_DATA)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUDIO_LIBS = @AUDIO_LIBS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BUILD_MACOSX_BUNDLE_FALSE = @BUILD_MACOSX_BUNDLE_FALSE@
|
||||
BUILD_MACOSX_BUNDLE_TRUE = @BUILD_MACOSX_BUNDLE_TRUE@
|
||||
BUILD_SIMPLE_BUNDLE_FALSE = @BUILD_SIMPLE_BUNDLE_FALSE@
|
||||
BUILD_SIMPLE_BUNDLE_TRUE = @BUILD_SIMPLE_BUNDLE_TRUE@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFIGDIR = @CONFIGDIR@
|
||||
CONFIGFILE = @CONFIGFILE@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIR = @DATADIR@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXEFILE = @EXEFILE@
|
||||
GREP = @GREP@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LOCALCFLAGS = @LOCALCFLAGS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MATHLIB = @MATHLIB@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POW_LIB = @POW_LIB@
|
||||
RANLIB = @RANLIB@
|
||||
SCOREDIR = @SCOREDIR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
UNIX_SCOREDIR_FALSE = @UNIX_SCOREDIR_FALSE@
|
||||
UNIX_SCOREDIR_TRUE = @UNIX_SCOREDIR_TRUE@
|
||||
VERSION = @VERSION@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
@UNIX_SCOREDIR_FALSE@koboscoredir = $(srcdir)/../@PACKAGE@/scores
|
||||
@UNIX_SCOREDIR_TRUE@koboscoredir = @SCOREDIR@
|
||||
@UNIX_SCOREDIR_FALSE@koboscore_DATA =
|
||||
@UNIX_SCOREDIR_TRUE@koboscore_DATA =
|
||||
SUBDIRS = sfx gfx
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign data/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
uninstall-info-am:
|
||||
install-koboscoreDATA: $(koboscore_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(koboscoredir)" || $(mkdir_p) "$(DESTDIR)$(koboscoredir)"
|
||||
@list='$(koboscore_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(koboscoreDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(koboscoredir)/$$f'"; \
|
||||
$(koboscoreDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(koboscoredir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-koboscoreDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(koboscore_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(koboscoredir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(koboscoredir)/$$f"; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(mkdir_p) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$top_distdir" \
|
||||
distdir="$$distdir/$$subdir" \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(koboscoredir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-koboscoreDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-koboscoreDATA
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
|
||||
clean clean-generic clean-recursive ctags ctags-recursive \
|
||||
distclean distclean-generic distclean-recursive distclean-tags \
|
||||
distdir dvi dvi-am html html-am info info-am install \
|
||||
install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am \
|
||||
install-koboscoreDATA install-man install-strip installcheck \
|
||||
installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive \
|
||||
mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
|
||||
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
|
||||
uninstall-info-am uninstall-koboscoreDATA
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
17
data/gfx/Makefile.am
Normal file
@ -0,0 +1,17 @@
|
||||
KOBOGFX_OBJECTS = *.png
|
||||
|
||||
if BUILD_MACOSX_BUNDLE
|
||||
kobogfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/gfx
|
||||
else
|
||||
|
||||
if BUILD_SIMPLE_BUNDLE
|
||||
kobogfxdir = $(srcdir)/../@PACKAGE@/gfx
|
||||
else
|
||||
kobogfxdir = $(datadir)/kobo-deluxe/gfx
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
kobogfx_DATA = $(KOBOGFX_OBJECTS)
|
||||
|
||||
EXTRA_DIST = $(KOBOGFX_OBJECTS)
|
||||
360
data/gfx/Makefile.in
Normal file
@ -0,0 +1,360 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ../..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = data/gfx
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/aconfig.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(kobogfxdir)"
|
||||
kobogfxDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(kobogfx_DATA)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUDIO_LIBS = @AUDIO_LIBS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BUILD_MACOSX_BUNDLE_FALSE = @BUILD_MACOSX_BUNDLE_FALSE@
|
||||
BUILD_MACOSX_BUNDLE_TRUE = @BUILD_MACOSX_BUNDLE_TRUE@
|
||||
BUILD_SIMPLE_BUNDLE_FALSE = @BUILD_SIMPLE_BUNDLE_FALSE@
|
||||
BUILD_SIMPLE_BUNDLE_TRUE = @BUILD_SIMPLE_BUNDLE_TRUE@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFIGDIR = @CONFIGDIR@
|
||||
CONFIGFILE = @CONFIGFILE@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIR = @DATADIR@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXEFILE = @EXEFILE@
|
||||
GREP = @GREP@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LOCALCFLAGS = @LOCALCFLAGS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MATHLIB = @MATHLIB@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POW_LIB = @POW_LIB@
|
||||
RANLIB = @RANLIB@
|
||||
SCOREDIR = @SCOREDIR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
UNIX_SCOREDIR_FALSE = @UNIX_SCOREDIR_FALSE@
|
||||
UNIX_SCOREDIR_TRUE = @UNIX_SCOREDIR_TRUE@
|
||||
VERSION = @VERSION@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
KOBOGFX_OBJECTS = *.png
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobogfxdir = $(datadir)/kobo-deluxe/gfx
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@/gfx
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@kobogfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/gfx
|
||||
kobogfx_DATA = $(KOBOGFX_OBJECTS)
|
||||
EXTRA_DIST = $(KOBOGFX_OBJECTS)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/gfx/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign data/gfx/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
uninstall-info-am:
|
||||
install-kobogfxDATA: $(kobogfx_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(kobogfxdir)" || $(mkdir_p) "$(DESTDIR)$(kobogfxdir)"
|
||||
@list='$(kobogfx_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(kobogfxDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(kobogfxdir)/$$f'"; \
|
||||
$(kobogfxDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(kobogfxdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-kobogfxDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(kobogfx_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(kobogfxdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(kobogfxdir)/$$f"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(kobogfxdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-kobogfxDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-kobogfxDATA
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic distclean \
|
||||
distclean-generic distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am \
|
||||
install-kobogfxDATA install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
|
||||
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-kobogfxDATA
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
BIN
data/gfx/bigfont3.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
data/gfx/bigship.png
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
data/gfx/bmr-green.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
data/gfx/bmr-pink.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
data/gfx/bmr-purple.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
data/gfx/bolt.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
data/gfx/boltexpl.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
data/gfx/bomb.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
data/gfx/bombdeto.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
data/gfx/brushes.png
Normal file
|
After Width: | Height: | Size: 234 B |
BIN
data/gfx/bullet5b.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
data/gfx/bulletexpl2.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
data/gfx/counterfont.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
data/gfx/crosshair.png
Normal file
|
After Width: | Height: | Size: 484 B |
BIN
data/gfx/deluxe.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
data/gfx/explo1e.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
data/gfx/explo3e.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
data/gfx/explo4e.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
data/gfx/explo5e.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
data/gfx/fighter.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
data/gfx/flatstars1.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
data/gfx/focusfx.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/gfx/goldfont.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/gfx/hitnoise.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
data/gfx/icefont2.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/gfx/loading3.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
data/gfx/logo-outline.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
data/gfx/logomask3.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
data/gfx/missile.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
data/gfx/missile2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/gfx/missile3.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/gfx/noise.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
data/gfx/player.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
data/gfx/ring.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
data/gfx/ringexpl2b.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
data/gfx/rock1c.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
data/gfx/rock2.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
data/gfx/rockexpl.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
data/gfx/screen2.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
data/gfx/shinyrock.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
data/gfx/tiles-blood.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
data/gfx/tiles-chrome.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
data/gfx/tiles-double.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
data/gfx/tiles-green.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
data/gfx/tiles-metal.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
19
data/sfx/Makefile.am
Normal file
@ -0,0 +1,19 @@
|
||||
KOBOSFX_OBJECTS = *.agw *.mid *.h
|
||||
|
||||
if BUILD_MACOSX_BUNDLE
|
||||
kobosfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/sfx
|
||||
else
|
||||
|
||||
if BUILD_SIMPLE_BUNDLE
|
||||
kobosfxdir = $(srcdir)/../@PACKAGE@/sfx
|
||||
else
|
||||
kobosfxdir = $(datadir)/kobo-deluxe/sfx
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
kobosfx_DATA = $(KOBOSFX_OBJECTS)
|
||||
|
||||
EXTRA_DIST = $(KOBOSFX_OBJECTS)
|
||||
|
||||
CLEANFILES = *_c.raw
|
||||
362
data/sfx/Makefile.in
Normal file
@ -0,0 +1,362 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ../..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = data/sfx
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/aconfig.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(kobosfxdir)"
|
||||
kobosfxDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(kobosfx_DATA)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AUDIO_LIBS = @AUDIO_LIBS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BUILD_MACOSX_BUNDLE_FALSE = @BUILD_MACOSX_BUNDLE_FALSE@
|
||||
BUILD_MACOSX_BUNDLE_TRUE = @BUILD_MACOSX_BUNDLE_TRUE@
|
||||
BUILD_SIMPLE_BUNDLE_FALSE = @BUILD_SIMPLE_BUNDLE_FALSE@
|
||||
BUILD_SIMPLE_BUNDLE_TRUE = @BUILD_SIMPLE_BUNDLE_TRUE@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFIGDIR = @CONFIGDIR@
|
||||
CONFIGFILE = @CONFIGFILE@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIR = @DATADIR@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXEFILE = @EXEFILE@
|
||||
GREP = @GREP@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LOCALCFLAGS = @LOCALCFLAGS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MATHLIB = @MATHLIB@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POW_LIB = @POW_LIB@
|
||||
RANLIB = @RANLIB@
|
||||
SCOREDIR = @SCOREDIR@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
UNIX_SCOREDIR_FALSE = @UNIX_SCOREDIR_FALSE@
|
||||
UNIX_SCOREDIR_TRUE = @UNIX_SCOREDIR_TRUE@
|
||||
VERSION = @VERSION@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
KOBOSFX_OBJECTS = *.agw *.mid *.h
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_FALSE@kobosfxdir = $(datadir)/kobo-deluxe/sfx
|
||||
@BUILD_MACOSX_BUNDLE_FALSE@@BUILD_SIMPLE_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@/sfx
|
||||
@BUILD_MACOSX_BUNDLE_TRUE@kobosfxdir = $(srcdir)/../@PACKAGE@.app/Contents/Resources/sfx
|
||||
kobosfx_DATA = $(KOBOSFX_OBJECTS)
|
||||
EXTRA_DIST = $(KOBOSFX_OBJECTS)
|
||||
CLEANFILES = *_c.raw
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/sfx/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign data/sfx/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
uninstall-info-am:
|
||||
install-kobosfxDATA: $(kobosfx_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(kobosfxdir)" || $(mkdir_p) "$(DESTDIR)$(kobosfxdir)"
|
||||
@list='$(kobosfx_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(kobosfxDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(kobosfxdir)/$$f'"; \
|
||||
$(kobosfxDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(kobosfxdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-kobosfxDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(kobosfx_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(kobosfxdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(kobosfxdir)/$$f"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(kobosfxdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-kobosfxDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-kobosfxDATA
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic distclean \
|
||||
distclean-generic distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-exec \
|
||||
install-exec-am install-info install-info-am \
|
||||
install-kobosfxDATA install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
|
||||
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-kobosfxDATA
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
49
data/sfx/aguitar1.agw
Normal file
@ -0,0 +1,49 @@
|
||||
/////////////////////////////////////////////
|
||||
// Acoustic Guitar 1
|
||||
// Copyright (C) David Olofson, 2002
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 33488;
|
||||
w_blank target, 33488, 0;
|
||||
|
||||
//string
|
||||
w_env AMPLITUDE,
|
||||
0, .4,
|
||||
.005, .1,
|
||||
.995, 0;
|
||||
w_env FREQUENCY, 0, 261.65;
|
||||
w_env MOD1,
|
||||
0, .2,
|
||||
1, .1;
|
||||
w_osc target, PULSE;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
0, .6,
|
||||
.005, .2,
|
||||
.5, 0;
|
||||
w_env FREQUENCY, 0, 261.75;
|
||||
w_env MOD1,
|
||||
0, .2,
|
||||
1, .1;
|
||||
w_osc target, PULSE;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
0, 2,
|
||||
.1, 1.5;
|
||||
w_env FREQUENCY,
|
||||
0, 8000,
|
||||
.01, 2500,
|
||||
.1, 1500;
|
||||
w_filter target, LOWPASS_12;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env FREQUENCY, 300;
|
||||
w_env MOD1, 0;
|
||||
w_filter target, HIGHPASS_12;
|
||||
|
||||
//body
|
||||
w_env AMPLITUDE, 0, 5;
|
||||
w_env FREQUENCY, 0, 150;
|
||||
w_filter target, PEAK_12;
|
||||
w_env FREQUENCY, 0, 180;
|
||||
w_filter target, PEAK_12;
|
||||
42
data/sfx/bassdrum5.agw
Normal file
@ -0,0 +1,42 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bass Drum 5
|
||||
// Copyright (C) David Olofson, 2002
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 8000;
|
||||
w_blank target, 8000, 0;
|
||||
|
||||
//attack
|
||||
w_env AMPLITUDE,
|
||||
0, .3,
|
||||
.01, .07,
|
||||
.04, .02,
|
||||
.5, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 4000,
|
||||
.03, 500;
|
||||
w_osc target, NOISE;
|
||||
|
||||
//power
|
||||
w_env AMPLITUDE,
|
||||
0, .8,
|
||||
.05, .9,
|
||||
.15, .7,
|
||||
.8, 0;
|
||||
w_env MOD1,
|
||||
0, .05,
|
||||
.1, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 300,
|
||||
.02, 160,
|
||||
.03, 70,
|
||||
.2, 40;
|
||||
w_osc target, SINE;
|
||||
|
||||
//filter
|
||||
w_env AMPLITUDE, 0, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 1500,
|
||||
0.02, 500,
|
||||
0.2, 400;
|
||||
w_filter target, LOWPASS_12;
|
||||
36
data/sfx/bleep1.agw
Normal file
@ -0,0 +1,36 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bleep 1
|
||||
// Copyright (C) 2007, David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 3200, 0;
|
||||
|
||||
w_env AMPLITUDE, .5;
|
||||
w_env FREQUENCY, 1700;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY, 2295;
|
||||
w_osc target, SINE;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env BALANCE, 1;
|
||||
w_env FREQUENCY, 1500.5;
|
||||
w_osc target, SINE, MUL;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
0, .9,
|
||||
.01, .2,
|
||||
.08, .3,
|
||||
.005, .7,
|
||||
.005, 0;
|
||||
w_env BALANCE,
|
||||
0, 20,
|
||||
.01, 35,
|
||||
.08, 45,
|
||||
.01, 0;
|
||||
w_env FREQUENCY, 1000;
|
||||
w_osc target, SINE, FM;
|
||||
|
||||
w_env FREQUENCY, 500;
|
||||
w_env AMPLITUDE, 0;
|
||||
w_filter target, HIGHPASS_12;
|
||||
35
data/sfx/bleep3.agw
Normal file
@ -0,0 +1,35 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bleep 3
|
||||
// Copyright (C) 2007, David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 800, 0;
|
||||
|
||||
w_env AMPLITUDE, .5;
|
||||
w_env FREQUENCY, 3400;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY, 4600;
|
||||
w_osc target, SINE;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env BALANCE, 1;
|
||||
w_env FREQUENCY, 7010;
|
||||
w_osc target, SINE, MUL;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
.00125, .8,
|
||||
.00125, .3,
|
||||
.02, .4,
|
||||
.0025, 0;
|
||||
w_env BALANCE,
|
||||
0, 20,
|
||||
.0025, 30,
|
||||
.02, 40,
|
||||
.0025, 0;
|
||||
w_env FREQUENCY, 2000;
|
||||
w_osc target, SINE, FM;
|
||||
|
||||
w_env FREQUENCY, 1600;
|
||||
w_env AMPLITUDE, 5;
|
||||
w_filter target, HIGHPASS_12;
|
||||
53
data/sfx/boltfire2.agw
Normal file
@ -0,0 +1,53 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bolt Fire 2
|
||||
// Copyright (C) 2003, 2007 David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 1600, 0;
|
||||
|
||||
//fm thump
|
||||
w_env AMPLITUDE, .5;
|
||||
w_env FREQUENCY, 1965;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY, 1985;
|
||||
w_osc target, SINE;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env BALANCE, 1;
|
||||
w_env FREQUENCY, 2000;
|
||||
w_osc target, SINE, MUL;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
0, .5,
|
||||
.01, .25,
|
||||
.02, .1,
|
||||
.02, 0;
|
||||
w_env BALANCE,
|
||||
0, 50,
|
||||
.05, 20;
|
||||
w_env FREQUENCY, 400;
|
||||
w_osc target, SINE, FM;
|
||||
|
||||
//tecno squeal
|
||||
w_env AMPLITUDE,
|
||||
.04, .05,
|
||||
.01, 0;
|
||||
w_env MOD1,
|
||||
0, .15,
|
||||
.05, .25;
|
||||
w_env FREQUENCY,
|
||||
0, 3000,
|
||||
.05, 4000;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY,
|
||||
0, 1800,
|
||||
.05, 2000;
|
||||
w_osc target, SINE;
|
||||
w_env MOD1,
|
||||
0, .4,
|
||||
.05, .6;
|
||||
w_env FREQUENCY,
|
||||
0, 500,
|
||||
.05, 600;
|
||||
w_osc target, SINE;
|
||||
30
data/sfx/boltfire2e.agw
Normal file
@ -0,0 +1,30 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bolt Fire 2 - End (*after* last shot)
|
||||
// Copyright (C) 2003, 2007 David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 16000, 0;
|
||||
|
||||
//tecno squeal
|
||||
w_env AMPLITUDE,
|
||||
.1, .05,
|
||||
.4, 0;
|
||||
w_env MOD1,
|
||||
0, .2,
|
||||
.5, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 4000,
|
||||
.5, 2000;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY,
|
||||
0, 2200,
|
||||
.5, 1100;
|
||||
w_osc target, SINE;
|
||||
w_env MOD1,
|
||||
0, .5,
|
||||
.5, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 600,
|
||||
.5, 300;
|
||||
w_osc target, SINE;
|
||||
30
data/sfx/boltfire2o.agw
Normal file
@ -0,0 +1,30 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bolt Fire 2 - Overheat
|
||||
// Copyright (C) 2003, 2007 David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 3200, 0;
|
||||
|
||||
//tecno squeal
|
||||
w_env AMPLITUDE,
|
||||
.07, .05,
|
||||
.03, 0;
|
||||
w_env MOD1,
|
||||
0, .25,
|
||||
.1, .1;
|
||||
w_env FREQUENCY,
|
||||
0, 4000,
|
||||
.1, 3000;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY,
|
||||
0, 1800,
|
||||
.1, 2000;
|
||||
w_osc target, SINE;
|
||||
w_env MOD1,
|
||||
0, .6,
|
||||
.1, .2;
|
||||
w_env FREQUENCY,
|
||||
0, 600,
|
||||
.1, 500;
|
||||
w_osc target, SINE;
|
||||
52
data/sfx/boltfire2s.agw
Normal file
@ -0,0 +1,52 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bolt Fire 2 - Start (first shot)
|
||||
// Copyright (C) 2003, 2007 David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 6400, 0;
|
||||
|
||||
//fm thump
|
||||
w_env AMPLITUDE, .5;
|
||||
w_env FREQUENCY, 1965;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY, 1985;
|
||||
w_osc target, SINE;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env BALANCE, 1;
|
||||
w_env FREQUENCY, 2000;
|
||||
w_osc target, SINE, MUL;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
.02, 0,
|
||||
0, .5,
|
||||
.01, .25,
|
||||
.02, .1,
|
||||
.02, 0;
|
||||
w_env BALANCE,
|
||||
.02, 0,
|
||||
0, 50,
|
||||
.05, 20;
|
||||
w_env FREQUENCY, 900;
|
||||
w_osc target, SINE, FM;
|
||||
|
||||
//tecno squeal
|
||||
w_env AMPLITUDE,
|
||||
.03, .075,
|
||||
.07, .05,
|
||||
.07, 0;
|
||||
w_env MOD1, .2;
|
||||
w_env FREQUENCY,
|
||||
0, 1500,
|
||||
.2, 4000;
|
||||
w_osc target, SINE;
|
||||
w_env FREQUENCY,
|
||||
0, 900,
|
||||
.2, 2000;
|
||||
w_osc target, SINE;
|
||||
w_env MOD1, .5;
|
||||
w_env FREQUENCY,
|
||||
0, 150,
|
||||
.2, 600;
|
||||
w_osc target, SINE;
|
||||
57
data/sfx/brass2.agw
Normal file
@ -0,0 +1,57 @@
|
||||
/////////////////////////////////////////////
|
||||
// Brass 2
|
||||
// Copyright (C) David Olofson, 2002
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 128000, 0;
|
||||
|
||||
C = 523.25;
|
||||
|
||||
//modulator
|
||||
w_env FREQUENCY, C;
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env MOD2, .5;
|
||||
w_osc target, SINEMORPH;
|
||||
|
||||
//FM oscillator
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env FREQUENCY,
|
||||
0, C * 0.93,
|
||||
.07, C;
|
||||
w_mod FREQUENCY, .2, 0, 0.002;
|
||||
w_env MOD1,
|
||||
0, 1,
|
||||
.5, .5,
|
||||
2, 0;
|
||||
w_env MOD2;
|
||||
w_env BALANCE,
|
||||
0, 2,
|
||||
1, 1.3,
|
||||
3, .7;
|
||||
w_osc target, SINEMORPH, FM;
|
||||
|
||||
//"chorus"
|
||||
w_env FREQUENCY, C;
|
||||
w_mod FREQUENCY, 3, 0, .01;
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env MOD1, 1;
|
||||
w_env MOD2, 0;
|
||||
w_osc target, SINEMORPH;
|
||||
|
||||
//Soft dist
|
||||
w_env AMPLITUDE, .7;
|
||||
w_gain target;
|
||||
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env FREQUENCY, 3000;
|
||||
w_env MOD1;
|
||||
w_filter target, LOWPASS_12;
|
||||
|
||||
//final envelope
|
||||
w_env AMPLITUDE,
|
||||
0, 1,
|
||||
1, 1,
|
||||
2, .5,
|
||||
1, 0;
|
||||
w_gain target;
|
||||
37
data/sfx/bzzzt1.agw
Normal file
@ -0,0 +1,37 @@
|
||||
/////////////////////////////////////////////
|
||||
// Bzzzt! 1
|
||||
// Copyright (C) David Olofson, 2003
|
||||
/////////////////////////////////////////////
|
||||
|
||||
w_format target, MONO16, 32000;
|
||||
w_blank target, 16000, 0;
|
||||
|
||||
w_env AMPLITUDE, .5;
|
||||
w_env FREQUENCY, 55;
|
||||
w_env MOD1, 1;
|
||||
w_osc target, TRIANGLE;
|
||||
|
||||
w_env FREQUENCY, 50;
|
||||
w_osc target, TRIANGLE, SYNC;
|
||||
|
||||
w_env FREQUENCY, 7000;
|
||||
w_env BALANCE, 1;
|
||||
w_osc target, NOISE, MUL;
|
||||
|
||||
w_env AMPLITUDE, .1;
|
||||
w_env FREQUENCY, 49;
|
||||
w_env BALANCE, .5;
|
||||
w_osc target, TRIANGLE, MUL;
|
||||
w_env AMPLITUDE, .05;
|
||||
w_env FREQUENCY, 57;
|
||||
w_env MOD1, .1;
|
||||
w_osc target, PULSE;
|
||||
|
||||
w_env AMPLITUDE,
|
||||
.01, 1,
|
||||
.09, .8,
|
||||
.2, .6,
|
||||
.05, .1,
|
||||
.1, .05,
|
||||
.05, 0;
|
||||
w_gain target;
|
||||
141
data/sfx/cannon1.agw
Normal file
@ -0,0 +1,141 @@
|
||||
/////////////////////////////////////////////
|
||||
// Cannon 1
|
||||
// Copyright (C) 2007 David Olofson
|
||||
/////////////////////////////////////////////
|
||||
|
||||
a = .8;
|
||||
|
||||
w_format target, MONO16, 24000;
|
||||
w_blank target, 24000*3, 0;
|
||||
|
||||
// Rumble
|
||||
w_env AMPLITUDE,
|
||||
0, a/4,
|
||||
.5, a/8,
|
||||
.5, a/16,
|
||||
1, a/32,
|
||||
1, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 100,
|
||||
3, 70;
|
||||
w_osc target, NOISE;
|
||||
|
||||
w_env FREQUENCY,
|
||||
0, 100,
|
||||
.5, 300,
|
||||
.5, 100,
|
||||
.1, 200,
|
||||
.1, 50,
|
||||
.2, 150,
|
||||
.2, 250,
|
||||
.4, 100,
|
||||
1, 10;
|
||||
w_env AMPLITUDE, 2;
|
||||
w_filter target, LOWPASS_12;
|
||||
|
||||
// Ka-blam
|
||||
w_env AMPLITUDE,
|
||||
0, a/4,
|
||||
.5, a/8,
|
||||
.5, a/16,
|
||||
1, a/32,
|
||||
1, 0;
|
||||
w_env FREQUENCY,
|
||||
0, 700,
|
||||
.1, 200,
|
||||
.1, 700,
|
||||
2.8, 850;
|
||||
w_osc target, NOISE;
|
||||
w_env FREQUENCY,
|
||||
0, 500,
|
||||
.1, 100,
|
||||
.5, 300,
|
||||
2.4, 200;
|
||||
w_osc target, NOISE;
|
||||
|
||||
|
||||
// Attack
|
||||
w_env AMPLITUDE,
|
||||
0, a/2,
|
||||
.1, a/8,
|
||||
.5, 0;
|
||||
w_env FREQUENCY, 1500;
|
||||
w_osc target, NOISE;
|
||||
|
||||
|
||||
// Mod
|
||||
w_env AMPLITUDE, 1;
|
||||
w_env FREQUENCY, 15;
|
||||
w_env BALANCE, .4;
|
||||
w_osc target, NOISE, MUL;
|
||||
|
||||
|
||||
// Thunder reso
|
||||
w_env FREQUENCY,
|
||||
0, 300,
|
||||
.02, 50,
|
||||
.08, 300,
|
||||
.1, 150,
|
||||
.2, 300,
|
||||
.2, 150,
|
||||
.4, 50,
|
||||
2.2, 150;
|
||||
w_env AMPLITUDE,
|
||||
0, 5,
|
||||
.02, 10,
|
||||
.08, 5,
|
||||
.1, 0,
|
||||
.2, 5,
|
||||
.2, 0,
|
||||
.4, 2,
|
||||
2.2, 0;
|
||||
w_filter target, PEAK_12;
|
||||
|
||||
|
||||
// Quake reso
|
||||
w_env FREQUENCY,
|
||||
0, 200,
|
||||
.1, 70,
|
||||
2.9, 50;
|
||||
w_env AMPLITUDE,
|
||||
0, 5,
|
||||
.1, 0,
|
||||
.5, 7,
|
||||
2.4, 15;
|
||||
w_filter target, PEAK_12;
|
||||
|
||||
|
||||
// Crackle boost
|
||||
w_env FREQUENCY, 400;
|
||||
w_env AMPLITUDE,
|
||||
0, 5,
|
||||
.5, 15,
|
||||
2.5, 0;
|
||||
w_filter target, PEAK_12;
|
||||
w_env FREQUENCY, 750;
|
||||
w_env AMPLITUDE, 3;
|
||||
w_filter target, PEAK_12;
|
||||
w_env FREQUENCY, 1100;
|
||||
w_env AMPLITUDE,
|
||||
0, 1,
|
||||
1, 8,
|
||||
2, 0;
|
||||
w_filter target, PEAK_12;
|
||||
w_env FREQUENCY, 1700;
|
||||
w_env AMPLITUDE,
|
||||
0, 8,
|
||||
1, 0;
|
||||
w_filter target, PEAK_12;
|
||||
|
||||
|
||||
// Treble damping
|
||||
w_env FREQUENCY,
|
||||
0, 9000,
|
||||
.25, 4000,
|
||||
1.25, 2000,
|
||||
1.5, 500;
|
||||
w_env AMPLITUDE, 0;
|
||||
w_env MOD1,
|
||||
0, .3,
|
||||
.5, 0;
|
||||
w_filter target, LOWPASS_12;
|
||||