Add all the missing files
--HG-- branch : openttd
This commit is contained in:
4
.changelog
Normal file
4
.changelog
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
1.9.0-beta2 (2018-02-09)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Fix: Non-Windows builds did not get correct git hash
|
||||||
|
|
||||||
13
.dorpsgek.yml
Normal file
13
.dorpsgek.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
notifications:
|
||||||
|
push:
|
||||||
|
irc:
|
||||||
|
- openttd
|
||||||
|
- openttd.notice
|
||||||
|
pull-request:
|
||||||
|
irc:
|
||||||
|
- openttd
|
||||||
|
- openttd.notice
|
||||||
|
issue:
|
||||||
|
irc:
|
||||||
|
- openttd
|
||||||
|
- openttd.notice
|
||||||
9
.editorconfig
Normal file
9
.editorconfig
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{c,cpp,h,hpp}]
|
||||||
|
indent_style = tab
|
||||||
|
charset = utf-8
|
||||||
7
.github/ISSUE_TEMPLATE.md
vendored
Normal file
7
.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
## Version of OpenTTD
|
||||||
|
|
||||||
|
## Expected result
|
||||||
|
|
||||||
|
## Actual result
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
34
.github/stale.yml
vendored
Normal file
34
.github/stale.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
daysUntilClose: 7
|
||||||
|
staleLabel: stale
|
||||||
|
closeComment: false
|
||||||
|
exemptMilestones: true
|
||||||
|
exemptAssignees: true
|
||||||
|
|
||||||
|
issues:
|
||||||
|
daysUntilStale: 60
|
||||||
|
exemptLabels:
|
||||||
|
- pinned
|
||||||
|
- security
|
||||||
|
- "good first issue"
|
||||||
|
- regression
|
||||||
|
markComment: >
|
||||||
|
This issue has been automatically marked as stale because it has not had any activity in the last two months.
|
||||||
|
|
||||||
|
If you believe the issue is still relevant, please test on the latest nightly and report back.
|
||||||
|
|
||||||
|
It will be closed if no further activity occurs within 7 days.
|
||||||
|
|
||||||
|
Thank you for your contributions.
|
||||||
|
|
||||||
|
pulls:
|
||||||
|
daysUntilStale: 30
|
||||||
|
exemptLabels:
|
||||||
|
- pinned
|
||||||
|
markComment: >
|
||||||
|
This pull request has been automatically marked as stale because it has not had any activity in the last month.
|
||||||
|
|
||||||
|
Please feel free to give a status update now, ping for review, or re-open when it's ready.
|
||||||
|
|
||||||
|
It will be closed if no further activity occurs within 7 days.
|
||||||
|
|
||||||
|
Thank you for your contributions.
|
||||||
52
.gitignore
vendored
Normal file
52
.gitignore
vendored
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
bin/*
|
||||||
|
!bin/ai
|
||||||
|
bin/ai/*
|
||||||
|
!bin/ai/compat*.nut
|
||||||
|
!bin/ai/regression
|
||||||
|
!bin/data
|
||||||
|
bin/baseset/*
|
||||||
|
!bin/baseset/openttd.grf
|
||||||
|
!bin/baseset/opntitle.dat
|
||||||
|
!bin/baseset/orig_extra.grf
|
||||||
|
!bin/baseset/orig_*.obg
|
||||||
|
!bin/baseset/orig_*.obs
|
||||||
|
!bin/baseset/no_sound.obs
|
||||||
|
!bin/baseset/no_music.obm
|
||||||
|
!bin/baseset/orig_*.obm
|
||||||
|
!bin/scripts
|
||||||
|
bin/scripts/*
|
||||||
|
!bin/scripts/*.example
|
||||||
|
!bin/scripts/readme.txt
|
||||||
|
|
||||||
|
*.aps
|
||||||
|
bundle/*
|
||||||
|
bundles/*
|
||||||
|
docs/aidocs/*
|
||||||
|
docs/gamedocs/*
|
||||||
|
docs/source/*
|
||||||
|
.kdev4
|
||||||
|
.kdev4/*
|
||||||
|
*.kdev4
|
||||||
|
media/openttd.desktop
|
||||||
|
media/openttd.desktop.install
|
||||||
|
objs/*
|
||||||
|
projects/.vs
|
||||||
|
projects/Debug
|
||||||
|
projects/Release
|
||||||
|
projects/*.ncb
|
||||||
|
projects/*.suo
|
||||||
|
projects/*.sdf
|
||||||
|
projects/*.opensdf
|
||||||
|
projects/*.vcproj.*.user
|
||||||
|
projects/*.vcxproj.user
|
||||||
|
projects/*.VC.db
|
||||||
|
projects/*.VC.opendb
|
||||||
|
src/rev.cpp
|
||||||
|
src/os/windows/ottdres.rc
|
||||||
|
|
||||||
|
/Makefile*
|
||||||
|
!/Makefile.msvc
|
||||||
|
/config.*
|
||||||
|
!/config.lib
|
||||||
|
!*.in
|
||||||
|
*.tmp
|
||||||
38
.hgignore
38
.hgignore
@@ -1,8 +1,34 @@
|
|||||||
syntax: glob
|
syntax: glob
|
||||||
objs
|
|
||||||
bin
|
.svn
|
||||||
Makefile*
|
*.aps
|
||||||
config.*
|
bin/baseset/openttd.32.bmp
|
||||||
|
bin/lang/*
|
||||||
|
bin/openttd*
|
||||||
|
bin/*.cfg
|
||||||
|
bundle/*
|
||||||
|
bundles/*
|
||||||
|
config.cache*
|
||||||
|
config.log
|
||||||
|
config.pwd
|
||||||
|
docs/aidocs/*
|
||||||
|
docs/gamedocs/*
|
||||||
|
docs/source/*
|
||||||
|
.kdev4
|
||||||
|
.kdev4/*
|
||||||
|
*.kdev4
|
||||||
|
Makefile
|
||||||
|
Makefile.am
|
||||||
|
Makefile.bundle
|
||||||
media/openttd.desktop
|
media/openttd.desktop
|
||||||
recordings/
|
media/openttd.desktop.install
|
||||||
stats*/*
|
objs/*
|
||||||
|
projects/.vs
|
||||||
|
projects/*.ncb
|
||||||
|
projects/*.suo
|
||||||
|
projects/*.sdf
|
||||||
|
projects/*.opensdf
|
||||||
|
projects/*.vcproj.*.user
|
||||||
|
projects/*.vcxproj.user
|
||||||
|
src/rev.cpp
|
||||||
|
src/os/windows/ottdres.rc
|
||||||
|
|||||||
1
.ottdrev
Normal file
1
.ottdrev
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.9.0-beta2 20190209 0 6e211908588ab5272336d0d2db3bbb4020f7004f
|
||||||
1
.release_date
Normal file
1
.release_date
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2019-02-09 21:41 UTC
|
||||||
181
CONTRIBUTING.md
Normal file
181
CONTRIBUTING.md
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
|
||||||
|
# Contributing to OpenTTD
|
||||||
|
|
||||||
|
Looking to contribute something to OpenTTD? **Here's how you can help.**
|
||||||
|
|
||||||
|
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
|
||||||
|
|
||||||
|
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
|
||||||
|
|
||||||
|
|
||||||
|
## Using the issue tracker
|
||||||
|
|
||||||
|
The [issue tracker](https://github.com/OpenTTD/OpenTTD/issues) is the preferred channel for [bug reports](#bug-reports), but please respect the following restrictions:
|
||||||
|
|
||||||
|
* Please **do not** use the issue tracker for help playing or using OpenTTD. Please try [irc](https://wiki.openttd.org/IRC_channel), or the [forums](https://www.tt-forums.net/)
|
||||||
|
|
||||||
|
* Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others.
|
||||||
|
|
||||||
|
* Please **do not** post comments consisting solely of "+1" or ":thumbsup:".
|
||||||
|
Use [GitHub's "reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) instead. We reserve the right to delete comments which violate this rule.
|
||||||
|
|
||||||
|
* Please **do not** open issues or pull requests regarding add-on content in NewGRF, GameScripts, AIs, etc. These are created by third-parties. Please try [irc](https://wiki.openttd.org/IRC_channel) or the [forums](https://www.tt-forums.net/) to discuss these.
|
||||||
|
|
||||||
|
## Bug reports
|
||||||
|
|
||||||
|
A bug is a _demonstrable problem_ that is caused by the code in the repository.
|
||||||
|
Good bug reports are extremely helpful, so thanks!
|
||||||
|
|
||||||
|
Guidelines for bug reports:
|
||||||
|
|
||||||
|
0. Please don't report issues with games where you changed NewGRFs.
|
||||||
|
|
||||||
|
1. Please don't report issues with modified versions of OpenTTD (patchpacks and similar).
|
||||||
|
|
||||||
|
2. **Use the GitHub issue search** --- check if the issue has already been
|
||||||
|
reported.
|
||||||
|
|
||||||
|
3. **Check if the issue has been fixed** --- try to reproduce it using the latest `nightly` build of OpenTTD, available from https://www.openttd.org
|
||||||
|
|
||||||
|
4. **Isolate the problem** --- ideally create reproduceable steps with an attached savegame and screenshots. Try to use few or no NewGRFs, AIs etc if possible.
|
||||||
|
|
||||||
|
A good bug report shouldn't leave others needing to chase you up for more information.
|
||||||
|
Please try to be as detailed as possible in your report.
|
||||||
|
|
||||||
|
* What is your environment?
|
||||||
|
* What steps will reproduce the issue?
|
||||||
|
* Which operating system(s) experience the problem?
|
||||||
|
* What would you expect to be the outcome?
|
||||||
|
|
||||||
|
All these details will help people to fix any potential bugs.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
> Short and descriptive example bug report title
|
||||||
|
>
|
||||||
|
> A summary of the issue and the OS environment in which it occurs. If
|
||||||
|
> suitable, include the steps required to reproduce the bug.
|
||||||
|
>
|
||||||
|
> 1. This is the first step
|
||||||
|
> 2. This is the second step
|
||||||
|
> 3. Further steps, etc.
|
||||||
|
>
|
||||||
|
> Attached savegame
|
||||||
|
> Attached screenshots showing the issue
|
||||||
|
> Crashlogs if the bug causes a crash
|
||||||
|
>
|
||||||
|
> Any other information you want to share that is relevant to the issue being
|
||||||
|
> reported. This might include the lines of code that you have identified as
|
||||||
|
> causing the bug, and potential solutions (and your opinions on their
|
||||||
|
> merits).
|
||||||
|
|
||||||
|
## Feature requests
|
||||||
|
|
||||||
|
Before opening a feature request, please take a moment to find out whether your idea fits with the scope and aims of the project.
|
||||||
|
|
||||||
|
It's up to *you* to make a strong case to convince the project's developers of the merits of this feature.
|
||||||
|
|
||||||
|
Please provide as much detail and context as possible. This means don't request for a solution, but describe the problem you see and how/why you think it should be fixed.
|
||||||
|
|
||||||
|
For feature request we have a strict policy.
|
||||||
|
|
||||||
|
Keeping issues around with "a good idea" or "not really a bug but we should maybe fix it" turns out to have the reversed effect: nobody looks at it anymore.
|
||||||
|
|
||||||
|
Although we really appreciate feedback and ideas, we will close feature requests that we don't expect to fulfill in the next year.
|
||||||
|
|
||||||
|
Many of those ideas etc do have a place on the [forums](https://www.tt-forums.net); and if enough people like it, someone will stand up and make it.
|
||||||
|
|
||||||
|
It's usually best discuss in [irc](https://wiki.openttd.org/IRC_channel) before opening a feature request or working on a large feature in a fork.
|
||||||
|
Discussion in irc can take time, but it can be productive and avoid disappointment :)
|
||||||
|
|
||||||
|
## Pull requests
|
||||||
|
|
||||||
|
Good pull requests—patches, improvements, new features—are a fantastic help.
|
||||||
|
They should remain focused in scope and avoid containing unrelated commits.
|
||||||
|
|
||||||
|
**Please ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code, porting to a different language), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
|
||||||
|
|
||||||
|
Please adhere to the [coding guidelines](#code-guidelines) used throughout the project (indentation, accurate comments, etc.) and any other requirements (such as test coverage).
|
||||||
|
|
||||||
|
Adhering to the following process is the best way to get your work included in the project:
|
||||||
|
|
||||||
|
1. [Fork](https://help.github.com/fork-a-repo/) the project, clone your fork, and configure the remotes:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/<your-username>/OpenTTD.git openttd
|
||||||
|
git clone https://github.com/OpenTTD/OpenTTD-git-hooks.git openttd_hooks
|
||||||
|
cd openttd
|
||||||
|
git remote add upstream https://github.com/OpenTTD/OpenTTD.git
|
||||||
|
cd .git/hooks
|
||||||
|
ln -s ../../../openttd_hooks/hooks/* .
|
||||||
|
```
|
||||||
|
|
||||||
|
2. If you cloned a while ago, get the latest changes from upstream:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git fetch upstream
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Create a new topic branch (off the main project development branch) to
|
||||||
|
contain your feature, change, or fix:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git checkout upstream/master -b <topic-branch-name>
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](https://wiki.openttd.org/Commit_style#Commit_message) or your code is unlikely to be merged into the main project.
|
||||||
|
Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public.
|
||||||
|
|
||||||
|
5. Locally rebase the upstream development branch into your topic branch:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git fetch upstream
|
||||||
|
git rebase upstream/master
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Push your topic branch up to your fork the first time:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push --set-upstream origin <topic-branch-name>
|
||||||
|
```
|
||||||
|
|
||||||
|
And any time after that:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push
|
||||||
|
```
|
||||||
|
|
||||||
|
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description against the `master` branch.
|
||||||
|
|
||||||
|
**IMPORTANT**: By submitting a patch, you agree to the [License](#license).
|
||||||
|
|
||||||
|
### Privacy Notice
|
||||||
|
|
||||||
|
We would like to make you aware that contributing to OpenTTD via git will permanently store the name and email address you provide as well as the actual changes and the time and date you made it inside git's version history.
|
||||||
|
|
||||||
|
This is inevitable, because it is a main feature of git. If you are concerned about your privacy, we strongly recommend to use "Anonymous <anonymous@openttd.org>" as the git commit author. We might refuse anonymous contributions if malicious intent is suspected.
|
||||||
|
|
||||||
|
Please note that the contributor identity, once given, is used for copyright verification and to provide proof should a malicious commit be made. As such, the [EU GDPR](https://www.eugdpr.org/key-changes.html) "right to be forgotten" does not apply, as this is an overriding legitimate interest.
|
||||||
|
|
||||||
|
Please also note that your commit is public and as such will potentially be processed by many third-parties. Git's distributed nature makes it impossible to track where exactly your commit, and thus your personal data, will be stored and be processed. If you would not like to accept this risk, please do either commit anonymously or refrain from contributing to the OpenTTD project.
|
||||||
|
|
||||||
|
### Pull request validation
|
||||||
|
|
||||||
|
Continuous integration (CI) tools monitor pull requests, and help us identify build and code quality issues.
|
||||||
|
|
||||||
|
The results of the CI tests will show on your pull request.
|
||||||
|
|
||||||
|
By clicking on Details you can further zoom in; in case of a failure it will show you why it failed. In case of success it will report how awesome you were.
|
||||||
|
|
||||||
|
## Code guidelines
|
||||||
|
|
||||||
|
[Code style](https://wiki.openttd.org/Coding_style) must be adhered to for pull requests to be accepted
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
By contributing your code, you agree to license your contribution under the [GPL v2](https://github.com/OpenTTD/OpenTTD/blob/master/COPYING).
|
||||||
|
|
||||||
|
### Attribution of this Contributing Guide
|
||||||
|
|
||||||
|
This contributing guide is adapted from [Bootstrap](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) under the [Creative Commons Attribution 3.0 Unported License](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE) terms for Bootstrap documentation.
|
||||||
|
The GDPR notice is adapted from [rsyslog](https://github.com/rsyslog/rsyslog/blob/master/CONTRIBUTING.md) under the [GNU General Public License](https://github.com/rsyslog/rsyslog/blob/master/COPYING).
|
||||||
833
README.md
Normal file
833
README.md
Normal file
@@ -0,0 +1,833 @@
|
|||||||
|
# OpenTTD
|
||||||
|
|
||||||
|
## Table of contents
|
||||||
|
|
||||||
|
- 1.0) [About](#10-about)
|
||||||
|
- 2.0) [Contacting](#20-contacting)
|
||||||
|
- 2.1) [Reporting bugs](#21-reporting-bugs)
|
||||||
|
- 2.2) [Reporting desyncs](#22-reporting-desyncs)
|
||||||
|
- 3.0) [Supported platforms](#30-supported-platforms)
|
||||||
|
- 4.0) [Installing and running OpenTTD](#40-installing-and-running-openttd)
|
||||||
|
- 4.1) [(Required) 3rd party files](#41-required-3rd-party-files)
|
||||||
|
- 4.2) [OpenTTD directories](#42-openttd-directories)
|
||||||
|
- 4.3) [Portable installations (portable media)](#43-portable-installations-portable-media)
|
||||||
|
- 4.4) [Files in tar (archives)](#44-files-in-tar-archives)
|
||||||
|
- 5.0) [OpenTTD features](#50-openttd-features)
|
||||||
|
- 5.1) [Logging of potentially dangerous actions](#51-logging-of-potentially-dangerous-actions)
|
||||||
|
- 5.2) [Frame rate and performance metrics](#52-frame-rate-and-performance-metrics)
|
||||||
|
- 6.0) [Configuration file](#60-configuration-file)
|
||||||
|
- 7.0) [Compiling](#70-compiling)
|
||||||
|
- 7.1) [Required/optional libraries](#71-requiredoptional-libraries)
|
||||||
|
- 7.2) [Supported compilers](#72-supported-compilers)
|
||||||
|
- 7.3) [Compilation of base sets](#73-compilation-of-base-sets)
|
||||||
|
- 8.0) [Translating](#80-translating)
|
||||||
|
- 8.1) [Translation](#81-translation)
|
||||||
|
- 8.2) [Previewing](#82-previewing)
|
||||||
|
- 9.0) [Troubleshooting](#90-troubleshooting)
|
||||||
|
- 10.0) [Licensing](#100-licensing)
|
||||||
|
- X.X) [Credits](#xx-credits)
|
||||||
|
|
||||||
|
## 1.0) About
|
||||||
|
|
||||||
|
OpenTTD is a transport simulation game based upon the popular game Transport
|
||||||
|
Tycoon Deluxe, written by Chris Sawyer. It attempts to mimic the original
|
||||||
|
game as closely as possible while extending it with new features.
|
||||||
|
|
||||||
|
OpenTTD is licensed under the GNU General Public License version 2.0,
|
||||||
|
but includes some 3rd party software under different licenses. See the
|
||||||
|
section "Licensing" below for details.
|
||||||
|
|
||||||
|
## 2.0) Contacting
|
||||||
|
|
||||||
|
The easiest way to contact the OpenTTD team is by submitting bug reports or
|
||||||
|
posting comments in our forums. You can also chat with us on IRC (#openttd
|
||||||
|
on irc.oftc.net).
|
||||||
|
|
||||||
|
The OpenTTD homepage is https://www.openttd.org.
|
||||||
|
|
||||||
|
You can also find the OpenTTD forums at
|
||||||
|
[https://www.tt-forums.net](https://www.tt-forums.net/viewforum.php?f=55).
|
||||||
|
|
||||||
|
### 2.1) Reporting bugs
|
||||||
|
|
||||||
|
First of all, check whether the bug is not already known. Do this by looking
|
||||||
|
through the file called 'known-bugs.txt' which is distributed with OpenTTD
|
||||||
|
like this readme.
|
||||||
|
|
||||||
|
For tracking our bugs we are using GitHub's issue tracker. You can find
|
||||||
|
the tracker at https://github.com/OpenTTD/OpenTTD/issues. Before actually
|
||||||
|
reporting take a look through the already reported bugs there to see if
|
||||||
|
the bug is already known. The 'known-bugs.txt' file might be a bit outdated
|
||||||
|
at the moment you are reading it as only bugs known before the release
|
||||||
|
are documented there. Also look through the recently closed bugs.
|
||||||
|
|
||||||
|
When you are sure it is not already reported you should:
|
||||||
|
|
||||||
|
- Make sure you are running a recent version, i.e. run the latest stable or
|
||||||
|
nightly based on where you found the bug.
|
||||||
|
- Make sure you are not running a non-official binary, like a patch pack.
|
||||||
|
When you are playing with a patch pack you should report any bugs to the
|
||||||
|
forum thread related to that patch pack.
|
||||||
|
- Make it reproducible for the developers. In other words, create a savegame
|
||||||
|
in which you can reproduce the issue once loaded. It is very useful to give
|
||||||
|
us the crash.dmp, crash.sav, crash.log and crash screenshot which are
|
||||||
|
created on crashes.
|
||||||
|
- Check whether the bug is already reported on our bug tracker. This includes
|
||||||
|
searching for recently closed bug reports as the bug might already be fixed.
|
||||||
|
|
||||||
|
After you have done all that you can report the bug. Please include the
|
||||||
|
following information in your bug report:
|
||||||
|
|
||||||
|
- OpenTTD version (PLEASE test the latest Git revision/nightly build)
|
||||||
|
- Bug details, including instructions how to reproduce it
|
||||||
|
- Platform (Windows, Linux, FreeBSD, …) and compiler (including version) if
|
||||||
|
you compiled OpenTTD yourself.
|
||||||
|
- The processor architecture of your OS (32-bit Windows, 64-bit Windows,
|
||||||
|
Linux on an ARM, Mac OS X on a PowerPC, etc.)
|
||||||
|
- Attach a saved game **and** a screenshot if possible
|
||||||
|
- If this bug only occurred recently please note the last version without
|
||||||
|
the bug and the first version including the bug. That way we can fix it
|
||||||
|
quicker by looking at the changes made.
|
||||||
|
- Attach crash.dmp, crash.log and crash.sav. These files are usually created
|
||||||
|
next to your openttd.cfg. The crash handler will tell you the location.
|
||||||
|
|
||||||
|
### 2.2) Reporting desyncs
|
||||||
|
|
||||||
|
As desyncs are hard to make reproducible OpenTTD has the ability to log all
|
||||||
|
actions done by clients so we can replay the whole game in an effort to make
|
||||||
|
desyncs better reproducible. You need to turn this ability on. When turned
|
||||||
|
on an automatic savegame will be made once the map has been constructed in
|
||||||
|
the 'save/autosave' directory, see OpenTTD directories to know where to find
|
||||||
|
this directory. Furthermore the log file 'commands-out.log' will be created
|
||||||
|
and all actions will be written to there.
|
||||||
|
|
||||||
|
To enable the desync debugging you need to set the debug level for 'desync'
|
||||||
|
to at least 1. You do this by starting OpenTTD with '`-d desync=<level>`' as
|
||||||
|
parameter or by typing '`debug_level desync=<level>`' in OpenTTD's internal
|
||||||
|
console.
|
||||||
|
The desync debug levels are:
|
||||||
|
|
||||||
|
- 0: nothing.
|
||||||
|
- 1: dumping of commands to 'commands-out.log'.
|
||||||
|
- 2: same as 1 plus checking vehicle caches and dumping that too.
|
||||||
|
- 3: same as 2 plus monthly saves in autosave.
|
||||||
|
- 4 and higher: same as 3
|
||||||
|
|
||||||
|
Restarting OpenTTD will overwrite 'commands-out.log'. OpenTTD will not remove
|
||||||
|
the savegames (dmp_cmds_*.sav) made by the desync debugging system, so you
|
||||||
|
have to occasionally remove them yourself!
|
||||||
|
|
||||||
|
The naming format of the desync savegames is as follows:
|
||||||
|
dmp_cmds_XXXXXXXX_YYYYYYYY.sav. The XXXXXXXX is the hexadecimal representation
|
||||||
|
of the generation seed of the game and YYYYYYYY is the hexadecimal
|
||||||
|
representation of the date of the game. This sorts the savegames by game and
|
||||||
|
then by date making it easier to find the right savegames.
|
||||||
|
|
||||||
|
When a desync has occurred with the desync debugging turned on you should file
|
||||||
|
a bug report with the following files attached:
|
||||||
|
|
||||||
|
- commands-out.log as it contains all the commands that were done
|
||||||
|
- the last saved savegame (search for the last line beginning with
|
||||||
|
'save: dmp_cmds_' in commands-out.log). We use this savegame to check
|
||||||
|
whether we can quickly reproduce the desync. Otherwise we will need …
|
||||||
|
- the first saved savegame (search for the first line beginning with 'save'
|
||||||
|
where the first part, up to the last underscore '_', is the same). We need
|
||||||
|
this savegame to be able to reproduce the bug when the last savegame is not
|
||||||
|
old enough. If you loaded a scenario or savegame you need to attach that.
|
||||||
|
- optionally you can attach the savegames from around 50%, 75%, 85%, 90% and
|
||||||
|
95% of the game's progression. We can use these savegames to speed up the
|
||||||
|
reproduction of the desync, but we should be able to reproduce these
|
||||||
|
savegames based on the first savegame and commands-out.log.
|
||||||
|
- in case you use any NewGRFs you should attach the ones you used unless
|
||||||
|
we can easily find them ourselves via bananas or when they are in the
|
||||||
|
#openttdcoop pack.
|
||||||
|
|
||||||
|
Do NOT remove the dmp_cmds savegames of a desync you have reported until the
|
||||||
|
desync has been fixed; if you, by accident, send us the wrong savegames we
|
||||||
|
will not be able to reproduce the desync and thus will be unable to fix it.
|
||||||
|
|
||||||
|
## 3.0) Supported platforms
|
||||||
|
|
||||||
|
OpenTTD has been ported to several platforms and operating systems. It should
|
||||||
|
not be very difficult to port it to a new platform. The currently working
|
||||||
|
platforms are:
|
||||||
|
|
||||||
|
- BeOS (SDL or Allegro)
|
||||||
|
- DOS (Allegro)
|
||||||
|
- FreeBSD (SDL)
|
||||||
|
- Linux (SDL or Allegro)
|
||||||
|
- macOS (universal) (Cocoa video and sound drivers)
|
||||||
|
- MorphOS (SDL)
|
||||||
|
- OpenBSD (SDL)
|
||||||
|
- OS/2 (SDL)
|
||||||
|
- Windows (Win32 GDI (faster) or SDL or Allegro)
|
||||||
|
|
||||||
|
## 4.0) Installing and running OpenTTD
|
||||||
|
|
||||||
|
Installing OpenTTD is fairly straightforward. Either you have downloaded an
|
||||||
|
archive which you have to extract to a directory where you want OpenTTD to
|
||||||
|
be installed, or you have downloaded an installer, which will automatically
|
||||||
|
extract OpenTTD in the given directory.
|
||||||
|
|
||||||
|
OpenTTD looks in multiple locations to find the required data files (described
|
||||||
|
in section 4.2). Installing any 3rd party files into a 'shared' location has
|
||||||
|
the advantage that you only need to do this step once, rather than copying the
|
||||||
|
data files into all OpenTTD versions you have.
|
||||||
|
|
||||||
|
Savegames, screenshots, etc are saved relative to the config file (openttd.cfg)
|
||||||
|
currently being used. This means that if you use a config file in one of the
|
||||||
|
shared directories, savegames will reside in the save/ directory next to the
|
||||||
|
openttd.cfg file there.
|
||||||
|
|
||||||
|
If you want savegames and screenshots in the directory where the OpenTTD binary
|
||||||
|
resides, simply have your config file in that location. But if you remove this
|
||||||
|
config file, savegames will still be in this directory (see notes in
|
||||||
|
section 4.2 'OpenTTD directories')
|
||||||
|
|
||||||
|
OpenTTD comes without AIs, so if you want to play with AIs you have to download
|
||||||
|
them. The easiest way is via the 'Check Online Content' button in the main menu.
|
||||||
|
You can select some AIs that you think are compatible with your playing style.
|
||||||
|
Another way is manually downloading the AIs from the forum although then you
|
||||||
|
need to make sure that you install all the required AI libraries too; they get
|
||||||
|
automatically selected (and downloaded) if you get the AIs via the 'Check
|
||||||
|
Online Content'. If you do not have an AI but have configured OpenTTD to start
|
||||||
|
an AI a message will be shown that the 'dummy' AI has been started.
|
||||||
|
|
||||||
|
### 4.1) (Required) 3rd party files
|
||||||
|
|
||||||
|
Before you run OpenTTD, you need to put the game's data files into a baseset/
|
||||||
|
directory which can be located in various places addressed in the following
|
||||||
|
section.
|
||||||
|
|
||||||
|
For OpenTTD you need to acquire some third party data files. For this you have
|
||||||
|
the choice of using the original Transport Tycoon Deluxe data files or a set
|
||||||
|
of free data files.
|
||||||
|
|
||||||
|
Do NOT copy files included with OpenTTD into 'shared' directories (explained in
|
||||||
|
the following sections) as sooner or later you will run into graphical glitches
|
||||||
|
when using other versions of the game.
|
||||||
|
|
||||||
|
#### 4.1.1) Free graphics and sound files
|
||||||
|
|
||||||
|
The free data files, split into OpenGFX for graphics, OpenSFX for sounds and
|
||||||
|
OpenMSX for music can be found at:
|
||||||
|
|
||||||
|
- https://www.openttd.org/download-opengfx for OpenGFX
|
||||||
|
- https://www.openttd.org/download-opensfx for OpenSFX
|
||||||
|
- https://www.openttd.org/download-openmsx for OpenMSX
|
||||||
|
|
||||||
|
Please follow the readme of these packages about the installation procedure.
|
||||||
|
The Windows installer can optionally download and install these packages.
|
||||||
|
|
||||||
|
#### 4.1.2) Original Transport Tycoon Deluxe graphics and sound files
|
||||||
|
|
||||||
|
If you want to play with the original Transport Tycoon Deluxe data files you
|
||||||
|
have to copy the data files from the CD-ROM into the baseset/ directory. It
|
||||||
|
does not matter whether you copy them from the DOS or Windows version of
|
||||||
|
Transport Tycoon Deluxe. The Windows install can optionally copy these files.
|
||||||
|
You need to copy the following files:
|
||||||
|
- sample.cat
|
||||||
|
- trg1r.grf or TRG1.GRF
|
||||||
|
- trgcr.grf or TRGC.GRF
|
||||||
|
- trghr.grf or TRGH.GRF
|
||||||
|
- trgir.grf or TRGI.GRF
|
||||||
|
- trgtr.grf or TRGT.GRF
|
||||||
|
|
||||||
|
#### 4.1.3) Original Transport Tycoon Deluxe music
|
||||||
|
|
||||||
|
If you want the Transport Tycoon Deluxe music, copy the appropriate files from
|
||||||
|
the original game into the baseset folder.
|
||||||
|
- TTD for Windows: All files in the gm/ folder (gm_tt00.gm up to gm_tt21.gm)
|
||||||
|
- TTD for DOS: The GM.CAT file
|
||||||
|
- Transport Tycoon Original: The GM.CAT file, but rename it to GM-TTO.CAT
|
||||||
|
|
||||||
|
#### 4.1.4) AIs
|
||||||
|
|
||||||
|
If you want AIs use the in-game content downloader. If for some reason that is
|
||||||
|
not possible or you want to use an AI that has not been uploaded to the content
|
||||||
|
download system download the tar file and place it in the ai/ directory. If the
|
||||||
|
AI needs libraries you will have to download those too and put them in the
|
||||||
|
ai/library/ directory. All AIs and AI Libraries that have been uploaded to
|
||||||
|
the content download system can be found at https://noai.openttd.org/downloads.
|
||||||
|
The AIs and libraries can be found their in the form of .tar.gz packages.
|
||||||
|
OpenTTD can read inside tar files but it does not extract .tar.gz files by itself.
|
||||||
|
|
||||||
|
To figure out which libraries you need for an AI you have to start the AI and
|
||||||
|
wait for an error message to pop up. The error message will tell you
|
||||||
|
'could not find library "lib-name"'. Download that library and try again.
|
||||||
|
|
||||||
|
#### 4.1.5) Game scripts
|
||||||
|
|
||||||
|
If you want an extra challenge in OpenTTD you can download so-called game
|
||||||
|
scripts via the in-game content downloader. These game scripts have varying
|
||||||
|
functionality, though they can generally influence town growth, subsidies, add
|
||||||
|
goals to reach or provide a different ranking system.
|
||||||
|
|
||||||
|
If you download a game script manually you have to follow the same rules as for
|
||||||
|
AIs, except that game scripts are placed in the game/ directory instead of the
|
||||||
|
ai/ directory.
|
||||||
|
|
||||||
|
### 4.2) OpenTTD directories
|
||||||
|
|
||||||
|
OpenTTD uses its own directory to store its required 3rd party base set files
|
||||||
|
(see section 4.1 'Required 3rd party files') and non-compulsory extension and
|
||||||
|
configuration files. See below for their proper place within this OpenTTD main
|
||||||
|
data directory.
|
||||||
|
|
||||||
|
The main OpenTTD directories can be found in various locations, depending on
|
||||||
|
your operating system:
|
||||||
|
|
||||||
|
1. The current working directory (from where you started OpenTTD)
|
||||||
|
|
||||||
|
For non-Windows operating systems OpenTTD will not scan for files in this
|
||||||
|
directory if it is your personal directory, i.e. '~/', or when it is the
|
||||||
|
root directory, i.e. '/'.
|
||||||
|
|
||||||
|
2. Your personal directory
|
||||||
|
- Windows:
|
||||||
|
- `C:\My Documents\OpenTTD` (95, 98, ME)
|
||||||
|
- `C:\Documents and Settings\<username>\My Documents\OpenTTD` (2000, XP)
|
||||||
|
- `C:\Users\<username>\Documents\OpenTTD` (Vista, 7, 8.1, 10)
|
||||||
|
- macOS: `~/Documents/OpenTTD`
|
||||||
|
- Linux: `$XDG_DATA_HOME/openttd` which is usually `~/.local/share/openttd`
|
||||||
|
when built with XDG base directory support, otherwise `~/.openttd`
|
||||||
|
3. The shared directory
|
||||||
|
- Windows:
|
||||||
|
- `C:\Documents and Settings\All Users\Shared Documents\OpenTTD` (2000, XP)
|
||||||
|
- `C:\Users\Public\Documents\OpenTTD` (Vista, 7, 8.1, 10)
|
||||||
|
- macOS: `/Library/Application Support/OpenTTD`
|
||||||
|
- Linux: not available
|
||||||
|
4. The binary directory (where the OpenTTD executable is)
|
||||||
|
- Windows: `C:\Program Files\OpenTTD`
|
||||||
|
- Linux: `/usr/games`
|
||||||
|
5. The installation directory (Linux only)
|
||||||
|
- Linux: `/usr/share/games/openttd`
|
||||||
|
6. The application bundle (macOS only)
|
||||||
|
|
||||||
|
It includes the OpenTTD files (grf+lng) and it will work as long as they
|
||||||
|
are not touched
|
||||||
|
|
||||||
|
Different types of data or extensions go into different subdirectories of the
|
||||||
|
chosen main OpenTTD directory:
|
||||||
|
|
||||||
|
| data type | directory | additional info |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Config File | (no subdirectory) | |
|
||||||
|
| Screenshots | screenshot | |
|
||||||
|
| Base Graphics | baseset | (or a subdirectory thereof) |
|
||||||
|
| Sound Sets | baseset | (or a subdirectory thereof) |
|
||||||
|
| NewGRFs | newgrf | (or a subdirectory thereof) |
|
||||||
|
| 32bpp Sets | newgrf | (or a subdirectory thereof) |
|
||||||
|
| Music Sets | baseset | (or a subdirectory thereof) |
|
||||||
|
| AIs | ai | (or a subdirectory thereof) |
|
||||||
|
| AI Libraries | ai/library | (or a subdirectory thereof) |
|
||||||
|
| Game Scripts (GS) | game | (or a subdirectory thereof) |
|
||||||
|
| GS Libraries | game/library | (or a subdirectory thereof) |
|
||||||
|
| Savegames | save | |
|
||||||
|
| Automatic Savegames | save/autosave | |
|
||||||
|
| Scenarios | scenario | |
|
||||||
|
|
||||||
|
The (automatically created) directory content_download is for OpenTTD's internal
|
||||||
|
use and no files should be added to it or its subdirectories manually.
|
||||||
|
|
||||||
|
#### Notes:
|
||||||
|
|
||||||
|
- Linux in the previous list means .deb, but most paths should be similar for
|
||||||
|
others.
|
||||||
|
- The previous search order is also used for NewGRFs and openttd.cfg.
|
||||||
|
- If openttd.cfg is not found, then it will be created using the 2, 4, 1, 3,
|
||||||
|
5 order. When built with XDG base directory support, openttd.cfg will be
|
||||||
|
created in $XDG_CONFIG_HOME/openttd which is usually ~/.config/openttd.
|
||||||
|
- Savegames will be relative to the config file only if there is no save/
|
||||||
|
directory in paths with higher priority than the config file path, but
|
||||||
|
autosaves and screenshots will always be relative to the config file.
|
||||||
|
Unless the configuration file is in $XDG_CONFIG_HOME/openttd, then all
|
||||||
|
other files will be saved under $XDG_DATA_HOME/openttd.
|
||||||
|
|
||||||
|
#### The preferred setup:
|
||||||
|
|
||||||
|
Place 3rd party files in shared directory (or in personal directory if you do
|
||||||
|
not have write access on shared directory) and have your openttd.cfg config
|
||||||
|
file in personal directory (where the game will then also place savegames and
|
||||||
|
screenshots).
|
||||||
|
|
||||||
|
### 4.3) Portable installations (portable media)
|
||||||
|
|
||||||
|
You can install OpenTTD on external media so you can take it with you, i.e.
|
||||||
|
using a USB key, or a USB HDD, etc.
|
||||||
|
Create a directory where you shall store the game in (i.e. OpenTTD/).
|
||||||
|
Copy the binary (OpenTTD.exe, OpenTTD.app, openttd, etc), baseset/ and your
|
||||||
|
openttd.cfg to this directory.
|
||||||
|
You can copy binaries for any operating system into this directory, which will
|
||||||
|
allow you to play the game on nearly any computer you can attach the external
|
||||||
|
media to.
|
||||||
|
As always - additional grf files are stored in the newgrf/ dir (for details,
|
||||||
|
again, see section 4.1).
|
||||||
|
|
||||||
|
### 4.4) Files in tar (archives)
|
||||||
|
|
||||||
|
OpenTTD can read files that are in an uncompressed tar (archive), which
|
||||||
|
makes it easy to bundle files belonging to the same script, NewGRF or base
|
||||||
|
set. Music sets are the only exception as they cannot be stored in a tar
|
||||||
|
file due to being played by external applications.
|
||||||
|
|
||||||
|
OpenTTD sees each tar archive as the 'root' of its search path. This means that
|
||||||
|
having a file with the same path in two different tar files means that one
|
||||||
|
cannot be opened, after all only one file will be found first. As such it is
|
||||||
|
advisable to put an uniquely named folder in the root of the tar and put all the
|
||||||
|
content in that folder. For example, all downloaded content has a path that
|
||||||
|
concatenates the name of the content and the version, which makes the path
|
||||||
|
unique. For custom tar files it is advised to do this as well.
|
||||||
|
|
||||||
|
The normal files are also referred to by their relative path from the search
|
||||||
|
directory, this means that also normal files could hide files in a tar as
|
||||||
|
long as the relative path from the search path of the normal file is the
|
||||||
|
same as the path in the tar file. Again it is advised to have an unique path
|
||||||
|
to the normal file so they do not collide with the files from other tar
|
||||||
|
files.
|
||||||
|
|
||||||
|
## 5.0) OpenTTD features
|
||||||
|
|
||||||
|
OpenTTD has a lot of features going beyond the original Transport Tycoon Deluxe
|
||||||
|
emulation. Unfortunately, there is currently no comprehensive list of features,
|
||||||
|
but there is a basic features list on the web, and some optional features can be
|
||||||
|
controlled through the Advanced Settings dialog. We also implement some
|
||||||
|
features known from [TTDPatch](https://www.ttdpatch.net).
|
||||||
|
|
||||||
|
Several important non-standard controls:
|
||||||
|
|
||||||
|
- Ctrl modifies many commands and makes them more powerful. For example Ctrl
|
||||||
|
clicking on signals with the build signal tool changes their behaviour,
|
||||||
|
holding Ctrl while the track build tool is activated changes it to the track
|
||||||
|
removal tool, and so on. See https://wiki.openttd.org/Hidden_features
|
||||||
|
for a non-comprehensive list or look at the tooltips.
|
||||||
|
- Ingame console. More information at https://wiki.openttd.org/Console
|
||||||
|
- Hovering over a GUI element shows tooltips. This can be changed to right click
|
||||||
|
via the advanced settings.
|
||||||
|
|
||||||
|
### 5.1) Logging of potentially dangerous actions
|
||||||
|
|
||||||
|
OpenTTD is a complex program, and together with NewGRF, it may show a buggy
|
||||||
|
behaviour. But not only bugs in code can cause problems. There are several
|
||||||
|
ways to affect game state possibly resulting in program crash or multiplayer
|
||||||
|
desyncs.
|
||||||
|
|
||||||
|
Easier way would be to forbid all these unsafe actions, but that would affect
|
||||||
|
game usability for many players. We certainly do not want that.
|
||||||
|
However, we receive bug reports because of this. To reduce time spent with
|
||||||
|
solving these problems, these potentially unsafe actions are logged in
|
||||||
|
the savegame (including crash.sav). Log is stored in crash logs, too.
|
||||||
|
|
||||||
|
Information logged:
|
||||||
|
|
||||||
|
- Adding / removing / changing order of NewGRFs
|
||||||
|
- Changing NewGRF parameters, loading compatible NewGRF
|
||||||
|
- Changing game mode (scenario editor <-> normal game)
|
||||||
|
- Loading game saved in a different OpenTTD / TTDPatch / Transport Tycoon Deluxe /
|
||||||
|
original Transport Tycoon version
|
||||||
|
- Running a modified OpenTTD build
|
||||||
|
- Changing settings affecting NewGRF behaviour (non-network-safe settings)
|
||||||
|
- Triggering NewGRF bugs
|
||||||
|
|
||||||
|
No personal information is stored.
|
||||||
|
|
||||||
|
You can show the game log by typing 'gamelog' in the console or by running
|
||||||
|
OpenTTD in debug mode.
|
||||||
|
|
||||||
|
### 5.2) Frame rate and performance metrics
|
||||||
|
|
||||||
|
The Help menu in-game has a function to open the Frame rate window. This
|
||||||
|
window shows various real-time performance statistics, measuring what parts
|
||||||
|
of the game require the most processing power currently.
|
||||||
|
|
||||||
|
A summary of the statistics can also be retrieved from the console with the
|
||||||
|
`fps` command. This is especially useful on dedicated servers, where the
|
||||||
|
administrator might want to determine what's limiting performance in a slow
|
||||||
|
game.
|
||||||
|
|
||||||
|
The frame rate is given as two figures, the simulation rate and the graphics
|
||||||
|
frame rate. Usually these are identical, as the screen is rendered exactly
|
||||||
|
once per simulated tick, but in the future there might be support for graphics
|
||||||
|
and simulation running at different rates. When the game is paused, the
|
||||||
|
simulation rate drops to zero.
|
||||||
|
|
||||||
|
In addition to the simulation rate, a game speed factor is also calculated.
|
||||||
|
This is based on the target simulation speed, which is 30 milliseconds per
|
||||||
|
game tick. At that speed, the expected frame rate is 33.33 frames/second, and
|
||||||
|
the game speed factor is how close to that target the actual rate is. When
|
||||||
|
the game is in fast forward mode, the game speed factor shows how much
|
||||||
|
speed up is achieved.
|
||||||
|
|
||||||
|
The lower part of the window shows timing statistics for individual parts of
|
||||||
|
the game. The times shown are short-term and long-term averages of how long
|
||||||
|
it takes to process one tick of game time, all figures are in milliseconds.
|
||||||
|
|
||||||
|
Clicking a line in the lower part of the window opens a graph window, giving
|
||||||
|
detailed readings on each tick simulated by the game.
|
||||||
|
|
||||||
|
The following is an explanation of the different statistics:
|
||||||
|
|
||||||
|
- *Game loop* - Total processing time used per simulated "tick" in the game.
|
||||||
|
This includes all pathfinding, world updates, and economy handling.
|
||||||
|
- *Cargo handling* - Time spent loading/unloading cargo at stations, and
|
||||||
|
industries and towns sending/retrieving cargo from stations.
|
||||||
|
- *Train ticks*, *Road vehicle ticks*, *Ship ticks*, *Aircraft ticks* -
|
||||||
|
Time spent on pathfinding and other processing for each player vehicle type.
|
||||||
|
- *World ticks* - Time spent on other world/landscape processing. This
|
||||||
|
includes towns growing, building animations, updates of farmland and trees,
|
||||||
|
and station rating updates.
|
||||||
|
- *Link graph delay* - Time overruns of the cargo distribution link graph
|
||||||
|
update thread. Usually the link graph is updated in a background thread,
|
||||||
|
but these updates need to synchronise with the main game loop occasionally,
|
||||||
|
if the time spent on link graph updates is longer than the time taken to
|
||||||
|
otherwise simulate the game while it was updating, these delays are counted
|
||||||
|
in this figure.
|
||||||
|
- *Graphics rendering* - Total time spent rendering all graphics, including
|
||||||
|
both GUI and world viewports. This typically spikes when panning the view
|
||||||
|
around, and when more things are happening on screen at once.
|
||||||
|
- *World viewport rendering* - Isolated time spent rendering just world
|
||||||
|
viewports. If this figure is significantly lower than the total graphics
|
||||||
|
rendering time, most time is spent rendering GUI than rendering world.
|
||||||
|
- *Video output* - Speed of copying the rendered graphics to the display
|
||||||
|
adapter. Usually this should be very fast (in the range of 0-3 ms), large
|
||||||
|
values for this can indicate a graphics driver problem.
|
||||||
|
- *Sound mixing* - Speed of mixing active audio samples together. Usually
|
||||||
|
this should be very fast (in the range of 0-3 ms), if it is slow, consider
|
||||||
|
switching to the NoSound set.
|
||||||
|
|
||||||
|
If the frame rate window is shaded, the title bar will instead show just the
|
||||||
|
current simulation rate and the game speed factor.
|
||||||
|
|
||||||
|
## 6.0) Configuration file
|
||||||
|
|
||||||
|
The configuration file for OpenTTD (openttd.cfg) is in a simple Windows-like
|
||||||
|
.INI format. It is mostly undocumented. Almost all settings can be changed
|
||||||
|
ingame by using the 'Advanced Settings' window.
|
||||||
|
When you cannot find openttd.cfg you should look in the directories as
|
||||||
|
described in section 4.2. If you do not have an openttd.cfg OpenTTD will
|
||||||
|
create one after closing.
|
||||||
|
|
||||||
|
## 7.0) Compiling
|
||||||
|
|
||||||
|
### Windows:
|
||||||
|
|
||||||
|
You need Microsoft Visual Studio 2015 Update 3 or more recent. Open the project file
|
||||||
|
and it should build automatically. In case you want to build with SDL support
|
||||||
|
you need to add WITH_SDL to the project settings.
|
||||||
|
|
||||||
|
PNG (WITH_PNG), ZLIB (WITH_ZLIB), LZO (WITH_LZO), Freetype (WITH_FREETYPE) and
|
||||||
|
LZMA (WITH_LZMA) support is enabled by default. For these to work you need their
|
||||||
|
development files. To get them just use vcpkg from https://github.com/Microsoft/vcpkg
|
||||||
|
using x86-windows-static and x64-windows-static triplets.
|
||||||
|
For more help with VS see docs/Readme_Windows_MSVC.md.
|
||||||
|
|
||||||
|
You can also build it using the Makefile with MSYS/MinGW or Cygwin/MinGW.
|
||||||
|
Please read the Makefile for more information.
|
||||||
|
|
||||||
|
### Solaris, FreeBSD, OpenBSD:
|
||||||
|
|
||||||
|
Use '`gmake`', but do a '`./configure`' before the first build.
|
||||||
|
|
||||||
|
### Linux/Unix:
|
||||||
|
|
||||||
|
OpenTTD can be built with GNU '`make`'. On non-GNU systems it is called '`gmake`'.
|
||||||
|
However, for the first build one has to do a '`./configure`' first.
|
||||||
|
|
||||||
|
### macOS:
|
||||||
|
|
||||||
|
Use '`make`' or Xcode (which will then call make for you)
|
||||||
|
This will give you a binary for your CPU type (PPC/Intel)
|
||||||
|
However, for the first build one has to do a '`./configure`' first.
|
||||||
|
To make a universal binary type '`./configure --enabled-universal`'
|
||||||
|
instead of '`./configure`'.
|
||||||
|
|
||||||
|
### BeOS:
|
||||||
|
|
||||||
|
Use '`make`', but do a '`./configure`' before the first build.
|
||||||
|
|
||||||
|
### MorphOS:
|
||||||
|
|
||||||
|
Use '`make`'. However, for the first build one has to do a '`./configure`'
|
||||||
|
first. Note that you need the MorphOS SDK, latest libnix updates (else C++
|
||||||
|
parts of OpenTTD will not build) and the powersdl.library SDK. Optionally libz,
|
||||||
|
libpng and freetype2 developer files.
|
||||||
|
|
||||||
|
### OS/2:
|
||||||
|
|
||||||
|
A comprehensive GNU build environment is required to build the OS/2 version.
|
||||||
|
See the docs/Readme_OS2.txt file for more information.
|
||||||
|
|
||||||
|
### DOS:
|
||||||
|
|
||||||
|
A build environment with DJGPP is needed as well as libraries such as
|
||||||
|
Allegro, zlib and libpng, which all can be downloaded from the DJGPP
|
||||||
|
website. Compilation is straight forward: use '`make`', but do a '`./configure`'
|
||||||
|
before the first build. The build binary will need cwsdpmi.exe to be in
|
||||||
|
the same directory as the openttd executable. cwsdpmi.exe can be found in
|
||||||
|
the os/dos/cwsdpmi subdirectory. If you compile with stripping turned on a
|
||||||
|
binary will be generated that does not need cwsdpmi.exe by adding the
|
||||||
|
cswdstub.exe to the created OpenTTD binary.
|
||||||
|
|
||||||
|
### 7.1) Required/optional libraries
|
||||||
|
|
||||||
|
The following libraries are used by OpenTTD for:
|
||||||
|
|
||||||
|
- libSDL/liballegro: hardware access (video, sound, mouse)
|
||||||
|
- zlib: (de)compressing of old (0.3.0-1.0.5) savegames, content downloads,
|
||||||
|
heightmaps
|
||||||
|
- liblzo2: (de)compressing of old (pre 0.3.0) savegames
|
||||||
|
- liblzma: (de)compressing of savegames (1.1.0 and later)
|
||||||
|
- libpng: making screenshots and loading heightmaps
|
||||||
|
- libfreetype: loading generic fonts and rendering them
|
||||||
|
- libfontconfig: searching for fonts, resolving font names to actual fonts
|
||||||
|
- libicu: handling of right-to-left scripts (e.g. Arabic and Persian) and
|
||||||
|
natural sorting of strings.
|
||||||
|
|
||||||
|
OpenTTD does not require any of the libraries to be present, but without
|
||||||
|
liblzma you cannot open most recent savegames and without zlib you cannot
|
||||||
|
open most older savegames or use the content downloading system.
|
||||||
|
Without libSDL/liballegro on non-Windows and non-macOS machines you have
|
||||||
|
no graphical user interface; you would be building a dedicated server.
|
||||||
|
|
||||||
|
### 7.2) Supported compilers
|
||||||
|
|
||||||
|
The following compilers are known to compile OpenTTD:
|
||||||
|
|
||||||
|
- Microsoft Visual C++ (MSVC) 2015, 2017 and 2019.
|
||||||
|
- GNU Compiler Collection (GCC) 3.3 - 4.4, 4.6 - 4.8.
|
||||||
|
- Versions 4.1 and earlier give bogus warnings about uninitialised variables.
|
||||||
|
- Versions 4.4, 4.6 give bogus warnings about freeing non-heap objects.
|
||||||
|
- Versions 4.6 and later give invalid warnings when lto is enabled.
|
||||||
|
- Intel C++ Compiler (ICC) 12.0.
|
||||||
|
- Clang/LLVM 2.9 - 3.0
|
||||||
|
Version 2.9 gives bogus warnings about code nonconformity.
|
||||||
|
|
||||||
|
The following compilers are known not to compile OpenTTD:
|
||||||
|
|
||||||
|
- Microsoft Visual C++ (MSVC) 2013 and earlier.
|
||||||
|
These old versions do not support modern C++ language features.
|
||||||
|
- GNU Compiler Collection (GCC) 3.2 and earlier.
|
||||||
|
These old versions fail due to OpenTTD's template usage.
|
||||||
|
- GNU Compiler Collection (GCC) 4.5. It optimizes enums too aggressively.
|
||||||
|
See https://github.com/OpenTTD/OpenTTD/issues/5513 and references therein.
|
||||||
|
- Intel C++ Compiler (ICC) 11.1 and earlier.
|
||||||
|
- Version 10.0 and earlier fail a configure check and fail with recent
|
||||||
|
system headers.
|
||||||
|
- Version 10.1 fails to compile station_gui.cpp.
|
||||||
|
- Version 11.1 fails with an internal error when compiling network.cpp.
|
||||||
|
- Clang/LLVM 2.8 and earlier.
|
||||||
|
- (Open) Watcom.
|
||||||
|
|
||||||
|
If any of these compilers can compile OpenTTD again, please let us know.
|
||||||
|
Patches to support more compilers are welcome.
|
||||||
|
|
||||||
|
### 7.3) Compilation of base sets
|
||||||
|
|
||||||
|
To recompile the extra graphics needed to play with the original Transport
|
||||||
|
Tycoon Deluxe graphics you need GRFCodec (which includes NFORenum) as well.
|
||||||
|
GRFCodec can be found at https://www.openttd.org/download-grfcodec.
|
||||||
|
The compilation of these extra graphics does generally not happen, unless
|
||||||
|
you remove the graphics file using '`make maintainer-clean`'.
|
||||||
|
|
||||||
|
Re-compilation of the base sets, thus also use of '`--maintainer-clean`' can
|
||||||
|
leave the repository in a modified state as different grfcodec versions can
|
||||||
|
cause binary differences in the resulting grf. Also translations might have
|
||||||
|
been added for the base sets which are not yet included in the base set
|
||||||
|
information files. Use the configure option '`--without-grfcodec`' to avoid
|
||||||
|
modification of the base set files by the build process.
|
||||||
|
|
||||||
|
## 8.0) Translating
|
||||||
|
|
||||||
|
See https://www.openttd.org/development for up-to-date information.
|
||||||
|
|
||||||
|
The use of the online Translator service, located at
|
||||||
|
https://translator.openttd.org, is highly encouraged. For getting an account
|
||||||
|
simply follow the guidelines in the FAQ of the translator website.
|
||||||
|
|
||||||
|
If for some reason the website is down for a longer period of time, the
|
||||||
|
information below might be of help.
|
||||||
|
|
||||||
|
Please contact the translations manager (https://www.openttd.org/contact)
|
||||||
|
before beginning the translation process! This avoids double work, as
|
||||||
|
someone else may have already started translating to the same language.
|
||||||
|
|
||||||
|
### 8.1) Translation
|
||||||
|
|
||||||
|
So, now that you have notified the development team about your intention to
|
||||||
|
translate (You did, right? Of course you did.) you can pick up english.txt
|
||||||
|
(found in the Git repository under /src/lang) and translate.
|
||||||
|
|
||||||
|
You must change the first two lines of the file appropriately:
|
||||||
|
|
||||||
|
##name English-Name-Of-Language
|
||||||
|
##ownname Native-Name-Of-Language
|
||||||
|
|
||||||
|
Note: Do not alter the following parts of the file:
|
||||||
|
|
||||||
|
- String identifiers (the first word on each line)
|
||||||
|
- Parts of the strings which are in curly braces (such as {STRING})
|
||||||
|
- Lines beginning with ## (such as ##id), other than the first two lines
|
||||||
|
of the file
|
||||||
|
|
||||||
|
### 8.2) Previewing
|
||||||
|
|
||||||
|
In order to view the translation in the game, you need to compile your language
|
||||||
|
file with the strgen utility. As this utility is tailored to a specific OpenTTD
|
||||||
|
version, you need to compile it yourself. Just take the normal OpenTTD sources
|
||||||
|
and build that. During the build process the strgen utility will be made.
|
||||||
|
|
||||||
|
strgen is a command-line utility. It takes the language filename as parameter.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
strgen lang/german.txt
|
||||||
|
|
||||||
|
This results in compiling german.txt and produces another file named german.lng.
|
||||||
|
Any missing strings are replaced with the English strings. Note that it looks
|
||||||
|
for english.txt in the lang subdirectory, which is where your language file
|
||||||
|
should also be.
|
||||||
|
|
||||||
|
That is all! You should now be able to select the language in the game options.
|
||||||
|
|
||||||
|
## 9.0) Troubleshooting
|
||||||
|
|
||||||
|
To see all startup options available to you, start OpenTTD with the
|
||||||
|
'`./openttd -h`' option. This might help you tweak some of the settings.
|
||||||
|
|
||||||
|
If the game is acting strange and you feel adventurous you can try the
|
||||||
|
'`-d [[<name>=]<level>]`' flag, where the higher levels will give you more
|
||||||
|
debugging output. The 'name' variable can help you to display only some type of
|
||||||
|
debugging messages. This is mostly undocumented so best is to look in the
|
||||||
|
source code file debug.c for the various debugging types. For more information
|
||||||
|
look at https://wiki.openttd.org/Command_line.
|
||||||
|
|
||||||
|
The most frequent problem is missing data files. Please install OpenGFX and
|
||||||
|
possibly OpenSFX and OpenMSX. See section 4.1.1 for more information.
|
||||||
|
|
||||||
|
Under certain circumstance, especially on Ubuntu OpenTTD can be extremely slow
|
||||||
|
and/or freeze. See known-bugs.txt for more information and how to solve this
|
||||||
|
problem on your computer.
|
||||||
|
|
||||||
|
Under Windows 98 and lower it is impossible to use a dedicated server; it will
|
||||||
|
fail to start. Perhaps this is for the better because those OSes are not known
|
||||||
|
for their stability.
|
||||||
|
|
||||||
|
With the added support for font-based text selecting a non-latin language can
|
||||||
|
result in lots of question marks ('?') being shown on screen. Please open your
|
||||||
|
configuration file (openttd.cfg - see Section 4.2 for where to find it)
|
||||||
|
and add a suitable font for the small, medium and / or large font, e.g.:
|
||||||
|
|
||||||
|
small_font = "Tahoma"
|
||||||
|
medium_font = "Tahoma"
|
||||||
|
large_font = "Tahoma"
|
||||||
|
|
||||||
|
You should use a font name like 'Tahoma' or a path to the desired font.
|
||||||
|
|
||||||
|
Any NewGRF file used in a game is stored inside the savegame and will refuse to
|
||||||
|
load if you do not have that NewGRF file available. A list of missing files can
|
||||||
|
be viewed in the NewGRF window accessible from the file load dialogue window.
|
||||||
|
|
||||||
|
You can try to obtain the missing files from that NewGRF dialogue or – if they
|
||||||
|
are not available online – you can search manually through our
|
||||||
|
[forum's graphics development section](https://www.tt-forums.net/viewforum.php?f=66)
|
||||||
|
or [GRFCrawler](https://grfcrawler.tt-forums.net). Put the NewGRF files in
|
||||||
|
OpenTTD's newgrf folder (see section 4.2 'OpenTTD directories') and rescan the
|
||||||
|
list of available NewGRFs. Once you have all missing files, you are set to go.
|
||||||
|
|
||||||
|
## 10.0) Licensing
|
||||||
|
|
||||||
|
OpenTTD is licensed under the GNU General Public License version 2.0. For
|
||||||
|
the complete license text, see the file 'COPYING'. This license applies
|
||||||
|
to all files in this distribution, except as noted below.
|
||||||
|
|
||||||
|
The squirrel implementation in src/3rdparty/squirrel is licensed under
|
||||||
|
the Zlib license. See src/3rdparty/squirrel/COPYRIGHT for the complete
|
||||||
|
license text.
|
||||||
|
|
||||||
|
The md5 implementation in src/3rdparty/md5 is licensed under the Zlib
|
||||||
|
license. See the comments in the source files in src/3rdparty/md5 for
|
||||||
|
the complete license text.
|
||||||
|
|
||||||
|
The implementations of Posix getaddrinfo and getnameinfo for OS/2 in
|
||||||
|
src/3rdparty/os2 are distributed partly under the GNU Lesser General Public
|
||||||
|
License 2.1, and partly under the (3-clause) BSD license. The exact licensing
|
||||||
|
terms can be found in src/3rdparty/os2/getaddrinfo.c resp.
|
||||||
|
src/3rdparty/os2/getnameinfo.c.
|
||||||
|
|
||||||
|
The exe2coff implementation in os/dos/exe2coff is available under the
|
||||||
|
GPL, with a number of additional terms. See os/dos/exe2coff/copying and
|
||||||
|
os/dos/exe2coff/copying.dj for the exact licensing terms.
|
||||||
|
|
||||||
|
The CWSDPMI implementation in os/dos/cwsdpmi is distributed under a
|
||||||
|
custom binary-only license that prohibits modification. The exact
|
||||||
|
licensing terms can be found in os/dos/cwsdpmi/cwsdpmi.txt. The sources
|
||||||
|
for these files can be downloaded at its author site, at
|
||||||
|
http://homer.rice.edu/~sandmann/cwsdpmi/csdpmi5s.zip.
|
||||||
|
|
||||||
|
CONTRIBUTING.md is adapted from
|
||||||
|
[Bootstrap](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
|
||||||
|
under the [Creative Commons Attribution 3.0 Unported
|
||||||
|
License](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE)
|
||||||
|
terms for Bootstrap documentation.
|
||||||
|
|
||||||
|
## X.X) Credits
|
||||||
|
|
||||||
|
### The OpenTTD team (in alphabetical order):
|
||||||
|
|
||||||
|
- Grzegorz Duczyński (adf88) - General coding (since 1.7.2)
|
||||||
|
- Albert Hofkamp (Alberth) - GUI expert (since 0.7)
|
||||||
|
- Matthijs Kooijman (blathijs) - Pathfinder-guru, Debian port (since 0.3)
|
||||||
|
- Ulf Hermann (fonsinchen) - Cargo Distribution (since 1.3)
|
||||||
|
- Christoph Elsenhans (frosch) - General coding (since 0.6)
|
||||||
|
- Loïc Guilloux (glx) - Windows Expert (since 0.4.5)
|
||||||
|
- Michael Lutz (michi_cc) - Path based signals (since 0.7)
|
||||||
|
- Niels Martin Hansen (nielsm) - Music system, general coding (since 1.9)
|
||||||
|
- Owen Rudge (orudge) - Forum host, OS/2 port (since 0.1)
|
||||||
|
- Peter Nelson (peter1138) - Spiritual descendant from newGRF gods (since 0.4.5)
|
||||||
|
- Ingo von Borstel (planetmaker) - General coding, Support (since 1.1)
|
||||||
|
- Remko Bijker (Rubidium) - Lead coder and way more (since 0.4.5)
|
||||||
|
- José Soler (Terkhen) - General coding (since 1.0)
|
||||||
|
- Leif Linse (Zuu) - AI/Game Script (since 1.2)
|
||||||
|
|
||||||
|
### Inactive Developers:
|
||||||
|
|
||||||
|
- Jean-François Claeys (Belugas) - GUI, newindustries and more (0.4.5 - 1.0)
|
||||||
|
- Bjarni Corfitzen (Bjarni) - macOS port, coder and vehicles (0.3 - 0.7)
|
||||||
|
- Victor Fischer (Celestar) - Programming everywhere you need him to (0.3 - 0.6)
|
||||||
|
- Jaroslav Mazanec (KUDr) - YAPG (Yet Another Pathfinder God) ;) (0.4.5 - 0.6)
|
||||||
|
- Jonathan Coome (Maedhros) - High priest of the NewGRF Temple (0.5 - 0.6)
|
||||||
|
- Attila Bán (MiHaMiX) - WebTranslator 1 and 2 (0.3 - 0.5)
|
||||||
|
- Zdeněk Sojka (SmatZ) - Bug finder and fixer (0.6 - 1.3)
|
||||||
|
- Christoph Mallon (Tron) - Programmer, code correctness police (0.3 - 0.5)
|
||||||
|
- Patric Stout (TrueBrain) - NoProgrammer (0.3 - 1.2), sys op (active)
|
||||||
|
- Thijs Marinussen (Yexo) - AI Framework, General (0.6 - 1.3)
|
||||||
|
|
||||||
|
### Retired Developers:
|
||||||
|
|
||||||
|
- Tamás Faragó (Darkvater) - Ex-Lead coder (0.3 - 0.5)
|
||||||
|
- Dominik Scherer (dominik81) - Lead programmer, GUI expert (0.3 - 0.3)
|
||||||
|
- Emil Djupfeld (egladil) - macOS port (0.4 - 0.6)
|
||||||
|
- Simon Sasburg (HackyKid) - Bug fixer (0.4 - 0.4.5)
|
||||||
|
- Ludvig Strigeus (ludde) - Original author of OpenTTD, main coder (0.1 - 0.3)
|
||||||
|
- Cian Duffy (MYOB) - BeOS port / manual writing (0.1 - 0.3)
|
||||||
|
- Petr Baudiš (pasky) - Many patches, newgrf support, etc. (0.3 - 0.3)
|
||||||
|
- Benedikt Brüggemeier (skidd13) - Bug fixer and code reworker (0.6 - 0.7)
|
||||||
|
- Serge Paquet (vurlix) - 2nd contributor after ludde (0.1 - 0.3)
|
||||||
|
|
||||||
|
### Thanks to:
|
||||||
|
|
||||||
|
- Josef Drexler - For his great work on TTDPatch.
|
||||||
|
- Marcin Grzegorczyk - For his TTDPatch work and documentation of Transport Tycoon Deluxe internals and track foundations
|
||||||
|
- Stefan Meißner (sign_de) - For his work on the console
|
||||||
|
- Mike Ragsdale - OpenTTD installer
|
||||||
|
- Christian Rosentreter (tokai) - MorphOS / AmigaOS port
|
||||||
|
- Richard Kempton (RichK67) - Additional airports, initial TGP implementation
|
||||||
|
- Alberto Demichelis - Squirrel scripting language
|
||||||
|
- L. Peter Deutsch - MD5 implementation
|
||||||
|
- Michael Blunck - For revolutionizing TTD with awesome graphics
|
||||||
|
- George - Canal graphics
|
||||||
|
- Andrew Parkhouse (andythenorth) - River graphics
|
||||||
|
- David Dallaston (Pikka) - Tram tracks
|
||||||
|
- All Translators - For their support to make OpenTTD a truly international game
|
||||||
|
- Bug Reporters - Thanks for all bug reports
|
||||||
|
- Chris Sawyer - For an amazing game!
|
||||||
64
azure-pipelines-ci.yml
Normal file
64
azure-pipelines-ci.yml
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
pr:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- job: windows
|
||||||
|
displayName: 'Windows'
|
||||||
|
pool:
|
||||||
|
vmImage: 'VS2017-Win2016'
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Win32:
|
||||||
|
BuildPlatform: 'Win32'
|
||||||
|
Win64:
|
||||||
|
BuildPlatform: 'x64'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: azure-pipelines/templates/ci-git-rebase.yml
|
||||||
|
- template: azure-pipelines/templates/windows-dependencies.yml
|
||||||
|
- template: azure-pipelines/templates/ci-opengfx.yml
|
||||||
|
- template: azure-pipelines/templates/windows-build.yml
|
||||||
|
parameters:
|
||||||
|
BuildPlatform: $(BuildPlatform)
|
||||||
|
- script: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
|
||||||
|
cd projects
|
||||||
|
call regression.bat
|
||||||
|
displayName: 'Test'
|
||||||
|
|
||||||
|
- job: linux
|
||||||
|
displayName: 'Linux'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
commit-checker: {}
|
||||||
|
linux-amd64-clang-3.8: {}
|
||||||
|
linux-amd64-gcc-6: {}
|
||||||
|
linux-i386-gcc-6: {}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: azure-pipelines/templates/ci-git-rebase.yml
|
||||||
|
# The dockers already have the dependencies installed
|
||||||
|
# The dockers already have OpenGFX installed
|
||||||
|
- template: azure-pipelines/templates/linux-build.yml
|
||||||
|
parameters:
|
||||||
|
Image: compile-farm-ci
|
||||||
|
Tag: $(Agent.JobName)
|
||||||
|
|
||||||
|
- job: macos
|
||||||
|
displayName: 'MacOS'
|
||||||
|
pool:
|
||||||
|
vmImage: 'macOS-10.13'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: azure-pipelines/templates/ci-git-rebase.yml
|
||||||
|
- template: azure-pipelines/templates/osx-dependencies.yml
|
||||||
|
- template: azure-pipelines/templates/ci-opengfx.yml
|
||||||
|
- template: azure-pipelines/templates/osx-build.yml
|
||||||
|
- script: 'make regression'
|
||||||
|
displayName: 'Test'
|
||||||
10
azure-pipelines-release-stable.yml
Normal file
10
azure-pipelines-release-stable.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
trigger:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- refs/tags/*
|
||||||
|
pr: none
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- template: azure-pipelines/templates/release.yml
|
||||||
|
parameters:
|
||||||
|
IsStableRelease: true
|
||||||
7
azure-pipelines-release.yml
Normal file
7
azure-pipelines-release.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
trigger: none
|
||||||
|
pr: none
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- template: azure-pipelines/templates/release.yml
|
||||||
|
parameters:
|
||||||
|
IsStableRelease: false
|
||||||
20
azure-pipelines/changelog.sh
Executable file
20
azure-pipelines/changelog.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
tag=$(git describe --tags 2>/dev/null)
|
||||||
|
|
||||||
|
# If we are a tag, show the part of the changelog that matches the tag.
|
||||||
|
# In case of a stable, also show all betas and RCs.
|
||||||
|
if [ -n "$tag" ]; then
|
||||||
|
grep="."
|
||||||
|
if [ "$(echo $tag | grep '-')" = "" ]; then
|
||||||
|
grep='^[0-9]\.[0-9]\.[0-9][^-]'
|
||||||
|
fi
|
||||||
|
next=$(cat changelog.txt | grep '^[0-9]' | awk 'BEGIN { show="false" } // { if (show=="true") print $0; if ($1=="'$tag'") show="true"} ' | grep "$grep" | head -n1 | sed 's/ .*//')
|
||||||
|
cat changelog.txt | awk 'BEGIN { show="false" } /^[0-9].[0-9].[0-9]/ { if ($1=="'$next'") show="false"; if ($1=="'$tag'") show="true";} // { if (show=="true") print $0 }'
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# In all other cases, show the git log of the last 7 days
|
||||||
|
revdate=$(git log -1 --pretty=format:"%ci")
|
||||||
|
last_week=$(date -u -d "$revdate -7days" +"%Y-%m-%d %H:%M")
|
||||||
|
git log --after="${last_week}" --pretty=fuller
|
||||||
60
azure-pipelines/manifest.sh
Executable file
60
azure-pipelines/manifest.sh
Executable file
@@ -0,0 +1,60 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Usage: $0 <folder-with-bundles>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
FOLDER=$1
|
||||||
|
|
||||||
|
if [ ! -e .version ] || [ ! -e .release_date ]; then
|
||||||
|
echo "This script should be executed in the root of an extracted source tarball"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Find the name based on the version
|
||||||
|
if [ -e .is_stable ]; then
|
||||||
|
isTesting=$(cat .version | grep "RC\|beta" || true)
|
||||||
|
if [ -z "${isTesting}" ]; then
|
||||||
|
NAME="stable"
|
||||||
|
else
|
||||||
|
NAME="testing"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
NAME=$(cat .version | cut -d- -f2 | cut -d- -f-2)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Convert the date to a YAML date
|
||||||
|
DATE=$(cat .release_date | tr ' ' T | sed 's/TUTC/:00-00:00/')
|
||||||
|
VERSION=$(cat .version)
|
||||||
|
BASE="openttd-${VERSION}"
|
||||||
|
|
||||||
|
echo "name: ${NAME}" >> manifest.yaml
|
||||||
|
echo "date: ${DATE}" >> manifest.yaml
|
||||||
|
echo "base: ${BASE}-" >> manifest.yaml
|
||||||
|
echo "files:" >> manifest.yaml
|
||||||
|
|
||||||
|
error=""
|
||||||
|
for i in $(ls ${FOLDER} | grep -v ".txt$\|.md$\|sum$" | sort); do
|
||||||
|
if [ -n "$(echo $i | grep pdb.xz)" ]; then continue; fi
|
||||||
|
if [ -n "$(echo $i | grep dbg.deb)" ]; then continue; fi
|
||||||
|
|
||||||
|
if [ ! -e ${FOLDER}/$i.md5sum ] || [ ! -e ${FOLDER}/$i.sha1sum ] || [ ! -e ${FOLDER}/$i.sha256sum ]; then
|
||||||
|
echo "ERROR: missing checksum file for ${i}" 1>&2
|
||||||
|
error="y"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "- id: $i" >> manifest.yaml
|
||||||
|
echo " size: $(stat -c"%s" ${FOLDER}/$i)" >> manifest.yaml
|
||||||
|
echo " md5sum: $(cat ${FOLDER}/$i.md5sum | cut -d\ -f1)" >> manifest.yaml
|
||||||
|
echo " sha1sum: $(cat ${FOLDER}/$i.sha1sum | cut -d\ -f1)" >> manifest.yaml
|
||||||
|
echo " sha256sum: $(cat ${FOLDER}/$i.sha256sum | cut -d\ -f1)" >> manifest.yaml
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -n "${error}" ]; then
|
||||||
|
echo "ERROR: exiting due to earlier errors" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
9
azure-pipelines/templates/ci-git-rebase.yml
Normal file
9
azure-pipelines/templates/ci-git-rebase.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
steps:
|
||||||
|
# Rebase to origin/master for every PR. This means users don't have to
|
||||||
|
# rebase every time master changes. As long as the PR applies cleanly, we
|
||||||
|
# will validate it.
|
||||||
|
- script: |
|
||||||
|
git config user.email 'info@openttd.org'
|
||||||
|
git config user.name 'OpenTTD CI'
|
||||||
|
git rebase origin/master
|
||||||
|
displayName: 'Rebase to master'
|
||||||
8
azure-pipelines/templates/ci-opengfx.yml
Normal file
8
azure-pipelines/templates/ci-opengfx.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
steps:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
cd bin/baseset
|
||||||
|
curl -L https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip > opengfx-0.5.2-all.zip
|
||||||
|
unzip opengfx-0.5.2-all.zip
|
||||||
|
rm -f opengfx-0.5.2-all.zip
|
||||||
|
displayName: 'Install OpenGFX'
|
||||||
18
azure-pipelines/templates/linux-build.yml
Normal file
18
azure-pipelines/templates/linux-build.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
parameters:
|
||||||
|
Image: ''
|
||||||
|
Tag: ''
|
||||||
|
ContainerCommand: ''
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: Docker@1
|
||||||
|
${{ if eq(parameters.Image, 'compile-farm') }}:
|
||||||
|
displayName: 'Build'
|
||||||
|
${{ if eq(parameters.Image, 'compile-farm-ci') }}:
|
||||||
|
displayName: 'Build and test'
|
||||||
|
inputs:
|
||||||
|
command: 'Run an image'
|
||||||
|
imageName: openttd/${{ parameters.Image }}:${{ parameters.Tag }}
|
||||||
|
volumes: '$(Build.SourcesDirectory):$(Build.SourcesDirectory)'
|
||||||
|
workingDirectory: '$(Build.SourcesDirectory)'
|
||||||
|
containerCommand: ${{ parameters.ContainerCommand }}
|
||||||
|
runInBackground: false
|
||||||
5
azure-pipelines/templates/linux-claim-bundles.yml
Normal file
5
azure-pipelines/templates/linux-claim-bundles.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
steps:
|
||||||
|
# Because we run the compile in a docker (under root), we are not owner
|
||||||
|
# of the 'bundles' folder. Fix that by executing a chown on it.
|
||||||
|
- bash: sudo chown -R $(id -u):$(id -g) bundles
|
||||||
|
displayName: 'Claim bundles folder back'
|
||||||
5
azure-pipelines/templates/osx-build.yml
Normal file
5
azure-pipelines/templates/osx-build.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
steps:
|
||||||
|
- script: './configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig --enable-static'
|
||||||
|
displayName: 'Configure'
|
||||||
|
- script: 'make -j2'
|
||||||
|
displayName: 'Build'
|
||||||
11
azure-pipelines/templates/osx-dependencies.yml
Normal file
11
azure-pipelines/templates/osx-dependencies.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
set -ex
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config lzo xz libpng
|
||||||
|
# Remove the dynamic libraries of these libraries, to ensure we use
|
||||||
|
# the static versions. That is important, as it is unlikely any
|
||||||
|
# end-user has these brew libraries installed.
|
||||||
|
rm /usr/local/Cellar/lzo/*/lib/*.dylib
|
||||||
|
rm /usr/local/Cellar/xz/*/lib/*.dylib
|
||||||
|
rm /usr/local/Cellar/libpng/*/lib/*.dylib
|
||||||
|
displayName: 'Install dependencies'
|
||||||
19
azure-pipelines/templates/release-bundles.yml
Normal file
19
azure-pipelines/templates/release-bundles.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
parameters:
|
||||||
|
CalculateChecksums: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- ${{ if eq(parameters.CalculateChecksums, true) }}:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
cd bundles
|
||||||
|
for i in $(ls); do
|
||||||
|
openssl dgst -r -md5 -hex $i > $i.md5sum
|
||||||
|
openssl dgst -r -sha1 -hex $i > $i.sha1sum
|
||||||
|
openssl dgst -r -sha256 -hex $i > $i.sha256sum
|
||||||
|
done
|
||||||
|
displayName: 'Calculate checksums'
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
displayName: 'Publish bundles'
|
||||||
|
inputs:
|
||||||
|
PathtoPublish: bundles/
|
||||||
|
ArtifactName: bundles
|
||||||
20
azure-pipelines/templates/release-fetch-source.yml
Normal file
20
azure-pipelines/templates/release-fetch-source.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Fetch the source tarball as prepared by an earlier job. In there is the
|
||||||
|
# version predefined. This ensures we are all going to compile the same
|
||||||
|
# source with the same version.
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout: none
|
||||||
|
- task: DownloadBuildArtifacts@0
|
||||||
|
displayName: 'Download source'
|
||||||
|
inputs:
|
||||||
|
downloadType: specific
|
||||||
|
itemPattern: 'bundles/openttd-*-source.tar.xz'
|
||||||
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
- bash: tar --xz -xf ../a/bundles/openttd-*-source.tar.xz --strip-components=1
|
||||||
|
displayName: 'Extracting source'
|
||||||
|
- bash: |
|
||||||
|
set -e
|
||||||
|
VERSION=$(cat .version)
|
||||||
|
echo "${VERSION}"
|
||||||
|
echo "##vso[build.updatebuildnumber]${VERSION}"
|
||||||
|
displayName: 'Change BuildNumber to version'
|
||||||
20
azure-pipelines/templates/release-manifest.yml
Normal file
20
azure-pipelines/templates/release-manifest.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
parameters:
|
||||||
|
IsStableRelease: false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: DownloadBuildArtifacts@0
|
||||||
|
displayName: 'Download all bundles'
|
||||||
|
inputs:
|
||||||
|
downloadType: specific
|
||||||
|
itemPattern: 'bundles/*'
|
||||||
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
- ${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
- script: |
|
||||||
|
touch .is_stable
|
||||||
|
displayName: 'Mark as stable release'
|
||||||
|
- script: |
|
||||||
|
set -ex
|
||||||
|
./azure-pipelines/manifest.sh ../a/bundles/
|
||||||
|
mkdir -p bundles
|
||||||
|
mv manifest.yaml bundles/
|
||||||
|
displayName: 'Create manifest.yaml'
|
||||||
35
azure-pipelines/templates/release-prepare-source.yml
Normal file
35
azure-pipelines/templates/release-prepare-source.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Set the revisions, and remove the VCS files.
|
||||||
|
# This ensures everything else picks up on the predefined versions, and not
|
||||||
|
# that because of some build process the version all of a sudden changes.
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
if [ -n "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER}" ]; then
|
||||||
|
# We are triggered from a GitHub Pull Request
|
||||||
|
git checkout -B pr${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER}
|
||||||
|
elif [ "${BUILD_SOURCEBRANCHNAME}" = "merge" ] || [ "${BUILD_SOURCEBRANCHNAME}" = "head" ]; then
|
||||||
|
# We are manually triggered based on a GitHub Pull Request
|
||||||
|
PULLREQUESTNUMBER=$(echo ${BUILD_SOURCEBRANCH} | cut -d/ -f3)
|
||||||
|
git checkout -B pr${PULLREQUESTNUMBER}
|
||||||
|
else
|
||||||
|
git checkout -B ${BUILD_SOURCEBRANCHNAME}
|
||||||
|
fi
|
||||||
|
|
||||||
|
./findversion.sh > .ottdrev
|
||||||
|
./azure-pipelines/changelog.sh > .changelog
|
||||||
|
TZ='UTC' date +"%Y-%m-%d %H:%M UTC" > .release_date
|
||||||
|
cat .ottdrev | cut -f 1 -d$'\t' > .version
|
||||||
|
echo "Release Date: $(cat .release_date)"
|
||||||
|
echo "Revision: $(cat .ottdrev)"
|
||||||
|
echo "Version: $(cat .version)"
|
||||||
|
displayName: 'Create version files'
|
||||||
|
- script: |
|
||||||
|
set -e
|
||||||
|
VERSION=$(cat .version)
|
||||||
|
echo "${VERSION}"
|
||||||
|
echo "##vso[build.updatebuildnumber]${VERSION}"
|
||||||
|
displayName: 'Change BuildNumber to version'
|
||||||
|
- script: find . -iname .hg -or -iname .git -or -iname .svn | xargs rm -rf
|
||||||
|
displayName: 'Remove VCS information'
|
||||||
172
azure-pipelines/templates/release.yml
Normal file
172
azure-pipelines/templates/release.yml
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
parameters:
|
||||||
|
# If this is false, not all targets are triggered. For example:
|
||||||
|
# The NSIS installer for Windows and the creation of debs only work for
|
||||||
|
# releases. Not for any other type of binary. So they are skilled if this
|
||||||
|
# is set to false.
|
||||||
|
IsStableRelease: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- job: source
|
||||||
|
displayName: 'Source'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-prepare-source.yml
|
||||||
|
- script: |
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Rename the folder to openttd-NNN-source
|
||||||
|
mkdir openttd-$(Build.BuildNumber)
|
||||||
|
find . -maxdepth 1 -not -name . -not -name openttd-$(Build.BuildNumber) -exec mv {} openttd-$(Build.BuildNumber)/ \;
|
||||||
|
# Copy back release_date, as it is needed for the template 'release-bundles'
|
||||||
|
cp openttd-$(Build.BuildNumber)/.release_date .release_date
|
||||||
|
|
||||||
|
mkdir bundles
|
||||||
|
tar --xz -cf bundles/openttd-$(Build.BuildNumber)-source.tar.xz openttd-$(Build.BuildNumber)
|
||||||
|
zip -9 -r -q bundles/openttd-$(Build.BuildNumber)-source.zip openttd-$(Build.BuildNumber)
|
||||||
|
displayName: 'Create bundle'
|
||||||
|
- template: release-bundles.yml
|
||||||
|
|
||||||
|
- job: meta
|
||||||
|
displayName: 'Metadata'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
dependsOn: source
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- script: |
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
mkdir -p bundles
|
||||||
|
cp .changelog bundles/changelog.txt
|
||||||
|
cp .release_date bundles/released.txt
|
||||||
|
cp README.md bundles/README.md
|
||||||
|
displayName: 'Copy meta files'
|
||||||
|
- template: release-bundles.yml
|
||||||
|
parameters:
|
||||||
|
CalculateChecksums: false
|
||||||
|
|
||||||
|
- job: docs
|
||||||
|
displayName: 'Docs'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
dependsOn: source
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- template: linux-build.yml
|
||||||
|
parameters:
|
||||||
|
Image: compile-farm
|
||||||
|
ContainerCommand: '$(Build.BuildNumber)'
|
||||||
|
Tag: docs
|
||||||
|
- template: linux-claim-bundles.yml
|
||||||
|
- template: release-bundles.yml
|
||||||
|
|
||||||
|
- job: windows
|
||||||
|
displayName: 'Windows'
|
||||||
|
pool:
|
||||||
|
vmImage: 'VS2017-Win2016'
|
||||||
|
dependsOn: source
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Win32:
|
||||||
|
BuildPlatform: 'Win32'
|
||||||
|
BundlePlatform: 'win32'
|
||||||
|
Win64:
|
||||||
|
BuildPlatform: 'x64'
|
||||||
|
BundlePlatform: 'win64'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- template: windows-dependencies.yml
|
||||||
|
- template: windows-dependency-zip.yml
|
||||||
|
- ${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
- template: windows-dependency-nsis.yml
|
||||||
|
- template: windows-build.yml
|
||||||
|
parameters:
|
||||||
|
BuildPlatform: $(BuildPlatform)
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
make -f Makefile.msvc bundle_pdb bundle_zip PLATFORM=$(BundlePlatform) BUNDLE_NAME=openttd-$(Build.BuildNumber)-windows-$(BundlePlatform)
|
||||||
|
displayName: 'Create bundles'
|
||||||
|
- ${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
# NSIS will be part of the Hosted image in the next update. Till then, we set the PATH ourself
|
||||||
|
export PATH="${PATH}:/c/Program Files (x86)/NSIS"
|
||||||
|
make -f Makefile.msvc bundle_exe PLATFORM=$(BundlePlatform) BUNDLE_NAME=openttd-$(Build.BuildNumber)-windows-$(BundlePlatform)
|
||||||
|
displayName: 'Create installer bundle'
|
||||||
|
- template: release-bundles.yml
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
- job: linux_stable
|
||||||
|
displayName: 'Linux'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
dependsOn: source
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
linux-ubuntu-xenial-i386-gcc: {}
|
||||||
|
linux-ubuntu-xenial-amd64-gcc: {}
|
||||||
|
linux-ubuntu-bionic-i386-gcc: {}
|
||||||
|
linux-ubuntu-bionic-amd64-gcc: {}
|
||||||
|
linux-debian-jessie-i386-gcc: {}
|
||||||
|
linux-debian-jessie-amd64-gcc: {}
|
||||||
|
linux-debian-stretch-i386-gcc: {}
|
||||||
|
linux-debian-stretch-amd64-gcc: {}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- template: linux-build.yml
|
||||||
|
parameters:
|
||||||
|
Image: compile-farm
|
||||||
|
ContainerCommand: '$(Build.BuildNumber)'
|
||||||
|
Tag: $(Agent.JobName)
|
||||||
|
- template: linux-claim-bundles.yml
|
||||||
|
- template: release-bundles.yml
|
||||||
|
|
||||||
|
- job: macos
|
||||||
|
displayName: 'MacOS'
|
||||||
|
pool:
|
||||||
|
vmImage: 'macOS-10.13'
|
||||||
|
dependsOn: source
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- template: osx-dependencies.yml
|
||||||
|
- template: osx-build.yml
|
||||||
|
- script: 'make bundle_zip bundle_dmg BUNDLE_NAME=openttd-$(Build.BuildNumber)-macosx'
|
||||||
|
displayName: 'Create bundles'
|
||||||
|
- template: release-bundles.yml
|
||||||
|
|
||||||
|
- job: manifest
|
||||||
|
displayName: 'Manifest'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
dependsOn:
|
||||||
|
- source
|
||||||
|
- docs
|
||||||
|
- windows
|
||||||
|
- ${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
- linux_stable
|
||||||
|
- macos
|
||||||
|
# "Skipped" is not a status, and is not succeeded. So it seems to be
|
||||||
|
# considered failed. So we trigger if all the earlier jobs are done (which
|
||||||
|
# might be succeeded, failed, or skipped), and run this job. This is not
|
||||||
|
# optimal, but given the rules, it is the only way to get this to work (as
|
||||||
|
# some jobs might be skipped).
|
||||||
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- template: release-fetch-source.yml
|
||||||
|
- template: release-manifest.yml
|
||||||
|
${{ if eq(parameters.IsStableRelease, true) }}:
|
||||||
|
parameters:
|
||||||
|
IsStableRelease: true
|
||||||
|
- template: release-bundles.yml
|
||||||
|
parameters:
|
||||||
|
CalculateChecksums: false
|
||||||
11
azure-pipelines/templates/windows-build.yml
Normal file
11
azure-pipelines/templates/windows-build.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
parameters:
|
||||||
|
BuildPlatform: ''
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: VSBuild@1
|
||||||
|
displayName: 'Build'
|
||||||
|
inputs:
|
||||||
|
solution: 'projects/openttd_vs141.sln'
|
||||||
|
platform: ${{ parameters.BuildPlatform }}
|
||||||
|
configuration: Release
|
||||||
|
maximumCpuCount: true
|
||||||
10
azure-pipelines/templates/windows-dependencies.yml
Normal file
10
azure-pipelines/templates/windows-dependencies.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
steps:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
curl -L https://github.com/OpenTTD/CompileFarm/releases/download/latest/windows-dependencies.zip > windows-dependencies.zip
|
||||||
|
unzip windows-dependencies.zip
|
||||||
|
rm -f windows-dependencies.zip
|
||||||
|
displayName: 'Download dependencies'
|
||||||
|
workingDirectory: $(Build.ArtifactStagingDirectory)
|
||||||
|
- script: $(Build.ArtifactStagingDirectory)\windows-dependencies\vcpkg.exe integrate install
|
||||||
|
displayName: 'Install dependencies'
|
||||||
26
azure-pipelines/templates/windows-dependency-nsis.yml
Normal file
26
azure-pipelines/templates/windows-dependency-nsis.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
parameters:
|
||||||
|
condition: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
mkdir nsis-plugin; cd nsis-plugin
|
||||||
|
curl -L https://devs.openttd.org/~truebrain/nsis-plugins/Nsis7z.zip > Nsis7z.zip
|
||||||
|
unzip Nsis7z.zip
|
||||||
|
cp -R Plugins/* "/c/Program Files (x86)/NSIS/Plugins/"
|
||||||
|
cd ..; rm -rf nsis-plugin
|
||||||
|
|
||||||
|
mkdir nsis-plugin; cd nsis-plugin
|
||||||
|
curl -L https://devs.openttd.org/~truebrain/nsis-plugins/NsisGetVersion.zip > NsisGetVersion.zip
|
||||||
|
unzip NsisGetVersion.zip
|
||||||
|
cp -R Plugins/* "/c/Program Files (x86)/NSIS/Plugins/x86-ansi/"
|
||||||
|
cd ..; rm -rf nsis-plugin
|
||||||
|
|
||||||
|
mkdir nsis-plugin; cd nsis-plugin
|
||||||
|
curl -L https://devs.openttd.org/~truebrain/nsis-plugins/NsisFindProc.zip > NsisFindProc.zip
|
||||||
|
unzip NsisFindProc.zip
|
||||||
|
cp -R *.dll "/c/Program Files (x86)/NSIS/Plugins/x86-ansi/"
|
||||||
|
cd ..; rm -rf nsis-plugin
|
||||||
|
displayName: 'Install NSIS with the 7z, GetVersion, and FindProc plugins'
|
||||||
|
condition: and(succeeded(), ${{ parameters.condition }})
|
||||||
5
azure-pipelines/templates/windows-dependency-zip.yml
Normal file
5
azure-pipelines/templates/windows-dependency-zip.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
steps:
|
||||||
|
- bash: |
|
||||||
|
set -ex
|
||||||
|
choco install zip
|
||||||
|
displayName: 'Install zip'
|
||||||
17
bin/ai/compat_1.5.nut
Normal file
17
bin/ai/compat_1.5.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
AILog.Info("1.5 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
AIBridge._GetName <- AIBridge.GetName;
|
||||||
|
AIBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return AIBridge._GetName(bridge_id, AIVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/ai/compat_1.6.nut
Normal file
17
bin/ai/compat_1.6.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
AILog.Info("1.6 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
AIBridge._GetName <- AIBridge.GetName;
|
||||||
|
AIBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return AIBridge._GetName(bridge_id, AIVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/ai/compat_1.7.nut
Normal file
17
bin/ai/compat_1.7.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
AILog.Info("1.7 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
AIBridge._GetName <- AIBridge.GetName;
|
||||||
|
AIBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return AIBridge._GetName(bridge_id, AIVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/ai/compat_1.8.nut
Normal file
17
bin/ai/compat_1.8.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
AILog.Info("1.8 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
AIBridge._GetName <- AIBridge.GetName;
|
||||||
|
AIBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return AIBridge._GetName(bridge_id, AIVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
8
bin/ai/compat_1.9.nut
Normal file
8
bin/ai/compat_1.9.nut
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
BIN
bin/ai/regression/empty.sav
Normal file
BIN
bin/ai/regression/empty.sav
Normal file
Binary file not shown.
154
bin/ai/regression/run.vbs
Normal file
154
bin/ai/regression/run.vbs
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
Option Explicit
|
||||||
|
|
||||||
|
' $Id$
|
||||||
|
'
|
||||||
|
' This file is part of OpenTTD.
|
||||||
|
' OpenTTD 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, version 2.
|
||||||
|
' OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Dim FSO
|
||||||
|
Set FSO = CreateObject("Scripting.FileSystemObject")
|
||||||
|
|
||||||
|
Function GetTestList()
|
||||||
|
Dim retests, i, tests, dir
|
||||||
|
Set retests = New RegExp
|
||||||
|
Set GetTestList = CreateObject("Scripting.Dictionary")
|
||||||
|
|
||||||
|
retests.Pattern = "ai/regression/tst_*"
|
||||||
|
retests.Global = True
|
||||||
|
For i = 0 To WScript.Arguments.Count - 1
|
||||||
|
Dim test
|
||||||
|
test = "ai/regression/tst_" & WScript.Arguments.Item(i)
|
||||||
|
If FSO.FolderExists(test) Then
|
||||||
|
retests.Pattern = test
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
For Each dir In FSO.GetFolder("ai/regression/").SubFolders
|
||||||
|
Dim name
|
||||||
|
name = "ai/regression/" & dir.Name
|
||||||
|
If retests.Test(name) Then
|
||||||
|
GetTestList.Add name, name
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Function GetParams()
|
||||||
|
GetParams = "-snull -mnull -vnull:ticks=30000"
|
||||||
|
If WScript.Arguments.Count = 0 Then Exit Function
|
||||||
|
If WScript.Arguments.Item(0) <> "-r" Then Exit Function
|
||||||
|
GetParams = ""
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Sub FilterFile(filename)
|
||||||
|
Dim lines, filter, file
|
||||||
|
|
||||||
|
Set file = FSO.OpenTextFile(filename, 1)
|
||||||
|
If Not file.AtEndOfStream Then
|
||||||
|
lines = file.ReadAll
|
||||||
|
End If
|
||||||
|
file.Close
|
||||||
|
|
||||||
|
Set filter = New RegExp
|
||||||
|
filter.Global = True
|
||||||
|
filter.Multiline = True
|
||||||
|
filter.Pattern = "0x(\(nil\)|0+)(x0)?"
|
||||||
|
lines = filter.Replace(lines, "0x00000000")
|
||||||
|
filter.Pattern = "^dbg: \[script\]"
|
||||||
|
lines = filter.Replace(lines, "")
|
||||||
|
filter.Pattern = "^ "
|
||||||
|
lines = filter.Replace(lines, "ERROR: ")
|
||||||
|
filter.Pattern = "ERROR: \[1\] \[P\] "
|
||||||
|
lines = filter.Replace(lines, "")
|
||||||
|
filter.Pattern = "^dbg: .*\r\n"
|
||||||
|
lines = filter.Replace(lines, "")
|
||||||
|
|
||||||
|
Set file = FSO.OpenTextFile(filename, 2)
|
||||||
|
file.Write lines
|
||||||
|
file.Close
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Function CompareFiles(filename1, filename2)
|
||||||
|
Dim file, lines1, lines2
|
||||||
|
Set file = FSO.OpenTextFile(filename1, 1)
|
||||||
|
If Not file.AtEndOfStream Then
|
||||||
|
lines1 = file.ReadAll
|
||||||
|
End IF
|
||||||
|
file.Close
|
||||||
|
Set file = FSO.OpenTextFile(filename2, 1)
|
||||||
|
If Not file.AtEndOfStream Then
|
||||||
|
lines2 = file.ReadAll
|
||||||
|
End IF
|
||||||
|
file.Close
|
||||||
|
CompareFiles = (lines1 = lines2)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Function RunTest(test, params, ret)
|
||||||
|
Dim WshShell, oExec, sav, command
|
||||||
|
Set WshShell = CreateObject("WScript.Shell")
|
||||||
|
|
||||||
|
' Make sure that only one info.nut is present for each test run. Otherwise openttd gets confused.
|
||||||
|
FSO.CopyFile "ai/regression/regression_info.nut", test & "/info.nut"
|
||||||
|
|
||||||
|
sav = test & "/test.sav"
|
||||||
|
If Not FSO.FileExists(sav) Then
|
||||||
|
sav = "ai/regression/empty.sav"
|
||||||
|
End If
|
||||||
|
|
||||||
|
command = ".\openttd -x -c ai/regression/regression.cfg " & params & " -g " & sav & " -d script=2 -d misc=9"
|
||||||
|
' 2>&1 must be after >tmp.regression, else stderr is not redirected to the file
|
||||||
|
WshShell.Run "cmd /c " & command & " >"& test & "/tmp.regression 2>&1", 0, True
|
||||||
|
|
||||||
|
FilterFile test & "/tmp.regression"
|
||||||
|
|
||||||
|
If CompareFiles(test & "/result.txt", test & "/tmp.regression") Then
|
||||||
|
RunTest = "passed!"
|
||||||
|
Else
|
||||||
|
RunTest = "failed!"
|
||||||
|
ret = 1
|
||||||
|
End If
|
||||||
|
|
||||||
|
FSO.DeleteFile test & "/info.nut"
|
||||||
|
|
||||||
|
If WScript.Arguments.Count > 0 Then
|
||||||
|
If WScript.Arguments.Item(0) = "-k" Then
|
||||||
|
Exit Function
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
FSO.DeleteFile test & "/tmp.regression"
|
||||||
|
End Function
|
||||||
|
|
||||||
|
On Error Resume Next
|
||||||
|
WScript.StdOut.WriteLine ""
|
||||||
|
If Err.Number <> 0 Then
|
||||||
|
WScript.Echo "This script must be started with cscript."
|
||||||
|
WScript.Quit 1
|
||||||
|
End If
|
||||||
|
On Error Goto 0
|
||||||
|
|
||||||
|
If Not FSO.FileExists("ai/regression/run.vbs") Then
|
||||||
|
WScript.Echo "Make sure you are in the root of OpenTTD before starting this script."
|
||||||
|
WScript.Quit 1
|
||||||
|
End If
|
||||||
|
|
||||||
|
If FSO.FileExists("scripts/game_start.scr") Then
|
||||||
|
FSO.MoveFile "scripts/game_start.scr", "scripts/game_start.scr.regression"
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim params, test, ret
|
||||||
|
params = GetParams()
|
||||||
|
ret = 0
|
||||||
|
|
||||||
|
For Each test in GetTestList()
|
||||||
|
WScript.StdOut.Write "Running " & test & "... "
|
||||||
|
WScript.StdOut.WriteLine RunTest(test, params, ret)
|
||||||
|
Next
|
||||||
|
|
||||||
|
If FSO.FileExists("scripts/game_start.scr.regression") Then
|
||||||
|
FSO.MoveFile "scripts/game_start.scr.regression", "scripts/game_start.scr"
|
||||||
|
End If
|
||||||
|
|
||||||
|
WScript.Quit ret
|
||||||
1921
bin/ai/regression/tst_regression/main.nut
Normal file
1921
bin/ai/regression/tst_regression/main.nut
Normal file
File diff suppressed because it is too large
Load Diff
4
bin/ai/regression/tst_regression/require.nut
Normal file
4
bin/ai/regression/tst_regression/require.nut
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
print(" Required this file");
|
||||||
|
|
||||||
9335
bin/ai/regression/tst_regression/result.txt
Normal file
9335
bin/ai/regression/tst_regression/result.txt
Normal file
File diff suppressed because it is too large
Load Diff
216
bin/ai/regression/tst_stationlist/main.nut
Normal file
216
bin/ai/regression/tst_stationlist/main.nut
Normal file
@@ -0,0 +1,216 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
class Regression extends AIController {
|
||||||
|
function Start();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
function Regression::StationList()
|
||||||
|
{
|
||||||
|
local list = AIStationList(AIStation.STATION_BUS_STOP + AIStation.STATION_TRUCK_STOP);
|
||||||
|
|
||||||
|
print("");
|
||||||
|
print("--StationList--");
|
||||||
|
print(" Count(): " + list.Count());
|
||||||
|
list.Valuate(AIStation.GetLocation);
|
||||||
|
print(" Location ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetCargoWaiting, 0);
|
||||||
|
print(" CargoWaiting(0) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetCargoWaiting, 1);
|
||||||
|
print(" CargoWaiting(1) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_Cargo()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_Cargo--");
|
||||||
|
|
||||||
|
for (local mode = AIStationList_Cargo.CM_WAITING; mode <= AIStationList_Cargo.CM_PLANNED; ++mode) {
|
||||||
|
print(" " + mode);
|
||||||
|
for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA ; ++selector) {
|
||||||
|
print(" " + selector);
|
||||||
|
local list = AIStationList_Cargo(mode, selector, 6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoPlanned()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoPlanned--");
|
||||||
|
|
||||||
|
for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA; ++selector) {
|
||||||
|
print(" " + selector);
|
||||||
|
local list = AIStationList_CargoPlanned(selector, 6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoPlannedByFrom()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoPlannedByFrom--");
|
||||||
|
local list = AIStationList_CargoPlannedByFrom(2, 0);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoPlannedByVia()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoPlannedByVia--");
|
||||||
|
local list = AIStationList_CargoPlannedByVia(2, 0);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoPlannedViaByFrom()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoPlannedViaByFrom--");
|
||||||
|
local list = AIStationList_CargoPlannedViaByFrom(6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoPlannedFromByVia()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoPlannedFromByVia--");
|
||||||
|
local list = AIStationList_CargoPlannedFromByVia(6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoWaiting()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoWaiting--");
|
||||||
|
|
||||||
|
for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA; ++selector) {
|
||||||
|
print(" " + selector);
|
||||||
|
local list = AIStationList_CargoWaiting(selector, 6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoWaitingByFrom()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoWaitingByFrom--");
|
||||||
|
local list = AIStationList_CargoWaitingByFrom(2, 0);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoWaitingByVia()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoWaitingByVia--");
|
||||||
|
local list = AIStationList_CargoWaitingByVia(2, 0);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoWaitingViaByFrom()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoWaitingViaByFrom--");
|
||||||
|
local list = AIStationList_CargoWaitingViaByFrom(6, 0, 7);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_CargoWaitingFromByVia()
|
||||||
|
{
|
||||||
|
print("");
|
||||||
|
print("--StationList_CargoWaitingFromByVia--");
|
||||||
|
local list = AIStationList_CargoWaitingFromByVia(2, 0, 2);
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function Regression::StationList_Vehicle()
|
||||||
|
{
|
||||||
|
local list = AIStationList_Vehicle(12);
|
||||||
|
|
||||||
|
print("");
|
||||||
|
print("--StationList_Vehicle--");
|
||||||
|
print(" Count(): " + list.Count());
|
||||||
|
list.Valuate(AIStation.GetLocation);
|
||||||
|
print(" Location ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetCargoWaiting, 0);
|
||||||
|
print(" CargoWaiting(0) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetCargoWaiting, 1);
|
||||||
|
print(" CargoWaiting(1) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetCargoRating, 1);
|
||||||
|
print(" CargoRating(1) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetDistanceManhattanToTile, 30000);
|
||||||
|
print(" DistanceManhattanToTile(30000) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.GetDistanceSquareToTile, 30000);
|
||||||
|
print(" DistanceSquareToTile(30000) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
list.Valuate(AIStation.IsWithinTownInfluence, 0);
|
||||||
|
print(" IsWithinTownInfluence(0) ListDump:");
|
||||||
|
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||||
|
print(" " + i + " => " + list.GetValue(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Regression::Start()
|
||||||
|
{
|
||||||
|
StationList();
|
||||||
|
StationList_Cargo();
|
||||||
|
StationList_CargoPlanned();
|
||||||
|
StationList_CargoPlannedByFrom();
|
||||||
|
StationList_CargoPlannedByVia();
|
||||||
|
StationList_CargoPlannedViaByFrom();
|
||||||
|
StationList_CargoPlannedFromByVia();
|
||||||
|
StationList_CargoWaiting();
|
||||||
|
StationList_CargoWaitingByFrom();
|
||||||
|
StationList_CargoWaitingByVia();
|
||||||
|
StationList_CargoWaitingViaByFrom();
|
||||||
|
StationList_CargoWaitingFromByVia();
|
||||||
|
StationList_Vehicle();
|
||||||
|
}
|
||||||
127
bin/ai/regression/tst_stationlist/result.txt
Normal file
127
bin/ai/regression/tst_stationlist/result.txt
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
|
||||||
|
--StationList--
|
||||||
|
Count(): 5
|
||||||
|
Location ListDump:
|
||||||
|
6 => 42341
|
||||||
|
2 => 41831
|
||||||
|
7 => 41825
|
||||||
|
5 => 33421
|
||||||
|
4 => 33411
|
||||||
|
CargoWaiting(0) ListDump:
|
||||||
|
7 => 6
|
||||||
|
6 => 6
|
||||||
|
2 => 3
|
||||||
|
5 => 0
|
||||||
|
4 => 0
|
||||||
|
CargoWaiting(1) ListDump:
|
||||||
|
7 => 0
|
||||||
|
6 => 0
|
||||||
|
5 => 0
|
||||||
|
4 => 0
|
||||||
|
2 => 0
|
||||||
|
|
||||||
|
--StationList_Cargo--
|
||||||
|
0
|
||||||
|
0
|
||||||
|
6 => 6
|
||||||
|
1
|
||||||
|
6 => 2
|
||||||
|
2
|
||||||
|
2 => 4
|
||||||
|
7 => 2
|
||||||
|
3
|
||||||
|
1
|
||||||
|
0
|
||||||
|
7 => 18
|
||||||
|
6 => 16
|
||||||
|
2 => 7
|
||||||
|
1
|
||||||
|
6 => 8
|
||||||
|
2 => 3
|
||||||
|
2
|
||||||
|
2 => 16
|
||||||
|
6 => 14
|
||||||
|
7 => 11
|
||||||
|
3
|
||||||
|
6 => 10
|
||||||
|
2 => 8
|
||||||
|
|
||||||
|
--StationList_CargoPlanned--
|
||||||
|
0
|
||||||
|
7 => 18
|
||||||
|
6 => 16
|
||||||
|
2 => 7
|
||||||
|
1
|
||||||
|
6 => 8
|
||||||
|
2 => 3
|
||||||
|
2
|
||||||
|
2 => 16
|
||||||
|
6 => 14
|
||||||
|
7 => 11
|
||||||
|
3
|
||||||
|
6 => 10
|
||||||
|
2 => 8
|
||||||
|
|
||||||
|
--StationList_CargoPlannedByFrom--
|
||||||
|
7 => 8
|
||||||
|
6 => 8
|
||||||
|
2 => 7
|
||||||
|
|
||||||
|
--StationList_CargoPlannedByVia--
|
||||||
|
2 => 16
|
||||||
|
6 => 7
|
||||||
|
|
||||||
|
--StationList_CargoPlannedViaByFrom--
|
||||||
|
6 => 8
|
||||||
|
2 => 3
|
||||||
|
|
||||||
|
--StationList_CargoPlannedFromByVia--
|
||||||
|
6 => 10
|
||||||
|
2 => 8
|
||||||
|
|
||||||
|
--StationList_CargoWaiting--
|
||||||
|
0
|
||||||
|
6 => 6
|
||||||
|
1
|
||||||
|
6 => 2
|
||||||
|
2
|
||||||
|
2 => 4
|
||||||
|
7 => 2
|
||||||
|
3
|
||||||
|
|
||||||
|
--StationList_CargoWaitingByFrom--
|
||||||
|
2 => 3
|
||||||
|
|
||||||
|
--StationList_CargoWaitingByVia--
|
||||||
|
6 => 3
|
||||||
|
|
||||||
|
--StationList_CargoWaitingViaByFrom--
|
||||||
|
6 => 2
|
||||||
|
|
||||||
|
--StationList_CargoWaitingFromByVia--
|
||||||
|
6 => 3
|
||||||
|
|
||||||
|
--StationList_Vehicle--
|
||||||
|
Count(): 2
|
||||||
|
Location ListDump:
|
||||||
|
5 => 33421
|
||||||
|
4 => 33411
|
||||||
|
CargoWaiting(0) ListDump:
|
||||||
|
5 => 0
|
||||||
|
4 => 0
|
||||||
|
CargoWaiting(1) ListDump:
|
||||||
|
5 => 0
|
||||||
|
4 => 0
|
||||||
|
CargoRating(1) ListDump:
|
||||||
|
5 => -1
|
||||||
|
4 => -1
|
||||||
|
DistanceManhattanToTile(30000) ListDump:
|
||||||
|
5 => 106
|
||||||
|
4 => 96
|
||||||
|
DistanceSquareToTile(30000) ListDump:
|
||||||
|
5 => 8818
|
||||||
|
4 => 7058
|
||||||
|
IsWithinTownInfluence(0) ListDump:
|
||||||
|
5 => 0
|
||||||
|
4 => 0
|
||||||
|
ERROR: The script died unexpectedly.
|
||||||
BIN
bin/ai/regression/tst_stationlist/test.sav
Normal file
BIN
bin/ai/regression/tst_stationlist/test.sav
Normal file
Binary file not shown.
BIN
bin/baseset/orig_extra.grf
Normal file
BIN
bin/baseset/orig_extra.grf
Normal file
Binary file not shown.
17
bin/game/compat_1.5.nut
Normal file
17
bin/game/compat_1.5.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
GSLog.Info("1.5 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
GSBridge._GetName <- GSBridge.GetName;
|
||||||
|
GSBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return GSBridge._GetName(bridge_id, GSVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/game/compat_1.6.nut
Normal file
17
bin/game/compat_1.6.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
GSLog.Info("1.6 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
GSBridge._GetName <- GSBridge.GetName;
|
||||||
|
GSBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return GSBridge._GetName(bridge_id, GSVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/game/compat_1.7.nut
Normal file
17
bin/game/compat_1.7.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
GSLog.Info("1.7 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
GSBridge._GetName <- GSBridge.GetName;
|
||||||
|
GSBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return GSBridge._GetName(bridge_id, GSVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
17
bin/game/compat_1.8.nut
Normal file
17
bin/game/compat_1.8.nut
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
GSLog.Info("1.8 API compatibility in effect.");
|
||||||
|
|
||||||
|
/* 1.9 adds a vehicle type parameter. */
|
||||||
|
GSBridge._GetName <- GSBridge.GetName;
|
||||||
|
GSBridge.GetName <- function(bridge_id)
|
||||||
|
{
|
||||||
|
return GSBridge._GetName(bridge_id, GSVehicle.VT_RAIL);
|
||||||
|
}
|
||||||
8
bin/game/compat_1.9.nut
Normal file
8
bin/game/compat_1.9.nut
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of OpenTTD.
|
||||||
|
* OpenTTD 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, version 2.
|
||||||
|
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
71
docs/Readme_Windows_MSVC.md
Normal file
71
docs/Readme_Windows_MSVC.md
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
# Compiling OpenTTD using Microsoft Visual C++
|
||||||
|
|
||||||
|
Last updated: 2018-12-27
|
||||||
|
|
||||||
|
## Supported MSVC compilers
|
||||||
|
|
||||||
|
OpenTTD includes projects for Visual Studio 2015 Update 3 or more recent.
|
||||||
|
You can download the free Visual Studio Community Edition from Microsoft at
|
||||||
|
https://visualstudio.microsoft.com/vs/community/.
|
||||||
|
|
||||||
|
## Required files
|
||||||
|
|
||||||
|
### Microsoft platform files
|
||||||
|
|
||||||
|
OpenTTD needs the Platform SDK, if it isn't installed already. This can be
|
||||||
|
done during installing Visual Studio, by selecting
|
||||||
|
`Visual C++ MFC for x86 and x64` (and possibly
|
||||||
|
`Visual C++ ATL for x86 and x64` depending on your version). If not, you
|
||||||
|
can get it at this location:
|
||||||
|
|
||||||
|
- [MS Windows Platform SDK](https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk)
|
||||||
|
|
||||||
|
Install the SDK by following the instructions as given.
|
||||||
|
|
||||||
|
### OpenTTD dependencies
|
||||||
|
|
||||||
|
Dependencies for OpenTTD on Windows are handled via
|
||||||
|
[vcpkg](https://github.com/Microsoft/vcpkg/). First you need to install vcpkg
|
||||||
|
by following the `Quick Start` intructions of their
|
||||||
|
[README](https://github.com/Microsoft/vcpkg/blob/master/README.md).
|
||||||
|
|
||||||
|
After this, you can install the dependencies OpenTTD needs. We advise to use
|
||||||
|
the `static` versions, and OpenTTD currently needs the following dependencies:
|
||||||
|
|
||||||
|
- freetype
|
||||||
|
- liblzma
|
||||||
|
- libpng
|
||||||
|
- lzo
|
||||||
|
- zlib
|
||||||
|
|
||||||
|
To install both the x64 (64bit) and x86 (32bit) variants, you can use:
|
||||||
|
|
||||||
|
```ps
|
||||||
|
.\vcpkg install freetype:x64-windows-static liblzma:x64-windows-static libpng:x64-windows-static lzo:x64-windows-static zlib:x64-windows-static
|
||||||
|
.\vcpkg install freetype:x86-windows-static liblzma:x86-windows-static libpng:x86-windows-static lzo:x86-windows-static zlib:x86-windows-static
|
||||||
|
```
|
||||||
|
|
||||||
|
## TTD Graphics files
|
||||||
|
|
||||||
|
See section 4.1 of README.md for the required 3rdparty files and how to install them.
|
||||||
|
|
||||||
|
## Compiling
|
||||||
|
|
||||||
|
Open the appropriate `sln` (Solution) file for your version of Visual Studio:
|
||||||
|
|
||||||
|
- VS 2015: projects/openttd_vs140.sln
|
||||||
|
- VS 2017: projects/openttd_vs141.sln
|
||||||
|
- VS 2019: projects/openttd_vs142.sln
|
||||||
|
|
||||||
|
Set the build mode to `Release` in
|
||||||
|
`Build > Configuration manager > Active solution configuration`.
|
||||||
|
You can now compile.
|
||||||
|
|
||||||
|
If everything works well the binary should be in `objs\Win[32|64]\Release\openttd.exe`
|
||||||
|
and in `bin\openttd.exe`
|
||||||
|
|
||||||
|
## Problems
|
||||||
|
|
||||||
|
If compilation fails, double-check that you are using the latest github
|
||||||
|
source. If it still doesn't work, check in on IRC (irc://irc.oftc.net/openttd),
|
||||||
|
to ask for help.
|
||||||
76
media/baseset/orig_dos.obm
Normal file
76
media/baseset/orig_dos.obm
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
; $Id$
|
||||||
|
;
|
||||||
|
; This represents the original music as on the Transport
|
||||||
|
; Tycoon Deluxe for DOS CD.
|
||||||
|
;
|
||||||
|
[metadata]
|
||||||
|
name = original_dos
|
||||||
|
shortname = TTDD
|
||||||
|
version = 1
|
||||||
|
!! description STR_BASEMUSIC_DOS_DESCRIPTION
|
||||||
|
|
||||||
|
[files]
|
||||||
|
theme = gm.cat
|
||||||
|
old_0 = gm.cat
|
||||||
|
old_1 = gm.cat
|
||||||
|
old_2 = gm.cat
|
||||||
|
old_3 = gm.cat
|
||||||
|
old_4 = gm.cat
|
||||||
|
old_5 = gm.cat
|
||||||
|
old_6 = gm.cat
|
||||||
|
old_7 = gm.cat
|
||||||
|
old_8 =
|
||||||
|
old_9 =
|
||||||
|
new_0 = gm.cat
|
||||||
|
new_1 = gm.cat
|
||||||
|
new_2 = gm.cat
|
||||||
|
new_3 = gm.cat
|
||||||
|
new_4 = gm.cat
|
||||||
|
new_5 = gm.cat
|
||||||
|
new_6 = gm.cat
|
||||||
|
new_7 =
|
||||||
|
new_8 =
|
||||||
|
new_9 =
|
||||||
|
ezy_0 = gm.cat
|
||||||
|
ezy_1 = gm.cat
|
||||||
|
ezy_2 = gm.cat
|
||||||
|
ezy_3 = gm.cat
|
||||||
|
ezy_4 = gm.cat
|
||||||
|
ezy_5 = gm.cat
|
||||||
|
ezy_6 =
|
||||||
|
ezy_7 =
|
||||||
|
ezy_8 =
|
||||||
|
ezy_9 =
|
||||||
|
|
||||||
|
[md5s]
|
||||||
|
gm.cat = 7a29d2d0c4f7d2e03091ffa9b2bdfffb
|
||||||
|
|
||||||
|
[catindex]
|
||||||
|
theme = 0
|
||||||
|
old_0 = 1
|
||||||
|
old_1 = 8
|
||||||
|
old_2 = 2
|
||||||
|
old_3 = 9
|
||||||
|
old_4 = 14
|
||||||
|
old_5 = 15
|
||||||
|
old_6 = 19
|
||||||
|
old_7 = 13
|
||||||
|
new_0 = 6
|
||||||
|
new_1 = 11
|
||||||
|
new_2 = 10
|
||||||
|
new_3 = 17
|
||||||
|
new_4 = 21
|
||||||
|
new_5 = 18
|
||||||
|
new_6 = 5
|
||||||
|
ezy_0 = 12
|
||||||
|
ezy_1 = 7
|
||||||
|
ezy_2 = 16
|
||||||
|
ezy_3 = 3
|
||||||
|
ezy_4 = 20
|
||||||
|
ezy_5 = 4
|
||||||
|
|
||||||
|
[names]
|
||||||
|
; Names get read from the CAT file
|
||||||
|
|
||||||
|
[origin]
|
||||||
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
71
media/baseset/orig_tto.obm
Normal file
71
media/baseset/orig_tto.obm
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
; $Id$
|
||||||
|
;
|
||||||
|
; This represents the original music as on the Transport
|
||||||
|
; Tycoon (with World Editor) for DOS CD.
|
||||||
|
;
|
||||||
|
[metadata]
|
||||||
|
name = original_tto
|
||||||
|
shortname = TTOD
|
||||||
|
version = 1
|
||||||
|
!! description STR_BASEMUSIC_TTO_DESCRIPTION
|
||||||
|
|
||||||
|
[files]
|
||||||
|
theme = gm-tto.cat
|
||||||
|
old_0 = gm-tto.cat
|
||||||
|
old_1 = gm-tto.cat
|
||||||
|
old_2 = gm-tto.cat
|
||||||
|
old_3 = gm-tto.cat
|
||||||
|
old_4 = gm-tto.cat
|
||||||
|
old_5 = gm-tto.cat
|
||||||
|
old_6 = gm-tto.cat
|
||||||
|
old_7 = gm-tto.cat
|
||||||
|
old_8 =
|
||||||
|
old_9 =
|
||||||
|
new_0 = gm-tto.cat
|
||||||
|
new_1 = gm-tto.cat
|
||||||
|
new_2 = gm-tto.cat
|
||||||
|
new_3 = gm-tto.cat
|
||||||
|
new_4 = gm-tto.cat
|
||||||
|
new_5 = gm-tto.cat
|
||||||
|
new_6 = gm-tto.cat
|
||||||
|
new_7 = gm-tto.cat
|
||||||
|
new_8 =
|
||||||
|
new_9 =
|
||||||
|
ezy_0 =
|
||||||
|
ezy_1 =
|
||||||
|
ezy_2 =
|
||||||
|
ezy_3 =
|
||||||
|
ezy_4 =
|
||||||
|
ezy_5 =
|
||||||
|
ezy_6 =
|
||||||
|
ezy_7 =
|
||||||
|
ezy_8 =
|
||||||
|
ezy_9 =
|
||||||
|
|
||||||
|
[catindex]
|
||||||
|
theme = 0
|
||||||
|
old_0 = 1
|
||||||
|
old_1 = 6
|
||||||
|
old_2 = 2
|
||||||
|
old_3 = 7
|
||||||
|
old_4 = 11
|
||||||
|
old_5 = 12
|
||||||
|
old_6 = 15
|
||||||
|
old_7 = 10
|
||||||
|
new_0 = 4
|
||||||
|
new_1 = 5
|
||||||
|
new_2 = 9
|
||||||
|
new_3 = 8
|
||||||
|
new_4 = 13
|
||||||
|
new_5 = 16
|
||||||
|
new_6 = 14
|
||||||
|
new_7 = 3
|
||||||
|
|
||||||
|
[md5s]
|
||||||
|
gm-tto.cat = 26e85ff84b0063aa5da05dd4698fc76e
|
||||||
|
|
||||||
|
[names]
|
||||||
|
; Names get read from the CAT file
|
||||||
|
|
||||||
|
[origin]
|
||||||
|
default = You can find it on your Transport Tycoon CD-ROM.
|
||||||
123
media/baseset/translations.vbs
Normal file
123
media/baseset/translations.vbs
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
Option Explicit
|
||||||
|
|
||||||
|
' This file is part of OpenTTD.
|
||||||
|
' OpenTTD 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, version 2.
|
||||||
|
' OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Dim FSO
|
||||||
|
Set FSO = CreateObject("Scripting.FileSystemObject")
|
||||||
|
|
||||||
|
Dim inputfile, outputfile, langpath, extra_grf
|
||||||
|
inputfile = WScript.Arguments(0)
|
||||||
|
outputfile = WScript.Arguments(1)
|
||||||
|
langpath = WScript.Arguments(2)
|
||||||
|
|
||||||
|
If WScript.Arguments.Length > 3 Then
|
||||||
|
extra_grf = WScript.Arguments(3)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Function GetExtraGrfHash
|
||||||
|
Dim WSO, exe, line
|
||||||
|
|
||||||
|
Set WSO = WScript.CreateObject("WScript.Shell")
|
||||||
|
Set exe = WSO.Exec("certutil -hashfile " & extra_grf & " MD5")
|
||||||
|
|
||||||
|
Do Until exe.StdOut.AtEndOfStream
|
||||||
|
line = exe.StdOut.ReadLine
|
||||||
|
If Len(line) = 32 Then GetExtraGrfHash = line
|
||||||
|
Loop
|
||||||
|
|
||||||
|
Set WSO = Nothing
|
||||||
|
End Function
|
||||||
|
|
||||||
|
' Simple insertion sort, copied from translations.awk
|
||||||
|
Sub ISort(a)
|
||||||
|
Dim i, j, n, hold
|
||||||
|
n = UBound(a)
|
||||||
|
|
||||||
|
For i = 1 To n
|
||||||
|
j = i
|
||||||
|
hold = a(j)
|
||||||
|
Do While a(j - 1) > hold
|
||||||
|
j = j - 1
|
||||||
|
a(j + 1) = a(j)
|
||||||
|
|
||||||
|
If j = 0 Then Exit Do
|
||||||
|
Loop
|
||||||
|
a(j) = hold
|
||||||
|
Next
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Sub Lookup(ini_key, str_id, outfile)
|
||||||
|
Dim folder, file, line, p, lang, i
|
||||||
|
|
||||||
|
' Ensure only complete string matches
|
||||||
|
str_id = str_id & " "
|
||||||
|
|
||||||
|
Set folder = FSO.GetFolder(langpath)
|
||||||
|
|
||||||
|
Dim output()
|
||||||
|
ReDim output(folder.Files.Count)
|
||||||
|
|
||||||
|
For Each file In folder.Files
|
||||||
|
If UCase(FSO.GetExtensionName(file.Name)) = "TXT" Then
|
||||||
|
Dim f
|
||||||
|
Set f = FSO.OpenTextFile(file.Path)
|
||||||
|
|
||||||
|
Do Until f.atEndOfStream
|
||||||
|
line = f.ReadLine()
|
||||||
|
|
||||||
|
If InStr(1, line, "##isocode ") = 1 Then
|
||||||
|
p = Split(line)
|
||||||
|
lang = p(1)
|
||||||
|
ElseIf InStr(1, line, str_id) = 1 Then
|
||||||
|
p = Split(line, ":", 2)
|
||||||
|
If lang = "en_GB" Then
|
||||||
|
output(i) = ini_key & " = " & p(1)
|
||||||
|
Else
|
||||||
|
output(i) = ini_key & "." & lang & " = " & p(1)
|
||||||
|
End If
|
||||||
|
i = i + 1
|
||||||
|
End If
|
||||||
|
|
||||||
|
Loop
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
ReDim Preserve output(i - 1)
|
||||||
|
ISort output
|
||||||
|
|
||||||
|
For Each line In output
|
||||||
|
outfile.Write line & vbCrLf
|
||||||
|
Next
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Dim line, p
|
||||||
|
|
||||||
|
Dim infile
|
||||||
|
Set infile = FSO.OpenTextFile(inputfile)
|
||||||
|
|
||||||
|
Dim outfile
|
||||||
|
Set outfile = FSO.CreateTextFile(outputfile, True)
|
||||||
|
|
||||||
|
Do Until infile.atEndOfStream
|
||||||
|
|
||||||
|
line = infile.ReadLine()
|
||||||
|
|
||||||
|
If InStr(1, line, "ORIG_EXTRA.GRF ") = 1 Then
|
||||||
|
p = Split(line, "=")
|
||||||
|
If Trim(p(1)) = "" Then
|
||||||
|
outfile.Write("ORIG_EXTRA.GRF = " & GetExtraGrfHash() & vbCrLf)
|
||||||
|
Else
|
||||||
|
outfile.Write(line & vbCrLf)
|
||||||
|
End If
|
||||||
|
ElseIf InStr(1, line, "!! ") = 1 Then
|
||||||
|
p = Split(line)
|
||||||
|
Lookup p(1), p(2), outfile
|
||||||
|
Else
|
||||||
|
outfile.Write(line & vbCrLf)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Loop
|
||||||
12
media/extra_grf/airports_orig_extra.nfo
Normal file
12
media/extra_grf/airports_orig_extra.nfo
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// $Id$
|
||||||
|
//
|
||||||
|
// This file is part of OpenTTD.
|
||||||
|
// OpenTTD 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, version 2.
|
||||||
|
// OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
-1 * 0 0C "Climate specific airport sprite by PaulC"
|
||||||
|
-1 * 0 07 83 01 \7! 03 02
|
||||||
|
-1 * 0 0A 01 01 2F 08
|
||||||
|
-1 sprites/airports.png 8bpp 20 170 42 39 -19 -21 normal
|
||||||
101
media/extra_grf/canals_extra.nfo
Normal file
101
media/extra_grf/canals_extra.nfo
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
//
|
||||||
|
// $Id$
|
||||||
|
//
|
||||||
|
// This file is part of OpenTTD.
|
||||||
|
// OpenTTD 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, version 2.
|
||||||
|
// OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
-1 * 0 0C "Extra canal graphics by PaulC"
|
||||||
|
|
||||||
|
// Differentiation for the climates starts here
|
||||||
|
|
||||||
|
// Canal edges (arctic snowy)
|
||||||
|
-1 * 4 01 05 01 \b12
|
||||||
|
-1 sprites/canals.png 8bpp 30 40 45 22 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 94 40 41 21 -8 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 142 40 42 21 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 190 40 43 22 -31 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 238 40 22 22 11 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 270 40 24 16 -11 15 normal
|
||||||
|
-1 sprites/canals.png 8bpp 302 40 23 23 -31 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 334 40 24 18 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 366 40 12 11 21 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 398 40 19 10 -8 21 normal
|
||||||
|
-1 sprites/canals.png 8bpp 430 40 11 10 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 446 40 24 16 -11 -6 normal
|
||||||
|
-1 * 7 02 05 10 01 00 00 00
|
||||||
|
|
||||||
|
// Canal edges (arctic normal)
|
||||||
|
-1 * 4 01 05 01 \b12
|
||||||
|
-1 sprites/canals.png 8bpp 30 70 45 22 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 94 70 41 21 -8 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 142 70 42 21 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 190 70 43 22 -31 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 238 70 22 22 11 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 270 70 24 16 -11 15 normal
|
||||||
|
-1 sprites/canals.png 8bpp 302 70 23 23 -31 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 334 70 24 18 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 366 70 12 11 21 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 398 70 19 10 -8 21 normal
|
||||||
|
-1 sprites/canals.png 8bpp 430 70 11 10 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 446 70 24 16 -11 -6 normal
|
||||||
|
-1 * 7 02 05 11 01 00 00 00
|
||||||
|
// Choose the right arctic canal edges
|
||||||
|
-1 * 14 02 05 12 81 81 00 FF 01 10 00 04 04 11 00
|
||||||
|
-1 * 6 07 83 01 \7! 01 01
|
||||||
|
-1 * 7 03 05 01 02 00 12 00
|
||||||
|
|
||||||
|
// Canal edges (tropic desert)
|
||||||
|
-1 * 4 01 05 01 \b12
|
||||||
|
-1 sprites/canals.png 8bpp 30 100 45 22 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 94 100 41 21 -8 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 142 100 42 21 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 190 100 43 22 -31 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 238 100 22 22 11 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 270 100 24 16 -11 15 normal
|
||||||
|
-1 sprites/canals.png 8bpp 302 100 23 23 -31 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 334 100 24 18 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 366 100 12 11 21 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 398 100 19 10 -8 21 normal
|
||||||
|
-1 sprites/canals.png 8bpp 430 100 11 10 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 446 100 24 16 -11 -6 normal
|
||||||
|
-1 * 7 02 05 13 01 00 00 00
|
||||||
|
|
||||||
|
// Canal edges (tropic rainforest)
|
||||||
|
-1 * 4 01 05 01 \b12
|
||||||
|
-1 sprites/canals.png 8bpp 30 130 45 22 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 94 130 41 21 -8 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 142 130 42 21 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 190 130 43 22 -31 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 238 130 22 22 11 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 270 130 24 16 -11 15 normal
|
||||||
|
-1 sprites/canals.png 8bpp 302 130 23 23 -31 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 334 130 24 18 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 366 130 12 11 21 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 398 130 19 10 -8 21 normal
|
||||||
|
-1 sprites/canals.png 8bpp 430 130 11 10 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 446 130 24 16 -11 -6 normal
|
||||||
|
-1 * 7 02 05 14 01 00 00 00
|
||||||
|
// Choose the right tropic canal edges
|
||||||
|
-1 * 14 02 05 15 81 81 00 FF 01 13 00 01 01 14 00
|
||||||
|
-1 * 6 07 83 01 \7! 02 01
|
||||||
|
-1 * 7 03 05 01 02 00 15 00
|
||||||
|
|
||||||
|
// Canal edges (toyland)
|
||||||
|
-1 * 4 01 05 01 \b12
|
||||||
|
-1 sprites/canals.png 8bpp 30 160 45 22 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 94 160 41 21 -8 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 142 160 42 21 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 190 160 43 22 -31 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 238 160 22 22 11 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 270 160 24 16 -11 15 normal
|
||||||
|
-1 sprites/canals.png 8bpp 302 160 23 23 -31 4 normal
|
||||||
|
-1 sprites/canals.png 8bpp 334 160 24 18 -11 -1 normal
|
||||||
|
-1 sprites/canals.png 8bpp 366 160 12 11 21 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 398 160 19 10 -8 21 normal
|
||||||
|
-1 sprites/canals.png 8bpp 430 160 11 10 -31 10 normal
|
||||||
|
-1 sprites/canals.png 8bpp 446 160 24 16 -11 -6 normal
|
||||||
|
-1 * 7 02 05 16 01 00 00 00
|
||||||
|
-1 * 6 07 83 01 \7! 03 01
|
||||||
|
-1 * 7 03 05 01 02 00 16 00
|
||||||
249
media/extra_grf/chars_orig_extra.nfo
Normal file
249
media/extra_grf/chars_orig_extra.nfo
Normal file
@@ -0,0 +1,249 @@
|
|||||||
|
//
|
||||||
|
// $Id$
|
||||||
|
//
|
||||||
|
// This file is part of OpenTTD.
|
||||||
|
// OpenTTD 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, version 2.
|
||||||
|
// OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
-1 * 0 0C "Font characters by PaulC, Bilbo and Jasper Vries"
|
||||||
|
|
||||||
|
// Replace original characters
|
||||||
|
|
||||||
|
-1 * 5 0A 01 02 41 00
|
||||||
|
-1 sprites/chars.png 8bpp 10 10 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 20 10 4 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 02 86 00
|
||||||
|
-1 sprites/chars.png 8bpp 50 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 70 10 9 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 01 8A 00
|
||||||
|
-1 sprites/chars.png 8bpp 120 10 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 01 A0 00
|
||||||
|
-1 sprites/chars.png 8bpp 230 10 10 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 04 A2 00
|
||||||
|
-1 sprites/chars.png 8bpp 260 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 290 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 320 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 350 10 8 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 06 A7 00
|
||||||
|
-1 sprites/chars.png 8bpp 410 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 440 10 12 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 470 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 480 10 7 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 500 10 7 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 520 10 7 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 03 AE 00
|
||||||
|
-1 sprites/chars.png 8bpp 560 10 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 570 10 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 580 10 5 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 05 B3 00
|
||||||
|
-1 sprites/chars.png 8bpp 620 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 640 10 9 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 660 10 9 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 680 10 9 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 700 10 9 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 03 BB 00
|
||||||
|
-1 sprites/chars.png 8bpp 770 10 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 10 70 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 30 70 8 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 01 BF 00
|
||||||
|
-1 sprites/chars.png 8bpp 70 70 9 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 05 C1 00
|
||||||
|
-1 sprites/chars.png 8bpp 450 70 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 110 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 120 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 130 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 140 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 01 C7 00
|
||||||
|
-1 sprites/chars.png 8bpp 160 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 03 CA 00
|
||||||
|
-1 sprites/chars.png 8bpp 200 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 210 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 220 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 04 CE 00
|
||||||
|
-1 sprites/chars.png 8bpp 230 70 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 240 70 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 250 70 5 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 260 70 5 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 05 D3 00
|
||||||
|
-1 sprites/chars.png 8bpp 290 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 310 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 320 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 330 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 340 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 03 DB 00
|
||||||
|
-1 sprites/chars.png 8bpp 390 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 400 70 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 410 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 02 DF 00
|
||||||
|
-1 sprites/chars.png 8bpp 420 70 7 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 430 70 6 12 0 -1 normal
|
||||||
|
-1 * 5 0A 01 01 22 01
|
||||||
|
-1 sprites/chars.png 8bpp 20 30 2 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 01 7D 01
|
||||||
|
-1 sprites/chars.png 8bpp 220 30 4 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 02 80 01
|
||||||
|
-1 sprites/chars.png 8bpp 230 30 9 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 250 30 3 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 01 89 01
|
||||||
|
-1 sprites/chars.png 8bpp 470 30 3 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 01 9F 01
|
||||||
|
-1 sprites/chars.png 8bpp 70 90 3 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 01 A9 01
|
||||||
|
-1 sprites/chars.png 8bpp 190 90 3 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 02 BF 01
|
||||||
|
-1 sprites/chars.png 8bpp 420 90 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 430 90 3 7 0 0 normal
|
||||||
|
-1 * 5 0A 01 01 02 02
|
||||||
|
-1 sprites/chars.png 8bpp 20 40 4 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 41 02
|
||||||
|
-1 sprites/chars.png 8bpp 30 40 14 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 06 46 02
|
||||||
|
-1 sprites/chars.png 8bpp 50 40 10 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 70 40 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 90 40 3 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 100 40 13 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 120 40 7 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 130 40 16 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 50 02
|
||||||
|
-1 sprites/chars.png 8bpp 150 40 16 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 04 52 02
|
||||||
|
-1 sprites/chars.png 8bpp 170 40 8 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 180 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 190 40 6 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 200 40 6 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 5C 02
|
||||||
|
-1 sprites/chars.png 8bpp 210 40 7 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 60 02
|
||||||
|
-1 sprites/chars.png 8bpp 230 40 16 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 07 62 02
|
||||||
|
-1 sprites/chars.png 8bpp 260 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 290 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 320 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 350 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 380 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 410 40 20 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 440 40 24 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 18 6A 02
|
||||||
|
-1 sprites/chars.png 8bpp 480 40 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 500 40 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 520 40 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 540 40 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 560 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 570 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 580 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 590 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 600 40 17 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 620 40 18 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 640 40 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 660 40 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 680 40 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 700 40 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 720 40 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 740 40 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 750 40 16 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 770 40 17 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 10 100 17 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 30 100 17 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 50 100 17 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 70 100 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 90 100 14 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 450 100 14 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 85 02
|
||||||
|
-1 sprites/chars.png 8bpp 140 100 12 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 88 02
|
||||||
|
-1 sprites/chars.png 8bpp 170 100 19 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 02 92 02
|
||||||
|
-1 sprites/chars.png 8bpp 270 100 11 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 290 100 15 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 97 02
|
||||||
|
-1 sprites/chars.png 8bpp 340 100 11 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 02 99 02
|
||||||
|
-1 sprites/chars.png 8bpp 360 100 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 370 100 11 21 0 -2 normal
|
||||||
|
-1 * 5 0A 01 01 A0 02
|
||||||
|
-1 sprites/chars.png 8bpp 430 100 14 21 0 -2 normal
|
||||||
|
|
||||||
|
// New characters, all fonts except monospaced
|
||||||
|
|
||||||
|
// U+007B: Left Curly Bracket
|
||||||
|
// U+007C: Vertical Line
|
||||||
|
// U+007D: Right Curly Bracket
|
||||||
|
// U+007E: Tilde
|
||||||
|
-1 * 14 12 03 00 04 7B 00 01 04 7B 00 02 04 7B 00
|
||||||
|
-1 sprites/chars.png 8bpp 10 130 5 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 20 130 3 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 30 130 5 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 50 130 7 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 10 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 20 150 1 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 30 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 50 150 4 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 10 160 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 20 160 3 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 30 160 9 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 50 160 10 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+007F: No-Break Space
|
||||||
|
-1 * 14 12 03 00 01 7F 00 01 01 7F 00 02 01 7F 00
|
||||||
|
-1 sprites/chars.png 8bpp 70 130 2 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 70 150 1 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 70 160 5 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+00AA: Feminine Ordinal Indicator
|
||||||
|
-1 * 14 12 03 00 01 AA 00 01 01 AA 00 02 01 AA 00
|
||||||
|
-1 sprites/chars.png 8bpp 80 130 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 80 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 80 160 7 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+00AC: Not Sign
|
||||||
|
// U+00AD: Soft Hyphen
|
||||||
|
-1 * 14 12 03 00 02 AC 00 01 02 AC 00 02 02 AC 00
|
||||||
|
-1 sprites/chars.png 8bpp 90 130 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 110 130 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 90 150 4 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 110 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 90 160 12 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 110 160 9 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+00AF: Macron
|
||||||
|
-1 * 14 12 03 00 01 AF 00 01 01 AF 00 02 01 AF 00
|
||||||
|
-1 sprites/chars.png 8bpp 130 130 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 130 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 130 160 12 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+00B4: Acute Accent
|
||||||
|
// U+00B5: Micro Sign
|
||||||
|
// U+00B6: Pilcrow Sign
|
||||||
|
// U+00B7: Middle Dot
|
||||||
|
// U+00B8: Cedilla
|
||||||
|
// U+00B9: Superscript One
|
||||||
|
-1 * 14 12 03 00 06 B4 00 01 06 B4 00 02 06 B4 00
|
||||||
|
-1 sprites/chars.png 8bpp 150 130 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 160 130 6 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 180 130 8 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 200 130 3 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 210 130 4 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 220 130 5 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 150 150 2 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 160 150 3 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 180 150 6 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 200 150 1 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 210 150 2 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 220 150 2 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 150 160 4 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 160 160 15 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 180 160 13 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 200 160 3 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 210 160 5 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 220 160 6 21 0 -2 normal
|
||||||
|
|
||||||
|
// U+00BC: Vulgar Fraction One Quarter
|
||||||
|
// U+00BD: Vulgar Fraction One Half
|
||||||
|
-1 * 14 12 03 00 02 BC 00 01 02 BC 00 02 02 BC 00
|
||||||
|
-1 sprites/chars.png 8bpp 230 130 10 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 250 130 10 12 0 -1 normal
|
||||||
|
-1 sprites/chars.png 8bpp 230 150 9 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 250 150 9 7 0 0 normal
|
||||||
|
-1 sprites/chars.png 8bpp 230 160 16 21 0 -2 normal
|
||||||
|
-1 sprites/chars.png 8bpp 250 160 16 21 0 -2 normal
|
||||||
BIN
media/extra_grf/openttdgui_group_livery.png
Normal file
BIN
media/extra_grf/openttdgui_group_livery.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
87
media/extra_grf/orig_extra.nfo
Normal file
87
media/extra_grf/orig_extra.nfo
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
// Automatically generated by GRFCODEC. Do not modify!
|
||||||
|
// (Info version 32)
|
||||||
|
// Format: spritenum imagefile depth xpos ypos xsize ysize xrel yrel zoom flags
|
||||||
|
//
|
||||||
|
// $Id$
|
||||||
|
//
|
||||||
|
// This file is part of OpenTTD.
|
||||||
|
// OpenTTD 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, version 2.
|
||||||
|
// OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
// Sources for extra graphics to complement the original graphics.
|
||||||
|
// Checks whether the correct version of OpenTTD is used before
|
||||||
|
// allowing it to be used.
|
||||||
|
//
|
||||||
|
|
||||||
|
//
|
||||||
|
// Number of sprites, it is wrong, but GRFcodec automagically gets it right.
|
||||||
|
//
|
||||||
|
0 * 4 00 00 00 00
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Check whether we are running OTTD or not.
|
||||||
|
//
|
||||||
|
-1 * 0 07 9D 04 \7= 01 00 00 00 01
|
||||||
|
-1 * 0 0B 03 7F FF 80 " is not for TTDPatch. Use ttdpatch(w).grf." 00
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Check for OTTD's version number
|
||||||
|
//
|
||||||
|
|
||||||
|
// First step... Variable A1 might not exist. If that's the case it always
|
||||||
|
// skips. As we do not want to skip out of the whole testing, we skip over
|
||||||
|
// the real version check.
|
||||||
|
-1 * 0 07 A1 04 \7= FF FF FF FF 02
|
||||||
|
|
||||||
|
// Real version check.
|
||||||
|
-1 * 0 07 A1 04 \7> \w20304 01 01 03
|
||||||
|
|
||||||
|
// If the version check is supported, the string is translateable via OpenTTD
|
||||||
|
// itself. Use it!.
|
||||||
|
|
||||||
|
-1 * 0 0B 03 7F 06 "1.1 (or trunk r20304)" 00
|
||||||
|
|
||||||
|
// Some OTTD versions before r11130 did support Action B, so use the English
|
||||||
|
// phrase there
|
||||||
|
-1 * 0 0B 03 7F FF "Requires OpenTTD version 1.1 (or trunk r20304) or better." 00
|
||||||
|
|
||||||
|
// Final fallback. No Action B support, just skip to the end of the file.
|
||||||
|
-1 * 0 07 A1 04 \7= FF FF FF FF 00
|
||||||
|
|
||||||
|
// We are a DOS paletted NewGRF, so tell OpenTTD that. Then it can actually
|
||||||
|
// do the right thing. Yay for that feature as that means no duplicate NewGRF!
|
||||||
|
-1 * 0 14
|
||||||
|
"C" "INFO"
|
||||||
|
"B" "PALS" \w1 "D"
|
||||||
|
00
|
||||||
|
00
|
||||||
|
|
||||||
|
// GRF ID, must start with FF so it gets ignored
|
||||||
|
//@@WARNING DISABLE 101
|
||||||
|
-1 * 0 08 08 FF "OTT"
|
||||||
|
|
||||||
|
// Name of the GRF
|
||||||
|
"Original baseset extra graphics" 00
|
||||||
|
|
||||||
|
// Description of the GRF.
|
||||||
|
"License: GNU General Public License version 2" 0D
|
||||||
|
"Andrew Parkhouse: rivers" 0D
|
||||||
|
"Addi and PaulC: original graphics fixes" 0D
|
||||||
|
"OpenTTD developers: other graphics" 00
|
||||||
|
|
||||||
|
//
|
||||||
|
// The real data of the GRF is acquired from several subfiles.
|
||||||
|
//
|
||||||
|
#include "chars_orig_extra.nfo"
|
||||||
|
#include "shore.nfo"
|
||||||
|
#include "fix_graphics.nfo"
|
||||||
|
#include "airports_orig_extra.nfo"
|
||||||
|
#include "canals_extra.nfo"
|
||||||
|
#include "rivers/rapids.nfo"
|
||||||
|
#include "rivers/temperate.nfo"
|
||||||
|
#include "rivers/arctic.nfo"
|
||||||
|
#include "rivers/tropic.nfo"
|
||||||
|
#include "rivers/toyland.nfo"
|
||||||
99
projects/basesets_vs140.vcxproj
Normal file
99
projects/basesets_vs140.vcxproj
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
<Langs>..\src\lang\afrikaans.txt;..\src\lang\arabic_egypt.txt;..\src\lang\basque.txt;..\src\lang\belarusian.txt;..\src\lang\brazilian_portuguese.txt;..\src\lang\bulgarian.txt;..\src\lang\catalan.txt;..\src\lang\croatian.txt;..\src\lang\czech.txt;..\src\lang\danish.txt;..\src\lang\dutch.txt;..\src\lang\english.txt;..\src\lang\english_AU.txt;..\src\lang\english_US.txt;..\src\lang\esperanto.txt;..\src\lang\estonian.txt;..\src\lang\faroese.txt;..\src\lang\finnish.txt;..\src\lang\french.txt;..\src\lang\gaelic.txt;..\src\lang\galician.txt;..\src\lang\german.txt;..\src\lang\greek.txt;..\src\lang\hebrew.txt;..\src\lang\hungarian.txt;..\src\lang\icelandic.txt;..\src\lang\indonesian.txt;..\src\lang\irish.txt;..\src\lang\italian.txt;..\src\lang\japanese.txt;..\src\lang\korean.txt;..\src\lang\latin.txt;..\src\lang\latvian.txt;..\src\lang\lithuanian.txt;..\src\lang\luxembourgish.txt;..\src\lang\malay.txt;..\src\lang\norwegian_bokmal.txt;..\src\lang\norwegian_nynorsk.txt;..\src\lang\polish.txt;..\src\lang\portuguese.txt;..\src\lang\romanian.txt;..\src\lang\russian.txt;..\src\lang\serbian.txt;..\src\lang\simplified_chinese.txt;..\src\lang\slovak.txt;..\src\lang\slovenian.txt;..\src\lang\spanish.txt;..\src\lang\spanish_MX.txt;..\src\lang\swedish.txt;..\src\lang\tamil.txt;..\src\lang\thai.txt;..\src\lang\traditional_chinese.txt;..\src\lang\turkish.txt;..\src\lang\ukrainian.txt;..\src\lang\vietnamese.txt;..\src\lang\welsh.txt</Langs>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_music.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_music.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_music.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_sound.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_sound.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_sound.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos_de.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos_de.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos_de.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_tto.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_tto.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_tto.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs140.vcxproj.filters
Normal file
40
projects/basesets_vs140.vcxproj.filters
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
11
projects/basesets_vs140.vcxproj.filters.in
Normal file
11
projects/basesets_vs140.vcxproj.filters.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs140.vcxproj.in
Normal file
40
projects/basesets_vs140.vcxproj.in
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
!!FILTERS!!
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
99
projects/basesets_vs141.vcxproj
Normal file
99
projects/basesets_vs141.vcxproj
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
<Langs>..\src\lang\afrikaans.txt;..\src\lang\arabic_egypt.txt;..\src\lang\basque.txt;..\src\lang\belarusian.txt;..\src\lang\brazilian_portuguese.txt;..\src\lang\bulgarian.txt;..\src\lang\catalan.txt;..\src\lang\croatian.txt;..\src\lang\czech.txt;..\src\lang\danish.txt;..\src\lang\dutch.txt;..\src\lang\english.txt;..\src\lang\english_AU.txt;..\src\lang\english_US.txt;..\src\lang\esperanto.txt;..\src\lang\estonian.txt;..\src\lang\faroese.txt;..\src\lang\finnish.txt;..\src\lang\french.txt;..\src\lang\gaelic.txt;..\src\lang\galician.txt;..\src\lang\german.txt;..\src\lang\greek.txt;..\src\lang\hebrew.txt;..\src\lang\hungarian.txt;..\src\lang\icelandic.txt;..\src\lang\indonesian.txt;..\src\lang\irish.txt;..\src\lang\italian.txt;..\src\lang\japanese.txt;..\src\lang\korean.txt;..\src\lang\latin.txt;..\src\lang\latvian.txt;..\src\lang\lithuanian.txt;..\src\lang\luxembourgish.txt;..\src\lang\malay.txt;..\src\lang\norwegian_bokmal.txt;..\src\lang\norwegian_nynorsk.txt;..\src\lang\polish.txt;..\src\lang\portuguese.txt;..\src\lang\romanian.txt;..\src\lang\russian.txt;..\src\lang\serbian.txt;..\src\lang\simplified_chinese.txt;..\src\lang\slovak.txt;..\src\lang\slovenian.txt;..\src\lang\spanish.txt;..\src\lang\spanish_MX.txt;..\src\lang\swedish.txt;..\src\lang\tamil.txt;..\src\lang\thai.txt;..\src\lang\traditional_chinese.txt;..\src\lang\turkish.txt;..\src\lang\ukrainian.txt;..\src\lang\vietnamese.txt;..\src\lang\welsh.txt</Langs>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_music.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_music.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_music.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_sound.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_sound.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_sound.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos_de.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos_de.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos_de.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_tto.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_tto.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_tto.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs141.vcxproj.filters
Normal file
40
projects/basesets_vs141.vcxproj.filters
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
11
projects/basesets_vs141.vcxproj.filters.in
Normal file
11
projects/basesets_vs141.vcxproj.filters.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs141.vcxproj.in
Normal file
40
projects/basesets_vs141.vcxproj.in
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
!!FILTERS!!
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
99
projects/basesets_vs142.vcxproj
Normal file
99
projects/basesets_vs142.vcxproj
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
<Langs>..\src\lang\afrikaans.txt;..\src\lang\arabic_egypt.txt;..\src\lang\basque.txt;..\src\lang\belarusian.txt;..\src\lang\brazilian_portuguese.txt;..\src\lang\bulgarian.txt;..\src\lang\catalan.txt;..\src\lang\croatian.txt;..\src\lang\czech.txt;..\src\lang\danish.txt;..\src\lang\dutch.txt;..\src\lang\english.txt;..\src\lang\english_AU.txt;..\src\lang\english_US.txt;..\src\lang\esperanto.txt;..\src\lang\estonian.txt;..\src\lang\faroese.txt;..\src\lang\finnish.txt;..\src\lang\french.txt;..\src\lang\gaelic.txt;..\src\lang\galician.txt;..\src\lang\german.txt;..\src\lang\greek.txt;..\src\lang\hebrew.txt;..\src\lang\hungarian.txt;..\src\lang\icelandic.txt;..\src\lang\indonesian.txt;..\src\lang\irish.txt;..\src\lang\italian.txt;..\src\lang\japanese.txt;..\src\lang\korean.txt;..\src\lang\latin.txt;..\src\lang\latvian.txt;..\src\lang\lithuanian.txt;..\src\lang\luxembourgish.txt;..\src\lang\malay.txt;..\src\lang\norwegian_bokmal.txt;..\src\lang\norwegian_nynorsk.txt;..\src\lang\polish.txt;..\src\lang\portuguese.txt;..\src\lang\romanian.txt;..\src\lang\russian.txt;..\src\lang\serbian.txt;..\src\lang\simplified_chinese.txt;..\src\lang\slovak.txt;..\src\lang\slovenian.txt;..\src\lang\spanish.txt;..\src\lang\spanish_MX.txt;..\src\lang\swedish.txt;..\src\lang\tamil.txt;..\src\lang\thai.txt;..\src\lang\traditional_chinese.txt;..\src\lang\turkish.txt;..\src\lang\ukrainian.txt;..\src\lang\vietnamese.txt;..\src\lang\welsh.txt</Langs>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_music.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_music.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_music.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating no_sound.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)no_sound.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\no_sound.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_dos_de.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_dos_de.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_dos_de.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_tto.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_tto.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_tto.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obg baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obg" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obg;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obm baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obm" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obm;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating orig_win.obs baseset metadata file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript //nologo ..\media\baseset\translations.vbs "%(FullPath)" "$(OutputPath)orig_win.obs" ..\src\lang ..\bin\baseset\orig_extra.grf</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Langs);..\bin\baseset\orig_extra.grf;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\orig_win.obs;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs142.vcxproj.filters
Normal file
40
projects/basesets_vs142.vcxproj.filters
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_music.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\no_sound.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_dos_de.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_tto.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obg">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obm">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\media\baseset\orig_win.obs">
|
||||||
|
<Filter>Baseset Metadata</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
11
projects/basesets_vs142.vcxproj.filters.in
Normal file
11
projects/basesets_vs142.vcxproj.filters.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Baseset Metadata">
|
||||||
|
<UniqueIdentifier>{b5a3ac67-19a9-4276-80e9-2360367d2680}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
40
projects/basesets_vs142.vcxproj.in
Normal file
40
projects/basesets_vs142.vcxproj.in
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>basesets</ProjectName>
|
||||||
|
<ProjectGuid>{E12E77CA-C0F1-4ADA-943F-4929274249D3}</ProjectGuid>
|
||||||
|
<RootNamespace>basesets</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
!!FILTERS!!
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\baseset\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\baseset\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
203
projects/gen-kdev4.sh
Executable file
203
projects/gen-kdev4.sh
Executable file
@@ -0,0 +1,203 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
# This file is part of OpenTTD.
|
||||||
|
# OpenTTD 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, version 2.
|
||||||
|
# OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# echo without interpretation of backslash escapes and without
|
||||||
|
# adding newline at the end - just the string as it is
|
||||||
|
rawprint()
|
||||||
|
{
|
||||||
|
printf '%s' "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
encode_dword()
|
||||||
|
{
|
||||||
|
printf '\x%02x' \
|
||||||
|
`expr $1 / 16777216 % 256` \
|
||||||
|
`expr $1 / 65536 % 256` \
|
||||||
|
`expr $1 / 256 % 256` \
|
||||||
|
`expr $1 % 256`
|
||||||
|
}
|
||||||
|
|
||||||
|
encode_string()
|
||||||
|
{
|
||||||
|
# turn string into UTF-16 and hexdump it
|
||||||
|
hex_utf16=`rawprint "$1" | iconv -t UTF-16BE | od -t x1 -A n | tr -d -c '[:xdigit:]'`;
|
||||||
|
|
||||||
|
encode_dword `rawprint "$hex_utf16" | wc -m | xargs -I {} expr {} / 2` # length = num hex digits / 2
|
||||||
|
rawprint "$hex_utf16" | sed 's/../\\x&/g' # put '\x' prefix before every pair of digits
|
||||||
|
}
|
||||||
|
|
||||||
|
encode_single_define()
|
||||||
|
{
|
||||||
|
encode_string `rawprint "$1" | grep -o '^[^=]*'` # everything before '='
|
||||||
|
rawprint '\x00\x00\x00\n\x00'
|
||||||
|
encode_string `rawprint "$1" | sed 's/^[^=]*=\?//'` # everything after '='
|
||||||
|
}
|
||||||
|
|
||||||
|
# $1 - newline-separated list of defines
|
||||||
|
encode_defines()
|
||||||
|
{
|
||||||
|
# add some fixed defines and discard empty lines from the tail
|
||||||
|
defines=`printf 'va_list\nva_args\n%s' "$1"`
|
||||||
|
|
||||||
|
# count lines (no newline at the end so add one)
|
||||||
|
encode_dword `printf '%s\n' "$defines" | wc -l`
|
||||||
|
|
||||||
|
while [ -n "$defines" ]; do
|
||||||
|
encode_single_define `rawprint "$defines" | head -n 1`
|
||||||
|
defines=`rawprint "$defines" | tail -n +2`
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
encode_includes()
|
||||||
|
{
|
||||||
|
encode_dword 3 # number of custom includes
|
||||||
|
encode_string "$1/src/stdafx.h"
|
||||||
|
encode_string "$1/objs/lang"
|
||||||
|
encode_string "$1/objs/setting"
|
||||||
|
}
|
||||||
|
|
||||||
|
# escape with a backslash (\) characters special to the sed replace string: \ &
|
||||||
|
# also escape our custom filed separator that we will be using in sed: @
|
||||||
|
escape_sed_special()
|
||||||
|
{
|
||||||
|
sed -e 's/[\&@]/\\&/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
PROJECT_DIR=`pwd`
|
||||||
|
DIR_NAME=`pwd | xargs -0 basename`
|
||||||
|
|
||||||
|
USAGE_TEXT='Usage:
|
||||||
|
|
||||||
|
projects/gen-kdev4 [PROJECT_NAME|-h|--help]
|
||||||
|
|
||||||
|
PROJECT_NAME is the name of the project that will be displayed in KDevelop.
|
||||||
|
Before executing, cd into OpenTTD folder and run ./configure script.
|
||||||
|
|
||||||
|
-h, --help
|
||||||
|
print help and exit'
|
||||||
|
|
||||||
|
case "$# $1" in
|
||||||
|
'1 -h' | '1 --help') printf 'Generate OpenTTD project files for KDevelop 4+\n\n%s\n' "$USAGE_TEXT"; exit 0;;
|
||||||
|
1*) PROJECT_NAME="$1";;
|
||||||
|
0*) PROJECT_NAME="$DIR_NAME";;
|
||||||
|
*) printf 'Wrong arguments given. %s\n' "$USAGE_TEXT" >&2; exit 1;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CFLAGS=`grep '^using CFLAGS\.\.\.' config.log 2>/dev/null`
|
||||||
|
if [ -z "$CFLAGS" ]; then
|
||||||
|
echo "OpenTTD config.log not found" >&2
|
||||||
|
echo "cd into OpenTTD first and run 'configure'" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
DEFINES=`eval "printf '%s\n' $CFLAGS" | grep '^\-D' | cut -c3-`
|
||||||
|
|
||||||
|
PROJECT_NAME_SED=s@!!PROJECT_NAME!!@`rawprint "$PROJECT_NAME" | escape_sed_special`@g
|
||||||
|
PROJECT_DIR_SED=s@!!PROJECT_DIR!!@`rawprint "$PROJECT_DIR" | escape_sed_special`@g
|
||||||
|
CUSTOM_DEFINES_SED=s@!!CUSTOM_DEFINES!!@`encode_defines "$DEFINES" | escape_sed_special`@g
|
||||||
|
CUSTOM_INCLUDES_SED=s@!!CUSTOM_INCLUDES!!@`encode_includes "$PROJECT_DIR" | escape_sed_special`@g
|
||||||
|
|
||||||
|
mkdir -p .kdev4
|
||||||
|
|
||||||
|
sed -e "$PROJECT_NAME_SED" \
|
||||||
|
>"$PROJECT_DIR/$DIR_NAME.kdev4" \
|
||||||
|
<< "EOF"
|
||||||
|
[Project]
|
||||||
|
Manager=KDevCustomMakeManager
|
||||||
|
Name=!!PROJECT_NAME!!
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sed -e "$PROJECT_DIR_SED" -e "$CUSTOM_DEFINES_SED" -e "$CUSTOM_INCLUDES_SED" \
|
||||||
|
>"$PROJECT_DIR/.kdev4/$DIR_NAME.kdev4" \
|
||||||
|
<< "EOF"
|
||||||
|
[CustomDefinesAndIncludes][ProjectPath0]
|
||||||
|
Defines=!!CUSTOM_DEFINES!!
|
||||||
|
Includes=!!CUSTOM_INCLUDES!!
|
||||||
|
Path=.
|
||||||
|
|
||||||
|
[Defines And Includes][Compiler]
|
||||||
|
Name=GCC
|
||||||
|
Path=gcc
|
||||||
|
Type=GCC
|
||||||
|
|
||||||
|
[Filters]
|
||||||
|
size=10
|
||||||
|
|
||||||
|
[Filters][0]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.*
|
||||||
|
targets=3
|
||||||
|
|
||||||
|
[Filters][1]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.svn
|
||||||
|
targets=2
|
||||||
|
|
||||||
|
[Filters][2]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.hg
|
||||||
|
targets=2
|
||||||
|
|
||||||
|
[Filters][3]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.git
|
||||||
|
targets=2
|
||||||
|
|
||||||
|
[Filters][4]
|
||||||
|
inclusive=0
|
||||||
|
pattern=*.rej
|
||||||
|
targets=1
|
||||||
|
|
||||||
|
[Filters][5]
|
||||||
|
inclusive=0
|
||||||
|
pattern=*.orig
|
||||||
|
targets=1
|
||||||
|
|
||||||
|
[Filters][6]
|
||||||
|
inclusive=0
|
||||||
|
pattern=*~
|
||||||
|
targets=1
|
||||||
|
|
||||||
|
[Filters][7]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.*.kate-swp
|
||||||
|
targets=1
|
||||||
|
|
||||||
|
[Filters][8]
|
||||||
|
inclusive=0
|
||||||
|
pattern=.*.swp
|
||||||
|
targets=1
|
||||||
|
|
||||||
|
[Filters][9]
|
||||||
|
inclusive=0
|
||||||
|
pattern=/objs
|
||||||
|
targets=2
|
||||||
|
|
||||||
|
[Launch]
|
||||||
|
Launch Configurations=Launch Configuration 0
|
||||||
|
|
||||||
|
[Launch][Launch Configuration 0]
|
||||||
|
Configured Launch Modes=execute
|
||||||
|
Configured Launchers=nativeAppLauncher
|
||||||
|
Name=Launch OpenTTD\s
|
||||||
|
Type=Native Application
|
||||||
|
|
||||||
|
[Launch][Launch Configuration 0][Data]
|
||||||
|
Arguments=-d 1
|
||||||
|
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00)
|
||||||
|
Dependency Action=Nothing
|
||||||
|
EnvironmentGroup=
|
||||||
|
Executable=file://!!PROJECT_DIR!!/bin/openttd
|
||||||
|
External Terminal=konsole --noclose --workdir %workdir -e %exe
|
||||||
|
Project Target=
|
||||||
|
Use External Terminal=false
|
||||||
|
Working Directory=file://!!PROJECT_DIR!!/bin
|
||||||
|
isExecutable=true
|
||||||
|
EOF
|
||||||
39
projects/generate_vs141.vcxproj
Normal file
39
projects/generate_vs141.vcxproj
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>generate</ProjectName>
|
||||||
|
<ProjectGuid>{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}</ProjectGuid>
|
||||||
|
<RootNamespace>generate</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\source.list">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Running %27generate.vbs%27 ...</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript "$(ProjectDir)generate.vbs"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(FullPath);%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
40
projects/generate_vs142.vcxproj
Normal file
40
projects/generate_vs142.vcxproj
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>generate</ProjectName>
|
||||||
|
<ProjectGuid>{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}</ProjectGuid>
|
||||||
|
<RootNamespace>generate</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\source.list">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Running %27generate.vbs%27 ...</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript "$(ProjectDir)generate.vbs"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(FullPath);%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
390
projects/langs_vs141.vcxproj
Normal file
390
projects/langs_vs141.vcxproj
Normal file
@@ -0,0 +1,390 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>langs</ProjectName>
|
||||||
|
<ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid>
|
||||||
|
<RootNamespace>langs</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Message>Generating strings.h</Message>
|
||||||
|
<Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>./langs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\afrikaans.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating afrikaans language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\afrikaans.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\arabic_egypt.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating arabic_egypt language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\arabic_egypt.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\basque.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating basque language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\basque.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\belarusian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating belarusian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\belarusian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\brazilian_portuguese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating brazilian_portuguese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\brazilian_portuguese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\bulgarian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating bulgarian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\bulgarian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\catalan.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating catalan language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\catalan.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\croatian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating croatian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\croatian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\czech.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating czech language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\czech.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\danish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating danish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\danish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\dutch.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating dutch language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\dutch.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_AU.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_AU language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_AU.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_US.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_US language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_US.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\esperanto.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating esperanto language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\esperanto.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\estonian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating estonian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\estonian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\faroese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating faroese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\faroese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\finnish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating finnish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\finnish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\french.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating french language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\french.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\gaelic.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gaelic language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\gaelic.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\galician.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating galician language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\galician.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\german.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating german language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\german.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\greek.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating greek language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\greek.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hebrew.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hebrew language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hebrew.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hungarian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hungarian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hungarian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\icelandic.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating icelandic language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\icelandic.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\indonesian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating indonesian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\indonesian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\irish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating irish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\irish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\italian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating italian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\italian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\japanese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating japanese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\japanese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\korean.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating korean language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\korean.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latin.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating latin language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\latin.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latvian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating latvian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\latvian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\lithuanian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating lithuanian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\lithuanian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\luxembourgish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating luxembourgish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\luxembourgish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\malay.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating malay language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\malay.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_bokmal.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_bokmal language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_bokmal.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_nynorsk.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_nynorsk language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_nynorsk.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\polish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating polish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\polish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\portuguese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating portuguese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\portuguese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\romanian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating romanian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\romanian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\russian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating russian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\russian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\serbian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating serbian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\serbian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\simplified_chinese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating simplified_chinese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\simplified_chinese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovak.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovak language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovak.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovenian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovenian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish_MX language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish_MX.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating swedish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\swedish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\tamil.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating tamil language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\tamil.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\thai.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating thai language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\thai.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\traditional_chinese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating traditional_chinese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\traditional_chinese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\turkish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating turkish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\turkish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\ukrainian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ukrainian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\ukrainian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\vietnamese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating vietnamese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\vietnamese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\welsh.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating welsh language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\welsh.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="strgen_vs141.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
176
projects/langs_vs141.vcxproj.filters
Normal file
176
projects/langs_vs141.vcxproj.filters
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Translations">
|
||||||
|
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt" />
|
||||||
|
<CustomBuild Include="..\src\lang\afrikaans.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\arabic_egypt.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\basque.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\belarusian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\brazilian_portuguese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\bulgarian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\catalan.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\croatian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\czech.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\danish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\dutch.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_AU.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_US.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\esperanto.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\estonian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\faroese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\finnish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\french.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\gaelic.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\galician.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\german.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\greek.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hebrew.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hungarian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\icelandic.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\indonesian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\irish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\italian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\japanese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\korean.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latin.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latvian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\lithuanian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\luxembourgish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\malay.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_bokmal.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_nynorsk.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\polish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\portuguese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\romanian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\russian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\serbian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\simplified_chinese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovak.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\tamil.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\thai.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\traditional_chinese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\turkish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\ukrainian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\vietnamese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\welsh.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
12
projects/langs_vs141.vcxproj.filters.in
Normal file
12
projects/langs_vs141.vcxproj.filters.in
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Translations">
|
||||||
|
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt" />
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
61
projects/langs_vs141.vcxproj.in
Normal file
61
projects/langs_vs141.vcxproj.in
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>langs</ProjectName>
|
||||||
|
<ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid>
|
||||||
|
<RootNamespace>langs</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Message>Generating strings.h</Message>
|
||||||
|
<Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>./langs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="strgen_vs141.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
390
projects/langs_vs142.vcxproj
Normal file
390
projects/langs_vs142.vcxproj
Normal file
@@ -0,0 +1,390 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>langs</ProjectName>
|
||||||
|
<ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid>
|
||||||
|
<RootNamespace>langs</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Message>Generating strings.h</Message>
|
||||||
|
<Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>./langs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\afrikaans.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating afrikaans language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\afrikaans.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\arabic_egypt.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating arabic_egypt language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\arabic_egypt.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\basque.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating basque language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\basque.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\belarusian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating belarusian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\belarusian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\brazilian_portuguese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating brazilian_portuguese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\brazilian_portuguese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\bulgarian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating bulgarian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\bulgarian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\catalan.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating catalan language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\catalan.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\croatian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating croatian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\croatian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\czech.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating czech language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\czech.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\danish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating danish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\danish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\dutch.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating dutch language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\dutch.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_AU.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_AU language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_AU.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_US.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_US language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_US.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\esperanto.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating esperanto language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\esperanto.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\estonian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating estonian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\estonian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\faroese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating faroese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\faroese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\finnish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating finnish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\finnish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\french.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating french language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\french.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\gaelic.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gaelic language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\gaelic.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\galician.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating galician language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\galician.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\german.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating german language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\german.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\greek.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating greek language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\greek.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hebrew.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hebrew language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hebrew.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hungarian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hungarian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hungarian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\icelandic.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating icelandic language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\icelandic.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\indonesian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating indonesian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\indonesian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\irish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating irish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\irish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\italian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating italian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\italian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\japanese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating japanese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\japanese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\korean.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating korean language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\korean.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latin.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating latin language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\latin.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latvian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating latvian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\latvian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\lithuanian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating lithuanian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\lithuanian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\luxembourgish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating luxembourgish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\luxembourgish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\malay.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating malay language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\malay.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_bokmal.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_bokmal language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_bokmal.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_nynorsk.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_nynorsk language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_nynorsk.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\polish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating polish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\polish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\portuguese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating portuguese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\portuguese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\romanian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating romanian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\romanian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\russian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating russian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\russian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\serbian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating serbian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\serbian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\simplified_chinese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating simplified_chinese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\simplified_chinese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovak.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovak language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovak.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovenian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovenian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish_MX language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish_MX.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating swedish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\swedish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\tamil.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating tamil language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\tamil.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\thai.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating thai language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\thai.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\traditional_chinese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating traditional_chinese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\traditional_chinese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\turkish.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating turkish language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\turkish.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\ukrainian.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ukrainian language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\ukrainian.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\vietnamese.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating vietnamese language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\vietnamese.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\welsh.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating welsh language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\welsh.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="strgen_vs142.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
176
projects/langs_vs142.vcxproj.filters
Normal file
176
projects/langs_vs142.vcxproj.filters
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Translations">
|
||||||
|
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt" />
|
||||||
|
<CustomBuild Include="..\src\lang\afrikaans.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\arabic_egypt.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\basque.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\belarusian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\brazilian_portuguese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\bulgarian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\catalan.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\croatian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\czech.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\danish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\dutch.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_AU.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\english_US.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\esperanto.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\estonian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\faroese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\finnish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\french.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\gaelic.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\galician.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\german.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\greek.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hebrew.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\hungarian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\icelandic.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\indonesian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\irish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\italian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\japanese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\korean.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latin.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\latvian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\lithuanian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\luxembourgish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\malay.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_bokmal.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\norwegian_nynorsk.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\polish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\portuguese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\romanian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\russian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\serbian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\simplified_chinese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovak.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\tamil.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\thai.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\traditional_chinese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\turkish.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\ukrainian.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\vietnamese.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
<CustomBuild Include="..\src\lang\welsh.txt">
|
||||||
|
<Filter>Translations</Filter>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
12
projects/langs_vs142.vcxproj.filters.in
Normal file
12
projects/langs_vs142.vcxproj.filters.in
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Translations">
|
||||||
|
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt" />
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
61
projects/langs_vs142.vcxproj.in
Normal file
61
projects/langs_vs142.vcxproj.in
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>langs</ProjectName>
|
||||||
|
<ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid>
|
||||||
|
<RootNamespace>langs</RootNamespace>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Utility</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Message>Generating strings.h</Message>
|
||||||
|
<Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>./langs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CustomBuild Include="..\src\lang\english.txt">
|
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="strgen_vs142.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
103
projects/openttd_vs141.sln
Normal file
103
projects/openttd_vs141.sln
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 14
|
||||||
|
VisualStudioVersion = 14.0.23107.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs141.vcxproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strgen", "strgen_vs141.vcxproj", "{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "langs", "langs_vs141.vcxproj", "{0F066B23-18DF-4284-8265-F4A5E7E3B966}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs141.vcxproj", "{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs141.vcxproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings", "settings_vs141.vcxproj", "{0817F629-589E-4A3B-B81A-8647BC571E35}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settingsgen", "settingsgen_vs141.vcxproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regression", "regression_vs141.vcxproj", "{4712B013-437D-42CE-947F-DEBABA15261F}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "basesets", "basesets_vs141.vcxproj", "{E12E77CA-C0F1-4ADA-943F-4929274249D3}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DPCodeReviewSolutionGUID) = preSolution
|
||||||
|
DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
1370
projects/openttd_vs141.vcxproj
Normal file
1370
projects/openttd_vs141.vcxproj
Normal file
File diff suppressed because it is too large
Load Diff
3101
projects/openttd_vs141.vcxproj.filters
Normal file
3101
projects/openttd_vs141.vcxproj.filters
Normal file
File diff suppressed because it is too large
Load Diff
13
projects/openttd_vs141.vcxproj.filters.in
Normal file
13
projects/openttd_vs141.vcxproj.filters.in
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILTERS!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\media\openttd.ico" />
|
||||||
|
<None Include="..\README.md" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
374
projects/openttd_vs141.vcxproj.in
Normal file
374
projects/openttd_vs141.vcxproj.in
Normal file
@@ -0,0 +1,374 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>openttd</ProjectName>
|
||||||
|
<ProjectGuid>{668328A0-B40E-4CDB-BD72-D0064424414A}</ProjectGuid>
|
||||||
|
<RootNamespace>openttd</RootNamespace>
|
||||||
|
<VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet>
|
||||||
|
<VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\bin</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<StructMemberAlignment>4Bytes</StructMemberAlignment>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerOutput>All</AssemblerOutput>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<StructMemberAlignment>Default</StructMemberAlignment>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerOutput>All</AssemblerOutput>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>Cdecl</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\media\openttd.ico" />
|
||||||
|
<None Include="..\README.md" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="langs_vs141.vcxproj">
|
||||||
|
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="settingsgen_vs141.vcxproj">
|
||||||
|
<Project>{e9548de9-f089-49b7-93a6-30be2cc311c7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="settings_vs141.vcxproj">
|
||||||
|
<Project>{0817f629-589e-4a3b-b81a-8647bc571e35}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="strgen_vs141.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="version_vs141.vcxproj">
|
||||||
|
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="basesets_vs141.vcxproj">
|
||||||
|
<Project>{e12e77ca-c0f1-4ada-943f-4929274249d3}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
105
projects/openttd_vs142.sln
Normal file
105
projects/openttd_vs142.sln
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.28516.95
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs142.vcxproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strgen", "strgen_vs142.vcxproj", "{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "langs", "langs_vs142.vcxproj", "{0F066B23-18DF-4284-8265-F4A5E7E3B966}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs142.vcxproj", "{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs142.vcxproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings", "settings_vs142.vcxproj", "{0817F629-589E-4A3B-B81A-8647BC571E35}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settingsgen", "settingsgen_vs142.vcxproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regression", "regression_vs142.vcxproj", "{4712B013-437D-42CE-947F-DEBABA15261F}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "basesets", "basesets_vs142.vcxproj", "{E12E77CA-C0F1-4ADA-943F-4929274249D3}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4712B013-437D-42CE-947F-DEBABA15261F}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Debug|x64.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|Win32.Build.0 = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|x64.ActiveCfg = Debug|Win32
|
||||||
|
{E12E77CA-C0F1-4ADA-943F-4929274249D3}.Release|x64.Build.0 = Debug|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {1DE4D2BD-DBC4-4304-907E-34994EEAA4C1}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DPCodeReviewSolutionGUID) = preSolution
|
||||||
|
DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
1370
projects/openttd_vs142.vcxproj
Normal file
1370
projects/openttd_vs142.vcxproj
Normal file
File diff suppressed because it is too large
Load Diff
3101
projects/openttd_vs142.vcxproj.filters
Normal file
3101
projects/openttd_vs142.vcxproj.filters
Normal file
File diff suppressed because it is too large
Load Diff
13
projects/openttd_vs142.vcxproj.filters.in
Normal file
13
projects/openttd_vs142.vcxproj.filters.in
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILTERS!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\media\openttd.ico" />
|
||||||
|
<None Include="..\README.md" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
374
projects/openttd_vs142.vcxproj.in
Normal file
374
projects/openttd_vs142.vcxproj.in
Normal file
@@ -0,0 +1,374 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>openttd</ProjectName>
|
||||||
|
<ProjectGuid>{668328A0-B40E-4CDB-BD72-D0064424414A}</ProjectGuid>
|
||||||
|
<RootNamespace>openttd</RootNamespace>
|
||||||
|
<VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet>
|
||||||
|
<VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\bin</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<StructMemberAlignment>4Bytes</StructMemberAlignment>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerOutput>All</AssemblerOutput>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Full</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<StructMemberAlignment>Default</StructMemberAlignment>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerOutput>All</AssemblerOutput>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>FastCall</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TargetEnvironment>X64</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/J /Zc:throwingNew /std:c++latest %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<PrecompiledHeaderFile>
|
||||||
|
</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderOutputFile>
|
||||||
|
</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>$(IntDir)</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CallingConvention>Cdecl</CallingConvention>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0809</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<StackReserveSize>1048576</StackReserveSize>
|
||||||
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\media\openttd.ico" />
|
||||||
|
<None Include="..\README.md" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="langs_vs142.vcxproj">
|
||||||
|
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="settingsgen_vs142.vcxproj">
|
||||||
|
<Project>{e9548de9-f089-49b7-93a6-30be2cc311c7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="settings_vs142.vcxproj">
|
||||||
|
<Project>{0817f629-589e-4a3b-b81a-8647bc571e35}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="strgen_vs142.vcxproj">
|
||||||
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="version_vs142.vcxproj">
|
||||||
|
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="basesets_vs142.vcxproj">
|
||||||
|
<Project>{e12e77ca-c0f1-4ada-943f-4929274249d3}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
17
projects/os_versions.manifest
Normal file
17
projects/os_versions.manifest
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" >
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!--This Id value indicates the application supports Windows Vista functionality -->
|
||||||
|
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
||||||
|
<!--This Id value indicates the application supports Windows 7 functionality-->
|
||||||
|
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||||
|
<!--This Id value indicates the application supports Windows 8 functionality-->
|
||||||
|
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
|
||||||
|
<!--This Id value indicates the application supports Windows 8.1 functionality-->
|
||||||
|
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
||||||
|
<!--This Id value indicates the application supports Windows 10 functionality-->
|
||||||
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
</assembly>
|
||||||
6
projects/regression.bat
Normal file
6
projects/regression.bat
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cd ..\bin
|
||||||
|
editbin /nologo /subsystem:console openttd.exe
|
||||||
|
cscript /nologo ai\regression\run.vbs
|
||||||
|
set RESULT=%ERRORLEVEL%
|
||||||
|
editbin /nologo /subsystem:windows openttd.exe
|
||||||
|
exit %RESULT%
|
||||||
41
projects/regression_vs140.vcxproj
Normal file
41
projects/regression_vs140.vcxproj
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{4712B013-437D-42CE-947F-DEBABA15261F}</ProjectGuid>
|
||||||
|
<RootNamespace>regression</RootNamespace>
|
||||||
|
<ProjectName>regression</ProjectName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<NMakeBuildCommandLine>call regression.bat</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine>call regression.bat</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine>del ..\bin\tmp.regression</NMakeCleanCommandLine>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="openttd_vs140.vcxproj">
|
||||||
|
<Project>{668328a0-b40e-4cdb-bd72-d0064424414a}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
41
projects/regression_vs141.vcxproj
Normal file
41
projects/regression_vs141.vcxproj
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{4712B013-437D-42CE-947F-DEBABA15261F}</ProjectGuid>
|
||||||
|
<RootNamespace>regression</RootNamespace>
|
||||||
|
<ProjectName>regression</ProjectName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<NMakeBuildCommandLine>call regression.bat</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine>call regression.bat</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine>del ..\bin\tmp.regression</NMakeCleanCommandLine>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="openttd_vs141.vcxproj">
|
||||||
|
<Project>{668328a0-b40e-4cdb-bd72-d0064424414a}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
41
projects/regression_vs142.vcxproj
Normal file
41
projects/regression_vs142.vcxproj
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{4712B013-437D-42CE-947F-DEBABA15261F}</ProjectGuid>
|
||||||
|
<RootNamespace>regression</RootNamespace>
|
||||||
|
<ProjectName>regression</ProjectName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<NMakeBuildCommandLine>call regression.bat</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine>call regression.bat</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine>del ..\bin\tmp.regression</NMakeCleanCommandLine>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="openttd_vs142.vcxproj">
|
||||||
|
<Project>{668328a0-b40e-4cdb-bd72-d0064424414a}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
60
projects/settings_vs141.vcxproj
Normal file
60
projects/settings_vs141.vcxproj
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectName>settings</ProjectName>
|
||||||
|
<ProjectGuid>{0817F629-589E-4A3B-B81A-8647BC571E35}</ProjectGuid>
|
||||||
|
<RootNamespace>settings</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros">
|
||||||
|
<SettingsCommandLine>
|
||||||
|
..\objs\settings\settings_gen.exe -o ..\objs\settings\table\settings.h -b ..\src\table\settings.h.preamble -a ..\src\table\settings.h.postamble ..\src\table\company_settings.ini ..\src\table\currency_settings.ini ..\src\table\gameopt_settings.ini ..\src\table\misc_settings.ini ..\src\table\settings.ini ..\src\table\win32_settings.ini ..\src\table\window_settings.ini
|
||||||
|
</SettingsCommandLine>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">del ..\objs\settings\table\settings.h</NMakeCleanCommandLine>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\settings.h</NMakeOutput>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\company_settings.ini" />
|
||||||
|
<None Include="..\src\table\currency_settings.ini" />
|
||||||
|
<None Include="..\src\table\gameopt_settings.ini" />
|
||||||
|
<None Include="..\src\table\misc_settings.ini" />
|
||||||
|
<None Include="..\src\table\settings.ini" />
|
||||||
|
<None Include="..\src\table\win32_settings.ini" />
|
||||||
|
<None Include="..\src\table\window_settings.ini" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\settings.h.postamble" />
|
||||||
|
<None Include="..\src\table\settings.h.preamble" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="settingsgen_vs141.vcxproj">
|
||||||
|
<Project>{e9548de9-f089-49b7-93a6-30be2cc311c7}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
35
projects/settings_vs141.vcxproj.filters
Normal file
35
projects/settings_vs141.vcxproj.filters
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="INI">
|
||||||
|
<UniqueIdentifier>{21deca6c-8df4-4f34-9dad-17d7781cd5a0}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\company_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\currency_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\gameopt_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\misc_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\win32_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="..\src\table\window_settings.ini">
|
||||||
|
<Filter>INI</Filter>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\settings.h.postamble" />
|
||||||
|
<None Include="..\src\table\settings.h.preamble" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user