Openrct2: Implement drawing functions

Created on 21 Apr 2016  Â·  18Comments  Â·  Source: OpenRCT2/OpenRCT2

Rides

Transport rides

  • [x] MINIATURE_RAILWAY #4478 #4619
  • [x] MONORAIL #3737
  • [x] SUSPENDED_MONORAIL #4569
  • [x] CHAIRLIFT #3511
  • [x] LIFT#3677

    Roller Coasters

  • [x] SIDE_FRICTION_ROLLER_COASTER #4569

  • [x] VIRGINIA_REEL #3435
  • [x] REVERSER_ROLLER_COASTER #4569
  • [x] WOODEN_ROLLER_COASTER #4544
  • [x] WOODEN_WILD_MOUSE #4523
  • [x] WILD_MOUSE #4530
  • [x] INVERTED_HAIRPIN_COASTER #4569
  • [x] JUNIOR_ROLLER_COASTER #3169
  • [x] MINI_ROLLER_COASTER #4569
  • [x] SPIRAL_ROLLER_COASTER #4569
  • [x] MINE_TRAIN_COASTER #4569
  • [x] LOOPING_ROLLER_COASTER #4569
  • [x] STAND_UP_ROLLER_COASTER #4569
  • [x] CORKSCREW_ROLLER_COASTER #4569
  • [x] LIM_LAUNCHED_ROLLER_COASTER #4569
  • [x] TWISTER_ROLLER_COASTER #4569
  • [x] GIGA_COASTER #4569
  • [x] SUSPENDED_SWINGING_COASTER #4569
  • [x] COMPACT_INVERTED_COASTER #4569
  • [x] INVERTED_ROLLER_COASTER #4569
  • [x] INVERTED_IMPULSE_COASTER #4569
  • [x] MINI_SUSPENDED_COASTER #4569
  • [x] STEEPLECHASE #4569
  • [x] BOBSLEIGH_COASTER #4569
  • [x] MINE_RIDE #4569
  • [x] HEARTLINE_TWISTER_COASTER #4569
  • [x] LAY_DOWN_ROLLER_COASTER #4569
  • [x] FLYING_ROLLER_COASTER #4569
  • [x] MULTI_DIMENSION_ROLLER_COASTER #4569
  • [x] REVERSE_FREEFALL_COASTER #4447
  • [x] VERTICAL_DROP_ROLLER_COASTER #4569
  • [x] AIR_POWERED_VERTICAL_COASTER #4515

    Gentle rides

  • [x] MONORAIL_CYCLES #3705

  • [x] CROOKED_HOUSE #3280
  • [x] HAUNTED_HOUSE #3652
  • [x] FERRIS_WHEEL #3657
  • [x] MAZE #3170
  • [x] MERRY_GO_ROUND #3653
  • [x] MINI_GOLF #3220
  • [x] OBSERVATION_TOWER #3412
  • [x] CAR_RIDE #3721
  • [x] MINI_HELICOPTERS #3664
  • [x] SPIRAL_SLIDE #3165
  • [x] DODGEMS #3180
  • [x] SPACE_RINGS #3692
  • [x] CIRCUS_SHOW #3649
  • [x] GHOST_TRAIN #3724
  • [x] FLYING_SAUCERS #3648

    Thrill rides

  • [x] TWIST #3694

  • [x] MAGIC_CARPET #3701
  • [x] LAUNCHED_FREEFALL #3678
  • [x] PIRATE_SHIP #3682
  • [x] GO_KARTS
  • [x] SWINGING_INVERTER_SHIP #3698
  • [x] MOTION_SIMULATOR #3279
  • [x] 3D_CINEMA #3651
  • [x] TOP_SPIN
  • [x] ROTO_DROP#3673
  • [x] ENTERPRISE #3680

    Water rides

  • [x] DINGHY_SLIDE #4496

  • [x] LOG_FLUME #4487
  • [x] RIVER_RAPIDS #3672
  • [x] SPLASH_BOATS #4482
  • [x] SUBMARINE_RIDE #3538
  • [x] BOAT_RIDE #3684
  • [x] RIVER_RAFTS #3706
  • [x] WATER_COASTER #4459

    Shops / stalls

  • [x] FOOD_STALL, 1D, 1F, 22, DRINK_STALL, SHOP, INFORMATION_KIOSK, CASH_MACHINE, 50,52,53, 54

  • [x] TOILETS, FIRST_AID

    Unknown

  • [ ] 55, 59

    Vehicles

  • [x] DEFAULT #3548

  • [x] LAUNCHED_FREEFALL #3418
  • [x] OBSERVATION_TOWER #3412
  • [x] RIVER_RAPIDS #3548
  • [x] MINI_GOLF_PLAYER #3220
  • [x] MINI_GOLF_BALL #3220
  • [x] REVERSER #3548
  • [x] SPLASH_BOATS_OR_WATER_COASTER #3548
  • [x] ROTO_DROP #3363
  • [x] VEHICLE_VISUAL_SPLASH1_EFFECT #3548
  • [x] VEHICLE_VISUAL_SPLASH2_EFFECT #3548
  • [x] VEHICLE_VISUAL_SPLASH3_EFFECT #3548
  • [x] VEHICLE_VISUAL_SPLASH4_EFFECT #3548
  • [x] VEHICLE_VISUAL_SPLASH5_EFFECT #3548
  • [x] VIRGINIA_REEL #3435
  • [x] SUBMARINE #3399

    Other

  • [x] viewport_vehicle_paint_setup

  • [x] viewport_peep_paint_setup #3471
  • [x] viewport_misc_paint_setup #3444
  • [x] viewport_litter_paint_setup

    Supports

  • [x] wooden_a_supports_paint_setup

  • [x] wooden_b_supports_paint_setup #4598
  • [x] metal_a_supports_paint_setup
  • [x] metal_b_supports_paint_setup #4602
  • [x] path_a_supports_paint_setup #4590
  • [x] path_b_supports_paint_setup #4600

    Map Elements

  • [x] viewport_surface_paint_setup #3358

  • [x] viewport_path_paint_setup #3465
  • [x] viewport_track_paint_setup
  • [x] viewport_scenery_paint_setup #3639
  • [x] viewport_entrance_paint_setup
  • [x] viewport_fence_paint_setup #3498
  • [x] viewport_banner_paint_setup
  • [x] viewport_scenery_multiple_paint_setup #3702
