Jonathan G Rennison
01261daec0
Merge branch 'master' into cpp-11
...
# Conflicts:
# config.lib
6 years ago
Michael Lutz
05bc2ed7cb
Codechange: Replace custom thread code with C++11 thread objects.
...
We assume a conforming C++11 compiler environment that has a valid <thread>-header.
Failure to run a real thread is handled gracefully.
6 years ago
Charles Pigott
fe448a2616
Remove: OPF
6 years ago
Patric Stout
7adae09897
Codechange: liblzma is called liblzma, how ever strange that might be
...
It is the only library we use that calls itself with 'lib' in the
name. This might be confusing, but with the arrival of cmake a lot
of these things are automated. And detection will find 'liblzma',
not 'lzma', like with 'lzo', 'zlib', ..
6 years ago
Niels Martin Hansen
e8d397e4ee
Codechange: Make a merged k-d tree index of all viewport signs
6 years ago
Niels Martin Hansen
d84b67e54d
Codechange: Make a k-d tree index of stations
6 years ago
Niels Martin Hansen
7b56be0f3a
Codechange: Make a k-d tree index of towns
6 years ago
Niels Martin Hansen
d7522e5e8f
Codechange: Add a k-d tree generic data structure
6 years ago
Peter Nelson
3542ed53d4
Add: BitmapTileArea and Iterator to handle sparse tile areas.
6 years ago
Charles Pigott
c3bc7d657e
Codechange: Remove ability for SDL to be dynamically loaded on Windows
6 years ago
Jonathan G Rennison
09c62d6951
Merge branch 'master' into cpp-11
6 years ago
Peter Nelson
1334cfb3e5
Change: Always build baseset metadata, instead of including it in the repo.
...
This adds a script and project files to generate these files within MSVC.
6 years ago
Jonathan G Rennison
db924a4681
Codechange: [Blitter] Change DrawLine to be templated
...
This is remove per-pixel overheads due to use of the SetPixel virtual
method.
These overheads included:
* expensive virtual method call which prevents inlining
* palette lookup for every pixel
* branch on whether palette animation is enabled on every pixel
Regenerate project files.
6 years ago
glx
98308fe260
Fix 7f54c59a6: use some consistency for project dependencies determination
6 years ago
Jonathan G Rennison
0bed63b77f
Merge branch 'master' into cpp-11
6 years ago
Peter Nelson
806e7d25dd
Change: Use GUITimer class instead of bare int/uints.
6 years ago
Jonathan G Rennison
962a9c5430
Merge branch 'master' into cpp-11
...
# Conflicts:
# config.lib
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# src/saveload/saveload.cpp
6 years ago
glx
e902a1cc57
Fix: [WIN32] no need to define WIN32 in project files
6 years ago
glx
3be6ab555c
Change: use vcpkg integration in Visual Studio
...
Removes the need for us to provide OpenTTD-useful package
6 years ago
J0an Josep
8975318286
Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation.
6 years ago
Niels Martin Hansen
2a868b9f3b
Feature: Framerate display window ( #6822 )
...
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
6 years ago
Michael Lutz
eec3f40931
Change: [Win32] Use Uniscribe instead of ICU for text caret handling.
...
This removes the need for the ICU lib on Windows.
6 years ago
Michael Lutz
33829dc6ab
Change: [Win32/MSVC] Make the Uniscribe text layouter the windows default and remove usage of the deprecated ICU layout libs.
6 years ago
Michael Lutz
768a31bfe3
Add: [Win32] Text layout using the native Windows Uniscribe library.
...
Uniscribe is sometimes producing different results compared to ICU, especially
when RTL and LTR content is mixed. Comparing the results to other programs
(like editors or web browsers) leads me to believe that the result are at least
not worse than ICU and possibly better.
6 years ago
Michael Lutz
a6300fe70b
Change: [Win32] Enable DirectMusic driver for Win64.
6 years ago
Jonathan G Rennison
17257b9620
Add: 32bpp SSE2 blitter palette animator ( #6795 )
...
Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this.
32bpp-sse2-anim is now used by default where 32bpp-anim would have been.
Also use this with the 32bpp-sse4-anim blitter.
See issue #6469 .
6 years ago
Owen Rudge
7bd2fa3516
Feature: Add XAudio2 driver
6 years ago
Niels Martin Hansen
b902e01e10
Change #6685 : Replace Win32 music driver with one not depending on MCI
...
MCI MIDI is poorly supported on newer versions of Windows and can cause large
delays at the beginning of tracks.
The new driver is based on a from-scratch reader for Standard MIDI Files. This
should be re-usable in other music drivers too, and can allow for finer control
of playback in general.
It also provides a better framework for reading MIDI data from other formats
than just SMF.
6 years ago
Jonathan G Rennison
b90c5b9618
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
ZehMatt
e7cc53ed62
Add: post build events to VS projects to copy the output into 'bin'
7 years ago
Pavel Stupnikov
6ff81b908e
Feature #6459 : API for querying network clients from GS ( #6736 )
7 years ago
Ricardo N Feliciano
e8de33a61f
Cleanup: Use new filename for README file. ( #6738 )
7 years ago
Michael Lutz
afa3e15afe
Change: [Win32] Declare in the app manifest that all current Windows versions are natively supported.
...
The main effect of this is currently a proper OS version in the crashlog.
7 years ago
Jonathan G Rennison
124d9a753e
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
frosch
f43f4981e3
(svn r27919) -Fix: MSVC 2015 and 2017 project files referenced some MSVC 2010 files
7 years ago
frosch
6120e69f21
(svn r27919) -Fix: MSVC 2015 and 2017 project files referenced some MSVC 2010 files
7 years ago
Jonathan G Rennison
f3a0aace0c
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
michi_cc
ac735cfaac
(svn r27790) -Fix [FS#6366]: [Win32] Mark OpenTTD as DPI-aware to avoid OS window scaling that breaks mouse input.
8 years ago
michi_cc
2d45d55925
(svn r27790) -Fix [FS#6366]: [Win32] Mark OpenTTD as DPI-aware to avoid OS window scaling that breaks mouse input.
8 years ago
Jonathan G Rennison
8f3e0c4fe5
Add a custom arena allocator utility.
8 years ago
Jonathan G Rennison
6e9ea59ab5
Add a simple scope guard include file.
8 years ago
frosch
7e59cf588d
(svn r27542) -Fix (r27367) [FS#6427]: ICU got disabled for Windows builds.
9 years ago
frosch
e7e6b45d89
(svn r27542) -Fix (r27367) [FS#6427]: ICU got disabled for Windows builds.
9 years ago
michi_cc
9f5503ba8f
(svn r27382) -Add: [Win32] Project files for Visual Studio 2015.
9 years ago
michi_cc
f4cd0198f4
(svn r27382) -Add: [Win32] Project files for Visual Studio 2015.
9 years ago