This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// buy menu spriteset template | |
template spriteset_template_purchase_breeze(y) { | |
//[left_x, upper_y, width, height, offset_x, offset_y] | |
[] | |
[] | |
[] | |
[] | |
[] | |
[] | |
// allow for buffers/couplings being 1px additional to the unit (they overlap in consists, but show in buy menu) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py38) OTTD_graphics/FIRS/firs (v4-release-track|✚8) % nmlc -s -c -l generated/lang --verbosity=4 --grf=generated/firs.grf generated/firs.nml | |
Reading lang ... 0.2 s | |
Reading ... 0.0 s | |
Init parser ... 0.0 s | |
Parsing ... 10.2 s | |
Preprocessing ...Traceback (most recent call last): | |
File "~/Documents/OTTD_graphics/py38/bin/nmlc", line 11, in <module> | |
load_entry_point('nml==0.5.2.post20200605+155.g77e62da', 'console_scripts', 'nmlc')() | |
File "~/Documents/OTTD_graphics/py38/lib/python3.8/site-packages/nml-0.5.2.post20200605+155.g77e62da-py3.8-macosx-10.9-x86_64.egg/nml/main.py", line 421, in run | |
main(sys.argv[1:]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [LOAD_TEMP(0) == LOAD_TEMP(16)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [LOAD_TEMP(0) == LOAD_TEMP(15)]) { | |
1: return 1; | |
return switch_alt_var_41_match_ids_15; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [LOAD_TEMP(0) == LOAD_TEMP(14)]) { | |
1: return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [LOAD_TEMP(0) == LOAD_TEMP(16)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [LOAD_TEMP(0) == LOAD_TEMP(15)]) { | |
1: return 1; | |
return switch_alt_var_41_match_ids_15; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [LOAD_TEMP(0) == LOAD_TEMP(14)]) { | |
1: return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workspace/OpenTTD.andythenorth/build (master↑28|…) % make -j17 | |
[ 9%] Built target orig_extra.grf | |
[ 9%] Built target openttd.grf | |
[ 9%] Built target regression_files | |
[ 10%] Building CXX object src/settingsgen/CMakeFiles/settingsgen.dir/__/ini_load.cpp.o | |
[ 10%] Building CXX object src/settingsgen/CMakeFiles/settingsgen.dir/__/string.cpp.o | |
[ 10%] Building CXX object src/strgen/CMakeFiles/strgen.dir/__/string.cpp.o | |
[ 10%] Generating orig_dos.obg baseset metadata file | |
[ 10%] Generating orig_win.obg baseset metadata file | |
[ 10%] Generating orig_dos.obm baseset metadata file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [LOAD_TEMP(0) == LOAD_TEMP(16)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [LOAD_TEMP(0) == LOAD_TEMP(15)]) { | |
1: return 1; | |
return switch_alt_var_41_match_ids_15; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [LOAD_TEMP(0) == LOAD_TEMP(14)]) { | |
1: return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(16)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(15)]) { | |
1: return 1; | |
return switch_alt_var_41_match_ids_15; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(14)]) { | |
1: return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [LOAD_TEMP(0) == LOAD_TEMP(16)]) { | |
1: return 1; | |
return 0; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [LOAD_TEMP(0) == LOAD_TEMP(15)]) { | |
1: return 1; | |
return switch_alt_var_41_match_ids_15; | |
} | |
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [LOAD_TEMP(0) == LOAD_TEMP(14)]) { | |
1: return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preprocessing ...Traceback (most recent call last): | |
File "../../pypy3/bin/nmlc", line 11, in <module> | |
load_entry_point('nml==0.5.2.post20200603+g9ccffc3', 'console_scripts', 'nmlc')() | |
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 421, in run | |
main(sys.argv[1:]) | |
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 170, in main | |
ret = nml(input, input_filename, opts.debug, outputs, opts.start_sprite_num, opts.compress, opts.crop, opts.forced_palette, opts.md5_filename, opts.rebuild_parser, opts.debug_parser) | |
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 244, in nml | |
tmp_actions = result.get_action_list() | |
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/ast/base_statement.py", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (FEAT_TRAINS, SELF, switch_alt_var_41_num_vehs_in_vehid_chain_multiple_ids, 1) { | |
return 1 + switch_alt_var_41_position_in_vehid_chain_multiple_ids() + switch_alt_var_41_position_in_vehid_chain_from_end_multiple_ids(); | |
} |