information paint-setup

Most helpful comment

exciting!

  • 2016-04-21: 17/119 done
  • 2016-04-28: 19/119 done
  • 2016-05-01: 26/119 done
  • 2016-05-08: 32/119 done
  • 2016-05-10: 41/119 done
  • 2016-05-19 01edc0f: 50/119 done
  • 2016-05-21 2eeb20c: 60/119 done
  • 2016-05-22 1cd857a: 71/119 done
  • 2016-05-26 8ee923f: 75/119 done
  • 2016-05-31 27d846c: 76/119 done
  • 2016-07-28 b115de8: 78/119 done
  • 2016-08-30 dd7bfdc: 66/103 done (some entries in the list have been merged, status should be the same as above on b115de8 – there was no implementation in the meantime)
  • 2016-10-02 d81bed5: 71/103 done
  • 2016-10-04 89d672b: 73/103 done
  • 2016-10-10 e70765c: 103/109 done (many rides implemented with generator from https://github.com/OpenRCT2/OpenRCT2/pull/4567; added section for partially implemented (2/6) supports)

All 18 comments

OK this page is the fix for #261 and all those peeps that ask for a progress bar.

@IntelOrca @marijnvdwerf Is this indeed an exhaustive list of function left to implement (drawing or otherwise)?

@Gymnasiast yep :smiley:

Well, it is possible to complete all these without implementing the underlying functions, but I expect we will do that before we finish this list.

exciting!

  • 2016-04-21: 17/119 done
  • 2016-04-28: 19/119 done
  • 2016-05-01: 26/119 done
  • 2016-05-08: 32/119 done
  • 2016-05-10: 41/119 done
  • 2016-05-19 01edc0f: 50/119 done
  • 2016-05-21 2eeb20c: 60/119 done
  • 2016-05-22 1cd857a: 71/119 done
  • 2016-05-26 8ee923f: 75/119 done
  • 2016-05-31 27d846c: 76/119 done
  • 2016-07-28 b115de8: 78/119 done
  • 2016-08-30 dd7bfdc: 66/103 done (some entries in the list have been merged, status should be the same as above on b115de8 – there was no implementation in the meantime)
  • 2016-10-02 d81bed5: 71/103 done
  • 2016-10-04 89d672b: 73/103 done
  • 2016-10-10 e70765c: 103/109 done (many rides implemented with generator from https://github.com/OpenRCT2/OpenRCT2/pull/4567; added section for partially implemented (2/6) supports)

@marijnvdwerf #3363 is only for the vehicle visual not the track.

There is also 4 more paint setups for supports

I also did an RCT2_GLOBAL count:
2016-05-12: 5396
2016-05-13: 5387
2016-05-15: 4990
2016-05-16: 4382
2016-05-18: 3775
2016-05-20: 4071

Turn out I didn't count right. Using the new method that @janisozaur recommended:
2016-05-18: 1962
2016-05-22: 2197
2016-05-24: 2215
2016-05-25: 2282
2016-05-28: 2263

@Gymnasiast Those will probably get higher with each new disassembled ride

@marijnvdwerf Eventually they will reach zero, as it's needed for full implementation.

@Gymnasiast Are you using grep RCT2_GLOBAL -r . | wc -l?

Here's a graph:
2016-05-25

Note: Numbers of RCT2_CALLS counts all old drawing function calls as one, because it ignores the array.

@Manuel-K Initially I used grep -Iri "RCT2_GLOBAL" | wc -l but now I use git grep -h -c RCT2_GLOBAL | numsum.

@Gymnasiast Thanks. That's interesting. I've never encountered numsum.

It's important you use git grep or similar, as it will only count indexed files, which is why @Gymnasiast's numbers were way off in the beginning.

This still does not provide an exact count, as there are lines with more than one occurrence of RCT2_GLOBAL in them, which will only get counted as one. Last time I checked there were around 75 of them, so the number is fairly low and can be skipped.

I use a separete checkout to count, so I only have indexed files.

@marijnvdwerf I think wooden_b_supports_paint_setup, metal_b_supports_paint_setup, path_a_supports_paint_setup and path_b_supports_paint_setup from src/paint/supports.c should have checkboxes on the list.

This can be closed now, right?

What are 55 and 59?

@Margen67 I believe they are just place holder IDs for more convenient RCT1 compatibility, more specifically the RCT1 shops which are no longer separate ride types in RCT2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

J0anJosep picture J0anJosep  Â·  3Comments

Wirlie picture Wirlie  Â·  3Comments

Nubbie picture Nubbie  Â·  3Comments

qwertychouskie picture qwertychouskie  Â·  3Comments

Superjustinbros picture Superjustinbros  Â·  3Comments