1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
Gymnasiast
4059d9e8a7 Clean up boosters, ride_type_null, max rides per entry, formatting 2017-06-14 16:06:43 +02:00
Ted John
29f0372da8 Reduce SDL2 in headers 2017-06-12 19:56:32 +01:00
Michał Janiszewski
61d38511bc Expand tabs to spaces
This commit expands tabs to spaces (ts=4) in all the files under src/
and test/.

Until now we had two wildly different code styles with C using tabs and
new C++ using spaces. It is painful to maintain as none of the commonly
used tools support this kind of setup and in reality is needless, as we
can simply convert all the sources to spaces and have opened PRs do the
same, where needed.

Additionally, trailing whitespace has been removed.
2017-06-06 23:46:14 +02:00
Michał Janiszewski
79d76759bb Fix #5516: Update copyrights for 2017
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Michael Steenbeek
2b35986746 Add and use constant for number of ride types 2017-01-05 09:19:22 +01:00
Marijn van der Werf
24a0405345 Update testpaint 2017-01-04 18:28:40 +00:00
Michał Janiszewski
3f7fd56328 Remove trailing whitespace in sources 2016-11-13 20:32:55 +01:00
Marijn van der Werf
157d535f67 Only fallback if only one element differs 2016-10-22 02:40:35 +02:00
Marijn van der Werf
1be2dd996c Make testpaint a lot more quiet 2016-10-19 01:58:47 +02:00
Marijn van der Werf
a44745e2fa Fix General/SegmentSupportHeightCalls 2016-10-17 23:12:54 +02:00
Marijn van der Werf
a93e12b5d9 Add silent mode 2016-10-17 20:04:13 +02:00
Marijn van der Werf
455080d8b8 Fix MSVC 2016-10-17 15:36:26 +02:00
Marijn van der Werf
18d9b1e91e Don't use C for PaintIntercept functions 2016-10-17 12:45:27 +02:00
Marijn van der Werf
deb266c443 Extract SupportHeightCalls 2016-10-17 12:43:14 +02:00
Marijn van der Werf
334b8cca05 Extract all of intercept.c to C++ 2016-10-17 12:43:14 +02:00
Marijn van der Werf
3b19dc02d3 Extract utilty functions 2016-10-17 12:43:14 +02:00
Marijn van der Werf
d6772865f5 Use return codes for test results 2016-10-17 12:43:13 +02:00
Marijn van der Werf
6a902f4f92 Ignore unused variable warnings 2016-10-11 02:11:38 +02:00
LRFLEW
7dccbba8b2 Improve String Handling in PaintTest 2016-10-09 15:29:58 -05:00
Ted John
ec082b4ac8 Generate set segment support height and other fixes 2016-10-07 23:55:17 +01:00
Ted John
a0f041b43a Start initial generation of ride and general support calls 2016-10-07 21:49:23 +01:00
Michał Janiszewski
43eba72f66 Fix testpaint for GCC 2016-10-02 10:41:03 +02:00
Ted John
0070f0d057 Add listing of ride types, inc. status in testpaint 2016-09-24 11:54:45 +01:00
Ted John
0c569e6b02 Add support for passing a single ride type to testpaint 2016-09-24 11:20:12 +01:00
Ted John
9fe4a9b41f Add support for Windows coloured console 2016-09-24 11:20:12 +01:00
Marijn van der Werf
1c585e45e3 Improve Visual Studio compatibility 2016-09-16 19:45:10 +02:00
Michał Janiszewski
88ffe5f8c2 Fixes for testpaint
Test of `paint_launched_freefall_tower_section` is invalid. Do note this
function [expects another element right past the one just
passed](https://github.com/OpenRCT2/OpenRCT2/blob/d00aa2c/src/ride/thrill/launched_freefall.c#L147):

```
rct_map_element * nextMapElement = mapElement + 1;
```

but you pass only a single map element, which is not marked as last for
tile. The same prevails throughout other tests.
2016-09-16 19:44:56 +02:00
Michał Janiszewski
f354c0ec3f Fix testpaint target for Linux 2016-09-16 19:44:45 +02:00
Marijn van der Werf
df202d86a6 Change folder structure 2016-09-16 19:44:40 +02:00