Merge branch 'save_ext' into cargo_type_order
# Conflicts: # src/core/smallstack_type.hpp
This commit is contained in:
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
|
8
.gitignore
vendored
8
.gitignore
vendored
@@ -7,6 +7,7 @@ bin/ai/*
|
|||||||
bin/baseset/*
|
bin/baseset/*
|
||||||
!bin/baseset/openttd.grf
|
!bin/baseset/openttd.grf
|
||||||
!bin/baseset/opntitle.dat
|
!bin/baseset/opntitle.dat
|
||||||
|
!bin/baseset/orig_extra.grf
|
||||||
!bin/baseset/orig_*.obg
|
!bin/baseset/orig_*.obg
|
||||||
!bin/baseset/orig_*.obs
|
!bin/baseset/orig_*.obs
|
||||||
!bin/baseset/no_sound.obs
|
!bin/baseset/no_sound.obs
|
||||||
@@ -17,14 +18,19 @@ bin/scripts/*
|
|||||||
!bin/scripts/*.example
|
!bin/scripts/*.example
|
||||||
!bin/scripts/readme.txt
|
!bin/scripts/readme.txt
|
||||||
|
|
||||||
|
*.aps
|
||||||
bundle/*
|
bundle/*
|
||||||
bundles/*
|
bundles/*
|
||||||
docs/aidocs/*
|
docs/aidocs/*
|
||||||
docs/gamedocs/*
|
docs/gamedocs/*
|
||||||
docs/source/*
|
docs/source/*
|
||||||
|
.kdev4
|
||||||
|
.kdev4/*
|
||||||
|
*.kdev4
|
||||||
media/openttd.desktop
|
media/openttd.desktop
|
||||||
media/openttd.desktop.install
|
media/openttd.desktop.install
|
||||||
objs/*
|
objs/*
|
||||||
|
projects/.vs
|
||||||
projects/Debug
|
projects/Debug
|
||||||
projects/Release
|
projects/Release
|
||||||
projects/*.ncb
|
projects/*.ncb
|
||||||
@@ -33,6 +39,8 @@ projects/*.sdf
|
|||||||
projects/*.opensdf
|
projects/*.opensdf
|
||||||
projects/*.vcproj.*.user
|
projects/*.vcproj.*.user
|
||||||
projects/*.vcxproj.user
|
projects/*.vcxproj.user
|
||||||
|
projects/*.VC.db
|
||||||
|
projects/*.VC.opendb
|
||||||
src/rev.cpp
|
src/rev.cpp
|
||||||
src/os/windows/ottdres.rc
|
src/os/windows/ottdres.rc
|
||||||
|
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
syntax: glob
|
syntax: glob
|
||||||
|
|
||||||
.svn
|
.svn
|
||||||
|
*.aps
|
||||||
bin/baseset/openttd.32.bmp
|
bin/baseset/openttd.32.bmp
|
||||||
bin/lang/*
|
bin/lang/*
|
||||||
bin/openttd*
|
bin/openttd*
|
||||||
@@ -13,12 +14,16 @@ config.pwd
|
|||||||
docs/aidocs/*
|
docs/aidocs/*
|
||||||
docs/gamedocs/*
|
docs/gamedocs/*
|
||||||
docs/source/*
|
docs/source/*
|
||||||
|
.kdev4
|
||||||
|
.kdev4/*
|
||||||
|
*.kdev4
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.am
|
Makefile.am
|
||||||
Makefile.bundle
|
Makefile.bundle
|
||||||
media/openttd.desktop
|
media/openttd.desktop
|
||||||
media/openttd.desktop.install
|
media/openttd.desktop.install
|
||||||
objs/*
|
objs/*
|
||||||
|
projects/.vs
|
||||||
projects/*.ncb
|
projects/*.ncb
|
||||||
projects/*.suo
|
projects/*.suo
|
||||||
projects/*.sdf
|
projects/*.sdf
|
||||||
|
170
CONTRIBUTING.md
Normal file
170
CONTRIBUTING.md
Normal file
@@ -0,0 +1,170 @@
|
|||||||
|
|
||||||
|
# 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).
|
||||||
|
|
||||||
|
### 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.
|
2
COPYING
2
COPYING
@@ -1,5 +1,5 @@
|
|||||||
This is the license which applies to OpenTTD with the exception of some
|
This is the license which applies to OpenTTD with the exception of some
|
||||||
3rd party modules. See readme.txt for details
|
3rd party modules. See README.md for details
|
||||||
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
75
Jenkinsfile
vendored
Normal file
75
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
|
// The stages we run one by one
|
||||||
|
// Please don't add more than 2 items in a single stage; this hurts performance
|
||||||
|
def ci_stages = [
|
||||||
|
"Checkers": [
|
||||||
|
"commit-checker": "openttd/compile-farm-ci:commit-checker",
|
||||||
|
],
|
||||||
|
"Compilers": [
|
||||||
|
"linux-amd64-gcc-6": "openttd/compile-farm-ci:linux-amd64-gcc-6",
|
||||||
|
"linux-amd64-clang-3.8": "openttd/compile-farm-ci:linux-amd64-clang-3.8",
|
||||||
|
],
|
||||||
|
"Archs": [
|
||||||
|
"linux-i386-gcc-6": "openttd/compile-farm-ci:linux-i386-gcc-6",
|
||||||
|
],
|
||||||
|
"OS": [
|
||||||
|
"osx-10.9": "openttd/compile-farm-ci:osx-10.9",
|
||||||
|
],
|
||||||
|
]
|
||||||
|
|
||||||
|
def generateStage(targets) {
|
||||||
|
return targets.collectEntries{ key, target ->
|
||||||
|
["${key}": generateCI(key, target)]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def generateCI(display_name, image_name) {
|
||||||
|
return {
|
||||||
|
githubNotify context: 'openttd/' + display_name, description: 'This commit is being built', status: 'PENDING'
|
||||||
|
|
||||||
|
try {
|
||||||
|
dir("${display_name}") {
|
||||||
|
unstash "source"
|
||||||
|
|
||||||
|
docker.image("${image_name}").pull()
|
||||||
|
docker.image("${image_name}").withRun("--volumes-from ${hostname} --workdir " + pwd()) { c ->
|
||||||
|
sh "docker logs --follow ${c.id}; exit `docker wait ${c.id}`"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
githubNotify context: 'openttd/' + display_name, description: 'The commit looks good', status: 'SUCCESS'
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
githubNotify context: 'openttd/' + display_name, description: 'The commit cannot be built', status: 'FAILURE'
|
||||||
|
throw error
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
node {
|
||||||
|
ansiColor('xterm') {
|
||||||
|
stage("Checkout") {
|
||||||
|
checkout scm
|
||||||
|
|
||||||
|
// Ensure user.email and user.name is set, otherwise rebase cannot work
|
||||||
|
sh "git config user.email 'info@openttd.org'"
|
||||||
|
sh "git config user.name 'OpenTTD CI'"
|
||||||
|
|
||||||
|
// Ensure we also have origin/master available
|
||||||
|
sh "git fetch --no-tags origin master:refs/remotes/origin/master"
|
||||||
|
|
||||||
|
// Try to rebase to origin/master; if this fails, fail the CI
|
||||||
|
sh "git rebase origin/master"
|
||||||
|
|
||||||
|
stash name: "source", useDefaultExcludes: false
|
||||||
|
}
|
||||||
|
|
||||||
|
ci_stages.each { ci_stage ->
|
||||||
|
stage(ci_stage.key) {
|
||||||
|
parallel generateStage(ci_stage.value)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@@ -12,15 +12,15 @@
|
|||||||
# The revision is needed for the bundle name and creating an OSX application bundle.
|
# The revision is needed for the bundle name and creating an OSX application bundle.
|
||||||
# Detect the revision
|
# Detect the revision
|
||||||
VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
|
VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
|
||||||
REV := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
|
VERSION := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
|
||||||
|
|
||||||
# Make sure we have something in REV
|
# Make sure we have something in VERSION
|
||||||
ifeq ($(REV),)
|
ifeq ($(VERSION),)
|
||||||
REV := norev000
|
VERSION := norev000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef BUNDLE_NAME
|
ifndef BUNDLE_NAME
|
||||||
BUNDLE_NAME = openttd-custom-$(REV)-$(OS)
|
BUNDLE_NAME = openttd-custom-$(VERSION)-$(OS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.
|
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.
|
||||||
@@ -69,7 +69,7 @@ endif
|
|||||||
$(Q)cp "$(BIN_DIR)/baseset/opntitle.dat" "$(BASESET_DIR)/"
|
$(Q)cp "$(BIN_DIR)/baseset/opntitle.dat" "$(BASESET_DIR)/"
|
||||||
$(Q)cp "$(BIN_DIR)/baseset/"*.obm "$(BASESET_DIR)/"
|
$(Q)cp "$(BIN_DIR)/baseset/"*.obm "$(BASESET_DIR)/"
|
||||||
$(Q)cp "$(BIN_DIR)/lang/"*.lng "$(LANG_DIR)/"
|
$(Q)cp "$(BIN_DIR)/lang/"*.lng "$(LANG_DIR)/"
|
||||||
$(Q)cp "$(ROOT_DIR)/readme.txt" "$(BUNDLE_DIR)/"
|
$(Q)cp "$(ROOT_DIR)/README.md" "$(BUNDLE_DIR)/"
|
||||||
$(Q)cp "$(ROOT_DIR)/COPYING" "$(BUNDLE_DIR)/"
|
$(Q)cp "$(ROOT_DIR)/COPYING" "$(BUNDLE_DIR)/"
|
||||||
$(Q)cp "$(ROOT_DIR)/known-bugs.txt" "$(BUNDLE_DIR)/"
|
$(Q)cp "$(ROOT_DIR)/known-bugs.txt" "$(BUNDLE_DIR)/"
|
||||||
$(Q)cp "$(ROOT_DIR)/docs/multiplayer.txt" "$(BUNDLE_DIR)/docs/"
|
$(Q)cp "$(ROOT_DIR)/docs/multiplayer.txt" "$(BUNDLE_DIR)/docs/"
|
||||||
@@ -88,7 +88,7 @@ ifdef MENU_DIR
|
|||||||
$(Q)sed s/=openttd/=$(BINARY_NAME)/g "$(BUNDLE_DIR)/media/openttd.desktop" > "$(ROOT_DIR)/media/openttd.desktop.install"
|
$(Q)sed s/=openttd/=$(BINARY_NAME)/g "$(BUNDLE_DIR)/media/openttd.desktop" > "$(ROOT_DIR)/media/openttd.desktop.install"
|
||||||
endif
|
endif
|
||||||
ifeq ($(TTD), openttd.exe)
|
ifeq ($(TTD), openttd.exe)
|
||||||
$(Q)unix2dos "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/readme.txt" "$(BUNDLE_DIR)/COPYING" "$(BUNDLE_DIR)/changelog.txt" "$(BUNDLE_DIR)/known-bugs.txt"
|
$(Q)unix2dos "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/README.md" "$(BUNDLE_DIR)/COPYING" "$(BUNDLE_DIR)/changelog.txt" "$(BUNDLE_DIR)/known-bugs.txt"
|
||||||
ifeq ($(OS), DOS)
|
ifeq ($(OS), DOS)
|
||||||
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi/cwsdpmi.txt" "$(BUNDLE_DIR)/docs/"
|
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi/cwsdpmi.txt" "$(BUNDLE_DIR)/docs/"
|
||||||
ifndef STRIP
|
ifndef STRIP
|
||||||
@@ -159,7 +159,7 @@ bundle_dmg: bundle
|
|||||||
bundle_exe: all
|
bundle_exe: all
|
||||||
@echo '[BUNDLE] Creating $(BUNDLE_NAME).exe'
|
@echo '[BUNDLE] Creating $(BUNDLE_NAME).exe'
|
||||||
$(Q)mkdir -p "$(BUNDLES_DIR)"
|
$(Q)mkdir -p "$(BUNDLES_DIR)"
|
||||||
$(Q)unix2dos "$(ROOT_DIR)/docs/"*.txt "$(ROOT_DIR)/readme.txt" "$(ROOT_DIR)/COPYING" "$(ROOT_DIR)/changelog.txt" "$(ROOT_DIR)/known-bugs.txt"
|
$(Q)unix2dos "$(ROOT_DIR)/docs/"*.txt "$(ROOT_DIR)/README.md" "$(ROOT_DIR)/COPYING" "$(ROOT_DIR)/changelog.txt" "$(ROOT_DIR)/known-bugs.txt"
|
||||||
$(Q)cd $(ROOT_DIR)/os/windows/installer && makensis.exe //DVERSION_INCLUDE=version_$(PLATFORM).txt install.nsi
|
$(Q)cd $(ROOT_DIR)/os/windows/installer && makensis.exe //DVERSION_INCLUDE=version_$(PLATFORM).txt install.nsi
|
||||||
$(Q)mv $(ROOT_DIR)/os/windows/installer/*$(PLATFORM).exe "$(BUNDLES_DIR)/$(BUNDLE_NAME).exe"
|
$(Q)mv $(ROOT_DIR)/os/windows/installer/*$(PLATFORM).exe "$(BUNDLES_DIR)/$(BUNDLE_NAME).exe"
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ endif
|
|||||||
$(Q)install -m 644 "$(BUNDLE_DIR)/scripts/"* "$(INSTALL_DATA_DIR)/scripts"
|
$(Q)install -m 644 "$(BUNDLE_DIR)/scripts/"* "$(INSTALL_DATA_DIR)/scripts"
|
||||||
ifndef DO_NOT_INSTALL_DOCS
|
ifndef DO_NOT_INSTALL_DOCS
|
||||||
$(Q)install -d "$(INSTALL_DOC_DIR)"
|
$(Q)install -d "$(INSTALL_DOC_DIR)"
|
||||||
$(Q)install -m 644 "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/readme.txt" "$(BUNDLE_DIR)/known-bugs.txt" "$(INSTALL_DOC_DIR)"
|
$(Q)install -m 644 "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/README.md" "$(BUNDLE_DIR)/known-bugs.txt" "$(INSTALL_DOC_DIR)"
|
||||||
endif
|
endif
|
||||||
ifndef DO_NOT_INSTALL_CHANGELOG
|
ifndef DO_NOT_INSTALL_CHANGELOG
|
||||||
$(Q)install -d "$(INSTALL_DOC_DIR)"
|
$(Q)install -d "$(INSTALL_DOC_DIR)"
|
||||||
|
@@ -44,22 +44,18 @@ PNG_FILES := $(GRF_DIR)/*.png $(GRF_DIR)/rivers/*.png
|
|||||||
|
|
||||||
# Build the GRF.
|
# Build the GRF.
|
||||||
ifdef GRFCODEC
|
ifdef GRFCODEC
|
||||||
all: $(BIN_DIR)/openttd.grf $(BIN_DIR)/orig_dos.obg $(BIN_DIR)/orig_dos_de.obg $(BIN_DIR)/orig_win.obg $(BIN_DIR)/orig_dos.obs $(BIN_DIR)/orig_win.obs $(BIN_DIR)/no_sound.obs $(BIN_DIR)/orig_win.obm $(BIN_DIR)/no_music.obm
|
all: $(BIN_DIR)/openttd.grf $(BIN_DIR)/orig_extra.grf $(BIN_DIR)/orig_dos.obg $(BIN_DIR)/orig_dos_de.obg $(BIN_DIR)/orig_win.obg $(BIN_DIR)/orig_dos.obs $(BIN_DIR)/orig_win.obs $(BIN_DIR)/no_sound.obs $(BIN_DIR)/orig_win.obm $(BIN_DIR)/no_music.obm
|
||||||
else
|
else
|
||||||
all:
|
all:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Make sure the sprites directory exists.
|
|
||||||
$(OBJS_DIR)/sprites:
|
|
||||||
$(Q)-mkdir "$@"
|
|
||||||
|
|
||||||
$(OBJS_DIR)/langfiles.tmp: $(LANG_DIR)/*.txt
|
$(OBJS_DIR)/langfiles.tmp: $(LANG_DIR)/*.txt
|
||||||
$(E) '$(STAGE) Collecting baseset translations'
|
$(E) '$(STAGE) Collecting baseset translations'
|
||||||
$(Q) cat $^ > $@
|
$(Q) cat $^ > $@
|
||||||
|
|
||||||
$(BIN_DIR)/%.obg: $(BASESET_DIR)/%.obg $(BIN_DIR)/openttd.grf $(OBJS_DIR)/langfiles.tmp $(BASESET_DIR)/translations.awk
|
$(BIN_DIR)/%.obg: $(BASESET_DIR)/%.obg $(BIN_DIR)/orig_extra.grf $(OBJS_DIR)/langfiles.tmp $(BASESET_DIR)/translations.awk
|
||||||
$(E) '$(STAGE) Updating $(notdir $@)'
|
$(E) '$(STAGE) Updating $(notdir $@)'
|
||||||
$(Q) sed 's/^OPENTTD.GRF = *[0-9a-f]*$$/OPENTTD.GRF = '`$(MD5SUM) $(BIN_DIR)/openttd.grf | sed 's@ .*@@'`'/' $< > $@.tmp
|
$(Q) sed 's/^ORIG_EXTRA.GRF = *[0-9a-f]*$$/ORIG_EXTRA.GRF = '`$(MD5SUM) $(BIN_DIR)/orig_extra.grf | sed 's@ .*@@'`'/' $< > $@.tmp
|
||||||
$(Q) awk -v langfiles='$(OBJS_DIR)/langfiles.tmp' -f $(BASESET_DIR)/translations.awk $@.tmp >$@
|
$(Q) awk -v langfiles='$(OBJS_DIR)/langfiles.tmp' -f $(BASESET_DIR)/translations.awk $@.tmp >$@
|
||||||
$(Q) rm $@.tmp
|
$(Q) rm $@.tmp
|
||||||
|
|
||||||
@@ -72,8 +68,9 @@ $(BIN_DIR)/%.obm: $(BASESET_DIR)/%.obm $(OBJS_DIR)/langfiles.tmp $(BASESET_DIR)/
|
|||||||
$(Q) awk -v langfiles='$(OBJS_DIR)/langfiles.tmp' -f $(BASESET_DIR)/translations.awk $< >$@
|
$(Q) awk -v langfiles='$(OBJS_DIR)/langfiles.tmp' -f $(BASESET_DIR)/translations.awk $< >$@
|
||||||
|
|
||||||
# Compile extra grf
|
# Compile extra grf
|
||||||
$(BIN_DIR)/openttd.grf: $(PNG_FILES) $(NFO_FILES) $(OBJS_DIR)/sprites $(GRF_DIR)/assemble_nfo.awk
|
$(BIN_DIR)/openttd.grf: $(PNG_FILES) $(NFO_FILES) $(GRF_DIR)/assemble_nfo.awk
|
||||||
$(E) '$(STAGE) Assembling openttd.nfo'
|
$(E) '$(STAGE) Assembling openttd.nfo'
|
||||||
|
$(Q)-mkdir -p $(OBJS_DIR)/sprites
|
||||||
$(Q)-cp $(PNG_FILES) $(OBJS_DIR)/sprites 2> /dev/null
|
$(Q)-cp $(PNG_FILES) $(OBJS_DIR)/sprites 2> /dev/null
|
||||||
$(Q) awk -f $(GRF_DIR)/assemble_nfo.awk $(GRF_DIR)/openttd.nfo > $(OBJS_DIR)/sprites/openttd.nfo
|
$(Q) awk -f $(GRF_DIR)/assemble_nfo.awk $(GRF_DIR)/openttd.nfo > $(OBJS_DIR)/sprites/openttd.nfo
|
||||||
$(Q) $(NFORENUM) -s $(OBJS_DIR)/sprites/openttd.nfo
|
$(Q) $(NFORENUM) -s $(OBJS_DIR)/sprites/openttd.nfo
|
||||||
@@ -81,6 +78,17 @@ $(BIN_DIR)/openttd.grf: $(PNG_FILES) $(NFO_FILES) $(OBJS_DIR)/sprites $(GRF_DIR)
|
|||||||
$(Q) $(GRFCODEC) -n -s -e -p1 $(OBJS_DIR)/openttd.grf
|
$(Q) $(GRFCODEC) -n -s -e -p1 $(OBJS_DIR)/openttd.grf
|
||||||
$(Q)cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf
|
$(Q)cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf
|
||||||
|
|
||||||
|
# The copy operation of PNG_FILES is duplicated from the target 'openttd.grf', thus those targets may not run in parallel.
|
||||||
|
$(BIN_DIR)/orig_extra.grf: $(PNG_FILES) $(NFO_FILES) $(GRF_DIR)/assemble_nfo.awk | $(BIN_DIR)/openttd.grf
|
||||||
|
$(E) '$(STAGE) Assembling orig_extra.nfo'
|
||||||
|
$(Q)-mkdir -p $(OBJS_DIR)/sprites
|
||||||
|
$(Q)-cp $(PNG_FILES) $(OBJS_DIR)/sprites 2> /dev/null
|
||||||
|
$(Q) awk -f $(GRF_DIR)/assemble_nfo.awk $(GRF_DIR)/orig_extra.nfo > $(OBJS_DIR)/sprites/orig_extra.nfo
|
||||||
|
$(Q) $(NFORENUM) -s $(OBJS_DIR)/sprites/orig_extra.nfo
|
||||||
|
$(E) '$(STAGE) Compiling orig_extra.grf'
|
||||||
|
$(Q) $(GRFCODEC) -n -s -e -p1 $(OBJS_DIR)/orig_extra.grf
|
||||||
|
$(Q)cp $(OBJS_DIR)/orig_extra.grf $(BIN_DIR)/orig_extra.grf
|
||||||
|
|
||||||
# Clean up temporary files.
|
# Clean up temporary files.
|
||||||
clean:
|
clean:
|
||||||
$(Q)rm -f *.bak *.grf
|
$(Q)rm -f *.bak *.grf
|
||||||
|
@@ -152,7 +152,7 @@ mrproper:
|
|||||||
distclean: mrproper
|
distclean: mrproper
|
||||||
|
|
||||||
maintainer-clean: distclean
|
maintainer-clean: distclean
|
||||||
$(Q)rm -f $(BIN_DIR)/baseset/openttd.grf $(BIN_DIR)/baseset/*.obg $(BIN_DIR)/baseset/*.obs $(BIN_DIR)/baseset/*.obm
|
$(Q)rm -f $(BIN_DIR)/baseset/openttd.grf $(BIN_DIR)/baseset/orig_extra.grf $(BIN_DIR)/baseset/*.obg $(BIN_DIR)/baseset/*.obs $(BIN_DIR)/baseset/*.obm
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
@for dir in $(SRC_DIRS); do \
|
@for dir in $(SRC_DIRS); do \
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
# 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/>.
|
# 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/>.
|
||||||
|
|
||||||
STRGEN = !!STRGEN!!
|
STRGEN = !!STRGEN!!
|
||||||
ENDIAN_CHECK = !!ENDIAN_CHECK!!
|
|
||||||
SRC_DIR = !!SRC_DIR!!
|
SRC_DIR = !!SRC_DIR!!
|
||||||
LANG_DIR = !!LANG_DIR!!
|
LANG_DIR = !!LANG_DIR!!
|
||||||
BIN_DIR = !!BIN_DIR!!
|
BIN_DIR = !!BIN_DIR!!
|
||||||
@@ -25,11 +24,6 @@ ifeq ($(LANG_SUPPRESS), yes)
|
|||||||
LANG_ERRORS = >/dev/null 2>&1
|
LANG_ERRORS = >/dev/null 2>&1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Make sure endian_host.h is reachable as if it was in the src/ dir
|
|
||||||
CFLAGS_BUILD += -I $(LANG_OBJS_DIR)
|
|
||||||
|
|
||||||
ENDIAN_TARGETS := endian_host.h endian_target.h $(ENDIAN_CHECK)
|
|
||||||
|
|
||||||
# Check if we want to show what we are doing
|
# Check if we want to show what we are doing
|
||||||
ifdef VERBOSE
|
ifdef VERBOSE
|
||||||
Q =
|
Q =
|
||||||
@@ -43,19 +37,19 @@ RES := $(shell mkdir -p $(BIN_DIR)/lang )
|
|||||||
|
|
||||||
all: table/strings.h $(LANGS)
|
all: table/strings.h $(LANGS)
|
||||||
|
|
||||||
strgen_base.o: $(SRC_DIR)/strgen/strgen_base.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h $(SRC_DIR)/safeguards.h
|
strgen_base.o: $(SRC_DIR)/strgen/strgen_base.cpp $(SRC_DIR)/strgen/strgen.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
||||||
|
|
||||||
strgen.o: $(SRC_DIR)/strgen/strgen.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h $(SRC_DIR)/safeguards.h
|
strgen.o: $(SRC_DIR)/strgen/strgen.cpp $(SRC_DIR)/strgen/strgen.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
||||||
|
|
||||||
string.o: $(SRC_DIR)/string.cpp endian_host.h $(SRC_DIR)/safeguards.h
|
string.o: $(SRC_DIR)/string.cpp $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
||||||
|
|
||||||
alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h $(SRC_DIR)/safeguards.h
|
alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSTRGEN -c -o $@ $<
|
||||||
|
|
||||||
@@ -80,21 +74,11 @@ $(LANGS): %.lng: $(LANG_DIR)/%.txt $(STRGEN) lang/english.txt
|
|||||||
$(E) '$(STAGE) Compiling language $(*F)'
|
$(E) '$(STAGE) Compiling language $(*F)'
|
||||||
$(Q)./$(STRGEN) $(STRGEN_FLAGS) -s $(LANG_DIR) -d $(LANG_OBJS_DIR) $< $(LANG_ERRORS) && cp $@ $(BIN_DIR)/lang || true # Do not fail all languages when one fails
|
$(Q)./$(STRGEN) $(STRGEN_FLAGS) -s $(LANG_DIR) -d $(LANG_OBJS_DIR) $< $(LANG_ERRORS) && cp $@ $(BIN_DIR)/lang || true # Do not fail all languages when one fails
|
||||||
|
|
||||||
# The targets to compile the endian-code
|
|
||||||
|
|
||||||
endian_host.h: $(ENDIAN_CHECK)
|
|
||||||
$(E) '$(STAGE) Testing endianness for host'
|
|
||||||
$(Q)./$(ENDIAN_CHECK) > $@
|
|
||||||
|
|
||||||
$(ENDIAN_CHECK): $(SRC_DIR)/endian_check.cpp
|
|
||||||
$(E) '$(STAGE) Compiling and Linking $@'
|
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) $(LDFLAGS_BUILD) $< -o $@
|
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(E) '$(STAGE) Cleaning up language files'
|
$(E) '$(STAGE) Cleaning up language files'
|
||||||
$(Q)rm -f strgen.o string.o alloc_func.o getoptdata.o table/strings.h $(STRGEN) $(LANGS) $(LANGS:%=$(BIN_DIR)/lang/%) lang/english.* $(ENDIAN_TARGETS)
|
$(Q)rm -f strgen.o string.o alloc_func.o getoptdata.o table/strings.h $(STRGEN) $(LANGS) $(LANGS:%=$(BIN_DIR)/lang/%) lang/english.*
|
||||||
|
|
||||||
mrproper: clean
|
mrproper: clean
|
||||||
$(Q)rm -rf $(BIN_DIR)/lang
|
$(Q)rm -rf $(BIN_DIR)/lang
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
# 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/>.
|
# 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/>.
|
||||||
|
|
||||||
SETTINGSGEN = !!SETTINGSGEN!!
|
SETTINGSGEN = !!SETTINGSGEN!!
|
||||||
ENDIAN_CHECK = !!ENDIAN_CHECK!!
|
|
||||||
SRC_DIR = !!SRC_DIR!!
|
SRC_DIR = !!SRC_DIR!!
|
||||||
CXX_BUILD = !!CXX_BUILD!!
|
CXX_BUILD = !!CXX_BUILD!!
|
||||||
CFLAGS_BUILD = !!CFLAGS_BUILD!!
|
CFLAGS_BUILD = !!CFLAGS_BUILD!!
|
||||||
@@ -15,8 +14,6 @@ LDFLAGS_BUILD = !!LDFLAGS_BUILD!!
|
|||||||
STAGE = !!STAGE!!
|
STAGE = !!STAGE!!
|
||||||
SETTING_OBJS_DIR = !!SETTING_OBJS_DIR!!
|
SETTING_OBJS_DIR = !!SETTING_OBJS_DIR!!
|
||||||
|
|
||||||
ENDIAN_TARGETS := endian_host.h endian_target.h $(ENDIAN_CHECK)
|
|
||||||
|
|
||||||
# Check if we want to show what we are doing
|
# Check if we want to show what we are doing
|
||||||
ifdef VERBOSE
|
ifdef VERBOSE
|
||||||
Q =
|
Q =
|
||||||
@@ -32,7 +29,7 @@ settingsgen.o: $(SRC_DIR)/settingsgen/settingsgen.cpp $(SRC_DIR)/string_func.h $
|
|||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
||||||
|
|
||||||
alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h $(SRC_DIR)/safeguards.h
|
alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
||||||
|
|
||||||
@@ -40,7 +37,7 @@ getoptdata.o: $(SRC_DIR)/misc/getoptdata.cpp $(SRC_DIR)/misc/getoptdata.h $(SRC_
|
|||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/misc/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/misc/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
||||||
|
|
||||||
string.o: $(SRC_DIR)/string.cpp endian_host.h $(SRC_DIR)/safeguards.h
|
string.o: $(SRC_DIR)/string.cpp $(SRC_DIR)/safeguards.h
|
||||||
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
|
||||||
|
|
||||||
@@ -57,21 +54,11 @@ table/settings.h: $(SETTINGSGEN) $(SRC_DIR)/table/settings.h.preamble $(SRC_DIR)
|
|||||||
@mkdir -p table
|
@mkdir -p table
|
||||||
$(Q)./$(SETTINGSGEN) -o table/settings.h -b $(SRC_DIR)/table/settings.h.preamble -a $(SRC_DIR)/table/settings.h.postamble $(SRC_DIR)/table/*.ini
|
$(Q)./$(SETTINGSGEN) -o table/settings.h -b $(SRC_DIR)/table/settings.h.preamble -a $(SRC_DIR)/table/settings.h.postamble $(SRC_DIR)/table/*.ini
|
||||||
|
|
||||||
# The targets to compile the endian-code
|
|
||||||
|
|
||||||
endian_host.h: $(ENDIAN_CHECK)
|
|
||||||
$(E) '$(STAGE) Testing endianness for host'
|
|
||||||
$(Q)./$(ENDIAN_CHECK) > $@
|
|
||||||
|
|
||||||
$(ENDIAN_CHECK): $(SRC_DIR)/endian_check.cpp
|
|
||||||
$(E) '$(STAGE) Compiling and Linking $@'
|
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) $(LDFLAGS_BUILD) $< -o $@
|
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(E) '$(STAGE) Cleaning up settings files'
|
$(E) '$(STAGE) Cleaning up settings files'
|
||||||
$(Q)rm -f settingsgen.o alloc_func.o getoptdata.o ini_load.o $(SETTINGSGEN) $(ENDIAN_TARGETS) table/settings.h
|
$(Q)rm -f settingsgen.o alloc_func.o getoptdata.o ini_load.o $(SETTINGSGEN) table/settings.h
|
||||||
|
|
||||||
mrproper: clean
|
mrproper: clean
|
||||||
|
|
||||||
|
@@ -29,9 +29,7 @@ SCRIPT_SRC_DIR = !!SCRIPT_SRC_DIR!!
|
|||||||
MEDIA_DIR = !!MEDIA_DIR!!
|
MEDIA_DIR = !!MEDIA_DIR!!
|
||||||
TTD = !!TTD!!
|
TTD = !!TTD!!
|
||||||
STRGEN = !!STRGEN!!
|
STRGEN = !!STRGEN!!
|
||||||
ENDIAN_CHECK = !!ENDIAN_CHECK!!
|
|
||||||
DEPEND = !!DEPEND!!
|
DEPEND = !!DEPEND!!
|
||||||
ENDIAN_FORCE = !!ENDIAN_FORCE!!
|
|
||||||
OS = !!OS!!
|
OS = !!OS!!
|
||||||
STAGE = !!STAGE!!
|
STAGE = !!STAGE!!
|
||||||
MAKEDEPEND = !!MAKEDEPEND!!
|
MAKEDEPEND = !!MAKEDEPEND!!
|
||||||
@@ -40,7 +38,6 @@ SORT = !!SORT!!
|
|||||||
AWK = !!AWK!!
|
AWK = !!AWK!!
|
||||||
CONFIG_CACHE_COMPILER = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_COMPILER!!
|
CONFIG_CACHE_COMPILER = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_COMPILER!!
|
||||||
CONFIG_CACHE_LINKER = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_LINKER!!
|
CONFIG_CACHE_LINKER = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_LINKER!!
|
||||||
CONFIG_CACHE_ENDIAN = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_ENDIAN!!
|
|
||||||
CONFIG_CACHE_SOURCE = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_SOURCE!!
|
CONFIG_CACHE_SOURCE = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_SOURCE!!
|
||||||
CONFIG_CACHE_VERSION = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_VERSION!!
|
CONFIG_CACHE_VERSION = $(SRC_OBJS_DIR)/!!CONFIG_CACHE_VERSION!!
|
||||||
|
|
||||||
@@ -52,19 +49,16 @@ OBJS := $(OBJS_C) $(OBJS_CPP) $(OBJS_MM) $(OBJS_RC)
|
|||||||
SRCS := !!SRCS!!
|
SRCS := !!SRCS!!
|
||||||
|
|
||||||
# All C-files depend on those 3 files
|
# All C-files depend on those 3 files
|
||||||
FILE_DEP := $(CONFIG_CACHE_COMPILER) endian_target.h
|
FILE_DEP := $(CONFIG_CACHE_COMPILER)
|
||||||
# Create all dirs and subdirs
|
# Create all dirs and subdirs
|
||||||
RES := $(shell mkdir -p $(BIN_DIR) $(sort $(dir $(OBJS))))
|
RES := $(shell mkdir -p $(BIN_DIR) $(sort $(dir $(OBJS))))
|
||||||
|
|
||||||
# Make sure endian_target.h is reasable as if it was in the src/ dir
|
|
||||||
CFLAGS += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
|
CFLAGS += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
|
||||||
CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
|
CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
|
||||||
ifdef SCRIPT_SRC_DIR
|
ifdef SCRIPT_SRC_DIR
|
||||||
CFLAGS_MAKEDEP += -I $(SCRIPT_SRC_DIR)
|
CFLAGS_MAKEDEP += -I $(SCRIPT_SRC_DIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ENDIAN_TARGETS := endian_target.h $(ENDIAN_CHECK)
|
|
||||||
|
|
||||||
# Check if we want to show what we are doing
|
# Check if we want to show what we are doing
|
||||||
ifdef VERBOSE
|
ifdef VERBOSE
|
||||||
Q =
|
Q =
|
||||||
@@ -94,26 +88,25 @@ VERSIONS := $(shell AWK="$(AWK)" "$(ROOT_DIR)/findversion.sh")
|
|||||||
MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3 -d' ')
|
MODIFIED := $(shell echo "$(VERSIONS)" | cut -f 3 -d' ')
|
||||||
|
|
||||||
# Use autodetected revisions
|
# Use autodetected revisions
|
||||||
REV := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
|
VERSION := $(shell echo "$(VERSIONS)" | cut -f 1 -d' ')
|
||||||
REV_NR := $(shell echo "$(VERSIONS)" | cut -f 2 -d' ')
|
ISODATE := $(shell echo "$(VERSIONS)" | cut -f 2 -d' ')
|
||||||
|
|
||||||
# Make sure we have something in REV and REV_NR
|
# Make sure we have something in VERSION and ISODATE
|
||||||
ifeq ($(REV),)
|
ifeq ($(VERSION),)
|
||||||
REV := norev000
|
VERSION := norev000
|
||||||
endif
|
endif
|
||||||
ifeq ($(REV_NR),)
|
ifeq ($(ISODATE),)
|
||||||
REV_NR := 0
|
ISODATE := 00000000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This helps to recompile if flags change
|
# This helps to recompile if flags change
|
||||||
RES := $(shell if [ "`cat $(CONFIG_CACHE_COMPILER) 2>/dev/null`" != "$(CFLAGS) $(CXXFLAGS)" ]; then echo "$(CFLAGS) $(CXXFLAGS)" > $(CONFIG_CACHE_COMPILER); fi )
|
RES := $(shell if [ "`cat $(CONFIG_CACHE_COMPILER) 2>/dev/null`" != "$(CFLAGS) $(CXXFLAGS)" ]; then echo "$(CFLAGS) $(CXXFLAGS)" > $(CONFIG_CACHE_COMPILER); fi )
|
||||||
RES := $(shell if [ "`cat $(CONFIG_CACHE_LINKER) 2>/dev/null`" != "$(LDFLAGS) $(LIBS)" ]; then echo "$(LDFLAGS) $(LIBS)" > $(CONFIG_CACHE_LINKER); fi )
|
RES := $(shell if [ "`cat $(CONFIG_CACHE_LINKER) 2>/dev/null`" != "$(LDFLAGS) $(LIBS)" ]; then echo "$(LDFLAGS) $(LIBS)" > $(CONFIG_CACHE_LINKER); fi )
|
||||||
RES := $(shell if [ "`cat $(CONFIG_CACHE_ENDIAN) 2>/dev/null`" != "$(ENDIAN_FORCE)" ]; then echo "$(ENDIAN_FORCE)" > $(CONFIG_CACHE_ENDIAN); fi )
|
|
||||||
|
|
||||||
# If there is a change in the source-file-list, make sure we recheck the deps
|
# If there is a change in the source-file-list, make sure we recheck the deps
|
||||||
RES := $(shell if [ "`cat $(CONFIG_CACHE_SOURCE) 2>/dev/null`" != "$(SRCS)" ]; then echo "$(SRCS)" > $(CONFIG_CACHE_SOURCE); fi )
|
RES := $(shell if [ "`cat $(CONFIG_CACHE_SOURCE) 2>/dev/null`" != "$(SRCS)" ]; then echo "$(SRCS)" > $(CONFIG_CACHE_SOURCE); fi )
|
||||||
# If there is a change in the revision, make sure we recompile rev.cpp
|
# If there is a change in the revision, make sure we recompile rev.cpp
|
||||||
RES := $(shell if [ "`cat $(CONFIG_CACHE_VERSION) 2>/dev/null`" != "$(REV) $(MODIFIED)" ]; then echo "$(REV) $(MODIFIED)" > $(CONFIG_CACHE_VERSION); fi )
|
RES := $(shell if [ "`cat $(CONFIG_CACHE_VERSION) 2>/dev/null`" != "$(VERSION) $(MODIFIED)" ]; then echo "$(VERSION) $(MODIFIED)" > $(CONFIG_CACHE_VERSION); fi )
|
||||||
|
|
||||||
ifndef MAKEDEPEND
|
ifndef MAKEDEPEND
|
||||||
# The slow, but always correct, dep-check
|
# The slow, but always correct, dep-check
|
||||||
@@ -121,7 +114,7 @@ DEP_MASK := %.d
|
|||||||
DEPS := $(OBJS:%.o=%.d)
|
DEPS := $(OBJS:%.o=%.d)
|
||||||
|
|
||||||
# Only include the deps if we are compiling everything
|
# Only include the deps if we are compiling everything
|
||||||
ifeq ($(filter $(ENDIAN_TARGETS) %.o clean mrproper, $(MAKECMDGOALS)),)
|
ifeq ($(filter %.o clean mrproper, $(MAKECMDGOALS)),)
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
else
|
else
|
||||||
# In case we want to compile a single target, include the .d file for it
|
# In case we want to compile a single target, include the .d file for it
|
||||||
@@ -155,7 +148,7 @@ DEP_MASK :=
|
|||||||
DEPS := Makefile.dep
|
DEPS := Makefile.dep
|
||||||
|
|
||||||
# Only include the deps if we are not cleaning
|
# Only include the deps if we are not cleaning
|
||||||
ifeq ($(filter $(ENDIAN_TARGETS) depend clean mrproper, $(MAKECMDGOALS)),)
|
ifeq ($(filter depend clean mrproper, $(MAKECMDGOALS)),)
|
||||||
-include Makefile.dep
|
-include Makefile.dep
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -264,14 +257,7 @@ endif
|
|||||||
|
|
||||||
$(TTD): $(OBJS) $(CONFIG_CACHE_LINKER)
|
$(TTD): $(OBJS) $(CONFIG_CACHE_LINKER)
|
||||||
$(E) '$(STAGE) Linking $@'
|
$(E) '$(STAGE) Linking $@'
|
||||||
ifeq ($(OS), PSP)
|
|
||||||
# Because of a bug in the PSP GCC tools, linking via CXX results
|
|
||||||
# in total chaos and more problems then you can handle. So we need
|
|
||||||
# CC to link OpenTTD for PSP
|
|
||||||
$(Q)+$(CC_HOST) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
|
|
||||||
else
|
|
||||||
$(Q)+$(CXX_HOST) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
|
$(Q)+$(CXX_HOST) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
|
||||||
endif
|
|
||||||
ifdef STRIP
|
ifdef STRIP
|
||||||
$(Q)$(STRIP) $@
|
$(Q)$(STRIP) $@
|
||||||
endif
|
endif
|
||||||
@@ -280,23 +266,13 @@ ifeq ($(OS), DOS)
|
|||||||
$(Q)$(ROOT_DIR)/os/dos/make_dos_binary_selfcontained.sh $(SRC_OBJS_DIR)/$@
|
$(Q)$(ROOT_DIR)/os/dos/make_dos_binary_selfcontained.sh $(SRC_OBJS_DIR)/$@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# The targets to compile the endian-code
|
|
||||||
|
|
||||||
endian_target.h: $(ENDIAN_CHECK) $(CONFIG_CACHE_ENDIAN)
|
|
||||||
$(E) '$(STAGE) Testing endianness for target'
|
|
||||||
$(Q)./$(ENDIAN_CHECK) $(ENDIAN_FORCE) > $@
|
|
||||||
|
|
||||||
$(ENDIAN_CHECK): $(SRC_DIR)/endian_check.cpp
|
|
||||||
$(E) '$(STAGE) Compiling and Linking $@'
|
|
||||||
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) $(LDFLAGS_BUILD) $< -o $@
|
|
||||||
|
|
||||||
# Revision files
|
# Revision files
|
||||||
|
|
||||||
$(SRC_DIR)/rev.cpp: $(CONFIG_CACHE_VERSION) $(SRC_DIR)/rev.cpp.in
|
$(SRC_DIR)/rev.cpp: $(CONFIG_CACHE_VERSION) $(SRC_DIR)/rev.cpp.in
|
||||||
$(Q)cat $(SRC_DIR)/rev.cpp.in | sed "s@\!\!REVISION\!\!@$(REV_NR)@g;s@!!VERSION!!@$(REV)@g;s@!!MODIFIED!!@$(MODIFIED)@g;s@!!DATE!!@`date +%d.%m.%y`@g" > $(SRC_DIR)/rev.cpp
|
$(Q)cat $(SRC_DIR)/rev.cpp.in | sed "s@\!\!ISODATE\!\!@$(ISODATE)@g;s@!!VERSION!!@$(VERSION)@g;s@!!MODIFIED!!@$(MODIFIED)@g;s@!!DATE!!@`date +%d.%m.%y`@g" > $(SRC_DIR)/rev.cpp
|
||||||
|
|
||||||
$(SRC_DIR)/os/windows/ottdres.rc: $(CONFIG_CACHE_VERSION) $(SRC_DIR)/os/windows/ottdres.rc.in
|
$(SRC_DIR)/os/windows/ottdres.rc: $(CONFIG_CACHE_VERSION) $(SRC_DIR)/os/windows/ottdres.rc.in
|
||||||
$(Q)cat $(SRC_DIR)/os/windows/ottdres.rc.in | sed "s@\!\!REVISION\!\!@$(REV_NR)@g;s@!!VERSION!!@$(REV)@g;s@!!DATE!!@`date +%d.%m.%y`@g" > $(SRC_DIR)/os/windows/ottdres.rc
|
$(Q)cat $(SRC_DIR)/os/windows/ottdres.rc.in | sed "s@\!\!ISODATE\!\!@$(ISODATE)@g;s@!!VERSION!!@$(VERSION)@g;s@!!DATE!!@`date +%d.%m.%y`@g" > $(SRC_DIR)/os/windows/ottdres.rc
|
||||||
|
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
@@ -304,7 +280,7 @@ depend: $(DEPS)
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(E) '$(STAGE) Cleaning up object files'
|
$(E) '$(STAGE) Cleaning up object files'
|
||||||
$(Q)rm -f $(DEPS) $(OBJS) $(TTD) $(DEPEND) $(TTD:%=$(BIN_DIR)/%) $(BIN_DIR)/baseset/openttd.32.bmp $(CONFIG_CACHE_COMPILER) $(CONFIG_CACHE_LINKER) $(CONFIG_CACHE_ENDIAN) $(CONFIG_CACHE_SOURCE) $(ENDIAN_TARGETS)
|
$(Q)rm -f $(DEPS) $(OBJS) $(TTD) $(DEPEND) $(TTD:%=$(BIN_DIR)/%) $(BIN_DIR)/baseset/openttd.32.bmp $(CONFIG_CACHE_COMPILER) $(CONFIG_CACHE_LINKER) $(CONFIG_CACHE_SOURCE)
|
||||||
|
|
||||||
mrproper: clean
|
mrproper: clean
|
||||||
$(Q)rm -f $(SRC_DIR)/rev.cpp $(SRC_DIR)/os/windows/ottdres.rc
|
$(Q)rm -f $(SRC_DIR)/rev.cpp $(SRC_DIR)/os/windows/ottdres.rc
|
||||||
|
768
README.md
Normal file
768
README.md
Normal file
@@ -0,0 +1,768 @@
|
|||||||
|
# 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)
|
||||||
|
- 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 SVN/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.
|
||||||
|
|
||||||
|
## 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 .NET. 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) and ZLIB (WITH_ZLIB) support is enabled by default. For these
|
||||||
|
to work you need their development files. For best results, download the
|
||||||
|
openttd-useful.zip file from https://www.openttd.org/download-openttd-useful.
|
||||||
|
Put the header files into your compiler's include/ directory and the
|
||||||
|
library (.lib) files into the lib/ directory.
|
||||||
|
For more help with VS see docs/Readme_Windows_MSVC.txt.
|
||||||
|
|
||||||
|
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) 2005, 2008 and 2010.
|
||||||
|
Version 2005 gives bogus warnings about scoping issues.
|
||||||
|
- 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) 2003 and earlier.
|
||||||
|
- 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 SVN 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)
|
||||||
|
- 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!
|
@@ -6,3 +6,5 @@
|
|||||||
* 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.
|
* 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/>.
|
* 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.");
|
||||||
|
10
bin/ai/compat_1.8.nut
Normal file
10
bin/ai/compat_1.8.nut
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* $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.");
|
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/>.
|
||||||
|
*/
|
@@ -6,7 +6,7 @@ class Regression extends AIInfo {
|
|||||||
function GetShortName() { return "REGR"; }
|
function GetShortName() { return "REGR"; }
|
||||||
function GetDescription() { return "This runs regression-tests on some commands. On the same map the result should always be the same."; }
|
function GetDescription() { return "This runs regression-tests on some commands. On the same map the result should always be the same."; }
|
||||||
function GetVersion() { return 1; }
|
function GetVersion() { return 1; }
|
||||||
function GetAPIVersion() { return "1.7"; }
|
function GetAPIVersion() { return "1.9"; }
|
||||||
function GetDate() { return "2007-03-18"; }
|
function GetDate() { return "2007-03-18"; }
|
||||||
function CreateInstance() { return "Regression"; }
|
function CreateInstance() { return "Regression"; }
|
||||||
}
|
}
|
||||||
|
@@ -23,6 +23,7 @@ description.en_US = A music pack without actual music.
|
|||||||
description.es_ES = Un conjunto de música vacío.
|
description.es_ES = Un conjunto de música vacío.
|
||||||
description.es_MX = Paquete de música vacío
|
description.es_MX = Paquete de música vacío
|
||||||
description.et_EE = Muusikakogu ilma muusikata.
|
description.et_EE = Muusikakogu ilma muusikata.
|
||||||
|
description.eu_ES = Musika gabeko musika paketea.
|
||||||
description.fi_FI = Musiikkipaketti, jossa ei ole musiikkia.
|
description.fi_FI = Musiikkipaketti, jossa ei ole musiikkia.
|
||||||
description.fr_FR = Un pack de musiques sans musiques.
|
description.fr_FR = Un pack de musiques sans musiques.
|
||||||
description.ga_IE = Pacáiste ceoil gan aon cheol iarbhír ann.
|
description.ga_IE = Pacáiste ceoil gan aon cheol iarbhír ann.
|
||||||
@@ -40,6 +41,7 @@ description.la_VA = Sarcina musicae sine ulla musica.
|
|||||||
description.lb_LU = E Musikpack ouni aktuell Musik.
|
description.lb_LU = E Musikpack ouni aktuell Musik.
|
||||||
description.lt_LT = Muzikos pakas be muzikos.
|
description.lt_LT = Muzikos pakas be muzikos.
|
||||||
description.lv_LV = Mūzikas kopa bez mūzikas
|
description.lv_LV = Mūzikas kopa bez mūzikas
|
||||||
|
description.ms_MY = Pek muzik tanpa muzik sebenar.
|
||||||
description.nb_NO = En musikkpakke uten noe musikk.
|
description.nb_NO = En musikkpakke uten noe musikk.
|
||||||
description.nl_NL = Een muziekset zonder muziek.
|
description.nl_NL = Een muziekset zonder muziek.
|
||||||
description.nn_NO = Ei musikkpakke utan noko musikk.
|
description.nn_NO = Ei musikkpakke utan noko musikk.
|
||||||
|
Binary file not shown.
@@ -24,6 +24,7 @@ description.en_US = Original Transport Tycoon Deluxe DOS edition graphics.
|
|||||||
description.es_ES = Gráficos originales de Transport Tycoon Deluxe versión DOS.
|
description.es_ES = Gráficos originales de Transport Tycoon Deluxe versión DOS.
|
||||||
description.es_MX = Gráficos originales de Transport Tycoon Deluxe para DOS.
|
description.es_MX = Gráficos originales de Transport Tycoon Deluxe para DOS.
|
||||||
description.et_EE = Algse Transport Tycoon Deluxe DOSi versiooni graafika.
|
description.et_EE = Algse Transport Tycoon Deluxe DOSi versiooni graafika.
|
||||||
|
description.eu_ES = Transport Tycoon Deluxe originaleko DOS edizioko grafikoak.
|
||||||
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen DOS-version grafiikat.
|
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen DOS-version grafiikat.
|
||||||
description.fr_FR = Graphiques originaux de Transport Tycoon Deluxe (version DOS).
|
description.fr_FR = Graphiques originaux de Transport Tycoon Deluxe (version DOS).
|
||||||
description.ga_IE = Grafaicí bunaidhTransport Tycoon Deluxe, eagrán DOS.
|
description.ga_IE = Grafaicí bunaidhTransport Tycoon Deluxe, eagrán DOS.
|
||||||
@@ -63,21 +64,21 @@ description.zh_CN = 运输大亨DOS豪华版原版图形包.
|
|||||||
description.zh_TW = 原版 Transport Tycoon Deluxe DOS 版的圖形。
|
description.zh_TW = 原版 Transport Tycoon Deluxe DOS 版的圖形。
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1.GRF
|
base = TRG1.GRF
|
||||||
logos = TRGI.GRF
|
logos = TRGI.GRF
|
||||||
arctic = TRGC.GRF
|
arctic = TRGC.GRF
|
||||||
tropical = TRGH.GRF
|
tropical = TRGH.GRF
|
||||||
toyland = TRGT.GRF
|
toyland = TRGT.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
||||||
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
||||||
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
||||||
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
||||||
TRGT.GRF = e30e8a398ae86c03dc534a8ac7dfb3b6
|
TRGT.GRF = e30e8a398ae86c03dc534a8ac7dfb3b6
|
||||||
OPENTTD.GRF = 505d96061556d3bb5cec6234096ec5bc
|
ORIG_EXTRA.GRF = 67bcfac5911667309d86b7749ea8d08c
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
76
bin/baseset/orig_dos.obm
Normal file
76
bin/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 = Original Transport Tycoon Deluxe DOS edition music.
|
||||||
|
|
||||||
|
[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.
|
@@ -23,6 +23,7 @@ description.en_US = Original Transport Tycoon Deluxe DOS edition sounds.
|
|||||||
description.es_ES = Sonidos originales de Transport Tycoon Deluxe versión DOS.
|
description.es_ES = Sonidos originales de Transport Tycoon Deluxe versión DOS.
|
||||||
description.es_MX = Sonidos originales de Transport Tycoon Deluxe para DOS.
|
description.es_MX = Sonidos originales de Transport Tycoon Deluxe para DOS.
|
||||||
description.et_EE = Algse Transport Tycoon Deluxe DOSi versiooni helid.
|
description.et_EE = Algse Transport Tycoon Deluxe DOSi versiooni helid.
|
||||||
|
description.eu_ES = Transport Tycoon Deluxe originaleko DOS edizioko soinuak.
|
||||||
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen DOS-version äänet.
|
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen DOS-version äänet.
|
||||||
description.fr_FR = Sons originaux de Transport Tycoon Deluxe (version DOS).
|
description.fr_FR = Sons originaux de Transport Tycoon Deluxe (version DOS).
|
||||||
description.ga_IE = Fuaimeanna bunaidh Transport Tycoon Deluxe, eagrán DOS.
|
description.ga_IE = Fuaimeanna bunaidh Transport Tycoon Deluxe, eagrán DOS.
|
||||||
|
@@ -62,21 +62,21 @@ description.zh_CN = 运输大亨DOS豪华德语版原版图形包.
|
|||||||
description.zh_TW = 原版 Transport Tycoon Deluxe DOS 版 (德國版) 的圖形。
|
description.zh_TW = 原版 Transport Tycoon Deluxe DOS 版 (德國版) 的圖形。
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1.GRF
|
base = TRG1.GRF
|
||||||
logos = TRGI.GRF
|
logos = TRGI.GRF
|
||||||
arctic = TRGC.GRF
|
arctic = TRGC.GRF
|
||||||
tropical = TRGH.GRF
|
tropical = TRGH.GRF
|
||||||
toyland = TRGT.GRF
|
toyland = TRGT.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
||||||
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
||||||
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
||||||
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
||||||
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
|
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
|
||||||
OPENTTD.GRF = 505d96061556d3bb5cec6234096ec5bc
|
ORIG_EXTRA.GRF = 67bcfac5911667309d86b7749ea8d08c
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
BIN
bin/baseset/orig_extra.grf
Normal file
BIN
bin/baseset/orig_extra.grf
Normal file
Binary file not shown.
71
bin/baseset/orig_tto.obm
Normal file
71
bin/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 = Original Transport Tycoon (Original/World Editor) music.
|
||||||
|
|
||||||
|
[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.
|
@@ -63,21 +63,21 @@ description.zh_CN = 运输大亨Windows豪华版原版图形包.
|
|||||||
description.zh_TW = 原版 Transport Tycoon Deluxe Windows 版的圖形。
|
description.zh_TW = 原版 Transport Tycoon Deluxe Windows 版的圖形。
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1R.GRF
|
base = TRG1R.GRF
|
||||||
logos = TRGIR.GRF
|
logos = TRGIR.GRF
|
||||||
arctic = TRGCR.GRF
|
arctic = TRGCR.GRF
|
||||||
tropical = TRGHR.GRF
|
tropical = TRGHR.GRF
|
||||||
toyland = TRGTR.GRF
|
toyland = TRGTR.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1R.GRF = b04ce593d8c5016e07473a743d7d3358
|
TRG1R.GRF = b04ce593d8c5016e07473a743d7d3358
|
||||||
TRGIR.GRF = 0c2484ff6be49fc63a83be6ab5c38f32
|
TRGIR.GRF = 0c2484ff6be49fc63a83be6ab5c38f32
|
||||||
TRGCR.GRF = 3668f410c761a050b5e7095a2b14879b
|
TRGCR.GRF = 3668f410c761a050b5e7095a2b14879b
|
||||||
TRGHR.GRF = 06bf2b7a31766f048baac2ebe43457b1
|
TRGHR.GRF = 06bf2b7a31766f048baac2ebe43457b1
|
||||||
TRGTR.GRF = de53650517fe661ceaa3138c6edb0eb8
|
TRGTR.GRF = de53650517fe661ceaa3138c6edb0eb8
|
||||||
OPENTTD.GRF = 505d96061556d3bb5cec6234096ec5bc
|
ORIG_EXTRA.GRF = 67bcfac5911667309d86b7749ea8d08c
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
@@ -40,6 +40,7 @@ description.la_VA = Musica ex editione originale Transport Tycoon Deluxe Windows
|
|||||||
description.lb_LU = Original Transport Tycoon Deluxe Windows Editioun Musik.
|
description.lb_LU = Original Transport Tycoon Deluxe Windows Editioun Musik.
|
||||||
description.lt_LT = Originali Transport Tycoon Deluxe Windows leidimo muzika.
|
description.lt_LT = Originali Transport Tycoon Deluxe Windows leidimo muzika.
|
||||||
description.lv_LV = Oriģinālā Transport Tycoon Deluxe Windows izdevuma mūzika.
|
description.lv_LV = Oriģinālā Transport Tycoon Deluxe Windows izdevuma mūzika.
|
||||||
|
description.ms_MY = Muzik asal Transport Tycoon Deluxe edisi Windows.
|
||||||
description.nb_NO = Original musikk fra Transport Tycoon Deluxe for Windows.
|
description.nb_NO = Original musikk fra Transport Tycoon Deluxe for Windows.
|
||||||
description.nl_NL = Originele muziek van de Transport Tycoon Deluxe Windows-versie.
|
description.nl_NL = Originele muziek van de Transport Tycoon Deluxe Windows-versie.
|
||||||
description.nn_NO = Original musikk frå Transport Tycoon Deluxe for Windows.
|
description.nn_NO = Original musikk frå Transport Tycoon Deluxe for Windows.
|
||||||
@@ -141,5 +142,17 @@ GM_TT19.GM = Funk Central
|
|||||||
GM_TT20.GM = Jammit
|
GM_TT20.GM = Jammit
|
||||||
GM_TT21.GM = Movin' On
|
GM_TT21.GM = Movin' On
|
||||||
|
|
||||||
|
; MIDI timecodes where the playback should attemp to start and stop short.
|
||||||
|
; This is to allow fixing undesired silences in original MIDI files.
|
||||||
|
; However not all music drivers may support this.
|
||||||
|
[timingtrim]
|
||||||
|
; Theme has two beats silence at the beginning which prevents clean looping.
|
||||||
|
GM_TT00.GM = 768:53760
|
||||||
|
; Can't Get There From Here from the Windows version has a long silence at the end,
|
||||||
|
; followed by a solo repeat. This isn't in the original DOS version music and is likely
|
||||||
|
; unintentional from the people who converted the music from the DOS version.
|
||||||
|
; Actual song ends after measure 152.
|
||||||
|
GM_TT10.GM = 0:235008
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
|
@@ -23,6 +23,7 @@ description.en_US = Original Transport Tycoon Deluxe Windows edition sounds.
|
|||||||
description.es_ES = Sonidos originales de Transport Tycoon Deluxe versión Windows.
|
description.es_ES = Sonidos originales de Transport Tycoon Deluxe versión Windows.
|
||||||
description.es_MX = Sonidos originales de Transport Tycoon Deluxe para Windows.
|
description.es_MX = Sonidos originales de Transport Tycoon Deluxe para Windows.
|
||||||
description.et_EE = Algse Transport Tycoon Deluxe Windowsi versiooni helid.
|
description.et_EE = Algse Transport Tycoon Deluxe Windowsi versiooni helid.
|
||||||
|
description.eu_ES = Transport Tycoon Deluxe originaleko Windows edizioko grafikoak.
|
||||||
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen Windows-version äänet.
|
description.fi_FI = Alkuperäiset Transport Tycoon Deluxen Windows-version äänet.
|
||||||
description.fr_FR = Sons originaux de Transport Tycoon Deluxe (version Windows).
|
description.fr_FR = Sons originaux de Transport Tycoon Deluxe (version Windows).
|
||||||
description.ga_IE = Fuaimeanna bunaidh Transport Tycoon Deluxe, eagrán Windows.
|
description.ga_IE = Fuaimeanna bunaidh Transport Tycoon Deluxe, eagrán Windows.
|
||||||
|
@@ -6,3 +6,5 @@
|
|||||||
* 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.
|
* 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/>.
|
* 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.");
|
||||||
|
10
bin/game/compat_1.8.nut
Normal file
10
bin/game/compat_1.8.nut
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* $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.");
|
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/>.
|
||||||
|
*/
|
197
changelog.txt
197
changelog.txt
@@ -1,3 +1,200 @@
|
|||||||
|
1.8.0 (2018-04-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
(None)
|
||||||
|
|
||||||
|
|
||||||
|
1.8.0-RC1 (2018-03-21)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Feature: [GFX] Climate-specific Action5 extra airport sprites [FS#6664] (r27976)
|
||||||
|
- Feature: Draw vertical separators at tile distance in the train depot GUI (r27938, r27899)
|
||||||
|
- Feature: [Build] MSVC 2017 project file generator. Most noticeable, std:c++latest is enabled (r27920, r27919, r27918, r27917)
|
||||||
|
- Feature: [Build] Project file generator for kdevelop 4/5 [FS#6577] (r27897)
|
||||||
|
- Feature: Add option to close windows with right click [FS#4950] (r27826, r27825)
|
||||||
|
- Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (r27822)
|
||||||
|
- Feature: Display aircraft type in vehicle preview/purchase/detail windows (r27802, r27799, r27797)
|
||||||
|
- Change: [NewGRF] Various performance improvements to resolving VA2 (r27989, r27985, r27984, r27983, r27982)
|
||||||
|
- Change: [NewGRF] Increase maximum allowed vehicle sprite size to reduce clipping of ships (r27987)
|
||||||
|
- Change: Check companies for bankruptcy before subtracting reoccuring monthly costs [FS#6679] (r27981)
|
||||||
|
- Change: [GFX] Replace the office building sprite on various toyland airports with a better fitting sprite [FS#6664] (r27977)
|
||||||
|
- Change: [GFX] The switch-toolbar icon contained pixels from the fire cycle. Replace the whole icon with a new version [FS#6654] (r27961)
|
||||||
|
- Change: Reword texts in industry view, when stockpiling is used (r27952)
|
||||||
|
- Change: Remove the gap between windows when positioning them after opening [FS#6568] (r27934, r27900)
|
||||||
|
- Change: [Build] Enable usage of static_assert for MSVC (r27916)
|
||||||
|
- Change: [Build] Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file [FS#6614] (r27902)
|
||||||
|
- Change: Do not cancel headquarter construction and engine-preview-query when shift-clicking (r27889)
|
||||||
|
- Change: Parse extmidi command string for parameters to pass on (r27834)
|
||||||
|
- Change: Draw images in centre of buttons (r27829, r27821)
|
||||||
|
- Fix: Store the map variety setting in the savegame like the other mapgen settings, so restarting maps considers it [FS#6673] (r27978)
|
||||||
|
- Fix: Hair selection was missing one option [FS#6642] (r27975)
|
||||||
|
- Fix: Avoid tile operations outside map border when building lock [FS#6662] (r27973)
|
||||||
|
- Fix: Catenary sprites got mixed up for depots [FS#6670] (r27972)
|
||||||
|
- Fix: Make automatic window-positioning RTL-aware (r27934, r27900)
|
||||||
|
- Fix: Automatic window-positioning now uses GUI-scale/style dependent sizes/distances instead of fixed pixel values (r27934, r27900)
|
||||||
|
- Fix: [NewGRF] While executing random triggers, var 5F should include the new triggers (r27928)
|
||||||
|
- Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shared triggers (r27928)
|
||||||
|
- Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry (r27928)
|
||||||
|
- Fix: [NPF] Reserved track bits were not accounted for when trying to find any safe position (r27912)
|
||||||
|
- Fix: Do not modify argv[0] [FS#6575] (r27886)
|
||||||
|
- Fix: Do not search directories when opening ini files as we already have their full path [FS#6421] (r27816)
|
||||||
|
- Fix: Road tunnel/bridge heads have no trackbits wrt. catenary drawing (r27812)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.2 (2017-12-24)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
(None)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.2-RC1 (2017-12-11)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Change: When train depots have a horizontal scrollbar, allow scrolling 1 tile beyond the longest train, so you can actually attach a wagon at the end (r27937)
|
||||||
|
- Fix: When moving wagons in the depot, the drag highlight did not exactly match the length of the dragged wagon chain (r27936)
|
||||||
|
- Fix: [Win32] Right mouse scrolling didn't work properly with the Windows 10 Fall Creators Update [FS#6629] (r27935)
|
||||||
|
- Fix: Forest, candyfloss forest and battery farm skipped the first animation frame [FS#6639] (r27932)
|
||||||
|
- Fix: Glyphs in range U+0020 to U+00FF may only be defined in orig_extra.grf, not in openttd.grf [FS#6620] (r27915)
|
||||||
|
- Fix: 'unban' console command was not handling IPv6 adresses properly (r27914, r27913)
|
||||||
|
- Fix: Keep the 'link' between industry chain and smallmap windows whenever possible [FS#6585] (r27905)
|
||||||
|
- Fix: When the last vehicle is removed from a shared orders group, hide the 'Stop sharing' button in the vehicle orders window [FS#6593] (r27904)
|
||||||
|
- Fix: Tooltip of 'increase service interval' said 'decrease' [FS#6606] (r27895)
|
||||||
|
- Fix: Console command parser passed invalid strings to the debug output, if command lines had many parameters [FS#6576] (r27884, r27883)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.1 (2017-06-13)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
(None)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.1-RC1 (2017-05-04)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Fix: Add missing game script event for ships arriving at a station [FS#6560] (r27859, r27858)
|
||||||
|
- Fix: StringID truncation to 16 bits broke string remapping test [FS#6555] (r27851)
|
||||||
|
- Fix: Infinite loop in pathfinder when checking safe waiting position from a waypoint [FS#5926] (r27846)
|
||||||
|
- Fix: [YAPF] Consider depot as destination before reversing path and applying penalty (r27843)
|
||||||
|
- Fix: Don't consider locks or ship depots as clear water when placing industries (r27841)
|
||||||
|
- Fix: Small news window's fake caption was not sized to fit its text (r27838)
|
||||||
|
- Fix: Black remap did nothing in 8bpp-simple blitter (r27837)
|
||||||
|
- Fix: Misaligned resize icon due to widget bounds being inclusive (r27831)
|
||||||
|
- Fix: Update viewport sign dimensions when changing GUI zoom level (r27827, r27819)
|
||||||
|
- Fix: Vehicle viewport is not user scrollable so flag window as such (r27823)
|
||||||
|
- Fix: Allow dropdown to be drawn above origin widget even with scrollbar (r27820)
|
||||||
|
- Fix: 32bpp-anim blitters assumed that pitch and width of the screen were equal [FS#6545] (r27796)
|
||||||
|
- Fix: Chat text background overflowed due to missing padding [FS#6526] (r27794)
|
||||||
|
- Fix: Failed to load lzo compressed savegames sometimes [FS#6450] (r27793)
|
||||||
|
- Fix: [Win32] Mark OpenTTD as DPI-aware to avoid OS window scaling that breaks mouse input [FS#6366] (r27791, r27790)
|
||||||
|
- Fix: [NewGRF] Get vehicle load amount after executing new cargo trigger [FS#6536] (r27788)
|
||||||
|
- Fix: AI configuration changed incorrect parameter when some parameters are hidden [FS#6479] (r27787, r27786)
|
||||||
|
- Fix: Buoys not always drawn after being placed depending on zoom level [FS#6508] (r27785)
|
||||||
|
- Fix: Allow rail conversion even if ship is on tile [FS#6505] (r27784)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.0 (2017-04-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
(None)
|
||||||
|
|
||||||
|
|
||||||
|
1.7.0-RC1 (2017-03-11)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Feature: [NewGRF] Extend the DCxx range to D800-DFFF (r27769)
|
||||||
|
- Feature: [NewGRF, script] Increase the maximum number of GameScript texts to 64k, and NewGRF texts to 512k (r27758)
|
||||||
|
- Feature: [NewGRF] CB 37 results 0x0401 and 0x0800-0BFF for improved control of display of input cargos in the industry GUI (r27751)
|
||||||
|
- Feature: Sprites missing in outdated basesets are now provided by openttd.grf (r27732, r27731, r27730)
|
||||||
|
- Feature: [NewGRF] String command 9A 1E to print the name of a cargo type (r27707, r27706)
|
||||||
|
- Feature: [Debug] Assign descriptive names to threads [FS#6471] (r27674, r27673, r27670)
|
||||||
|
- Feature: [NewGRF] Allow composing vehicles from multiple sprites (r27668)
|
||||||
|
- Change: Enable realistic train and road vehicle acceleration by default (r27760)
|
||||||
|
- Change: Hide the drive-in stops from the tram station picker (r27734)
|
||||||
|
- Change: Do not count static NewGRF when checking for the maximum number of NewGRFs in a game (r27729)
|
||||||
|
- Change: Limit waypoint area by maximum station spread during dragging (r27710)
|
||||||
|
- Change: [Build] Re-enable Wnarrowing for gcc 4.9+ [FS#6532] (r27709, r27703)
|
||||||
|
- Change: List railtype of rail tiles explicitly in the tile info window (r27686)
|
||||||
|
- Change: Re-arrange the autoreplace GUI for trains, and do not filter it by railtype by default (r27683)
|
||||||
|
- Change: Various performance improvements to CargoDist and LinkGraphs (r27682, r27681, r27614, r27613, r27612, r27611)
|
||||||
|
- Change: Improve randomisation of rough land appearance (r27657)
|
||||||
|
- Change: [Build] Enable C++11 for clang 3.3 (r27654)
|
||||||
|
- Fix: Insufficient thread synchronisation when switching blitters lead to crashes [FS#6510] (r27775)
|
||||||
|
- Fix: Enabling palette animation for 32bpp blitters while paused skipped initialisation of the palette and resulted in black windows [FS#5889] (r27774)
|
||||||
|
- Fix: Intro games other than the traditional nightly one would cause townname NewGRFs to not get activated in the game options [FS#5819] (r27772)
|
||||||
|
- Fix: Some variables were not reset between loading old savegames, which made loading them fail [FS#6540] (r27770)
|
||||||
|
- Fix: Removing secondary roadtypes from bridges was factor 2 too cheap [FS#6538] (r27746)
|
||||||
|
- Fix: Extra viewports did not center on the selected tile [FS#6537] (r27743)
|
||||||
|
- Fix: [Build] Building on newer OSX versions with newer SDKs [FS#6295, FS#6502] (r27727, r27675)
|
||||||
|
- Fix: Improve error message when trying to build rail track over a depot (r27726)
|
||||||
|
- Fix: Rescanning NewGRF in-game could break the loaded NewGRF, if very many NewGRF were in use (r27721)
|
||||||
|
- Fix: Text could overflow various GUI elements [FS#6527] (r27713)
|
||||||
|
- Fix: Memory leak when reloading NewGRF (r27690, r27688, r27687)
|
||||||
|
- Fix: When removing objects of bankrupt companies the tiles may revert to canal. In that case also check the ownership of the canal [FS#6511] (r27656)
|
||||||
|
- Fix: Make the console file commands operate independent of the save/load GUI (r27645)
|
||||||
|
- Fix: When dragging vehicles in group or depot GUI, draw the complete articulated vehicle (r27632)
|
||||||
|
- Fix: When dragging multiple vehicles in the depot, make the destination gap as long as the chain instead of just considering the first vehicle (r27629)
|
||||||
|
- Fix: [Build] Change the GCC version detection so that it works with two-digit and truncated versions [FS#6487] (r27623, r27616)
|
||||||
|
- Fix: Do not hide filtered and highlighted industries by overlapping tiles in the zoomed-out smallmap (r27622, r27621, r27620)
|
||||||
|
- Fix: [Script] Kill scripts, when a non-suspendable valuator call takes way too long [FS#6473] (r27594)
|
||||||
|
|
||||||
|
|
||||||
|
1.6.1 (2016-07-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Fix: Compilation and optimisation issues with GCC6 (r27606, r27605, r27595)
|
||||||
|
- Fix: Compilation with --disable-network [FS#6481] (r27602)
|
||||||
|
- Fix: [NewGRF] shift-and-add-divide/modulo varadjusts use signed division/modulo (r27600)
|
||||||
|
- Fix: Company 0 could accept engine previews before they were offered (r27598)
|
||||||
|
|
||||||
|
|
||||||
|
1.6.1-RC1 (2016-06-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Feature: Mexican Spanish (r27564, r27553, r27552)
|
||||||
|
- Change: Performance improvement for dedicated servers by skipping drawing calls earlier in the process [FS#6402] (r27579)
|
||||||
|
- Fix: Automatic servicing of road vehicles compared path finder costs with tile distances, thus vehicles went to depots which were factor 100 too far away [FS#6410] (r27586)
|
||||||
|
- Fix: Enforce a non-zero load amount for all vehicles, so that vehicles can process their cargo reservations [FS#6437] (r27585, r27584)
|
||||||
|
- Fix: Do not decrease the column width of depot windows when vehicles with high unitnumbers leave [FS#6415] (r27583)
|
||||||
|
- Fix: Button size computation in script configuration window [FS#6461] (r27581)
|
||||||
|
- Fix: [NewGRF] Set date of last service on construction also for wagons and articulated parts [FS#6395] (r27580)
|
||||||
|
- Fix: Vehicles could not be hidden from the purchase list when they were in exclusive preview [FS#6454] (r27578)
|
||||||
|
- Fix: Dock and roadstop picker, client list and town authority window did not auto-resize according to their content when they were positioned at the bottom of the screen [FS#6386] (r27577)
|
||||||
|
- Fix: Various incorrect but uncritical size computations in the content client [FS#6449] (r27576, r27570)
|
||||||
|
- Fix: Memory leak when disabling palette animation [FS#6404] (r27575)
|
||||||
|
- Fix: [NewGRF] The house id as returned by house variable 66 was incorrect when querying neighboured tiles [FS#6432] (r27574)
|
||||||
|
- Fix: [Build] Compilation failure with gcc 6.1 due to headers included after safeguards.h [FS#6467] (r27573)
|
||||||
|
- Fix: Convenience savegame bump to distinguish 1.6 savegames from 1.5 savegames [FS#6442] (r27572)
|
||||||
|
- Fix: [Build] Force sorting to be locale independent, so files are always ordered the same and by that token better diff-able (r27562, r27558)
|
||||||
|
- Fix: Typos in comments and string (r27561, r27560)
|
||||||
|
- Fix: [Build] bashism that caused different CFLAGS with bash vs dash (r27557)
|
||||||
|
- Fix: Use a more appropiate sound effect for convert-rail (r27547)
|
||||||
|
- Fix: Remove SetFill from vehicle GUI buttons, so that the viewport is resized instead of them in case of long window titles (r27546)
|
||||||
|
- Fix: [Script] Generation of API wrappers (r27545, r27544, r27543)
|
||||||
|
- Fix: [Windows] ICU got disabled for Windows builds, breaking RTL support [FS#6427] (r27542)
|
||||||
|
- Fix: [NewGRF] Station spritelayouts did not accept the var10 flag for the palette [FS#6435] (r27534)
|
||||||
|
|
||||||
|
|
||||||
|
1.6.0 (2016-04-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
(None)
|
||||||
|
|
||||||
|
|
||||||
|
1.6.0-RC1 (2016-03-01)
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
- Feature: [NewGRF] Allow custom sound IDs in RV property 0x12, ship property 0x10 and aircraft property 0x12 (r27507)
|
||||||
|
- Feature: When viewing online content of a particular type, hide content of other types unless they have been (auto)selected for download (r27469, r27468, r27444)
|
||||||
|
- Feature: [NewGRF] Move sprite 8 positions in sprite aligner with ctrl+click [FS#6241] (r27451)
|
||||||
|
- Feature: Lower the sell-vehicle and sell-chain buttons in the train depot GUI while dragging a vehicle over it [FS#6391] (r27450, r27446)
|
||||||
|
- Feature: Make the object placement GUI an independent window (r27438, r27397, r27346)
|
||||||
|
- Feature: [Build] Project files and compilation with MSVC2015 (r27385, r27382, r27381, r27380, r27379)
|
||||||
|
- Feature: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side [FS#6315] (r27354, r27343)
|
||||||
|
- Feature: [NewGRF] Increase the maximum amount of industry types to 128 per NewGRF and 240 in total (r27279)
|
||||||
|
- Feature: Make Ctrl+Remove-Roadstop also remove the road, just like for rail stations [FS#6252] (r27251)
|
||||||
|
- Change: [NewGRF] Allow static NewGRF to enable the second rocky tile set (r27497)
|
||||||
|
- Change: Round loading percentage in loading indicators and conditional orders towards 50%, so that 0% and 100% mean completely empty or full (r27426)
|
||||||
|
- Change: [Build] Rework the configure system to make more use of pkg-config (r27377:r27366, r27361, r27360)
|
||||||
|
- Change: Enable YAPF cache debugging with desync debug level 2 (r27332)
|
||||||
|
- Change: [strgen] Default plural subparameter position for CARGO_xxx string control codes is subparameter 1 (r27295)
|
||||||
|
- Change: [NewGRF] Translate industry variable A6 (r27267)
|
||||||
|
- Change: Do not consider cargo that is already being loaded as waiting cargo wrt. the station rating [FS#6165] (r27256)
|
||||||
|
- Change: Tune down terrain generation to reduce amount of long slopes (r27230)
|
||||||
|
- Change: Generate more detailed curves at the coast (r27229)
|
||||||
|
- Change: Slightly more water in the non-custom sea levels (r27228)
|
||||||
|
- Change: Be more lenient about road stop removal when at least one stop could be removed [FS#6262] (r27225)
|
||||||
|
- Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used (r27481)
|
||||||
|
- Fix: [Haiku] On Haiku use the appropriate system variable to obtain the include dir [FS#6401] (r27472)
|
||||||
|
|
||||||
|
|
||||||
1.5.3 (2015-12-01)
|
1.5.3 (2015-12-01)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
(None)
|
(None)
|
||||||
|
401
config.lib
401
config.lib
@@ -31,7 +31,6 @@ set_default() {
|
|||||||
awk="awk"
|
awk="awk"
|
||||||
pkg_config="pkg-config"
|
pkg_config="pkg-config"
|
||||||
os="DETECT"
|
os="DETECT"
|
||||||
endian="AUTO"
|
|
||||||
cpu_type="DETECT"
|
cpu_type="DETECT"
|
||||||
config_log="config.log"
|
config_log="config.log"
|
||||||
prefix_dir="/usr/local"
|
prefix_dir="/usr/local"
|
||||||
@@ -78,6 +77,7 @@ set_default() {
|
|||||||
enable_builtin_depend="1"
|
enable_builtin_depend="1"
|
||||||
with_makedepend="0"
|
with_makedepend="0"
|
||||||
with_direct_music="1"
|
with_direct_music="1"
|
||||||
|
with_xaudio2="1"
|
||||||
with_sort="1"
|
with_sort="1"
|
||||||
with_iconv="1"
|
with_iconv="1"
|
||||||
with_midi=""
|
with_midi=""
|
||||||
@@ -88,7 +88,7 @@ set_default() {
|
|||||||
with_icu_layout="1"
|
with_icu_layout="1"
|
||||||
with_icu_sort="1"
|
with_icu_sort="1"
|
||||||
static_icu="0"
|
static_icu="0"
|
||||||
with_psp_config="1"
|
with_uniscribe="1"
|
||||||
with_threads="1"
|
with_threads="1"
|
||||||
with_distcc="1"
|
with_distcc="1"
|
||||||
with_ccache="1"
|
with_ccache="1"
|
||||||
@@ -109,7 +109,6 @@ set_default() {
|
|||||||
awk
|
awk
|
||||||
pkg_config
|
pkg_config
|
||||||
os
|
os
|
||||||
endian
|
|
||||||
cpu_type
|
cpu_type
|
||||||
config_log
|
config_log
|
||||||
prefix_dir
|
prefix_dir
|
||||||
@@ -155,6 +154,7 @@ set_default() {
|
|||||||
enable_builtin_depend
|
enable_builtin_depend
|
||||||
with_makedepend
|
with_makedepend
|
||||||
with_direct_music
|
with_direct_music
|
||||||
|
with_xaudio2
|
||||||
with_sort
|
with_sort
|
||||||
with_iconv
|
with_iconv
|
||||||
with_midi
|
with_midi
|
||||||
@@ -165,14 +165,14 @@ set_default() {
|
|||||||
with_icu_layout
|
with_icu_layout
|
||||||
with_icu_sort
|
with_icu_sort
|
||||||
static_icu
|
static_icu
|
||||||
with_psp_config
|
with_uniscribe
|
||||||
with_threads
|
with_threads
|
||||||
with_distcc
|
with_distcc
|
||||||
with_ccache
|
with_ccache
|
||||||
with_grfcodec
|
with_grfcodec
|
||||||
with_nforenum
|
with_nforenum
|
||||||
with_sse
|
with_sse
|
||||||
CC CXX CFLAGS CXXFLAGS LDFLAGS CFLAGS_BUILD CXXFLAGS_BUILD LDFLAGS_BUILD"
|
CC CXX CFLAGS CXXFLAGS LDFLAGS CFLAGS_BUILD CXXFLAGS_BUILD LDFLAGS_BUILD PKG_CONFIG_PATH PKG_CONFIG_LIBDIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
detect_params() {
|
detect_params() {
|
||||||
@@ -224,9 +224,6 @@ detect_params() {
|
|||||||
--lipo) prev_p="lipo";;
|
--lipo) prev_p="lipo";;
|
||||||
--lipo=*) lipo="$optarg";;
|
--lipo=*) lipo="$optarg";;
|
||||||
|
|
||||||
--endian) prev_p="endian";;
|
|
||||||
--endian=*) endian="$optarg";;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Alias --prefix with --prefix-dir, for compatibility with GNU autotools
|
# Alias --prefix with --prefix-dir, for compatibility with GNU autotools
|
||||||
@@ -406,9 +403,9 @@ detect_params() {
|
|||||||
--static-libicu) static_icu="1";;
|
--static-libicu) static_icu="1";;
|
||||||
--static-libicu=*) static_icu="$optarg";;
|
--static-libicu=*) static_icu="$optarg";;
|
||||||
|
|
||||||
--with-psp-config) with_psp_config="2";;
|
--with-uniscribe) with_uniscribe="2";;
|
||||||
--without-psp-config) with_psp_config="0";;
|
--without-uniscribe) with_uniscribe="0";;
|
||||||
--with-psp-config=*) with_psp_config="$optarg";;
|
--with-uniscribe=*) with_uniscribe="$optarg";;
|
||||||
|
|
||||||
--disable-builtin-depend) enable_builtin_depend="0";;
|
--disable-builtin-depend) enable_builtin_depend="0";;
|
||||||
--enable-builtin-depend) enable_builtin_depend="2";;
|
--enable-builtin-depend) enable_builtin_depend="2";;
|
||||||
@@ -422,6 +419,10 @@ detect_params() {
|
|||||||
--without-direct-music) with_direct_music="0";;
|
--without-direct-music) with_direct_music="0";;
|
||||||
--with-direct-music=*) with_direct_music="$optarg";;
|
--with-direct-music=*) with_direct_music="$optarg";;
|
||||||
|
|
||||||
|
--with-xaudio2) with_xaudio2="2";;
|
||||||
|
--without-xaudio2) with_xaudio2="0";;
|
||||||
|
--with-xaudio2=*) with_xaudio2="$optarg";;
|
||||||
|
|
||||||
--with-sort) with_sort="2";;
|
--with-sort) with_sort="2";;
|
||||||
--without-sort) with_sort="0";;
|
--without-sort) with_sort="0";;
|
||||||
--with-sort=*) with_sort="$optarg";;
|
--with-sort=*) with_sort="$optarg";;
|
||||||
@@ -473,6 +474,8 @@ detect_params() {
|
|||||||
CFLAGS_BUILD=* | --CFLAGS_BUILD=* | --CFLAGS-BUILD=*) CFLAGS_BUILD="$optarg";;
|
CFLAGS_BUILD=* | --CFLAGS_BUILD=* | --CFLAGS-BUILD=*) CFLAGS_BUILD="$optarg";;
|
||||||
CXXFLAGS_BUILD=* | --CXXFLAGS_BUILD=* | --CXXFLAGS-BUILD=*) CXXFLAGS_BUILD="$optarg";;
|
CXXFLAGS_BUILD=* | --CXXFLAGS_BUILD=* | --CXXFLAGS-BUILD=*) CXXFLAGS_BUILD="$optarg";;
|
||||||
LDFLAGS_BUILD=* | --LDFLAGS_BUILD=* | --LDFLAGS-BUILD=*) LDFLAGS_BUILD="$optarg";;
|
LDFLAGS_BUILD=* | --LDFLAGS_BUILD=* | --LDFLAGS-BUILD=*) LDFLAGS_BUILD="$optarg";;
|
||||||
|
PKG_CONFIG_PATH=* | --PKG_CONFIG_PATH=* | --PKG-CONFIG-PATH=*) PKG_CONFIG_PATH="$optarg";;
|
||||||
|
PKG_CONFIG_LIBDIR=* | --PKG_CONFIG_LIBDIR=* | --PKG-CONFIG-LIBDIR=*) PKG_CONFIG_LIBDIR="$optarg";;
|
||||||
|
|
||||||
--ignore-extra-parameters) ignore_extra_parameters="1";;
|
--ignore-extra-parameters) ignore_extra_parameters="1";;
|
||||||
|
|
||||||
@@ -517,31 +520,43 @@ save_params() {
|
|||||||
echo "" >> $config_log
|
echo "" >> $config_log
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Export a variable so tools like pkg-config can see it when invoked.
|
||||||
|
# If the variable contains an empty string then unset it.
|
||||||
|
# $1 - name of the variable to export or unset
|
||||||
|
export_or_unset() {
|
||||||
|
eval local value=\$$1
|
||||||
|
if [ -n "$value" ]; then
|
||||||
|
export $1;
|
||||||
|
log 2 "using $1=$value";
|
||||||
|
else
|
||||||
|
unset $1;
|
||||||
|
log 2 "not using $1";
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
check_params() {
|
check_params() {
|
||||||
# Some params want to be in full uppercase, else they might not work as
|
# Some params want to be in full uppercase, else they might not work as
|
||||||
# expected.. fix that here
|
# expected.. fix that here
|
||||||
|
|
||||||
endian=`echo $endian | tr '[a-z]' '[A-Z]'`
|
|
||||||
os=`echo $os | tr '[a-z]' '[A-Z]'`
|
os=`echo $os | tr '[a-z]' '[A-Z]'`
|
||||||
cpu_type=`echo $cpu_type | tr '[a-z]' '[A-Z]'`
|
cpu_type=`echo $cpu_type | tr '[a-z]' '[A-Z]'`
|
||||||
|
|
||||||
|
# Export some variables to be used by pkg-config
|
||||||
|
#
|
||||||
|
# PKG_CONFIG_LIBDIR variable musn't be set if we are not willing to
|
||||||
|
# override the default pkg-config search path, it musn't be an empty
|
||||||
|
# string. If the variable is empty (e.g. when an empty string comes
|
||||||
|
# from config.cache) then unset it. This way the "don't override" state
|
||||||
|
# will be properly preserved when (re)configuring.
|
||||||
|
export_or_unset PKG_CONFIG_PATH
|
||||||
|
export_or_unset PKG_CONFIG_LIBDIR
|
||||||
|
|
||||||
# Check if all params have valid values
|
# Check if all params have valid values
|
||||||
|
|
||||||
# Endian only allows AUTO, LE and, BE
|
# OS only allows DETECT, UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, MORPHOS, BEOS, HAIKU, SUNOS, CYGWIN, MINGW, OS2, and DOS
|
||||||
if [ -z "`echo $endian | egrep '^(AUTO|LE|BE|PREPROCESSOR)$'`" ]; then
|
if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|DRAGONFLY|OPENBSD|NETBSD|HPUX|MORPHOS|BEOS|HAIKU|SUNOS|CYGWIN|MINGW|OS2|DOS)$'`" ]; then
|
||||||
log 1 "configure: error: invalid option --endian=$endian"
|
|
||||||
log 1 " Available options are: --endian=[AUTO|LE|BE]"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [ "$endian" = "PREPROCESSOR" ] && [ "$os" != "OSX" ]; then
|
|
||||||
log 1 "configure: error: invalid option --endian=$endian"
|
|
||||||
log 1 " PREPROCESSOR is only available for OSX"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# OS only allows DETECT, UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, MORPHOS, BEOS, HAIKU, SUNOS, CYGWIN, MINGW, OS2, DOS, WINCE, and PSP
|
|
||||||
if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|DRAGONFLY|OPENBSD|NETBSD|HPUX|MORPHOS|BEOS|HAIKU|SUNOS|CYGWIN|MINGW|OS2|DOS|WINCE|PSP)$'`" ]; then
|
|
||||||
log 1 "configure: error: invalid option --os=$os"
|
log 1 "configure: error: invalid option --os=$os"
|
||||||
log 1 " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|DRAGONFLY|OPENBSD|NETBSD|HPUX|MORPHOS|BEOS|HAIKU|SUNOS|CYGWIN|MINGW|OS2|DOS|WINCE|PSP]"
|
log 1 " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|DRAGONFLY|OPENBSD|NETBSD|HPUX|MORPHOS|BEOS|HAIKU|SUNOS|CYGWIN|MINGW|OS2|DOS]"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# cpu_type can be either 32 or 64
|
# cpu_type can be either 32 or 64
|
||||||
@@ -740,13 +755,13 @@ check_params() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
|
||||||
log 1 "checking GDI video driver... found"
|
log 1 "checking GDI video driver... found"
|
||||||
else
|
else
|
||||||
log 1 "checking GDI video driver... not Windows, skipping"
|
log 1 "checking GDI video driver... not Windows, skipping"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$allegro_config" ] && [ -z "$sdl_config" ] && [ "$with_cocoa" = 0 ] && [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ] && [ "$os" != "WINCE" ]; then
|
if [ -z "$allegro_config" ] && [ -z "$sdl_config" ] && [ "$with_cocoa" = 0 ] && [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
||||||
log 1 "configure: error: no video driver development files found"
|
log 1 "configure: error: no video driver development files found"
|
||||||
log 1 " If you want a dedicated server use --enable-dedicated as parameter"
|
log 1 " If you want a dedicated server use --enable-dedicated as parameter"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -846,13 +861,34 @@ check_params() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$with_uniscribe" != "0" ]; then
|
||||||
|
if [ "$os" != "MINGW" ]; then
|
||||||
|
if [ "$with_uniscribe" != "1" ]; then
|
||||||
|
log 1 "configure: error: Uniscribe is only supported on native Win32 targets"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
with_uniscribe="0"
|
||||||
|
|
||||||
|
log 1 "checking Uniscribe text layout... not Windows, skipping"
|
||||||
|
else
|
||||||
|
log 1 "checking Uniscribe text layout... found"
|
||||||
|
|
||||||
|
# Don't use ICU unless forced.
|
||||||
|
if [ "$with_icu_layout" = "1" ]; then
|
||||||
|
with_icu_layout="0"
|
||||||
|
fi
|
||||||
|
if [ "$with_icu_sort" = "1" ]; then
|
||||||
|
with_icu_sort="0"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
detect_xdg_basedir
|
detect_xdg_basedir
|
||||||
detect_png
|
detect_png
|
||||||
detect_freetype
|
detect_freetype
|
||||||
detect_fontconfig
|
detect_fontconfig
|
||||||
detect_icu_layout
|
detect_icu_layout
|
||||||
detect_icu_sort
|
detect_icu_sort
|
||||||
detect_pspconfig
|
|
||||||
detect_libtimidity
|
detect_libtimidity
|
||||||
|
|
||||||
if [ "$with_direct_music" != "0" ]; then
|
if [ "$with_direct_music" != "0" ]; then
|
||||||
@@ -869,13 +905,21 @@ check_params() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
detect_sort
|
if [ "$with_xaudio2" != "0" ]; then
|
||||||
|
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
||||||
|
if [ "$with_xaudio2" != "1" ]; then
|
||||||
|
log 1 "configure: error: xaudio2 is only supported on Win32 targets"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
with_xaudio2="0"
|
||||||
|
|
||||||
if [ "$os" = "OSX" ] && [ "$endian" = "AUTO" ]; then
|
log 1 "checking xaudio2... not Windows, skipping"
|
||||||
endian="PREPROCESSOR"
|
else
|
||||||
|
check_xaudio2
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log 1 "checking endianness... $endian"
|
detect_sort
|
||||||
|
|
||||||
# Suppress language errors when there is a version defined, indicating a release
|
# Suppress language errors when there is a version defined, indicating a release
|
||||||
# It just isn't pretty if any release produces warnings in the languages.
|
# It just isn't pretty if any release produces warnings in the languages.
|
||||||
@@ -1087,7 +1131,7 @@ check_params() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$personal_dir" = "1" ]; then
|
if [ "$personal_dir" = "1" ]; then
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ] || [ "$os" = "DOS" ] || [ "$os" = "HAIKU" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "DOS" ] || [ "$os" = "HAIKU" ]; then
|
||||||
personal_dir="OpenTTD"
|
personal_dir="OpenTTD"
|
||||||
elif [ "$os" = "OSX" ]; then
|
elif [ "$os" = "OSX" ]; then
|
||||||
personal_dir="Documents/OpenTTD"
|
personal_dir="Documents/OpenTTD"
|
||||||
@@ -1184,12 +1228,15 @@ make_compiler_cflags() {
|
|||||||
# $4 - name of the ldflags variable
|
# $4 - name of the ldflags variable
|
||||||
# $5 - name of the features variable
|
# $5 - name of the features variable
|
||||||
|
|
||||||
|
# Get the compiler to tell us who it is
|
||||||
|
compiler="`$1 --version | head -n1 | cut -d' ' -f1`"
|
||||||
|
|
||||||
eval eval "flags=\\\$$2"
|
eval eval "flags=\\\$$2"
|
||||||
eval eval "cxxflags=\\\$$3"
|
eval eval "cxxflags=\\\$$3"
|
||||||
eval eval "ldflags=\\\$$4"
|
eval eval "ldflags=\\\$$4"
|
||||||
eval eval "features=\\\$$5"
|
eval eval "features=\\\$$5"
|
||||||
|
|
||||||
if [ `basename $1 | cut -c 1-3` = "icc" ]; then
|
if [ "$compiler" = "icc" ]; then
|
||||||
# Enable some things only for certain ICC versions
|
# Enable some things only for certain ICC versions
|
||||||
cc_version=`$1 -dumpversion | cut -c 1-4 | sed s@\\\.@@g`
|
cc_version=`$1 -dumpversion | cut -c 1-4 | sed s@\\\.@@g`
|
||||||
|
|
||||||
@@ -1281,7 +1328,7 @@ make_compiler_cflags() {
|
|||||||
features="$features lto"
|
features="$features lto"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ `basename $1 | grep 'clang'` ]; then
|
elif [ "$compiler" = "clang" ]; then
|
||||||
# Enable some things only for certain clang versions
|
# Enable some things only for certain clang versions
|
||||||
cc_version="`$1 -v 2>&1 | head -n 1 | sed s@[^0-9]@@g | cut -c 1-2`"
|
cc_version="`$1 -v 2>&1 | head -n 1 | sed s@[^0-9]@@g | cut -c 1-2`"
|
||||||
|
|
||||||
@@ -1341,6 +1388,8 @@ make_compiler_cflags() {
|
|||||||
|
|
||||||
# rdynamic is used to get useful stack traces from crash reports.
|
# rdynamic is used to get useful stack traces from crash reports.
|
||||||
ldflags="$ldflags -rdynamic"
|
ldflags="$ldflags -rdynamic"
|
||||||
|
|
||||||
|
# Assume gcc, since it just uses argv[0] in its --version output
|
||||||
else
|
else
|
||||||
# Enable some things only for certain GCC versions
|
# Enable some things only for certain GCC versions
|
||||||
# cc_version = major_version * 100 + minor_version
|
# cc_version = major_version * 100 + minor_version
|
||||||
@@ -1407,11 +1456,14 @@ make_compiler_cflags() {
|
|||||||
flags="$flags -fno-tree-vrp"
|
flags="$flags -fno-tree-vrp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $cc_version -ge 407 ]; then
|
if [ $cc_version -eq 407 ]; then
|
||||||
# Disable -Wnarrowing which gives many warnings, such as:
|
# Disable -Wnarrowing which gives many warnings, such as:
|
||||||
# warning: narrowing conversion of '...' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
|
# warning: narrowing conversion of '...' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
|
||||||
# They are valid according to the C++ standard, but useless.
|
# They are valid according to the C++ standard, but useless.
|
||||||
cxxflags="$cxxflags -Wno-narrowing"
|
cxxflags="$cxxflags -Wno-narrowing"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $cc_version -ge 407 ]; then
|
||||||
# Disable bogus 'attempt to free a non-heap object' warning
|
# Disable bogus 'attempt to free a non-heap object' warning
|
||||||
flags="$flags -Wno-free-nonheap-object"
|
flags="$flags -Wno-free-nonheap-object"
|
||||||
else
|
else
|
||||||
@@ -1456,21 +1508,27 @@ make_compiler_cflags() {
|
|||||||
|
|
||||||
make_cflags_and_ldflags() {
|
make_cflags_and_ldflags() {
|
||||||
# General CFlags for BUILD
|
# General CFlags for BUILD
|
||||||
CFLAGS_BUILD="$CFLAGS_BUILD"
|
CFLAGS_BUILD_ENV="$CFLAGS_BUILD"
|
||||||
|
CFLAGS_BUILD=""
|
||||||
# Special CXXFlags for BUILD
|
# Special CXXFlags for BUILD
|
||||||
CXXFLAGS_BUILD="$CXXFLAGS_BUILD"
|
CXXFLAGS_BUILD_ENV="$CXXFLAGS_BUILD"
|
||||||
|
CXXFLAGS_BUILD=""
|
||||||
# LDFLAGS for BUILD
|
# LDFLAGS for BUILD
|
||||||
LDFLAGS_BUILD="$LDFLAGS_BUILD"
|
LDFLAGS_BUILD_ENV="$LDFLAGS_BUILD"
|
||||||
|
LDFLAGS_BUILD=""
|
||||||
# FEATURES for BUILD (lto)
|
# FEATURES for BUILD (lto)
|
||||||
FEATURES_BUILD=""
|
FEATURES_BUILD=""
|
||||||
# General CFlags for HOST
|
# General CFlags for HOST
|
||||||
CFLAGS="$CFLAGS"
|
CFLAGS_ENV="$CFLAGS"
|
||||||
|
CFLAGS=""
|
||||||
# Special CXXFlags for HOST
|
# Special CXXFlags for HOST
|
||||||
CXXFLAGS="$CXXFLAGS"
|
CXXFLAGS_ENV="$CXXFLAGS"
|
||||||
|
CXXFLAGS=""
|
||||||
# Libs to compile. In fact this is just LDFLAGS
|
# Libs to compile. In fact this is just LDFLAGS
|
||||||
LIBS="-lstdc++"
|
LIBS="-lstdc++"
|
||||||
# LDFLAGS used for HOST
|
# LDFLAGS used for HOST
|
||||||
LDFLAGS="$LDFLAGS"
|
LDFLAGS_ENV="$LDFLAGS"
|
||||||
|
LDFLAGS=""
|
||||||
# FEATURES for HOST (lto)
|
# FEATURES for HOST (lto)
|
||||||
FEATURES=""
|
FEATURES=""
|
||||||
|
|
||||||
@@ -1499,9 +1557,6 @@ make_cflags_and_ldflags() {
|
|||||||
# Each debug level reduces the optimization by a bit
|
# Each debug level reduces the optimization by a bit
|
||||||
if [ $enable_debug -ge 1 ]; then
|
if [ $enable_debug -ge 1 ]; then
|
||||||
CFLAGS="$CFLAGS -g -D_DEBUG"
|
CFLAGS="$CFLAGS -g -D_DEBUG"
|
||||||
if [ "$os" = "PSP" ]; then
|
|
||||||
CFLAGS="$CFLAGS -G0"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if [ $enable_debug -ge 2 ]; then
|
if [ $enable_debug -ge 2 ]; then
|
||||||
CFLAGS="$CFLAGS -fno-inline"
|
CFLAGS="$CFLAGS -fno-inline"
|
||||||
@@ -1524,8 +1579,11 @@ make_cflags_and_ldflags() {
|
|||||||
|
|
||||||
cc_build_is_gcc=`basename "$cc_build" | grep "gcc" 2>/dev/null`
|
cc_build_is_gcc=`basename "$cc_build" | grep "gcc" 2>/dev/null`
|
||||||
if [ -n "$cc_build_is_gcc" ]; then
|
if [ -n "$cc_build_is_gcc" ]; then
|
||||||
# Just add -O1 to the tools needed for building.
|
# Add -O1 and fortify source to the tools needed for building, on gcc
|
||||||
CFLAGS_BUILD="$CFLAGS_BUILD -D_FORTIFY_SOURCE=2 -O1"
|
CFLAGS_BUILD="$CFLAGS_BUILD -D_FORTIFY_SOURCE=2 -O1"
|
||||||
|
elif [ -n "`basename "$cc_build" | grep "clang" 2>/dev/null`" ]; then
|
||||||
|
# Add -O1 to the tools needed for building, on clang
|
||||||
|
CFLAGS_BUILD="$CFLAGS_BUILD -O1"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1575,23 +1633,13 @@ make_cflags_and_ldflags() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "DOS" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ] && [ "$os" != "OS2" ]; then
|
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "DOS" ] && [ "$os" != "OS2" ]; then
|
||||||
LIBS="$LIBS -lpthread"
|
LIBS="$LIBS -lpthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "MINGW" ] && [ "$os" != "DOS" ] && [ "$os" != "WINCE" ]; then
|
if [ "$os" != "CYGWIN" ] && [ "$os" != "HAIKU" ] && [ "$os" != "MINGW" ] && [ "$os" != "DOS" ]; then
|
||||||
LIBS="$LIBS -lc"
|
LIBS="$LIBS -lc"
|
||||||
fi
|
fi
|
||||||
if [ "$os" = "WINCE" ]; then
|
|
||||||
LIBS="$LIBS -lcoredll -lcorelibc -laygshell -lws2 -e WinMainCRTStartup"
|
|
||||||
fi
|
|
||||||
if [ "$os" = "PSP" ]; then
|
|
||||||
CFLAGS="$CFLAGS -I`$psp_config -p`/include"
|
|
||||||
LDFLAGS="$LDFLAGS -L`$psp_config -p`/lib"
|
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150"
|
|
||||||
LIBS="$LIBS -D_PSP_FW_VERSION=150 -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -lm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$os" = "MORPHOS" ]; then
|
if [ "$os" = "MORPHOS" ]; then
|
||||||
# -Wstrict-prototypes generates much noise because of system headers
|
# -Wstrict-prototypes generates much noise because of system headers
|
||||||
@@ -1619,23 +1667,6 @@ make_cflags_and_ldflags() {
|
|||||||
CFLAGS="$OSX_SYSROOT $CFLAGS"
|
CFLAGS="$OSX_SYSROOT $CFLAGS"
|
||||||
LDFLAGS="$OSX_LD_SYSROOT $LDFLAGS"
|
LDFLAGS="$OSX_LD_SYSROOT $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$enable_universal" = "0" ] && [ $cc_version -gt 400 ]; then
|
|
||||||
# Only set the min version when not doing an universal build.
|
|
||||||
# Universal builds set the version elsewhere.
|
|
||||||
if [ "$cpu_type" = "64" ]; then
|
|
||||||
CFLAGS="$CFLAGS -mmacosx-version-min=10.5"
|
|
||||||
else
|
|
||||||
gcc_cpu=`$cc_host -dumpmachine`
|
|
||||||
if [ "`echo $gcc_cpu | cut -c 1-3`" = "ppc" -o "`echo $gcc_cpu | cut -c 1-7`" = "powerpc" ]; then
|
|
||||||
# PowerPC build can run on 10.3
|
|
||||||
CFLAGS="$CFLAGS -mmacosx-version-min=10.3"
|
|
||||||
else
|
|
||||||
# Intel is only available starting from 10.4
|
|
||||||
CFLAGS="$CFLAGS -mmacosx-version-min=10.4"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$os" = "BEOS" ] || [ "$os" = "HAIKU" ]; then
|
if [ "$os" = "BEOS" ] || [ "$os" = "HAIKU" ]; then
|
||||||
@@ -1647,14 +1678,14 @@ make_cflags_and_ldflags() {
|
|||||||
CFLAGS="$CFLAGS -DUNIX"
|
CFLAGS="$CFLAGS -DUNIX"
|
||||||
fi
|
fi
|
||||||
# And others like Windows
|
# And others like Windows
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
|
||||||
CFLAGS="$CFLAGS -DWIN"
|
CFLAGS="$CFLAGS -DWIN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$allegro_config" ]; then
|
if [ -n "$allegro_config" ]; then
|
||||||
CFLAGS="$CFLAGS -DWITH_ALLEGRO"
|
CFLAGS="$CFLAGS -DWITH_ALLEGRO"
|
||||||
CFLAGS="$CFLAGS `$allegro_config --cflags`"
|
CFLAGS="$CFLAGS `$allegro_config --cflags`"
|
||||||
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ] && [ "$os" != "WINCE" ]; then
|
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
LIBS="$LIBS `$allegro_config --static --libs`"
|
LIBS="$LIBS `$allegro_config --static --libs`"
|
||||||
else
|
else
|
||||||
@@ -1667,7 +1698,7 @@ make_cflags_and_ldflags() {
|
|||||||
CFLAGS="$CFLAGS -DWITH_SDL"
|
CFLAGS="$CFLAGS -DWITH_SDL"
|
||||||
# SDL must not add _GNU_SOURCE as it breaks many platforms
|
# SDL must not add _GNU_SOURCE as it breaks many platforms
|
||||||
CFLAGS="$CFLAGS `$sdl_config --cflags | sed 's@-D_GNU_SOURCE[^ ]*@@'`"
|
CFLAGS="$CFLAGS `$sdl_config --cflags | sed 's@-D_GNU_SOURCE[^ ]*@@'`"
|
||||||
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ] && [ "$os" != "WINCE" ]; then
|
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
LIBS="$LIBS `$sdl_config --static-libs`"
|
LIBS="$LIBS `$sdl_config --static-libs`"
|
||||||
else
|
else
|
||||||
@@ -1792,6 +1823,10 @@ make_cflags_and_ldflags() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$with_uniscribe" != "0" ]; then
|
||||||
|
CFLAGS="$CFLAGS -DWITH_UNISCRIBE"
|
||||||
|
LIBS="$LIBS -lusp10"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$with_direct_music" != "0" ]; then
|
if [ "$with_direct_music" != "0" ]; then
|
||||||
CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT"
|
CFLAGS="$CFLAGS -DWIN32_ENABLE_DIRECTMUSIC_SUPPORT"
|
||||||
@@ -1803,6 +1838,10 @@ make_cflags_and_ldflags() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$with_xaudio2" != "0" ]; then
|
||||||
|
CFLAGS="$CFLAGS -DWITH_XAUDIO2"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$libtimidity_config" ]; then
|
if [ -n "$libtimidity_config" ]; then
|
||||||
CFLAGS="$CFLAGS -DLIBTIMIDITY"
|
CFLAGS="$CFLAGS -DLIBTIMIDITY"
|
||||||
CFLAGS="$CFLAGS `$libtimidity_config --cflags | tr '\n\r' ' '`"
|
CFLAGS="$CFLAGS `$libtimidity_config --cflags | tr '\n\r' ' '`"
|
||||||
@@ -1905,6 +1944,14 @@ make_cflags_and_ldflags() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# All flags to be extended via the env
|
||||||
|
CFLAGS_BUILD="$CFLAGS_BUILD $CFLAGS_BUILD_ENV"
|
||||||
|
CXXFLAGS_BUILD="$CXXFLAGS_BUILD $CXXFLAGS_BUILD_ENV"
|
||||||
|
LDFLAGS_BUILD="$LDFLAGS_BUILD $LDFLAGS_BUILD_ENV"
|
||||||
|
CFLAGS="$CFLAGS $CFLAGS_ENV"
|
||||||
|
CXXFLAGS="$CXXFLAGS $CXXFLAGS_ENV"
|
||||||
|
LDFLAGS="$LDFLAGS $LDFLAGS_ENV"
|
||||||
|
|
||||||
log 1 "using CFLAGS_BUILD... $CFLAGS_BUILD"
|
log 1 "using CFLAGS_BUILD... $CFLAGS_BUILD"
|
||||||
log 1 "using CXXFLAGS_BUILD... $CXXFLAGS_BUILD"
|
log 1 "using CXXFLAGS_BUILD... $CXXFLAGS_BUILD"
|
||||||
log 1 "using LDFLAGS_BUILD... $LDFLAGS_BUILD"
|
log 1 "using LDFLAGS_BUILD... $LDFLAGS_BUILD"
|
||||||
@@ -1955,7 +2002,22 @@ check_compiler() {
|
|||||||
# $8 - "0" gcc, "1" g++, "2" windres, "3" strip, "4" lipo
|
# $8 - "0" gcc, "1" g++, "2" windres, "3" strip, "4" lipo
|
||||||
# $9 - What the command is to check for
|
# $9 - What the command is to check for
|
||||||
|
|
||||||
if [ -n "$3" ]; then
|
if [ -n "$4" ]; then
|
||||||
|
# Check for manual compiler
|
||||||
|
machine=`$4 $9 2>/dev/null`
|
||||||
|
ret=$?
|
||||||
|
eval "$2=\"$4\""
|
||||||
|
|
||||||
|
log 2 "executing $4 $9"
|
||||||
|
log 2 " returned $machine"
|
||||||
|
log 2 " exit code $ret"
|
||||||
|
|
||||||
|
if ( [ -z "$machine" ] && [ "$8" != "3" ] ) || [ "$ret" != "0" ]; then
|
||||||
|
log 1 "checking $1... $4 not found"
|
||||||
|
log 1 "the selected binary doesn't seem to be a $6 binary"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
elif [ -n "$3" ]; then
|
||||||
# Check for system
|
# Check for system
|
||||||
if [ -z "$6" ]; then
|
if [ -z "$6" ]; then
|
||||||
compiler="$3"
|
compiler="$3"
|
||||||
@@ -1998,21 +2060,6 @@ check_compiler() {
|
|||||||
log 1 "the compiler suggests it doesn't build code for the machine you specified"
|
log 1 "the compiler suggests it doesn't build code for the machine you specified"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
elif [ -n "$4" ]; then
|
|
||||||
# Check for manual compiler
|
|
||||||
machine=`$4 $9 2>/dev/null`
|
|
||||||
ret=$?
|
|
||||||
eval "$2=\"$4\""
|
|
||||||
|
|
||||||
log 2 "executing $4 $9"
|
|
||||||
log 2 " returned $machine"
|
|
||||||
log 2 " exit code $ret"
|
|
||||||
|
|
||||||
if ( [ -z "$machine" ] && [ "$8" != "3" ] ) || [ "$ret" != "0" ]; then
|
|
||||||
log 1 "checking $1... $4 not found"
|
|
||||||
log 1 "the selected binary doesn't seem to be a $6 binary"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
# Nothing given, autodetect
|
# Nothing given, autodetect
|
||||||
|
|
||||||
@@ -2075,26 +2122,13 @@ check_compiler() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_build() {
|
check_build() {
|
||||||
if [ "$os" = "FREEBSD" ]; then
|
check_compiler "build system type" "cc_build" "$build" "$cc_build" "$CC" "gcc" "cc" "0" "-dumpmachine"
|
||||||
# FreeBSD's C compiler does not support dump machine.
|
|
||||||
# However, removing C support is not possible because PSP must be linked with the C compiler.
|
|
||||||
check_compiler "build system type" "cc_build" "$build" "$cc_build" "$CXX" "g++" "c++" "0" "-dumpmachine"
|
|
||||||
else
|
|
||||||
check_compiler "build system type" "cc_build" "$build" "$cc_build" "$CC" "gcc" "cc" "0" "-dumpmachine"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_host() {
|
check_host() {
|
||||||
# By default the host is the build
|
# By default the host is the build
|
||||||
if [ -z "$host" ]; then host="$build"; fi
|
if [ -z "$host" ]; then host="$build"; fi
|
||||||
|
check_compiler "host system type" "cc_host" "$host" "$cc_host" "$CC" "gcc" "cc" "0" "-dumpmachine"
|
||||||
if [ "$os" = "FREEBSD" ]; then
|
|
||||||
# FreeBSD's C compiler does not support dump machine.
|
|
||||||
# However, removing C support is not possible because PSP must be linked with the C compiler.
|
|
||||||
check_compiler "host system type" "cc_host" "$host" "$cc_host" "$CXX" "g++" "c++" "0" "-dumpmachine"
|
|
||||||
else
|
|
||||||
check_compiler "host system type" "cc_host" "$host" "$cc_host" "$CC" "gcc" "cc" "0" "-dumpmachine"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_cxx_build() {
|
check_cxx_build() {
|
||||||
@@ -2108,7 +2142,7 @@ check_cxx_host() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_windres() {
|
check_windres() {
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
|
||||||
check_compiler "host windres" "windres" "$host" "$windres" "$WINDRES" "windres" "windres" "2" "-V"
|
check_compiler "host windres" "windres" "$host" "$windres" "$WINDRES" "windres" "windres" "2" "-V"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -2196,6 +2230,35 @@ check_direct_music() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_xaudio2() {
|
||||||
|
echo "
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#undef NTDDI_VERSION
|
||||||
|
#undef _WIN32_WINNT
|
||||||
|
|
||||||
|
#define NTDDI_VERSION NTDDI_WIN8
|
||||||
|
#define _WIN32_WINNT _WIN32_WINNT_WIN8
|
||||||
|
|
||||||
|
#include <xaudio2.h>
|
||||||
|
int main(int argc, char *argv[]) { }" > xaudio2.test.c
|
||||||
|
$cxx_host $CFLAGS xaudio2.test.c -o xaudio2.test 2> /dev/null
|
||||||
|
res=$?
|
||||||
|
rm -f xaudio2.test.c xaudio2.test
|
||||||
|
|
||||||
|
if [ "$res" != "0" ]; then
|
||||||
|
if [ "$with_xaudio2" != "1" ]; then
|
||||||
|
log 1 "configure: error: xaudio2 is not available on this system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
with_xaudio2="0"
|
||||||
|
|
||||||
|
log 1 "checking xaudio2... not found"
|
||||||
|
else
|
||||||
|
log 1 "checking xaudio2... found"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
check_makedepend() {
|
check_makedepend() {
|
||||||
if [ "$enable_builtin_depend" != "0" ]; then
|
if [ "$enable_builtin_depend" != "0" ]; then
|
||||||
with_makedepend="0"
|
with_makedepend="0"
|
||||||
@@ -2314,7 +2377,7 @@ detect_awk() {
|
|||||||
|
|
||||||
detect_os() {
|
detect_os() {
|
||||||
if [ "$os" = "DETECT" ]; then
|
if [ "$os" = "DETECT" ]; then
|
||||||
# Detect UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, HPUX, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, DOS, WINCE, and PSP
|
# Detect UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, HPUX, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, and DOS
|
||||||
|
|
||||||
# Try first via dumpmachine, then via uname
|
# Try first via dumpmachine, then via uname
|
||||||
os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
|
os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
|
||||||
@@ -2334,8 +2397,6 @@ detect_os() {
|
|||||||
/mingw/ { print "MINGW"; exit}
|
/mingw/ { print "MINGW"; exit}
|
||||||
/os2/ { print "OS2"; exit}
|
/os2/ { print "OS2"; exit}
|
||||||
/dos/ { print "DOS"; exit}
|
/dos/ { print "DOS"; exit}
|
||||||
/wince/ { print "WINCE"; exit}
|
|
||||||
/psp/ { print "PSP"; exit}
|
|
||||||
'`
|
'`
|
||||||
|
|
||||||
if [ -z "$os" ]; then
|
if [ -z "$os" ]; then
|
||||||
@@ -2361,7 +2422,7 @@ detect_os() {
|
|||||||
if [ -z "$os" ]; then
|
if [ -z "$os" ]; then
|
||||||
log 1 "detecting OS... none detected"
|
log 1 "detecting OS... none detected"
|
||||||
log 1 "I couldn't detect your OS. Please use --os=OS to force one"
|
log 1 "I couldn't detect your OS. Please use --os=OS to force one"
|
||||||
log 1 "Allowed values are: UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, MORPHOS, HPUX, BEOS, HAIKU, SUNOS, CYGWIN, MINGW, OS2, DOS, WINCE, and PSP"
|
log 1 "Allowed values are: UNIX, OSX, FREEBSD, DRAGONFLY, OPENBSD, NETBSD, MORPHOS, HPUX, BEOS, HAIKU, SUNOS, CYGWIN, MINGW, OS2, and DOS"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -2620,6 +2681,11 @@ detect_library() {
|
|||||||
eval "res=\$$2"
|
eval "res=\$$2"
|
||||||
if [ -z "$res" ]; then
|
if [ -z "$res" ]; then
|
||||||
log 2 " trying /mingw/include/$4$5... no"
|
log 2 " trying /mingw/include/$4$5... no"
|
||||||
|
eval "$2=`ls -1 /mingw$cpu_type/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
|
||||||
|
fi
|
||||||
|
eval "res=\$$2"
|
||||||
|
if [ -z "$res" ]; then
|
||||||
|
log 2 " trying /mingw$cpu_type/include/$4$5... no"
|
||||||
eval "$2=`ls -1 /opt/local/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
|
eval "$2=`ls -1 /opt/local/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
|
||||||
fi
|
fi
|
||||||
eval "res=\$$2"
|
eval "res=\$$2"
|
||||||
@@ -2668,6 +2734,11 @@ detect_library() {
|
|||||||
eval "res=\$$2"
|
eval "res=\$$2"
|
||||||
if [ -z "$res" ]; then
|
if [ -z "$res" ]; then
|
||||||
log 2 " trying /mingw/lib/$3... no"
|
log 2 " trying /mingw/lib/$3... no"
|
||||||
|
eval "$2=`ls /mingw$cpu_type/lib/*.a 2>/dev/null | egrep \"\/$3\$\"`"
|
||||||
|
fi
|
||||||
|
eval "res=\$$2"
|
||||||
|
if [ -z "$res" ]; then
|
||||||
|
log 2 " trying /mingw$cpu_type/lib/$3... no"
|
||||||
log 1 "configure: error: $2 couldn't be found"
|
log 1 "configure: error: $2 couldn't be found"
|
||||||
log 1 "configure: error: you requested a static link, but I can't find $3"
|
log 1 "configure: error: you requested a static link, but I can't find $3"
|
||||||
|
|
||||||
@@ -2804,7 +2875,7 @@ detect_fontconfig() {
|
|||||||
fontconfig_config=""
|
fontconfig_config=""
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
|
||||||
log 1 "checking libfontconfig... WIN32, skipping"
|
log 1 "checking libfontconfig... WIN32, skipping"
|
||||||
fontconfig_config=""
|
fontconfig_config=""
|
||||||
return 0
|
return 0
|
||||||
@@ -2827,55 +2898,6 @@ detect_icu_sort() {
|
|||||||
detect_pkg_config "$with_icu_sort" "icu-i18n" "icu_sort_config" "4.8" "1"
|
detect_pkg_config "$with_icu_sort" "icu-i18n" "icu_sort_config" "4.8" "1"
|
||||||
}
|
}
|
||||||
|
|
||||||
detect_pspconfig() {
|
|
||||||
# 0 means no, 1 is auto-detect, 2 is force
|
|
||||||
if [ "$with_psp_config" = "0" ]; then
|
|
||||||
log 1 "checking psp-config... disabled"
|
|
||||||
|
|
||||||
psp_config=""
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$with_psp_config" = "1" ] && [ "$os" != "PSP" ]; then
|
|
||||||
log 1 "checking psp-config... not PSP, skipping"
|
|
||||||
|
|
||||||
psp_config="";
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$os" != "PSP" ]; then
|
|
||||||
log 1 "checking psp-config... not PSP"
|
|
||||||
|
|
||||||
log 1 "configure: error: psp-config is only supported for PSP"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$with_psp_config" = "1" ] || [ "$with_psp_config" = "" ] || [ "$with_psp_config" = "2" ]; then
|
|
||||||
psp_config="psp-config"
|
|
||||||
else
|
|
||||||
psp_config="$with_psp_config"
|
|
||||||
fi
|
|
||||||
|
|
||||||
version=`$psp_config -p 2>/dev/null`
|
|
||||||
ret=$?
|
|
||||||
log 2 "executing $psp_config -p"
|
|
||||||
log 2 " returned $version"
|
|
||||||
log 2 " exit code $ret"
|
|
||||||
|
|
||||||
if [ -z "$version" ] || [ "$ret" != "0" ]; then
|
|
||||||
log 1 "checking psp-config... not found"
|
|
||||||
log 1 "configure: error: psp-config couldn't be found"
|
|
||||||
|
|
||||||
# It was forced, so it should be found.
|
|
||||||
if [ "$with_psp_config" != "1" ]; then
|
|
||||||
log 1 "configure: error: you supplied '$with_psp_config', but it seems invalid"
|
|
||||||
fi
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
log 1 "checking psp-config... found"
|
|
||||||
}
|
|
||||||
|
|
||||||
detect_iconv() {
|
detect_iconv() {
|
||||||
# 0 means no, 1 is auto-detect, 2 is force
|
# 0 means no, 1 is auto-detect, 2 is force
|
||||||
if [ "$with_iconv" = "0" ]; then
|
if [ "$with_iconv" = "0" ]; then
|
||||||
@@ -3120,24 +3142,40 @@ detect_nforenum() {
|
|||||||
log 1 "checking nforenum... found"
|
log 1 "checking nforenum... found"
|
||||||
}
|
}
|
||||||
|
|
||||||
detect_cputype() {
|
_detect_cputype_width() {
|
||||||
if [ -n "$cpu_type" ] && [ "$cpu_type" != "DETECT" ]; then
|
echo "#define _SQ64 1" > $1.cpp
|
||||||
log 1 "forcing cpu-type... $cpu_type bits"
|
echo "#include \"src/stdafx.h\"" >> $1.cpp
|
||||||
return;
|
echo "assert_compile(sizeof(size_t) == $2);" >> $1.cpp
|
||||||
fi
|
echo "int main() { return 0; }" >> $1.cpp
|
||||||
echo "#define _SQ64 1" > tmp.64bit.cpp
|
execute="$cxx_host $CFLAGS -std=c++11 $1.cpp -o $1 -DTESTING 2>&1"
|
||||||
echo "#include \"src/stdafx.h\"" >> tmp.64bit.cpp
|
|
||||||
echo "assert_compile(sizeof(size_t) == 8);" >> tmp.64bit.cpp
|
|
||||||
echo "int main() { return 0; }" >> tmp.64bit.cpp
|
|
||||||
execute="$cxx_host $CFLAGS tmp.64bit.cpp -o tmp.64bit -DTESTING 2>&1"
|
|
||||||
cpu_type="`eval $execute 2>/dev/null`"
|
cpu_type="`eval $execute 2>/dev/null`"
|
||||||
ret=$?
|
ret=$?
|
||||||
log 2 "executing $execute"
|
log 2 "executing $execute"
|
||||||
log 2 " returned $cpu_type"
|
log 2 " returned $cpu_type"
|
||||||
log 2 " exit code $ret"
|
log 2 " exit code $ret"
|
||||||
if [ "$ret" = "0" ]; then cpu_type="64"; else cpu_type="32"; fi
|
rm -f $1 $1.cpp
|
||||||
|
return $ret
|
||||||
|
}
|
||||||
|
|
||||||
|
detect_cputype() {
|
||||||
|
if [ -n "$cpu_type" ] && [ "$cpu_type" != "DETECT" ]; then
|
||||||
|
log 1 "forcing cpu-type... $cpu_type bits"
|
||||||
|
return;
|
||||||
|
fi
|
||||||
|
_detect_cputype_width tmp.32bit 4
|
||||||
|
result32=$?
|
||||||
|
_detect_cputype_width tmp.64bit 8
|
||||||
|
result64=$?
|
||||||
|
|
||||||
|
if [ "$result32" = 0 ] && [ "$result64" != 0 ]; then
|
||||||
|
cpu_type="32"
|
||||||
|
elif [ "$result32" != 0 ] && [ "$result64" = 0 ]; then
|
||||||
|
cpu_type="64"
|
||||||
|
else
|
||||||
|
log 1 "configure: unable to determine cpu-type (pointer width)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
log 1 "detecting cpu-type... $cpu_type bits"
|
log 1 "detecting cpu-type... $cpu_type bits"
|
||||||
rm -f tmp.64bit tmp.64bit.cpp
|
|
||||||
}
|
}
|
||||||
|
|
||||||
detect_sse_capable_architecture() {
|
detect_sse_capable_architecture() {
|
||||||
@@ -3225,17 +3263,14 @@ make_sed() {
|
|||||||
s@!!INSTALL_DIR!!@$install_dir@g;
|
s@!!INSTALL_DIR!!@$install_dir@g;
|
||||||
s@!!BINARY_NAME!!@$binary_name@g;
|
s@!!BINARY_NAME!!@$binary_name@g;
|
||||||
s@!!STRGEN!!@$STRGEN@g;
|
s@!!STRGEN!!@$STRGEN@g;
|
||||||
s@!!ENDIAN_CHECK!!@$ENDIAN_CHECK@g;
|
|
||||||
s@!!DEPEND!!@$DEPEND@g;
|
s@!!DEPEND!!@$DEPEND@g;
|
||||||
s@!!SETTINGSGEN!!@$SETTINGSGEN@g;
|
s@!!SETTINGSGEN!!@$SETTINGSGEN@g;
|
||||||
s@!!ENDIAN_FORCE!!@$endian@g;
|
|
||||||
s@!!STAGE!!@$STAGE@g;
|
s@!!STAGE!!@$STAGE@g;
|
||||||
s@!!MAKEDEPEND!!@$makedepend@g;
|
s@!!MAKEDEPEND!!@$makedepend@g;
|
||||||
s@!!CFLAGS_MAKEDEP!!@$cflags_makedep@g;
|
s@!!CFLAGS_MAKEDEP!!@$cflags_makedep@g;
|
||||||
s@!!SORT!!@$sort@g;
|
s@!!SORT!!@$sort@g;
|
||||||
s@!!CONFIG_CACHE_COMPILER!!@config.cache.compiler@g;
|
s@!!CONFIG_CACHE_COMPILER!!@config.cache.compiler@g;
|
||||||
s@!!CONFIG_CACHE_LINKER!!@config.cache.linker@g;
|
s@!!CONFIG_CACHE_LINKER!!@config.cache.linker@g;
|
||||||
s@!!CONFIG_CACHE_ENDIAN!!@config.cache.endian@g;
|
|
||||||
s@!!CONFIG_CACHE_SOURCE!!@config.cache.source@g;
|
s@!!CONFIG_CACHE_SOURCE!!@config.cache.source@g;
|
||||||
s@!!CONFIG_CACHE_VERSION!!@config.cache.version@g;
|
s@!!CONFIG_CACHE_VERSION!!@config.cache.version@g;
|
||||||
s@!!CONFIG_CACHE_SOURCE_LIST!!@config.cache.source.list@g;
|
s@!!CONFIG_CACHE_SOURCE_LIST!!@config.cache.source.list@g;
|
||||||
@@ -3469,8 +3504,7 @@ showhelp() {
|
|||||||
echo " --os=OS the OS we are compiling for [DETECT]"
|
echo " --os=OS the OS we are compiling for [DETECT]"
|
||||||
echo " DETECT/UNIX/OSX/FREEBSD/DRAGONFLY/OPENBSD/"
|
echo " DETECT/UNIX/OSX/FREEBSD/DRAGONFLY/OPENBSD/"
|
||||||
echo " NETBSD/MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/"
|
echo " NETBSD/MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/"
|
||||||
echo " MINGW/OS2/DOS/WINCE/PSP/HAIKU"
|
echo " MINGW/OS2/DOS/HAIKU"
|
||||||
echo " --endian=ENDIAN set the endian of the HOST (AUTO/LE/BE)"
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Paths:"
|
echo "Paths:"
|
||||||
echo " --prefix-dir=dir specifies the prefix for all installed"
|
echo " --prefix-dir=dir specifies the prefix for all installed"
|
||||||
@@ -3566,7 +3600,6 @@ showhelp() {
|
|||||||
echo " --static-icu try to link statically (libsicu instead of"
|
echo " --static-icu try to link statically (libsicu instead of"
|
||||||
echo " libicu; can fail as the new name is guessed)"
|
echo " libicu; can fail as the new name is guessed)"
|
||||||
echo " --with-iconv[=iconv-path] enables iconv support"
|
echo " --with-iconv[=iconv-path] enables iconv support"
|
||||||
echo " --with-psp-config[=psp-config] enables psp-config support (PSP ONLY)"
|
|
||||||
echo " --disable-builtin-depend disable use of builtin deps finder"
|
echo " --disable-builtin-depend disable use of builtin deps finder"
|
||||||
echo " --with-makedepend[=makedepend] enables makedepend support"
|
echo " --with-makedepend[=makedepend] enables makedepend support"
|
||||||
echo " --with-ccache enables ccache support"
|
echo " --with-ccache enables ccache support"
|
||||||
@@ -3587,6 +3620,8 @@ showhelp() {
|
|||||||
echo " CFLAGS_BUILD C compiler flags for build time tool generation"
|
echo " CFLAGS_BUILD C compiler flags for build time tool generation"
|
||||||
echo " CXXFLAGS_BUILD C++ compiler flags for build time tool generation"
|
echo " CXXFLAGS_BUILD C++ compiler flags for build time tool generation"
|
||||||
echo " LDFLAGS_BUILD linker flags for build time tool generation"
|
echo " LDFLAGS_BUILD linker flags for build time tool generation"
|
||||||
|
echo " PKG_CONFIG_PATH additional library search paths (see \"man pkg-config\")"
|
||||||
|
echo " PKG_CONFIG_LIBDIR replace the default library search path (see \"man pkg-config\")"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Use these variables to override the choices made by 'configure' or to help"
|
echo "Use these variables to override the choices made by 'configure' or to help"
|
||||||
echo "it to find libraries and programs with nonstandard names/locations."
|
echo "it to find libraries and programs with nonstandard names/locations."
|
||||||
|
5
configure
vendored
5
configure
vendored
@@ -75,13 +75,12 @@ save_params
|
|||||||
make_cflags_and_ldflags
|
make_cflags_and_ldflags
|
||||||
|
|
||||||
EXE=""
|
EXE=""
|
||||||
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "DOS" ] || [ "$os" = "WINCE" ]; then
|
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "DOS" ]; then
|
||||||
EXE=".exe"
|
EXE=".exe"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TTD="openttd$EXE"
|
TTD="openttd$EXE"
|
||||||
STRGEN="strgen$EXE"
|
STRGEN="strgen$EXE"
|
||||||
ENDIAN_CHECK="endian_check$EXE"
|
|
||||||
DEPEND="depend$EXE"
|
DEPEND="depend$EXE"
|
||||||
SETTINGSGEN="settings_gen$EXE"
|
SETTINGSGEN="settings_gen$EXE"
|
||||||
|
|
||||||
@@ -114,7 +113,6 @@ AWKCOMMAND='
|
|||||||
if ($0 == "PNG" && "'$png_config'" == "") { next; }
|
if ($0 == "PNG" && "'$png_config'" == "") { next; }
|
||||||
if ($0 == "OSX" && "'$os'" != "OSX") { next; }
|
if ($0 == "OSX" && "'$os'" != "OSX") { next; }
|
||||||
if ($0 == "OS2" && "'$os'" != "OS2") { next; }
|
if ($0 == "OS2" && "'$os'" != "OS2") { next; }
|
||||||
if ($0 == "PSP" && "'$os'" != "PSP") { next; }
|
|
||||||
if ($0 == "DEDICATED" && "'$enable_dedicated'" != "1") { next; }
|
if ($0 == "DEDICATED" && "'$enable_dedicated'" != "1") { next; }
|
||||||
if ($0 == "AI" && "'$enable_ai'" == "0") { next; }
|
if ($0 == "AI" && "'$enable_ai'" == "0") { next; }
|
||||||
if ($0 == "COCOA" && "'$with_cocoa'" == "0") { next; }
|
if ($0 == "COCOA" && "'$with_cocoa'" == "0") { next; }
|
||||||
@@ -124,7 +122,6 @@ AWKCOMMAND='
|
|||||||
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
|
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
|
||||||
"'$os'" != "CYGWIN" && "'$os'" != "MSVC") { next; }
|
"'$os'" != "CYGWIN" && "'$os'" != "MSVC") { next; }
|
||||||
if ($0 == "MORPHOS" && "'$os'" != "MORPHOS") { next; }
|
if ($0 == "MORPHOS" && "'$os'" != "MORPHOS") { next; }
|
||||||
if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
|
|
||||||
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
||||||
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }
|
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }
|
||||||
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
|
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
|
||||||
|
@@ -1,27 +1,24 @@
|
|||||||
Compiling OpenTTD using Microsoft Visual C++
|
Compiling OpenTTD using Microsoft Visual C++
|
||||||
Last updated: 2010-01-03
|
Last updated: 2018-03-21
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
PLEASE READ THE ENTIRE DOCUMENT BEFORE DOING ANY ACTUAL CHANGES!!
|
PLEASE READ THE ENTIRE DOCUMENT BEFORE DOING ANY ACTUAL CHANGES!!
|
||||||
|
|
||||||
|
|
||||||
SUPPORTED MSVC COMPILERS
|
SUPPORTED MSVC COMPILERS
|
||||||
------------------------
|
------------------------
|
||||||
OpenTTD includes projects for MSVC 2005.NET and MSVC 2008.NET. Both will
|
OpenTTD includes projects for Microsoft Visual Studio 2005 and later.
|
||||||
compile out of the box, providing you have the required libraries/headers;
|
This is the earliest compiler supported, Visual C++ 2003, Visual C++ 6.0,
|
||||||
which ones, see below. There is no support for VS6 or MSVC 2002, or
|
or earlier, will not compile OpenTTD.
|
||||||
MSVC 2003.NET. You are therefore strongly encouraged to either upgrade to
|
You can download the free Visual Studio Community Edition from Microsoft.
|
||||||
MSVC 2008 Express (free) or use GCC.
|
|
||||||
|
|
||||||
|
|
||||||
1) REQUIRED FILES
|
1) REQUIRED FILES
|
||||||
-----------------
|
-----------------
|
||||||
You might already have some of the files already installed, so check before
|
You might already have some of the files already installed, so check before
|
||||||
downloading; mostly because the DirectX SDK and Platform SDK are about
|
downloading; mostly because the Platform SDK is about 500MB.
|
||||||
500MB each.
|
|
||||||
Download the following files:
|
Download the following files:
|
||||||
|
|
||||||
* openttd-useful.zip (http://binaries.openttd.org/extra/openttd-useful/)
|
* openttd-useful.zip (http://binaries.openttd.org/extra/openttd-useful/)
|
||||||
* DirectX 8.1 SDK (http://neuron.tuke.sk/~mizanin/eng/Dx81sdk-include-lib.rar) (or alternatively the latest DirectX SDK from Microsoft)
|
|
||||||
* MS Windows Platform SDK (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en)
|
* MS Windows Platform SDK (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en)
|
||||||
* afxres.h (http://www-d0.fnal.gov/d0dist/dist/packages/d0ve/devel/windows/AFXRES.H)
|
* afxres.h (http://www-d0.fnal.gov/d0dist/dist/packages/d0ve/devel/windows/AFXRES.H)
|
||||||
|
|
||||||
@@ -76,17 +73,21 @@ list, above all others, otherwise compilation will most likely fail!!
|
|||||||
|
|
||||||
3) TTD GRAPHICS FILES
|
3) TTD GRAPHICS FILES
|
||||||
---------------------
|
---------------------
|
||||||
See section 4.1 of readme.txt for the required 3rdparty files and how to install them.
|
See section 4.1 of README.md for the required 3rdparty files and how to install them.
|
||||||
|
|
||||||
|
|
||||||
4) COMPILING
|
4) COMPILING
|
||||||
------------
|
------------
|
||||||
Open trunk/openttd_vs[89]0.sln
|
Open the appropriate "sln" (Solution) file for your version of Visual Studio:
|
||||||
|
- VS 2005: projects/openttd_vs80.sln
|
||||||
|
- VS 2008: projects/openttd_vs90.sln
|
||||||
|
- VS 2010: projects/openttd_vs100.sln
|
||||||
|
- VS 2015: projects/openttd_vs140.sln
|
||||||
Set the build mode to 'Release' in
|
Set the build mode to 'Release' in
|
||||||
Build > Configuration manager > Active solution configuration > select "Release"
|
Build > Configuration manager > Active solution configuration > select "Release"
|
||||||
Compile...
|
Compile...
|
||||||
|
|
||||||
If everything works well the binary should be in trunk/objs/Win[32|64]/Release/openttd.exe
|
If everything works well the binary should be in objs/Win[32|64]/Release/openttd.exe
|
||||||
|
|
||||||
|
|
||||||
5) EDITING, CHANGING SOURCE CODE
|
5) EDITING, CHANGING SOURCE CODE
|
||||||
|
@@ -45,12 +45,15 @@ description.en_US = howdie
|
|||||||
; The file names are case sensitive.
|
; The file names are case sensitive.
|
||||||
; You can have empty file names; in that case no song will be loaded
|
; You can have empty file names; in that case no song will be loaded
|
||||||
; for that 'entry'.
|
; for that 'entry'.
|
||||||
|
; If you want to load music from the MPS DOS music driver "cat" format,
|
||||||
|
; specify just the name of the .cat file the song is located in, then
|
||||||
|
; fill out the "catindex" section.
|
||||||
[files]
|
[files]
|
||||||
; The theme song for OpenTTD
|
; The theme song for OpenTTD
|
||||||
theme = THEME_SONG.GM
|
theme = THEME_SONG.GM
|
||||||
; The songs in the 'old style' category
|
; The songs in the 'old style' category
|
||||||
old_0 =
|
old_0 = GM.CAT
|
||||||
old_1 =
|
old_1 = GM.CAT
|
||||||
old_2 =
|
old_2 =
|
||||||
old_3 =
|
old_3 =
|
||||||
old_4 =
|
old_4 =
|
||||||
@@ -86,9 +89,17 @@ ezy_9 =
|
|||||||
; Note that the list of files is case sensitive. Each file listed in the
|
; Note that the list of files is case sensitive. Each file listed in the
|
||||||
; files section must be listed here with it's song name, otherwise you
|
; files section must be listed here with it's song name, otherwise you
|
||||||
; will get a lot of warnings when starting OpenTTD.
|
; will get a lot of warnings when starting OpenTTD.
|
||||||
|
; You don't need to fill this out for "cat" format music, the song names
|
||||||
|
; are loaded directly from the file in that case.
|
||||||
[names]
|
[names]
|
||||||
THEME_SONG.GM = Tycoon DELUXE Theme
|
THEME_SONG.GM = Tycoon DELUXE Theme
|
||||||
|
|
||||||
|
; If you are loading music from the DOS version "cat" format, specify
|
||||||
|
; which index into the file the song has.
|
||||||
|
[catindex]
|
||||||
|
old_0 = 1
|
||||||
|
old_1 = 3
|
||||||
|
|
||||||
; The md5s section lists the MD5 checksum for the files that replace them.
|
; The md5s section lists the MD5 checksum for the files that replace them.
|
||||||
; Note that the list of files is case sensitive. Each file listed in the
|
; Note that the list of files is case sensitive. Each file listed in the
|
||||||
; files section must be listed here with it's MD5 checksum, otherwise you
|
; files section must be listed here with it's MD5 checksum, otherwise you
|
||||||
@@ -96,6 +107,13 @@ THEME_SONG.GM = Tycoon DELUXE Theme
|
|||||||
[md5s]
|
[md5s]
|
||||||
THEME_SONG.GM = 45cfec1b9d8c7a0ad45e755833cbf221
|
THEME_SONG.GM = 45cfec1b9d8c7a0ad45e755833cbf221
|
||||||
|
|
||||||
|
; If a song needs to have parts of the start or end cut off to avoid long
|
||||||
|
; silences, you can specify MIDI tick codes for start:end of the actual
|
||||||
|
; music part for each file here.
|
||||||
|
; Not all music drivers might support this feature.
|
||||||
|
[timingtrim]
|
||||||
|
THEME_SONG.GM = 768:53760
|
||||||
|
|
||||||
; The origin section provides the possibility to put and extra line into
|
; The origin section provides the possibility to put and extra line into
|
||||||
; the warning that a file is missing/corrupt. This can be used to tell
|
; the warning that a file is missing/corrupt. This can be used to tell
|
||||||
; them where to find it. It works on the filename specified in the
|
; them where to find it. It works on the filename specified in the
|
||||||
|
110
findversion.sh
110
findversion.sh
@@ -14,42 +14,31 @@ if [ "$#" != "0" ]; then
|
|||||||
Usage: ./findversion.sh
|
Usage: ./findversion.sh
|
||||||
Finds the current revision and if the code is modified.
|
Finds the current revision and if the code is modified.
|
||||||
|
|
||||||
Output: <REV>\t<REV_NR>\t<MODIFIED>\t<CLEAN_REV>
|
Output: <VERSION>\t<ISODATE>\t<MODIFIED>\t<HASH>
|
||||||
REV
|
VERSION
|
||||||
a string describing what version of the code the current checkout is
|
a string describing what version of the code the current checkout is
|
||||||
based on. The exact format of this string depends on the version
|
based on.
|
||||||
control system in use, but it tries to identify the revision used as
|
This also includes the commit date, an indication of whether the checkout
|
||||||
close as possible (using the svn revision number or hg/git hash).
|
was modified and which branch was checked out. This value is not
|
||||||
This also includes an indication of whether the checkout was
|
|
||||||
modified and which branch was checked out. This value is not
|
|
||||||
guaranteed to be sortable, but is mainly meant for identifying the
|
guaranteed to be sortable, but is mainly meant for identifying the
|
||||||
revision and user display.
|
revision and user display.
|
||||||
|
|
||||||
If no revision identifier could be found, this is left empty.
|
If no revision identifier could be found, this is left empty.
|
||||||
REV_NR
|
ISODATE
|
||||||
the revision number of the svn revision this checkout is based on.
|
the commit date of the revision this checkout is based on.
|
||||||
This can be used to determine which functionality is present in this
|
The commit date may differ from the author date.
|
||||||
checkout. For trunk svn checkouts and hg/git branches based upon it,
|
This can be used to decide upon the age of the source.
|
||||||
this number should be accurate. For svn branch checkouts, this
|
|
||||||
number is mostly meaningless, at least when comparing with the
|
|
||||||
REV_NR from other branches or trunk.
|
|
||||||
|
|
||||||
This number should be sortable. Within a given branch or trunk, a
|
If no timestamp could be found, this is left empty.
|
||||||
higher number means a newer version. However, when using git or hg,
|
|
||||||
this number will not increase on new commits.
|
|
||||||
|
|
||||||
If no revision number could be found, this is left empty.
|
|
||||||
MODIFIED
|
MODIFIED
|
||||||
Whether (the src directory of) this checkout is modified or not. A
|
Whether (the src directory of) this checkout is modified or not. A
|
||||||
value of 0 means not modified, a value of 2 means it was modified.
|
value of 0 means not modified, a value of 2 means it was modified.
|
||||||
Modification is determined in relation to the commit identified by
|
|
||||||
REV, so not in relation to the svn revision identified by REV_NR.
|
|
||||||
|
|
||||||
A value of 1 means that the modified status is unknown, because this
|
A value of 1 means that the modified status is unknown, because this
|
||||||
is not an svn/git/hg checkout for example.
|
is not an git checkout for example.
|
||||||
|
|
||||||
CLEAN_REV
|
HASH
|
||||||
the same as REV but without branch name
|
the git revision hash
|
||||||
|
|
||||||
By setting the AWK environment variable, a caller can determine which
|
By setting the AWK environment variable, a caller can determine which
|
||||||
version of "awk" is used. If nothing is set, this script defaults to
|
version of "awk" is used. If nothing is set, this script defaults to
|
||||||
@@ -70,21 +59,7 @@ ROOT_DIR=`pwd`
|
|||||||
# Determine if we are using a modified version
|
# Determine if we are using a modified version
|
||||||
# Assume the dir is not modified
|
# Assume the dir is not modified
|
||||||
MODIFIED="0"
|
MODIFIED="0"
|
||||||
if [ -d "$ROOT_DIR/.svn" ] || [ -d "$ROOT_DIR/../.svn" ]; then
|
if [ -d "$ROOT_DIR/.git" ]; then
|
||||||
# We are an svn checkout
|
|
||||||
if [ -n "`svnversion | grep 'M'`" ]; then
|
|
||||||
MODIFIED="2"
|
|
||||||
fi
|
|
||||||
# Find the revision like: rXXXXM-branch
|
|
||||||
BRANCH=`LC_ALL=C svn info | "$AWK" '/^URL:.*branches/ { split($2, a, "/"); for(i in a) if (a[i]=="branches") { print a[i+1]; break } }'`
|
|
||||||
TAG=`LC_ALL=C svn info | "$AWK" '/^URL:.*tags/ { split($2, a, "/"); for(i in a) if (a[i]=="tags") { print a[i+1]; break } }'`
|
|
||||||
REV_NR=`LC_ALL=C svn info | "$AWK" '/^Last Changed Rev:/ { print $4 }'`
|
|
||||||
if [ -n "$TAG" ]; then
|
|
||||||
REV=$TAG
|
|
||||||
else
|
|
||||||
REV="r$REV_NR"
|
|
||||||
fi
|
|
||||||
elif [ -d "$ROOT_DIR/.git" ]; then
|
|
||||||
# We are a git checkout
|
# We are a git checkout
|
||||||
# Refresh the index to make sure file stat info is in sync, then look for modifications
|
# Refresh the index to make sure file stat info is in sync, then look for modifications
|
||||||
git update-index --refresh >/dev/null
|
git update-index --refresh >/dev/null
|
||||||
@@ -92,35 +67,21 @@ elif [ -d "$ROOT_DIR/.git" ]; then
|
|||||||
MODIFIED="2"
|
MODIFIED="2"
|
||||||
fi
|
fi
|
||||||
HASH=`LC_ALL=C git rev-parse --verify HEAD 2>/dev/null`
|
HASH=`LC_ALL=C git rev-parse --verify HEAD 2>/dev/null`
|
||||||
REV="g`echo $HASH | cut -c1-8`"
|
SHORTHASH=`echo ${HASH} | cut -c1-8`
|
||||||
BRANCH="`git symbolic-ref -q HEAD 2>/dev/null | sed 's@.*/@@;s@^master$@@'`"
|
ISODATE=`LC_ALL=C git show -s --pretty='format:%ci' HEAD | "$AWK" '{ gsub("-", "", $1); print $1 }'`
|
||||||
REV_NR=`LC_ALL=C git log --pretty=format:%s --grep="^(svn r[0-9]*)" -1 | sed "s@.*(svn r\([0-9]*\)).*@\1@"`
|
BRANCH="`git symbolic-ref -q HEAD 2>/dev/null | sed 's@.*/@@'`"
|
||||||
if [ -z "$REV_NR" ]; then
|
|
||||||
# No rev? Maybe it is a custom git-svn clone
|
|
||||||
REV_NR=`LC_ALL=C git log --pretty=format:%b --grep="git-svn-id:.*@[0-9]*" -1 | sed "s@.*\@\([0-9]*\).*@\1@"`
|
|
||||||
fi
|
|
||||||
TAG="`git describe --tags 2>/dev/null`"
|
TAG="`git describe --tags 2>/dev/null`"
|
||||||
|
|
||||||
if [ -n "$TAG" ]; then
|
if [ -n "$TAG" ]; then
|
||||||
BRANCH=""
|
VERSION="${TAG}"
|
||||||
REV="$TAG"
|
elif [ "${BRANCH}" = "master" ]; then
|
||||||
|
VERSION="${ISODATE}-g${SHORTHASH}"
|
||||||
|
else
|
||||||
|
VERSION="${ISODATE}-${BRANCH}-g${SHORTHASH}"
|
||||||
fi
|
fi
|
||||||
elif [ -d "$ROOT_DIR/.hg" ]; then
|
|
||||||
# We are a hg checkout
|
if [ "$MODIFIED" -eq "2" ]; then
|
||||||
if [ -n "`HGPLAIN= hg status | grep -v '^?'`" ]; then
|
VERSION="${VERSION}M"
|
||||||
MODIFIED="2"
|
|
||||||
fi
|
|
||||||
HASH=`LC_ALL=C HGPLAIN= hg id -i | cut -c1-12`
|
|
||||||
REV="h`echo $HASH | cut -c1-8`"
|
|
||||||
BRANCH="`HGPLAIN= hg branch | sed 's@^default$@@'`"
|
|
||||||
TAG="`HGPLAIN= hg id -t | grep -v 'tip$'`"
|
|
||||||
if [ -n "$TAG" ]; then
|
|
||||||
BRANCH=""
|
|
||||||
REV="$TAG"
|
|
||||||
fi
|
|
||||||
REV_NR=`LC_ALL=C HGPLAIN= hg log -f -k "(svn r" -l 1 --template "{desc|firstline}\n" | grep "^(svn r[0-9]*)" | sed "s@.*(svn r\([0-9]*\)).*@\1@"`
|
|
||||||
if [ -z "$REV_NR" ]; then
|
|
||||||
# No rev? Maybe it is a custom hgsubversion clone
|
|
||||||
REV_NR=`LC_ALL=C HGPLAIN= hg parent --template="{svnrev}"`
|
|
||||||
fi
|
fi
|
||||||
elif [ -f "$ROOT_DIR/.ottdrev" ]; then
|
elif [ -f "$ROOT_DIR/.ottdrev" ]; then
|
||||||
# We are an exported source bundle
|
# We are an exported source bundle
|
||||||
@@ -129,19 +90,12 @@ elif [ -f "$ROOT_DIR/.ottdrev" ]; then
|
|||||||
else
|
else
|
||||||
# We don't know
|
# We don't know
|
||||||
MODIFIED="1"
|
MODIFIED="1"
|
||||||
|
HASH=""
|
||||||
|
SHORTHASH=""
|
||||||
BRANCH=""
|
BRANCH=""
|
||||||
REV=""
|
ISODATE=""
|
||||||
REV_NR=""
|
TAG=""
|
||||||
|
VERSION=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$MODIFIED" -eq "2" ]; then
|
echo "$VERSION $ISODATE $MODIFIED $HASH"
|
||||||
REV="${REV}M"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CLEAN_REV=${REV}
|
|
||||||
|
|
||||||
if [ -n "$BRANCH" ]; then
|
|
||||||
REV="${REV}-$BRANCH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$REV $REV_NR $MODIFIED $CLEAN_REV"
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
OpenTTD's known bugs
|
OpenTTD's known bugs
|
||||||
Last updated: 2015-02-24
|
Last updated: 2016-07-01
|
||||||
Release version: 1.5.0-beta2
|
Release version: 1.6.1
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ that are the same as these. If you do, do not act surprised, because
|
|||||||
we WILL flame you!!
|
we WILL flame you!!
|
||||||
|
|
||||||
The current list of known bugs that we intend to fix can be found in our
|
The current list of known bugs that we intend to fix can be found in our
|
||||||
bug tracking system at: http://bugs.openttd.org
|
bug tracking system at: https://github.com/OpenTTD/OpenTTD/issues
|
||||||
Also check the closed bugs when searching for your bug in this system as
|
Also check the closed bugs when searching for your bug in this system as
|
||||||
we might have fixed the bug in the mean time.
|
we might have fixed the bug in the mean time.
|
||||||
|
|
||||||
@@ -453,3 +453,12 @@ Some houses and industries are not affected by transparency [FS#5817]:
|
|||||||
This is a bug of the original graphics, and unfortunately cannot be
|
This is a bug of the original graphics, and unfortunately cannot be
|
||||||
fixed with OpenGFX for the sake of maintaining compatibility with the
|
fixed with OpenGFX for the sake of maintaining compatibility with the
|
||||||
original graphics.
|
original graphics.
|
||||||
|
|
||||||
|
Involuntary cargo exchange with cargodist via neutral station [FS#6114]:
|
||||||
|
When two players serve a neutral station at an industry, a cross-company
|
||||||
|
chain for cargo flow can and will be established which can only be
|
||||||
|
interrupted if one of the players stops competing for the ressources of
|
||||||
|
that industry. There is an easy fix for this: If you are loading at the
|
||||||
|
shared station make the order "no unload" and if you're unloading make
|
||||||
|
it "no load". Cargodist will then figure out that it should not create
|
||||||
|
such a route.
|
||||||
|
@@ -11,21 +11,21 @@ palette = DOS
|
|||||||
!! description STR_BASEGRAPHICS_DOS_DESCRIPTION
|
!! description STR_BASEGRAPHICS_DOS_DESCRIPTION
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1.GRF
|
base = TRG1.GRF
|
||||||
logos = TRGI.GRF
|
logos = TRGI.GRF
|
||||||
arctic = TRGC.GRF
|
arctic = TRGC.GRF
|
||||||
tropical = TRGH.GRF
|
tropical = TRGH.GRF
|
||||||
toyland = TRGT.GRF
|
toyland = TRGT.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
||||||
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
||||||
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
||||||
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
||||||
TRGT.GRF = e30e8a398ae86c03dc534a8ac7dfb3b6
|
TRGT.GRF = e30e8a398ae86c03dc534a8ac7dfb3b6
|
||||||
OPENTTD.GRF =
|
ORIG_EXTRA.GRF =
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
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.
|
@@ -11,21 +11,21 @@ palette = DOS
|
|||||||
!! description STR_BASEGRAPHICS_DOS_DE_DESCRIPTION
|
!! description STR_BASEGRAPHICS_DOS_DE_DESCRIPTION
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1.GRF
|
base = TRG1.GRF
|
||||||
logos = TRGI.GRF
|
logos = TRGI.GRF
|
||||||
arctic = TRGC.GRF
|
arctic = TRGC.GRF
|
||||||
tropical = TRGH.GRF
|
tropical = TRGH.GRF
|
||||||
toyland = TRGT.GRF
|
toyland = TRGT.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
||||||
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
||||||
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
||||||
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
||||||
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
|
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
|
||||||
OPENTTD.GRF =
|
ORIG_EXTRA.GRF =
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
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.
|
@@ -11,21 +11,21 @@ palette = Windows
|
|||||||
!! description STR_BASEGRAPHICS_WIN_DESCRIPTION
|
!! description STR_BASEGRAPHICS_WIN_DESCRIPTION
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
base = TRG1R.GRF
|
base = TRG1R.GRF
|
||||||
logos = TRGIR.GRF
|
logos = TRGIR.GRF
|
||||||
arctic = TRGCR.GRF
|
arctic = TRGCR.GRF
|
||||||
tropical = TRGHR.GRF
|
tropical = TRGHR.GRF
|
||||||
toyland = TRGTR.GRF
|
toyland = TRGTR.GRF
|
||||||
extra = OPENTTD.GRF
|
extra = ORIG_EXTRA.GRF
|
||||||
|
|
||||||
[md5s]
|
[md5s]
|
||||||
TRG1R.GRF = b04ce593d8c5016e07473a743d7d3358
|
TRG1R.GRF = b04ce593d8c5016e07473a743d7d3358
|
||||||
TRGIR.GRF = 0c2484ff6be49fc63a83be6ab5c38f32
|
TRGIR.GRF = 0c2484ff6be49fc63a83be6ab5c38f32
|
||||||
TRGCR.GRF = 3668f410c761a050b5e7095a2b14879b
|
TRGCR.GRF = 3668f410c761a050b5e7095a2b14879b
|
||||||
TRGHR.GRF = 06bf2b7a31766f048baac2ebe43457b1
|
TRGHR.GRF = 06bf2b7a31766f048baac2ebe43457b1
|
||||||
TRGTR.GRF = de53650517fe661ceaa3138c6edb0eb8
|
TRGTR.GRF = de53650517fe661ceaa3138c6edb0eb8
|
||||||
OPENTTD.GRF =
|
ORIG_EXTRA.GRF =
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
OPENTTD.GRF = This file was part of your OpenTTD installation.
|
ORIG_EXTRA.GRF = This file was part of your OpenTTD installation.
|
||||||
|
@@ -90,5 +90,17 @@ GM_TT19.GM = Funk Central
|
|||||||
GM_TT20.GM = Jammit
|
GM_TT20.GM = Jammit
|
||||||
GM_TT21.GM = Movin' On
|
GM_TT21.GM = Movin' On
|
||||||
|
|
||||||
|
; MIDI timecodes where the playback should attemp to start and stop short.
|
||||||
|
; This is to allow fixing undesired silences in original MIDI files.
|
||||||
|
; However not all music drivers may support this.
|
||||||
|
[timingtrim]
|
||||||
|
; Theme has two beats silence at the beginning which prevents clean looping.
|
||||||
|
GM_TT00.GM = 768:53760
|
||||||
|
; Can't Get There From Here from the Windows version has a long silence at the end,
|
||||||
|
; followed by a solo repeat. This isn't in the original DOS version music and is likely
|
||||||
|
; unintentional from the people who converted the music from the DOS version.
|
||||||
|
; Actual song ends after measure 152.
|
||||||
|
GM_TT10.GM = 0:235008
|
||||||
|
|
||||||
[origin]
|
[origin]
|
||||||
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
||||||
|
@@ -23,3 +23,16 @@
|
|||||||
-1 sprites/airports.png 8bpp 82 88 64 31 -31 0 normal
|
-1 sprites/airports.png 8bpp 82 88 64 31 -31 0 normal
|
||||||
-1 sprites/airports.png 8bpp 162 88 64 31 -31 0 normal
|
-1 sprites/airports.png 8bpp 162 88 64 31 -31 0 normal
|
||||||
-1 sprites/airports.png 8bpp 242 88 64 31 -31 0 normal
|
-1 sprites/airports.png 8bpp 242 88 64 31 -31 0 normal
|
||||||
|
-1 * 0 0C "Climate specific sprites by PaulC"
|
||||||
|
-1 * 0 07 83 01 \7! 01 03
|
||||||
|
-1 * 0 05 90 02 0D
|
||||||
|
-1 sprites/airports.png 8bpp 320 88 64 31 -31 0 normal
|
||||||
|
-1 sprites/airports.png 8bpp 400 88 64 31 -31 0 normal
|
||||||
|
-1 * 0 07 83 01 \7! 02 03
|
||||||
|
-1 * 0 05 90 02 0D
|
||||||
|
-1 sprites/airports.png 8bpp 480 88 64 31 -31 0 normal
|
||||||
|
-1 sprites/airports.png 8bpp 560 88 64 31 -31 0 normal
|
||||||
|
-1 * 0 07 83 01 \7! 03 03
|
||||||
|
-1 * 0 05 90 02 0D
|
||||||
|
-1 sprites/airports.png 8bpp 640 88 64 31 -31 0 normal
|
||||||
|
-1 sprites/airports.png 8bpp 720 88 64 31 -31 0 normal
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 9.3 KiB |
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
|
@@ -6,7 +6,7 @@
|
|||||||
// 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.
|
// 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/>.
|
// 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 "Canal graphics by George / PaulC"
|
-1 * 0 0C "Canal graphics by George"
|
||||||
-1 * 3 05 08 41
|
-1 * 3 05 08 41
|
||||||
// Canal slopes
|
// Canal slopes
|
||||||
-1 sprites/canal_locks.png 8bpp 66 8 64 23 -31 0 normal
|
-1 sprites/canal_locks.png 8bpp 66 8 64 23 -31 0 normal
|
||||||
@@ -77,95 +77,3 @@
|
|||||||
-1 sprites/canals.png 8bpp 446 10 24 16 -11 -6 normal
|
-1 sprites/canals.png 8bpp 446 10 24 16 -11 -6 normal
|
||||||
// Canal icon
|
// Canal icon
|
||||||
-1 sprites/canal_locks.png 8bpp 50 232 20 20 0 0 normal
|
-1 sprites/canal_locks.png 8bpp 50 232 20 20 0 0 normal
|
||||||
|
|
||||||
// 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
|
|
||||||
|
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
|
@@ -8,245 +8,7 @@
|
|||||||
//
|
//
|
||||||
-1 * 0 0C "Font characters by PaulC, Bilbo and Jasper Vries"
|
-1 * 0 0C "Font characters by PaulC, Bilbo and Jasper Vries"
|
||||||
|
|
||||||
// Replace original characters
|
// Note: Characters in range U+0020..U+00FF may only be defined in chars_orig_extra.nfo.
|
||||||
|
|
||||||
-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
|
|
||||||
|
|
||||||
// New characters, all fonts
|
// New characters, all fonts
|
||||||
|
|
||||||
|
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
|
@@ -60,10 +60,11 @@
|
|||||||
00
|
00
|
||||||
|
|
||||||
// GRF ID, must start with FF so it gets ignored
|
// GRF ID, must start with FF so it gets ignored
|
||||||
-1 * 0 08 08 FF "OTT"
|
//@@WARNING DISABLE 101
|
||||||
|
-1 * 0 08 08 FF FF FF FE
|
||||||
|
|
||||||
// Name of the GRF
|
// Name of the GRF
|
||||||
"OpenTTD's base graphics " 00
|
"OpenTTD's default and fallback extra graphics" 00
|
||||||
|
|
||||||
// Description of the GRF.
|
// Description of the GRF.
|
||||||
"License: GNU General Public License version 2" 0D
|
"License: GNU General Public License version 2" 0D
|
||||||
@@ -86,7 +87,6 @@
|
|||||||
#include "canals.nfo"
|
#include "canals.nfo"
|
||||||
#include "oneway.nfo"
|
#include "oneway.nfo"
|
||||||
#include "tramtracks.nfo"
|
#include "tramtracks.nfo"
|
||||||
#include "shore.nfo"
|
|
||||||
#include "sloped_tracks.nfo"
|
#include "sloped_tracks.nfo"
|
||||||
#include "airports.nfo"
|
#include "airports.nfo"
|
||||||
#include "roadstops.nfo"
|
#include "roadstops.nfo"
|
||||||
@@ -97,11 +97,5 @@
|
|||||||
#include "airport_preview.nfo"
|
#include "airport_preview.nfo"
|
||||||
#include "chars.nfo"
|
#include "chars.nfo"
|
||||||
#include "mono.nfo"
|
#include "mono.nfo"
|
||||||
#include "fix_graphics.nfo"
|
|
||||||
#include "rivers/rapids.nfo"
|
|
||||||
#include "rivers/temperate.nfo"
|
|
||||||
#include "rivers/arctic.nfo"
|
|
||||||
#include "rivers/tropic.nfo"
|
|
||||||
#include "rivers/toyland.nfo"
|
|
||||||
#include "tunnel_portals.nfo"
|
#include "tunnel_portals.nfo"
|
||||||
#include "palette.nfo"
|
#include "palette.nfo"
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 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"
|
@@ -1,3 +1,63 @@
|
|||||||
|
openttd (1.7.2-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.2
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Sun, 24 Dec 2017 14:00:00 +0100
|
||||||
|
|
||||||
|
openttd (1.7.2~RC1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.2-RC1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Mon, 11 Dec 2017 21:30:00 +0100
|
||||||
|
|
||||||
|
openttd (1.7.1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Tue, 13 Jun 2017 21:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.7.1~RC1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.1-RC1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Thu, 04 Mai 2017 21:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.7.0-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.0
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Sat, 01 Apr 2017 19:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.7.0~RC1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.7.0-RC1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Sat, 11 Mar 2017 22:30:00 +0100
|
||||||
|
|
||||||
|
openttd (1.6.1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.6.1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Fri, 01 Jul 2016 00:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.6.1~RC1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.6.1-RC1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Wed, 01 Jun 2016 21:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.6.0-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.6.0
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Fri, 01 Apr 2016 21:00:00 +0200
|
||||||
|
|
||||||
|
openttd (1.6.0~RC1-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release 1.6.0-RC1
|
||||||
|
|
||||||
|
-- OpenTTD <info@openttd.org> Tue, 01 Mar 2016 21:00:00 +0100
|
||||||
|
|
||||||
openttd (1.5.3-0) unstable; urgency=low
|
openttd (1.5.3-0) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release 1.5.3
|
* New upstream release 1.5.3
|
||||||
|
@@ -5,7 +5,7 @@ Source: http://www.openttd.org
|
|||||||
|
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: © 2004-2012 Ludvig Strigeous and others.
|
Copyright: © 2004-2018 Ludvig Strigeous and others.
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License version 2.0 as
|
it under the terms of the GNU General Public License version 2.0 as
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set OPENTTD_VERSION=1.7.0
|
set OPENTTD_VERSION=1.9.0
|
||||||
set OPENSFX_VERSION=0.8.0
|
set OPENSFX_VERSION=0.8.0
|
||||||
set NOSOUND_VERSION=0.8.0
|
set NOSOUND_VERSION=0.8.0
|
||||||
set OPENGFX_VERSION=1.2.0
|
set OPENGFX_VERSION=1.2.0
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
# spec file for package openttd
|
# spec file for package openttd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2007-2012 The OpenTTD developers
|
# Copyright (c) 2007-2018 The OpenTTD developers
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: openttd
|
Name: openttd
|
||||||
Version: 1.7.beta1
|
Version: 1.9.beta1
|
||||||
Release: 0
|
Release: 0
|
||||||
%define srcver 1.7.0-beta1
|
%define srcver 1.9.0-beta1
|
||||||
Summary: An open source reimplementation of Chris Sawyer's Transport Tycoon Deluxe
|
Summary: An open source reimplementation of Chris Sawyer's Transport Tycoon Deluxe
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Amusements/Games/Strategy/Other
|
Group: Amusements/Games/Strategy/Other
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# Version numbers to update
|
# Version numbers to update
|
||||||
!define APPV_MAJOR 1
|
!define APPV_MAJOR 1
|
||||||
!define APPV_MINOR 7
|
!define APPV_MINOR 9
|
||||||
!define APPV_MAINT 0
|
!define APPV_MAINT 0
|
||||||
!define APPV_BUILD 0
|
!define APPV_BUILD 0
|
||||||
!define APPV_EXTRA "-beta1"
|
!define APPV_EXTRA "-beta1"
|
||||||
@@ -89,7 +89,7 @@ Page custom SelectCDEnter SelectCDExit ": TTD folder"
|
|||||||
!define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for more information"
|
!define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for more information"
|
||||||
!define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}"
|
!define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}"
|
||||||
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
|
||||||
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
|
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.md"
|
||||||
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
||||||
!define MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT DisableBack
|
!define MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT DisableBack
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ Section "!OpenTTD" Section1
|
|||||||
; Copy the scripts
|
; Copy the scripts
|
||||||
SetOutPath "$INSTDIR\scripts\"
|
SetOutPath "$INSTDIR\scripts\"
|
||||||
File ${PATH_ROOT}bin\scripts\*.*
|
File ${PATH_ROOT}bin\scripts\*.*
|
||||||
Push "$INSTDIR\scripts\readme.txt"
|
Push "$INSTDIR\scripts\README.md"
|
||||||
Call unix2dos
|
Call unix2dos
|
||||||
|
|
||||||
; Copy some documention files
|
; Copy some documention files
|
||||||
@@ -158,8 +158,8 @@ Section "!OpenTTD" Section1
|
|||||||
File ${PATH_ROOT}COPYING
|
File ${PATH_ROOT}COPYING
|
||||||
Push "$INSTDIR\COPYING"
|
Push "$INSTDIR\COPYING"
|
||||||
Call unix2dos
|
Call unix2dos
|
||||||
File ${PATH_ROOT}readme.txt
|
File ${PATH_ROOT}README.md
|
||||||
Push "$INSTDIR\readme.txt"
|
Push "$INSTDIR\README.md"
|
||||||
Call unix2dos
|
Call unix2dos
|
||||||
File ${PATH_ROOT}known-bugs.txt
|
File ${PATH_ROOT}known-bugs.txt
|
||||||
Push "$INSTDIR\known-bugs.txt"
|
Push "$INSTDIR\known-bugs.txt"
|
||||||
@@ -213,13 +213,13 @@ Section "!OpenTTD" Section1
|
|||||||
CreateDirectory "$SMPROGRAMS\$SHORTCUTS"
|
CreateDirectory "$SMPROGRAMS\$SHORTCUTS"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\OpenTTD.lnk" "$INSTDIR\openttd.exe"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\OpenTTD.lnk" "$INSTDIR\openttd.exe"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Readme.lnk" "$INSTDIR\Readme.txt"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Readme.lnk" "$INSTDIR\README.md"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk" "$INSTDIR\Changelog.txt"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk" "$INSTDIR\Changelog.txt"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Known-bugs.lnk" "$INSTDIR\known-bugs.txt"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Known-bugs.lnk" "$INSTDIR\known-bugs.txt"
|
||||||
CreateDirectory "$SMPROGRAMS\$SHORTCUTS\Docs"
|
CreateDirectory "$SMPROGRAMS\$SHORTCUTS\Docs"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Docs\Multiplayer.lnk" "$INSTDIR\docs\multiplayer.txt"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Docs\Multiplayer.lnk" "$INSTDIR\docs\multiplayer.txt"
|
||||||
CreateDirectory "$SMPROGRAMS\$SHORTCUTS\Scripts"
|
CreateDirectory "$SMPROGRAMS\$SHORTCUTS\Scripts"
|
||||||
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Scripts\Readme.lnk" "$INSTDIR\scripts\readme.txt"
|
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Scripts\Readme.lnk" "$INSTDIR\scripts\README.md"
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
@@ -304,6 +304,7 @@ Section /o "Copy data from Transport Tycoon Deluxe CD-ROM" Section2
|
|||||||
; Let's copy the files with size approximation
|
; Let's copy the files with size approximation
|
||||||
SetOutPath "$INSTDIR\baseset"
|
SetOutPath "$INSTDIR\baseset"
|
||||||
CopyFiles "$CDDRIVE\gm\*.gm" "$INSTDIR\baseset\" 1028
|
CopyFiles "$CDDRIVE\gm\*.gm" "$INSTDIR\baseset\" 1028
|
||||||
|
CopyFiles "$CDDRIVE\gm.cat" "$INSTDIR\baseset\gm.cat" 415
|
||||||
CopyFiles "$CDDRIVE\sample.cat" "$INSTDIR\baseset\sample.cat" 1566
|
CopyFiles "$CDDRIVE\sample.cat" "$INSTDIR\baseset\sample.cat" 1566
|
||||||
; Copy Windows files
|
; Copy Windows files
|
||||||
CopyFiles "$CDDRIVE\trg1r.grf" "$INSTDIR\baseset\trg1r.grf" 2365
|
CopyFiles "$CDDRIVE\trg1r.grf" "$INSTDIR\baseset\trg1r.grf" 2365
|
||||||
@@ -387,7 +388,7 @@ Section "Uninstall"
|
|||||||
|
|
||||||
; Clean up OpenTTD dir
|
; Clean up OpenTTD dir
|
||||||
Delete "$INSTDIR\changelog.txt"
|
Delete "$INSTDIR\changelog.txt"
|
||||||
Delete "$INSTDIR\readme.txt"
|
Delete "$INSTDIR\README.md"
|
||||||
Delete "$INSTDIR\known-bugs.txt"
|
Delete "$INSTDIR\known-bugs.txt"
|
||||||
Delete "$INSTDIR\openttd.exe"
|
Delete "$INSTDIR\openttd.exe"
|
||||||
Delete "$INSTDIR\COPYING"
|
Delete "$INSTDIR\COPYING"
|
||||||
@@ -408,6 +409,7 @@ Section "Uninstall"
|
|||||||
; Baseset files
|
; Baseset files
|
||||||
Delete "$INSTDIR\baseset\opntitle.dat"
|
Delete "$INSTDIR\baseset\opntitle.dat"
|
||||||
Delete "$INSTDIR\baseset\openttd.grf"
|
Delete "$INSTDIR\baseset\openttd.grf"
|
||||||
|
Delete "$INSTDIR\baseset\orig_extra.grf"
|
||||||
Delete "$INSTDIR\baseset\orig_win.obg"
|
Delete "$INSTDIR\baseset\orig_win.obg"
|
||||||
Delete "$INSTDIR\baseset\orig_dos.obg"
|
Delete "$INSTDIR\baseset\orig_dos.obg"
|
||||||
Delete "$INSTDIR\baseset\orig_dos_de.obg"
|
Delete "$INSTDIR\baseset\orig_dos_de.obg"
|
||||||
@@ -425,6 +427,8 @@ Section "Uninstall"
|
|||||||
Delete "$INSTDIR\baseset\trgt.grf"
|
Delete "$INSTDIR\baseset\trgt.grf"
|
||||||
Delete "$INSTDIR\baseset\trgc.grf"
|
Delete "$INSTDIR\baseset\trgc.grf"
|
||||||
Delete "$INSTDIR\baseset\trgi.grf"
|
Delete "$INSTDIR\baseset\trgi.grf"
|
||||||
|
Delete "$INSTDIR\baseset\gm.cat"
|
||||||
|
Delete "$INSTDIR\baseset\gm-tto.cat"
|
||||||
Delete "$INSTDIR\baseset\*.gm"
|
Delete "$INSTDIR\baseset\*.gm"
|
||||||
|
|
||||||
Delete "$INSTDIR\data\sample.cat"
|
Delete "$INSTDIR\data\sample.cat"
|
||||||
@@ -466,8 +470,10 @@ Section "Uninstall"
|
|||||||
|
|
||||||
; Base sets for music
|
; Base sets for music
|
||||||
Delete "$INSTDIR\gm\orig_win.obm"
|
Delete "$INSTDIR\gm\orig_win.obm"
|
||||||
|
Delete "$INSTDIR\gm\orig_dos.obm"
|
||||||
Delete "$INSTDIR\gm\no_music.obm"
|
Delete "$INSTDIR\gm\no_music.obm"
|
||||||
Delete "$INSTDIR\baseset\orig_win.obm"
|
Delete "$INSTDIR\baseset\orig_win.obm"
|
||||||
|
Delete "$INSTDIR\baseset\orig_dos.obm"
|
||||||
Delete "$INSTDIR\baseset\no_music.obm"
|
Delete "$INSTDIR\baseset\no_music.obm"
|
||||||
|
|
||||||
; Remove remaining directories
|
; Remove remaining directories
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
!define APPBITS 32 ; Define number of bits for the architecture
|
!define APPBITS 32 ; Define number of bits for the architecture
|
||||||
!define EXTRA_VERSION "95, 98, ME, 2000 and XP without SP3"
|
!define EXTRA_VERSION "95, 98, ME, 2000 and XP without SP3"
|
||||||
!define APPARCH "win9x" ; Define the application architecture
|
!define APPARCH "win9x" ; Define the application architecture
|
||||||
!define BINARY_DIR "${PATH_ROOT}bin"
|
!define BINARY_DIR "${PATH_ROOT}objs\release"
|
||||||
InstallDir "$PROGRAMFILES32\OpenTTD\"
|
InstallDir "$PROGRAMFILES32\OpenTTD\"
|
||||||
|
@@ -21,312 +21,132 @@ Sub FindReplaceInFile(filename, to_find, replacement)
|
|||||||
file.Close
|
file.Close
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub UpdateFile(modified, revision, version, cur_date, filename)
|
Sub UpdateFile(modified, isodate, version, cur_date, filename)
|
||||||
FSO.CopyFile filename & ".in", filename
|
FSO.CopyFile filename & ".in", filename
|
||||||
FindReplaceInFile filename, "!!MODIFIED!!", modified
|
FindReplaceInFile filename, "!!MODIFIED!!", modified
|
||||||
FindReplaceInFile filename, "!!REVISION!!", revision
|
FindReplaceInFile filename, "!!ISODATE!!", isodate
|
||||||
FindReplaceInFile filename, "!!VERSION!!", version
|
FindReplaceInFile filename, "!!VERSION!!", version
|
||||||
FindReplaceInFile filename, "!!DATE!!", cur_date
|
FindReplaceInFile filename, "!!DATE!!", cur_date
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub UpdateFiles(version)
|
Sub UpdateFiles(version)
|
||||||
Dim modified, revision, cur_date
|
Dim modified, isodate, cur_date
|
||||||
cur_date = DatePart("D", Date) & "." & DatePart("M", Date) & "." & DatePart("YYYY", Date)
|
cur_date = DatePart("D", Date) & "." & DatePart("M", Date) & "." & DatePart("YYYY", Date)
|
||||||
|
|
||||||
If InStr(version, Chr(9)) Then
|
If InStr(version, Chr(9)) Then
|
||||||
revision = Mid(version, InStr(version, Chr(9)) + 1)
|
isodate = Mid(version, InStr(version, Chr(9)) + 1)
|
||||||
modified = Mid(revision, InStr(revision, Chr(9)) + 1)
|
modified = Mid(isodate, InStr(isodate, Chr(9)) + 1)
|
||||||
revision = Mid(revision, 1, InStr(revision, Chr(9)) - 1)
|
isodate = Mid(isodate, 1, InStr(isodate, Chr(9)) - 1)
|
||||||
modified = Mid(modified, 1, InStr(modified, Chr(9)) - 1)
|
modified = Mid(modified, 1, InStr(modified, Chr(9)) - 1)
|
||||||
version = Mid(version, 1, InStr(version, Chr(9)) - 1)
|
version = Mid(version, 1, InStr(version, Chr(9)) - 1)
|
||||||
Else
|
Else
|
||||||
revision = 0
|
isodate = 0
|
||||||
modified = 1
|
modified = 1
|
||||||
End If
|
End If
|
||||||
|
|
||||||
UpdateFile modified, revision, version, cur_date, "../src/rev.cpp"
|
UpdateFile modified, isodate, version, cur_date, "../src/rev.cpp"
|
||||||
UpdateFile modified, revision, version, cur_date, "../src/os/windows/ottdres.rc"
|
UpdateFile modified, isodate, version, cur_date, "../src/os/windows/ottdres.rc"
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Function ReadRegistryKey(shive, subkey, valuename, architecture)
|
Function DetermineVersion()
|
||||||
Dim hiveKey, objCtx, objLocator, objServices, objReg, Inparams, Outparams
|
Dim WshShell, branch, tag, modified, isodate, oExec, line, hash, shorthash
|
||||||
|
|
||||||
' First, get the Registry Provider for the requested architecture
|
|
||||||
Set objCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
|
|
||||||
objCtx.Add "__ProviderArchitecture", architecture ' Must be 64 of 32
|
|
||||||
Set objLocator = CreateObject("Wbemscripting.SWbemLocator")
|
|
||||||
Set objServices = objLocator.ConnectServer("","root\default","","",,,,objCtx)
|
|
||||||
Set objReg = objServices.Get("StdRegProv")
|
|
||||||
|
|
||||||
' Check the hive and give it the right value
|
|
||||||
Select Case shive
|
|
||||||
Case "HKCR", "HKEY_CLASSES_ROOT"
|
|
||||||
hiveKey = &h80000000
|
|
||||||
Case "HKCU", "HKEY_CURRENT_USER"
|
|
||||||
hiveKey = &H80000001
|
|
||||||
Case "HKLM", "HKEY_LOCAL_MACHINE"
|
|
||||||
hiveKey = &h80000002
|
|
||||||
Case "HKU", "HKEY_USERS"
|
|
||||||
hiveKey = &h80000003
|
|
||||||
Case "HKCC", "HKEY_CURRENT_CONFIG"
|
|
||||||
hiveKey = &h80000005
|
|
||||||
Case "HKDD", "HKEY_DYN_DATA" ' Only valid for Windows 95/98
|
|
||||||
hiveKey = &h80000006
|
|
||||||
Case Else
|
|
||||||
MsgBox "Hive not valid (ReadRegistryKey)"
|
|
||||||
End Select
|
|
||||||
|
|
||||||
Set Inparams = objReg.Methods_("GetStringValue").Inparameters
|
|
||||||
Inparams.Hdefkey = hiveKey
|
|
||||||
Inparams.Ssubkeyname = subkey
|
|
||||||
Inparams.Svaluename = valuename
|
|
||||||
Set Outparams = objReg.ExecMethod_("GetStringValue", Inparams,,objCtx)
|
|
||||||
|
|
||||||
ReadRegistryKey = Outparams.SValue
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Function DetermineSVNVersion()
|
|
||||||
Dim WshShell, version, branch, modified, revision, clean_rev, url, oExec, line, hash
|
|
||||||
Set WshShell = CreateObject("WScript.Shell")
|
Set WshShell = CreateObject("WScript.Shell")
|
||||||
On Error Resume Next
|
On Error Resume Next
|
||||||
|
|
||||||
revision = 0
|
modified = 1
|
||||||
|
hash = ""
|
||||||
|
shorthash = ""
|
||||||
|
branch = ""
|
||||||
|
isodate = ""
|
||||||
|
tag = ""
|
||||||
|
|
||||||
' Try TortoiseSVN
|
' Set the environment to english
|
||||||
' Get the directory where TortoiseSVN (should) reside(s)
|
WshShell.Environment("PROCESS")("LANG") = "en"
|
||||||
Dim sTortoise
|
|
||||||
' First, try with 32-bit architecture
|
|
||||||
sTortoise = ReadRegistryKey("HKLM", "SOFTWARE\TortoiseSVN", "Directory", 32)
|
|
||||||
If sTortoise = "" Or IsNull(sTortoise) Then
|
|
||||||
' No 32-bit version of TortoiseSVN installed, try 64-bit version (doesn't hurt on 32-bit machines, it returns nothing or is ignored)
|
|
||||||
sTortoise = ReadRegistryKey("HKLM", "SOFTWARE\TortoiseSVN", "Directory", 64)
|
|
||||||
End If
|
|
||||||
|
|
||||||
' If TortoiseSVN is installed, try to get the revision number
|
Set oExec = WshShell.Exec("git rev-parse --verify HEAD")
|
||||||
If sTortoise <> "" Then
|
If Err.Number = 0 Then
|
||||||
Dim SubWCRev
|
' Wait till the application is finished ...
|
||||||
Set SubWCRev = WScript.CreateObject("SubWCRev.object")
|
Do While oExec.Status = 0
|
||||||
SubWCRev.GetWCInfo FSO.GetAbsolutePathName("../"), 0, 0
|
Loop
|
||||||
revision = SubWCRev.Revision
|
|
||||||
version = "r" & revision
|
|
||||||
modified = 0
|
|
||||||
if SubWCRev.HasModifications then modified = 2
|
|
||||||
url = SubWCRev.Url
|
|
||||||
End If
|
|
||||||
|
|
||||||
' Looks like there is no TortoiseSVN installed either. Then we don't know it.
|
If oExec.ExitCode = 0 Then
|
||||||
If revision = 0 Then
|
hash = oExec.StdOut.ReadLine()
|
||||||
' Reset error and version
|
shorthash = Mid(hash, 1, 8)
|
||||||
Err.Clear
|
' Make sure index is in sync with disk
|
||||||
version = "norev000"
|
Set oExec = WshShell.Exec("git update-index --refresh")
|
||||||
modified = 0
|
If Err.Number = 0 Then
|
||||||
|
' StdOut and StdErr share a 4kB buffer so prevent it from filling up as we don't care about the output
|
||||||
' Set the environment to english
|
oExec.StdOut.Close
|
||||||
WshShell.Environment("PROCESS")("LANG") = "en"
|
oExec.StdErr.Close
|
||||||
|
' Wait till the application is finished ...
|
||||||
' Do we have subversion installed? Check immediatelly whether we've got a modified WC.
|
Do While oExec.Status = 0
|
||||||
Set oExec = WshShell.Exec("svnversion ../")
|
WScript.Sleep 10
|
||||||
If Err.Number = 0 Then
|
Loop
|
||||||
' Wait till the application is finished ...
|
End If
|
||||||
Do While oExec.Status = 0
|
Set oExec = WshShell.Exec("git diff-index --exit-code --quiet HEAD ../")
|
||||||
Loop
|
|
||||||
|
|
||||||
line = OExec.StdOut.ReadLine()
|
|
||||||
If line <> "exported" Then
|
|
||||||
If InStr(line, "M") Then
|
|
||||||
modified = 2
|
|
||||||
End If
|
|
||||||
|
|
||||||
' And use svn info to get the correct revision and branch information.
|
|
||||||
Set oExec = WshShell.Exec("svn info ../")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
Do
|
|
||||||
line = OExec.StdOut.ReadLine()
|
|
||||||
If InStr(line, "URL") Then
|
|
||||||
url = line
|
|
||||||
End If
|
|
||||||
If InStr(line, "Last Changed Rev") Then
|
|
||||||
revision = Mid(line, 19)
|
|
||||||
version = "r" & revision
|
|
||||||
End If
|
|
||||||
Loop While Not OExec.StdOut.atEndOfStream
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' line <> "exported"
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' InStr(version, "$")
|
|
||||||
|
|
||||||
If version <> "norev000" Then
|
|
||||||
If InStr(url, "branches") Then
|
|
||||||
branch = Mid(url, InStr(url, "branches/") + 9)
|
|
||||||
End If
|
|
||||||
If InStr(url, "tags") Then
|
|
||||||
version = Mid(url, InStr(url, "tags/") + 5)
|
|
||||||
End If
|
|
||||||
Else ' version <> "norev000"
|
|
||||||
' svn detection failed, reset error and try git
|
|
||||||
Err.Clear
|
|
||||||
Set oExec = WshShell.Exec("git rev-parse --verify HEAD")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
' Wait till the application is finished ...
|
|
||||||
Do While oExec.Status = 0
|
|
||||||
Loop
|
|
||||||
|
|
||||||
If oExec.ExitCode = 0 Then
|
|
||||||
hash = oExec.StdOut.ReadLine()
|
|
||||||
version = "g" & Mid(hash, 1, 8)
|
|
||||||
' Make sure index is in sync with disk
|
|
||||||
Set oExec = WshShell.Exec("git update-index --refresh")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
' StdOut and StdErr share a 4kB buffer so prevent it from filling up as we don't care about the output
|
|
||||||
oExec.StdOut.Close
|
|
||||||
oExec.StdErr.Close
|
|
||||||
' Wait till the application is finished ...
|
|
||||||
Do While oExec.Status = 0
|
|
||||||
WScript.Sleep 10
|
|
||||||
Loop
|
|
||||||
End If
|
|
||||||
Set oExec = WshShell.Exec("git diff-index --exit-code --quiet HEAD ../")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
' Wait till the application is finished ...
|
|
||||||
Do While oExec.Status = 0
|
|
||||||
Loop
|
|
||||||
|
|
||||||
If oExec.ExitCode = 1 Then
|
|
||||||
modified = 2
|
|
||||||
End If ' oExec.ExitCode = 1
|
|
||||||
|
|
||||||
Set oExec = WshShell.Exec("git symbolic-ref HEAD")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
line = oExec.StdOut.ReadLine()
|
|
||||||
line = Mid(line, InStrRev(line, "/") + 1)
|
|
||||||
If line <> "master" Then
|
|
||||||
branch = line
|
|
||||||
End If ' line <> "master"
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
|
|
||||||
Set oExec = WshShell.Exec("git log --pretty=format:%s --grep=" & Chr(34) & "^(svn r[0-9]*)" & Chr(34) & " -1")
|
|
||||||
if Err.Number = 0 Then
|
|
||||||
revision = Mid(oExec.StdOut.ReadLine(), 7)
|
|
||||||
revision = Mid(revision, 1, InStr(revision, ")") - 1)
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
If revision = "" Then
|
|
||||||
' No revision? Maybe it is a custom git-svn clone
|
|
||||||
' Reset error number as WshShell.Exec will not do that on success
|
|
||||||
Err.Clear
|
|
||||||
Set oExec = WshShell.Exec("git log --pretty=format:%b --grep=" & Chr(34) & "git-svn-id:.*@[0-9]*" & Chr(34) & " -1")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
revision = oExec.StdOut.ReadLine()
|
|
||||||
revision = Mid(revision, InStr(revision, "@") + 1)
|
|
||||||
revision = Mid(revision, 1, InStr(revision, " ") - 1)
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' revision = ""
|
|
||||||
|
|
||||||
' Check if a tag is currently checked out
|
|
||||||
Err.Clear
|
|
||||||
Set oExec = WshShell.Exec("git name-rev --name-only --tags --no-undefined HEAD")
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
' Wait till the application is finished ...
|
|
||||||
Do While oExec.Status = 0
|
|
||||||
Loop
|
|
||||||
If oExec.ExitCode = 0 Then
|
|
||||||
version = oExec.StdOut.ReadLine()
|
|
||||||
If Right(version, 2) = "^0" Then
|
|
||||||
version = Left(version, Len(version) - 2)
|
|
||||||
End If
|
|
||||||
branch = ""
|
|
||||||
End If ' oExec.ExitCode = 0
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' oExec.ExitCode = 0
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
|
|
||||||
If version = "norev000" Then
|
|
||||||
' git detection failed, reset error and try mercurial (hg)
|
|
||||||
Err.Clear
|
|
||||||
Set oExec = WshShell.Exec("hg id -i")
|
|
||||||
If Err.Number = 0 Then
|
If Err.Number = 0 Then
|
||||||
' Wait till the application is finished ...
|
' Wait till the application is finished ...
|
||||||
Do While oExec.Status = 0
|
Do While oExec.Status = 0
|
||||||
Loop
|
Loop
|
||||||
|
|
||||||
If oExec.ExitCode = 0 Then
|
If oExec.ExitCode = 1 Then
|
||||||
line = OExec.StdOut.ReadLine()
|
modified = 2
|
||||||
hash = Left(line, 12)
|
End If ' oExec.ExitCode = 1
|
||||||
version = "h" & Mid(hash, 1, 8)
|
|
||||||
|
|
||||||
' Check if a tag is currently checked out
|
Set oExec = WshShell.Exec("git show -s --pretty=format:%ci")
|
||||||
Err.Clear
|
if Err.Number = 0 Then
|
||||||
Set oExec = WshShell.Exec("hg id -t")
|
isodate = Mid(oExec.StdOut.ReadLine(), 1, 10)
|
||||||
If Err.Number = 0 Then
|
isodate = Replace(isodate, "-", "")
|
||||||
line = oExec.StdOut.ReadLine()
|
End If ' Err.Number = 0
|
||||||
If Len(line) > 0 And Right(line, 3) <> "tip" Then
|
|
||||||
version = line
|
|
||||||
branch = ""
|
|
||||||
End If ' Len(line) > 0 And Right(line, 3) <> "tip"
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
|
|
||||||
Err.Clear
|
' Check branch
|
||||||
Set oExec = WshShell.Exec("hg status ../")
|
Err.Clear
|
||||||
If Err.Number = 0 Then
|
Set oExec = WshShell.Exec("git symbolic-ref HEAD")
|
||||||
Do
|
If Err.Number = 0 Then
|
||||||
line = OExec.StdOut.ReadLine()
|
line = oExec.StdOut.ReadLine()
|
||||||
If Len(line) > 0 And Mid(line, 1, 1) <> "?" Then
|
branch = Mid(line, InStrRev(line, "/") + 1)
|
||||||
modified = 2
|
End If ' Err.Number = 0
|
||||||
Exit Do
|
|
||||||
End If ' Len(line) > 0 And Mid(line, 1, 1) <> "?"
|
|
||||||
Loop While Not OExec.StdOut.atEndOfStream
|
|
||||||
|
|
||||||
Set oExec = WshShell.Exec("hg branch")
|
' Check if a tag is currently checked out
|
||||||
If Err.Number = 0 Then
|
Err.Clear
|
||||||
line = OExec.StdOut.ReadLine()
|
Set oExec = WshShell.Exec("git name-rev --name-only --tags --no-undefined HEAD")
|
||||||
If line <> "default" Then
|
If Err.Number = 0 Then
|
||||||
branch = line
|
' Wait till the application is finished ...
|
||||||
End If ' line <> "default"
|
Do While oExec.Status = 0
|
||||||
End If ' Err.Number = 0
|
Loop
|
||||||
|
If oExec.ExitCode = 0 Then
|
||||||
Set oExec = WshShell.Exec("hg log -f -k " & Chr(34) & "(svn r" & Chr(34) & " -l 1 --template " & Chr(34) & "{desc|firstline}\n" & Chr(34) & " --cwd ../")
|
tag = oExec.StdOut.ReadLine()
|
||||||
If Err.Number = 0 Then
|
If Right(tag, 2) = "^0" Then
|
||||||
line = oExec.StdOut.ReadLine()
|
tag = Left(tag, Len(tag) - 2)
|
||||||
If Left(line, 6) = "(svn r" Then
|
End If
|
||||||
revision = Mid(line, 7)
|
End If ' oExec.ExitCode = 0
|
||||||
revision = Mid(revision, 1, InStr(revision, ")") - 1)
|
End If ' Err.Number = 0
|
||||||
End If 'Left(line, 6) = "(svn r"
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
|
|
||||||
If revision = "" Then
|
|
||||||
' No rev? Maybe it is a custom hgsubversion clone
|
|
||||||
Err.Clear
|
|
||||||
Set oExec = WshShell.Exec("hg parent --template=" & Chr(34) & "{svnrev}" & Chr(34))
|
|
||||||
If Err.Number = 0 Then
|
|
||||||
revision = oExec.StdOut.ReadLine()
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' revision = ""
|
|
||||||
End If ' Err.Number = 0
|
|
||||||
End If ' oExec.ExitCode = 0
|
|
||||||
End If ' Err.Number = 0
|
End If ' Err.Number = 0
|
||||||
End If ' version = "norev000"
|
End If ' oExec.ExitCode = 0
|
||||||
End If ' version <> "norev000"
|
End If ' Err.Number = 0
|
||||||
|
|
||||||
If version = "norev000" And FSO.FileExists("../.ottdrev") Then
|
If hash = "" And FSO.FileExists("../.ottdrev") Then
|
||||||
Dim rev_file
|
Dim rev_file
|
||||||
Set rev_file = FSO.OpenTextFile("../.ottdrev", 1, True, 0)
|
Set rev_file = FSO.OpenTextFile("../.ottdrev", 1, True, 0)
|
||||||
DetermineSVNVersion = rev_file.ReadLine()
|
DetermineVersion = rev_file.ReadLine()
|
||||||
rev_file.Close()
|
rev_file.Close()
|
||||||
|
ElseIf hash = "" Then
|
||||||
|
DetermineVersion = "norev000"
|
||||||
Else
|
Else
|
||||||
|
Dim version
|
||||||
|
If tag <> "" Then
|
||||||
|
version = tag
|
||||||
|
ElseIf branch = "master" Then
|
||||||
|
version = isodate & "-g" & shorthash
|
||||||
|
Else
|
||||||
|
version = isodate & "-" & branch & "-g" & shorthash
|
||||||
|
End If
|
||||||
|
|
||||||
If modified = 2 Then
|
If modified = 2 Then
|
||||||
version = version & "M"
|
version = version & "M"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
clean_rev = version
|
DetermineVersion = version & Chr(9) & isodate & Chr(9) & modified & Chr(9) & hash
|
||||||
If branch <> "" Then
|
|
||||||
version = version & "-" & branch
|
|
||||||
End If
|
|
||||||
|
|
||||||
If version <> "norev000" Then
|
|
||||||
DetermineSVNVersion = version & Chr(9) & revision & Chr(9) & modified & Chr(9) & clean_rev
|
|
||||||
Else
|
|
||||||
DetermineSVNVersion = version
|
|
||||||
End If
|
|
||||||
End If
|
End If
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
@@ -359,7 +179,7 @@ Function CheckFile(filename)
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Dim version
|
Dim version
|
||||||
version = DetermineSVNVersion
|
version = DetermineVersion
|
||||||
If Not (IsCachedVersion(version) And CheckFile("../src/rev.cpp") And CheckFile("../src/os/windows/ottdres.rc")) Then
|
If Not (IsCachedVersion(version) And CheckFile("../src/rev.cpp") And CheckFile("../src/os/windows/ottdres.rc")) Then
|
||||||
UpdateFiles version
|
UpdateFiles version
|
||||||
End If
|
End If
|
||||||
|
7
projects/dpi_aware.manifest
Normal file
7
projects/dpi_aware.manifest
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" >
|
||||||
|
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||||
|
<dpiAware>True/PM</dpiAware>
|
||||||
|
</windowsSettings>
|
||||||
|
</application>
|
||||||
|
</assembly>
|
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
|
@@ -22,6 +22,15 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# openttd_vs141.sln is for MSVC 2017
|
||||||
|
# openttd_vs141.vcxproj is for MSVC 2017
|
||||||
|
# openttd_vs141.vcxproj.filters is for MSVC 2017
|
||||||
|
# langs_vs141.vcxproj is for MSVC 2017
|
||||||
|
# strgen_vs141.vcxproj is for MSVC 2017
|
||||||
|
# strgen_vs141.vcxproj.filters is for MSVC 2017
|
||||||
|
# generate_vs141.vcxproj is for MSVC 2017
|
||||||
|
# version_vs141.vcxproj is for MSVC 2017
|
||||||
|
|
||||||
# openttd_vs140.sln is for MSVC 2015
|
# openttd_vs140.sln is for MSVC 2015
|
||||||
# openttd_vs140.vcxproj is for MSVC 2015
|
# openttd_vs140.vcxproj is for MSVC 2015
|
||||||
# openttd_vs140.vcxproj.filters is for MSVC 2015
|
# openttd_vs140.vcxproj.filters is for MSVC 2015
|
||||||
@@ -114,7 +123,6 @@ load_main_data() {
|
|||||||
if ($0 == "PNG" && "'$png_config'" == "") { next; }
|
if ($0 == "PNG" && "'$png_config'" == "") { next; }
|
||||||
if ($0 == "OSX" && "'$os'" != "OSX") { next; }
|
if ($0 == "OSX" && "'$os'" != "OSX") { next; }
|
||||||
if ($0 == "OS2" && "'$os'" != "OS2") { next; }
|
if ($0 == "OS2" && "'$os'" != "OS2") { next; }
|
||||||
if ($0 == "PSP" && "'$os'" != "PSP") { next; }
|
|
||||||
if ($0 == "DOS" && "'$os'" != "DOS") { next; }
|
if ($0 == "DOS" && "'$os'" != "DOS") { next; }
|
||||||
if ($0 == "DEDICATED" && "'$enable_dedicated'" != "1") { next; }
|
if ($0 == "DEDICATED" && "'$enable_dedicated'" != "1") { next; }
|
||||||
if ($0 == "AI" && "'$enable_ai'" == "0") { next; }
|
if ($0 == "AI" && "'$enable_ai'" == "0") { next; }
|
||||||
@@ -122,7 +130,6 @@ load_main_data() {
|
|||||||
if ($0 == "BEOS" && "'$os'" != "BEOS") { next; }
|
if ($0 == "BEOS" && "'$os'" != "BEOS") { next; }
|
||||||
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
|
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
|
||||||
"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
|
"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
|
||||||
if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
|
|
||||||
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
|
||||||
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
|
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
|
||||||
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
|
if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" ) { next; }
|
||||||
@@ -183,9 +190,11 @@ load_main_data() {
|
|||||||
|
|
||||||
load_lang_data() {
|
load_lang_data() {
|
||||||
RES=""
|
RES=""
|
||||||
for i in `ls $1`
|
# Windows Folder sort and Linux Folder sort are slightly different.
|
||||||
|
# By removing the extension and sorting it on Linux, they are the same.
|
||||||
|
for i in `ls $1 | sed s~.txt$~~g | sort`
|
||||||
do
|
do
|
||||||
i=`basename $i | sed s~.txt$~~g`
|
i=`basename $i`
|
||||||
if [ "$i" == "english" ]
|
if [ "$i" == "english" ]
|
||||||
then
|
then
|
||||||
continue
|
continue
|
||||||
@@ -317,15 +326,21 @@ generate "$openttdvcxproj" "openttd_vs100.vcxproj"
|
|||||||
generate "$openttdfiles" "openttd_vs100.vcxproj.filters" "$openttdfilters"
|
generate "$openttdfiles" "openttd_vs100.vcxproj.filters" "$openttdfilters"
|
||||||
generate "$openttdvcxproj" "openttd_vs140.vcxproj"
|
generate "$openttdvcxproj" "openttd_vs140.vcxproj"
|
||||||
generate "$openttdfiles" "openttd_vs140.vcxproj.filters" "$openttdfilters"
|
generate "$openttdfiles" "openttd_vs140.vcxproj.filters" "$openttdfilters"
|
||||||
|
generate "$openttdvcxproj" "openttd_vs141.vcxproj"
|
||||||
|
generate "$openttdfiles" "openttd_vs141.vcxproj.filters" "$openttdfilters"
|
||||||
generate "$lang" "langs_vs80.vcproj"
|
generate "$lang" "langs_vs80.vcproj"
|
||||||
generate "$lang" "langs_vs90.vcproj"
|
generate "$lang" "langs_vs90.vcproj"
|
||||||
generate "$langvcxproj" "langs_vs100.vcxproj"
|
generate "$langvcxproj" "langs_vs100.vcxproj"
|
||||||
generate "$langfiles" "langs_vs100.vcxproj.filters"
|
generate "$langfiles" "langs_vs100.vcxproj.filters"
|
||||||
generate "$langvcxproj" "langs_vs140.vcxproj"
|
generate "$langvcxproj" "langs_vs140.vcxproj"
|
||||||
generate "$langfiles" "langs_vs140.vcxproj.filters"
|
generate "$langfiles" "langs_vs140.vcxproj.filters"
|
||||||
|
generate "$langvcxproj" "langs_vs141.vcxproj"
|
||||||
|
generate "$langfiles" "langs_vs141.vcxproj.filters"
|
||||||
generate "$settings" "settings_vs80.vcproj" "$settingscommand"
|
generate "$settings" "settings_vs80.vcproj" "$settingscommand"
|
||||||
generate "$settings" "settings_vs90.vcproj" "$settingscommand"
|
generate "$settings" "settings_vs90.vcproj" "$settingscommand"
|
||||||
generate "$settingsvcxproj" "settings_vs100.vcxproj" "$settingscommand"
|
generate "$settingsvcxproj" "settings_vs100.vcxproj" "$settingscommand"
|
||||||
generate "$settingsfiles" "settings_vs100.vcxproj.filters"
|
generate "$settingsfiles" "settings_vs100.vcxproj.filters"
|
||||||
generate "$settingsvcxproj" "settings_vs140.vcxproj" "$settingscommand"
|
generate "$settingsvcxproj" "settings_vs140.vcxproj" "$settingscommand"
|
||||||
generate "$settingsfiles" "settings_vs140.vcxproj.filters"
|
generate "$settingsfiles" "settings_vs140.vcxproj.filters"
|
||||||
|
generate "$settingsvcxproj" "settings_vs141.vcxproj" "$settingscommand"
|
||||||
|
generate "$settingsfiles" "settings_vs141.vcxproj.filters"
|
||||||
|
@@ -10,6 +10,15 @@ Option Explicit
|
|||||||
Dim FSO
|
Dim FSO
|
||||||
Set FSO = CreateObject("Scripting.FileSystemObject")
|
Set FSO = CreateObject("Scripting.FileSystemObject")
|
||||||
|
|
||||||
|
' openttd_vs141.sln is for MSVC 2017
|
||||||
|
' openttd_vs141.vcxproj is for MSVC 2017
|
||||||
|
' openttd_vs141.vcxproj.filters is for MSVC 2017
|
||||||
|
' langs_vs141.vcxproj is for MSVC 2017
|
||||||
|
' strgen_vs141.vcxproj is for MSVC 2017
|
||||||
|
' strgen_vs141.vcxproj.filters is for MSVC 2017
|
||||||
|
' generate_vs141.vcxproj is for MSVC 2017
|
||||||
|
' version_vs141.vcxproj is for MSVC 2017
|
||||||
|
|
||||||
' openttd_vs140.sln is for MSVC 2015
|
' openttd_vs140.sln is for MSVC 2015
|
||||||
' openttd_vs140.vcxproj is for MSVC 2015
|
' openttd_vs140.vcxproj is for MSVC 2015
|
||||||
' openttd_vs140.vcxproj.filters is for MSVC 2015
|
' openttd_vs140.vcxproj.filters is for MSVC 2015
|
||||||
@@ -380,6 +389,8 @@ generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs100.vcxproj", Null
|
|||||||
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs100.vcxproj.filters", openttdfilters
|
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs100.vcxproj.filters", openttdfilters
|
||||||
generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs140.vcxproj", Null
|
generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs140.vcxproj", Null
|
||||||
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs140.vcxproj.filters", openttdfilters
|
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs140.vcxproj.filters", openttdfilters
|
||||||
|
generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs141.vcxproj", Null
|
||||||
|
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs141.vcxproj.filters", openttdfilters
|
||||||
|
|
||||||
Dim lang, langvcxproj, langfiles
|
Dim lang, langvcxproj, langfiles
|
||||||
lang = load_lang_data(ROOT_DIR & "/src/lang", langvcxproj, langfiles)
|
lang = load_lang_data(ROOT_DIR & "/src/lang", langvcxproj, langfiles)
|
||||||
@@ -389,6 +400,8 @@ generate langvcxproj, ROOT_DIR & "/projects/langs_vs100.vcxproj", Null
|
|||||||
generate langfiles, ROOT_DIR & "/projects/langs_vs100.vcxproj.filters", Null
|
generate langfiles, ROOT_DIR & "/projects/langs_vs100.vcxproj.filters", Null
|
||||||
generate langvcxproj, ROOT_DIR & "/projects/langs_vs140.vcxproj", Null
|
generate langvcxproj, ROOT_DIR & "/projects/langs_vs140.vcxproj", Null
|
||||||
generate langfiles, ROOT_DIR & "/projects/langs_vs140.vcxproj.filters", Null
|
generate langfiles, ROOT_DIR & "/projects/langs_vs140.vcxproj.filters", Null
|
||||||
|
generate langvcxproj, ROOT_DIR & "/projects/langs_vs141.vcxproj", Null
|
||||||
|
generate langfiles, ROOT_DIR & "/projects/langs_vs141.vcxproj.filters", Null
|
||||||
|
|
||||||
Dim settings, settingsvcxproj, settingscommand, settingsfiles
|
Dim settings, settingsvcxproj, settingscommand, settingsfiles
|
||||||
settings = load_settings_data(ROOT_DIR & "/src/table", settingsvcxproj, settingscommand, settingsfiles)
|
settings = load_settings_data(ROOT_DIR & "/src/table", settingsvcxproj, settingscommand, settingsfiles)
|
||||||
@@ -398,3 +411,5 @@ generate settingsvcxproj, ROOT_DIR & "/projects/settings_vs100.vcxproj", setting
|
|||||||
generate settingsfiles, ROOT_DIR & "/projects/settings_vs100.vcxproj.filters", Null
|
generate settingsfiles, ROOT_DIR & "/projects/settings_vs100.vcxproj.filters", Null
|
||||||
generate settingsvcxproj, ROOT_DIR & "/projects/settings_vs140.vcxproj", settingscommand
|
generate settingsvcxproj, ROOT_DIR & "/projects/settings_vs140.vcxproj", settingscommand
|
||||||
generate settingsfiles, ROOT_DIR & "/projects/settings_vs140.vcxproj.filters", Null
|
generate settingsfiles, ROOT_DIR & "/projects/settings_vs140.vcxproj.filters", Null
|
||||||
|
generate settingsvcxproj, ROOT_DIR & "/projects/settings_vs141.vcxproj", settingscommand
|
||||||
|
generate settingsfiles, ROOT_DIR & "/projects/settings_vs141.vcxproj.filters", Null
|
||||||
|
40
projects/generate_vs141.vcxproj
Normal file
40
projects/generate_vs141.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>
|
||||||
|
</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>
|
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj;$(SolutionDir)openttd_vs100.vcxproj;$(SolutionDir)openttd_vs100.vcxproj.filters;$(SolutionDir)langs_vs80.vcproj;$(SolutionDir)langs_vs90.vcproj;$(SolutionDir)langs_vs100.vcxproj;%(Outputs)</Outputs>
|
||||||
|
</CustomBuild>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
@@ -317,18 +317,18 @@
|
|||||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
<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>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovenian.lng;%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</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\spanish.txt">
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish language file</Message>
|
<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>
|
<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>
|
<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>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish.lng;%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</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">
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating swedish language file</Message>
|
<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>
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
|
@@ -142,10 +142,10 @@
|
|||||||
<CustomBuild Include="..\src\lang\slovenian.txt">
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\spanish.txt">
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\swedish.txt">
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
@@ -317,18 +317,18 @@
|
|||||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
|
<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>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovenian.lng;%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</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\spanish.txt">
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish language file</Message>
|
<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>
|
<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>
|
<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>
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish.lng;%(Outputs)</Outputs>
|
||||||
</CustomBuild>
|
</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">
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating swedish language file</Message>
|
<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>
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
|
||||||
@@ -379,7 +379,7 @@
|
|||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="strgen_vs100.vcxproj">
|
<ProjectReference Include="strgen_vs140.vcxproj">
|
||||||
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
@@ -142,10 +142,10 @@
|
|||||||
<CustomBuild Include="..\src\lang\slovenian.txt">
|
<CustomBuild Include="..\src\lang\slovenian.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
<CustomBuild Include="..\src\lang\spanish.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\spanish.txt">
|
<CustomBuild Include="..\src\lang\spanish_MX.txt">
|
||||||
<Filter>Translations</Filter>
|
<Filter>Translations</Filter>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
<CustomBuild Include="..\src\lang\swedish.txt">
|
<CustomBuild Include="..\src\lang\swedish.txt">
|
||||||
|
@@ -50,7 +50,7 @@
|
|||||||
!!FILES!!
|
!!FILES!!
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="strgen_vs100.vcxproj">
|
<ProjectReference Include="strgen_vs140.vcxproj">
|
||||||
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
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>
|
@@ -738,21 +738,6 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="..\src\lang\spanish_MX.txt"
|
|
||||||
>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating spanish_MX language file"
|
|
||||||
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
"
|
|
||||||
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
|
|
||||||
Outputs="..\bin\lang\spanish_MX.lng"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\lang\spanish.txt"
|
RelativePath="..\src\lang\spanish.txt"
|
||||||
>
|
>
|
||||||
@@ -768,6 +753,21 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\lang\spanish_MX.txt"
|
||||||
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"
|
||||||
|
Description="Generating spanish_MX language file"
|
||||||
|
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
"
|
||||||
|
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
|
||||||
|
Outputs="..\bin\lang\spanish_MX.lng"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\lang\swedish.txt"
|
RelativePath="..\src\lang\swedish.txt"
|
||||||
>
|
>
|
||||||
|
@@ -739,21 +739,6 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="..\src\lang\spanish_MX.txt"
|
|
||||||
>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
Description="Generating spanish_MX language file"
|
|
||||||
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
"
|
|
||||||
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
|
|
||||||
Outputs="..\bin\lang\spanish_MX.lng"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\lang\spanish.txt"
|
RelativePath="..\src\lang\spanish.txt"
|
||||||
>
|
>
|
||||||
@@ -769,6 +754,21 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\lang\spanish_MX.txt"
|
||||||
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"
|
||||||
|
Description="Generating spanish_MX language file"
|
||||||
|
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
"
|
||||||
|
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
|
||||||
|
Outputs="..\bin\lang\spanish_MX.lng"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\lang\swedish.txt"
|
RelativePath="..\src\lang\swedish.txt"
|
||||||
>
|
>
|
||||||
|
@@ -102,7 +102,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -145,6 +145,12 @@
|
|||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -156,7 +162,7 @@
|
|||||||
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -176,7 +182,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -188,6 +194,12 @@
|
|||||||
</DataExecutionPrevention>
|
</DataExecutionPrevention>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -204,7 +216,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -233,7 +245,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -244,6 +256,12 @@
|
|||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -256,7 +274,7 @@
|
|||||||
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -280,7 +298,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -289,6 +307,12 @@
|
|||||||
<StackCommitSize>1048576</StackCommitSize>
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\src\airport.cpp" />
|
<ClCompile Include="..\src\airport.cpp" />
|
||||||
@@ -545,6 +569,8 @@
|
|||||||
<ClInclude Include="..\src\news_func.h" />
|
<ClInclude Include="..\src\news_func.h" />
|
||||||
<ClInclude Include="..\src\news_gui.h" />
|
<ClInclude Include="..\src\news_gui.h" />
|
||||||
<ClInclude Include="..\src\news_type.h" />
|
<ClInclude Include="..\src\news_type.h" />
|
||||||
|
<ClInclude Include="..\src\music\midi.h" />
|
||||||
|
<ClInclude Include="..\src\music\midifile.hpp" />
|
||||||
<ClInclude Include="..\src\music\null_m.h" />
|
<ClInclude Include="..\src\music\null_m.h" />
|
||||||
<ClInclude Include="..\src\sound\null_s.h" />
|
<ClInclude Include="..\src\sound\null_s.h" />
|
||||||
<ClInclude Include="..\src\video\null_v.h" />
|
<ClInclude Include="..\src\video\null_v.h" />
|
||||||
@@ -606,6 +632,7 @@
|
|||||||
<ClInclude Include="..\src\string_base.h" />
|
<ClInclude Include="..\src\string_base.h" />
|
||||||
<ClInclude Include="..\src\string_func.h" />
|
<ClInclude Include="..\src\string_func.h" />
|
||||||
<ClInclude Include="..\src\string_type.h" />
|
<ClInclude Include="..\src\string_type.h" />
|
||||||
|
<ClInclude Include="..\src\os\windows\string_uniscribe.h" />
|
||||||
<ClInclude Include="..\src\stringfilter_type.h" />
|
<ClInclude Include="..\src\stringfilter_type.h" />
|
||||||
<ClInclude Include="..\src\strings_func.h" />
|
<ClInclude Include="..\src\strings_func.h" />
|
||||||
<ClInclude Include="..\src\strings_type.h" />
|
<ClInclude Include="..\src\strings_type.h" />
|
||||||
@@ -659,6 +686,7 @@
|
|||||||
<ClInclude Include="..\src\window_func.h" />
|
<ClInclude Include="..\src\window_func.h" />
|
||||||
<ClInclude Include="..\src\window_gui.h" />
|
<ClInclude Include="..\src\window_gui.h" />
|
||||||
<ClInclude Include="..\src\window_type.h" />
|
<ClInclude Include="..\src\window_type.h" />
|
||||||
|
<ClInclude Include="..\src\sound\xaudio2_s.h" />
|
||||||
<ClInclude Include="..\src\zoom_func.h" />
|
<ClInclude Include="..\src\zoom_func.h" />
|
||||||
<ClInclude Include="..\src\zoom_type.h" />
|
<ClInclude Include="..\src\zoom_type.h" />
|
||||||
<ClCompile Include="..\src\core\alloc_func.cpp" />
|
<ClCompile Include="..\src\core\alloc_func.cpp" />
|
||||||
@@ -667,6 +695,8 @@
|
|||||||
<ClInclude Include="..\src\core\backup_type.hpp" />
|
<ClInclude Include="..\src\core\backup_type.hpp" />
|
||||||
<ClCompile Include="..\src\core\bitmath_func.cpp" />
|
<ClCompile Include="..\src\core\bitmath_func.cpp" />
|
||||||
<ClInclude Include="..\src\core\bitmath_func.hpp" />
|
<ClInclude Include="..\src\core\bitmath_func.hpp" />
|
||||||
|
<ClInclude Include="..\src\core\container_func.hpp" />
|
||||||
|
<ClInclude Include="..\src\core\dyn_arena_alloc.hpp" />
|
||||||
<ClInclude Include="..\src\core\endian_func.hpp" />
|
<ClInclude Include="..\src\core\endian_func.hpp" />
|
||||||
<ClInclude Include="..\src\core\endian_type.hpp" />
|
<ClInclude Include="..\src\core\endian_type.hpp" />
|
||||||
<ClInclude Include="..\src\core\enum_type.hpp" />
|
<ClInclude Include="..\src\core\enum_type.hpp" />
|
||||||
@@ -861,6 +891,7 @@
|
|||||||
<ClInclude Include="..\src\saveload\saveload.h" />
|
<ClInclude Include="..\src\saveload\saveload.h" />
|
||||||
<ClInclude Include="..\src\saveload\saveload_filter.h" />
|
<ClInclude Include="..\src\saveload\saveload_filter.h" />
|
||||||
<ClInclude Include="..\src\saveload\saveload_internal.h" />
|
<ClInclude Include="..\src\saveload\saveload_internal.h" />
|
||||||
|
<ClInclude Include="..\src\saveload\saveload_buffer.h" />
|
||||||
<ClCompile Include="..\src\saveload\signs_sl.cpp" />
|
<ClCompile Include="..\src\saveload\signs_sl.cpp" />
|
||||||
<ClCompile Include="..\src\saveload\station_sl.cpp" />
|
<ClCompile Include="..\src\saveload\station_sl.cpp" />
|
||||||
<ClCompile Include="..\src\saveload\storage_sl.cpp" />
|
<ClCompile Include="..\src\saveload\storage_sl.cpp" />
|
||||||
@@ -1001,6 +1032,8 @@
|
|||||||
<ClInclude Include="..\src\script\api\script_cargo.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargo.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_cargolist.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargolist.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp" />
|
||||||
|
<ClInclude Include="..\src\script\api\script_client.hpp" />
|
||||||
|
<ClInclude Include="..\src\script\api\script_clientlist.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_company.hpp" />
|
<ClInclude Include="..\src\script\api\script_company.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_companymode.hpp" />
|
<ClInclude Include="..\src\script\api\script_companymode.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_controller.hpp" />
|
<ClInclude Include="..\src\script\api\script_controller.hpp" />
|
||||||
@@ -1066,6 +1099,8 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_cargo.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargo.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_cargolist.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargolist.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp" />
|
||||||
|
<ClCompile Include="..\src\script\api\script_client.cpp" />
|
||||||
|
<ClCompile Include="..\src\script\api\script_clientlist.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_company.cpp" />
|
<ClCompile Include="..\src\script\api\script_company.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_companymode.cpp" />
|
<ClCompile Include="..\src\script\api\script_companymode.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_controller.cpp" />
|
<ClCompile Include="..\src\script\api\script_controller.cpp" />
|
||||||
@@ -1121,6 +1156,8 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_window.cpp" />
|
<ClCompile Include="..\src\script\api\script_window.cpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
|
||||||
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
|
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
|
||||||
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse2.cpp" />
|
||||||
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse2.hpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp" />
|
||||||
<ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp" />
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
|
||||||
@@ -1265,19 +1302,22 @@
|
|||||||
<ClCompile Include="..\src\video\win32_v.cpp" />
|
<ClCompile Include="..\src\video\win32_v.cpp" />
|
||||||
<ClCompile Include="..\src\music\dmusic.cpp" />
|
<ClCompile Include="..\src\music\dmusic.cpp" />
|
||||||
<ClCompile Include="..\src\music\null_m.cpp" />
|
<ClCompile Include="..\src\music\null_m.cpp" />
|
||||||
|
<ClCompile Include="..\src\music\midifile.cpp" />
|
||||||
<ClCompile Include="..\src\music\win32_m.cpp" />
|
<ClCompile Include="..\src\music\win32_m.cpp" />
|
||||||
<ClCompile Include="..\src\sound\null_s.cpp" />
|
<ClCompile Include="..\src\sound\null_s.cpp" />
|
||||||
<ClCompile Include="..\src\sound\sdl_s.cpp" />
|
<ClCompile Include="..\src\sound\sdl_s.cpp" />
|
||||||
<ClCompile Include="..\src\sound\win32_s.cpp" />
|
<ClCompile Include="..\src\sound\win32_s.cpp" />
|
||||||
|
<ClCompile Include="..\src\sound\xaudio2_s.cpp" />
|
||||||
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
|
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
|
||||||
<ResourceCompile Include="..\src\os\windows\ottdres.rc" />
|
<ResourceCompile Include="..\src\os\windows\ottdres.rc" />
|
||||||
|
<ClCompile Include="..\src\os\windows\string_uniscribe.cpp" />
|
||||||
<ClCompile Include="..\src\os\windows\win32.cpp" />
|
<ClCompile Include="..\src\os\windows\win32.cpp" />
|
||||||
<ClInclude Include="..\src\thread\thread.h" />
|
<ClInclude Include="..\src\thread\thread.h" />
|
||||||
<ClCompile Include="..\src\thread\thread_win32.cpp" />
|
<ClCompile Include="..\src\thread\thread_win32.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="langs_vs100.vcxproj">
|
<ProjectReference Include="langs_vs100.vcxproj">
|
||||||
|
@@ -864,6 +864,12 @@
|
|||||||
<ClInclude Include="..\src\news_type.h">
|
<ClInclude Include="..\src\news_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\music\midi.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\music\midifile.hpp">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\music\null_m.h">
|
<ClInclude Include="..\src\music\null_m.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1047,6 +1053,9 @@
|
|||||||
<ClInclude Include="..\src\string_type.h">
|
<ClInclude Include="..\src\string_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\os\windows\string_uniscribe.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\stringfilter_type.h">
|
<ClInclude Include="..\src\stringfilter_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1206,6 +1215,9 @@
|
|||||||
<ClInclude Include="..\src\window_type.h">
|
<ClInclude Include="..\src\window_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\sound\xaudio2_s.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\zoom_func.h">
|
<ClInclude Include="..\src\zoom_func.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1230,6 +1242,12 @@
|
|||||||
<ClInclude Include="..\src\core\bitmath_func.hpp">
|
<ClInclude Include="..\src\core\bitmath_func.hpp">
|
||||||
<Filter>Core Source Code</Filter>
|
<Filter>Core Source Code</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\core\container_func.hpp">
|
||||||
|
<Filter>Core Source Code</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\core\dyn_arena_alloc.hpp">
|
||||||
|
<Filter>Core Source Code</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\core\endian_func.hpp">
|
<ClInclude Include="..\src\core\endian_func.hpp">
|
||||||
<Filter>Core Source Code</Filter>
|
<Filter>Core Source Code</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1812,6 +1830,9 @@
|
|||||||
<ClInclude Include="..\src\saveload\saveload_internal.h">
|
<ClInclude Include="..\src\saveload\saveload_internal.h">
|
||||||
<Filter>Save/Load handlers</Filter>
|
<Filter>Save/Load handlers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\saveload\saveload_buffer.h">
|
||||||
|
<Filter>Save/Load handlers</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClCompile Include="..\src\saveload\signs_sl.cpp">
|
<ClCompile Include="..\src\saveload\signs_sl.cpp">
|
||||||
<Filter>Save/Load handlers</Filter>
|
<Filter>Save/Load handlers</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -2232,6 +2253,12 @@
|
|||||||
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp">
|
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp">
|
||||||
<Filter>Script API</Filter>
|
<Filter>Script API</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\script\api\script_client.hpp">
|
||||||
|
<Filter>Script API</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\script\api\script_clientlist.hpp">
|
||||||
|
<Filter>Script API</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\script\api\script_company.hpp">
|
<ClInclude Include="..\src\script\api\script_company.hpp">
|
||||||
<Filter>Script API</Filter>
|
<Filter>Script API</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -2427,6 +2454,12 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp">
|
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp">
|
||||||
<Filter>Script API Implementation</Filter>
|
<Filter>Script API Implementation</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\script\api\script_client.cpp">
|
||||||
|
<Filter>Script API Implementation</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\script\api\script_clientlist.cpp">
|
||||||
|
<Filter>Script API Implementation</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\script\api\script_company.cpp">
|
<ClCompile Include="..\src\script\api\script_company.cpp">
|
||||||
<Filter>Script API Implementation</Filter>
|
<Filter>Script API Implementation</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -2592,6 +2625,12 @@
|
|||||||
<ClInclude Include="..\src\blitter\32bpp_anim.hpp">
|
<ClInclude Include="..\src\blitter\32bpp_anim.hpp">
|
||||||
<Filter>Blitters</Filter>
|
<Filter>Blitters</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse2.cpp">
|
||||||
|
<Filter>Blitters</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse2.hpp">
|
||||||
|
<Filter>Blitters</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp">
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp">
|
||||||
<Filter>Blitters</Filter>
|
<Filter>Blitters</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3024,6 +3063,9 @@
|
|||||||
<ClCompile Include="..\src\music\null_m.cpp">
|
<ClCompile Include="..\src\music\null_m.cpp">
|
||||||
<Filter>Music</Filter>
|
<Filter>Music</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\music\midifile.cpp">
|
||||||
|
<Filter>Music</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\music\win32_m.cpp">
|
<ClCompile Include="..\src\music\win32_m.cpp">
|
||||||
<Filter>Music</Filter>
|
<Filter>Music</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3036,12 +3078,18 @@
|
|||||||
<ClCompile Include="..\src\sound\win32_s.cpp">
|
<ClCompile Include="..\src\sound\win32_s.cpp">
|
||||||
<Filter>Sound</Filter>
|
<Filter>Sound</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\sound\xaudio2_s.cpp">
|
||||||
|
<Filter>Sound</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\os\windows\crashlog_win.cpp">
|
<ClCompile Include="..\src\os\windows\crashlog_win.cpp">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile Include="..\src\os\windows\ottdres.rc">
|
<ResourceCompile Include="..\src\os\windows\ottdres.rc">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
|
<ClCompile Include="..\src\os\windows\string_uniscribe.cpp">
|
||||||
|
<Filter>Windows files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\os\windows\win32.cpp">
|
<ClCompile Include="..\src\os\windows\win32.cpp">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3054,6 +3102,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -8,6 +8,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -102,7 +102,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -145,6 +145,12 @@
|
|||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -156,7 +162,7 @@
|
|||||||
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -176,7 +182,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -188,6 +194,12 @@
|
|||||||
</DataExecutionPrevention>
|
</DataExecutionPrevention>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -204,7 +216,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -233,7 +245,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -244,6 +256,12 @@
|
|||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -256,7 +274,7 @@
|
|||||||
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -280,7 +298,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -289,13 +307,19 @@
|
|||||||
<StackCommitSize>1048576</StackCommitSize>
|
<StackCommitSize>1048576</StackCommitSize>
|
||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
</Link>
|
</Link>
|
||||||
|
<Manifest>
|
||||||
|
<AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
|
||||||
|
</Manifest>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
!!FILES!!
|
!!FILES!!
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="langs_vs100.vcxproj">
|
<ProjectReference Include="langs_vs100.vcxproj">
|
||||||
|
@@ -105,7 +105,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -151,6 +151,13 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -163,7 +170,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -185,7 +192,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -198,6 +205,13 @@
|
|||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -214,7 +228,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -245,7 +259,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -257,6 +271,13 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -270,7 +291,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -296,7 +317,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -306,6 +327,13 @@
|
|||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\src\airport.cpp" />
|
<ClCompile Include="..\src\airport.cpp" />
|
||||||
@@ -562,6 +590,8 @@
|
|||||||
<ClInclude Include="..\src\news_func.h" />
|
<ClInclude Include="..\src\news_func.h" />
|
||||||
<ClInclude Include="..\src\news_gui.h" />
|
<ClInclude Include="..\src\news_gui.h" />
|
||||||
<ClInclude Include="..\src\news_type.h" />
|
<ClInclude Include="..\src\news_type.h" />
|
||||||
|
<ClInclude Include="..\src\music\midi.h" />
|
||||||
|
<ClInclude Include="..\src\music\midifile.hpp" />
|
||||||
<ClInclude Include="..\src\music\null_m.h" />
|
<ClInclude Include="..\src\music\null_m.h" />
|
||||||
<ClInclude Include="..\src\sound\null_s.h" />
|
<ClInclude Include="..\src\sound\null_s.h" />
|
||||||
<ClInclude Include="..\src\video\null_v.h" />
|
<ClInclude Include="..\src\video\null_v.h" />
|
||||||
@@ -623,6 +653,7 @@
|
|||||||
<ClInclude Include="..\src\string_base.h" />
|
<ClInclude Include="..\src\string_base.h" />
|
||||||
<ClInclude Include="..\src\string_func.h" />
|
<ClInclude Include="..\src\string_func.h" />
|
||||||
<ClInclude Include="..\src\string_type.h" />
|
<ClInclude Include="..\src\string_type.h" />
|
||||||
|
<ClInclude Include="..\src\os\windows\string_uniscribe.h" />
|
||||||
<ClInclude Include="..\src\stringfilter_type.h" />
|
<ClInclude Include="..\src\stringfilter_type.h" />
|
||||||
<ClInclude Include="..\src\strings_func.h" />
|
<ClInclude Include="..\src\strings_func.h" />
|
||||||
<ClInclude Include="..\src\strings_type.h" />
|
<ClInclude Include="..\src\strings_type.h" />
|
||||||
@@ -676,6 +707,7 @@
|
|||||||
<ClInclude Include="..\src\window_func.h" />
|
<ClInclude Include="..\src\window_func.h" />
|
||||||
<ClInclude Include="..\src\window_gui.h" />
|
<ClInclude Include="..\src\window_gui.h" />
|
||||||
<ClInclude Include="..\src\window_type.h" />
|
<ClInclude Include="..\src\window_type.h" />
|
||||||
|
<ClInclude Include="..\src\sound\xaudio2_s.h" />
|
||||||
<ClInclude Include="..\src\zoom_func.h" />
|
<ClInclude Include="..\src\zoom_func.h" />
|
||||||
<ClInclude Include="..\src\zoom_type.h" />
|
<ClInclude Include="..\src\zoom_type.h" />
|
||||||
<ClCompile Include="..\src\core\alloc_func.cpp" />
|
<ClCompile Include="..\src\core\alloc_func.cpp" />
|
||||||
@@ -684,6 +716,8 @@
|
|||||||
<ClInclude Include="..\src\core\backup_type.hpp" />
|
<ClInclude Include="..\src\core\backup_type.hpp" />
|
||||||
<ClCompile Include="..\src\core\bitmath_func.cpp" />
|
<ClCompile Include="..\src\core\bitmath_func.cpp" />
|
||||||
<ClInclude Include="..\src\core\bitmath_func.hpp" />
|
<ClInclude Include="..\src\core\bitmath_func.hpp" />
|
||||||
|
<ClInclude Include="..\src\core\container_func.hpp" />
|
||||||
|
<ClInclude Include="..\src\core\dyn_arena_alloc.hpp" />
|
||||||
<ClInclude Include="..\src\core\endian_func.hpp" />
|
<ClInclude Include="..\src\core\endian_func.hpp" />
|
||||||
<ClInclude Include="..\src\core\endian_type.hpp" />
|
<ClInclude Include="..\src\core\endian_type.hpp" />
|
||||||
<ClInclude Include="..\src\core\enum_type.hpp" />
|
<ClInclude Include="..\src\core\enum_type.hpp" />
|
||||||
@@ -878,6 +912,7 @@
|
|||||||
<ClInclude Include="..\src\saveload\saveload.h" />
|
<ClInclude Include="..\src\saveload\saveload.h" />
|
||||||
<ClInclude Include="..\src\saveload\saveload_filter.h" />
|
<ClInclude Include="..\src\saveload\saveload_filter.h" />
|
||||||
<ClInclude Include="..\src\saveload\saveload_internal.h" />
|
<ClInclude Include="..\src\saveload\saveload_internal.h" />
|
||||||
|
<ClInclude Include="..\src\saveload\saveload_buffer.h" />
|
||||||
<ClCompile Include="..\src\saveload\signs_sl.cpp" />
|
<ClCompile Include="..\src\saveload\signs_sl.cpp" />
|
||||||
<ClCompile Include="..\src\saveload\station_sl.cpp" />
|
<ClCompile Include="..\src\saveload\station_sl.cpp" />
|
||||||
<ClCompile Include="..\src\saveload\storage_sl.cpp" />
|
<ClCompile Include="..\src\saveload\storage_sl.cpp" />
|
||||||
@@ -1018,6 +1053,8 @@
|
|||||||
<ClInclude Include="..\src\script\api\script_cargo.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargo.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_cargolist.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargolist.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp" />
|
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp" />
|
||||||
|
<ClInclude Include="..\src\script\api\script_client.hpp" />
|
||||||
|
<ClInclude Include="..\src\script\api\script_clientlist.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_company.hpp" />
|
<ClInclude Include="..\src\script\api\script_company.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_companymode.hpp" />
|
<ClInclude Include="..\src\script\api\script_companymode.hpp" />
|
||||||
<ClInclude Include="..\src\script\api\script_controller.hpp" />
|
<ClInclude Include="..\src\script\api\script_controller.hpp" />
|
||||||
@@ -1083,6 +1120,8 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_cargo.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargo.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_cargolist.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargolist.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp" />
|
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp" />
|
||||||
|
<ClCompile Include="..\src\script\api\script_client.cpp" />
|
||||||
|
<ClCompile Include="..\src\script\api\script_clientlist.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_company.cpp" />
|
<ClCompile Include="..\src\script\api\script_company.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_companymode.cpp" />
|
<ClCompile Include="..\src\script\api\script_companymode.cpp" />
|
||||||
<ClCompile Include="..\src\script\api\script_controller.cpp" />
|
<ClCompile Include="..\src\script\api\script_controller.cpp" />
|
||||||
@@ -1138,6 +1177,8 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_window.cpp" />
|
<ClCompile Include="..\src\script\api\script_window.cpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
|
||||||
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
|
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
|
||||||
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse2.cpp" />
|
||||||
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse2.hpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp" />
|
||||||
<ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp" />
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse4.hpp" />
|
||||||
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
|
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
|
||||||
@@ -1282,30 +1323,33 @@
|
|||||||
<ClCompile Include="..\src\video\win32_v.cpp" />
|
<ClCompile Include="..\src\video\win32_v.cpp" />
|
||||||
<ClCompile Include="..\src\music\dmusic.cpp" />
|
<ClCompile Include="..\src\music\dmusic.cpp" />
|
||||||
<ClCompile Include="..\src\music\null_m.cpp" />
|
<ClCompile Include="..\src\music\null_m.cpp" />
|
||||||
|
<ClCompile Include="..\src\music\midifile.cpp" />
|
||||||
<ClCompile Include="..\src\music\win32_m.cpp" />
|
<ClCompile Include="..\src\music\win32_m.cpp" />
|
||||||
<ClCompile Include="..\src\sound\null_s.cpp" />
|
<ClCompile Include="..\src\sound\null_s.cpp" />
|
||||||
<ClCompile Include="..\src\sound\sdl_s.cpp" />
|
<ClCompile Include="..\src\sound\sdl_s.cpp" />
|
||||||
<ClCompile Include="..\src\sound\win32_s.cpp" />
|
<ClCompile Include="..\src\sound\win32_s.cpp" />
|
||||||
|
<ClCompile Include="..\src\sound\xaudio2_s.cpp" />
|
||||||
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
|
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
|
||||||
<ResourceCompile Include="..\src\os\windows\ottdres.rc" />
|
<ResourceCompile Include="..\src\os\windows\ottdres.rc" />
|
||||||
|
<ClCompile Include="..\src\os\windows\string_uniscribe.cpp" />
|
||||||
<ClCompile Include="..\src\os\windows\win32.cpp" />
|
<ClCompile Include="..\src\os\windows\win32.cpp" />
|
||||||
<ClInclude Include="..\src\thread\thread.h" />
|
<ClInclude Include="..\src\thread\thread.h" />
|
||||||
<ClCompile Include="..\src\thread\thread_win32.cpp" />
|
<ClCompile Include="..\src\thread\thread_win32.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="langs_vs100.vcxproj">
|
<ProjectReference Include="langs_vs140.vcxproj">
|
||||||
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="strgen_vs100.vcxproj">
|
<ProjectReference Include="strgen_vs140.vcxproj">
|
||||||
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="version_vs100.vcxproj">
|
<ProjectReference Include="version_vs140.vcxproj">
|
||||||
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
@@ -864,6 +864,12 @@
|
|||||||
<ClInclude Include="..\src\news_type.h">
|
<ClInclude Include="..\src\news_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\music\midi.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\music\midifile.hpp">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\music\null_m.h">
|
<ClInclude Include="..\src\music\null_m.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1047,6 +1053,9 @@
|
|||||||
<ClInclude Include="..\src\string_type.h">
|
<ClInclude Include="..\src\string_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\os\windows\string_uniscribe.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\stringfilter_type.h">
|
<ClInclude Include="..\src\stringfilter_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1206,6 +1215,9 @@
|
|||||||
<ClInclude Include="..\src\window_type.h">
|
<ClInclude Include="..\src\window_type.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\sound\xaudio2_s.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\zoom_func.h">
|
<ClInclude Include="..\src\zoom_func.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1230,6 +1242,12 @@
|
|||||||
<ClInclude Include="..\src\core\bitmath_func.hpp">
|
<ClInclude Include="..\src\core\bitmath_func.hpp">
|
||||||
<Filter>Core Source Code</Filter>
|
<Filter>Core Source Code</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\core\container_func.hpp">
|
||||||
|
<Filter>Core Source Code</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\core\dyn_arena_alloc.hpp">
|
||||||
|
<Filter>Core Source Code</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\core\endian_func.hpp">
|
<ClInclude Include="..\src\core\endian_func.hpp">
|
||||||
<Filter>Core Source Code</Filter>
|
<Filter>Core Source Code</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1812,6 +1830,9 @@
|
|||||||
<ClInclude Include="..\src\saveload\saveload_internal.h">
|
<ClInclude Include="..\src\saveload\saveload_internal.h">
|
||||||
<Filter>Save/Load handlers</Filter>
|
<Filter>Save/Load handlers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\saveload\saveload_buffer.h">
|
||||||
|
<Filter>Save/Load handlers</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClCompile Include="..\src\saveload\signs_sl.cpp">
|
<ClCompile Include="..\src\saveload\signs_sl.cpp">
|
||||||
<Filter>Save/Load handlers</Filter>
|
<Filter>Save/Load handlers</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -2232,6 +2253,12 @@
|
|||||||
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp">
|
<ClInclude Include="..\src\script\api\script_cargomonitor.hpp">
|
||||||
<Filter>Script API</Filter>
|
<Filter>Script API</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\script\api\script_client.hpp">
|
||||||
|
<Filter>Script API</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\script\api\script_clientlist.hpp">
|
||||||
|
<Filter>Script API</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\script\api\script_company.hpp">
|
<ClInclude Include="..\src\script\api\script_company.hpp">
|
||||||
<Filter>Script API</Filter>
|
<Filter>Script API</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -2427,6 +2454,12 @@
|
|||||||
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp">
|
<ClCompile Include="..\src\script\api\script_cargomonitor.cpp">
|
||||||
<Filter>Script API Implementation</Filter>
|
<Filter>Script API Implementation</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\script\api\script_client.cpp">
|
||||||
|
<Filter>Script API Implementation</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\script\api\script_clientlist.cpp">
|
||||||
|
<Filter>Script API Implementation</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\script\api\script_company.cpp">
|
<ClCompile Include="..\src\script\api\script_company.cpp">
|
||||||
<Filter>Script API Implementation</Filter>
|
<Filter>Script API Implementation</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -2592,6 +2625,12 @@
|
|||||||
<ClInclude Include="..\src\blitter\32bpp_anim.hpp">
|
<ClInclude Include="..\src\blitter\32bpp_anim.hpp">
|
||||||
<Filter>Blitters</Filter>
|
<Filter>Blitters</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse2.cpp">
|
||||||
|
<Filter>Blitters</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClInclude Include="..\src\blitter\32bpp_anim_sse2.hpp">
|
||||||
|
<Filter>Blitters</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp">
|
<ClCompile Include="..\src\blitter\32bpp_anim_sse4.cpp">
|
||||||
<Filter>Blitters</Filter>
|
<Filter>Blitters</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3024,6 +3063,9 @@
|
|||||||
<ClCompile Include="..\src\music\null_m.cpp">
|
<ClCompile Include="..\src\music\null_m.cpp">
|
||||||
<Filter>Music</Filter>
|
<Filter>Music</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\music\midifile.cpp">
|
||||||
|
<Filter>Music</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\music\win32_m.cpp">
|
<ClCompile Include="..\src\music\win32_m.cpp">
|
||||||
<Filter>Music</Filter>
|
<Filter>Music</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3036,12 +3078,18 @@
|
|||||||
<ClCompile Include="..\src\sound\win32_s.cpp">
|
<ClCompile Include="..\src\sound\win32_s.cpp">
|
||||||
<Filter>Sound</Filter>
|
<Filter>Sound</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\sound\xaudio2_s.cpp">
|
||||||
|
<Filter>Sound</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\os\windows\crashlog_win.cpp">
|
<ClCompile Include="..\src\os\windows\crashlog_win.cpp">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile Include="..\src\os\windows\ottdres.rc">
|
<ResourceCompile Include="..\src\os\windows\ottdres.rc">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
|
<ClCompile Include="..\src\os\windows\string_uniscribe.cpp">
|
||||||
|
<Filter>Windows files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\os\windows\win32.cpp">
|
<ClCompile Include="..\src\os\windows\win32.cpp">
|
||||||
<Filter>Windows files</Filter>
|
<Filter>Windows files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -3054,6 +3102,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -8,6 +8,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -105,7 +105,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -151,6 +151,13 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -163,7 +170,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -185,7 +192,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -198,6 +205,13 @@
|
|||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -214,7 +228,7 @@
|
|||||||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<ExceptionHandling>Sync</ExceptionHandling>
|
<ExceptionHandling>Sync</ExceptionHandling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
@@ -245,7 +259,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -257,6 +271,13 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -270,7 +291,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
@@ -296,7 +317,7 @@
|
|||||||
<Culture>0x0809</Culture>
|
<Culture>0x0809</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;icuuc.lib;icuin.lib;icudt.lib;icule.lib;iculx.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>winmm.lib;ws2_32.lib;imm32.lib;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
<IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@@ -306,24 +327,31 @@
|
|||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
</Link>
|
</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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
!!FILES!!
|
!!FILES!!
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\media\openttd.ico" />
|
<None Include="..\media\openttd.ico" />
|
||||||
<None Include="..\readme.txt" />
|
<None Include="..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="langs_vs100.vcxproj">
|
<ProjectReference Include="langs_vs140.vcxproj">
|
||||||
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
<Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="strgen_vs100.vcxproj">
|
<ProjectReference Include="strgen_vs140.vcxproj">
|
||||||
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
<Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="version_vs100.vcxproj">
|
<ProjectReference Include="version_vs140.vcxproj">
|
||||||
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
<Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project>
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
94
projects/openttd_vs141.sln
Normal file
94
projects/openttd_vs141.sln
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
|
||||||
|
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}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{0817F629-589E-4A3B-B81A-8647BC571E35} = {0817F629-589E-4A3B-B81A-8647BC571E35}
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
|
||||||
|
EndProjectSection
|
||||||
|
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}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settingsgen", "settingsgen_vs141.vcxproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
|
||||||
|
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
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(DPCodeReviewSolutionGUID) = preSolution
|
||||||
|
DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
1353
projects/openttd_vs141.vcxproj
Normal file
1353
projects/openttd_vs141.vcxproj
Normal file
File diff suppressed because it is too large
Load Diff
3092
projects/openttd_vs141.vcxproj.filters
Normal file
3092
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>
|
360
projects/openttd_vs141.vcxproj.in
Normal file
360
projects/openttd_vs141.vcxproj.in
Normal file
@@ -0,0 +1,360 @@
|
|||||||
|
<?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>
|
||||||
|
</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>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;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;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.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>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;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;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.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>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;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;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.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>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_XAUDIO2;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;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;libpng.lib;zlibstat.lib;lzo2.lib;liblzma.lib;libfreetype2.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="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>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
@@ -52,7 +52,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -122,6 +122,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -156,7 +158,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -184,7 +186,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -217,6 +219,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -257,7 +261,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -292,7 +296,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -327,6 +331,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -362,7 +368,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -392,7 +398,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -425,6 +431,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@@ -1454,6 +1462,14 @@
|
|||||||
RelativePath=".\..\src\news_type.h"
|
RelativePath=".\..\src\news_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midi.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midifile.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\music\null_m.h"
|
RelativePath=".\..\src\music\null_m.h"
|
||||||
>
|
>
|
||||||
@@ -1698,6 +1714,10 @@
|
|||||||
RelativePath=".\..\src\string_type.h"
|
RelativePath=".\..\src\string_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\os\windows\string_uniscribe.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\stringfilter_type.h"
|
RelativePath=".\..\src\stringfilter_type.h"
|
||||||
>
|
>
|
||||||
@@ -1910,6 +1930,10 @@
|
|||||||
RelativePath=".\..\src\window_type.h"
|
RelativePath=".\..\src\window_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\sound\xaudio2_s.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\zoom_func.h"
|
RelativePath=".\..\src\zoom_func.h"
|
||||||
>
|
>
|
||||||
@@ -1946,6 +1970,14 @@
|
|||||||
RelativePath=".\..\src\core\bitmath_func.hpp"
|
RelativePath=".\..\src\core\bitmath_func.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\core\container_func.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\core\dyn_arena_alloc.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\core\endian_func.hpp"
|
RelativePath=".\..\src\core\endian_func.hpp"
|
||||||
>
|
>
|
||||||
@@ -2738,6 +2770,10 @@
|
|||||||
RelativePath=".\..\src\saveload\saveload_internal.h"
|
RelativePath=".\..\src\saveload\saveload_internal.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\saveload\saveload_buffer.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\saveload\signs_sl.cpp"
|
RelativePath=".\..\src\saveload\signs_sl.cpp"
|
||||||
>
|
>
|
||||||
@@ -3338,6 +3374,14 @@
|
|||||||
RelativePath=".\..\src\script\api\script_cargomonitor.hpp"
|
RelativePath=".\..\src\script\api\script_cargomonitor.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_client.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_clientlist.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\script\api\script_company.hpp"
|
RelativePath=".\..\src\script\api\script_company.hpp"
|
||||||
>
|
>
|
||||||
@@ -3602,6 +3646,14 @@
|
|||||||
RelativePath=".\..\src\script\api\script_cargomonitor.cpp"
|
RelativePath=".\..\src\script\api\script_cargomonitor.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_client.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_clientlist.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\script\api\script_company.cpp"
|
RelativePath=".\..\src\script\api\script_company.cpp"
|
||||||
>
|
>
|
||||||
@@ -3826,6 +3878,14 @@
|
|||||||
RelativePath=".\..\src\blitter\32bpp_anim.hpp"
|
RelativePath=".\..\src\blitter\32bpp_anim.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\blitter\32bpp_anim_sse2.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\blitter\32bpp_anim_sse2.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
|
RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
|
||||||
>
|
>
|
||||||
@@ -4446,6 +4506,10 @@
|
|||||||
RelativePath=".\..\src\music\null_m.cpp"
|
RelativePath=".\..\src\music\null_m.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midifile.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\music\win32_m.cpp"
|
RelativePath=".\..\src\music\win32_m.cpp"
|
||||||
>
|
>
|
||||||
@@ -4466,6 +4530,10 @@
|
|||||||
RelativePath=".\..\src\sound\win32_s.cpp"
|
RelativePath=".\..\src\sound\win32_s.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\sound\xaudio2_s.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Windows files"
|
Name="Windows files"
|
||||||
@@ -4478,6 +4546,10 @@
|
|||||||
RelativePath=".\..\src\os\windows\ottdres.rc"
|
RelativePath=".\..\src\os\windows\ottdres.rc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\os\windows\string_uniscribe.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\os\windows\win32.cpp"
|
RelativePath=".\..\src\os\windows\win32.cpp"
|
||||||
>
|
>
|
||||||
@@ -4500,7 +4572,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\readme.txt"
|
RelativePath=".\..\README.md"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -122,6 +122,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -156,7 +158,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -184,7 +186,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -217,6 +219,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -257,7 +261,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -292,7 +296,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -327,6 +331,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -362,7 +368,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -392,7 +398,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -425,6 +431,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@@ -437,7 +445,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\readme.txt"
|
RelativePath=".\..\README.md"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -121,6 +121,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -155,7 +157,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -183,7 +185,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -215,6 +217,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -255,7 +259,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -290,7 +294,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -324,6 +328,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -359,7 +365,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -389,7 +395,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -422,6 +428,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@@ -1451,6 +1459,14 @@
|
|||||||
RelativePath=".\..\src\news_type.h"
|
RelativePath=".\..\src\news_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midi.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midifile.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\music\null_m.h"
|
RelativePath=".\..\src\music\null_m.h"
|
||||||
>
|
>
|
||||||
@@ -1695,6 +1711,10 @@
|
|||||||
RelativePath=".\..\src\string_type.h"
|
RelativePath=".\..\src\string_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\os\windows\string_uniscribe.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\stringfilter_type.h"
|
RelativePath=".\..\src\stringfilter_type.h"
|
||||||
>
|
>
|
||||||
@@ -1907,6 +1927,10 @@
|
|||||||
RelativePath=".\..\src\window_type.h"
|
RelativePath=".\..\src\window_type.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\sound\xaudio2_s.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\zoom_func.h"
|
RelativePath=".\..\src\zoom_func.h"
|
||||||
>
|
>
|
||||||
@@ -1943,6 +1967,14 @@
|
|||||||
RelativePath=".\..\src\core\bitmath_func.hpp"
|
RelativePath=".\..\src\core\bitmath_func.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\core\container_func.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\core\dyn_arena_alloc.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\core\endian_func.hpp"
|
RelativePath=".\..\src\core\endian_func.hpp"
|
||||||
>
|
>
|
||||||
@@ -2735,6 +2767,10 @@
|
|||||||
RelativePath=".\..\src\saveload\saveload_internal.h"
|
RelativePath=".\..\src\saveload\saveload_internal.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\saveload\saveload_buffer.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\saveload\signs_sl.cpp"
|
RelativePath=".\..\src\saveload\signs_sl.cpp"
|
||||||
>
|
>
|
||||||
@@ -3335,6 +3371,14 @@
|
|||||||
RelativePath=".\..\src\script\api\script_cargomonitor.hpp"
|
RelativePath=".\..\src\script\api\script_cargomonitor.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_client.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_clientlist.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\script\api\script_company.hpp"
|
RelativePath=".\..\src\script\api\script_company.hpp"
|
||||||
>
|
>
|
||||||
@@ -3599,6 +3643,14 @@
|
|||||||
RelativePath=".\..\src\script\api\script_cargomonitor.cpp"
|
RelativePath=".\..\src\script\api\script_cargomonitor.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_client.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\script\api\script_clientlist.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\script\api\script_company.cpp"
|
RelativePath=".\..\src\script\api\script_company.cpp"
|
||||||
>
|
>
|
||||||
@@ -3823,6 +3875,14 @@
|
|||||||
RelativePath=".\..\src\blitter\32bpp_anim.hpp"
|
RelativePath=".\..\src\blitter\32bpp_anim.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\blitter\32bpp_anim_sse2.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\blitter\32bpp_anim_sse2.hpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
|
RelativePath=".\..\src\blitter\32bpp_anim_sse4.cpp"
|
||||||
>
|
>
|
||||||
@@ -4443,6 +4503,10 @@
|
|||||||
RelativePath=".\..\src\music\null_m.cpp"
|
RelativePath=".\..\src\music\null_m.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\music\midifile.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\music\win32_m.cpp"
|
RelativePath=".\..\src\music\win32_m.cpp"
|
||||||
>
|
>
|
||||||
@@ -4463,6 +4527,10 @@
|
|||||||
RelativePath=".\..\src\sound\win32_s.cpp"
|
RelativePath=".\..\src\sound\win32_s.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\sound\xaudio2_s.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Windows files"
|
Name="Windows files"
|
||||||
@@ -4475,6 +4543,10 @@
|
|||||||
RelativePath=".\..\src\os\windows\ottdres.rc"
|
RelativePath=".\..\src\os\windows\ottdres.rc"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\os\windows\string_uniscribe.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\os\windows\win32.cpp"
|
RelativePath=".\..\src\os\windows\win32.cpp"
|
||||||
>
|
>
|
||||||
@@ -4497,7 +4569,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\readme.txt"
|
RelativePath=".\..\README.md"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -121,6 +121,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -155,7 +157,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\""
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -183,7 +185,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -215,6 +217,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -255,7 +259,7 @@
|
|||||||
FavorSizeOrSpeed="2"
|
FavorSizeOrSpeed="2"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64;WITH_ASSERT"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="1"
|
ExceptionHandling="1"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
@@ -290,7 +294,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
@@ -324,6 +328,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@@ -359,7 +365,7 @@
|
|||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU_SORT;WITH_ICU_LAYOUT;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_UNISCRIBE;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\"OpenTTD\";_SQ64"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@@ -389,7 +395,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib icuuc.lib icuin.lib icudt.lib icule.lib iculx.lib"
|
AdditionalDependencies="winmm.lib ws2_32.lib imm32.lib libpng.lib zlibstat.lib lzo2.lib liblzma.lib libfreetype2.lib"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
IgnoreDefaultLibraryNames="LIBCMT.lib"
|
||||||
@@ -422,6 +428,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description=""
|
||||||
|
CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@@ -434,7 +442,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\readme.txt"
|
RelativePath=".\..\README.md"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
|
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>
|
54
projects/settings_vs141.vcxproj
Normal file
54
projects/settings_vs141.vcxproj
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?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>
|
||||||
|
<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>
|
15
projects/settings_vs141.vcxproj.filters.in
Normal file
15
projects/settings_vs141.vcxproj.filters.in
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?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>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\settings.h.postamble" />
|
||||||
|
<None Include="..\src\table\settings.h.preamble" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
48
projects/settings_vs141.vcxproj.in
Normal file
48
projects/settings_vs141.vcxproj.in
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<?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>
|
||||||
|
!!FILTERS!!
|
||||||
|
</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>
|
||||||
|
!!FILES!!
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\src\table\settings.h.postamble" />
|
||||||
|
<None Include="..\src\table\settings.h.preamble" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
83
projects/settingsgen_vs141.vcxproj
Normal file
83
projects/settingsgen_vs141.vcxproj
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
<?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>settingsgen</ProjectName>
|
||||||
|
<ProjectGuid>{E9548DE9-F089-49B7-93A6-30BE2CC311C7}</ProjectGuid>
|
||||||
|
<RootNamespace>settings</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<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>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\</IntDir>
|
||||||
|
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">settings_gen</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
<CustomBuildStep>
|
||||||
|
<Inputs>%(Inputs)</Inputs>
|
||||||
|
</CustomBuildStep>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MinSpace</Optimization>
|
||||||
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
||||||
|
<PreprocessorDefinitions>SETTINGSGEN;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AssemblerOutput>All</AssemblerOutput>
|
||||||
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<OutputFile>$(OutDir)settings_gen.exe</OutputFile>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\core\alloc_func.cpp" />
|
||||||
|
<ClCompile Include="..\src\misc\getoptdata.cpp" />
|
||||||
|
<ClCompile Include="..\src\ini_load.cpp" />
|
||||||
|
<ClCompile Include="..\src\settingsgen\settingsgen.cpp" />
|
||||||
|
<ClCompile Include="..\src\string.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\src\misc\getoptdata.h" />
|
||||||
|
<ClInclude Include="..\src\ini_type.h" />
|
||||||
|
<ClInclude Include="..\src\core\smallvec_type.hpp" />
|
||||||
|
<ClInclude Include="..\src\string_func.h" />
|
||||||
|
<ClInclude Include="..\src\strings_type.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user