Commit Graph

27 Commits

Author SHA1 Message Date
Christian F. Coors 9b7e943fab Fix newline for sprite command (#5965) 2017-07-21 16:45:26 +01:00
Ted John f275e5ba9b Remove all platform.h includes from header files
System headers, particularly windows.h polute the namespace too much with macros and unwanted definitions. Do not use them in header files.
2017-06-25 18:59:56 +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
Ted John d45a50274c Replace SDL with normal fopen in cmdline_sprite.c 2017-05-29 22:38:44 +02:00
CraigCraig 26287f5a3e More readability, grammar, spelling fixes 2017-05-15 09:28:43 +02:00
Ted John b789b17c14 Fix sprite building 2017-05-07 16:19:55 +01:00
X7123M3-256 03606adbeb Fix more formatting 2017-05-07 01:01:07 +01:00
Gymnasiast 3d9e6a4e2d Fix formatting 2017-05-07 01:01:07 +01:00
X123M3-256 52d2997a9f Fix more indentation 2017-05-07 01:01:07 +01:00
X123M3-256 dbd0067091 Remove logging 2017-05-07 01:01:07 +01:00
X123M3-256 7f74e07f2d Log path to sprite file 2017-05-07 01:01:07 +01:00
X123M3-256 7d2490710c Remove const 2017-05-07 01:01:06 +01:00
X123M3-256 d89fc32864 Use get_directory_path instead of dirname() 2017-05-07 01:01:06 +01:00
Ted John afb85fa3d7 Fix warning in cmdline_sprite.c 2017-05-07 01:01:06 +01:00
X7123M3-256 2769550415 Fix more indentation 2017-05-07 01:01:06 +01:00
X7123M3-256 aaf16a7ec5 Amend usage message 2017-05-07 01:01:05 +01:00
X7123M3-256 92c8da4091 Use 16 bit integers for offsets 2017-05-07 01:01:05 +01:00
X7123M3-256 96856028bb Fix misplaced characters 2017-05-07 01:01:05 +01:00
X7123M3-256 4d46a255e0 Load sprite information from JSON file 2017-05-07 01:01:05 +01:00
X7123M3-256 424bb406c3 Add support for x/y offsets to append command 2017-05-07 01:01:05 +01:00
Ted John 1ab90d86ca Fix exporting non-RLE sprites 2017-04-30 17:22:27 +01:00
Broxzier 6e36c00eca Fix unability to use of 'sprite exportall'
This also fixes an issue when the given path does not end with a
separator, in which case it would export to one folder higher.
2017-04-13 17:14:23 +02:00
Broxzier 60603ae10a Use types from common.h 2017-01-14 12:37:31 +01:00
Ted John 13a8eee1b4 More warning fixes, more warnings disabled 2017-01-12 13:12:53 +00:00
Ted John a21cbae82a Move image_io to C++ 2017-01-07 12:10:42 +00:00
Ted John 25bc798ff8 Move contents of src into project sub directory 2017-01-04 17:44:12 +00:00
Renamed from src/cmdline_sprite.c (Browse further)