Home
last modified time | relevance | path

Searched refs:int_3 (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/dports/games/lincity/lincity-1.13.1/modules/
H A Dcoalmine.c55 - MP_INFO(x,y).int_3) != 0) in do_coalmine()
57 MP_INFO(x,y).int_3 = 0; in do_coalmine()
74 MP_INFO(x,y).int_3 += JOBS_DIG_COAL / 10; in do_coalmine()
88 - MP_INFO(x - 1,y).int_3)) in do_coalmine()
94 MP_INFO(x - 1,y).int_3 = MAX_COAL_ON_RAIL; in do_coalmine()
100 - MP_INFO(x,y - 1).int_3)) in do_coalmine()
106 MP_INFO(x,y - 1).int_3 = MAX_COAL_ON_RAIL; in do_coalmine()
113 - MP_INFO(x - 1,y).int_3)) in do_coalmine()
125 - MP_INFO(x,y - 1).int_3)) in do_coalmine()
138 - MP_INFO(x - 1,y).int_3)) in do_coalmine()
[all …]
H A Dcoal_power.c43 MP_INFO(x,y).int_2 += (MP_INFO(x-1, y+1).int_3 / 2 in do_power_source_coal()
44 + ((MP_INFO(x-1, y+1).int_3) % 2)); in do_power_source_coal()
45 MP_INFO(x-1, y+1).int_3 /= 2; in do_power_source_coal()
52 MP_INFO(x,y).int_2 += (MP_INFO(x+1, y-1).int_3 / 2 in do_power_source_coal()
53 + ((MP_INFO(x+1, y-1).int_3) % 2)); in do_power_source_coal()
54 MP_INFO(x + 1,y - 1).int_3 /= 2; in do_power_source_coal()
60 if ((MP_INFO(x,y).int_3 + JOBS_COALPS_GENERATE + 10) in do_power_source_coal()
63 MP_INFO(x,y).int_3 += JOBS_COALPS_GENERATE + 10; in do_power_source_coal()
67 MP_INFO(x,y).int_3 > JOBS_COALPS_GENERATE) in do_power_source_coal()
70 MP_INFO(x,y).int_3 -= JOBS_COALPS_GENERATE; in do_power_source_coal()
[all …]
H A Dport.c44 MP_INFO(x + 1,y).int_3 += i; in do_port()
50 MP_INFO(x + 2,y).int_3 += i; in do_port()
109 MP_INFO(x + 1,y).int_3 += i; in do_port()
115 MP_INFO(x + 2,y).int_3 += i; in do_port()
174 b1 = &(MP_INFO(x + 1,y).int_3); in do_port()
175 s1 = &(MP_INFO(x + 2,y).int_3); in do_port()
176 b2 = &(MP_INFO(x,y + 1).int_3); in do_port()
177 s2 = &(MP_INFO(x,y + 2).int_3); in do_port()
197 et += MP_INFO(x,y).int_3; /* int_3 holds the 'pence' */ in do_port()
200 MP_INFO(x,y).int_3 = et % 100; in do_port()
[all …]
H A Dheavy_industry.c36 if (MP_INFO(x,y).int_3 < MAX_ORE_AT_INDUSTRY_H in do_industry_h()
41 MP_INFO(x,y).int_3 += (MP_INFO(x - 1,y).int_5 / 2 in do_industry_h()
45 if (MP_INFO(x,y).int_3 < MAX_ORE_AT_INDUSTRY_H in do_industry_h()
57 != 0) && MP_INFO(x - 1,y).int_3 > 0) in do_industry_h()
61 + ((MP_INFO(x - 1,y).int_3) % 2)); in do_industry_h()
62 MP_INFO(x - 1,y).int_3 /= 2; in do_industry_h()
66 != 0) && MP_INFO(x,y - 1).int_3 > 0) in do_industry_h()
70 + ((MP_INFO(x,y - 1).int_3) % 2)); in do_industry_h()
71 MP_INFO(x,y - 1).int_3 /= 2; in do_industry_h()
74 rawm = MP_INFO(x,y).int_3; in do_industry_h()
[all …]
H A Dorganic_farm.c49 MP_INFO(x,y).int_3++; in do_organic_farm()
57 MP_INFO(x,y).int_3++; in do_organic_farm()
68 MP_INFO(x,y).int_3++; in do_organic_farm()
76 MP_INFO(x,y).int_3++; in do_organic_farm()
85 MP_INFO(x,y).int_3++; in do_organic_farm()
90 MP_INFO(x,y).int_3++; in do_organic_farm()
97 MP_INFO(x,y).int_4 = MP_INFO(x,y).int_3; in do_organic_farm()
98 MP_INFO(x,y).int_3 = 0; in do_organic_farm()
H A Dcommune.c39 MP_INFO(x,y).int_3++; in do_commune()
45 MP_INFO(x,y).int_3++; in do_commune()
52 MP_INFO(x,y).int_3++; in do_commune()
59 MP_INFO(x,y).int_3++; in do_commune()
79 if (MP_INFO(x,y).int_3 > 0) /* >0% */ in do_commune()
81 MP_INFO(x,y).int_3 = 0; in do_commune()
87 MP_INFO(x,y).int_3 = 0; in do_commune()
H A Dmill.c36 if (MP_INFO(x,y).int_3 < MAX_COAL_AT_MILL) in do_mill()
39 MP_INFO(x,y).int_3 += MILL_GET_COAL; in do_mill()
42 MP_INFO(x,y).int_3 += MILL_GET_COAL; in do_mill()
47 && MP_INFO(x,y).int_3 > COAL_USED_BY_MILL) in do_mill()
52 MP_INFO(x,y).int_3 -= COAL_USED_BY_MILL; in do_mill()
120 MP_INFO(x,y).int_3 * 100.0 / MAX_COAL_AT_MILL); in mps_mill()
H A Dfire.c64 if (MP_INFO(x,y).int_3 == -1) in do_fire()
87 else if (MP_INFO(x,y).int_3 == 0) in do_fire()
88 MP_INFO(x,y).int_3 = real_time + 15000; /* 15 secs seem fair */ in do_fire()
89 else if (real_time >= MP_INFO(x,y).int_3) in do_fire()
90 MP_INFO(x,y).int_3 = -1; in do_fire()
H A Drocket_pad.c54 if (MP_INFO(x,y).int_3 < ROCKET_PAD_STEEL_STORE) in do_rocket_pad()
57 MP_INFO(x,y).int_3 += ROCKET_PAD_STEEL + 10; in do_rocket_pad()
59 MP_INFO(x,y).int_3 += ROCKET_PAD_STEEL / 5; in do_rocket_pad()
61 MP_INFO(x,y).int_3 += ROCKET_PAD_STEEL / 20; in do_rocket_pad()
70 && MP_INFO(x,y).int_3 >= ROCKET_PAD_STEEL_STORE) in do_rocket_pad()
74 MP_INFO(x,y).int_3 -= ROCKET_PAD_STEEL_STORE; in do_rocket_pad()
181 MP_INFO(x,y).int_3 * 100.0 / ROCKET_PAD_STEEL_STORE); in mps_rocket()
H A Dlight_industry.c44 if (MP_INFO(x,y).int_3 < (MAX_ORE_AT_INDUSTRY_L in do_industry_l()
52 MP_INFO(x,y).int_3 += INDUSTRY_L_GET_ORE; in do_industry_l()
57 MP_INFO(x,y).int_3 += MP_INFO(x - 1,y).int_5; in do_industry_l()
64 if (MP_INFO(x,y).int_3 < (MAX_ORE_AT_INDUSTRY_L in do_industry_l()
72 MP_INFO(x,y).int_3 += INDUSTRY_L_GET_ORE; in do_industry_l()
77 MP_INFO(x,y).int_3 += MP_INFO(x,y - 1).int_5; in do_industry_l()
127 - (INDUSTRY_L_MAKE_GOODS * 8)) && MP_INFO(x,y).int_3 in do_industry_l()
131 MP_INFO(x,y).int_3 -= INDUSTRY_L_ORE_USED; in do_industry_l()
144 if (MP_INFO(x,y).int_3 >= INDUSTRY_L_ORE_USED in do_industry_l()
150 MP_INFO(x,y).int_3 -= INDUSTRY_L_ORE_USED; in do_industry_l()
[all …]
/dports/games/lincity-ng/lincity-ng-2.0/src/lincity/modules/
H A Dcoalmine.cpp46 MP_INFO(x, y).int_3 = 0; in do_coalmine()
80 && MP_INFO(x - 1, y).int_3 < MAX_COAL_ON_RAIL in do_coalmine()
84 MP_INFO(x - 1, y).int_3 = MAX_COAL_ON_RAIL; in do_coalmine()
89 && MP_INFO(x, y - 1).int_3 < MAX_COAL_ON_RAIL in do_coalmine()
93 MP_INFO(x, y - 1).int_3 = MAX_COAL_ON_RAIL; in do_coalmine()
99 && MP_INFO(x - 1, y).int_3 < MAX_COAL_ON_ROAD in do_coalmine()
103 MP_INFO(x - 1, y).int_3 = MAX_COAL_ON_ROAD; in do_coalmine()
108 && MP_INFO(x, y - 1).int_3 < MAX_COAL_ON_ROAD in do_coalmine()
112 MP_INFO(x, y - 1).int_3 = MAX_COAL_ON_ROAD; in do_coalmine()
118 && MP_INFO(x - 1, y).int_3 < MAX_COAL_ON_TRACK in do_coalmine()
[all …]
H A Dcoal_power.cpp34 if (XY_IS_TRANSPORT(x - 1, y + 1) && MP_INFO(x - 1, y + 1).int_3 > 0) { in do_power_source_coal()
36 … MP_INFO(x, y).int_2 += (MP_INFO(x - 1, y + 1).int_3 / 2 + ((MP_INFO(x - 1, y + 1).int_3) % 2)); in do_power_source_coal()
37 MP_INFO(x - 1, y + 1).int_3 /= 2; in do_power_source_coal()
42 else if (XY_IS_TRANSPORT(x + 1, y - 1) && MP_INFO(x + 1, y - 1).int_3 > 0) { in do_power_source_coal()
44 … MP_INFO(x, y).int_2 += (MP_INFO(x + 1, y - 1).int_3 / 2 + ((MP_INFO(x + 1, y - 1).int_3) % 2)); in do_power_source_coal()
45 MP_INFO(x + 1, y - 1).int_3 /= 2; in do_power_source_coal()
51 if ((MP_INFO(x, y).int_3 + JOBS_COALPS_GENERATE + 10) in do_power_source_coal()
54 MP_INFO(x, y).int_3 += JOBS_COALPS_GENERATE + 10; in do_power_source_coal()
57 …if (MP_INFO(x, y).int_2 > POWERS_COAL_OUTPUT / 500 && MP_INFO(x, y).int_3 > JOBS_COALPS_GENERATE) { in do_power_source_coal()
59 MP_INFO(x, y).int_3 -= JOBS_COALPS_GENERATE; in do_power_source_coal()
[all …]
H A Dheavy_industry.cpp33 load = std::min(MAX_ORE_AT_INDUSTRY_H - MP_INFO(x, y).int_3, in do_industry_h()
35 MP_INFO(x, y).int_3 += load; in do_industry_h()
41 load = std::min(MAX_ORE_AT_INDUSTRY_H - MP_INFO(x, y).int_3, in do_industry_h()
43 MP_INFO(x, y).int_3 += load; in do_industry_h()
51 MP_INFO(x - 1, y).int_3 / 2 + ((MP_INFO(x - 1, y).int_3) % 2)); in do_industry_h()
53 MP_INFO(x - 1, y).int_3 -= load; in do_industry_h()
59 MP_INFO(x, y - 1).int_3 / 2 + ((MP_INFO(x, y - 1).int_3) % 2)); in do_industry_h()
61 MP_INFO(x, y - 1).int_3 -= load; in do_industry_h()
64 rawm = MP_INFO(x, y).int_3; in do_industry_h()
81 MP_INFO(x, y).int_3 -= steel * ORE_MAKE_STEEL; in do_industry_h()
[all …]
H A Dport.cpp36 if (MP_INFO(xt, yt).int_3 < MAX_COAL_ON_ROAD) in buy_coal()
39 if (MP_INFO(xt, yt).int_3 < MAX_COAL_ON_RAIL) in buy_coal()
43 MP_INFO(xt, yt).int_3 += i; in buy_coal()
113 MP_INFO(xt, yt).int_3 -= i; in sell_coal()
154 MP_INFO(x + 1, y).int_3 += i; in trade_connection()
159 MP_INFO(x + 2, y).int_3 += i; in trade_connection()
249 b1 = &(MP_INFO(x + 1, y).int_3); in do_port()
250 s1 = &(MP_INFO(x + 2, y).int_3); in do_port()
251 b2 = &(MP_INFO(x, y + 1).int_3); in do_port()
252 s2 = &(MP_INFO(x, y + 2).int_3); in do_port()
[all …]
H A Dmill.cpp29 if (MP_INFO(x, y).int_3 < MAX_COAL_AT_MILL) { in do_mill()
31 MP_INFO(x, y).int_3 += MILL_GET_COAL; in do_mill()
33 MP_INFO(x, y).int_3 += MILL_GET_COAL; in do_mill()
40 if (MP_INFO(x, y).int_2 > FOOD_USED_BY_MILL && MP_INFO(x, y).int_3 > COAL_USED_BY_MILL) { in do_mill()
43 MP_INFO(x, y).int_3 -= COAL_USED_BY_MILL; in do_mill()
101 mps_store_sfp(i++, _("Coal"), MP_INFO(x, y).int_3 * 100.0 / MAX_COAL_AT_MILL); in mps_mill()
H A Dcommune.cpp50 MP_INFO(x, y).int_3++; in do_commune()
56 MP_INFO(x, y).int_3++; in do_commune()
62 MP_INFO(x, y).int_3++; in do_commune()
68 MP_INFO(x, y).int_3++; in do_commune()
92 if (MP_INFO(x, y).int_3 > 0) { /* >0% */ in do_commune()
93 MP_INFO(x, y).int_3 = 0; in do_commune()
97 MP_INFO(x, y).int_3 = 0; in do_commune()
H A Dfire.cpp59 if (MP_INFO(x, y).int_3 == -1) { in do_fire()
77 } else if (MP_INFO(x, y).int_3 == 0) { in do_fire()
79 MP_INFO(x, y).int_3 = real_time + 15000; /* 15 secs seem fair */ in do_fire()
80 } else if (real_time >= MP_INFO(x, y).int_3) in do_fire()
81 MP_INFO(x, y).int_3 = -1; in do_fire()
H A Dlight_industry.cpp36 if (MP_INFO(x, y).int_3 < (MAX_ORE_AT_INDUSTRY_L - INDUSTRY_L_GET_ORE)) { in do_industry_l()
39 MP_INFO(x, y).int_3 += INDUSTRY_L_GET_ORE; in do_industry_l()
42 MP_INFO(x, y).int_3 += MP_INFO(x - 1, y).int_5; in do_industry_l()
49 if (MP_INFO(x, y).int_3 < (MAX_ORE_AT_INDUSTRY_L - INDUSTRY_L_GET_ORE)) { in do_industry_l()
52 MP_INFO(x, y).int_3 += INDUSTRY_L_GET_ORE; in do_industry_l()
55 MP_INFO(x, y).int_3 += MP_INFO(x, y - 1).int_5; in do_industry_l()
89 … - (INDUSTRY_L_MAKE_GOODS * 8)) && MP_INFO(x, y).int_3 >= INDUSTRY_L_ORE_USED) { in do_industry_l()
91 MP_INFO(x, y).int_3 -= INDUSTRY_L_ORE_USED; in do_industry_l()
102 if (MP_INFO(x, y).int_3 >= INDUSTRY_L_ORE_USED && get_power(x, y, goods * 10, 1) != 0) { in do_industry_l()
106 MP_INFO(x, y).int_3 -= INDUSTRY_L_ORE_USED; in do_industry_l()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/SPIRV-Cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/spirv-cross/spirv-cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/spirv-cross/spirv-cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/shaders-msl/intel/
H A Dshader-integer-functions2.asm.comp39 %int_3 = OpConstant %int 3
54 %26 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
68 %39 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
82 %51 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
96 %63 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
110 %75 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3
124 %87 = OpAccessChain %_ptr_StorageBuffer_int %_ %int_3

12345678910>>...31