Jeroen D Stout
fb7b31a379
Calling 'magic' all lights by vehicles function
2016-06-04 15:32:13 +02:00
Jeroen D Stout
49b749693b
Add light to cursor with special state
2016-06-04 01:02:35 +02:00
Jeroen D Stout
8ed350e3b9
Reduced darkening effect for environment light while looking at light
2016-06-02 02:39:35 +02:00
Jeroen D Stout
30b6754c6f
Changes to light behaviour - slight dynamic exposure effect, better fog
2016-06-02 02:27:44 +02:00
Jeroen D Stout
27c34c1c22
Updates for viewport settings
2016-06-02 02:27:17 +02:00
JeroenDStout
f5783231c0
Lightfx
2016-05-31 23:49:58 +02:00
Michał Janiszewski
451379c8a3
Handle SDL builds which already have HAVE_MATH_H defined ( #3765 )
...
ArchLinux's SDL2 build for mingw already has HAVE_MATH_H define, this
fixes warnings I was getting, as they are now upgraded to errors.
2016-05-28 12:24:52 +01:00
Michał Janiszewski
1cdbd1e459
Take care not to overflow buffers in platform_resolve_user_data_path ( #3761 )
2016-05-28 09:31:02 +01:00
Michał Janiszewski
642bfeb44e
Ensure user directory exists when specifying custom path
...
This is done anyway in openrct2.c:openrct2_initialise(), but we will
have wrong custom user data path by then.
2016-05-27 21:43:52 +02:00
Michał Janiszewski
d9062f1f07
Wrap overly long lines in posix.c
2016-05-27 21:43:52 +02:00
Ted John
781c422c76
integrate tick variables
2016-05-20 22:56:45 +01:00
Hielke Morsink
c7a8e0cab7
Removed space from dump filename, and clearer output.
2016-05-15 01:00:06 +02:00
Hielke Morsink
e69574be12
Including short commit hash in dump filename
2016-05-15 01:00:05 +02:00
Ted John
0710eb7e87
Merge pull request #3585 from janisozaur/fixes
2016-05-13 18:22:20 +01:00
janisozaur
ca430e1b23
Drop unused variables ( #3586 )
2016-05-13 18:21:58 +01:00
Michał Janiszewski
070f298878
Make sure variables don't end up uninitialised
2016-05-13 13:23:37 +02:00
janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
janisozaur
deeafc5a60
Add --silent-breakpad switch, fixes #3535 ( #3544 )
2016-05-11 12:25:21 +01:00
Alexander Overvoorde
85a2614a6a
Fix pasting of formatting characters being allowed and fix memory leak
2016-05-10 14:12:06 +02:00
janisozaur
2c3a832970
Swizzle bits of a window correctly for mingw builds ( #3521 )
2016-05-07 22:44:46 +01:00
janisozaur
fe826cd64f
Fix posix's platform_file_copy ( #3500 )
...
The method may fail to properly copy data for files of sizes not being
a multiple of FILE_BUFFER_SIZE.
2016-05-05 22:59:27 +01:00
YJSoft
f3c1762a5a
fix #3494 platform_file_copy always return false on posix
2016-05-05 16:50:07 +09:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Patrick de Wit
13701660c9
Implement customizable toggle windowed mode shortcut ( #3462 )
...
Implement customizable toggle windowed mode shortcut
2016-05-03 20:07:33 +01:00
Ted John
45843ec1d5
fix sub directory search for Windows
...
Fixes a small issue related to #3408
2016-04-24 23:55:28 +01:00
Ted John
652b1c83db
integrate variables for lightning and toolbar dirty flags
2016-04-24 21:49:09 +01:00
Ted John
98f732aaf7
integrate screen variables ( #3411 )
2016-04-24 00:36:39 +01:00
Ted John
ee509caf35
integrate game paused variable and refactor
2016-04-23 13:34:55 +01:00
Ted John
57301def05
disable register-shell for mingw
2016-04-21 23:48:58 +01:00
Ted John
3f1e49d510
use unicode for registering file associations
2016-04-21 23:03:25 +01:00
Ted John
c51f9a8ecc
register file associations on Windows
2016-04-21 21:41:53 +01:00
Ted John
b499a4589f
embed OpenRCT2 icon for Windows ( #3372 )
...
Embeds the OpenRCT2 icon file using Win32 native resources and sets the window icon to it.
2016-04-21 19:17:26 +01:00
janisozaur
fb5d281eaf
Check return value from realpath(). Fixes #2483 ( #3309 )
2016-04-15 18:17:45 +01:00
IntelOrca
547837f208
fix warnings in crash.cpp
2016-04-10 19:51:44 +01:00
IntelOrca
51a7e3f278
clean up and refactor the crash handler
2016-04-10 01:00:31 +02:00
Michał Janiszewski
9e2610fc08
Switch dump format to MiniDumpWithDataSegs
2016-04-09 20:47:31 +02:00
Hielke Morsink
46fb82fd91
Fix interface redifinition warning.
2016-04-09 19:40:57 +02:00
Michał Janiszewski
17bc485fb5
Breakpad for windows
...
This enables breakpad Windows support **only**.
The scope of this was limited to allow for inclusion into 0.0.4 release.
Breakpad for now is a Windows-only functionality, as this platform has
largest audience and is the only one that has no system-provided stack
tracing utility.
Upon crash, breakpad will try to create a dump and save current game,
present user with some vital information, then open explorer on the
created files for user convenience, asking him/her to create a new
issue with OpenRCT2 on Github.
2016-04-09 18:57:14 +02:00
Michał Janiszewski
e28de49a34
Breakpad integration
...
Provide your own breakpad and point cmake at it.
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
mkdir breakpad && cd breakpad
../depot_tools/fetch breakpad # edit the script to use python2
cd src
LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" ./configure
LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" make -j 8
Run cmake on openrct2:
cd openrct2
vim CMakeLists.txt # provide your path to breakpad
mkdir build && cd build
cmake ../ -DWITH_BREAKPAD=ON
make -j 8
./openrct2 # open a game, select "about openrct2", crash
2016-04-09 18:57:14 +02:00
YJSoft
c5ff5a3ce9
fix #3234 native open window crash problem at OSX
...
since default_filename will be null at opening(code set default_filename only at save), setting filePath with default_filename will raise exception.
Fixed by setting filePath, basename only at save(since two vars only used at creating nameFieldStringValue) and setting directory with initial_directory at opening.
2016-04-04 07:25:33 +01:00
Michał Janiszewski
331f9fe03b
Secure memory accesses, initialise variables
2016-04-01 09:38:40 +02:00
Michał Janiszewski
7eeb59b1aa
Update Linux file dialogs
2016-03-31 20:41:51 +01:00
Gymnasiast
0b78653a10
Make Zenity pick up the first filter
2016-03-31 20:41:50 +01:00
IntelOrca
3fdf0d4bf6
re-introduce appending of extension to filename
2016-03-31 20:41:49 +01:00
LRFLEW
0f88beff7c
Converted OSX native file dialog to new standard
2016-03-31 20:41:48 +01:00
IntelOrca
d865e4d453
pass better data in struct to file dialog function
2016-03-31 20:41:47 +01:00
IntelOrca
1daa657657
fix #3091 : Korean words corrupted if over byte limit
2016-03-10 18:48:00 +00:00
Chanwoong Kim
f05da9d312
Disactive IME when text input ends
2016-03-03 22:34:08 +09:00
Chanwoong Kim
6df34c13aa
Fix a bug that IME did not disappeared after typing korean on osx
2016-03-03 22:34:06 +09:00
IntelOrca
c8015cab92
fix #3010 : extension not added on native save file dialog
2016-03-01 21:46:00 +00:00