I am really curious --- why you want to know the pathfinder penalty? It's the internal value of the pathfinding system, and doesn't really make sense other wise especially "throughout the year".nirasa wrote: ↑26 Feb 2020 08:46The description of the penalty is on this website: https://wiki.openttdcoop.org/Penalties
Sorry, I can't speak English properly and I can't explain it to you. Therefore, I am sending you to the website.
JGR's Patch Pack
Moderator: OpenTTD Developers
Re: JGR's Patch Pack
Re: JGR's Patch Pack
The full explanation about what pathfinder penalties is, would be very long and technical, and requires a good understanding of single-source shortest path algorithms.
But the short explanation is that pathfinder costs (penalties) has no relation to the game's economy. The pathfinder costs is used to decide which route from A to B is shortest/fastest, and it does not "accrue" or anything like that.
But the short explanation is that pathfinder costs (penalties) has no relation to the game's economy. The pathfinder costs is used to decide which route from A to B is shortest/fastest, and it does not "accrue" or anything like that.
Re: JGR's Patch Pack
Thank you for the explanation.
My YouTube channel: https://www.youtube.com/c/nirasa/videos Czech language.
Re: JGR's Patch Pack
Oh, I didn't see it. I'll look closer. Apologies if I'm wasting your time!
Yes. Maybe that's the issue. I was doing it as if I was laying railtrack.Are you just click+dragging? If so, try just clicking in one place, then go to another point on the map, click a second time. That way it'll draw a straight line between the two points. If you want multiple connected line segments, click a second time at the same point to start the next one, and you can chain your way around the map. (the initial click only works if sufficiently zoomed in, but once you get going you can do it from a distance)
Thanks to both of you for the suggestions.
-
- Engineer
- Posts: 25
- Joined: 01 May 2016 12:56
Re: JGR's Patch Pack
I had a bug with with 33.2
- Attachments
-
- crash.sav
- (5.64 MiB) Downloaded 136 times
Re: JGR's Patch Pack
Thanks for the bug report, this should be fixed now, and will be in the next release.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
Hi JGR, bug to report. When I delete an order listed as the scheduled dispatch order and try to replace it with a new order (use case in this example: trying to get a train to switch depots), I can't get the order to which the scheduling is applied to change - current behavior is that it switches to the next order in the list but ignores any new orders. Also a slight visual glitch that can be seen in the screenshot.
Thanks so much!
Re: JGR's Patch Pack
At present the scheduled dispatch order is always the first usable order in the order list.p4nzer wrote: ↑10 Mar 2020 03:09
Hi JGR, bug to report. When I delete an order listed as the scheduled dispatch order and try to replace it with a new order (use case in this example: trying to get a train to switch depots), I can't get the order to which the scheduling is applied to change - current behavior is that it switches to the next order in the list but ignores any new orders. Also a slight visual glitch that can be seen in the screenshot.
Thanks so much!
A usable order is a go to station order, or some other non-conditional, non-implicit order with a timetabled wait time.
I have not been able to reproduce the graphical issue here so far, I will look into that further.
Edit: Fixed, will be in the next release.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
-
- Traffic Manager
- Posts: 222
- Joined: 18 Jun 2016 19:05
Re: JGR's Patch Pack
Found a small bug/glitch. If "allow removing sea/rivers" is disabled in settings, it also stops you from building locks.
-
- Engineer
- Posts: 4
- Joined: 02 Mar 2019 04:49
Re: JGR's Patch Pack
Im have compile issues in mac high sierra.
im has ./configure with LDFLAGS="-liconv" also, but the issue still happen. im can figure this issues
note: im remove some text from log because maximum number of allowed characters is 60000
Code: Select all
okandata:OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a okansp$ ./configure --enable-static LDFLAGS="-liconv"
checking awk... awk
detecting OS... OSX
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking universal build... no
checking build cc... clang
checking host cc... clang
checking build c++... clang++
checking host c++... clang++
checking strip... disabled
checking builtin depend... yes
checking makedepend... disabled
detecting cpu-type... 64 bits
detecting SSE... found
checking static... yes
checking unicode... no
using debug level... no
using desync debug level... no
using link time optimization... no
checking OSX sysroot... no (use system default)
checking Allegro... OSX, skipping
checking SDL... OSX, skipping
checking COCOA... found
checking whether to enable the Quartz window subdriver... yes
checking Quickdraw window subdriver... disabled (64 bits)
checking GDI video driver... not Windows, skipping
checking dedicated... not selected
checking console application... not Windows, skipping
checking squirrel... found
checking translator... no
checking assert... enabled
checking zlib... found
checking liblzma... found
checking lzo2... found
checking Uniscribe text layout... not Windows, skipping
checking libxdg-basedir... not found
checking fcitx... no sdl2, skipping
checking libpng... found
checking freetype2... found
checking libfontconfig... OSX, skipping
checking icu-lx... OSX, skipping
checking icu-i18n... OSX, skipping
checking fluidsynth... found
checking direct-music... not Windows, skipping
checking xaudio2... not Windows, skipping
checking sort... sort
suppress language errors... no
checking stripping... skipped
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking grfcodec... not found
checking nforenum... not found
detecting ppc970 (G5)... no
checking revision... source release version
checking iconv... found
checking if iconv has non-const inbuf... yes
checking whether to link to iconv... yes
personal home directory... Documents/OpenTTD
shared data directory... /Library/Application\ Support/OpenTTD
installation directory... /
icon theme directory... none
manual page directory... share/man/man6
menu item directory... none
checking bitmath builtins... no
using dbg lldb... yes
checking ucontext... no
using CFLAGS_BUILD... -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-c++11-extensions -Wno-parentheses-equality -DOSX -O1
using CXXFLAGS_BUILD... -std=c++11
using LDFLAGS_BUILD... -rdynamic
using CFLAGS... -O2 -fomit-frame-pointer -fno-strict-aliasing -Wall -W -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-multichar -Wno-self-assign -Wno-c++11-extensions -Wno-parentheses-equality -DOSX -DWITH_SSE -isystem/opt/local/include -DNO_QUICKTIME -gline-tables-only -fno-stack-check -DUNIX -DWITH_COCOA -DENABLE_COCOA_QUARTZ -DWITH_ZLIB -DWITH_LIBLZMA -I/usr/local/Cellar/xz/5.2.4/include -DLZMA_API_STATIC -DWITH_LZO -D_SQ64 -I/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -DWITH_FREETYPE -I/usr/local/opt/freetype/include/freetype2 -DFLUIDSYNTH -DWITH_ICONV -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\"Documents/OpenTTD\" -DWITH_SHARED_DIR -DSHARED_DIR=\"/Library/Application\ Support/OpenTTD\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\"
using CXXFLAGS... -std=c++11
using LDFLAGS... -lc -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -lz -L/usr/local/Cellar/xz/5.2.4/lib -llzma -D_THREAD_SAFE -pthread -llzo2 -L/usr/local/Cellar/libpng/1.6.37/lib -lpng16 -lz -L/usr/local/opt/freetype/lib -L/usr/local/Cellar/libpng/1.6.37/lib -lfreetype -lz -lbz2 -lpng16 -lz -lfreetype -lfluidsynth -liconv -rdynamic -framework Cocoa -liconv
Generating Makefile...
Generating lang/Makefile...
Generating setting/Makefile...
Generating grf/Makefile...
Generating objs/Makefile...
okandata:OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a okansp$ make bundle
[SRC] Compiling 3rdparty/md5/md5.cpp
[SRC] Compiling os/macosx/crashlog_osx.cpp
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/os/macosx/crashlog_osx.cpp:112:8: warning:
private field 'context' is not used [-Wunused-private-field]
void *context;
^
1 warning generated.
[SRC] Compiling os/macosx/splash.cpp
[SRC] Compiling script/api/script_goal.cpp
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/script/api/script_goal.cpp:139:36: warning:
result of comparison of constant 65536 with expression of type 'ScriptClient::ClientID' is always
true [-Wtautological-constant-out-of-range-compare]
EnforcePrecondition(false, client < (1 << 16));
~~~~~~ ^ ~~~~~~~~~
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/script/api/script_error.hpp:22:8: note:
expanded from macro 'EnforcePrecondition'
if (!(condition)) { \
^~~~~~~~~
1 warning generated.
[SRC] Compiling script/api/script_group.cpp
[SRC] Compiling script/api/script_grouplist.cpp
[SRC] Compiling script/api/script_industry.cpp
[SRC] Compiling script/api/script_industrylist.cpp
[SRC] Compiling script/api/script_industrytype.cpp
[SRC] Compiling script/api/script_industrytypelist.cpp
[SRC] Compiling script/api/script_infrastructure.cpp
[SRC] Compiling script/api/script_list.cpp
[SRC] Compiling script/api/script_log.cpp
[SRC] Compiling script/api/script_map.cpp
[SRC] Compiling script/api/script_marine.cpp
[SRC] Compiling script/api/script_news.cpp
[SRC] Compiling script/api/script_object.cpp
[SRC] Compiling script/api/script_order.cpp
[SRC] Compiling script/api/script_rail.cpp
[SRC] Compiling script/api/script_railtypelist.cpp
[SRC] Compiling script/api/script_road.cpp
[SRC] Compiling script/api/script_roadtypelist.cpp
[SRC] Compiling script/api/script_sign.cpp
[SRC] Compiling script/api/script_signlist.cpp
[SRC] Compiling script/api/script_station.cpp
[SRC] Compiling script/api/script_stationlist.cpp
[SRC] Compiling script/api/script_story_page.cpp
[SRC] Compiling script/api/script_storypageelementlist.cpp
[SRC] Compiling script/api/script_storypagelist.cpp
[SRC] Compiling script/api/script_subsidy.cpp
[SRC] Compiling script/api/script_subsidylist.cpp
[SRC] Compiling script/api/script_testmode.cpp
[SRC] Compiling script/api/script_text.cpp
[SRC] Compiling script/api/script_tile.cpp
[SRC] Compiling script/api/script_tilelist.cpp
[SRC] Compiling script/api/script_town.cpp
[SRC] Compiling script/api/script_townlist.cpp
[SRC] Compiling script/api/script_tunnel.cpp
[SRC] Compiling script/api/script_vehicle.cpp
[SRC] Compiling script/api/script_vehiclelist.cpp
[SRC] Compiling script/api/script_viewport.cpp
[SRC] Compiling script/api/script_waypoint.cpp
[SRC] Compiling script/api/script_waypointlist.cpp
[SRC] Compiling script/api/script_window.cpp
[SRC] Compiling script/script_config.cpp
[SRC] Compiling script/script_info.cpp
[SRC] Compiling script/script_info_dummy.cpp
[SRC] Compiling script/script_instance.cpp
[SRC] Compiling script/script_scanner.cpp
[SRC] Compiling script/squirrel.cpp
[SRC] Compiling script/squirrel_std.cpp
[SRC] Compiling settings.cpp
[SRC] Compiling settings_gui.cpp
[SRC] Compiling ship_cmd.cpp
[SRC] Compiling ship_gui.cpp
[SRC] Compiling signal.cpp
[SRC] Compiling signs.cpp
[SRC] Compiling signs_cmd.cpp
[SRC] Compiling signs_gui.cpp
[SRC] Compiling smallmap_gui.cpp
[SRC] Compiling sound.cpp
[SRC] Compiling sound/cocoa_s.cpp
[SRC] Compiling sound/null_s.cpp
[SRC] Compiling sprite.cpp
[SRC] Compiling spritecache.cpp
[SRC] Compiling spriteloader/grf.cpp
[SRC] Compiling station.cpp
[SRC] Compiling station_cmd.cpp
[SRC] Compiling station_gui.cpp
[SRC] Compiling statusbar_gui.cpp
[SRC] Compiling story.cpp
[SRC] Compiling story_gui.cpp
[SRC] Compiling strgen/strgen_base.cpp
[SRC] Compiling string.cpp
[SRC] Compiling stringfilter.cpp
[SRC] Compiling strings.cpp
[SRC] Compiling subsidy.cpp
[SRC] Compiling subsidy_gui.cpp
[SRC] Compiling tbtr_template_gui_create.cpp
[SRC] Compiling tbtr_template_gui_main.cpp
[SRC] Compiling tbtr_template_vehicle.cpp
[SRC] Compiling tbtr_template_vehicle_func.cpp
[SRC] Compiling terraform_cmd.cpp
[SRC] Compiling terraform_gui.cpp
[SRC] Compiling textbuf.cpp
[SRC] Compiling texteff.cpp
[SRC] Compiling textfile_gui.cpp
[SRC] Compiling tgp.cpp
[SRC] Compiling tile_map.cpp
[SRC] Compiling tilearea.cpp
[SRC] Compiling timetable_cmd.cpp
[SRC] Compiling timetable_gui.cpp
[SRC] Compiling toolbar_gui.cpp
[SRC] Compiling town_cmd.cpp
[SRC] Compiling town_gui.cpp
[SRC] Compiling townname.cpp
[SRC] Compiling tracerestrict.cpp
[SRC] Compiling tracerestrict_gui.cpp
[SRC] Compiling train_cmd.cpp
[SRC] Compiling train_gui.cpp
[SRC] Compiling transparency_gui.cpp
[SRC] Compiling tree_cmd.cpp
[SRC] Compiling tree_gui.cpp
[SRC] Compiling tunnel_map.cpp
[SRC] Compiling tunnelbridge_cmd.cpp
[SRC] Compiling vehicle.cpp
[SRC] Compiling vehicle_cmd.cpp
[SRC] Compiling vehicle_gui.cpp
[SRC] Compiling vehiclelist.cpp
[SRC] Compiling video/dedicated_v.cpp
[SRC] Compiling video/null_v.cpp
[SRC] Compiling viewport.cpp
[SRC] Compiling viewport_gui.cpp
[SRC] Compiling viewport_sprite_sorter_sse4.cpp
[SRC] Compiling void_cmd.cpp
[SRC] Compiling water_cmd.cpp
[SRC] Compiling waypoint.cpp
[SRC] Compiling waypoint_cmd.cpp
[SRC] Compiling waypoint_gui.cpp
[SRC] Compiling widget.cpp
[SRC] Compiling widgets/dropdown.cpp
[SRC] Compiling window.cpp
[SRC] Compiling zoning_cmd.cpp
[SRC] Compiling zoning_gui.cpp
[SRC] Compiling os/macosx/macos.mm
[SRC] Compiling video/cocoa/cocoa_v.mm
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:77:48: warning:
'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
NSEvent *event = [ NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0...
^~~~~~~~~~~~~~~~~~~~
NSEventTypeApplicationDefined
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:79:26: note: 'NSApplicationDefined' has
been explicitly marked deprecated here
static const NSEventType NSApplicationDefined NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeAp...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:145:43: warning:
'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
^~~~~~~~~~~~~~~~~~
NSEventModifierFlagOption
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:145:64: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:660:26: warning:
'NSCriticalAlertStyle' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
[ alert setAlertStyle: NSCriticalAlertStyle ];
^~~~~~~~~~~~~~~~~~~~
NSAlertStyleCritical
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:182:27: note: 'NSCriticalAlertStyle' has
been explicitly marked deprecated here
static const NSAlertStyle NSCriticalAlertStyle NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSAlertStyleCr...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:768:9: warning:
'cacheImageInRect:' is deprecated: first deprecated in macOS 10.13 - This method shouldn’t be
used as it doesn’t work in all drawing situations; instead, a subview should be used that
implements the desired drawing behavior [-Wdeprecated-declarations]
[ self cacheImageInRect:[ driver->cocoaview frame ] ];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:926:1: note: 'cacheImageInRect:' has been
explicitly marked deprecated here
- (void)cacheImageInRect:(NSRect)rect NS_DEPRECATED_MAC(10_0, 10_13, "This method shouldn’t be us...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/cocoa_v.mm:774:9: warning:
'restoreCachedImage' is deprecated: first deprecated in macOS 10.13 - This method shouldn’t be
used as it doesn’t work in all drawing situations; instead, a subview should be used that
implements the desired drawing behavior [-Wdeprecated-declarations]
[ self restoreCachedImage ];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:927:1: note: 'restoreCachedImage' has been
explicitly marked deprecated here
- (void)restoreCachedImage NS_DEPRECATED_MAC(10_0, 10_13, "This method shouldn’t be used as it do...
^
6 warnings generated.
[SRC] Compiling video/cocoa/event.mm
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:266:22: warning:
'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSShiftKeyMask) key |= WKC_SHIFT;
^~~~~~~~~~~~~~
NSEventModifierFlagShift
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSShiftKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:267:22: warning:
'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSControlKeyMask) key |= (_settings_client.gui.right_mouse_btn_emul...
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:268:22: warning:
'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSAlternateKeyMask) key |= WKC_ALT;
^~~~~~~~~~~~~~~~~~
NSEventModifierFlagOption
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:269:22: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (_current_mods & NSCommandKeyMask) key |= (_settings_client.gui.right_mouse_btn_emul...
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:288:33: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (down && (_current_mods & NSCommandKeyMask)) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:294:60: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:294:79: warning:
'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...&& EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:299:60: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:299:79: warning:
'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...&& EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:342:33: warning:
'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) {
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has
been explicitly marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:342:61: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:350:15: warning:
'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, YES);
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has
been explicitly marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:355:15: warning:
'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, NO);
^~~~~~~~~~~~~~~~~~~
NSEventModifierFlagCapsLock
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has
been explicitly marked deprecated here
static const NSEventModifierFlags NSAlphaShiftKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:406:49: warning:
'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
NSEvent *event = [ NSApp nextEventMatchingMask:NSAnyEventMask
^~~~~~~~~~~~~~
NSEventMaskAny
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been
explicitly marked deprecated here
static const NSEventMask NSAnyEventMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEve...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:424:8: warning:
'NSMouseMoved' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseMoved:
^~~~~~~~~~~~
NSEventTypeMouseMoved
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSMouseMoved' has been
explicitly marked deprecated here
static const NSEventType NSMouseMoved NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeMo...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:425:8: warning:
'NSOtherMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSOtherMouseDragged:
^~~~~~~~~~~~~~~~~~~
NSEventTypeOtherMouseDragged
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:87:26: note: 'NSOtherMouseDragged' has been
explicitly marked deprecated here
static const NSEventType NSOtherMouseDragged NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeOt...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:426:8: warning:
'NSLeftMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseDragged:
^~~~~~~~~~~~~~~~~~
NSEventTypeLeftMouseDragged
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:26: note: 'NSLeftMouseDragged' has been
explicitly marked deprecated here
static const NSEventType NSLeftMouseDragged NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeLe...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:436:8: warning:
'NSRightMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseDragged:
^~~~~~~~~~~~~~~~~~~
NSEventTypeRightMouseDragged
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:26: note: 'NSRightMouseDragged' has been
explicitly marked deprecated here
static const NSEventType NSRightMouseDragged NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeRi...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:441:8: warning:
'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseDown:
^~~~~~~~~~~~~~~
NSEventTypeLeftMouseDown
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been
explicitly marked deprecated here
static const NSEventType NSLeftMouseDown NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeLe...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:444:83: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...== RMBE_COMMAND) keymask |= NSCommandKeyMask;
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:445:83: warning:
'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...== RMBE_CONTROL) keymask |= NSControlKeyMask;
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:464:8: warning:
'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSLeftMouseUp:
^~~~~~~~~~~~~
NSEventTypeLeftMouseUp
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been
explicitly marked deprecated here
static const NSEventType NSLeftMouseUp NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeLe...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:480:8: warning:
'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseDown:
^~~~~~~~~~~~~~~~
NSEventTypeRightMouseDown
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been
explicitly marked deprecated here
static const NSEventType NSRightMouseDown NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeRi...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:491:8: warning:
'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSRightMouseUp:
^~~~~~~~~~~~~~
NSEventTypeRightMouseUp
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been
explicitly marked deprecated here
static const NSEventType NSRightMouseUp NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeRi...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:527:8: warning:
'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSKeyDown: {
^~~~~~~~~
NSEventTypeKeyDown
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been
explicitly marked deprecated here
static const NSEventType NSKeyDown NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeKe...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:533:36: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if ([ event modifierFlags ] & NSCommandKeyMask) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:554:8: warning:
'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSKeyUp:
^~~~~~~
NSEventTypeKeyUp
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly
marked deprecated here
static const NSEventType NSKeyUp NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeKe...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:560:36: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
if ([ event modifierFlags ] & NSCommandKeyMask) {
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:570:8: warning:
'NSScrollWheel' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSScrollWheel:
^~~~~~~~~~~~~
NSEventTypeScrollWheel
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:26: note: 'NSScrollWheel' has been
explicitly marked deprecated here
static const NSEventType NSScrollWheel NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeSc...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:624:8: warning:
'NSCursorUpdate' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSCursorUpdate:
^~~~~~~~~~~~~~
NSEventTypeCursorUpdate
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:26: note: 'NSCursorUpdate' has been
explicitly marked deprecated here
static const NSEventType NSCursorUpdate NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeCu...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:625:8: warning:
'NSMouseEntered' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseEntered:
^~~~~~~~~~~~~~
NSEventTypeMouseEntered
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:26: note: 'NSMouseEntered' has been
explicitly marked deprecated here
static const NSEventType NSMouseEntered NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeMo...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:626:8: warning:
'NSMouseExited' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
case NSMouseExited:
^~~~~~~~~~~~~
NSEventTypeMouseExited
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:26: note: 'NSMouseExited' has been
explicitly marked deprecated here
static const NSEventType NSMouseExited NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventTypeMo...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:698:106: warning:
'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKe...
^~~~~~~~~~~~~~~~
NSEventModifierFlagControl
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSControlKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:698:125: warning:
'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
...!= RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMask)) != _invert_ctrl;
^~~~~~~~~~~~~~~~
NSEventModifierFlagCommand
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/event.mm:699:40: warning:
'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
_shift_pressed = !!(_current_mods & NSShiftKeyMask) != _invert_shift;
^~~~~~~~~~~~~~
NSEventModifierFlagShift
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been
explicitly marked deprecated here
static const NSEventModifierFlags NSShiftKeyMask NS_DEPRECATED_WITH_REPLACEMENT_MAC(...
^
35 warnings generated.
[SRC] Compiling video/cocoa/fullscreen.mm
[SRC] Compiling video/cocoa/wnd_quartz.mm
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/wnd_quartz.mm:251:24: warning:
'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
unsigned int style = NSTitledWindowMask;
^~~~~~~~~~~~~~~~~~
NSWindowStyleMaskTitled
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 'NSTitledWindowMask' has
been explicitly marked deprecated here
static const NSWindowStyleMask NSTitledWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowSty...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/wnd_quartz.mm:252:13: warning:
'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12
[-Wdeprecated-declarations]
style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
^~~~~~~~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskMiniaturizable
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:32: note:
'NSMiniaturizableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSMiniaturizableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSW...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/wnd_quartz.mm:252:42: warning:
'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
^~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskClosable
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32: note: 'NSClosableWindowMask' has
been explicitly marked deprecated here
static const NSWindowStyleMask NSClosableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowS...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/wnd_quartz.mm:253:12: warning:
'NSResizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
style |= NSResizableWindowMask;
^~~~~~~~~~~~~~~~~~~~~
NSWindowStyleMaskResizable
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:958:32: note: 'NSResizableWindowMask' has
been explicitly marked deprecated here
static const NSWindowStyleMask NSResizableWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindow...
^
/Users/okansp/Downloads/OpenTTD-patches-f5ca33328cd9139b31d917797914b0f201e2295a/src/video/cocoa/wnd_quartz.mm:284:69: warning:
'NSWindowFullScreenButton' is deprecated: first deprecated in macOS 10.12 - The standard window
button for NSWindowFullScreenButton is always nil; use NSWindowZoomButton instead
[-Wdeprecated-declarations]
NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindow...
^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:163:5: note: 'NSWindowFullScreenButton'
has been explicitly marked deprecated here
NSWindowFullScreenButton NS_ENUM_DEPRECATED_MAC(10_7, 10_12, "The standard window button for ...
^
5 warnings generated.
[SRC] Compiling video/cocoa/wnd_quickdraw.mm
[SRC] Linking openttd
ld: warning: text-based stub file /System/Library/Frameworks/Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks/Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks/Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AudioUnit.framework/AudioUnit.tbd and library file /System/Library/Frameworks/AudioUnit.framework/AudioUnit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox.tbd and library file /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit.tbd and library file /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
convert_tofrom_fs(void*, char const*) in unix.o
"_libiconv_open", referenced from:
OTTD2FS(char const*) in unix.o
FS2OTTD(char const*) in unix.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [openttd] Error 1
make: *** [all] Error 1
note: im remove some text from log because maximum number of allowed characters is 60000
-
- Engineer
- Posts: 42
- Joined: 25 Oct 2012 22:05
Re: JGR's Patch Pack
Hi JGR, I currently am using your patch pack over others for a few reasons but I didnt see in the feature listing something I found useful in the other patch packs is the auto group naming function. This is where you can drag a train to the create a group button and it auto creates a group based on the destination and cargo type.
Is this a feature you have in your patch pack?
Is this a feature you have in your patch pack?
Re: JGR's Patch Pack
Bug report (also posted at github):
## Version of OpenTTD
jgrpp-0.33.2
## Expected result
buying new vehicle in maglev depot
## Actual result
game crashes with crash screen
Assertion failed at line 1042 of /home/jgr/openttd/cross-win64/src/gfx.cpp: sprite->height > 0
## Steps to reproduce
crash log attached
[crash.log](https://github.com/JGRennison/OpenTTD-p ... /crash.log)
[Northern Islands Express, 21st Sep 1995.zip](https://github.com/JGRennison/OpenTTD-p ... p.1995.zip)
## Version of OpenTTD
jgrpp-0.33.2
## Expected result
buying new vehicle in maglev depot
## Actual result
game crashes with crash screen
Assertion failed at line 1042 of /home/jgr/openttd/cross-win64/src/gfx.cpp: sprite->height > 0
## Steps to reproduce
crash log attached
[crash.log](https://github.com/JGRennison/OpenTTD-p ... /crash.log)
[Northern Islands Express, 21st Sep 1995.zip](https://github.com/JGRennison/OpenTTD-p ... p.1995.zip)
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: JGR's Patch Pack
Hello everybody. I have a question:
Why when i buy a train with cargo wagons, while it's still in the depot i can refit single wagons(to different cargo types, so 1 train can transport more than 1 cargo), and in the order window, when clicking an order(destination station) and selecting refit, it's only possible to refit the whole train?
Why when i buy a train with cargo wagons, while it's still in the depot i can refit single wagons(to different cargo types, so 1 train can transport more than 1 cargo), and in the order window, when clicking an order(destination station) and selecting refit, it's only possible to refit the whole train?
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- andythenorth
- Tycoon
- Posts: 5658
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: JGR's Patch Pack
Good question. Reasons are:Sensation Lover wrote: ↑14 Mar 2020 20:48 ...in the order window, when clicking an order(destination station) and selecting refit, it's only possible to refit the whole train?
- the order might apply to more than one train, with different vehicles (shared orders)
- the vehicles in the train might change
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: JGR's Patch Pack
The train is the only one for that route. And I don't really understand what do you mean by "the vehicles in the train might change" . If might help, the Loco is from 2CC Trains in NML 3.0 and the wagons are Livestock wagons from UKRS 3 ... I know I should not mix sets, but is it possible that this is the reason. and it's very strange that in the depot is possible to mix cargo and at the stations not. Thank you anyway!andythenorth wrote: ↑14 Mar 2020 22:45Good question. Reasons are:Sensation Lover wrote: ↑14 Mar 2020 20:48 ...in the order window, when clicking an order(destination station) and selecting refit, it's only possible to refit the whole train?Hope that helps.
- the order might apply to more than one train, with different vehicles (shared orders)
- the vehicles in the train might change
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Re: JGR's Patch Pack
Andy is talking about the general case: It's possible to change a train's consist after making orders for the train, and then the refit orders would no longer be valid. It's also possible to share orders between multiple different trains with wildly different consists, and if you did that then the refit orders would possible always be wrong for one or more of the trains. That's two reasons why it's not possible to have per-wagon refit orders.
- andythenorth
- Tycoon
- Posts: 5658
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: JGR's Patch Pack
Depot refit:
-- General observation --
Like many many many things in the JGRPP thread, this question is nothing to do with the PP.
It's very hard for the OP to know that, so it's not something they could have avoided.
But I do think it's unfair how many questions JGR receives about the default game.
This was noticed in #openttd irc and discussed by a few core contributors.
Generally core contributors are supportive of JGRPP as it gives many players access to features that would never be added to vanilla OpenTTD. This solves some specific player needs or frustrations, and avoids core having to politely say no to feature requests over and over again. So JGRPP is a good thing.
There were a few observations though.
1. JGR might get maintainer burnout. This happens often in open source, and usually comes as a surprise, as maintainers keep going, trying to answer all the questions, until one day it's just too much. Then they rage quit, or have to take a break for their own peace of mind. Maintainer burnout is bad.
2. Core contributors could help by answering more of the questions that are about vanilla (or moderating them into their own forum thread).
3. Experienced players could help by not advocating so much for JGRPP to other players who are absolutely new to the game. This happens here and in r/openttd on reddit. It may seem super helpful to suggest JGRPP because 'feature x is fixed there'. But it isn't at all helpful when it's suggested to players who are just learning the game. For example, there's no need to explain to new players that 'advanced timetables are all solved in JGRPP' when that player is just learning how signals and orders work.
I haven't asked JGR about burnout, so eh, this might be all about nothing. But it's a concern. And we can all help.
- applies to 'this' train only
- happens 'now'
- there is only one possible type of consist: 'this' train 'now'.
- applies to a group of trains using this order, even if that group has just 1 member
- happens whenever the order runs
- there are unlimited types of consist: all trains using this order, at any time
-- General observation --
Like many many many things in the JGRPP thread, this question is nothing to do with the PP.
It's very hard for the OP to know that, so it's not something they could have avoided.
But I do think it's unfair how many questions JGR receives about the default game.
This was noticed in #openttd irc and discussed by a few core contributors.
Generally core contributors are supportive of JGRPP as it gives many players access to features that would never be added to vanilla OpenTTD. This solves some specific player needs or frustrations, and avoids core having to politely say no to feature requests over and over again. So JGRPP is a good thing.
There were a few observations though.
1. JGR might get maintainer burnout. This happens often in open source, and usually comes as a surprise, as maintainers keep going, trying to answer all the questions, until one day it's just too much. Then they rage quit, or have to take a break for their own peace of mind. Maintainer burnout is bad.
2. Core contributors could help by answering more of the questions that are about vanilla (or moderating them into their own forum thread).
3. Experienced players could help by not advocating so much for JGRPP to other players who are absolutely new to the game. This happens here and in r/openttd on reddit. It may seem super helpful to suggest JGRPP because 'feature x is fixed there'. But it isn't at all helpful when it's suggested to players who are just learning the game. For example, there's no need to explain to new players that 'advanced timetables are all solved in JGRPP' when that player is just learning how signals and orders work.
I haven't asked JGR about burnout, so eh, this might be all about nothing. But it's a concern. And we can all help.
Last edited by andythenorth on 16 Mar 2020 13:45, edited 1 time in total.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: JGR's Patch Pack
I have not been able to reproduce this, building locks on canals and on shores works fine when this setting is disabled.Diesel Power wrote: ↑14 Mar 2020 08:29 Found a small bug/glitch. If "allow removing sea/rivers" is disabled in settings, it also stops you from building locks.
Removing rivers to build locks is not permitted however.
I'd suggest configuring with `--without-iconv`.Qwerty Asd wrote: ↑14 Mar 2020 16:56 Im have compile issues in mac high sierra.
im has ./configure with LDFLAGS="-liconv" also, but the issue still happen. im can figure this issues
note: im remove some text from log because maximum number of allowed characters is 60000
This isn't a feature in this patch pack, groups are simply numbered. You can however rename the group as per your preferred naming scheme.chrissykes wrote: ↑14 Mar 2020 19:12 Hi JGR, I currently am using your patch pack over others for a few reasons but I didnt see in the feature listing something I found useful in the other patch packs is the auto group naming function. This is where you can drag a train to the create a group button and it auto creates a group based on the destination and cargo type.
Is this a feature you have in your patch pack?
As each player will have a different preferred naming scheme this isn't something that is realistic to try to implement.
There appears to be something interesting in your NewGRF config. The maglev purchase list shows wagons with invalid (question mark) sprites.Mazth wrote: ↑14 Mar 2020 20:15 Bug report (also posted at github):
## Version of OpenTTD
jgrpp-0.33.2
## Expected result
buying new vehicle in maglev depot
## Actual result
game crashes with crash screen
Assertion failed at line 1042 of /home/jgr/openttd/cross-win64/src/gfx.cpp: sprite->height > 0
## Steps to reproduce
crash log attached
[crash.log](https://github.com/JGRennison/OpenTTD-p ... /crash.log)
[Northern Islands Express, 21st Sep 1995.zip](https://github.com/JGRennison/OpenTTD-p ... p.1995.zip)
The same can be observed by loading the initial part of your NewGRF config into current trunk.
I will see if something more useful than crashing can be done in this case.
As above, there isn't a feature to do this at present. The auto-refit feature may be useful, however this does create its own problems.Sensation Lover wrote: ↑14 Mar 2020 20:48 Hello everybody. I have a question:
Why when i buy a train with cargo wagons, while it's still in the depot i can refit single wagons(to different cargo types, so 1 train can transport more than 1 cargo), and in the order window, when clicking an order(destination station) and selecting refit, it's only possible to refit the whole train?
Your concern and that of the other devs/core contributors is much appreciated.andythenorth wrote: ↑16 Mar 2020 10:36 Depot refit:Station refit:
- applies to 'this' train only
- happens 'now'
- there is only one possible type of consist: 'this' train 'now'.
This isn't a bug in your game. It's just how the world works. You can't make a rule for unknown things at unknown times.
- applies to a group of trains using this order, even if that group is 1
- happens whenever the order runs
- there are unlimited types of consist: all trains using this order, at any time
-- General observation --
Like many many many things in the JGRPP thread, this question is nothing to do with the PP.
It's very hard for the OP to know that, so it's not something they could have avoided.
But I do think it's unfair how many questions JGR receives about the default game.
This was noticed in #openttd irc and discussed by a few core contributors.
Generally core contributors are supportive of JGRPP as it gives many players access to features that would never be added to vanilla OpenTTD. This solves some specific player needs or frustrations, and avoids core having to politely say no to feature requests over and over again. So JGRPP is a good thing.
There were a few observations though.
1. JGR might get maintainer burnout. This happens often in open source, and usually comes as a surprise, as maintainers keep going, trying to answer all the questions, until one day it's just too much. Then they rage quit, or have to take a break for their own peace of mind. Maintainer burnout is bad.
2. Core contributors could help by answering more of the questions that are about vanilla (or moderating them into their own forum thread).
3. Experienced players could help by not advocating so much for JGRPP to other players who are absolutely new to the game. This happens here and in r/openttd on reddit. It may seem super helpful to suggest JGRPP because 'feature x is fixed there'. But it isn't at all helpful when it's suggested to players who are just learning the game. For example, there's no need to explain to new players that 'advanced timetables are all solved in JGRPP' when that player is just learning how signals and orders work.
I haven't asked JGR about burnout, so eh, this might be all about nothing. But it's a concern. And we can all help.
I don't feel that I'm getting burn out, working on the codebase is still interesting, though of course what parts most interest me isn't always the same as what parts most interest the users .
I do find that other players answer many questions that arrive on this thread, so I don't feel that I have to answer everything myself.
On the issue of inexperienced players, in recent times I've been putting some of the more arcane features behind settings flags which beginners are unlikely to find/change.
Timetable features like automation/auto-separation are intended to be beginner friendly, others like scheduled dispatch are the opposite and are pretty much unusable for beginners, and I don't personally use them. These also tend to generate the most bug reports/thread traffic.
At some point the UI ought to be changed to emphasise the former and hide stuff like the latter behind a setting, but that hasn't happened yet.
I am aware that some features do have steep learning curves, and sharp corners that ought to be rounded off.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: JGR's Patch Pack
In my experience, building locks is impossible if clearing water is disabled and the game needs to clear rocks from water (or whatever they are called in the game), which is probably considered as water removing. As a result, player needs to make additional canals so he can build lock avoiding those rocks.
Re: JGR's Patch Pack
On the subject of helping newer players, I've written a guide to the dispatch scheduling feature that users on reddit have found helpful:
https://docs.google.com/document/d/16iM ... sp=sharing
https://docs.google.com/document/d/16iM ... sp=sharing
Who is online
Users browsing this forum: No registered users and 41 guests