Philip Goto
c75be48653
Replace util_rand with built-in rand
2017-08-16 14:11:38 +02:00
Michael Steenbeek
6b47bbfc15
Update changelog.txt
2017-08-16 12:57:43 +02:00
Michael Steenbeek
9dcd9225a1
Update changelog.txt
2017-08-16 12:56:44 +02:00
Tomas Dittmann
35e7e6cbc0
Fix #6115 : Random title screen music not random on launch
...
The parity of the first random value is predictable (always even).
2017-08-16 12:55:56 +02:00
Michael Steenbeek
ba06296392
Update changelog.txt
2017-08-16 10:40:30 +02:00
Tomas Dittmann
d266ab5f91
Fix #6133 : Construction rights not shown after selecting buy mode
...
tool_set() cancels the previous tool, so it has to be called first or it will cancel the _landRightsMode that was meant to be activated.
2017-08-16 10:22:27 +02:00
Michael Steenbeek
4da15a6785
Merge pull request #6186 from Dennis-Z/develop
...
FilterRect for the OpenGL renderer implemented through palette remapping (like the software renderer)
2017-08-16 09:47:53 +02:00
Dennis-Z
2c2c5a6fde
Remove unused hardcoded color table
...
Was previously used for the old FiltRect stuff
2017-08-16 00:43:52 +02:00
Dennis-Z
75b784c107
Flush OpenGL command buffers before drawing a rectangle instead of after
...
This fixes an issue causing the first rectangle that is being drawn
to not be over whatever was previously drawn.
2017-08-16 00:43:47 +02:00
Dennis-Z
634ee96f54
Implement OpenGL renderer FilterRect through palette remapping
...
Replace the previous "filtering" of rectangles based on
luminance, now using a remap palette like the software renderer for
better output colors.
Various other simplifications regarding to rectangle rendering are
included here too.
2017-08-16 00:43:41 +02:00
Dennis-Z
97ad4ac402
Register/load glUniform1iv function
2017-08-16 00:43:25 +02:00
Michał Janiszewski
cff7080c51
Initialise pointer variable with nullptr, not 0
2017-08-15 11:51:56 +02:00
Michał Janiszewski
d698ad1100
Convert NULL -> nullptr in C++
2017-08-15 11:51:56 +02:00
Michał Janiszewski
44c8c84b7c
Convert integers acting as bools to bools ( #6177 )
...
Also fixes MSVC2015 according to AppVeyor
2017-08-15 09:03:10 +01:00
OpenRCT2 git bot
88d2805fd0
Merge Localisation/master into OpenRCT2/develop.
2017-08-15 04:00:25 +00:00
Marijn van der Werf
294cef3c9b
Move additional windows to UI project
2017-08-14 23:53:28 +02:00
Tomas Dittmann
14f92bef80
Remove unnecessary cast
2017-08-14 20:58:33 +02:00
Michael Steenbeek
b092605ff2
Update changelog.txt
2017-08-14 20:00:45 +02:00
rwjuk
1a64fde0af
Fix #6138 : 'Too low' error when placing at lowest Z
2017-08-14 19:59:15 +02:00
Gymnasiast
38e6b174bd
Replace memmove calls for downtime and customer history with loops
2017-08-14 19:56:29 +02:00
Gymnasiast
8eec684545
Use more constants, isolate SV6 limits further
2017-08-14 19:56:29 +02:00
Richard Jenkins
b92ba32781
Revert "Fix #6169 : Windows installer runs game with admin privileges ( #6171 )" ( #6175 )
...
This reverts commit d84db2d463
.
2017-08-14 09:09:25 +01:00
Michael Steenbeek
00453f5f96
Add translations to openrct2-mimeinfo.xml
2017-08-14 09:45:38 +02:00
Matthias Mailänder
c4abbc1167
Associate .sc4 and .sc6 scenarios with OpenRCT2 on Linux.
2017-08-14 09:33:37 +02:00
Matthias Mailänder
c86dc803bb
Associate .sv4 and .sv6 savegames with OpenRCT2 on Linux.
2017-08-14 09:33:37 +02:00
Matthias Mailänder
cb2b764f07
Add an appdata.xml metadata file
...
for Linux software galleries.
2017-08-13 23:31:10 +02:00
Michael Steenbeek
173e4568e4
Fix DPI scaling statement
2017-08-13 12:14:01 +02:00
Richard Jenkins
d84db2d463
Fix #6169 : Windows installer runs game with admin privileges ( #6171 )
2017-08-13 01:37:40 +01:00
Dennis-Z
85c89481a5
Recreating the atlasses texture instead of changing the format of the existing atlasses texture ( #6159 )
...
This improves performance
2017-08-12 13:04:26 +01:00
Richard Jenkins
26726def36
Update changelog for #6101
...
[ci skip]
2017-08-12 13:02:43 +01:00
Richard Jenkins
8e92351a2b
Fix #6101 : Rides remain in ride list briefly after demolition ( #6165 )
2017-08-12 13:00:43 +01:00
OpenRCT2 git bot
68c2175cf3
Merge Localisation/master into OpenRCT2/develop.
2017-08-12 04:00:29 +00:00
sam
ea4e9b62f7
Add reference to Gentoo package ( #6158 )
...
[ci skip]
2017-08-12 00:49:18 +02:00
linkinpark9812
63fbd131ff
Fix #6131 : Icon for suspended vehicles aligned too low
2017-08-10 23:48:11 +02:00
duncanspumpkin
df742b70b6
Fix infinite loop when removing scenery elements with >127 height
...
Bug introduced when refactoring. Type mismatch not picked up by compiler
2017-08-10 23:43:28 +02:00
duncanspumpkin
fb2809cabc
Fix #816 . Correctly reset flash filter by considering all peeps.
...
This is an original bug likely introduced by trying to save processing
time by assuming that since the display list can not be drawn that it
can stop processing. But as this loop also handles reseting flashing
peeps it will leave peeps un processed
2017-08-10 23:41:42 +02:00
Keatzee
96a3f6a861
Resolve #5909 : Import mp.dat from RCT1 installation
2017-08-10 21:46:15 +02:00
Michał Janiszewski
f9342438e3
Include SDL2 as system headers
...
On some systems defines may be checked for value even though not present
2017-08-10 17:04:08 +02:00
Marijn van der Werf
247fdc2f5d
Fix formatting of C includes
2017-08-10 13:42:27 +02:00
Marijn van der Werf
7bd63609bb
Update Xcode project
2017-08-10 13:42:27 +02:00
Michał Janiszewski
38f4f8be79
Fix missing includes
2017-08-10 13:42:27 +02:00
Michał Janiszewski
872b3e2039
Update casing of header file
2017-08-10 13:42:27 +02:00
duncanspumpkin
81201a43ac
Fix VS project file
2017-08-10 13:42:27 +02:00
duncanspumpkin
1920d161fb
Fix rct2 address, convert double cast to literal value, add cast to make vs build
2017-08-10 13:42:27 +02:00
Marijn van der Werf
28c78faa57
Make more window variables and functions static
2017-08-10 13:42:27 +02:00
Marijn van der Werf
4d90940d21
Move windows to UI project
2017-08-10 13:42:27 +02:00
Ted John
f3ef92edcb
Fix MSVC build errors and warnings
2017-08-10 13:42:27 +02:00
Marijn van der Werf
2e89525888
fix TopToolbar include
2017-08-10 13:42:27 +02:00
Marijn van der Werf
8ae17867b2
Update Xcode project
2017-08-10 13:42:27 +02:00
Marijn van der Werf
a53a7ab706
Convert remaining dialogs
2017-08-10 13:42:27 +02:00