Loading

Paste #pn5we4eqn

  1.     openttd.exe!SQVM::Execute(SQObjectPtr & closure, __int64 target, __int64 nargs, __int64 stackbase, SQObjectPtr & outres, unsigned __int64 raiseerror, SQVM::ExecutionType et) Ligne 730 C++
  2.     openttd.exe!sq_resumeerror(SQVM * v) Ligne 1031 C++
  3.     openttd.exe!Squirrel::ResumeError() Ligne 337   C++
  4. >   openttd.exe!`ScriptInstance::GameLoop'::`1'::catch$3() Ligne 228    C++
  5.     [Code externe]

layers recolour

  1. switch (FEAT_TRAINS,SELF, switch_mglv_hopper_layer0, [
  2.   STORE_TEMP(CB_FLAG_MORE_SPRITES + base_sprite_2cc + 3 + 16 * company_colour2, 0x100)
  3. ]{
  4.   return spritegroup_maglevhopper_wagon_layer;
  5. }

layers recolour

  1.  
  2. switch (FEAT_TRAINS,SELF, switch_mglv_hopper_layers, [
  3.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  4.   getbits(extra_callback_info1, 8, 8)
  5.   ]){

Paste #p4onmpucs

  1. // buy menu spriteset template
  2. template spriteset_template_purchase_athena(y) {
  3.             //[left_x,  upper_y,    width,      height,     offset_x,      offset_y]
  4.             [60,    10, 1, 1, 0, 0]
  5.             [60,    10, 1, 1, 0, 0]

layerssssss

  1. switch (FEAT_TRAINS,SELF, switch_rail_freight_vehid_back_layers, [
  2.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  3.   getbits(extra_callback_info1, 8, 8)
  4.   ]){
  5.   0: sprite_attach_background_8_rail_freight_wagon;

Paste #prudxgwg7

  1. (bin35) iron-horse$ make clean
  2. [CLEANING]
  3. [DONE]
  4. (bin35) iron-horse$ time make PW=16
  5. [RENDER GRAPHICS] render_graphics.py

Paste #p7osfvab0

  1. (bin35) iron-horse$ make install PW=16
  2. nmlc -l generated/lang  --verbosity=4 --grf=generated/iron-horse.grf generated/iron-horse.nml
  3. Reading lang ... 0.0 s
  4. Reading ... 0.0 s
  5. Init parser ... 0.5 s

Paste #pllddjkr6

  1. (bin35) iron-horse$ make install PW=16
  2. rm ~/Documents/OpenTTD/newgrf/iron-horse.grf
  3. cp generated/iron-horse.grf ~/Documents/OpenTTD/newgrf/
  4. (bin35) iron-horse$ make install PW=16
  5. [RENDER GRAPHICS] render_graphics.py

amount seems to be above

  1. Station* station = Station::Get(stationId);
  2. uint amount = station->goods[CC_PASSENGERS].cargo.TotalCount();
  3. //I've tried .AvailableCount() and CT_PASSENGERS each aswell, same result.
  4. if (!station->goods[CC_PASSENGERS].HasVehicleEverTriedLoading()) return true;
  5. if (amount == 0) {
  1.  
  2. V@DESKTOP-F0RUS2Q ~
  3. $ pip install Pillow
  4. Collecting Pillow
  5.   Using cached https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz
  1.  
  2.  
  3. // If any cargo has been transported from this industry, reset the counter.
  4.  
  5. // Then increment the counter.

asdf

  1.     graphics {
  2.  
  3.         produce_cargo_arrival: production_counter_reset;
  4.  
  5.         produce_256_ticks: produce_food_processor;

layers

  1. switch (FEAT_TRAINS,SELF, switch_hopper_wagon_layers, [
  2.  
  3.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  4.  
  5.   getbits(extra_callback_info1, 8, 8)

layering

  1. switch (FEAT_TRAINS, SELF, overlay, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
  2.     return sprite_attach_overlay_8_rail_freight_engine;
  3. }
  4. switch (FEAT_TRAINS, SELF, base, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) {
  5.     return switch_rail_freight_graphics_which_end;

layer test

  1. switch (FEAT_TRAINS,SELF, switch_rail_freight_attach_overlay, getbits(extra_callback_info1, 8, 8)){
  2.   0: return sprite_attach_overlay_8_rail_freight_engine;
  3.   return switch_rail_freight_graphics_which_end;
  4. }