Fidelity register#
Generated by tools/fidelity_register.py; edit the source annotations or declarations, then regenerate. This document is a build artifact: it is not committed, and the website publishes the copy generated from main.
The acceptance gate is zero unresolved assumptions in required original behavior. All APPROX IDs below remain unresolved while their labels exist. Tags describing developer-only behavior or presentation conventions also remain listed; this inventory does not judge their relevance or downgrade them.
EXT labels identify deliberate extensions. DATA labels identify claimed original-data provenance. BIN labels cite the original executable logic a rule was traced to (STP-PPC = Mac PowerPC Sim Theme Park, TPI-EXE = Theme Park Inc Game.exe, TPW-EXE = Windows Sim Theme Park World v2.0 tp.exe, QMIXER-DLL = the game's QMixer.dll sound mixer, USP10-DLL = the game's usp10.dll (Uniscribe), D3DIM-DLL and DDRAW-DLL = the DirectX 6.1 d3dim.dll and ddraw.dll in the game's Redist folder; see docs/reverse/FINDINGS.md). None of these labels proves semantic correctness or cancels an APPROX label at the same site. Acceptance also requires evidence for required behavior, assets, inputs and outputs; a zero tag count alone cannot satisfy that gate.
This is a tag inventory, not enforcement of all semantics. It does not detect unlabelled magic numbers, formulas, logic, omitted features or false provenance claims. It scans whole-line C# // and /// comments under source, excluding bin/obj; inline trailing comments, block comments and other languages are outside its scope. ID templates and runtime log string templates are not code-site annotations.
python3 tools/fidelity_register.py --write
python3 tools/fidelity_register.py --check
python3 -m unittest discover -s tools -p 'test_fidelity_register.py' -v
Current inventory: 76 unresolved unique APPROX IDs, 107 APPROX occurrences, 3911 EXT occurrences, 270 DATA occurrences and 7297 BIN occurrences.
All of them belong to the original-fidelity areas (required-behavior scope remains unadjudicated). The allowed OpenTPW online extension keeps no APPROX IDs: its former ONLINE approximations are closed as OpenTPW design choices with EXT:online-* labels, whose known original evidence docs/ONLINE.md keeps for a later fidelity pass, and their IDs stay reserved below.
CI checks annotation/declaration consistency only. It does not fail the build based on the unresolved count and does not establish the original-fidelity release gate.
Repeated source occurrences of one ID are allowed and listed separately. Duplicate register declarations, malformed/missing ID syntax, unregistered IDs and declarations without source annotations fail the check. Register declarations are read from the 24 configured C# registers (current one-entry-per-line tuple/new syntax); these are bounded lexical readers, not general C# parsers. New registers must be explicitly configured. A new APPROX ID in a closed area (ONLINE) fails the check with a pointer to EXT labels. The check also requires every retired or reserved ID below to be recorded in tools/fidelity_retired.txt.
| Area | Unique unresolved IDs | Source occurrences |
|---|---|---|
| ADVISOR | 2 | 2 |
| ARRIVAL | 1 | 1 |
| AUDIO | 2 | 3 |
| BLUEPRINT | 2 | 4 |
| COAST | 5 | 12 |
| COMPAT | 7 | 10 |
| DET | 1 | 1 |
| ECON | 6 | 6 |
| GUEST | 4 | 8 |
| HEADS | 1 | 1 |
| PATH | 1 | 1 |
| PTCL | 3 | 5 |
| QUEUE | 4 | 4 |
| RIDES | 5 | 5 |
| SAVE | 8 | 13 |
| TOUR | 1 | 1 |
| TRACK | 2 | 3 |
| UI | 20 | 26 |
| WALK | 1 | 1 |
Approximation declarations#
| ID | Scope | Existing declaration | Evidence needed | Register location |
|---|---|---|---|---|
| ADVISOR-025 | Original-fidelity area (scope unadjudicated) | a fixed sequence's timer (sequences 28 and 29, the ticket/key advice) starts the screen-space Key effect (template 87 at native (90000, 0, 7000), the top right) and plays cat_ui 0xC6 when the advisor clock reaches it, as 0x599991 does; its call 0x4B9340 does nothing in a park. The lobby's key panel (FrontEndMenu.KeyPanel.cs) and the lobby advisor (FrontEnd/LobbyAdvisor.cs: the host, the queue 0x5D5F80 and the 90 s idle line 394/395) are ported. Not ported are the lobby lines whose triggers OpenTPW does not have: response 393 (fixed sequence 28, the one fixed sequence the lobby says, whose timer refreshes the key panel through 0x5999CC) is said at 0x4A6B4F when the player-select dialog (0x4A6580) closes on a new player's first key, which 0x5AFC30 has just added to the ledger, and OpenTPW publishes the starter key only when the lobby is retired for the park (PlayerProgressAdmission.BeforeRetirement), so there is no point equivalent to 0x5AFC30 before a lobby that goes on; 390, 391 and 398 (the same dialog's opening), 570 (the name dialog 0x4A6E40), 592 to 597 (the postcard windows 0x4C4670, 0x4C0AE0, 0x4C2110, 0x4BFF70, 0x4BC710: [EXT:online-postcard-help]), 598 (the online globe's callback 0x5DD7C0) and 600 (0x48BEAD, the lobby menu's command 10, whose line is not identified, and the postcard window procedures 0x4B86A0 and 0x4C53F0) | See source annotation/runtime register | source/OpenTPW/World/Advisor.cs:39 |
| ADVISOR-028 | Original-fidelity area (scope unadjudicated) | the advisor's last arrival-group sizes are recorded in current OpenTPW saves and imported from the original TPW and TPI analyser rings; the legacy host-save policy is not part of this ID ([EXT:legacy-save-arrival-waves], user-approved 2026-10-30): a legacy OpenTPW save without ArrivalWaves cannot recover its group count or sizes from admissions, so a park with admissions uses five zero-size stand-ins (exactly-one-group advice (281) can differ when the missing history held exactly one group, and hype (124) or big-busload (140) scores can differ until real arrivals replace the unknown values), and RestoreSnapshot retains the same admissions fallback for null or explicitly empty ArrivalWaves, even though a validated empty original ring is authoritative at AttachLevel; what stays open is the TPI advisor: TPI import and guarded manual attachment are data readiness only: the public TPI slice still creates no advisor (no Theme Park World advisor; Theme Park Inc's own is ThemeParkIncAdvisor), keeps fresh money and clocks and does not support full saved-game resume; Theme Park Inc's own advisor is a separate port (docs/reverse/TPI-ADVISOR.md): its queue (ThemeParkIncAdvisor) carries the forecasts and the notification letters, while its condition scan, which evaluates one of 290 descriptor rows every world tick, and its other senders follow in later phases | See source annotation/runtime register | source/OpenTPW/World/Advisor.cs:40 |
| ARRIVAL-008 | Original-fidelity area (scope unadjudicated) | THEME PARK INC WEATHER: Theme Park Inc's group size follows its own routine (TPI Game.exe 0x5BCD60: a percentage of the weather state, 0.01 in single precision, divided by the points per visitor; oracle X7), and the weather state is the running spell's kind (+0x70, 1 heatwave, 2 rain, 3 storm, 4 snow; 0x642A80) that the economy now rolls as 0x642770 does ([EXT:tpi-weather-spell-seed]: the original seeds the C runtime rand() with GetTickCount() at 0x6A151B, so its draws cannot be reproduced and the economy's world stream stands in); the routine's other exit is read and ported: the object 0xA06558 is the theme selection of the startup dialog (Arabian 0, Science 1, Water 2, Intro World 3; setter 0x42A360 called by the radio group 0x498940..0x4989CA, -1 becomes 3 at 0x6A32D7) and the Intro World (levels/wIntro, which OpenTPW's front end does not run) has no arrivals (GuestSimulation.IntroWorld); the three words after the Seasons rows are read (the loader writes the array count, 0x419FB4, here 4, and the two online-only keys stay 0 offline); the attractions' weather closing is ported (0x5DED90, message 1 of the attraction, built only at 0x641FF3 in the weather thing's month handler right after the spell start 0x642A80, so once per spell start for every live attraction and not per turn: a spell whose WeatherModifier.ClosedDuringHeatWave, Rain, Storm or Snow word (type +0x100..+0x10C) is 1 closes the attraction and sets its mClosedDueToWeather byte +0x41, and the first update without such a spell opens it again and clears the byte: OriginalObjectRuntime.ApplyWeatherClosing; no shipped Theme Park Inc object sets the keys, only a mod does); the guests' reactions to the spell (0x6103AC, 0x6109D6 the rain times the type word +0xF4, 0x6178DF) belong to the ported Theme Park World guest rules over Theme Park Inc's data ([EXT:tpi-twp-guest-rules], docs/THEME-PARK-INC.md), with the umbrellas and rain-mood extensions; the precipitation count now follows the native spell targets (0x642A80) and per-turn step (0x642230), without consuming any random draws; the desktop slice draws the rain and snow (0x6ED282, 0x6ED978), plays the precipitation audio, and runs the storm's lightning and thunder (the countdowns and strike after 0x6422FE, its bolts and the thunder at the strike's top); remaining: the spline snow branch at 0x6ECC50, the browser's precipitation drawing, the TPI sky scroll angle (+0x74) and overcast scalar (+0x78), and the guest-effects path at 0x616DD2 | See source annotation/runtime register | source/OpenTPW/World/Guests/ArrivalApproximations.cs:11 |
| AUDIO-018 | Original-fidelity area (scope unadjudicated) | a positioned mono voice follows the software channel stage of QMixer.dll, which tp.exe selects for every voice (the request flag 1 is ORed in unconditionally at 0x6bc61b, so 0x6d23ab hands QSWaveMixConfigureChannel the mode 0x1000000, whose buffers have no DirectSound 3D object): the source's offset is rotated into the listener's basis (front and up from the camera matrix rows 0x7909b0 and 0x7909a0, right = up x front, 0x1800ce70, 0x1800cf10; the adapters' swap of y and z, 0x6d2640, 0x6d2a10, 0x6d2b20, and QMixer's negation of the third component, 0x18001020, make a rotation, so the camera axes need no mapping), the azimuth atan2(x, z) in degrees (0x1800cb10) becomes a DirectSound pan of 44.444 hundredths of a dB per degree mirrored behind the listener (0x18005730), the gain a volume of 2000 log10(gain) hundredths of a dB (0x1800ca40), and 0x18005830 sets the volume for every wave and the pan for a mono wave only (the format table 0x1803c6b4 test at 0x1800597c-0x1800599f gates only the SetPan); the opposite channel is 10^(-|pan|/2000) of the level; a voice with the any-distance flag (event flag 0x200, speech, music, most interface sounds) is placed flat by the library (0x6bc51d: QSWaveMixSetPosition with the integers 0, 1, 0, 0x18007abd) and is centred at the voice's own gain. Doppler is read: every voice without the loop flag (voice flag 4 makes the request flag 0x40 through 0x6bc628 -> 0x6c5110, which 0x6d22d0 turns into the channel's no-Doppler bit 0x10, tested at 0x1800a1df) takes the factor 1 / (1 + x), x = (direction . relative velocity) / 331.36 (the engine's speed-of-sound scales +0x88 and +0x90 are 1.0 from the table 0x180311f0; tp.exe imports QSWaveMixSetSpeedOfSound but its adapter 0x6d2ce0 is never called), at most 10 (0x1800a178-0x1800a2c3), which 0x18005550 multiplies into the stream frequency (an integer, 0x180055c8-0x180055dd) while the voice's first stream reader has its decoder (0x18005599-0x180055bd: +0x90 set, which the library's worker fills through 0x18024620 / 0x18024740) and has not ended (0x1800bd40, the test the pump 0x18007640 uses to end the voice through 0x180077b0): the waves tp.exe opens with OpenWaveEx flag 0x11 (0x180033ad) are callback waves, whose decoder (vtable 0x1802f0c4, refill 0x1801ef10) asks tp.exe's callback 0x6bb4f0 for one block of 0x2400 bytes at a time, so a started voice is assumed ready; the listener velocity is the current minus the previous place (0x6b79d0 -> 0x6d2a10 -> 0x6d27b0, sent because bit 0x40 of the record's flags is clear, which nothing sets: 0x6b9c50 clears the flags and 0x6b9930 sets only 0x800), per changed listener update and without a time base, so it depends on the frame rate; the previous place is the library's own (+8 of the sound system object, zero when the process starts), the update compares place, front and up byte for byte first (0x6b8b60), so a camera that stands still keeps the last velocity, and in a park whose camera does not move after its first frame that is the whole place minus the lobby's (0, 0, -50), which the front end sends every frame (0x54e6f3-0x54e70e); a flat voice sits straight ahead of the listener (AudioListener.DopplerFactor, AudioDopplerTests); OpenTPW sends the lobby listener only from the front-end flow of GameFlow, other scenes without a park (the TPI viewer) do not. Open: the Doppler factor is not applied (AudioListener.DopplerEnabled is off): the gameplay capture of the PC game (v2.0, Dutch) shows no pitch change where this reading predicts one: the advisor's lobby sentence 'Typ eerst je naam in het tekstvenster.' (0:10 and 28:43) and help sentences repeated at 1:37, 30:18 and 80:45 play at the same speed (best resampling scale 1.00 within 0.01, spectrogram correlation 0.78 to 0.90), although the reading gives the first lobby the velocity (0, 0, -50) (a factor of 0.87 for a flat voice), the lobby after a park that velocity minus the park's last place (about 0.6 for a Jungle camera) and a park, until its camera moves, its first place minus the lobby's (about 1.2 at the Jungle start); the reading therefore misses a gate or a reset that keeps the factor at 1 (not found in the channel flags 0x6d22d0, the readiness gate 0x18005599, the speed-of-sound scale 0x18009920, the velocity message 0x180098c0), the sound system is not rebuilt per lobby, park, scene or sentence: its object (the one with the previous place at +8, zeroed by 0x6b7390) is made once by the factory 0x6b9db0 (vtable slot 0x70a2c4) from the sound init 0x51b660, whose only caller is the start-up init 0x54dcf0 (WinMain, 0x45abed; 0x54ddfd), and destroyed once by 0x51b7c0 at exit (0x550439, from 0x5503f0 called at 0x45ac70), so the previous place and velocity live for the whole process and no reset happens before a sentence (ruled out); round 10 ruled out further candidates by reading: a channel's default flag word is 0x101 (the default parameter block 0x180310f0, +0x5c = 0x1803114c), so the no-Doppler bit 0x10 is clear unless tp.exe sets it; the start of a sample builds the word from the node's flag word +0x14 (0x6d2380 -> 0x6d2320 -> 0x6d22d0) and only a loop's 0x40 (0x6c5110) reaches 0x10; every voice recompute (0x18007f70, run by the pump 0x18007640 for a dirty voice) ends by jumping through vtable +0x18 of the voice's attached output (0x18007f99): the software channel class (vtable base 0x1802e2a8: init 0x18004f60 at +4, attach 0x1800c4e0 at +0xc, message handler 0x180051a0 at +0x10) has its update 0x18005830 there, which ends in 0x18005550 (read, round 11; the output the engine hands a voice, 0x18009310 / 0x180092b0 through the managers +0x10c and +0x110, was not followed to its creation), and 0x18009d90 marks every voice dirty on a listener move, 0x18008330 and the pump 0x18007640 recompute them; the listener velocity of every changed update is that update's place minus the previous update's place (0x6b79d0 hands the previous place to 0x6d2a10 every time, and the initial one is zero: 0x6b73b7-0x6b73bd), so an update that only turns the camera zeroes it and a stale velocity lasts only until the next changed update (the lobby's own call repeats one value, so it makes a single update); QMixer's time-based tracker (option bit 8, 0x18009cf4) is not enabled by the listener record (flags 0 or 0x800, 0x6b9930); the request word +0xc has 0xc0 ORed in for every voice without voice flag 0x20000 (0x6bc2af; 0x40 maps to the no-Doppler bit through 0x6d22d0) and 2 ORed in when the sound system's flags 8 and 0x100 (reverb) are both set (0x6b9acb), which passes the test of a second EnableChannel (0x6c5690, +0xc & 0x1a), but that send runs synchronously inside the submission (the record 0x70a580 executes through 0x6b7f00 -> 0x6b8360) before the Play record (0x6c5b20 -> 0x6d2380) whose own EnableChannel replaces the flag word, so it cannot exempt a started voice; its other caller 0x6c5630 (execute of the voice-update record, vtable 0x70a850, built on playing channels at 0x6bbb56, 0x6bbcc3, 0x6bbe16, 0x6bc9c1, 0x6bcc4b, 0x6bccb6, 0x6bd766 and 0x6c3d58) sends nothing either: those builders zero the request and only call setters that write the field mask +0x14 (0x6c5130, 0x6c5170, 0x6c50d0), so +0xc stays 0, 1, 0x20 or 0x820 and the test +0xc & 0x1a fails, 0x40 never reaching 0x10 that way; 0x6c5110 (it stores the loop count at +0x44 and ORs 0x40 into the field mask +0x14 of the block it is called on) has four callers: voice flag 4 at 0x6bc626, 0x6be016 and 0x6c3c3c, and 0x6c6511 in 0x6c64f0, slot +0x14 of the two node classes whose vtables start at 0x70a678 and 0x70aba8 (slots 0x70a68c and 0x70abbc): it first passes its argument to the inner node (virtual +0x48, then that node's slot +0x14) and then, when the dword +0x18 of the argument has bit 0x40, hands the argument this node's own loop count [+0x14] through 0x6c5110, so it copies a loop count into a parameter block and can only give a loop's no-Doppler bit; who writes bit 0x40 into a block's +0x18 was not found (a search of the text for a store of 0x40 into a +0x18 field finds only 0x43767e and 0x537278, outside the audio code), so that route stays unread; the volume chain is ported (round 11, review): the voice's volume index is its percent times the float of each group of its mask (master, music, speech, effects: the service's percent x 0.01f stored by 0x6b98d0; start value 1.0 at 0x70a7dc), formed as floats and rounded to even (0x6bb860, SoundVolume.Index); the driver (0x6d2980) sends nothing for an index below 0 or above 127 and otherwise the 16-bit entry of the table 0x782e40 (258 x index, 32767 for the last entry, SoundVolume.Entry); QMixer's message case 2 (0x180045c0, 0x18007a1c) stores entry x (1/32767f) (100 gives 0.7874) as the volume +0x4c and recomputes the product +0x4c x +0xb8 (distance gain; 1 for a flat or unpositioned voice) x +0xb4 (cone; none) = +0xbc, which 0x1800586b hands to 0x1800ca40 (0 at exactly 1.0, -10000 at 0 or less, else round-half-even of 602.0599913279623 x log2) once, and the result is DirectSound's volume for every wave; only SetPan is gated by the format table (0x1800597c-0x1800599f: mono waves). An event-system voice (every voice the sound event system starts, the chain children and sentence segments included) takes that chain in place of the master and channel gains (the groups are inside the index) and a group volume change re-evaluates the index (0x6b98d0 -> record 0x70a610 -> 0x6c56e2 -> 0x6bb860; OpenTPW evaluates it for each mixed block); the music (sentences of the event system, mask 0x10003; tp.exe 0x51E790 -> 0x51BC40) and the advisor's clip (a cat_speech library event, 100..100 volume, no pitch, mask 0x10005, started by 0x51BFC0 at 0x599339 with the handle stored in 0xF79680; SpeechAudioPlayer plays it at volume 100 as an event voice) take the same chain, so the advisor is about 2.08 dB down like every voice; the speech duck sends trunc(option percent x duck percent / 100) as an integer (0x51BDEE-0x51BE45) and every group float is percent x 0.01f (0x70a280), as built here; a QMixer channel that was never sent a volume holds 10000 / 32767 (0x180310f0 +0x4c = 0x3e9c4139), kept for an event voice whose first index is refused (tested); also open: the advisor clip's group-enable stop (its group goes silent instead of stopping its sample) and its sample and delay draws are not modelled; the stream frequency's rounding to the device's units (0x1800c760); the raised listener of the game pause (docs/AUDIO.md, Pause sound) adds one prediction of the reading to test against the original: the listener's jump of 10000 is the velocity of the next changed update, which for a camera looking down is x <= -1 for a flat voice, so an advisor sentence paused by a game pause and resumed would run at ten times its speed until the camera moved; a coaster save also stores the handle numbers of the train loops (train +0x64 and +0x68, 0x43780A..0x437821, restored raw at 0x438400), which only mean something to the previous session's sound library: OpenTPW starts no loop for a loaded train until its next setup; the handle kept in train +0x68 is used afterwards only as the target of the parameter writes 0x51BC40 (0x4397E0 and 0x439804 in 0x439780), which address whichever sound node of the new session holds that number: not modelled | See source annotation/runtime register | source/OpenTPW/Audio/AudioApproximations.cs:8 |
| AUDIO-038 | Original-fidelity area (scope unadjudicated) | the voice pool of 12 (tp.exe 0x6b62b0) ranks the held chains (screams) with the running sentences, placed sounds and one-shots of the event system by priority and ground distance (0x6bb9f0; a started any-distance voice sits at the origin of the sound space, where its sample start put it, 0x6bc51d), a voice entering only while its rank exceeds the pool's lowest (0x6b6bc0) and among equal ranks the newer voice keeping its slot (0x6b6a80 links a new voice at the head of the voice list); a voice out of range without the any-distance flag (event flag 0x200, voice flag 8 at 0x6bca44) has its sample stopped by mixer message 3 (0x6bca70 -> 0x6b8d60 -> 0x6bb7c0) and its handle at +0x24 cleared, is not ticked, and returns by the sample setup 0x6bc410: one-shots, loops and sentence segments restart from their beginning with a fresh volume, pitch and delay draw, a chain starts no new child but its children already playing play out. The group enable is ported (round 11; SoundEventSystem.GroupDisabled, AudioMixer.SetChannelEnabled): the tick 0x6bc760 tests the voice's mask byte +0x47 (the category's byte +0x08, SoundEvent.GroupMask: bits 1 master, 2 music, 4 speech, 8 effects) against the sound system's enable bytes +0x44..+0x47 (0x6b9900; all 1 from 0x6b8f32, the master's never written; the sound service sets music, speech and effects from its on-flags 0x803ADC, 0x803AE0 and 0x803AD8 with the volumes, 0x51BD70, and the on-flags come from the profile's applier 0x423DD0 and a save's Sound block, not from a toggle, which sets the volume to 0, GameAudio.ApplyOnFlags), and a voice with a clear byte has its sample stopped (record 0x70a2d0 with the handle at +0x24, which is cleared) and is not run, as an out-of-range voice: back on, the tick starts it through the sample setup (loops, one-shots and sentence segments from their beginning with fresh draws; a chain makes no child meanwhile and the children it made play out, they are not in the pool); the voice flag 0x4000 the gate sets on events whose flags have 0x4 or 0x8 only keeps the parameter updates (0x6bbbcb) and the container tick (0x6bcb8d) from running. Open: a sentence stopped inside the decoder's last look-ahead resumes on its successor, which this replay of the whole segment does not do: tp.exe's callback 0x6bb4f0 -> 0x6bb510 hands QMixer's decoder one block of 0x2400 bytes (0x6d6db0: the request's +0x20, else 0x2400) from a buffer its worker decoded ahead (0x6bb590, virtual +0x1c = 0x6c6300; a result other than 1 marks the segment's data finished, +0x30) and starts decoding the next block, and QMixer's decoder (0x1801ef10) asks for the next block when its one block is used up, so the refill 0x6bde00 that advances the selected descriptor runs one block before the end of the audible data plus the DirectSound lead of QMixer's mixing, which was not read, and a stop inside that window resumes on the successor (OpenTPW has no block model); the sentence successor is chosen when a segment starts, not when the decoder's data runs out (EXT:sentence-prefetch); the initial submission's admission (the submit 0x6b7f20 builds the voice and executes the record 0x70a580 at once, 0x6b8360 -> 0x6c5690; whether the first sample start waits for a tick was not read); the advisor's clip, which SpeechAudioPlayer starts itself instead of through the event system (it takes the event voice's volume chain, but its group goes silent instead of stopping its sample, and it makes no draws and takes no pool slot) and the children a chain makes, which do not compete | See source annotation/runtime register | source/OpenTPW/Audio/AudioApproximations.cs:9 |
| BLUEPRINT-001 | Original-fidelity area (scope unadjudicated) | HEIGHT: ported for a typed TPW world (the ghost SetCell 0x532FC0 raises a cell of map type 4, 7, 9, 10 or 30 or a second-layer cell of record type 0xB, 0xC, 0x10, 0x11 or 0x19 by 10 x ((int)H + 9) / 10 of the cell lookup 0x452AE0, the tile ghost 0x5370E0 by 0x536CA0's last-writer rule, both replayed against tp.exe in the x86 oracle); an OpenTPW harness world keeps its markers on the terrain ([EXT:untyped-harness-world]); Theme Park Inc's ghost is not read and its worlds keep the terrain too (its executable is not analysed); and the ground of a fence post's own cell has no post mesh to read (TOUR-005) | See source annotation/runtime register | source/OpenTPW/World/Original/BlueprintApproximations.cs:11 |
| BLUEPRINT-003 | Original-fidelity area (scope unadjudicated) | CELLS: refused outside access markers follow the original entrance-then-exit bounds order for an ordinary in-bounds HasQueue footprint with exactly one entrance and one exit and a known placement refusal; missing/multiple access points, partially off-grid footprints, special/add-on modes, no-queue mode and unproven global/money refusal cases retain the legacy fallback (the all-red footprint itself follows the original hover's whole-placement preflight and force-red flag, 0x52390E, 0x52391A, 0x5239EE, 0x53319A, so independent per-cell refusal colouring is not a missing feature of that route); the area clear's ghost marks the cells along its rectangle's four edges, all blue, where the original lays the edges with LayLine(0x13a), whose validator answers 0xd and never refuses; the track-end footprint kind 23 (0x529526): its commit branch 0x5295F7..0x52965C (walker ops 0x87, 0x15, 0x83, 0x84 and 0x81 on the cell beyond) and the link to that cell (0x4D8C20, 0x4D97E0) are carried by ParkObjects' beyond-cell refusal (0x5295A8) and ParkCellMap.WriteFootprint's beyond-cell write but were not replayed against the executable, and its zero-direction branch 0x529581 (shape 'D': no own face, no cell beyond, the sticky word 0x816D50) shows only on a refused ghost because the check refuses 'D'; the terrain flag of the face adder 0x53DDD0 ([EBP+0x1C], passed per caller 0x53E083..0x53E580) is not matched per texture for the m_direct face; m_inout (7, no queue laid) is never chosen because OpenTPW has no auto-laid queue option; an OpenTPW harness world that types no cells draws the host's own line, Buy Land edge and footprint ([EXT:untyped-harness-world]), and a Theme Park Inc world does the same because its cells are not typed | See source annotation/runtime register | source/OpenTPW/World/Original/BlueprintApproximations.cs:12 |
| COAST-004 | Original-fidelity area (scope unadjudicated) | COAST-COLLIDE: the self-intersection pass (CoasterCollision: 0x439ab0 -> 0x439c40 -> 0x43a2b0) re-tests the nodes it marks as the original's does (0x200000, and the overflowed holders a dropped node re-marks, 0x43ad50; the passes repeat here until no mark is left where the original runs one per rebuild) and runs on an unfinished chain with its cursor link (the rebuild 0x43eb70 samples and tests every track it draws); its x87 arithmetic is built (the pose, face plane, edge cuts and angle sums at truncating single precision, 100 isolated tp.exe runs compared bit-exactly, ORACLE X40), takes the asTrackCollisionPoints of the .sam (the loader's table names the array and its fields fCollisionX and fCollisionY at 0x73ed30, read as asTrackCollisionPoints[i].fCollisionX/Y; no PC .sam names them, the defaults 0x74caa0 apply), skips a link pair whose end node shares its cell descriptor with the other link's first node or the reverse (0x439c5f..0x439c81; the descriptor is the cell's pylon column, 0x433d71..0x433d88, so stacked pylons share it) and does not sample a chain the demolish button cut open (the cut-end skip 0x10000 is built; the sampler 0x440c10 tests no node flag, it follows the knot links the knot pass builds, but the cut chain's links and the controller's sample list across the cut are not traced); there is no terrain or scenery collision in the original and fCollisionPossibleRadius is the pass's box margin; the collision count (+0xb0) is consumed by the section builder 0x43f4e0 (material variant 2, 0x43f4fb, 0x43f58f..0x43f5a0), the lists (+0xb4) by the drop 0x43ad50 and the save writer 0x437300 as far as traced (the loads at 0x430867, 0x43420a, 0x443087 and 0x44309c read the +0xb4 and +0xb8 words of a pylon control or cell descriptor, a position pair handed to 0x432bd0 and the instance creator 0x463060 through 0x791050/0x791054, not the node's list) | See source annotation/runtime register | source/OpenTPW/World/Coasters/CoasterApproximations.cs:15 |
| COAST-026 | Original-fidelity area (scope unadjudicated) | COAST-RENDER: the track mesh is the original's extrusion of the coaster.sam cross sections (0x43eb70, 0x43f4e0, 0x43fd60): ten slices per link and one per tag of a pylon, a ring per slice the strips share, emitted again where the section changes, single-sided strips wound as the original winds them, crossings and the cursor link in the copy of the invalid cross section with the marker textures; the section of a link is read from the run table the original builds over the sampled track (0x4402d0: steps of 0.25 on the sample coordinate, the select table 0x43e9c0 with its speed, direction, pitch and bank windows, the flumes' dry/wet transition sections with their blend lengths and the merge of two blends that meet), compared bit-exactly with isolated tp.exe runs in the Unicorn oracle (CoasterRunsGolden, ORACLE X42: non-suspended chains of single-knot nodes with zero rolls, so the suspended swing's roll path is not compared); the slice lists hold the run keys (0x43f030), the previous ring is emitted again when the run moves and a transition run blends the section's points to its blend-to row along the sample coordinate (0x43fd60); the pylons' clips add their texture-coordinate keys to the stored coordinates as the original's add mode does (0x4745c0 through 0x471860), so a lofted pylon's texture coordinates run past 1 along its height and wrap or clamp per the shared texture's accumulated flags (0x575870, 0x575E10, 0x575C60: one cached texture object per directory and name, wrap bits never cleared, taken over the models of the ride's archive); approximated: a chain with no sample list here (one the demolish button cut open, or one of fewer than three knots) takes its section per segment by its mean pitch, whether texture-set flag 4 (bIsSelfIlluminating, set by 0x42F390) makes the dynamic track model's draw use the constant colour instead of the vertex light is not traced: the only traced unlit path, 0x580C51, tests the model material word +0xC bit 0x1, a different structure, so the self-lit vertex flag on the track is an assumption, a link between two nodes a kept edit left invalid takes the red marker, vertices are shared per texture, scrolling textures shift V by the power factor x elapsed time as the original does, another reader of the stored scroll rate is not excluded, a texture object lives while a model holds it (the cache 0x575870 counts holders, the set unload 0x575f10..0x575f88 releases each texture through 0x575ad0, which frees the object and drops its entry when the last holder goes), so a build preview's wrap bits last only while the preview or another model of the ride holds the texture, and the union taken here over the ride's archive models assumes its pylons, cars and track all exist, as they do for a placed ride; the object renderer's models load through the same global cache (0x87a268) but are not given the accumulated wrap bits (a run position outside the sample list makes the original read outside it where the key walk is clamped: [EXT:original-undefined-reads], user-approved 2026-10-30, not part of this ID) | See source annotation/runtime register | source/OpenTPW/World/Coasters/CoasterApproximations.cs:16 |
| COAST-028 | Original-fidelity area (scope unadjudicated) | COAST-TOOL: the panel of nine buttons, their enable mask, the press/drag/release handlers (height 0x441a00, rotate 0x441e80, tilt 0x442010/0x441cd0, move 0x443340/0x445a70, stack swaps 0x4423f0/0x4425c0, demolish 0x446740), the drag rates, the tilt drag's camera yaw (0x443371), the placement area's cell test (0x5243a6), the panel's slide out of the HUD arm ([BIN:TPW-EXE:0x4988c0 coaster panel slide]: 0x4a2590 message 10, the drawer 0x4a14f0 places it at left 486, top 1145; another arm panel taking the arm ends the tool, 0x4a17dc), the loop button (0x4980D6, 0x49880F, 0x4987f0: model cb_trough and help 0x134 for the flumes, help 0x132 otherwise, its mode needing the definition's loop bit, 0x42fd57), the area's face (the level's own orange.wct, table slot 2 of the dynamic textures: 0x5243a6 -> 0x536100 -> 0x532fc0, 0x535670(0x1f, 0) = 2, drawn as every marker face, records 0..14 of the table 0x763b38 all carrying texture flags 7), the per-step refit of a drag's controller (0x435a30 -> 0x43eb70: knot pass, sampler, rating pass with the trains' places, collision pass; an unfinished chain is drawn with live lift marks and crossings), the demolish range preview and the move marks (0x443340, 0x444090, 0x446d50), the pylon under the pointer (the pylon model the cursor ray meets first, 0x443ee0 through the table 0x7a4610, a nearer terrain point or object winning as in the picker 0x45bf90) and the click that refuses no pylon for money are the original's; the drags count pixels of the original's default 640 x 480 display mode ([EXT:coaster-drag-reference-mode]) and Backspace deleting the last pylon is an extension ([EXT:coaster-tool-controls]); approximated: the pick tests the faces OpenTPW draws for the pylon from either side where the original's cell walk (ObjectRayPick) tests the model of each cell's owner, a stack's pieces are not tested as a group (0x447790, 0x4477d0), the hover highlight of the hit model (0x469180) is not drawn, the build end's red and white pulse is not drawn (0x441840, 26 callers from 0x4357B4 to 0x447BED, takes the previous end's instance off the pulse list through 0x469650 and registers the instance of the selected end piece, +0x58 or +0x60 by bit 2 of +0x3C for mode bit 1 and +0x54 or +0x64 for mode bit 2, through 0x469580; the pulse itself is the one QueueModelPulse draws for the queue dead ends, 0x469840), a coaster without drawn pylon models (no game data) is picked by its cell, a stack by the nearest projected piece, and without the pylon model the hand-set yaw and incline turn the knot direction by a guessed angle; only the controller of a finished track is fitted, so an unfinished chain's rating fields keep their last fit until it is completed | See source annotation/runtime register | source/OpenTPW/World/Coasters/CoasterApproximations.cs:17 |
| COAST-032 | Original-fidelity area (scope unadjudicated) | COAST-PRECISION: the thread's x87 runs at 24 bits ([BIN:TPW-EXE:0x00563914 control word]: the CRT's 53 bits, then DDSCL_FPUSETUP (0x851 at 0x563914, 0x808 at 0x563B92) and the shipped D3DIM CreateDevice set CW 0x7F and nothing restores it; the renderer 0x576EC0 only saves and restores it around itself, see X87Precision), so every PC multiply, add, subtract and square root rounds to a single, which the single-precision C# arithmetic does one operation at a time; built that way from the instruction sequences and compared bit-exactly with isolated tp.exe runs in the Unicorn oracle (CoasterX87Golden, ORACLE X40): the knot chord 0x432840 and the Bezier and derivative shapes, the knot controls (0x430ED0, 0x432430, 0x4327c4) and norms (0x432231, 0x43232b), the node orientation, the node tangent 0x431660 with its half-turn verdicts, the auto bank, the speed estimate, the turn fraction and loop knot factor 0x432430, the pylon cost 0x447830 with its height 0x4346a0, the sampler 0x440c10 and the self-intersection pass (0x439AB0 -> 0x43A2B0, truncating single steps; the acos routine inside rounds to the nearest); and the rating pass 0x43C450 with its step 0x43dc50, final 0x43df90 and reset 0x43dbf0 (the force a x v x 0.1, the speed step, the sums of the step, the clamps of the final, the train count over rate x 0.001f), the suspended swing 0x43C76C, the speed cap 0x43c3d0, the car offsets 0x43bc20, the train placement 0x43c1f0 with its layout 0x43cbda and the motion tick 0x43ce20 (start and half points, hops, braking blend, partial hop, collision exchange, bumped and headway flags, wraps by the end coordinate +0xa8), compared bit for bit with isolated tp.exe runs (CoasterRatingGolden, ORACLE X46); not compared with an oracle run: the posed track tags of a pylon model (the tag matrices come from the pose engine 0x430ca0 / 0x473c70, which needs the loaded model; the knot pass 0x4321c0 over given tags is compared), the cars' curve point and pose (0x43c0a0 with 0x43e6b0 and the matrix 0x43d8f0: rendering only), and a car or release walk that reaches slot n past the sample list, where the original reads the sampler's copy of the last sample made before the rating (0x441783) and OpenTPW the rated sample | See source annotation/runtime register | source/OpenTPW/World/Coasters/CoasterApproximations.cs:18 |
| COAST-034 | Original-fidelity area (scope unadjudicated) | COAST-CAR: cars stand on the curve at their coordinate's knot-pair parameter around the train's middle car, spaced by their types' pair distances, with the root node's pose replacing the model's root rest (0x43d8f0, so the model's +Z runs along the track and the camera seat looks along it), the wheel clip started at train-slot setup (0x43be10) and played at the type's factor x the train speed (0x474050), the bend cars' meshes bent along the samples (the tables 0x438ab0 compared bit-exactly with isolated tp.exe runs, CoasterBendGolden, ORACLE X43; the vertex loop 0x438800 read in single steps) and a rider hung on the socket of its index in the car's seated list, the PC's socket order (0x44b270), unbent on a bend car as the original's bend writes only the body mesh's vertices; approximated: the flume boats' own clips (CrocCarM1..M3, MAGGOTM1..M2: animation id 5, subs 0..2) are not played: a car's clip start is 0x43bef2 in 0x43be10 (id 5, sub 0, behind the bend flag 0x43bed2), the only call of the clip starter 0x4732a0 and of the speed setter 0x474050 in the coaster code (every call between 0x430000 and 0x44c000 scanned), and the instance creation 0x463060 (0x436e86 for a car) starts only ids 0 and 0xd (0x4631d6..0x46321f); none of the other 36 callers of 0x4732a0 (scenery, ride, guest, staff, camera, lobby and advisor code) was found to take a car instance, which the coaster code keeps in car +0xc, but a complete exclusion of their dynamic ids is not made; the widening of a bend type's model bounds to a symmetric box (0x4302aa..0x43041a, whose readers are not traced) is not modelled | See source annotation/runtime register | source/OpenTPW/World/Coasters/CoasterApproximations.cs:19 |
| COMPAT-002 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:15 |
| COMPAT-003 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:16 |
| COMPAT-004 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:17 |
| COMPAT-010 | Original-fidelity area (scope unadjudicated) | Graphics presets | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:21 |
| COMPAT-018 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:18 |
| COMPAT-033 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:19 |
| COMPAT-034 | Original-fidelity area (scope unadjudicated) | Sign text | See source annotation/runtime register | source/OpenTPW.Files/Public/ApproximationRegister.cs:20 |
| DET-013 | Original-fidelity area (scope unadjudicated) | scripts without an explicit seed (every script of a park), the bump and tour rides and the riders' heads draw from the park's one world generator (tp.exe 0x516330: s = rotr(s * 1664525 + 1013904223, 13), the rotated value is the new state, the result is its absolute value), with the original's projections (RAND 0x55398A, FINDSCRIPTRAND 0x5560CB, ADDHEAD 0x554CB5, the kart and boat draws 0x54A040, the tours 0x55A770 and 0x55DB41), in the original's order (in a theme without costume heads each head hung on a ride also reseeds the generator with the rider and draws once, 0x44B410 → 0x4FCAC0, at the original's call in each routine: ADDHEAD 0x554D13, WALKON 0x557EB9, per seated coaster guest 0x43B70D, the vehicle creation and load 0x549CAF before the launch set-up 0x54A040, and the tour boarding 0x55D91E): each 31 ms substep ticks the bump module (0x546C80), runs the script pass newest script first with one slice per eight passes by script id unless the TURBO byte is set (0x5516B0, 0x5516E1) and, on even substeps, the tour cars (0x55ABF0, 0x54F5D7), and every eighth substep the park turn takes the thing sweep newest first (0x516380: guests, attractions, staff, the weather, the challenge system), the gate retry, the turn's destroys and the arrival update, a lost park's tail included (Level.RunThingSweep, SimulationSubstep); what is not matched: a vehicle or tour car whose mesh the host cannot read (a bare simulation) hangs no head, so its seats take no draw; a script created with an explicit seed (tests, saves older than the world generator) keeps a private generator; an imported original save's scripts take the save's ids, list order and pass counter (the RSSE header and records, loader 0x5597A0, SavedScriptImport) so the eight-pass phase of each slice is the saved game's, and take their run state on the saved game clock (the program counter, shared stack and heap, variables, limbo table, result register, TURBO/DIPMUSIC/reverb/speed words, WALKST_FLOAT state, the NAME offset +0x74 as the script's name (0x55429A), the TRIGWAITANIM token +0xBC kept as saved (0x552CD3; where the object's saved scene gave the instruction's channel no restored control, or the object has no saved scene, the token is cleared and the instruction triggers its animation again, which tp.exe would not do), and the WAIT, WAITANIM, WAIT4ANIM and SETTIMER deadlines, RideVM.ImportSavedRunState, read at 0x5597A0, 0x553783, 0x553828 and 0x55641B; the corpus holds one script inside a WAITANIM, Fantasy's seaplane), their objects take the animation channels and node states of the save's RideSystem records (each control below AnimID 12 on its channel on the saved game clock, ended or looping as saved, its deferred clip, and the node bits 0x10 and 0x80000000; OriginalObjectRuntime.RestoreSavedScene, loader 0x4647A0, 0x4735D0), a script that spawned a child or sound child script comes back through the child-script graph (SavedScriptGraphImport: SPAWNCHILD 0x555081 gives the child the parent's thing id and mesh instance, 0x55516E and 0x55519A, SPAWNSOUND 0x5551AE keeps thing id 0 and mesh instance 0; all or nothing, so one record that does not match this install refuses every script's saved state), the root's walk, bounce and head tables go to the ride's rider bridge for the guests the save puts aboard it (SavedRideTables, times on the script's clock, SAVE-002), and each record's object list gives the kept particle effects (ADDOBJ types 1 and 2, with the emitter handles the Particles block restores) and its +0xCC the repair effect back (OriginalObjectRuntime.RestoreSavedObjects, 0x551AB2); what is not restored: the kept sounds of the object lists (types 3 to 10, [EXT:original-engine-state-dumps]: their voices are the sound block's engine state), the head sprites of the riders (sprite scripts of the Scripts block, SAVE-013), a child script's own rider tables, and a saved control held on its first frame (flag 0x2, AnimID 13) or on the unscaled clock (flag 0x40): no script of the 308 shipped RSE files triggers an AnimID above 11 (every one of their 1,032 animation instructions has a literal first operand below 12), 0x472F60 sets only the control bits 0x1, 0x2, 0x4, 0x10 and 0x20, and no instruction of the animation module 0x46B000..0x476000 ors 0x40 into a control's flag word, so no shipped script produces one (the other callers of 0x472F60, 0x430590, 0x434060, 0x451880 at 0x451A7D, 0x4732A0 and 0x4735D0, take their AnimID from engine data this register does not trace), and no corpus save holds one; and what the host does between substeps (the ride visitor protocol's host step, the coasters, the animators, the effects system 0x520130 and 0x475360) runs on every 60 Hz tick (EXT:fixed-60hz-clock) where the original has only substeps (0x475360 inside the even-substep block); and the kept particle effects follow their nodes (0x55189D, every pass in the original) on every 60 Hz tick in OpenTPW (the kept sounds keep the original's gate, one pass in eight by script id, 0x551A1F) | See source annotation/runtime register | source/OpenTPW/World/DeterminismApproximations.cs:11 |
| ECON-022 | Original-fidelity area (scope unadjudicated) | all staff in a level walk and work as the original's state machines (WANDER-plan §4, StaffWorldSimulation) on the guests' walk (the route search, the steering step 0x004FA2A0 → 0x0050F3B0 with avoid_walls, follow_path and separation, the walk mask +0x188), with the shared walks to a rest area and to the strike area; a striker walks out along arrival lane A (OpenTPW's path grid ends at the park entrance) and is not sent after a prankster until he is back on the paths; separation meets the cell's one thing chain, guests and staff interleaved by entry time as the original's (WALK-003, 0x005102F0); the toilet, rest-area and ride searches take the objects newest first by OpenTPW's object id, which is the original's head-inserted list (game +0x1DA746, 0x00519D80) for objects placed in the park and, for a park loaded from an original save, the saved chain (the head word and each attraction's mNext +0xC): the import numbers the objects and the economy's records in the chain's age order, oldest first (OriginalParkImport.ObjectsInChainOrder), and keeps the record order only for a chain that does not name every record once; a toilet's, bin's or rest area's access cell is its join or entrance cell or first path neighbour; the guests turn to watch a performance as the original's state-6 step does (0x004FEFF4 with the state-14 test 0x004FF04A, see GUESTS.md, Deciding and wandering); a picked-up entertainer's or guard's row stays on the cell he was lifted from | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:12 |
| ECON-030 | Original-fidelity area (scope unadjudicated) | the lost park follows the bank handler, thing-loop stop, zero arrival target and silent music/crowd; AutomaticAdvisor already produces money advice 102-105 through AdvisorScan and captions advice 106 on each bank message. The five-entry pause menu (0x48C150), the loss window 0x7472 with its gate camera (0x5168F0 -> 0x481B50 -> 0x48AC40, handler 0x48A740, layout 0x74FB20, banner table 0x74FC38), its dismissal into the hidden-HUD overlay (0x4A29D0) and the loaded-loss restore without the camera (0x4815E0 -> 0x48ADB0) are ported for single-player parks. The audit of the economic guards is done: tp.exe reads the world state 4 only at the bank handler (0x4D030F), the arrival target (0x4CF5BC, zero), the thing loop (0x516390), the music and crowd sound (0x54F862, 0x54F8B2), the load restore (0x4815F2), the pause menu's entries (0x48C27C) and the HUD's overlay (the key branch 0x4A2925, which lets only an Escape without modifiers through to the pause menu, and the hide toggle's early-out 0x4A2AC9); no purchase, hire, loan, build or open routine tests it, so the original refuses nothing in a lost park itself and its HUD, which holds every such control, is hidden. OpenTPW's overlay does the same for a single-player park (every shortcut and click is off under it, ParkHud.ParkShortcutsAllowed) and its economy-level refusals (ParkEconomy.IsBankrupt) stay as the stand-in where the overlay is not shown, where they are the only refusal: in co-op and visits as [EXT:online-coop-money] (user-approved 2026-10-30: solo parks get the loss scene, shared parks and visits keep the economy refusals, not part of this ID) and in Theme Park Inc, whose executable is now read: its lost state is Theme Park World's, reached through a letter rather than the bank message — six months in the red make the bank post a type-25 notification (0x5C091F, record 0x5CEE50, id 8) that the tag system turns into the \"Game Over - You Lose!\" letter (category 0x5E, 0x63623E) and opens in the letter window (0x526CD0, table 0x9B4854), and the challenge system's firing letter is the same with id 7 and category 0x5F; closing the letter (0x526960) calls 0x649E60, which writes the world state 4 (0x649E92), sends the attractions their breakdown request, empties the removal queue, gives the gate its end command, silences the music and crowd once and opens the loss window 0x50AFC0 with the caption \"BANKRUPT!\" or \"Fired!\" (UITEXT 921/922); its readers match tp.exe's (the thing walk 0x649575, the arrival target 0x5BCD68, the load restore 0x4F855D -> 0x50B1C0, which always shows \"BANKRUPT!\", the overlay keys 0x550AD6, the HUD switch 0x550DB6, the pause menu's four rows 0x50D3F3) plus a pause lock (0x42A17C, 0x42A27C) and two auto-save skips (0x45B836, 0x6A4851), and it refuses no purchase, hire, loan, build or open either. OpenTPW opens the letter window on the mail (TpiPendingMail), loses the park when it is closed (LoseThemeParkIncPark) and runs the loss scene in the Theme Park Inc HUD (ThemeParkIncHud.Loss: the gate camera under the centred caption, the Escape or late right-click exit into the hidden-HUD overlay, its Escape into the four-line menu, the reload into the overlay (through the economy snapshot, as the Science continuation save refuses a lost park) and the pause lock), whose hidden HUD refuses every control as the original's does; the economy's refusals stay as the stand-in beneath it. | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:13 |
| ECON-049 | Original-fidelity area (scope unadjudicated) | in a typed world the back-of-queue link test (tp.exe 0x004DE4A0) reads the cells as the executable does: a queue ride whose entry has no cardinal link bit is unconnected (no front: 0x004DE040 writes 0, so the back of the queue 0x004DE130 is 0), otherwise the back cell (the cached +0x3A, which is the front cell itself when no queue cell lies behind it, whatever its type) must carry a link byte unlike its queue link; a ride without a queue needs its access cell's link toward the path cell in front (by the rotation) and that type-1 cell's link back, with no owner word or entrance type read; and the object window's EXIT NOT CONNECTED status (the exit test 0x004DE5A0 of 0x00485F60: the exit cell's link byte, reversed when the exit cell is the access cell, the cell in front of it and the edge test 0x004D8750 in the three directions that do not lead back) is shown for every placed exit. Residual: a prototype and geometry no placement laid keep the permissive answers (a queue ride whose front holds no queue cell, an entrance OpenTPW cannot reconstruct, an object without Info.HasQueue and a ride without a placed exit are taken as connected, because their cells hold no link byte); in the gates and test rigs (untyped harness worlds) that is [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID; a typed ride whose entrance looks off the map, whose rotation is none of 0, 90, 180 and 270 or whose exit cell has no cardinal link byte (the original reads a null cell or an unset byte there, which no placement reaches) is answered connected under [EXT:original-undefined-reads]; nothing that tests the link closes an open ride (the repair 0x004DF8F0, the upgrade cancel 0x004E0050, the toilet clean 0x004DF390 and the track-edit exit 0x00447520 open regardless) | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:14 |
| ECON-058 | Original-fidelity area (scope unadjudicated) | all 33 progress and success/failure types use immutable payloads and keyed localized templates; terminal rows are tag rows (30 s lifetime, kept when read, removed 500 ms after an expiry or a delete) whose timers are the original's UI timers (0x661fe5: interval, origin, enabled; 32-bit wrapping clock) suspended by the pause owners (the P key's toggle 0x48a720 by the window 0x7cb2cc, the focus loss through 0x4092a0(1) -> 0x48a6e0, the Escape menu, options, map and boxes directly) and restarted by their resume (0x662420); offers keep OpenTPW's wording and the 90 s expiry with decline on removal (UI-025); the repost of a refused or loaded-park offer stays an extension | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:15 |
| ECON-060 | Original-fidelity area (scope unadjudicated) | Theme Park Inc's month message 0x5DEFFF debits each object's current level's Upgrades[n].RunningCost (0 in ride state 1 or 4) together with the costs its sales and plays booked during the month (the accumulator +0x938, raised by 0x5E60E0, which debits nothing: OpenTPW's Theme Park Inc goods and prizes are booked to the accumulator at the sale and paid at the month end, as one debit per object); the month message reaches the listeners in thing-id order (a per-message-type ordered set, walked in order: the prebuilt park's staff HQ 1, mechanic HQ 2, advisor 3, tag system 4, park analyser 5, research lab 6, weather 8, bank 9 (0x5C0B10: batch credit, the eight loan instalments, the red-month test), challenge system 11, then the attractions 14 and up), so OpenTPW's bank handler (batch credit, loan instalments, red-month test) now runs before the objects' debits and their month roll; what is not ported is the statistics layer: Theme Park Inc keeps monthly rings (costs +0xB88, profit +0x1028, customers +0x1278, rolled by the same message) where OpenTPW keeps the daily 30-day rings of Theme Park World, so the month's running cost enters today's slot of the daily ring (the sales' own costs already did at the sale), and the park analyser (id 5) closes the month's ledger and samples the bank balance before the bank (id 9) and before the objects (14 and up), as 0x5AF220 does through 0x5C0740 | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:16 |
| ECON-062 | Original-fidelity area (scope unadjudicated) | Theme Park Inc's rides charge UsageInfo.InitPricePerUse (20, the thing's +0x94, 0x5DB58D) for each use as Game.exe does (0x6126D0 (called at 0x61193B inside 0x6118D0, from 0x619A8E): the fee the guest recorded at the call, 0x619670, is credited to the bank at once, 0x5E5DE0, and leaves the guest's purse), and every ride, shop and sideshow with a price is first put through Game.exe's price test 0x6120C0, ported as ThemeParkIncPriceTest and replayed on the executable in the x86 oracle (X62): the willingness to pay is Info.ExpectedPrice (a sideshow: its live goods times the win byte over 100) scaled by the needs, the per-type word RipOffOK and the guest's happiness, raised by up to half by how well the attraction's rating byte (0x5E41D0, the twin of the Mac STP-PPC live excitement 0x100DFF70: sideshow, scaled by speed and duration) fits the guest's expected byte (+0x2A8), refusing a price above it or above the purse (0x61243A), recording the perception statistics (categories 10 for a sideshow, 1..4 and 6..8 for a shop) and raising the attraction's cheap, expensive and declined rings (+0x5D8, +0x660, +0x4C8, kept per object, not saved); what is not ported is the end-of-visit perception record (0x6118D0: for a guest with the rated byte +0x21B it records 3 x (the guest's rounded +0x1BC minus +0x234) + 50 as a byte in categories 11..14 by the type word +0x218 and 16..18 by the appearance word +0x21C when the type's word +0x600 is 1, and 20 when it is 2, through the same record 0x40B6E5 to 0x5AEDE0 as the price test, a small ring writer that PriceStatistics.Record already feeds; the blockers are the guest's +0x234, written inside the use-effects routine 0x612740 (which Theme Park World's rules stand in for), and the rated byte +0x21B, set at 0x61198C only for a type whose +0xC0 is 0x17, from script variable 11), the rating byte's two other branches (a coaster, Bumper.WhichTrackType 3, reads the float +0x104 of the track ride record 0x480B20, and a thing with a ride handle at +0x30 adds the node-run counts of 0x694530; neither exists in OpenTPW's Theme Park Inc slice) and the guest's expected byte of Theme Park Inc's own guest types (guest creation is still Theme Park World's, so every guest is type 0 and reads the expected byte of PeepTypes[0], 90, not the draw of the constructor 0x60C6F2 over the 24 types) | See source annotation/runtime register | source/OpenTPW/Economy/EconomyApproximations.cs:17 |
| GUEST-017 | Original-fidelity area (scope unadjudicated) | BALLOON AND COSTUME DRAWING: the balloon's colour is the draw of tp.exe's reseed with the thing id (0x541FD0; the guest's kid set is matched: its draw 0x541F70 modulo the sets loaded, stored (0x4FB1B5) and reduced again by the count of the next load (0x4F93AA), which 0x41A9D0 limits to 2, 4, 6 or 8 and 0x541310 loads in the order BI, KI, TA, SU, then by name, KidSetLoad), the balloons are placed in the order of the original's live thing list (0x518F90, newest first) so each takes the bob phase the original gives it, the bob phase steps on the eleventh placement per placed balloon per rendered frame (0x4FA030, 0x518F90) and the burst fades from alpha 250 by 20 for 13 steps of 62 ms (script 0x74F4C0); the burst rebinds the held balloon's script (0x4FE950, 0x475B80) and shows its first frame on the next due script pass, a pass being the strict sampled-clock test of 0x475360 (the clock above the deadline, the deadline then the sample + 62; a script created at 0x4758F0 shows nothing before its first pass), as BalloonSpriteState does; the passes run on even substeps before the world update (0x54F5D7, 0x54F5FB), the held balloon of an original save is restored from the script record its guest names (+0x210, SAVE-013) with its deadline rebased onto the host clock, and only the sampled clock itself is the host's fixed-60Hz one ([EXT:fixed-60hz-clock]); a bursting balloon no guest names at the save (a detached script of the Scripts block) is not imported; evidence needed: a save with a balloon that was bursting; in a non-pooled park (guests outside the level's thing pool, or a paused economy) the per-tick guest update runs before the sprite pass, where the original's world update comes after it | See source annotation/runtime register | source/OpenTPW/World/Guests/GuestApproximations.cs:13 |
| GUEST-020 | Original-fidelity area (scope unadjudicated) | STAFF BANK LIMITS, when the original loads them: tp.exe's 0x541310 sorts a folder's banks by name, flags the staff folders handymen, mechanics, guards and researchers and stops them at the limit of 0x41AA40, which reads the options word 0x7858D0 (the preset's GameOptions.NUMKIDS: 1 bank for 0, else 2; low.sam 0, med.sam and high.sam 2), and leaves the entertainers' folders unflagged (ported: StaffSpriteSet.Load, the stored draw reduced by the loaded count when made and at every load, StaffMember.SpriteDraw); but it loads them inside the sprite system's start 0x540900, which the main loop 0x54E360 calls at 0x54E688 and at 0x54ED2C (reached from the program's start, 0x45AC4B and 0x55040C), so the limit is the word of that moment, where OpenTPW's StaffSpriteSet.Load reads the preset when a level builds its staff and a park started after a settings change takes the new limit. Evidence needed: which main-loop states run 0x540900 (0x54ED2C reads as a second one) and whether 0x7858D0 can change between them | See source annotation/runtime register | source/OpenTPW/World/Guests/GuestApproximations.cs:14 |
| GUEST-021 | Original-fidelity area (scope unadjudicated) | STAFF CURSOR POINT: the hire and carry tools hang their person at the picker's point plus 5 height units (0x46C480 reads 0x7A1C90 through 0x45D610 and subtracts the constant -5.0 at 0x6FE974 from its height component) and the sprite pass adds the terrain's height under it to that stored word (0x542010 at 0x5420F3 through 0x4527F0: the dangling script, 0x74ED98, sets only the flags 0x1200, so the position is relative to the terrain), all ported (the point, terrain or nearest object model 0x45BF90, the lift and the terrain's height); the original's pointer is the c_carry.ani cursor drawn at its hotspot (0, 0), the top-left corner of its 32 x 32 frames, as OpenTPW's pointer strip is ([EXT:software-pointers]). The PC video (81:30) shows the person hanging just below the carry glove, which the glove's art (it fills the frame to the right of and below the hotspot) and this placement, read from the code, do not give: the person's anchor is above the pointed ground point. Evidence needed: a capture of the original's carry over ground of known height and the person's frame origin (its hand) in screen pixels | See source annotation/runtime register | source/OpenTPW/World/Guests/GuestApproximations.cs:15 |
| GUEST-920 | Original-fidelity area (scope unadjudicated) | Visitor roster and individual-info displays retain integer-turn age from creation or a valid original arrival stamp (0x4FAFDB, 0x4FD950), with the original new-row quarter value and refreshed four-turn quantization. Own-format saves retain that age and the display clock phase (state while the umbrella day gate, the rain mood or the winter cold is on: UMB-003 reads the integer age; the hash then includes both); older saves without integer provenance retain their seconds fallback. The stay statistics take the same integer turns (0x4FD950, EnterWaitingToGoHome); the weather extensions' day gate reads the same integer age (UMB-003). The roster lists every live guest thing, as the original's posts do: the guest constructor 0x4faec0 posts message 0x1c (0x4FB2A5, class 0x6fd840) and the generic deletion 0x50B780 posts 0x1b to the bus [0x788d3c], whose receiver is the thing event listener 0x50ca50 (object 0x7b51f0): 0x481920 adds the row (0x493c50) while the list window exists, with no in-park or age test, and 0x4818c0 removes it for a guest (type byte +2 = 1), closes the visitor info window (0x4b7a00) and, when the located actor is that guest, asks the arm to put the locator panel away (0x4b3620, UI-091); a freshly opened list fills with every type-1 thing of the used chain (0x481bc0 mask 0x40, 0x493611). Arbitrary clock resets/rebinding are not a newly qualified historical-age policy; roster membership needs nothing further, the older saves' seconds fallback (for the displays and the stay) remains | See source annotation/runtime register | source/OpenTPW/World/Guests/GuestApproximations.cs:16 |
| HEADS-007 | Original-fidelity area (scope unadjudicated) | BOUNCE body frame selection consumes a persistent visitor player with decoded programs 1..8, strict signed 32-bit due times, pending requests and explicit lifetime, stepped by the sprite scheduler on even substeps before the world update (0x54F5D7, 0x54F5FB) on the host's fixed-60Hz sample ([EXT:fixed-60hz-clock]); an imported rider's player is the saved script record (SAVE-013); remaining parity is bounded by the current guest movement/state/ToiletBonus history, the existing bank variation selection and the reconstruction of a save without body history (an OpenTPW save older than the sprite state: a fresh body in the host's load epoch, no emitted frame; docs/VISITOR-SPRITES.md). Ordinary walking and scripted WALK rendering still use their existing presentation; swimming, generic teleport callbacks and avatars are outside this bounded owner; in a non-pooled park (guests outside the level's thing pool, or a paused economy) the per-tick guest update runs before the sprite pass, where the original's world update comes after it | See source annotation/runtime register | source/OpenTPW/World/Guests/HeadApproximations.cs:11 |
| PATH-017 | Original-fidelity area (scope unadjudicated) | PATH-PAUSE-WINDOW: the ordinary-WM pump (bounded admission then drain: topmost eligible receiver, stable screen/element lifetime, separate movement capture, saved release owner) is implemented; the pause key P (tp.exe 0x40bf70 → 0x409350(1)) toggles a window (the global handle 0x7cb2cc, 0x4a27f0 → 0x47ed80; the offline focus-loss pause 0x4092a0(1) → 0x4a2790 builds it too): a full-screen layer (0x65dd7b(1, 1, 1, 0, 0, 0x7ff, 0x5ff), flags 1, the 'lolight' backdrop) appended as the last child of the root, under the panel 5094 (174,500)-(1874,900) of table 0x752e00. The hit test 0x65db25 takes a shown window with flag bit 1 and lets the last such child win (0x65dd7b appends a new window after its siblings), so the layer is the hit window of every point and, with the focus (0x65e59b), of every key over the windows that existed when it was built; its procedure 0x4a2680 uses only the P key and the panel's animation (0x65e72d, table 0x752ed0) and hands the rest to the default procedure 0x65f6d1, which forwards nothing, so the park click handler 0x4879d0 (called only from the HUD window's procedure, 0x488768) and the camera's input 0x42a760 (called only by the procedures of the HUD, the hidden-HUD overlay and the chat mode) get no message under it; the click route and the camera follow that here, and OpenTPW's speed pause (the HUD's speed buttons, the numpad, a park loaded paused) builds no layer, as 0x409350 is the only builder besides the focus loss. Round 11 N: the P window is drawn (the full-canvas 'lolight' model over the windows that existed when it was made, then the paused banner of table 0x752e00, 1700 x 400 at (174,500), animating by table 0x752ed0 every 35 ms: 0x47ed80, 0x4a2680) and, as it holds the focus and is the hit window of every point, no key, text or wheel reaches the screens below it. Not ported: the alternate buffered-input mode (its selector and pump are not read), and the stored pick of the click dispatcher. Read: the click dispatcher 0x4879d0 (14 cases over the hover kind 0x7c24f4 through the table 0x488168, called from the HUD window's procedure 0x488768 right after the classifier 0x486d90, 0x48875f) takes no message coordinates; it acts on the stored pick word 0x7b05cc, which the world frame 0x54e2b0 rewrites every frame by ray-picking from the pointer (0x45bf90 -> 0x45d560: the cell z * 128 + x + 1, or 0) and skips while 0x790ab0 & 0x16 (bits 0x04 the ride eye camera, 0x02 the walk eye camera and 0x10, which no name covers); its meaning depends on the hover kind 0x7c24f4 (4 a cell, 3 and 6 records of the park at +0x294, 5 records at +0x6cde). A click therefore acts on the previous world frame's pick under the pointer, where OpenTPW picks under the pointer when the click arrives; the dispatcher's 14 cases are the open part (evidence needed: the alternate buffered-input mode's pump and the dispatcher's cases) | See source annotation/runtime register | source/OpenTPW/World/PathApproximations.cs:12 |
| PTCL-900 | Original-fidelity area (scope unadjudicated) | The key table (OriginalObjectRuntime.KeyPose) is rebuilt at the instance's creation (0x463851), for every frame the scene drew the instance in (render callback 0x463030 -> 0x44E380 -> 0x473C70 -> 0x473E1B) and every frame of the ride view (0x42A6D6, the ride view's entry), as 0x44AB30 does for an instance the scene registered; a model whose keys carry no matrix needs no table (its keys resolve to the world origin, table bit 0x1 clear). Not ported: the refresh 0x438A53 at the end of the coaster car bend 0x438800 rebuilds a car instance's table; every key lookup (0x556B90) reads the instance that the object's +0xC8 names (0x556BB2, 0x556BDD); the stores of an object's +0xC8 found by a byte scan of the code (0x475919 a script creation argument, 0x558d68 the model catalogue entry's +0x20, 0x55519a a copy from another object, 0x4f89ab and 0x55f135 clears, 0x544ab8..0x54aca2 the bump record lists) take no instance of the coaster code, which keeps a car's instance in car +0xc after 0x436e86, so no object was found that names a car's instance and the refresh feeds no reader found; another path that hands a car instance to an object is not excluded | See source annotation/runtime register | source/OpenTPW/World/Particles/ParticleApproximations.cs:10 |
| PTCL-905 | Original-fidelity area (scope unadjudicated) | each particle is submitted as a batch of its own (0x565F90 -> 0x565240) and ported with its state word (ParticleState): 0x1256 for an untextured particle of alpha 0 or at least 0xF0 (drawn at once, no blend, depth writes), else 0x556 (a sprite frame is always 0x556: 0x5882E0 flags every set 0x541310 loads translucent), 0x200552 for render flags 0x2004 and 0x200522 for 0x4, 0x800 added by flags 0x4000; the decoder 0x567620 makes the blended states alpha blends with the alpha test at 0x10 of 255 on the modulated alpha (particle.shader g_flAlphaReference) and depth writes, the one-plus-one state adds the colour without scaling it by the alpha (0x565F90 passes the diffuse as it is), the first-person views' table fog reaches the particles (0x565F90 adds 0x100000 to every batch while bit 0x2000 of [0x8BCBC8] is set), and a batch whose state has neither bit 0x1000 nor 0x2000 is kept (0x565590) and drawn far to near with the translucent world faces (0x582AD0; WorldPass.SubmitParticle, key the mean z over w of its four corners); OpenTPW draws the opaque quads in the original's order and the deferred ones as runs of neighbouring same-state quads ([EXT:particle-blend-runs]); not reproduced: the triangle depth sort inside a batch (0x565590 -> 0x565490: one particle's two triangles are coplanar, so it has no visible effect), the order of equal keys (the original's quicksort 0x5829E0), and the weather's streaks and flakes, the pools' water and spray and the swimmers, which are still drawn after the whole list; the screen-space quads (key 0, the nearest) are drawn after all of them with no depth test; the point MAGFILTER of flags 0x20000 is COMPAT-010 ([EXT:texture-filter-samplers], docs/COMPATIBILITY.md) and unreachable with the shipped templates (none sets 0x20000 or 0x4000), and the key is the mean z over w of the four corners, the same assumption as WorldTranslucency.Depth for the world's records | See source annotation/runtime register | source/OpenTPW/World/Particles/ParticleApproximations.cs:11 |
| PTCL-908 | Original-fidelity area (scope unadjudicated) | Wired: EVENT 1/2, ADDOBJ and ADDOBJ_EXT 1/2 (tp.exe 0x551F5F, 0x5520E8 with its control operand, 0x5522C5) whose kept effects follow their key node on every object pass in whole units (0x55189D, 0x51FE30, 0x51FD90 for type 2), a negative key at the footprint box middle (0x556B90/0x466B70), the stinkbomb litter's effect 50 (0x4D95BD, 0x4D9620), the per-type effects of the category .sam (build 0x558e7c, demolish 0x5590f7, repair 0x556DE0, upgrade 0x55A100; the removal's mode 2 of 0x4dd0a0 is the world's clear and reset loops 0x515dd0 and 0x515fb0, which OpenTPW's teardown does not run through the player's removal), the land effects of scape.omp (0x550e00 type 2: Jungle's waterfall, effect 20), every bump vehicle's rider beam 19 at the BUMP 12 load and the bumper session's unload (0x549C60 and 0x54AC70 with the flag; OpenTPW raises it at the vehicle's simulation position, the original at its instance's root translation, and checks the seat's head dummy where 0x54AC70 checks that the head is still hung), the guests' teleport beam 19 (0x501db0 states 15 and 16 with UsageInfo.RequiresTeleport, position 0x4fa470), the beam of a guest made off the park cells (0x4faec0 at 0x4fb26a, taken when 0x4fa990 finds none of the cell types 0, 1, 3, 9 and 10: every guest of an arrival vehicle, SpawnArrival; the other caller 0x516791 sits in the 25-guest population 0x516700 of the online chat handler 0x4e6790), the departure beam of a guest boarding the arrival vehicle (0x500bd0 state 21, 0x500c35) and the dismissal beam of an employee (0x505790, 0x5059c3), the lobby key panel's effect 0x61 (0x4b9340, 0x4b90f0 at 0x4b961c and 0x4b929b; FrontEndMenu.KeyPanel.cs; the show branch of 0x4b8ee0 has no caller, only 0x4b8c45 calls it, ending the effect) and, through the vehicle and tour code, the break smoke 2 (0x544C80), the boats' spray 96 (0x547F50), the retire beam 15 (0x54AE50) and every vehicle's first-draw beam 15 (0x549DB0 sets flag 0x4000000 at 0x54A009; the per-vehicle draw 0x546280 from 0x5190D1, once per rendered frame whether in view or not, clears it and raises 15 at 0x546A89..0x546AC7, no family check between 0x5467C8 and 0x546A89; OpenTPW raises it in the tick's pose phase at the vehicle's simulation position and keeps the pending state out of saves and the hash), the walk beam 19 (0x5572EB, 0x557f0e) and the flyers' smoke and fire 39 and 40 (0x55DA70). Not wired, none reached by shipped data unless said: an object without the footprint box (0x559060 would create its demolish effect anyway at unset coordinates; 0x413c10 requests the box for every type (model flag 0x400, loaded by 0x451640, so a missing box file is not read), and no shipped fixed item names a type effect or a negative key), a scoped effect (bit 0x8000: the type record's slot +0x4E0 + 4n, 0x4145D0, template ids 0x414420 loads from the type's archive: every *.emt member (pattern 0x788F40) at +0x4DC + 4 x atoi(the last character of its stem), so a template numbered 5 also takes the type's own sound list at +0x4F0, which type-10 sounds then submit as a category handle (ObjectTypeSounds plays nothing there); no shipped script names one literally, Jungle's porkpie EVENT takes its effect from a variable, and no shipped archive has a template numbered 5), the scoped message after the build effect (0x51C640 from 0x558FDA and 0x559F0A, after 0x521E60 and the sizing 0x520030: it sends a four-float record through the sound library's message 0x700BC0 (0x6B5CB0, 0x6B8C70, 0x6B9A10, 0x6B8230), which 0x6C49B0 inserts into a list sorted by the fourth float, and keeps the returned handle at the instance's +0xD4; the list's readers are not read; the upgrade's 0x51BFC0 is the type's sound, wired), the message-tag UI particles, wired in the park HUD (ParkHud.TubeParticles.cs): the burst 0x5a on a tag window's first show (0x48dfa6 -> 0x486b90, once, property 10), the retained 0x5b when the warning timer fires at lifetime minus 5000 UI milliseconds (0x48dd80 -> 0x48de1a, handle in property 9; shown, hidden, moved and ended with the window: 0x48dff9, 0x48e02e, 0x48df88, 0x48da30, 0x48dc0a), both at the icon's centre in the native screen units (x = centre * 100000 / 2048, z = centre row * 75000 / 1536) in the level's pool; the advisor's UI pool groups (0x5ED5A0: the accessory callers 0x598eb4..0x59903c are AdvisorEffectGroups.ApplyAccessoryBits; the empties at 0x5993b3, 0x599543, 0x599664, 0x59972a and 0x59993e sit in the advisor's start and stop paths, where Advisor empties group 0 at three places, not matched one by one); two parts are design choices and not part of this ID: the online avatars' beam (0x4f7c60), which OpenTPW's presence figures draw their own way ([EXT:online-visit-presence], [EXT:online-coop-presence], user-approved 2026-10-16), and a type-2 effect with a negative key (0x556B90 leaves its direction unset, the dispatcher passes uninitialised stack; the only shipped use is Fantasy's bugstv ADDOBJ effect 16), which OpenTPW refuses rather than read undefined memory ([EXT:original-undefined-reads], user-approved 2026-10-30) | See source annotation/runtime register | source/OpenTPW/World/Particles/ParticleApproximations.cs:12 |
| QUEUE-003 | Original-fidelity area (scope unadjudicated) | back-cell admission and fourth-slot path geometry are implemented; supported live typed HasQueue entries derive their front from the actual entry link byte (+0x0C, tp.exe 0x4DE040, bits 1, 16, 64, 4), and a native zero front (no cardinal bit; 0x4DE4A0 reads such a ride as unconnected, which the opening guard still answers permissively under ECON-049) leaves its demolition without a count to undo (0x527FB4) and its re-evaluation without a block stamp; a zero-front ride has back cell 0 and size 0 for the guests (they neither score, choose nor join it, and its queued guests but the called one leave at the re-evaluation) with the host's one-cell geometry kept for the called guest's stand cell and the queue tool; unsupported entries (a neighbour off the map) retain the host positive one-cell fallback (untyped worlds keep it too: the gates and test rigs keep it as [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID); a saved mEntryPos that differs from the placement's access cell is reported and the placement's kept (the constructor 0x004DB090 derives it from the shape); an original save's head, links and called guest (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) and its cached back cell and size (+0x3A, +0x40) are imported as read; the cached back and size (+0x3A, +0x40) follow the executable's timing: 0x4DE130 returns them until 0x4DE1F0 drops them (callers 0x52537A, 0x5259AE, 0x526118, 0x527541, 0x529890, 0x52FFEC, 0x534858, 0x53694B), and the host's own syncs (the queue commands' pre-edit sync, the corner walk's and the demolition's reads, the one-click removal's lookup) keep them (RideVisitorBridge.RecomputeQueueKeepingBack); what still drops them with its own recompute is the legacy per-cell builder (QueuePaths.TryExtend, Connect, RemoveFrom), the re-resolution after a removed access cell ([EXT:removable-access-cells]) and the path tool's commit tail (0x52537A), which OpenTPW maps to the selected ride's re-evaluation alone. No corpus or Easymode save holds a guest in states 8/11-15 or a set mFirstInQ; the queue import is checked on synthetic saves only. | See source annotation/runtime register | source/OpenTPW/World/Guests/QueueApproximations.cs:12 |
| QUEUE-010 | Original-fidelity area (scope unadjudicated) | a guest leaving a queue (0x5004AA, the queue edit's dismissal 0x501390, a removed ride's message 0x4FB360) stays where it stands in state 6 on every placed ride, whatever its cell is now (a path, a queue cell, the owned stand cell, or a cell the queue's undo or a demolition emptied), and decides from there by the ported wander (0x4F9490); a bridge without placed cells (no owner word or no exit cell: a read-only visit's imported cells) retains the front/nearest-path relocation, whose cells carry no links to walk off by (the gates and test rigs keep it as [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID); the exit of a guest whose attraction is already gone (a safety net: the original has no such poll, only the removal message 0x4FB360) now stays where it stands too | See source annotation/runtime register | source/OpenTPW/World/Guests/QueueApproximations.cs:13 |
| QUEUE-012 | Original-fidelity area (scope unadjudicated) | queue cells follow the decision order of tp.exe's validator 0x00535670 (QueueCellValidator, replayed on all 14,256 answers of the executable's own sweep) for the rides that carry an owner word (every placed Theme Park World ride): the path tool's per-cell route and the queue tool's native reducer ask it for a refusal on top of their own rules, and the cell it reads is the cell's own type, which is what the type byte holds apart from a track tile of the second layer that the byte only shows while the cell is empty (ParkCellMap.PrimaryTypeAt; the validator reads the tile's record apart, so a path or queue cell is laid over a straight or stub tile and the four cells of a corner or junction tile, a hoarding post and the coaster marker 0x15 are refused): the flag 0x40 refuses first, an object's cell (types 4, 9 and 10) is accepted only when its class-3 owner's overwrite priority is below the tool's 3 (0x818C10, 0x535D66; Objects.GivesWay; the priority 0x818C14 is reset to 0 by the hover, 0x523522, set by each class-3 owner and kept by an owner that is none, as the path tool's line walk carries it), a hoarding post and the three cells beside it are refused on owned land as well, an empty cell is accepted and the validator reads no MAP terrain bit; the latches 0x816D50 and 0x816D58 are reset by the hover (0x5234F2, 0x5234F8), by the commit's pass set-up (0x527C52, 0x527C5C) and by the mode change (0x52F11B, 0x52F121), so every pass over a line starts clean and a refusal marks the rest of that pass only, which the path tool's line walk carries and which changes no answer of the queue tool's lines (a refused cell stops them); the native reducer accepts a queue cell only when its owner word is the tool's ride and it holds no two links (0x535670, mode 3 over type 3), so it neither crosses the ride's own two-link cell nor another ride's cell. Residual: the per-cell route of the queue tool for rides without an owner word (a read-only visit's imported cells) keeps its own rules (it asks the validator's refusals, refuses any queue cell and keeps no latch), and the gates and test rigs keep them too as [EXT:untyped-harness-world] (user-approved 2026-10-30, not part of this ID); a typed world asks the validator alone (the cell's own type, flags and owner; no MAP terrain bit, as 0x535670 reads none), and a read-only visit, whose footprints are untyped, still asks OpenTPW's terrain rule on top (Objects.Grid.CheckTerrain: the map start's cell types, with the Easymode save's occupied cells before the live map is attached); a path or queue cell laid over a track tile runs the path tool's bridge ops on it (TRACK-010) | See source annotation/runtime register | source/OpenTPW/World/Guests/QueueApproximations.cs:14 |
| QUEUE-015 | Original-fidelity area (scope unadjudicated) | the queue tool's undo (Back 0x52FE50) takes cells and refunds as 0x5367A0 does and writes no guest: the re-evaluation that follows (0x4DE1F0 at 0x52FFEC, 0x501390 per guest) dismisses by place alone. The corner walk 0x530120 is the executable's own (QueueCornerWalk: the stack, the placement counters +0x20 of the cells it visits, the link clear where it ends on a path, the line start; 82 oracle cases, ORACLE.md X44) and runs where the original runs it, at its only three callers: the queue edit click (0x52610A), the Move pick-up (0x48D006) and a ride's demolition (0x527F9A). A typed ride's demolition replays the executable's: the walk, Back for as long as the cached size (+0x40) is above 0 with the forced-clear flag 0x81D7A8 (every cell of a line goes, NoModify and counters ignored, its neighbours keep their links, each queue cell whose owner cell is not empty credits its cost), one cell's debit after it, and the cells the walk does not reach (a stray cell of the ride, the branch of a junction) stay (QueuePaths.DemolishQueue; 42 oracle cases). Residual: the tool entries that run no walk (the original runs none there either: a ride's placement, the ride window's queue button 0x4AF200 (inferred) and a track's or coaster's completion) start the queue tool with the stack their own clicks leave (the placement's tail 0x5259AE..0x525A06), which is not read: OpenTPW starts them with the segment's cells and no counters; the removal from a clicked cell on stays only as the labelled extensions EXT:dev-one-click-remove and EXT:queue-backtrack, which keep the original's guest policy (the clear writes no guest and the re-evaluation dismisses by place); a ride without an access cell (the gates and test rigs) keeps the host's chain clear as [EXT:untyped-harness-world] | See source annotation/runtime register | source/OpenTPW/World/Guests/QueueApproximations.cs:15 |
| RIDES-011 | Original-fidelity area (scope unadjudicated) | add-on double-layer flags and rotated endpoint mode4 validation are implemented; coaster type21 markers now integrate single-cell preview, live stack payload and teardown. Residual: the native sticky tool globals (0x7639E0..0x7639EC, the exit and entry cell pairs) are ported for the kart and water line tools (TrackToolGlobals; ECON-050 retired) and, since 2026-11-11, for the coaster tool's entry, which runs the select 0x5276D0 as the original's three entries do (0x4AF200, 0x4988C0, 0x497D20); what is not modelled is the type-3 tail of the click handler: at 0x5251F5 and 0x525838 the raw anchor goes into both pairs when 0x52FAF0 answers 3, instead of the mapped station cells, and that branch is reachable from the coaster flow — the ride window's track button 0x4AF200 arms the build tool at 0x4AF33E and then calls the click handler 0x524960 at 0x4AF34B (again at 0x4AF40F). OpenTPW maps there too, so a coaster-track add-on leaves the mapped pair where the original leaves the raw anchor; the defensive host owner/generation leases that avoid unconditional native foreign-cell commits are not part of this ID ([EXT:track-tool-owner-leases], user-approved 2026-10-30, against the original's bug); see docs/COASTER-CELL-MARKERS.md | See source annotation/runtime register | source/OpenTPW/World/Objects/RidesApproximations.cs:12 |
| RIDES-021 | Original-fidelity area (scope unadjudicated) | the cursor's cell is the cell of the ray's nearest hit (the hit divided by the cell size, 0x45d560; the click command 0x46c5d0 hands it to 0x524790): the terrain hit (TerrainRayPick, the original's heightfield triangle planes of 0x45bf90) or, when nearer, the first object model the ray meets in 0x45bf90's walk of the cells from the camera (ObjectRayPick and ObjectPickModel: the walk, the edge clamp and the height window of 0x45cdc0 with the owner and height of the cell lookup 0x452ae0, and the model test 0x45d090, as read); the instance's model walk is read except the group pick: the refresh 0x473c30 (0x473a40) that every instance's creation tail runs over every node (0x4638f7..0x463937: node flag 0x10000 on all nodes, model flag 0x40000, fixed objects too; a non-fixed object's vertices are the conformed ones) is ported for the pick, computed at the instance's first model test from the creation-time vertices (the original's lighting reads those normals too, which the draw does not); not ported: the node bits 0x20 and 0x8000 (no shipped object model has them, but the eye views set 0x8000, 0x42ad82, the camera word is saved with its eye bits, 0x42ce1b, and the node-state saver 0x464140 and loader 0x4647a0 keep 0x20 and 0x8000 in a node's saved word, 0x4643b5 and 0x4643bf, which OpenTPW's import does not restore), the group flag 0x80000 that the coaster code sets on its instances (0x434060 at 0x43428b, +0xd4 the creating record, instances of table 0x7a4610; it makes 0x447790 and 0x4477d0 hand the pick the group's member models), the picker's own refresh after a re-conform of the coaster pylon stacks (0x45cecf..0x45ced9 once 0x469a56 sets the model flag again, from 0x432df0 and 0x442f40), and a cell whose second-layer piece instance answers 0x452ae0 (0x53bf30 returns the second-layer record's word +4 for any second-layer cell: a kart or water ride's track tile, a 2 x 2 piece profile map) is not tested, where the original tests the piece's model; the hit instance that 0x45bf90 hands to 0x469340 (0x45ccd5) is the one the hover handler and the click dispatcher pass to 0x469180 (0x486f6b, 0x4874fe, 0x487712, 0x48778d, 0x4878ce, 0x48798b, 0x4bd9ef: the instance's nodes get a private copy of their face normals, node flag 0x1000000 and model flag 0x400000, and 0x469410 and 0x469840 from the frame loop 0x54e301 fill the node colour words with a pulsing colour from the tick), a hover highlight the draw does not have; the hover cell word keeps its previous value when the ray finds nothing (Level.RefreshHoverCell) where the park tools read the pick at the call and act on nothing; the generic sandbox has no heightfield and takes the Z = 0 plane for the terrain hit ([EXT:build-cursor-ground-plane]); the anchor taken from the clicked cell is the original's (0x528b44), so the click is local (W/2, H/2) when each side is odd or at most 5 cells (the only shipped exception is space 3104 Orbiter, 6 x 3: local (3, 1) at 0 degrees, (2, 2) at 90) | See source annotation/runtime register | source/OpenTPW/World/Objects/RidesApproximations.cs:13 |
| RIDES-031 | Original-fidelity area (scope unadjudicated) | a Theme Park Inc world types the footprints of its placed objects through ParkCellMap.WriteFootprint, the port of Theme Park Inc's own placement commit, which is the twin of tp.exe's (the same 24-way cell-type table, 0x6691D8 and 0x6691FC against 0x529D04 and 0x529D24: '@' stamps a type-1 NoModify path cell linked to its path neighbours, 0x668552 against 0x529173, the queue cell and the entrance and exit cells the same sequences); a layout restored from a checkpoint is stamped again when it connects (a checkpoint saved before the footprints were typed also gets the access links its placements lay); not ported: the extra case for the coaster marker type 0x15 (0x6688F0; the slice has no Theme Park Inc coaster), the commit's preview flag modes and effects beyond the cell stamps, and Theme Park Inc's own validator twin of 0x535670 (the typed slice asks tp.exe's) | See source annotation/runtime register | source/OpenTPW/World/Objects/RidesApproximations.cs:14 |
| RIDES-032 | Original-fidelity area (scope unadjudicated) | this simulation updates and poses every instance in its tick, seen or not (the saved node states, picks and the hash must not depend on the camera), where the original's list pass 0x44e410 updates an instance the renderer did not pose in the previous frame without sampling (0x473c70(inst, 0, 8)) and the render callback 0x463030, which the mesh prepare 0x57a750 calls as call eax (so no direct call through +0x140 exists), poses it; the handshake and the drawn reset are ported (flags 0x200000/0x800000, the stored pose restored on return 0x44e380 -> 0x4726d0, which stays in the drawn state until a writer writes the element as tp.exe keeps it, the key table 0x44ab30, the callback offered before any mesh test, hidden or out-of-view parts included); point lights and lamps read the drawn IsNodeHidden, which is harmless because light dummies have no mesh; whether an object is called back is decided here by the view bounds of all its parts together, where the original's scene pass 0x576910 offers it to every object of its always-list and of the terrain cells the view covers | See source annotation/runtime register | source/OpenTPW/World/Objects/RidesApproximations.cs:15 |
| RIDES-040 | Original-fidelity area (scope unadjudicated) | Theme Park Inc fixed scene records saved at (0, 0) use their local model origin; the thing records of the six that have an archive carry the fixed-item default position (128, 128) and angle 0, so the save leaves no transform field unread; how the original places a local-coordinate fixed model at its anchor is not read: a thing's position bytes (+4 and +6 the 1/256 fractions, +5 and +7 the cells) are decoded as (cell + fraction / 256) x 10 only by the camera-target setters 0x503490 and 0x5A1100 (through 0x407793, 0x466FA0, which write the camera words 0xA14480 and 0xA14488), and no other reader of that decoding was found | See source annotation/runtime register | source/OpenTPW/World/Objects/RidesApproximations.cs:16 |
| SAVE-002 | Original-fidelity area (scope unadjudicated) | a saved guest using an attraction (16) is imported as a rider of the attraction named in mMajorDest (+0x1DC) when that attraction's script run state was imported (the state-16 update 0x501A08 does nothing: the ride's script holds the rider in its heap, limbo table, walk, bounce and head tables, which come back as saved, RideVisitorBridge.ImportSavedRiders, SavedRideTables, DET-013); a rider of a ride whose script state was not imported (the child-script graph was refused, or the save holds no readable RSSE block) or that names no attraction OpenTPW holds is not imported, and a rider's head sprite and body history are the Scripts block's guest sprite scripts (SAVE-013, HEADS-007); a guest held by a guard (17) is imported held (its saved position, no balloon, thought or walk, as the hold 0x4FEB10 leaves it) with its escorting guard's state 18 (the perpetrator +0x212 and the saved accurate destination, the ticket booth), and is destroyed at its first update when no guard holds it (0x501C94), and a guest in a queue (states 11–14, or its idle interlude, state 8 with mSavedState 11) is imported only when its attraction's saved queue (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) reads as the loader's chain of guests of that ride; a queue head imported as handed to the script (state 14) boards at the first host step once the script has taken it (VAR_LETMEON no longer its id, as the original's first update enters state 16, 0x4E0A70), and only where the ride's script state was not imported is it imported called but not admitted (state 13 at the stand point); a guard escorting or chasing a guest the guest import did not restore (every guard naming a restored guest keeps its job, as the set-down 0x4FEB50 and the chase 0x4D6790 test no state) is imported idle and gives the job up at his first update; an imported guest in an activity (state 8) decides again at once, one at the booth (4) that was not yet weighed waits OpenTPW's booth time ([EXT:fixed-catch-up-cap], the former ARRIVAL-006), a turn stamp before the save's turn counts from the import, and the saved state (mSavedState) outside the queue interlude and the admission flag (mBeenAdmitted) of a guest that is not in state 11 or in its interlude are not imported (mSavedState is read by 0x4FC890, which the state-8 update calls, and by 0x501961 and 0x502430, which test state 8 first; mBeenAdmitted is read only in the state-11 update 0x4FFFF0, at 0x50003F, 0x50017F, 0x5001A4 and 0x5001D0; an activity outside a queue does resume its saved state in the original); the 32-slot event ring, AddEvent 0x50C100, is not imported either: debug-only, [EXT:guest-event-ring], user-approved 2026-10-16, not part of this ID. An imported guest's queue-join happiness is 0 as the loader leaves it (0x51861C). No corpus or Easymode save holds a guest in states 8/11-17, a set mFirstInQ or a rider; the queue, held-guest and rider imports are checked on synthetic saves only. | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:12 |
| SAVE-006 | Original-fidelity area (scope unadjudicated) | a player's own save's park gate gives the park its name (its two sign lines, blank ones included) and an idle attraction saved with its open word clear stays closed, the shipped Easymode seed keeps the gate's default lines in the player's language (they are the same text); every other object type's sign is redrawn from the saved name lines of its oldest object, as the original's sign rebuild after a load does (0x00468500 walks the object chain and draws each type's sign again from its objects' lines through 0x004E2860 and 0x004E2920, so the type keeps the lines of the last object it meets, the oldest; ParkObjects.SavedSignLines, kept in OpenTPW's own saves); a player-named non-gate attraction exists in the original (the object window's panel handler 0x0048D2E0 answers its message 0x10006 on control 0 by calling the window's virtual slot 14, 0x0048D370, which opens the Rename Item dialog whose handler 0x0048D640 stores the lines through 0x004E2950 and 0x004E2A50 and redraws the type's sign with 0x004682B0, so every object of the type shows the new name), but OpenTPW has no such dialog: its windows rename the park gate only, so a name reaches an attraction through an original save alone; the raw links (mesh instance, script and track handles, flags, footprint, entrance and exit cells, upgrade parent, balloon sprite) are not part of this ID: OpenTPW's engines rebuild them by the placement and the queue (cells, ends) from the laid queue cells (the head, the links and the called guest are the saved ones, GuestSimulation.ImportOriginal), as the engine-state dumps they are ([EXT:original-engine-state-dumps], user-approved 2026-10-16); the staff claims are imported as saved (an attraction's claimant word and turn, 0x004E01F0; the query 0x004E0220 lets a claim lapse once the turn is above its stamp + 100 unless 0x00506580 holds: the claimant thing is a mechanic whose ride word +0x218 or a handyman whose toilet word +0x21A names the attraction, any other thing, a guest in a reused slot included, answering false), a stamp ahead of the save's own turn (never written by the game) taken as made on that turn | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:13 |
| SAVE-010 | Original-fidelity area (scope unadjudicated) | the advisor presentation block (its width is traced, SaveBlockWidths), the second clock word (the advisor clock, applied when the automatic advisor attaches; the first, the game clock the saved scripts' waits count from, is applied with their run state, SavedScriptImport), vanilla time (0x00403220 loads the saved millisecond clock 0x005F5FA0 minus the clock now into its object: an offset of the wall clock), the game-system words (0x00550520: nine words of the main loop's frame clock, the saved ones within a few frames of the saved game clock word), the cheat chunk's second byte (+0xB of the cheat object 0xFB3520, which only its constructor and the loader 0x405570 write; the first, the cheat mode, is imported, docs/CHEATS.md), advisor scoring (SaveRuntimeBlocks; the UI block's message tube is imported, UI-025), the weather thing's words (serializer 0x00512010: mQuality, mLastChanged, mLastForecasted, the pending forecast at +0x20, mCurrentDrops, mTargetDrops, mLightning, mLightningCountdown, mLightningNumThisPeriod, mThunderCountdown, mLastLightningLocation, mRainSoundHandle, mPType, dDir, dForce and mOverridden: OpenTPW's weather continues from its own seeded stream, [EXT:weather-stream], as a new park's does), the rest of the park analyser (its five grid words, 1024 61-byte cells and six 5-byte trackers, and the other eleven monthly rings, the finance window's, so an imported park's finance graph starts empty; its recent-research rings, five monthly statistics rings, live arrivals, recent stays, arrival ring, object and hire stamps and chase counters are imported), the world state other than 0 (a running park) and 4 (a lost park, imported; 1 is the set-up's and 2 the teardown's, 0x005156C6 and 0x00515DD7), the calendar's session start (0x004F8690, 0x004F8730 and 0x004F8770 read the start +0, the rate +0x1C and the park turn, never +8) and the advisor controller's time signature, sound, three raw words, mRequestedLastTutorial and mMessagePlaying are not imported (its current record is imported as the last tutorial advice when an automatic advisor attaches), nor are its pending advice and history when no automatic advisor is attached; the tag system and the UI message receiver serialize their thing base alone (0x00509BC0), and the arrival vehicles, the mechanic HQ's cursor and the environment grid are imported (ARRIVAL-001 retired, GUEST-006); of the Sound block (loader 0x51C400) a park started from an original save (a player's own or the shipped Easymode seed) applies its master, effects, music and speech volumes and on-flags to the mixer until the options take over, as the original's sound tick 0x51BD70 does (GameAudio.ApplySavedSound; the options file is not changed); its sound flags, voice handles, crowd, rain and reverb words (recomputed within frames, as in the original), its dirty, speech, duck and listener-freeze words and the sound library's voice list behind three listener floats the loader discards (writer 0x6B6C30, reader 0x6B6DA0; not QMixer data) are tp.exe's own engine state, which OpenTPW's audio does not share ([EXT:original-engine-state-dumps]); the camera is imported (zoom, yaw and the required point of interest, loader 0x42CEC0, a level starts its camera there), the yaw turned to the nearest quarter turn in the 90 degree rotation mode as the loader does (0x42D03F, ParkCameraMode.SnapToQuarterTurn), but the smoothed yaw 0x7909E0 keeps the saved value and eases to the target in the original where OpenTPW's camera starts on the target; of the cell map the path cells, occupancy, MAP attributes, each path cell's texture and turn, the litter (type, collector and claim turn, with the handyman jobs on it) and the region effect records (the environment grid) are read, and a saved path tile is drawn only while the cell's path neighbours equal the saved ones and its turn is 0/90/180/270 (otherwise the tile is chosen from the neighbours) | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:14 |
| SAVE-012 | Original-fidelity area (scope unadjudicated) | the new park's advisor controller carries a first pending record (valid, message 0, score 100,000, response -1) as observed in the four shipped restart.INTS saves: tp.exe's constructor 0x599E70 leaves every pending slot free and the code that posts that record at the park's start is not found (SaveNewParkThings.AdvisorController); the Restart Park snapshot itself is OpenTPW's park-resume file by design ([EXT:restart-snapshot-per-start], user-approved 2026-10-17, its file format ruled storage-only the same day) and is not part of this ID | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:15 |
| SAVE-013 | Original-fidelity area (scope unadjudicated) | the Scripts block (SaveScriptsBlock: the sprite-script slot table and each 0x118-byte VM record, tp.exe 0x475730) holds one sprite script per saved guest or staff member (the person's script handle +0x0C, created by 0x4D4140 from the program table 0x75A418: entry 0x5A is the standing loop that holds frame 0, which the staff drop 0x505EA0 sets as program 3, entry 0x2A the walking one; each park save of the corpus holds one script per saved guest), one per held balloon (+0x210) and one per litter item (0x4D93B0, the programs 0x74F050 to 0x74F168 with the litter type); the guests' body players, the held balloons and the staff members' sources are applied (SavedSpriteScripts: the program counter, run state, stack, depth words, registers, wake tick against the saved game clock rebased onto the host's sprite clock, period and output frame, through the word offsets of the program table 0x74DAB8; a record the bounded players cannot represent is reported and rebuilt as before), while the litter sprites are drawn from the cell (the programs are threaded code, handler pointers with inline operands: 0x476940 sets a frame, 0x476020 jumps) and a bursting balloon no guest names is not imported; the Particles block's pool is applied to the level's particle system (SaveParticleState maps it partially: it drops the emitter hold, group, screen-space, ring and immortal words, the bounds, the effector group, mode and strength, the pool capacity, density and low-detail flag and the saved template tables, so modified templates 101 to 104 restore as the file's; the corpus loses nothing), and the post-load pass 0x5200B0 hides the screen-space emitters (the saved Button sparkles), leaving Jungle's WaterFall; the effector slot stores no template id, which SaveParticleState recovers from template bytes the tick does not write by direct displacement (writes through a base register were not checked; no corpus save has a live effector) | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:16 |
| SAVE-921 | Original-fidelity area (scope unadjudicated) | the coaster header's flag word is kept raw: the saver (tp.exe 0x437300) writes controller +0x3C bits 0 and 1 as wire 0x1 and 0x2 (the track is complete, the circuit is cut open: SaveCoaster.TrackComplete and CircuitOpen) and the track flags (+0) 0x20 to 0x800 as wire 0x4 to 0x100 (0x43743C..0x4374D0), and the loader maps them back (0x4380D4..0x438335); the section flag word is decoded (SaveCoasterSectionFlags: wire 0x1/0x2/0x4 and the cut, link and intersection marks are restored, wire 0x8/0x10/0x20 are the loop and zero-bank flags the node constructor derives again); of the track flags only 0x800 has a traced meaning (the trains are set up: set by 0x43BE23 with the train slots, cleared by 0x435814 when they are removed, COAST-plan §22); a static data-flow scan of tp.exe (tools/ppc-analysis/controller_flag_readers.py, COAST-plan section 24) follows every controller pointer from its only sources (the pool table 0x790BD0, the list head 0x790FE0, the edited global 0x790FEC and the allocation 0x4368FC, all named only inside the coaster module) through registers, frames, direct calls and the records the code allocates, and finds no reader of 0x20, 0x40, 0x80, 0x100, 0x200 or 0x400 apart from the saver (0x43745B..0x4374AF) and the loader (the other readers observe 0x1, 0x4, 0x8, 0x10, 0x800, 0x1000, 0x2000, 0x4000 and 0x8000, and every `test` of a track flag at [reg+0..3] in the whole image is on a descriptor, section or other record), so they look like dead data only the file carries (0x40 is no outside mode: that is the mode bits of the state word, header +4), but the scan does not follow arrays inside records, the node pointer at +0xD4 of the thing records (table 0x7A4610) or 18 stores of node and descriptor pointers into records it has no type for | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:17 |
| SAVE-940 | Original-fidelity area (scope unadjudicated) | the names of the Theme Park Inc attraction's 19 history rings (ThemeParkIncAttractionRing) are descriptions of what the game adds to each ring, read from the code that increments it (the history object 0x5ea020, the end-of-visit step 0x6118d0, the guest outcome step 0x612740 and the price test 0x6120c0), not names the loader's log gives: the order, capacities, periods (a new-day message 11 and a new-month message 12 from the calendar step 0x6083d0) and every ring's condition are traced, with the info word +0x21c read as UsageInfo.AppearanceEffect (the info key table at 0x9A4520, four bytes a key) and the guest thresholds 0xa01b1c..0xa01b44 read as PeepInfo.HappyDiffForVGood/Good/Poor/VPoor, Perfect/Good/OKExcitementMatch, PerfectRide/GoodRide/OKRide and ComplainAboutThisQuality (the PeepInfo key table at 0x996774 from 0xA01A74); the ring at +0x4C8 counts four unlike conditions and +0x550 a literal-30 check, so their names stay descriptions, and the prebuilt's rings are all empty, so no ring value has been seen in a save | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:18 |
| SAVE-944 | Original-fidelity area (scope unadjudicated) | the Theme Park Inc guest (model 1), staff (4 to 8) and gardener (20) bodies have no witnessed save: their layouts (a guest is 619 bytes; a staff member 684 to 696 bytes plus 4 for each saved entry of its six history rings, at most 30 each) are read from the load routines of Game.exe (guest 0x60d260, staff base 0x6267c0 and the role loads, ring 0x62f2b0) and checked only against an emulation of those routines, never against a save's bytes. For all traced bodies (also the staff HQ, advisor controller, park analyser, research lab, weather and challenge system, whose prebuilt widths the layouts reproduce) a word keeps its stored width because the loaders copy each member, so a field's signedness or float type is not known except where a user of the member shows it (traced: the guest's seven meters are floats, six of them named from the needs step 0x619c0e and the outcome step 0x612740; a staff member's three meters are floats whose names are not assigned; the weather's wind and last lightning location are floats), and the meaning of the staff, analyser and guest rings, of the enumerations (weather, challenge, advisor, state words) and of the other words is not traced; a ring count above its capacity (30, 3, 144, 50 or 5 entries; the byte ring is 50, its 51st slot being padding, so the original overruns only from entry 52) is refused, although the original would read on, and a count with the sign bit set is refused where the original compares signed and reads no entry. Guests, staff and gardeners have never been checked against a real save, and a layout mistake now refuses the whole save where the old header search recovered | See source annotation/runtime register | source/OpenTPW/Economy/SaveApproximations.cs:19 |
| TOUR-005 | Original-fidelity area (scope unadjudicated) | TOUR-GROUND: the cars clear the height map (.hmp) of the mesh instance on a cell, its byte x 100/255 plus the instance height, as the cell lookup 0x00452AE0 reads it: the second-layer piece instance first (0x0053BF30: a kart or water track tile, its 2 x 2 map indexed from the instance corner two cells over by the engine rotation, 0x00522B90 / 0x00522D50 / 0x00466F90, on the tile height 0x00466D70; PieceGround) and else the object that owns the cell, found by the cell's footprint as tp.exe finds it by the owner word of a type-4, 9 or 10 cell and the class-3 thing there (0x527E80, 0x527D60), its map read at the object's rotation; every shipped object map has its shape's size, so the original's rebuild of a mis-sized map from the mesh (0x00451880) never runs for the catalogue; a cell with no such instance gives the terrain as the original does (every tour caller passes no owner out-pointer). The park fence's posts are the second layer's family 5 (hoarding, kind 25: the selector 0x53A540, the instancer 0x53AFA0 through 0x522F20 from table 0x763608, ho_fos1, ho_end1 and ho_fob1): 0x53BF30 answers a cell's record handle for any kind (an extension, 0xC or 0x11, through its parent word, a parent word of 0 logs and answers none), so a tour car over a fence post's cell or one of the three cells beside it is lifted by the hoarding instance's own map, whose 2 x 2 file ships in every theme (every hoarding mesh has one, so the rebuild 0x451880 never runs for them); OpenTPW draws no park fence mesh, so it has no instance to sample and such a cell answers the object or the terrain. Station tiles (kinds 13 and 18) take family 1, for which 0x53AFA0 builds nothing: the record's instance is stored only from the refresh's three instancers (0x522B90, 0x522D50, 0x522F20), so a station cell's own handle is none. Open: the park fence's instances (the post's piece, its transform and height) and the expected size the mesh loader 0x4629D0 passes to the map loader 0x451640 for track pieces (the shipped piece maps are the tile's 2 x 2 cells; the rebuild runs only for another size) | See source annotation/runtime register | source/OpenTPW/World/Tours/TourApproximations.cs:11 |
| TRACK-010 | Original-fidelity area (scope unadjudicated) | TRACK-BRIDGE (narrowed in round 11): the tile ops are tp.exe's, run in the x86 oracle on 700 random layouts (TrackBridges): a path or queue stays under a tile (the type op never writes the cell's type, 0x538FC0; only a line's last tile removes the paths under it, 0x5390C0), the base op 0x538A92 and the path tool's 0x534115 give the whole flag word 1, the op 0x86 walks 0x52C6F0 and 0x52CCB0 round the ride give 2, 8 and 4, a path taken off a tile runs no op (0x5367A0). Residual: a walk that runs past the structure array (a track end with an arm into empty ground reads on until the 16-bit id wraps) ends false where the executable reads other game memory; a walk that never ends in the executable (a track that circles without reaching its station, an arm into empty ground that wraps round the array) hangs it, and OpenTPW ends it after two map sizes of steps; the hoarding rule of the base op (0x538A97, map types 2, 7 and 30) is ParkFence.MarkWater's and the walks read the fence's records; not drawn: the walks also mark the tiles they pass for the red and white pulse of the model colour pass (0x52C6F0 at 0x52CAD0 and 0x52CCB0 at 0x52D130 register the tile's instance in the list 0x7AFE14 through 0x469580 when the walk's second argument is set, which the eight callers read pass as 1 (0x526B7A, 0x526C9C, 0x526F3C, 0x5271A0, 0x53003E, 0x53009B, 0x53426F, 0x538CA0), skipping a tile whose 0x53AE00 or whose 0x522770 masked with the walk's direction test answers yes, and take it off again through 0x469650 when it is 0), the pulse itself being the one QueueModelPulse draws for the queue dead ends (0x469840) | See source annotation/runtime register | source/OpenTPW/World/Tracks/TrackApproximations.cs:11 |
| TRACK-032 | Original-fidelity area (scope unadjudicated) | SAVED-RIDE TRACK: an original save's kart or water track is imported from the structure layer's track cells (the 31-byte cells, loader 0x4D0B30 and 0x50C200: the type 11 and 13 kart and 16 and 18 water tiles and their type-12 extensions with their connection mask, flow link, flags, origin, chosen piece, overlap, alternate mask and segment; the ride of a tile is the one whose station reaches it through the masks) and each ride's circuit is walked from them, compared with chunk 4's section list and given chunk 3's words (the laps, the performance, the model words +0x14 and +0x18 the loader stores raw, and the phase; Level.ImportOriginalTracks; loader 0x543560: the ride chunk 0x543638, the section chunk 0x543FF4 through the section builder 0x54B2F0); once the guest import has made the riders, the vehicles (chunk 5: the 43 words of the 0xAC-byte record, the collision object found from the vehicle's place or the fallback place of the chunk, the aimed waypoint found from its key), their riders (chunk 9, with their seat numbers) and the joining and leaving lists (chunks 8 and 7, the join refused for a ride in phase 0, one peep list of 1024 nodes for every ride) are put on the controller as the loader leaves them, every list reversed because the loader pushes each node on the head again, the phase raw (a racing or over kart or water ride keeps it), the chunk-6 reference waypoint the walk's own (the open routine 0x544840 picks the same one) and nothing drawn from the world generator, as the loader neither launches a vehicle (0x54A040) nor hangs a head (0x44B410) (Level.ImportOriginalTrackRiders, BumpController.ImportOriginalVehicles, tp.exe 0x543B3C..0x543F24); a ride whose chunks do not read like the saver's, whose vehicle stands in no collision object (the module tick 0x546C80 reads the object unchecked) or aims at a waypoint of another ride, or that names a guest who is not a rider of it, is refused with its reason and keeps no vehicle (a kart or water ride saved racing or over then waits in loading); a bumper ride's chunks (ride words, phase, vehicles, riders and lists, which the loader 0x543560 reads as for a kart ride) are not imported, and the guests who rode a ride whose vehicles were not imported are put off the ride (SAVE-002); not imported: the flag bits of the track cells above 0x1F (the structure cell's mFlags is the layout the map cell shares, where tp.exe's cell code sets 0x20, 0x40 and 0x80 for other meanings, and its meaning on a track record is not read; OpenTPW's saves of before round 11 hold 0x20 as the bridge-over-path memory it no longer writes), the mesh-instance words of the cells and vehicles (+4 of a cell, +8 and +0xC of a vehicle: engine handles the loader binds again, 0x463AB0, which OpenTPW's renderers make anew) and the voice and emitter handles of a vehicle (+0x20, +0x2C: a boat's voice and a smoking car's emitter start again as after a park resume); a tile over a path or queue cell keeps that cell's type and lies beneath it (0x538FC0, TRACK-010); no save of the corpus or Easymode holds a kart, water or bumper ride (their TrackRides block is the 44-byte build-stamp chunk), so the import is checked against the saver's shapes and OpenTPW's own tracks only | See source annotation/runtime register | source/OpenTPW/World/Tracks/TrackApproximations.cs:12 |
| UI-003 | Original-fidelity area (scope unadjudicated) | a UI control model's states are the nodes down the first-child chain from the root, the k-th for state k, and a state past the chain selects nothing (0x476e80; the constructor 0x476a90 hides every chain node, the selection shows one; ported as UiModel.TryGetState); each node's world matrix composes its local matrix with its ancestors' (0x57a530) and the window angle (+0xe2) is DrawFrame's turn (0x476c50). The button class was read (the state getter 0x668820, the applier 0x668ad3, which sends 0x4c000 to the control's slot 3 = 0x476f10 -> 0x476e80): 0x476e80 takes the state index only with bit 0x1 (-> +0xc) and the base only with bit 0x80000 (-> +0xa), and the button sets neither: no caller passes bit 0x1 or 0x80000 for a model button, so a button state never drives the chain index or the base. Instead 0x668ad3 takes the state index from 0x668820, ignores a value above 5, and jumps through the table 0x668bd4, whose six cases fill a descriptor (the button's byte +0x158, sometimes +1, as its first word; its byte +0x159 as the second; the dword at +0x14c or +0x154 as a third field) and send 0x4c000 to the control's slot 3; what those descriptor fields mean for the drawn frame is not read. A button asked for a state its model lacks (a 4-node model's pressed state) keeps the first frame here (GetFrame) where tp.exe's control draws nothing | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:12 |
| UI-004 | Original-fidelity area (scope unadjudicated) | a UI control model's vertices all end at depth 0 in tp.exe (the control matrix 0x476c50 stores m22 = 0 at 0x476cbf; the part carries flag 0x2000000 from the model flag 0x200 set by 0x476ad3, so 0x579690 maps z to [0x8bcc20] x z = 0, with ZFUNC less-or-equal at 0x57360f and no bias: the submit order wins), the model's z orders nothing, and the items are the material runs in material order with their triangles in file order, the triangles that are not strictly clockwise dropped (the face test 0x581320, ported as UiModel.IsClockwise and the parts' DrawIndices: 422 of the 6,310 ui.wad triangles); an item whose texture has an alpha byte (state 0x556) is stashed (0x565746) and its surviving triangles sorted by depth sum, all 0, so the original's tie permutation (0x565490, OriginalDepthSort) is drawn; opaque and cut-out items (states 0x1256, 0x2756) are drawn at once. Read since (ORACLE.md X79, ui_scene_oracle.py): the order instances reach the part list. Showing a control (0x476bf0, slot 5 of the control vtables 0x6fee10, 0x6fee38, 0x6fee60) adds its instance through 0x45bd30 with the third argument 0, which selects category 0x20 (scene list +0x18; a nonzero argument selects 0x10, list +0x14, and 0x45bd00 adds with 0x70, list +0x2c); 0x576410 -> 0x576270 puts an object whose vtable slot 2 answers 2 (every model instance, 0x40f260) at the head of the list after the leading run of objects answering 1, so a list is newest first, and hiding (0x45bdd0 -> 0x576540) unlinks without reordering; the instance registry 0x5775d0 is never read (only 0x5775d0 and 0x577600 touch it). The frame draw walks the lists 1..6 in category order (0x576b86) and calls each instance's draw (slot 1, thunk 0x57ac60 -> 0x57a750), whose parts 0x581cd0 appends in that order, so the batcher's part list is the scene list, newest shown first, and its last-to-first walk undoes that: controls on pages of their own are drawn in show order (the first shown first), the mechanism is read; OpenTPW draws each screen's fixed element list, filtered by visibility, with screens bottom to top, so its order equals the original's only for controls shown once, in listed order: a control hidden (state 0, 0x45bdd0 -> 0x576540) and shown again goes to the newest end, while a nonzero to nonzero state change does not reorder (the duplicate check 0x5762a6), and the per-window show sequences (the arm drawer reveal against the drawer 0x4a14f0, slot 0x14 at 0x4a1734, the HUD economy, ticket and key toggles, the info-arm and message elements, the object-window rows) are not read, so the call order is kept. The original differs from call order only where items share a cache page (drawn in list order, the control shown last first: a panel on the page of its button would cover it) or a texture (one node at its oldest user's place, newest first inside it). Not ported: the batcher groups items by the texture's cache page (the node key 0x581e68 is [slot+0x1c], the page surface, 0x590671..0x590678, used with slot flag 0x1000, which the page placement 0x590350 sets for every texture a scene draws: 0x590401..0x590404, reached 0x576c60 -> 0x58cf40 -> 0x58f940 -> 0x58f190); the pages split by width class (0x590cf0: > 128, > 64, > 32, > 16, > 8, smaller, or the slot's own class bits when [slot+8] & 0x30 is 0x30; 0x58f190 takes the page from the class's own list, 0x58f1c9, with the full-class fallback 0x58f1e6; the page size is 256, 128 or 64 by device, 0x58db0c) and the nodes are drawn in creation order from the last part and last material (0x58204d..0x58213b); which textures share a page is decided by the placement of the frame's pending textures (0x58f190 with 0x58eae0, 0x58eca0, the eviction 0x58e790 and a halving of a texture that does not fit, 0x58cb40) together with the world's textures, so it is not ported; on a scratch dump of the batch (not committed) of the Jungle HUD, the buy window, the staff window and the pause menu, one page per texture flips no overlapping pair, merging equal textures flips 5 pairs (buy window: the list's tick boxes), 7 (staff window: the role icons of a second window and OpenTPW's own staff-view button would go under their frames) and none on the pause menu, and one page per width class flips 56, 68 and 18, among them the HUD panel over its buttons, which the PC v2.0 gameplay video contradicts; the stashed items of a whole frame leave 0x582ad0 in the tie permutation of their count (0x5829e0, descending, not stable) after the immediate ones: the 0x38 byte records at [display+0x44] without flag 0x10 form one index array (0x582b2b..0x582b9e) that holds the world's stashed records with their real depth keys too, so the partitions, and with them the permutation of the UI's tied records, depend on the world; applying the tie permutation of the translucent items alone to the buy window flips 56 overlapping pairs, so that reading is not applied and the call order stays; the sprite batches (the control text, flushed at 0x58a660 before the scene flush 0x582170 at 0x576dbe) keep call order here; the outcode drop of a clipped part (0x580e68..0x580e76) is not applied (the permutation count n is the survivors); the x87 transform class 0x579690 was read, the CPU-feature classes 0x5f525f and 0x5f4a46 (chosen at 0x578224 by [0x8bd534] bit 0x2000000 and 0x579a80) and the 3dfx ordering 0x5828f0 (device flags 0xc and 0x20000000, 0x566c22) were not compared | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:13 |
| UI-006 | Original-fidelity area (scope unadjudicated) | text colours: the object windows' labels and values white, green values elsewhere, a highlight for selected list rows, grey disabled, the texture-switch progress bar track and backdrop colours (the video's 720p chroma is good to about +-15 per channel); the original gives each text control an RGBA colour (0x65c5d5 → renderer +0x48, kept as ARGB at +0x78, 0x48fd07; the sprite draw 0x58a010 takes it as the diffuse colour of the control's quads, 0x58a019), white by default (constructor 0x48f6a0) and with glyphs rendered white (0x48fa96; nothing sets the keep-font-colours flag +0xdd), and all 134 sites are assigned to their window builders in docs/UI.md (text colour sites); the values read and ported are the options labels' (0,0,0,255) (0x4a441e), the buy list rows' (255,255,255,255) (0x4ad340), the pause menu lines' (0,175,190,255) (0x48b2b9), the shared title colour (234,239,102,255) (0x492d20, fifteen window builders), the lobby island name's (252,232,7,255) (0x4b8604), the list column headers' (255,239,0,255) (0x486660, 59 callers), the HUD cost text's (255,255,0,255) (0x4a22b2), the black labels of the park information window (0x4a52a0: title and caption) and ticket price window (0x498d80); the park information window's toggles and period buttons (0x4a52a0) and the finance window's toggles (0x49ac60) are buttons whose SetText override 0x668d5f reapplies white (0x668ad3), the red cost rows' (255,0,0,255) of the hire, training and loans windows (0x49c422, 0x4b2e93, 0x49fce1) and a list row control that turns (140,0,60) on message 0x403 with a negative argument (0x4a0710) | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:14 |
| UI-018 | Original-fidelity area (scope unadjudicated) | the lobby draws the engine sky (the scene's one view has the flags 0x1F31, whose bit 0x10 makes 0x576A00 draw the sky in every frame, 0x576C6D; cloud layer sky.tga coloured by the eased island colour) over the fog-coloured clear (render flag 0x4000000, 0x5D8BEA), without fog (the lobby's range 50 to 300 is set but the scene clears the fog bit, 0x5d8bf9; RenderFog, UI-107); while the globe is up the islands screen is deactivated (0x5E23C0 -> 0x5E2550, 0x5E1BD0), which frees the island models, their clips, the flyers and the signs (0x5E25E2, 0x5D8A10), and only active screens update (0x5E40E0), so nothing of the islands component 0x5e0470 (lightning, thunder, rain, the nearest-island sky target) runs and no flyer or clip steps: OpenTPW steps none of them and builds the lobby scene afresh when the globe closes (GameFlow.RebuildLobbyScene, the activation 0x5E23F0 -> 0x5E3210), while the scene keeps easing the sky towards the globe's own target (0x5d96c0, 0x5DCFE0); the enter sequence is built (the camera turns to the island angle + π, the gate plays M1, the camera zooms under the black fade and the park starts below radius 8, 0x5e0490 states 1 and 2) and Escape ends it as the original's handler does (0x5E41C0 -> 0x5E1890, 0x5E2360, the base 0x5e1350: sub-state 0, the opened gate closes with M2, the menu is back); tp.exe's lobby code has no key-award animation: the key panel (0x4B8CA0, 0x4B9340, 0x4B90F0) is a static counter with the sparkle effect 0x61 (LobbyKeyPanelEffect) and a won ticket is a text popup in the park (0x4D4BC0, 0x4D4FA0); the CRT's process-wide rand() stream (the island constructors', the flyers' and the lightning's draws) is replaced by a local clock-seeded stand-in | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:15 |
| UI-025 | Original-fidelity area (scope unadjudicated) | the message tube is the original's tag window system: ten slots, no eviction, no help (the add routine 0x48eb20, cap word 0x750610); every post names a tag whose record (content/data/message-tags.toml, the table 0x75eca8) decides its text entry, replacement, icon, actions and lifetime (30 s for most tags, 90 s for the offers, none for the progress rows; the expiry timer 0x80080 and the warning timer 0x80081 five seconds earlier run on the UI clock, 0x661fe5, and a pause suspends them, 0x48a6e0); a row is kept until it is deleted, answered or expired (0x48d9c0 stops an armed non-offer tag's timers and removes nothing); a deleted, expired or answered row leaves 500 ms later with the decline run first for an offer (0x4a13e8, 0x48db94, 0x48e269); a replaced row leaves at once; a right click on the tag the panel is still sliding out for does nothing (0x7ca094) and one on the tube's body removes every row 100 ms apart (0x4a1190, 0x100003); the panel's buttons come from the tag's actions (buy with its entry preselected, hire, loans, research, park information, staff costs and entry price windows, locate a thing or a cell: 0x48e610, 0x48e0f0); the first show starts the burst 0x5a and the warning the retained particle 0x5b at the icon's centre, ended by a read or the removal (0x48dfbe, 0x48de1a); the tube is saved with the park and an original save's tube is imported (0x48ee50, 0x48ef70); the tube art remains an extension | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:16 |
| UI-026 | Original-fidelity area (scope unadjudicated) | build icons: the preview model (P<name>.MD2, else the main model) is drawn depth tested in its own image ([EXT:preview-icon-cpu-projection]) with the original's placement, camera and face test: the fit and footprint terms of 0x4689f0, the matrix 0x468e50 rebuilds each frame (the yaw and the -π/4 tilt through the sine table, the offsets, x scaled by 0.75 and depth by 0.1), the instance's own view diag(1, -1, 1, 1) (0x45bd30, 0x57a260, used for model flag 0x200 by 0x57a750), the viewport mapping with depth × 0.1 (0x579690 mode 2), the clockwise-only face test (0x581320) and LESSEQUAL depth (0x567620, 0x57360f), its turn of 0.0004 rad a millisecond running on across selections (0x46908a, 0x468e2f), and animation 5 started on each new preview (0x4732a0: <model>m1, else <model>m, looping); but the original lights the preview's vertices in its 3D object pipeline and OpenTPW draws them unlit: 0x57aa10 clears the light list 0x879dec, relinks the lights of the scene's two containers ([0x87a6d0] + 0x30 and + 0x2c) through 0x576230 and lights each vertex with 0x574660 → 0x5741b0 (the ambient words 0x879dd8, 0.15 grey by default, 0x573fd0, plus for each directional light, type nibble 2 of +0x50, its colour × max(-N·d, 0) in the model's space, for a point light, 4, (r² - d²) × 1/r², clamped to bytes with alpha 0xFF; the option LIGHTING, bit 0x800 of [0x8bcbc8], takes the unlit colour [+0x2c] instead), which is read; the footprint grid (8×8 cells coloured by cell type in control 0x1eb, 0x4ab1b0, record 0x754d50) is built (BuyFootprint) and its cell rectangles' edges match 0x4ab1b0 (round 11 package I); the object windows' previews keep a 30° tilt and 0.8 rad/s; sign faces use the object's rendered sign textures (ObjectSigns) | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:17 |
| UI-031 | Original-fidelity area (scope unadjudicated) | exactly Ctrl at the placing click keeps the build tool armed (0x5253b8; the Move tool's 0x5259e2), a ride with an entrance takes the queue tool after its placement whatever the modifier (0x52f580(3, 0)), and the queue tool's last click ends the tool whatever the modifier (0x5275b1..0x5275f2: 0x52f200(0, 0) sets mode 0 and replaces the build tool object, its mode 4 or 0x3b with its type, by the default tool), the tool's angle returning to 0 when it is left (0x52f3b6); the kart and water line tools (0xB, 0x10) take the queue tool when their circuit closes only while the placement's queue start 0x8186c0 is pending (0x526f95, 0x527004), from the cell the last placement stored (0x7639b8/0x7639bc), and the handover takes it (0x527056), as build and Move clicks on an accepted ghost (a click on a refused ghost returns at the latch first, 0x524a63), the Move pick-up and path or queue commits drop it (0x524b53, 0x5253f3, 0x525e5a, 0x527483), a path start cell ending the queue tool at once (0x52712f), and with no queue start exactly Ctrl keeps the line tool without a start (0x527146) and any other word ends it (0x527156); the Ctrl word 0xC at 0x5259e2/0x5259f4 is Ctrl alone (the modifier builder 0x46b420: Shift 3, Ctrl 0xC, Alt 0x30) and a placement that 0x52fab0 reports as entrance-bearing (the sub-record flag +0x40) takes the tail 0x5259ae: the queue re-evaluation 0x4de1f0, the words 0x763ac0 and 0x763ac4 back to 0x80, then the map cell record +0x29c (the cell's type word, +8 of the 0x44-byte record at +0x294) of the queue's start cell that 0x52a050 gave decides at 0x5259cf: type 1 (a path cell) ends the tool through 0x52f200(0, 0) whatever the modifier, which returns the angle to 0 as well (0x52f3b6); for any other start cell the mode stays the queue tool 3 that 0x52f580 set before, exactly Ctrl keeps the angle through it (0x525a06) and any other word runs 0x52f1b0(0, 0), which resets it (OpenTPW keeps the angle through the queue tool whatever the modifier and resets it when the queue tool ends); the coaster sub-mode (0x52faf0 = 3) takes the same tail and skips only the kart and water station line (0x52521e), so a coaster's placement enters the queue tool as well, its pending start consumed at 0x5252ea, and the coaster's track tool (mode 0x15, 0x497d20 for a track that 0x441910 reports incomplete, else the edit entry 0x4474d0) is entered only through 0x4988c0, never in 0x524960: by the ride window's track button (0x4af275), by a press on a marker cell of the coaster (map type 0x15, cursor mode 6, 0x487eeb) and by the panel's build button (0x498333), which OpenTPW does the same, except that the panel's build button calls 0x497d20 directly (0x498337, with help 0x125 at 0x498348) and the first two go through 0x4988c0, which posts no advisor help (0x486b00 is not called; its complete branch only sets the status text 0x4a2aa0(0xc), not shown) and which OpenTPW answers with the same panel for a complete and an incomplete track; its completion hands over to the queue tool when the pass 0x81 returns 0 (0x526525) only while a queue start is pending (0x52656e, taken at 0x526680) and otherwise ends the tool (0x5266bc): a coaster's own placement consumed its start (0x5252ea, reached when the queue start differs from the two locals compared at 0x5252a9 and 0x5252b9 or 0x820a8c is 1; 0x525296 zeroes it just before), so the completion ends the tool, and a start another placement left pending (a kart or water ride's) is handed over (the global is cleared by the build, Move, pick-up and path or queue clicks 0x524b53, 0x5253f3, 0x525e5a, 0x527483, not by a tool's exit); which OpenTPW placements end at 0x5259cf is not mapped; Level.PlaceObject owns purchase/guest linkage and its removal handler owns scrap credits | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:18 |
| UI-042 | Original-fidelity area (scope unadjudicated) | the camera button's slide-out panel (table 0x751720) slides in and out as the arm drawer 0x4a14f0 does (ten 20 ms steps, cat_ui 0x1C and 0xC2, help 0x131): the drawer places the panel at the arm's left less the panel's own width and a horizontal gap of 50 (0x4a1631, the width read by 0x659e3e), centred vertically on the arm (the arm's top plus half the arm's height less half the panel's, 0x4a163b-0x4a1647) and then moves it right by a tenth of (the HUD window's right edge - the arm's left + the panel's width + 100) each step (0x4a16e5, the step 0x4a1704, the tick 0x4a19e7), the step being the integer quotient by the tick count 10 and the ten ticks adding it, so the panel ends at its start plus 10 times that step (the camera panel at left 482, top 1206; the message panel through the same drawer at left 486, top 1112) with the arm's art (bar, pane and handle) growing out from under the HUD; the camcorder button arms the camcorder tool as the C key does (button 99, 0x498ad0 → 0x481a10 → the tool 0x46cff0, vtable 0x6fead0), and the tool's click (0x46d0d0, on the press) boards the ride under the cursor or starts the walk (0x42ae70): the camera update 0x42b1c0 in mode 2 with the original's keys (the arrows and numpad 1, 3, 7, 9), pointer steering, cell-edge stepping with the mask-2 walk test (0x4d8750) and eye (ground + 5 units), matched to the executable by an x86 oracle (ORACLE.md X58); the postcard window (table 0x7540d8) keeps its photo frame empty and its preview button disabled (the 640×240 camcorder photo 0x4a9280 and the preview redraw 0x4a84c0 are not ported); its address book (table 0x7542b8, 0x4a8140) and its sending through OpenTPW's own server are not part of this ID ([EXT:online-postcard-address-book], user-approved 2026-10-30); the original has no view-cycle button, so OpenTPW has none (0x751720 holds only the two buttons; no window control changes the zoom or yaw, and the locate jumps 0x42aab0 pass null zoom and yaw) | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:19 |
| UI-060 | Original-fidelity area (scope unadjudicated) | finance and park information share the original's graph drawer 0x47fe90: the opaque black backdrop, dark-green grid (0,100,0), green axes/step labels (0,200,0), plot (4,4,width-20,height-20), ten horizontal divisions and twelve labeled vertical spans for 12/36/144 samples (0x4806a0, 0x47fb50, 0x47fcd0), the series colours/order, selection masks, default bank balance and zero-inclusive scale, and the finance series' placement: n = min(period samples, months held) + 1 points from the left over steps of width / samples (floats summed as the drawer does), a 0 before the first month while the ring has no older one, whole-pixel columns and rows cut to the plot, a box round each segment end below 144 samples and the last value at the line's end (0x480460, 0x47fe90, 0x47ffe0); grid coordinates accumulate stored floats and truncate, primitive lengths are pixel counts (the pixel size itself, two canvas units and at least one framebuffer pixel, is the host adapter [EXT:graph-pixel-adapter], user-approved 2026-10-30, and the graph label font follows [EXT:ui-font-tier-by-scale]), and the negative-minimum zero axis omits the bottom branch's extra pixel (0x47fc50). Empty histories and selections keep the backdrop. Signed 128-bit axis and row arithmetic for long financial values (the original multiplies in 32 bits, 0x47feee), background-only tiny/unsupported host controls and nonfinite-frame rejection are host safety adaptations | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:20 |
| UI-082 | Original-fidelity area (scope unadjudicated) | the hire figure uses the traced inner rectangle, integer feet (626,362) and nominal 2.4 canvas units per reference pixel; it is the script's own sprite (0x74F758: flags 0x51000 and heading 5 by its SET instructions, slot 1, frames 0 to 7) made by 0x49BA00 at the sprite clock and stepped by the sprite scheduler on the even substeps (0x475360, 0x54F5D7): a new role or variant byte starts a figure that shows nothing before the first due pass (62 ms, strictly later, 0x4758F0), an applicant the pool does not return keeps the figure that stands, and the window's close ends it (0x49B7B4); the screen-space draw takes no camera turn (flag 0x40000); the employed-tab figure deliberately shares the hire-box layout as EXT:staff-employee-view, not native applicant sourcing | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:21 |
| UI-086 | Original-fidelity area (scope unadjudicated) | the map window's cells, layers, items, tracks and pointer follow tp.exe 0x5f2050 (the class writer: cells 10, 11 and 12 for paths, queues and unowned land, 9 for a fence post, structure type 0x19 (0x536450), the class of the owner thing for an object cell, 0x4dd4e0 +0x4ac), 0x5f2380 (the renderer: the layer word, the staff role and the value mode, the 5 × 5 pixel grid from (15, 42), the fills and the outline pass 0x5f2a94 (with its cell-width quirk) blended with the alpha of their colour (out = d + ((s - d) * a >> 8), 0x5f23cd, so an opaque fill still loses 1 where it is above the base), the staff areas as one pixel frames (0x6025c0, each pixel once, alpha 200) and the coaster track polylines through the anti-aliased line 0x5efb10, oracle X54), 0x5f3940 and 0x5f44d0 (the six sprite images, the item filters, the colour kinds, the staff patrol areas, the happiness ramp 0x5f09a0 and the repair, excitement 0x4e0860 and satisfaction 0x4e1e30 value modes) and the pointer's nearest-item pick within five pixels with its text panel; 0x5f2fd0 is the track layer (called at 0x5f2d99 under layer bit 0x10), and the pointer pick is 0x5f198e..0x5f1a96 (|dx| and |dy| below 5.0, 0x703040); not ported: the sprite size follows the display height in the original (the quad is the image width × the item scale × 0.00078125 of the display height) and OpenTPW uses the 640 × 480 reference size, as for the pick's 5 pixel radius, which is in screen pixels of the original's display mode; the surface's pixel format: the original takes its D3D format from the table 0x8bd558[[0x8bd554]] (A4R4G4B4 when the option TEXTURE32, bit 0x400000 of [0x7a1a8c], is 0, as in its default presets, else A8R8G8B8: 0x5f1f81..0x5f1fcc, 0x44e1eb..0x44e202; the software renderer forces 8888, 0x58daca), and OpenTPW's textures are always 32 bit ([EXT:texture32-always] (user-approved 2026-11-04: the original's presets low, med and high.sam all set TEXTURE32 0, so the original draws A4R4G4B4 textures; OpenTPW keeps 32 bit)), so the 4444 surface (a 16 bpp surface: the original draws its fills, outlines and frames with the 16 bit drawer, vtable 0x703680 set at 0x617390, as well as the line) and the 8, 16 and 24 bit line variants (0x5edad0, 0x5ee580, 0x5ef040, jump table 0x5f3218) are not ported; whether the item colour modulates or replaces the sprite texel; the pointer's click-through, drag pan and camera-centred initial view and the hover text beyond the item's name; and a per-pixel comparison with a capture of the original | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:22 |
| UI-091 | Original-fidelity area (scope unadjudicated) | staff radios use independently persisted and validated role chains (+0x210), with explicit whole-role fallback for malformed original chains and read-only compatibility projection for older own saves; visitor radios project live guests onto the ThingPool used chain, with an explicit ascending-ID fallback only for pool-free fixtures; visitor position failure still clears the selection, while staff identity survives unavailable coordinates; the panels slide out of the HUD arm and back in as the drawer 0x4a14f0 does, started by 0x4a2590 (ten 20 ms ticks, geometry of ArmDrawer, the visitors' panel waiting in the arm's slot 2 until the staff panel is away, retract button shown with the slide out), and the camera follow has no smoothing of its own (the per-frame matrix blend of 0x42b1c0 runs only for the mode bits 0x3c of 0x790ab0, of which the camera setter 0x42ab20 sets only the ride bit 4: it belongs to the ride view, UI-094) | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:23 |
| UI-092 | Original-fidelity area (scope unadjudicated) | the per-employee window uses ThingPool order, captured-target title rename and position-independent locator identity; its portrait is the original's independent clone of the member's sprite source (the source is the original's: StaffSpriteState, made by the constructors, the drop and the rest's end, deleted by the pick-up and the rest, stepped by the sprite scheduler on the even substeps, 0x475360): the window's refresh makes the full copy (0x486530 -> 0x475CF0, flags (f & ~0x200) | 0x50000, scale 8.0), every update (message 0x1E) the partial copy (0x486610 -> 0x475E10) while the member has a source, the clone keeps its own due time and interval and plays on by its own clock when the source is gone, a member without a source at the refresh gets no clone and none later, the close deletes it (0x486630); employee-only nominal 2.4 geometry at integer feet (526,476) from its inherited inner rectangle | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:24 |
| UI-094 | Original-fidelity area (scope unadjudicated) | the ride view takes the camera seat (the ride model's seat node, 0x42a560: a ride without one is not rideable, as every shipped coaster car and ride model with one) and the shared OriginalProjection; the seat's rotation is blended with the previous frame's as 0x42ca0d does (a = (1000 - dt) x 0.0005 with the original's frame time: whole milliseconds plus one, 100 above 200) and the free look is applied after it, the view axes being the camera matrix rows (0x56b940: direction the third, up the second); static now resets to 300 ms on an observed Boolean ride/walk edge, with positivity latched before elapsed-time subtraction (0x54faf7, 0x54fb20), the scene being replaced by the static while it lasts, the mask 0x16 naming only the walk and ride bits (no writer sets bit 0x10), and its noise 0x53e760's (320 x 240 pixels, black three in four, white and grey 150 an eighth each); the right click leaves on the click message of its release (0x488a00 with message 0x10006: within 200 ms and 8 px); the crowd sentence counts around the hover cell 0x7b05cc, the cursor ray's cell clamped to the edge cell for an off-grid hit, which the overview refreshes and the ride keeps (Level.HoverCell, 0x45d560, 0x54f875); host adaptations remain for single-sample monotonic timing and frame eligibility/initialization (a new HUD starts from the camera it finds, where the original's last-mode flag 0x878e84 outlives a park), the static's noise (one generator state per HUD, seeded once from the host clock at the first static frame, one fill per HUD frame; the original seeds the CRT's shared stream once from the tick count, 0x54dde3, and draws it on every frame the static lasts, interleaved with the main thread's other rand calls), and the fallback frame of the sandbox's prototype ride, which has no model | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:25 |
| UI-095 | Original-fidelity area (scope unadjudicated) | leaving the ride view restores the camera it was entered from: the park camera as it was (a ride entered from the park view relocates nothing: 0x42ab20 answers 1 only for a ride entered from the walk, flag 0x400, and 0x42a190 calls 0x42a1d0 only then), or the camcorder walk, whose walker is put at the centre of the exit cell of the ride whose entrance holds its cell (0x42a340: the owner thing of type 3 with CannotRide 0; its mExitPos is read at 0x42a22e; x and z are 5 + 10 per cell) with the original's look direction (0x42a1d0: the link byte (+0xd) of that cell, a 0x44-byte record at *0x7cf6ec + 0x294, masked with 0x55: 1 gives pi, 4 pi/2, 0x10 0, 0x40 3pi/2) and only the position and yaw; the byte of an exit cell is written by the placement commit (shape type 10 through the switch 0x529164: 0x5292b2 by 0x5227e0, an entrance's own by 0x5293c3) and by the track editor and the cell reset (0x5227f0 from 0x53b280, 0x536490), which ParkCellMap.WriteFootprint and the track code carry (QueueLinkAt), so the yaw rule fires for placed rides; the park camera's eye height, pitch and zoom range are the original's (0x42b1c0 park branch) while its motion model is OpenTPW's own | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:26 |
| UI-100 | Original-fidelity area (scope unadjudicated) | the path and queue tools choose the link pointer (code 8, flag 0x816d60: 0x535c72, 0x535d02), the end pointer (code 0xb, flag 0x816d4c: 0x535ae5, 0x535b3d: the last cell of the line is an existing path cell, or the ride's own queue cell) and the no-place pointer of a refused line (0x527950, set at 0x533933) from the line preview, the cash pointer by the line's money stop; the kart and water track lines take the end pointer from the track chooser's word 0x816d4c (set with its answer 0xb at 0x53a1c6 when the line meets a tile of its own kind) and the cash pointer from its word 0x816d5c (set at 0x539fb6 by the money test 0x539f95 that refuses a tile the line cannot pay for), both read from the tile ghost; the release reads the refusal word at 0x524a63 (ported through the refused-ghost latch) and the press path at 0x5247f0, 0x52482c and 0x5249e0 (not mapped); not drawn: the crosshair's art (CCro.tga is not in the game data), so OpenTPW keeps the system pointer there | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:27 |
| UI-107 | Original-fidelity area (scope unadjudicated) | the park's sky is built (World/Sky.cs): the cloud layers (sky.tga over the 16 x 16 grid, 1, 2 or 4 by SKYQUALITY, scrolling with the frame time) and the backdrop cylinder (sky_cyl.tga), all camera-centred with no depth and each with the alpha test of its state word (0x10 of 255: the clouds 0x401D56, the cylinder 0x1D56, the objects their texture's 0x556 with 0x401800), over the viewport clear, which is the level's ThemeEngine.FogColour only with the fog bit 0x2000 of the render flags [0x8BCBC8] (the first-person views, toggled with them by 0x54FAD7) or the lobby's bit 0x4000000, else black (0x5737AA: the park overview clears black; RenderFog.ClearColour; the Theme Park Inc executable picks [0xBE20C0] (FogColour) with the flags 0x4002000 and [0xBE20BC] otherwise, 0x6D697A and 0x6D72EB, copied from the ThemeEngine block's first two words at 0x4288F0 to 0x428915, whose six ThemeEngine fields are bound by the real constructor 0x41B320 -> 0x418F60, resolver 0x4192C0 and parser 0x419CD0 (oracle X90; BackColour row 0x99C69C, name at +4), so a Theme Park Inc park clears to ThemeEngine.BackColour, 0 in its shipped shared settings and unchanged by its online settings, without the fog; Sky.BackColour); the other bits read: 0x2000000 is the globe's (set 0x5DD072, cleared 0x5DD2E2) and the globe's sky draws as 0x5863C0 makes it under that flag (Sky.Draw globe, run in the x86 oracle, finding X78): the layer grid a second time with x and the height negated, the same indices, colours and texture coordinates (0x586810 to 0x586A8A), and the cylinder's V rows 0.99, 0.69, 0.51, 0.99 and 0.49, 0.19, 0.01, 0.49 (0x586B03 to 0x586C3C), 0x4 and 0x8 are toggled only by the bound command 0x40C830 (key table entry 0x748324: key 0x74, modifier word 0xC), a hidden debug key OpenTPW does not offer (it would draw the single opaque sky layer 0x401A56, skip the sky objects, 0x5860EC, and run the reverse sort 0x5828F0), bit 31 (no colour clear) and 0x100 are never set, and 0x4000 and 0x8000000 are the vendor workarounds below; the sky objects (the moons of the hallow and space levels: moon.tga, moon2.tga, Standard.sam SkyObjects) draw as 0x5860d0 builds them: the point through the clip matrix, a screen-aligned square of Size x 0.5 in clip space turned by the camera roll, FrontFlag choosing the pass before the clouds or after the cylinder, only with SKYDETAIL 1 (flag 0x400000), with the state bit 0x1000 (drawn at once) and 0x800 (no depth write) their state word gets from 0x5861E5; a sky object takes the textured path unless its texture pointer [edi-0x18] is null (0x586150 to 0x586163), which draws the opaque 0x1256 quad without texture coordinates (flag 0x1000 of the texture only selects the page handle [tex+0x1C]), and its page values +0x20..+0x2c are that placement's scale and offset, which map the quad's 0 to 1 onto the texture's own rectangle, so the texture is drawn on its own; the vertex colour mask (DAT_0087a248 + 0x2c) is all ones (its only writers are the anaglyph mode); objects, terrain, water, particles and kid sprites fade into the level's fog colour (RenderFog, the shaders' g_vFogColor; 0x4080e0 copies it to [0x8bd47c]) over the original's linear range, in the first-person views (ride, free walk) only, as in the original, where the park overview, the lobby and the globe have no fog (RenderFog, docs/LND.md, Fog and far plane: FIRSTPERSONVIEWDISTANCE 0-3 picks start and end 50-60, 100-110, 135-150 or 230-250 original units = 0.2 world units each times the preset's view distance scale, 0x44d8f0 -> 0x583280 -> SetFog 0x567ad0 every frame, D3DRS_FOGTABLEMODE linear with FOGSTART/END, no range fog; measured in the projection's w, sin(fov / 2) x the view depth, 0.7071 at the park camera's 90 degrees: the vertex projection 0x579690 stores 1 / w as the rhw and the engine's start and end of 50 to 250 original units cannot be the depths of the device's 0 to 1 range, so the device's table fog is the w fog (the z of the engine's own clip space, 0x578BE0, differs from w by at most sin(fov / 2) x the near plane 0.1); the front-end screens' 50-250 are not mapped); the fog bit 0x100000 is added to every batch 0x565F90 submits (the model faces 0x58179F, the particles, the sprites, the sky objects, whose clip-space quads have w = 1 and so no fog), to every batch 0x566220 submits and to the terrain cells (0x570E9A), each while bit 0x2000 is set, and not to the cloud layers and the cylinder, which 0x5863C0 makes with 0x565240 directly, nor to the weather, whose batches all call 0x565240 themselves (the rain 0x57F1A7 and 0x57F1BB, the bolts 0x57ECCC, the snow 0x57FB94; only the lightning's flash quad goes through 0x565F90, 0x57EE19), so weather is never fogged (WeatherRenderer); the park view's far plane is the span selection's farthest corner distance (0x56bb00 -> 0x578ca0 -> 0x578be0), which a frame uses one frame late as the original does (0x576A2C composes the matrix, then 0x576ADD -> 0x56BB00 -> 0x56BD3E -> 0x578CA0 sets the far for the next composition; Camera.ParkFarPlane), except that the first park frame after a ride or walk view would use the far plane 0x56ED79 last set through 0x578CA0 (that view's box depth), where OpenTPW continues from the last park frame's far (not ported), and the ride and walk views keep the default far plane 1000: 0x56EA90 composes the view matrix again right after its argument 1000 (0x56EAC0, 0x56EAC5) and only afterwards sets the farthest box depth through 0x578CA0 (0x56ED79), which reaches the weather's depth split (0x583220) but no matrix; the vendor workaround that turns the table fog off while a bit of 0xC000 is set in [0x8bcbc8] (0x566a92 to 0x566b45: old S3 and ATI devices) is not part of this ID ([EXT:hardware-d3d-path], user-approved 2026-10-30); 3d.shader's own 80-200 fog is used only by the sandbox terrain (Material.Default), not by a park | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:28 |
| UI-901 | Original-fidelity area (scope unadjudicated) | the happiness gauge now uses the traced vertical meter.wct halves in child (85,1100,59,224), cropped at value/1024 with white tint; the shell uses its native rectangle and established two-second byte-mean sampling is unchanged | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:29 |
| UI-910 | Original-fidelity area (scope unadjudicated) | the visitor portrait is the original's independent clone of the selected visitor's body sprite: the refresh's full copy (0x4B6B90 -> 0x486530 -> 0x475CF0, scale 12.0) and the partial copy of every update (0x486610 -> 0x475E10: program position, frame and output; the clone keeps its own due time and interval), none for a visitor without a body and none bound later, the delete with the window (0x486630); the guest body player (VisitorSpritePlayer) stands for the sprite VM and is drawn from the bank of the visitor's kid-set draw at literal camera yaw zero. Inner-rectangle integer feet (598,450) and visitor-only nominal 3.6 canvas units per pixel are applied before host canvas scaling. Arrows retain the shared live used-chain projection and pool-free host-only fallback; the four-second timer still refreshes statistics only | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:30 |
| UI-930 | Original-fidelity area (scope unadjudicated) | registered ordinary kid/costume bodies with bounded non-reconstructed programs 1..8, live output/resources and canonical full-viewport matrices use the source-backed strict circle and asymmetric virtual pointer conversion; current renderer frame selection, host projected-Z aggregation/ID ties, synchronous query timing, swimmer precedence and the post-winner 3x3 neighborhood remain; unsupported sources/views retain the rectangle and an eligible circle miss never retries it; the native result trails the sprite pass by two frames, which the synchronous query does not (the park callback 0x54E2B0, run before the scene render 0x44E540 each frame, resolves the owner of the winner the previous frame's pass left in 0x8BD4FC, cleared at the start of every pass 0x58A770/0x58A78C, read at 0x532C17: the first visitor or staff thing of types 1, 4-8 and 0x12 in the hovered cell and its eight neighbours whose sprite it is, 0x532BD0, 0x475EF0; the tail 0x475430 -> 0x540B30 stores it in 0x877350 and publishes the one stored a frame earlier, 0x540B6E..0x540B7E, into the pointer word 0x7B05A8, which 0x46C110 copies to the word the hover handler reads, 0x7B05AC); equal W keeps the first sprite the pass visits (strict test at 0x5890E0), the visit order being the pass's bucket allocation order, then each bucket's chain by its depth key with equal keys in sprite array order, where the host keeps the lowest ID | See source annotation/runtime register | source/OpenTPW/UI/Original/UiApproximations.cs:31 |
| WALK-010 | Original-fidelity area (scope unadjudicated) | the attraction ids that the guests' histories, queues and the economy hold are the script world's attraction counter, not the objects' thing ids (ThingPool slots 11, 12, ...), as far as OpenTPW holds them; the pool itself follows tp.exe's allocator (0x516270: ids 1, 2, 3, ... on a fresh park, the ten singletons of the world init 0x5156A0 first, then the gates and lights as 11 and 12; a freed slot taken again last in, first out, after the turn's deferred destroy, 0x516310; an original save's chain kept slot by slot with the free list rebuilt ascending, 0x518D43; every thing constructor ends in the base constructor 0x50AFE0, which has twelve callers: the world init, the person base 0x4F8940 and the object base 0x4DB090), and the things the original builds that OpenTPW does not are approved design choices, not part of this ID: the developer prototype ride ([EXT:developer-prototype]), the online persons and avatars, which OpenTPW draws as presence figures ([EXT:online-visit-presence], [EXT:online-coop-presence]), and the placeholder slot an imported original save's not-yet-rebuilt thing keeps (user-approved 2026-10-17, [EXT:resume-exact-thing-pool]; what such a thing stands for is tracked by the SAVE IDs); evidence needed: which id tp.exe's guest histories, queue words and economy records hold for an attraction (the thing id or a counter of their own) | See source annotation/runtime register | source/OpenTPW/World/Guests/WalkApproximations.cs:16 |
Retired and reserved IDs#
IDs that a table row in docs keys, or docs prose cites as APPROX:ID, but no register declares: retired approximations and IDs a plan reserves. Declaring one of them fails the check, so a new approximation cannot take a number the docs already use with another meaning. The list is kept in tools/fidelity_retired.txt; --write records new entries and keeps every listed ID. Remove an entry by hand only when its docs agree with the new declaration.
ADVISOR-001(docs/reverse/APPROX-TRACE.md)ADVISOR-002(docs/reverse/APPROX-TRACE.md)ADVISOR-003(docs/reverse/APPROX-TRACE.md)ADVISOR-004(docs/reverse/APPROX-TRACE.md)ADVISOR-005(docs/LIPS.md)ADVISOR-006(docs/reverse/APPROX-TRACE.md)ADVISOR-007(docs/reverse/APPROX-TRACE.md)ADVISOR-008(docs/reverse/APPROX-TRACE.md)ADVISOR-009(docs/LIPS.md)ADVISOR-010(docs/reverse/APPROX-TRACE.md)ADVISOR-011(docs/reverse/APPROX-TRACE.md)ADVISOR-012(docs/LIPS.md)ADVISOR-013(docs/reverse/APPROX-TRACE.md)ADVISOR-014(docs/reverse/APPROX-TRACE.md)ADVISOR-016(docs/PROGRESS.md)ADVISOR-017(docs/progress/2026-10-26-pause-and-loss.md)ADVISOR-019(docs/LIPS.md)ADVISOR-020(docs/progress/2026-10-15-economy-rules-bankruptcy-challenges-cell-types-net-worth-and.md)ADVISOR-022(docs/LIPS.md)ADVISOR-023(docs/PROGRESS.md)ADVISOR-026(docs/LIPS.md)ADVISOR-027(docs/LIPS.md)ARRIVAL-001(docs/ECONOMY.md)ARRIVAL-002(docs/GUESTS.md)ARRIVAL-003(docs/GUESTS.md)ARRIVAL-004(docs/progress/2026-10-15-arrival-and-save-rules-settled-against-tp-exe.md)ARRIVAL-005(docs/GUESTS.md)ARRIVAL-006(docs/GUESTS.md)ARRIVAL-007(docs/progress/2026-10-15-arrival-and-save-rules-settled-against-tp-exe.md)AUDIO-002(docs/AUDIO.md)AUDIO-003(docs/AUDIO.md)AUDIO-004(docs/AUDIO.md)AUDIO-008(docs/AUDIO.md)AUDIO-009(docs/AUDIO.md)AUDIO-011(docs/AUDIO.md)AUDIO-015(docs/PROGRESS.md)AUDIO-017(docs/AUDIO.md)AUDIO-019(docs/AUDIO.md)AUDIO-022(docs/AUDIO.md)AUDIO-023(docs/progress/2026-10-16-path-links-queue-cells-and-the-original-queue-walk.md)AUDIO-025(docs/AUDIO.md)AUDIO-026(docs/AUDIO.md)AUDIO-027(docs/AUDIO.md)AUDIO-029(docs/PROGRESS.md)AUDIO-033(docs/AUDIO.md)AUDIO-034(docs/AUDIO.md)AUDIO-035(docs/AUDIO.md)AUDIO-036(docs/PROGRESS.md)AUDIO-037(docs/AUDIO.md)AUDIO-039(docs/AUDIO.md)AUDIO-040(docs/AUDIO.md)AUDIO-041(docs/AUDIO.md)AUDIO-900(docs/AUDIO.md)AUDIO-901(docs/AUDIO.md)AUDIO-902(docs/AUDIO.md)AUDIO-903(docs/AUDIO.md)AUDIO-904(docs/AUDIO.md)AUDIO-908(docs/AUDIO.md)BLUEPRINT-002(docs/PROGRESS.md)COAST-001(docs/reverse/COAST-plan.md)COAST-002(docs/reverse/COAST-plan.md)COAST-003(docs/reverse/COAST-plan.md)COAST-005(docs/reverse/COAST-plan.md)COAST-006(docs/reverse/COAST-plan.md)COAST-007(docs/COASTERS.md)COAST-008(docs/reverse/COAST-plan.md)COAST-009(docs/reverse/COAST-plan.md)COAST-010(docs/reverse/COAST-plan.md)COAST-011(docs/reverse/COAST-plan.md)COAST-012(docs/reverse/COAST-plan.md)COAST-013(docs/reverse/COAST-plan.md)COAST-014(docs/reverse/COAST-plan.md)COAST-015(docs/COASTERS.md)COAST-016(docs/COASTERS.md)COAST-017(docs/reverse/COAST-plan.md)COAST-018(docs/COASTERS.md)COAST-019(docs/reverse/COAST-plan.md)COAST-020(docs/reverse/REVIEW-COAST-2.md)COAST-021(docs/reverse/REVIEW-COAST-2.md)COAST-022(docs/PROGRESS.md)COAST-023(docs/PROGRESS.md)COAST-024(docs/COASTERS.md)COAST-025(docs/COASTERS.md)COAST-027(docs/COASTERS.md)COAST-029(docs/progress/2026-10-18-round8-coasters.md)COAST-030(docs/COASTERS.md)COAST-031(docs/COASTERS.md)COAST-033(docs/progress/2026-10-30-r11-coaster-tool.md)COAST-035(docs/progress/2026-10-30-r11-coaster-tool.md)COMPAT-001(docs/COMPATIBILITY.md)COMPAT-005(docs/reverse/APPROX-TRACE.md)COMPAT-006(docs/COMPATIBILITY.md)COMPAT-007(docs/progress/2026-10-16-park-name-and-sign-paint-read-in-tp-exe.md)COMPAT-008(docs/reverse/APPROX-TRACE.md)COMPAT-009(docs/COMPATIBILITY.md)COMPAT-011(docs/reverse/APPROX-TRACE.md)COMPAT-012(docs/reverse/APPROX-TRACE.md)COMPAT-013(docs/reverse/APPROX-TRACE.md)COMPAT-014(docs/FORMAT-BACKLOG.md)COMPAT-015(docs/COMPATIBILITY.md)COMPAT-016(docs/progress/2026-10-16-park-name-and-sign-paint-read-in-tp-exe.md)COMPAT-017(docs/COMPATIBILITY.md)COMPAT-019(docs/COMPATIBILITY.md)COMPAT-030(docs/COMPATIBILITY.md)COMPAT-032(docs/COMPATIBILITY.md)DET-001(docs/reverse/DET-plan.md)DET-002(docs/reverse/DET-plan.md)DET-003(docs/reverse/DET-plan.md)DET-004(docs/reverse/DET-plan.md)DET-005(docs/reverse/DET-plan.md)DET-006(docs/reverse/DET-plan.md)DET-007(docs/reverse/DET-plan.md)DET-008(docs/reverse/DET-plan.md)DET-009(docs/reverse/DET-plan.md)DET-010(docs/reverse/DET-plan.md)DET-011(docs/reverse/DET-plan.md)DET-012(docs/reverse/DET-plan.md)DET-014(docs/DETERMINISM.md)DET-015(docs/DETERMINISM.md)DET-016(docs/DETERMINISM.md)ECON-001(docs/ECONOMY.md)ECON-002(docs/reverse/APPROX-TRACE.md)ECON-003(docs/reverse/APPROX-TRACE.md)ECON-004(docs/reverse/APPROX-TRACE.md)ECON-005(docs/reverse/APPROX-TRACE.md)ECON-006(docs/reverse/APPROX-TRACE.md)ECON-007(docs/reverse/APPROX-TRACE.md)ECON-008(docs/reverse/APPROX-TRACE.md)ECON-009(docs/reverse/APPROX-TRACE.md)ECON-010(docs/reverse/APPROX-TRACE.md)ECON-011(docs/reverse/APPROX-TRACE.md)ECON-012(docs/reverse/APPROX-TRACE.md)ECON-013(docs/reverse/APPROX-TRACE.md)ECON-014(docs/ECONOMY.md)ECON-015(docs/reverse/APPROX-TRACE.md)ECON-016(docs/reverse/APPROX-TRACE.md)ECON-017(docs/progress/2026-10-18-round8-saves-econ.md)ECON-018(docs/reverse/APPROX-TRACE.md)ECON-019(docs/reverse/APPROX-TRACE.md)ECON-020(docs/ECONOMY.md)ECON-021(docs/reverse/APPROX-TRACE.md)ECON-023(docs/ECONOMY.md)ECON-024(docs/reverse/APPROX-TRACE.md)ECON-025(docs/reverse/APPROX-TRACE.md)ECON-026(docs/ECONOMY.md)ECON-027(docs/reverse/APPROX-TRACE.md)ECON-028(docs/reverse/APPROX-TRACE.md)ECON-029(docs/reverse/APPROX-TRACE.md)ECON-031(docs/reverse/APPROX-TRACE.md)ECON-032(docs/reverse/APPROX-TRACE.md)ECON-033(docs/reverse/APPROX-TRACE.md)ECON-034(docs/reverse/APPROX-TRACE.md)ECON-035(docs/reverse/APPROX-TRACE.md)ECON-036(docs/reverse/APPROX-TRACE.md)ECON-037(docs/reverse/APPROX-TRACE.md)ECON-038(docs/reverse/APPROX-TRACE.md)ECON-039(docs/PROGRESS.md)ECON-040(docs/reverse/APPROX-TRACE.md)ECON-041(docs/reverse/APPROX-TRACE.md)ECON-042(docs/reverse/APPROX-TRACE.md)ECON-043(docs/reverse/APPROX-TRACE.md)ECON-044(docs/ECONOMY.md)ECON-045(docs/reverse/APPROX-TRACE.md)ECON-046(docs/reverse/APPROX-TRACE.md)ECON-047(docs/reverse/RIDE-WEAR.md)ECON-048(docs/reverse/ORACLE.md)ECON-050(docs/UI.md)ECON-052(docs/PROGRESS.md)ECON-054(docs/ECONOMY.md)ECON-055(docs/ECONOMY.md)ECON-056(docs/progress/2026-10-16-economy-and-saves-sweep.md)ECON-057(docs/progress/2026-10-18-round8-saves-econ.md)ECON-059(docs/ECONOMY.md)ECON-061(docs/THEME-PARK-INC.md)ECON-063(docs/progress/2026-10-26-pause-and-loss.md)GATE-001(docs/M3-GATE.md)GATE-002(docs/reverse/PATH-plan.md)GATE-003(docs/reverse/BOARD-plan.md)GATE-004(docs/M3-GATE.md)GATE-005(docs/M3-GATE.md)GATE-006(docs/M3-GATE.md)GATEM4-001(docs/M4-GATE.md)GATEM4-002(docs/M4-GATE.md)GUEST-001(docs/PROGRESS.md)GUEST-002(docs/DISCONNECTED-QUEUE-SCORING.md)GUEST-003(docs/progress/2026-10-17-thing-pool-and-thing-ids.md)GUEST-004(docs/GUESTS.md)GUEST-005(docs/GUESTS.md)GUEST-006(docs/GUESTS.md)GUEST-007(docs/GUESTS.md)GUEST-008(docs/PROGRESS.md)GUEST-009(docs/PROGRESS.md)GUEST-010(docs/GUESTS.md)GUEST-011(docs/CLOSED-RIDE-ADMISSION.md)GUEST-012(docs/GUESTS.md)GUEST-013(docs/UI.md)GUEST-014(docs/GUESTS.md)GUEST-015(docs/GUESTS.md)GUEST-016(docs/STAFF-PLACEMENT.md)GUEST-018(docs/GUESTS.md)GUEST-019(docs/GUESTS.md)GUEST-022(docs/progress/2026-10-18-tpc-sprite-banks.md)GUEST-023(docs/DETERMINISM.md)HEADS-001(docs/GUESTS.md)HEADS-002(docs/PROGRESS.md)HEADS-003(docs/PROGRESS.md)HEADS-004(docs/GUESTS.md)HEADS-005(docs/GUESTS.md)HEADS-008(docs/GUESTS.md)MD2-900(docs/reverse/TEXTURE-FRAME-LIFETIME.md)MD2-901(docs/OBJECTS.md)MD2-902(docs/MD2-MODELS.md)ONLINE-001(docs/ONLINE.md)ONLINE-002(docs/reverse/APPROX-TRACE.md)ONLINE-003(docs/ONLINE.md)ONLINE-004(docs/ONLINE.md)ONLINE-005(docs/ONLINE.md)ONLINE-006(docs/ONLINE.md)ONLINE-007(docs/ONLINE.md)ONLINE-008(docs/PROGRESS.md)ONLINE-009(docs/ONLINE.md)ONLINE-010(docs/ONLINE.md)ONLINE-012(docs/ONLINE.md)ONLINE-013(docs/ONLINE.md)ONLINE-017(docs/ONLINE.md)ONLINE-019(docs/ONLINE.md)ONLINE-020(docs/ONLINE.md)ONLINE-021(docs/ONLINE.md)ONLINE-022(docs/ONLINE.md)ONLINE-023(docs/ONLINE.md)ONLINE-024(docs/ONLINE.md)ONLINE-073(docs/ONLINE.md)ONLINE-076(docs/ONLINE.md)PATH-001(docs/progress/2026-10-16-path-links-queue-cells-and-the-original-queue-walk.md)PATH-003(docs/PROGRESS.md)PATH-004(docs/progress/2026-10-16-path-links-queue-cells-and-the-original-queue-walk.md)PATH-005(docs/PATHS.md)PATH-006(docs/progress/2026-10-16-original-build-check.md)PATH-007(docs/PATHS.md)PATH-008(docs/progress/2026-10-16-path-links-queue-cells-and-the-original-queue-walk.md)PATH-009(docs/PROGRESS.md)PATH-011(docs/PROGRESS.md)PATH-012(docs/reverse/REVIEW-PATH.md)PATH-013(docs/GUESTS.md)PATH-014(docs/progress/2026-10-16-path-links-queue-cells-and-the-original-queue-walk.md)PATH-015(docs/PATHS.md)PATH-016(docs/PATHS.md)PTCL-901(docs/PROGRESS.md)PTCL-902(docs/PARTICLES.md)PTCL-903(docs/PARTICLES.md)PTCL-904(docs/PARTICLES.md)PTCL-907(docs/PARTICLES.md)PTCL-909(docs/PARTICLES.md)QUEUE-001(docs/PROGRESS.md)QUEUE-002(docs/PROGRESS.md)QUEUE-004(docs/GUESTS.md)QUEUE-005(docs/progress/2026-10-17-thing-pool-and-thing-ids.md)QUEUE-006(docs/reverse/BOARD-plan.md)QUEUE-007(docs/reverse/BOARD-plan.md)QUEUE-008(docs/GUESTS.md)QUEUE-009(docs/GUESTS.md)QUEUE-011(docs/progress/2026-10-16-ride-shop-and-sideshow-settings.md)QUEUE-013(docs/reverse/REVIEW-ORACLE.md)QUEUE-014(docs/GUESTS.md)QUEUE-016(docs/GUESTS.md)QUEUE-017(docs/GUESTS.md)QUEUE-018(docs/GUESTS.md)QUEUE-019(docs/GUESTS.md)QUEUE-020(docs/GUESTS.md)QUEUE-021(docs/GUESTS.md)QUEUE-022(docs/GUESTS.md)QUEUE-023(docs/GUESTS.md)RIDES-001(docs/reverse/APPROX-TRACE.md)RIDES-002(docs/reverse/APPROX-TRACE.md)RIDES-003(docs/OBJECTS.md)RIDES-004(docs/reverse/APPROX-TRACE.md)RIDES-005(docs/reverse/APPROX-TRACE.md)RIDES-006(docs/reverse/APPROX-TRACE.md)RIDES-007(docs/reverse/APPROX-TRACE.md)RIDES-008(docs/reverse/APPROX-TRACE.md)RIDES-009(docs/OBJECTS.md)RIDES-010(docs/OBJECTS.md)RIDES-012(docs/OBJECTS.md)RIDES-013(docs/OBJECTS.md)RIDES-014(docs/OBJECTS.md)RIDES-015(docs/OBJECTS.md)RIDES-016(docs/reverse/APPROX-TRACE.md)RIDES-017(docs/OBJECTS.md)RIDES-018(docs/OBJECTS.md)RIDES-019(docs/OBJECTS.md)RIDES-020(docs/reverse/APPROX-TRACE.md)RIDES-022(docs/OBJECTS.md)RIDES-023(docs/OBJECTS.md)RIDES-024(docs/reverse/APPROX-TRACE.md)RIDES-025(docs/OBJECTS.md)RIDES-026(docs/OBJECTS.md)RIDES-027(docs/reverse/APPROX-TRACE.md)RIDES-028(docs/OBJECTS.md)RIDES-029(docs/reverse/APPROX-TRACE.md)RIDES-030(docs/OBJECTS.md)RIDES-033(docs/progress/2026-10-16-ride-shop-and-sideshow-settings.md)RIDES-034(docs/PROGRESS.md)RIDES-035(docs/MD2-MODELS.md)RIDES-036(docs/OBJECTS.md)RIDES-037(docs/PROGRESS.md)RIDES-038(docs/OBJECTS.md)RIDES-039(docs/reverse/REVIEW-ANIM-2.md)RIDES-041(docs/OBJECTS.md)RIDES-042(docs/OBJECTS.md)RIDES-043(docs/OBJECTS.md)RIDES-044(docs/RSE-VM.md)RIDES-045(source/OpenTPW/World/Objects/ObjectCatalog.cs)RIDES-046(docs/LIGHTS.md)SAVE-001(docs/DETERMINISM.md)SAVE-003(docs/reverse/REVIEW-SAVE-2.md)SAVE-004(docs/progress/2026-10-18-round8-saves-econ.md)SAVE-005(docs/ECONOMY.md)SAVE-007(docs/ECONOMY.md)SAVE-008(docs/progress/2026-10-16-economy-and-saves-sweep.md)SAVE-009(docs/SAVE-THINGS.md)SAVE-011(docs/SAVE-CONTAINER.md)SAVE-920(docs/TPWS-PAYLOAD.md)SAVE-922(docs/TPWS-PAYLOAD.md)SAVE-923(docs/TPWS-PAYLOAD.md)SAVE-941(docs/THEME-PARK-INC.md)SAVE-942(docs/THEME-PARK-INC.md)SAVE-943(docs/THEME-PARK-INC.md)TOUR-001(docs/PROGRESS.md)TOUR-002(docs/TOURS.md)TOUR-003(docs/TOURS.md)TOUR-004(docs/PROGRESS.md)TOUR-007(docs/TOURS.md)TOUR-008(docs/TOURS.md)TOUR-009(docs/PROGRESS.md)TOUR-010(docs/PROGRESS.md)TOUR-011(docs/GUESTS.md)TRACK-001(docs/TRACKS.md)TRACK-002(docs/TRACKS.md)TRACK-003(docs/TRACKS.md)TRACK-004(docs/TRACKS.md)TRACK-005(docs/TRACKS.md)TRACK-006(docs/TRACKS.md)TRACK-007(docs/TRACKS.md)TRACK-008(docs/TRACKS.md)TRACK-009(docs/PROGRESS.md)TRACK-011(docs/PROGRESS.md)TRACK-012(docs/PROGRESS.md)TRACK-013(docs/PROGRESS.md)TRACK-014(docs/TRACKS.md)TRACK-015(docs/PROGRESS.md)TRACK-016(docs/PROGRESS.md)TRACK-017(docs/PROGRESS.md)TRACK-018(docs/TRACKS.md)TRACK-019(docs/TRACKS.md)TRACK-023(docs/PROGRESS.md)TRACK-024(docs/PROGRESS.md)TRACK-025(docs/PROGRESS.md)TRACK-026(docs/TRACKS.md)TRACK-029(docs/PROGRESS.md)TRACK-030(docs/TRACKS.md)TRACK-031(docs/PROGRESS.md)UI-001(docs/reverse/APPROX-TRACE.md)UI-002(docs/UI.md)UI-005(docs/UI.md)UI-007(docs/UI.md)UI-008(docs/UI.md)UI-009(docs/reverse/APPROX-TRACE.md)UI-010(docs/reverse/APPROX-TRACE.md)UI-011(docs/reverse/APPROX-TRACE.md)UI-012(docs/UI.md)UI-013(docs/UI.md)UI-014(docs/reverse/APPROX-TRACE.md)UI-015(docs/reverse/APPROX-TRACE.md)UI-016(docs/reverse/APPROX-TRACE.md)UI-017(docs/reverse/APPROX-TRACE.md)UI-019(docs/reverse/APPROX-TRACE.md)UI-020(docs/reverse/APPROX-TRACE.md)UI-021(docs/reverse/APPROX-TRACE.md)UI-022(docs/reverse/APPROX-TRACE.md)UI-023(docs/reverse/APPROX-TRACE.md)UI-024(docs/UI.md)UI-027(docs/UI.md)UI-028(docs/UI.md)UI-029(docs/reverse/APPROX-TRACE.md)UI-030(docs/reverse/APPROX-TRACE.md)UI-032(docs/UI.md)UI-033(docs/reverse/APPROX-TRACE.md)UI-034(docs/UI.md)UI-035(docs/reverse/PPC-review.md)UI-036(docs/UI.md)UI-037(docs/UI.md)UI-038(docs/PROGRESS.md)UI-039(docs/UI.md)UI-040(docs/PROGRESS.md)UI-041(docs/UI.md)UI-043(docs/PROGRESS.md)UI-044(docs/UI.md)UI-045(docs/PROGRESS.md)UI-046(docs/progress/2026-10-18-round8-ui-windows.md)UI-047(docs/progress/2026-10-30-r11-coaster-tool.md)UI-048(docs/PROGRESS.md)UI-049(docs/PROGRESS.md)UI-050(docs/UI.md)UI-051(docs/UI.md)UI-061(docs/UI.md)UI-062(docs/PROGRESS.md)UI-063(docs/progress/2026-10-16-interface-round-c.md)UI-064(docs/UI.md)UI-065(docs/PROGRESS.md)UI-066(docs/COMPATIBILITY.md)UI-080(docs/UI.md)UI-081(docs/progress/2026-10-18-round8-ui-windows.md)UI-083(docs/PROGRESS.md)UI-084(docs/PROGRESS.md)UI-088(docs/UI.md)UI-089(docs/PROGRESS.md)UI-090(docs/PROGRESS.md)UI-093(docs/PROGRESS.md)UI-096(docs/AUDIO.md)UI-097(docs/PROGRESS.md)UI-098(docs/PROGRESS.md)UI-099(docs/STAFF-PLACEMENT.md)UI-101(docs/UI.md)UI-102(docs/UI.md)UI-103(docs/UI.md)UI-104(docs/UI.md)UI-105(docs/UI.md)UI-106(docs/progress/2026-10-16-research-bars.md)UI-108(docs/UI.md)UI-902(docs/PROGRESS.md)UI-903(docs/PROGRESS.md)UI-905(docs/progress/2026-10-18-round8-ui-windows.md)UI-906(docs/PROGRESS.md)UI-907(docs/UI.md)UI-908(docs/PROGRESS.md)UI-914(docs/UI.md)UI-920(docs/PROGRESS.md)UI-940(docs/UI.md)UI-941(docs/AUDIO.md)UI-942(docs/UI.md)UMB-001(docs/UMBRELLAS.md)UMB-002(docs/UMBRELLAS.md)UMB-003(docs/UMBRELLAS.md)UMB-004(docs/UMBRELLAS.md)VM-900(docs/PROGRESS.md)VM-901(docs/PROGRESS.md)VM-902(docs/DETERMINISM.md)WALK-001(docs/progress/2026-10-16-ride-shop-and-sideshow-settings.md)WALK-002(docs/GUESTS.md)WALK-003(docs/GUESTS.md)WALK-004(docs/GUESTS.md)WALK-005(docs/STRUCTURAL-WALK-TRACKS.md)WALK-006(docs/GUESTS.md)WALK-007(docs/GUESTS.md)WALK-008(docs/GUESTS.md)WALK-009(docs/GUESTS.md)
Approximation sites#
| Label | Location | Source comment context |
|---|---|---|
| ADVISOR-025 | source/OpenTPW/World/AdvisorSequence.cs:276 | [APPROX:ADVISOR-025] The lobby's key panel and the lobby advisor are ported (FrontEndMenu.KeyPanel.cs, FrontEnd/LobbyAdvisor.cs); response 393, which reaches this timer in the lobby (0x4A6B4F, when the first player's dialog closes after 0x5AFC30 added the first key), is not: OpenTPW publishes the starter key only when the lobby is retired for the park, and the other lobby lines belong to dialogs OpenTPW does not have. |
| ADVISOR-028 | source/OpenTPW/Client/AutomaticAdvisor.cs:139 | [APPROX:ADVISOR-028] what remains of the TPI advisor: the import and the guarded manual attachment are data readiness only, the public TPI slice still creates no advisor, keeps fresh money and clocks and does not support full saved-game resume |
| ARRIVAL-008 | source/OpenTPW/World/Guests/GuestSimulation.cs:1054 | [APPROX:ARRIVAL-008] TPI reads the spell kind for arrivals, not the drop count. The economy steps the count separately without RNG (0x642230); rendering, precipitation audio, lightning, thunder and the TPI sky remain separate work. |
| AUDIO-018 | source/OpenTPW/Audio/AudioListener.cs:61 | [APPROX:AUDIO-018] the factor and the velocity feed are read and pinned (AudioDopplerTests), but a capture of the PC game (v2.0, Dutch) shows no pitch change where the reading predicts one: the lobby's advisor sentence plays at the same speed in the first lobby (the listener velocity (0, 0, -50), a factor of 0.87) and in the lobby after a park (the velocity is the lobby place minus the park's last place), so the reading misses a gate or a reset that keeps the factor at 1; applying it would shift every voice by the first update of a park until the camera moves — evidence needed: the gate (see docs/AUDIO.md, AUDIO-018 row) |
| AUDIO-018 | source/OpenTPW/Audio/AudioMixer.cs:193 | [BIN:QMIXER-DLL:0x1800a1df Doppler] every voice without the loop flag takes QMixer's Doppler factor (a voice with the loop flag sets the channel's no-Doppler bit through 0x6bc628 -> 0x6c5110 -> 0x6d22d0, tested at 0x1800a1df): its frequency times 1 / (1 + (direction . relative velocity) / 331.36), at most 10, from the listener velocity of tp.exe's last changed listener update (AudioListener.Velocity, 0x6d27b0); the integer rounding of the stream's own frequency is applied (0x180055c8-0x180055dd); the stage runs while the voice's first stream reader has its decoder (0x18005599-0x180055bd: +0x90 set, which the library's worker fills through 0x18024620 / 0x18024740) and has not ended (0x1800bd40, the test the pump 0x18007640 uses to end the voice), so a started voice is assumed ready (the waves tp.exe opens with OpenWaveEx flag 0x11, 0x180033ad, are callback waves); [APPROX:AUDIO-018] the device-unit rounding of the stream frequency (0x1800c760) is not read |
| AUDIO-038 | source/OpenTPW/Audio/SoundEvents.cs:193 | [APPROX:AUDIO-038] a sentence stopped inside the decoder's last look-ahead resumes on its successor in the original (see SoundSentence.TryPlayNext) and replays its segment here; initial submission admission and the expiry-exempt nonloop retention remain separate residuals (the group-enable stop and restart, 0x6BC760, is ported: GroupDisabled); held-chain children are not recursively range-stopped. |
| BLUEPRINT-001 | source/OpenTPW/World/Original/BlueprintMarkers.cs:364 | [APPROX:BLUEPRINT-001] a typed TPW world supplies each cell's raise (BlueprintHeights, the tile raise of TileLineGhost); a world that types no cells ([EXT:untyped-harness-world]) and a missing or invalid map keep the unraised terrain (docs/reverse/BLUEPRINT.md). |
| BLUEPRINT-003 | source/OpenTPW/Hud/ParkHud.cs:1812 | [APPROX:BLUEPRINT-003] the area clear's ghost is the blueprint's cells along the rectangle's four edges (or the hovered cell before the first click), all blue: the preview lays the edges with LayLine(0x13a), whose validator answers 0xd and never refuses |
| BLUEPRINT-003 | source/OpenTPW/World/Original/BlueprintGhosts.cs:66 | [APPROX:BLUEPRINT-003] this context-free fallback omits refused outside access markers; the grid-aware overload below supplies the proven ordinary paired-access case only. Other access selection/bounds cases and special footprint symbols '@', 'Q', '+', '#' and track ends keep simplified markers (docs/reverse/BLUEPRINT.md). |
| BLUEPRINT-003 | source/OpenTPW/World/Original/BlueprintGhosts.cs:124 | [APPROX:BLUEPRINT-003] only ordinary type-4/9/10 footprints with one entrance and one exit use this refused-access branch; special symbols, missing/multiple access points, partially off-grid footprints, no-queue mode and unproven refusal reasons retain the existing fallback rather than guess their stamping rules |
| COAST-004 | source/OpenTPW/World/Coasters/CoasterCollision.cs:48 | [APPROX:COAST-004] the x87 arithmetic is built and oracle-compared and the descriptor skips are ported; the lists (+0xb4, eight slots +0xb4..+0xd0 — +0xd4 is never touched by the pass, the drop or the writer) are read only by the drop 0x43ad50 and the save writer 0x437300 as far as traced (the other +0xb4 loads 0x43b159, 0x43b3e5 and 0x43b63f belong to a ring buffer of another object with its capacity at +0xb0 and cursors at +0xc4/+0xc8, 0x44ace9 is a stack slot; the loads at 0x430867, 0x43420a, 0x443087 and 0x44309c read the +0xb4/+0xb8 words of a pylon control or cell descriptor, a position pair, not the node's list); the count (+0xb0) feeds the section builder 0x43f4e0 (material variant 2 for a crossing link); a chain cut open by the demolish button is not sampled (CoasterRide.ChainCrossings); read 2026-11-11: the loader 0x437b60 restores the flag word and the ids and then rewrites every slot through 0x43e520 (0x438262..0x4382a3), and nothing on the load path marks a node dirty — the only chain-wide 0x200000 setter is 0x43afa0, reached from 0x436a39 and 0x43b2df — so a loaded park keeps the saved lists verbatim until an edit dirties a node, whereas OpenTPW re-derives them on the rebuild that the load itself triggers. The only consumers are the drop, the writer, the section builder's count test (0x43f4fb) and the guest predicate 0x441970, and the count is recomputed from the same geometry, so importing the saved lists would change nothing observable; the count's magnitude is consumed in only one place - the import's comparison against the saved controller word (+0x140, OriginalCoasterImport) - because every other reader tests it for zero: the section builder 0x43f4fb and the guest predicate 0x441970, as does CoasterRide.CountsForParkPoints. Each unordered link pair is offered twice, once from each side, and each hit records two entries, so whether a genuine crossing ends at two or four entries shows up nowhere except that comparison |
| COAST-004 | source/OpenTPW/World/Coasters/CoasterRide.cs:454 | [APPROX:COAST-004] a chain cut open by the demolish button is not sampled here (the original's sampler across the cut ends is not traced) and shows no build-time crossings |
| COAST-004 | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:87 | [APPROX:COAST-004] the self-intersection marks (wire 0x400/0x800, node flags 0x200000/0x400000) and the saved collision lists are what the original's pass re-tests from; the runtime's pass re-derives every list, so they are compared, not imported |
| COAST-026 | source/OpenTPW/World/Coasters/CoasterRenderer.cs:25 | [APPROX:COAST-026] whether texture-set flag 4 (bIsSelfIlluminating, set by 0x42F390) makes the dynamic track model's draw use the constant colour instead of the vertex light is not traced: the only traced unlit path, 0x580C51, tests the model material word +0xC bit 0x1, a different structure, so the self-lit vertex flag on the track is an assumption; another reader of the stored scroll rate (texture +0xc) outside the controller tick is not excluded — evidence needed: a scan of the generic texture library for readers of texture +0xc; the texture cache counts its holders and frees an object with the last one (0x575ad0), so a build preview's wrap bits last only while a model holds the texture; the object renderer's models share the cache and are not given the accumulated wrap bits |
| COAST-026 | source/OpenTPW/World/Coasters/CoasterRenderer.cs:46 | [APPROX:COAST-026] a link between two nodes a kept edit left invalid (0x4000) is drawn with the red marker; the original's marker needs 0x800000 or 0x2000 on the next node besides 0x4000 (the drag's moved node), and which of them a released move leaves is not traced — evidence needed: the flags of a moved node after the release 0x445a70 |
| COAST-026 | source/OpenTPW/World/Coasters/CoasterRenderer.cs:427 | [APPROX:COAST-026] a chain the demolish button cut open, and one of fewer than three knots, has no sample list here, so its links take their section per segment by the mean pitch where the original builds the run table over every chain — evidence needed: the sampler across the cut ends (COAST-004) |
| COAST-026 | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:20 | [APPROX:COAST-026] vertices are shared within each texture (a point an edge of another texture also uses gets its own vertex, the shader takes one texture per vertex) where the original's ring is one vertex per point for every texture; the strips leaving the marker run join a ring emitted again, where the original continues from the marker ring |
| COAST-028 | source/OpenTPW/World/Coasters/CoasterBuilder.cs:455 | [APPROX:COAST-028] only the controller of a finished track is fitted on every step; an unfinished chain is drawn with live lift marks and crossings, but its controller's rating fields keep their last fit until it is completed (the original rates the chain's samples every frame; no window shows the fields before completion) — evidence needed: whether any reader of an unfinished controller's rating fields exists |
| COAST-028 | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:413 | [APPROX:COAST-028] the HUD picks the pylon whose drawn faces the cursor ray meets first (Level.PickCoasterPylon, as 0x443ee0 maps the picked model handle through the table 0x7a4610 to the node); a stack's pieces are not tested as a group (0x447790, 0x4477d0), and a coaster without drawn pylon models (no game data) is picked by its cell and, in a stack, by the pointer's nearness to each piece's projected position — evidence needed: the group test's use for stacked pylons |
| COAST-028 | source/OpenTPW/World/Coasters/CoasterTrack.cs:1460 | [APPROX:COAST-028] without the pylon model (no game data) the hand-set yaw replaces the heading of the knot direction and the incline pitches it by half its value (±π maps to ±90°); with the model the knots are the posed tags, whose rotate and incline clips take the yaw over 2π and the pitch over 2π through fInclineAnimMultiplier (0x430ed0, 0x430ca0), as in the original |
| COAST-032 | source/OpenTPW/World/Coasters/CoasterRide.cs:543 | [APPROX:COAST-032] the rating pass, the train placement and the motion tick are compared bit for bit with isolated tp.exe runs (CoasterRatingGolden, ORACLE X46); not compared: the cars' curve point and pose (0x43c0a0 with 0x43e6b0, rendering only) and a car or release walk that reaches slot n past the sample list. Read 2026-11-12: the second is not a divergence. The original copies the last sample into slot n before the rating pass (0x441783) and the only field its reader takes is the position, for the car point's lerp (0x43cf6c for the current point, 0x43d10d for the half-sample point); the rating pass rewrites speeds, forces and flags but never a sample's position, so the sampler's pre-rating copy and this array's last sample carry the same position and Slot(n) answers the same |
| COAST-034 | source/OpenTPW/World/Coasters/CoasterCarRig.cs:97 | [APPROX:COAST-034] the flume boats' own clips (CrocCarM1..M3, MAGGOTM1..M2: animation id 5, subs 0..2) are not played: a car's clip start is 0x43bef2 in 0x43be10 (id 5, sub 0, behind the bend flag 0x43bed2), the only call of the clip starter 0x4732a0 and of the speed setter 0x474050 in the coaster code (every call between 0x430000 and 0x44c000 scanned), and the instance creation 0x463060 (0x436e86 for a car) starts only ids 0 and 0xd (0x4631d6..0x46321f); none of the other 36 callers of 0x4732a0 (scenery, ride, guest, staff, camera, lobby and advisor code) was found to take a car instance, which the coaster code keeps in car +0xc, but a complete exclusion of their dynamic ids is not made; the widening of a bend type's model bounds to a symmetric box (0x4302aa..0x43041a, whose readers are not traced) is not modelled |
| COMPAT-002 | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:94 | [APPROX:COMPAT-002] lfWidth is applied with the Win32 rule (average character width = lfWidth); the Mac GDI layer's width rounding is not verified — evidence needed: long-name captures |
| COMPAT-003 | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:21 | [APPROX:COMPAT-003] glyph coverage: tp.exe draws each line with GDI (CreateFontIndirectA with the sign's LOGFONT, lfQuality 4 = ANTIALIASED_QUALITY, grayscale smoothing, through Uniscribe ScriptStringOut) onto an 8-bit gray DIB; OpenTPW models its gray levels with the documented Windows 2000/XP grayscale smoothing (TrueTypeRasterizer CoverageModel.GdiGray4: 4x4 samples = 17 levels, (level * 255 + 8) / 16, no gamma, no hinting) but the oversampling factor, sample positions, hinted outline, dropout control and the byte mapping are not verified against a GDI capture (docs/COMPATIBILITY.md COMPAT-003); the coverage feeds the blur, shape and relief arithmetic, which follow tp.exe instruction for instruction at the x87 single precision of its thread (X87Precision) |
| COMPAT-003 | source/OpenTPW.Files/Formats/Font/TrueTypeRasterizer.cs:177 | [APPROX:COMPAT-003] level 0..16 -> byte as (level * 255 + 8) / 16: the level count is documented (GGO_GRAY4), the palette mapping of the 8-bit DIB is not verified |
| COMPAT-003 | source/OpenTPW.Tests/GdiGray4CoverageContractTests.cs:13 | level-to-byte palette mapping stays an approximation ([APPROX:COMPAT-003] at |
| COMPAT-004 | source/OpenTPW/World/Original/OriginalGateSign.cs:148 | [APPROX:COMPAT-004] the gate is composed from its decoded board with the park name as two lines; gate pixels (board placement, relief strength) are compared with a 720p capture only |
| COMPAT-010 | source/OpenTPW/Render/Assets/ColorSampler.cs:13 | [APPROX:COMPAT-010] the per-face bits 0x20000 and 0x40000 are not applied, and a clamped MD2 slot keeps the preset's MINFILTER instead of the original's point MINFILTER (the texture-slot wrap and clamp itself is applied per slot by TextureSlotAddressing) — evidence needed: the writer of texture flag 0x100000 (not found: 0x4343EB writes a game object, not a texture) ; the original's point MINFILTER on clamped faces is covered by [EXT:texture-filter-samplers] (user decision 2026-11-04) |
| COMPAT-018 | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:57 | [APPROX:COMPAT-018] GPU row orientation follows the decoded native container but awaits independent original-platform pixel parity. The PC reader's BILZ chunk tag is compared at 0x6193D0 (the inflate step); the transform after it (dequantisation scale, D4 coefficients 0x591600..0x591690, inverses 0x592C50 / 0x5933A0 / 0x592E60, conversions 0x5935A0 and 0x593301) is SignWaveletDecoder, at the thread's x87 precision; the board is packed bottom-up and reduced to A4R4G4B4 unless TEXTURE32 (0x5ECB40, 0x5ED011); [EXT:texture32-always]: every shipped preset has it 0 and OpenTPW's board stays 32 bit; open: the GPU upload of the packed halves, the sign mesh's V direction and board pixels |
| COMPAT-018 | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:15 | [APPROX:COMPAT-018] the arithmetic after the inflate step is tp.exe's, instruction for instruction at the thread's x87 precision (24 bits; the D4 coefficients at 53 bits, from a static initialiser): scale at the dequantisation, row and column inverse, colour and alpha conversion. The header floats feed Y, Cb, Cr, alpha in file order (the PC board reader 0x5E7990 passes them to 0x592000, once for colour with three scales and once for alpha with the fourth). Still open: the GPU upload of the packed halves and the sign mesh's V direction, and original-platform board pixels (the board is also reduced to A4R4G4B4 by the original unless TEXTURE32: [EXT:texture32-always], SignSurfaceComposer) |
| COMPAT-033 | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:51 | [APPROX:COMPAT-033] a Hangul run places like a Latin one (usp10's generic shaper and placer, 0x6511325C and 0x65113458, one glyph per UTF-16 unit, no composition or kerning), with the integer GDI advances (gmCellIncX, 0x6510EB3E) replaced by the scaled hmtx advance |
| COMPAT-034 | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:53 | [APPROX:COMPAT-034] a Hebrew run is placed in logical order (each letter a .notdef box: no font of fonts.wad has a Hebrew glyph), where usp10's ScriptStringAnalyse resolves bidi levels and ScriptStringOut draws visual order |
| DET-013 | source/OpenTPW/VM/RideScriptWorld.cs:76 | [APPROX:DET-013] a script created with an explicit seed keeps a private generator, and an imported original save's scripts take its ids, list order, pass counter and run state on the saved game clock (ImportClock, SavedScriptImport), and their objects the saved animation channels and node states (OriginalObjectRuntime.RestoreSavedScene), but not the RSSE records' object node tables |
| ECON-022 | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:39 | [APPROX:ECON-022] all staff in a level walk and work as the original's state machines (WANDER-plan §4, StaffWorldSimulation) on the guests' walk (the route search, the steering step 0x004FA2A0 → 0x0050F3B0 with avoid_walls, follow_path and separation, the walk mask +0x188), with the shared walks to a rest area and to the strike area; a striker walks out along arrival lane A (OpenTPW's path grid ends at the park entrance) and is not sent after a prankster until he is back on the paths; separation meets the cell's one thing chain, guests and staff interleaved by entry time as the original's (WALK-003, 0x005102F0); the toilet, rest-area and ride searches take the objects newest first by OpenTPW's object id, which is the original's head-inserted list (game +0x1DA746, 0x00519D80) for objects placed in the park and, for a park loaded from an original save, the saved chain (the head word and each attraction's mNext +0xC): the import numbers the objects and the economy's records in the chain's age order, oldest first (OriginalParkImport.ObjectsInChainOrder), and keeps the record order only for a chain that does not name every record once; a toilet's, bin's or rest area's access cell is its join or entrance cell or first path neighbour; the guests turn to watch a performance as the original's state-6 step does (0x004FEFF4 with the state-14 test 0x004FF04A, see GUESTS.md, Deciding and wandering); a picked-up entertainer's or guard's row stays on the cell he was lifted from — evidence needed: the strike walk over the original's own map cells (0x00506A40 and the strike area route; OpenTPW's path grid ends at the park entrance), the +0x36 access-cell writer and the row of a lifted entertainer or guard (0x00505EA0) |
| ECON-030 | source/OpenTPW/Economy/ParkEconomy.cs:1747 | [APPROX:ECON-030] the lost park follows the bank handler, thing-loop stop, zero arrival target and silent music/crowd; AutomaticAdvisor already produces money advice 102-105 through AdvisorScan and captions advice 106 on each bank message. The five-entry pause menu (0x48C150), the loss window 0x7472 with its gate camera (0x5168F0 -> 0x481B50 -> 0x48AC40, handler 0x48A740, layout 0x74FB20, banner table 0x74FC38), its dismissal into the hidden-HUD overlay (0x4A29D0) and the loaded-loss restore without the camera (0x4815E0 -> 0x48ADB0) are ported for single-player parks. The audit of the economic guards is done: tp.exe reads the world state 4 only at the bank handler (0x4D030F), the arrival target (0x4CF5BC, zero), the thing loop (0x516390), the music and crowd sound (0x54F862, 0x54F8B2), the load restore (0x4815F2), the pause menu's entries (0x48C27C) and the HUD's overlay (the key branch 0x4A2925, which lets only an Escape without modifiers through to the pause menu, and the hide toggle's early-out 0x4A2AC9); no purchase, hire, loan, build or open routine tests it, so the original refuses nothing in a lost park itself and its HUD, which holds every such control, is hidden. OpenTPW's overlay does the same for a single-player park (every shortcut and click is off under it, ParkHud.ParkShortcutsAllowed) and its economy-level refusals (ParkEconomy.IsBankrupt) stay as the stand-in where the overlay is not shown, where they are the only refusal: in co-op and visits as [EXT:online-coop-money] (user-approved 2026-10-30: solo parks get the loss scene, shared parks and visits keep the economy refusals, not part of this ID) and in Theme Park Inc, whose executable is now read: its lost state is Theme Park World's, reached through a letter rather than the bank message — six months in the red make the bank post a type-25 notification (0x5C091F, record 0x5CEE50, id 8) that the tag system turns into the "Game Over - You Lose!" letter (category 0x5E, 0x63623E) and opens in the letter window (0x526CD0, table 0x9B4854), and the challenge system's firing letter is the same with id 7 and category 0x5F; closing the letter (0x526960) calls 0x649E60, which writes the world state 4 (0x649E92), sends the attractions their breakdown request, empties the removal queue, gives the gate its end command, silences the music and crowd once and opens the loss window 0x50AFC0 with the caption "BANKRUPT!" or "Fired!" (UITEXT 921/922); its readers match tp.exe's (the thing walk 0x649575, the arrival target 0x5BCD68, the load restore 0x4F855D -> 0x50B1C0, which always shows "BANKRUPT!", the overlay keys 0x550AD6, the HUD switch 0x550DB6, the pause menu's four rows 0x50D3F3) plus a pause lock (0x42A17C, 0x42A27C) and two auto-save skips (0x45B836, 0x6A4851), and it refuses no purchase, hire, loan, build or open either. OpenTPW opens the letter window on the mail (TpiPendingMail), loses the park when it is closed (LoseThemeParkIncPark) and runs the loss scene in the Theme Park Inc HUD (ThemeParkIncHud.Loss: the gate camera under the centred caption, the Escape or late right-click exit into the hidden-HUD overlay, its Escape into the four-line menu, the reload into the overlay (through the economy snapshot, as the Science continuation save refuses a lost park) and the pause lock), whose hidden HUD refuses every control as the original's does; the economy's refusals stay as the stand-in beneath it. |
| ECON-049 | source/OpenTPW/World/ParkGate.cs:277 | [APPROX:ECON-049] a prototype and geometry no placement laid retain the permissive fallback: a queue ride whose front holds no queue cell, an entrance OpenTPW cannot reconstruct and an object without Info.HasQueue are taken as connected; in a typed world a sideways step off the map's edge wraps the 16-bit cell word as the original does, and only words outside the array, odd rotations and the null reads at 0x4D97E0/0x4D96F0 are answered under [EXT:original-undefined-reads]. These checks never close an already-open ride |
| ECON-058 | source/OpenTPW/Economy/ParkObjectives.cs:379 | [APPROX:ECON-058] all 33 progress and terminal types use immutable localized payloads; terminal rows are tag rows on the original's UI timers (suspended by the pause owners: 0x48a720, 0x48a6e0); offers retain OpenTPW wording/buttons and repost; the activation flag 0x77c488 and runtime visual validation remain open (docs/reverse/CHALLENGE-TERMINALS.md) |
| ECON-060 | source/OpenTPW/Economy/ParkEconomy.cs:1701 | [APPROX:ECON-060] Theme Park Inc's statistics are monthly rings (+0xB88 costs, +0x1028 profit, rolled by the same message) where OpenTPW's are the daily 30-day rings of Theme Park World (ECON-057), so the month's cost enters today's slot of the daily ring (the sales' own costs already did at the sale); the objects debit after the bank's month handler as the thing-id order of the month message gives (bank 9, attractions 14 and up), and the park analyser (id 5) closes the ledger and samples the bank balance before both (0x5AF220, 0x5C0740) |
| ECON-062 | source/OpenTPW/Economy/EconomyObjectCatalog.cs:168 | [APPROX:ECON-062] a Theme Park Inc ride's price goes through Game.exe's price test 0x6120C0 (ThemeParkIncPriceTest) on Info.ExpectedPrice; the rating byte's coaster and ride-handle branches and the guest type draw are not ported (register text) |
| GUEST-017 | source/OpenTPW/World/Guests/BalloonRenderer.cs:142 | [APPROX:GUEST-017] a bursting balloon no guest names at an original save is not imported; the sampled clock is the host's fixed-60Hz one ([EXT:fixed-60hz-clock]). |
| GUEST-020 | source/OpenTPW/World/Staff/StaffSprites.cs:75 | [APPROX:GUEST-020] the original loads the banks inside the sprite system's start (0x540900: the main loop 0x54E360 calls it at 0x54E688 and 0x54ED2C), so the limit is the detail word 0x7858D0 of that moment; OpenTPW's StaffSpriteSet.Load reads the preset when a level builds its staff, so a park started after a settings change takes the new limit |
| GUEST-021 | source/OpenTPW/Hud/ParkHud.cs:1528 | [APPROX:GUEST-021] only where the original's cursor and the person's sprite anchor land on the screen is open: the point, its +5 and the terrain's height the sprite pass adds are read and ported (StaffRenderer.DangleAnchor), the pointer's hotspot is (0, 0); the PC video shows the person below the glove (evidence needed: a capture) |
| GUEST-920 | source/OpenTPW.Tests/GuestDisplayAgeTests.cs:268 | [APPROX:GUEST-920] a guest of an older own-format save has no integer arrival stamp: its stay is the whole turns of its elapsed seconds |
| GUEST-920 | source/OpenTPW/Hud/OverviewRosters.cs:222 | [APPROX:GUEST-920] older own-format saves lack that integer provenance and retain their previous seconds-derived fallback. Roster membership follows the original's posts (ParkHud.ListedGuests). |
| GUEST-920 | source/OpenTPW/World/Guests/Guest.cs:248 | Retained for legacy displays and as the fallback of a guest without the integer stamp ([APPROX:GUEST-920]); the stay statistics, the visitor displays and the weather day gate use the integer-turn age (DisplayTimeInParkTurns).</summary> |
| GUEST-920 | source/OpenTPW/World/Guests/GuestSimulation.cs:1140 | [APPROX:GUEST-920] seconds still accumulate per step for legacy displays and the stay of a guest without integer provenance; the integer-turn age (DisplayAge) feeds the visitor displays, the stay statistics (EnterWaitingToGoHome) and, since UMB-003, the weather extensions' day gate. No other gameplay consumer is migrated here. |
| GUEST-920 | source/OpenTPW/World/Guests/GuestSimulation.cs:1865 | [APPROX:GUEST-920] the seconds fallback of a guest saved before the integer stamp existed (DisplayTimeInParkTurns is null), as OverviewRosters does |
| HEADS-007 | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:159 | [APPROX:HEADS-007] an OpenTPW save older than the sprite state, or an original-save guest whose script record the bounded player cannot represent, has no shared visitor sprite history; reconstruct a fresh body in the host's load epoch, with default interval/no emitted frame |
| PATH-017 | source/OpenTPW/Hud/ParkHud.cs:1586 | [APPROX:PATH-017] ParkHud.PointerInput implements bounded ordinary-WM batch admission then P/pointer drain, including captured movement and original release owners. The P window's backdrop (0x65dd7b, flags 1, appended last under the root; |
| PTCL-900 | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:50 | [APPROX:PTCL-900] current ObjectAnimator hierarchy matrices supply key frames at EVENT time; the original reads its key table (0x556B90), which 0x44AB30 refreshes at the instance's creation (0x463851) and per draw (render callback 0x463030 -> 0x44E380 -> 0x473C70), for a registered instance with a matrix key, and at 0x42A6D6/0x438A53 — about one render frame behind and stale while the object is culled |
| PTCL-905 | source/OpenTPW/World/Particles/ParticleRenderer.cs:20 | [APPROX:PTCL-905] the triangle sort inside a batch (0x565590 -> 0x565490) is not reproduced: a batch is one particle's two coplanar triangles, so it has no visible effect; a deferred quad's key is the mean z over w of its four corners, the same assumption as WorldTranslucency.Depth for the world's records, and ties keep the order the records were handed over where the original's quicksort (0x5829E0) does not; the point MAGFILTER of flags 0x20000 is COMPAT-010 ([EXT:texture-filter-samplers]) |
| PTCL-908 | source/OpenTPW/World/Objects/ObjectTypeSounds.cs:55 | [APPROX:PTCL-908] OpenTPW does not load the scoped templates, so their ids and the category a template id would name are not modelled: a type whose archive has such a template plays nothing for type 10 (no shipped archive has one) |
| PTCL-908 | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:43 | [APPROX:PTCL-908] an object without a footprint box starts nothing here although 0x559060 creates the effect anyway (0x413c10 requests the box for every type through the model flag 0x400, which 0x4629d0 turns into the box load 0x451640; whether a model lacks the box file is not read, and no shipped fixed item names a type effect, ParticleEmitterCensusTests) |
| PTCL-908 | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:91 | [APPROX:PTCL-908] EVENT 1/2, ADDOBJ and ADDOBJ_EXT 1/2, the stinkbomb litter's effect (ParkLitterEffects) and the per-type object effects (OriginalObjectRuntime.ObjectEffects.cs) start particles (the land effects, the rider and guest beams are in Level.PlacedParticles.cs and the bump and guest code); a refusal (unresolved key, scoped effect, a type-2 effect with a negative key, headless runtime) starts nothing; the latest attempt stays as owner-local diagnostics, cleared on Stop, while the effect lives in the level's ParticleSystem (docs/PARTICLES.md) |
| QUEUE-003 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1168 | [APPROX:QUEUE-003] back-cell admission and fourth-slot path geometry are implemented; supported live typed HasQueue entries derive their front from the actual entry link byte (+0x0C, tp.exe 0x4DE040, bits 1, 16, 64, 4), and a native zero front (no cardinal bit; 0x4DE4A0 reads such a ride as unconnected, which the opening guard still answers permissively under ECON-049) leaves its demolition without a count to undo (0x527FB4) and its re-evaluation without a block stamp; a zero-front ride has back cell 0 and size 0 for the guests (they neither score, choose nor join it, and its queued guests but the called one leave at the re-evaluation) with the host's one-cell geometry kept for the called guest's stand cell and the queue tool; unsupported entries (a neighbour off the map) retain the host positive one-cell fallback (untyped worlds keep it too: the gates and test rigs keep it as [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID); a saved mEntryPos that differs from the placement's access cell is reported and the placement's kept (the constructor 0x004DB090 derives it from the shape); an original save's head, links and called guest (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) and its cached back cell and size (+0x3A, +0x40) are imported as read; the cached back and size (+0x3A, +0x40) follow the executable's timing: 0x4DE130 returns them until 0x4DE1F0 drops them (callers 0x52537A, 0x5259AE, 0x526118, 0x527541, 0x529890, 0x52FFEC, 0x534858, 0x53694B), and the host's own syncs (the queue commands' pre-edit sync, the corner walk's and the demolition's reads, the one-click removal's lookup) keep them (RideVisitorBridge.RecomputeQueueKeepingBack); what still drops them with its own recompute is the legacy per-cell builder (QueuePaths.TryExtend, Connect, RemoveFrom), the re-resolution after a removed access cell ([EXT:removable-access-cells]) and the path tool's commit tail (0x52537A), which OpenTPW maps to the selected ride's re-evaluation alone. No corpus or Easymode save holds a guest in states 8/11-15 or a set mFirstInQ; the queue import is checked on synthetic saves only. |
| QUEUE-010 | source/OpenTPW/World/Guests/GuestSimulation.cs:3485 | [APPROX:QUEUE-010] a guest leaving a queue (0x5004AA, the queue edit's dismissal 0x501390, a removed ride's message 0x4FB360) stays where it stands in state 6 on every placed ride, whatever its cell is now (a path, a queue cell, the owned stand cell, or a cell the queue's undo or a demolition emptied), and decides from there by the ported wander (0x4F9490); a bridge without placed cells (no owner word or no exit cell: a read-only visit's imported cells) retains the front/nearest-path relocation, whose cells carry no links to walk off by; the exit of a guest whose attraction is already gone (a safety net: the original has no such poll, only the removal message 0x4FB360) now stays where it stands too |
| QUEUE-012 | source/OpenTPW/World/Level.Objects.cs:1577 | [APPROX:QUEUE-012] a read-only visit keeps the cells it was given and types none of its footprints, so it still asks OpenTPW's terrain rule (Objects.Grid.CheckTerrain: the map start's cell types, with saved occupancy used only before the live map is attached) on top of the validator's refusals; the per-cell route for rides without an owner word and the bridge re-test of a path or queue laid over a track tile are listed with the validator's own text in the register |
| QUEUE-015 | source/OpenTPW/World/Guests/QueuePaths.cs:529 | [APPROX:QUEUE-015] the queue tool's undo (Back 0x52FE50) takes cells and refunds as 0x5367A0 does and writes no guest: the re-evaluation that follows (0x4DE1F0 at 0x52FFEC, 0x501390 per guest) dismisses by place alone. The corner walk 0x530120 is the executable's own (QueueCornerWalk: the stack, the placement counters +0x20 of the cells it visits, the link clear where it ends on a path, the line start; 82 oracle cases, ORACLE.md X44) and runs where the original runs it, at its three callers: the queue edit click (0x52610A), the Move pick-up (0x48D006) and a ride's demolition (0x527F9A). The Move pick-up copies the stack (0x52FC30 at 0x48D013) and then clicks (0x48D03D, mode 0x33 to 0x525E7F), whose demolition 0x527EE0 runs a second walk: neither the copy nor that walk is ported, and the cells a Move strands stay as stray cells of the ride's owner word (the next demolition of that ride, or a new ride with the same owner word, meets them). A typed ride's demolition replays the executable's: the walk, Back for as long as the cached size (+0x40) is above 0 with the forced-clear flag 0x81D7A8 (every cell of a line goes, NoModify and counters ignored, its neighbours keep their links, each queue cell whose owner cell is not empty credits its cost), one cell's debit after it, and the cells the walk does not reach (a stray cell of the ride, the branch of a junction) stay (QueuePaths.DemolishQueue; 42 oracle cases). Residual: the click handler runs the select 0x5276D0(0) on every tool click while the refusal latch 0x816D48 is 0 (0x524A63..0x524AF5, mode 0x38 too), which re-maps the current selection into the track tool globals: OpenTPW writes them only where the selection changes (the 19 callers) and does not repeat the select per click; Residual: the tool entries that run no walk (the original runs none there either: a ride's placement, the ride window's queue button 0x4AF200 (inferred) and a track's or coaster's completion) start the queue tool with the stack their own clicks leave (the placement's tail 0x5259AE..0x525A06), which is not read: OpenTPW starts them with the segment's cells and no counters; the removal from a clicked cell on stays only as the labelled extensions EXT:dev-one-click-remove and EXT:queue-backtrack, which keep the original's guest policy (the clear writes no guest and the re-evaluation dismisses by place); a ride without an access cell (the gates and test rigs, the Theme Park Inc slice) keeps the host's chain clear as [EXT:untyped-harness-world] Read 2026-11-12: the corner stack 0x820A8C is read only by its count getter 0x52FBE0 (the "click on the start with more than one point" test), Back 0x52FE50 and the copy 0x52FC30, and that copy's four globals 0x818D98/0x818D9C/0x820A90/0x820A94 are referenced only inside 0x52FC30 itself and 0x81B14C is written at 0x48D00E and read nowhere - so neither the copy nor an unseeded stack can change an acceptance, a refusal, a cell type or a link byte, and the second walk at 0x527F9A resets and refills the stack so the first walk's stack is discarded anyway. What remains is a real divergence, read on 2026-11-12: the corner walk 0x530120 pushes the first cell unconditionally (0x5301FC..0x53020E) and, when it ends, pushes the last cell unconditionally as well (0x53048D..0x5304A3), so a one-cell queue - a ride just placed - leaves two points in the stack, both the same cell. The count test 0x5273C7 ends the tool when it is clicked on the start with more than one point, so after a placement a click on the start cell ends the queue tool in the original; ReadQueueToolStart now hands that one-cell queue the same two points instead of a null stack, so the count matches The per-click select 0x5276D0 is real for the track tools' selection and orientation globals but changes no queue decision, and the Move gesture itself is UI-024 |
| RIDES-011 | source/OpenTPW/World/Objects/ObjectShape.cs:119 | [APPROX:RIDES-011] The add-on cells retain their native double-layer flags. Rotated track endpoints use the mode4 beyond-cell test; CoasterCellMarkers integrates type21 reservations, single-cell node preview and stack lifetime. Residual: independent host previews omit native sticky failure globals (docs/COASTER-CELL-MARKERS.md). |
| RIDES-021 | source/OpenTPW/World/Original/ObjectRayPick.cs:50 | [APPROX:RIDES-021] a cell whose second-layer piece instance answers (a kart or water ride's track tile, 0x53bf30) is not tested, as the original tests the piece's model there, which the port does |
| RIDES-031 | source/OpenTPW/World/Level.Objects.cs:164 | [APPROX:RIDES-031] a Theme Park Inc world types its footprints through ParkCellMap.WriteFootprint, the port of the twin commit (a restored checkpoint layout is stamped again at connect); not ported of it: the extra case for the coaster marker type 0x15 (0x6688F0; the slice has no coaster), the commit's preview flag modes and effects beyond the cell stamps, and Theme Park Inc's own validator twin of 0x535670 |
| RIDES-032 | source/OpenTPW/World/Objects/ObjectAnimator.cs:26 | [APPROX:RIDES-032] This simulation updates and poses every instance in its tick, seen or not (the saved node states, picks and the hash must not depend on the camera), where the original's list pass 0x44e410 updates an instance the renderer did not pose in the previous frame without sampling (0x473c70(inst, 0, 8)) and the render callback 0x463030, which the mesh prepare 0x57a750 calls as call eax (so no direct call through +0x140 exists), poses it; the handshake and the drawn reset are ported (flags 0x200000/0x800000, the stored pose restored on return 0x44e380 -> 0x4726d0, which stays in the drawn state until a writer writes the element as tp.exe keeps it, the key table 0x44ab30, the callback offered before any mesh test, hidden or out-of-view parts included); point lights and lamps read the drawn IsNodeHidden, which is harmless because light dummies have no mesh; whether an object is called back is decided here by the view bounds of all its parts together, where the original's scene pass 0x576910 offers it to every object of its always-list and of the terrain cells the view covers |
| RIDES-040 | source/OpenTPW/World/Objects/ParkObjects.cs:793 | [APPROX:RIDES-040] TPI fixed scene records at (0, 0) use their local model origin; the thing records of the six that have an archive carry the fixed-item default position (128, 128) and angle 0 (the five without an archive carry real positions, but nothing to draw), so no transform field is left unread in the save — evidence needed: how the original places a local-coordinate fixed model at its anchor (a thing's position bytes are decoded as (cell + fraction / 256) x 10 only by the camera-target setters 0x503490 and 0x5A1100 of the no-CD Theme Park Inc exe, no model placement reads them there) |
| SAVE-002 | source/OpenTPW/Economy/OriginalEconomyImport.cs:774 | [APPROX:SAVE-002] [BIN:TPW-EXE:0x004D6350 escort state] a guard whose perpetrator is no guest of the save is imported idle |
| SAVE-002 | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:293 | [APPROX:SAVE-002] a rider (16) is imported when its ride's script run state was imported (the heap, limbo, walk, bounce and head tables are the ride script's, RideVisitorBridge.ImportSavedRiders), and is dropped otherwise; a guest held by a guard (17) is imported held, and kept only while a guard in state 18 holds it as its perpetrator, as its first update (0x00501C94) decides, and a guest in a queue (states 11–14, or its idle interlude, state 8 with mSavedState 11) is imported only when its attraction's saved queue (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) reads as the loader's chain of guests of that ride; an imported guest in an activity (state 8) decides again at once, one at the booth (4) that was not yet weighed waits OpenTPW's booth time, a turn stamp before the save's turn counts from the import, and the saved state (mSavedState) outside the queue interlude and the admission flag (mBeenAdmitted) of a guest that is not in state 11 or in its interlude are not imported (the event ring is [EXT:guest-event-ring]) — evidence needed: the resume of a state-8 activity outside a queue at its saved state (0x004FC890) |
| SAVE-002 | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:112 | [APPROX:SAVE-002] the demotion to a called head (state 13) stands in for the state 16 tp.exe's test 0x004E0A70 enters at once, only where the ride's script run state was not imported; a ride whose state was imported boards the head at the first host step (RideVisitorBridge.ReconcileImportedAdmission) |
| SAVE-002 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:928 | [APPROX:SAVE-002] the demotion to a called head (state 13) stands in for that state 16 where the ride's script run state could not be imported: a script that holds no trace of the guest cannot let it off |
| SAVE-006 | source/OpenTPW/World/Objects/ParkObjects.cs:696 | [APPROX:SAVE-006] an imported attraction's saved name is its type's sign (SavedSignLines) and its open word comes from the level (Level.ImportOriginalRideSettings); OpenTPW has no Rename Item dialog for attractions (0x0048D370), so no name of its own making exists; the staff claims, 0x004E01F0, are imported as saved |
| SAVE-010 | source/OpenTPW/Economy/OriginalEconomyImport.cs:979 | [APPROX:SAVE-010] the advisor presentation block, the second clock word (the advisor clock, applied when the automatic advisor attaches; the first, the game clock the saved scripts' waits count from, is applied with their run state when the level imports its objects, SavedScriptImport), vanilla time, the game-system words (the main loop's frame clock), the cheat chunk's second byte (+0xB of the cheat object 0xFB3520, which only its constructor and the loader 0x405570 write; the first, the cheat mode, is imported, docs/CHEATS.md), advisor scoring (SaveRuntimeBlocks; the UI block's message tube is imported, UI-025), the weather thing's words (0x00512010), the rest of the park analyser (grid words, block cells and trackers; the research rings, five monthly rings, live arrivals, recent stays, arrival ring, stamps and chase counters are imported), world states other than 0 and the lost park's 4, the calendar session start (no reader but its serializer), the advisor controller's time signature, sound, three raw words, mRequestedLastTutorial and mMessagePlaying (its current record is imported as the last tutorial advice when an automatic advisor attaches), and its pending advice and history when no automatic advisor is attached; the camera's yaw is turned to the quarter turn in the 90 degree mode (0x42D03F) but not eased from the saved yaw 0x7909E0; the tag system and the UI message receiver hold only their thing base, the mechanic HQ's cursor, the arrival vehicles and the environment grid are imported — evidence needed: how the weather words resume the original's weather, what the clock and game-system words feed, the advisor controller's own words and the camera's smoothed yaw |
| SAVE-012 | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:48 | [APPROX:SAVE-012] the first pending record (valid, message 0, score 100,000, response -1) is observed in the four restart.INTS, not read from tp.exe: the constructor leaves every slot free and the code that posts it at the park's start is not found |
| SAVE-013 | source/OpenTPW/World/Particles/SaveParticleState.cs:16 | [APPROX:SAVE-013] the sprite scripts of the Scripts block (the saved guests' and litter's animations) are decoded and not applied, and the effector slot's template id is recovered from template bytes — evidence needed: whether the saved animation phase of a guest or litter sprite shows anything OpenTPW's state-derived frames lack, and a save with a live effector to confirm the template match |
| SAVE-921 | source/OpenTPW.Files/Formats/Save/SaveCoasterList.cs:140 | [APPROX:SAVE-921] the header's flag word is kept raw: the saver (0x437300) writes controller +0x3C bits 0 and 1 as wire 0x1 and 0x2 (track complete, circuit cut open) and the track flags (+0) 0x20 to 0x800 as wire 0x4 to 0x100 (0x43743C..0x4374D0), the loader maps them back (0x4380D4..0x438335); of the track flags only 0x800 has a traced meaning (the trains are set up: set by 0x43BE23 with the train slots, cleared by 0x435814 when they are removed, COAST-plan §22); a static data-flow scan of tp.exe (tools/ppc-analysis/controller_flag_readers.py, COAST-plan section 24) finds no reader of 0x20, 0x40, 0x80, 0x100, 0x200 or 0x400 apart from the saver and the loader (the other readers observe 0x1, 0x4, 0x8, 0x10, 0x800, 0x1000, 0x2000, 0x4000 and 0x8000), so they look like dead data only the file carries (0x40 is no outside mode: that is the mode bits of the state word, header +4), but the scan does not follow arrays inside records, the node pointer at +0xD4 of the thing records (table 0x7A4610) or 18 stores of node and descriptor pointers into untyped records — evidence needed: the same scan with those containers typed |
| SAVE-921 | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:46 | [APPROX:SAVE-921] the track flags (wire 0x4..0x100, controller +0 0x20..0x800) are not modelled by the coaster runtime beyond the trains-set-up bit (0x800). Re-running tools/ppc-analysis/controller_flag_readers.py against the identified tp.exe on 2026-11-10 reports PROBLEMS: none — every candidate it lists is dismissed as not a controller pointer in the flow — so no code reads the others outside the saver and the loader. The residual is therefore not a behaviour gap: nothing reads the bits. It is only a round-trip one, and only hypothetically — OpenTPW has no writer for a Theme Park Inc coaster section (SaveCoasterList is read by the import alone), so no shipped path can lose them today; an exporter, if one is ever added, must carry this word verbatim. The import reports the bits so the state is visible |
| SAVE-940 | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttraction.cs:15 | [APPROX:SAVE-940] the names of the history rings are descriptions of what the game adds to each ring (ThemeParkIncAttractionRing, read from the code that increments it), not names the loader's log gives; the conditions are traced (the info word +0x21c is UsageInfo.AppearanceEffect, the guest thresholds at 0xa01b1c..0xa01b44 are PeepInfo.HappyDiffFor*, *ExcitementMatch, *Ride and ComplainAboutThisQuality), and the prebuilt's rings are all empty, so no value has been seen in a save |
| SAVE-944 | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.cs:58 | [APPROX:SAVE-944] the guest, staff and gardener layouts are read from their load routines and an emulation of them, not from any save; a word is typed by width only except the guest's and staff's meters and the weather's wind and lightning location, which their users show to be floats (ThemeParkIncGuestMeters, ThemeParkIncStaffMeters, ThemeParkIncWeather); a ring count above the capacity (the byte ring holds 50) or with the sign bit set is refused where the original reads on or reads none; never checked against a real save |
| SAVE-944 | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:262 | [APPROX:SAVE-944] the guests, staff and gardeners have layouts traced from their load routines (and emulated), but no Theme Park Inc save holds one: their widths and fields are unwitnessed, and a word is not typed beyond its width except the meters and the weather floats of ThemeParkIncThingBodies.cs |
| TOUR-005 | source/OpenTPW/World/Objects/ObjectHeightMaps.cs:47 | [APPROX:TOUR-005] the object route only: kart and water track instances are tried first by TrackRenderer.PieceGround (Level.TourObjectGround); the park fence's hoarding instances (family 5, 0x00522F20 from table 0x00763608, each hoarding mesh with its shipped 2 x 2 map) are not drawn by OpenTPW and so not sampled, and the expected size the mesh loader passes to the map loader for track pieces is not read (docs/TOURS.md); a station cell's own handle is none (0x0053AFA0 builds nothing for family 1). Existing object/terrain fallback is unchanged. Every shipped object map has its shape's size, so rebuild 0x00451880 never runs for the catalogue |
| TRACK-010 | source/OpenTPW/World/Tracks/TrackBridges.cs:14 | [APPROX:TRACK-010] the bound stops a walk where tp.exe would hang |
| TRACK-010 | source/OpenTPW/World/Tracks/TrackBridges.cs:264 | [APPROX:TRACK-010] a walk that runs past the structure array (a track end with an arm into empty ground reads on until the id wraps) ends false here; the executable reads whatever lies after the array |
| TRACK-032 | source/OpenTPW/World/Level.TracksImport.cs:21 | [APPROX:TRACK-032] SAVED-RIDE TRACK: an original save's kart or water track is imported from the structure layer's track cells (the 31-byte cells, loader 0x4D0B30 and 0x50C200: the type 11 and 13 kart and 16 and 18 water tiles and their type-12 extensions with their connection mask, flow link, flags, origin, chosen piece, overlap, alternate mask and segment; the ride of a tile is the one whose station reaches it through the masks) and each ride's circuit is walked from them, compared with chunk 4's section list and given chunk 3's words (the laps, the performance, the model words +0x14 and +0x18 the loader stores raw, and the phase; Level.ImportOriginalTracks; loader 0x543560: the ride chunk 0x543638, the section chunk 0x543FF4 through the section builder 0x54B2F0); once the guest import has made the riders, the vehicles (chunk 5: the 43 words of the 0xAC-byte record, the collision object found from the vehicle's place or the fallback place of the chunk, the aimed waypoint found from its key), their riders (chunk 9, with their seat numbers) and the joining and leaving lists (chunks 8 and 7, the join refused for a ride in phase 0, one peep list of 1024 nodes for every ride) are put on the controller as the loader leaves them, every list reversed because the loader pushes each node on the head again, the phase raw (a racing or over kart or water ride keeps it), the chunk-6 reference waypoint the walk's own (the open routine 0x544840 picks the same one) and nothing drawn from the world generator, as the loader neither launches a vehicle (0x54A040) nor hangs a head (0x44B410) (Level.ImportOriginalTrackRiders, BumpController.ImportOriginalVehicles, tp.exe 0x543B3C..0x543F24); a ride whose chunks do not read like the saver's, whose vehicle stands in no collision object (the module tick 0x546C80 reads the object unchecked) or aims at a waypoint of another ride, or that names a guest who is not a rider of it, is refused with its reason and keeps no vehicle (a kart or water ride saved racing or over then waits in loading); a bumper ride's chunks (ride words, phase, vehicles, riders and lists, which the loader 0x543560 reads as for a kart ride) are not imported, and the guests who rode a ride whose vehicles were not imported are put off the ride (SAVE-002); not imported: the flag bits of the track cells above 0x1F (the structure cell's mFlags is the layout the map cell shares, where tp.exe's cell code sets 0x20, 0x40 and 0x80 for other meanings, and its meaning on a track record is not read; OpenTPW's saves of before round 11 hold 0x20 as the bridge-over-path memory it no longer writes), the mesh-instance words of the cells and vehicles (+4 of a cell, +8 and +0xC of a vehicle: engine handles the loader binds again, 0x463AB0, which OpenTPW's renderers make anew) and the voice and emitter handles of a vehicle (+0x20, +0x2C: a boat's voice and a smoking car's emitter start again as after a park resume); a tile over a path or queue cell keeps that cell's type and lies beneath it (0x538FC0, TRACK-010); no save of the corpus or Easymode holds a kart, water or bumper ride (their TrackRides block is the 44-byte build-stamp chunk), so the import is checked against the saver's shapes and OpenTPW's own tracks only |
| UI-003 | source/OpenTPW/UI/Original/UiModel.cs:142 | Frame for a button state: the index-th drawable frame, the first one for an index past them. [APPROX:UI-003] tp.exe's control draws nothing for a state the chain lacks (<see cref="TryGetState"/>), while a widget here keeps its first frame. |
| UI-004 | source/OpenTPW/UI/Original/UiModel.cs:194 | [APPROX:UI-004] items are not grouped by texture cache page (width class), the stashed items of a frame are not permuted among themselves and the sprite batches keep call order (docs/UI.md) — evidence needed: which textures share a cache page (the placement 0x58F190 with 0x58EAE0 and 0x58ECA0, shared with the world's textures), the order and keys the frame's stashed records reach the sort in (0x582AD0 -> 0x5829E0) and which sprite flush the control text goes through |
| UI-006 | source/OpenTPW/UI/Original/UiText.cs:308 | [APPROX:UI-006] the other UI text/backdrop colours (values, highlight, disabled, costs, backdrops) are read off 720p video frames (+-15 per channel); the title colour is exact — evidence needed: which screen each remaining 0x65c5d5 call colours (134 sites, see the register row), the backdrop colours |
| UI-018 | source/OpenTPW/World/Lobby/LobbyScene.cs:268 | [APPROX:UI-018] the CRT's process-wide rand() stream is replaced by a local clock-seeded stand-in (the original's is shared with the rest of the game and cannot be reproduced); no world or guest stream is used |
| UI-025 | source/OpenTPW/Hud/ParkHud.MessageTube.cs:22 | [APPROX:UI-025] a generic locate-cell word of 0 does nothing here instead of the original's unclamped jump (unreachable for big-busload advice with shipped BusStopBPosX/Y; 0x4D8650 still passes their nonzero packed word), the place of the 0x5a burst, the icons' bounce animations and writing the original's own tag block are not ported (see the register text) |
| UI-025 | source/OpenTPW/Hud/ParkHud.TagActions.cs:69 | [APPROX:UI-025] a generic word of 0 does nothing here; the original jumps to the unclamped target above. This is unreachable for big-busload advice with shipped TPW/TPI settings (all name BusStopBPosX/Y); 0x4D8650 still packs (Y << 7) + X + 1, not a missing-stop sentinel of 0 (see the register text) |
| UI-026 | source/OpenTPW/Hud/PreviewIcon.cs:26 | [APPROX:UI-026] the original lights the preview's vertices in its 3D object pipeline (0x57aa10 -> 0x574660 -> 0x5741b0: ambient plus the scene's lights); which lights the scene holds with the buy window open is not traced, so OpenTPW draws them unlit |
| UI-031 | source/OpenTPW/Hud/ParkHud.cs:616 | [APPROX:UI-031] an entrance-bearing placement keeps the angle through the queue tool whatever the modifier, where the original keeps it only for exactly Ctrl (0x5259f4, else 0x52f1b0(0, 0) at 0x5259fe), which shows only in a tool armed while the queue tool runs, whose buy click arms it before its ride check (0x46C350 at 0x4AC65E, then 0x4AC683 chooses only the help line) and calls no angle setter, so it starts at the angle the placement kept (the hover 0x5234D0 its activation runs sets the angle only for a track add-on, 0x5237F7), at 0 in the original after any modifier but exactly Ctrl; and a queue whose start cell is a path (the cell type +0x29c = 1, 0x5259cf) ends the tool at once in the original — evidence needed: which of OpenTPW's placements have a path cell as the queue's start |
| UI-042 | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:14 | [APPROX:UI-042] a left click on the camcorder button only arms it (the walk starts on the next click, as with the C key) |
| UI-042 | source/OpenTPW/Online/OnlineScreens.cs:1762 | [APPROX:UI-042] the photo frame stays empty and the preview button is disabled: the 640x240 camcorder photo (0x4a9280) and its preview redraw (0x4a84c0) are not ported |
| UI-060 | source/OpenTPW/UI/Original/GraphBackdrop.cs:121 | [APPROX:UI-060] the original multiplies in 32 bits (imul/idiv at 0x47FEEE, 0x47FF03), so a financial span above about 8.9 million wraps there; OpenTPW keeps 128-bit arithmetic for the long ledger values (a host safety adaptation) |
| UI-082 | source/OpenTPW/Hud/ParkHud.Staff.cs:389 | [APPROX:UI-082] nominal inner-rectangle geometry and 2.4 scale are traced; the figure is the script's own sprite on the substep scheduler (no frame before the first due pass, an unknown applicant keeps it, a close ends it); the screen-space draw (flags 0x51000) and the control depth are the UiSpriteFigure's, so exact viewport/raster parity remains qualified (docs/proposals/ui-082-verify-staff-portrait-scaling.md). |
| UI-086 | source/OpenTPW/Hud/ParkHud.Map.cs:564 | [APPROX:UI-086] see the register: the map's dot sizes and its pointer and text behaviour are not all read |
| UI-091 | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:174 | [APPROX:UI-091] staff locator radios preserve independent saved role chains (+0x210), with qualified original-malformation and legacy-save reconstruction; visitor radios use the live ThingPool chain with an explicit out-of-pool fixture fallback; visitor position failure still clears the selection; the slide of the panels follows the arm drawer, with the retract and the dead radios of a locator key pressed while a panel is out — evidence needed: real-data visual comparison |
| UI-092 | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:14 | [APPROX:UI-092] the portrait is the original's independent clone (full copy 0x486530 at the window's refresh, partial copy 0x486610 on every update, stepped by the sprite scheduler); the staff's sprite placement 0x475480 is not ported, so the clone's heading is the member's current sector, and the window depth word, native depth/occlusion and viewport/raster parity remain open; employee-only nominal geometry is 2.4 with authored feet (526,476). |
| UI-094 | source/OpenTPW.Tests/RideCameraModeTests.cs:17 | [APPROX:UI-094] the eye is motion height plus PrototypeSeatHeight above the anchor; the heading is flattened (the Z part is dropped) |
| UI-094 | source/OpenTPW/Hud/EyeModeStaticTransition.cs:13 | [APPROX:UI-094] a new HUD snapshots its current host camera without manufacturing an entry transition. Native session reuse/initialization |
| UI-094 | source/OpenTPW/Hud/ParkHud.RideView.cs:31 | [APPROX:UI-094] host rule: only this level's current camera (the ride view or the camcorder walk) counts toward the static's Boolean edges; |
| UI-094 | source/OpenTPW/World/RideCameraMode.cs:13 | [BIN:TPW-EXE:0x42a990 ride projection] the ride camera never changes the projection (0x578be0, built once with the argument 90 at 0x42a990 and 0x54e860), so the ride view uses the park camera's projection (OriginalProjection). [APPROX:UI-094] the car 0x436880 selects is decoded (the train with the smallest position, its car 0 or the second car behind a front car of another type), the eye is its model's camera seat; the view direction is the matrix's third row (0x56b940, see SeatAxes) and the look rotations are the matrix code's (0x46f350, 0x46f650, LookAngles), which the video confirms (the view turns right and down with the pointer, 77:20-77:21); the blended basis stays orthonormal here and the first frame of a ride starts unblended (BlendFactor) |
| UI-095 | source/OpenTPW/World/Level.RideView.cs:135 | [APPROX:UI-095] the exit is the live object's last shape exit, as the placement writes the thing's +0x38; a saved +0x38 that differs from it is not imported |
| UI-100 | source/OpenTPW/UI/Original/OriginalPointers.cs:10 | [APPROX:UI-100] the path and queue tools choose link (flag 0x816d60: the validator's code 8 at 0x535c72 and 0x535d02), end (flag 0x816d4c: code 0xb at 0x535ae5 and 0x535b3d) and, for a refused line, no-place (0x527950) from the completed preview (docs/CURSOR-LINK-PREVIEW.md); cash is set when the active tool's cost (0x52fbc0) exceeds the bank balance in the purchase gate 0x5234d0 (0x523662), at 0x5323c1 (Buy Land), 0x53593f (the cell validator, through the line preview's money stop) and 0x539fb6 (the track chooser's refusal, through the same stop); the kart and water lines take end from the track chooser's word 0x816d4c (0x53a1c6, answer 0xb) and cash from its word 0x816d5c (test 0x539f95, write 0x539fb6); not drawn: the crosshair's art (CCro.tga is not in the game data, so OpenTPW keeps the system pointer there) |
| UI-107 | source/OpenTPW/Render/RenderFog.cs:48 | [APPROX:UI-107] left open: the hidden debug key 0x40C830 (render flag bits 0x4 and 0x8) is not offered, the first park frame after a ride or walk view takes that view's far plane (Camera.ParkFarFor), and the Theme Park Inc executable's own toggling of the fog flag (the counterpart of 0x54FAD7) was not traced |
| UI-107 | source/OpenTPW/World/Camera.cs:73 | [APPROX:UI-107] not ported: the first park frame after a ride or walk view uses the far plane 0x56ED79 last set through 0x578CA0 (that view's box depth); here the lag continues from the last park frame's far |
| UI-901 | source/OpenTPW/Hud/ParkHud.cs:396 | [APPROX:UI-901] the source-backed cropped vertical meter now replaces the synthetic colour fill; actual rendered shell/meter composition is still unverified. |
| UI-910 | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:15 | [APPROX:UI-910] the portrait is the original's independent clone of the visitor's body sprite (full copy 0x486530 at the refresh, partial copy 0x486610 on every update, stepped by the sprite scheduler); the guest body player's frames stand for the sprite VM's (HEADS-007), the window depth word and exact viewport/raster fidelity remain open. Arrows share the live type-1 used-chain projection (0x4824d0 / 0x482da0, mask 0x40), with an explicit host-only fallback for pool-free fixtures. |
| UI-930 | source/OpenTPW/Hud/GuestWorldPicker.cs:9 | [APPROX:UI-930] VisitorCirclePicker corrects geometry only for proven ordinary sources/canonical views. Other callers retain this rectangle. Current frame selection, synchronous timing, ID ties, cross-kind competition, clipping and rendered-view validation remain qualified. |
| WALK-010 | source/OpenTPW/World/ThingPool.cs:44 | [APPROX:WALK-010] thing ids are slots of one pool for every kind of thing, taken in the order the park builds them (see WalkApproximations); the guests' histories, queues and the economy hold the script world's attraction ids, not the objects' thing ids |
Extension sites#
| Label | Location | Source comment context |
|---|---|---|
| COMPAT-FIX enhanced-game-options | source/OpenTPW/Compat/GraphicsSettings.cs:203 | [EXT:COMPAT-FIX enhanced-game-options] simulation-affecting; recorded in save metadata. |
| COMPAT-FIX sign-font-substitution | source/OpenTPW.Files/Public/DataCorrections.cs:18 | [EXT:COMPAT-FIX sign-font-substitution] [DATA:levels/space/rides/megacost.wad/megacost.sgn:slot 1 = "EggIt Italic"/EGGII___.TTF, not in fonts.wad] |
| COMPAT-GFX-ANISOTROPY | source/OpenTPW/Compat/GraphicsSettings.cs:274 | <summary>[EXT:COMPAT-GFX-ANISOTROPY] degree used when filtering is anisotropic (1..16).</summary> |
| COMPAT-GFX-ENHANCED | source/OpenTPW/Compat/GraphicsSettings.cs:13 | <summary>[EXT:COMPAT-GFX-ENHANCED] OpenTPW extension beyond the original High preset (docs/COMPATIBILITY.md).</summary> |
| COMPAT-GFX-ENHANCED | source/OpenTPW/Compat/GraphicsSettings.cs:169 | <summary>[EXT:COMPAT-GFX-ENHANCED] anisotropy used by the Enhanced preset (TEXTUREFILTERING 3 is never used by the original presets).</summary> |
| COMPAT-GFX-ENHANCED | source/OpenTPW/Compat/GraphicsSettings.cs:171 | <summary>[EXT:COMPAT-GFX-ENHANCED] view distance scale of the Enhanced preset (OpenTPW fog distance multiplier).</summary> |
| COMPAT-GFX-ENHANCED | source/OpenTPW/Compat/GraphicsSettings.cs:186 | [EXT:COMPAT-GFX-ENHANCED] user-selected deviation from the original High preset by design. |
| COMPAT-GFX-ENHANCED | source/OpenTPW/Compat/GraphicsSettings.cs:192 | [EXT:COMPAT-GFX-ENHANCED] 2500 slots: with 64 texels and the longest view distance the span selection lists up to 2500 cells, which a 2000 slot cache would evict every frame |
| COMPAT-GFX-ENHANCED | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:169 | [EXT:COMPAT-GFX-ENHANCED] the Enhanced preset is not in the original game; it is the slider's last step |
| COMPAT-GFX-VIEWDISTANCE | source/OpenTPW/Compat/GraphicsSettings.cs:276 | <summary>[EXT:COMPAT-GFX-VIEWDISTANCE] OpenTPW fog distance multiplier; 1 = unchanged.</summary> |
| ECON-LEDGER-SPLIT | source/OpenTPW/Economy/ParkLedger.cs:59 | [EXT:ECON-LEDGER-SPLIT] OpenTPW books the other credits and debits under its own categories (challenge prizes and scrap sales as other income; build, upgrade, goods, prizes, land and training as other costs; loans apart) and keeps a monthly Profit; they are trace figures that sum to the original's totals and no window shows them |
| ONLINE-001 | source/OpenTPW.Online/Packages/BoundedZip.cs:10 | [EXT:ONLINE-001] OpenTPW container design (the original online service used EA's servers; no |
| ONLINE-002 | source/OpenTPW.Online/Packages/BoundedZip.cs:18 | <summary>[EXT:ONLINE-002] Highest accepted uncompressed/compressed ratio for entries above 4 KiB.</summary> |
| ONLINE-003 | source/OpenTPW.Online/Packages/BoundedZip.cs:89 | [EXT:ONLINE-003] Fixed timestamp so identical content gives identical bytes. |
| ONLINE-004 | source/OpenTPW.Online/Packages/ParkSnapshot.cs:54 | <summary>[EXT:ONLINE-004] Compatibility flags written by OpenTPW.</summary> |
| ONLINE-005 | source/OpenTPW.Online/Packages/ParkPackage.cs:37 | [EXT:ONLINE-005] The <c>.tpwpark</c> park package: a bounded ZIP with <c>manifest.json</c>, |
| ONLINE-006 | source/OpenTPW.Online/Packages/ParkPackage.cs:59 | [EXT:ONLINE-006] Size limits chosen for OpenTPW; the original upload limit ("File is too large", |
| ONLINE-007 | source/OpenTPW.Online/Packages/MinimalParkPayload.cs:47 | [EXT:ONLINE-007] The park payload. Version 1 carried what main could import from an original level: |
| ONLINE-008 | source/OpenTPW.Online/Packages/MinimalParkPayload.cs:75 | [EXT:ONLINE-008] Bounds: MAP grids are at most 1024 cells per side (MapFile.MaximumDimension) and |
| ONLINE-010 | source/OpenTPW.Online/OnlineText.cs:8 | [EXT:ONLINE-010] Name rules are an OpenTPW choice; the original login names were |
| ONLINE-020 | source/OpenTPW.Online/Packages/Postcard.cs:21 | [EXT:ONLINE-020] The <c>.tpwcard</c> postcard: a bounded ZIP with <c>card.json</c> and an optional |
| ONLINE-021 | source/OpenTPW.Online/Packages/Postcard.cs:34 | [EXT:ONLINE-021] Limits chosen for OpenTPW; the original field lengths are unknown. |
| ONLINE-031 | source/OpenTPW.Online/Chat/ChatProtocol.cs:7 | [EXT:ONLINE-031] OpenTPW chat wire protocol: one JSON object per WebSocket text frame. The original |
| ONLINE-040 | source/OpenTPW.Online/Api/ApiModels.cs:3 | [EXT:ONLINE-040] OpenTPW server HTTP API (JSON, camelCase via StrictJson.Options). The original |
| ONLINE-050 | source/OpenTPW.Server/ServerOptions.cs:5 | [EXT:ONLINE-050] All defaults are OpenTPW choices; the original service limits are unknown except |
| ONLINE-050 | source/OpenTPW.Server/ServerOptions.cs:50 | publish was told to un-publish one first). [EXT:ONLINE-050] an operator may lower it. |
| ONLINE-051 | source/OpenTPW.Server/PasswordHasher.cs:6 | <summary>[EXT:ONLINE-051] PBKDF2-SHA256 (BCL) with a random 16-byte salt; only the hash is stored.</summary> |
| ONLINE-052 | source/OpenTPW.Server/ServerStore.cs:92 | [EXT:ONLINE-052] File storage: JSON indexes (accounts, parks, postcards) rewritten atomically after |
| ONLINE-053 | source/OpenTPW.Server/ChatHub.cs:582 | [EXT:ONLINE-053] No avatar positions exist, so the range is acknowledged but has no effect. |
| ONLINE-054 | source/OpenTPW.Server/ServerProgram.cs:13 | [EXT:ONLINE-054] Self-hostable OpenTPW server (ASP.NET Core minimal APIs). See docs/SERVER.md. |
| ONLINE-055 | source/OpenTPW.Server/ServerStore.cs:656 | [EXT:ONLINE-055] Deletes a player and what the server holds about them (docs/SERVER.md): the |
| ONLINE-056 | source/OpenTPW.Server/NewsFeed.cs:10 | [EXT:ONLINE-056] the original fetched news from EA's news server; an OpenTPW server serves the operator's text files |
| ONLINE-057 | source/OpenTPW.Server/ServerProgram.cs:78 | [EXT:ONLINE-057] the project website reads the public news and website park list from the browser |
| ONLINE-057 | source/OpenTPW.Server/ServerProgram.cs:384 | [EXT:ONLINE-057] public, for the project website: only parks whose authors opted in, at most ten, cached a minute. |
| ONLINE-058 | source/OpenTPW.Server/ServerProgram.cs:316 | [EXT:ONLINE-058] a release asks the host to update: the server only leaves a file in its data folder, which the |
| ONLINE-059 | source/OpenTPW.Server/CityDirectory.cs:11 | [EXT:ONLINE-059] the original city list came from EA's city server and is lost: only "North Pole" (the Bullfrog |
| ONLINE-060 | source/OpenTPW/Online/OnlineFolders.cs:7 | [EXT:ONLINE-060] The player's online folder: exported parks, downloaded (visited) parks and the |
| ONLINE-061 | source/OpenTPW/Online/ParkSnapshotBuilder.cs:14 | <summary>[EXT:ONLINE-061] Edition label; OpenTPW cannot yet tell Theme Park World from Sim Theme Park installs.</summary> |
| ONLINE-062 | source/OpenTPW/Online/ParkSnapshotBuilder.cs:145 | [EXT:ONLINE-062] Top-down thumbnail from the MAP grid and the snapshot (OpenTPW colours, not an original |
| ONLINE-063 | source/OpenTPW/Online/OnlineStrings.cs:21 | languages. [EXT:ONLINE-063] Kept in this file until the frontend slice's SupplementaryStrings lands. |
| ONLINE-064 | source/OpenTPW/Online/OnlineSession.cs:25 | [EXT:ONLINE-064] Line layouts ("name: text", "name emote") are OpenTPW choices; the original chat panel layout is unknown. |
| ONLINE-065 | source/OpenTPW/Online/ChatOverlay.cs:8 | [EXT:ONLINE-065] Font choice, position (bottom-left), colours and line count are OpenTPW choices. |
| ONLINE-066 | source/OpenTPW/Online/OnlinePanel.cs:6 | <summary>[EXT:ONLINE-066] Opt-in ImGui panel; original online panel layout is not reproduced.</summary> |
| ONLINE-067 | source/OpenTPW/Online/OnlineScreens.cs:1696 | [EXT:ONLINE-067] off unless the player chooses it: the website list makes the park and the player name public on the web. |
| ONLINE-068 | source/OpenTPW.Online/Packages/MinimalParkPayload.cs:218 | [EXT:ONLINE-068] The layout digest of this payload's version 2 members: FNV-1a 64 over the cells in |
| ONLINE-070 | source/OpenTPW/Online/OnlineScreens.cs:1455 | [EXT:ONLINE-070] the original's Platinum Tickets, won when others visit the player's published parks |
| ONLINE-071 | source/OpenTPW.Server/ChatParkDirectory.cs:40 | [EXT:ONLINE-071] default chat park names, levels and descriptions; the original's list (the parks of city 1) is not recovered |
| ONLINE-072 | source/OpenTPW.Server/ChatHub.cs:148 | [EXT:ONLINE-072] walking sends a position whenever the player moves, so the movement bucket is |
| ONLINE-074 | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:65 | [EXT:ONLINE-074] the park information window of a visit shows the published figures only, and no thoughts |
| ONLINE-074 | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:123 | [EXT:ONLINE-074] the published park's figures are shown in the park information window of a visit. |
| ONLINE-074 | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:219 | [EXT:ONLINE-074] a visit's published statistics carry no visitor total |
| ONLINE-075 | source/OpenTPW.Server/ServerStore.cs:844 | [EXT:ONLINE-075] the visit counter counts accepted visit reports; a ticket award hooked here sees one call per visit. |
| ONLINE-UI | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:622 | [EXT:ONLINE-UI] the online menu with a postcard waiting: Publish park is greyed (no park is open) and says why while the pointer rests on it, and the postcard line sits under the last button |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:42 | [EXT:ONLINE-UI] the online screens are OpenTPW's as a whole, so their labels, label buttons, text fields and headers (several of them original UITEXT in original table boxes) are not cut off at their boxes (Unclipped); native online screens; composition of the original screens and the place of code-positioned controls are OpenTPW's |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:108 | [EXT:ONLINE-UI] the login and OpenTPW's own online menu (news, postcards, chat, import, account), at the top centre: the |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:117 | [EXT:ONLINE-UI] a status is shown once, on the screen on top, and only what came after the screen was opened or came back to the top (StatusText) |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:328 | [EXT:ONLINE-UI] the city's name and the fetch status while no park is shown; a city without parks says so (UITEXT 306) |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:372 | [EXT:ONLINE-UI] OpenTPW servers let players delete their own account (docs/SERVER.md). |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:383 | [EXT:ONLINE-UI] the menu has no original counterpart: a window opened from it takes its place, so the menu's buttons do not show around that window |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:388 | [EXT:ONLINE-UI] a status belongs to the screen it was reported on: a note of an earlier screen does not stay in the menu |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:1198 | (0x10184924). OpenTPW's own additions (server address, authenticator code, register, recovery) sit in a panel of their own under the original window ([EXT:ONLINE-UI]). |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:1222 | [EXT:ONLINE-UI] in a panel of their own under the original window: the server address (the original service address was built in), |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:1672 | [EXT:ONLINE-UI] the website toggle, the export button and the status column are OpenTPW's and sit inside the window where no original control is; the hover help of both |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:1867 | [EXT:ONLINE-UI] OpenTPW sends through its server, which needs a login: in the original's place of the account check the tick opens the login dialog over the window, and it waits while another online request runs |
| ONLINE-UI | source/OpenTPW/Online/OnlineScreens.cs:2203 | [EXT:ONLINE-UI] the original's status box showed the progress message of the request that ran; nothing in it outlived the screen |
| ONLINE-UI | source/OpenTPW/UI/Original/UiDialogs.cs:68 | [EXT:strings] a message that is not an original UITEXT one (OpenTPW's own strings, error texts; [EXT:ONLINE-UI] for the online screens' messages) is not cut off at the text box; an original one is, although the box itself is read off the video |
| ONLINE-UI | source/OpenTPW/UI/Original/UiTextWidgets.cs:82 | [EXT:ONLINE-UI] text field art and caret are OpenTPW's; the original field template is not decoded |
| ONLINE-UI | source/OpenTPW/UI/Original/UiTextWidgets.cs:96 | [EXT:ONLINE-UI] the text field template is not decoded, so the text inset and the box are OpenTPW's (this widget draws the online fields and the original dialogs' name and price fields alike, the original's text control clips to its box, 0x48f3d0), and its text is not cut off at them |
| ONLINE-UI | source/OpenTPW/UI/Original/UiTextWidgets.cs:304 | [EXT:ONLINE-UI] the online screens are OpenTPW's as a whole: their list headers (some of them original UITEXT) are not cut off at the column box |
| ONLINE-UI | source/OpenTPW/UI/Original/UiWidgets.cs:391 | [EXT:ONLINE-UI] Whether the element's help shows on hover while it is disabled, which is how a greyed line says why (the online menu's Publish park). A disabled element cannot be focused or clicked, so |
| ONLINE-UI | source/OpenTPW/UI/Original/UiWidgets.cs:638 | <summary>The label is not cut off at the button's box: OpenTPW's own label buttons of the online screens ([EXT:ONLINE-UI]) draw their text on a purple bar whose label box can be narrower than the text.</summary> |
| ONLINE-UI | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| SERVER-WEB | source/OpenTPW.Server/WebClient.cs:8 | [EXT:SERVER-WEB] Optionally serves the browser build of the game (docs/WEB.md) from the same |
| SETUP | source/OpenTPW/UI/Original/Options/GameFilesScreen.cs:10 | [EXT:SETUP] OpenTPW setting; the original installer chose one folder and never changed it in game |
| SETUP | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:580 | [EXT:SETUP] Game files (game folder and CD), where the main page has its OpenTPW button. The browser chooses its |
| SETUP | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| addon-not-on-station | source/OpenTPW.Tests/ObjectAccessCellsTests.cs:510 | [EXT:addon-not-on-station] the ride's own footprint holds its station cells: an add-on may not take them |
| addon-not-on-station | source/OpenTPW/World/Objects/ParkObjects.cs:304 | [EXT:addon-not-on-station] the original's add-on test counts the station tiles as track (types 13 and 18, 0x0053AD30) and would let an add-on take the ride's own cells, which its sale then leaves empty under the station; OpenTPW refuses a cell another object holds |
| addon-sale-walk | source/OpenTPW.Tests/TrackAddOnLevelTests.cs:138 | (the ORACLE.md X37 cases), and the circuit is walked at once ([EXT:addon-sale-walk]): it is open now |
| addon-sale-walk | source/OpenTPW/World/Level.AddOns.cs:188 | [EXT:addon-sale-walk] the original's demolition 0x00527EE0 clears the add-on flag of the track cells under a sold add-on (0x0052851E) but neither makes their pieces (0x0053AFA0) nor walks the circuit: the pieces come back with the circuit's next walk (0x0052B18E makes the piece of a plain tile that has none) and until then the sections keep the add-on's kind, which a save of OpenTPW's could not restore (the restore walks the cells); OpenTPW walks at once |
| advisor-aspect | source/OpenTPW/World/Advisor.cs:187 | [EXT:advisor-aspect] outside 4:3 the width scale is 0.015 × height/width of the output instead of the original's fixed 0.75, so the advisor keeps its proportions (the original runs at 4:3 only) |
| advisor-no-clips | source/OpenTPW/World/Advisor.cs:500 | [EXT:advisor-no-clips] an install without advisor clip archives (a partial data copy) keeps the speech's length + 200 + 300 + 1000 as the span and draws the model for it, so the advisor stays visible while it talks |
| advisor-no-device-speech | source/OpenTPW/Client/SpeechAudioPlayer.cs:37 | [EXT:advisor-no-device-speech] wall clock for the full speech when no audio device opened (--mute and headless runs), where the original shows no speech at all (the rule is fully traced: 0x51BFC0 returns 0 and 0x51C570 returns its preset 1 without the sound system); an optional strict-parity change would use length 1 (budget 501) and no mouth |
| advisor-sliced-decode | source/OpenTPW.Tests/SlicedAdvisorSpeechTests.cs:10 | The automatic advisor's speech with its decode over frames (<see cref="Advisor.SlicedDecoding"/>, [EXT:advisor-sliced-decode], docs/BROWSER-PERFORMANCE.md |
| advisor-sliced-decode | source/OpenTPW/Client/AutomaticAdvisor.cs:452 | [EXT:advisor-sliced-decode] a line whose decode failed after it started reserves what a line that could not be said reserves |
| advisor-sliced-decode | source/OpenTPW/Client/AutomaticAdvisor.cs:564 | [EXT:advisor-sliced-decode] a decode over frames that already failed in the line's first update: no span, as for a decode that fails before the line |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:51 | [EXT:advisor-sliced-decode] a response whose PCM is still being decoded over frames (the player is made when it is done) |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:53 | [EXT:advisor-sliced-decode] the advisor-clock time the audio was first due while it was still being decoded, and how much later than that it started: |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:57 | [EXT:advisor-sliced-decode] the decode of the response being said failed after it started (a damaged payload): the line was ended, as one that cannot be said |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:395 | [EXT:advisor-sliced-decode] with the browser's single thread the response's PCM is decoded over the next frames, not in this one (17-50 ms for a line); |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:439 | [EXT:advisor-sliced-decode] Whether a response's PCM is decoded over frames (<see cref="Mp2Decoder.SlicedDecode"/>) instead of before it starts: the browser, |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:559 | [EXT:advisor-sliced-decode] a response still being decoded when its audio is due starts when the decode is done; the mouth waits as long (LipPosition) |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:604 | [EXT:advisor-sliced-decode] Whether the last line's decode failed after the line started (<see cref="PumpDecode"/>), once: the caller ends the line as one it could |
| advisor-sliced-decode | source/OpenTPW/World/Advisor.cs:616 | before the audio starts. [EXT:advisor-sliced-decode] Audio that started late because its decode was not done when it was due moves the LIP clock back by as much, so the |
| advisor-sliced-decode | source/OpenTPW/World/AdvisorScoreQueue.cs:391 | [EXT:advisor-sliced-decode] The response just played could not be said after all (its decode over frames failed after the line started): the reservation becomes the one |
| art-override | source/OpenTPW/UI/Original/UiArtOverrides.cs:10 | [EXT:art-override] optional player-supplied replacement art; the original only has its own textures |
| audio-chooser-mac-reading | source/OpenTPW/Audio/SoundEvents.cs:456 | [EXT:audio-chooser-mac-reading] the Mac reading of this chooser (the seed is never stored and the draw takes the top 16 bits without the rotate, STP-PPC sound_shared 0x1000FCB4 / 0x100118C8) contradicts the PC instructions; the PC reading is used and the Mac reading is to be rechecked (docs/AUDIO.md) |
| audio-reverb | source/OpenTPW/Audio/GameAudio.cs:363 | [EXT:audio-reverb] the held preset's record drives ReverbUnit, OpenTPW's own network on the positioned effects by design: the original hands the record to the audio device's EAX 2.0 listener property set or to a COM object behind QMixer.dll (which holds no reverb DSP), whose sound lives in the device or driver |
| audio-reverb | source/OpenTPW/Audio/GameAudio.cs:376 | [EXT:audio-reverb] preset 0 (the default everywhere outside a ridden ride that sets a level) stays dry: its record asks for the device's full room level, which this stand-in would put on every positioned sound of the park; only the ride presets (1-14) are mixed |
| audio-reverb | source/OpenTPW/Audio/ReverbUnit.cs:27 | [EXT:audio-reverb] the network, its constants, the size mapping and the voices it covers are OpenTPW's own stand-in by design (user decision 2026-10-19: "nagalm mag EXT"): the original's reverb lives in the sound device or driver behind the EAX 2.0 listener property set (tp.exe 0x6C46B0) or the COM object behind QMixer.dll (+0x10C, made at 0x1800B530), which holds no DSP, so there is nothing to port or capture statically |
| audio-reverb | source/OpenTPW/Audio/ReverbUnit.cs:203 | [EXT:audio-reverb] the size scale is OpenTPW's choice: EAX's environment size (metres) stretches the room's delays, here the comb and allpass lengths by sqrt(size / 7.5), within a factor of two |
| audio-reverb | source/OpenTPW/Audio/SoundEvents.cs:747 | [BIN:TPW-EXE:0x6bc4f4 pitch and delay] the pitch and the delay are applied (Pitch, AudioVoice.SetPitch, DelaySeconds, ExpiryFrame); reverb (SndReverb.map, loaded at 0x6c5d20) is OpenTPW's stand-in, [EXT:audio-reverb]; chain delays are milliseconds (video, 2026-10-15) |
| autorun | source/OpenTPW/Client/Autorun/AutorunLauncher.cs:5 | [EXT:autorun] It needs the original <c>Autorun</c> folder (<c>general.tre</c> and the language archives) in the game |
| autorun | source/OpenTPW/Client/Autorun/AutorunScreen.cs:14 | with the operating system's viewer and Exit quits. [EXT:autorun] (docs/AUTORUN.md) |
| autorun | source/OpenTPW/Client/Autorun/AutorunView.cs:19 | and clicks. [EXT:autorun] OpenTPW reproduces the CD's autorun dialog as an optional start screen. |
| autorun | source/OpenTPW/Client/Game.cs:404 | [EXT:autorun] The CD's launcher window comes first when its Autorun folder is available (docs/AUTORUN.md). |
| autorun-focus-rect | source/OpenTPW/Client/Autorun/AutorunView.cs:163 | [EXT:autorun-focus-rect] platform emulation: the dotted focus rectangle imitates GDI's DrawFocusRect (pixels with even x + y inverted); Windows draws the original's, OpenTPW draws its own |
| blueprint-phase-step | source/OpenTPW/World/Original/BlueprintMarkers.cs:267 | [EXT:blueprint-phase-step] only the frame-rate part: the original steps once per rendered frame (frame-rate dependent); OpenTPW steps once per 1/30 s of real time so the ripple, the blink and the glide do not depend on the display's frame rate; the blink counter moves by the game speed per step (1, 2 or 3 in OpenTPW's speeds) as the original's by the clock scale |
| blueprint-phase-step | source/OpenTPW/World/Original/HarbourDynamics.cs:392 | [EXT:blueprint-phase-step] only the frame-rate part: the flush 0x53C3F0 steps once per rendered frame (frame-rate dependent); OpenTPW steps once per 1/30 s of real time, by the game speed as the original's by the clock scale |
| bonus-content | source/OpenTPW/Client/Setup/BonusContent.cs:14 | [EXT:bonus-content] Setup-managed copy of the official bonus WADs; the original game only had the CD and install folders |
| bonus-name-fallback | source/OpenTPW/World/Objects/ObjectCatalog.cs:894 | [EXT:bonus-name-fallback] third-party bonus content may lack the selected language, so a missing language file falls back to English and then to the .sam Info.Name where the original reads only <selected language>.txt (0x41f350, language buffer 0xf7f230) and the OBJECT_NAMES id table (empty for bonus ids except 3301); an archive never loses its display name, and all 35 shipped bonus archives carry the four shipped languages, so no shipped name differs |
| bounce-single-clock-read | source/OpenTPW/World/Guests/RideVisitorBridge.cs:2009 | [EXT:bounce-single-clock-read] one script-clock reading stands for both of BOUNCE's clock calls: OpenTPW's clock is stepped and does not advance inside an opcode, so the two live reads of tp.exe's BOUNCE (0x00555674: the deadline 0x00555753 and the start 0x00555770 through 0x00402D70, up to 1 ms apart, which moves UNBOUNCE's 200 ms window by 1 ms) cannot differ; a determinism design choice |
| browser-no-pointer | source/OpenTPW.Web.Veldrid/Input.cs:63 | [EXT:browser-no-pointer] a page that has not seen the pointer yet reports it outside the window, as after a leave, not at (0, 0), the top-left |
| browser-reserved-chords | source/OpenTPW/Global/Input.Localized.cs:58 | [EXT:browser-reserved-chords] the browser owns Ctrl+W, Ctrl+T and Ctrl+N (close tab, new tab, new window; the Dutch staff locator is Ctrl+W), so in the browser build a chord keeps its default letter. |
| build-cursor-ground-plane | source/OpenTPW/World/Level.Objects.cs:1678 | [EXT:build-cursor-ground-plane] the generic sandbox has no heightfield: its cursor ray hits the Z = 0 plane |
| build-cursor-ground-plane | source/OpenTPW/World/Level.Objects.cs:1705 | [EXT:build-cursor-ground-plane] the generic sandbox's Z = 0 plane stands in for the terrain hit there |
| bump-foreign-object-forget | source/OpenTPW/World/Tracks/BumpController.cs:10 | [EXT:bump-pre-shared-save-order] a park-resume save from before the shared pools restores their order from the restore (controllers by attraction id), where the original's pools only ever fill in build order; kept so older saves load; [EXT:bump-foreign-object-forget] a vehicle whose foreign object is rebuilt loses it (BumpWorld.ForgetObjectsOf) |
| bump-foreign-object-forget | source/OpenTPW/World/Tracks/BumpWorld.cs:77 | [EXT:bump-foreign-object-forget] a vehicle of another ride whose object is rebuilt or removed loses it (object -1, so it searches afresh); the original keeps a pointer to the freed or reused pool record, which is undefined behaviour to copy |
| bump-pre-shared-save-order | source/OpenTPW/World/Tracks/BumpController.cs:10 | [EXT:bump-pre-shared-save-order] a park-resume save from before the shared pools restores their order from the restore (controllers by attraction id), where the original's pools only ever fill in build order; kept so older saves load; [EXT:bump-foreign-object-forget] a vehicle whose foreign object is rebuilt loses it (BumpWorld.ForgetObjectsOf) |
| cannot-build-sound | source/OpenTPW.Tests/ObjectRayPickTests.cs:646 | [BIN:TPW-EXE:0x524AA7 refusal cue] a refused build click plays cat_ui 0xAF at its release; the "Cannot build" message that follows then adds no error feedback 0x1D (<c>[EXT:cannot-build-sound]</c> keeps |
| cannot-build-sound | source/OpenTPW/Hud/ParkHud.cs:1561 | [EXT:cannot-build-sound] the "Cannot build" message text, and the error feedback 0x1D where the original's own cue did not sound: a refused placement click plays cat_ui 0xAF at its release (0x524AA7, behind the refused-ghost latch 0x816D48, outside a layout replay 0x785A2C), and tp.exe plays 0x1D at exactly two sites (0x487b51 in the park click handler 0x4879d0, a cost above the money, and the helper 0x486ae0, whose only caller is the hire window 0x4af480); a refusal the host sends back sounds no 0xAF here, so it keeps 0x1D; the message text is an OpenTPW addition |
| cannot-build-sound | source/OpenTPW/Hud/ParkHud.cs:1571 | [EXT:cannot-build-sound] the error feedback only where the original's own refusal cue did not sound: its release plays 0xAF (buildRefusalCue), a guest's click and a refusal the host sends back play none |
| challenge-offer-repost | source/OpenTPW/Hud/ParkHud.ChallengeMessages.cs:114 | [EXT:challenge-offer-repost] an offer that the tube refused (it was full) or that a loaded park lacks is posted again, so the challenge system (which waits on the answer) never stalls; a deleted or expired offer is declined as the original does (DeclineRemovedOffer) |
| cheats-* | source/OpenTPW/Economy/ParkCheats.cs:133 | <summary>Whether <paramref name="kind"/> is one of the extension's own cheats (<c>[EXT:cheats-*]</c>) rather than one the original game has.</summary> |
| cheats-arrival | source/OpenTPW.Tests/ArrivalVehicleTests.cs:160 | <summary>[EXT:cheats-arrival] While an arrival cheat waits (docs/CHEATS.md) no natural group starts; once it has applied the natural timer goes on.</summary> |
| cheats-arrival | source/OpenTPW/Economy/ParkCheats.cs:27 | <summary>[EXT:cheats-arrival] A group of visitors arrives now by the vehicle the argument names (<see cref="ArrivalVehicleKind"/>: bus, seaplane or Ferry), sized for it.</summary> |
| cheats-arrival | source/OpenTPW/Economy/ParkCheats.cs:58 | <summary>[EXT:cheats-arrival] Starts a group brought by <paramref name="vehicleKind"/> now; false while a group is being delivered or a vehicle is at work.</summary> |
| cheats-arrival | source/OpenTPW/Economy/ParkCheats.cs:143 | <summary>[EXT:cheats-arrival] Whether an arrival cheat is waiting: at most one may (a second request is refused until the first group has come).</summary> |
| cheats-arrival | source/OpenTPW/Economy/ParkEconomy.cs:451 | [EXT:cheats-arrival] a group by the chosen vehicle, sized for it; it waits while a group or a vehicle is at work |
| cheats-arrival | source/OpenTPW/Economy/ParkEconomyRuntime.cs:52 | [EXT:cheats-arrival] an arrival cheat waiting for the next free turn holds the natural groups and the pick-ups (docs/CHEATS.md) |
| cheats-arrival | source/OpenTPW/World/Guests/GuestSimulation.cs:213 | [EXT:cheats-arrival] True while an arrival cheat waits for the vehicles to be free (<see cref="ParkCheats.ArrivalPending"/>): no natural group starts and no vehicle is called for |
| cheats-arrival | source/OpenTPW/World/Guests/GuestSimulation.cs:878 | [EXT:cheats-arrival] a waiting arrival cheat holds the natural group and the pick-ups below |
| cheats-arrival | source/OpenTPW/World/Guests/GuestSimulation.cs:911 | [EXT:cheats-arrival] a held arrival calls no vehicle, but one standing at the stop is still sent on with the leaving guests |
| cheats-arrival | source/OpenTPW/World/Guests/GuestSimulation.cs:919 | <summary>[EXT:cheats-arrival] The group sizes each vehicle stands for, by <see cref="ArrivalVehicleKind"/>: the bus up to 35, the seaplane 36 to 60, the Ferry 61 or more (the dispatch's own bands, 0x004CF48C/0x004CF49A).</summary> |
| cheats-arrival | source/OpenTPW/World/Guests/GuestSimulation.cs:929 | [EXT:cheats-arrival] The arrival cheat: a group starts now and comes by <paramref name="vehicleKind"/>. Its size is the next natural group's (no draw) moved into the vehicle's band |
| cheats-arrival | source/OpenTPW/World/Level.Cheats.cs:6 | [EXT:cheats-arrival] the guest simulation starts the group and the level's arrival vehicles bring it |
| cheats-export | source/OpenTPW/Economy/OriginalParkExport.cs:38 | [EXT:cheats-export] the user's decision: a park whose rides hold more vehicles than the original's limits is not written in the original's format |
| cheats-export | source/OpenTPW/Economy/OriginalParkExport.cs:151 | [BIN:TPW-EXE:0x4055D0 cheat save] the chunk is the mode byte +0xA and the byte +0xB; [EXT:cheats-export] OpenTPW writes 01 01 for a cheated park (the shipped seed's value; no tp.exe code writes +0xB, so its meaning for another build is unknown) and 00 00 for any other |
| cheats-extension | source/OpenTPW/Client/ThemeParkIncHud.Challenges.cs:222 | [EXT:cheats-extension] Theme Park Inc's debug buttons are offered only with opentpw.cheats on (user decision 2026-11-21); the original's dialog 0x532A40 is a developer build's |
| cheats-extension | source/OpenTPW/Economy/ParkEconomy.cs:411 | [EXT:cheats-extension] a Theme Park World park takes tp.exe's cheats (docs/CHEATS.md); a Theme Park Inc park only its executable's debug buttons, the debug dialog's Skip Mission and Get Promoted |
| cheats-extension | source/OpenTPW/Mods/FeatureGates.cs:94 | [EXT:cheats-extension] The <c>opentpw.cheats</c> extension is on for this run: the cheats window and OpenTPW's own cheats in a Theme Park World park, Theme Park Inc's two debug-dialog |
| cheats-extension | source/OpenTPW/Mods/OfficialExtensions.cs:161 | [EXT:cheats-extension] OpenTPW's own cheats; the original game has the cheat mode only (docs/CHEATS.md) |
| cheats-extension | source/OpenTPW/UI/Original/SupplementaryStrings.cs:411 | <summary>[EXT:cheats-extension] The cheats extension's name on the Extensions and mods screen.</summary> |
| cheats-extension | source/OpenTPW/UI/Original/SupplementaryStrings.cs:413 | <summary>[EXT:cheats-extension] The cheats extension's description on the Extensions and mods screen.</summary> |
| cheats-key-release | source/OpenTPW/Hud/ParkHud.Cheats.cs:53 | [EXT:cheats-key-release] the original reads the mask when the key's release message arrives, while Alt is usually still held; a frame that sees the key and Alt released together |
| cheats-park-mode | source/OpenTPW/Economy/ParkCheats.cs:84 | [EXT:cheats-park-mode] the original's cheat object sits behind three first-use guards (0xFB3519 save and load, 0xFB34C4 rename, 0xFB34C8 key paths), and each guard's first use in a process re-runs its constructor 0x4053B0, clearing the mode once per run (the first key that reaches the cheat check after a load or a first rename); that depends on the process's history, not on the park, so OpenTPW keeps the mode with the park and does not reproduce it |
| cheats-publish | source/OpenTPW.Online/Packages/ParkSnapshot.cs:63 | <summary>[EXT:cheats-publish] Park was played with cheats (docs/CHEATS.md). Informational: such a park is shared, visited and ranked like any other.</summary> |
| cheats-publish | source/OpenTPW/Client/GameFlow.cs:322 | [EXT:cheats-publish] and says when the park is marked as cheated |
| cheats-publish | source/OpenTPW/Economy/ParkCheats.cs:127 | <summary>[EXT:cheats-publish] Whether the park is marked as cheated (shown in the load menu and on a shared park; it does not stop publishing).</summary> |
| cheats-publish | source/OpenTPW/FrontEnd/FrontEndMenu.cs:14 | <param name="Cheated">[EXT:cheats-publish] The saved park is marked as cheated (docs/CHEATS.md); the menu says so after its name.</param> |
| cheats-publish | source/OpenTPW/FrontEnd/FrontEndMenu.cs:261 | <summary>[EXT:cheats-publish] " (cheated)" after the name of a park marked as cheated (docs/CHEATS.md), else nothing.</summary> |
| cheats-publish | source/OpenTPW/Online/ParkSharing.cs:103 | [EXT:cheats-publish] a cheated park is exported and published like any other (the original refused it, UITEXT 417); its package only says so |
| cheats-publish | source/OpenTPW/UI/Original/SupplementaryStrings.cs:335 | <summary>[EXT:cheats-publish] The load menu's mark of a cheated park, after its name.</summary> |
| cheats-ride-vehicles | source/OpenTPW.Tests/CheatsRideVehicleTests.cs:104 | [EXT:cheats-ride-vehicles] The pinned run of the cheat's bumper scenario (docs/DETERMINISM.md, "Cheats"): the jungle bumper controller raised to 32 cars, loaded with 32 guests and run for |
| cheats-ride-vehicles | source/OpenTPW/Economy/OriginalParkExport.cs:7 | <param name="RidesAboveOriginalLimits">[EXT:cheats-ride-vehicles] How many of the park's rides the vehicle cheat raised and that run above their type's original capacity maximum |
| cheats-ride-vehicles | source/OpenTPW/Economy/ParkCheats.cs:23 | [EXT:cheats-ride-vehicles] A ride's vehicle limit raised: 32 bumper cars or karts, 40 tour cars. The argument is the ride's attraction id; the ride keeps the raised limit, and its |
| cheats-ride-vehicles | source/OpenTPW/Economy/ParkCheats.cs:62 | <summary>[EXT:cheats-ride-vehicles] Whether the ride <paramref name="attractionId"/> is placed, live and of a kind whose vehicle limit the cheat raises, and not raised yet.</summary> |
| cheats-ride-vehicles | source/OpenTPW/Economy/ParkCheats.cs:64 | <summary>[EXT:cheats-ride-vehicles] Raises the ride's vehicle limit now; false when the ride is gone or cannot be raised (the cheat is then recorded as asked, with no effect).</summary> |
| cheats-ride-vehicles | source/OpenTPW/Economy/ParkEconomy.cs:414 | [EXT:cheats-ride-vehicles] a ride's vehicle limit only for a ride the level can raise now |
| cheats-ride-vehicles | source/OpenTPW/Economy/ParkEconomy.cs:454 | [EXT:cheats-ride-vehicles] the ride raised at once; one removed since it was asked for leaves the cheat recorded with no effect |
| cheats-ride-vehicles | source/OpenTPW/Hud/ParkHud.CheatsWindow.cs:23 | [EXT:cheats-ride-vehicles] the ride the window's vehicle row acts on, by attraction id (0: none chosen yet) |
| cheats-ride-vehicles | source/OpenTPW/Hud/ParkHud.CheatsWindow.cs:56 | <summary>[EXT:cheats-ride-vehicles] The ride the vehicle row shows among <paramref name="rides"/>: the one chosen, or the park's first such ride.</summary> |
| cheats-ride-vehicles | source/OpenTPW/Hud/ParkHud.CheatsWindow.cs:147 | [EXT:cheats-ride-vehicles] a ride of the park (bumper cars, karts or a tour) and its vehicle limit; the park's rides are listed once a frame (Updating below) |
| cheats-ride-vehicles | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:51 | [EXT:cheats-ride-vehicles] a raised ride's capacity above the type's maximum reads as that maximum, as the economy's wear clamps its riders to it (ParkEconomy) |
| cheats-ride-vehicles | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:136 | [EXT:cheats-ride-vehicles] a ride whose vehicle limit the cheat raised has a larger capacity maximum (OriginalObjectRuntime.MaximumCapacity) |
| cheats-ride-vehicles | source/OpenTPW/World/Level.Cheats.cs:12 | [EXT:cheats-ride-vehicles] the placed ride's runtime raises its controllers |
| cheats-ride-vehicles | source/OpenTPW/World/Level.Cheats.cs:20 | <summary>[EXT:cheats-ride-vehicles] The placed rides the cheat could raise or has raised, in attraction order (the cheats window's ride row).</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/Level.Cheats.cs:23 | <summary>[EXT:cheats-ride-vehicles] How many placed rides the cheat raised.</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/Level.Cheats.cs:27 | [EXT:cheats-ride-vehicles] How many placed rides the cheat raised and run above their type's original capacity maximum: the original-format export refuses such a park |
| cheats-ride-vehicles | source/OpenTPW/World/Objects/OriginalObjectRuntime.Cheats.cs:4 | [EXT:cheats-ride-vehicles] OpenTPW's own cheat (the user's decision of 2026-10-19): the original has no way past a ride's UsageInfo.MaxCapacity or its controller's vehicle limit |
| cheats-ride-vehicles | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:34 | [EXT:cheats-ride-vehicles] a ride whose vehicle limit the cheat raised takes a capacity up to its raised maximum, above the byte the original keeps |
| cheats-ride-vehicles | source/OpenTPW/World/Objects/OriginalObjectRuntime.Tours.cs:53 | [EXT:cheats-ride-vehicles] a ride the cheat raised before its script created the controller |
| cheats-ride-vehicles | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:576 | [EXT:cheats-ride-vehicles] the raised flag and the capacity it allows, checked before anything of the candidate changes |
| cheats-ride-vehicles | source/OpenTPW/World/Objects/OriginalObjectRuntimeSnapshot.cs:89 | <summary>[EXT:cheats-ride-vehicles] True once the cheats window raised the ride's vehicle limit; absent otherwise, so every other snapshot keeps its bytes (docs/CHEATS.md).</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/ParkResumeSaveFile.cs:307 | [EXT:cheats-ride-vehicles] a live raised bumper or kart ride carries its raised limit in its saved controller (a kart ride may lack a controller only in a save from before them, which no raised ride is) |
| cheats-ride-vehicles | source/OpenTPW/World/ParkResumeSaveFile.cs:317 | [EXT:cheats-ride-vehicles] a bumper or kart ride the cheat raised holds up to its raised limit |
| cheats-ride-vehicles | source/OpenTPW/World/ParkResumeSaveFile.cs:1254 | [EXT:cheats-ride-vehicles] a raised tour ride's controller has the raised slots, every other one the original's |
| cheats-ride-vehicles | source/OpenTPW/World/Tours/TourController.cs:29 | <summary>[EXT:cheats-ride-vehicles] The cars a tour ride holds once the cheats window raised its vehicle limit (the user's ceiling, 40; docs/CHEATS.md).</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/Tours/TourController.cs:96 | [EXT:cheats-ride-vehicles] a raised controller saved its slot count |
| cheats-ride-vehicles | source/OpenTPW/World/Tours/TourController.cs:234 | [EXT:cheats-ride-vehicles] Gives the controller <see cref="RaisedCarSlots"/> car slots, the new ones free and fresh; false when it has them already. The cars in the old slots keep them, and |
| cheats-ride-vehicles | source/OpenTPW/World/Tours/TourSave.cs:61 | [EXT:cheats-ride-vehicles] written only for a raised controller, so every other save keeps its bytes |
| cheats-ride-vehicles | source/OpenTPW/World/Tours/TourSave.cs:75 | [EXT:cheats-ride-vehicles] a controller the cheat raised has 40 slots; every other one 20 |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/BumpController.cs:76 | [EXT:cheats-ride-vehicles] How many vehicles the controller launches: the template's <see cref="BumperTemplate.MaxVehicles"/>, or the raised limit of the cheats window's ride vehicle cheat |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/BumpController.cs:81 | <summary>[EXT:cheats-ride-vehicles] The vehicle limit of a bumper or kart ride the cheat raised (the user's ceiling, 32).</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/BumpController.cs:87 | <summary>[EXT:cheats-ride-vehicles] Raises the vehicle limit to <see cref="RaisedVehicleLimit"/>; false for a water ride or one already raised.</summary> |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/BumpController.cs:675 | [EXT:cheats-ride-vehicles] the template's limit, or the cheat's raised one |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/BumpController.cs:1920 | [EXT:cheats-ride-vehicles] a raised limit joins the hash; every other controller keeps its pins |
| cheats-ride-vehicles | source/OpenTPW/World/Tracks/TrackSave.cs:84 | [EXT:cheats-ride-vehicles] written only for a raised limit, so every other save keeps its bytes |
| cheats-save | source/OpenTPW/Economy/ParkCheats.cs:105 | [EXT:cheats-save] Whether the park has used one of the <c>opentpw.cheats</c> extension's own cheats (<see cref="IsExtensionKind"/>); sticky like <see cref="Mode"/>. Such a park's save records the |
| cheats-save | source/OpenTPW/Economy/ParkCheats.cs:120 | [EXT:cheats-save] Whether the park's save must record the <c>opentpw.cheats</c> extension: it has used one of the extension's own cheats (<see cref="Extension"/>) or one is waiting for the next turn. |
| cheats-save | source/OpenTPW/Economy/ParkSaveFile.cs:216 | [EXT:cheats-save] OpenTPW keeps the original's mode byte plus its own record of every cheat and its turn; the original saves only the two CHTS bytes (0x4055D0) |
| cheats-save | source/OpenTPW/Economy/ParkSaveFile.cs:226 | <summary>[EXT:cheats-save] The park has used one of the extension's own cheats; absent while it has not.</summary> |
| cheats-save | source/OpenTPW/Economy/ParkSaveFile.cs:767 | [EXT:cheats-save] the original keeps the available byte in the object control record (+0x10, saved with the control table); OpenTPW keeps the cheat's objects apart from its completions |
| cheats-save | source/OpenTPW/Economy/ParkSaveFile.cs:884 | [EXT:cheats-save] null for a park that never cheated, so its save and its hash keep their bytes |
| cheats-save | source/OpenTPW/World/Level.Resume.cs:229 | [EXT:cheats-save] opentpw.cheats likewise: recorded once the park has used one of the extension's own cheats |
| cheats-save | source/OpenTPW/World/ParkResumeMods.cs:48 | with a warm item, and [EXT:cheats-save] <c>opentpw.cheats</c>, recorded once the park has used one of the extension's own cheats (<see cref="ParkCheats.UsesExtension"/>; a park cheated only through the original's cheats |
| cheats-save | source/OpenTPW/World/ParkResumeMods.cs:81 | <param name="cheats">[EXT:cheats-save] The park has used one of the cheats extension's own cheats or has one waiting (<see cref="ParkCheats.UsesExtension"/>).</param> |
| cheats-save | source/OpenTPW/World/ParkResumeSaveFile.cs:492 | [EXT:cheats-save] a park that used one of the cheats extension's own cheats (or has one waiting) records the extension (a park cheated only through the original's cheats does not), so a save cannot hide them from the mod check |
| cheats-shipped-seed | source/OpenTPW/Economy/OriginalEconomyImport.cs:142 | [EXT:cheats-shipped-seed] the jungle's shipped Easymode.TPWI was saved with the cheat mode on (CHTS 01 01), so in the original every park started from it (an Instant Action player's copy, 0x137600 on the Mac) inherits the mode; OpenTPW starts such a park unmarked, so a player who never cheated has a park that saves and hashes as before and is not shown as cheated |
| cheats-ticket-provenance | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:90 | [EXT:cheats-ticket-provenance] a ticket cheat (silent: no GoldenTicketWon) earns the ticket like a win and records that a cheat awarded it; a global one was earned through the authority already |
| cheats-ticket-provenance | source/OpenTPW/Economy/PlayerTicketFile.cs:73 | <summary>[EXT:cheats-ticket-provenance] A cheat awarded this ticket; absent for a ticket the park won.</summary> |
| cheats-ticket-provenance | source/OpenTPW/Economy/PlayerTicketLedger.cs:10 | <param name="Cheated">[EXT:cheats-ticket-provenance] The earned identities a cheat awarded (a subset of <paramref name="Earned"/>); null when none was.</param> |
| cheats-ticket-provenance | source/OpenTPW/Economy/PlayerTicketLedger.cs:79 | [EXT:cheats-ticket-provenance] The earned identities a cheat awarded (docs/CHEATS.md). They count toward the keys and the theme unlocks like any other, as the original's ledger counts them |
| cheats-ticket-provenance | source/OpenTPW/Economy/PlayerTicketLedger.cs:101 | [EXT:cheats-ticket-provenance] Records that a cheat awarded the ticket: a local ticket is earned now if it was not and then marked as a cheat's; a global one was earned through |
| cheats-ticket-provenance | source/OpenTPW/Hud/ParkHud.Cheats.cs:68 | [EXT:cheats-ticket-provenance] the original's cheats are silent; OpenTPW writes one short line per applied cheat (the user's decision: no advisor line, only a short note) |
| cheats-turn-boundary | source/OpenTPW.Tests/CheatsExtensionTests.cs:382 | [EXT:cheats-turn-boundary] The pinned hash of <see cref="RunFixedParkWithCheats"/> (docs/DETERMINISM.md, "Cheats"). A deliberate change of a cheat's effect, of the order of the kinds, of the |
| cheats-turn-boundary | source/OpenTPW/Economy/ParkCheats.cs:85 | [EXT:cheats-turn-boundary] the original applies a cheat inside the key handler or the rename dialog, between two frames; OpenTPW queues it and applies it at the next park turn, so it lands at the same simulation point in every run and the record names that turn |
| cheats-turn-boundary | source/OpenTPW/Economy/ParkEconomy.cs:473 | [EXT:cheats-turn-boundary] the queued cheats apply first, before the turn's thing sweep (its weather update and arrival update) and the calendar; a park without any skips this |
| cheats-turn-boundary | source/OpenTPW/World/Level.cs:182 | [BIN:TPW-EXE:0x4993E0 secret park name] "Kevin the" / "Cosmic Cow" turns the cheat mode on (0x4053C0(1)) after the lines are stored, so the sign keeps the name; it works with or without the cheats extension (the user's decision, docs/CHEATS.md), and at the next park turn ([EXT:cheats-turn-boundary]) |
| cheats-weather | source/OpenTPW/Economy/ParkCheats.cs:20 | <summary>[EXT:cheats-weather] The weather now, as a forecast with no warning: the argument is the <see cref="CheatWeather"/>.</summary> |
| cheats-weather | source/OpenTPW/Economy/ParkCheats.cs:43 | <summary>[EXT:cheats-weather] The weathers the cheats window offers in every theme (snow too: it is a cheat).</summary> |
| cheats-weather | source/OpenTPW/Economy/ParkCheats.cs:60 | <summary>[EXT:cheats-weather] Makes the weather <paramref name="weather"/> now (at park tick <paramref name="tick"/>); false while the park's weather has not taken its first step.</summary> |
| cheats-weather | source/OpenTPW/Economy/ParkEconomy.cs:448 | [EXT:cheats-weather] a forecast with no warning: it replaces the pending one and applies now, with the kind set explicitly (no tie-break draw); the natural schedule goes on from it |
| cheats-weather | source/OpenTPW/World/Level.Cheats.cs:9 | [EXT:cheats-weather] the park's own weather, which the guests read |
| cheats-weather | source/OpenTPW/World/ParkWeather.cs:212 | [EXT:cheats-weather] The weather cheat: a forecast with no warning, applied at once at park tick <paramref name="tick"/> with the bookkeeping of <see cref="Step"/>'s apply (the pending forecast is |
| cheats-weather | source/OpenTPW/World/ParkWeather.cs:216 | [EXT:cheats-weather] the original's converter (0x512f00) derives the kind from a rolled quality and the park's bands (snow only where the park's snow band holds a quality, not in the jungle or fantasy); the cheat sets the kind and a fixed quality and drop target instead: clear 100 and none, rain half the drops, a thunderstorm three quarters with lightning, snow half |
| cheats-window | source/OpenTPW/Economy/ParkEconomy.cs:413 | [EXT:cheats-window] the extension's own cheats (the weather, the arrivals) need the extension on and a level to act on |
| cheats-window | source/OpenTPW/Hud/ParkHud.CheatsWindow.cs:11 | [EXT:cheats-window] OpenTPW's own window; the original's cheats have no window, only the secret park name and the Alt keys |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:345 | <summary>[EXT:cheats-window] The cheats window's title.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:347 | <summary>[EXT:cheats-window] The cheats window's cheat mode row, before On or Off.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:349 | <summary>[EXT:cheats-window] The cheats window's vehicle row, before the vehicle.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:351 | <summary>[EXT:cheats-window] The bus, after the vehicle row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:353 | <summary>[EXT:cheats-window] The seaplane, after the vehicle row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:355 | <summary>[EXT:cheats-window] The ferry, after the vehicle row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:357 | <summary>[EXT:cheats-window] The cheats window's arrival button row.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:359 | <summary>[EXT:cheats-window] The cheats window's weather row, before the weather.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:361 | <summary>[EXT:cheats-window] Clear weather, after the weather row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:363 | <summary>[EXT:cheats-window] Rain, after the weather row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:365 | <summary>[EXT:cheats-window] A thunderstorm, after the weather row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:367 | <summary>[EXT:cheats-window] Snow, after the weather row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:369 | <summary>[EXT:cheats-window] The cheats window's weather button row.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:371 | <summary>[EXT:cheats-window] The cheats window's ticket row, before the ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:373 | <summary>[EXT:cheats-window] The Visitors ticket, after the ticket row's label.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:375 | <summary>[EXT:cheats-window] The PeopleInPark ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:377 | <summary>[EXT:cheats-window] The Happiness ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:379 | <summary>[EXT:cheats-window] The AllResearchedAndBuilt ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:381 | <summary>[EXT:cheats-window] The ProfitYear ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:383 | <summary>[EXT:cheats-window] The RecentVisitors ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:385 | <summary>[EXT:cheats-window] The CoasterHeight ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:387 | <summary>[EXT:cheats-window] The GokartExcitement ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:389 | <summary>[EXT:cheats-window] The WaterLength ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:391 | <summary>[EXT:cheats-window] The BigPark ticket.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:393 | <summary>[EXT:cheats-window] The cheats window's ticket button row.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:395 | <summary>[EXT:cheats-window] The cheats window's money button row.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:397 | <summary>[EXT:cheats-window] The cheats window's research button row.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:399 | <summary>[EXT:cheats-window] The cheats window's note for a cheated park.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:401 | <summary>[EXT:cheats-window] The cheats window's note before the cheat mode is on.</summary> |
| cheats-window | source/OpenTPW/UI/Original/SupplementaryStrings.cs:403 | <summary>[EXT:cheats-window] The cheats window's count of cheats waiting for the next park turn.</summary> |
| coaster-car-fallback | source/OpenTPW/World/Coasters/CoasterDefinition.cs:230 | [EXT:coaster-car-fallback] the original always has the car models (a type whose model fails to load has zero extents and no seat, which ApplyCarModels keeps); a definition built from settings alone (tests, a headless park without game data) takes these generic metrics instead |
| coaster-closing-check | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:453 | [EXT:coaster-closing-check] a circuit that stays open says why: a pylon still marked invalid (a closing or completing click), or a closing link from the last pylon that fails |
| coaster-closing-check | source/OpenTPW/UI/Original/SupplementaryStrings.cs:715 | [EXT:coaster-closing-check] the reasons a coaster's circuit stays open: the closing link from the last pylon fails the validator, or a pylon is still marked invalid |
| coaster-closing-check | source/OpenTPW/World/Coasters/CoasterBuilder.cs:204 | [EXT:coaster-closing-check] OpenTPW keeps a close step for a fresh circuit (a click on the station's cells, [EXT:coaster-station-end-click]) and requires two pylons; CloseCircuit validates the closing link and the arrival turn by the validator's rule first (CoasterTrack.CheckClosure), so completion never hands the sampler a closing link of any length; the original completes without such a test |
| coaster-closing-check | source/OpenTPW/World/Coasters/CoasterTrack.cs:674 | [EXT:coaster-closing-check] OpenTPW's closure check: the closing link to the station's first node S0 and the arrival turn (entrance window at S0, toward S1) are validated and Revalidate marks the last pylon invalid when they fail; the original closes a reopened circuit by a click on the chain start without a validator test (0x435020 → 0x442c70) and completes a fresh circuit by 0x435570 without one |
| coaster-closing-pair-car | source/OpenTPW/World/Coasters/CoasterRide.cs:306 | [EXT:coaster-closing-pair-car] the closing pair's next knot is the second knot, whose coordinate is taken as one lap on (its own plus the end coordinate) so the car's parameter runs on; the original's walk compares the second knot's own coordinate |
| coaster-completion-click | source/OpenTPW/World/Coasters/CoasterBuilder.cs:179 | [EXT:coaster-completion-click] OpenTPW closes a circuit, fresh or cut, only when the closing link passes the validator and no node is marked invalid, as it completes one only then (see Complete): the original's close click tests nothing; a fresh circuit closed through a failing link could never complete, and every click on it but a move was refused |
| coaster-completion-click | source/OpenTPW/World/Coasters/CoasterBuilder.cs:301 | [EXT:coaster-completion-click] OpenTPW completes a coaster only when its circuit is closed and no node is marked invalid (flag 0x4000), by a click on a station end after the closing click: a design decision. The original completes on one click on any cell whose type is 4, 9 or 10 (ride and queue-end cells) or whose byte +0xf has bit 0 (cell evaluator default case 0x534584..0x5345d0, click 0x524960 → 0x435570) and the completion appends the end node and sets state 2 without testing the invalid marks or the open bit; a click elsewhere adds a pylon (0x4419b0 → 0x435020), or closes a reopened circuit on its open start. Completing an unclosed or invalid track would hand the sampler and the rating a closing link of any length, which OpenTPW's curve fit does not guard against |
| coaster-completion-click | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:356 | [EXT:coaster-completion-click] the closing target shows what its click answers: a pylon marked invalid elsewhere refuses the closing as well |
| coaster-cursor-no-node-writes | source/OpenTPW/World/Coasters/CoasterBuilder.cs:434 | [EXT:coaster-cursor-no-node-writes] the build cursor never writes node state: the original's rebuild of an unfinished chain includes the cursor's spare node, so hovering moves the last pylon's stored bank and half turn, but the hover is local to each player and OpenTPW keeps it out of the shared track; the chain's own nodes are stored at each edit (user decision, 2026-10-31) |
| coaster-cursor-no-node-writes | source/OpenTPW/World/Coasters/CoasterTrack.cs:1126 | [BIN:TPW-EXE:0x431f29 stored half turn] every edit of the builder stores the chain's verdicts in the nodes (CoasterBuilder.Revalidate), as the original's rebuild does each frame; the cursor node's part in the original's rebuild of an unfinished chain is left out ([EXT:coaster-cursor-no-node-writes], CoasterBuilder.Revalidate) |
| coaster-drag-reference-mode | source/OpenTPW.Tests/CoasterPanelTests.cs:402 | [EXT:coaster-drag-reference-mode]: the drag counts whole pixels of the original's default 640 x 480 display mode (tp.exe 0x42a760 stores x * W / 0x800 and y * H / 0x600 as integers), so the rates 0.005, 0.02 and 0.01 per pixel |
| coaster-drag-reference-mode | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:219 | [EXT:coaster-drag-reference-mode] OpenTPW has no display mode, so the drags count the pixels of the original's default 640 x 480 mode on every screen: the pointer is scaled uniformly by the canvas's 4:3 fit (the original's 2048 x 1536 units are square, and the tilt drag mixes both axes through the yaw, 0x4433a7) and the fraction dropped |
| coaster-drag-reference-mode | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:35 | directly. Every sub-mode follows the original's handler (see the comments at each method); the mouse-to-value rates are the original's, per pixel of the original's default 640 x 480 display mode (0x42a760; [EXT:coaster-drag-reference-mode]). |
| coaster-failing-closure-opens | source/OpenTPW/World/Coasters/CoasterBuilder.cs:269 | [EXT:coaster-failing-closure-opens] such a circuit could never complete and took no new pylon: the tool's entry opens it again |
| coaster-fixed-step | source/OpenTPW/World/Coasters/CoasterRide.cs:1036 | [EXT:coaster-fixed-step] the motion tick's frame time is the scaled game clock since the last motion tick, as in the original, with the clock counted in fixed steps (MotionClockLagSeconds: a stretch in state 1 is caught up in one tick, as 0x43ce20 does); what stays OpenTPW's own is only the frame: the original runs one controller tick per rendered frame with that frame's whole milliseconds, OpenTPW one per 60 Hz simulation tick of 1/60 s (docs/DETERMINISM.md: no simulation reads the wall clock), so a frame longer or shorter than a tick hops in other slices, and while the game clock stands still (the game pause 0x4092a0, which freezes 0x785970) the original still runs a zero-time motion tick and the station step on every frame (the call 0x54fa8f to 0x435a30 is gated only by the test at 0x54f8e0: 0x7a1a14 bit 3, which the main window procedure 0x46b600 sets and clears with the application's activation, or 0x7a1a8c bit 0 clear; a zero-time tick caps every train's speed, decays it ×0.95 below 2.0 and stops it below 0.01), where OpenTPW, whose paused park runs no tick, runs none; a sample read past the original's slot n (a stale lead coordinate beyond a shorter track's samples, a car laid out past the end of the list) wraps instead of reading past the list, and the hop time 0/0 of a hop of no length at no speed (impossible with samples 3 units apart), which the original's x87 compare takes as a full hop, is a partial one; the release walk of the train placement (0x43c1f0) over samples rated at speed 0 or infinity, where the original's sum turns NaN or never reaches the release time, stops after a lap that adds no time and takes the crossing sample itself |
| coaster-full-ring | source/OpenTPW/World/Coasters/CoasterRide.cs:843 | [EXT:coaster-full-ring] the original drops a guest handed over to a full ring (it stays on the ride with nobody to let it off); OpenTPW hands it back through COAST 3 so no guest is stranded |
| coaster-full-ring | source/OpenTPW/World/Coasters/CoasterRide.cs:860 | [EXT:coaster-full-ring] the guests that do not fit stay on the admission ring in the original; OpenTPW moves them all (the ring only fills past one train's guests when a whole fleet unloads at once, which the original's own paths never do) |
| coaster-ledger | source/OpenTPW/World/Coasters/CoasterBuilder.cs:531 | [EXT:coaster-ledger] track money is posted as other costs and other income (ParkEconomy), which matches the debit and credit totals, and joins the station's total spent, which is OpenTPW's own extension; the debit's withdrawals gate, last balance and turn-entered-red stamp come from ParkEconomy's posting |
| coaster-ledger | source/OpenTPW/World/Coasters/CoasterRide.cs:1507 | [EXT:coaster-ledger] the money a track cost is OpenTPW's own ledger word (the original keeps none): an imported track was paid for in the saved park, so this session has charged nothing for it |
| coaster-marker-guard | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:124 | <summary>[EXT:coaster-marker-guard] Claim only safe occupancy, even when the preview accepts a foreign marker. Invalid foreign pylons remain in geometry but never own its lease.</summary> |
| coaster-marker-guard | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:150 | [EXT:coaster-marker-guard] Native clear has no owner check. A host replacement invalidates the old generation, even if it reuses the same owner word. |
| coaster-marker-guard | source/OpenTPW/World/ParkCellMap.cs:149 | [EXT:coaster-marker-guard] Derived lease generations, not saved or hashed. |
| coaster-marker-token | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:187 | [EXT:coaster-marker-token] immutable host record replacement preserves the token's stack slot; a native model pointer has no equivalent serialized identity here. |
| coaster-own-save | source/OpenTPW/World/Coasters/CoasterWorld.cs:28 | [EXT:coaster-own-save] the own-format park save holds the tracks, trains, riders and the coaster generator state (CoasterSave, since the park-resume coaster slice); the original's own coaster chunks between EMAK and SAOC are read structurally only (SaveCoasterBlock: header, auxiliary links, sections, links; train payload raw; nonempty TPW runtime import refused) and never written; importing them is a non-goal until someone needs it (the evidence for it would be the train payload layout in the save writer next to the loader 0x437b60) |
| coaster-pylon-fallback | source/OpenTPW/World/Coasters/CoasterDefinition.cs:430 | [EXT:coaster-pylon-fallback] (user-approved 2026-10-30, COAST-015 converted: the original always has its pylon models, so a definition built without game data, in tests and tools, exists only in OpenTPW) without the pylon model (no game data) the pylon mesh heights at loft t = 0 and t = 1 (+188/+192) are taken as fMinHeight and fMaxHeight; ApplyPylonModel replaces them with the model's track dummy heights h0 and h1 when the model is read |
| coaster-resume-reopen | source/OpenTPW/World/Level.Coasters.cs:812 | [EXT:coaster-resume-reopen] a save taken while the coaster tool was open holds the ride out of service (state 2, its object closed); the tool is not open after a load, so the ride is let out as leaving the tool would (0x447520 → 0x4df390; the original's save during the tool is not traced) |
| coaster-rng-seed | source/OpenTPW/World/Coasters/CoasterWorld.cs:36 | [EXT:coaster-rng-seed] the coaster generator starts from the world seed (folded script stream seed) instead of the original's one C-library rand() at world init (0x457a90 → 0x67b5c0, stored at 0x7b0958); the boarding step itself is the original's s = s·0x343fd + 0x269ec3 with (s >> 16) % n (0x43b67f..0x43b69d): a determinism design decision (DET-I2 owns ClibRng) |
| coaster-save-migration | source/OpenTPW/World/Coasters/CoasterTrack.cs:921 | [EXT:coaster-save-migration] OpenTPW's own old-save rule: a track saved before the three-node station keeps its pylons, circuit flags and node marks; the station nodes are the ones the placement built from the station model, the end node of a completed track stands at S0 again, and the controller re-samples the whole circuit (the saved train placement belongs to the old sampling and is dropped by CoasterRide.RestoreSnapshot) |
| coaster-state-clear | source/OpenTPW/World/Coasters/CoasterRide.cs:218 | [EXT:coaster-state-clear] the original does nothing on 4 → 1 and 8 → 1 (cases 4 and 8 of 0x435730 have no state 1 branch); the tool always goes through state 2 first, where 2 → 1 removes the trains, but OpenTPW's headless edits (Reopen, Delete, SetStation) also change an open or closed ride to state 1 and then take the trains off with their riders so none is left on a track that is gone; the power factor reset of 1 → 2 is derived from the ride mode here, and the highlight (0x441840) is not drawn |
| coaster-station-end-click | source/OpenTPW/World/Coasters/CoasterBuilder.cs:204 | [EXT:coaster-closing-check] OpenTPW keeps a close step for a fresh circuit (a click on the station's cells, [EXT:coaster-station-end-click]) and requires two pylons; CloseCircuit validates the closing link and the arrival turn by the validator's rule first (CoasterTrack.CheckClosure), so completion never hands the sampler a closing link of any length; the original completes without such a test |
| coaster-station-end-click | source/OpenTPW/World/Coasters/CoasterTrack.cs:707 | [EXT:coaster-station-end-click] a click on the station's '<' or '>' cell closes the circuit too, as it did when the station's ends were the track's ends; the original's own completion click takes any ride cell (types 4, 9, 10), see CoasterBuilder.Complete |
| coaster-station-frame | source/OpenTPW/World/Coasters/CoasterStationLayout.cs:63 | [EXT:coaster-station-frame] the dummies' positions come from the station model; without it the frame follows the original's layout in every shipped station (End half a cell before the '<' column, Start half a cell past the '>' column, Mid between them, all three at one height); OpenTPW's own stand-in so a track can be built without game data |
| coaster-tool-controls | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:271 | [EXT:coaster-tool-controls] Backspace deletes the last pylon (0x444f30 without a refund): the original reaches that routine only through its undo list (0x52fe50 for tool mode 0x15, called by the ride removal 0x527ee0) and no key or button was found that calls it; the click on the chain start closes the circuit and a second click completes it (EXT coaster-completion-click, CoasterBuilder.Complete) |
| crit-slice-guard | source/OpenTPW.Tests/RideVMInternalsTests.cs:89 | [EXT:crit-slice-guard]: the original would hang here. |
| crit-slice-guard | source/OpenTPW/VM/RideVM.cs:58 | [EXT:crit-slice-guard] the original has no such bound (a script that locks and never unlocks never ends its slice and hangs the game); the guard faults the script instead |
| cross-edition-objects | source/OpenTPW/Audio/ContentSoundRoots.cs:9 | [EXT:cross-edition-objects] OpenTPW's own per-root sound lookup; the original game only ever loads its own data root |
| cross-edition-objects | source/OpenTPW/Audio/ContentSoundRoots.cs:58 | [EXT:cross-edition-objects] OpenTPW's own registry; the original game has one data root |
| cross-edition-objects | source/OpenTPW/Audio/GameAudio.cs:1024 | [EXT:cross-edition-objects] an object from another content root looks the event up in that root's categories only, with no fallback to the running game's |
| cross-edition-objects | source/OpenTPW/Mods/CrossEditionObjects.cs:9 | [EXT:cross-edition-objects] OpenTPW's own id policy; the original catalogue only warns of a repeated Info.Id |
| cross-edition-objects | source/OpenTPW/Mods/ModContentRoots.cs:73 | [EXT:cross-edition-objects] With the extension on, the install of another original game (a mod input that names Theme Park Inc) becomes a sound |
| cross-edition-objects | source/OpenTPW/Mods/ModObjects.cs:60 | [EXT:cross-edition-objects] the one id rule of every mod's range: above the original ids, inside the 16-bit Info.Id of original saves |
| cross-edition-objects | source/OpenTPW/Mods/OfficialExtensions.cs:44 | [EXT:cross-edition-objects] OpenTPW's own extension; neither original game loads another game's objects |
| cross-edition-objects | source/OpenTPW/Render/Assets/Texture.cs:181 | [EXT:cross-edition-objects] Theme Park Inc textures reach a Theme Park World park as `.fsh` and `.tga`, not only `.wct` |
| cross-edition-objects | source/OpenTPW/World/Level.Objects.cs:473 | [EXT:cross-edition-objects] the original sets variable 0 by index (0x0055A0B0); a Theme Park Inc litter bin names it VAR_USE, so the index, not the Theme Park World name, is used |
| cross-edition-objects | source/OpenTPW/World/Objects/ObjectAssets.cs:184 | [EXT:cross-edition-objects] an object read from another game's install (a registered sound root) shares that install's textures: its archive path names the theme |
| cross-edition-objects | source/OpenTPW/World/Objects/ObjectCatalog.cs:706 | [EXT:cross-edition-objects] The objects a mod brings from a Theme Park Inc install (a mod input registered as one, docs/MODS.md) take their names from |
| cross-edition-objects | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:203 | [EXT:cross-edition-objects] a Theme Park Inc ride's event ids belong to Theme Park Inc's catalogues |
| debug-attractions | source/OpenTPW/Client/Game.cs:952 | [EXT:debug-attractions] smoke-only: --debug-attractions ropeswing,jets,wavemachine,spa (or all) places those objects beside the pool through the level's own placement (docs/POOLS.md) |
| debug-attractions | source/OpenTPW/World/Level.PoolAttractions.cs:80 | [EXT:debug-attractions] Smoke-only: places the water attractions of the listed kinds (<c>ropeswing,jets,wavemachine,spa</c> or <c>all</c>) beside the pool cells <paramref name="pool"/> |
| debug-coaster | source/OpenTPW/Client/Game.cs:601 | [EXT:debug-coaster] smoke-only (Debug builds): once the original level is up, builds a small coaster ("built", "open" or "tool": built and taken into the coaster tool, optionally with a coaster |
| debug-coaster | source/OpenTPW/World/Level.Coasters.cs:70 | [EXT:debug-coaster] developer/screenshot helper, not original behaviour: it builds the track for the player without the tool and without charging money |
| debug-evening | source/OpenTPW/Client/Game.cs:553 | [EXT:debug-evening] smoke and performance runs (docs/EVENING.md; also in Release builds, unlike most debug options): --evening-pace <minutes10|minutes20|minutes40|day|dusk|night> sets the evening extension's day cycle for this run only (a run-scoped override in Level, never written to the options, so never saved), and |
| debug-evening | source/OpenTPW/Client/Game.cs:841 | [EXT:debug-evening] smoke-only (Debug builds): --debug-torches N places N of the theme's torches (the evening extension's own, docs/EVENING.md "Torches") through the level's own placement, which charges them, |
| debug-evening | source/OpenTPW/Client/Game.cs:1186 | [EXT:debug-evening] the buy window on one of its tabs (rides, sideshows, shops, features), optionally with one row selected and scrolled into view ("buytab:features:Tiki Torch"), for captures such as the torches in the features |
| debug-evening | source/OpenTPW/World/Evening/EveningLamps.cs:415 | <summary>[EXT:debug-evening] A fixed set of lamp lights that follow the lamp level (the smoke-only <c>--debug-evening-lamps</c> option: many lamps for a performance run).</summary> |
| debug-evening | source/OpenTPW/World/Evening/Level.Evening.cs:13 | [EXT:debug-evening] A pace chosen on the command line (<c>--evening-pace</c>) for this run only: read instead of the option, and never written to <see cref="GameOptions.Current"/>, so it is never saved. |
| debug-evening | source/OpenTPW/World/Evening/Level.Evening.cs:44 | [EXT:debug-evening] Replaces the debug lamp set with <paramref name="count"/> lamp lights (the pool lamp's colour and radius) on a square grid 40 engine units (20 cells) across around <paramref name="centre"/> that |
| debug-forecast | source/OpenTPW/Client/Game.cs:1104 | [EXT:debug-forecast] smoke-only (Debug builds): posts one forecast quality through the simulation's own |
| debug-forecast | source/OpenTPW/World/ParkWeather.cs:199 | Smoke-only (<c>[EXT:debug-forecast]</c>): posts a forecast of <paramref name="quality"/> the warning |
| debug-guest-looks | source/OpenTPW/Client/Game.cs:1035 | [EXT:debug-guest-looks] for captures: dresses the park's guests as they appear, so captures can show the balloons and costumes |
| debug-hud | source/OpenTPW/Client/Game.cs:1158 | [EXT:debug-hud] smoke-only (Debug builds): once the park's HUD is up, runs a list of interface actions for captures (--capture-interface): |
| debug-hud | source/OpenTPW/Client/Game.cs:1223 | [EXT:debug-hud] "patrol:<role>,x0,y0,x1,y1[,hover]" runs the patrol area flow (employee window, patrol button, two map clicks; "hover" stops after the first click with the pointer on the second cell) and "locate:<role>" the staff locator on that role |
| debug-hud | source/OpenTPW/Client/Game.cs:1234 | [EXT:debug-hud] "map[:layers=<n>,staff=<n>,value=<n>]" opens the park map with that layer word, staff role and value mode, for captures |
| debug-hud | source/OpenTPW/Client/SandboxSmokeTest.Staff.cs:64 | [EXT:debug-hud] OPENTPW_STAFF_CAPTURE=1 also saves the world with the interface for each probe (artifacts/native-smoke-staff-<tool>-<probe>.png), for the visual check of the fix |
| debug-hud | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:66 | [EXT:debug-hud] developer/smoke helper, not original behaviour |
| debug-hud | source/OpenTPW/Economy/ParkEconomy.cs:1776 | [EXT:debug-hud] developer/screenshot helper, not original behaviour |
| debug-hud | source/OpenTPW/Economy/ParkEconomy.cs:1789 | [EXT:debug-hud] developer/smoke helper, not original behaviour |
| debug-hud | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:619 | [EXT:debug-hud] developer/smoke helper, not original behaviour (the original's debug menu id 0x186A1 runs the offer 0x5C8140 itself, 0x53523B, without latching a slot) |
| debug-hud | source/OpenTPW/Hud/ParkHud.DebugCapture.cs:6 | [EXT:debug-hud] developer/screenshot helper, not original behaviour |
| debug-hud | source/OpenTPW/Hud/ParkHud.Pools.cs:340 | <summary>[EXT:debug-hud] Smoke-only: selects the first placed wave machine and, unless only <paramref name="select"/>, opens its settings window, for interface captures. False when the park has none.</summary> |
| debug-hud | source/OpenTPW/World/Level.Finale.cs:54 | <summary>[EXT:debug-hud] Builds End as a completion that starts the finale would, without the research or the records (captures); false without an End definition.</summary> |
| debug-hud | source/OpenTPW/World/RideCameraMode.cs:70 | [EXT:debug-hud] developer/screenshot helper, not original behaviour |
| debug-light | source/OpenTPW/Client/Game.cs:816 | [EXT:debug-light] smoke-only: once the original level is up, adds one fixed point light (docs/LIGHTS.md) at x,y,height relative to the park camera's target, in engine units (a cell is 2), with a radius in |
| debug-object-effect | source/OpenTPW/Client/Game.cs:768 | [EXT:debug-object-effect] smoke-only: once the original level is up, builds the first buildable ride that names a build effect on a free cell next to |
| debug-particle | source/OpenTPW/Client/Game.cs:746 | [EXT:debug-particle] smoke-only: once the original level is up, starts template effects (ids, comma separated) at an engine position |
| debug-pool | source/OpenTPW/Client/Game.cs:871 | [EXT:debug-pool] smoke-only: once the original level is up and the opentpw.pools extension is on, paints pool cells through the pool tool's own builder |
| debug-pool | source/OpenTPW/Client/Game.cs:879 | [EXT:debug-pool] a rectangle written with a leading 'r' ("r0,0,8,1") is painted with the river option ([EXT:pools-river]): its cells carry the lazy river's flag |
| debug-pool | source/OpenTPW/Client/Game.cs:886 | [EXT:debug-pool] --debug-pool-lead N: the frames between painting the pool and the capture (default 59), so a capture can show swimmers after they have swum for a while (docs/POOLS.md) |
| debug-pool | source/OpenTPW/Client/Game.cs:889 | [EXT:debug-pool] --debug-pool-at N builds the pool (and what follows it) at frame N instead of the lead before the capture, so swimmers and riders have time to act |
| debug-pool | source/OpenTPW/Client/Game.cs:906 | [EXT:debug-pool] --debug-pool-offset dx,dy moves the place the shape is looked for from the camera target by whole cells (so a capture can frame a changing room beside the pool) |
| debug-pool | source/OpenTPW/Client/Game.cs:931 | [EXT:debug-pool] --debug-bridge-bare lays no path at the bridge's ends; --debug-bridge-direction N (0 north, 1 east, 2 south, 3 west) restricts the direction |
| debug-pool | source/OpenTPW/Client/Game.cs:1785 | [EXT:debug-pool] --debug-extras: one of each pool extra beside the pool (the shower needs the room first) |
| debug-pool | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:194 | [EXT:debug-pool] Smoke-only (<c>--debug-swimmers</c>, docs/POOLS.md): puts <paramref name="count"/> new guests into the water of a changing room at once, as if they had just changed, so a capture shows swimmers |
| debug-pool | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:475 | [EXT:debug-pool] Smoke-only (<c>--debug-extras</c>) and tests: puts a swimmer into the activity at once if the activity has an offer for it (so a capture shows the activity without waiting for the cadence). |
| debug-pool | source/OpenTPW/World/Level.Objects.cs:608 | [EXT:debug-pool] Smoke-only: builds the theme's changing room through the level's own placement (it is charged, and the pool at its back is the placement rule) at the first anchor and rotation, |
| debug-pool | source/OpenTPW/World/Level.Objects.cs:626 | [EXT:debug-pool] Smoke-only (<c>--debug-extras</c>): builds one of each pool extra of the theme through the level's own placement (charged, with its rule) at the first anchor and rotation, within |
| debug-pool | source/OpenTPW/World/Level.Slides.cs:111 | [EXT:debug-pool] Smoke-only (<c>--debug-slide</c>): builds the theme's slide tower of the profile through the level's own placement (charged; it needs pool water at its front) at the first anchor and |
| debug-pool | source/OpenTPW/World/Pools/Slides/PoolSlideRoutes.cs:7 | [EXT:debug-pool] smoke-only helper of the capture options; the original game has no pools |
| debug-sim-minutes | source/OpenTPW/Client/Game.cs:995 | [EXT:debug-sim-minutes] smoke-only: once the original level is up, runs its fixed-step simulation (guests, ride scripts, economy) for that many park minutes |
| debug-slide | source/OpenTPW/Client/Game.cs:955 | [EXT:debug-slide] smoke-only: --debug-slide flume|tube builds a slide tower beside the pool and lays a valid slide from it into the water (docs/POOLS.md, "Water slides") |
| debug-slide | source/OpenTPW/Client/Game.cs:1803 | <summary>[EXT:debug-slide] Builds a slide tower of the profile beside the pool cells <paramref name="pool"/> and its slide (<see cref="Level.BuildSlideBeside"/>); the swimmers then take it like any guest.</summary> |
| debug-snow-cover | source/OpenTPW.Web/Program.Perf.cs:383 | [EXT:debug-snow-cover] The browser twin of the desktop's <c>--debug-snow-cover</c> (docs/WINTER.md): holds the settled snow cover of the park at <paramref name="cover"/> (0..1) every frame, so a capture shows the snow in |
| debug-snow-cover | source/OpenTPW/Client/Game.cs:656 | [EXT:debug-snow-cover] smoke-only: sets the settled snow cover (0..1) of the park as soon as it exists, so captures can show full cover (or its melt, with the weather dry) without waiting for |
| debug-staff | source/OpenTPW/Client/Game.cs:1071 | [EXT:debug-staff] for captures: once the park is up, hires a handyman, a mechanic, a guard and a researcher and puts them on valid cells round the entrance (cell 47, 17) or the cell of --debug-staff-at, |
| debug-swimmers | source/OpenTPW/Client/Game.cs:948 | [EXT:debug-swimmers] smoke-only: --debug-swimmers N builds a changing room beside the pool (through the level's own placement, which charges it and needs the pool at its back) and |
| debug-swimmers | source/OpenTPW/Client/Game.cs:1775 | <summary>[EXT:debug-swimmers] Builds a changing room beside the pool cells <paramref name="pool"/> (<see cref="Level.BuildChangingRoomBeside"/>) and starts <paramref name="swimmers"/> guests in its water.</summary> |
| debug-tpi-forecast | source/OpenTPW/Client/Game.cs:1123 | [EXT:debug-tpi-forecast] smoke-only (Debug builds): posts one of the four traced Theme Park Inc weather |
| debug-tpi-storm | source/OpenTPW/Client/Game.cs:1142 | [EXT:debug-tpi-storm] smoke-only (Debug builds): puts the Science park's weather into a storm with a due |
| debug-umbrellas | source/OpenTPW.Web/Program.Perf.cs:294 | [EXT:debug-umbrellas] The browser twin of the desktop's Debug-build <c>--debug-umbrellas</c> (a capture aid for tools/web-perf, scenario <c>umbrellas</c>): gives every guest an open umbrella (colour from its id) and keeps it open every frame, |
| debug-umbrellas | source/OpenTPW.Web/Program.Perf.cs:329 | [EXT:debug-umbrellas] Stops <see cref="PerfUmbrellas"/> holding every umbrella open and holding the camera (the umbrellas stay as they are until the simulation or <see cref="PerfUmbrellaCrowd"/> changes them): the winterCost |
| debug-umbrellas | source/OpenTPW/Client/Game.cs:673 | [EXT:debug-umbrellas] smoke-only (Debug builds): gives every guest an open umbrella (colour from its id, so all three show) and keeps it open, so a capture shows the umbrellas without a brolly shop, |
| debug-umbrellas | source/OpenTPW/Client/Game.cs:679 | [EXT:debug-umbrellas] --debug-umbrellas-crowd N (with --debug-umbrellas, a measurement aid like the browser harness's PerfUmbrellaCrowd): once, when the park's guests exist, adds N guests on the walkable path cells |
| debug-water-track | source/OpenTPW/Client/Game.cs:583 | [EXT:debug-water-track] smoke-only (Debug builds; --debug-kart-track places the go-kart ride instead): once the original level is up, places a track ride with a closed circuit near the |
| debug-water-track | source/OpenTPW/World/Level.Tracks.cs:752 | [EXT:debug-water-track] developer/screenshot helper, not original behaviour: it clicks the track tool for the player |
| debug-water-track | source/OpenTPW/World/Level.Tracks.cs:812 | [EXT:debug-water-track] developer/screenshot helper, not original behaviour: it clicks the add-on tool for the player |
| debug-weather | source/OpenTPW/Client/Game.cs:637 | [EXT:debug-weather] smoke-only (Debug builds): applies one weather quality through the simulation's own |
| debug-winter | source/OpenTPW.Web/Program.Perf.cs:347 | [EXT:debug-winter] The browser twin of the desktop's Debug-build <c>--debug-winter</c> (a capture aid for tools/web-perf, scenario <c>winter</c>): dresses every guest in a head item (by its id) and mittens (all but every fourth guest) every frame, |
| debug-winter | source/OpenTPW/Client/Game.cs:713 | [EXT:debug-winter] smoke-only (Debug builds): dresses every guest in warm items. --debug-winter alone gives a head item by the guest's id (HeadItemOf) and mittens on all but every fourth guest, so a capture shows hats, earmuffs, |
| delimiter-split-for-tools | source/OpenTPW.Files/Formats/Save/SavePayloadLayout.cs:165 | [EXT:delimiter-split-for-tools] (user-approved 2026-10-30, SAVE-011 converted: tools and synthetic payloads exist only in OpenTPW; the park import passes the coaster types and ends the block where its reader stops) a Coasters block with a coaster whose type the caller does not give (a payload split without the park's coaster types, or a station that is no single saved attraction of a World the readers measure), and a World block that does not read as the original's (a synthetic payload), are located by their delimiter's bytes: a payload that splits in more than one way there, or holds the COAS (or such a World's WRLD) delimiter's bytes more than MaximumDelimiterOccurrences times, is rejected, while tp.exe's loader 0x415270 runs each block's reader and then compares the next 4 bytes with its tag (0x415371), never searching, so a tool that splits a payload without the park's object catalogue takes this fallback |
| deterministic-math | source/OpenTPW/Economy/ParkLedger.cs:200 | [EXT:deterministic-math] the C runtime's pow in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/Utils/DetMath.cs:26 | [EXT:deterministic-math] simulation code evaluates the elementary functions here, in IEEE double with a fixed order of operations, so every runtime computes the same bits; tp.exe evaluates them on the x87 in extended precision (fsin, fpatan, fyl2x) or calls its C runtime (pow, acos). User decision, 2026-10-19: "Als EXT: deterministic-math". The start-up tables built with it equal the original's and keep their binary-evidence labels. |
| deterministic-math | source/OpenTPW/Utils/DetMatrix.cs:13 | [EXT:deterministic-math] the composition follows the row-vector convention of System.Numerics with each product and each sum rounded to single precision, left to right; tp.exe composes its node matrices on the x87 (0x46f650 and its relatives) |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterCarBend.cs:45 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterCarBend.cs:124 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterCurve.cs:257 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterCurve.cs:325 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterRating.cs:340 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterTrack.cs:1422 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterTrack.cs:1450 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterTrack.cs:1466 | [EXT:deterministic-math] the x87's fpatan, fsin and fcos in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterX87.cs:52 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Coasters/CoasterX87.cs:106 | [EXT:deterministic-math] fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Guests/GuestSimulation.cs:3445 | [EXT:deterministic-math] the turn of the heading vector in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Guests/HeadingAngle.cs:56 | [EXT:deterministic-math] the sine and cosine of the quantised angle in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Guests/SideshowWin.cs:16 | [EXT:deterministic-math] the x87's fyl2x in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:61 | [EXT:deterministic-math] the sine and cosine of the quantised angle in IEEE double by DetMath, the same bits on every runtime (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Guests/WalkerBodies.cs:42 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Tours/TourController.cs:814 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Tours/TourController.cs:1014 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Tracks/BumpMath.cs:33 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Tracks/BumpMath.cs:37 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| deterministic-math | source/OpenTPW/World/Tracks/BumpMath.cs:41 | [EXT:deterministic-math] the x87's fpatan in IEEE double by DetMath, the same bits on every runtime, not in x87 extended precision (docs/DETERMINISM.md, "Browser and native") |
| dev-one-click-remove | source/OpenTPW.Tests/QueueRemovalCommandTests.cs:439 | [EXT:dev-one-click-remove] [EXT:queue-backtrack] the original's guest policy: the cells go, no guest is written, and the re-evaluation dismisses the guests beyond the room where they stand |
| dev-one-click-remove | source/OpenTPW/World/Level.Objects.cs:1497 | [EXT:dev-one-click-remove] [EXT:queue-backtrack] the guests keep their place as the original's clear leaves them (it writes no guest): the re-evaluation RemoveFrom ran dismisses them by place alone (0x4DE1F0, 0x501390); the ride's entrance resolves again when it used one of the cells |
| dev-one-click-remove | source/OpenTPW/World/Level.Objects.cs:1996 | [EXT:dev-one-click-remove] the developer panel's one-click remove tool takes whatever stands on the clicked cell (an object, else a queue cell, else a path cell); the original removes each through its own tool (the bulldozer 0x52BDD0, the queue and path tools' undo, the sale of a ride) and has no combined click |
| developer-prototype | source/OpenTPW/Economy/ParkEconomyRuntime.cs:82 | [EXT:developer-prototype] the developer prototype ride is registered uncharged (no original counterpart) |
| developer-prototype | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:83 | [EXT:developer-prototype] the prototype ride lives beside the object world; Level.ListAttractions is where both sources merge |
| developer-prototype | source/OpenTPW/World/Commands/ParkCommand.cs:429 | <summary>[EXT:developer-prototype] Places the developer prototype ride at the engine position (<paramref name="X"/>, <paramref name="Y"/>, <paramref name="Z"/>), stored by bit pattern.</summary> |
| developer-prototype | source/OpenTPW/World/Commands/ParkCommand.cs:442 | <summary>[EXT:developer-prototype] Removes the developer prototype ride.</summary> |
| developer-prototype | source/OpenTPW/World/Commands/ParkCommand.cs:449 | <summary>[EXT:developer-prototype] Opens (<paramref name="Running"/> true) or closes the developer prototype ride: the developer panel's open and close button.</summary> |
| developer-prototype | source/OpenTPW/World/Guests/GuestSimulation.cs:3755 | A bridge without a placed object (test rigs, the measurement scenarios, [EXT:developer-prototype]) has no exit cell of its own: it lets off in the cell it takes its guests in and names the cell beyond as its ExitCell |
| developer-prototype | source/OpenTPW/World/Level.Objects.cs:2003 | [EXT:developer-prototype] Sandbox Totem blocks cells whose centres lie within its 6×8-unit model box (no original counterpart) |
| developer-prototype | source/OpenTPW/World/Level.Objects.cs:2380 | [EXT:developer-prototype] When the economy refuses the Totem (e.g. Research.Group 4 not yet researched), the developer prototype is registered uncharged (no original counterpart) |
| developer-prototype | source/OpenTPW/World/Level.Resume.cs:449 | [EXT:developer-prototype] a prototype saved before the build laid its stand cell gets it at load (a cell that holds a type is left as it is) |
| developer-prototype | source/OpenTPW/World/Level.Selection.cs:47 | [EXT:developer-prototype] the developer prototype (PlacedRide) is no placed thing of the catalogue: it has no entry the select could map |
| developer-prototype | source/OpenTPW/World/Level.Staff.cs:145 | [EXT:developer-prototype] the Sandbox Totem, pool slides' reserved land and pool bridges' reserved cells have no cell types |
| developer-prototype | source/OpenTPW/World/Level.cs:1292 | [EXT:developer-prototype] the prototype has no placement that lays access cells, so the cell a called guest's search walks into (state 13) is laid here the way a build lays an entrance |
| developer-prototype | source/OpenTPW/World/Level.cs:1445 | [EXT:developer-prototype] the original window had no developer prototype to list; the Totem joins the placed rides as one more row |
| developer-prototype | source/OpenTPW/World/PrototypeRide.cs:13 | [EXT:developer-prototype] Sandbox Totem bounds check uses a 5-unit radius around its centre (no original counterpart) |
| developer-prototype | source/OpenTPW/World/ThingPool.cs:45 | [EXT:developer-prototype] [EXT:online-visit-presence] [EXT:online-coop-presence] what the original builds that OpenTPW does not takes no slot: the developer prototype ride (OpenTPW only) and the online persons and avatars (drawn as presence figures, user-approved 2026-10-16); [EXT:resume-exact-thing-pool] an imported save's not-yet-rebuilt things hold a placeholder slot, see Hold (user-approved 2026-10-17: the original's thing would run on and be destroyed in time, and what each placeholder stands for is tracked by the SAVE IDs) |
| display | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:471 | [EXT:display] these rows are OpenTPW's own texts (window mode, scales, language, extensions): in some languages they are wider than the authored label box, so they are not cut off at it |
| display | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:477 | [EXT:display] window mode, upscaling, render scale and interface scale rows are OpenTPW extensions |
| drawer-window | source/OpenTPW/Hud/ParkHud.Map.cs:139 | [EXT:drawer-window] the map is a window that opens and closes at once where the original slides a drawer out of the main panel (docs/AUDIO.md; UI register) |
| drawer-window | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:87 | [EXT:drawer-window] the research screen is a window that opens and closes at once where the original slides a drawer out of the main panel (docs/AUDIO.md; UI register) |
| entry-price-window | source/OpenTPW/Hud/ParkHud.Management.cs:14 | [EXT:entry-price-window] the entry-price window is a host layout over the economy values, a design choice: the original's table 0x751798 (window 0x4f3aa (328,130)-(1720,901), the |
| evening | source/OpenTPW.Tests/DeterminismTests.cs:267 | [EXT:evening] The evening and night extension is presentation only: a park run with it on, with the day cycle stepping beside the simulation the way Level.Update does, ends with the |
| evening | source/OpenTPW.Tests/EveningTests.cs:17 | [EXT:evening] The evening and night extension (docs/EVENING.md): the time-of-day curves, the play-time clock, the options value and its file, the lamp table, the lamps' resolution against |
| evening | source/OpenTPW.Tests/NativeWorldShaderRenderTests.cs:109 | [EXT:evening] At night a self-lit material that is no light source takes the night tint of the extension's other unlit content (the sprites'), which ModelEntity writes into the camera position that |
| evening | source/OpenTPW/Client/GameFlow.cs:1209 | [EXT:evening] at dusk and night the evening extension darkens it (the level's WorldBackdropColour; the same colour at day) |
| evening | source/OpenTPW/Mods/FeatureGates.cs:84 | [EXT:evening] The <c>opentpw.evening</c> extension is on for this run (on by default): the park has a day and night cycle and its lamps (docs/EVENING.md), which are presentation only (at night the self-lit materials that are no light source take the pool water's night tint, glows, flames, coals, lava and lamps stay full-bright), and the catalogs list the extension's torches (recorded in a save only while the park holds one). |
| evening | source/OpenTPW/Mods/OfficialExtensions.cs:110 | [EXT:evening] OpenTPW's own extension; the original game's parks are always in daylight |
| evening | source/OpenTPW/Render/ObjectUniformBuffer.cs:56 | [EXT:evening] The share of the original's 0.4 ambient light the lit shaders keep (<c>g_flAmbientLevel</c>, the padding after the sun position): 0 means unchanged, which is what the |
| evening | source/OpenTPW/Render/ObjectUniformBuffer.cs:76 | [EXT:evening] The tint the evening extension gives a pre-rendered sprite at dusk and night, through the light colour the sprite shader never used (all zero: no tint). At full day the buffer |
| evening | source/OpenTPW/Render/TextureSlotAddressing.cs:46 | [EXT:evening] OpenTPW's vertex flag for a corner of a self-lit material that is a light source itself (<see cref="IsLightSource"/>): at night it stays full-bright while the other self-lit |
| evening | source/OpenTPW/Render/TextureSlotAddressing.cs:70 | [EXT:evening] Whether a self-lit material's texture name is a real light source: glow, flame, fire, torch, lamp, light, coal or lava in the name (user decisions of October 27, 2026: the glowing coals and the lava are glowing fire). Over the original files these |
| evening | source/OpenTPW/UI/Original/Options/GameOptions.cs:72 | [EXT:evening] How the evening and night extension's day cycle runs while that extension is on (docs/EVENING.md): a full day and night in 10, 20 or 40 minutes of play, or always day, dusk or night. |
| evening | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:89 | <summary>[EXT:evening] The value text of the day cycle row: the cycle length in minutes of play, or the fixed look.</summary> |
| evening | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:550 | [EXT:evening] the day cycle of the evening and night extension (docs/EVENING.md): 10, 20 or 40 minutes of play for a full day and night, or always day, dusk or night. Presentation only, used while the extension is on. |
| evening | source/OpenTPW/UI/Original/SupplementaryStrings.cs:324 | [EXT:evening] the evening and night extension: its name and description on the mods screen and the OpenTPW page's day cycle row (docs/EVENING.md) |
| evening | source/OpenTPW/UI/Original/SupplementaryStrings.cs:1075 | [EXT:evening] the evening and night extension (docs/EVENING.md) |
| evening | source/OpenTPW/World/Coasters/CoasterRenderer.cs:284 | [EXT:evening] Reuse the existing light-source policy: other self-lit textures take the night tint, just like self-lit model materials. |
| evening | source/OpenTPW/World/Entity/ModelEntity.cs:57 | [EXT:evening] Whether the evening extension darkens this entity at dusk and night (the sun colour and the ambient it draws with). The build tools' placement markers say no, so they stay readable. |
| evening | source/OpenTPW/World/Entity/ModelEntity.cs:123 | [EXT:evening] test.shader never reads the camera position: at dusk and night it carries the tint of a self-lit material that is no light source (the shader reads it only while the tinted ambient is set) |
| evening | source/OpenTPW/World/Entity/ModelEntity.cs:127 | [EXT:evening] g_flAmbientLevel: 0 (unchanged) unless the evening extension has darkened the park |
| evening | source/OpenTPW/World/Entity/ModelEntity.cs:132 | [EXT:evening] test.shader's tinted ambient (zero at day and with the extension off) |
| evening | source/OpenTPW/World/Evening/EveningCycle.cs:8 | [EXT:evening] OpenTPW's own evening and night extension (docs/EVENING.md). The original game's parks are always in daylight: its theme .sam files carry an ambient and a |
| evening | source/OpenTPW/World/Evening/EveningCycle.cs:91 | <summary>[EXT:evening] The night tint of the self-lit materials that are no light source (water, signs, lava, beams, panels): the pool water's (<see cref="WaterTint"/>), the extension's other unlit content, which keeps a river as dark as the lit art round it; the sprites' own tint is brighter.</summary> |
| evening | source/OpenTPW/World/Evening/EveningLamps.cs:8 | [EXT:evening] The lamps of the evening extension (docs/EVENING.md): point lights (docs/LIGHTS.md) that OpenTPW attaches to objects from a data table, |
| evening | source/OpenTPW/World/Evening/Level.Evening.cs:5 | [EXT:evening] The park's time of day (docs/EVENING.md): presentation only. The clock advances with the play time, the look it gives (the sun, the ambient, the tints) is read by the renderer, and |
| evening | source/OpenTPW/World/Level.Sky.cs:22 | [EXT:evening] The backdrop and fog colour the world pass really uses: <see cref="BackdropColour"/> at full day (and with the extension off), darkened and tinted by the look of the moment at dusk and night. |
| evening | source/OpenTPW/World/Original/BlueprintMarkers.cs:55 | <summary>[EXT:evening] The placement markers keep their daylight look at night so they stay readable.</summary> |
| evening | source/OpenTPW/World/Particles/ParticleRenderer.cs:455 | [EXT:evening] the world's alpha-blended and opaque particles (smoke, dust, steam) take the sprite tint at dusk and night like the guests do; the additive ones (fire, sparks, fireworks) |
| evening | source/OpenTPW/World/Pools/PoolRenderer.cs:27 | [EXT:evening] at dusk and night the lit parts keep a share of the ambient and the water's colours darken; at day (or with the extension off) all of this is as it was |
| evening | source/OpenTPW/World/Sky.cs:661 | [EXT:evening] the sky's tint at dusk and night rides in the light colour particle.shader never used (zero: no tint) |
| evening-torches | source/OpenTPW.Tests/EveningTorchTests.cs:16 | [EXT:evening-torches] user-approved 2026-10-19: OpenTPW's own shipped content; neither Theme Park World nor Theme Park Inc ships anything of it |
| evening-torches | source/OpenTPW/Client/ParkResumeSmokeTest.Fixture.cs:99 | the pools extension's objects need water beside them: the generic fixture picks from the original's objects ([EXT:evening-torches] the evening extension's torches, at 50 the cheapest feature, likewise) |
| evening-torches | source/OpenTPW/Mods/ModContentRoots.cs:122 | [EXT:evening-torches] the evening extension's own objects (the torches) follow as a root of the id opentpw.evening while the extension is on |
| evening-torches | source/OpenTPW/Mods/OfficialExtensions.cs:111 | [EXT:evening-torches] user-approved 2026-10-19 ("Onderdeel van de avondextensie"): the torches belong to this extension, which therefore changes the simulation while a park holds one |
| evening-torches | source/OpenTPW/World/Evening/EveningContent.cs:11 | [EXT:evening-torches] user-approved 2026-10-19 ("Themavarianten", "Goedkoop, als een bankje"): OpenTPW's own shipped torches; neither Theme Park World nor Theme Park Inc ships anything of it |
| evening-torches | source/OpenTPW/World/Evening/EveningLamps.cs:149 | [EXT:evening-torches] the extension's own torches are matched by their content root's id, so an original or a mod's object of the same archive name never gets their light |
| evening-torches | source/OpenTPW/World/Objects/ObjectCatalog.cs:396 | [EXT:pools-content] the pools extension's own objects (and [EXT:umbrellas-content] the umbrellas' [EXT:winter-content] the winter extension's and [EXT:evening-torches] the evening extension's torches) are no mod, so the mods digest in the key does not tell whether they are listed: the key does |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningFlames.cs:5 | [EXT:evening-torches-flicker] user-approved 2026-10-19 ("Alleen licht en sfeer"; a deterministic flicker preferred): the torches' flames move and their light dips, presentation only. Nothing here reads or writes |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningLamps.cs:56 | <summary>[EXT:evening-torches-flicker] The largest flicker of a light: its colour never dips below half.</summary> |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningLamps.cs:170 | [EXT:evening-torches-flicker] a node of the row's objects that the extension animates as a flame (presentation only) |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningLamps.cs:217 | [EXT:evening-torches-flicker] the share by which the light dips as it flickers (presentation only) |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningLamps.cs:310 | <param name="seconds">[EXT:evening-torches-flicker] The presentation clock a flickering light follows (<see cref="TorchFlicker.At"/>); without it a flickering light is steady.</param> |
| evening-torches-flicker | source/OpenTPW/World/Evening/EveningLamps.cs:401 | [EXT:evening-torches-flicker] a flickering light dips with the flame it stands on (the same seed and clock), presentation only |
| evening-torches-flicker | source/OpenTPW/World/Evening/Level.Evening.cs:72 | [EXT:evening-torches-flicker] the torches' flames and the play-time clock their flicker follows (it runs at every pace, the fixed looks too, and stands still while the park is paused) |
| evening-torches-flicker | source/OpenTPW/World/Evening/Level.Evening.cs:76 | <summary>[EXT:evening-torches-flicker] The play time the torches' flicker follows, in seconds since the park started with the extension on (presentation only, never saved).</summary> |
| evening-torches-flicker | source/OpenTPW/World/Objects/ObjectRenderParts.cs:55 | [EXT:evening-torches-flicker] a node the evening lamp table names as a flame (a torch's) is moved and hidden by the evening extension each frame (EveningFlames), so it stays a separate part too |
| evening-torches-flicker | source/OpenTPW/World/Objects/OriginalObject.cs:627 | [EXT:evening-torches-flicker] presentation-only local transforms of model nodes (the evening torches' flames, EveningFlames), null for a node drawn hidden: applied on the drawn parts only, never to the animator, the runtime, |
| evening-torches-flicker | source/OpenTPW/World/Objects/OriginalObject.cs:636 | [EXT:evening-torches-flicker] Draws the parts of model node <paramref name="node"/> with <paramref name="local"/> applied in the node's own frame before its pose (a flame scaled about its base), or hides them when it is null |
| evening-torches-flicker | source/OpenTPW/World/Objects/OriginalObject.cs:639 | <summary>[EXT:evening-torches-flicker] Takes away the presentation transform of <paramref name="node"/> (<see cref="SetPresentationNodeTransform"/>): its parts are drawn at the animator's pose again, hidden only when the animator hides them.</summary> |
| evening-torches-save | source/OpenTPW/Client/SandboxSmokeTest.Objects.cs:154 | [EXT:evening-torches-save] a torch makes the park record opentpw.evening, which the smoke's export of the park would refuse |
| evening-torches-save | source/OpenTPW/Online/ParkSharing.cs:58 | [EXT:evening-torches-save] opentpw.evening counts only while the park holds a torch |
| evening-torches-save | source/OpenTPW/World/Level.Resume.cs:230 | [EXT:evening-torches-save] opentpw.evening likewise: recorded while the park holds a torch |
| evening-torches-save | source/OpenTPW/World/ParkResumeMods.cs:49 | does not record it), and [EXT:evening-torches-save] <c>opentpw.evening</c>, recorded when the park holds a torch. A park that does not use one saves byte-identically whether it is on or off, and loads whether it is on or off |
| evening-torches-save | source/OpenTPW/World/ParkResumeMods.cs:82 | <param name="evening">[EXT:evening-torches-save] The park holds a torch (<see cref="EveningInUse"/>).</param> |
| evening-torches-save | source/OpenTPW/World/ParkResumeMods.cs:114 | [EXT:evening-torches-save] user-approved 2026-10-19 (used-only, like the umbrellas): whether a park uses the evening extension's simulation side, which is only its torches (<paramref name="placed"/>, the entries of its objects; |
| evening-torches-save | source/OpenTPW/World/ParkResumeMods.cs:146 | <summary>[EXT:evening-torches-save] Whether a placed object is one of the evening extension's own (a torch).</summary> |
| explicit-world-seed | source/OpenTPW/World/WorldSeed.cs:9 | [EXT:explicit-world-seed] runs take an explicit world seed (default 0x5450574775657374) instead of the original's time(NULL)/timer seeds; no original seed is "the" seed, so this is OpenTPW's replay policy (DET-002 reclassified) |
| extension-online-gate | source/OpenTPW.Web/Program.cs:171 | [EXT:extension-online-gate] no online folder while the opentpw.online extension is off (docs/MODS.md) |
| extension-online-gate | source/OpenTPW/Client/Game.cs:297 | [EXT:extension-online-gate] with opentpw.online disabled the online command-line tools refuse and no online folder is set up |
| extension-online-gate | source/OpenTPW/Client/GameFlow.cs:1328 | [EXT:extension-online-gate] with the online extension off, the lobby's original globe button (b_worldview), Go Online, Publish Park and the postcard entries are hidden; the original always showed them |
| extension-online-gate | source/OpenTPW/World/Level.cs:1347 | [EXT:extension-online-gate] the online folder and the developer online panel exist only while the online extension is on |
| extensions-apply-at-load | source/OpenTPW.Tests/ExtensionsApplyAtLoadTests.cs:19 | [EXT:extensions-apply-at-load] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten") |
| extensions-apply-at-load | source/OpenTPW.Tests/ModsScreenTests.cs:454 | [EXT:extensions-apply-at-load] the screen gets the flow's way to apply extension choices without a restart |
| extensions-apply-at-load | source/OpenTPW.Tests/SaveExtensionSwitchTests.cs:18 | [EXT:save-extension-switch] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"); [EXT:extensions-apply-at-load] the same approval: a switched extension applies without a restart |
| extensions-apply-at-load | source/OpenTPW.Web/Browser/Page.cs:24 | [EXT:extensions-apply-at-load] Asks the page to fetch the pools extension's sprite sets now (docs/POOLS.md, "Content", the browser's sprite sets): the extension was switched on after the start, at a park load or on the |
| extensions-apply-at-load | source/OpenTPW.Web/Program.cs:151 | [EXT:extensions-apply-at-load] a park load or the Extensions and mods screen switched the pools extension on after the start: the page fetches its sprite sets now (the start's fetch skipped them) |
| extensions-apply-at-load | source/OpenTPW.Web/Program.cs:247 | <summary>[EXT:extensions-apply-at-load] Whether a pinned sprite file is already stored, so a fetch started again after an extension switch skips it.</summary> |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:8 | extensions the park uses, instead of refusing (docs/MODS.md, "Loading a park with other extensions"); [EXT:extensions-apply-at-load] a content extension switched on here applies at once, without a restart |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:15 | [EXT:extensions-apply-at-load] The official extensions that still need a new start to switch (docs/MODS.md, "When a change applies"): the online extension, whose online folders and command-line tools are |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:20 | <summary>[EXT:extensions-apply-at-load] Extension choices made while a park runs: they become active when the park is left or another park is loaded (<see cref="ApplyPendingExtensions"/>).</summary> |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:23 | <summary>[EXT:extensions-apply-at-load] The extensions the next park start or load uses: the active set with the choices still waiting for the running park to end.</summary> |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:27 | [EXT:extensions-apply-at-load] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"): official extensions switched on the Extensions and mods screen (id to on; <c>mods.json</c> is already written) apply |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:69 | <summary>[EXT:extensions-apply-at-load] Makes the waiting extension choices active; call it only where no park simulates (the lobby, or right before a park is built).</summary> |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ParkBuild.cs:66 | [EXT:extensions-apply-at-load] from the lobby (no park simulates) a new park is built with the extension choices waiting; a park still running keeps its set until it is left |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.ParkBuild.cs:75 | [EXT:extensions-apply-at-load] with extension choices waiting while a park runs (a shipped park, the sandbox or a visit started from inside a park), the new park is built in one go, as for a waiting |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.Resume.cs:34 | [EXT:extensions-apply-at-load] extension choices made in the park being left apply to the park this load builds (a restart reloads the same park and keeps its set); a failed load keeps them waiting |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.cs:200 | [EXT:extensions-apply-at-load] extension choices made in the park just left are active in the lobby and for the next park |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.cs:283 | [EXT:extensions-apply-at-load] extensions switched on the Extensions and mods screen apply at the next park start or load |
| extensions-apply-at-load | source/OpenTPW/Client/GameFlow.cs:390 | [EXT:extensions-apply-at-load] the new park is built with the extension choices made in the park just left |
| extensions-apply-at-load | source/OpenTPW/Client/ParkResumeSmokeTest.cs:54 | asks through the extension switch dialog, its tick switches the extension back on ([EXT:extensions-apply-at-load], no restart) and the park loads; the boundary and every continuation tick must then |
| extensions-apply-at-load | source/OpenTPW/Mods/ModSet.cs:162 | [EXT:extensions-apply-at-load] This set with official extensions switched on or off (<paramref name="changes"/>, id to on), for a change that applies at the next park load instead of the next start |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:8 | ([EXT:extensions-apply-at-load], <see cref="ApplyExtensions"/>). Mods are data only: nothing is loaded or executed; their overrides, |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:33 | <summary>[EXT:extensions-apply-at-load] The ids switched on for this run with <c>--enable-mod</c>: the Extensions and mods screen leaves a change to one of them to the next start (the command line wins for the run).</summary> |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:37 | [EXT:extensions-apply-at-load] Raised after official extensions were switched without a new start (<see cref="ApplyExtensions"/>), with the set now active: the browser host fetches the pools extension's sprite sets |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:43 | [EXT:extensions-apply-at-load] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"): <paramref name="active"/> with official extensions switched on or off for this run, without a new start |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:57 | [EXT:extensions-apply-at-load] Makes <paramref name="set"/> the active set of this run: the feature gates, the official extensions' catalog content roots (pools, umbrellas, winter) and the mods' hooks, which are |
| extensions-apply-at-load | source/OpenTPW/Mods/ModStartup.cs:69 | <summary>[EXT:extensions-apply-at-load] Writes extension choices to <c>mods.json</c> at <paramref name="path"/> as the Extensions and mods screen does, keeping every other choice in the file.</summary> |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/ModsScreen.cs:5 | <summary>[EXT:extensions-apply-at-load] When extension choices made on the Extensions and mods screen take effect.</summary> |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/ModsScreen.cs:37 | [EXT:extensions-apply-at-load] Applies the official extensions the player switched (id to on) without a restart where it can and says when they take effect (the game's flow, |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/ModsScreen.cs:57 | <see cref="ModSet"/> with the pending choices. OK writes <c>mods.json</c>; [EXT:extensions-apply-at-load] official extensions switched on or off apply at the next park start or load without |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/ModsScreen.cs:382 | [EXT:extensions-apply-at-load] the official extensions this screen switched (against mods.json as it was), which may apply without a restart |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/ModsScreen.cs:410 | [EXT:extensions-apply-at-load] extensions alone apply without a restart where the flow can switch them; a community mod or an input needs the next start for everything |
| extensions-apply-at-load | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:21 | <summary>[EXT:extensions-apply-at-load] Passed to the Extensions and mods screen (<see cref="ModsServices.ApplyExtensions"/>); null: every change there applies at the next start.</summary> |
| extensions-apply-at-load | source/OpenTPW/UI/Original/SupplementaryStrings.cs:437 | <summary>[EXT:extensions-apply-at-load] The Extensions and mods screen's notice when only extensions changed and no park runs: they apply to the next park, no restart.</summary> |
| extensions-apply-at-load | source/OpenTPW/UI/Original/SupplementaryStrings.cs:439 | <summary>[EXT:extensions-apply-at-load] The same notice while a park runs: the changes apply when the player leaves it or loads another park.</summary> |
| extensions-apply-at-load | source/OpenTPW/World/Pools/PoolSpriteDelivery.cs:170 | <summary>[EXT:extensions-apply-at-load] Forgets that the page gave up, before it fetches the sets again (the extension was switched on after the start, whose fetch skipped them).</summary> |
| fade-poll-host-timing | source/OpenTPW/Audio/HeldSoundLifecycle.cs:10 | a missing host SoundQuality takes the loaded default; the original user's saved preference is not recoverable ([EXT:fade-poll-host-timing]) |
| fade-poll-host-timing | source/OpenTPW/Audio/HeldSoundLifecycle.cs:207 | [EXT:fade-poll-host-timing] (user-approved 2026-10-30, AUDIO-040 converted: the original's phase depends on the host operating system's scheduler and, for a missing host SoundQuality, on the user's saved preference, which OpenTPW does not read) host policy: one scan per due callback, then delay from now; no catch-up burst. The original's worker Sleeps 100 or 250 ms (0x6B9E30) at the mercy of the operating system's scheduler, so its phase against the main thread's group refresh and admissions has no rule to port |
| fan-translations | source/OpenTPW.Files/Public/GameLanguage.cs:35 | [EXT:fan-translations] a fan translation is selectable and labelled as such; the original only knew the folder of its table entry (American) |
| fan-translations | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:533 | [EXT:fan-translations] a fan translation is offered with its label ("Russian (fan translation)"), never as an official language |
| fan-translations | source/OpenTPW/UI/Original/SupplementaryStrings.cs:640 | [EXT:fan-translations] the label of a fan translation in the language list |
| fit-button-text | source/OpenTPW/Online/OnlineScreens.cs:1937 | The cells drawn from the card itself: the title fitted into its column (to the date's), as the buy list fits its names ([EXT:fit-button-text]: how tp.exe's row |
| fit-button-text | source/OpenTPW/UI/Original/UiTextFit.cs:10 | [EXT:fit-button-text] button labels shrink to fit; the original sized its fixed strings per language by hand |
| fit-button-text | source/OpenTPW/UI/Original/UiWidgets.cs:101 | [EXT:fit-button-text] the wrapped fallback of a button label that fits at no size keeps its own placement (block aligned in the box, lines left aligned in it, |
| fit-button-text | source/OpenTPW/UI/Original/UiWidgets.cs:153 | [EXT:fit-button-text] a label that fits no size of its own family goes on to the body fonts, smaller than the last size tried, so a small icon button |
| fit-button-text | source/OpenTPW/UI/Original/UiWidgets.cs:161 | [EXT:fit-button-text] before any word is cut between characters, the label is wrapped at its spaces in the largest size whose lines all fit the box |
| fit-button-text | source/OpenTPW/UI/Original/UiWidgets.cs:162 | [EXT:fit-button-text] these fallbacks (the wrapped label and the smallest size on one line) are OpenTPW's own layout of a label that fits no size, so they are not cut off at the box |
| fit-button-text | source/OpenTPW/UI/Original/UiWidgets.cs:464 | [EXT:fit-button-text] the small-font fallback for long labels: the original's control renderer 0x48f830 keeps its one slot font, and a translated label that overflowed its art would be unreadable |
| fixed-60hz-clock | source/OpenTPW/Economy/ParkCalendar.cs:65 | [EXT:fixed-60hz-clock] the simulation runs on OpenTPW's deterministic fixed 60 Hz clock, sampled into 248 ms park turns (4.03 a second at normal speed), not on the wall clock's 31 ms substeps: the same inputs give the same run on every machine (docs/DETERMINISM.md), and a wall-clock-driven turn count would make a replay depend on the frame rate |
| fixed-60hz-clock | source/OpenTPW/World/Guests/BalloonRenderer.cs:142 | [APPROX:GUEST-017] a bursting balloon no guest names at an original save is not imported; the sampled clock is the host's fixed-60Hz one ([EXT:fixed-60hz-clock]). |
| fixed-60hz-clock | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:10 | [EXT:fixed-60hz-clock] every scheduler opportunity in a tick shares its end-time sample; batching ticks does not sample a render or wall clock |
| fixed-60hz-clock | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1766 | [EXT:fixed-60hz-clock] the original reads the live clock (0x00402D70) at the frame's walk update; the host reads the script clock of the tick, which only the substeps advance |
| fixed-60hz-clock | source/OpenTPW/World/Level.Simulation.cs:204 | [EXT:fixed-60hz-clock] tp.exe's main loop 0x0054E360 runs the walk update 0x00557AB0 and the bounce pass once per rendered frame, after the frame's substeps (none, one or several); OpenTPW |
| fixed-60hz-clock | source/OpenTPW/World/SimulationSubstep.cs:10 | [EXT:fixed-60hz-clock] a 60 Hz tick is 16.667 ms, so at most one 31 ms substep ends in a tick; the substep runs in the tick that crosses its time and the 1.86 ticks between substeps run nothing of the original's |
| fixed-catch-up-cap | source/OpenTPW.Tests/ParkCalendarTurnTests.cs:46 | [EXT:fixed-catch-up-cap] the original runs at most three park turns a frame (0x54E360 case 10); OpenTPW's clock runs at most |
| fixed-catch-up-cap | source/OpenTPW/Economy/ParkCalendar.cs:66 | [EXT:fixed-catch-up-cap] under load OpenTPW's fixed clock runs at most 16 ticks (266.7 ms) of a frame and drops the rest, where the original's loop catches up a backlog of up to 2000 ms in 31 ms substeps with at most three park turns a frame (0x54E360 case 10; further due turns in that frame are skipped, not deferred): the cap is the deterministic clock's guard against a spiral of ever longer frames on a slow machine, and 16 ticks span at most two park turns, so the three-turn rule is never reached |
| fixed-catch-up-cap | source/OpenTPW/World/Guests/GuestSimulation.cs:1750 | [EXT:fixed-catch-up-cap] the wait is counted in executed park turns, but OpenTPW's fixed-step loop drops none (the original's loop runs at most 3 of up to eight due turns per pass and skips the rest, 0x0054F493, 0x0054F680; a host-speed effect of its unbounded frame loop, same mechanism as the clock's cap in ParkCalendar; user-approved 2026-10-18: never drop park turns) |
| fixed-sign-fallback | source/OpenTPW/World/Objects/ObjectSigns.cs:516 | [EXT:fixed-sign-fallback] a fixed item (the park gate above all) that has no runtime sign shows a plain brown board instead of the shipped placeholder; an OpenTPW rendering choice, the original always draws the sign |
| fixed-sign-fallback | source/OpenTPW/World/Objects/ObjectSigns.cs:551 | [EXT:fixed-sign-fallback] the lobby's sign models show the board until (or unless) their sign is composed |
| forecast-banner | source/OpenTPW/World/Weather/WeatherForecastPresenter.cs:14 | [EXT:forecast-banner] the forecast shows as a banner line at the top centre, drawn in the overlay pass with the original GAME8AA BF4 font above every screen of the park (the chat overlay's channel) and waiting while the online globe takes the park's place; the original warns on no surface: its forecast event's only subscriber, the weather's handler 0x5127a0, posts nothing |
| forecast-cadence | source/OpenTPW/World/Weather/WeatherForecastState.cs:32 | [EXT:forecast-cadence] news only: one message when a forecast of another kind of weather appears and one when the kind of weather changes, plus one transient current-weather line on attach (a park entered or loaded with weather on screen); the original rolls every cycle whatever the weather (0x512880), so a dry roll after dry weather shows and posts nothing; a park resumed mid-warning announces the pending forecast once, and the transient line shows for ChangedLineSeconds of simulation time |
| forecast-presentation | source/OpenTPW/World/ParkWeather.cs:9 | [EXT:forecast-presentation] the PC has no forecast message: event type 2 (the forecast, built by 0x40f240 and broadcast by 0x40fb10) has a single subscriber, the weather thing itself (0x511fa9/0x511fb8, handler 0x5127a0, which only schedules or applies), and no weather text exists in the Language tables, so the forecast banner, wording and cadence are OpenTPW's own (AUDIO-905..907 are extensions); the drawn drops, snow and bolts follow the traced CRain (AUDIO-900..904 are retired) |
| forecast-wording | source/OpenTPW/UI/Original/SupplementaryStrings.cs:900 | [EXT:forecast-wording] the weather forecast's own words (no weather text exists in the shipped string tables); {0} is the kind, {1} when it comes |
| forecast-wording | source/OpenTPW/World/Weather/WeatherForecastState.cs:31 | [EXT:forecast-wording] the forecast's kind text classifies the pending quality by the converter's bands only — the apply-time snow/rain coin flip has not happened, so both bands read "snow or rain", and the lightning band composes "thunderstorms"; the wording is OpenTPW's (no weather text exists in the shipped string tables) |
| forecast-wording | source/OpenTPW/World/Weather/WeatherForecastState.cs:134 | [EXT:forecast-wording] the kind wording is OpenTPW's; no weather text exists in the shipped Language tables (searched), and the original shows no forecast |
| frame-cap | source/OpenTPW/Client/FrameLimiter.cs:4 | The frame cap of <see cref="DisplaySettings.FrameCap"/> ([EXT:frame-cap], docs/BROWSER-PERFORMANCE.md): decides whether a frame is |
| frame-cap | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:508 | [EXT:frame-cap] draws at most this many frames a second (FrameLimiter); the simulation clock is not capped |
| frame-driven-at-60hz | source/OpenTPW.Tests/FrameDrivenTimingTests.cs:10 | Original behaviour that tp.exe steps once per rendered frame runs at a fixed 60 Hz reference rate here ([EXT:frame-driven-at-60hz]): |
| frame-driven-at-60hz | source/OpenTPW.Tests/LobbyEffectsTests.cs:145 | [EXT:frame-driven-at-60hz] the islands update runs once per rendered frame in the original; OpenTPW runs it per 60 Hz reference frame |
| frame-driven-at-60hz | source/OpenTPW.Tests/LobbyFrameTimingTests.cs:9 | <summary>The lobby's camera steps once per 60 Hz reference frame ([EXT:frame-driven-at-60hz]), as the original steps it once per rendered frame (0x5d5c50 -> 0x5e0470).</summary> |
| frame-driven-at-60hz | source/OpenTPW.Tests/WeatherFrameTimingTests.cs:9 | <summary>The rain and snow redraw their random jitter once per 60 Hz reference frame ([EXT:frame-driven-at-60hz]).</summary> |
| frame-driven-at-60hz | source/OpenTPW/Client/GameFlow.cs:1080 | [EXT:frame-driven-at-60hz] the city lobby's islands run the same per-frame update as the lobby's (0x5d5c50), so it steps per reference frame too |
| frame-driven-at-60hz | source/OpenTPW/Client/GameFlow.cs:1098 | [EXT:frame-driven-at-60hz] one such frame per 60 Hz reference frame, whatever OpenTPW's own frame rate; the models' clips below follow the real time |
| frame-driven-at-60hz | source/OpenTPW/Hud/ParkHud.Map.cs:161 | [EXT:frame-driven-at-60hz] the original steps the edge scroll once per drawn frame (message 0x1e); OpenTPW takes the elapsed time as that many 60 Hz reference frames |
| frame-driven-at-60hz | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:166 | [EXT:frame-driven-at-60hz] one fluid step per reference frame, where the original steps once per rendered frame (message 0x1e, see ReferenceFrameClock) |
| frame-driven-at-60hz | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:211 | [EXT:frame-driven-at-60hz] OpenTPW steps the fluids at the 60 Hz reference rate (one frame of the original's frame-driven timing), whatever its own frame rate |
| frame-driven-at-60hz | source/OpenTPW/UI/Original/UiMenuItem.cs:35 | drawn frame, steps it (0x48b220); [EXT:pause-menu-hover-focus] OpenTPW's focus stands for the pointer entering (the user-approved design choice; no original behaviour left to match) and the tick runs at the 60 Hz reference ([EXT:frame-driven-at-60hz]) |
| frame-driven-at-60hz | source/OpenTPW/World/Lobby/LobbyEffects.cs:14 | [EXT:frame-driven-at-60hz] the effects advance at the 60 Hz reference rate, whatever OpenTPW's own frame rate (docs/COMPATIBILITY.md "Frame-driven timing") |
| frame-driven-at-60hz | source/OpenTPW/World/Lobby/LobbyScene.cs:297 | [EXT:frame-driven-at-60hz] the original steps these once per rendered frame; OpenTPW steps them at the 60 Hz reference, so the flyers and the island clips step as often as the effects and the camera (docs/COMPATIBILITY.md "Frame-driven timing") |
| frame-driven-at-60hz | source/OpenTPW/World/LobbyCameraMode.cs:90 | [EXT:frame-driven-at-60hz] the camera steps once per 60 Hz reference frame, where the original steps once per rendered frame (0x5d5c50 -> 0x5e0470), so the glide and the fade, which are shares per frame, converge at the same speed on every display |
| frame-driven-at-60hz | source/OpenTPW/World/ParkCameraMode.cs:270 | [EXT:frame-driven-at-60hz] the original steps once per drawn frame; OpenTPW takes the elapsed time as that many 60 Hz reference frames |
| frame-driven-at-60hz | source/OpenTPW/World/ReferenceFrameClock.cs:9 | [EXT:frame-driven-at-60hz] tp.exe's main loop (0x54e360) has no frame limiter: after the 31 ms simulation substeps it draws one frame, and the UI |
| frame-driven-at-60hz | source/OpenTPW/World/Weather/WeatherVisualState.cs:259 | [EXT:frame-driven-at-60hz] a draw of the original is a rendered frame (0x54e360), so the jitter changes once per 60 Hz reference frame (drawFrame), whatever OpenTPW's own frame rate; the scroll and the bolts' age follow the real time |
| fsh-0x2d-palette | source/OpenTPW.Files/Public/FshFile.cs:253 | [EXT:fsh-0x2d-palette] A1R5G5B5 with bit 15 as alpha is OpenTPW's own choice for the one 0x2D palette in the corpus (every entry has bit 15 set): the Theme Park Inc palette converter 0x6B7000 has no 0x2D path (only 0x24 and 0x2A), so there is no original reading to match: for 0x2D it returns at 0x6B72D6 with the fill routine 0x6B75D0's 256-entry stack table (sub esp, 0x404 at 0x6B75D8) unwritten, and the pixel loops then copy whatever that buffer held, so the original's colours for this file are undefined; its alpha scan 0x6B73A0 reads the first entry as a u32 (0xAB1D90CD, top byte below 0xF0) and marks the texture as an alpha texture |
| fsh-export | source/OpenTPW/Client/FshPngExport.cs:6 | [EXT:fsh-export] application-owned conversion of current decoded pixels, not original rendering parity |
| gate-sign-depth-lift | source/OpenTPW/World/Original/OriginalGateSign.cs:19 | [EXT:gate-sign-depth-lift] the sign faces are lifted along their normal to win the depth test; an OpenTPW rendering choice, not an original rule |
| graph-pixel-adapter | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:239 | [EXT:graph-pixel-adapter] the original draws into the control's bitmap at the display mode's pixel size, which follows the host's resolution; OpenTPW takes one pixel as 2 canvas units (the 1024 x 768 mode of the video; user-approved 2026-10-30) |
| graph-pixel-adapter | source/OpenTPW/UI/Original/GraphBackdrop.cs:86 | [EXT:graph-pixel-adapter] one bitmap pixel is two canvas units, at least one framebuffer pixel: the original draws at its display mode's pixel size, which |
| graph-pixel-adapter | source/OpenTPW/UI/Original/UiWidgets.cs:122 | <summary>One pixel of the display mode in framebuffer pixels: two canvas units, at least one pixel (the graphs' adapter, <c>[EXT:graph-pixel-adapter]</c>).</summary> |
| graphics-preset-browser | source/OpenTPW/Compat/GraphicsSettings.cs:157 | [EXT:graphics-preset-browser] the browser (WASM) reports no usable memory size, which would select Low; it takes the High thresholds. |
| graphics-preset-browser | source/OpenTPW/World/Original/ProceduralTerrainSettings.cs:49 | [EXT:graphics-preset-browser] the browser (WASM) reports no usable memory size; it takes the same 4096 MB as the preset default, so the clamp never applies there |
| graphics-preset-cpu | source/OpenTPW/Compat/GraphicsSettings.cs:154 | [EXT:graphics-preset-cpu] the processor clock is taken as 450 MHz or faster, since .NET cannot read it portably; the original's thresholds are applied to the memory and this fixed clock (any machine that runs OpenTPW exceeds 450 MHz) |
| guest-cell-lists | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:94 | [EXT:guest-cell-lists] retain the simulation's membership and synchronization policy, including its swim exclusion. |
| guest-cell-lists | source/OpenTPW/World/Guests/GuestSimulation.cs:1626 | [EXT:guest-cell-lists] OpenTPW keeps the guests of a cell in a list per cell (the staff are queried beside them); a cell change this simulation did not see (an edit that moves a guest) is filed at the next turn |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:293 | [APPROX:SAVE-002] a rider (16) is imported when its ride's script run state was imported (the heap, limbo, walk, bounce and head tables are the ride script's, RideVisitorBridge.ImportSavedRiders), and is dropped otherwise; a guest held by a guard (17) is imported held, and kept only while a guard in state 18 holds it as its perpetrator, as its first update (0x00501C94) decides, and a guest in a queue (states 11–14, or its idle interlude, state 8 with mSavedState 11) is imported only when its attraction's saved queue (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) reads as the loader's chain of guests of that ride; an imported guest in an activity (state 8) decides again at once, one at the booth (4) that was not yet weighed waits OpenTPW's booth time, a turn stamp before the save's turn counts from the import, and the saved state (mSavedState) outside the queue interlude and the admission flag (mBeenAdmitted) of a guest that is not in state 11 or in its interlude are not imported (the event ring is [EXT:guest-event-ring]) — evidence needed: the resume of a state-8 activity outside a queue at its saved state (0x004FC890) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:294 | [EXT:guest-event-ring] the person's 32-slot event ring (AddEvent 0x50C100) is not imported: the ring is debug-only and OpenTPW keeps none (user-approved 2026-10-16) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:351 | [BIN:TPW-EXE:0x004FB444 target kept after a visit] the target +0x1DC now lives until the next major choice (0x004FCB21), so a guest that has just left the removed attraction (state 15, then 6 or 7) is hit; the state-16 event 0xD is a record of the debug-only guest event ring ([EXT:guest-event-ring]) and its sound 0x80 is played above; a guest on the ride or in the queue is placed at once on the exit or join cell (QUEUE-010) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:2722 | [BIN:TPW-EXE:0x004FFBC0 arrival at the back cell] the walk is one request to the back-of-queue cell (0x004FCB10); on arrival the guest's own cell must be that back cell (0x004DE110), else "The back of the queue has moved while I was walking": the back cell is asked for again (0x004DE110, 0x004FA530) and a route keeps the guest walking in state 10, none (a back cell of 0, or a refused request) sends it to state 6 with event 0x16 ([EXT:guest-event-ring]) and no thought, leaving the target set (0x004FFE4A..0x004FFE5C writes no +0x1DC) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:2813 | [BIN:TPW-EXE:0x004FD570 minor decision] needs a target +0x1DC; d0 = squared distance from the guest's cell to the target's back cell (0x004DE110, 0 ends the call); every thing of type 3 on the thing list of the window's cells (the cell the thing stands on, +5/+7, newest first) that is not the target and passes 0x004DD920 is scored with 0x004FCC30, kept when the score beats the best (starting at 0) or ties it on an odd turn (game +0x1DA70C bit 0); with a best the routes 0x004D8B40 (the sum of the legs' |dx| + |dy| of the search, mask +0x188; −1 when none) from the TARGET's access cell +0x36 to the guest's cell and from the TARGET's access cell to the best's access cell must both exist and the second be shorter (the best is nearer to the target than the guest is); then event 0x17 ([EXT:guest-event-ring]), +0x1DE = the old target, +0x1DC = the best and the route request 0x004FA530 to the best's access cell +0x36 (its result is not read) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:2963 | [EXT:guest-event-ring] the dismissal 0x005012F0's event 6 with the ride's id is a record of the debug-only guest event ring (0x0050C100), which OpenTPW does not keep |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:3227 | [BIN:TPW-EXE:0x0050133D dismissal sound] the dismissal that follows (0x005012F0) plays the guest sound 0x80 for a thing id with its low three bits 0 (Voiced); [EXT:guest-event-ring] its event 6 and the refusal's event 10 are records of the debug-only guest event ring |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:3463 | [BIN:TPW-EXE:0x005012F0 dismissal] "Person %d: dismissed from queue on ride %d", event 6 (0x0050C100, [EXT:guest-event-ring]), the sound for one thing id in eight (Voiced), 0x004FEA70(1), the queue words +0x22A/+0x228/+0x1F8/+0x1DC/+0x1F1 cleared, state 6 |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:3943 | [BIN:TPW-EXE:0x004FE1E0 use routine] followed in its order: the sideshow prize into the purse (0x004FE231), the outcome, the effects, the small-portion draws (0x004FE43C, 0x004FE48E), the appearance step and, for a won sideshow, the tail (0x004FE802..0x004FE8D9: happiness += trunc(medium step × log2(prize / price)) and one discarded world draw); the guest event records 8, 0x11 and 0x12 (0x0050C100) are read only by the debug dump 0x004FAA60 ([EXT:guest-event-ring]) |
| guest-event-ring | source/OpenTPW/World/Guests/GuestSimulation.cs:4043 | [EXT:guest-event-ring] the guest events 11 and 12 are not recorded in the original's 32-entry event ring (0x0050C100, the guest's thing at +0x30): its only reader is the guest destructor's debug dump (0x004FB330 → 0x004F8AE0 → 0x004FAA60 through the getter 0x0050C190, log level 2), so it has no gameplay effect to match and OpenTPW keeps no ring |
| guest-insights | source/OpenTPW/Client/GuestReport.cs:289 | [EXT:guest-insights] the figures compare the measurement collector alone, so the extension's refusal counters (on when the run asks for the extension) stay out of both sides |
| guest-insights | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:184 | [EXT:guest-insights] with the extension on, the refusal-reason counters stand in the two free strips beside the window's title, clear of the plot and the toggles: a title and the first two reasons on the left, the other three on the right; the counters are the simulation's passive observer, never saved, and a visit has none |
| guest-insights | source/OpenTPW/Mods/OfficialExtensions.cs:85 | [EXT:guest-insights] OpenTPW's own extension; the original game has no such counters |
| guest-insights | source/OpenTPW/World/Guests/GuestSimulation.cs:103 | [EXT:guest-insights] the gate is read here, once |
| guest-insights | source/OpenTPW/World/Guests/GuestSimulation.cs:282 | [EXT:guest-insights] with the extension on, the refusal counters keep the slot's first place and a measurement collector shares it |
| guest-insights | source/OpenTPW/World/Guests/Insights/GuestRefusalCounters.cs:23 | [EXT:guest-insights] OpenTPW's own counters; the original game keeps no refusal statistics |
| hardware-d3d-path | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:14 | [EXT:hardware-d3d-path] OpenTPW models the 24-bit x87 precision of a machine with a hardware Direct3D device only; a driver that lacks DrawPrimitives2 (the software path) would leave the C runtime's 53 bits, a host-hardware dependence of the original that OpenTPW does not follow (user-approved 2026-10-30) |
| hardware-d3d-path | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:686 | [EXT:hardware-d3d-path] the native routine's answers at the game thread's control word 0x7F for the counts -3 to 8 (tpi_scrap_percent_oracle.py); a count of 0 gives 101 because |
| hardware-d3d-path | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:11 | Theme Park Inc's x87 arithmetic at the game thread's control word 0x7F ([EXT:hardware-d3d-path], <see cref="ThemeParkIncX87"/>). The staff cases are the native routines' answers at that |
| hardware-d3d-path | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:50 | [EXT:hardware-d3d-path] the product wither × 1000.0f rounds to a single at the game thread's 24-bit x87 before the truncation |
| hardware-d3d-path | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:58 | [EXT:hardware-d3d-path] the world update runs on the game thread after the Direct3D device set the x87 to 24-bit precision (SetCooperativeLevel without FPUPRESERVE, 0x6BF33F/0x6BF5A8): every |
| hardware-d3d-path | source/OpenTPW/Economy/ParkEconomy.cs:1819 | [EXT:hardware-d3d-path] the sale runs on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): 3 × 33.333332f is 99.999996185302734375 exactly, the midpoint |
| hardware-d3d-path | source/OpenTPW/Economy/ShopGoodsCost.cs:19 | [EXT:hardware-d3d-path] OpenTPW models the hardware Direct3D path only: the software renderer path (0x8BD524 = 4, 0x44DD50..0x44DDE9) creates no D3DIM device and nothing in tp.exe changes the C runtime's 53 bits there, so the original's result there depends on the renderer the host picked and would round at 53 bits; OpenTPW has no software renderer path (user-approved 2026-10-30, ECON-059 converted) |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncGoodsCost.cs:20 | [EXT:hardware-d3d-path] the sale runs on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): each fsub, fmul and fadd rounds to a single; the routine's 400 |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:69 | [BIN:TPI-EXE:0x6BF33F control word] [EXT:hardware-d3d-path] the staff routines run on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): each fadd, fmul and |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:149 | [EXT:hardware-d3d-path] each division, product and sum rounds once to a single at the game thread's 24 bits (ThemeParkIncX87) |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:170 | [EXT:hardware-d3d-path] every step rounds to a single at the game thread's 24 bits (ThemeParkIncX87), the research step's arithmetic (ResearchStep) |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:184 | [EXT:hardware-d3d-path] every step rounds to a single at the game thread's 24 bits (ThemeParkIncX87), so the comparisons see the rounded values |
| hardware-d3d-path | source/OpenTPW/Economy/ThemeParkIncX87.cs:18 | [EXT:hardware-d3d-path] OpenTPW models the hardware Direct3D path only: a device without DrawPrimitives2 would leave the CRT's 53 bits (COMPAT-018) |
| hardware-d3d-path | source/OpenTPW/Render/RenderFog.cs:18 | [EXT:hardware-d3d-path] the vendor workaround that turns the table fog off while a bit of 0xC000 is set in [0x8BCBC8] (0x566A92 to 0x566B45: old S3 and ATI devices) is not modelled: it belongs to the original's per-device Direct3D path, which depends on the host's graphics hardware, and OpenTPW's renderer has one path (user-approved 2026-10-30, UI-107 narrowed). |
| hardware-d3d-path | source/OpenTPW/World/Guests/GuestNavigation.cs:47 | [BIN:TPI-EXE:0x005D2060 integer square root] the dword with a zero high dword (fild qword), fsqrt, then _ftol 0x86FAB0 (truncation); the game thread's control word 0x7F rounds fsqrt to 24 bits ([EXT:hardware-d3d-path]) |
| hardware-d3d-path | source/OpenTPW/World/Guests/GuestSimulation.cs:509 | [EXT:hardware-d3d-path] the game thread runs this after the Direct3D device started, which sets the x87 to 24-bit precision (SetCooperativeLevel 0x851/0x808 at |
| hardware-d3d-path | source/OpenTPW/World/Guests/GuestSimulation.cs:1051 | [EXT:hardware-d3d-path] the arrival runs on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): each step rounds to a single (the oracle's X7 agrees on 532 of |
| hardware-d3d-path | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:515 | [EXT:hardware-d3d-path] the game thread runs at 24-bit x87 precision: each subtraction and product rounds to a single, as C#'s float arithmetic does |
| hardware-d3d-path | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:41 | The sprite interval of a walking step (<c>0x5D10F0</c> after <c>0x60B5F8</c>) at the game thread's control word 0x7F (<c>[EXT:hardware-d3d-path]</c>): the speed is the root of the step's |
| hardware-d3d-path | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:30 | [EXT:hardware-d3d-path] p is the handyman's SearchPeriod, at the game thread's 24-bit control word (experience 34000 of 100000: every 33rd turn) |
| hardware-d3d-path | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:558 | [EXT:hardware-d3d-path] the pre-updates run on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): the quotient, the difference and the product each round to a |
| hardware-d3d-path | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:565 | 24 bits ([EXT:hardware-d3d-path]) |
| hardware-d3d-path | source/OpenTPW/World/Weather/WeatherRenderer.cs:378 | [EXT:hardware-d3d-path] Use the reference hardware precision, not the host GPU's arithmetic. |
| headless-economy | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:210 | a lab saved with its object types' research words completes in an economy no level runs; a lab without them waits ([EXT:headless-economy]) |
| headless-economy | source/OpenTPW/Economy/BalanceSettings.cs:204 | [EXT:headless-economy] settings built from parsed keys (tests and tools) answer the six limits and the count dword from those keys; LoadThemeParkInc replaces this with the |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:18 | [EXT:headless-economy] a headless economy has no park to measure (no level's cells, staff things or attractions): it checks no award |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:65 | [EXT:headless-economy] Whether the economy runs without Theme Park Inc's game files (tests and tools: no mission file in the file system), where the career has no current zone record. |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:212 | [EXT:headless-economy] a headless economy (no Theme Park Inc files) has no current zone record to count in; a game's park always has one (EnterThemeParkIncZone) |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:70 | [EXT:headless-economy] a headless economy over settings without the zones' global.sam (tests and tools) has no zone records: its controller starts no statistics |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:207 | [EXT:headless-economy] a headless economy has no world: no attraction things, no land and no camera |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncResearch.cs:35 | [EXT:headless-economy] a level gives the lab its object types' research words before every world pass, and a saved lab keeps them; a lab without them (seeded into an economy no level runs, |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:100 | [EXT:headless-economy] a headless economy has no attraction things: its lowest instance of the type stands in for the first thing |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:124 | [EXT:headless-economy] a headless economy (tests and tools, no staff world) searches on the member's first update, which is OpenTPW's own test and tool design and has no original counterpart (user-approved 2026-10-16, DET-015 converted 2026-10-30); in a level the staff pool's and the staff walks' draws are the world generator's, and the staff constructors' role searches run inside the placing click of a level ([BIN:TPW-EXE:0x004D4340 constructor searches] StaffWorldSimulation.Constructed after the hire's draws: [BIN:TPW-EXE:0x004F89E1 staff base speed] the consumed base-speed draw and the guard's variant draw, see ParkStaff.Hire; no staff constructor reseeds, 0x4F7B7E is the online avatar's); a headless economy has no staff world and searches on the member's first update, the researcher constructor's last call 0x5041F0 runs at a researcher's hire and removal without a draw ([BIN:TPW-EXE:0x005041F0 researchers flag] ParkStaff.LabActive, message 5 or 6 on a change; the advisor's reaction is ADVISOR-009's), and the weather stays off the stream ([BIN:TPW-EXE:0x59A796 advisor pick] the advisor's update takes no draw: all 351 descriptor rows are in the sequential mode 2, the mode-3 draw 0x59A7AC is unreachable) |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:479 | [EXT:headless-economy] without a host sweep (the headless economy of tests and tools, which has no thing pool of guests, rides and staff to visit) the thing update runs in a fixed order of its own, staff, research, rides, challenges, where a level's park turn visits one list newest first (IThingSweep) |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:573 | a Theme Park Inc park with its staff wears its rides (UpdateThemeParkIncRide); without a host sweep the headless order is this one ([EXT:headless-economy]) |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:579 | [EXT:headless-economy] the research lab, an older thing of the prebuilt (id 6) than the controller and the challenge system, updates after them |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:581 | [EXT:headless-economy] the tag system (built at 0x6483B7, before the research manager) is older still |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:583 | [EXT:headless-economy] the advisor (built at 0x64836F, before the tag system) is older still |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:632 | [EXT:headless-economy] without a staff world (the gate harnesses and tests; a level with guests always attaches one, Level.SetupStaff) the vitals skip the state machine: walking members drain every turn, working means a job in progress, resting and striking need no walk, idle members are not told apart and the rest search runs every turn; in a level the original's state machines run them (ECON-022) |
| headless-economy | source/OpenTPW/Economy/ParkEconomy.cs:1373 | [EXT:headless-economy] without a staff world (the gate harnesses and tests; a level with guests always attaches one, Level.SetupStaff) a mechanic starts his job at once and the jobs keep OpenTPW's order (broken, upgrading, then rides worn below 25); the original always walks its mechanics to the nearest ride that is broken down (state 1), upgrading (state 2) or called (+0x64) (0x004DAA90) and never sends one to a worn ride on its own; in a level the mechanics run its state machine (ECON-022) |
| headless-economy | source/OpenTPW/Economy/StaffVitals.cs:65 | [EXT:headless-economy] this decision serves the headless economy only: a level's staff world has the thoughts (tired, unhappy, happy) and the walking-speed tiers of the comfortable branch (StaffWorldSimulation.Rest), and the walk to the rest area takes time there |
| headless-economy-breakdown | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:37 | [EXT:headless-economy-breakdown] (user-approved) as in UpdateRide: an object a script runs breaks down through its script (VAR_BREAKSTAT, the script's VAR_BROKEN and the |
| headless-economy-breakdown | source/OpenTPW/Economy/ParkEconomy.cs:1150 | [BIN:TPW-EXE:0x4e0e00 ride state dispatch] [EXT:headless-economy-breakdown] (user-approved) an object a script runs breaks down as tp.exe's does (0x004E0B90 writes VAR_BREAKSTAT = 1, the script reports VAR_BROKEN, the ride update's state 1 from 0x004E14E0 writes the shared state word and calls a mechanic, whose repair writes VAR_BREAKSTAT = 0 and waits for VAR_BROKEN to clear, 0x004DA830, and 0x004DF8F0 clears VAR_WORN); the headless test and tool economy without ride scripts breaks an object down at once (the same word) and repairs it without the wait, where a level runs the scripts; the visitor bridge reads the same word whole (RideStateWord.Current: the stored 2 and 3 as well as the ride update's 1 and 4), so an upgrading ride runs the head step and the script dismiss only, as the dispatch does |
| headless-economy-dispatch | source/OpenTPW/Economy/IMechanicJobWorld.cs:10 | [EXT:headless-economy-dispatch] (user-approved) a headless economy (no staff world; the test and tool economy keeps no map to walk) does not dispatch a mechanic put down off the path network (a drop on grass or a queue), its timed job having no walk; a level's staff world runs the original's route and ride claim |
| headless-economy-dispatch | source/OpenTPW/Economy/ParkEconomy.cs:1456 | [EXT:headless-economy-dispatch] (user-approved, test and tool economy only; a level runs the staff world): without a world the handymen have no position, so a free handyman takes the first unclaimed littered cell in the finder's scan order, park-wide, else the dirtiest toilet, timed from the dispatch |
| hidpi-glyphs | source/OpenTPW/UI/Original/FontSmoothing.cs:15 | [EXT:hidpi-glyphs] text drawn above 1× is magnified per glyph (Catmull-Rom, contrast min(2, 0.8 × factor)) instead of doubling pixels; the original only drew its fonts at 1×, so this is an OpenTPW design decision |
| hidpi-glyphs | source/OpenTPW/UI/Original/UiTitleBitmap.cs:10 | [EXT:hidpi-glyphs] above scale 1 the glyph coverage is the smoothed atlas (<see cref="FontSmoothing"/>): the copy's alpha is then the smoothed coverage times the colour alpha / 255 (no stepped levels), the same replace rule |
| interface-scale-fit | source/OpenTPW/UI/Original/UiCanvas.cs:33 | [EXT:interface-scale-fit] Above 1×, limit forced text scales to UiScaling's reference-layout fit (HiDPI-aware via PixelDensity). |
| kart-roll-convention | source/OpenTPW/World/Tracks/TrackSurface.cs:254 | [EXT:kart-roll-convention] the absolute sign of the roll is a rendering convention: this pose has roll = atan((right − left) / 2R) − yaw / 13 × π/2, the negative of the original's roll |
| land-feedback | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:284 | [EXT:land-feedback] a refused purchase says so, as the host's refused click does |
| land-feedback | source/OpenTPW/Hud/ParkHud.Land.cs:70 | [EXT:land-feedback] OpenTPW's hint for the two corner clicks |
| land-feedback | source/OpenTPW/Hud/ParkHud.Land.cs:91 | [EXT:land-feedback] OpenTPW says when the land cannot be bought and plays the buy window's error sound; the original's feedback on a refused purchase beyond the red ghost and the cash pointer is not traced |
| land-purchase-fault-refusal | source/OpenTPW.Tests/PathBuilderTests.cs:804 | PATH-ENTER (001), PATH-PAUSE (013) is retired into PATH-PAUSE-WINDOW (017); PATH-INITIAL (016) is retired into the map init's link writer (ParkCellMap.FromOriginal); PATH-UNDO (002), PATH-ENDFLAG (003), PATH-CONNECT (004), PATH-CODE8 (008), PATH-FREE (009), PATH-LEDGER (010), PATH-CANCEL (011), PATH-ENDREFUSE (012), PATH-VARIANT (014) and PATH-SLOPE (006) are retired: traced in tp.exe and matched; PATH-LAND (007) too (October 29, 2026: the land routines are traced and matched, the crash and hang refusal is [EXT:land-purchase-fault-refusal]); PATH-REMOVE (005) too (the area clear reads the cells' owner words and flags). |
| land-purchase-fault-refusal | source/OpenTPW/World/ParkLand.cs:68 | [EXT:land-purchase-fault-refusal] a purchase on which the original's fill reads the cell beyond the map's edge (a null block, a crash) or whose ring walk never ends (a cell that is no post, a hang) is refused and charges nothing, where the original crashes or hangs; refusing is OpenTPW's choice, approved by the user on 2026-10-29 (docs/PATHS.md) |
| language | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:530 | [EXT:language] language row (original installs had one language; OpenTPW reads CD overlays) |
| language-settings | source/OpenTPW.Files/Public/GameLanguage.cs:359 | has no per-language lookup; [EXT:language-settings] a language whose overlay data folder has its own ui.wad uses it, modelling an install the pack's |
| language-settings | source/OpenTPW/Client/LanguageInterfaceArchive.cs:11 | [EXT:language-settings] swapping the archive per selected language, and on a live switch, is OpenTPW's: the original has one install and one data\ui.wad |
| language-settings | source/OpenTPW/Client/LanguageSettings.cs:10 | [EXT:language-settings] where the choice is stored is an OpenTPW matter; the original read its language from the install |
| language-settings | source/OpenTPW/Client/LanguageStartup.cs:7 | [EXT:language-settings] where the choice is stored and offered is an OpenTPW matter; the original read its language from the install |
| late-kart-guard | source/OpenTPW/World/Tracks/BumpController.cs:679 | [EXT:late-kart-guard] a kart is refused while the race is over, where the original creates a kart that never moves and keeps the controller's count above 0 (its race never resets: a deadlock no shipped script reaches); OpenTPW does not reproduce the frozen kart |
| legacy-economy-save | source/OpenTPW/Economy/ParkSaveFile.cs:210 | [EXT:legacy-economy-save] this legacy economy-only park save (Level.SavePark/LoadPark, used by DeterminismTests) persists the economy and every random stream, not guests, queues or object script state, and a load keeps the running guests and scripts; the player's save (GameFlow.SaveCurrentPark -> ParkResumeSaveFile) already stores the guests with their queue bookkeeping, the script world and each object runtime, the advisor, the coasters and the tracks |
| legacy-economy-save | source/OpenTPW/World/Level.cs:1515 | <summary>Loads an OpenTPW park save: the economy and, when the save has them, the random streams. Guests and object scripts keep running (the legacy economy-only save, [EXT:legacy-economy-save]).</summary> |
| legacy-economy-save | source/OpenTPW/World/ParkWorldStreams.cs:52 | <summary>Loads an OpenTPW park save: the economy and, when the save has them, the random streams. Guests and object scripts keep running (the legacy economy-only save, [EXT:legacy-economy-save]). The loaded economy holds its own generator object; guests and scripts are attached to it.</summary> |
| legacy-generator-state | source/OpenTPW/Economy/ParkSaveFile.cs:1515 | [EXT:legacy-generator-state] a save from before the world generator was ported has no state for it: it starts from the saved world seed (or from the old economy stream's state when the save has no world section), deterministically |
| legacy-kart-save | source/OpenTPW/World/Level.Tracks.cs:987 | [EXT:legacy-kart-save] a save from before the go-kart or bumper-car controllers (no controller for such a ride) restores its rides as freshly placed ones: station tiles and no track for karts, an arena for bumper cars, a closed controller; the guests a bumper ride still held go to its leaving list (save compatibility, no original rule) |
| legacy-save-access-links | source/OpenTPW.Tests/QueueStandWalkTests.cs:69 | the old save's entrance cell holds its queue link and no link byte; the load's repair lays the byte the placement would ([EXT:legacy-save-access-links]) |
| legacy-save-access-links | source/OpenTPW/World/Guests/GuestSimulation.cs:3339 | [BIN:TPW-EXE:0x004FFFF0 refused stand-point route] a refused search is the original's own failure ("the player has removed the path from under me and I can no longer get into object"): the called slot is released, the guest unlinked and dismissed with no thought (DismissFromQueue), as a refused queue walk is; a park resumed from an old OpenTPW save has the entrance's link byte repaired at load ([EXT:legacy-save-access-links], ObjectAccessCells.RepairMissingLinks) |
| legacy-save-access-links | source/OpenTPW/World/Objects/ObjectAccessCells.cs:128 | [EXT:legacy-save-access-links] a park resumed from an OpenTPW save made before an imported park's entrance and exit cells took their saved link byte holds none on them, so the edge test 0x4D8750 refuses the called guest's last walk into the stand point; tp.exe's saves always hold the byte (0x4D0B30 reads each cell record whole), so the original needs no repair, and OpenTPW lays the byte at load the way the placement would (0x522700/0x5227E0 along the queue link, the path writer 0x5348D0 in mode 1 from the outside path cell: 0x5297BD, 0x52989A, 0x529A58), user-approved 2026-10-17 |
| legacy-save-arrival-lane | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:321 | [EXT:legacy-save-arrival-lane] a lane position has no counterpart in the original, whose guests walk the cell map from their creation (0x004FB201); the conversion keeps a guest of an OpenTPW save made before the arrival walk where it stands and gives it the state its lane position stood for, instead of dropping the guest or redrawing its walk |
| legacy-save-arrival-waves | source/OpenTPW/World/AdvisorScanChallenges.cs:70 | [EXT:legacy-save-arrival-waves] (user-approved 2026-10-30, ADVISOR-028's legacy part: the situation exists only in OpenTPW, which the original's saves never had) the ring of a legacy OpenTPW save is unknown: full when the park has had admissions, where tp.exe's saved ring holds the real sizes (0x4CE660) |
| legacy-save-queue-cells | source/OpenTPW.Tests/ImportedQueueCellsTests.cs:143 | [EXT:legacy-save-queue-cells] A park saved by OpenTPW before the import took the queue cells holds empty ground there (the cell map is saved and resumed as it was); the load lays |
| legacy-save-queue-cells | source/OpenTPW.Tests/ImportedQueueCellsTests.cs:182 | <summary>[EXT:legacy-save-queue-cells] A park saved after the import holds the queue cells: the load reads no shipped save and writes no cell.</summary> |
| legacy-save-queue-cells | source/OpenTPW.Tests/ImportedQueueCellsTests.cs:206 | <summary>[EXT:legacy-save-queue-cells] A queue restored only in part (a cell of it holds the player's path now) keeps no link toward a neighbour that does not link back.</summary> |
| legacy-save-queue-cells | source/OpenTPW.Tests/ImportedQueueCellsTests.cs:236 | [EXT:legacy-save-queue-cells] The repair through the level's real resume branch (<c>Level.ConnectObjectsToGuests</c> with a resume state, an <see cref="OriginalPark"/> loaded without its |
| legacy-save-queue-cells | source/OpenTPW/World/Level.Objects.cs:302 | [EXT:legacy-save-queue-cells] For a resumed park: an imported HasQueue object whose entrance links into empty ground (an OpenTPW save made before the import took the shipped save's |
| legacy-save-queue-cells | source/OpenTPW/World/Objects/ObjectAccessCells.cs:180 | [EXT:legacy-save-queue-cells] an OpenTPW park save made before the import restored the shipped save's queue cells (#722) holds empty ground where the imported Belly Bounce's queue lies, so its typed front (0x4DE040) is an empty cell no guest can join; tp.exe's saves always hold the cells (0x4D0B30 reads each cell record whole), so the original needs no repair, and OpenTPW lays them at load from the level's shipped save, as the import now does, where the resumed cell is still empty ground and the entrance links into it. User-approved 2026-10-20 ("Herstel bij laden (EXT)"). |
| legacy-save-route-walk | source/OpenTPW/World/Guests/GuestNavigation.cs:406 | [EXT:legacy-save-route-walk] the route walk survives only for a guest off the grid and for a walk restored from an OpenTPW save made before the original walk: the route's cells (and the queue's next cells ahead and behind) are the walkable ones, avoid_walls has its edge branch only (with the probe's cell), refills come from the stored route, the stuck reroute prepends the current cell to the rest, progress compares raw remaining distances in the five-waypoint window, and the Mac's rounding FixMul/FixDiv apply; every walk the game starts is the search and edge-test walk of Navigate |
| legacy-save-route-walk | source/OpenTPW/World/Guests/GuestSimulation.cs:1562 | <c>[EXT:legacy-save-route-walk]</c>) when it is on its current walk: the route cells and, for a queue walk, the queue's next cells ahead of the destination and |
| legacy-save-route-walk | source/OpenTPW/World/Guests/GuestSimulation.cs:2287 | [BIN:TPW-EXE:0x004FA2A0 walk result] the walk step answers 2 for a walk that is stuck (a failed set-up, 0x0050F8E0, or a reroute of follow_path that finds no way, GuestNavigation.Step); a route walk of an old OpenTPW save ends stuck when a grid edit takes a cell or link of its route (EndBrokenWalks, [EXT:legacy-save-route-walk]) |
| legacy-save-route-walk | source/OpenTPW/World/Guests/GuestSimulation.cs:2378 | [EXT:legacy-save-route-walk] a route walk restored from an OpenTPW save made before the original walk has no original follow_path behind it, so a grid edit that takes a cell or link of its route ends it where the guest stands instead of replanning; the original has no such walks, and OpenTPW cannot rebuild the walk state such a save never held |
| legacy-station-layout | source/OpenTPW/World/Tracks/TrackStation.cs:99 | [EXT:legacy-station-layout] a ride of a park saved before the station followed the original's line keeps the tiles and the reference it was saved with (its saved tiles lie there) |
| legacy-tour-save | source/OpenTPW/World/Level.Tours.cs:143 | [EXT:legacy-tour-save] a park-resume save from before the tour controllers restores each live tour ride with a fresh controller (one car at the station, ready), as if its script had just run TOUR 1; nobody was aboard in such a save. The original's save always carries the FLYR block, so this is OpenTPW's save-compatibility decision |
| list-row-pitch | source/OpenTPW/FrontEnd/FrontEndMenu.cs:268 | [EXT:list-row-pitch] the rows take the buy list's fixed pitch, a design choice (see ParkHud.BuyRowHeight) |
| list-row-pitch | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:15 | [EXT:list-row-pitch] the list's row pitch is the row item's height (0x4944d0: font slot 7's height scaled to the canvas + 6), taken as the list's pitch, a design choice: the original's pitch follows the screen mode's font bank (0x663718 into +0x170), which resolution-independent output sizes do not have (UI-002) |
| list-row-pitch | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:23 | [EXT:list-row-pitch] the pitch is a fixed 41.4 units (the video's measure; the original's 640×480 pitch is 41), a design choice: the original's pitch follows the font and the screen height (34 to 42 units by the formula above), which OpenTPW's resolution-independent output sizes cannot copy; the wheel steps one row |
| list-row-pitch | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:21 | [EXT:list-row-pitch] the loans list takes the buy list's fixed pitch, a design choice (see BuyRowHeight) |
| list-row-pitch | source/OpenTPW/Online/OnlineScreens.cs:1911 | [EXT:list-row-pitch] the rows take the buy list's fixed pitch, a design choice (see ParkHud.BuyRowHeight) |
| list-selection-by-id | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:20 | [EXT:list-selection-by-id] the selected row follows its member while rows are added or removed, where the original keeps the selected position (+0x14c): the original list has no add or remove path (the thing-removed hook 0x4818c0 acts on guests only, thing kind +2 = 1, and a dismissal goes through the employee |
| list-selection-by-id | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:16 | [EXT:list-selection-by-id] the selected row follows its attraction while rows are added or removed, where the original keeps the selected position (+0x14c) — a design choice that keeps a live list from highlighting another attraction |
| list-selection-by-id | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:16 | [EXT:list-selection-by-id] the selected row follows its visitor while rows are added or removed, where the original keeps the selected position (+0x14c, 0x66525c) — a design choice that keeps a live list from highlighting another visitor |
| listener-eye-mode | source/OpenTPW/Audio/GameAudio.cs:1172 | [EXT:listener-eye-mode] OpenTPW's mapping of the original's camera-mode bits 0x16 to its camera modes: the free-walk camera (eye heard); the orbiting park camera hears the midpoint |
| live-language | source/OpenTPW/Client/GameFlow.cs:802 | [EXT:live-language] Switches to <see cref="pendingLanguage"/>: the language, the string table and the fonts. Caches of |
| live-language | source/OpenTPW/Client/PendingLanguage.cs:9 | [EXT:live-language] where the files of a language come from is an OpenTPW matter |
| live-language | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:2134 | [EXT:live-language] Options → OpenTPW → language row → OK switches the language at once: the front end and the |
| live-language | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:2212 | [EXT:live-language] In a park the options keep the language until the park is left, and say so; returns the language |
| live-language | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:366 | [EXT:live-language] the original read its language once; OpenTPW switches in the front end, and after the park |
| load-chooser | source/OpenTPW/FrontEnd/FrontEndMenu.cs:320 | [EXT:load-chooser] a text button that loads the selected row, at the place of the name field the load hides; the original loads only by activating a row |
| load-chooser | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| load-list-select-then-load | source/OpenTPW/FrontEnd/FrontEndMenu.cs:282 | [EXT:load-list-select-then-load] the list keeps OpenTPW's select-then-load flow (a first click selects; Enter, a second click or the Load Park button loads) because the Load Park button (EXT:load-chooser) acts on the selection, which a hover would retarget on the way to it; the original's load list (attribute 0x81) selects the row under the pointer and loads on one click (0x6656a0, 0x6655a2); user-approved 2026-10-17 |
| lobby-load | source/OpenTPW/Client/GameFlow.cs:376 | [EXT:no-player-profiles] a loaded shipped park is the reference start (its own balance, Full Simulation rules) whatever Game Mode was last chosen, a design choice: OpenTPW has no player profiles to hold the mode ([EXT:lobby-load]) |
| lobby-load | source/OpenTPW/FrontEnd/FrontEndMenu.cs:141 | [EXT:lobby-load] the Load Park line (UITEXT 3) is OpenTPW's: it stood in the lobby's right-hand menu column, which the original lobby does not have |
| lobby-menu-hint | source/OpenTPW/FrontEnd/FrontEndMenu.cs:127 | [EXT:lobby-menu-hint] the original opens the lobby menu with Escape and its lobby table has no button or other mouse route for it that was found (callers of the pause menu 0x48c830 in the front-end handler 0x4be1a0 and 0x4be537 take no click); the hint tells a mouse user where it is |
| locale-fallback | source/OpenTPW.Files/Public/LocalizedStringTable.cs:7 | [EXT:locale-fallback] the fallback order is an OpenTPW robustness rule for mixed or incomplete language data: the |
| low-detail-texture-fallback | source/OpenTPW/World/Objects/ObjectAssets.cs:195 | [EXT:low-detail-texture-fallback] the low sets are searched first, then the full folders: a few objects name textures that exist only in `textures` |
| m3-gate-minute | source/OpenTPW/Client/M3Gate.cs:150 | [EXT:m3-gate-minute] the M3 gate's "in-game minute" is OpenTPW's harness unit: 60 s of normal-speed simulation (3,600 fixed 60 Hz ticks), not a park-clock minute; the original has no gate and paces play by scaled real time (OpenTPW samples its 60 Hz ticks into park turns, EXT:fixed-60hz-clock) |
| m3-gate-minute | source/OpenTPW/Client/M3GateApproximations.cs:5 | entries were closed as design choices: [EXT:m3-gate-minute] (GATE-001) and [EXT:m3-gate-walk-bound] (GATE-006) in <see cref="M3Gate"/>. |
| m3-gate-walk-bound | source/OpenTPW/Client/M3Gate.cs:1351 | [EXT:m3-gate-walk-bound] (user-approved 2026-10-30, GATE-006 converted: the M3 gate is OpenTPW's own test harness, and its queue bound is an enumeration of the walk as ported, a harness tolerance, not original behaviour) the walk term N x C + 2 x w2 rests on C = 27 from a bounded enumeration of tp.exe's walk as OpenTPW ports it (WALK-005, WALK-009; WALK-002 and WALK-003 are retired), not on a proof for the original; it is looser than the retired GATE-005 check (owner decision 2026-10-10) — re-derive C once WALK-005 traces the original's edge records |
| m3-gate-walk-bound | source/OpenTPW/Client/M3Gate.cs:1464 | [EXT:m3-gate-walk-bound] C = 27 bounds tp.exe's walk as OpenTPW ports it, an enumeration and not a proof: avoid_walls' corner branches are ported (WALK-002 is retired) and the separation's neighbours come in the original's chain order, guests and staff alike (WALK-003 is retired), but the enumeration's separation is off or at its maximum and puts the neighbours' cells as the only blockers — re-derive C once WALK-005 traces the original's edge records (and with the original's query of at most five neighbours of any kind) |
| m3-gate-walk-bound | source/OpenTPW/Client/M3Gate.cs:1493 | [EXT:m3-gate-walk-bound] each walk is charged k x C + w2 from its own start, the enumerated per-walk term (tp.exe's walk as ported, not a proof) — re-derive C once WALK-005 traces the original's edge records |
| m3-gate-walk-bound | source/OpenTPW/Client/M3GateApproximations.cs:5 | entries were closed as design choices: [EXT:m3-gate-minute] (GATE-001) and [EXT:m3-gate-walk-bound] (GATE-006) in <see cref="M3Gate"/>. |
| m4-gate-closing-ends-use | source/OpenTPW/Client/M4GateApproximations.cs:5 | entries were closed as design choices: [EXT:m4-gate-use-window] and [EXT:m4-gate-closing-ends-use] in <see cref="M4GateRun"/>. |
| m4-gate-closing-ends-use | source/OpenTPW/Client/M4GateRun.cs:698 | [EXT:m4-gate-closing-ends-use] the gate's criterion that no guest boards a closed attraction is the OpenTPW test harness's own pass rule: the original has no gate, and the criterion only asks the host to honour VAR_RIDECLOSED |
| m4-gate-use-window | source/OpenTPW/Client/M4Gate.cs:25 | <summary>The use window W in simulated minutes ([EXT:m4-gate-use-window]; <see cref="M4Gate.DefaultUseWindowMinutes"/>).</summary> |
| m4-gate-use-window | source/OpenTPW/Client/M4Gate.cs:138 | <summary>Default use window W ([EXT:m4-gate-use-window], docs/M4-GATE.md).</summary> |
| m4-gate-use-window | source/OpenTPW/Client/M4GateApproximations.cs:5 | entries were closed as design choices: [EXT:m4-gate-use-window] and [EXT:m4-gate-closing-ends-use] in <see cref="M4GateRun"/>. |
| m4-gate-use-window | source/OpenTPW/Client/M4GateRun.cs:26 | [EXT:m4-gate-use-window] the use window W (a working attraction admits a queued guest, releases a boarded guest and, after closing, releases its riders within W; 5 simulated minutes, 18,000 fixed ticks, by default) is the OpenTPW test harness's own tolerance: the original has no gate and no such bound, and a pass criterion needs some finite window |
| maexah/OpenTPW ParkEntryPriceScreen.cs (PC 0x00498d33, 0x00498fc3) | source/OpenTPW/Hud/ParkHud.Management.cs:220 | the door routine with the switch's new state. [EXT:maexah/OpenTPW ParkEntryPriceScreen.cs (PC 0x00498d33, 0x00498fc3)] |
| maexah/OpenTPW park-engine.md | source/OpenTPW/Hud/ParkHud.cs:1131 | [EXT:maexah/OpenTPW park-engine.md] the original's shortcut table row 9 maps Ctrl-C to the close-park handler (PC 0x0040c410) |
| maexah/OpenTPW park-gate.md | source/OpenTPW/World/ParkGate.cs:30 | [EXT:maexah/OpenTPW park-gate.md] led this port; the Mac addresses above were verified in |
| malformed-texture-coordinates | source/OpenTPW/World/Objects/ObjectAssets.cs:71 | [EXT:malformed-texture-coordinates] Non-finite texture coordinates (10 vertices of the Theme Park Inc natnav "subtank") are drawn as (0, 0): the original passes the raw floats to Direct3D (undefined behaviour), so there is no rule to recover and this is OpenTPW's handling of malformed data (formerly RIDES-030) |
| md2-clamp-in-shader | source/OpenTPW/Render/TextureSlotAddressing.cs:9 | [EXT:md2-clamp-in-shader] a clamped slot samples the material's wrapping sampler at coordinates held half a texel of the coarsest selectable mip inside the edges, with the unclamped derivatives: WebGL allows 16 texture units, so a second sampler per texture is not available, and this is OpenTPW's emulation of CLAMP (exact at the finest mip, the edge texel a little wider in coarser mips) |
| md2-engine-scale | source/OpenTPW/World/Objects/OriginalObject.cs:13 | [EXT:md2-engine-scale] Engine units: 1 MD2 unit = 0.2 (presentation scale shared with the terrain; the original has no such game rule) — OpenTPW's presentation convention (formerly RIDES-026) |
| message-tube-art | source/OpenTPW/Hud/ParkHud.MessageTube.cs:17 | [EXT:message-tube-art] the red tube body is drawn as rectangles and the white icons as discs, the growth per message (77 units) read off the video, instead of the original's tube art |
| missing-frame-keeps-visible | source/OpenTPW/World/Objects/OriginalObject.cs:532 | [EXT:missing-frame-keeps-visible] A frame whose art no searched texture directory has (including Theme Park Inc tvsim slot 39 frame 3, lt1.tga) keeps the effective selected frame the slot currently shows (the renderer registers decoded-art availability with the animator, so save history retains the visible frame); a missing art file has no original fallback to match and showing nothing or failing would break the object, so keeping the visible frame is OpenTPW's design |
| missing-state-texture | source/OpenTPW.Tests/OriginalUiAssetTests.cs:104 | normal frame greyed instead of untextured white ([EXT:missing-state-texture]), and the pressed frames of the unused b_loantog. |
| missing-state-texture | source/OpenTPW/UI/Original/UiWidgets.cs:706 | [EXT:missing-state-texture] a state frame whose texture ui.wad lacks (the disable frames of b_callmech, b_callhandy and b_upgrade name b_callmechg, b_callhandyg |
| mods | source/OpenTPW.Common/Files/BaseFileSystem.cs:7 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW.Common/Files/BaseFileSystem.cs:100 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW.Files/Public/GameLanguage.cs:242 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW.Files/Public/GameLanguage.cs:273 | [EXT:mods] A mod's table is used only when it parses and has as many entries as the language's own: the interface indexes the |
| mods | source/OpenTPW.Online/Packages/ParkPackage.cs:11 | [EXT:mods] One official OpenTPW extension a park uses, as its package records it: the extension's id (<c>opentpw.winter</c>) and the version it was published with. Community mods are never recorded |
| mods | source/OpenTPW.Online/Packages/ParkPackage.cs:33 | [EXT:mods] only a package that uses official extensions has the member (and then format version 3), so every other package stays byte-compatible with readers of version 2 |
| mods | source/OpenTPW.Online/Packages/ParkPackage.cs:46 | Version 2: the payload may carry the complete built park (payload version 2). Readers still accept version 1. Version 3 ([EXT:mods]): the manifest may list the official extensions the park uses |
| mods | source/OpenTPW.Online/Packages/ParkSnapshot.cs:31 | <param name="Extensions">[EXT:mods] The official OpenTPW extensions the park uses (<see cref="ExtensionUse"/>), or null when it uses none.</param> |
| mods | source/OpenTPW.Tests/PublishOfficialExtensionsServerTests.cs:23 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW.Tests/PublishOfficialExtensionsTests.cs:24 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW.Tests/WinterWiringTests.cs:149 | same with the extensions on or off ([EXT:mods], EconomyObjectInfo.NotResearched). |
| mods | source/OpenTPW.Web/Program.cs:149 | [EXT:mods] The browser has the data mods shipped with the page (content/mods) and the official extensions, with the choices in /config/mods.json (docs/MODS.md). |
| mods | source/OpenTPW/Client/Game.cs:192 | [EXT:mods] Extensions and data-only mods (docs/MODS.md): resolved once here; mods.json changes apply at the next start. |
| mods | source/OpenTPW/Client/Game.cs:323 | [EXT:mods] a startup visit has no dialog to ask on: a park that uses content extensions that are off is refused with how to switch them on for the run |
| mods | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:105 | [EXT:mods] Before a read-only visit of <paramref name="visit"/> starts: when its package records content extensions that are off here (<see cref="ParkVisitExtensions"/>), a dialog asks to turn them on and visit |
| mods | source/OpenTPW/Client/GameFlow.cs:321 | [EXT:mods] a save made with mods that are not all active stays listed and says which it needs ([EXT:save-extension-switch] unless the load can switch them: it asks then) |
| mods | source/OpenTPW/Client/GameFlow.cs:1389 | [EXT:mods] a park that uses official extensions that are off here asks before the visit (ConfirmVisitExtensions) |
| mods | source/OpenTPW/Client/M3Gate.cs:35 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Client/ParkResumeSmokeTest.Fixture.cs:35 | [EXT:mods] the mod variant takes the shipped Theme Park Inc mod's Turban Bounce (a flat ride with a queue), else the build menu's cheapest ride that a mod brings (OPENTPW_SMOKE_MODS=1), whose copies, queues and save are then the mod's |
| mods | source/OpenTPW/Client/ParkResumeSmokeTest.cs:49 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Client/SandboxSmokeTest.Objects.cs:157 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Economy/EconomyObjectCatalog.cs:32 | <param name="NotResearched">[EXT:mods] True for an object of an <c>objects.json</c> that declares <c>"research": false</c> (the pools extension's): it is never a research project, so it is in no research table, never in the saved completed set, does not count in the group statistics and is available from the start; the golden ticket's "everything built" does not ask for it.</param> |
| mods | source/OpenTPW/Economy/EconomyObjectCatalog.cs:288 | [EXT:mods] The objects the enabled mods add to <paramref name="theme"/> (docs/MODS.md), after the game's: each catalogue entry of a mod root gets the same |
| mods | source/OpenTPW/FrontEnd/FrontEndMenu.cs:257 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/FrontEnd/ThemeContinuation.cs:22 | [EXT:mods] the entry stays offered and names the mods it needs when they are not all active |
| mods | source/OpenTPW/Hud/ParkHud.cs:27 | [EXT:mods] Why the park cannot be published now (it records community mods; <see cref="ParkSharing.PublishRefusal"/>), or null: the pause menu's Publish Park line is then disabled, as the online menu's, and says why on hover. |
| mods | source/OpenTPW/Hud/ParkHud.cs:850 | [EXT:mods] a greyed Publish Park line says why on hover (community mods in the park), as the online menu's does |
| mods | source/OpenTPW/Mods/BrowserModInputs.cs:13 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ContentRoot.cs:11 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/FeatureGates.cs:9 | [EXT:mods] OpenTPW's own extension switches; the original game had none |
| mods | source/OpenTPW/Mods/ModContentRoots.cs:19 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModDiscovery.cs:28 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModFiles.cs:10 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModManifest.cs:31 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModObjects.cs:24 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModSet.cs:80 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModSettings.cs:11 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModStartup.cs:11 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/ModStartup.cs:142 | [EXT:mods] the mods' overrides, strings and objects become visible to the game (docs/MODS.md) |
| mods | source/OpenTPW/Mods/ModStartup.cs:194 | [EXT:mods] the mods' objects become visible to the game (docs/MODS.md); files-based overrides work the same way |
| mods | source/OpenTPW/Mods/ModVersion.cs:9 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Mods/OfficialExtensions.cs:29 | [EXT:mods] OpenTPW's own extension registry; the original game had none |
| mods | source/OpenTPW/Online/OnlineScreens.cs:395 | [EXT:mods] a greyed Publish park says why on hover: no park open, a visit, a shared park's guest copy, or community mods in the park (ParkSharing.PublishRefusal) |
| mods | source/OpenTPW/Online/OnlineScreens.cs:434 | [EXT:mods] the reason Publish park is greyed also stands in the status line while there is nothing else to say: the hover help needs a pointer and popup help |
| mods | source/OpenTPW/Online/OnlineScreens.cs:1607 | [EXT:mods] a park that records mods cannot be published yet: say so before the globe, as the form's status column would |
| mods | source/OpenTPW/Online/OnlineScreens.cs:1735 | [EXT:mods] a park that records mods cannot be exported or published yet (ParkSharing.ModsRefusal): both buttons are hidden and the status column says why |
| mods | source/OpenTPW/Online/OnlineSession.cs:685 | [EXT:mods] a server from before the extensions member refuses a version 3 package as malformed or unsupported: say what to do instead |
| mods | source/OpenTPW/Online/ParkSharing.cs:47 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Online/ParkSharing.cs:70 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Online/ParkSharing.cs:80 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/Online/ParkSharing.cs:119 | [EXT:mods] the official extensions the park uses go into the package, so a visitor who has them off is asked (ParkVisitExtensions) |
| mods | source/OpenTPW/Online/ParkVisitExtensions.cs:10 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/UI/Original/Options/ModsScreen.cs:187 | [EXT:mods] activating a row toggles it like the On/Off button beside the list, with the button's click; the original has no mods screen (its list rows are silent, UiScrollList.Activate) |
| mods | source/OpenTPW/UI/Original/SupplementaryStrings.cs:433 | <summary>[EXT:mods] The visit dialog's button that switches content extensions on and visits the park ({0}: their names).</summary> |
| mods | source/OpenTPW/UI/Original/SupplementaryStrings.cs:435 | <summary>[EXT:mods] The visit dialog's question that switches content extensions on and visits the park ({0}: their names).</summary> |
| mods | source/OpenTPW/World/Level.Resume.cs:288 | [EXT:mods] null unless a simulation-changing extension or mod is active, so unmodded saves keep their bytes; [EXT:pools-save] opentpw.pools is recorded only while the park has pool cells or a changing room, [EXT:umbrellas-save] opentpw.umbrellas only while it has a brolly shop or an umbrella |
| mods | source/OpenTPW/World/Objects/ObjectCatalog.cs:103 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/World/Objects/ObjectCatalog.cs:392 | [EXT:mods] the active mods' digest is part of the key: the same files-based mods give the same catalog, other mods another one |
| mods | source/OpenTPW/World/Objects/ObjectCatalog.cs:475 | [EXT:mods] The objects of the enabled mods follow the game's and the bonus archives, in mod order (docs/MODS.md). An archive name that is |
| mods | source/OpenTPW/World/Objects/ObjectCatalog.cs:610 | [EXT:mods] a mod's object gets the Info.Id its objects.json assigns, whatever its own .sam says (Layout records join on Info.Id, so the id is the mod's to keep stable) |
| mods | source/OpenTPW/World/Objects/ObjectCatalog.cs:1018 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/World/ParkResumeMods.cs:10 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/World/ParkResumeMods.cs:39 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods | source/OpenTPW/World/ParkResumeSaveFile.cs:238 | [EXT:mods] the mods the park was saved with must be the ones that are active, before anything else is judged (docs/MODS.md) |
| mods | source/OpenTPW/World/ParkResumeSaveFile.cs:477 | [EXT:mods] the recorded mods: bounded, valid ids and digests, and every mod: asset key names a recorded mod |
| mods | source/OpenTPW/World/ParkResumeSnapshot.cs:167 | [EXT:mods] OpenTPW's own mod system; the original game had no mods |
| mods-ui | source/OpenTPW.Tests/ModsScreenTests.cs:14 | <summary>The Extensions and mods screen and its status rows (docs/MODS.md, [EXT:mods-ui]).</summary> |
| mods-ui | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:698 | [EXT:mods-ui] Options > Extensions and mods with a throw-away mods.json: both columns render, the online extension is listed and switching it is pending until OK. |
| mods-ui | source/OpenTPW/Mods/ModRows.cs:35 | The rows of the Extensions and mods screen ([EXT:mods-ui]): the official extensions first, then the mods found at |
| mods-ui | source/OpenTPW/Mods/ModRows.cs:39 | [EXT:mods-ui] OpenTPW's own mods screen; the original game had no mods |
| mods-ui | source/OpenTPW/Mods/ModSet.cs:47 | <summary>Why a mod cannot run, in terms the mods screen can word in every language ([EXT:mods-ui]).</summary> |
| mods-ui | source/OpenTPW/Mods/ModSettings.cs:118 | [EXT:mods-ui] the mods screen chooses input folders |
| mods-ui | source/OpenTPW/Mods/ModStartup.cs:22 | The mod folders found at startup, valid or not: the Extensions and mods screen lists them ([EXT:mods-ui]). Like the |
| mods-ui | source/OpenTPW/UI/Original/Options/ModsScreen.cs:62 | [EXT:mods-ui] OpenTPW's own mods screen; the original game had no mods |
| mods-ui | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:591 | [EXT:mods-ui] Extensions and mods, beside Game files (the browser lists the data mods shipped with the page; its mod inputs are chosen with the page's folder dialog) |
| mods-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:180 | [EXT:mods-ui] the Extensions and mods screen |
| mods-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:914 | [EXT:mods-ui] the Extensions and mods screen |
| mods-ui | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| movie-full-color | source/OpenTPW.Tests/MoviePresentationTests.cs:147 | A silent capture of bf.tgq frame 127 as presented: full 8-bit colour by default ([EXT:movie-full-color]); the original's |
| movie-full-color | source/OpenTPW/Client/Movie/MoviePresenter.cs:69 | [EXT:movie-full-color] the original packs every movie pixel to its 16-bit display surface (tables 0x670350, row writer 0x675D90); OpenTPW presents full colour, which also suits upscaled movies (user-approved 2026-10-17). |
| movie-letterbox | source/OpenTPW/Client/Movie/MoviePresenter.cs:46 | [EXT:movie-letterbox] the original ran fixed 4:3 modes; OpenTPW runs any window size and letterboxes the 640:352 picture inside it |
| mpeg-crc | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:236 | [EXT:mpeg-crc] a failed frame CRC is counted while the frame still decodes (an OpenTPW decoder robustness choice): every shipped frame has protection_bit 1 (no CRC word) |
| mpeg-crc-policy | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:240 | [EXT:mpeg-crc-policy] A CRC mismatch is counted and the frame still decodes; ISO/IEC 11172-3 2.4.3.1 only |
| mpeg-deemphasis | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:230 | [EXT:mpeg-deemphasis] de-emphasis of a stream that signals it is an OpenTPW decoder choice (a first-order bilinear shelf of the published 50/15 us and J.17 curves): every shipped frame (411,333 Layer I/II frames in all .sdt banks) has emphasis 0, so the original's decoder (not located) cannot be observed with shipped data |
| mpeg-deemphasis-filter | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:456 | [EXT:mpeg-deemphasis-filter] the standards specify only the analogue de-emphasis characteristic; this realization is the |
| name | source/OpenTPW/World/Tracks/TrackApproximations.cs:4 | The kart and water track slice's approximation register (docs/TRACKS.md). Each entry is tagged <c>[APPROX:TRACK-NNN]</c> at its code site (a retired one leaves its BIN labels, a reclassified one an <c>[EXT:name]</c> decision, docs/TRACKS.md); the |
| no-land-maps | source/OpenTPW/Economy/ParkEconomy.cs:2036 | [EXT:no-land-maps] a map without the level's land counts every cell over the terrain as owned: the rest is the original's rule (ORACLE.md X35 and X38: the cell points of the saves' own cells, a station's footprint cells and an add-on's cells equal the oracle's net worth) |
| no-land-maps | source/OpenTPW/World/ParkCellMap.cs:340 | [EXT:no-land-maps] a map that gets no land (a level without a fence setup, a read-only visit) keeps its cells over the terrain owned: the fence needs the theme's Hoardings.sam and entrance cells, which those maps lack, and a visit is OpenTPW's read-only extension; a Theme Park Inc map takes its own land afterwards (ThemeParkIncLand) |
| no-launcher-machine-class | source/OpenTPW/World/Guests/KidSetLoad.cs:16 | [BIN:TPW-EXE:0x0041A9D0 kid set limit] the jump table 0x0041AA24 holds 2 (0x0041AA09), 4, 6 and 8 for the word at 0x007858D0 below 4 and 8 above it; [EXT:no-launcher-machine-class] the launcher machine-class path in front of it (the flags word 0x0079D86C, bit 0x4000; the memory word 0x44A5D0 only ever returns 8, 0x10 or 0x20) gives 8 for 8, 6 for 0x10 and 4 for 0x20 and depends on the player's PC: OpenTPW always follows the graphics preset |
| no-launcher-machine-class | source/OpenTPW/World/Staff/StaffSprites.cs:77 | [EXT:no-launcher-machine-class] 0x41AA40 first tests the hardware class (0x44A590: the flags word 0x79D86C, bit 0x4000) and then the memory word (0x44A5D0, which only ever returns 8, 0x10 or 0x20: the staff limit is 1 for 0x20 and 2 for 8 or 0x10; the kid sets' limit 0x41A9D0 has the same path: 4 for 0x20, 6 for 0x10, 8 for 8); no code sets those bits (the writers 0x44D93E to 0x44E322 set 0x200, 0x400, 0x80, 0x40 and 1, 2, 4 only): the word is the launcher file dialog.tcf's, copied whole from the blob's +0x7C (0x449E78, from 0x78D954); bit 0x4000 only skips the class-preset load 0x44DC60 (0x44E1BF), and the software renderer path inside 0x44DD50 is chosen by bit 0x40 (0x44DDC0), not by 0x4000; OpenTPW always follows the graphics preset, where the original's launcher machine class (bit 0x4000 with memory sub-classes) depends on the player's PC (under class 0x4000, 0x41AA40 gives the staff limit 2, 2 or 1 and 0x41A9D0 the kid-set limit 8, 6 or 4, 0x41A9E1 to 0x41A9F4, for the memory words 8, 0x10 and 0x20) |
| no-player-profiles | source/OpenTPW/Client/GameFlow.Progress.cs:207 | [EXT:no-player-profiles] without an own progress file there is no player whose record could be marked (the file is made only with the player's consent), so nothing is written |
| no-player-profiles | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:207 | [EXT:no-player-profiles] OpenTPW has no player profiles: the one player is the Personnel File's "New Player" (UITEXT 20), as its first slot shows |
| no-player-profiles | source/OpenTPW/Client/GameFlow.cs:376 | [EXT:no-player-profiles] a loaded shipped park is the reference start (its own balance, Full Simulation rules) whatever Game Mode was last chosen, a design choice: OpenTPW has no player profiles to hold the mode ([EXT:lobby-load]) |
| no-player-profiles | source/OpenTPW/Client/GameFlow.cs:377 | a loaded park takes no game type from the park; the original's comes from the player's front-end choice, which OpenTPW does not keep ([EXT:no-player-profiles]; UI-041 converted 2026-10-30, user-approved 2026-10-18) |
| no-player-profiles | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:204 | [EXT:no-player-profiles] OpenTPW has no player profiles: the addressee is the world's PlayerName, the Personnel File's one player |
| no-player-profiles | source/OpenTPW/Economy/PlayerTicketLedger.cs:57 | <c>mAllResearchCompleted</c> byte. OpenTPW has one player ([EXT:no-player-profiles]), so the list is this ledger's. |
| no-player-profiles | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:29 | [EXT:no-player-profiles] OpenTPW has no player profiles, so the count is the one player's saved Full Simulation ledger, read when the menu is built (returning from a park rebuilds it); |
| no-player-profiles | source/OpenTPW/FrontEnd/FrontEndMenu.cs:172 | [EXT:no-player-profiles] OpenTPW has no player profiles, so Game Mode is asked on every park entry and each entry starts a new park. The original keeps the mode per player (STP-PPC 0x1015D220/0x1013741C): [BIN:TPW-EXE:0x550ca0 GameType] derives it from bits 0x2000000 (2) and 0x1000000 (1) of the flags word 0x7a1a8c, which a front-end toggle (0x4bbf63..0x4bbf9f) sets, and resumes the player's per-theme autosave (path pieces "save" 0x747a2c, "users" 0x747a3c, "autosave" 0x747a58); a design decision |
| no-player-profiles | source/OpenTPW/FrontEnd/FrontEndMenu.cs:180 | [EXT:no-player-profiles] the title box shows "Game Mode" where the original's dialog asks for the player's name |
| no-player-profiles | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:57 | [EXT:no-player-profiles] the idle line needs a current player (0x5E1830 tests [[0xF81EBC] + 0x60] != -1, 0x48BCD0): OpenTPW has the one player, who is always current |
| no-player-profiles | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:129 | [EXT:tpi-front-end-one-player] OpenTPW has no player profiles ([EXT:no-player-profiles]): the first slot is the one player and is shown selected, the other three are drawn inactive |
| no-player-profiles | source/OpenTPW/World/Level.Finale.cs:5 | ([EXT:no-player-profiles]), so the list lives in the player's own progress file (<see cref="PlayerTicketLedger.ResearchCompleted"/>). |
| object-lights | source/OpenTPW.Files/Formats/Model/GltfModelConverter.cs:59 | <summary>[EXT:object-lights] Node extra: the light number of a <c>KHR_lights_punctual</c> point light's dummy (an integer from 0); a point light without it is skipped with a warning.</summary> |
| object-lights | source/OpenTPW.Files/Formats/Model/GltfModelConverter.cs:61 | <summary>[EXT:object-lights] Node extra: the radius of that light in model units (1 to 65535), for exporters that cannot write a glTF <c>range</c> (Blender's lights have none).</summary> |
| object-lights | source/OpenTPW.Files/Formats/Model/GltfModelConverter.cs:170 | [EXT:object-lights] The point lights of the scene as light dummies (docs/LIGHTS.md). Only a point light on a node with the extra <c>opentpw_light</c> (the light number, an integer from 0) becomes a dummy: |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelBuilder.cs:32 | <summary>[EXT:object-lights] The type word of a light dummy's attribute record: class 0x20000 and a data block (<see cref="ModelLights"/>).</summary> |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelBuilder.cs:277 | [EXT:object-lights] light numbers are unique (the original's lookup takes the first dummy of the number) and start anywhere from 0; a script names them |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelBuilder.cs:400 | <summary>[EXT:object-lights] The light number of this node's light dummy record, or null.</summary> |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelBuilder.cs:402 | <summary>[EXT:object-lights] The data block of the light record: colour in X, Y, Z and the radius in model units in the word (0 = the default 100).</summary> |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelBuilder.cs:406 | [EXT:object-lights] Makes this node a light dummy (docs/LIGHTS.md): attribute class 0x20000 with the light number as value, which the four light opcodes address, and a data |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelFile.Types.cs:60 | model has one; OpenTPW's own models do ([EXT:object-lights], <see cref="ModelLights"/>). |
| object-lights | source/OpenTPW.Files/Formats/Model/ModelLights.cs:16 | [EXT:object-lights] Light dummies in a model. The original's engine addresses a model's lights as node attributes of class 0x20000 with the light number as the value |
| object-lights | source/OpenTPW.Tests/HeldSoundTests.cs:523 | the light opcodes are served ([EXT:object-lights]): on an object whose model has no light dummy they change nothing and are not counted as unimplemented |
| object-lights | source/OpenTPW.Tests/ObjectLightTests.cs:15 | [EXT:object-lights] Light dummies in models, the content kit's way of writing them, the object's light bank and the four light opcodes (docs/LIGHTS.md). No GPU and no game data |
| object-lights | source/OpenTPW/VM/Handlers/Effects.cs:70 | [EXT:object-lights] the four light opcodes act on the light dummies (class 0x20000) of an OpenTPW object's own model (docs/LIGHTS.md): no shipped model has one and the original's instance builder never creates the light (0x44A870), so the original would fault where a model has none; here a missing light is a logged no-op |
| object-lights | source/OpenTPW/World/Objects/ObjectLights.cs:6 | [EXT:object-lights] The original's model format has a place for lights (a node attribute of class 0x20000 with the light number as value) and its RSE has four opcodes that switch and |
| object-lights | source/OpenTPW/World/Objects/ObjectLights.cs:110 | is truncated and is not what its lighting reads); [EXT:object-lights] only a bound of +-<see cref="PointLightMath.ColourBound"/> per channel keeps a huge operand finite and sane. Returns false, changing |
| object-lights | source/OpenTPW/World/Objects/OriginalObject.cs:194 | [EXT:object-lights] an object whose model has light dummies shows them through its level's point lights |
| object-lights | source/OpenTPW/World/Objects/OriginalObject.cs:745 | [EXT:object-lights] The lights that are on, at their dummy nodes' world transforms at the current pose (so a light on a moving part moves with it), in engine units: the position from the node's |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:84 | [EXT:object-lights] the light dummies of the model (none in any shipped model), with the object's .sam keys over them |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:223 | [EXT:object-lights] The object's lights (docs/LIGHTS.md), or null when its model has no light dummy. Presentation only: not part of the canonical state a hash reads, saved with the runtime snapshot. |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:471 | [EXT:object-lights] ENABLELIGHT, DISABLELIGHT, SETLIGHT and COLOURLIGHT. A light the model does not have is a no-op logged once per opcode and number, never a fault: the original |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:610 | [EXT:object-lights] the lights' on/off and colour; a number this model no longer has is reported, a model without lights ignores the list |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:957 | [EXT:object-lights] the model's light dummies; the original's own lights are never created (docs/LIGHTS.md) |
| object-lights | source/OpenTPW/World/Objects/OriginalObjectRuntimeSnapshot.cs:93 | [EXT:object-lights] The on/off state and colour of the object's lights (docs/LIGHTS.md), or null for an object whose model has none (every original object: such a snapshot is byte-identical to one |
| offline-focus-pause | source/OpenTPW/Audio/AudioMixer.cs:335 | Pauses every channel of the sound system, as the application's deactivation does ([EXT:offline-focus-pause] for the host plumbing; <see cref="GamePauseSound"/>). |
| offline-focus-pause | source/OpenTPW/Audio/GamePauseSound.cs:108 | [EXT:offline-focus-pause] the host samples the focus once per frame, so a loss and a return between two samples are not seen |
| offline-focus-pause | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:13 | [EXT:offline-focus-pause] what differs from the original is host plumbing only: focus is sampled once per frame (a loss and a return between two samples is not seen), an initial lack of focus and |
| offscreen-automated-runs | source/OpenTPW/Client/Game.cs:1342 | The automated modes that [EXT:silent-automated-runs] and [EXT:offscreen-automated-runs] share, so the two rules cannot drift apart: smokes |
| offscreen-automated-runs | source/OpenTPW/Client/Game.cs:1379 | [EXT:offscreen-automated-runs] every automated run (<see cref="IsAutomatedRun"/>: smokes, captures, perf runs, debug runs, gates and the rest) creates |
| offscreen-automated-runs | source/OpenTPW/Client/Game.cs:1534 | [EXT:offscreen-automated-runs] an offscreen run cannot show the setup window (it would open visibly and wait for input): it stops instead |
| offscreen-automated-runs | source/OpenTPW/Client/Game.cs:1569 | [EXT:offscreen-automated-runs] nor does an offscreen run open the setup window (it would appear and wait for input) |
| online-avatar-click | source/OpenTPW/Hud/ParkHud.cs:1424 | [EXT:online-avatar-click] in a visit with other players a click on the ground walks the player's figure there (manual p. 68: "Left click to walk to destination"): in the |
| online-avatar-labels | source/OpenTPW/Hud/ParkHud.VisitChat.cs:167 | [EXT:online-avatar-labels] the original's online persons carry no name the decoded code draws (the chat overlay's people list names them) |
| online-avatar-look | source/OpenTPW/Online/ParkPresenceState.cs:490 | [EXT:online-avatar-look] the online person's own model (MODEL_ONLINE_PERSON) is not decoded; the figures wear the guests' kid sets, chosen from the name |
| online-avatar-route | source/OpenTPW/Online/ParkPresence.cs:375 | [EXT:online-avatar-route] land, paths, queues, object entrances and exits, and the fixed walkways; not water, objects, cells without terrain, track, |
| online-avatar-route | source/OpenTPW/Online/ParkPresenceState.cs:243 | [EXT:online-avatar-route] the cells a figure may cross are OpenTPW's choice (ParkPresence.PresenceGround: land, paths, queues and entrances, not water, objects or the fence); the route map the original passes (+0xB4) is not read |
| online-avatar-sparkle-cap | source/OpenTPW/Online/ParkPresence.cs:457 | [EXT:online-avatar-sparkle-cap] the original sparkles every online person every turn (its server capped a park's attendance); OpenTPW sparkles at most |
| online-avatar-start | source/OpenTPW/Online/ParkPresence.cs:248 | places and sends nothing); [EXT:online-avatar-start] OpenTPW always starts there and always sends the teleport |
| online-avatar-start | source/OpenTPW/Online/ParkPresence.cs:249 | [EXT:online-avatar-start] a level whose entrance A lies outside its cell map starts the figure in the park's middle |
| online-avatar-walk | source/OpenTPW/Online/ParkPresenceState.cs:86 | [EXT:online-avatar-walk] about a quick guest's pace (GuestSpeed: 0.2 cell a 248 ms turn at base speed 100, 140 the fastest); the online person's own speed (the walk step 0x4FA2A0 of its route) is not read |
| online-bubbles-on | source/OpenTPW/World/Guests/GuestSimulation.cs:1193 | [EXT:online-bubbles-on] bubbles are on in a visit too, where 0x50BE80 skips them in an online game (GameType word 0xFB3B7C = 1; none of its 22 callers passes the override): a visit is OpenTPW's read-only extension and shows the park as its owner sees it |
| online-buddy-enters-text | source/OpenTPW.Server/ChatHub.cs:450 | [EXT:online-buddy-enters-text] the client shows OpenTPW's own sentence for this system key: the original |
| online-buddy-enters-text | source/OpenTPW/Online/OnlineSession.cs:44 | [EXT:online-buddy-enters-text] the wording is OpenTPW's own; the original notification's string is not recovered |
| online-buddy-status-notices | source/OpenTPW.Online/Chat/ChatCommands.cs:43 | [EXT:online-buddy-status-notices] 111-113 are all "Your buddy " (English suffix strings are empty); OpenTPW's |
| online-chat-add-failure | source/OpenTPW.Online/Chat/ChatCommands.cs:34 | [EXT:online-chat-add-failure] 102/110 are both "Could not add "; OpenTPW's server sends 102 for a failed ignore |
| online-chat-command-semantics | source/OpenTPW.Server/ChatHub.cs:30 | [EXT:online-chat-command-semantics] OpenTPW's chat server gives the commands meanings that fit their |
| online-chat-goto | source/OpenTPW/Online/ParkPresence.cs:265 | [EXT:online-chat-goto] the figure teleports to the player it went to; the original server's answer to a goto (command 0x13) is not read |
| online-chat-help | source/OpenTPW/Online/ChatPanelModel.cs:121 | [EXT:online-chat-help] the overlay's controls carry no help id in the table (0x758AE8); OpenTPW shows UIHELPTEXT 402-409, 418, 419, 422, 461 and 480 by their wording, and not 420 (the entry), which the help box would cover |
| online-chat-line-limit | source/OpenTPW.Online/Chat/ChatCommands.cs:98 | [EXT:online-chat-line-limit] the protocol's chat line limit: one more than the original chat entry's 255 characters (tp.exe 0x4BF460, ChatPanel.EntryMaximumLength), so the |
| online-chat-park-details | source/OpenTPW/Online/OnlineScreens.cs:226 | [EXT:online-chat-park-details] the satellites' details are always this variant, titled with the chat park's name: whether city 1 carried the flag is not |
| online-chat-park-scene | source/OpenTPW/Online/OnlineScreens.cs:205 | [EXT:online-chat-park-scene] OpenTPW asks the server for the satellites' scenes at the click |
| online-chat-park-scene | source/OpenTPW/Online/OnlineScreens.cs:266 | [EXT:online-chat-park-scene] a chat park's visit joins its satellite's standing room, the room older games enter in the overhead view and the satellite's |
| online-chat-park-view | source/OpenTPW/Online/ChatParkView.cs:11 | [EXT:online-chat-park-view] a flat overhead view with a marker per player, walked by clicking at one speed, shows a room without a visited park |
| online-chat-park-view | source/OpenTPW/Online/OnlineScreens.cs:2120 | The park view over which the original drew its chat overlay; [EXT:online-chat-park-view] a room entered without a park to visit (an older server, |
| online-chat-person-flags | source/OpenTPW/Online/ChatPanelModel.cs:73 | [EXT:online-chat-person-flags] a buddy counts as online and in this park while the room's roster names them; the original kept both flags per buddy from the server's buddy messages (0x4EE5C0), OpenTPW's server answers the buddy list with online and offline only |
| online-chat-person-flags | source/OpenTPW/Online/OnlineSession.cs:867 | [EXT:online-chat-person-flags] the overlay colours the buddies and offers the right name popup from the start, so the list is asked at once |
| online-chat-person-flags | source/OpenTPW/Online/OnlineSession.cs:1551 | [EXT:online-chat-person-flags] the overlay keeps its buddy list from asks of its own, one in five seconds at most; the original kept the flags from the server's buddy messages (0x4EE5C0) |
| online-chat-popup-place | source/OpenTPW/Online/ChatPanel.cs:184 | [EXT:online-chat-popup-place] the popup's corner is at the pointer, kept inside the screen; the offset 0x4BF370 applies is not read |
| online-chat-ride-click | source/OpenTPW/Hud/ParkHud.VisitChat.cs:47 | [EXT:online-chat-ride-click] the ride view opens only for a ride with a camera seat or a running coaster (RideCameraMode.CanRide), and a feature's choosable bit is not tracked: a feature rides when its view opens |
| online-chat-row-highlight | source/OpenTPW/Online/ChatPanel.cs:337 | [EXT:online-chat-row-highlight] the chosen row is marked with a bar; the original's hilight art (0x659bc9 "hilight") is not drawn |
| online-coop-claims | source/OpenTPW.Tests/CoopJoinSessionTests.GuestCoasters.cs:10 | [EXT:online-coop-claims] A guest's coaster tool across a capture (docs/COOP.md, "A guest's coaster tool (C3c-2)"): a seat that asked for the park has fenced its requests, so the host lets go of |
| online-coop-claims | source/OpenTPW.Tests/CoopJoinTests.cs:152 | [EXT:online-coop-claims] one claim a ride and a seat, the host's seat 0 included, never a seat past the session's players (C3c-1) |
| online-coop-claims | source/OpenTPW.Tests/CoopRightsTests.cs:204 | [EXT:online-coop-claims] building taken back by either command lets go of the seat's claim in the same record |
| online-coop-claims | source/OpenTPW.Tests/CoopRightsTests.cs:309 | [EXT:online-coop-claims] The claim guard of a guest's attractions commands (C4b-2): exactly the five kinds that name a claimable ride (the open switch, the settings, a level bought or |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.Attractions.cs:11 | [EXT:online-coop-commands] [EXT:online-coop-claims] A guest's attraction windows through the session's management queue (C4b-2, docs/COOP.md "A guest's management windows"), by the HUD's |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.Claims.cs:12 | [EXT:online-coop-claims] The rides' claims in a shared park (docs/COOP.md, "Claims"; C3c-1): the host's track tool claims its ride while it is on and lets it go at the next frame after |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.Claims.cs:413 | [EXT:online-coop-claims] A path cell linked into the entrance of a claimed ride is the claim's holder's to clear: its clear re-evaluates that ride (tp.exe <c>0x53694B</c>), which |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.Claims.cs:498 | [EXT:online-coop-claims] Every command that clears a path cell linked into the entrance of a ride another seat claims leaves it to the claim's holder, the host included: the remove click, |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.Claims.cs:593 | [EXT:online-coop-claims] A guest's area clear, and the host's, leave the path cell linked into the entrance of a ride another seat claims standing, and clear the cells beside it, without |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.GuestCoasters.cs:12 | [EXT:online-coop-claims] A guest's coaster tool in a shared park (docs/COOP.md, "A guest's coaster tool (C3c-2)"): the track button and a placed coaster claim the coaster through the host, and |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.GuestEdits.cs:658 | [EXT:online-coop-claims] the host's too, by another seat's claim, and the holder's own placement is its to make |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.GuestTracks.cs:10 | [EXT:online-coop-claims] A guest's track tool in a shared park (docs/COOP.md, "Claims"; C3c-1b): the track button and a placed kart or water ride claim the ride through the host, and the |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.GuestTracks.cs:370 | [EXT:online-coop-claims] A track line whose tiles lie over the path cell a claimed queue joins leaves that queue alone (C3c-1b): a tile laid over path clears it, taking the link of the |
| online-coop-claims | source/OpenTPW.Tests/CoopSessionTests.UndoTrackClaims.cs:9 | [EXT:online-coop-claims] [EXT:online-coop-undo] Other rides' tiles in a shared park (docs/COOP.md, "Claims"; C5-3): a track line and its take-back leave alone the protected track of every |
| online-coop-claims | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:440 | [EXT:online-coop-claims] a track ride's station is an ordinary ride while no other seat claims it, and its claim keeps it from everyone else (C3c-1) |
| online-coop-claims | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:568 | [EXT:online-coop-claims] a seat claims a track ride; another seat's claim of it is refused with the claim's reason, and changes nothing (C3c-1) |
| online-coop-claims | source/OpenTPW.Tests/ParkCommandCodecTests.cs:101 | [EXT:online-coop-claims] seat 2 claims attraction 17, and the host lets the claim go (C3c-1) |
| online-coop-claims | source/OpenTPW.Tests/ParkCommandLevelTests.cs:601 | [EXT:online-coop-claims] a ride's claim and its release (C3c-1) |
| online-coop-claims | source/OpenTPW.Tests/TrackProvenanceTests.cs:7 | [EXT:online-coop-claims] A kart or water ride's protected track (C5-3, <see cref="TrackProvenance"/>): its tagged tiles, the tiles a flood over every arm reaches from its seeds through tiles |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:101 | [EXT:online-coop-claims] The guest's track tool entry comes back (C3c-1b): its claim accepted opens the edit tool on a closed circuit or sends the walk to the open end, whose outcome |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:126 | [EXT:online-coop-claims] The guest's Backspace in its track tool comes back (C3c-1b): applied, the line it took back goes off the tool's stacks and the tool moves on as the walk once |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:279 | [EXT:online-coop-claims] a claim another player holds refuses the guest's claim in its words (C3c-1) |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:419 | [EXT:online-coop-permissions] What a refusal by the session's rights says, from the <paramref name="reason"/> they gave where and when it was refused: [EXT:online-coop-claims] another |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:244 | [EXT:online-coop-claims] the queue of a ride another player claims is that player's while its track or coaster tool is on it (C3c-1, C3c-2): the window offers no tool whose lines |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:249 | [EXT:online-coop-claims] nor the track of a ride another player claims (C3c-1); a guest's track tool claims its kart or water ride (C3c-1b) and its coaster tool its coaster (C3c-2) |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:254 | [EXT:online-coop-claims] Whether <paramref name="item"/> is claimed against this machine's player in a shared park (<see cref="CoopBuildRights.IsClaimedAgainst"/>): its window offers |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:328 | [EXT:online-coop-claims] a guest's track or coaster tool starts once its claim (and a coaster's entry) is back, with the help then (C3c-1b, C3c-2) |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.cs:668 | [EXT:online-coop-claims] a guest's tool starts once its claim is back, with the tool's help then (C3c-1b), and no queue tool follows the placement meanwhile, nor after another |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.cs:766 | [EXT:online-coop-commands] a guest's sale of the object that waits for the host takes no second one (C3b), and [EXT:online-coop-claims] a ride claimed against this player is not its |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.cs:987 | [EXT:online-coop-claims] and this machine's claim is bound to its track or coaster tool's ride (C3c-1, C3c-2) |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.cs:1039 | [EXT:online-coop-commands] not while this guest's sale of the object waits for the host (C3b), nor [EXT:online-coop-claims] for a ride claimed against this player (C3c-1) |
| online-coop-claims | source/OpenTPW/Hud/ParkHud.cs:1183 | does ([EXT:online-coop-permissions], C3a-2); [EXT:online-coop-claims] any player's edit of a ride another player claims (C3c-1) |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:22 | [EXT:online-coop-claims] A claim guards its ride against every other player, the host included (<see cref="LeavesClaimsAlone"/>): its track (a coaster's tool and pylons), its sale, its |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:37 | [EXT:online-coop-claims] the host issues everything but an edit of a ride another player claims, and its cleanup always (C3c-1); [EXT:online-coop-undo] a take-back on a claimed ride |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:45 | [EXT:online-coop-commands] a Move tool's end only drops its own seat's carry, and a Move must end even when the grant went meanwhile (C3b-2); [EXT:online-coop-claims] a release |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:51 | [EXT:online-coop-permissions] a management right this build does not offer is refused whatever the seat's rights hold (C4a); [EXT:online-coop-claims] with the attractions right, |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:124 | [EXT:online-coop-claims] The reason these rights give for a guest's track or coaster command on a ride whose claim it does not hold and no other seat holds (<see cref="RefusalReason"/>): the |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:130 | The reason these rights give for a refusal of <paramref name="command"/> of <paramref name="player"/>, read where and when it is refused: [EXT:online-coop-claims] another player's claim |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:151 | [EXT:online-coop-claims] What a refusal by these rights says to its player, from the refusal's <paramref name="reason"/> as the rights gave it where and when the command was refused |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:164 | [EXT:online-coop-claims] Whether a guest's attractions command leaves alone every ride claimed against it (C4b-2): the five kinds that name a ride (<see cref="AttractionRide"/>: its door, |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:171 | <summary>[EXT:online-coop-claims] The attraction an attractions command of a kind that can name a claimable ride names (C4b-2), or null.</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:182 | <summary>[EXT:online-coop-claims] The host's cleanup, which no claim refuses: its release of any claim, a departed seat's release, the grants and the rights.</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:212 | [EXT:online-coop-claims] C3c-1: a ride's claim (never the developer prototype; a missing ride or one that is no track ride or coaster is the park's to refuse), and the track |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:223 | [EXT:online-coop-claims] Whether <paramref name="player"/> holds the claim a track or coaster command needs: a guest edits the track of the ride whose claim it took (C3c-1), and the coaster |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:241 | [EXT:online-coop-claims] the coaster tool's commands (C3c-2) |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:251 | [EXT:online-coop-claims] Whether <paramref name="command"/> of <paramref name="player"/> leaves alone every ride claimed against that player (<see cref="ClaimedAgainst"/>): the ride itself |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:353 | [EXT:online-coop-claims] Whether a granted guest's <paramref name="place"/> of <paramref name="entry"/> onto the track of the ride it names (<see cref="PlaceObjectCommand.AddOnRide"/>) is |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:476 | [EXT:online-coop-claims] Whether a clear of the path cell (<paramref name="x"/>, <paramref name="y"/>) touches a ride claimed against <paramref name="player"/>: it takes the link of |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:482 | [EXT:online-coop-claims] Whether a clear of the path cell (<paramref name="x"/>, <paramref name="y"/>) re-evaluates a ride claimed against <paramref name="player"/>: for each cardinal |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:541 | [EXT:online-coop-claims] Whether <paramref name="item"/> is claimed against <paramref name="player"/>: a track ride (C3c-1) or a coaster (C3c-2) whose claim another seat holds. |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:556 | <summary>[EXT:online-coop-claims] An edit of a ride another player claims (C3c-1).</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopBuildRights.cs:558 | <summary>[EXT:online-coop-claims] A guest's edit of a ride whose claim the host let go: its track tool (C3c-1b) or coaster tool (C3c-2) ends.</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopDigest.cs:139 | [EXT:online-coop-claims] the rides' claims, in ride order, hashed only once there is one (C3c-1) |
| online-coop-claims | source/OpenTPW/Online/CoopGuestStream.cs:479 | [EXT:online-coop-claims] and the rides' claims (C3c-1) |
| online-coop-claims | source/OpenTPW/Online/CoopGuestStream.cs:487 | [EXT:online-coop-claims] a coaster any player's tool held leaves the tool on the park left after the session, which runs on alone, so none stays closed and marked (C3c-2); the guest's |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:231 | [EXT:online-coop-claims] When each guest seat's member was first read disconnected (the host's clock), while it stays so (C3c-1): a seat away for |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:236 | [EXT:online-coop-claims] When each guest seat's claim was last renewed (the host's clock): its claim, or an accepted command of its holder naming its ride (C3c-1). A claim not renewed for |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:287 | [EXT:online-coop-claims] The coaster claims the capture step found members waiting for it hold with a coaster edit on them: each a seat and the coaster's station (C3c-2). The next frame's |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:324 | [EXT:online-coop-claims] and the rides' claims (C3c-1) |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:501 | [EXT:online-coop-claims] a guest's claim, and every accepted command of its holder naming its ride, renews the claim's lease |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:840 | [EXT:online-coop-claims] the frame's clock, which a guest's command renews its claim's lease with and the expiry reads (C3c-1) |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:843 | [EXT:online-coop-claims] a claim (C3c-1), [EXT:online-coop-permissions] a right (C4a); a link without its session's state (between a lost socket and its resume) shows no seat, so |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:866 | [EXT:online-coop-claims] each guest seat's link, read at every frame's start (a seed, a resume's reconciliation and an event alike) |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:881 | [EXT:online-coop-claims] after the guests' commands, so a claim a late frame's queued command took is checked in that same frame (C3c-1); the claims a capture waits on go first (C3c-2) |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:887 | [EXT:online-coop-claims] The host lets go of the coaster claims the capture step noted (<see cref="capturesHolding"/>), each with a <see cref="ReleaseRideCommand"/> of its own, a record |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:905 | <summary>[EXT:online-coop-claims] The clock of the frame whose guest commands apply (<see cref="ApplyGuestCommands"/>): the time a guest's command renews its claim's lease at.</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:908 | <summary>[EXT:online-coop-claims] How long a guest seat's member may be read disconnected before the host lets go of its claim (C3c-1).</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:911 | <summary>[EXT:online-coop-claims] How long a guest seat's claim lasts without its holder's accepted command naming its ride (C3c-1).</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:915 | [EXT:online-coop-claims] Stamps each guest seat whose member the session reads disconnected now with the first frame that reads it so, and drops the stamp of one read connected or gone |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:931 | [EXT:online-coop-claims] The host lets go of a guest seat's claim (a <see cref="ReleaseRideCommand"/>, a record every peer applies alike) once its member has been read disconnected for |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:956 | [EXT:online-coop-claims] The ride <paramref name="command"/> names as its holder's edit (its claim, a track command, and the coaster tool's commands, C3c-2: a drag in progress keeps its claim), |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:1171 | [EXT:online-coop-claims] a member waiting for this capture that holds a coaster edit on the coaster whose claim it holds has fenced its requests, so its drag's end never comes: the next |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:1245 | <summary>[EXT:online-coop-claims] The guest seat of <paramref name="guest"/>'s member as the session holds it now, or null (C3c-2).</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopHostStream.cs:1559 | [EXT:online-coop-claims] and the rides' claims (C3c-1): the host's own, as the guests' went above |
| online-coop-claims | source/OpenTPW/Online/CoopJoinPayload.cs:12 | rights ([EXT:online-coop-permissions], C3's build grant and C4a's rights); and the rides' claims, each a ride's attraction id and its holder's seat ([EXT:online-coop-claims], C3c-1). A |
| online-coop-claims | source/OpenTPW/Online/CoopJoinPayload.cs:85 | [EXT:online-coop-claims] one claim a seat at most, in ride order |
| online-coop-claims | source/OpenTPW/Online/CoopSession.cs:411 | [EXT:online-coop-claims] the host's own commands are refused by a guest's claim (C3c-1), which its HUD says |
| online-coop-claims | source/OpenTPW/Online/CoopSession.cs:474 | <summary>[EXT:online-coop-claims] When the guest's park last sent the release of a claim its track tool is not on (<see cref="Level.SettleClaim"/>), across its resyncs, or null.</summary> |
| online-coop-claims | source/OpenTPW/Online/CoopSession.cs:1116 | [EXT:online-coop-permissions] What the last refused command was: building the host has not granted yet, a command only the host may issue, or [EXT:online-coop-claims] an edit of a ride |
| online-coop-claims | source/OpenTPW/UI/Original/SupplementaryStrings.cs:445 | <summary>[EXT:online-coop-claims] A player's edit of a ride whose claim another player holds: its track tool is on it (C3c-1).</summary> |
| online-coop-claims | source/OpenTPW/UI/Original/SupplementaryStrings.cs:447 | <summary>[EXT:online-coop-claims] A guest's track tool on a ride whose claim the host let go (the guest was away, or idle on it): the tool ends (C3c-1b).</summary> |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:127 | [EXT:online-coop-claims] a click on the chain start waits for the running drag: the close checks the last pylon, which a drag can hold, and the completion ends the tool every drag needs |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:157 | [EXT:online-coop-claims] a pylon the click places changes the pylon list (a pylon in a cut circuit's gap moves the pylons after it) and links to the last pylon: the drag running on the coaster ends first, as its |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:198 | [EXT:online-coop-claims] a pylon list that changes under a drag would settle the drag against another pylon: every edit ends first |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:225 | [EXT:online-coop-claims] one drag runs on a coaster at a time, as one pointer gives in a game of one |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:341 | [EXT:online-coop-claims] the swap waits for the running drag, whose release could change the stack it was asked on |
| online-coop-claims | source/OpenTPW/World/Commands/CoasterCommands.cs:367 | [EXT:online-coop-claims] the cut removes pylons: the running drag ends first, so it never settles against a pylon list that changed under it |
| online-coop-claims | source/OpenTPW/World/Commands/ParkCommand.cs:162 | <summary>[EXT:online-coop-claims] A player's track tool takes a ride's claim (<see cref="ClaimRideCommand"/>).</summary> |
| online-coop-claims | source/OpenTPW/World/Commands/ParkCommand.cs:164 | <summary>[EXT:online-coop-claims] A ride's claim goes (<see cref="ReleaseRideCommand"/>).</summary> |
| online-coop-claims | source/OpenTPW/World/Commands/ParkCommands.cs:32 | [EXT:online-coop-claims] The reason a refusal of <paramref name="command"/> of <paramref name="player"/> by these rights gives, when it has one of its own (another player's claim, C3c-1; |
| online-coop-claims | source/OpenTPW/World/Commands/ParkSettingCommands.cs:783 | [EXT:online-coop-claims] Taking a grant back lets go of the seat's claims in the same record, as its departure does (<see cref="ReleaseSeatCommand"/>), so a guest that may build no more |
| online-coop-claims | source/OpenTPW/World/Commands/ParkSettingCommands.cs:895 | [EXT:online-coop-claims] and the claim the seat held (C3c-1); [EXT:online-coop-permissions] its staff state (C4c) and every right it had (C4a) |
| online-coop-claims | source/OpenTPW/World/Commands/ParkSettingCommands.cs:901 | [EXT:online-coop-claims] A player's track tool takes the claim of the ride with attraction id <paramref name="Ride"/> in a shared park (docs/COOP.md, "Claims"; C3c-1): one editor at a |
| online-coop-claims | source/OpenTPW/World/Commands/ParkSettingCommands.cs:913 | [EXT:online-coop-claims] The claim of the ride with attraction id <paramref name="Ride"/> goes: its holder's tool left the ride, or the host releases a disconnected or idle seat's claim. Its |
| online-coop-claims | source/OpenTPW/World/Level.BuildGrants.cs:35 | without a right has no row. A right taken back ends what it held, in the same record: building's claims ([EXT:online-coop-claims], with a coaster's tool state, C3c-1b and C3c-2), the |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:377 | [EXT:online-coop-claims] a guest's claim went to the host and the tool starts from its outcomes (C3c-2, <see cref="CompleteTrackToolStart"/>), or a claim refused it (another player's, the |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:384 | [EXT:online-coop-claims] a coaster another player claims starts no tool, and the tool on stays (C3c-2) |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:404 | [EXT:online-coop-claims] a guest's tool claims its coaster through the host, then the entry's writes go as a second request; the panel opens from its outcome (C3c-2). The coaster |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:416 | [EXT:online-coop-claims] the host's tool claims its coaster once the tool it replaces is gone (C3c-2); the claim moves from a ride the replaced tool held |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:552 | [EXT:online-coop-claims] A guest's completing click came back (C3c-2): the tool finishes as the host's does (it ends, or the queue tool follows a pending queue start) only while <paramref name="panel"/> is still the open |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:572 | [EXT:online-coop-claims] The guest's coaster tool closes without a command (C3c-2): the session ended, or the claim's end left the coaster's tool state already (its release ran |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:622 | [EXT:online-coop-commands] the exit's writes (the being-edited mark, the ride's door) are a command; [EXT:online-coop-claims] a guest's goes behind its panel's last commands, and only |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:641 | [EXT:online-coop-claims] the panel's own close releases its drag first (CoasterToolPanel.Close); an edit the command finds is a peer's, which the being-edited mark the exit clears ends too |
| online-coop-claims | source/OpenTPW/World/Level.Coasters.cs:648 | The coaster of <paramref name="station"/> leaves the tool (<see cref="EndCoasterToolCommand"/>, and [EXT:online-coop-claims] the end of its claim, C3c-2): every pylon edit on it is released, |
| online-coop-claims | source/OpenTPW/World/Level.Input.cs:138 | [EXT:online-coop-commands] Escape, a right click or another tool leaves the queue edit, the pick-up or [EXT:online-coop-claims] the track tool entry (C3c-1b) that waits for the host: its |
| online-coop-claims | source/OpenTPW/World/Level.Input.cs:174 | no more, a line or a track Backspace that waited ends its tool, since what became of it is not known here, [EXT:online-coop-claims] a guest's track tool ends with the claim it held |
| online-coop-claims | source/OpenTPW/World/Level.Input.cs:184 | [EXT:online-coop-claims] a guest's coaster tool closes without a command, and its queue goes: no outcome comes any more (C3c-2) |
| online-coop-claims | source/OpenTPW/World/Level.Input.cs:337 | its circuit hands over to the queue tool (<see cref="ContinueTrackTool"/>). [EXT:online-coop-claims] A guest's tool starts once its claim is back (C3c-1b): the placement then opens no queue tool. |
| online-coop-claims | source/OpenTPW/World/Level.Input.cs:582 | [EXT:online-coop-claims] <see cref="CompleteTrackToolStart"/>, and the HUD's outcome of a line, cut or track Backspace that waited, C3c-1b): the HUD ignores the release of a press made |
| online-coop-claims | source/OpenTPW/World/Level.Join.cs:56 | [EXT:online-coop-claims] a claimed ride must be one of this park's track rides (C3c-1) or coasters (C3c-2) |
| online-coop-claims | source/OpenTPW/World/Level.Objects.cs:583 | [EXT:online-coop-claims] a removed ride's claim goes with it, on every peer alike (C3c-1) |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:6 | [EXT:online-coop-claims] The rides a player's track tool edits in a shared park (docs/COOP.md, "Claims"; C3c-1): a ride's attraction id and the seat that |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:12 | <summary>[EXT:online-coop-claims] Each claimed ride's attraction id and its holder's seat, in ride order (empty without a session or a claim).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:18 | <summary>[EXT:online-coop-claims] The seat that holds the claim of the ride with attraction id <paramref name="ride"/>, or null.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:21 | <summary>[EXT:online-coop-claims] The attraction id of the ride whose claim <paramref name="seat"/> holds (a seat holds one at most), or null.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:34 | <summary>[EXT:online-coop-claims] Whether another seat than <paramref name="player"/> holds the claim of the ride with attraction id <paramref name="ride"/>.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:37 | <summary>[EXT:online-coop-claims] Whether another seat than <paramref name="player"/> holds any claim: while none does, nothing is claimed against that player (<see cref="CoopBuildRights"/>).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:40 | <summary>[EXT:online-coop-claims] Every claim goes: a claim is its session's, and the park's next session starts without one.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:44 | [EXT:online-coop-claims] Releases every claim <paramref name="seat"/> holds (a departed seat's, <see cref="ReleaseSeatCommand"/>), a coaster's leaving the tool (<see cref="EndClaimedCoaster"/>). |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:61 | <summary>[EXT:online-coop-claims] Whether <paramref name="item"/> is a ride a track tool claims: a kart or water ride's station (C3c-1) or a coaster's station (C3c-2).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:65 | [EXT:online-coop-claims] A claim of the ride with attraction id <paramref name="ride"/> ended (its release, its move to another ride, its seat's departure or grant taken back, the host's |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:76 | [EXT:online-coop-claims] A guest's session's teardown: each coaster of <paramref name="stations"/> (attraction ids) still in the tool leaves it on this park, which runs on alone (no peer |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:90 | <summary>[EXT:online-coop-claims] The attraction ids of the coasters in the tool now, in order (C3c-2).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:94 | <summary>[EXT:online-coop-claims] The seats that hold a claim, in order.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:97 | <summary>[EXT:online-coop-claims] A claimed ride was removed (its sale, its demolition, the Move's pick-up): its claim goes with it, on every peer alike.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:105 | [EXT:online-coop-claims] Binds this machine's claim to its track tool (C3c-1); the HUD calls this after taking its requests' outcomes each frame, so a claim is bound to its ride by the |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:125 | [EXT:online-coop-claims] the tool's ride: the track tool's, or the coaster tool's (C3c-2) |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:169 | [EXT:online-coop-claims] In a shared park the host's track tool claims its ride before it starts (C3c-1): the claim applies at once, and another player's refuses the tool, which the HUD |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:185 | <summary>[EXT:online-coop-claims] The reason a claim refuses another player's edit, which the HUD says in its own words.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:189 | [EXT:online-coop-claims] Runs a <see cref="ClaimRideCommand"/>: <paramref name="player"/> takes the claim of the track ride with attraction id <paramref name="ride"/> when no other seat |
| online-coop-claims | source/OpenTPW/World/Level.RideClaims.cs:209 | [EXT:online-coop-claims] Runs a <see cref="ReleaseRideCommand"/>: the claim of the ride with attraction id <paramref name="ride"/> goes when <paramref name="player"/> holds it, or when the host |
| online-coop-claims | source/OpenTPW/World/Level.TrackUndo.cs:4 | [EXT:online-coop-undo] [EXT:online-coop-claims] The kart and water track tools in a shared park's undo (docs/COOP.md, "Conflicts and undo (C5)"; C5-3): the prediction of a track line's |
| online-coop-claims | source/OpenTPW/World/Level.TrackUndo.cs:21 | [EXT:online-coop-claims] Whether <paramref name="line"/> of <paramref name="player"/> leaves alone every kart or water ride claimed against that player other than its own (C5-3): its own |
| online-coop-claims | source/OpenTPW/World/Level.TrackUndo.cs:68 | <summary>[EXT:online-coop-claims] Whether a kart or water ride other than <paramref name="ownRide"/> is claimed against <paramref name="player"/> (C5-3).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.TrackUndo.cs:73 | [EXT:online-coop-claims] Whether an operation of <paramref name="player"/> on its own ride <paramref name="ownRide"/>, predicted from <paramref name="before"/> (the park's cells) to |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:300 | <see cref="CheckAddOn(ObjectCatalogEntry, int, int, int, OriginalObject)"/> with the objects it would demolish and the path cells it would clear ([EXT:online-coop-claims] a shared park's |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:356 | it started, or [EXT:online-coop-claims] a guest's claim went to the host and the tool starts from its outcome (C3c-1b, <see cref="CompleteTrackToolStart"/>), or a claim refused it |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:364 | [EXT:online-coop-claims] a ride another player claims starts no tool, and the tool on stays: its track is that player's to edit now (C3c-1) |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:380 | [EXT:online-coop-claims] a guest's tool claims its ride through the host (C3c-1b): the tool starts from the claim's outcome, the latest entry's alone (an earlier one's wait was |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:394 | [EXT:online-coop-claims] the tool claims its ride once the tool it replaces is gone (C3c-1); the claim moves from a ride the replaced tool held |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:418 | [EXT:online-coop-claims] A guest's track or coaster tool entry that waits for the host (C3c-1b, C3c-2): the request of its claim, then of its open (a coaster's: its entry), the ride, |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:423 | <summary>[EXT:online-coop-claims] The guest's track or coaster tool entry that waits for the host, or null (C3c-1b, C3c-2): <see cref="WaitingToolStart"/> holds its request.</summary> |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:427 | [EXT:online-coop-claims] The outcome of the guest's track tool entry that waits for the host (C3c-1b), once its request is back (the HUD calls this after <see cref="EndWaiting"/>): |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:443 | [EXT:online-coop-claims] a coaster's entry: after the claim the entry's writes go as a second request, whose outcome opens the panel (C3c-2) |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:482 | [EXT:online-coop-claims] The outcome of a guest's coaster tool entry (C3c-2): the claim accepted sends <see cref="BeginCoasterToolCommand"/> as a second request with the same wait; that |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:1028 | <summary>[EXT:online-coop-claims] A guest's claim went to the host: the tool starts from its outcome (C3c-1b).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:1030 | <summary>[EXT:online-coop-claims] A claim refused the tool (another player's, or the session's rights): nothing follows a placement then, its queue tool neither (C3c-1b).</summary> |
| online-coop-claims | source/OpenTPW/World/Level.Tracks.cs:1034 | <summary>[EXT:online-coop-claims] What the outcome of a guest's track tool entry did (<see cref="Level.CompleteTrackToolStart"/>, C3c-1b).</summary> |
| online-coop-claims | source/OpenTPW/World/Pools/PoolTool.Guest.cs:10 | <param name="RightsReason">That refusal's reason as the rights gave it ([EXT:online-coop-claims] another player's claim, C3c-1), which the note follows.</param> |
| online-coop-claims | source/OpenTPW/World/Tracks/TrackEditor.cs:198 | [EXT:online-coop-claims] The tiles the open-end collector passes, the station tile it stops on included (C5-3, a ride's protected track: <see cref="TrackProvenance"/>). It runs as |
| online-coop-claims | source/OpenTPW/World/Tracks/TrackProvenance.cs:4 | [EXT:online-coop-claims] A kart or water ride's protected track in a shared park (docs/COOP.md, "Claims"; C5-3): the tiles no other player's track line or take-back may change while the |
| online-coop-commands | source/OpenTPW.Tests/CoasterCommandTests.cs:10 | [EXT:online-coop-commands] The coaster tool's writes as commands (docs/COOP.md, "Tools"), without game data: a whole session of clicks, Backspace and the panel's drags and cut leaves the tool as |
| online-coop-commands | source/OpenTPW.Tests/CoasterRequestQueueTests.cs:9 | [EXT:online-coop-commands] A guest's coaster command queue (<see cref="CoasterRequestQueue"/>, docs/COOP.md, "A guest's coaster tool (C3c-2)"), headless: the order, the budget, a drag's steps |
| online-coop-commands | source/OpenTPW.Tests/CoopGuestCommandsTests.cs:9 | [EXT:online-coop-commands] A guest's requests to the host (docs/COOP.md, "Building by every player") over the in-memory server (<see cref="CoopTestNetwork"/>), the host's answers |
| online-coop-commands | source/OpenTPW.Tests/CoopJoinSessionTests.GameFlow.cs:387 | [EXT:online-coop-commands] The guest's end dialog adds that some of its last changes may not have been made (C4b-2) when the session ends with a management entry not resolved, a live |
| online-coop-commands | source/OpenTPW.Tests/CoopJoinSessionTests.GuestCommands.cs:14 | [EXT:online-coop-commands] A guest's requests across a resync (docs/COOP.md, "Building by every player"): the requests are the session's, so the swapped-in park's cut settles the one it holds |
| online-coop-commands | source/OpenTPW.Tests/CoopJoinSessionTests.Management.cs:12 | [EXT:online-coop-commands] A guest's management queue across a resync (C4b-1, docs/COOP.md "A guest's management windows"): the queue is the session's, so its open entries settle against the |
| online-coop-commands | source/OpenTPW.Tests/CoopJoinSessionTests.Staff.cs:14 | [EXT:online-coop-commands] A guest's staff tool across a resync (C4c-2, docs/COOP.md "A guest's staff"): the session's staff controller survives the swap, a start inside the cut is armed |
| online-coop-commands | source/OpenTPW.Tests/CoopJoinSessionTests.cs:105 | <summary>[EXT:online-coop-commands] What runs after the member's frame, as the game's HUD update does (C4c-2: a guest's staff tool follows its seat's state there).</summary> |
| online-coop-commands | source/OpenTPW.Tests/CoopLiveHarnessTests.cs:192 | [EXT:online-coop-commands] the management scenario (C4b-2) needs no minutes |
| online-coop-commands | source/OpenTPW.Tests/CoopManagementRequestsTests.Attractions.cs:9 | [EXT:online-coop-commands] The guest's management queue for attraction windows (C4b-2, <see cref="ManagementTarget.Attraction"/>), headless: the targets side by side, the click order and its |
| online-coop-commands | source/OpenTPW.Tests/CoopManagementRequestsTests.cs:9 | [EXT:online-coop-commands] A guest's management queue (<see cref="CoopManagementRequests"/>, docs/COOP.md "A guest's management windows"), headless: each target's order, the targets' |
| online-coop-commands | source/OpenTPW.Tests/CoopRightsTests.cs:275 | [EXT:online-coop-commands] A stale-checked command whose expectation no longer holds is refused as stale before the park's own rules, and one whose expectation holds runs as the host's |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.Attractions.cs:11 | [EXT:online-coop-commands] [EXT:online-coop-claims] A guest's attraction windows through the session's management queue (C4b-2, docs/COOP.md "A guest's management windows"), by the HUD's |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestEdits.cs:12 | [EXT:online-coop-commands] A guest's edits beyond the first tools (docs/COOP.md, "Building by every player"; C3b-1): land, the area clear as one command, the remove click on a path or |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestMove.cs:11 | [EXT:online-coop-commands] A guest's Move tool (docs/COOP.md, "Building by every player"; C3b-2): the pick-up goes to the host and the tool arms once it comes back; the placements wait as |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestPools.cs:11 | [EXT:online-coop-commands] A guest's pools (docs/COOP.md, "A guest's pools"; C3b-3): the pool tool's strokes go to the host in batches (<see cref="PoolCellsCommand"/>, |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestStaff.cs:13 | [EXT:online-coop-commands] A guest's staff in a shared park (C4c-2, docs/COOP.md "A guest's staff"): the hire and the pick-up go to the host as requests and arm their tool from the seat's |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestTools.cs:13 | [EXT:online-coop-commands] A guest's tools in a shared park (docs/COOP.md, "Building by every player"; C3a-2): the line, placement and remove tools send their commands to the host and |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.GuestWindows.cs:10 | [EXT:online-coop-commands] A guest's park windows send only what its player asked for: the research workload knob's projection on the window's opening and on a staffing change and the |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.Management.cs:12 | [EXT:online-coop-commands] [EXT:online-coop-permissions] [EXT:online-coop-money] A guest's research, finance and loans windows in a shared park (C4b-1, docs/COOP.md "A guest's management |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.Management.cs:1010 | [EXT:online-coop-commands] [EXT:online-coop-money] A guest with the attractions right changes a shop's price and buys a ride's next level through its queue while the host changes rights |
| online-coop-commands | source/OpenTPW.Tests/CoopSessionTests.Staff.cs:10 | [EXT:online-coop-commands] What a park holds of a guest seat's staff, around the session (C4c-1): a save writes a guest's employee in hand as its drop back leaves it while the live park |
| online-coop-commands | source/OpenTPW.Tests/CoopStreamCodecTests.cs:159 | [EXT:online-coop-commands] a guest's request is numbered from 1; an answer is a record or a known refusal, never both or neither |
| online-coop-commands | source/OpenTPW.Tests/CoopStreamCodecTests.cs:168 | <summary>[EXT:online-coop-commands] A guest's record carries its origin after its flags; the flags alone never claim one, and an origin needs a request number.</summary> |
| online-coop-commands | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:12 | [EXT:online-coop-commands] Building by every player (docs/COOP.md, "Building by every player"; C3a) over the in-memory server: a guest's requests through the host's stream, the host's |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandCodecTests.cs:10 | [EXT:online-coop-commands] The command layer's serialization (docs/COOP.md, "Serialization"): every command kind has pinned bytes (the schema), every command round-trips |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandCodecTests.cs:98 | [EXT:online-coop-commands] a guest's pool batches (C3b-3) |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandCodecTests.cs:126 | [EXT:online-coop-commands] The three stale-checked kinds with their expectation (C4b): version 3, the expectation after the kind's own fields; without one they keep the schema's |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandCodecTests.cs:137 | [EXT:online-coop-commands] A guest's upgrade cancellation that names its purchase too (C4b-2): version 4, the pending level and the purchase after the ride. C4b-1's version-3 form |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLayerTests.cs:11 | [EXT:online-coop-commands] The command layer's static guard (docs/COOP.md, "The guard"): no HUD window, screen or tool calls a park mutator directly; each edit leaves the |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:12 | [EXT:online-coop-commands] The command layer against a real <see cref="Level"/> (docs/COOP.md, "Recording and replay"): a build session made of the tools' own commands, recorded |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:245 | [EXT:online-coop-commands] A guest's version-4 cancellation names the pending level and the purchase (C4b-2): it is stale when the ride waits for no level, for another level, or for a later |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:282 | <summary>[EXT:online-coop-commands] A guest's buy naming the level is stale when the ride waits for a level already, as the host's buy first makes it (C4b-2).</summary> |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:302 | [EXT:online-coop-commands] The count of levels bought is no part of the world hash (an older log that bought an upgrade replays to the checkpoints it recorded) and is part of the session |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:596 | [EXT:online-coop-commands] the release of a departed seat (C3b-2) |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandLevelTests.cs:598 | [EXT:online-coop-commands] a guest's pool batches (C3b-3) |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandsTests.cs:9 | <summary>[EXT:online-coop-commands] The park's edit funnel on its own (docs/COOP.md): ticks, the log, the rights hook, the visit gate and held commands.</summary> |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandsTests.cs:88 | [EXT:online-coop-commands] What the issuer's own HUD does after its command (<see cref="ParkCommands.AfterIssue"/>) runs once the command has returned and issues commands that are logged on their |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandsTests.cs:109 | [EXT:online-coop-commands] A command issued inside another takes the outer command's player and is not asked of the rights again, so a guest replaying the host's command runs it the same way |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandsTests.cs:141 | [EXT:online-coop-commands] A command that throws is a rejection with what it wrote before the throw, logged like any other (a replay or a peer throws the same way at the same place), |
| online-coop-commands | source/OpenTPW.Tests/ParkCommandsTests.cs:179 | [EXT:online-coop-commands] A command applied while a simulation tick runs throws where that is checked (the tests, a strict run): it would apply inside the tick here but at its |
| online-coop-commands | source/OpenTPW.Tests/ParkFinaleTests.cs:533 | <summary>[EXT:online-coop-commands] The winning screen's exit leaves the HUD as a <see cref="DismissFinaleCommand"/>; with no finale left a second one is refused and logged.</summary> |
| online-coop-commands | source/OpenTPW.Tests/ParkLandTests.cs:326 | <summary>[EXT:online-coop-commands] The purchase as a command (<see cref="BuyLandCommand"/>): its posts are checked against the fence's lattice and the validator runs again with the money.</summary> |
| online-coop-commands | source/OpenTPW.Tests/ParkSettingCommandLevelTests.cs:9 | [EXT:online-coop-commands] The setting commands against a level with placed rides (docs/COOP.md, "Settings"; the level ParkCommandLevelTests assembles without a GPU or game |
| online-coop-commands | source/OpenTPW.Tests/ParkSettingCommandTests.cs:11 | [EXT:online-coop-commands] The park's setting commands (docs/COOP.md, "Settings") on a level with only the pieces the tick and the economy touch: the economy settings change |
| online-coop-commands | source/OpenTPW.Tests/ParkToolCommandLevelTests.cs:10 | [EXT:online-coop-commands] The staff and pool tools' writes as commands (docs/COOP.md, "Tools"), on the level <see cref="ParkSettingCommandLevelTests"/> builds without a GPU or game data: |
| online-coop-commands | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:383 | [EXT:online-coop-commands] a tool the host's answer started (CompleteMove, CompleteQueueEdit) between the press and its release takes none |
| online-coop-commands | source/OpenTPW.Tests/PoolsTests.cs:353 | [EXT:online-coop-commands] A stroke longer than a command's cell list (<see cref="ParkCommandCodec.MaximumCells"/>) is taken back in chunks that each fit a command and write in the order one |
| online-coop-commands | source/OpenTPW.Tests/PrototypeEconomySyncTests.cs:255 | [EXT:online-coop-commands] the coaster tool's entry and exit set the being-edited mark through their commands (BeginCoasterToolCommand, EndCoasterToolCommand); the test moves it as they do |
| online-coop-commands | source/OpenTPW.Tests/RideStateWordTests.cs:112 | [EXT:online-coop-commands] a guest's window projects a waiting open-state action onto a copy of the record (C4b-2): the copy reads the same state, and nothing written to it |
| online-coop-commands | source/OpenTPW.Tests/StaffSeatsTests.cs:8 | [EXT:online-coop-commands] The staff state of every seat of a shared park (C4c-1), at the commands: each seat's pending hire reserves its candidate, a guest's hire or pick-up replaces |
| online-coop-commands | source/OpenTPW.Tests/StrictCommandsGameTests.cs:7 | [EXT:online-coop-commands] Running the game never turns the strict command checks (<see cref="ParkCommands.Strict"/>) off: a test that runs it keeps |
| online-coop-commands | source/OpenTPW.Tests/TestAssembly.cs:10 | [EXT:online-coop-commands] The command funnel's strict checks in every test (docs/COOP.md, "No command inside a tick"): a command applied inside a simulation tick throws, and |
| online-coop-commands | source/OpenTPW.Tests/TrackAddOnLevelTests.Commands.cs:7 | [EXT:online-coop-commands] The kart and water track tool's writes as commands (docs/COOP.md, "Tools"), on the same asset-free level: each line, its undo and a cut leave the tool as one |
| online-coop-commands | source/OpenTPW.Tests/UiSliderGestureTests.cs:10 | A guest's slider asks once per step ([EXT:online-coop-commands], C4b-2): <see cref="UiSlider.AsksOncePerStep"/> through a <see cref="UiScreen"/> driven frame by frame as the game drives it. |
| online-coop-commands | source/OpenTPW.Tests/UpgradePurchaseCountTests.cs:8 | [EXT:online-coop-commands] The count of levels bought for a ride (<see cref="ParkObjectState.UpgradePurchases"/>, C4b-2): the identity of its pending purchase, which a guest's upgrade |
| online-coop-commands | source/OpenTPW/Client/Game.cs:18 | [EXT:online-coop-commands] a strict run throws on a command applied inside a simulation tick and on one that throws (docs/COOP.md, "No command inside a tick"); only ever |
| online-coop-commands | source/OpenTPW/Client/Game.cs:964 | [EXT:online-coop-commands] --record-commands <file> records the current park's commands and its world-hash checkpoints into a command log (docs/COOP.md, "Recording and replay"), |
| online-coop-commands | source/OpenTPW/Client/GameFlow.CoopJoin.cs:126 | [EXT:online-coop-commands] the guest's management actions that may not have been made add their line (C4b-2) |
| online-coop-commands | source/OpenTPW/Client/GameFlow.CoopJoin.cs:156 | [EXT:online-coop-commands] An end dialog's words, followed by the sentence that some of the last changes may not have been made when <paramref name="unfinished"/> (C4b-2), in the |
| online-coop-commands | source/OpenTPW/Economy/ParkEconomy.cs:2443 | [EXT:online-coop-commands] the purchase's identity, which a guest's cancellation names (C4b-2) |
| online-coop-commands | source/OpenTPW/Economy/ParkEconomy.cs:2450 | What <see cref="TryBuyUpgrade"/> would answer for <paramref name="item"/> now, without buying (null: the park is bankrupt): its checks alone, so [EXT:online-coop-commands] a guest's |
| online-coop-commands | source/OpenTPW/Economy/ParkEconomyContracts.cs:283 | [EXT:online-coop-commands] How many levels were bought for this object (each accepted <see cref="ParkEconomy.TryBuyUpgrade"/>): the identity of its pending purchase, which a guest's |
| online-coop-commands | source/OpenTPW/Economy/ParkEconomyContracts.cs:290 | [EXT:online-coop-commands] A copy of this record that a guest's window projects a waiting open-state action onto (C4b-2, the drawn open state): a member-wise copy, read only, never |
| online-coop-commands | source/OpenTPW/Economy/ParkSaveFile.cs:303 | <summary>[EXT:online-coop-commands] The levels bought for the object (<see cref="ParkObjectState.UpgradePurchases"/>); absent while 0, and in older saves, which then use 0.</summary> |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:341 | [EXT:online-coop-commands] Every seat's pending hire, lowest seat first (C4c): the candidate each player's Place tool places, reserved for that seat, so no other seat may begin |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:347 | <summary>[EXT:online-coop-commands] The candidate seat <paramref name="seat"/> places, or 0 (C4c).</summary> |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:350 | <summary>[EXT:online-coop-commands] Sets the candidate seat <paramref name="seat"/> places; 0 or less ends it without a tool exit (C4c).</summary> |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:359 | <summary>[EXT:online-coop-commands] The seat whose pending hire is candidate <paramref name="candidate"/>, or null (C4c).</summary> |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:368 | <summary>[EXT:online-coop-commands] Restores the pending hires a join snapshot carries, seat by seat (C4c): they replace every seat's.</summary> |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:390 | [EXT:online-coop-commands] Seat <paramref name="seat"/>'s placement tool ended (C4c): its pending candidate is no longer being placed, and the flag of a candidate the load left flagged goes as at any |
| online-coop-commands | source/OpenTPW/Economy/ParkStaff.cs:462 | [EXT:online-coop-commands] every seat's pending hire stays, as the one being placed does (C4c) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:307 | [EXT:online-coop-commands] no second sale of an object whose sale waits for the host (C3b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:312 | Catalogue objects sell and unlink exactly once; the developer prototype removes through its own seam ([EXT:online-coop-commands]: one command either way). |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:347 | Whether the list's delete button sells <paramref name="item"/>: [EXT:online-coop-commands] not while this guest's sale of it waits for the host (C3b). The list never holds a fixed item |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:55 | [EXT:online-coop-commands] The press of this gesture was made while a guest's request of the panel waited for the host, at its frame's start or when it was taken (C3c-2): its release is no |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:185 | [EXT:online-coop-commands] a guest's panel takes no button while its request waits: the outcome finds the selection its action left (C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:283 | a drag that is let go while the game is paused ends there (a move goes back, a height settles its money); [EXT:online-coop-commands] a guest's press that waits keeps the release |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:289 | Backspace waits for the drag: it would delete the pylon the drag holds ([EXT:online-coop-commands] each one a command; a guest's goes to the host one at a time, C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:335 | [EXT:online-coop-commands] a press made while a guest's request of the panel waited, at this frame's start (before its answers) or now (before the press sends a drag's own begin): its |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:345 | [BIN:TPW-EXE:0x443371 tilt drag yaw] the camera yaw (0x790a38) minus the node's yaw turns the tilt drag; [EXT:online-coop-commands] a guest's press that waits keeps the pointer for |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:358 | [EXT:online-coop-commands] a guest's click goes to the host, and its result is said when it comes back (C3c-2); a click while its request waits went nowhere |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:392 | [EXT:online-coop-commands] the release of a press made while the panel waited is nobody's (C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:401 | [EXT:online-coop-commands] a guest's swap or cut while another request of its panel waits went nowhere (C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:432 | height settles its money), [EXT:online-coop-commands] a guest's press that waits keeps a release over nothing for the drag its outcome starts, and a press made while the panel waited ends |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeRename.cs:30 | [EXT:online-coop-commands] reopening edits the latest requested name, not the park's older one (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeRename.cs:44 | [EXT:online-coop-commands] a guest's name goes to the host and the dialog closes at once; the window's title draws it until it comes back (C4c-2). The session's rights are asked |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:114 | [EXT:online-coop-commands] a guest's pick-up asks the session's rights before the park's own check, and goes to the host as a request (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:135 | [EXT:online-coop-commands] a guest's toggle asks the session's rights before it acts, and reads the area it asked for (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:160 | [EXT:online-coop-commands] a guest's clear goes to the host, the toggle drawing it until it comes back (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:171 | [EXT:online-coop-commands] a guest's dismissal goes to the host, after the session's rights; the window closes when the employee leaves the roster (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:177 | [EXT:online-coop-commands] the host's dismissal of an employee a guest carries says why (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:203 | [EXT:online-coop-commands] a guest's confirmation waits for the host's answer after its Yes, as a loan's does (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:269 | [EXT:online-coop-commands] a guest's title draws the name it asked for until it comes back (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestAttractions.cs:6 | [EXT:online-coop-commands] A guest's attraction windows in a shared park (C4b-2, docs/COOP.md "A guest's management windows"). The object window keeps no draft: its controls draw the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:6 | [EXT:online-coop-commands] A guest's management windows in a shared park (C4b, docs/COOP.md "A guest's management windows"): the research, finance and loans windows' actions go into the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:80 | <summary>[EXT:online-coop-commands] An employee's name as its window draws it: a guest's latest rename not resolved yet, else null (the park's, C4c-2).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:83 | <summary>[EXT:online-coop-commands] Whether an employee is drawn with a patrol area of its own: a guest's latest set or clear not resolved yet, else the park's (C4c-2).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:87 | <summary>[EXT:online-coop-commands] A role's training budget as its row draws it: a guest's latest budget not resolved yet, else the park's (C4c-2).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:138 | [EXT:online-coop-commands] the waiting dismissal confirmation's (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:142 | [EXT:online-coop-commands] the upgrade list's waiting row (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:6 | [EXT:online-coop-commands] A guest's tools in a shared park (docs/COOP.md, "Building by every player"; C3a-2): the line, placement and remove tools send their commands to the host |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:33 | [EXT:online-coop-commands] a management window's request is its queue's, which took its outcome (C4b, CompleteGuestManagement) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:36 | [EXT:online-coop-commands] a batch of a guest's pool stroke: its stroke reports once all of it is back (C3b-3) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:39 | [EXT:online-coop-commands] a command of the guest's coaster tool: its panel takes the outcome, also once the panel closed (its report then says it, C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:223 | [EXT:online-coop-commands] a press made while the line waited is no click of the tool its outcome moves on (C3c-1b: a cut that turns into the line tool, a close that ends, |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:253 | [EXT:online-coop-commands] a placement the park a resync replaced applied before its HUD took the outcome finishes on this park's object (C3b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:304 | [EXT:online-coop-commands] A guest's coaster tool (C3c-2): what its queue holds goes to the host, before the pool tool's batches (the coaster's last commands take a freed slot first), and |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:313 | <summary>[EXT:online-coop-commands] Says the guest's coaster tool actions that came back (<see cref="Level.TakeCoasterReports"/>), oldest first (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:377 | <summary>[EXT:online-coop-commands] A guest's pool strokes (C3b-3): what waits goes to the host, and each stroke that finished reports as the host's release does.</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.GuestStaff.cs:6 | [EXT:online-coop-commands] A guest's staff in a shared park (C4c-2, docs/COOP.md "A guest's staff"): the hire, the pick-up, the Place and Carry tools' clicks and the cleanup of what the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:114 | [EXT:online-coop-commands] a guest holding the finance right refreshes as the host does, through its queue, and the list refills when the refresh comes back (C4b); without the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:119 | [EXT:online-coop-commands] a refresh the queue has no room for says the waiting note through the session's notes (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:131 | <summary>[EXT:online-coop-commands] The loans window's opening on a guest (C4b): its refreshes' waiter, detached when the window's screen is removed.</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:134 | <summary>[EXT:online-coop-commands] A guest's loan confirmation that waits for the host (C4b): its screen, and its entry's waiter, detached when the screen is removed.</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:137 | <summary>[EXT:online-coop-commands] A guest's refresh came back, accepted or not (C4b): the list of the tab shown refills from the park's offers and loans, and its note is said.</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:146 | [EXT:online-coop-commands] A guest's take or repay came back (C4b): its confirmation goes first, wherever it stands. Accepted, the list refills as the host's does; the session's end says |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:153 | [EXT:online-coop-commands] its outcome taken, the waiter is done: detached with nothing left to note, so the queue keeps no live waiter for it (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:173 | [EXT:online-coop-commands] A guest's Yes (C4b): the rights asked again (a right taken back since the dialog opened says their note and closes it), then the confirmation's own checks as |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:180 | [EXT:online-coop-commands] the rights' note goes through the session's notes, said once the lines can be seen (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:241 | [EXT:online-coop-commands] a guest's opening waits for its own refreshes: a reopened window's are a new opening's (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:274 | [EXT:online-coop-commands] the rights' note through the session's notes (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:287 | [EXT:online-coop-commands] a guest's confirmation waits for the host after its Yes: its question and a waiting line, its buttons inert; Escape closes it (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:442 | [EXT:online-coop-commands] the opening's refreshes no longer refill anything once its screen is gone: their outcomes are notes (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Maintenance.cs:19 | [EXT:online-coop-commands] a guest's button draws the call as drawn (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Maintenance.cs:63 | [EXT:online-coop-commands] a guest's button reads the call as drawn, is greyed while an open-state action of its object waits, and stays clickable but subdued where the host's is |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Maintenance.cs:82 | [EXT:online-coop-commands] a guest's call is an open-state action of its object, from the drawn call, after the rights and then the call's own refusal (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:48 | [EXT:online-coop-commands] a guest's click asks the host for the opposite of the drawn door (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:106 | [EXT:online-coop-commands] a guest's row draws the budget it asked for until it comes back, and its buttons step from it (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:207 | [EXT:online-coop-commands] a guest's name not back from the host yet is drawn as asked (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:215 | [EXT:online-coop-commands] a guest's fee is drawn as asked until it comes back, and each step counts from it (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:228 | [EXT:online-coop-commands] a guest's door request not back from the host yet is drawn as asked (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:245 | [EXT:online-coop-commands] a guest's budget is drawn as asked until it comes back, and each step counts from it (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:274 | [EXT:online-coop-commands] reopening edits the latest requested name, not the park's older applied lines (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Management.cs:292 | [EXT:online-coop-commands] a guest's name goes to the host and the dialog closes at once; the window's name draws it until it comes back (C4b). A name the park would refuse |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:32 | The window's values. [EXT:online-coop-commands] A guest's window keeps no draft (C4b-2): they are its drawn values, taken again every frame, and each change goes at once |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:38 | [EXT:online-coop-commands] The values the window loaded, kept up by what it applied since (a typed price, an apply-all): a host's window in a shared park applies on close only the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:43 | <summary>[EXT:online-coop-commands] This machine hosts a shared park: the session's rules, with its own commands the stream's (C4b-2).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:75 | <summary>[EXT:online-coop-commands] The value a guest's box last asked for in this hold (C4b-2): a step to it again asks nothing; emptied at the press (<see cref="Press"/>).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:79 | [EXT:online-coop-commands] A guest's box's press (C4b-2, <see cref="UiButtonRepeat.Pressed"/>): the hold's arithmetic starts again as <see cref="Start"/> sets it, without its plus |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:154 | [EXT:online-coop-commands] What a host's window in a shared park applies to <paramref name="item"/> (C4b-2): the park's values as the window would load them now, with each field the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:179 | [EXT:online-coop-commands] a guest's window sent each change at once and holds nothing to apply (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:182 | [EXT:online-coop-commands] a host's window in a shared park applies only the groups it changed, with the fields it changed and the others as the park has them (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:223 | [EXT:online-coop-commands] a guest's window draws its drawn values, taken again every frame, and sends each change at once: its close and retarget apply nothing (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:249 | [EXT:online-coop-commands] a guest's apply-all goes through its queue, whole or not at all (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:262 | [EXT:online-coop-commands] the shown object has the window's values now: a host's close in a shared park applies only what changes after (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:313 | [EXT:online-coop-commands] a guest's change goes at once with its group (C4b-2), and its gesture asks for each step once |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:362 | [EXT:online-coop-commands] a guest's step goes at once with its group (C4b-2): a step that changes nothing, or that its hold asked for already, asks nothing |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:227 | [EXT:online-coop-commands] a guest's door draws its open word as drawn (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:285 | [EXT:online-coop-commands] a guest's pick-up went to the host: the Move tool arms with this item once it comes back (C3b-2), and the window closes now, as for the host; a |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:475 | [EXT:online-coop-commands] a guest's window reads the record as its waiting open-state action will leave it (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Pools.cs:117 | [EXT:online-coop-commands] a guest's press goes to the host in this frame (C3b-3) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Pools.cs:178 | [EXT:online-coop-commands] a guest's Backspace that waits for the host: the key's presses and repeats send nothing more until its outcome, so a held key sends one request at a |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Pools.cs:186 | [EXT:online-coop-commands] nor does a guest send a press over a cell with nothing to take back, which the park would refuse at its record as it refuses the host's (C3b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Pools.cs:318 | an unchanged choice writes nothing, so a machine still running the default keeps its cell as it was; [EXT:online-coop-commands] a guest's goes through the management queue, under |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Pools.cs:333 | [EXT:online-coop-commands] A wave machine's settings as its window draws them: a guest's latest settings asked for and not resolved yet, else the machine's (C5-2); null for no machine with |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:224 | Sets a category's effort, clamped to 0..100 as the lab clamps it (<see cref="SetResearchEffortCommand"/>); [EXT:online-coop-commands] a guest's goes to the host, the latest of a drag |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:230 | <summary>The lab's workload set from the knob (<see cref="TrySetResearchWorkload"/>); [EXT:online-coop-commands] a guest's goes to the host, the latest of a drag once (C4b).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:235 | A cursor arrow's click (<see cref="TryMoveResearchCurrent"/>): [EXT:online-coop-commands] a guest's move names the project its window shows, and while one of the category waits for the |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:291 | [EXT:online-coop-commands] a guest's effort not back from the host yet is drawn as asked, and the slider's steps and change test count from it (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:293 | [EXT:online-coop-commands] a guest's gesture asks for each step once, and nothing at its release (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:426 | <summary>[EXT:online-coop-commands] The workload the knob stands for: what its player last asked for, or the workload it last projected (C4b).</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:452 | Whether the knob's projection of the lab's workload writes it back, as the original's SetPos notifies its change handler; [EXT:online-coop-commands] a guest's does not: its |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:469 | [EXT:online-coop-commands] A guest's knob follows its player while its workload request waits for the host; once the last one came back and the knob is not held, it shows the lab's |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:502 | [EXT:online-coop-commands] a guest's keys count from its workload not back from the host yet (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:83 | [EXT:online-coop-commands] a guest's list waits for its level or cancel row's outcome with a waiting line, and reads the ride's record as its waiting open-state action will leave it (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:151 | [EXT:online-coop-commands] a guest's level and cancel rows wait with the list (C4b-2); its add-on row asks the building grant before its price (the grant's note) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:235 | [EXT:online-coop-commands] A guest's list whose screen goes while its row waits (Escape, its exit, the window moving on, a screen that clears the stack) leaves the outcome a note |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ShopPrice.cs:69 | [EXT:online-coop-commands] a guest's editor opens with the drawn price (its window's, C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ShopPrice.cs:86 | [EXT:online-coop-commands] a guest's typed price goes with its group at once (a winnable sideshow's game with its drawn prize and chance, C4b-2): queued, the editor closes; |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.ShopPrice.cs:104 | the window's own price follows, so its apply on close keeps the typed price; [EXT:online-coop-commands] it is applied, so a host's close in a shared park leaves it (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Staff.cs:157 | [EXT:online-coop-commands] a guest's hire asks the session's rights before the park's own checks, and goes to the host as a request (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Staff.cs:165 | [EXT:online-coop-commands] the hire goes through the Place tool's commands (the tool exists wherever a park view does) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.Staff.cs:185 | [EXT:online-coop-commands] a guest's hire that said its own note (the rights', the wait's) says nothing more (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:134 | [EXT:online-coop-commands] a guest's patrol area goes through its management queue (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:472 | [EXT:online-coop-commands] a guest's hire or pick-up that waits for the host with no staff tool on yet is let go as its tool would be, before anything else takes the key (C4c-2): |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:500 | [EXT:online-coop-commands] a guest's queue edit or Move pick-up that waits for the host is left as a tool is (C3b): only the next Escape opens the pause menu |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:513 | [EXT:online-coop-commands] a guest's open word as drawn: projected while an open-state action of the object waits (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:619 | [EXT:online-coop-commands] a placement inside a command: the HUD follows its own player's placement once the command has returned, so the tool the placed ride opens issues commands of its own; |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:633 | the click) or the tool the placed object opens. [EXT:online-coop-commands] A guest's placement finishes when its request comes back, with the Ctrl of its click (C3a-2); one that |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:652 | [EXT:online-coop-commands] a guest's placement that a later record removed before its outcome came back opens no tool (C3a-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:710 | [EXT:online-coop-commands] a guest's queue edit or Move pick-up that waits for the host starts no tool after this (C3b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:740 | [EXT:online-coop-commands] a guest's door is an open-state action of its object, from the drawn state (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:751 | Sells the placed object with attraction id <paramref name="attraction"/> (<see cref="RemoveAttractionCommand"/>): [EXT:online-coop-commands] a guest's sale goes to the host, and the sell |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:766 | [EXT:online-coop-commands] a guest's sale of the object that waits for the host takes no second one (C3b), and [EXT:online-coop-claims] a ride claimed against this player is not its |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:772 | Catalogue objects sell and unlink exactly once; the developer prototype removes through its own seam ([EXT:online-coop-commands]: one command either way). |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:959 | [EXT:online-coop-commands] staff presses and Escape belong to the state seen before this frame takes a start's or a click's outcome (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:961 | [EXT:online-coop-commands] whether the guest's coaster panel waited for the host before this frame's answers (C3c-2): a press first seen now was made while it waited |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:964 | [EXT:online-coop-commands] a guest's queue edit or Move pick-up that waits for the host starts no tool once any tool was on meanwhile (C3b): the HUD's own tools, the pools', the staff's |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:967 | [EXT:online-coop-commands] the buy item a pick-up arms the Move tool with is its wait's: a wait dropped (another tool, Escape, the session's end) takes it along (C3b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:970 | [EXT:online-coop-commands] a resync's park arms the Move tool again from its carry, waiting again for its placement, before the outcomes are taken, so that placement's finishes it |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:977 | [EXT:online-coop-commands] the staff tool follows what the park holds for this player, every frame, paused too and whatever the pointer is over, before any pointer's dispatch (C4c); a |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:983 | [EXT:online-coop-commands] the guest's coaster tool says what its waited actions came back with, before the claim is bound: an outcome that ended the tool says why itself (C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:985 | [EXT:online-coop-commands] one tool at a time: a coaster tool on together with a tool that started after it ends (C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:989 | [EXT:online-coop-commands] a guest's coaster commands go first, then its pool strokes send what waits and say what finished (C3b-3, C3c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:999 | [EXT:online-coop-commands] the management windows' outcomes are taken under the research finale too (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1035 | [EXT:online-coop-commands] greyed while an open-state action of a guest's object waits (C4b-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1039 | [EXT:online-coop-commands] not while this guest's sale of the object waits for the host (C3b), nor [EXT:online-coop-claims] for a ride claimed against this player (C3c-1) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1075 | [EXT:online-coop-commands] the management windows' outcomes, after the screens took this frame's input (C4b): a confirmation the player closed this frame already detached, so an |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1135 | [EXT:online-coop-commands] a guest's keys ask the host for the state they name, unless the door is drawn in it already, and the advisor's event follows the accepted request (C4b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1194 | [EXT:online-coop-commands] a click a tool did not take while its request waited for the host (C3a-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1196 | [EXT:online-coop-commands] another player's command's message is not this machine's to say, and a guest hears its own commands' outcomes from its requests (C3a-2); the HUD |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1248 | <summary>[EXT:online-coop-commands] <see cref="Level.HostToolStarts"/> when the last left press was taken (null: no press seen): a tool a guest's request starts when the host's answer comes back in between (CompleteMove, CompleteQueueEdit) takes no click from that press's release.</summary> |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1252 | [EXT:online-coop-commands] <see cref="Level.HostToolStarts"/> at the start of this frame, before the host's answers moved any tool: a press first seen in a frame whose answers started or moved |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1258 | [EXT:online-coop-commands] Whether the guest's coaster panel waited for the host at the start of this frame, before its answers (C3c-2): a press first seen in this frame was made while it |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1345 | [EXT:online-coop-commands] a guest's Move pick-up, queue edit or track tool that the host's answer started between this press and its release, or a line, cut or track Backspace whose |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1445 | [EXT:online-coop-commands] a guest's placement that waits for the host takes no click, so it has no cue either; the original skips the cue only during a layout replay (0x785A2C), which OpenTPW has none of |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1495 | [EXT:online-coop-commands] a press made while the staff tool waited is no click even when this frame's outcome armed, replaced or ended it (C4c-2). A first start still waiting |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1509 | [EXT:online-coop-commands] a guest's right click lets go of a hire or pick-up that waits for the host with no staff tool on yet, before any other tool takes it (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1545 | [EXT:online-coop-commands] a guest's click is a request to the host (C4c-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1617 | [EXT:online-coop-commands] a right click leaves a guest's queue edit or Move pick-up that waits for the host, as it leaves a tool (C3b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1637 | [EXT:online-coop-commands] a guest's edit went to the host (or one waits already): the queue tool starts once it comes back (C3b, CompleteQueueEdit) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1658 | [EXT:online-coop-commands] a guest's Backspace in its track tool goes to the host, one at a time, under the ride's claim (C3c-1b); a line or Backspace that waits for the host is not |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1686 | [EXT:online-coop-commands] a guest's line or track Backspace that waits for the host takes no other click (C3a-2, C3c-1b) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1717 | [EXT:online-coop-commands] a guest's line went to the host: its sounds, help and messages wait for its outcome (CompleteLine, C3a-2) |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1728 | The sounds, the advisor's help and the messages of a path or queue click's line, once it is known: at once, or [EXT:online-coop-commands] when a guest's request comes back (C3a-2), |
| online-coop-commands | source/OpenTPW/Hud/ParkHud.cs:1861 | [EXT:online-coop-commands] a guest's pool strokes: the cells sent or waiting to be sent, until their outcome, as a waiting line's ghost (C3b-3) |
| online-coop-commands | source/OpenTPW/Online/CoopBuildRights.cs:45 | [EXT:online-coop-commands] a Move tool's end only drops its own seat's carry, and a Move must end even when the grant went meanwhile (C3b-2); [EXT:online-coop-claims] a release |
| online-coop-commands | source/OpenTPW/Online/CoopDigest.cs:149 | [EXT:online-coop-commands] the economy objects' counts of levels bought, those not 0 in id order: a guest's upgrade cancellation names them, and the world hash leaves them out (C4b-2) |
| online-coop-commands | source/OpenTPW/Online/CoopGuestCommands.cs:5 | <summary>[EXT:online-coop-commands] Where a guest's request to the host stands (<see cref="CoopGuestCommands.Request"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopGuestCommands.cs:28 | [EXT:online-coop-commands] A guest's requests to the host (docs/COOP.md, "Building by every player"), for the whole session: a resync replaces the guest's park and stream, never its |
| online-coop-commands | source/OpenTPW/Online/CoopGuestCommands.cs:107 | [EXT:online-coop-commands] The requests resolved since the last call, oldest first (C3a-2): the HUD takes them at the start of its update, outside any command, tick and stream |
| online-coop-commands | source/OpenTPW/Online/CoopGuestStaff.cs:3 | <summary>[EXT:online-coop-commands] What a guest's staff request is to its tool (C4c-2, <see cref="CoopGuestStaff"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopGuestStaff.cs:14 | <summary>[EXT:online-coop-commands] A guest's staff request that resolved, with what it was to its tool (C4c-2).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopGuestStaff.cs:18 | [EXT:online-coop-commands] A guest's staff tool as requests to the host (C4c-2, docs/COOP.md "A guest's staff"), owned by the session as its management queue is, so a resync's new HUD finds |
| online-coop-commands | source/OpenTPW/Online/CoopGuestStream.cs:82 | [EXT:online-coop-commands] the guest's park takes the host's stream only: its own issues never run here, so its log is the host's stream (a granted guest's building goes to the host) |
| online-coop-commands | source/OpenTPW/Online/CoopGuestStream.cs:108 | [EXT:online-coop-commands] Raised for each stream record that applied here as on the host (its flags, and its digest when the host sent one, agree): its number, its origin when a |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:67 | <summary>[EXT:online-coop-commands] The most bytes one guest's command may take (a line or a placement takes a few dozen).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:69 | <summary>[EXT:online-coop-commands] The commands a second a guest's bucket refills with, and the most it holds: a burst of clicks, never a flood.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:72 | <summary>[EXT:online-coop-commands] The answers the host keeps for each guest, for the requests it sends again after a lost link.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:75 | [EXT:online-coop-commands] The most commands of one guest that wait for the host's next frame: more are dropped unanswered (a flood, never a player), and the gap the next one shows |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:142 | <summary>[EXT:online-coop-commands] The sequence number of its next command (from 1).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:144 | <summary>[EXT:online-coop-commands] What became of its last requests, oldest first: the stream record that holds each, or why there is none.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:146 | <summary>[EXT:online-coop-commands] Its rate bucket: the commands it may send now, and when that was counted.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:149 | <summary>[EXT:online-coop-commands] Its commands waiting for the next frame.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:219 | [EXT:online-coop-commands] The guests' commands as they arrived, applied at the next frame's start, before its ticks (<see cref="ApplyGuestCommands"/>); a command too large to take |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:226 | [EXT:online-coop-commands] Each guest seat's member at the last frame's start (C3b-2): a seat whose member left or changed since (a departure the live events report, one a resume's |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:240 | <summary>[EXT:online-coop-commands] The origin of the guest's command being applied now, which its record carries, and the record it got.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:434 | [EXT:online-coop-commands] the guests' commands at the frame's start, after the host's own input and before the ticks, paused too: one order, the host's |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:504 | [EXT:online-coop-commands] a guest's command carries its origin, so its issuer knows the record that answers its request |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:770 | [EXT:online-coop-commands] a guest's command too large to take is refused by its number, without copying it |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:822 | [EXT:online-coop-commands] A guest's command waits for the next frame's start; past <see cref="MaximumQueuedGuestCommands"/> of that guest's it is dropped unanswered (a flood), |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:834 | [EXT:online-coop-commands] The grants of the guests that left are taken back, then the guests' commands that arrived since the last frame apply in their order (docs/COOP.md, |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:842 | [EXT:online-coop-commands] the seats whose member left or changed since the last frame, and any guest seat that still holds something without a member: a carry (C3b-2), |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:974 | <summary>[EXT:online-coop-commands] Each guest seat's member as the session holds it now (C3b-2).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:980 | [EXT:online-coop-commands] One guest's request: a request answered already gets its answer again, never the command twice; one that skips a number is refused until the guest sends from |
| online-coop-commands | source/OpenTPW/Online/CoopHostStream.cs:1031 | <summary>[EXT:online-coop-commands] Why the host takes no record of <paramref name="request"/>, or null with its command, its player the guest's seat.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopLiveTest.Guest.cs:140 | [EXT:online-coop-commands] the staff scenario (C4c-2) |
| online-coop-commands | source/OpenTPW/Online/CoopLiveTest.Host.cs:152 | [EXT:online-coop-commands] the staff scenario (C4c-2) |
| online-coop-commands | source/OpenTPW/Online/CoopLiveTest.Management.cs:8 | [EXT:online-coop-commands] The live acceptance's management scenario (C4b-2; docs/COOP.md, "The live acceptance"): after the baseline's lines, whose guest's line is the scenario's |
| online-coop-commands | source/OpenTPW/Online/CoopLiveTest.Park.cs:148 | ([EXT:online-coop-commands], C3a-2), its tool ended with a press on the end again. <paramref name="avoid"/> keeps the line clear of cells used before. |
| online-coop-commands | source/OpenTPW/Online/CoopLiveTest.Staff.cs:8 | [EXT:online-coop-commands] The live acceptance's staff scenario (C4c-2; docs/COOP.md, "The live acceptance"): after the baseline's lines the host gives the staff right through the rights |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:3 | <summary>[EXT:online-coop-commands] Which part of the park a guest's management entry changes (C4b): a target's entries go to the host one at a time, in their order.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:22 | <summary>[EXT:online-coop-commands] One target of a guest's management queue (<see cref="CoopManagementRequests"/>): its kind and, for a kind of many, which one.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:33 | <summary>[EXT:online-coop-commands] A control whose latest value is what its player wants (C4b): a run of its changes goes once, with the latest value.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:60 | <summary>[EXT:online-coop-commands] A wave machine's settings (<see cref="SetPoolWavesCommand"/>, C5-2).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:64 | <summary>[EXT:online-coop-commands] A control within a target (<see cref="ManagementKnobKind"/>), with its index where a target has several of a kind.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:84 | <summary>[EXT:online-coop-commands] One command of a window's action, for <see cref="CoopManagementRequests.Enqueue"/>: its target and its knob, if it has one.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:88 | [EXT:online-coop-commands] What <see cref="CoopManagementRequests.Enqueue"/> did with a window's action: its entries (none when nothing was queued), whether its targets or the queue were |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:96 | <summary>[EXT:online-coop-commands] Where a guest's management entry stands.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:107 | <summary>[EXT:online-coop-commands] One command of a guest's management queue: its target, its knob, its waiter, and its request once sent.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:133 | <summary>[EXT:online-coop-commands] What became of a guest's management entry (<see cref="ManagementOutcome"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:153 | <summary>[EXT:online-coop-commands] What a management outcome says to its player (<see cref="ManagementOutcome.Note"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:173 | <summary>[EXT:online-coop-commands] A management outcome's note: its kind, and for a refusal by the rights, which (another player's claim, the right not given, the host's alone).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:179 | <summary>[EXT:online-coop-commands] One resolved management entry: what became of it, and its command's result where its record applied (or the rights' refusal before it was sent).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:212 | [EXT:online-coop-commands] a wave machine removed while its settings waited, or left without water, is no longer there; the same settings set meanwhile say nothing (C5-2) |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:219 | [EXT:online-coop-commands] A window's opening (or the HUD) that acts on its entries' outcomes (C4b): each outcome, accepted included, waits here in the order the entries resolved until the HUD |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:237 | [EXT:online-coop-commands] What a guest's management queue sends its commands through (the guest's park's <see cref="ParkCommands"/>; a test's own): the session's rights asked silently, |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:250 | [EXT:online-coop-commands] A guest's management requests (C4b, docs/COOP.md "A guest's management windows"): the research, finance and loans windows' commands on their way to the host. The |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:344 | [EXT:online-coop-commands] one open-state action of an object at a time: its buttons and rows take no click meanwhile, and the queue holds to it (C4b-2) |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:433 | [EXT:online-coop-commands] its outcome waits for its window's waiter or in the session's notes until a HUD's lines can be seen, also across a HUD's replacement, never through |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:519 | [EXT:online-coop-commands] a note whose words wait already is not kept twice (the HUD would renew that line anyway), so the notes never overflow (C4b-2) |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:528 | [EXT:online-coop-commands] A window's action refused before it was queued (C4b-2): by the session's rights (<paramref name="rights"/>, their note or a claim's) or for want of room (null: |
| online-coop-commands | source/OpenTPW/Online/CoopManagementRequests.cs:538 | [EXT:online-coop-commands] A guest's staff tool's outcome of <paramref name="command"/> (C4c-2, <see cref="CoopGuestStaff"/>): its note joins the session's notes as a management entry's |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:218 | [EXT:online-coop-commands] A guest's requests to the host (docs/COOP.md, "Building by every player"): for the whole session, across resyncs; null for a host. The session's end resolves |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:224 | [EXT:online-coop-commands] A guest's management requests (C4b, docs/COOP.md "A guest's management windows"): the research, finance and loans windows' commands, queued per target and |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:230 | [EXT:online-coop-commands] A guest's staff tool as requests (C4c-2, docs/COOP.md "A guest's staff"): its one open staff request and whether the player still wants a staff tool, for the |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:236 | [EXT:online-coop-commands] Whether the session ended while its management queue held an action not made or not said (C4b-2, <see cref="CoopManagementRequests.HasUnfinished"/>): the |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:349 | [EXT:online-coop-commands] the guest's own tools send their commands to the host (C3a-2) |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:417 | <summary>[EXT:online-coop-commands] The guest's management queue, which follows its requests through the ledger (C4b).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:422 | [EXT:online-coop-commands] and its staff tool's requests, whose notes join the queue's (C4c-2) |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:464 | [EXT:online-coop-commands] a batch, bridge or slide undo the guest's pool tool sends says its refusal in its stroke's report, once for the stroke (C3b-3), and a coaster tool's action |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:471 | <summary>[EXT:online-coop-commands] When the guest's park last sent the end of a carry left without its Move tool (<see cref="Level.EndStrayCarry"/>), across its resyncs, or null.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:477 | <summary>[EXT:online-coop-commands] A guest's command for the host, as a request of the session's (null once it ended).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:508 | [EXT:online-coop-commands] the requests end with the session: a tool that waits for one waits no more (C3a-2) |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:517 | [EXT:online-coop-commands] whether the guest's management actions left something not made or not said, asked before the ledger's end resolves their requests (C4b-2): the end |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:576 | [EXT:online-coop-commands] a request that waited too long for its outcome goes out again |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:578 | [EXT:online-coop-commands] the management windows' commands go to the host (C4b), only while the guest follows a live stream with its requests unfenced, against the park it |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:592 | [EXT:online-coop-commands] the requests wait for the new park, against which they are reconciled |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:769 | [EXT:online-coop-commands] the guest's armed Move tool and the placement of it that waits for the host, which the new park arms and waits for again (C3b-2) |
| online-coop-commands | source/OpenTPW/Online/CoopSession.cs:806 | [EXT:online-coop-commands] the requests are reconciled against the cut (those inside it applied there) and the rest go out again, before the frames after the cut apply |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:13 | <summary>[EXT:online-coop-commands] A guest's command (C3): its origin follows the flags (<see cref="CoopStreamRecord.Origin"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:17 | <summary>[EXT:online-coop-commands] Whose request a guest's streamed command answers: the sender's member id (the server's word) and its own number for the request.</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:196 | <summary>[EXT:online-coop-commands] A guest's command for the host (C3).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:198 | <summary>[EXT:online-coop-commands] The host's answer to a guest's command that the stream does not answer, or answered already (C3).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:202 | <summary>[EXT:online-coop-commands] Why the host took no record of a guest's command (<see cref="CoopGuestCommandAnswer"/>).</summary> |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:332 | [EXT:online-coop-commands] A guest's command for the host (docs/COOP.md, "Building by every player"): the guest's own number for the request (from 1, one after another) and the command's |
| online-coop-commands | source/OpenTPW/Online/CoopStreamCodec.cs:363 | [EXT:online-coop-commands] The host's answer to a guest's request <paramref name="Sequence"/>: <paramref name="Record"/> is the stream record that holds its command (accepted, refused or |
| online-coop-commands | source/OpenTPW/UI/Layouts/ObjectBuildPanel.cs:67 | [EXT:online-coop-commands] every object opens or closes through one command, as the buttons did |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:449 | <summary>[EXT:online-coop-commands] A guest's request the host refused without a record (too fast, malformed, unavailable, not seated, too large): the player tries again (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:457 | <summary>[EXT:online-coop-commands] A guest's click while its tool's request waits for the host (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:459 | <summary>[EXT:online-coop-commands] A guest's request whose outcome is not known here (an error, a lost answer): the park shows what became of it (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:465 | <summary>[EXT:online-coop-commands] A guest's management request the host refused without a record (too fast, malformed, unavailable): the player tries again (C4b).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:467 | <summary>[EXT:online-coop-commands] A guest's management request whose outcome is not known here (an error, a lost answer, a resync's cut): the park shows it (C4b).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:469 | <summary>[EXT:online-coop-commands] The guest's end dialog's line when its management actions left something not made or not said (C4b-2).</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/SupplementaryStrings.cs:471 | <summary>[EXT:online-coop-commands] A dismissal of an employee another player carries (C4c): the host's and a guest's alike.</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/UiScreen.cs:191 | [EXT:online-coop-commands] a press starts a hold's own state, whether its start runs or the pointer misses it (C4b-2) |
| online-coop-commands | source/OpenTPW/UI/Original/UiTextWidgets.cs:136 | Whether the release frame's pointer reaches <see cref="DragTo"/> before <see cref="DragEnd"/>, as every held frame's does (true by default). [EXT:online-coop-commands] A guest's slider |
| online-coop-commands | source/OpenTPW/UI/Original/UiWidgets.cs:613 | [EXT:online-coop-commands] Run at the button's press, where the screen starts the hold's state (C4b-2): a hold whose <see cref="Start"/> the pointer misses (outside the button at the |
| online-coop-commands | source/OpenTPW/UI/Original/UiWidgets.cs:824 | [EXT:online-coop-commands] Whether a pointer gesture asks for each value once (a guest's windows, C4b-2): its press's page step and its grabbed held frames ask for a value only when it |
| online-coop-commands | source/OpenTPW/UI/Original/UiWidgets.cs:834 | <summary>A pointer's value: set as before, or [EXT:online-coop-commands] asked once in the gesture where <see cref="AsksOncePerStep"/>.</summary> |
| online-coop-commands | source/OpenTPW/UI/Original/UiWidgets.cs:932 | [EXT:online-coop-commands] with no press mode a once-a-step slider's pointer is the release's click (UiScreen.Click after DragEnd): it asks nothing, the press and the grab having |
| online-coop-commands | source/OpenTPW/World/AreaClear.cs:5 | [EXT:online-coop-commands] The scans live here, outside the tool layer: the command hands them the level's own removals, and the tool keeps its clicks (<see cref="AreaClearTool"/>). |
| online-coop-commands | source/OpenTPW/World/AreaClear.cs:31 | [EXT:online-coop-commands] the loops visit the map's cells only (any cell off the map is skipped, as before), so a rectangle of a request costs no more than the map; the |
| online-coop-commands | source/OpenTPW/World/AreaClearTool.cs:26 | Clears the rectangle between two corners (<see cref="AreaClear.Run"/>): [EXT:online-coop-commands] the level issues a <see cref="ClearAreaCommand"/>, whose value is the counts of |
| online-coop-commands | source/OpenTPW/World/AreaClearTool.cs:70 | [EXT:online-coop-commands] the rectangle is one command (ClearAreaCommand); the tool ends whatever became of it, as tp.exe's does |
| online-coop-commands | source/OpenTPW/World/BuyLandTool.cs:11 | <summary>[EXT:online-coop-commands] A guest's purchase went to the host (C3b): its outcome comes back later, and only a refusal is said then.</summary> |
| online-coop-commands | source/OpenTPW/World/BuyLandTool.cs:31 | <param name="issue">[EXT:online-coop-commands] Hands the purchase to the park's command funnel (<see cref="BuyLandCommand"/>).</param> |
| online-coop-commands | source/OpenTPW/World/BuyLandTool.cs:139 | [EXT:online-coop-commands] the validator, the purchase and its debit run in the command; its value is the validator's verdict |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:44 | <summary>Whether the tool's Backspace may take a committed segment back ([EXT:online-coop-commands] not a guest's path or queue line, C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:49 | [EXT:online-coop-commands] A line writer whose undo a guest sends to the host first (the track tools under their ride's claim, C3c-1b): the tool pops nothing until the outcome comes back |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:114 | [EXT:online-coop-commands] A guest's line that waits for the host (C3a-2): its command's request, and the start and the snapped end of the click. While it waits the tool takes |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:120 | <summary>[EXT:online-coop-commands] The guest's line that waits for the host, or null (<see cref="WaitingLine"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:124 | [EXT:online-coop-commands] A guest's Backspace that waits for the host (C3c-1b, <see cref="IGuestUndoWriter"/>): its request and the segment it takes back. Nothing is popped until its outcome |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:129 | <summary>[EXT:online-coop-commands] The guest's Backspace that waits for the host, or null (<see cref="WaitingUndoLine"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:132 | <summary>[EXT:online-coop-commands] Whether a guest's line or Backspace of this tool waits for the host: the tool takes no click and no undo meanwhile.</summary> |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:186 | [EXT:online-coop-commands] a guest's line that waits for the host keeps its ghost: the clicked line, frozen until its outcome; a Backspace that waits has none (C3c-1b) |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:201 | [EXT:online-coop-commands] a guest's line or Backspace that waits for the host takes no other click (C3a-2, C3c-1b) |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:242 | [EXT:online-coop-commands] a guest's line went to the host (C3a-2): the tool waits for its outcome with the clicked line as its ghost, nothing pushed, laid or stacked yet |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:255 | [EXT:online-coop-commands] The outcome of the guest's line that waits for the host (C3a-2), once: <paramref name="outcome"/> is its command's result in the guest's park (its |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:269 | [EXT:online-coop-commands] an outcome whose continuation ended, replaced or restarted the tool (a track line that closed its circuit, a cut, C3c-1b) is done there, as a click's commit |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:289 | [EXT:online-coop-commands] Drops the guest's line that waits for the host without laying it (C3a-2): the host took no record of it, so the click is as if never made, and the tool |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:380 | [EXT:online-coop-commands] a line or Backspace that waits for the host is not done yet (C3a-2) |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:414 | [EXT:online-coop-commands] a guest's Backspace in its track tool goes to the host first, under the ride's claim (C3c-1b), [EXT:online-coop-undo] and in its path or queue tool as a |
| online-coop-commands | source/OpenTPW/World/CellBuildTool.cs:442 | [EXT:online-coop-commands] The outcome of the guest's Backspace that waits for the host (C3c-1b), once: <paramref name="outcome"/> is its command's result in the guest's park (its record |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterBuilder.cs:61 | [EXT:online-coop-commands] The tool state this machine's coaster panel keeps in the builder: the requested height and the loop edit mode with its pylons still to place. A click carries it in its |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterBuilder.cs:554 | <summary>[EXT:online-coop-commands] The coaster panel's build state a click reads (<see cref="CoasterBuilder.ToolState"/>): the requested height and the loop edit mode with its pylons still to place.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterEdits.cs:33 | [EXT:online-coop-commands] The pylon each player is editing in a drag of the coaster tool's panel (<see cref="CoasterToolPanel"/>): the station's attraction id and builder, the edit the press began |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterRequestQueue.cs:4 | [EXT:online-coop-commands] A guest's coaster tool commands on their way to the host (docs/COOP.md, "A guest's coaster tool (C3c-2)"): one queue in order, the level's, so it outlives the panel |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterRequestQueue.cs:202 | [EXT:online-coop-commands] What became of a guest's coaster tool command (C3c-2): its result (in the guest's park once its record applied there, or here when the rights refused it before it went), |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:60 | <summary>[EXT:online-coop-commands] The first and the last number of the drags this guest's panel took from its queue (<see cref="CoasterRequestQueue.NewDrag"/>, C3c-2); 0 for none.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:62 | <summary>[EXT:online-coop-commands] A guest's press whose <see cref="BeginCoasterNodeEditCommand"/> waits for the host: the drag starts from its outcome (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:64 | <summary>[EXT:online-coop-commands] A guest's click, Backspace, swap or cut that waits for the host (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:75 | [EXT:online-coop-commands] A guest's queue to the host (the level's, C3c-2): the panel's commands go through it as requests, and their outcomes come back to the panel; null for the host and in |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:79 | <summary>[EXT:online-coop-commands] Whether the panel's commands go to the host now: a guest's, while its session lasts.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:81 | <summary>[EXT:online-coop-commands] The edit this panel's player holds in the level (<see cref="CoasterEdits"/>), read when a guest's press comes back: its range is the one the press's record took.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:83 | <summary>[EXT:online-coop-commands] A guest's completing click came back to this open panel: the level finishes the tool, or closes it when the claim went meanwhile (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:100 | <summary>[EXT:online-coop-commands] Whether the panel's commands go to the host as requests (a guest's).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:103 | <summary>[EXT:online-coop-commands] Whether the panel's commands go to the host as requests (a guest's, C3c-2): its click and Backspace go through the level's send methods.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:106 | <summary>[EXT:online-coop-commands] Whether a guest's press waits for the host (C3c-2): its release is kept for the drag its outcome starts.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:109 | <summary>[EXT:online-coop-commands] Whether <paramref name="drag"/> is a drag of this guest's panel (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:113 | [EXT:online-coop-commands] Whether a guest's request of the panel waits for the host (C3c-2): a click, a Backspace, a swap or a cut, or a drag's press. The panel takes no button, press, click |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:121 | <param name="issue">[EXT:online-coop-commands] Hands each of the panel's writes to the park's command funnel (<see cref="CoasterPanelCommand"/>): a drag's press, each of its steps and its release, |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:305 | A click on a button (<c>0x446fa0</c> with param 1): leaves the old sub-mode and starts the new one. A disabled button does nothing, nor [EXT:online-coop-commands] any while a guest's request |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:434 | <summary>[EXT:online-coop-commands] A guest's drag's number in its queue (0: the host's, whose steps apply at once).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:436 | <summary>[EXT:online-coop-commands] The last value a guest's drag queued for each field: a step goes only when the value changed.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:440 | <summary>[EXT:online-coop-commands] A guest's press whose begin waits for the host, and what the pointer did meanwhile (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:455 | Returns whether a drag started. The stack and demolish buttons act on the release. [EXT:online-coop-commands] A guest's press goes to the host first (C3c-2): the drag starts from its |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:491 | [EXT:online-coop-commands] A guest's press came back (C3c-2): accepted, the drag starts from the press's pointer, against the pylon as its record left it and the range it took, and what the |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:559 | [EXT:online-coop-commands] While a guest's press waits, the pointer's last move is kept for the drag its outcome starts; a guest's drag queues each value for its field, the latest only (C3c-2). |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:648 | Whether a drag's new <paramref name="value"/> for <paramref name="field"/> is a change: against the pylon's <paramref name="applied"/> value for the host's drag, and [EXT:online-coop-commands] |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:655 | One step of <paramref name="state"/>'s drag: the host's applies at once (its result), [EXT:online-coop-commands] a guest's is queued for its field (C3c-2: the latest value goes, at most every |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:667 | <summary>The end of <paramref name="state"/>'s edit: the host's applies at once, [EXT:online-coop-commands] a guest's goes behind its drag's steps.</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:677 | [EXT:online-coop-commands] A guest's drag end came back (C3c-2): refused by the rights while the panel is open (the grant or the claim went), the drag's edit stays held at the host, so the |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:704 | <paramref name="node"/> is the pylon under the pointer, <paramref name="cell"/> the hovered cell. Returns what happened. [EXT:online-coop-commands] A guest's release of a press that waits is kept for |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:730 | [EXT:online-coop-commands] one request of the panel waits at a time: a press held from before the wait swaps nothing now (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:748 | [EXT:online-coop-commands] one request of a guest's panel waits at a time: a release while it waits, also of a press held from before it, does nothing, and a range started stays (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:761 | [EXT:online-coop-commands] a guest's cut goes to the host and its outcome finishes it (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:790 | [EXT:online-coop-commands] the release's writes are commands: a move's last step, then the end, which settles the money of a height or move drag (or only fits the track again); a guest's go |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:824 | through 0x4455c0 whenever the mask changes). [EXT:online-coop-commands] Not while a guest's request waits: its outcome comes first. |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:830 | [EXT:online-coop-commands] a drag the new selection ends is released where it stands (Select), so its edit ends too |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:835 | The tool ends: a drag in progress is released where it stands, as a release over no cell (a move goes back, a height edit settles its money). [EXT:online-coop-commands] A guest's drag |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:857 | ---- [EXT:online-coop-commands] A guest's click, Backspace, swap and cut (C3c-2) ----------------------- |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:860 | [EXT:online-coop-commands] A guest's build click (C3c-2): <paramref name="command"/> goes to the host and the panel waits. Its outcome takes the tool state the placement left |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:884 | [EXT:online-coop-commands] A guest's Backspace (C3c-2): [EXT:online-coop-undo] a take-back of its newest own pylon goes to the host and the panel waits (C5-3); it pops that pylon once |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:955 | <summary>[EXT:online-coop-commands] A guest's coaster tool action that waits for the host (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:978 | [EXT:online-coop-commands] What a guest's coaster tool action came back with, for the HUD to say (C3c-2): the action, its outcome, whether its panel was still the open one when it came back (a |
| online-coop-commands | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:1001 | <summary>[EXT:online-coop-commands] A guest's swap or cut while another request of its panel waits for the host: nothing went, and the player is asked to wait (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/CoasterCommands.cs:34 | [EXT:online-coop-commands] The coaster tool's entry (<see cref="Level.EnterCoasterTool"/>) on the station whose attraction id is <paramref name="Station"/>: the ride closes, its controller |
| online-coop-commands | source/OpenTPW/World/Commands/CoasterCommands.cs:46 | [EXT:online-coop-commands] The coaster tool's exit (<see cref="Level.ExitCoasterTool"/>) from the station whose attraction id is <paramref name="Station"/>: the pylon edits there end where they |
| online-coop-commands | source/OpenTPW/World/Commands/CoasterCommands.cs:58 | [EXT:online-coop-commands] A command of the coaster tool's panel (<see cref="CoasterToolPanel"/>) and its Backspace: it acts on the builder of the coaster station whose attraction id is |
| online-coop-commands | source/OpenTPW/World/Commands/CoasterCommands.cs:101 | [EXT:online-coop-commands] A click of the coaster tool's build buttons on cell (<paramref name="X"/>, <paramref name="Y"/>) for the station whose attraction id is <paramref name="Station"/> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:4 | [EXT:online-coop-commands] The kinds of park edit command (docs/COOP.md, "The command layer"). Each value is the command's tag in its serialization |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:125 | <summary>[EXT:online-coop-commands] Paints or erases a guest's batch of pool cells (<see cref="PoolCellsCommand"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:127 | <summary>[EXT:online-coop-commands] Lays a guest's batch of pool slide pieces (<see cref="LayPoolSlidePiecesCommand"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:160 | <summary>[EXT:online-coop-commands] The host releases what a seat whose member left holds in the park (<see cref="ReleaseSeatCommand"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:173 | [EXT:online-coop-commands] One park edit as a serializable value: what a HUD window or a tool asks the park to change, keyed on cells, catalogue entries, |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommand.cs:282 | [EXT:online-coop-commands] One command for the whole rectangle, so a guest's clear is one request with one outcome (C3b): an object its player may not remove stays, as an object across |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:7 | [EXT:online-coop-commands] The stable, versioned byte form of a <see cref="ParkCommand"/> (docs/COOP.md, "Serialization"). A command is an envelope (its |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:16 | [EXT:online-coop-commands] <see cref="ExpectationVersion"/> for a stale-checked command that carries its expectation (C4b), <see cref="PurchaseVersion"/> for a guest's upgrade |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:24 | [EXT:online-coop-commands] The generation of a stale-checked command with its expectation (<see cref="IStaleChecked"/>: a guest's level upgrade, its cancellation and its research |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:29 | [EXT:online-coop-commands] The generation of a guest's upgrade cancellation that names the purchase besides the level (C4b-2, <see cref="CancelUpgradeCommand.ExpectedPurchase"/>): |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:118 | [EXT:online-coop-commands] version 3 is a stale-checked command's with its expectation, which the kind's reader then reads (C4b) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:121 | [EXT:online-coop-commands] version 4 is a guest's upgrade cancellation that names the purchase too (C4b-2) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:256 | <summary>[EXT:online-coop-commands] Whether the command being read carries a stale-checked command's expectation (C4b).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandCodec.cs:259 | <summary>[EXT:online-coop-commands] Whether the command being read is a cancellation that names the purchase too (C4b-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:4 | [EXT:online-coop-commands] The line writer the path and queue tools hold while they run: previews and start checks stay local (<see cref="Inner"/>, no writes), and each |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:48 | [EXT:online-coop-commands] a guest's line goes to the host (C3a-2): nothing is laid yet, and the queue writer's state waits with the tool for the line's outcome; |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:63 | The segment a line's command laid, from its result: at once, or [EXT:online-coop-commands] a guest's request's once its record applied in the guest's park (C3a-2). The queue writer's |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:132 | [EXT:online-coop-commands] A line command a guest's tool sent to the host (C3a-2): its request, and what turns the request's outcome (its record's result in the guest's park) into the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:7 | [EXT:online-coop-commands] A recorded build session (docs/COOP.md, "Recording and replay"): the park it started in (theme, world seed, the tick and world hash at the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:121 | [EXT:online-coop-commands] Records a running park's commands and its world hash every <see cref="CheckpointInterval"/> ticks (<c>--record-commands</c>): from |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:188 | [EXT:online-coop-commands] Replays a command log on a park that stands where the log started (docs/COOP.md): every command is scheduled before its tick and the park is |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:48 | [EXT:online-coop-commands] The command went to the host as a guest's request (C3): nothing changed here yet, and the request resolves later, when its record applies here or the host |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:53 | <summary>[EXT:online-coop-commands] Whether the command waits for the host (<see cref="Request"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:80 | [EXT:online-coop-commands] The park's one funnel for edits (docs/COOP.md): every HUD window and tool hands its edit to <see cref="Apply"/> as a <see cref="ParkCommand"/>. |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:106 | <summary>[EXT:online-coop-commands] A guest's command is being applied on the host (<see cref="ApplyRemote"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:152 | [EXT:online-coop-commands] A guest's way to the host (C3): a command this machine's player issues on a park that follows a stream goes here as a request |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:157 | <summary>[EXT:online-coop-commands] Whether this machine's commands go to the host as requests (a guest's park with its session's way there, C3a-2): its tools wait for their outcomes.</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:160 | <summary>[EXT:online-coop-commands] The player of the outermost command running now, or null outside one: whose edit a message or a sound inside it belongs to (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:164 | [EXT:online-coop-commands] Whether what runs now is this machine's player's own: outside any command, or inside a command it issued. The cues a command plays (a placement's, |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:187 | [EXT:online-coop-commands] The park follows a host's stream (a co-op guest's, docs/COOP.md "Building by every player"): only the stream's held commands apply here. A command of this |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:239 | [EXT:online-coop-commands] a command applied while a simulation tick runs would apply inside tick N here but at the start of tick N in a replay or on a peer (its log entry says |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:278 | [EXT:online-coop-commands] a command that throws (a rule its own checks missed) is a rejection with what it wrote before the throw: it is logged like any other, so a replay or a |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:292 | [EXT:online-coop-commands] Applies a guest's command on the host now, between two ticks (docs/COOP.md, "Building by every player"): its player is the guest's seat, which the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:340 | [EXT:online-coop-commands] a guest's command goes to the host as a request, and changes nothing here until its record comes back |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:356 | [EXT:online-coop-commands] A guest's command as a request to the host, after the checks <see cref="Apply"/> makes before it runs one, in the same order: never inside a tick, well formed, |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:379 | [EXT:online-coop-commands] Runs <paramref name="action"/> once the command this machine's player issued has returned (at once outside one): a HUD that follows its own edit, such as the tool a |
| online-coop-commands | source/OpenTPW/World/Commands/ParkCommands.cs:465 | [EXT:online-coop-commands] The checks of the tests and a strict developer run (<c>OPENTPW_STRICT_COMMANDS=1</c>): a command applied while a simulation tick runs throws |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:7 | [EXT:online-coop-commands] A command of the park's settings (docs/COOP.md, "Settings"): what the HUD's windows change in the economy, the attractions, the staff, the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:44 | [EXT:online-coop-commands] The reason a stale-checked command whose expectation no longer holds gives (<see cref="IStaleChecked"/>, C4b): what its window showed is gone, and the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:49 | <summary>[EXT:online-coop-commands] The rejection of a stale-checked command whose expectation no longer holds.</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:371 | Steps a research category's current project one place back (-1) or on (1), with wraparound; rejected when there is no other project. [EXT:online-coop-commands] A guest's names the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:491 | [EXT:online-coop-commands] A guest's names the level its list offered (<paramref name="ExpectedLevel"/>, C4b): a record whose ride's next level is another by then is refused as stale. |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:519 | [EXT:online-coop-commands] a guest's list showed the level row of a ride that waited for no level: a level pending by now (the host's buy came first) is stale too (C4b-2) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:528 | Cancels the upgrade the ride <paramref name="Attraction"/> waits for (its upgrade list's cancel row). [EXT:online-coop-commands] A guest's names the pending level and the purchase its list |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:651 | Dismisses the employee <paramref name="Staff"/> (the employee window's dismiss button). [EXT:online-coop-commands] An employee in another player's hand is not dismissed, and one in the |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:656 | <summary>[EXT:online-coop-commands] The refusal of a dismissal of an employee another player carries (C4c).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:885 | [EXT:online-coop-commands] The host releases what the guest seat <paramref name="Seat"/> holds in the park, once the member that held it left or another took the seat, or the session ends |
| online-coop-commands | source/OpenTPW/World/Commands/ParkSettingCommands.cs:925 | [EXT:online-coop-commands] A command a guest's window sends with what the window showed (a level upgrade's level, a cancellation's pending level, a research move's project; C4b), so |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:4 | [EXT:online-coop-commands] A command of the park's tools (docs/COOP.md, "Tools"): what the land, staff, pool and track tools write into the world (C1 part 3). The tool keeps |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:157 | [EXT:online-coop-commands] a candidate another seat places is that seat's until its placement ends (C4c) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:160 | [EXT:online-coop-commands] a guest's hire replaces what its seat holds, as the original's hire replaces the running tool (0x507bf0) and the host's HUD ends it first (C4c): a |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:183 | [EXT:online-coop-commands] the issuing seat's placement (C4c) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:208 | [EXT:online-coop-commands] the issuing seat's pending hire (C4c) |
| online-coop-commands | source/OpenTPW/World/Commands/ParkToolCommands.cs:247 | [EXT:online-coop-commands] a guest's pick-up replaces what its seat holds, as the original's pick-up replaces the running tool (0x505c50) and the host's HUD ends it first (C4c): |
| online-coop-commands | source/OpenTPW/World/Commands/PoolCommands.cs:10 | [EXT:online-coop-commands] A command of the pools extension's tool (<see cref="PoolTool"/>, docs/POOLS.md): it acts on the level's pool builder, slides and bridges; a park without them (a visit) |
| online-coop-commands | source/OpenTPW/World/Commands/PoolCommands.cs:250 | [EXT:online-coop-commands] A guest's batch of a paint or erase stroke (docs/COOP.md, "A guest's pools"): a guest's tool sends the cells its stroke crosses in batches, since one request a |
| online-coop-commands | source/OpenTPW/World/Commands/PoolCommands.cs:298 | <summary>[EXT:online-coop-commands] What a guest's batch of slide pieces did (<see cref="LayPoolSlidePiecesCommand"/>): a write per cell tried, and whether the slide is finished after it.</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/PoolCommands.cs:302 | [EXT:online-coop-commands] A guest's batch of a slide stroke: each cell as <see cref="LayPoolSlidePieceCommand"/> lays it, in order, for the tower anchored at (<paramref name="TowerX"/>, |
| online-coop-commands | source/OpenTPW/World/Commands/PoolCommands.cs:349 | <summary>The refusal of a machine that is gone or has no water beside it, which a guest's queue says as no longer there ([EXT:online-coop-commands] C5-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Commands/TrackCommands.cs:99 | [EXT:online-coop-commands] The line writer a kart or water ride's track tool holds: previews and the start check stay local (<see cref="Inner"/>, no writes), and each commit and undo of a line becomes one |
| online-coop-commands | source/OpenTPW/World/Level.AddOns.cs:47 | <see cref="UpgradeOffer(OriginalObject)"/> with <paramref name="record"/> as the ride's economy record (null: the park's): [EXT:online-coop-commands] a guest's list reads the record its |
| online-coop-commands | source/OpenTPW/World/Level.AddOns.cs:137 | [EXT:online-coop-commands] the walk runs inside the command that places or removes the add-on, on every peer: it moves no track tool (WalkTrack, not RewalkTrack's tool step) |
| online-coop-commands | source/OpenTPW/World/Level.BuildSounds.cs:65 | [EXT:online-coop-commands] a placement's cue is its issuer's: a peer applying another player's placement plays none (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.BuildSounds.cs:75 | [EXT:online-coop-commands] a demolition's cue is its issuer's: a peer applying another player's removal plays none (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:27 | <summary>[EXT:online-coop-commands] The pylon each player is editing in a coaster panel drag.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:333 | [EXT:online-coop-commands] the drags on the station's track end with it, unsettled, as the track goes without a refund; before this machine's panel closes, whose close ends its drag through |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:397 | [EXT:online-coop-commands] a guest's coaster commands still to send go first: a claim sent now would come before them (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:400 | [EXT:online-coop-commands] one tool at a time: the other tools end first, as the staff tool's entry ends them, and a guest's queue edit, Move pick-up or track entry that waits for the |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:419 | [EXT:online-coop-commands] the entry's writes are a command; the tool and its panel are the issuer's |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:427 | The coaster tool's panel on <paramref name="station"/>; [EXT:online-coop-commands] a guest's goes through the level's queue to the host (C3c-2), and its completing click finishes the tool here |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:448 | [EXT:online-coop-commands] A guest's coaster commands on their way to the host, in order (C3c-2): the level's, so a panel's last commands go after it closed. Null until the first. |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:452 | <summary>[EXT:online-coop-commands] The guest's coaster command queue (<see cref="CoasterRequestQueue"/>).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:455 | <summary>[EXT:online-coop-commands] How many tool requests of a guest may be open at once: the pool tool's batches and the coaster tool's commands share it (C3b-3, C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:459 | [EXT:online-coop-commands] How many of this guest's tool requests are open in the session's requests, from this park or one a resync replaced: the pool tool's batches and the coaster tool's |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:465 | [EXT:online-coop-commands] The HUD's frame sends what the guest's coaster queue holds (C3c-2), before the pool tool's sender, so the coaster's last commands take a freed slot first: the pool |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:490 | [EXT:online-coop-commands] Set while the guest's coaster queue sends a command whose outcome its panel completes (a click, a Backspace, a swap, a cut, a drag's press and end): a refusal by |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:496 | [EXT:online-coop-commands] A guest request resolved (the HUD's drain): when it is one of the guest's coaster commands, its completion runs (C3c-2). True when it was one of them. |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:500 | <summary>[EXT:online-coop-commands] The guest's coaster tool actions that came back since the last call, oldest first (C3c-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:503 | <summary>[EXT:online-coop-commands] The HUD's clock at its last send (<see cref="SendCoasterRequests"/>): an entry's own send paces a drag's step by it.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:507 | [EXT:online-coop-commands] Whether a guest's track or coaster tool entry may send its claim (C3c-2): the coaster queue's commands go first, so the host applies a coaster tool's last commands |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:523 | [EXT:online-coop-commands] A guest's build click in the coaster tool (C3c-2): it goes to the host with the panel's tool state, and the panel waits for its outcome; a click while a request |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:538 | [EXT:online-coop-commands] A guest's Backspace in the coaster tool (C3c-2), [EXT:online-coop-undo] the take-back of its own last pylon (C5-3): one at a time, not during a drag, when a waiting |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:584 | [EXT:online-coop-commands] One tool at a time (C3c-2): the HUD's frame start ends a coaster tool that is on together with another tool, which then started after it through an entry that did |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:622 | [EXT:online-coop-commands] the exit's writes (the being-edited mark, the ride's door) are a command; [EXT:online-coop-claims] a guest's goes behind its panel's last commands, and only |
| online-coop-commands | source/OpenTPW/World/Level.Coasters.cs:669 | [EXT:online-coop-commands] the click is a command with the panel's height and loop edit mode; the builder here takes the tool state the placement left, and a completion ends the tool, on |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:4 | [EXT:online-coop-commands] The level's command layer (docs/COOP.md): <see cref="Commands"/> is the one funnel the HUD and the tools hand their edits to, and |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:197 | <summary>[EXT:online-coop-commands] Whether <paramref name="player"/>'s Move tool carries a picked-up type in the park (C3b-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:200 | <summary>[EXT:online-coop-commands] The guest seats whose Move tools carry a picked-up type (C3b-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:203 | <summary>[EXT:online-coop-commands] Releases what guest seat <paramref name="seat"/> holds (<see cref="ReleaseSeatCommand"/>): its carried type. True when it held anything.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:214 | [EXT:online-coop-commands] A shared park's session starts or ends: the guests' carried types go with it, as their rights do (<see cref="ClearSeatRights"/>), so a park shared again |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:277 | [EXT:online-coop-commands] What a queue edit's record read (C3b): the queue tool's start before the edit took the link off, as the host's click reads it before its edit, and the |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:287 | [EXT:online-coop-commands] the tool's start as the click reads it before the edit, for a guest's tool that enters once its request comes back (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:300 | <summary>[EXT:online-coop-commands] The cells of <paramref name="ride"/>'s queue, front first, with their link bytes as they stand now.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Commands.cs:307 | <summary>[EXT:online-coop-commands] The HasQueue ride whose attraction id is <paramref name="attraction"/>, or null (a guest's queue edit resolves its ride again at its completion).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:4 | The level's tool layer: the park click, the remove tool, the Move tool's pick-up and the queue edit click. [EXT:online-coop-commands] Each edit leaves here as a |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:93 | <summary>[EXT:online-coop-commands] A guest's placement sent to the host (C3a-2): its request, the placed entry and Ctrl at the click (<see cref="KeepBuildToolOnPlace"/>, which the click resets).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:97 | [EXT:online-coop-commands] The guest's placement that waits for the host, or null (C3a-2): the build tool takes no other click until its outcome, and the HUD finishes the |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:103 | [EXT:online-coop-commands] The guest's removal that waits for the host, or null (C3a-2): the remove tool takes no other click until its outcome; leaving the tool drops it |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:109 | [EXT:online-coop-commands] The guest's request whose outcome starts a tool, or null (C3b): a queue edit (the queue tool starts from what its record read, |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:115 | <summary>[EXT:online-coop-commands] The guest's Backspace that waits for the host, or null (C3b): the key's presses and repeats send nothing more until its outcome.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:119 | [EXT:online-coop-commands] The guest's sales that wait for the host, by attraction id, or null before the first (C3b): the sell buttons take no second sale of the same object |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:124 | <summary>[EXT:online-coop-commands] Whether a sale of the object with attraction id <paramref name="attraction"/> waits for the host.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:127 | <summary>[EXT:online-coop-commands] The guest's sale of <paramref name="attraction"/> went to the host as <paramref name="request"/>.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:130 | <summary>[EXT:online-coop-commands] Whether <paramref name="request"/> is a sale that waits for the host.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:134 | <summary>[EXT:online-coop-commands] The guest's Backspace went to the host as <paramref name="request"/>.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:138 | [EXT:online-coop-commands] Escape, a right click or another tool leaves the queue edit, the pick-up or [EXT:online-coop-claims] the track tool entry (C3c-1b) that waits for the host: its |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:147 | <summary>[EXT:online-coop-commands] How many clicks a tool refused while its request waited for the host (C3a-2): the HUD asks the player to wait when it changes.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:150 | <summary>[EXT:online-coop-commands] A tool refused a click while its request waits for the host.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:153 | <summary>[EXT:online-coop-commands] The HUD took the outcome of <paramref name="request"/>: the placement or the removal that waited for it waits no more, and its tool takes clicks again.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:168 | <summary>[EXT:online-coop-commands] Whether <paramref name="request"/> is one this level's tools or buttons wait for (C3a-2, C3b).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:173 | [EXT:online-coop-commands] The session ended with requests open (C3a-2, C3b): the placement, the removal, the queue edit or pick-up, the Backspace and the sales that waited wait |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:194 | [EXT:online-coop-commands] a guest's pool tool ends with its session, and its strokes go without a report (C3b-3) |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:197 | [EXT:online-coop-commands] a guest's Move tool disarms without an end command: its carry goes with the session's state (C3b-2), and the park is shared no more |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:200 | [EXT:online-coop-commands] and its staff tool turns off without a command, before its park's own cleanup of the guest seats' staff state (C4c-2) |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:205 | <summary>[EXT:online-coop-commands] The guest's Move tool disarms without an end command (its carry is gone, or goes with the session), and the HUD drops the item it had armed for it.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:224 | <summary>The remove tool's click on cell (<paramref name="x"/>, <paramref name="y"/>): [EXT:online-coop-commands] a guest's removal waits for the host, taking no other click until its outcome (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:239 | [EXT:online-coop-commands] a guest's placement that waits for the host: the build tool takes no other click until its outcome (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:257 | [EXT:online-coop-commands] a guest's placement went to the host: the HUD finishes it once its outcome comes back, with the entry and the Ctrl of this click |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:270 | <summary>[EXT:online-coop-commands] The continuation choice of the guest's track line that waits for the host (C3c-1b): its click's exactly Ctrl, which its outcome's continuation reads.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:282 | [EXT:online-coop-commands] a guest's line or track Backspace that waits for the host takes no other click (C3a-2, C3c-1b) |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:294 | [EXT:online-coop-commands] a guest's track line went to the host: its outcome's continuation takes this click's Ctrl (C3c-1b) |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:298 | it (0x524A63), and a line whose command the park refused ([EXT:online-coop-commands]) laid nothing either |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:310 | [EXT:online-coop-commands] The outcome of the guest's line that waits for the host (<see cref="CellBuildTool.CompleteWaiting"/>, C3a-2): the path and queue tool's commit zeroes |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:316 | [EXT:online-coop-commands] a guest's track line that closed its circuit continues as its click chose (C3c-1b): exactly Ctrl keeps the line tool |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:356 | object's, and a cancel leaves the object gone. [EXT:online-coop-commands] The demolition is a <see cref="PickUpObjectCommand"/>; arming the tool is the issuer's own, and its end, whatever |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:365 | [EXT:online-coop-commands] a guest's pick-up goes to the host, and the Move tool arms once it comes back (C3b-2, CompleteMove): one pick-up at a time, so no end of an older |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:402 | [EXT:online-coop-commands] A guest's seat that carries a picked-up type in its park while its Move tool is not armed (C3b-2): a pick-up whose tool started no more, an end the host |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:418 | [EXT:online-coop-commands] A guest's Move tool that was armed in the park a resync replaced (C3b-2), as the session hands it to the new park: the key of the type it carried, its angle, |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:423 | <summary>[EXT:online-coop-commands] The guest's Move tool as a resync replaces this park (C3b-2), for the new park to arm again (<see cref="TakeMoveToRestore"/>); null when it is not armed.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:429 | [EXT:online-coop-commands] The guest's Move tool that was armed in the park a resync replaced (C3b-2), which the session hands to the new park (<see cref="MoveForResync"/>). The new |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:435 | [EXT:online-coop-commands] The type and angle the guest's Move tool arms with again after a resync (<see cref="MoveBeforeResync"/>), once: when the seat still carries that type in the new |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:458 | [EXT:online-coop-commands] The Move tool armed again after a resync waits for its placement that waited in the park the resync replaced (<see cref="TakeMoveToRestore"/>), as the build |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:468 | [EXT:online-coop-commands] This park's object for <paramref name="placed"/>, an accepted placement's result, and whether a later record removed it (C3b-2): the object itself, or, for |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:490 | [EXT:online-coop-commands] A guest's Move tool armed while its seat carries nothing in its park (C3b-2): the host released the seat's carry (a resume under a new member id, a departure |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:502 | <summary>[EXT:online-coop-commands] Whether a pick-up of this guest is open in the session's requests, from this park or the one a resync replaced (C3b-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:505 | <summary>[EXT:online-coop-commands] How many pool tool requests of this guest are open in the session's requests, from this park or the one a resync replaced (C3b-3): the pool tool's budget.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:509 | [EXT:online-coop-commands] The guest's pick-up came back accepted (C3b-2): the Move tool arms with the type it carries, as <see cref="BeginMove"/> does once its pick-up applied, if |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:530 | [EXT:online-coop-commands] The queue's edit (the walk and the link it takes off) is an <see cref="EditQueueCommand"/>; the tool is the issuer's own. |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:539 | [EXT:online-coop-commands] a guest's edit goes to the host first: no tool is on while it waits, and the tool starts from what its record read once it comes back (C3b, |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:559 | [EXT:online-coop-commands] The guest's queue edit came back accepted (C3b): the queue tool starts from what the edit's record read before it took the link off, as the host's click |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:581 | [EXT:online-coop-commands] How many tools a guest's request started or moved on when the host's answer came back (<see cref="CompleteMove"/>, <see cref="CompleteQueueEdit"/>, |
| online-coop-commands | source/OpenTPW/World/Level.Input.cs:587 | <summary>[EXT:online-coop-commands] Whether no tool of the park view is on (the view a queue click starts the queue tool from).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:18 | [EXT:online-coop-commands] another tool: a guest's queue edit or Move pick-up that waits for the host starts no tool once it is back (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:21 | [EXT:online-coop-commands] another entry or none: a guest's placement that waits for the host is this tool's no more (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:29 | [EXT:online-coop-commands] the Move tool's end is a command, once the tool's state is the ended one: its player carries the picked-up type no more (a placement cannot say |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:56 | [EXT:online-coop-commands] another tool: a guest's queue edit or Move pick-up that waits for the host starts no tool once it is back (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:59 | [EXT:online-coop-commands] the remove tool on or off: a guest's removal that waits for the host is this tool's no more (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:906 | [EXT:online-coop-commands] the cue is the line's issuer's: a peer applying another player's line plays none (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:931 | [EXT:online-coop-commands] a guest's strokes go to the host in batches (C3b-3), within the budget the coaster tool's commands share; while a coaster command waits to be |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:944 | [EXT:online-coop-commands] the area clear's rectangle is one command (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1006 | [EXT:online-coop-commands] another tool: a guest's queue edit or Move pick-up that waits for the host starts no tool once it is back (C3b), even if this one ends at once |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1009 | [EXT:online-coop-commands] the tool's previews read the path builder; each committed line is a command |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1069 | Starts the queue tool for <paramref name="ride"/> from <paramref name="start"/>: [EXT:online-coop-commands] a guest's queue edit enters it from what its record read before the |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1076 | [EXT:online-coop-commands] the tool's previews read the ride's queue writer; each committed line is a command |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1263 | <summary>The backtrack cue at cell (<paramref name="x"/>, <paramref name="y"/>): [EXT:online-coop-commands] its issuer's alone, as a placement's (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Objects.cs:1864 | a command's placement says itself whether it is the Move tool's ([EXT:online-coop-commands]: the executor reads no tool state) |
| online-coop-commands | source/OpenTPW/World/Level.Resume.cs:214 | [EXT:online-coop-commands] an employee in a guest seat's hand is saved as its drop back to where it was picked up leaves it, in the economy's members and the staff world's actors |
| online-coop-commands | source/OpenTPW/World/Level.RideClaims.cs:117 | <item>[EXT:online-coop-commands] a guest's release waits while its coaster commands still wait to be sent, so it comes behind them (C3c-2).</item> |
| online-coop-commands | source/OpenTPW/World/Level.RideClaims.cs:160 | [EXT:online-coop-commands] a guest's coaster commands still to send go first: the release comes behind them (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Level.Simulation.cs:111 | [EXT:online-coop-commands] the commands held for this tick apply before it (a replayed log; in single player the HUD's commands have run already); no command may be applied while |
| online-coop-commands | source/OpenTPW/World/Level.Staff.cs:8 | <summary>[EXT:online-coop-commands] What the staff commands act on, with the employee each player holds in hand.</summary> |
| online-coop-commands | source/OpenTPW/World/Level.Staff.cs:80 | [EXT:online-coop-commands] A guest's exit from its staff tool (C4c-2, <see cref="StaffPlacement.Cancel"/>): the session's staff controller lets go, and the seat's state is cleaned up |
| online-coop-commands | source/OpenTPW/World/Level.Staff.cs:92 | [EXT:online-coop-commands] Where the patrol tool's area goes on a guest (C4c-2): the HUD's management queue, after the session's rights, so the employee window draws it as asked until |
| online-coop-commands | source/OpenTPW/World/Level.Staff.cs:152 | [EXT:online-coop-commands] a guest's queue edit or Move pick-up that waits for the host starts no tool after another tool's start (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:239 | The issuer's machine alone takes it ([EXT:online-coop-commands]: a peer's or a replayed command moves no tool). [EXT:online-coop-undo] In a shared park a line's continuation follows the |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:370 | [EXT:online-coop-commands] a guest's coaster commands still to send go first: a claim sent now would come before them (C3c-2) |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:373 | [EXT:online-coop-commands] another tool: a guest's queue edit, Move pick-up or track entry that waits for the host starts no tool once it is back (C3b, C3c-1b); the coaster tool ends |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:403 | [EXT:online-coop-commands] the walk to the open end writes the tiles' overlap words: it is a command, and the tool takes its corners |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:507 | The edit tool on <paramref name="station"/>'s closed circuit; [EXT:online-coop-commands] its cut is a command (<see cref="CutTrackCommand"/>), a guest's a request whose outcome finishes the edit |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:517 | The line tool from the open end of <paramref name="station"/>'s track; [EXT:online-coop-commands] its lines and their undo are commands (<see cref="ParkCommandTrackWriter"/>), and a walk that finds the |
| online-coop-commands | source/OpenTPW/World/Level.Tracks.cs:531 | The edit tool's cut of <paramref name="station"/>'s track between two picked tiles, through the command: done at once (null when it is refused, which ends the tool), or [EXT:online-coop-commands] |
| online-coop-commands | source/OpenTPW/World/Level.cs:29 | [EXT:online-coop-commands] another tool: a guest's queue edit or Move pick-up that waits for the host starts no tool once it is back (C3b) |
| online-coop-commands | source/OpenTPW/World/Level.cs:45 | [EXT:online-coop-commands] whose command wrote it (null outside one): the HUD says its own player's only (C3a-2) |
| online-coop-commands | source/OpenTPW/World/Level.cs:50 | <summary>[EXT:online-coop-commands] The player whose command wrote <see cref="LastActionMessage"/>, or null when no command did (C3a-2).</summary> |
| online-coop-commands | source/OpenTPW/World/Level.cs:54 | [EXT:online-coop-commands] Whether the HUD says <see cref="LastActionMessage"/> (C3a-2): written outside any command, or by a command of this machine's player in a park that |
| online-coop-commands | source/OpenTPW/World/ParkGate.cs:250 | <see cref="MayOpen(OriginalObjectRuntime)"/> with <paramref name="record"/> as the ride's economy record: [EXT:online-coop-commands] a guest's window asks it of the record it projects |
| online-coop-commands | source/OpenTPW/World/ParkPathBuilder.cs:57 | [EXT:online-coop-commands] True for the line a tool's writer returns when the park refused its command before running it: nothing was laid, as if the click had never reached |
| online-coop-commands | source/OpenTPW/World/ParkPathBuilder.cs:62 | [EXT:online-coop-commands] The line's command went to the host as a guest's request (C3a-2): nothing was laid yet, and the tool waits for the request's outcome |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.Guest.cs:13 | [EXT:online-coop-commands] the stroke's report of a guest (C3b-3) |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.Guest.cs:26 | [EXT:online-coop-commands] A guest's strokes (docs/COOP.md, "A guest's pools"; C3b-3). On a guest's park the tool's writes go to the host as requests, and one request a cell would outrun |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.Guest.cs:433 | <summary>[EXT:online-coop-commands] The session ended (<see cref="Level.EndGuestWaits"/>): the tool ends, and the guest's strokes go without a report.</summary> |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:37 | <param name="issue">[EXT:online-coop-commands] Hands each write to the park's command funnel: a painted or erased cell, a stroke's undo, a slide piece and a bridge are commands |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:237 | The press: starts a stroke on the cell and writes it. [EXT:online-coop-commands] A guest's stroke sends the cell to the host instead (<see cref="SendGuestBatches"/>) and returns null: |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:273 | [EXT:online-coop-commands] a guest's stroke collects the cell for the host; an outcome that finished its slide ends it |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:297 | [EXT:online-coop-commands] a guest's stroke ends its press: it reports once its cells are sent and back (TakeGuestReports) |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:383 | [EXT:online-coop-commands] a guest's goes to the host behind the stroke's cells, one at a time; a drag it cuts short is released, so its stroke reports |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:405 | [EXT:online-coop-commands] a guest's strokes are the host's to undo: their undo names its cells freely; [EXT:online-coop-undo] in a shared park its Backspace is a take-back of its own |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:434 | [EXT:online-coop-commands] the stroke's cells are painted or erased again by commands (UndoPoolStrokeCommand): one, or chunks for a stroke longer than a command takes; |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:450 | [EXT:online-coop-commands] a guest's stroke under the press reports nothing, as the host's cancelled stroke, and the cells its strokes had not sent go (C3b-3) |
| online-coop-commands | source/OpenTPW/World/Pools/PoolTool.cs:496 | [EXT:online-coop-commands] every write is a command; a command the funnel refuses on its own (a peer's rights) answers as a cell taken |
| online-coop-commands | source/OpenTPW/World/Staff/StaffHands.cs:4 | [EXT:online-coop-commands] What the staff commands act on (<see cref="StaffToolCommand"/>): the park's economy, its cells and the cells objects block, and the employee each player holds in |
| online-coop-commands | source/OpenTPW/World/Staff/StaffHands.cs:45 | <summary>[EXT:online-coop-commands] The player who holds employee <paramref name="staff"/>, or null (C4c: another seat's employee in hand is not fired).</summary> |
| online-coop-commands | source/OpenTPW/World/Staff/StaffHands.cs:55 | [EXT:online-coop-commands] Drops <paramref name="player"/>'s employee back on the cell it was picked up from, as the drop on that cell does (<see cref="DropStaffCommand"/>): the hand |
| online-coop-commands | source/OpenTPW/World/Staff/StaffHands.cs:79 | [EXT:online-coop-commands] Puts the employees in the hands <paramref name="which"/> selects down where they were picked up, as their drop back would, for a park save's captures, until |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:93 | <param name="issue">[EXT:online-coop-commands] Hands the tool's writes to the park's command funnel: the hire, the placement, the pick-up and the drop are commands.</param> |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:95 | <param name="handOf">[EXT:online-coop-commands] The employee a player holds (<see cref="StaffHands.Of"/>), which a Carry tool follows (<see cref="FollowPark"/>); null follows no hand.</param> |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:96 | <param name="player">[EXT:online-coop-commands] This machine's player (<see cref="ParkCommands.Player"/>), whose hand and pending hire the tool is; seat 0 when null.</param> |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:98 | [EXT:online-coop-commands] A guest's exit (C4c-2): true when the guest's staff controller took the exit (<see cref="CoopGuestStaff.LetGo"/>), so <see cref="Cancel"/> sends nothing itself; |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:193 | [EXT:online-coop-commands] a candidate another seat places refuses the hire before the running tool ends, as the hire's record would refuse it (C4c), so a refused hire keeps the |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:198 | [EXT:online-coop-commands] the pending flag is set by the command |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:221 | [EXT:online-coop-commands] the pick-up's writes (the jobs released, the picked-up state) are the command's |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:281 | [EXT:online-coop-commands] the hire and the placement are the command's (PlaceStaffCommand); one it refuses (a full thing pool) ends the tool |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:306 | [EXT:online-coop-commands] a guest's exit is its staff controller's, whoever ends the tool (C4c-2): the tool ends here without a command, also while no tool is on yet and a hire or a |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:313 | [EXT:online-coop-commands] the drop back and the placement's end are commands |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:343 | [EXT:online-coop-commands] Arms the Place tool for <paramref name="candidate"/>, the pending hire the player's seat holds in the park, without a command (C4c-2): a guest's tool follows the |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:353 | [EXT:online-coop-commands] Arms the Carry tool for <paramref name="member"/>, in the player's hand in the park since it was picked up at <paramref name="origin"/>, without a command |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:375 | [EXT:online-coop-commands] Ends the tool without a command and without a guest's exit (C4c-2): a guest's tool whose seat's state ended, or whose state is cleaned up instead. |
| online-coop-commands | source/OpenTPW/World/Staff/StaffPlacement.cs:380 | [EXT:online-coop-commands] The tool follows the park (C4c): a Carry tool whose player's hand no longer holds its employee (dismissed from its window, released), or a Place tool whose |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditWriter.cs:22 | (<see cref="Cut(TrackEditor, ValueTuple{int, int}, ValueTuple{int, int})"/>). [EXT:online-coop-commands] The level's tool hands it to its commands (<see cref="CutTrackCommand"/>).</param> |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditWriter.cs:28 | <param name="send">[EXT:online-coop-commands] Sends the cut between the two picked tiles: done at once, or a guest's cut that waits for the host (C3c-1b), whose outcome finishes it.</param> |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditWriter.cs:100 | [EXT:online-coop-commands] a guest's cut went to the host (C3c-1b): the first pick stays while the tool waits, so its ghost is the cut's, and the outcome finishes the cut as this |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditWriter.cs:166 | [EXT:online-coop-commands] What the level made of the edit tool's cut (<see cref="TrackEditWriter"/>): the cut at once (<see cref="Cut"/>, null when it was refused, which ends the tool), or a |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditWriter.cs:171 | <summary>[EXT:online-coop-commands] A guest's cut that waits for the host (C3c-1b): its request, and what finishes the edit from the request's outcome once and gives the cut, null when refused.</summary> |
| online-coop-commands | source/OpenTPW/World/Tracks/TrackEditor.cs:321 | <param name="wrap">Wraps the line writer the tool holds ([EXT:online-coop-commands]: the level's commands, <see cref="ParkCommandTrackWriter"/>); null hands the tool the writer itself.</param> |
| online-coop-commands | source/OpenTPW/World/WorldStateHash.cs:176 | <item>[EXT:online-coop-commands] each object's count of levels bought, which only a guest's upgrade cancellation reads (C4b-2): the session digest covers it, and an older log that |
| online-coop-lockstep | source/OpenTPW.Tests/ApplicationPauseTests.cs:144 | a shared park is gated the same way (level.CoopRole != None, [EXT:online-coop-lockstep]); a session cannot be built asset-free here |
| online-coop-lockstep | source/OpenTPW.Tests/CoopSessionTests.cs:15 | [EXT:online-coop-lockstep] The level in a co-op session (<see cref="CoopSession"/>, docs/COOP.md, "The level in a session"), with the stream tests' asset-free park: the role, |
| online-coop-lockstep | source/OpenTPW.Tests/CoopStreamCodecTests.cs:10 | [EXT:online-coop-lockstep] The host's stream frames and the members' stream messages (docs/COOP.md, "Sessions"): every form reads back, and every truncation and malformed form is |
| online-coop-lockstep | source/OpenTPW.Tests/CoopStreamTests.cs:13 | [EXT:online-coop-lockstep] The host's command stream and its guests (docs/COOP.md, "Sessions") over an in-memory server (<see cref="CoopTestNetwork"/>), with a host and its guests as |
| online-coop-lockstep | source/OpenTPW.Tests/CoopTestNetwork.cs:9 | [EXT:online-coop-lockstep] An in-memory co-op server for the stream tests, with the real server's guarantees and the real link's view (docs/ONLINE.md, "Shared parks"): one |
| online-coop-lockstep | source/OpenTPW.Tests/FrameBatchingTests.cs:10 | [EXT:online-coop-lockstep] The park after a fixed tick depends on the ticks and the commands only, never on how the ticks fall into frames (docs/DETERMINISM.md, "Frame batching"; |
| online-coop-lockstep | source/OpenTPW.Tests/ParkCommandCodecTests.cs:93 | [EXT:online-coop-lockstep] the session clock: 21 October 2026, 15:00:00 in whole seconds since year 1 |
| online-coop-lockstep | source/OpenTPW.Tests/ParkCommandCodecTests.cs:627 | [EXT:online-coop-lockstep] a session's log says it applied under the session's rules (format 3's flags byte) |
| online-coop-lockstep | source/OpenTPW.Tests/ParkCommandsTests.cs:215 | [EXT:online-coop-lockstep] A session drops a command applied during a tick: refused, neither logged nor raised (a peer would apply it at the tick's start). A game of one |
| online-coop-lockstep | source/OpenTPW.Tests/ParkCommandsTests.cs:241 | [EXT:online-coop-lockstep] In a session a command issued inside another (a HUD callback during an edit) is refused on every peer, since it would run unstreamed on its |
| online-coop-lockstep | source/OpenTPW.Tests/ParkCommandsTests.cs:264 | <summary>[EXT:online-coop-lockstep] In a session a command the rights refuse leaves no trace: a guest's own issues stay out of its log, which is the host's stream.</summary> |
| online-coop-lockstep | source/OpenTPW.Tests/PauseOwnersTests.cs:10 | message boxes 0x47F020 pause every park (0x47F26C: the enable word 0x786BA4 is 1 and [0xF82884] is 0, which holds in every park: only the front end sets it), except that a shared park or a visit is gated off ([EXT:online-coop-lockstep]); the research window's two refusals are such boxes (0x4AA533, 0x4AA596); |
| online-coop-lockstep | source/OpenTPW.Tests/PauseOwnersTests.cs:97 | [EXT:online-coop-lockstep] a read-only visit is the host's park: no box stops its clock |
| online-coop-lockstep | source/OpenTPW.Web/Program.Perf.cs:191 | [EXT:online-coop-lockstep] The page runs the performance harness (main.js calls this with <c>?perf=1</c> on a loopback address): its hooks change the park outside the commands, |
| online-coop-lockstep | source/OpenTPW.Web/Program.Perf.cs:198 | [EXT:online-coop-lockstep] The co-op session digest's cost on the running park (<see cref="CoopDigest.MeasureCost"/>, docs/COOP.md "Measurements"), as JSON: the median of |
| online-coop-lockstep | source/OpenTPW/Client/Game.cs:1332 | [EXT:online-coop-lockstep] Whether a run's options may change the park outside the commands, so the game shares no park (<see cref="CoopSession.CanShare"/>): every |
| online-coop-lockstep | source/OpenTPW/Client/GameFlow.AutomaticCheckpoint.cs:14 | [EXT:online-coop-lockstep] a co-op guest's park is never saved, also after its session ended: the park is the host's (no automatic checkpoint, autosave or exit checkpoint; it leaves as from a visit) |
| online-coop-lockstep | source/OpenTPW/Client/GameFlow.Coop.cs:21 | [EXT:online-coop-lockstep] A level's time scale in a co-op session: the park's own speed, whatever screens this player has open (the pause menu, the map window, a postcard |
| online-coop-lockstep | source/OpenTPW/Client/GameFlow.Resume.cs:11 | [EXT:online-coop-lockstep] a co-op guest's park is the host's: the pause menu offers no Save for it, and nothing writes it |
| online-coop-lockstep | source/OpenTPW/Client/GameFlow.cs:717 | The park being left waits too while the next one is built. [EXT:online-coop-lockstep] in a co-op session no screen of one player stops the park: it runs at its speed |
| online-coop-lockstep | source/OpenTPW/Client/GameFlow.cs:1423 | [EXT:online-coop-lockstep] quitting leaves a shared park's session while the link can still say so (a host's leave ends it for everyone) |
| online-coop-lockstep | source/OpenTPW/Client/ParkResumeSmokeTest.cs:267 | [EXT:online-coop-lockstep] How the restore phase's continuation falls into frames (<c>OPENTPW_SMOKE_BATCHING</c>): <c>random</c> (the default: seeded frames of 1 to 16 ticks), <c>1</c> or <c>16</c> |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:14 | offscreen automation are not deactivation, and the stopped state is shown through the speed buttons with the chosen speed stored. [EXT:online-coop-lockstep] a shared park and a read-only visit |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.PauseSound.cs:11 | takes no local pause at all ([EXT:online-coop-lockstep]). |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.cs:88 | <summary>[EXT:online-coop-lockstep] The level's session refusals the HUD has said already (<see cref="Level.SessionRefusals"/>), and when it last said so.</summary> |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.cs:214 | A shared park or a read-only visit: its clock is the host's, so no box and no deactivation of one player may stop it. [EXT:online-coop-lockstep] tp.exe has no such case: the word |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.cs:867 | Exit To Lobby and Quit Game. [EXT:online-coop-lockstep] A co-op guest's park is the host's: it lists no Save, Restart Park or Publish Park (also after the session ended). |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.cs:1182 | [EXT:online-coop-lockstep] a click the shared park's rights refuse (once for a drag's run of refusals): a guest's building the host has not let it do yet, or what only the host |
| online-coop-lockstep | source/OpenTPW/Hud/ParkHud.cs:1744 | [EXT:online-coop-lockstep] a line the session refused is said once, by its notice, not also as a cell that cannot be built on |
| online-coop-lockstep | source/OpenTPW/Online/CoopDigest.cs:4 | [EXT:online-coop-lockstep] The session digest (docs/COOP.md, "Checks"): the world state hash (<see cref="Level.ComputeStateHash"/>) and the state a session's peers share that |
| online-coop-lockstep | source/OpenTPW/Online/CoopDigest.cs:58 | [EXT:online-coop-lockstep] Adds what the session digest covers beyond the world hash (<see cref="CoopDigest"/>): the placed objects in list order and the prototype ride (catalogue |
| online-coop-lockstep | source/OpenTPW/Online/CoopGuestStream.cs:6 | [EXT:online-coop-lockstep] A guest's side of the host's command stream (docs/COOP.md, "Sessions"): it takes the host's frames in order (asking for any it missed), schedules each |
| online-coop-lockstep | source/OpenTPW/Online/CoopHostStream.cs:5 | <summary>[EXT:online-coop-lockstep] The session stream a level's frame runs its simulation step through (<see cref="Level.SessionStream"/>): a host's or a guest's.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopHostStream.cs:12 | <summary>[EXT:online-coop-lockstep] A session's rights (C2: the host builds, the guests watch): only player 0's commands run.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopHostStream.cs:20 | [EXT:online-coop-lockstep] The host's command stream (docs/COOP.md, "Sessions"): every command the host's funnel applies becomes a record of the stream, published in frames |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:6 | <summary>[EXT:online-coop-lockstep] A level's part in a co-op session (<see cref="Level.CoopSession"/>).</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:131 | [EXT:online-coop-lockstep] A level in a co-op session (docs/COOP.md, "The level in a session"): the stream it runs over the link (the host's, or a guest's), and the session's |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:1100 | <summary>[EXT:online-coop-lockstep] The co-op session this level is in (<see cref="OpenTPW.CoopSession"/>), or null.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:1103 | <summary>[EXT:online-coop-lockstep] This level's part in a co-op session.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:1106 | <summary>[EXT:online-coop-lockstep] Whether this level joined a co-op session as a guest: its park is the host's, which nothing saves, also after the session ended.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopSession.cs:1110 | [EXT:online-coop-lockstep] How many of this machine's clicks the session's rights refused (a guest's building the host has not let it do, or what only the host does); the HUD |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:21 | [EXT:online-coop-lockstep] One command of the host's stream: the tick it applied before, what became of it, and its bytes (<see cref="ParkCommandCodec"/>); a guest's command (C3) also |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:26 | <summary>[EXT:online-coop-lockstep] Where a checkpoint's digest was taken (<see cref="CoopCheckpoint"/>).</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:35 | <summary>[EXT:online-coop-lockstep] The host's session digest at a point of its stream: after a tick count or after a record.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:39 | [EXT:online-coop-lockstep] A frame of the host's command stream (docs/COOP.md, "Sessions"), the payload of a co-op frame: every tick below <see cref="Horizon"/> has run on |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:158 | <summary>[EXT:online-coop-lockstep] Where a guest stands in the host's stream, as its <see cref="CoopProgress"/> reports it.</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:173 | <summary>[EXT:online-coop-lockstep] What a guest found different from the host (<see cref="CoopDesyncReport"/>).</summary> |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamCodec.cs:256 | [EXT:online-coop-lockstep] A message between the members of a session about the host's stream (the payload of a co-op send): progress, resends, desyncs. Every message |
| online-coop-lockstep | source/OpenTPW/Online/CoopStreamTransport.cs:6 | [EXT:online-coop-lockstep] The part of the co-op link a session's stream uses (<see cref="CoopHostStream"/>, <see cref="CoopGuestStream"/>): the session, the host's frames, the |
| online-coop-lockstep | source/OpenTPW/Online/ParkSharing.cs:96 | [EXT:online-coop-lockstep] a co-op guest's park is the host's: the host publishes it (also after the session ended) |
| online-coop-lockstep | source/OpenTPW/Online/ParkSharing.cs:112 | [EXT:online-coop-lockstep] a co-op guest's park is the host's: the host publishes it (also after the session ended) |
| online-coop-lockstep | source/OpenTPW/VM/RideScriptWorld.cs:47 | [EXT:online-coop-lockstep] The co-op session's clock (<see cref="SetSessionClockCommand"/>): once set, the scripts read it instead of the host clock, so every peer of a session |
| online-coop-lockstep | source/OpenTPW/World/Coasters/CoasterEdits.cs:50 | <summary>[EXT:online-coop-lockstep] Every player's drag, lowest player first, for the session digest: the drag's later steps and its release read it on every peer.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommand.cs:156 | <summary>[EXT:online-coop-lockstep] The session's clock, the civil time the ride scripts read (<see cref="SetSessionClockCommand"/>).</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:9 | [EXT:online-coop-lockstep] <paramref name="SessionRules"/>: the commands applied under a co-op session's rules (<see cref="ParkCommands.SessionRules"/>), which a replay must |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:150 | <summary>[EXT:online-coop-lockstep] Whether the recorded commands apply under a co-op session's rules (a session's own recording); the log says so.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:153 | <summary>[EXT:online-coop-lockstep] A checkpoint whose hash the caller took (a session's recording keeps the world hash of each session digest instead of taking one of its own).</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:210 | when the log was recorded under them ([EXT:online-coop-lockstep]: a session refuses the cheats, the developer kinds and a command issued inside another), and then under the session's |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:73 | [EXT:online-coop-lockstep] Refuses it, logged as an error, neither recorded nor raised: a session's rule, since a peer would apply it at the tick's start (its log |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:122 | <summary>[EXT:online-coop-lockstep] The rejection of a command the rights refuse: their own reason (another player's claim, C3c-1; a grant not given), else the generic one.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:179 | [EXT:online-coop-lockstep] The rules of a co-op session (docs/COOP.md): a command issued inside another (a HUD callback during an edit) is refused, since it would |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:205 | <summary>[EXT:online-coop-lockstep] Raised when a session's rights refuse a command of this machine (<see cref="SessionRules"/>), which leaves no trace in the log.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:262 | [EXT:online-coop-lockstep] in a session a command of this machine the rights refuse leaves no trace: a guest's own issues stay out of its log, which is the host's stream. A held |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkCommands.cs:324 | [EXT:online-coop-lockstep] a HUD callback inside a command would run here as part of it on its issuer only, and so on no peer: a session refuses it everywhere (the issuer's |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkSettingCommands.cs:730 | [EXT:online-coop-lockstep] the secret park name turns the cheats on, and a session has none (decision Q17): refused alike on every peer (ParkCommands.SessionRules) |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkSettingCommands.cs:754 | [EXT:online-coop-lockstep] The co-op session's clock (docs/COOP.md, "The session clock"): the civil time the park's ride scripts read from now on, in whole seconds of the host's local |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkSettingCommands.cs:845 | [EXT:online-coop-lockstep] a co-op session has no cheats (decision Q17), refused alike on every peer (ParkCommands.SessionRules) |
| online-coop-lockstep | source/OpenTPW/World/Commands/ParkSettingCommands.cs:868 | [EXT:online-coop-lockstep] the developer panel's open-all and close-all skip the reopening guard: a co-op session refuses them alike on every peer |
| online-coop-lockstep | source/OpenTPW/World/FixedStepClock.cs:21 | once the limit moves ([EXT:online-coop-lockstep]: a session's host holds a few seconds ahead of its slowest guest). |
| online-coop-lockstep | source/OpenTPW/World/FixedStepClock.cs:50 | [EXT:online-coop-lockstep] Runs exactly <paramref name="ticks"/> ticks, without wall time and without dropping any: a session guest's clock, which follows the host's |
| online-coop-lockstep | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1086 | they are. [EXT:online-coop-lockstep] The queue tool's entry reads it (<see cref="Level.EnterQueueTool"/>): a tool is one player's alone, so entering it changes nothing |
| online-coop-lockstep | source/OpenTPW/World/Level.Commands.cs:237 | [EXT:online-coop-lockstep] the checks read the grid alone; the segment goes ahead on the queue as it stands (a rejection leaves the ride as it was) |
| online-coop-lockstep | source/OpenTPW/World/Level.Commands.cs:248 | [EXT:online-coop-lockstep] as the segment: brought up to date only once the undo goes ahead |
| online-coop-lockstep | source/OpenTPW/World/Level.Commands.cs:320 | [EXT:online-coop-lockstep] the developer prototype's run skips the reopening guard: a co-op session refuses it alike on every peer |
| online-coop-lockstep | source/OpenTPW/World/Level.Objects.cs:1044 | [EXT:online-coop-lockstep] the tool reads the queue as it stands now on a copy (a grid edit since the last recompute taken in): entering a tool changes nothing in |
| online-coop-lockstep | source/OpenTPW/World/Level.Resume.cs:37 | [EXT:online-coop-lockstep] a shared park changes only through its commands: the host's save refuses instead of repairing on its own machine |
| online-coop-lockstep | source/OpenTPW/World/Level.Simulation.cs:15 | [EXT:online-coop-lockstep] Raised at the end of every fixed tick with the ticks run so far, beside <see cref="TickCompleted"/> and inside the same scope: the co-op |
| online-coop-lockstep | source/OpenTPW/World/Level.Simulation.cs:20 | <summary>[EXT:online-coop-lockstep] The tick a session's host stops at (a few seconds ahead of its slowest guest); null outside a session.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Level.Simulation.cs:24 | [EXT:online-coop-lockstep] The co-op session's stream this level's frames run their simulation step through (<see cref="CoopHostStream"/>: wall time held to the guests; |
| online-coop-lockstep | source/OpenTPW/World/Level.Simulation.cs:99 | [EXT:online-coop-lockstep] Runs exactly <paramref name="ticks"/> fixed ticks, whatever the wall time (a session guest follows the host's horizon); the frame's |
| online-coop-lockstep | source/OpenTPW/World/Level.cs:1570 | [EXT:online-coop-lockstep] a park that closes (a load, a restart, a replaced park, leaving it) ends its co-op session for this game |
| online-coop-lockstep | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:239 | <summary>[EXT:online-coop-lockstep] The run flags a save keeps and the world hash leaves out (stopped, was running), for the session digest.</summary> |
| online-coop-lockstep | source/OpenTPW/World/Staff/StaffHands.cs:145 | <summary>[EXT:online-coop-lockstep] Every hand, lowest player first, for the session digest: later commands read them on every peer.</summary> |
| online-coop-money | source/OpenTPW.Tests/CoopSessionTests.Management.cs:12 | [EXT:online-coop-commands] [EXT:online-coop-permissions] [EXT:online-coop-money] A guest's research, finance and loans windows in a shared park (C4b-1, docs/COOP.md "A guest's management |
| online-coop-money | source/OpenTPW.Tests/CoopSessionTests.Management.cs:1010 | [EXT:online-coop-commands] [EXT:online-coop-money] A guest with the attractions right changes a shop's price and buys a ride's next level through its queue while the host changes rights |
| online-coop-money | source/OpenTPW/Economy/ParkEconomy.cs:1747 | [APPROX:ECON-030] the lost park follows the bank handler, thing-loop stop, zero arrival target and silent music/crowd; AutomaticAdvisor already produces money advice 102-105 through AdvisorScan and captions advice 106 on each bank message. The five-entry pause menu (0x48C150), the loss window 0x7472 with its gate camera (0x5168F0 -> 0x481B50 -> 0x48AC40, handler 0x48A740, layout 0x74FB20, banner table 0x74FC38), its dismissal into the hidden-HUD overlay (0x4A29D0) and the loaded-loss restore without the camera (0x4815E0 -> 0x48ADB0) are ported for single-player parks. The audit of the economic guards is done: tp.exe reads the world state 4 only at the bank handler (0x4D030F), the arrival target (0x4CF5BC, zero), the thing loop (0x516390), the music and crowd sound (0x54F862, 0x54F8B2), the load restore (0x4815F2), the pause menu's entries (0x48C27C) and the HUD's overlay (the key branch 0x4A2925, which lets only an Escape without modifiers through to the pause menu, and the hide toggle's early-out 0x4A2AC9); no purchase, hire, loan, build or open routine tests it, so the original refuses nothing in a lost park itself and its HUD, which holds every such control, is hidden. OpenTPW's overlay does the same for a single-player park (every shortcut and click is off under it, ParkHud.ParkShortcutsAllowed) and its economy-level refusals (ParkEconomy.IsBankrupt) stay as the stand-in where the overlay is not shown, where they are the only refusal: in co-op and visits as [EXT:online-coop-money] (user-approved 2026-10-30: solo parks get the loss scene, shared parks and visits keep the economy refusals, not part of this ID) and in Theme Park Inc, whose executable is now read: its lost state is Theme Park World's, reached through a letter rather than the bank message — six months in the red make the bank post a type-25 notification (0x5C091F, record 0x5CEE50, id 8) that the tag system turns into the "Game Over - You Lose!" letter (category 0x5E, 0x63623E) and opens in the letter window (0x526CD0, table 0x9B4854), and the challenge system's firing letter is the same with id 7 and category 0x5F; closing the letter (0x526960) calls 0x649E60, which writes the world state 4 (0x649E92), sends the attractions their breakdown request, empties the removal queue, gives the gate its end command, silences the music and crowd once and opens the loss window 0x50AFC0 with the caption "BANKRUPT!" or "Fired!" (UITEXT 921/922); its readers match tp.exe's (the thing walk 0x649575, the arrival target 0x5BCD68, the load restore 0x4F855D -> 0x50B1C0, which always shows "BANKRUPT!", the overlay keys 0x550AD6, the HUD switch 0x550DB6, the pause menu's four rows 0x50D3F3) plus a pause lock (0x42A17C, 0x42A27C) and two auto-save skips (0x45B836, 0x6A4851), and it refuses no purchase, hire, loan, build or open either. OpenTPW opens the letter window on the mail (TpiPendingMail), loses the park when it is closed (LoseThemeParkIncPark) and runs the loss scene in the Theme Park Inc HUD (ThemeParkIncHud.Loss: the gate camera under the centred caption, the Escape or late right-click exit into the hidden-HUD overlay, its Escape into the four-line menu, the reload into the overlay (through the economy snapshot, as the Science continuation save refuses a lost park) and the pause lock), whose hidden HUD refuses every control as the original's does; the economy's refusals stay as the stand-in beneath it. |
| online-coop-money | source/OpenTPW/Hud/ParkHud.LossWindow.cs:41 | [EXT:online-coop-money] a shared park and a visit keep the economy's refusals (ParkEconomy.IsBankrupt) and get no loss scene, so that every peer decides alike; a solo park gets the scene (user-approved 2026-10-30, ECON-030's co-op and visit part). |
| online-coop-money | source/OpenTPW/Online/CoopLiveTest.Guest.cs:105 | [EXT:online-coop-money] the management scenario's purchase: the line's charge as this park applies its record (C4b-2) |
| online-coop-money | source/OpenTPW/Online/CoopLiveTest.Host.cs:118 | [EXT:online-coop-money] the management scenario's purchase: the guest's line charged at its record in this park (C4b-2) |
| online-coop-money | source/OpenTPW/Online/CoopLiveTest.Management.cs:19 | [EXT:online-coop-money] A seat's first path line as one park applied it (the management scenario's purchase): the balance just before the command (after the tick or the command |
| online-coop-money | source/OpenTPW/World/Commands/ParkSettingCommands.cs:430 | [EXT:online-coop-money] Why the park refused a loan's take or repay, as its result's value (C4b): a guest's confirmation hears it from the record and says what the host's own checks |
| online-coop-permissions | source/OpenTPW.Tests/CoopJoinTests.cs:160 | [EXT:online-coop-permissions] a seat's rights name a guest's seat: never the host's 0, never past the per-player bound; a row holds a right, and only one this build offers (C4a) |
| online-coop-permissions | source/OpenTPW.Tests/CoopJoinTests.cs:165 | [EXT:online-coop-permissions] the staff right is offered since C4c-2 |
| online-coop-permissions | source/OpenTPW.Tests/CoopJoinTests.cs:169 | [EXT:online-coop-permissions] the attractions right is offered since C4b-2 |
| online-coop-permissions | source/OpenTPW.Tests/CoopJoinTests.cs:213 | [EXT:online-coop-permissions] the guests' seats' rights (C4a) |
| online-coop-permissions | source/OpenTPW.Tests/CoopJoinTests.cs:238 | [EXT:online-coop-permissions] the staff rows are checked whole before any of the state applies (C4c) |
| online-coop-permissions | source/OpenTPW.Tests/CoopRightsTests.cs:11 | [EXT:online-coop-permissions] A shared park's rights per seat (docs/COOP.md, "Money and rights (C4)"; C4a), on the stream tests' asset-free park: every command kind is of one class, each |
| online-coop-permissions | source/OpenTPW.Tests/CoopSessionTests.GuestCoasters.cs:822 | [EXT:online-coop-permissions] the teardown released the guest's seat in a record of the log, before its last checkpoint, whose claim's end took the coaster out of the tool (C4a) |
| online-coop-permissions | source/OpenTPW.Tests/CoopSessionTests.Management.cs:12 | [EXT:online-coop-commands] [EXT:online-coop-permissions] [EXT:online-coop-money] A guest's research, finance and loans windows in a shared park (C4b-1, docs/COOP.md "A guest's management |
| online-coop-permissions | source/OpenTPW.Tests/CoopSessionTests.Rights.cs:12 | [EXT:online-coop-permissions] A shared park's rights per seat between its peers (docs/COOP.md, "Money and rights (C4)"; C4a): the rights command reaches every peer, and taking building back |
| online-coop-permissions | source/OpenTPW.Tests/CoopSessionTests.Rights.cs:142 | [EXT:online-coop-permissions] The host's settings, door and call on a ride a guest claims (C4b-2): a claim guards building and removal, not the host's management, so a C3 session's |
| online-coop-permissions | source/OpenTPW.Tests/CoopShareTests.Rights.cs:9 | [EXT:online-coop-permissions] The Build Together screen's rights (C4b; docs/COOP.md "Money and rights (C4)"): a guest's row names the rights the shared park gives it, and its dialog has a |
| online-coop-permissions | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:13 | grants ([EXT:online-coop-permissions]) and the allowlist, refusals with and without a record, a request sent twice, a gap, the host's limits, a paused host, a grant that leaves with its |
| online-coop-permissions | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:411 | [EXT:online-coop-permissions] a wave machine's settings are the attractions right's, which no build grant gives (C5-2) |
| online-coop-permissions | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:459 | [EXT:online-coop-permissions] a seat without a grant is refused for that first, and a command no guest builds with gives the generic reason: the cause is read where and when the |
| online-coop-permissions | source/OpenTPW.Tests/CoopTestNetwork.cs:75 | <summary>[EXT:online-coop-permissions] A member leaves (or is kicked): it is out of the session, its seat is free for the next member, and the connected members hear of it.</summary> |
| online-coop-permissions | source/OpenTPW.Tests/ParkCommandCodecTests.cs:95 | [EXT:online-coop-permissions] the host grants seat 3 building |
| online-coop-permissions | source/OpenTPW.Tests/ParkCommandCodecTests.cs:104 | [EXT:online-coop-permissions] the host gives seat 3 building through the seat's rights (C4a) |
| online-coop-permissions | source/OpenTPW.Tests/ParkCommandLevelTests.cs:380 | A log's final checkpoint is the park when the log is taken: a command after the last tick is recorded at a tick whose after-tick checkpoint it changes ([EXT:online-coop-permissions] |
| online-coop-permissions | source/OpenTPW.Tests/ParkCommandLevelTests.cs:592 | [EXT:online-coop-permissions] a guest's build grant |
| online-coop-permissions | source/OpenTPW.Tests/ParkCommandLevelTests.cs:604 | [EXT:online-coop-permissions] a seat's rights (C4a) |
| online-coop-permissions | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:193 | [EXT:online-coop-permissions] a guest without the staff right hears the rights' note, and the window stays (C4c-2) |
| online-coop-permissions | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:419 | [EXT:online-coop-permissions] What a refusal by the session's rights says, from the <paramref name="reason"/> they gave where and when it was refused: [EXT:online-coop-claims] another |
| online-coop-permissions | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:269 | [EXT:online-coop-permissions] a guest without the finance right hears the rights' note, and the window's own checks of the money and the offer never run (C4b) |
| online-coop-permissions | source/OpenTPW/Hud/ParkHud.cs:1183 | does ([EXT:online-coop-permissions], C3a-2); [EXT:online-coop-claims] any player's edit of a ride another player claims (C3c-1) |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:4 | [EXT:online-coop-permissions] A shared park's rights (docs/COOP.md, "Building by every player"; the user's decision Q7: the host sets rights per player). The host's seat 0 may issue |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:49 | [EXT:online-coop-permissions] the seat's own employee dropped back where it was picked up is every seat's cleanup, the staff right taken back or not (C4c) |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:51 | [EXT:online-coop-permissions] a management right this build does not offer is refused whatever the seat's rights hold (C4a); [EXT:online-coop-claims] with the attractions right, |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:60 | [EXT:online-coop-permissions] Who may issue a command kind in a shared park (docs/COOP.md, "Money and rights (C4)"; C4a): every kind is of exactly one class, a test holds them to it. |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:74 | [EXT:online-coop-permissions] a wave machine's settings under the attractions right, through the management queue (C5-2); a wave machine is no claimable ride |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:98 | [EXT:online-coop-permissions] A drop of the employee in <paramref name="player"/>'s own hand on exactly the cell it was picked up from (C4c): every seat's cleanup, with or without the |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:104 | <summary>[EXT:online-coop-permissions] The right a management class needs (C4a), or null for a class that is no right's.</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:114 | <summary>[EXT:online-coop-permissions] The reason these rights give for a guest's building the host has not granted it (<see cref="RefusalReason"/>).</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:118 | [EXT:online-coop-permissions] The reason these rights give for a guest's management command without its right (<see cref="RefusalReason"/>, C4b): the host has not given it, or |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:131 | (<see cref="Level.ClaimedReason"/>), a guest's track command on a ride whose claim it no longer holds (<see cref="ClaimLostReason"/>, C3c-1b), or [EXT:online-coop-permissions] a guest's |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:549 | <summary>[EXT:online-coop-permissions] What a refusal by a shared park's rights says to its player (<see cref="CoopBuildRights.RefusalOf"/>).</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:560 | <summary>[EXT:online-coop-permissions] A guest's management command without its right (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopBuildRights.cs:565 | [EXT:online-coop-permissions] The classes of the shared park's command kinds (<see cref="CoopBuildRights.ClassOf"/>, C4a): the guests' building (C3, with its grant and claims), what every |
| online-coop-permissions | source/OpenTPW/Online/CoopDigest.cs:110 | [EXT:online-coop-permissions] the pending hires, seat by seat (C4a) |
| online-coop-permissions | source/OpenTPW/Online/CoopDigest.cs:131 | [EXT:online-coop-permissions] every guest seat's rights, in seat order (C3's build grant is their building bit, C4a) |
| online-coop-permissions | source/OpenTPW/Online/CoopGuestStream.cs:80 | [EXT:online-coop-permissions] the session's rights, whatever rights the park had: every peer asks the same ones |
| online-coop-permissions | source/OpenTPW/Online/CoopGuestStream.cs:477 | [EXT:online-coop-permissions] a grant is its session's: the park left after the session (or replaced by a resync's) keeps none, nor what a guest's seat carried (C3b-2) |
| online-coop-permissions | source/OpenTPW/Online/CoopGuestStream.cs:482 | [EXT:online-coop-permissions] and what the guests' seats held of the staff, its employees in hand dropped back where they were picked up (C4c) |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:223 | <summary>[EXT:online-coop-permissions] The seats of guests that left, whose build grants the next frame's start takes back.</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:319 | [EXT:online-coop-permissions] the session's rights, whatever rights the park had: every peer asks the same ones |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:327 | [EXT:online-coop-permissions] and what a guest's seat held of the staff (C4c) |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:759 | [EXT:online-coop-permissions] a seat's grant is its member's: the next member in that seat starts without one |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:843 | [EXT:online-coop-claims] a claim (C3c-1), [EXT:online-coop-permissions] a right (C4a); a link without its session's state (between a lost socket and its resume) shows no seat, so |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:860 | a new member of the seat starts with its own link; [EXT:online-coop-permissions] one record frees all the seat held (C4a) |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:1532 | [EXT:online-coop-permissions] what every guest's seat still holds goes in records of the session's log, under the session's rules, before its last checkpoint (C4a): the seat's |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:1557 | [EXT:online-coop-permissions] rights are their session's: the park runs on alone without any (the guests' were released above), and without what a guest's seat carried (C3b-2) |
| online-coop-permissions | source/OpenTPW/Online/CoopHostStream.cs:1568 | [EXT:online-coop-permissions] staff state a guest's seat still holds (an end inside a tick recorded no release) goes after the log's last checkpoint, never before it, so the log replays |
| online-coop-permissions | source/OpenTPW/Online/CoopJoinPayload.cs:12 | rights ([EXT:online-coop-permissions], C3's build grant and C4a's rights); and the rides' claims, each a ride's attraction id and its holder's seat ([EXT:online-coop-claims], C3c-1). A |
| online-coop-permissions | source/OpenTPW/Online/CoopLiveTest.Guest.cs:99 | [EXT:online-coop-permissions] the host lets the guest build through its Build Together screen's switch (C3a-2): the guest's next line goes to the host and is laid at its |
| online-coop-permissions | source/OpenTPW/Online/CoopLiveTest.Host.cs:101 | [EXT:online-coop-permissions] the guest's own line is refused; the host lets it build through the Build Together screen's switch (C3a-2), and the guest's next line is laid |
| online-coop-permissions | source/OpenTPW/Online/CoopLiveTest.Host.cs:209 | [EXT:online-coop-permissions] The host gives the guest <paramref name="right"/> (C3a-2, C4b's rights dialog; the management scenario's attractions, C4b-2): Escape, Build Together, |
| online-coop-permissions | source/OpenTPW/Online/CoopLiveTest.Management.cs:259 | [EXT:online-coop-permissions] a rights change through the dialog: the attractions right |
| online-coop-permissions | source/OpenTPW/Online/CoopLiveTest.Staff.cs:327 | [EXT:online-coop-permissions] a rights change through the dialog: the staff right |
| online-coop-permissions | source/OpenTPW/Online/CoopRights.cs:4 | [EXT:online-coop-permissions] What the host lets a guest's seat do in a shared park (docs/COOP.md, "Money and rights (C4)"; the user's decision Q7: the host sets each player's rights): one |
| online-coop-permissions | source/OpenTPW/Online/CoopRights.cs:24 | <summary>[EXT:online-coop-permissions] The rights this build lets the host give a seat: a right whose actions do not yet wait for the host's answer cannot be given, not even by a hand-made command.</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopSession.cs:460 | ([EXT:online-coop-permissions]). |
| online-coop-permissions | source/OpenTPW/Online/CoopSession.cs:1116 | [EXT:online-coop-permissions] What the last refused command was: building the host has not granted yet, a command only the host may issue, or [EXT:online-coop-claims] an edit of a ride |
| online-coop-permissions | source/OpenTPW/Online/CoopShare.cs:300 | <summary>[EXT:online-coop-permissions] Whether the guest in seat <paramref name="slot"/> may build, as the shared park's applied grant says (C3a-2); false while not hosting.</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopShare.cs:304 | [EXT:online-coop-permissions] The host lets the guest in seat <paramref name="slot"/> build, or takes it back (C3a-2): a command of the shared park, which every peer applies at its |
| online-coop-permissions | source/OpenTPW/Online/CoopShare.cs:310 | <summary>[EXT:online-coop-permissions] The rights the shared park's applied state gives the guest in seat <paramref name="slot"/> (C4b); none while not hosting.</summary> |
| online-coop-permissions | source/OpenTPW/Online/CoopShare.cs:314 | [EXT:online-coop-permissions] The host sets the rights of the guest in seat <paramref name="slot"/> (C4b, the rights dialog): one command of the shared park, which every peer applies |
| online-coop-permissions | source/OpenTPW/Online/OnlineScreens.cs:577 | [EXT:online-coop-permissions] the host sets each guest's rights (Q7, C4b): the button names the rights the shared park's applied state gives the guest ("Watches" with none), and |
| online-coop-permissions | source/OpenTPW/Online/OnlineScreens.cs:666 | <summary>[EXT:online-coop-permissions] The name of the rights dialog's screen (<see cref="ShowSeatRights"/>).</summary> |
| online-coop-permissions | source/OpenTPW/Online/OnlineScreens.cs:684 | [EXT:online-coop-permissions] A guest's rights dialog on the Build Together screen (C4b): one switch per offered right, each drawing the shared park's applied bit; a toggle issues the |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:441 | <summary>[EXT:online-coop-permissions] A guest's click on a command only the host may issue in a shared park (C3a-2).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:443 | <summary>[EXT:online-coop-permissions] A guest's building the host has not granted (C3a-2).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:461 | <summary>[EXT:online-coop-permissions] The Build Together screen's label of a guest without a right: it only watches (C3a-2; since C4b the rights button's).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:463 | <summary>[EXT:online-coop-permissions] A guest's management command without its right: the host has not given it, or this build offers it to no guest yet (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:473 | <summary>[EXT:online-coop-permissions] The title of the host's dialog of a guest's rights ({0}: the guest's name, C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:475 | <summary>[EXT:online-coop-permissions] The building right's switch in the rights dialog, and its name in a member's label (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:477 | <summary>[EXT:online-coop-permissions] The attractions right (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:479 | <summary>[EXT:online-coop-permissions] The staff right (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:481 | <summary>[EXT:online-coop-permissions] The research right (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:483 | <summary>[EXT:online-coop-permissions] The finance right (C4b).</summary> |
| online-coop-permissions | source/OpenTPW/World/BuyLandTool.cs:13 | <summary>[EXT:online-coop-permissions] The session's rights refused the purchase here: the session's refusal says why, not the tool.</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommand.cs:158 | <summary>[EXT:online-coop-permissions] The host grants or takes back a guest's building (<see cref="SetBuildGrantCommand"/>).</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommand.cs:166 | <summary>[EXT:online-coop-permissions] The host sets a guest seat's rights (<see cref="SetSeatRightsCommand"/>, C4a).</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:165 | the after-tick checkpoint of its tick, which a command recorded at that tick since may have changed ([EXT:online-coop-permissions] a session's teardown, whose releases follow the |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:196 | [EXT:online-coop-permissions] The entries replay under the session rules and rights <paramref name="commands"/> has now, as its caller set them: a session's entries replay as |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommandLogFile.cs:211 | rights, <paramref name="sessionRights"/> ([EXT:online-coop-permissions]: a guest's command the session refused, or an object its area clear left, is so again here). |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:5 | [EXT:online-coop-permissions] The host's per-player rights (the user's decision: "the host sets rights per player", docs/COOP.md): whether |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:14 | [EXT:online-coop-permissions] Whether <paramref name="player"/> may issue <paramref name="command"/>, its fields and target included (a guest's allowlist names variants of |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:20 | [EXT:online-coop-permissions] Whether <paramref name="player"/> may remove <paramref name="item"/> inside a command that removes what it finds (the area clear, C3b): a session's |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:26 | [EXT:online-coop-permissions] Whether <paramref name="player"/> may clear the path cell (<paramref name="x"/>, <paramref name="y"/>) inside a command that clears what it finds (the area |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:44 | <summary>[EXT:online-coop-permissions] The rights refused the command (a session's: a guest's building without a grant, a host's command): the issuer says so in its own words.</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:127 | [EXT:online-coop-permissions] The session's rights' refusal of <paramref name="command"/> issued as this machine's player, asked silently (C4b: a guest's management window before it queues |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:139 | <summary>[EXT:online-coop-permissions] Whether the session's rights let this machine's player issue <paramref name="command"/>, asked silently (<see cref="RightsRefusalOf"/>).</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:145 | <summary>[EXT:online-coop-permissions] Whether <paramref name="player"/> may remove <paramref name="item"/> inside a command that removes what it finds: the rights' answer, yes without any.</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkCommands.cs:148 | <summary>[EXT:online-coop-permissions] Whether <paramref name="player"/> may clear the path cell (<paramref name="x"/>, <paramref name="y"/>) inside a command that clears what it finds: the rights' answer, yes without any.</summary> |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkSettingCommands.cs:779 | [EXT:online-coop-permissions] The host grants a guest's seat the right to build, or takes it back (docs/COOP.md, "Building by every player"; the user's decision Q7: the host sets |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkSettingCommands.cs:805 | [EXT:online-coop-permissions] The host sets a guest seat's rights (docs/COOP.md, "Money and rights (C4)"; the user's decision Q7): the whole mask, each right a switch of the host's share |
| online-coop-permissions | source/OpenTPW/World/Commands/ParkSettingCommands.cs:895 | [EXT:online-coop-claims] and the claim the seat held (C3c-1); [EXT:online-coop-permissions] its staff state (C4c) and every right it had (C4a) |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:6 | [EXT:online-coop-permissions] Each guest seat's rights (<see cref="CoopRights"/>), in seat order, from <see cref="SetSeatRightsCommand"/> and <see cref="SetBuildGrantCommand"/> alike (one |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:12 | <summary>[EXT:online-coop-permissions] Every guest seat's rights, in seat order (empty without a session or a right).</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:17 | <summary>[EXT:online-coop-permissions] The rights of <paramref name="seat"/>; none for a seat without a row.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:20 | <summary>[EXT:online-coop-permissions] The seats granted building, in order (empty without a session or a grant).</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:23 | <summary>[EXT:online-coop-permissions] Whether the guest's <paramref name="seat"/> may build.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:26 | <summary>[EXT:online-coop-permissions] Takes every seat's rights back: rights are their session's, and the park's next session starts without any.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:29 | <summary>[EXT:online-coop-permissions] Grants <paramref name="seat"/> building, or takes it back (<see cref="SetBuildGrantCommand"/>): the building bit of the seat's rights alone.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:34 | [EXT:online-coop-permissions] Sets the rights of <paramref name="seat"/> (C4a), the one reducer of <see cref="SetSeatRightsCommand"/> and <see cref="SetBuildGrantCommand"/>: a seat |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:55 | [EXT:online-coop-permissions] The guest seats that hold anything in the park, in order (C4a): a right, a carried type (C3b-2), a claim (C3c-1) or staff state (C4c), which their release |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:61 | <summary>[EXT:online-coop-permissions] Whether the guest seat <paramref name="seat"/> holds anything its release frees (<see cref="HoldingGuestSeats"/>).</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.BuildGrants.cs:64 | <summary>[EXT:online-coop-permissions] Takes every right of <paramref name="seat"/> back (a departed seat's release, <see cref="ReleaseSeatCommand"/>). True when it held one.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.Commands.cs:267 | command's player may remove it ([EXT:online-coop-permissions] <see cref="ParkCommands.AllowsRemoval"/>: a guest's clear leaves a coaster's or a track ride's station and its ride |
| online-coop-permissions | source/OpenTPW/World/Level.Join.cs:31 | <summary>[EXT:online-coop-permissions] The pending hires as a join state and the session digest carry them, seat by seat (C4c).</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.Objects.cs:1173 | [EXT:online-coop-permissions] The placed object whose ride's queue holds the queue cell (<paramref name="x"/>, <paramref name="y"/>), or null (C3b: a guest's rights ask it). It resolves |
| online-coop-permissions | source/OpenTPW/World/Level.Objects.cs:1180 | [EXT:online-coop-permissions] The owners of the queue cells among <paramref name="cells"/>, each resolved as <see cref="QueueOwnerAt"/> resolves it, in order: a cell off the map or no |
| online-coop-permissions | source/OpenTPW/World/Level.Staff.cs:102 | <summary>[EXT:online-coop-permissions] The guest seats that hold staff state, in order (C4c): an employee in hand or a pending hire, which their release frees.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.Staff.cs:107 | <summary>[EXT:online-coop-permissions] Whether seat <paramref name="seat"/> holds staff state (C4c): an employee in hand or a pending hire.</summary> |
| online-coop-permissions | source/OpenTPW/World/Level.Staff.cs:111 | [EXT:online-coop-permissions] Frees what seat <paramref name="seat"/> holds of the staff (C4c: its release, <see cref="ReleaseSeatCommand"/>, and its staff right taken back): its pending |
| online-coop-permissions | source/OpenTPW/World/Level.Staff.cs:131 | [EXT:online-coop-permissions] Frees every guest seat's staff state outside the commands (C4c): a session's teardown, after the host's log took its last checkpoint, or the guest's own park |
| online-coop-presence | source/OpenTPW.Tests/ChatPanelTests.cs:257 | [EXT:online-coop-presence] a shared park's goto moves the view to a figure drawn there (C2d-4): no command goes out, so no "leave the park" notice; a name without one goes to the server |
| online-coop-presence | source/OpenTPW.Tests/CoopFiguresViewTests.cs:10 | [EXT:online-coop-presence] Where a shared park's own figure goes (C2d-4; docs/COOP.md, "Co-builders as figures"): the centre of the player's view in cells, the overview's |
| online-coop-presence | source/OpenTPW.Tests/CoopJoinSessionTests.Figures.cs:10 | [EXT:online-coop-presence] A joined guest's game and the co-builders' figures (C2d-4; docs/COOP.md, "Co-builders as figures"), over real links to the loopback server: the game |
| online-coop-presence | source/OpenTPW.Tests/CoopJoinSessionTests.cs:58 | <summary>[EXT:online-coop-presence] The figures of a member whose game is the test's (a flow's are its own): updated after the park's frame, as the game does.</summary> |
| online-coop-presence | source/OpenTPW.Tests/CoopLinkTests.Figures.cs:10 | [EXT:online-coop-presence] The members of a shared park as figures over the loopback server (C2d-4; docs/COOP.md, "Co-builders as figures"): each member's first place in the |
| online-coop-presence | source/OpenTPW.Tests/CoopShareTests.Figures.cs:13 | [EXT:online-coop-presence] A host's game and the co-builders' figures (C2d-4; docs/COOP.md, "Co-builders as figures"): the shared park's presence is made once the park is |
| online-coop-presence | source/OpenTPW.Tests/ParkPresenceStateTests.cs:34 | [EXT:online-coop-presence] a shared park's walk on a changed ground stops in front of a cell built on since its plan, also one a step only passes through |
| online-coop-presence | source/OpenTPW.Tests/ParkPresenceTests.SharedPark.cs:10 | [EXT:online-coop-presence] A shared park's presence (C2d-4; docs/COOP.md, "Co-builders as figures"): the online session owns the room and the chat, places go out only once the |
| online-coop-presence | source/OpenTPW.Tests/SharedParkChatModeTests.cs:17 | [EXT:online-coop-presence] A shared park's HUD with its co-builders as figures (C2d-4; docs/COOP.md, "Co-builders as figures"): the HUD comes first, the chat mode is F4's or |
| online-coop-presence | source/OpenTPW/Client/GameFlow.CoopPresence.cs:5 | [EXT:online-coop-presence] The co-builders of a shared park as walking figures (C2d-4; docs/COOP.md, "Co-builders as figures"): while this game is logged in and in a running |
| online-coop-presence | source/OpenTPW/Client/GameFlow.cs:694 | [EXT:online-coop-presence] the co-builders' figures (C2d-4): after the session's step, which may have ended the session or swapped the park |
| online-coop-presence | source/OpenTPW/Hud/HudContracts.cs:24 | [EXT:online-coop-presence] A shared park's players (C2d-4), not a visit's: the figures follow their players' views, a click is the park's (never a walk), the chat mode |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.VisitChat.cs:18 | Whether the player keeps the chat mode: as they chose, else a visit starts in it, and [EXT:online-coop-presence] a shared park in the HUD (C2d-4: its host builds, |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.VisitChat.cs:37 | The players whose room the chat mode shows: a read-only visit's, or [EXT:online-coop-presence] a shared park's (C2d-4), whose chat mode stands beside its HUD and builds |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.VisitChat.cs:87 | the HUD's windows, panels and modes go with it, and [EXT:online-coop-presence] in a shared park its armed tools (the chat mode builds nothing) |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.VisitChat.cs:140 | [EXT:online-coop-presence] A shared park's goto (C2d-4): the view moves to the player's figure when it is drawn here, from the overview (a free walk ends first); false for a |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.cs:706 | path/queue tool (the winning screen, and [EXT:online-coop-presence] a shared park's chat mode, which builds nothing). |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.cs:1020 | [EXT:online-coop-presence] the chat mode has no tools: its park clicks never reach the level's tool layer (a shared park's chat mode builds nothing) |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.cs:1597 | [EXT:online-coop-presence] a shared park's chat mode gives the ride help too, never the walk's (its clicks never walk) |
| online-coop-presence | source/OpenTPW/Hud/ParkHud.cs:1608 | [EXT:online-coop-presence] the chat mode has no tools (its entry retired them): no click, Backspace or line starts or edits one |
| online-coop-presence | source/OpenTPW/Online/ChatPanel.cs:110 | [EXT:online-coop-presence] The goto button's own way to the player, tried before the command: true when it took the player there, and no command goes out (a shared park's |
| online-coop-presence | source/OpenTPW/Online/OnlineSession.cs:1238 | <summary>[EXT:online-coop-presence] The chat room of the shared park this game is in (<c>coop:</c> and the session's id), or null outside one (C2d-4).</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:45 | stands. [EXT:online-coop-presence] A shared park's members walk the same way in its session's room (<see cref="ForSharedPark"/>, docs/COOP.md "Co-builders as |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:91 | [EXT:online-coop-presence] A shared park's presence (C2d-4): the online session owns the chat and its room, so this presence never joins or leaves a room and never opens |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:109 | <summary>[EXT:online-coop-presence] Whether this is a shared park's presence (C2d-4), whose figure follows the view and whose chat is the online session's.</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:112 | <summary>[EXT:online-coop-presence] Where the player's view is centred, in cells (the overview's target, or the free walk's place); null when it has none (C2d-4).</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:116 | [EXT:online-coop-presence] Whether the shared park's session still runs (C2d-4): it can end during the level's update, after the game flow last looked. A presence whose session |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:125 | [EXT:online-coop-presence] The player looks through their own figure's eyes (a shared park's free walk, whose place the figure follows): it is not drawn on this |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:135 | [EXT:online-coop-presence] The presence of the shared park <paramref name="level"/> in its session's chat room <paramref name="room"/> (C2d-4): the members connected to |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:202 | The session is connected and in the park's room: chat is live. [EXT:online-coop-presence] A shared park's room counts once this connection's join of it is confirmed |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:208 | The server relays movement in park rooms (<see cref="MovementProtocol"/>): without it the visit chats but shows and sends no figures. [EXT:online-coop-presence] A shared |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:240 | Whether the figures sparkle (the original's avatar effect): in a visit. [EXT:online-coop-presence] Never in a shared park: the level's particle pool is captured with the |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:256 | [EXT:online-coop-presence] a shared park's clicks are the park's (the host builds): its figure follows the view |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:268 | [EXT:online-coop-presence] a shared park's go to moves the view (the HUD's), which the figure follows |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:296 | [EXT:online-coop-presence] a shared park's chat is the online session's to keep |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:360 | [EXT:online-coop-presence] a shared park's room and chat are the online session's: its presence leaves them as they are |
| online-coop-presence | source/OpenTPW/Online/ParkPresence.cs:382 | <summary>[EXT:online-coop-presence] The cell map's version: a shared park's host builds while the figures walk.</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:14 | [EXT:online-coop-presence] Changes when a cell's type or flags change (in a shared park the host builds while the figures walk): a walk and the route search's areas |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:115 | <summary>[EXT:online-coop-presence] A shared park's figure plans its walk to the view's centre again once the centre moved this far (cells) from the centre it last followed (C2d-4).</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:117 | <summary>[EXT:online-coop-presence] The shortest gap between two plans of that walk, seconds: a panning view does not search a route every frame.</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:119 | <summary>[EXT:online-coop-presence] A view's centre this far (cells) from the figure moves it there at once (the view jumped: a locate, a minimap click).</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:197 | [EXT:online-coop-presence] a shared park's figure that comes out of a ride goes back to its player's view |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:253 | [EXT:online-coop-presence] the areas a search keeps are the ground's as it was: a changed ground (a co-builder's edit) is labelled again |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:268 | [EXT:online-coop-presence] one a co-builder built over walks out to the nearest free cell |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:320 | [EXT:online-coop-presence] A shared park's figure follows its player's view (C2d-4): it walks to the view's centre (<paramref name="x"/>, <paramref name="y"/>, cells), |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:375 | [EXT:online-coop-presence] a walk planned on an older ground goes round what was built since, planned again at most every ViewReplanSeconds (a co-builder |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:535 | <summary>[EXT:online-coop-presence] The ground changed: its areas are labelled again on the next search (the arrays are kept).</summary> |
| online-coop-presence | source/OpenTPW/Online/ParkPresenceState.cs:722 | [EXT:online-coop-presence] Where a figure may stand at <paramref name="place"/> (cells): the place itself on a cell a figure may stand on, else the centre of the nearest such |
| online-coop-presence | source/OpenTPW/World/Original/OriginalParkPlacement.cs:50 | [EXT:online-coop-presence] The park position, in cells (0.5 = a cell's centre), of the engine ground point (<paramref name="engineX"/>, <paramref name="engineY"/>): |
| online-coop-presence | source/OpenTPW/World/ThingPool.cs:45 | [EXT:developer-prototype] [EXT:online-visit-presence] [EXT:online-coop-presence] what the original builds that OpenTPW does not takes no slot: the developer prototype ride (OpenTPW only) and the online persons and avatars (drawn as presence figures, user-approved 2026-10-16); [EXT:resume-exact-thing-pool] an imported save's not-yet-rebuilt things hold a placeholder slot, see Hold (user-approved 2026-10-17: the original's thing would run on and be destroyed in time, and what each placeholder stands for is tracked by the SAVE IDs) |
| online-coop-session | source/OpenTPW.Online/Api/ApiModels.cs:39 | <summary>[EXT:online-coop-session] The co-op socket of shared parks (<c>Coop.CoopProtocol</c>), the open list of shared parks and a session's join snapshots.</summary> |
| online-coop-session | source/OpenTPW.Online/Api/ApiModels.cs:175 | <summary>[EXT:online-coop-session] A shared park on the open list (decision Q4): its code, title, host, players, most players and the host's build.</summary> |
| online-coop-session | source/OpenTPW.Online/Chat/ChatCommands.cs:119 | What a command says to the player's room: lines, emotes, shouts, moods and the away notice. [EXT:online-coop-session] Only these may name a shared park's |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:20 | <summary>[EXT:online-coop-session] The room of a shared park's session: its members' chat and figures (docs/ONLINE.md, "Shared parks").</summary> |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:43 | <summary>[EXT:online-coop-session] The server protocol from which a shared park's session has a chat room of its own (<see cref="CoopRoom"/>).</summary> |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:48 | <summary>[EXT:online-coop-session] The room of the shared park's session <paramref name="sessionId"/>.</summary> |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:51 | <summary>[EXT:online-coop-session] The session a shared park's room belongs to, or null for any other room.</summary> |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:122 | A chat command; <paramref name="room"/> names the shared park's room a command said to a room is for ([EXT:online-coop-session], a server of |
| online-coop-session | source/OpenTPW.Online/Chat/ChatProtocol.cs:137 | [EXT:online-coop-session] a command names no room, but what is said to a room may name the shared park's it is for |
| online-coop-session | source/OpenTPW.Online/Client/OnlineClient.cs:332 | [EXT:online-coop-session] Opens the co-op socket of shared parks with the session token (docs/ONLINE.md, "Shared parks"); the caller's first message is |
| online-coop-session | source/OpenTPW.Online/Client/OnlineClient.cs:341 | <summary>[EXT:online-coop-session] The open list of shared parks (decision Q4): listed sessions that are not full and whose host is connected.</summary> |
| online-coop-session | source/OpenTPW.Online/Client/OnlineClient.cs:630 | this platform"), starts the same close and lets it finish on its own. [EXT:online-coop-session] A page closes a chat this way since a shared park opens one |
| online-coop-session | source/OpenTPW.Online/Coop/CoopConnection.cs:7 | [EXT:online-coop-session] An open co-op socket (docs/ONLINE.md, "Shared parks"), from <see cref="Client.OnlineClient.ConnectCoopAsync"/>: one send at a time, |
| online-coop-session | source/OpenTPW.Online/Coop/CoopProtocol.cs:7 | [EXT:online-coop-session] The co-op socket (<c>/api/v1/coop</c>, server protocol 6, the host's skip from 7): binary messages between a game and the server, which relays a |
| online-coop-session | source/OpenTPW.Online/Coop/CoopProtocol.cs:63 | [EXT:online-coop-session] The server's refusal of an invitation to <paramref name="player"/> for <paramref name="reason"/>: every one names the player. The server |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:21 | <summary>[EXT:online-coop-session] The located player is in a shared park, whose room is its members' alone; argument: the player's name.</summary> |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:23 | <summary>[EXT:online-coop-session] What the player said for a shared park's room was not sent: the connection is not in that room (any more).</summary> |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:54 | <summary>[EXT:online-coop-session] Who may enter a shared park's room (<see cref="UseCoopMembership"/>); none while unset.</summary> |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:69 | [EXT:online-coop-session] Lets the members of a shared park's session into its room (<see cref="ChatProtocol.CoopRoom"/>), by a join or a goto, and takes each |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:91 | [EXT:online-coop-session] A shared park's room is routed while the rooms are held and only from a member still in it: a member taken out meanwhile |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:94 | <param name="intended">[EXT:online-coop-session] The shared park's room the request was for (protocol 8), or null: a request for a room the sender is not in is not routed.</param> |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:124 | <summary>[EXT:online-coop-session] The room an event names to players who may be outside it: a shared park's is named to none (null).</summary> |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:351 | [EXT:online-coop-session] a shared park's room is no published park: EnterRoom admits its members alone |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:418 | [EXT:online-coop-session] a shared park's room is its members' alone, asked while the rooms are held: the move out of a member that stops being |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:699 | [EXT:online-coop-session] a shared park is named to no one: the player is in one |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:706 | [EXT:online-coop-session] the away notice is said to the room: for a shared park's room, nothing changes when it cannot be said there |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:734 | [EXT:online-coop-session] only a shared park's members go to someone in its room (EnterRoom asks again as it enters) |
| online-coop-session | source/OpenTPW.Server/ChatHub.cs:787 | [EXT:online-coop-session] a shared park is named to no one (so no buddy hears of it) |
| online-coop-session | source/OpenTPW.Server/CoopHub.cs:13 | [EXT:online-coop-session] Shared park sessions over the co-op socket (docs/ONLINE.md, "Shared parks"): a host and up to three guests, the host's frames |
| online-coop-session | source/OpenTPW.Server/CoopHub.cs:18 | of another session waits for. [EXT:online-coop-session] The chat's lock comes after all of these: <see cref="MemberGone"/> is raised under them and its |
| online-coop-session | source/OpenTPW.Server/CoopHub.cs:48 | <summary>[EXT:online-coop-session] The session id each member account holds a seat in: <see cref="memberships"/> as the chat reads it, without the registry lock (written under it, with it).</summary> |
| online-coop-session | source/OpenTPW.Server/CoopHub.cs:968 | <summary>[EXT:online-coop-session] <paramref name="accountKey"/> holds a seat in <paramref name="session"/>. Under the registry lock.</summary> |
| online-coop-session | source/OpenTPW.Server/CoopHub.cs:976 | [EXT:online-coop-session] <paramref name="accountKey"/>'s seat in <paramref name="session"/> is gone: it is no member from here on, and then the chat hears of it |
| online-coop-session | source/OpenTPW.Server/CoopMembership.cs:4 | [EXT:online-coop-session] What the chat asks of the shared parks (docs/SERVER.md, "Shared parks"): whether an account is a member of a session, which lets it |
| online-coop-session | source/OpenTPW.Server/CoopStore.cs:12 | [EXT:online-coop-session] A co-op session as stored (<c>coop/sessions.json</c>), so it survives a restart: its id and code, title, listing, most players, |
| online-coop-session | source/OpenTPW.Server/CoopStore.cs:24 | [EXT:online-coop-session] The co-op sessions' files in the data folder: <c>coop/sessions.json</c> (rewritten atomically after each change, under this |
| online-coop-session | source/OpenTPW.Server/ServerOptions.cs:74 | <summary>[EXT:online-coop-session] Shared parks: co-op connections (counted before they authenticate) and live sessions the server holds.</summary> |
| online-coop-session | source/OpenTPW.Server/ServerProgram.cs:69 | [EXT:online-coop-session] a shared park's chat room admits its members only, and takes out those who leave it |
| online-coop-session | source/OpenTPW.Server/ServerProgram.cs:125 | [EXT:online-coop-session] ends the shared parks whose host stayed away, once a minute |
| online-coop-session | source/OpenTPW.Server/ServerProgram.cs:654 | [EXT:online-coop-session] The co-op socket, the open list of shared parks and their join snapshots ([EXT:online-coop-snapshot-join]); docs/ONLINE.md, |
| online-coop-session | source/OpenTPW.Tests/ChatSatelliteTests.cs:360 | [EXT:online-coop-session] a shared park's room: its session id, sixteen lowercase hexadecimal digits |
| online-coop-session | source/OpenTPW.Tests/CoopJoinSessionTests.Attempt.cs:11 | [EXT:online-coop-session] Joining a shared park with a code (C2d-3; docs/COOP.md, "Joining a shared park from the lobby"): the game's join attempt over real links to the loopback |
| online-coop-session | source/OpenTPW.Tests/CoopJoinSessionTests.Lobby.cs:14 | [EXT:online-coop-session] The lobby's side of shared parks (C2d-3b; docs/COOP.md, "Invitations and the open list") over real links to the loopback server: the guest's game in the |
| online-coop-session | source/OpenTPW.Tests/CoopJoinSessionTests.cs:84 | [EXT:online-coop-session] a join with a code (C2d-3): the game takes its answer here, before the session's step; then the lobby's link (C2d-3b), and after the |
| online-coop-session | source/OpenTPW.Tests/CoopLinkProbeTests.cs:74 | [EXT:online-coop-session] the guest finds it on the open list (HTTP), the host invites the guest (the socket), and the guest joins with the invitation's code (C2d-3b) |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.Lobby.cs:12 | [EXT:online-coop-session] The lobby's link (C2d-3b; docs/COOP.md, "Invitations and the open list"): <see cref="CoopLobbyLink"/> over real links to the loopback server opens the |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:17 | [EXT:online-coop-session] The game's co-op link (<see cref="CoopLink"/>, docs/ONLINE.md, "Shared parks") under pumped <see cref="OnlineSession"/>s against a |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:168 | [EXT:online-coop-session] The chat follows the shared park (C2d-1): a member's chat enters the session's room once it hosts or joins, and is back in the |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:208 | <summary>[EXT:online-coop-session] A chat connection opened for the shared park that fails is tried again, and the chat then enters the session's room.</summary> |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:784 | <summary>[EXT:online-coop-session] A logout's leave that could not go out is its server's: another server's welcome keeps it for a return (C2d-2).</summary> |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:818 | <summary>[EXT:online-coop-session] A logout's leave that could not go out is its account's: another account's welcome on the same server keeps it (C2d-2).</summary> |
| online-coop-session | source/OpenTPW.Tests/CoopLinkTests.cs:842 | <summary>[EXT:online-coop-session] A close while a join waits for its answer leaves the seat the join takes: the leave follows the join on its socket (C2d-2).</summary> |
| online-coop-session | source/OpenTPW.Tests/CoopLiveHarnessTests.cs:13 | [EXT:online-coop-session] The live co-op acceptance's harness without a game (docs/COOP.md, "The live acceptance"): its steps run one at a time, each until its condition holds or |
| online-coop-session | source/OpenTPW.Tests/CoopProtocolTests.cs:11 | [EXT:online-coop-session] The co-op socket's messages (docs/ONLINE.md, "Shared parks"): every message reads back as it was written, and a truncated, |
| online-coop-session | source/OpenTPW.Tests/CoopServerTests.cs:250 | [EXT:online-coop-session] Shared park sessions on the server (docs/ONLINE.md, "Shared parks"), over the co-op socket of a loopback server: a host and |
| online-coop-session | source/OpenTPW.Tests/CoopShareTests.Join.cs:7 | <summary>[EXT:online-coop-session] The lobby's Build Together hub and the join screen (C2d-3; docs/COOP.md, "Joining a shared park from the lobby").</summary> |
| online-coop-session | source/OpenTPW.Tests/CoopShareTests.OpenList.cs:11 | [EXT:online-coop-session] The open list of shared parks as its screen shows it (C2d-3b; docs/COOP.md, "Invitations and the open list"): the hub's line to it, the latest answer of |
| online-coop-session | source/OpenTPW.Tests/CoopShareTests.SavedPark.cs:14 | [EXT:online-coop-session] Sharing a saved park from the lobby (C2d-2b; docs/COOP.md, "Sharing a saved park from the lobby"): the lobby's Build Together screen, the |
| online-coop-session | source/OpenTPW.Tests/CoopShareTests.cs:15 | [EXT:online-coop-session] Sharing the open park from the game (C2d-2; docs/COOP.md, "Sharing the park from the game"): one <see cref="CoopShare"/> attempt over a real |
| online-coop-session | source/OpenTPW.Tests/OnlineFormatTests.cs:331 | [EXT:online-coop-session] what is said to a room may name the shared park's room it is for; nothing else names a room |
| online-coop-session | source/OpenTPW.Tests/OnlineIntegrationTests.cs:429 | [EXT:online-coop-session] a located player in a shared park: OpenTPW's own sentence, the park unnamed |
| online-coop-session | source/OpenTPW.Tests/OnlineIntegrationTests.cs:434 | [EXT:online-coop-session] something said for a shared park's room that the server did not send |
| online-coop-session | source/OpenTPW.Tests/OnlineIntegrationTests.cs:1384 | [EXT:online-coop-session] A server whose version is older than <see cref="ChatProtocol.CoopRoomsVersion"/> has no shared park rooms: a game that hosts a session |
| online-coop-session | source/OpenTPW.Tests/OnlineIntegrationTests.cs:1471 | [EXT:online-coop-session] A new chat connection asks for the shared park's room again only once its own server version is read: a server that went back to an |
| online-coop-session | source/OpenTPW.Tests/OnlineIntegrationTests.cs:1518 | <summary>[EXT:online-coop-session] A shared park waits for the server's version without a chat connection: a read that failed is tried again, and the chat then follows.</summary> |
| online-coop-session | source/OpenTPW.Tests/ParkPresenceTests.cs:224 | [EXT:online-coop-session] a connection the visit opened that a shared park's session took over since stays open, for the session's room |
| online-coop-session | source/OpenTPW.Tests/SaveDirectoryTests.cs:39 | [EXT:online-coop-session] OPENTPW_SAVE_DIR: each game of the live co-op acceptance saves into a folder of its own, never the game folder's |
| online-coop-session | source/OpenTPW.Web/Program.CoopLinkSmoke.cs:7 | [EXT:online-coop-session] The browser's link to a real server, the transport only (C2c-2b-5; docs/COOP.md, "The browser's link to a real server"; |
| online-coop-session | source/OpenTPW.Web/Program.CoopLinkSmoke.cs:86 | <summary>[EXT:online-coop-session] Says a line in the room the probe's chat is in (<see cref="CoopLinkProbe.Say"/>).</summary> |
| online-coop-session | source/OpenTPW.Web/Program.CoopLive.cs:7 | [EXT:online-coop-session] The live co-op acceptance's page (C2d-5b; docs/COOP.md, "The live acceptance"; tools/coop-live.mjs). In the page's live mode |
| online-coop-session | source/OpenTPW.Web/Program.cs:172 | [EXT:online-coop-session] the live acceptance's page runs without automatic advice, as the native run does (--no-advisor) |
| online-coop-session | source/OpenTPW.Web/Program.cs:193 | [EXT:online-coop-session] the live acceptance's page keeps when a park's files were asked for and arrived (Program.CoopLive.cs) |
| online-coop-session | source/OpenTPW.Web/Program.cs:325 | [EXT:online-coop-snapshot-join] the co-op join smoke's frame while it runs (Program.CoopJoinSmokeTest.cs); [EXT:online-coop-session] the live acceptance's, |
| online-coop-session | source/OpenTPW/Client/Game.cs:365 | [EXT:online-coop-session] the live co-op acceptance (docs/COOP.md, "The live acceptance"): a host or a guest through the real server and the game's own screens |
| online-coop-session | source/OpenTPW/Client/Game.cs:1354 | the session started, which a smoke flag's <see cref="ChangesParkOutsideCommands"/> would refuse. [EXT:online-coop-session] So is <c>--coop-live</c>, whose host shares its park through the |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopJoin.cs:117 | the player in the front end: on the menu's stack, or with the front end queued when a failed swap already retired it. [EXT:online-coop-session] A guest whose joined park's |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopJoin.cs:165 | <summary>[EXT:online-coop-session] The guest's park lost its session: the reason over the park, and its OK leaves for the lobby (C2d-3).</summary> |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopJoinAttempt.cs:6 | <summary>[EXT:online-coop-session] What the online screens ask of the game to join a shared park with a code (C2d-3; <see cref="UI.OnlineScreens.ShowJoinSharedPark"/>).</summary> |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopJoinAttempt.cs:26 | [EXT:online-coop-session] The game's joining of a shared park from the lobby (C2d-3; docs/COOP.md, "Joining a shared park from the lobby"): the join screen starts an attempt |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopLobby.cs:7 | [EXT:online-coop-session] The lobby's side of shared parks (C2d-3b; docs/COOP.md, "Invitations and the open list"): the lobby-wide link (<see cref="CoopLobbyLink"/>) and the |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopShare.cs:6 | <summary>[EXT:online-coop-session] What the online screens ask of the game to share its open park (C2d-2; <see cref="UI.OnlineScreens.ShowBuildTogether"/>).</summary> |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopShare.cs:35 | [EXT:online-coop-session] The game's sharing of its open park (C2d-2; docs/COOP.md, "Sharing the park from the game"): the pause menu's Build Together starts an |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopShare.cs:50 | [EXT:online-coop-session] The share that goes with a saved park's load (C2d-2b): the player's choices, the server and the account that asked for it, and the |
| online-coop-session | source/OpenTPW/Client/GameFlow.CoopShare.cs:81 | [EXT:online-coop-session] nor while a join attempt still settles its answer (its pending join or seat would refuse the create) |
| online-coop-session | source/OpenTPW/Client/GameFlow.cs:237 | [EXT:online-coop-session] sharing a saved park (C2d-2b) |
| online-coop-session | source/OpenTPW/Client/GameFlow.cs:535 | [EXT:online-coop-session] sharing the park with other players (C2d-2) and its status line |
| online-coop-session | source/OpenTPW/Client/GameFlow.cs:685 | [EXT:online-coop-session] sharing the open park (C2d-2): its preparation, its create and the hosting run here, after the link's answers and before the level |
| online-coop-session | source/OpenTPW/Client/GameFlow.cs:687 | [EXT:online-coop-session] joining a shared park (C2d-3): the join's answer is taken here, before the session's step |
| online-coop-session | source/OpenTPW/Client/GameFlow.cs:689 | [EXT:online-coop-session] the lobby's link and its invitations (C2d-3b): after the attempts, whose links it leaves alone |
| online-coop-session | source/OpenTPW/Client/SandboxSmokeTest.cs:333 | <summary>[EXT:online-coop-session] The output's readback into the PNG file <paramref name="path"/> (the live co-op acceptance's views of the figures).</summary> |
| online-coop-session | source/OpenTPW/FrontEnd/FrontEndMenu.cs:46 | <summary>[EXT:online-coop-session] Opens the lobby's Build Together screen on the menu's stack (C2d-2b: share a saved park); null hides its line.</summary> |
| online-coop-session | source/OpenTPW/FrontEnd/FrontEndMenu.cs:161 | [EXT:online-coop-session] OpenTPW's Build Together line (C2d-2b): the original has no shared parks |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:61 | <summary>[EXT:online-coop-session] Opens the screen that shares the park with other players (the pause menu's Build Together); null hides the line.</summary> |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:63 | <summary>[EXT:online-coop-session] The shared park's status line while the park is shared or being shared (and a while after its end); null for none.</summary> |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:841 | [EXT:online-coop-session] the Build Together line (C2d-2) is OpenTPW's, after Go Online: the player's own park shared with other players |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:874 | <summary>[EXT:online-coop-session] The pause menu's Build Together line.</summary> |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:878 | [EXT:online-coop-session] Whether the pause menu lists Build Together: the player's own park (not a visit, not a guest's copy of a shared park), and a lost |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:885 | [EXT:online-coop-session] The pause menu's Exit To Lobby: a guest in a running shared park is asked first, since the exit leaves the session and the park stays the host's |
| online-coop-session | source/OpenTPW/Hud/ParkHud.cs:1936 | [EXT:online-coop-session] The shared park's status line (decision C2d answer 4): a persistent line in a translucent box at the top centre while the park is shared |
| online-coop-session | source/OpenTPW/Online/CoopJoinAttempt.cs:5 | <summary>[EXT:online-coop-session] Where an attempt to join a shared park stands (<see cref="CoopJoinAttempt"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopJoinAttempt.cs:22 | <summary>[EXT:online-coop-session] How a join attempt ended (<see cref="CoopJoinAttempt.Outcome"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopJoinAttempt.cs:48 | [EXT:online-coop-session] One attempt of this game to join a shared park with a code (C2d-3; docs/COOP.md, "Joining a shared park from the lobby"). The attempt owns its join |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:43 | [EXT:online-coop-session] The lobby opened the link (C2d-3b, <see cref="CoopLink.OpenInLobby"/>) and the server named a shared park of the account that this game did not ask |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:51 | [EXT:online-coop-session] The game's link to the co-op socket of shared parks (docs/ONLINE.md, "Shared parks"), under an <see cref="OnlineSession"/> and its |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:115 | [EXT:online-coop-session] A create or join was refused with its socket: the server may have made the seat. The link's next welcome leaves it (a session it does not |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:133 | [EXT:online-coop-session] Spreads each wait of <see cref="RetryDelays"/> (<see cref="DefaultJitter"/>): with a link open in every lobby (C2d-3b), a server that restarts must |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:170 | [EXT:online-coop-session] A create or join waits for its answer: once the server reads it, it seats this game, also after a close without a leave (the socket sends what |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:245 | [EXT:online-coop-session] Opens the link for the lobby (C2d-3b, <see cref="CoopLobbyLink"/>): as <see cref="Open"/> without a take-over, except that a welcome naming a shared |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:261 | [EXT:online-coop-session] Leaves the session first with this reason, which the others hear (a host's leave ends it for everyone; a logout or another server): |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:341 | <summary>[EXT:online-coop-session] A leave of the session <paramref name="SessionId"/> the server has not confirmed (its id: never a guess at another seat).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:345 | [EXT:online-coop-session] The link has something to settle at its next welcome: a leave of this game's that waits for the server, or a seat a create or join whose |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:753 | [EXT:online-coop-session] the lobby's link leaves no shared park it did not ask for (C2d-3b), but for this game's own leave that waits |
| online-coop-session | source/OpenTPW/Online/CoopLink.cs:923 | [EXT:online-coop-session] the server may have read it and made the seat, which the link's next welcome leaves (C2d-3b) |
| online-coop-session | source/OpenTPW/Online/CoopLinkProbe.cs:8 | [EXT:online-coop-session] One side of the co-op link's transport check (C2c-2b-5; docs/COOP.md, "The browser's link to a real server"): an online session |
| online-coop-session | source/OpenTPW/Online/CoopLinkProbe.cs:116 | <summary>[EXT:online-coop-session] The host invites <paramref name="player"/>, whose link must be open (C2d-3b).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopLinkProbe.cs:119 | <summary>[EXT:online-coop-session] Asks for the open list over HTTP (C2d-3b): its rows are recorded (<c>listed</c>), or the failure fails the probe.</summary> |
| online-coop-session | source/OpenTPW/Online/CoopLinkProbe.cs:197 | [EXT:online-coop-session] Says <paramref name="line"/> in the room the login's chat is in (C2d-1: a session's members share its room), recorded (<c>say</c>) with that room; |
| online-coop-session | source/OpenTPW/Online/CoopLiveTest.Guest.cs:9 | <summary>[EXT:online-coop-session] The guest's side of the live acceptance (docs/COOP.md, "The live acceptance").</summary> |
| online-coop-session | source/OpenTPW/Online/CoopLiveTest.Host.cs:8 | <summary>[EXT:online-coop-session] The host's side of the live acceptance (docs/COOP.md, "The live acceptance").</summary> |
| online-coop-session | source/OpenTPW/Online/CoopLiveTest.Page.cs:7 | [EXT:online-coop-session] The live acceptance in the page (C2d-5b; docs/COOP.md, "The live acceptance"): the same script as natively, started by the page's export |
| online-coop-session | source/OpenTPW/Online/CoopLiveTest.Park.cs:8 | [EXT:online-coop-session] What both games of the live acceptance do in the shared park (docs/COOP.md, "The live acceptance"): seeing the other player's figure and name in the view, |
| online-coop-session | source/OpenTPW/Online/CoopLiveTest.cs:15 | [EXT:online-coop-session] The live co-op acceptance (C2d-5; docs/COOP.md, "The live acceptance"): one game of a live shared park, the host or the guest, through the real server and the |
| online-coop-session | source/OpenTPW/Online/CoopLobbyLink.cs:4 | [EXT:online-coop-session] The co-op link's lifetime outside a shared park (C2d-3b; docs/COOP.md, "Invitations and the open list"). While a logged-in player who could follow a |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:14 | <summary>[EXT:online-coop-session] Why a park cannot be shared (<see cref="CoopSession.ShareRefusal"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:35 | <summary>[EXT:online-coop-session] Why this game cannot join a shared park (C2d-3; <see cref="CoopSession.JoinRefusalKind"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:46 | <summary>[EXT:online-coop-session] Why a session ended for this game, as the screens say it (C2d-3; <see cref="CoopSession.EndCause"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:268 | <summary>[EXT:online-coop-session] What ended the session for this game (C2d-3: the screens say it in the player's language, never the server's English).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:299 | <summary>[EXT:online-coop-session] Why <paramref name="level"/> cannot be shared (<see cref="CanShare"/>), as a code the game's screens say in the player's language.</summary> |
| online-coop-session | source/OpenTPW/Online/CoopSession.cs:383 | [EXT:online-coop-session] Why this game cannot join a shared park; <see cref="CoopJoinRefusal.None"/> when it can. Only Theme Park World parks are shared, and a run started with |
| online-coop-session | source/OpenTPW/Online/CoopShare.cs:5 | <summary>[EXT:online-coop-session] Where an attempt to share the open park stands (<see cref="CoopShare"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopShare.cs:20 | <summary>[EXT:online-coop-session] How a share attempt ended (<see cref="CoopShare.Outcome"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/CoopShare.cs:45 | [EXT:online-coop-session] What the host heard of an invitation (<see cref="CoopShare.LastInvite"/>, <see cref="CoopShare.LateRefusal"/>): the invited player (null for a |
| online-coop-session | source/OpenTPW/Online/CoopShare.cs:51 | [EXT:online-coop-session] One attempt of this game to share its open park (C2d-2; docs/COOP.md, "Sharing the park from the game"). The attempt owns its create from |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:28 | <summary>[EXT:online-coop-session] Shares the open park with other players (<see cref="OnlineScreens.ShowBuildTogether"/>); null where the game does not.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:30 | <summary>[EXT:online-coop-session] Joins a shared park with a code (<see cref="OnlineScreens.ShowJoinSharedPark"/>); null where the game does not.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:281 | A satellite's room in the overhead chat view (<see cref="ShowChat"/>). [EXT:online-coop-session] In a shared park the chat stays the session's: the view shows |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:449 | [EXT:online-coop-session] The choices of a shared park (C2d-2), on both Build Together screens: its title (by default the player's park, by the online name, until |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:512 | [EXT:online-coop-session] Build Together (C2d-2; docs/COOP.md, "Sharing the park from the game"): shares the open park with other players, who watch the host |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:723 | [EXT:online-coop-session] The lobby's Build Together screen (C2d-2b; docs/COOP.md, "Sharing a saved park from the lobby"): the player's own saved parks (not the |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:789 | [EXT:online-coop-session] The lobby's Build Together hub (C2d-3): sharing one of the player's saved parks (<see cref="ShowShareSavedPark"/>), or joining a park another player |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:815 | [EXT:online-coop-session] Joining a shared park with its code (C2d-3; docs/COOP.md, "Joining a shared park from the lobby"): the code the host gave (case, spaces and dashes do |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:908 | <summary>[EXT:online-coop-session] What the join screen says of an attempt: its stage while it runs, its outcome once over (C2d-3).</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:933 | [EXT:online-coop-session] The open list of shared parks (C2d-3b; docs/COOP.md, "Invitations and the open list"): the parks of this build their hosts list for everyone, with |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1037 | [EXT:online-coop-session] A host's invitation over the lobby (C2d-3b; the game keeps it, <see cref="GameFlow"/>'s lobby step): who invites the player to which shared park, |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1049 | <summary>[EXT:online-coop-session] Why the link to shared parks stopped, in the player's language.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1057 | <summary>[EXT:online-coop-session] What the Build Together screen says of an attempt: its stage while it runs, its outcome once over.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1079 | <summary>[EXT:online-coop-session] Why the open park cannot be shared, in the player's language.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1087 | <summary>[EXT:online-coop-session] A member's line: the name, marked as the host or as away.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1094 | [EXT:online-coop-session] What the host heard of an invitation, named for its player when known: it went out, its player is not online for shared parks (give |
| online-coop-session | source/OpenTPW/Online/OnlineScreens.cs:1541 | [EXT:online-coop-session] in a shared park the chat stays the session's |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:48 | [EXT:online-coop-session] a located player in a shared park, which the server names to no one |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:51 | [EXT:online-coop-session] something said for a shared park's room the connection was not in was not sent |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:107 | [EXT:online-coop-session] the chat follows the shared park: its members talk in the session's room, and are back in the lobby once it is over for this game |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:121 | <summary>[EXT:online-coop-session] The link to the co-op socket of shared parks, under this session's login (docs/ONLINE.md, "Shared parks").</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:256 | [EXT:online-coop-session] Who is logged in where: the server and the account, null while logged out. The lobby's invitations and the open list of shared parks belong to |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:545 | [EXT:online-coop-session] the co-op link belongs to the login (closed once the login is gone, so a handler of its close cannot open it on the old one); a |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:812 | [EXT:online-coop-session] the shared park's chat is tried again while the session owns it |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:861 | [EXT:online-coop-session] a shared park's room waits for this connection's server version (FollowCoopRoom) |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1122 | [EXT:online-coop-session] a shared park's room: its session's title, which its members know |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1149 | [EXT:online-coop-session] in a shared park, what is said to a room goes to its room only (CommandRequest) |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1170 | [EXT:online-coop-session] the chat of a game in a shared park is the session's: no other room takes it |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1196 | [EXT:online-coop-session] The chat room of the shared park this game is in (<see cref="FollowCoopRoom"/>); null outside one. While it is set the chat is the shared |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1201 | <summary>[EXT:online-coop-session] The reason a shared park hears when this game logs out or changes server (<see cref="Disconnect"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1204 | <summary>[EXT:online-coop-session] The shared park's room is to be joined on the open connection once its server version is read (a new connection's rejoin waits for it).</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1207 | <summary>[EXT:online-coop-session] The shared park's chat connections that failed in a row (their waits grow, <see cref="ReconnectDelays"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1214 | [EXT:online-coop-session] A chat connection opened for the shared park failed: it is tried again after a growing wait, while the session still owns the chat |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1235 | <summary>[EXT:online-coop-session] Whether this game is in a shared park, whose room its chat follows.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1242 | [EXT:online-coop-session] The shared park's room is this connection's, confirmed (C2d-4): a chat connection whose own server version is read and has shared parks' |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1249 | [EXT:online-coop-session] Whether something said to a room now would not reach the shared park's room: this connection's server is not known to have such rooms, |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1254 | <summary>[EXT:online-coop-session] The open connection's server is known to have shared parks' rooms (<see cref="ChatProtocol.CoopRoomsVersion"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1257 | <summary>[EXT:online-coop-session] The chat's line for something said in a shared park that was not sent.</summary> |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1262 | [EXT:online-coop-session] The command as it goes out, or null when it may not: in a shared park, what is said to a room names the session's room (the server drops |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1286 | [EXT:online-coop-session] This game hosts, joined or resumed the shared park's session <paramref name="sessionId"/>: its chat is the session's, and goes to the |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1300 | [EXT:online-coop-session] Takes the chat to the shared park's room once the server is known to have such rooms (<see cref="ChatProtocol.CoopRoomsVersion"/>): |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1337 | [EXT:online-coop-session] The shared park's session <paramref name="sessionId"/> is over for this game (it ended, or this game left it): a chat in its room, or |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1383 | [EXT:online-coop-session] a shared park's rejoin was this connection's; the shared park itself goes on, and its room is asked for again on the next connection |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1460 | [EXT:online-coop-session] a shared park waits for the server's version without a chat connection (EnterCoopRoom): that read is tried again too |
| online-coop-session | source/OpenTPW/Online/OnlineSession.cs:1568 | [EXT:online-coop-session] in a shared park, as a typed line goes (CommandRequest) |
| online-coop-session | source/OpenTPW/Online/ParkPresence.cs:21 | <summary>[EXT:online-coop-session] Whether the session is in a shared park, whose room owns its chat (<see cref="OnlineSession.InSharedPark"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/ParkPresence.cs:23 | <summary>[EXT:online-coop-session] The shared park's room is the connection's, confirmed (<see cref="OnlineSession.SharedRoomReady"/>).</summary> |
| online-coop-session | source/OpenTPW/Online/ParkPresence.cs:364 | Online World's lines do not follow the player into their own park. [EXT:online-coop-session] A chat a shared park's session took over since is |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:485 | <summary>[EXT:online-coop-session] The name of a shared park's chat room when its session's title is not at hand.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:487 | <summary>[EXT:online-coop-session] The chat's answer to locating a player who is in a shared park, whose room is named to no one ({0}: the player).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:489 | <summary>[EXT:online-coop-session] A line said in a shared park while its chat room is not open (on its way, or a server without such rooms): it is not sent.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:491 | <summary>[EXT:online-coop-session] The pause menu's line and the screen that share the park with other players (C2d-2).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:493 | <summary>[EXT:online-coop-session] What sharing the park means (C3a-2: the host decides who builds).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:526 | <summary>[EXT:online-coop-session] The hub's line to the open list of shared parks (C2d-3b).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:528 | <summary>[EXT:online-coop-session] The open list's title.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:534 | <summary>[EXT:online-coop-session] A host's invitation to the player ({0}: the host, {1}: the shared park's title).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:536 | <summary>[EXT:online-coop-session] Puts an invitation aside (the server hears nothing).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:538 | <summary>[EXT:online-coop-session] What taking the link over from another game of the player's means: that game leaves its shared park (a host's leave ends it; C2d-3b).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:540 | <summary>[EXT:online-coop-session] Sharing needs a login.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:542 | <summary>[EXT:online-coop-session] The label of the shared park's title field.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:544 | <summary>[EXT:online-coop-session] The title a shared park starts with ({0}: the player's online name).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:546 | <summary>[EXT:online-coop-session] A shared park on the open list.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:548 | <summary>[EXT:online-coop-session] A shared park joined by code or invitation only.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:550 | <summary>[EXT:online-coop-session] How many players a shared park takes ({0}: 2 to 4).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:552 | <summary>[EXT:online-coop-session] The button that shares the park.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:554 | <summary>[EXT:online-coop-session] Stops what is under way.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:556 | <summary>[EXT:online-coop-session] The park is being shared (the screen and the status line).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:558 | <summary>[EXT:online-coop-session] Takes the link to shared parks over from another game of the player's.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:560 | <summary>[EXT:online-coop-session] A shared park's code, which others join with ({0}: the code).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:562 | <summary>[EXT:online-coop-session] Removes a guest from the shared park.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:564 | <summary>[EXT:online-coop-session] Asks before a guest is removed ({0}: the guest).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:566 | <summary>[EXT:online-coop-session] Invites a player by name.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:568 | <summary>[EXT:online-coop-session] An invitation went out ({0}: the player).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:570 | <summary>[EXT:online-coop-session] The invited player has no game open for shared parks ({0}: the player).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:572 | <summary>[EXT:online-coop-session] An invitation the server refused for another reason.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:575 | <summary>[EXT:online-coop-session] Ends the shared park for everyone.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:577 | <summary>[EXT:online-coop-session] Asks before the host ends the shared park.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:579 | <summary>[EXT:online-coop-session] The status line of a hosted park ({0}: the code, {1}: the connected players, {2}: the most players).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:581 | <summary>[EXT:online-coop-session] The status line while the link to the shared park reconnects ({0}: the code).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:583 | <summary>[EXT:online-coop-session] The shared park ended (the status line, and the screen).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:585 | <summary>[EXT:online-coop-session] The host in a shared park's list of players ({0}: the player).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:587 | <summary>[EXT:online-coop-session] A member whose game is not connected ({0}: the player).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:589 | <summary>[EXT:online-coop-session] Another game of the player's holds the link to shared parks.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:591 | <summary>[EXT:online-coop-session] The server is older than shared parks.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:593 | <summary>[EXT:online-coop-session] The link to the server was lost (or its answer).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:595 | <summary>[EXT:online-coop-session] The server holds as many shared parks as it takes.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:597 | <summary>[EXT:online-coop-session] The server limits how often a player asks.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:599 | <summary>[EXT:online-coop-session] The server refused the shared park's title (its word filter).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:601 | <summary>[EXT:online-coop-session] Sharing failed for another reason.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:603 | <summary>[EXT:online-coop-session] A cheat waits for the next park turn (decision Q17: cheats stay out of shared parks).</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:605 | <summary>[EXT:online-coop-session] The game was started with developer options that change the park.</summary> |
| online-coop-session | source/OpenTPW/UI/Original/SupplementaryStrings.cs:607 | <summary>[EXT:online-coop-session] The park cannot be shared (any other reason).</summary> |
| online-coop-snapshot-join | source/OpenTPW.Online/Api/ApiModels.cs:180 | <summary>[EXT:online-coop-snapshot-join] A stored join snapshot: its digest, which names it, and its size.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Online/Client/OnlineClient.cs:345 | [EXT:online-coop-snapshot-join] Uploads the host's join snapshot of shared park <paramref name="sessionId"/> (docs/COOP.md, "Joining a running session"): the server keeps it under its |
| online-coop-snapshot-join | source/OpenTPW.Online/Client/OnlineClient.cs:362 | [EXT:online-coop-snapshot-join] Downloads join snapshot <paramref name="sha256"/> of shared park <paramref name="sessionId"/>, <paramref name="length"/> bytes. Each read must come within |
| online-coop-snapshot-join | source/OpenTPW.Online/Coop/CoopProtocol.cs:381 | [EXT:online-coop-snapshot-join] The host no longer holds the frames the server needs (docs/COOP.md, "The host's trimmed frame"): every member is assigned a capture past them, and the |
| online-coop-snapshot-join | source/OpenTPW.Server/CoopHub.cs:869 | [EXT:online-coop-snapshot-join] The host's skip: it no longer holds the frames this server needs, and every member is assigned a capture past them, so the sequence goes on at the |
| online-coop-snapshot-join | source/OpenTPW.Server/CoopHub.cs:1163 | ---- join snapshots ([EXT:online-coop-snapshot-join]) ---- |
| online-coop-snapshot-join | source/OpenTPW.Server/CoopHub.cs:1192 | [EXT:online-coop-snapshot-join] the session's own limit, counted only for its authenticated host with room for the upload, so nobody else and no full store can spend it |
| online-coop-snapshot-join | source/OpenTPW.Server/CoopHub.cs:1259 | [EXT:online-coop-snapshot-join] a joiner waits as long as it says, or gives up the join when that is too long |
| online-coop-snapshot-join | source/OpenTPW.Server/CoopStore.cs:26 | ([EXT:online-coop-snapshot-join]), which the nightly backup leaves out. |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerOptions.cs:94 | <summary>[EXT:online-coop-snapshot-join] Join snapshots one session's host may upload an hour, a limit of the session's own, counted once the host is authenticated (not the address-wide park uploads).</summary> |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerOptions.cs:96 | <summary>[EXT:online-coop-snapshot-join] A join snapshot (a gzipped world save and the session's state), and all of them together.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerProgram.cs:89 | [EXT:online-coop-snapshot-join] a refusal says when to try again: the window's length, at most what is left of it (a joiner's download waits that long) |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerProgram.cs:273 | [EXT:online-coop-snapshot-join] a limit's refusal says when it may be tried again |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerProgram.cs:284 | <summary>[EXT:online-coop-snapshot-join] A Retry-After header's value: whole seconds, at least one.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerProgram.cs:654 | [EXT:online-coop-session] The co-op socket, the open list of shared parks and their join snapshots ([EXT:online-coop-snapshot-join]); docs/ONLINE.md, |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerProgram.cs:714 | ([EXT:online-coop-snapshot-join] the limit is counted in CoopHub.BeginUpload, not against the address's park uploads) |
| online-coop-snapshot-join | source/OpenTPW.Server/ServerStore.cs:84 | <summary>[EXT:online-coop-snapshot-join] When a request a limit refused may be tried again (the answer's Retry-After), or null.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/AdvisorModalStopTests.cs:33 | [EXT:online-coop-snapshot-join] An advisor a co-op join's build makes holds its clock still until its first update, which sets it running: the build's frames still to come are |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoasterCellMarkerTests.cs:270 | [EXT:online-coop-snapshot-join] A join's guest takes the host's binding over without claiming what it does not hold: here a pylon coaster A placed on coaster B's marker (the preview |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoasterCellMarkerTests.cs:306 | [EXT:online-coop-snapshot-join] A lease the host's binding holds stale at the cut (another writer rewrote its cell, and the binding has not synchronized since) is reported displaced, |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoasterCellMarkerTests.cs:332 | <summary>[EXT:online-coop-snapshot-join] The cells the host's binding wants and does not hold although the adoption would (a stale lease, a cell it may not claim) stay so on the guest.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopJoinSessionTests.GameFlow.cs:16 | [EXT:online-coop-snapshot-join] The game's side of a join (GameFlow.CoopJoin.cs) with an uninitialized <see cref="GameFlow"/>, as the ingress tests make one, whose build is the replay |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopJoinSessionTests.cs:12 | [EXT:online-coop-snapshot-join] Joining a running session and resync (docs/COOP.md, "Joining a running session") over the in-memory server, with the stream tests' asset-free park. The |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopJoinSessionTests.cs:745 | [EXT:online-coop-snapshot-join] A server that needs a frame the host trimmed (docs/COOP.md, "The host's trimmed frame"): the host assigns every member a capture and the frames go on |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopJoinTests.cs:13 | [EXT:online-coop-snapshot-join] A join snapshot's parts (docs/COOP.md, "Joining a running session"), with the stream tests' asset-free park: the payload and the session state it carries |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopLinkTests.cs:273 | [EXT:online-coop-snapshot-join] the host's skip: the frames go on at the number it names, and a skip back is answered with the frame the server takes next |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopServerTests.cs:252 | restart, the expiry of an absent host, the open list, invitations and the join snapshots ([EXT:online-coop-snapshot-join]). |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopServerTests.cs:666 | [EXT:online-coop-snapshot-join] The host's skip (protocol 7, docs/COOP.md "The host's trimmed frame"): the sequence goes on at the frame it names, which the server takes next; the |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopSessionTests.cs:306 | [EXT:online-coop-snapshot-join] the join smoke shares the park it built before its session: an automated run that changes no park outside the commands |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopSnapshotDownloadTests.cs:17 | [EXT:online-coop-snapshot-join] The client's ranged download of a join snapshot (<see cref="OnlineClient.DownloadCoopSnapshotAsync"/>, docs/COOP.md "Joining a running session") against a |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopStreamTests.cs:519 | [EXT:online-coop-snapshot-join] A server that needs a frame the host trimmed (docs/COOP.md, "The host's trimmed frame") no longer ends the session: every member is assigned a capture, |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopStreamTests.cs:553 | <summary>[EXT:online-coop-snapshot-join] A skip lost with the host's socket goes out again with its resume, without assigning the members anew.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopTestNetwork.cs:33 | <summary>[EXT:online-coop-snapshot-join] The host's skips the server took: the frame each named.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopTestNetwork.cs:36 | <summary>[EXT:online-coop-snapshot-join] The stored join snapshots by digest, the newest two (as the server keeps them), oldest first.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/CoopTestNetwork.cs:121 | <summary>[EXT:online-coop-snapshot-join] The host's skip, as the server takes it: the sequence goes on at <paramref name="from"/>, never back.</summary> |
| online-coop-snapshot-join | source/OpenTPW.Tests/GlobalTicketHolderTests.cs:209 | [EXT:online-coop-snapshot-join] A park in a co-op session decides its global tickets by its own records, as a peer's park without a ledger does, and leaves the player's holder alone; |
| online-coop-snapshot-join | source/OpenTPW.Tests/GlobalTicketHolderTests.cs:278 | [EXT:online-coop-snapshot-join] The game's way out of a shared park (<c>GameFlow.LeaveCoopSession</c>, first on every way out) runs the hand-back also when the session ended earlier in |
| online-coop-snapshot-join | source/OpenTPW.Tests/GlobalTicketHolderTests.cs:311 | [EXT:online-coop-snapshot-join] A park that joins a session as a guest's at the session's identical start is the host's park from then on: the progress attached to it while it was |
| online-coop-snapshot-join | source/OpenTPW.Tests/ServerBuildInfoTests.cs:130 | [EXT:online-coop-snapshot-join] the refusal says when to try again: the window's length at most |
| online-coop-snapshot-join | source/OpenTPW.Web/Program.CoopJoinSmokeTest.cs:8 | [EXT:online-coop-snapshot-join] The co-op join smoke's phases in the page (docs/COOP.md, "The browser's join" and "The browser's host"; tools/web-coop-join.mjs). The join phase: |
| online-coop-snapshot-join | source/OpenTPW.Web/Program.cs:325 | [EXT:online-coop-snapshot-join] the co-op join smoke's frame while it runs (Program.CoopJoinSmokeTest.cs); [EXT:online-coop-session] the live acceptance's, |
| online-coop-snapshot-join | source/OpenTPW/Client/AutomaticAdvisor.cs:71 | [EXT:online-coop-snapshot-join] Holds the advisor's clock still until its first update, which sets it running or paused as the game is (<see cref="Update"/>): an advisor |
| online-coop-snapshot-join | source/OpenTPW/Client/Game.cs:373 | [EXT:online-coop-snapshot-join] the native join smoke (docs/COOP.md, "The game's join"): a host phase and a fresh join phase over recorded frames |
| online-coop-snapshot-join | source/OpenTPW/Client/Game.cs:1353 | The automated modes beyond the smokes. [EXT:online-coop-snapshot-join] <c>--coop-join-smoke</c> is one, never a <see cref="SmokeFlags"/> entry: its host phase shares the park it built before |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.AutomaticCheckpoint.cs:34 | [EXT:online-coop-snapshot-join] the session ends before the exit checkpoint, so it holds the park its player's progress took back |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.Coop.cs:6 | [EXT:online-coop-snapshot-join] Every way out of a shared park (leaving it, a load, a restart, quitting) ends its session first and lets the player's progress take the park back (its |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.CoopJoin.cs:10 | [EXT:online-coop-snapshot-join] The game's side of a guest's join (docs/COOP.md, "The game's join"): the join host that builds the host's park from its join snapshot over |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.CoopJoin.cs:134 | [EXT:online-coop-snapshot-join] a resync whose install failed before its teardown left the session's old park the game's park, detached from the session: the end shows over it, |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.CoopJoin.cs:269 | <summary>[EXT:online-coop-snapshot-join] The game's join host of one session: its builds and its swap.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.CoopJoin.cs:721 | <summary>[EXT:online-coop-snapshot-join] What entering a built join candidate needs (<see cref="IGameJoinBuild.Stage"/>).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.CoopJoin.cs:725 | <summary>[EXT:online-coop-snapshot-join] A join's build as the game installs it.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:47 | [EXT:online-coop-snapshot-join] a join held in the front end builds with the set it asked with: choices wait for it as in a park |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.ParkBuild.cs:64 | [EXT:online-coop-snapshot-join] the player goes elsewhere: the join they leave ends before this park builds a scene of its own |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.Progress.cs:157 | [EXT:online-coop-snapshot-join] a shared park leaves its session first, so the check below saves what the hand-back gave back |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.Progress.cs:166 | [EXT:online-coop-snapshot-join] a co-op guest's park is the host's: it never takes part in this player's progress |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.Progress.cs:208 | [EXT:online-coop-snapshot-join] a park in a co-op session leaves the player's records alone, as the Full Simulation's owner does |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.Resume.cs:76 | [EXT:online-coop-snapshot-join] the player goes elsewhere: a join's build holds the one construction scene |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.ThemeParkIncLayout.cs:90 | [EXT:online-coop-snapshot-join] the player goes elsewhere: a join's build holds the one construction scene |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.cs:196 | <param name="keepJoin">[EXT:online-coop-snapshot-join] The front end's own rebuild (a language change): a join held in it goes on, and extension choices wait for it as in a park.</param> |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.cs:564 | <param name="keepJoin">[EXT:online-coop-snapshot-join] The front end only rebuilds itself (a language change): a join held in it goes on. Every other teardown ends it.</param> |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.cs:691 | [EXT:online-coop-snapshot-join] a guest's join and resync: the build's slice, the check at the cut and the swap run here, before the HUD and the level |
| online-coop-snapshot-join | source/OpenTPW/Client/GameFlow.cs:795 | [EXT:online-coop-snapshot-join] the front end's own rebuild keeps a join under way: the player has not gone elsewhere |
| online-coop-snapshot-join | source/OpenTPW/Economy/ParkObjectives.cs:204 | [EXT:online-coop-snapshot-join] Takes a global ticket from the park: one it won by its own records in a co-op session that the player's rule keeps with another park |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:11 | <summary>[EXT:online-coop-snapshot-join] The park was seen in a co-op session and is not reclaimed yet (<see cref="Reclaim"/>).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:13 | <summary>[EXT:online-coop-snapshot-join] The global tickets the park won in the session, with its record at each win (the record the check compared).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:24 | [EXT:online-coop-snapshot-join] a park in a co-op session is outside its player's progress until it is reclaimed: every peer decides its global tickets by the park's own records |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:26 | [EXT:online-coop-snapshot-join] a park in a co-op session neither reads nor writes its player's research records, so every peer's park takes the same finale decision |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:30 | <param name="shared">[EXT:online-coop-snapshot-join] Whether the park is in a co-op session now; null for a park that never is.</param> |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:82 | [EXT:online-coop-snapshot-join] a shared park's global wins are noted, outside the simulation, for the hand-back; the event comes in the check's own tick |
| online-coop-snapshot-join | source/OpenTPW/Economy/PlayerProgressRuntimeOwner.cs:150 | [EXT:online-coop-snapshot-join] A park back from a co-op session returns to this player's progress (docs/COOP.md, "Golden tickets in a session"): while shared it decided its global |
| online-coop-snapshot-join | source/OpenTPW/Hud/ParkHud.cs:187 | [EXT:online-coop-snapshot-join] Retires a HUD whose park lives on without it (a join's build makes the park's HUD again after a language change): its handlers leave the level and |
| online-coop-snapshot-join | source/OpenTPW/Hud/ParkHud.cs:409 | [BIN:TPW-EXE:0x005AF5D0 ticket count] [EXT:sandbox] [EXT:online-coop-snapshot-join] (a park outside the player's progress counts its own tickets: the generic sandbox has no player file to attach and a co-op park decides by its own records so every peer decides alike, situations that exist only in OpenTPW; UI-051 converted 2026-10-30) the ticket count is the player's earned tickets less the spent count (the HUD handler 0x4a0fb0 at 0x4a10cd; the four global flags once, the six local bytes of every park, the two secret flags) while the park is part of its player's progress (ParkEconomy.GoldenTicketsAvailable reads the attached ledger), otherwise the park's own unspent tickets |
| online-coop-snapshot-join | source/OpenTPW/Mods/ModStartup.cs:99 | Whether a run ignores the saved choices and the configuration folder's mods: the smoke tests, and [EXT:online-coop-snapshot-join] the native co-op join smoke, whose two phases |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopDigest.cs:120 | [EXT:online-coop-snapshot-join] the set of drags is made the first time anything reads it, on one machine alone: none hashes as an empty set |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestCommands.cs:189 | [EXT:online-coop-snapshot-join] The guest's park was rebuilt from a join snapshot whose cut holds the records up to <paramref name="records"/>: a request whose record is known and inside |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:53 | <param name="generation">[EXT:online-coop-snapshot-join] The join snapshot the stream starts from (0 a session's identical start); every stream message carries it.</param> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:95 | <summary>[EXT:online-coop-snapshot-join] The join snapshot this stream started from (0 a session's identical start).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:117 | [EXT:online-coop-snapshot-join] The host assigned a newer capture: the stream stops as a desync stops it (no frames applied, no ticks) and goes silent (no progress, resend requests or |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:154 | [EXT:online-coop-snapshot-join] The last frame the stream had applied when its last frame point left it following within its window (every frame it held applied, its ticks |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:249 | [EXT:online-coop-snapshot-join] the host's stream messages of another generation belong to a stream this one is not |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopGuestStream.cs:441 | [EXT:online-coop-snapshot-join] The live test's resync (<c>--coop-live</c>, the management scenario, C4b-2): a desync of this stream's own, taken as a mismatched digest takes one, so the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:53 | <summary>[EXT:online-coop-snapshot-join] How long new assignments are collected before their capture is taken: one capture serves them all.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:85 | <summary>[EXT:online-coop-snapshot-join] Assigned a capture and not reported in its generation yet: not waited for, no timers.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:125 | <summary>[EXT:online-coop-snapshot-join] Its last assigned capture (0 never: a session's identical start, or a member the host's resume reconciled in).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:153 | <summary>[EXT:online-coop-snapshot-join] A capture on its way: the cut, the session state and the save, serialized and compressed in slices, then uploaded.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:276 | [EXT:online-coop-snapshot-join] The frame the host's last skip goes on at (<see cref="SkipTrimmed"/>): a refusal naming an earlier frame was on its way before the server took the skip, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:281 | <summary>[EXT:online-coop-snapshot-join] The number the next capture takes, which the members assigned to it get.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:392 | <summary>[EXT:online-coop-snapshot-join] The capture <paramref name="guest"/> was last assigned (0 never).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:404 | <summary>[EXT:online-coop-snapshot-join] What the captures that reached their upload's answer cost, oldest first (at most <see cref="MaximumCaptureTimings"/>; a measurement only).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:606 | [EXT:online-coop-snapshot-join] a skip lost with the socket goes out again, without assigning the members anew, while the host still holds the frames from it; |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:630 | [EXT:online-coop-snapshot-join] what was queued on the old socket died with it |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:676 | [EXT:online-coop-snapshot-join] a refusal of a frame sent before the server took the host's skip names a frame the skip passed over |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:698 | [EXT:online-coop-snapshot-join] The server needs frame <paramref name="needed"/>, which the host no longer holds (its stored position fell behind the host's trimmed history; docs/COOP.md, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:735 | [EXT:online-coop-snapshot-join] a member that joins a running session needs the park: its capture is assigned at once |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:787 | [EXT:online-coop-snapshot-join] a stream message of another generation than the member's belongs to a stream it no longer runs |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1069 | [EXT:online-coop-snapshot-join] A member asks for a join snapshot (docs/COOP.md, "Joining a running session"): an answer it missed is sent again, and only a failure (or a member never |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1129 | [EXT:online-coop-snapshot-join] The captures, at the end of the frame (the park between ticks, every record before the cut published): the one on its way takes its slice of serialization |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1307 | [EXT:online-coop-snapshot-join] its first report of its generation ends its assignment |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1328 | [EXT:online-coop-snapshot-join] a joiner catches up within a join window of its own: its smallest lag plus the ordinary window, so its lag never grows by more than that and the park |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1418 | [EXT:online-coop-snapshot-join] a request that restarts within a copy still on its way keeps the copy's end: a guest that started at a cut, or resumed, asks for every frame |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopHostStream.cs:1481 | [EXT:online-coop-snapshot-join] a member whose capture failed for now needs a new one, which pins its own cut: it holds no frames back while it waits |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinPayload.cs:8 | [EXT:online-coop-snapshot-join] The session state a join snapshot carries beyond the park's save (docs/COOP.md, "Joining a running session"): what the session digest covers that the save |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinPayload.cs:150 | [EXT:online-coop-snapshot-join] A join snapshot (docs/COOP.md, "Joining a running session"): the host's park at a cut of its command stream. Every record up to <see cref="Records"/> is |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinPayload.cs:269 | [EXT:online-coop-snapshot-join] Writes a join payload in time-boxed slices on the game thread (the browser has no worker): the header, then the body through zlib a chunk at a time, so a large |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinPayload.cs:304 | <summary>[EXT:online-coop-snapshot-join] Of the last slice: the milliseconds zlib's end and the payload's copy took (docs/COOP.md, "Measurements").</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinPayload.cs:335 | <summary>[EXT:online-coop-snapshot-join] A park too large for a join snapshot (its save past the save's cap, or its body past the payload's): the capture fails for good, as too large.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.Host.cs:348 | [EXT:online-coop-snapshot-join] The tour ride the second cut buys while the park is paused (C5: a live tour ride whose script has not created its controller yet): researched, with the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.Page.cs:4 | [EXT:online-coop-snapshot-join] A page's runner of the join phase (docs/COOP.md, "The browser's join") and of the host phase (C2c-2b-4, "The browser's host"): the browser calls the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.Transports.cs:6 | [EXT:online-coop-snapshot-join] The native join smoke's host side (<see cref="CoopJoinSmokeTest"/>): one session of the host and a virtual member, in process. It records every frame the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.Transports.cs:91 | [EXT:online-coop-snapshot-join] The native join smoke's guest side (<see cref="CoopJoinSmokeTest"/>): it plays the recorded host to a game that joins. The host's frames after the member's join |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.Water.cs:4 | [EXT:online-coop-snapshot-join] The native join smoke's water ride (docs/COOP.md, "The game's join"): a closed circuit with its track add-on placed, sold and placed again before the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopJoinSmokeTest.cs:75 | [EXT:online-coop-snapshot-join] The native join smoke (docs/COOP.md, "The game's join"): <c>--coop-join-smoke host|join --coop-join-evidence <directory></c>, two processes with the game's |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLink.cs:360 | <summary>[EXT:online-coop-snapshot-join] The server takes the host's skip from protocol 7 on (<see cref="CoopSkipFrames"/>), the protocol this link needs.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLink.cs:363 | <summary>[EXT:online-coop-snapshot-join] The host's skip of the frames it no longer holds: the server takes frame <paramref name="from"/> next.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLink.cs:415 | <summary>[EXT:online-coop-snapshot-join] How long a snapshot download may wait for its next bytes before it resumes with a range.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLink.cs:467 | <summary>[EXT:online-coop-snapshot-join] What a failed snapshot upload means for the host's capture: too large, or refused for good (not the host's, the session gone), or for now.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLink.cs:479 | [EXT:online-coop-snapshot-join] What a failed snapshot download means for the guest: the snapshot rotated out (404), the guest no longer the session's (403, for good), the server asking |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLiveTest.Guest.cs:173 | [EXT:online-coop-snapshot-join] the management scenario's one resync is its forced one (C4b-2) |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLiveTest.Guest.cs:176 | [EXT:online-coop-snapshot-join] the staff scenario's three resyncs are its forced ones; the first two come inside the early window after a join, so each may count as the join's |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLiveTest.Staff.cs:192 | [EXT:online-coop-snapshot-join] the first hire's record inside a forced resync's cut, the player letting go with Escape before the swap: the new park's pending hire is cleaned up, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLiveTest.Staff.cs:239 | [EXT:online-coop-snapshot-join] a resync with the employee in hand: the new park's Carry tool arms from the snapshot's hand |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopLiveTest.Staff.cs:242 | [EXT:online-coop-snapshot-join] the drop's record inside a third forced resync's cut: no state and no tool after it. Within the early window after a join a forced desync counts as |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:34 | <summary>[EXT:online-coop-snapshot-join] Where a guest's session stands (docs/COOP.md, "Joining a running session").</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:74 | [EXT:online-coop-snapshot-join] What the game does for a guest's join (docs/COOP.md, "Joining a running session"): it builds a park from a join payload over frames and swaps it in, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:93 | <summary>[EXT:online-coop-snapshot-join] A guest's park being built from a join payload, over frames (<see cref="ICoopJoinHost.Build"/>).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:125 | [EXT:online-coop-snapshot-join] A join every build of the payload would refuse, proven by a completed comparison (this game's simulation mods or files differ from the host's): the join |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:134 | is replaced, when the link's session ends, or when the host's stream ends it. [EXT:online-coop-snapshot-join] A guest that joins a running session, or whose park lost the stream, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:163 | [EXT:online-coop-snapshot-join] the guest's side of the handshake |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:244 | <summary>[EXT:online-coop-snapshot-join] Where a guest's session stands (a host's is always following).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:360 | [EXT:online-coop-snapshot-join] Joins the running session <paramref name="link"/> is in without a park (docs/COOP.md, "Joining a running session"): the guest asks for the host's park, |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:538 | ---- [EXT:online-coop-snapshot-join] the guest's join and resync ---- |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:1005 | <summary>[EXT:online-coop-snapshot-join] The download of capture <paramref name="generation"/> starts (again, after a server's wait): its timings begin, or go on.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:1020 | [EXT:online-coop-snapshot-join] The current capture's timings end with <paramref name="outcome"/>, the stages of <paramref name="build"/> (if any) with them: kept (the newest |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopSession.cs:1045 | [EXT:online-coop-snapshot-join] A park swapped in has caught up once a frame point of its stream applied a frame of the host's from after the cut and left it following within its |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:221 | <summary>[EXT:online-coop-snapshot-join] Why a member asks for a join snapshot (<see cref="CoopSnapshotRequest"/>).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:242 | <summary>[EXT:online-coop-snapshot-join] Why the host could not serve a capture (<see cref="CoopSnapshotFailed"/>).</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:264 | [EXT:online-coop-snapshot-join] The stream generation the message belongs to: the join snapshot its member's stream started from (0 a session's identical start). Each side ignores |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:490 | [EXT:online-coop-snapshot-join] The host assigned the member capture <see cref="CoopStreamMessage.Generation"/> (docs/COOP.md, "Joining a running session"): the member's old stream stops |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:501 | [EXT:online-coop-snapshot-join] A member asks for a join snapshot: <paramref name="Known"/> is the newest generation whose answer it received (0 none), with why, and the desync it |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:518 | [EXT:online-coop-snapshot-join] The host's capture <see cref="CoopStreamMessage.Generation"/> is stored on the server: its cut (records up to <paramref name="Records"/>, tick |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamCodec.cs:538 | [EXT:online-coop-snapshot-join] The host's capture <see cref="CoopStreamMessage.Generation"/> failed: why, whether trying again cannot help (the member leaves then), and how many seconds the |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamTransport.cs:21 | <summary>[EXT:online-coop-snapshot-join] Whether the server takes the host's skip of frames it no longer holds (<see cref="SkipFrames"/>); a transport without it cannot.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamTransport.cs:24 | [EXT:online-coop-snapshot-join] Tells the server the host's frames go on at <paramref name="from"/>: the host no longer holds the ones before it that the server needs, and every member is |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamTransport.cs:36 | [EXT:online-coop-snapshot-join] Uploads the host's join snapshot of its session (docs/COOP.md, "Joining a running session"); <paramref name="done"/> runs once on the game thread, from a |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamTransport.cs:41 | [EXT:online-coop-snapshot-join] Downloads join snapshot <paramref name="sha256"/> of the session, <paramref name="bytes"/> long (a stalled or broken transfer resumes with a range); |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopStreamTransport.cs:48 | [EXT:online-coop-snapshot-join] What became of a join snapshot's upload or download (<see cref="ICoopStreamTransport.UploadSnapshot"/>, <see cref="ICoopStreamTransport.DownloadSnapshot"/>): |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:6 | <summary>[EXT:online-coop-snapshot-join] How a part of a join's work was timed (docs/COOP.md, "Measurements").</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:19 | [EXT:online-coop-snapshot-join] One part of a join's work, timed on the wall clock (<see cref="Stopwatch"/>, never a session's clock): the steps it ran (units of work between two |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:68 | <summary>[EXT:online-coop-snapshot-join] The milliseconds since <paramref name="start"/>, a <see cref="Stopwatch.GetTimestamp"/>.</summary> |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:75 | [EXT:online-coop-snapshot-join] What one join snapshot cost its host (docs/COOP.md, "Measurements"). The cut is one step at a tick boundary: the frames before it published, the session |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:114 | [EXT:online-coop-snapshot-join] A part of a build's step that alone took a frame's budget or more: its stage, its number among the stage's parts (1 the first), its milliseconds and, in |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:125 | [EXT:online-coop-snapshot-join] A build's own timings (<see cref="ICoopJoinBuild.Timings"/>): its stages in their order (each listed, a stage it never reached as skipped), the parts of |
| online-coop-snapshot-join | source/OpenTPW/Online/CoopTimings.cs:160 | [EXT:online-coop-snapshot-join] What one capture's build cost a guest (docs/COOP.md, "Measurements"), whatever became of it: the download, the decode, the build's stages over frames |
| online-coop-snapshot-join | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:39 | [EXT:online-coop-snapshot-join] A live park's binding taken over from its cells without writing, as a join's build makes it (docs/COOP.md, "Joining a running session"): the bind |
| online-coop-snapshot-join | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:64 | [EXT:online-coop-snapshot-join] For a join snapshot, read only: the wanted cells this binding does not hold although the join's adoption would (markers with its owner word and no lease), |
| online-coop-snapshot-join | source/OpenTPW/World/Coasters/CoasterEdits.cs:47 | <summary>[EXT:online-coop-snapshot-join] Whether no player holds a drag (a join capture waits for that: a drag's edited pylon is no part of the save).</summary> |
| online-coop-snapshot-join | source/OpenTPW/World/Coasters/CoasterRide.cs:1581 | [EXT:online-coop-snapshot-join] kept for a join: a live coaster is never runnable-less outside state 1 (the tool's exit gives Built only when runnable, every runnability change goes through it) |
| online-coop-snapshot-join | source/OpenTPW/World/Coasters/CoasterTrack.cs:220 | <summary>[EXT:online-coop-snapshot-join] Binds the cells as a join's build takes a live park's binding over, without writing (<see cref="CoasterCellMarkers"/>'s adoption).</summary> |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Coasters.cs:311 | [EXT:online-coop-snapshot-join] a join takes the host's live binding over from the cells, without claiming anything the host's binding does not hold |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Coasters.cs:813 | [EXT:online-coop-snapshot-join] not in a join: the host's live coaster stays as it is (its tool open, or closed by the park's door while built) |
| online-coop-snapshot-join | source/OpenTPW/World/Level.FreeWalk.cs:8 | <summary>[EXT:online-coop-snapshot-join] The park camera the free walk was entered from while it lasts, else null: a resync keeps the player's view from it.</summary> |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Join.cs:5 | <summary>[EXT:online-coop-snapshot-join] A join's session state while its build runs (<see cref="BeginJoinOverFrames"/>): the join restore mode; null otherwise.</summary> |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Join.cs:9 | [EXT:online-coop-snapshot-join] The session state a join snapshot carries beyond the park's save (<see cref="CoopJoinState"/>), taken at the cut between two ticks: every player's carried |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Join.cs:36 | [EXT:online-coop-snapshot-join] Writes a join snapshot's session state (<see cref="CaptureJoinState"/>) into the park a guest built from its save, before its first tick: the save's load |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Join.cs:83 | [EXT:online-coop-snapshot-join] The join state's staff rows checked whole against this park before any applies (C4c, <see cref="ApplyJoinState"/>): the pending hires and the hands each |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Join.cs:119 | [EXT:online-coop-snapshot-join] Whether a player holds a coaster drag (a join capture waits for its release). It reads the drags without making their set, which the session digest |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Objects.cs:203 | [EXT:online-coop-snapshot-join] a join's cells are the host's live ones as its snapshot holds them: no footprint is written again (a live park's writes nothing anyway: |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Resume.cs:190 | [EXT:online-coop-snapshot-join] The park's save for a join snapshot (docs/COOP.md, "Joining a running session"), taken at the cut between two ticks: the parts of |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Resume.cs:450 | [EXT:online-coop-snapshot-join] kept for a join: a live prototype's stand cell holds its type already, so the lay changes nothing |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Things.cs:28 | [EXT:online-coop-snapshot-join] kept for a join: a live park's pool is made on first use and every save writes it, so a join's snapshot never lacks it |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Tours.cs:156 | [EXT:online-coop-snapshot-join] a join's tour rides are the host's live ones: one between its script's TOUR 2 and TOUR 1 has no controller, and gets none here |
| online-coop-snapshot-join | source/OpenTPW/World/Level.Tracks.cs:902 | [EXT:online-coop-snapshot-join] kept for a join: only a ride restored from such a save keeps its legacy station live (saved as layout 0), and this sets that same station again |
| online-coop-snapshot-join | source/OpenTPW/World/Level.cs:124 | [EXT:online-coop-snapshot-join] a join keeps the host's name as its snapshot holds it, none included: the sign's default lines are not its name |
| online-coop-snapshot-join | source/OpenTPW/World/Level.cs:330 | [EXT:online-coop-snapshot-join] A guest's park built over frames from a join snapshot (docs/COOP.md, "The game's join"): the resume's steps in the join restore mode, which keeps |
| online-coop-snapshot-join | source/OpenTPW/World/Level.cs:359 | [EXT:online-coop-snapshot-join] a join's build is a guest's park from its first step (the HUD made for it reads that) |
| online-coop-snapshot-join | source/OpenTPW/World/Level.cs:470 | [EXT:online-coop-snapshot-join] a join's session state, before the park's first frame |
| online-coop-snapshot-join | source/OpenTPW/World/Level.cs:764 | [EXT:online-coop-snapshot-join] a join's map is the host's live one, land-less too (an imported save whose land walk failed): no land is laid on it |
| online-coop-snapshot-join | source/OpenTPW/World/ParkResumeSaveFile.cs:78 | [EXT:online-coop-snapshot-join] <see cref="Deserialize"/> in steps, for a save read over frames (a co-op join's or resync's build, docs/COOP.md "The game's join"): the parse a |
| online-coop-snapshot-join | source/OpenTPW/World/SavedTypePreparation.cs:4 | [EXT:online-coop-snapshot-join] What a saved layout's types read on their first use, read ahead in steps of their own before the restore places their objects (a co-op join's or |
| online-coop-snapshot-join | source/OpenTPW/World/Staff/StaffHands.cs:39 | <summary>[EXT:online-coop-snapshot-join] Every hand, lowest player first: the employee and the cell it came from (a join snapshot carries them).</summary> |
| online-coop-speed | source/OpenTPW.Tests/CoopSessionTests.Rights.cs:15 | its taking back and the seat's release apart) replay to the same park; [EXT:online-coop-speed] |
| online-coop-speed | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:104 | [EXT:online-coop-speed] Whether the park's speed is another machine's: a guest's park follows the host's stream, and only the host pauses or changes speed (docs/COOP.md, "Money and |
| online-coop-speed | source/OpenTPW/Hud/ParkHud.cs:442 | [EXT:online-coop-speed] a guest's buttons draw subdued and still take the click, which says the speed is the host's (C4a) |
| online-coop-speed | source/OpenTPW/UI/Original/UiWidgets.cs:678 | [EXT:online-coop-speed] While true, the button draws as a disabled one (the down frame still while selected or pressed) but keeps its hit target and its click, and plays no click |
| online-coop-undo | source/OpenTPW.Tests/CoopJoinSessionTests.Undo.cs:7 | [EXT:online-coop-undo] A guest's take-backs across a resync (docs/COOP.md, "Conflicts and undo (C5)"): a take-back is a request of the session's, so the swapped-in park's cut settles the |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestCoasters.cs:283 | [EXT:online-coop-undo] the Backspace is the take-back of the guest's own last pylon, whose inverse takes the last pylon off (C5-3) |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestCoasters.cs:602 | [EXT:online-coop-undo] the last pylon's removal is the host's tools' since C5-3: every player's Backspace is a take-back of its own last pylon, claim or not |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestPools.cs:152 | [EXT:online-coop-undo] the stroke's later batches go once the batch that opened it is back (C5-2); then the host takes nothing: the requests stay open, and the drag goes back and |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestPools.cs:434 | [EXT:online-coop-undo] a take-back the rights refused ends the slide mode, as it ends the line tools (C5): no second Backspace goes |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestPools.cs:481 | [EXT:online-coop-undo] the refusal by the rights ended the slide mode, as it ends the line tools (C5): the guest starts it again |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestPools.cs:743 | the press opens the stroke on free land; [EXT:online-coop-undo] its later batches go once it is back (C5-2) |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestTools.cs:150 | [EXT:online-coop-undo] the segment keeps its record, which the guest's Backspace names to the host (C5, CoopSessionTests.Undo) |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.GuestTracks.cs:139 | [EXT:online-coop-undo] a take-back the host decided, its inverse the tool's own undo (C5-3) |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.Undo.cs:10 | [EXT:online-coop-undo] Undo in a shared park (docs/COOP.md, "Conflicts and undo (C5)"): the path and queue tools' Backspace is a take-back the host's journal decides, for a guest and |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.UndoCoasters.cs:10 | [EXT:online-coop-undo] The coaster tool's undo in a shared park (docs/COOP.md, "Conflicts and undo (C5)"; C5-3): a pylon a player's click placed is a step of that player's, and the tool's |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.UndoPools.cs:9 | [EXT:online-coop-undo] Pool strokes in a shared park (docs/COOP.md, "Conflicts and undo (C5)"; C5-2): the paint and erase modes' Backspace takes back the player's own newest stroke |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.UndoTrackClaims.cs:9 | [EXT:online-coop-claims] [EXT:online-coop-undo] Other rides' tiles in a shared park (docs/COOP.md, "Claims"; C5-3): a track line and its take-back leave alone the protected track of every |
| online-coop-undo | source/OpenTPW.Tests/CoopSessionTests.UndoTracks.cs:9 | [EXT:online-coop-undo] The kart and water track tools' undo in a shared park (docs/COOP.md, "Conflicts and undo (C5)"; C5-3): a line tool's Backspace is a take-back the host's journal |
| online-coop-undo | source/OpenTPW.Tests/CoopStreamTests.GuestCommands.cs:379 | [EXT:online-coop-undo] Backspace in a building tool: a take-back the host's journal decides (C5), one with no step of the guest's refused by the journal |
| online-coop-undo | source/OpenTPW.Tests/CoopUndoJournalTests.cs:9 | [EXT:online-coop-undo] The host's undo journal on its own (docs/COOP.md, "Conflicts and undo (C5)"), on the stream tests' asset-free park, wired as the host's stream wires it: the map's |
| online-coop-undo | source/OpenTPW.Tests/CoopUndoJournalTests.cs:103 | <summary>[EXT:online-coop-undo] Member <paramref name="id"/>'s take-back of its pool stroke named <paramref name="stroke"/> (C5-2): the verdict the host decided.</summary> |
| online-coop-undo | source/OpenTPW.Tests/CoopUndoJournalTests.cs:651 | ---- [EXT:online-coop-undo] pool strokes (C5-2) ---------------------------------------------------------------------------------- |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandCodecTests.cs:106 | [EXT:online-coop-undo] seat 2's Backspace on its path step of record 41, its selected ride 7, as it leaves the guest: undecided, no inverse (C5) |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandCodecTests.cs:111 | [EXT:online-coop-undo] The take-back as the host decided it (C5): taken with its inverse nested as a whole command of its own bytes, and refused with each verdict, a slide piece's part |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandCodecTests.cs:121 | [EXT:online-coop-undo] seat 2's own last pylon of the coaster of attraction 17 taken back, the coaster its claimed ride (C5-3) |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandCodecTests.cs:146 | [EXT:online-coop-undo] A pool stroke's first command in a shared park (C5-2): version 5, the kind's own fields; the same commands not first keep the schema's version-1 bytes. |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandCodecTests.cs:156 | [EXT:online-coop-undo] A shared park's track line whose click keeps the line tool after a close (C5-3): version 6, the kind's own fields; the same line without the flag keeps the schema's |
| online-coop-undo | source/OpenTPW.Tests/ParkCommandLevelTests.cs:606 | [EXT:online-coop-undo] a take-back no host decided, or decided with a random inverse of the local player (C5) |
| online-coop-undo | source/OpenTPW/Economy/ParkEconomy.cs:2557 | <summary>The commit's money test of <see cref="CanSpendCell"/> on a given <paramref name="balance"/>: balance − cost ≥ 0 in 32 bits ([EXT:online-coop-undo] a take-back's prediction pays with its own copy of the balance, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Economy/ParkEconomy.cs:2569 | <summary>The preview's money test of <see cref="CanPreviewLine"/> on a given <paramref name="balance"/> ([EXT:online-coop-undo] a take-back's prediction pays with its own copy, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:201 | [EXT:online-coop-undo] Where a click lands on the open buy list's row of the item with <paramref name="infoId"/> (the list scrolled to show it first, as its scroll bar does), the |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:294 | [EXT:online-coop-undo] a guest's is the take-back of its own last pylon; with none of its own nothing goes, and it says so (C5-3) |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:303 | [EXT:online-coop-undo] the host's in a shared park takes back its own last pylon, decided by its journal as a guest's is (C5-3): a refusal keeps the pylon and says why, and one |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:128 | record leaves the line, and the player tries again; an outcome not known ends the tool. [EXT:online-coop-undo] A path or queue take-back (C5) refused by the host's journal says why |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:142 | [EXT:online-coop-undo] a take-back the host's journal refused keeps the segment and says why (C5); the track tool's park refusals stay quiet, as the host's |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:149 | [EXT:online-coop-undo] another player's claim on the cells its undo would touch keeps the segment and the tool, as a line refused there: its note alone (C5) |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:172 | [EXT:online-coop-undo] What a refused take-back says (C5): another's later change, something in its way, or a step not the player's (or not its last, or forgotten) each its note; a |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:370 | [EXT:online-coop-undo] a pylon's take-back the host's journal refused keeps the pylon and says why (C5-3) |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:389 | marker; and its notes: a refusal by the rights, a request the host could not take, an outcome not known, [EXT:online-coop-undo] a slide's take-back the host's journal refused (C5). |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:400 | [EXT:online-coop-undo] a slide or stroke take-back the rights refused (the grant taken back on its way) ends the slide, paint or erase mode it was sent from, as it ends the line tools |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.Pools.cs:97 | Backspace takes back the last stroke; [EXT:online-coop-undo] the host's take-back in a shared park that the journal refused says why (C5, C5-2), a slide's that met a finished slide nothing |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.cs:1659 | done yet; [EXT:online-coop-undo] in a shared park a path or queue segment is a take-back the host decides (C5): the host's refusal, or a segment no step of the player's laid, says why |
| online-coop-undo | source/OpenTPW/Hud/ParkHud.cs:1664 | [EXT:online-coop-undo] a take-back on a ride whose claim the host no longer holds ends its tool in the claim's words, as a guest's does (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:37 | [EXT:online-coop-claims] the host issues everything but an edit of a ride another player claims, and its cleanup always (C3c-1); [EXT:online-coop-undo] a take-back on a claimed ride |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:82 | [EXT:online-coop-undo] and every undo a step's content names: a guest's Backspace is a take-back the host decides (C5), so the slide's last piece is the host's alone too, and a |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:145 | [EXT:online-coop-undo] a take-back asks the player's own claim first: a claim another player took while it waited is lost to it, and its tool ends (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:210 | [EXT:online-coop-undo] a take-back, whose step the host's journal decides (C5): the guest's own park asks the grant alone, the host and every peer the decided record's claims too |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:216 | [EXT:online-coop-undo] a coaster's last pylon goes by a take-back of the player's own (C5-3): the command itself is the host's tools' |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:229 | [EXT:online-coop-undo] Whether the host (<paramref name="player"/>) holds the claim of the ride its take-back is on (C5-3): the take-back's claimed ride, which the host's journal puts there, |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:245 | [EXT:online-coop-undo] a take-back on a claimed ride names it whatever the host decided, so a claim lost on its way refuses it by the rights (C5) |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:299 | [EXT:online-coop-undo] a take-back asks what its inverse would ask (C5); undecided, or refused by the host, it changes nothing |
| online-coop-undo | source/OpenTPW/Online/CoopBuildRights.cs:304 | drawn, also past a tile its writer would stop at; [EXT:online-coop-undo] and one that would change the protected track of another kart or water ride claimed against the player, laid on |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:258 | <summary>[EXT:online-coop-undo] The host's undo journal, which decides every take-back of the session (C5).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:260 | <summary>[EXT:online-coop-undo] The cell map the journal hears the changes of, unhooked at the end.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:331 | [EXT:online-coop-undo] the journal decides every take-back before its rights and its log, and hears every command's cell changes (C5) |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:339 | [EXT:online-coop-undo] and every change of a track tile (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:499 | [EXT:online-coop-undo] the journal takes the record: a step of its member's, a taken take-back's end, every change of a cell it tracks (C5) |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:851 | [EXT:online-coop-undo] a member that left its seat (or whose seat another took) takes back nothing any more: its steps leave the journal as they are (C5) |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:969 | [EXT:online-coop-undo] a take-back on a claimed ride, the step's ride the host put there (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopHostStream.cs:1546 | [EXT:online-coop-undo] the journal is its session's (C5) |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Guest.cs:131 | [EXT:online-coop-undo] the undo scenario (C5-1) |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Host.cs:143 | [EXT:online-coop-undo] the undo scenario (C5-1) |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Page.cs:151 | [EXT:online-coop-undo] A drag from <paramref name="from"/> to <paramref name="to"/> with the left button held (C5-2): natively a press, a frame held at the end and a release, one a frame; |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Page.cs:172 | [EXT:online-coop-undo] Backspace: natively the game's input, one Backspace of the frame as the window's typed keys give it (a tap of the keyboard holds a key's binding, which |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Park.cs:244 | <summary>[EXT:online-coop-undo] A frame with the left button held at <paramref name="point"/> (a drag, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:8 | [EXT:online-coop-undo] The live acceptance's undo scenario (C5-1; docs/COOP.md, "The live acceptance"): after the baseline's lines the guest lays a path line of two segments through the |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:32 | <summary>[EXT:online-coop-undo] Whether every one of <paramref name="cells"/> is a pool water cell of this game's park (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:210 | [EXT:online-coop-undo] a pool stroke drawn with the buy window's paint row, taken back whole by Backspace (C5-2) |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:226 | [EXT:online-coop-undo] A free owned row of <see cref="StrokeLength"/> + 1 cells the pool tool paints (C5-2), whose ends a click reaches in the middle of the view, clear of |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:258 | [EXT:online-coop-undo] The guest's pool stroke of the undo scenario (C5-2): a click on the buy window's paint row starts the pool tool; a press on a free owned cell and a drag to the cell |
| online-coop-undo | source/OpenTPW/Online/CoopLiveTest.Undo.cs:433 | [EXT:online-coop-undo] the guest's pool stroke, laid and taken back (C5-2) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:4 | [EXT:online-coop-undo] The host's undo journal (docs/COOP.md, "Conflicts and undo (C5)"; the user's decision Q14: undo of a player's own last commands under the normal refund rules): every |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:56 | <summary>[EXT:online-coop-undo] The most cells of each list a pool stroke's one inverse takes (<see cref="ParkCommandCodec.MaximumCells"/>, C5-2; a test lowers it).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:63 | <summary>[EXT:online-coop-undo] The track tiles the running command changed, with their records before its first change of each (<see cref="TrackCellLayer.Changed"/>, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:75 | What a marker left changed on its cell: link bits, any other field (type, flags but a wave machine's, counter, owner, queue link, residue), and [EXT:online-coop-undo] a wave |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:88 | [EXT:online-coop-undo] What differs between the track tile records <paramref name="was"/> and <paramref name="now"/> (C5-3): of the fields <paramref name="after"/> differs from |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:135 | The tools a step belongs to: a take-back takes back the member's last step of its tool (lines: the path and queue tools together; a slide's pieces: per tower; [EXT:online-coop-undo] a |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:141 | What a step's undo is: [EXT:online-coop-undo] a kart or water track line's and a coaster pylon's included (C5-3), and their tombstones, a line or pylon whose claim ended or changed hands, |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:146 | <summary>[EXT:online-coop-undo] A member's kart or water line tool on one ride as the host follows it from the member's records (C5-3): off (absent), on with its stack's depth, or closed.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:178 | <summary>A slide piece's index on its slide and its cell; [EXT:online-coop-undo] a coaster pylon's index on its chain and its cell (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:181 | <summary>[EXT:online-coop-undo] A coaster pylon's node, which the coaster's last node must be for its take-back (C5-3): a pylon taken off and another placed there since is no longer it.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:183 | <summary>[EXT:online-coop-undo] A pool stroke's entry (C5-2): the stroke it belongs to, named by the record of its first command; −1 for any other step.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:191 | <summary>[EXT:online-coop-undo] The track tiles of <see cref="Changes"/> with their records before and right after the step's record (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:193 | <summary>[EXT:online-coop-undo] A track line's or a pylon's seat, whose claim of its ride it needs (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:195 | <summary>[EXT:online-coop-undo] The depth of the line tool's stack the line was laid on (C5-3): its take-back's first-line flag is set at depth one.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:197 | <summary>[EXT:online-coop-undo] The tiles a track line laid, and those whose overlap counter it raised by one (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:200 | <summary>[EXT:online-coop-undo] A track line visited a tile at the counter's limit, which rose by nothing: its clear would count it down all the same (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:210 | <summary>[EXT:online-coop-undo] Whether it is a step that needs its ride's claim, held since it was laid: a track line or a coaster pylon (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:212 | <summary>[EXT:online-coop-undo] Whether it is a tombstone (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:224 | [EXT:online-coop-undo] The member's open pool stroke (C5-2): its name (the record of its first command), its mode and its river option. A command with the first marker opens a new |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:229 | [EXT:online-coop-undo] The strokes the bounds took an entry of and that keep another: their take-back is too long ago (C5-2). A stroke leaves with its last entry, after which the |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:233 | <summary>[EXT:online-coop-undo] How many entries of each of the member's strokes are steps (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:235 | <summary>[EXT:online-coop-undo] The member's kart and water line tool on each ride (C5-3): a ride whose tool is off has none.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:238 | [EXT:online-coop-undo] How many of the member's track lines and coaster pylons on each ride are steps, and how many are tombstones (C5-3): a kart or water ride's lines, a coaster's |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:244 | [EXT:online-coop-undo] The seat the member's track lines and pylons were laid by, whose claim they need (C5-3): a member keeps its seat (another member of the seat is another member). |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:277 | <summary>[EXT:online-coop-undo] A real change of a track tile inside the running command (<see cref="TrackCellLayer.Changed"/>, C5-3): it only adds to a set.</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:298 | <summary>[EXT:online-coop-undo] The strokes of <paramref name="member"/> the bounds clipped that keep an entry (tests, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:304 | <summary>[EXT:online-coop-undo] <paramref name="member"/>'s line tool on <paramref name="ride"/> as the journal follows it: null off, else closed or on with its depth (tests, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:308 | <summary>[EXT:online-coop-undo] <paramref name="member"/>'s track lines that are steps, and those that are tombstones (tests, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:312 | <summary>[EXT:online-coop-undo] <paramref name="member"/>'s coaster pylons that are steps, and those that are tombstones (tests, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:316 | <summary>[EXT:online-coop-undo] The depth a track line of record <paramref name="record"/> was laid on, null for none (tests, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:378 | [EXT:online-coop-undo] a pool stroke's command opens or continues its member's stroke, accepted or not (C5-2); a take-back of the member's closes it |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:382 | [EXT:online-coop-undo] the member's kart or water line tool follows its track commands, accepted or not; a line laid on it is a step at its depth (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:390 | each step keeps its effects, its cells' fields before and right after it, [EXT:online-coop-undo] and its track tiles' (C5-3): a take-back removes its record only where it |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:415 | [EXT:online-coop-undo] a cut changes its ride's track under every line laid on it, and a coaster's node edit, swap or cut its chain under every pylon: they become tombstones (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:422 | [EXT:online-coop-undo] The ride an accepted command changes under every track line or pylon laid on it (C5-3): a kart or water ride's cut; a coaster's node edit (its press, its steps and |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:433 | What a record left changed on <paramref name="cell"/>: its fields from their values before it (<paramref name="before"/>) to now, [EXT:online-coop-undo] and its track tile's |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:502 | [EXT:online-coop-undo] a kart or water track line laid on its member's line tool (C5-3, FollowLineTool) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:505 | [EXT:online-coop-undo] a pylon a coaster tool's click placed (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:508 | [EXT:online-coop-undo] a pool stroke's commands, each an entry of its stroke with the cells it wrote (C5-2): a host's cell, a guest's batch paired cell by cell with its writes |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:587 | [EXT:online-coop-undo] The member's stroke a pool command belongs to (C5-2): a new one named by <paramref name="record"/> when the command is a stroke's first, the member has none open, or |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:600 | [EXT:online-coop-undo] An entry of <paramref name="stroke"/> (C5-2): the cells it painted or erased (<paramref name="written"/>) and those it only river-marked, its footprint; its inverse |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:623 | [EXT:online-coop-undo] A kart or water track line of <paramref name="member"/>'s, laid on its tool at <paramref name="depth"/> (C5-3): the tiles it laid (all four cells of each) and the |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:652 | [EXT:online-coop-undo] A pylon <paramref name="member"/>'s click placed on a coaster (C5-3): its record, the station, its index on the chain (the node new pylons follow, which the placement |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:669 | [EXT:online-coop-undo] The member's kart or water line tool on a ride, followed from its record (C5-3): every transition of the tool's stack is one of the member's commands, so the host |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:741 | [EXT:online-coop-undo] Turns every member's track lines or pylons on <paramref name="ride"/> into tombstones (C5-3): a cut changed the ride's track under them, or a node edit or a swap the |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:756 | [EXT:online-coop-undo] After every record (C5-3): a member's track lines and pylons on a ride whose claim its seat does not hold now (released, expired, taken by another, gone with its |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:783 | [EXT:online-coop-undo] Turns <paramref name="step"/>, a live track line or pylon, into its tombstone where it stood in its member's list (C5-3): it leaves as a step left for good (its records |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:831 | [EXT:online-coop-undo] a stroke that lost an entry is too long ago as a whole (C5-2) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:846 | [EXT:online-coop-undo] a track line's or a pylon's counts (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:851 | [EXT:online-coop-undo] a stroke's last entry takes the stroke out of the member's sets (C5-2) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:901 | [EXT:online-coop-undo] and its track tile's, field by field, the mask, link and flags bit by bit (C5-3) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1038 | [EXT:online-coop-undo] a taken track line pops the member's line tool back to the depth it was laid on; a take-back whose walk found the circuit valid ends the tool, as the |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1157 | [EXT:online-coop-undo] the claimed ride is the step's own, live or a tombstone, whatever verdict follows (C5-3): the rights ask its claim of the member |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1173 | [EXT:online-coop-undo] The ride a take-back of <paramref name="id"/>'s is on (C5-3): the track line or the pylon it names, a step or a tombstone of the member's, puts its ride there (a |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1182 | [EXT:online-coop-undo] a pool stroke's take-back takes its entries as one step set (C5-2) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1190 | [EXT:online-coop-undo] a track line or a pylon whose claim ended or changed hands, or whose ride a cut, a node edit or a swap changed, is a tombstone: changed, before the last-step |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1247 | [EXT:online-coop-undo] a kart or water track line (C5-3): its tool's own Backspace, the directional clear with the first-line flag its depth gives (the pop that leaves one point) |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1258 | [EXT:online-coop-undo] a coaster pylon (C5-3): the coaster tool's own Backspace, which takes the last pylon off |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1279 | [EXT:online-coop-undo] A pool stroke's take-back (C5-2): the member's entries of the stroke it names (its first command's record), taken as one step set when it is the member's newest |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1374 | [EXT:online-coop-undo] on a track tile a marker that left the tile's identity, counter and arms alone (a walk's refresh: its flow link, step number, piece) leaves the count-down as |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1384 | [EXT:online-coop-undo] Whether <paramref name="entry"/>, a later change of a cell a stroke only river-marked, leaves that mark's take-back exact (C5-2): the inverse takes the river flag off |
| online-coop-undo | source/OpenTPW/Online/CoopUndoJournal.cs:1419 | [EXT:online-coop-undo] a track tile's identity, counter and arms as they were: what the count-down reads (C5-3) |
| online-coop-undo | source/OpenTPW/UI/Original/SupplementaryStrings.cs:451 | <summary>[EXT:online-coop-undo] A take-back refused: a later command of another player's changed the step (C5).</summary> |
| online-coop-undo | source/OpenTPW/UI/Original/SupplementaryStrings.cs:453 | <summary>[EXT:online-coop-undo] A take-back refused: its undo could not do all of its work now (C5).</summary> |
| online-coop-undo | source/OpenTPW/UI/Original/SupplementaryStrings.cs:455 | <summary>[EXT:online-coop-undo] A take-back refused: no step of this player's with this tool, or not its last (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:66 | [EXT:online-coop-undo] A line writer whose Backspace in a shared park is a take-back the host decides (docs/COOP.md, "Conflicts and undo (C5)"): the path and queue tools' (C5-1) and the kart and |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:221 | [EXT:online-coop-undo] in a shared park that guard ends the tool before the line goes, so the host, which sees no tool's stack, is never left a line that ended its tool as a |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:364 | [EXT:online-coop-undo] Why the tool's last Backspace took nothing back in a shared park (C5): the host's refused take-back, or a segment the tool loaded, which no step of its player's |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:369 | <summary>[EXT:online-coop-undo] The refusal of the last Backspace, once (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:387 | [EXT:online-coop-undo] in a shared park a path, queue (C5-1) or track (C5-3) segment is taken back through the host's journal: one that laid nothing pops as in single player |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:414 | [EXT:online-coop-commands] a guest's Backspace in its track tool goes to the host first, under the ride's claim (C3c-1b), [EXT:online-coop-undo] and in its path or queue tool as a |
| online-coop-undo | source/OpenTPW/World/CellBuildTool.cs:432 | <summary>[EXT:online-coop-undo] Takes <paramref name="segment"/>, the stack's last, off the tool's stacks as the undo pops it, and goes on from its start (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/CellPredictionMoney.cs:4 | [EXT:online-coop-undo] A copy of the bank's balance a prediction pays with (C5-2's pool strokes, <see cref="PoolBuilder.PredictionMoney"/>; C5-3's track lines, |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterRequestQueue.cs:207 | <summary>[EXT:online-coop-undo] The stream record that holds the command once it applied, null for none: a click's names the pylon it placed, which the panel's Backspace takes back (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:69 | [EXT:online-coop-undo] The records of the pylons this panel's clicks placed in a shared park, oldest first (C5-3): its Backspace takes back the newest, and pops it once taken. A panel keeps |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:86 | [EXT:online-coop-undo] Whether the park is a shared one (C5-3): Backspace is then a take-back of the player's own last pylon, the host's and every guest's alike, which the host's journal |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:91 | <summary>[EXT:online-coop-undo] Whether the panel's Backspace takes back its player's own last pylon (C5-3, <see cref="InSharedPark"/>).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:94 | <summary>[EXT:online-coop-undo] The records of the panel's own pylons its Backspace can still take back, oldest first (tests, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:97 | <summary>[EXT:online-coop-undo] The host's click placed a pylon in a shared park: the record its Backspace takes back (C5-3; a guest's comes back with its click's outcome).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:873 | [EXT:online-coop-undo] a pylon it placed is the player's own, named by its record, which the panel's Backspace takes back (C5-3) |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:884 | [EXT:online-coop-commands] A guest's Backspace (C3c-2): [EXT:online-coop-undo] a take-back of its newest own pylon goes to the host and the panel waits (C5-3); it pops that pylon once |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:903 | [EXT:online-coop-undo] The host's Backspace in a shared park (C5-3): a take-back of its newest own pylon, issued at once, which its journal decides as a guest's; the pylon is popped once |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:917 | <summary>[EXT:online-coop-undo] The take-back of the pylon of <paramref name="record"/>: a request names it by its record alone, and the host fills its ride (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:942 | <summary>[EXT:online-coop-undo] What a guest's Backspace in the coaster tool did (C5-3, <see cref="CoasterToolPanel.SendBackspace"/>).</summary> |
| online-coop-undo | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:960 | <summary>Backspace: [EXT:online-coop-undo] the take-back of the player's own last pylon (<see cref="TakeBackCommand"/>, C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/CoasterCommands.cs:27 | [EXT:online-coop-undo] Whether the click placed a pylon (a close or a completion places none): a shared park's journal makes it a step of its player's, and the issuer's panel keeps its record |
| online-coop-undo | source/OpenTPW/World/Commands/CoasterCommands.cs:187 | [EXT:online-coop-undo] In a shared park it is the host's tools' alone: every player's Backspace is a take-back of its own last pylon, which the host's journal decides (C5-3). |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommand.cs:168 | <summary>[EXT:online-coop-undo] A building tool's Backspace in a shared park, decided by the host's undo journal (<see cref="TakeBackCommand"/>, C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandCodec.cs:17 | cancellation that names its purchase too (C4b-2), and [EXT:online-coop-undo] <see cref="StrokeVersion"/> for a pool stroke's first command in a shared park (C5-2) and |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandCodec.cs:34 | [EXT:online-coop-undo] The generation of a pool stroke's first command in a shared park (C5-2, <see cref="IPoolStrokeCommand.First"/>): a paint or erase cell of the host's or a guest's |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandCodec.cs:40 | [EXT:online-coop-undo] The generation of a track line in a shared park whose click keeps the line tool after a close (C5-3, <see cref="LayTrackLineCommand.KeepsTool"/>): its fields are |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandCodec.cs:124 | [EXT:online-coop-undo] version 5 is a pool stroke's first command in a shared park (C5-2) |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandCodec.cs:127 | [EXT:online-coop-undo] version 6 is a track line that keeps its tool in a shared park (C5-3) |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:6 | vertex stack, its start and its ghost stay the issuer's own state. [EXT:online-coop-undo] In a shared park a segment keeps the record that laid it, and its undo is a take-back the |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:18 | <param name="hostRecord">[EXT:online-coop-undo] On a session's host: the record its stream took last, the record of a line the host just laid (C5); null elsewhere.</param> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:49 | [EXT:online-coop-undo] its segment keeps its request's record (C5) |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:57 | [EXT:online-coop-undo] the host's segment keeps the record its stream just took (C5) |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:83 | <summary>[EXT:online-coop-undo] Every player's segments are its tool's to take back; in a shared park through the host's journal (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:86 | <summary>[EXT:online-coop-undo] Whether the tool's Backspace is a take-back the host decides (C5): in a shared park, the host's and a guest's alike.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:89 | <summary>[EXT:online-coop-undo] Whether <paramref name="segment"/> did anything a take-back takes back: a cell it built, or for a path a cell it crossed (C5); one that laid nothing pops at once, as in single player.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:92 | <summary>[EXT:online-coop-undo] The take-back of <paramref name="segment"/> by its record (C5): the issuer's selected ride rides along, which the host uses for its own alone.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommandLineWriter.cs:95 | <summary>[EXT:online-coop-undo] The host's own take-back of <paramref name="segment"/> in a shared park (C5): its result, at once.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommands.cs:209 | [EXT:online-coop-undo] The host's decision of a command before its rights, its run and its log (C5): a take-back gets its verdict and inverse from the host's undo journal |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommands.cs:215 | <summary>[EXT:online-coop-undo] Raised before the outermost command runs, after its rights allowed it (C5): the host's undo journal starts collecting its cell changes.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/ParkCommands.cs:255 | [EXT:online-coop-undo] the host decides a take-back before its rights and its log, so both see the decided command (C5); a scheduled one (a replay) applies as it was decided |
| online-coop-undo | source/OpenTPW/World/Commands/PoolCommands.cs:28 | [EXT:online-coop-undo] A paint or erase command of a pool stroke, which a shared park's undo journal gathers into its strokes (C5-2): the first command of a stroke says so |
| online-coop-undo | source/OpenTPW/World/Commands/TakeBackCommands.cs:3 | <summary>[EXT:online-coop-undo] What the host decided about a take-back (<see cref="TakeBackCommand"/>, C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/TakeBackCommands.cs:25 | [EXT:online-coop-undo] Backspace in a building tool of a shared park (docs/COOP.md, "Conflicts and undo (C5)"): takes back the issuing player's last step of that tool, which the |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:32 | [EXT:online-coop-undo] In a shared park, the issuer's continuation after a line that closes the circuit (C5-3): its click's exactly Ctrl with no queue start pending (UI-031), so the line |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:102 | (C3c-1b): the tool waits for each outcome, which lays or takes back the line and moves the tool on from there. [EXT:online-coop-undo] In a shared park a line keeps the record that laid it and |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:115 | <param name="continueTool">The issuer's tool step after a walk that found a valid circuit: [EXT:online-coop-undo] in a shared park with the restart its line carried, else null (the click's own).</param> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:116 | <param name="keepsTool">[EXT:online-coop-undo] The issuer's restart after a closing line, read at its click (exactly Ctrl and no queue start pending, UI-031); a shared park's line carries it (C5-3).</param> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:117 | <param name="hostRecord">[EXT:online-coop-undo] On a session's host: the record its stream took last, the record of a line the host just laid (C5-3); null elsewhere.</param> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:140 | <summary>[EXT:online-coop-undo] Whether the tool's Backspace is a take-back the host decides (C5-3): in a shared park, the host's and a guest's alike.</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:145 | [EXT:online-coop-undo] a shared park's line carries its click's restart, which its continuation follows and the host's journal reads (C5-3); single player's lines keep their bytes |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:148 | a guest's line goes to the host (C3c-1b): nothing is laid yet, and the tool waits for the line's outcome, whose walk moves the tool on from there; [EXT:online-coop-undo] its segment |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:157 | [EXT:online-coop-undo] the host's segment keeps the record its stream just took, read before the continuation (C5-3) |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:197 | [EXT:online-coop-undo] The take-back of a line by its record (C5-3): a request names no ride and no first-line flag, which the host's journal derives from the line's own step. |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:203 | <summary>[EXT:online-coop-undo] Every line that reaches the stack laid or met a tile; a segment the tool loaded (no record) was laid by no step of its player's, which its Backspace says (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:209 | <summary>[EXT:online-coop-undo] The host's taken take-back moves the tool on as its undo's walk once moved it (C5-3).</summary> |
| online-coop-undo | source/OpenTPW/World/Commands/TrackCommands.cs:222 | [EXT:online-coop-undo] in a shared park a take-back by the line's record (C5-3) |
| online-coop-undo | source/OpenTPW/World/Level.Coasters.cs:441 | [EXT:online-coop-undo] in a shared park Backspace takes back the player's own last pylon (C5-3) |
| online-coop-undo | source/OpenTPW/World/Level.Coasters.cs:538 | [EXT:online-coop-commands] A guest's Backspace in the coaster tool (C3c-2), [EXT:online-coop-undo] the take-back of its own last pylon (C5-3): one at a time, not during a drag, when a waiting |
| online-coop-undo | source/OpenTPW/World/Level.Coasters.cs:675 | [EXT:online-coop-undo] in a shared park the host's panel keeps the record of each pylon its click placed, which its Backspace takes back (C5-3) |
| online-coop-undo | source/OpenTPW/World/Level.Commands.cs:144 | [EXT:online-coop-undo] Runs the inverse a take-back carries (<see cref="TakeBackCommand"/>, C5): the tool's own undo of the step, as the take-back's player, inside the take-back's run |
| online-coop-undo | source/OpenTPW/World/Level.Objects.cs:662 | <see cref="PoolEraseBlock(int, int)"/> with the rules that read the cells read on <paramref name="map"/> (null: the park's): [EXT:online-coop-undo] a take-back's prediction asks it of its |
| online-coop-undo | source/OpenTPW/World/Level.Objects.cs:936 | [EXT:online-coop-undo] in a shared park the slide mode's Backspace takes back the tool's own newest piece, which the host's journal decides (C5) |
| online-coop-undo | source/OpenTPW/World/Level.Objects.cs:952 | <summary><see cref="IsPathBlocked(int, int)"/> with the land a slide reserves read on <paramref name="map"/> ([EXT:online-coop-undo] a take-back's prediction's copy, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Level.Slides.cs:69 | [EXT:online-coop-undo] its pieces went with it: no step of its slide can be taken back any more, whatever tower is built on its anchor next (C5) |
| online-coop-undo | source/OpenTPW/World/Level.TrackUndo.cs:4 | [EXT:online-coop-undo] [EXT:online-coop-claims] The kart and water track tools in a shared park's undo (docs/COOP.md, "Conflicts and undo (C5)"; C5-3): the prediction of a track line's |
| online-coop-undo | source/OpenTPW/World/Level.TrackUndo.cs:38 | [EXT:online-coop-undo] Whether a track line's take-back by <paramref name="inverse"/> would do exactly the line's work back now (C5-3): every tile it laid still a tile of the ride and every |
| online-coop-undo | source/OpenTPW/World/Level.Tracks.cs:239 | The issuer's machine alone takes it ([EXT:online-coop-commands]: a peer's or a replayed command moves no tool). [EXT:online-coop-undo] In a shared park a line's continuation follows the |
| online-coop-undo | source/OpenTPW/World/Level.Tracks.cs:525 | [EXT:online-coop-undo] The restart a track line's click asks for after a close (UI-031): its exactly Ctrl with no placement's queue start pending (<see cref="ContinueTrackTool"/>), read at the |
| online-coop-undo | source/OpenTPW/World/Level.Undo.cs:4 | [EXT:online-coop-undo] The predictions of a take-back's inverse (docs/COOP.md, "Conflicts and undo (C5)"): the host runs the step's own undo on a disposable copy of the cells |
| online-coop-undo | source/OpenTPW/World/Level.Undo.cs:11 | <summary>[EXT:online-coop-undo] The host's undo journal while this park is a session's host (C5), set by its stream; null otherwise.</summary> |
| online-coop-undo | source/OpenTPW/World/Level.Undo.cs:117 | [EXT:online-coop-undo] Whether a pool stroke's inverse <paramref name="inverse"/> would take the stroke back whole now (C5-2): its own code (<see cref="UndoPoolStrokeCommand"/>) runs on a |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:106 | [EXT:online-coop-undo] The fields of one map cell that a change compares (C5, <see cref="ParkCellMap.Changed"/>): its type, flags, placement counter, links, queue link, owner word, and |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:166 | [EXT:online-coop-undo] A disposable copy of <paramref name="source"/> for a take-back's prediction (C5, <see cref="CopyForPrediction"/>): every cell array, the residue's provenance, the |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:198 | [EXT:online-coop-undo] A copy of the map a take-back's prediction runs the step's own undo on (C5, <see cref="CoopUndoJournal"/>): it may write anything, and the park's own map never |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:827 | [EXT:online-coop-undo] Told of every real change of a cell's fields (<see cref="FieldsAt"/>), with the cell and its fields before the change: the host's undo journal while a |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:832 | <summary>[EXT:online-coop-undo] The fields of the cell at <paramref name="index"/> that a change compares (C5): every array a setter writes, and the queue-pass residue's provenance.</summary> |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:835 | <summary>[EXT:online-coop-undo] The fields of (<paramref name="x"/>, <paramref name="y"/>) that a change compares (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/ParkCellMap.cs:838 | <summary>[EXT:online-coop-undo] Tells <see cref="Changed"/> of the cell's change when its fields differ from <paramref name="before"/> (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/ParkPathBuilder.cs:67 | [EXT:online-coop-undo] The record of the session's stream that laid the segment (C5): the host's own from its stream, a guest's from its request; null in single player, and for a |
| online-coop-undo | source/OpenTPW/World/Pools/PoolAttractions.cs:187 | [EXT:online-coop-undo] The sites as <paramref name="map"/> holds their water, uncached: a take-back's prediction reads its copy of the cells (C5-2). Sites given directly are those. |
| online-coop-undo | source/OpenTPW/World/Pools/PoolAttractions.cs:243 | <see cref="IsAccessCell(int, int)"/> read on <paramref name="map"/>: [EXT:online-coop-undo] a take-back's prediction asks it of its copy of the cells, so a water cell its walk erased earlier |
| online-coop-undo | source/OpenTPW/World/Pools/PoolBuilder.cs:57 | <summary>[EXT:online-coop-undo] In a shared park, the stroke's name: the record of its first command, which its take-back names (C5-2); null elsewhere.</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolBuilder.cs:114 | [EXT:online-coop-undo] The money a take-back's prediction pays with (C5-2): set, the builder's money tests and charges read and spend this copy of the bank's balance, by the bank's own |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:17 | <summary>[EXT:online-coop-undo] The reason the host's journal refused a slide's take-back for (C5), said by its note; null when taken, or when it met a finished slide (quiet).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:19 | <summary>[EXT:online-coop-undo] The slide mode the stroke was drawn in (<see cref="PoolTool.InSlideSession"/>), so a late outcome acts on that slide mode alone (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:21 | <summary>[EXT:online-coop-undo] The paint or erase mode a stroke's take-back was sent from (<see cref="PoolTool.InPaintSession"/>), which its rights refusal ends (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:52 | <summary>[EXT:online-coop-undo] Whether the slide mode's Backspace is a take-back the host decides (C5): in a shared park, the host's and a guest's alike.</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:55 | <summary>[EXT:online-coop-undo] On a session's host: the record its stream took last, the record of a piece the host just laid (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:59 | [EXT:online-coop-undo] The slide pieces this tool laid in a shared park (C5), oldest first: each one's tower, record and ordinal within its record, the step a take-back names. The slide |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:64 | <summary>[EXT:online-coop-undo] Each start of the slide mode (<see cref="BeginSlide"/>); a stroke keeps the one it was drawn in (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:67 | <summary>[EXT:online-coop-undo] Whether the slide mode started as <paramref name="session"/> is still on (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:70 | <summary>[EXT:online-coop-undo] Each start of the paint or erase mode (<see cref="Begin"/>); a stroke's take-back keeps the one it was sent from (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:73 | <summary>[EXT:online-coop-undo] Whether the paint or erase mode started as <paramref name="session"/> is still on (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:77 | [EXT:online-coop-undo] The guest's own strokes in a shared park that wrote something, oldest first, each by its name: the record of the batch that opened it (C5-2). Backspace takes back |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:82 | <summary>[EXT:online-coop-undo] Each run of the tool, from its start to its end (<see cref="Cancel"/>): a guest's stroke keeps the one it was drawn in (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:85 | <summary>[EXT:online-coop-undo] The name of the guest's newest own stroke, which its Backspace takes back, or null (C5-2; the live acceptance reads it).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:88 | <summary>[EXT:online-coop-undo] The newest piece this tool laid on <paramref name="tower"/>'s slide, or null (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:105 | <summary>[EXT:online-coop-undo] The slide mode it was drawn in (C5); for a stroke's take-back, the paint or erase mode it was sent from (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:107 | <summary>[EXT:online-coop-undo] The tool's run it was drawn in (<see cref="toolRun"/>): a late outcome of a run the tool has left names no stroke of the new one (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:124 | [EXT:online-coop-undo] In a shared park, its name once a batch that opened it came back with a record (C5-2): its later batches go only then, and while none has, the next batch opens |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:128 | <summary>[EXT:online-coop-undo] The batch that opens it, sent and not yet back (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:130 | <summary>[EXT:online-coop-undo] The cells it took, which a shared park bounds (<see cref="SessionStrokeCells"/>, C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:143 | <summary>[EXT:online-coop-undo] The own piece a slide's take-back names, chosen when it goes (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:145 | <summary>[EXT:online-coop-undo] Whether it opens its stroke (the first marker), and the own stroke a stroke's take-back names, chosen when it goes (C5-2).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:187 | [EXT:online-coop-undo] in a shared park a stroke that took its most cells ends, and the drag goes on as a new one (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:224 | [EXT:online-coop-undo] The paint or erase mode's Backspace of a guest in a shared park (C5-2): the take-back of its newest own stroke goes behind the strokes' cells, one at a time (a |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:267 | [EXT:online-coop-undo] a slide's take-back waits for the pieces sent before it, so it names the newest piece the tool laid (C5), and a stroke's for the cells sent before it (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:272 | [EXT:online-coop-undo] in a shared park a stroke's later batches wait for the answer of the batch that opens it, whose record names the stroke (applied: accepted, or refused by |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:345 | [EXT:online-coop-undo] a take-back of the tool's own newest piece, which the host's journal decides (C5), or of its own newest stroke (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:367 | [EXT:online-coop-undo] the pieces a batch laid are the tool's own, each by its record and ordinal, while the slide mode it was drawn in is on (a late outcome of an earlier one adds |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:377 | [EXT:online-coop-undo] a batch that opened its stroke names it by its record when the host applied it, accepted or refused by the park; a stroke that wrote is the tool's own while |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.Guest.cs:483 | [EXT:online-coop-undo] a slide's take-back the journal refused says why, but one that met a finished slide says nothing, as the host's Backspace there (C5); a stroke's says |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:15 | [EXT:online-coop-undo] The cells a stroke tries at most in a shared park (C5-2): there the tool ends a stroke that has tried this many and the drag goes on as a new one, for the host and a |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:20 | <summary>[EXT:online-coop-undo] The cells this tool's stroke tries at most in a shared park: <see cref="SessionStrokeCells"/> (a test lowers it).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:23 | <summary>[EXT:online-coop-undo] The host's stroke in a shared park (C5-2): its next paint or erase command opens it (the first marker), its name, and the cells it tried.</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:139 | [EXT:online-coop-undo] a paint or erase mode's Backspace refused by the rights ends that mode alone (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:172 | [EXT:online-coop-undo] a slide mode takes back only the pieces it laid itself, as a line tool its own segments (C5) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:258 | [EXT:online-coop-undo] the host's press opens a stroke in a shared park: its first command says so (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:280 | [EXT:online-coop-undo] in a shared park a stroke that tried its most cells ends, and the drag goes on as a new one (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:339 | [EXT:online-coop-undo] The host's stroke that tried its most cells in a shared park ends where the drag is (C5-2): what it wrote goes onto the stack as a stroke of its own, as a release |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:359 | <summary>[EXT:online-coop-undo] Why the host's last Backspace in the slide mode took nothing back in a shared park (C5): its refused take-back.</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:362 | <summary>[EXT:online-coop-undo] The refusal of the last Backspace, once (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:389 | [EXT:online-coop-undo] the host's in a shared park takes back its own newest piece through its journal (C5): with none, nothing, quietly |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:405 | [EXT:online-coop-commands] a guest's strokes are the host's to undo: their undo names its cells freely; [EXT:online-coop-undo] in a shared park its Backspace is a take-back of its own |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:417 | [EXT:online-coop-undo] the host's in a shared park takes back its own newest stroke through its journal, and pops it only when it was taken (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:466 | [EXT:online-coop-undo] a guest's own strokes go with the run, as the host's stack does: a late outcome of this run names none of the next (C5-2) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:519 | [EXT:online-coop-undo] the host's piece in a shared park is its own, by the record its stream just took (C5) |
| online-coop-undo | source/OpenTPW/World/Pools/PoolTool.cs:531 | [EXT:online-coop-undo] in a shared park the stroke's first command says so, and its record names the stroke (C5-2) |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackBuilder.cs:44 | [EXT:online-coop-undo] The money a prediction pays with (C5-3, a line predicted on a copy of the park): set, the builder's money tests and charges read and spend this copy of the bank's |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackBuilder.cs:183 | [EXT:online-coop-undo] a prediction pays with its copy of the balance (C5-3) |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackCell.cs:121 | <summary>[EXT:online-coop-undo] Whether every field of <paramref name="other"/> equals this record's (C5-3): what a change of a tile compares, so a write of the same values is none.</summary> |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackCell.cs:150 | <summary>[EXT:online-coop-undo] A copy of <paramref name="source"/> that a prediction may write (C5, <see cref="ParkCellMap.CopyForPrediction"/>).</summary> |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackCell.cs:160 | <summary>[EXT:online-coop-undo] A disposable copy of the layer (C5).</summary> |
| online-coop-undo | source/OpenTPW/World/Tracks/TrackCell.cs:177 | [EXT:online-coop-undo] Told of every real change of a tile's record (<see cref="TrackCell.SameAs"/>), with the cell and its record before the change: the host's undo journal while a |
| online-email | source/OpenTPW.Server/EmailSender.cs:19 | [EXT:online-email] Sends through the Resend API (<c>POST https://api.resend.com/emails</c>). The API key comes from the |
| online-email | source/OpenTPW.Server/EmailTexts.cs:7 | [EXT:online-email] Account e-mails in the nine languages of the game (the player's game language, else English). |
| online-email | source/OpenTPW.Server/ServerProgram.cs:115 | [EXT:online-email] account e-mails go through Resend when a key is set; without one, e-mail is off |
| online-email | source/OpenTPW.Server/ServerProgram.cs:414 | [EXT:online-email] the address of a new account, confirmed with a code; then recovery by e-mail. |
| online-email | source/OpenTPW/Online/OnlineScreens.cs:1265 | [EXT:online-email] recovery by e-mail; the server answers the same whether the account exists |
| online-email | source/OpenTPW/Online/OnlineScreens.cs:1323 | [EXT:online-email] the recovery address of the new account, confirmed with a code before the account exists |
| online-email | source/OpenTPW/Online/OnlineScreens.cs:1361 | [EXT:online-email] Recovery by e-mail: a code sent to the account's address sets a new password, and on request sets up |
| online-email | source/OpenTPW/Online/OnlineSession.cs:449 | <summary>[EXT:online-email] Sends a code to the address of the waiting setup's new account.</summary> |
| online-email | source/OpenTPW/Online/OnlineSession.cs:457 | <summary>[EXT:online-email] Asks the server to send a recovery code for a player name or e-mail address.</summary> |
| online-email | source/OpenTPW/Online/OnlineSession.cs:464 | <summary>[EXT:online-email] Sets a new password with the recovery code; then log in as usual.</summary> |
| online-globe-audio | source/OpenTPW/Audio/GameAudio.cs:626 | [EXT:online-globe-audio] the globe is the online extension's screen: its music and ambience replace the lobby's, which OpenTPW stops while the globe plays and restarts after it |
| online-globe-city-labels | source/OpenTPW/Online/OnlineScreens.cs:157 | [EXT:online-globe-city-labels] the labels are drawn as plain text, without the hilight model their table entries bind with |
| online-globe-edge-gate | source/OpenTPW/Online/OnlineGlobeScreen.cs:50 | [EXT:online-globe-edge-gate] edge steering starts once the cursor has moved on this screen, so a cursor resting in a |
| online-globe-pin-radius | source/OpenTPW/World/Lobby/GlobeScene.cs:20 | [EXT:online-globe-pin-radius] pins stand on the mesh surface (radius 119.7); the cities come from the OpenTPW server's own |
| online-globe-steering | source/OpenTPW/World/GlobeCameraMode.cs:66 | [EXT:online-globe-steering] edge and right-button steering add rate × offset × step per tick (the fixed tick above) to the |
| online-globe-tick | source/OpenTPW/World/GlobeCameraMode.cs:11 | [EXT:online-globe-tick] OpenTPW turns the globe on a fixed 30 ticks per second: rates, steps, damping and the radius ease |
| online-goto-leave-park | source/OpenTPW.Server/ChatHub.cs:730 | [EXT:online-goto-leave-park] the server refuses a goto into another park from inside a park with |
| online-park-details-players | source/OpenTPW/Online/OnlineScreens.cs:1508 | [EXT:online-park-details-players] OpenTPW's last row shows the players currently in the park's chat room |
| online-park-name-masking | source/OpenTPW.Server/ServerProgram.cs:509 | [EXT:online-park-name-masking] the original showed swear words in park names as asterisks (FAQ, S2), so the |
| online-park-record-copy | source/OpenTPW/World/Level.cs:172 | [EXT:online-park-record-copy] the setters 0x4E2950/0x4E2A50 also copy the lines to the original's online park record (0x409410, 0x5B0940/0x5B0970: wide characters into +0x34 and +0x76 of the 0x50-byte record DAT_00F7C58C with its dirty byte +0xB8, unless the GameType word is 1); OpenTPW's online extension keeps its own park records on the server and publishes the name from the park, so the copy is not made (user-approved 2026-10-30) |
| online-postcard-address-book | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:15 | [EXT:online-postcard-address-book] the postcard window (8:42) is the host composer that sends through OpenTPW's own server (user-approved 2026-10-30) |
| online-postcard-address-book | source/OpenTPW/Online/OnlineScreens.cs:1763 | [EXT:online-postcard-address-book] the address book window (table 0x7542b8, 0x4a8140) is not ported and the button stays disabled: recipients are typed (player names or addresses) and the postcard goes through OpenTPW's own server, not the original's outbox (user-approved 2026-10-30) |
| online-postcard-address-book | source/OpenTPW/World/Advisor.cs:279 | [EXT:online-postcard-address-book] [EXT:online-postcard-help] the help of the postcard window (307, posted by 0x4A8C00 outside game type 1) and of its address book (308, 0x4A8140) has no producer: OpenTPW's postcard composer is its own online window that posts no advisor help, and its address book is not ported (user-approved 2026-10-30) |
| online-postcard-help | source/OpenTPW/World/Advisor.cs:279 | [EXT:online-postcard-address-book] [EXT:online-postcard-help] the help of the postcard window (307, posted by 0x4A8C00 outside game type 1) and of its address book (308, 0x4A8140) has no producer: OpenTPW's postcard composer is its own online window that posts no advisor help, and its address book is not ported (user-approved 2026-10-30) |
| online-postcard-photo | source/OpenTPW/Online/OnlineScreens.cs:1787 | The original attached a photo of the park the card is sent from (manual p. 51/67). [EXT:online-postcard-photo] |
| online-publish-globe-prompt | source/OpenTPW/Online/OnlineScreens.cs:1626 | [EXT:online-publish-globe-prompt] UITEXT 419 ("Choose the city to publish in") shows in the name label while no city is |
| online-ride-hiding | source/OpenTPW.Server/ChatHub.cs:379 | [EXT:online-ride-hiding] a movement's mode (protocol 5) goes only to clients that send modes themselves; a hidden player's figure (riding a |
| online-ride-hiding | source/OpenTPW/Online/OnlineSession.cs:1044 | [EXT:online-ride-hiding] a hidden player's figure leaves the room's places until their next movement, which shows it again |
| online-ride-hiding | source/OpenTPW/Online/ParkPresenceState.cs:182 | [EXT:online-ride-hiding] every ride ends with the figure shown again at the ride's exit (Unhide): the original's return to the overview from a ride boarded there sends only a teleport (mode 1, 0x4BD260 → 0x4EA2D0), which leaves the hidden person hidden for the others |
| online-two-step | source/OpenTPW/Online/OnlineScreens.cs:1232 | [EXT:online-two-step] accounts without two-step login leave the code empty. |
| online-two-step | source/OpenTPW/Online/OnlineScreens.cs:1297 | [EXT:online-two-step] Shows the authenticator secret of <see cref="OnlineSession.Enrollment"/> as a QR code and as |
| online-two-step | source/OpenTPW/UI/Original/UiWidgets.cs:537 | [EXT:online-two-step] A QR code (for an authenticator app's <c>otpauth://</c> URI): black modules on a white panel with |
| online-visit | source/OpenTPW/Client/GameFlow.cs:465 | [EXT:online-visit] read-only visits of shared parks get no advisor (the original has no visits) |
| online-visit-arrivals | source/OpenTPW/World/Level.cs:928 | [EXT:online-visit-arrivals] the original's visit loaded the owner's uploaded save, a running park (docs/reverse/ONLINE-VISIT.md); a package carries the layout without the guests and the arrival timer, so a visit's arrivals start as those of an own park started from the save the visit is built on |
| online-visit-chat-mode | source/OpenTPW/Hud/ParkHud.VisitChat.cs:28 | [EXT:online-visit-chat-mode] F4's other side is OpenTPW's read-only HUD of the visit (its windows, the camera and the ride view), where the original's was the bare park; Enter over the park returns to the chat mode with the entry focused |
| online-visit-chat-mode | source/OpenTPW/Hud/ParkHud.cs:1091 | [EXT:online-visit-chat-mode] the chat overlay's panels lie along the screen's left and bottom edges, where the HUD leaves the edge band free: |
| online-visit-count-guard | source/OpenTPW.Server/ServerStore.cs:845 | [EXT:online-visit-count-guard] every visit earned the owner Platinum Tickets (FAQ, S2); OpenTPW's guard: an owner's |
| online-visit-presence | source/OpenTPW/Client/GameFlow.cs:462 | [EXT:online-visit-presence] a visit with a chat room (a downloaded park's, a chat satellite's) joins it and draws its players while logged in |
| online-visit-presence | source/OpenTPW/Online/ParkPresence.cs:48 | [EXT:online-visit-presence] the visit joins the park's room of OpenTPW's chat server and draws its players (ParkPresenceState) |
| online-visit-presence | source/OpenTPW/Online/ParkPresenceState.cs:80 | [EXT:online-visit-presence] OpenTPW's server relays positions as fractions of the park (ChatProtocol "move"), sent several times a second while a figure walks, where the original sent the destination |
| online-visit-presence | source/OpenTPW/World/ThingPool.cs:45 | [EXT:developer-prototype] [EXT:online-visit-presence] [EXT:online-coop-presence] what the original builds that OpenTPW does not takes no slot: the developer prototype ride (OpenTPW only) and the online persons and avatars (drawn as presence figures, user-approved 2026-10-16); [EXT:resume-exact-thing-pool] an imported save's not-yet-rebuilt things hold a placeholder slot, see Hold (user-approved 2026-10-17: the original's thing would run on and be destroyed in time, and what each placeholder stands for is tracked by the SAVE IDs) |
| online-visit-settings | source/OpenTPW/World/Guests/GuestSimulation.cs:251 | [EXT:online-visit-settings] a visit reads the group's Arrival.* keys from Standard.sam, where the original loads online_Standard.sam for GameType 1 (0x0051573C), and a read-only visit has no economy, so its groups count 0 park points: the online visit is OpenTPW's read-only extension, not the original's two-player park (docs/ONLINE.md) |
| online-word-filter | source/OpenTPW.Online/Moderation/WordFilter.cs:86 | [EXT:online-word-filter] OpenTPW's matching rule over the original lists: case-insensitive substring |
| opentpw-page | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:417 | [EXT:opentpw-page] button to the OpenTPW page, in the free area left of the OK panel |
| opentpw-page | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:446 | The OpenTPW page ([EXT:opentpw-page]): everything OpenTPW adds to the original options, built from the |
| opentpw-page | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| opentpw-page | source/OpenTPW/UI/Original/UiWidgets.cs:1001 | [EXT:opentpw-page] option-row arrow/value positions: OpenTPW's own row style for its page (the original page uses sliders and toggles) |
| option-label-fit | source/OpenTPW/UI/Original/UiWidgets.cs:192 | [EXT:option-label-fit] the wrap triggers on the label's ink width; 0x6aec80 compares the pen advances with the bitmap's width, which can differ by the glyph offsets (a pixel or two) |
| option-label-fit | source/OpenTPW/UI/Original/UiWidgets.cs:195 | [EXT:option-label-fit] when even the wrapped block is taller than the rectangle (the original would cut it off at both ends), the label stays on one line and, like the other OpenTPW fits, is not cut off at the box |
| option-label-fit | source/OpenTPW/UI/Original/UiWidgets.cs:227 | [EXT:option-label-fit] (it also skips the clip: a label wider than its box that cannot be wrapped into it is drawn on one line, uncut) option label size: letter box about 58 % of the label rectangle height (the capture's labels are ~26 of 1536 units for 45-unit rectangles), shared per page; a label whose widest value does not fit drops alone to the largest size that does; the original does no fitting and wraps an overflowing label into its rectangle through the text library (0x6ae930, 0x6aeb10, 0x6aec80), where OpenTPW shrinks it |
| option-label-fit | source/OpenTPW/UI/Original/UiWidgets.cs:259 | [BIN:TPW-EXE:0x6aec80 text wrap] a label that fits no size on one line is wrapped into its rectangle (UiLabel.Draw -> DrawTextAt), as the original's text library does; [EXT:option-label-fit] OpenTPW takes the largest size whose |
| options-fixed-rows | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:277 | [EXT:options-fixed-rows] the PC lets players change the 3D card, video card and audio quality; OpenTPW has no software renderer, card choice or audio quality, so those rows are shown fixed (disabled): OpenTPW scope |
| options-slider-steps | source/OpenTPW/UI/Original/UiWidgets.cs:853 | [EXT:options-slider-steps] OpenTPW's option sliders step through its own graphics presets and 11 volume steps and take the nearest step; the original's are 0..100 with the change handler 0x4a2e90 mapping the value to a resolution index (v × 2) / 100 and a quality index (k × v) / 100 (k 2, or 1 when [0x78d8d8] is 0) |
| options-slider-steps | source/OpenTPW/UI/Original/UiWidgets.cs:854 | [BIN:TPW-EXE:0x4a455a options slider range] the options page creates its sliders with the range 0..100 and no page setting (the default 1 stays), its change handler 0x4a2e90 only updates the setting's text and leaves the knob where it was dragged; the original-class mechanics are built for the sliders that use Truncates (research effort, object settings), and the options page's own presets and volume steps are [EXT:options-slider-steps] |
| original-engine-state-dumps | source/OpenTPW/Economy/OriginalEconomyImport.cs:978 | [EXT:original-engine-state-dumps] the raw dumps of the original's own engine structures that OpenTPW's engines have no counterpart for (the Scripts SCPT records: the sprite scripts of the saved guests and litter, which OpenTPW animates from their state and the cell; the RSSE scripts' object node tables, whose saved ids, list order, pass counter, run state, object lists, and walk, bounce and head tables are imported, RideScriptWorld.ImportSaved, RideVM.ImportSavedRunState and SavedScriptGraphImport; the Sound block's engine state: the sound flags, voice handles, crowd, rain and reverb words and the sound library's voice list (not QMixer data; the saved volumes and on-flags are applied, GameAudio.ApplySavedSound); the message-centre lists and the Flying ride chunks; the Track ride chunks are restored, TRACK-032) are not restored: OpenTPW has different engines that restart from the archives; the widths are traced (SaveBlockWidths) to split the save; the Particles block's pool is restored (SAVE-013) |
| original-engine-state-dumps | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:110 | [BIN:TPW-EXE:0x4dcc6c attraction loader operating words] the loader reads mOperatingCapacity into the byte +0x5d (0x4dcc6c), mOperatingDuration into the byte +0x5c (0x4dcc92) and mOperatingSpeed into the dword +0x58 (0x4dccb8), each straight through the reader 0x424c20 / 0x4fae10 with no clamp and no setter call, so the saved words are the live ride words; the script's bias and variables 2 and 3 come back with the saved script state, which OpenTPW rebuilds from the archives ([EXT:original-engine-state-dumps]), so they are written here from the words |
| original-engine-state-dumps | source/OpenTPW/World/Objects/ParkObjects.cs:697 | [EXT:original-engine-state-dumps] its raw links (mesh instance, script and track handles, flags, footprint, entrance and exit cells, upgrade parent, balloon sprite) are not taken from the save either: the placement and the queue rebuild them in OpenTPW's own engines (user-approved 2026-10-16) |
| original-undefined-reads | source/OpenTPW/Economy/ParkStatisticsHistory.cs:61 | (a new park's is uninitialised heap, [EXT:original-undefined-reads]: 0 here; an original save's is its raw saved word) and with the head at the last slot the head word itself (an integer; a single's bits, read as a float, are 0). |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncCareer.cs:438 | [EXT:original-undefined-reads] the table holds 24 dwords before string data, which a counter past it would read as a region: no region opens then (the completion tick stops at |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncCareer.cs:539 | [EXT:original-undefined-reads] the optional values (+0x10..), the award values (+0x28..) and the sign characters after the first stay uninitialised heap in the original: 0 here |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:109 | [EXT:original-undefined-reads] OpenTPW refuses a flight of thing 0 as it refuses a second flight: nothing changes and no input window opens (a mission controller that asked for it |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncSession.cs:80 | [EXT:original-undefined-reads] the name's characters after its terminator are uninitialised heap in the original: 0 here |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:83 | [EXT:original-undefined-reads] the name's characters after its terminator are uninitialised heap in the original: 0 here |
| original-undefined-reads | source/OpenTPW/Economy/ThemeParkIncStandard.cs:158 | [EXT:original-undefined-reads] a rank whose word lies outside the Standard object (other globals) or is a string pointer is not read: the promotion still sets the rank and leaves the firing line |
| original-undefined-reads | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:182 | ([EXT:original-undefined-reads]), and a loaded save's the raw saved word (loader 0x4C5D70, loop at 0x4C6307), which OpenTPW's own finance history, built from the ledger, does not carry (an original save's finance rings are not imported, SAVE-010). |
| original-undefined-reads | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:104 | [EXT:original-undefined-reads] a run position outside the sample list makes the original read memory outside the list; OpenTPW's key walk stays clamped to the last run, a defined result (user-approved 2026-10-30; the out-of-sample read of COAST-026) |
| original-undefined-reads | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:23 | [EXT:original-undefined-reads] a stale lead coordinate past this track's samples (a shorter track since) is wrapped into them; the original reads the sample list beyond its end |
| original-undefined-reads | source/OpenTPW/World/Guests/BounceRiders.cs:193 | [EXT:original-undefined-reads] a walk node the model lacks (0x556B90 returns 0 and writes nothing, 0x556D2C) leaves the caller's stack words undefined in the original, which draws the body at whatever they held; OpenTPW draws no body for such an entry |
| original-undefined-reads | source/OpenTPW/World/Guests/HeadPresentation.cs:59 | [EXT:original-undefined-reads] a camera offset that is not a finite direction ends the search at frame 0 (0x44B6D4) and the original takes the roll from stack words it never wrote; the host rolls by 0 |
| original-undefined-reads | source/OpenTPW/World/Guests/OriginalHeadMath.cs:194 | [EXT:original-undefined-reads] the search ends here at frame 0 with the best direction (stack words [ebp-0x1C..-0x14]) never written, and the original goes on to build the roll from them: undefined; the host stops with roll 0 |
| original-undefined-reads | source/OpenTPW/World/Guests/RideVisitorBridge.cs:772 | [EXT:original-undefined-reads] a word outside the array (above the first row or below the last) and a map that is not 128 cells wide are outside what is ported: the original reads past its cell array there |
| original-undefined-reads | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1916 | [EXT:original-undefined-reads] a node the model lacks (0x556B90 returns 0 and writes nothing, 0x556D2C) leaves the stack words of the distance and heading reads undefined at 0x556F40; OpenTPW takes no walk-on time and no heading for such a pair |
| original-undefined-reads | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:565 | [EXT:original-undefined-reads] a target that no litter bin holds is read as a thing without a script and without a history: its variables read 0, so it counts as full |
| original-undefined-reads | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:198 | [EXT:original-undefined-reads] the removal message (0x60D120) clears every walker's target before the thing goes, so an empty slot does not occur; a target no hosted attraction holds (a |
| original-undefined-reads | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:328 | [EXT:original-undefined-reads] as in state 13: the removal message clears the target first; a target no hosted attraction holds is read as no target |
| original-undefined-reads | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:46 | [EXT:original-undefined-reads] as in states 13 and 14: the removal message 0x60D120 clears the target before the thing goes; a target no hosted attraction holds is read as none |
| original-undefined-reads | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:123 | [EXT:original-undefined-reads] the ride of a state-17 guest goes only through the removal message, which clears the target first; a target no hosted attraction holds is read as none |
| original-undefined-reads | source/OpenTPW/World/Objects/ObjectAnimator.cs:330 | [EXT:original-undefined-reads] (user-approved 2026-10-30; MD2-901 converted) the original reads undefined memory here, OpenTPW's defined behaviour is to ignore: frame indices outside the slot's frame-name list are ignored (no corpus case among 458 in-range tracks; the one out-of-range track, Pmegacostm slot 12, addresses a slot its base model does not have, which the bind also ignores) — the PC writer 0x470C90 stores whatever slot and frame the track holds (it does not check them against the slot array or the frame names), and the traced consumers (binder 0x57A420, draw reader 0x580530) read the frame pointer array unchecked through 0x575F90, so the original's out-of-range behavior is not safely reproduced |
| original-undefined-reads | source/OpenTPW/World/Objects/ObjectAnimator.cs:1301 | Invalid or missing art remains a defensive host extension ([EXT:original-undefined-reads]). |
| original-undefined-reads | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:69 | [EXT:original-undefined-reads] a type-2 effect with a negative key takes the dispatcher's unset direction buffer in the original (undefined stack memory; the only shipped use is Fantasy's bugstv ADDOBJ effect 16): OpenTPW starts nothing instead of reading undefined memory (user-approved 2026-10-30) |
| original-undefined-reads | source/OpenTPW/World/ParkGate.cs:277 | [APPROX:ECON-049] a prototype and geometry no placement laid retain the permissive fallback: a queue ride whose front holds no queue cell, an entrance OpenTPW cannot reconstruct and an object without Info.HasQueue are taken as connected; in a typed world a sideways step off the map's edge wraps the 16-bit cell word as the original does, and only words outside the array, odd rotations and the null reads at 0x4D97E0/0x4D96F0 are answered under [EXT:original-undefined-reads]. These checks never close an already-open ride |
| original-undefined-reads | source/OpenTPW/World/ParkGate.cs:279 | [EXT:original-undefined-reads] a typed ride whose entrance looks off the map (the id arithmetic of 0x4DE040 leaves the cell array) or whose rotation is none of 0, 90, 180 and 270 (0x4DE4A0 then tests an unset byte) is taken as connected; no placement reaches either (user-approved class, 2026-10-30) |
| original-undefined-reads | source/OpenTPW/World/ParkGate.cs:308 | [EXT:original-undefined-reads] an exit cell whose link byte is not cardinal (0x4D97E0 logs and returns null) and a neighbour off the map (0x4D96F0 returns null) make the original read a null cell word; OpenTPW answers connected there, which no placement reaches (user-approved class, 2026-10-30) |
| overview-enter-locate | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:270 | [BIN:TPW-EXE:0x66563d list click, 0x49600d locate] a click of the other button selects the row and posts 0x402: the member's cell (0x50b350) is the camera's centre (0x4867b0), and the window closes (0x658d9f with message 4) whether or not a camera moved; Enter has no original counterpart ([EXT:overview-enter-locate], the keyboard analogue) |
| overview-enter-locate | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:381 | Enter is the keyboard analogue of the right click, as in the All Visitors list ([EXT:overview-enter-locate]); it plays the click sound of the list's rows as there |
| overview-enter-locate | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:188 | [BIN:TPW-EXE:0x66563d list click, 0x4934c5 locate] a click of the other button selects the row and posts 0x402, which centres the camera on the visitor's cell (0x4867b0) and closes the window; Enter has no original counterpart ([EXT:overview-enter-locate], the keyboard analogue) |
| overview-enter-locate | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:333 | Enter keeps the keyboard analogue of the right click (no original counterpart, [EXT:overview-enter-locate]); it plays the visitor click as before. |
| overview-entry-buttons | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:365 | [EXT:overview-entry-buttons] a round button above b_allstaff opens the All Attractions window (its rides tab, |
| overview-entry-buttons | source/OpenTPW/Hud/ParkHud.Staff.cs:441 | [EXT:overview-entry-buttons] the shipped b_svisit button art (the map window's visitors layer uses the same |
| overview-entry-buttons | source/OpenTPW/Hud/ParkHud.Staff.cs:449 | [EXT:overview-entry-buttons] the rides tab icon b_srides with 'All Rides' as popup help: the shipped b_allthinginfo art has no texture in ui.wad. |
| overview-select-button | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:272 | [EXT:overview-select-button] the go-to/select button (the shipped b_goto art has no texture in ui.wad) and Enter select the object in the park and close the window; the original's list messages are 0x400 (left click: info panel, list kept) and 0x402 (right click: centre the camera and close) |
| overview-select-button | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:404 | [EXT:overview-select-button] the select button selects the row's object in the park; the delete button sells it. Both sit where the original |
| overview-select-button | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:280 | [EXT:overview-select-button] the go-to button locates the selected visitor, like a right click on the row; it sits below the column of round buttons, |
| overview-select-button | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:518 | [EXT:own-window-sizes] the window and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:688 | [EXT:own-window-sizes] the dialog and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:727 | [EXT:own-window-sizes] the window and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:792 | [EXT:own-window-sizes] the window and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:820 | [EXT:own-window-sizes] the window and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:937 | [EXT:own-window-sizes] the window and the places of its controls are OpenTPW's: the original has no shared parks |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:1183 | [EXT:own-window-sizes] the panel's size and the places of its controls are OpenTPW's; the original window (table 0x7585a8) has no room for them |
| own-window-sizes | source/OpenTPW/Online/OnlineScreens.cs:2240 | [EXT:own-window-sizes] OpenTPW's own windows have no table, so the cross takes the original dialogs' offsets from the corner |
| own-window-sizes | source/OpenTPW/UI/Original/UiDialogs.cs:9 | [EXT:own-window-sizes] the sizes of OpenTPW's own windows (no original table exists for them); the original's windows come from their layout tables (OriginalLayoutTables) |
| own-window-sizes | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| park-build-over-frames | source/OpenTPW/Client/GameFlow.ParkBuild.cs:9 | [EXT:park-build-over-frames] A park chosen in the front end (or loaded, or visited) is built over several frames while the |
| park-build-over-frames | source/OpenTPW/Client/GameFlow.cs:680 | [EXT:park-build-over-frames] while a park is built the live scene runs on without input |
| park-clock-origin | source/OpenTPW/VM/RideScriptWorld.cs:160 | [EXT:park-clock-origin] a park that was not loaded from an original save keeps its scheduler clock at 0 when its script world is created |
| park-clock-origin | source/OpenTPW/VM/RideVM.cs:160 | [EXT:park-clock-origin] the scheduler clock starts at 0 when the park's script world is created (60 Hz fixed steps) where the original's is the time since program start, including the front end: a park's run depends only on its own script world and seed, never on how long the program ran before it, which keeps runs and replays deterministic |
| park-entry-preparation | source/OpenTPW.Tests/AdvisorModalStopTests.cs:50 | [EXT:park-entry-preparation] What a joined park's build prepared for its advisor's first line is kept only while that advisor may still take it: there is one, it has made no |
| park-entry-preparation | source/OpenTPW.Tests/EnteringFramePreparationTests.cs:15 | [EXT:park-entry-preparation] What a park built over frames prepares for its first draw and HUD before it is entered |
| park-entry-preparation | source/OpenTPW/Client/AutomaticAdvisor.cs:81 | [EXT:park-entry-preparation] the settings a park build read for this advisor (AdvisorEntryPreparation), else read now |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.CoopJoin.cs:196 | [EXT:park-entry-preparation] Set by a swap that handed its build's advisor preparation to the shared store: kept past the swap's frame until the joined park's advisor |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.CoopJoin.cs:238 | [EXT:park-entry-preparation] what the build read for the advisor's first line, for that line, as a park start keeps its own (the teardown dropped the shared store): handed |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.CoopJoin.cs:555 | [EXT:park-entry-preparation] its shipped message tables in steps of their own, as a park start's build warms them, before the advisor reads them all; a table that |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.CoopJoin.cs:585 | [EXT:park-entry-preparation] the one-time work of the first update of each entity that can do it ahead (its resources, presentation only), so the swap's frame does |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.ParkBuild.cs:34 | [EXT:park-entry-preparation] what the entering frame would otherwise do in one go for the park's first restart snapshot, run in steps once the park is built |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.ParkBuild.cs:38 | [EXT:park-entry-preparation] the park HUD, made by a preparation step as EnterLevel would make it; EnterLevel takes it |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.ParkBuild.cs:171 | [EXT:park-entry-preparation] the park's first restart snapshot, taken as it is entered, needs the codec's reflection metadata and the hash of the asset manifest: |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.cs:455 | [EXT:park-entry-preparation] made in a build step; what it took from the input of that frame is taken from this one |
| park-entry-preparation | source/OpenTPW/Client/GameFlow.cs:725 | [EXT:park-entry-preparation] what the build prepared for the advisor and its first line is used by the update of the frame that entered the park; anything left is dropped |
| park-entry-preparation | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:40 | [EXT:park-entry-preparation] the HUD a build step made, the HUDs' state as each park was entered, and whether the sky was loaded before the first draw |
| park-entry-preparation | source/OpenTPW/Hud/ParkHud.Camcorder.cs:15 | [EXT:park-entry-preparation] Takes the camcorder's held key and button from the current frame's input, as the constructor did: a HUD a park |
| park-entry-preparation | source/OpenTPW/Hud/ParkHud.EntryPreparation.cs:6 | [EXT:park-entry-preparation] What the HUD's first draw would make in the frame that enters the park: a park built over frames prepares |
| park-entry-preparation | source/OpenTPW/World/Advisor.cs:399 | [EXT:park-entry-preparation] a line its park's build decoded ahead (AdvisorEntryPreparation.LineSteps; the PCM is a function of these bytes alone) is taken |
| park-entry-preparation | source/OpenTPW/World/AdvisorEntryPreparation.cs:4 | [EXT:park-entry-preparation] What the automatic advisor reads from the game data when the frame that enters a park creates it and says its first line |
| park-entry-preparation | source/OpenTPW/World/Coasters/CoasterRenderer.cs:190 | [EXT:park-entry-preparation] Each coaster's view, its type's assets and its track's and cars' models, one coaster a step, as the first update makes them (the ride stands |
| park-entry-preparation | source/OpenTPW/World/Coasters/CoasterRenderer.cs:377 | [EXT:park-entry-preparation] The track's and the cars' models ahead of the park's first frame, without the frame's update: that update takes the scroll's clock again, |
| park-entry-preparation | source/OpenTPW/World/IFirstFramePreparation.cs:4 | [EXT:park-entry-preparation] An entity that can do the one-time work of its first update ahead, in the steps of a park built over frames (the resources it makes on first use: |
| park-entry-preparation | source/OpenTPW/World/Level.Objects.cs:780 | [EXT:pools-swim] [EXT:park-entry-preparation] The swim sets the swimmers' renderer reads when the park's first frame makes it, read ahead in a park build's steps where they |
| park-entry-preparation | source/OpenTPW/World/Level.Resume.cs:97 | [EXT:park-entry-preparation] Runs, one per step, the parts of <see cref="CaptureResumeSnapshotUnchecked(AutomaticAdvisor?, string, out Action, IReadOnlyDictionary{string, string}?, DateTimeOffset?, bool)"/> |
| park-entry-preparation | source/OpenTPW/World/Level.Sky.cs:49 | [EXT:park-entry-preparation] a park built over frames runs this in a build step before it is entered, so the frame that enters it does |
| park-entry-preparation | source/OpenTPW/World/Pools/Bridges/PoolBridgeRenderer.cs:89 | <summary>[EXT:park-entry-preparation] The assets and the meshes of the bridges built so far, as the first update would make them; that update then finds them made.</summary> |
| park-name-fallback | source/OpenTPW/World/Original/OriginalGateSign.cs:74 | [EXT:park-name-fallback] without the gate's OBJECT_NAMES row (Theme Park Inc, a gate id outside tp.exe's table, missing language files) the theme name stands in, split at its middle space; no original rule applies |
| park-rename-layout | source/OpenTPW/Hud/ParkHud.Management.cs:206 | [EXT:park-rename-layout] the name button's place in OpenTPW's entry price window and the rename dialog's layout are OpenTPW's; the original window and dialog resources (0x751798, 0x751928) are not decoded |
| park-scenario | source/OpenTPW/World/Guests/Measurement/ParkScenario.cs:37 | [EXT:park-scenario] a measurement fixture of OpenTPW's own (no original counterpart): the layout, excitement levels, prices and hold times are chosen so each of the guest rules in docs/SMARTER-GUESTS.md has something to act on |
| park-scenario | source/OpenTPW/World/Guests/Measurement/ParkScenario.cs:68 | [EXT:park-scenario] the litter variant: the guests drop and vomit litter on the paths, and a handyman proxy sweeps it (see ParkScenarioOptions.Litter) |
| park-scenario | source/OpenTPW/World/Guests/Measurement/ParkScenario.cs:71 | [EXT:park-scenario] the bin variant: litter bins on the street's upper side (see ParkScenarioOptions.Bins) |
| park-summary | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:109 | [EXT:park-summary] a visit has no history or guests: the published figures stand in the graph's area, as the visit's functional summary |
| particle-blend-runs | source/OpenTPW/World/Particles/ParticleRenderer.cs:19 | [EXT:particle-blend-runs] OpenTPW draws the opaque quads in the original's order (0x565F90: slots ascending, newest particle first) as runs of one state through its shared material pipeline, and the deferred quads one run of consecutive same-state quads at a time in the sorted order of WorldPass, not one submission with its own state word per particle |
| particle-world-scale | source/OpenTPW/World/Particles/ParticleRenderer.cs:390 | [EXT:particle-world-scale] OpenTPW places a quad's half-height in world units under the camera's projection (the original's world size is the half-height / cos(fov / 2) under its 90 degree camera, 0x42A990 -> 0x578BE0), and an aspect-correct projection gives an untextured quad its square (DAT_008BCBCC, the display's height / width, 0x582EB0): resolution-independent sizing with no original value to copy |
| pause-menu-go-online | source/OpenTPW/Hud/ParkHud.cs:816 | [EXT:pause-menu-go-online] the Go Online line (UITEXT 1) after Options is OpenTPW's: the original reaches the online world from the lobby's pause menu only |
| pause-menu-hover-focus | source/OpenTPW/UI/Original/UiMenuItem.cs:35 | drawn frame, steps it (0x48b220); [EXT:pause-menu-hover-focus] OpenTPW's focus stands for the pointer entering (the user-approved design choice; no original behaviour left to match) and the tick runs at the 60 Hz reference ([EXT:frame-driven-at-60hz]) |
| perf-run | source/OpenTPW/Client/Game.cs:12 | [EXT:perf-run] --startup-profile: the start's phases up to the lobby (docs/ENGINE-PERFORMANCE.md, "Start and build hitches"); measurement only |
| perf-run | source/OpenTPW/Client/Game.cs:428 | [EXT:perf-run] performance runs (docs/ENGINE-PERFORMANCE.md): once the original level is up, hides the developer panels as a front-end park does, opens the park door as the player's button |
| perf-run | source/OpenTPW/Client/Game.cs:444 | [EXT:perf-run] --perf-hash-tick <tick> logs the park's world state hash (Level.ComputeStateHash) at the frame whose park tick is exactly that one, so two runs (the evening extension on and off, say) |
| perf-run | source/OpenTPW/Client/Game.cs:447 | [EXT:perf-run] --perf-digest adds the co-op session digest's cost on the running park to every 600th frame's line (CoopDigest.MeasureCost, the median of five; docs/COOP.md, |
| perf-run | source/OpenTPW/Client/Game.cs:450 | [EXT:perf-run] --perf-crowd <n> stages n guests on the park's paths once the door opens (UmbrellaPerf.Stage without weather or umbrellas, as the browser harness's PerfCrowd), so a |
| perf-run | source/OpenTPW/Client/Game.cs:455 | [EXT:perf-run] --perf-pan turns the park camera by half a degree a frame and moves its target round a circle of 30 units (the target's start is its centre), so a run measures the ground |
| perf-run | source/OpenTPW/Client/Game.cs:474 | [EXT:perf-run] --perf-zoom <value> holds the park camera at that zoom value for the whole run (the wide range of GameOptions.WideZoom reaches 40..300) |
| perf-run | source/OpenTPW/Client/Game.cs:503 | [EXT:perf-run] --hitch-report <ms> logs every frame at least that long with the work recorded in it; --perf-build (with --load-original-level) does what a player does when |
| perf-run | source/OpenTPW/Client/LoadTimings.cs:8 | [EXT:perf-run] <c>--startup-profile</c> (docs/ENGINE-PERFORMANCE.md, "Start and build hitches"): records the start of the game up to the lobby with |
| perf-run | source/OpenTPW/Client/LoadTimings.cs:63 | [EXT:perf-run] <c>--hitch-report <milliseconds></c> (docs/ENGINE-PERFORMANCE.md, "Start and build hitches"): logs every frame that took at least that |
| perf-run | source/OpenTPW/Client/PerfBuildScenario.cs:6 | [EXT:perf-run] <c>--perf-build</c> (docs/ENGINE-PERFORMANCE.md, "Start and build hitches"): once an original level's park and its interface are up, does |
| perf-run | source/OpenTPW/Online/CoopDigest.cs:32 | [EXT:perf-run] The digest's cost on <paramref name="level"/> (docs/COOP.md, "Measurements"): the median time of <paramref name="repeats"/> digests and of as many world hashes alone, |
| perf-run | source/OpenTPW/World/Evening/Level.Evening.cs:18 | [EXT:perf-run] A run-scoped switch of the browser harness: while it is set the day cycle and its lamps are skipped as if the extension were off, but the extension stays in the mod set (it changes the |
| perf-run | source/OpenTPW/World/Evening/Level.Evening.cs:24 | [EXT:perf-run] Performance hook of the browser harness (<c>tools/web-perf</c>): "night", "dusk" or "day" hold the evening look for the rest of the session (a run-scoped override like <c>--evening-pace</c>, never saved), |
| perf-run | source/OpenTPW/World/Evening/Level.Evening.cs:64 | <summary>[EXT:perf-run] Browser harness hook (<c>tools/web-perf</c>, <c>--evening-lamps</c>): the debug lamp grid around the park camera's target, as the native <c>--debug-evening-lamps</c>; 0 removes it; -1 outside a park.</summary> |
| periodic-autosave | source/OpenTPW.Tests/PeriodicAutosaveTests.cs:15 | [EXT:periodic-autosave] the schedule, the refusals, the atomic write, the recovery choice and the option |
| periodic-autosave | source/OpenTPW/Client/GameFlow.Autosave.cs:8 | [EXT:periodic-autosave] user-approved 2026-10-18; the original's per-theme autosave.TPWS is a checkpoint written when a park is left, not a timer (docs/PARK-SAVES.md, "Periodic autosave") |
| periodic-autosave | source/OpenTPW/Client/GameFlow.Restart.cs:63 | [EXT:periodic-autosave] the manifest hashed for this snapshot is the one the periodic autosave reuses |
| periodic-autosave | source/OpenTPW/Client/ParkResumeSmokeTest.cs:934 | [EXT:periodic-autosave] The periodic autosave on the real park: five minutes of play time (counted in quarter-second frames) take one capture between ticks, which is written into the |
| periodic-autosave | source/OpenTPW/Client/PeriodicAutosave.cs:19 | [EXT:periodic-autosave] The schedule and writer of the periodic autosave (docs/PARK-SAVES.md, "Periodic autosave"): every |
| periodic-autosave | source/OpenTPW/Client/SlicedJsonSerializer.cs:9 | [EXT:periodic-autosave] Serializes a snapshot to the same bytes as <c>JsonSerializer.SerializeToUtf8Bytes</c> in slices of a caller-given time budget, so that a large park's |
| periodic-autosave | source/OpenTPW/FrontEnd/AutomaticThemeContinuation.cs:5 | <summary>Which automatic slot a continuation reads: the Exit To Lobby checkpoint or the periodic autosave ([EXT:periodic-autosave]).</summary> |
| periodic-autosave | source/OpenTPW/FrontEnd/AutomaticThemeContinuation.cs:24 | <summary>The checkpoint slot, or [EXT:periodic-autosave] the periodic autosave's own slot: neither is the manual <c>opentpw-{theme}-world.json</c>.</summary> |
| periodic-autosave | source/OpenTPW/FrontEnd/AutomaticThemeContinuation.cs:73 | [EXT:periodic-autosave] The automatic entry the theme menu offers: the newer of the Exit To Lobby checkpoint and the periodic autosave, where the autosave counts |
| periodic-autosave | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:21 | [EXT:theme-continue] the theme entry offers distinct own-save actions (Continue saved, Continue automatic or [EXT:periodic-autosave] autosave, New): host UI with no original rule to match; no native profile or autosave flow is reproduced |
| periodic-autosave | source/OpenTPW/UI/Original/Options/GameOptions.cs:61 | <summary>[EXT:periodic-autosave] saves an owned park to its own autosave slot every 5 minutes of play (<see cref="PeriodicAutosave"/>); on by default, not an original option.</summary> |
| periodic-autosave | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:545 | [EXT:periodic-autosave] on/off row for the periodic autosave (on by default); the pending value is the shared options object, which Cancel restores |
| periodic-autosave | source/OpenTPW/UI/Original/SupplementaryStrings.cs:318 | [EXT:periodic-autosave] the autosave option and the theme menu's recovery entry (docs/PARK-SAVES.md) |
| periodic-autosave | source/OpenTPW/World/Level.Resume.cs:61 | [EXT:periodic-autosave] The asset manifest of this park, hashed once and kept: it covers the whole pinned catalogue and balance files, which do not change while a park is played, |
| periodic-autosave | source/OpenTPW/World/ParkResumeJson.cs:16 | <summary>[EXT:periodic-autosave] The same bytes as <see cref="Serialize"/>, produced in time-boxed slices (<see cref="SlicedJsonSerializer"/>).</summary> |
| periodic-autosave | source/OpenTPW/World/ParkResumeSaveFile.cs:40 | [EXT:periodic-autosave] Starts the time-boxed serialization of a snapshot: <paramref name="validate"/> (default: the shape check of <see cref="Serialize"/>) is its first step, then the bytes |
| point-lights | source/OpenTPW.Tests/PointLightTests.cs:15 | [EXT:point-lights] The renderer's point lights (docs/LIGHTS.md): the original engine's falloff, the units, which lights reach a draw, the uniform layout the shaders read and the |
| point-lights | source/OpenTPW/Client/Renderer.cs:934 | [EXT:point-lights] Records the first <paramref name="sizeInBytes"/> bytes of <paramref name="value"/> as a per-draw uniform upload: a block followed by the draw's point |
| point-lights | source/OpenTPW/Render/Assets/Material.cs:158 | [EXT:point-lights] Whether the shader reads the point lights after the uniform block (<c>g_vPointLight</c>): the park's lit shaders (test.shader for the ground, objects, |
| point-lights | source/OpenTPW/Render/Assets/Material.cs:223 | [EXT:point-lights] Writes the block and the first <paramref name="lightCount"/> lights of <paramref name="value"/> in one upload (the block's own bytes when there are no lights). |
| point-lights | source/OpenTPW/Render/ObjectUniformBuffer.cs:36 | [EXT:point-lights] How many point lights follow this block in the uploaded bytes (<see cref="LitObjectUniformBuffer"/>), in the padding after the light colour that |
| point-lights | source/OpenTPW/Render/PointLights.cs:9 | [EXT:point-lights] The original engine supports point lights (tp.exe 0x457E70 builds light type 3, TPLight.cpp; the vertex lighting 0x5741B0 adds |
| point-lights | source/OpenTPW/World/Entity/ModelEntity.cs:148 | [EXT:point-lights] the original's engine supports point lights but never creates one (docs/LIGHTS.md) |
| point-lights | source/OpenTPW/World/Level.cs:12 | <summary>[EXT:point-lights] The level's point lights (docs/LIGHTS.md): placed objects with light dummies register here; the original engine supports them but never creates one.</summary> |
| point-lights | source/OpenTPW/World/Level.cs:1595 | [EXT:point-lights] the lights of the objects that have any, for every draw of this frame |
| point-lights | source/OpenTPW/World/Pools/PoolRenderer.cs:40 | [EXT:point-lights] the deck and basin shaders read this slot as the light count, so only the water (whose shader never lights) carries a phase |
| point-lights | source/OpenTPW/World/Pools/PoolRenderer.cs:50 | [EXT:point-lights] the deck and the basin take the park's point lights; the water's shader keeps its padding for the wave and the colours |
| pools | source/OpenTPW/Online/CoopJoinSmokeTest.Host.cs:300 | [EXT:pools] A pool of 6 x 3 cells near the paths with a lazy river round it, its changing room, the water attractions, a slide, a bridge over it and swimmers in it: the |
| pools-activities | source/OpenTPW/World/Guests/Guest.cs:58 | [EXT:pools-activities] OpenTPW's own guest state; the original game has no pools |
| pools-activities | source/OpenTPW/World/Guests/Guest.cs:140 | <summary>[EXT:pools-activities] Doing a pool activity (state 25), drawn with the swim sprites.</summary> |
| pools-activities | source/OpenTPW/World/Guests/Guest.cs:142 | [EXT:pools-activities] the generic fields of a pool activity (docs/POOLS.md, "Activities"); all zero (the id null) outside state 25 |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:187 | [EXT:pools-activities] a shower comes before the water |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:277 | [EXT:pools-activities] a swimmer may take an offer of a registered activity (none draws nothing) |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:280 | [EXT:pools-activities] the ambient effects of the registered activities (a wave, a jet) act on a swimmer that took no offer |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:341 | [EXT:pools-activities] an activity in progress lets go of what it holds first |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:407 | [EXT:pools-activities] The host of pool activities (docs/POOLS.md, "Activities"): the registry, the offer cadence and the state-25 turn. An empty registry, or a swimmer that is offered nothing, draws nothing and hashes nothing. |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.cs:4676 | [EXT:pools-activities] an activity is held in state 25 only; the registry need not hold its id (an activity this build does not register: the guest then ends its session on the room's exit at its next turn) |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulation.cs:5272 | [EXT:pools-activities] the activity joins the digest only while a guest does one (every swim without activities keeps its pins) |
| pools-activities | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:139 | [EXT:pools-activities] the pool activity of a swim session (docs/POOLS.md, "Activities"); absent (zero) outside state 25 and in saves made before it |
| pools-activities | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:151 | [EXT:pools-activities] a swim set has art for some slots only (the strokes): a slot without art falls back to the first slot that has some |
| pools-activities | source/OpenTPW/World/Level.Objects.cs:746 | <summary>[EXT:pools-activities] Registers the pool activities with the simulation while the extension is on and lets it read the placed extras; called once when the level's guests are made, so no path runs with an empty registry.</summary> |
| pools-activities | source/OpenTPW/World/Level.Objects.cs:837 | [EXT:pools-activities] an activity may raise or set the drawn height (a board, a slide, a ladder between the water and the deck); presentation only |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:15 | [EXT:pools-activities] Something that acts on the free swimmers of a pool each park turn without being offered: the push of a wave machine, the spray of a jet. A registered |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:20 | [EXT:pools-activities] OpenTPW's own extension point; the original game has no pools |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:53 | [EXT:pools-activities] Something a swimmer does during its swim session besides swimming (docs/POOLS.md, "Activities"): a pool extra (ladder, diving board, |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:68 | [EXT:pools-activities] OpenTPW's own extension point; the original game has no pools |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:113 | [EXT:pools-activities] OpenTPW's own numbers; the original game has no pools |
| pools-activities | source/OpenTPW/World/Pools/PoolActivities.cs:199 | [EXT:pools-activities] OpenTPW's own extension point; the original game has no pools |
| pools-attractions | source/OpenTPW.Tests/DeterminismTests.cs:133 | [EXT:pools-attractions] a fixture that registers pool activities of its own (the water attractions pin) |
| pools-attractions | source/OpenTPW.Tests/DeterminismTests.cs:434 | [EXT:pools-attractions] the registry the level fills while the extension is on, with no water attraction in the park and no river: nothing offers, nothing is drawn |
| pools-attractions | source/OpenTPW.Tests/DeterminismTests.cs:953 | [EXT:pools-attractions] The fixed run with a changing room beside a lazy river channel of 10 cells round an island of land (x 6 to 9, y 7 to 9), a wave machine's settings on its access cell (medium |
| pools-attractions | source/OpenTPW.Tests/DeterminismTests.cs:999 | <summary>[EXT:pools-attractions] The pinned hash of <see cref="RunFixedParkWithWaterAttractions"/> (docs/DETERMINISM.md, "Pools").</summary> |
| pools-attractions | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:61 | [EXT:pools-river] the basin's perimeter is a lazy river (a ring of 16 cells round a middle of 8), [EXT:pools-attractions] and the four water attractions stand beside it |
| pools-attractions | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:92 | [EXT:pools-river] [EXT:pools-waves] [EXT:pools-attractions] the ring is derived again from the saved flags, the pool kept its wave settings, and the water attractions are placed objects again |
| pools-attractions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:138 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option of the pool tool and the wave machine's settings (docs/POOLS.md) |
| pools-attractions | source/OpenTPW/UI/Original/SupplementaryStrings.cs:870 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option and the wave machine's settings |
| pools-attractions | source/OpenTPW/World/Level.Objects.cs:270 | [EXT:pools-attractions] the water attractions are derived from the placed objects; a new wave machine gives its pool the default wave settings |
| pools-attractions | source/OpenTPW/World/Level.Objects.cs:587 | [EXT:pools-attractions] a rope swing, jets, wave machine or spa needs pool water on its water side |
| pools-attractions | source/OpenTPW/World/Level.Objects.cs:680 | [EXT:pools-attractions] the last water cell of a water attraction's water side stays, and so does its current access cell while somebody is using it |
| pools-attractions | source/OpenTPW/World/Level.PoolAttractions.cs:7 | <summary>[EXT:pools-attractions] The placed water attractions (rope swing, jets, wave machine, spa), derived from the placed objects and the pool cells (docs/POOLS.md).</summary> |
| pools-attractions | source/OpenTPW/World/Level.PoolAttractions.cs:10 | <summary>[EXT:pools-attractions] Draws the spray of the park's water jets; created with the first jet.</summary> |
| pools-attractions | source/OpenTPW/World/Level.PoolAttractions.cs:14 | [EXT:pools-waves] [EXT:pools-attractions] Every frame while a pool is drawn: gives the water the park turn its waves run on, and creates the spray renderer once a water jet stands beside the water. |
| pools-attractions | source/OpenTPW/World/Original/OriginalParkPlacement.cs:23 | <summary>[EXT:pools-attractions] A water attraction (rope swing, jets, wave machine, spa) needs pool water on its water side (docs/POOLS.md).</summary> |
| pools-attractions | source/OpenTPW/World/Pools/PoolActivities.cs:211 | [EXT:pools-attractions] [EXT:pools-river] the water attractions (P5) and the lazy river |
| pools-attractions | source/OpenTPW/World/Pools/PoolAttractions.cs:4 | [EXT:pools-attractions] OpenTPW's own objects; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolAttractions.cs:27 | [EXT:pools-attractions] OpenTPW's own objects; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolAttractions.cs:52 | [EXT:pools-attractions] OpenTPW's own objects and placement rule; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolAttractions.cs:134 | [EXT:pools-attractions] OpenTPW's own objects; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolBuilder.cs:40 | <summary>[EXT:pools-attractions] Erasing the last pool cell on the water side of a rope swing, jets, wave machine or spa: the attraction needs its pool.</summary> |
| pools-attractions | source/OpenTPW/World/Pools/PoolSpray.cs:15 | [EXT:pools-attractions] OpenTPW's own spray; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolSpray.cs:71 | [EXT:pools-attractions] OpenTPW's own spray; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterActivities.cs:4 | [EXT:pools-attractions] OpenTPW's own numbers; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterActivities.cs:68 | [EXT:pools-attractions] OpenTPW's own water attractions; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterActivities.cs:159 | [EXT:pools-attractions] OpenTPW's own rope swing; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterActivities.cs:278 | [EXT:pools-attractions] OpenTPW's own jets; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterActivities.cs:393 | [EXT:pools-attractions] OpenTPW's own spa pool; the original game has no pools |
| pools-attractions | source/OpenTPW/World/Pools/PoolWaterEffects.cs:11 | [EXT:pools-waves] [EXT:pools-attractions] OpenTPW's own pool effects; the original game has no pools |
| pools-bridges | source/OpenTPW.Tests/PoolBridgePreviewTests.cs:10 | <summary>[EXT:pools-bridges] The buy window's preview of the single pool bridge row: the committed Blender mesh, drawn by the ordinary buy preview.</summary> |
| pools-bridges | source/OpenTPW/Economy/ParkEconomy.cs:2637 | <summary>[EXT:pools-bridges] Charges one bridge without altering original cell prices.</summary> |
| pools-bridges | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:287 | [EXT:pools-bridges] [EXT:pools-tool] a refused Backspace over a pool bridge or water cell says why, as the host's key does (C3b-3) |
| pools-bridges | source/OpenTPW/Hud/ParkHud.Pools.cs:24 | <summary>[EXT:pools-bridges] The Miscellaneous list's single pool bridge row (row id -21). One bridge is built in every direction: it turns with the blueprint keys (<see cref="PoolTool.RotateBridge"/>). Its buy-window preview is the bridge's own Blender mesh (<see cref="PoolBridgePreview"/>).</summary> |
| pools-bridges | source/OpenTPW/Hud/ParkHud.Pools.cs:135 | <summary>[EXT:pools-bridges] What a refused bridge placement or removal tells the player, on the click and in the hover help.</summary> |
| pools-bridges | source/OpenTPW/Hud/ParkHud.Pools.cs:172 | [EXT:pools-bridges] [EXT:pools-tool] the refusals of removing a bridge or a water cell with Backspace read as the pool tool's own (BridgeRefusalText, PoolRefusalText) |
| pools-bridges | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:295 | [EXT:pools-bridges] the bridge in hand turns with the same two keys as an object's blueprint |
| pools-bridges | source/OpenTPW/Hud/ParkHud.cs:1614 | Backspace over a path, queue, pool bridge or pool water cell with no tool on: the backtrack sound, then that cell is removed (GameAudio.BacktrackEvent; a queue is [EXT:queue-backtrack], a pool bridge or water cell [EXT:pools-bridges] [EXT:pools-tool]); a held key repeats only over path and queue cells. |
| pools-bridges | source/OpenTPW/Hud/ParkHud.cs:1825 | [EXT:pools-bridges] the bridge tool previews the whole bridge: its two outside path ends and its seven cells, blue while it can be built, the cell to blame red when one is |
| pools-bridges | source/OpenTPW/Hud/ParkHud.cs:2015 | [EXT:pools-bridges] the bridge row has no object behind it: its preview is the committed Blender mesh |
| pools-bridges | source/OpenTPW/Hud/PoolBridgePreview.cs:8 | [EXT:pools-bridges] The buy window's preview of the pool bridge row. The row is not a catalogue object, so it has no preview model of the original game; its preview is the bridge's own |
| pools-bridges | source/OpenTPW/UI/Original/SupplementaryStrings.cs:873 | [EXT:pools-bridges] Build controls and placement feedback in every supported UI language. |
| pools-bridges | source/OpenTPW/World/Commands/PoolCommands.cs:208 | <summary>[EXT:pools-bridges] The bridge mode's click: a bridge from the approach cell (<paramref name="X"/>, <paramref name="Y"/>) in <paramref name="Direction"/> (0 to 3) is built and charged. The value is the verdict.</summary> |
| pools-bridges | source/OpenTPW/World/Commands/PoolCommands.cs:229 | <summary>[EXT:pools-bridges] The bridge removal mode's click: the bridge over (<paramref name="X"/>, <paramref name="Y"/>) is taken down and refunded. The value is the verdict.</summary> |
| pools-bridges | source/OpenTPW/World/Level.Objects.cs:956 | <summary>[EXT:pools-bridges] The same rule for laying a path, except that the cells just outside a bridge's two ends stay open: a bridge needs no path there, so the player lays one later.</summary> |
| pools-bridges | source/OpenTPW/World/Level.Objects.cs:1273 | [EXT:pools-bridges] Backspace over a pool bridge takes the bridge down with the rules and the refund of the removal (PoolBridgeWorld.RemoveAt): not while somebody is on it |
| pools-bridges | source/OpenTPW/World/Level.Objects.cs:1587 | [EXT:pools-bridges] a bridge's cells and the two outside end cells (bare or with a path) take no queue: a queue there would break the bridge's save and its entrance |
| pools-bridges | source/OpenTPW/World/ParkCellMap.cs:146 | <summary>[EXT:pools-bridges] Optional elevated walking layer; underlying water stays unchanged.</summary> |
| pools-bridges | source/OpenTPW/World/ParkPathBuilder.cs:421 | [EXT:pools-bridges] a bridge's own seven cells are protected; the path outside either end may go, unless someone on the bridge would lose their last way off |
| pools-bridges | source/OpenTPW/World/ParkResumeSnapshot.cs:147 | <summary>[EXT:pools-bridges] Absent in parks without bridges, preserving their existing save bytes.</summary> |
| pools-bridges | source/OpenTPW/World/Pools/Bridges/PoolBridgeRenderer.cs:48 | <summary>[EXT:pools-bridges] Opaque, depth-tested Blender bridge meshes above the independent swimming layer.</summary> |
| pools-bridges | source/OpenTPW/World/Pools/Bridges/PoolBridgeWorld.cs:12 | <summary>[EXT:pools-bridges] An elevated route over unchanged water cells: two approach cells, three span cells, two approach cells.</summary> |
| pools-bridges | source/OpenTPW/World/Staff/StaffRenderer.cs:16 | <summary>[EXT:pools-bridges] Optional elevated walking height, in engine units.</summary> |
| pools-cell-rules | source/OpenTPW/World/ParkCellMap.cs:1037 | [EXT:pools-cell-rules] pool water goes on empty cells only (or stays); no original rule names it, and every other type over a pool cell falls through to the refusal below |
| pools-cell-type | source/OpenTPW/World/Guests/GuestWander.cs:142 | [EXT:pools-cell-type] the draws stay as they are; a candidate in the water is skipped (docs/POOLS.md) |
| pools-cell-type | source/OpenTPW/World/Guests/WalkSearch.cs:85 | [EXT:pools-cell-type] a pool cell blocks every step onto it, for every walk mask: a walker set down off the paths, an escorted guest or a striking employee never wades in (docs/POOLS.md) |
| pools-cell-type | source/OpenTPW/World/Level.Coasters.cs:155 | [EXT:pools-cell-type] a pool water cell is occupied ground like an object's cell; the original has no pools |
| pools-cell-type | source/OpenTPW/World/Level.Objects.cs:591 | <summary>Whether a cell of this type keeps objects off it: any type but empty ground, a path and the object, entrance and exit types ([EXT:pools-cell-type]: pool water is one).</summary> |
| pools-cell-type | source/OpenTPW/World/ParkCellMap.cs:13 | [EXT:pools-cell-type] A pool water cell of the <c>opentpw.pools</c> extension (docs/POOLS.md): <see cref="ParkCellTypes.PoolWater"/>. No original type uses |
| pools-cell-type | source/OpenTPW/World/ParkCellMap.cs:43 | [EXT:pools-cell-type] The pool water cell of the <c>opentpw.pools</c> extension (docs/POOLS.md). The original's cell types stop at 30 (<see cref="FixedWalkway"/>); the |
| pools-cell-type | source/OpenTPW/World/ParkCellMap.cs:47 | [EXT:pools-cell-type] OpenTPW's own cell type; the original game has no pools |
| pools-changing-room | source/OpenTPW/Hud/ParkHud.cs:1563 | [EXT:pools-changing-room] a changing room that is refused for want of a pool says so |
| pools-changing-room | source/OpenTPW/World/Level.Objects.cs:345 | [EXT:pools-changing-room] a changing room's pool-side cells follow from its footprint (geometry only: the water is read when a guest swims) |
| pools-changing-room | source/OpenTPW/World/Level.Objects.cs:573 | [EXT:pools-changing-room] a changing room needs pool water beside its back |
| pools-changing-room | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:715 | [EXT:pools-changing-room] OpenTPW's own key: the object is a pool complex's changing room (docs/POOLS.md) |
| pools-changing-room | source/OpenTPW/World/Objects/ParkObjects.cs:194 | [EXT:pools-changing-room] An extra placement rule of the host, asked last with the entry, anchor and rotation: a refusal it answers is the placement's result, null has no opinion |
| pools-changing-room | source/OpenTPW/World/Original/OriginalParkPlacement.cs:19 | <summary>[EXT:pools-changing-room] A changing room needs pool water beside its back (docs/POOLS.md).</summary> |
| pools-changing-room | source/OpenTPW/World/Pools/PoolBuilder.cs:30 | <summary>[EXT:pools-changing-room] Erasing a pool cell beside the back of a changing room: the room needs its pool.</summary> |
| pools-changing-room | source/OpenTPW/World/Pools/PoolChangingRooms.cs:8 | [EXT:pools-changing-room] OpenTPW's own object and placement rule; the original game has no pools |
| pools-content | source/OpenTPW/Mods/ModContentRoots.cs:113 | [EXT:pools-content] the pools extension's own objects (the changing rooms) follow the mods' as a root of the id opentpw.pools while the extension is on |
| pools-content | source/OpenTPW/World/Objects/ObjectCatalog.cs:396 | [EXT:pools-content] the pools extension's own objects (and [EXT:umbrellas-content] the umbrellas' [EXT:winter-content] the winter extension's and [EXT:evening-torches] the evening extension's torches) are no mod, so the mods digest in the key does not tell whether they are listed: the key does |
| pools-content | source/OpenTPW/World/Pools/PoolContent.cs:15 | [EXT:pools-content] OpenTPW's own shipped content; the original game has no pools |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:11 | <summary>[EXT:pools-cost] One pool water cell of the <c>opentpw.pools</c> extension (<see cref="ParkEconomy.PoolCellCost"/>).</summary> |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:13 | <summary>[EXT:pools-cost] One piece of a water slide of the <c>opentpw.pools</c> extension (<see cref="ParkEconomy.SlidePieceCost"/>).</summary> |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2493 | [EXT:pools-cost] The price of one pool water cell: 75, the figure of Roller Coaster Tycoon 3 Soaked!'s pool tiles. The original's balance files have no pool price, so it is a |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2496 | [EXT:pools-cost] OpenTPW's own price; the original game has no pools |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2500 | [EXT:pools-cost] The price of one piece of a water slide: 90. The original's balance files have no slide price, so it is a constant of the extension (docs/POOLS.md, "Water slides"); |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2503 | [EXT:pools-cost] OpenTPW's own price; the original game has no pools |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2625 | [EXT:pools-cost] Refunds an erased pool water cell: the full <see cref="PoolCellCost"/>, as other income, or nothing while the bank's withdrawals are disabled (a debit then charges |
| pools-cost | source/OpenTPW/Economy/ParkEconomy.cs:2652 | <summary>[EXT:pools-cost] Refunds one removed slide piece in full, as an erased pool cell is (nothing while withdrawals are disabled). Returns the amount credited.</summary> |
| pools-extension | source/OpenTPW/Client/SandboxSmokeTest.Objects.cs:152 | [EXT:pools-extension] the pools objects are on by default and have their own smokes (OPENTPW_SMOKE_POOLS) |
| pools-extension | source/OpenTPW/Mods/FeatureGates.cs:24 | [EXT:pools-extension] The <c>opentpw.pools</c> extension is on for this run: the pool paint tool, its buy-list rows and the pool cell type are available (docs/POOLS.md). |
| pools-extension | source/OpenTPW/Mods/OfficialExtensions.cs:53 | [EXT:pools-extension] OpenTPW's own extension; the original game has no pools |
| pools-extension | source/OpenTPW/World/ParkResumeMods.cs:46 | [EXT:pools-extension] The extensions a save records only while the park actually uses them: <c>opentpw.pools</c>, recorded when the park has pool cells or a changing room, and |
| pools-extension | source/OpenTPW/World/ParkResumeMods.cs:76 | [EXT:pools-extension] The used-only extensions a park uses: <c>opentpw.pools</c> when <paramref name="cells"/> holds a pool cell, or when the park holds one of the extension's own objects |
| pools-extension | source/OpenTPW/World/ParkResumeMods.cs:120 | [EXT:pools-extension] The asset manifest as a save holds it: the catalog lists every object of a used-only extension (<c>mod:opentpw.pools:</c>, <c>mod:opentpw.umbrellas:</c>, <c>mod:opentpw.winter:</c> and <c>mod:opentpw.evening:</c> keys) whenever the extension is on, but a save holds, and a load requires, |
| pools-extension | source/OpenTPW/World/ParkResumeMods.cs:137 | <summary>[EXT:pools-extension] Whether a placed object is one of the pools extension's own (a changing room).</summary> |
| pools-extras | source/OpenTPW.Tests/DeterminismTests.cs:894 | [EXT:pools-extras] The same run as <see cref="RunFixedParkWithPoolsAndAChangingRoom"/> with the four pool activities registered and extras placed around the pool (x 3 to 8, y 8 to 9): a ladder at (4, 7) and a diving board at (7, 7) |
| pools-extras | source/OpenTPW.Tests/DeterminismTests.cs:929 | <summary>[EXT:pools-extras] The pinned hash of <see cref="RunFixedParkWithPoolExtras"/> (docs/DETERMINISM.md, "Pools").</summary> |
| pools-extras | source/OpenTPW/World/Level.Objects.cs:574 | [EXT:pools-extras] and a pool extra needs its spot beside the water (or the room) |
| pools-extras | source/OpenTPW/World/Level.Objects.cs:575 | [EXT:pools-extras] a swimmer in an activity at an erased or demolished extra leaves the session at once (the activity lets go first); the extras the swim session sees are read again after any placement or removal |
| pools-extras | source/OpenTPW/World/Level.Objects.cs:677 | [EXT:pools-extras] the water a ladder, board, lounger, lamp or light stands beside stays |
| pools-extras | source/OpenTPW/World/Level.Objects.cs:751 | [EXT:pools-extras] the swim session reads the placed extras through the level's objects: rebuilt once per park turn and whenever an object is placed or removed (SetupObjects) |
| pools-extras | source/OpenTPW/World/Level.Objects.cs:828 | [EXT:pools-extras] and a guest lying on a lounger, so the lounger's raised head end and the front of its seat do not hide it (presentation only) |
| pools-extras | source/OpenTPW/World/Original/OriginalParkPlacement.cs:21 | <summary>[EXT:pools-extras] A pool extra needs its spot: a straight pool edge, a changing room beside it, or water beside it (docs/POOLS.md, "Extras").</summary> |
| pools-extras | source/OpenTPW/World/Pools/PoolActivities.cs:205 | [EXT:pools-extras] P3: the pool extras' activities |
| pools-extras | source/OpenTPW/World/Pools/PoolBuilder.cs:38 | <summary>[EXT:pools-extras] Erasing a pool cell beside a ladder, board, lounger, lamp or underwater light: the extra needs its water.</summary> |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:4 | [EXT:pools-extras] OpenTPW's own numbers; the original game has no pools |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:68 | [EXT:pools-extras] OpenTPW's own activities; the original game has no pools |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:195 | [EXT:pools-extras] The ladder: a swimmer climbs out by it, stands on the deck a few seconds and jumps back in with a splash (docs/POOLS.md, "Extras"). One swimmer at a time. |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:270 | [EXT:pools-extras] The diving board: a swimmer swims to the tower, climbs the steps (slot 3), walks out on the board, pauses at its end, dives (slot 4) into the water two cells out with a splash (slot 11) |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:370 | [EXT:pools-extras] The shower: offered at the start of a swim (60 percent), a guest walks from the pool-side cell to a free shower within four cells, showers 3 to 5 seconds (slot 6) and walks back |
| pools-extras | source/OpenTPW/World/Pools/PoolExtraActivities.cs:421 | [EXT:pools-extras] The sun lounger (two seats): a swimmer climbs out beside it, lies on a free seat 15 to 30 seconds (slot 5) and then either jumps back into the water (60 percent) or ends its session |
| pools-extras | source/OpenTPW/World/Pools/PoolExtras.cs:4 | [EXT:pools-extras] OpenTPW's own objects; the original game has no pools |
| pools-extras | source/OpenTPW/World/Pools/PoolExtras.cs:30 | [EXT:pools-extras] OpenTPW's own objects and placement rules; the original game has no pools |
| pools-guest-art | source/OpenTPW/Mods/OfficialExtensions.cs:60 | [EXT:pools-guest-art] OpenTPW's own guest art; the original game's guests are the faithful look |
| pools-guest-art | source/OpenTPW/World/Level.cs:802 | [EXT:pools-guest-art] only replaces the original Theme Park World kid set. |
| pools-guest-art | source/OpenTPW/World/Pools/PoolGuestSprites.cs:13 | [EXT:pools-guest-art] OpenTPW's own guest art for parks with the pools extension; the original game's guests are untouched without it |
| pools-model-inset | source/OpenTPW.Tests/PoolsContentTests.cs:223 | [EXT:pools-model-inset] The walls of a footprint-filling model stand clear of the cell edge on the sides a path can run along (the entrance side at Z = 0 and both flanks; the pool side at Z = 20 is the water side and |
| pools-model-inset | source/OpenTPW.Tests/UmbrellasContentTests.cs:151 | [EXT:pools-model-inset] a walker is a sprite: at its height no wall, counter or post comes within 1 unit of the footprint's edge |
| pools-model-inset | source/OpenTPW.Tests/WinterContentTests.cs:194 | [EXT:pools-model-inset] a walker is a sprite: at its height no wall, counter, post or hanging prop comes within 1 unit of the footprint's edge |
| pools-render | source/OpenTPW.Web/Program.cs:117 | [EXT:pools-render] the pools sprite sets are not embedded: the page fetches them after the start (PoolSpriteDelivery) and the level setup uses a set only when it is complete |
| pools-render | source/OpenTPW/World/Guests/GuestRenderer.cs:111 | <summary>[EXT:pools-render] Whether a slot the chosen set has no art for is drawn as the nearest swim slot (<see cref="GuestSpriteAtlas.UsableSlot"/>); the swimmers' renderer only, so any other chooser keeps the stand-slot fallback.</summary> |
| pools-render | source/OpenTPW/World/Guests/GuestRenderer.cs:114 | [EXT:pools-render] The slots whose frames are drawn with their bottom edge at the guest's point instead of their hotspot (the swimmers' renderer: the swimwear slots whose hotspot is the centre of the |
| pools-render | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:170 | <summary>[EXT:pools-render] Whether the set has any art for the animation slot (a swim set has it for the strokes, slots 8 to 10, until the swimwear slots are drawn).</summary> |
| pools-render | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:174 | [EXT:pools-render] The slot a set can draw for a wished slot: the slot itself when it has art, else treading water (10), the breaststroke (9) or the crawl (8), the swim slots every swim set has. |
| pools-render | source/OpenTPW/World/Level.Objects.cs:696 | <summary>[EXT:pools-render] Draws the park's pool cells; created when the first pool cell exists.</summary> |
| pools-render | source/OpenTPW/World/Level.Objects.cs:700 | [EXT:pools-render] Keeps the pool drawing in step with the cell map: the renderer appears with the first pool cell (a painted one or a resumed save's) and rebuilds |
| pools-render | source/OpenTPW/World/Level.Objects.cs:848 | <summary>[EXT:pools-render] A pool activity's slot and its animation step (<see cref="PoolSwimSlots.ActivityStep"/>); presentation only.</summary> |
| pools-render | source/OpenTPW/World/Level.Slides.cs:8 | <summary>[EXT:pools-render] Draws the park's slides; created with the pool renderer.</summary> |
| pools-render | source/OpenTPW/World/Level.cs:207 | [EXT:pools-render] a stroke of pool cells changes the ground mesh's holes only: the path layer and the queue models are not rebuilt for it |
| pools-render | source/OpenTPW/World/Level.cs:650 | [EXT:pools-render] the pool cells are render-only holes of the ground mesh while the extension is on (nothing else reads this) |
| pools-render | source/OpenTPW/World/Original/OriginalTerrain.cs:205 | [EXT:pools-render] Cells the terrain renderer leaves out of the ground mesh as render-only holes (the level: the pool cells, while the <c>opentpw.pools</c> extension is on), so a pool can be |
| pools-render | source/OpenTPW/World/Original/OriginalTerrain.cs:455 | Rebuilds the static ground meshes when the cells they leave out changed since they were last built: the render-only holes ([EXT:pools-render]) and the path cells, which take the path tile as their |
| pools-render | source/OpenTPW/World/ParkCellMap.cs:821 | [EXT:pools-render] How many of the writes counted in <see cref="Version"/> were type writes that touched a pool water cell (painting or erasing one). The drawing of paths and queues |
| pools-render | source/OpenTPW/World/Pools/PoolActivities.cs:129 | [EXT:pools-render] OpenTPW's own swimmer art; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolActivities.cs:179 | [EXT:pools-render] The slots whose hotspot is the feet on the ground or the deck (standing, walking, the shower): the swimmers' renderer draws them with the depth pull of a visitor's sprite on |
| pools-render | source/OpenTPW/World/Pools/PoolActivities.cs:185 | [EXT:pools-render] Seconds each frame of the lying slot is held. Its two frames are two resting poses (the arms at the sides, the hands behind the head; tools/blender/opentpw_pool_poses.py, |
| pools-render | source/OpenTPW/World/Pools/PoolActivities.cs:191 | [EXT:pools-render] The animation step the swimmers' renderer draws for a guest in a pool activity at <paramref name="seconds"/> of simulation time (presentation only): six frames a second, offset |
| pools-render | source/OpenTPW/World/Pools/PoolEdges.cs:5 | [EXT:pools-render] OpenTPW's own auto-tiling; the original game has no pools (docs/POOLS.md). |
| pools-render | source/OpenTPW/World/Pools/PoolEdges.cs:28 | [EXT:pools-render] OpenTPW's own auto-tiling; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolMesh.cs:8 | [EXT:pools-render] OpenTPW's own pool rendering; the original game has no pools (docs/POOLS.md). |
| pools-render | source/OpenTPW/World/Pools/PoolMesh.cs:66 | [EXT:pools-render] OpenTPW's own measures; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolMeshBuilder.cs:20 | [EXT:pools-render] OpenTPW's own pool geometry; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolRenderHoles.cs:8 | [EXT:pools-render] OpenTPW's own pool rendering; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolRenderer.cs:4 | [EXT:pools-render] OpenTPW's own pool rendering; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolRenderer.cs:62 | [EXT:pools-render] OpenTPW's own pool rendering; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolSpriteDelivery.cs:15 | [EXT:pools-render] OpenTPW's own delivery of its own art; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolSwimSprites.cs:10 | [EXT:pools-render] OpenTPW's own swimmer art; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/PoolTextures.cs:8 | [EXT:pools-render] OpenTPW's own pool art; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/Slides/PoolSlideMesh.cs:19 | [EXT:pools-render] OpenTPW's own slide rendering; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/Slides/PoolSlideMesh.cs:160 | [EXT:pools-render] OpenTPW's own slide art; the original game has no pools |
| pools-render | source/OpenTPW/World/Pools/Slides/PoolSlideRenderer.cs:8 | [EXT:pools-render] OpenTPW's own slide rendering; the original game has no pools |
| pools-river | source/OpenTPW/Client/Game.cs:879 | [EXT:debug-pool] a rectangle written with a leading 'r' ("r0,0,8,1") is painted with the river option ([EXT:pools-river]): its cells carry the lazy river's flag |
| pools-river | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:61 | [EXT:pools-river] the basin's perimeter is a lazy river (a ring of 16 cells round a middle of 8), [EXT:pools-attractions] and the four water attractions stand beside it |
| pools-river | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:92 | [EXT:pools-river] [EXT:pools-waves] [EXT:pools-attractions] the ring is derived again from the saved flags, the pool kept its wave settings, and the water attractions are placed objects again |
| pools-river | source/OpenTPW/Hud/ParkHud.Pools.cs:21 | <summary>[EXT:pools-river] The Miscellaneous list's lazy river row (row id -20): paints pool water with the river option.</summary> |
| pools-river | source/OpenTPW/UI/Original/SupplementaryStrings.cs:138 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option of the pool tool and the wave machine's settings (docs/POOLS.md) |
| pools-river | source/OpenTPW/UI/Original/SupplementaryStrings.cs:870 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option and the wave machine's settings |
| pools-river | source/OpenTPW/World/Commands/PoolCommands.cs:126 | [EXT:pools-river] cells that only got the river flag lose it; painted cells go (their flag with them) |
| pools-river | source/OpenTPW/World/ParkCellMap.cs:89 | [EXT:pools-river] On a pool water cell: the cell is part of a lazy river's ring (docs/POOLS.md, "Lazy river"). The original's flag word has no use of this bit, and only pool cells carry it. |
| pools-river | source/OpenTPW/World/ParkCellMap.cs:921 | [EXT:pools-river] a change of a pool cell's flags (river, waves) counts as a pool write, so the water's regions and mesh are made again |
| pools-river | source/OpenTPW/World/ParkLayoutSnapshot.cs:437 | [EXT:pools-river] [EXT:pools-waves] a pool cell's flags are the river bit and the wave settings' bits, nothing else; the wave bits are a stored height (1 to 3) and an interval (0 to 2), on or off |
| pools-river | source/OpenTPW/World/ParkLayoutSnapshot.cs:443 | [EXT:pools-river] [EXT:pools-waves] the river and wave bits exist on pool cells only; a coaster's marker cell keeps the original's station head bit, which a wave height bit shares |
| pools-river | source/OpenTPW/World/Pools/PoolActivities.cs:211 | [EXT:pools-attractions] [EXT:pools-river] the water attractions (P5) and the lazy river |
| pools-river | source/OpenTPW/World/Pools/PoolBuilder.cs:42 | <summary>[EXT:pools-river] The river option on a pool cell that was not a river cell: its flag is set, nothing is charged (the cell is paid for already). Not a refusal.</summary> |
| pools-river | source/OpenTPW/World/Pools/PoolBuilder.cs:54 | <summary>[EXT:pools-river] Cells that already were pool cells and got the river flag in this stroke (undone by clearing it). Painted river cells are in <see cref="Cells"/>.</summary> |
| pools-river | source/OpenTPW/World/Pools/PoolBuilder.cs:174 | With <paramref name="river"/> (the river option, [EXT:pools-river]) the cell also gets the river flag: a pool cell that was none then returns <see cref="PoolBuildResult.RiverMarked"/> and is not charged again. |
| pools-river | source/OpenTPW/World/Pools/PoolBuilder.cs:214 | [EXT:pools-river] [EXT:pools-waves] the cell takes its river flag and a wave machine's settings away: an empty cell carries no pool flag (the saves refuse one) |
| pools-river | source/OpenTPW/World/Pools/PoolMeshBuilder.cs:33 | <param name="flowAt">[EXT:pools-river] The current of a lazy river cell as a unit step, or null: the water of such a cell carries it in the x and y of its normal (the water shader scrolls the surface along it); other water has the plain up normal.</param> |
| pools-river | source/OpenTPW/World/Pools/PoolRenderer.cs:155 | [EXT:pools-river] the water of a river cell carries its current |
| pools-river | source/OpenTPW/World/Pools/PoolRenderer.cs:274 | [EXT:pools-river] [EXT:pools-waves] the river and wave flags of a cell are part of what is drawn (the current, the pool that has waves) |
| pools-river | source/OpenTPW/World/Pools/PoolRiver.cs:6 | [EXT:pools-river] OpenTPW's own lazy river; the original game has no pools |
| pools-river | source/OpenTPW/World/Pools/PoolRiver.cs:31 | [EXT:pools-river] OpenTPW's own lazy river; the original game has no pools |
| pools-river | source/OpenTPW/World/Pools/PoolRiver.cs:41 | [EXT:pools-river] OpenTPW's own lazy river; the original game has no pools |
| pools-river | source/OpenTPW/World/Pools/PoolTool.cs:104 | <summary>[EXT:pools-river] True while the river option is on: painted cells also get the river flag (docs/POOLS.md, "Lazy river"). Never in the erase mode.</summary> |
| pools-river | source/OpenTPW/World/Pools/PoolWaterActivities.cs:501 | [EXT:pools-river] OpenTPW's own lazy river; the original game has no pools |
| pools-save | source/OpenTPW.Tests/DeterminismTests.cs:45 | [EXT:pools-save] a fixture that lays cells of its own before the first tick (the pool pin) |
| pools-save | source/OpenTPW.Tests/DeterminismTests.cs:405 | [EXT:pools-save] The fixed run of <see cref="HashOfAFixedRunIsTheSameInEveryProcess"/> on a cross park that also has pool cells, painted through the pool builder with |
| pools-save | source/OpenTPW.Tests/DeterminismTests.cs:1014 | <summary>[EXT:pools-save] The pinned hash of <see cref="RunFixedParkWithPools"/> (docs/DETERMINISM.md, "Pools").</summary> |
| pools-save | source/OpenTPW/Client/ParkResumeSmokeTest.cs:737 | [EXT:pools-save] a save holds the pools extension's own objects only while the park uses the extension: the manifest taken before the pools variant built its room has none, so it is taken again once the room stands |
| pools-save | source/OpenTPW/Online/ParkSharing.cs:56 | [EXT:pools-save] opentpw.pools counts only while the park has pool cells or a changing room, as a save records it (ParkResumeMods.Capture); [EXT:umbrellas-save] opentpw.umbrellas likewise while it has a brolly shop or an umbrella |
| pools-save | source/OpenTPW/World/Level.Resume.cs:225 | [EXT:pools-save] the extension is recorded while the park has a pool cell or a changing room; its manifest keys are those of the objects the park placed (a changing room), not of its whole content. |
| pools-save | source/OpenTPW/World/Level.Resume.cs:288 | [EXT:mods] null unless a simulation-changing extension or mod is active, so unmodded saves keep their bytes; [EXT:pools-save] opentpw.pools is recorded only while the park has pool cells or a changing room, [EXT:umbrellas-save] opentpw.umbrellas only while it has a brolly shop or an umbrella |
| pools-save | source/OpenTPW/World/ParkLayoutSnapshot.cs:432 | [EXT:pools-save] a pool cell is a plain water cell: no links, queue link, owner or placement count, and it exists only while the pools extension is on |
| pools-save | source/OpenTPW/World/ParkResumeSaveFile.cs:351 | The asset manifest's exact key and digest agreement. [EXT:pools-save] The pools extension's keys count only for the extension objects the save places (<see cref="ParkResumeMods.AssetsForUse"/>), in |
| pools-save | source/OpenTPW/World/ParkResumeSaveFile.cs:480 | [EXT:pools-save] a park with pool cells records the pools extension (a park without them does not), so a save cannot hide them from the mod check |
| pools-slides | source/OpenTPW.Tests/PoolSlideActivityTests.cs:309 | [EXT:pools-slides] The tower's launch reads a rider the sweep has already updated in this turn with its counter as it was at the start of the turn (<see cref="PoolSlideActivity"/>'s IsStartClear, as RankInLine does for the |
| pools-slides | source/OpenTPW.Tests/PoolSlideActivityTests.cs:510 | <summary>[EXT:pools-slides] The pinned hash of <see cref="RunFixedSlides"/> (docs/DETERMINISM.md, "Pools").</summary> |
| pools-slides | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:13 | <summary>[EXT:pools-slides] <c>OPENTPW_SMOKE_POOLS=slide</c> (both phases) also builds a slide tower and its slide and saves while a guest climbs, waits on or rides it.</summary> |
| pools-slides | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:35 | [EXT:pools-slides] the slide variant saves while a guest is on the stairs, on the platform or on the track |
| pools-slides | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:102 | [EXT:pools-slides] the slide, its tower and the guests on it came back |
| pools-slides | source/OpenTPW/Hud/ParkHud.Pools.cs:18 | <summary>[EXT:pools-slides] The Miscellaneous list's slide track row (row id -5): continues the first unfinished slide.</summary> |
| pools-slides | source/OpenTPW/Hud/ParkHud.Pools.cs:53 | [EXT:pools-slides] the slide row continues the first unfinished slide |
| pools-slides | source/OpenTPW/Hud/ParkHud.cs:660 | [EXT:pools-slides] a placed slide tower enters the slide mode of the pool tool: the player lays the track from the tower down into the pool |
| pools-slides | source/OpenTPW/Hud/ParkHud.cs:1564 | [EXT:pools-slides] a slide tower refused for want of a pool says so in its own words, turned away from the pool beside it in others |
| pools-slides | source/OpenTPW/UI/Original/SupplementaryStrings.cs:852 | [EXT:pools-slides] a splash cell with riders on it, or the foot of a tower's stairs with guests on them, cannot be erased |
| pools-slides | source/OpenTPW/UI/Original/SupplementaryStrings.cs:854 | [EXT:pools-slides] the slide row, the tool's hints and the refusals of the slide tool |
| pools-slides | source/OpenTPW/World/Commands/PoolCommands.cs:168 | [EXT:pools-slides] One piece of a slide (the slide mode's press and each cell its drag crosses): the next piece of the slide of the tower anchored at (<paramref name="TowerX"/>, <paramref name="TowerY"/>) |
| pools-slides | source/OpenTPW/World/Commands/PoolCommands.cs:193 | <summary>[EXT:pools-slides] Backspace in the slide mode: the last piece of the slide of the tower anchored at (<paramref name="TowerX"/>, <paramref name="TowerY"/>) is taken back and refunded.</summary> |
| pools-slides | source/OpenTPW/World/Guests/GuestSimulation.Slides.cs:3 | [EXT:pools-slides] The slide activity's two seams into the simulation (docs/POOLS.md, "Water slides"): the park's slides, and the water of the swimmer's own changing room. |
| pools-slides | source/OpenTPW/World/Guests/GuestSimulation.Slides.cs:6 | <summary>[EXT:pools-slides] The park's water slides, set by the level while the pools extension is on; null in a simulation without them.</summary> |
| pools-slides | source/OpenTPW/World/Guests/GuestSimulation.Slides.cs:9 | <summary>[EXT:pools-slides] The water the guest's changing room shares (<see cref="SwimRegionOf"/>), or null when it has none or the guest names no changing room.</summary> |
| pools-slides | source/OpenTPW/World/Guests/GuestSimulation.cs:5307 | [EXT:pools-slides] the park's water slides join the digest only when there are any (every park without slides keeps its pins) |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:674 | [EXT:pools-slides] a built slide keeps its splash cell and its tower's pool-side cells, and guests on it their cells |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:689 | <summary>[EXT:pools-slides] Whether the last refused placement was a slide tower beside a pool on the wrong side (the HUD's wording).</summary> |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:715 | [EXT:pools-slides] the slides are drawn with the pool, before the swimmers and the riders (entities draw in the order they are made) |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:816 | [EXT:pools-slides] a rider inside a closed tube is not drawn (presentation only) |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:827 | [EXT:pools-slides] a rider lying in a flume is drawn pulled towards the camera by the trough's depth, so the curved bed does not cut its lower body (presentation only) |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:1585 | [EXT:pools-slides] a slide's track keeps its land cells for its pylons |
| pools-slides | source/OpenTPW/World/Level.Objects.cs:1855 | [EXT:pools-slides] a slide tower turned away from the pool beside it gets its own message |
| pools-slides | source/OpenTPW/World/Level.Resume.cs:404 | [EXT:pools-slides] the slides go back over their towers and the pool cells the layout restored |
| pools-slides | source/OpenTPW/World/Level.Slides.cs:5 | <summary>[EXT:pools-slides] The park's water slides: towers placed beside a pool and the tracks built from them (docs/POOLS.md, "Water slides"); null on a read-only visit and before the paths are set up.</summary> |
| pools-slides | source/OpenTPW/World/Level.Slides.cs:18 | [EXT:pools-slides] Creates the slide world over the level's cell map and follows the placed slide towers: a tower placed registers its slide, a tower removed takes its slide with it and ends the rides |
| pools-slides | source/OpenTPW/World/Level.Slides.cs:35 | <summary>[EXT:pools-slides] Starts the slide mode of the pool tool for the tower's slide (after ending the other tools); false when the extension is off or the slide is already finished.</summary> |
| pools-slides | source/OpenTPW/World/Level.Slides.cs:44 | <summary>[EXT:pools-slides] The first placed slide tower whose slide is not finished (no track yet, or an open end), in placement order, or null.</summary> |
| pools-slides | source/OpenTPW/World/Level.Slides.cs:141 | [EXT:pools-slides] Why a pool cell cannot be erased because of a slide: it is the splash cell of a complete slide or a pool-side cell of a slide's tower (always: a built slide keeps its water, as a changing |
| pools-slides | source/OpenTPW/World/ParkResumeSaveFile.cs:678 | [EXT:pools-slides] the slides part: shape only (the rules need the towers, which the level checks while it restores) |
| pools-slides | source/OpenTPW/World/ParkResumeSnapshot.cs:142 | [EXT:pools-slides] The park's water slides (<c>opentpw.pools</c>), or null when it held none: each slide's tower, profile, start, pieces and heights (docs/POOLS.md, "Water slides"). Left out of the |
| pools-slides | source/OpenTPW/World/Pools/PoolBuilder.cs:32 | <summary>[EXT:pools-slides] The cell is the splash cell of a slide with riders on it, or the foot of a tower's stairs with guests on them.</summary> |
| pools-slides | source/OpenTPW/World/Pools/PoolBuilder.cs:34 | <summary>[EXT:pools-slides] The cell is the splash cell of a built slide or a pool-side cell of a slide tower: the slide stands on that water.</summary> |
| pools-slides | source/OpenTPW/World/Pools/PoolBuilder.cs:36 | <summary>[EXT:pools-slides] The slide tool refused the cell; <see cref="PoolTool.LastSlideRefusal"/> says why.</summary> |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:45 | <summary>[EXT:pools-slides] The slides the tool lays in its slide mode; set by the level.</summary> |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:164 | [EXT:pools-slides] Turns the tool on in the slide mode for the slide of the tower anchored at (<paramref name="towerX"/>, <paramref name="towerY"/>): each cell pressed or dragged over becomes the next |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:270 | [EXT:pools-slides] a slide the splash has finished takes no more cells: the rest of the drag is not a refusal |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:307 | [EXT:pools-slides] a finished slide ends the slide mode |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:325 | [EXT:pools-slides] the pieces of a slide are taken back by Backspace in the slide mode, not by the pool strokes' undo (which would erase the pool cells of the track) |
| pools-slides | source/OpenTPW/World/Pools/PoolTool.cs:379 | [EXT:pools-slides] in the slide mode Backspace takes back the last piece |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlide.cs:33 | [EXT:pools-slides] OpenTPW's own water slides; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideActivity.cs:19 | [EXT:pools-slides] Riding a water slide (docs/POOLS.md, "Water slides"), an <see cref="IPoolActivity"/>. It is offered to a swimmer whose water holds both the foot of a slide tower's stairs and the slide's |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideActivity.cs:24 | [EXT:pools-slides] OpenTPW's own water slides; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideActivity.cs:299 | The place of the guest in the line in the tower (no counterpart in tp.exe, part of [EXT:pools-slides]): how many guests on the stairs or the platform are ahead of it. Waiters go before climbers, the longest waiting (or the furthest up the stairs) |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideRide.cs:6 | [EXT:pools-slides] OpenTPW's own slide ride; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideRide.cs:30 | [EXT:pools-slides] OpenTPW's own slide ride; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideRules.cs:62 | [EXT:pools-slides] OpenTPW's own rules; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideTowers.cs:8 | [EXT:pools-slides] OpenTPW's own object and placement rule; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideTowers.cs:163 | [EXT:pools-slides] OpenTPW's own model; the original game has no pools |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideWorld.cs:8 | <summary>[EXT:pools-slides] The shape check of the slides part of a save (<see cref="PoolSlideSaves"/>).</summary> |
| pools-slides | source/OpenTPW/World/Pools/Slides/PoolSlideWorld.cs:52 | [EXT:pools-slides] OpenTPW's own slides; the original game has no pools |
| pools-style | source/OpenTPW/World/Pools/PoolStyle.cs:41 | [EXT:pools-style] OpenTPW's own pool styles; the original game has no pools |
| pools-style | source/OpenTPW/World/Pools/PoolStyles.cs:7 | [EXT:pools-style] OpenTPW's own pool styles; the original game has no pools |
| pools-swim | source/OpenTPW.Tests/DeterminismTests.cs:70 | [EXT:pools-swim] a changing room hanging below the cross park's path cell (5, 5), whose back cells (5, 8) and (6, 8) lie in the pool the fixture painted: the swim session joins the run |
| pools-swim | source/OpenTPW.Tests/DeterminismTests.cs:422 | [EXT:pools-swim] The fixed run on the cross park with a pool of 6 x 2 cells (x 3 to 8, y 8 to 9) and a changing room below the path row, its entrance cell (5, 6) reached from the path cell (5, 5) and its back cells (5, 8) and (6, 8) in the pool: guests choose the room like the shop, |
| pools-swim | source/OpenTPW.Tests/DeterminismTests.cs:448 | <summary>[EXT:pools-swim] The pinned hash of <see cref="RunFixedParkWithPoolsAndAChangingRoom"/> (docs/DETERMINISM.md, "Pools").</summary> |
| pools-swim | source/OpenTPW.Tests/GuestTurnSweepTests.cs:68 | [EXT:pools-swim] a change room's exit wait counts seconds on every tick, as before: the original has no such state |
| pools-swim | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:82 | [EXT:pools-swim] the swim session's states have no KIDSTATES entry; a guest aboard a changing room is changing |
| pools-swim | source/OpenTPW/UI/Original/SupplementaryStrings.cs:116 | [EXT:pools-swim] the guest states of the swim session and the refusals of the changing room (docs/POOLS.md) |
| pools-swim | source/OpenTPW/UI/Original/SupplementaryStrings.cs:844 | [EXT:pools-swim] the swim session's guest states and the changing room's refusals |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:46 | [EXT:pools-swim] OpenTPW's own guest state; the original game has no pools |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:49 | [EXT:pools-swim] OpenTPW's own guest state; the original game has no pools |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:52 | [EXT:pools-swim] OpenTPW's own guest state; the original game has no pools |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:136 | <summary>[EXT:pools-swim] In the water: swimming, or on the way back to the changing room's pool-side cell.</summary> |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:138 | <summary>[EXT:pools-swim] Part of a swim session (the water or the changing back): such a guest names a changing room as its attraction and has no path cell.</summary> |
| pools-swim | source/OpenTPW/World/Guests/Guest.cs:154 | [EXT:pools-swim] the swim session (docs/POOLS.md); all zero outside it |
| pools-swim | source/OpenTPW/World/Guests/GuestRenderer.cs:62 | <summary>[EXT:pools-swim] Chooses the animation slot and step of a guest instead of the walking, waiting and standing rules (the swimmers' renderer: the swim strokes); null for the kids and the costumes.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestRenderer.cs:70 | <summary>[EXT:pools-swim] Where a guest's hotspot lies in the engine instead of on the ground (the swimmers' renderer: on the water); null for the kids and the costumes.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestRenderer.cs:80 | [EXT:pools-swim] The direction is the nearest 45 degree step of the exact heading seen from the camera, which the swimmers' lying poses and their residual rotation rely on. False (the kids and the costumes) is the |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:110 | script's hidden walk actions deleted has no player and is not drawn. A changing room's guests stay out of view ([EXT:pools-swim]). |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:15 | [EXT:pools-swim] The pool-side cell of a changing room: the first of its back cells that holds pool water now, or null when none does (the pool beside it was erased). |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:17 | [EXT:pools-swim] OpenTPW's own swim session; the original game has no pools |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:26 | <summary>[EXT:pools-swim] The water a changing room's swimmers share: the pool cells connected to its pool-side cell; null when it has no pool beside it.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:39 | <summary>[EXT:pools-swim] Whether the guest is aboard a changing room, changing into swimwear (hidden; the room's script holds it for the changing time).</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:43 | [EXT:pools-swim] The guests in a swim session of the changing room with this attraction id, for erase guards and tests: swimming, climbing out or changing back. |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:47 | <summary>[EXT:pools-swim] How many bodies (swimmers, floaters, guests under a jet: <see cref="IsWaterBody"/>) are in the water of <paramref name="region"/>, whichever changing room they came from.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:58 | [EXT:pools-swim] Whether a guest is a body in the water of the region now: swimming or climbing out there, or in a state-25 activity whose <see cref="IPoolActivity.InWater"/> says so (a river floater, a |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:101 | [EXT:pools-swim] Collects into <paramref name="into"/> the bodies in the water of the region (<see cref="IsWaterBody"/>) other than <paramref name="except"/> whose point is within <paramref name="radius"/> (16.16 cells, at most |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:117 | <summary>[EXT:pools-swim] The bodies in the water within <paramref name="radius"/> (in both axes) of a point, other than <paramref name="except"/>. The list is valid until the next query.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:124 | <summary>[EXT:pools-swim] The points of the bodies near a point, for <see cref="PoolSwimming.Step"/>: within <see cref="PoolSwimSettings.AvoidRadius"/> in both axes. The span is valid until the next call.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:134 | <summary>[EXT:pools-swim] Whether another body is in the water within <paramref name="radius"/> (16.16 cells, at most 1 cell) of the point: an activity waits for its landing zone to be free by it.</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:144 | <summary>[EXT:pools-swim] Whether a swimmer's position lies in the cell (the pool tool does not erase water under swimmers).</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:268 | [EXT:pools-swim] a closed park sends the swimmers out of the water (the guests' own leaving test runs once they are back on the path) |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:113 | [EXT:pools-swim] a swim session in a changing room's pool hides the guest like a ride: OpenTPW's own pool states (the original has none) count as inside |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:37 | <summary>[EXT:pools-swim] How long a guest out of a pools changing room stands on its path-side exit before it decides again (every other let-off walks out in state 15, <see cref="ExitRide"/>).</summary> |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:409 | [EXT:pools-swim] demolishing a changing room gets its swimmers out of the water: they step out on its path-side exit |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:1089 | [EXT:pools-swim] Whether a guest is counted as standing in the park for the statistics that count by cell (the thoughts ranking, the balloon and costume shares): on a park cell, or in a swim session, |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:1107 | the states with no original behind them keep their per tick step: the vehicle-less park's wait for a bus (the original refuses a park without arrival vehicles, 0x51A601) and the pools extension's swim sessions and activities ([EXT:pools-swim]: the swimmers, the river, the waves and the slides move every tick, and a change room's exit wait counts seconds) |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:1356 | [EXT:pools-swim] the swim session (GuestSimulation.Swimming.cs) |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:1674 | [EXT:pools-swim] swimmers and guests changing back are in no walkers' cell list: the water is nobody's path |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:3684 | [EXT:pools-swim] a guest released from a changing room with a pool beside it swims; any other release walks on |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:3800 | [EXT:pools-swim] a guest out of a changing room stands on its path-side exit for ExitRideSeconds, then decides again |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:3888 | [EXT:pools-swim] a swimmer keeps its balloon away until it steps out of the changing room again (EndSwimAtOnce) |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:4089 | [EXT:pools-swim] a swimmer is out walking about the park's pool (counted with the walkers); a guest changing back is indoors like a rider |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:4651 | [EXT:pools-swim] a swim session names the changing room it started at and holds its own state; a guest outside one holds none of it |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulation.cs:5261 | [EXT:pools-swim] the swim session joins the digest only while a guest is in one (every park without a changing room keeps its pins) |
| pools-swim | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:118 | [EXT:pools-swim] the swim session (docs/POOLS.md); every field is absent (zero) outside it and in saves made before the pools extension, which restore with no swimmers |
| pools-swim | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:264 | [EXT:pools-swim] The object is a pool complex's changing room (<c>Pools.ChangingRoom</c> in its .sam): a guest released from it goes swimming instead of walking on, when the |
| pools-swim | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:273 | [EXT:pools-swim] The object has been stopped (demolished, or its script ended): the guests it releases then step out on its exit like those of any attraction, and no swim starts. |
| pools-swim | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:276 | <summary>[EXT:pools-swim] The cells beyond the changing room's back (opposite its entrance), in the order the first pool cell among them is taken as the pool-side cell; empty for any other object.</summary> |
| pools-swim | source/OpenTPW/World/Guests/RideVisitorBridge.cs:178 | <summary>[EXT:pools-swim] The object is a changing room (<c>Pools.ChangingRoom</c>); set when the level creates the bridge.</summary> |
| pools-swim | source/OpenTPW/World/Guests/RideVisitorBridge.cs:184 | <summary>[EXT:pools-swim] Set by the runtime when it stops (demolition) before it releases the guests, so a changing room's guests do not start a swim; not saved (a stopped runtime restores stopped).</summary> |
| pools-swim | source/OpenTPW/World/Guests/RideVisitorBridge.cs:186 | <summary>[EXT:pools-swim] The cells beyond the back of a changing room; set when the level registers it (geometry only: whether one is a pool cell is read when a guest swims).</summary> |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:656 | [EXT:pools-swim] Why a pool cell cannot be erased: a swimmer is in it, or it lies beside the back of a changing room (the room needs its pool, and a save that holds a changing room |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:721 | [EXT:pools-swim] the swimmers are drawn after the water (entities draw in the order they are made), with the swim sprites loaded at level setup |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:764 | <summary>[EXT:pools-swim] The swim sets decoded ahead on a worker (desktop only; null until <see cref="PreloadSwimSprites"/> ran).</summary> |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:768 | [EXT:pools-swim] Loads the swim sets and decodes them on a worker so that the first pool frame does not stall: at level setup for a park with pool water, else when the first pool cell is painted. Once per level; with the |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:780 | [EXT:pools-swim] [EXT:park-entry-preparation] The swim sets the swimmers' renderer reads when the park's first frame makes it, read ahead in a park build's steps where they |
| pools-swim | source/OpenTPW/World/Level.Objects.cs:811 | [EXT:pools-swim] a swimmer wears the swimwear of the kid set it has on land: the swim sets take the same places as the kid sets (KidSetLoad), so the guest's draw picks the same kid in both |
| pools-swim | source/OpenTPW/World/Level.cs:230 | <summary>[EXT:pools-swim] Draws the swimmers with the swim sprites, on the water; created beside the pool renderer, after it, so it draws after the water.</summary> |
| pools-swim | source/OpenTPW/World/Level.cs:852 | [EXT:pools-swim] the swim sets (64 MiB decoded) are decoded on a worker only for a park that has pool water already; any other park starts that when its first pool cell is painted (PreloadSwimSprites) |
| pools-swim | source/OpenTPW/World/Level.cs:869 | [EXT:pools-swim] swimmers are drawn by the pools' own renderer with the swim sprites (RefreshPools), whatever they wear |
| pools-swim | source/OpenTPW/World/Level.cs:1009 | [EXT:pools-swim] a swimmer in the water is picked like any visitor |
| pools-swim | source/OpenTPW/World/ParkGate.cs:201 | type 0, 1, 3, 9 or 10 (Mac <c>0xc3684</c>); [EXT:pools-swim] a guest in a swim session (swimming in the water, climbing out, changing back) counts too, though the pool water is no counted type. Preserved approach-road and outside types do not count. The cell is |
| pools-swim | source/OpenTPW/World/Pools/PoolBuilder.cs:28 | <summary>[EXT:pools-swim] Erasing a pool cell with a swimmer in it: the water stays until the swimmer is out.</summary> |
| pools-swim | source/OpenTPW/World/Pools/PoolBuilder.cs:92 | <param name="eraseBlock">[EXT:pools-swim] Why a pool cell may not be erased now (a swimmer in it, a changing room beside it), or null.</param> |
| pools-swim | source/OpenTPW/World/Pools/PoolRenderer.cs:100 | <summary>[EXT:pools-swim] The engine height of the water surface over a pool cell (the level surface of its group of connected cells), or null when the cell holds no water in the last build.</summary> |
| pools-swim | source/OpenTPW/World/Pools/PoolRenderer.cs:132 | [EXT:pools-swim] the water writes no depth, so the swimmers drawn after it (the lower half of their sprite lies under the surface) are not cut away by it; the floor and the walls, drawn before, still hide them |
| pools-swim | source/OpenTPW/World/Pools/PoolSwimming.cs:6 | [EXT:pools-swim] OpenTPW's own swim session; the original game has no pools |
| pools-swim | source/OpenTPW/World/Pools/PoolSwimming.cs:48 | [EXT:pools-swim] OpenTPW's own swim region; the original game has no pools |
| pools-swim | source/OpenTPW/World/Pools/PoolSwimming.cs:133 | [EXT:pools-swim] OpenTPW's own steering; the original game has no pools |
| pools-terrain-rule | source/OpenTPW/World/Pools/PoolBuilder.cs:79 | [EXT:pools-terrain-rule] a threshold chosen from the heights of the four themes' land (docs/POOLS.md, "The ground rule"); the original validates no slope for any tool (0x535670 has no float operation) |
| pools-tool | source/OpenTPW/Hud/ParkHud.Cursor.cs:63 | [EXT:pools-tool] the pool tool draws the path tool's pointer, and the cash pointer when the cell under it cannot be paid for; the original has no pool pointer |
| pools-tool | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:287 | [EXT:pools-bridges] [EXT:pools-tool] a refused Backspace over a pool bridge or water cell says why, as the host's key does (C3b-3) |
| pools-tool | source/OpenTPW/Hud/ParkHud.Pools.cs:172 | [EXT:pools-bridges] [EXT:pools-tool] the refusals of removing a bridge or a water cell with Backspace read as the pool tool's own (BridgeRefusalText, PoolRefusalText) |
| pools-tool | source/OpenTPW/Hud/ParkHud.cs:1614 | Backspace over a path, queue, pool bridge or pool water cell with no tool on: the backtrack sound, then that cell is removed (GameAudio.BacktrackEvent; a queue is [EXT:queue-backtrack], a pool bridge or water cell [EXT:pools-bridges] [EXT:pools-tool]); a held key repeats only over path and queue cells. |
| pools-tool | source/OpenTPW/Hud/ParkHud.cs:1832 | [EXT:pools-tool] the pool tool marks the cell under the pointer: blue where it can be painted (or erased), red where it is refused |
| pools-tool | source/OpenTPW/World/CellBuildTool.cs:17 | <summary>[EXT:pools-tool] The pool paint tool of the <c>opentpw.pools</c> extension: the mode is the cell type it writes, as for the other tools (docs/POOLS.md).</summary> |
| pools-tool | source/OpenTPW/World/Commands/PoolCommands.cs:47 | [EXT:pools-tool] One cell of a paint stroke (<see cref="PoolTool"/>: the press and each cell a drag crosses): the cell becomes pool water and is charged, or, with <paramref name="River"/>, a pool cell already |
| pools-tool | source/OpenTPW/World/Commands/PoolCommands.cs:77 | <summary>[EXT:pools-tool] One cell of an erase stroke: a pool cell becomes an empty cell again and is refunded. The value is the write (<see cref="PoolCellWrite"/>), accepted or not.</summary> |
| pools-tool | source/OpenTPW/World/Commands/PoolCommands.cs:105 | [EXT:pools-tool] Backspace in the pool tool: takes back a stroke. An erase stroke's <paramref name="Cells"/> are painted again (each charged again, a cell that cannot be paid for ends it); a paint stroke's |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:597 | [EXT:pools-tool] Whether a guest or an employee stands on the cell (the cell their position falls in): water is not painted under them. Guests inside a ride's queue or on a ride keep |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:692 | <summary>[EXT:pools-tool] The headless pool builder over the level's cell map (original levels, not a read-only visit); null otherwise (docs/POOLS.md).</summary> |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:694 | <summary>[EXT:pools-tool] The pool paint tool the park view drives while the <c>opentpw.pools</c> extension is on.</summary> |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:925 | [EXT:pools-tool] the pool builder and its paint tool share the cell map; they refuse every cell while the extension is off (FeatureGates.Pools) |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:1274 | [EXT:pools-tool] Backspace over a pool water cell erases that cell with the erase rules and the refund of the pool tool (PoolBuilder.Erase): not with swimmers, a changing room's access, an extra or attraction that needs it, or a bridge over it; the original has no pools |
| pools-tool | source/OpenTPW/World/Level.Objects.cs:1282 | [EXT:pools-tool] with the extension off the pool targets are no targets: no refusal, no sound, no message |
| pools-tool | source/OpenTPW/World/Pools/PoolBuilder.cs:4 | [EXT:pools-tool] OpenTPW's own tool; the original game has no pools |
| pools-tool | source/OpenTPW/World/Pools/PoolBuilder.cs:72 | [EXT:pools-tool] OpenTPW's own tool and rules; the original game has no pools |
| pools-tool | source/OpenTPW/World/Pools/PoolTool.cs:8 | [EXT:pools-tool] OpenTPW's own tool; the original game has no pools |
| pools-ui | source/OpenTPW/Hud/ParkHud.Land.cs:20 | [EXT:pools-ui] the pool rows follow the land rows while the opentpw.pools extension is on (ParkHud.Pools.cs) |
| pools-ui | source/OpenTPW/Hud/ParkHud.Pools.cs:10 | [EXT:pools-ui] OpenTPW's own rows and texts; the original game has no pools |
| pools-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:108 | [EXT:pools-ui] the pool tool of the opentpw.pools extension (docs/POOLS.md) |
| pools-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:836 | [EXT:pools-ui] the pool tool of the opentpw.pools extension |
| pools-value | source/OpenTPW/Economy/ParkValueRules.cs:29 | [EXT:pools-value] pool water is worth what the land under it was: 2, as for an empty cell (a pool cell would otherwise score 0 and lower the park value, docs/POOLS.md) |
| pools-waves | source/OpenTPW.Tests/PoolsAttractionsTests.cs:713 | <summary>[EXT:pools-waves] The river rig with a wave machine at the pool's north edge (its access cell is a river cell) and the water effects registered.</summary> |
| pools-waves | source/OpenTPW.Tests/PoolsAttractionsTests.cs:937 | <summary>[EXT:pools-waves] A rig whose changing room takes twelve, with a wave machine (when <paramref name="waves"/> is given), the water effects and the ring floaters registered, and twelve swimmers sent.</summary> |
| pools-waves | source/OpenTPW/Client/ParkResumeSmokeTest.Pools.cs:92 | [EXT:pools-river] [EXT:pools-waves] [EXT:pools-attractions] the ring is derived again from the saved flags, the pool kept its wave settings, and the water attractions are placed objects again |
| pools-waves | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:489 | [EXT:pools-waves] a wave machine (a Features object, shown in the shop table) has none of these controls; its "Wave settings" button takes their row, from the quality slider's left (0xc06b) to the price box's right (0xc085) |
| pools-waves | source/OpenTPW/Hud/ParkHud.Pools.cs:237 | [EXT:pools-waves] The object window's "Wave settings" button, shown while a wave machine is selected: it opens the machine's settings window (<see cref="OpenWaveSettings"/>). The original's object |
| pools-waves | source/OpenTPW/Hud/ParkHud.Pools.cs:272 | [EXT:pools-waves] The wave machine's settings window: waves on or off, the height (low, medium, high: <see cref="PoolWaveSettings.Height"/> 1 to 3) and the rest between two runs (short, normal, |
| pools-waves | source/OpenTPW/Hud/ParkHud.cs:1411 | [EXT:pools-waves] a deliberate second click on the wave machine that is already selected opens its settings window; selecting it (here or from the attractions list) changes nothing (ParkHud.Pools.cs) |
| pools-waves | source/OpenTPW/UI/Original/SupplementaryStrings.cs:138 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option of the pool tool and the wave machine's settings (docs/POOLS.md) |
| pools-waves | source/OpenTPW/UI/Original/SupplementaryStrings.cs:870 | [EXT:pools-attractions] [EXT:pools-river] [EXT:pools-waves] the water attractions' refusals, the river option and the wave machine's settings |
| pools-waves | source/OpenTPW/UI/Original/SupplementaryStrings.cs:891 | [EXT:pools-waves] the wave machine's settings window (titled with the machine's name): the object window's button that opens it, and the choices of height and of the rest between two runs |
| pools-waves | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| pools-waves | source/OpenTPW/World/Commands/PoolCommands.cs:344 | [EXT:pools-waves] The wave machine settings window's tick: the machine whose attraction id is <paramref name="Attraction"/> runs waves (<paramref name="On"/>) of <paramref name="Height"/> 1 to 3 with a rest of |
| pools-waves | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:284 | [EXT:pools-waves] and the currents of the water (the waves) carry it after its stroke |
| pools-waves | source/OpenTPW/World/Guests/GuestSimulation.Swimming.cs:358 | [EXT:pools-waves] The push of the water's currents (the registered <see cref="IPoolCurrent"/>s: the waves) on a body in the water of <paramref name="region"/> this turn, in 16.16 cells; zero for none. |
| pools-waves | source/OpenTPW/World/Level.Objects.cs:834 | [EXT:pools-waves] a swimmer bobs on the waves of its pool (the drawn height only; presentation only) |
| pools-waves | source/OpenTPW/World/Level.Objects.cs:840 | [EXT:pools-waves] the water level rides the swell the surface is drawn with, so a swimmer in an activity floats on it too (the deck and a slide's track do not move) |
| pools-waves | source/OpenTPW/World/Level.PoolAttractions.cs:14 | [EXT:pools-waves] [EXT:pools-attractions] Every frame while a pool is drawn: gives the water the park turn its waves run on, and creates the spray renderer once a water jet stands beside the water. |
| pools-waves | source/OpenTPW/World/Level.PoolAttractions.cs:47 | [EXT:pools-waves] The wave settings of a placed wave machine (the machine's own, in the flags of its access cell; a machine whose cell holds none runs <see cref="PoolWaveSettings.Default"/>), or null |
| pools-waves | source/OpenTPW/World/Level.PoolAttractions.cs:56 | [EXT:pools-waves] Writes the wave settings of a placed wave machine (height 1 to 3 and interval 0 to 2 are clamped as the flags hold them). False, and nothing written, when the object is no wave machine |
| pools-waves | source/OpenTPW/World/Level.PoolAttractions.cs:68 | [EXT:pools-waves] Steps a wave machine's settings to the next preset (<see cref="PoolWaveSettings.NextPreset"/>; a machine running the default moves on from it). Returns them, or null when the object is no |
| pools-waves | source/OpenTPW/World/ParkCellMap.cs:92 | <summary>[EXT:pools-waves] On a pool water cell: the pool's wave machine is switched on (<see cref="PoolWaveSettings"/>).</summary> |
| pools-waves | source/OpenTPW/World/ParkCellMap.cs:95 | [EXT:pools-waves] The two wave-height bits (0 means the pool has no wave settings yet, 1 to 3 is the height). A coaster station head's marker cell (type 21) carries 0x100 as the |
| pools-waves | source/OpenTPW/World/ParkCellMap.cs:99 | <summary>[EXT:pools-waves] The two wave-interval bits (0 to 2 is the interval; 3 is unused).</summary> |
| pools-waves | source/OpenTPW/World/ParkCellMap.cs:101 | <summary>[EXT:pools-waves] Every pool flag a pool cell may carry besides the river bit: the wave settings' bits.</summary> |
| pools-waves | source/OpenTPW/World/ParkLayoutSnapshot.cs:437 | [EXT:pools-river] [EXT:pools-waves] a pool cell's flags are the river bit and the wave settings' bits, nothing else; the wave bits are a stored height (1 to 3) and an interval (0 to 2), on or off |
| pools-waves | source/OpenTPW/World/ParkLayoutSnapshot.cs:443 | [EXT:pools-river] [EXT:pools-waves] the river and wave bits exist on pool cells only; a coaster's marker cell keeps the original's station head bit, which a wave height bit shares |
| pools-waves | source/OpenTPW/World/Pools/PoolActivities.cs:28 | [EXT:pools-waves] A current of the water that carries a body in it (the waves of a wave machine): its push for this park turn, in 16.16 cells, which the free swimmers' step adds after the stroke and the lazy |
| pools-waves | source/OpenTPW/World/Pools/PoolActivities.cs:217 | [EXT:pools-waves] ring floaters in a wave pool, offered only while its waves run |
| pools-waves | source/OpenTPW/World/Pools/PoolBuilder.cs:214 | [EXT:pools-river] [EXT:pools-waves] the cell takes its river flag and a wave machine's settings away: an empty cell carries no pool flag (the saves refuse one) |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:12 | <summary>[EXT:pools-waves] The wave machine's strength for the water (0 flat to 1), in the free padding after the light position.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:14 | <summary>[EXT:pools-waves] The wave's phase in cycles at the grid origin, in the free padding after the light colour.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:72 | [EXT:pools-waves] the water of up to eight pools with a wave machine is drawn by entities of their own (created before the swimmers' renderer, so the order of drawing stays), each with its own wave |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:81 | <summary>[EXT:pools-waves] How many pools with waves are drawn with their own wave at once; a ninth draws flat.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:83 | <summary>[EXT:pools-waves] The park turn with a fraction, for the frame (set by the level; null draws flat water). Presentation only.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:85 | <summary>[EXT:pools-waves] The park's water attractions: a pool has waves only while a wave machine of it is on.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:87 | <summary>[EXT:pools-waves] The amplitude (0 to 1) of each wave slot in the last frame, for tests and smokes.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:205 | [EXT:pools-waves] Every frame: the wave slots' strength and phase from the park turn. The strength is the run's swell (<see cref="PoolWaves.Envelope"/>) times the height setting, 0 to 1; the phase is |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:224 | [EXT:pools-waves] Takes the water quads of the pools that have wave settings out of the flat water and into one part per pool (at most <see cref="WaveSlots"/>, in row order of their first cell); |
| pools-waves | source/OpenTPW/World/Pools/PoolRenderer.cs:274 | [EXT:pools-river] [EXT:pools-waves] the river and wave flags of a cell are part of what is drawn (the current, the pool that has waves) |
| pools-waves | source/OpenTPW/World/Pools/PoolSwimming.cs:252 | [EXT:pools-waves] Carries a swimmer by (<paramref name="dx"/>, <paramref name="dy"/>) (16.16 cells; the push of the waves) when the point it lands on is free water and not within |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterActivities.cs:558 | [EXT:pools-waves] the waves of the pool carry the floater too, along its lane only (WavePush), where the push keeps it in free water of its own ring and clear of the other bodies |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterActivities.cs:572 | [EXT:pools-waves] The part of the water's push (<paramref name="push"/>, 16.16 cells; the waves run along +x +y) a floater at (<paramref name="x"/>, <paramref name="y"/>) takes: its projection on the axis of |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterActivities.cs:611 | <summary>[EXT:pools-waves] The numbers of the wave pool's ring floaters (<see cref="WaveRingActivity"/>; OpenTPW's own).</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterActivities.cs:631 | [EXT:pools-waves] Floating on an inflatable ring in a wave pool (<c>waves.ring</c>, docs/POOLS.md, "Ring floaters"): while a pool's waves run, a free swimmer away from a lazy river lane and the steps may take |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterActivities.cs:638 | [EXT:pools-waves] OpenTPW's own ring floaters; the original game has no pools |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterEffects.cs:11 | [EXT:pools-waves] [EXT:pools-attractions] OpenTPW's own pool effects; the original game has no pools |
| pools-waves | source/OpenTPW/World/Pools/PoolWaterEffects.cs:57 | <summary>[EXT:pools-waves] The push of the waves of the swimmer's pool on this turn (<see cref="PoolWaves.Push"/>, at the swimmer's point, where the drawn crest is), or none when the pool has no waves.</summary> |
| pools-waves | source/OpenTPW/World/Pools/PoolWaves.cs:13 | [EXT:pools-waves] OpenTPW's own wave machine; the original game has no pools |
| pools-waves | source/OpenTPW/World/Pools/PoolWaves.cs:91 | [EXT:pools-waves] OpenTPW's own wave machine; the original game has no pools |
| pools-waves | source/OpenTPW/World/Pools/PoolWaves.cs:161 | [EXT:pools-waves] The sway of the waves on a body that floats on them (the wave pool's ring floaters): the same as <see cref="Push"/> while the crest is up, and as much back along -x -y while the |
| postcard-player-names | source/OpenTPW.Online/Packages/PostcardRecipient.cs:3 | <summary>[EXT:postcard-player-names] An address with '@' is e-mail; other recipients are player names.</summary> |
| postcard-player-names | source/OpenTPW.Server/ServerStore.Postcards.cs:10 | [EXT:postcard-player-names] Delivery receipts belong to the authenticated account and the immutable card content, |
| postcard-player-names | source/OpenTPW/Online/OnlineScreens.cs:1760 | [EXT:postcard-player-names] OpenTPW accepts player names and e-mail addresses together. Tokens with '@' use the shared address validator; |
| postcard-player-names | source/OpenTPW/Online/OnlineScreens.cs:1776 | [EXT:postcard-player-names] the prompts are shown while a field is empty instead of being its text, so typing does not append to them, and the title takes at |
| postcard-player-names | source/OpenTPW/Online/OnlineScreens.cs:1852 | [EXT:postcard-player-names] player names may hold spaces, so the space the original also splits its e-mail addresses at is not a separator |
| preview-ground-plates | source/OpenTPW.Tests/PreviewDepthOrderTests.cs:185 | [EXT:preview-ground-plates]: the PURPLE_BASE plates face down, which tp.exe's face test (0x581320) drops seen from above; the preview draws them |
| preview-ground-plates | source/OpenTPW/Hud/PreviewIcon.cs:397 | [EXT:preview-ground-plates] the ground plates of the Space Racers and The Blobulator previews (Pgokarts.md2, PWATERIDE.MD2: two triangles of |
| preview-icon-cpu-projection | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:18 | [EXT:preview-icon-cpu-projection] the preview is OpenTPW's projected icon; the settings controls are ParkHud.ObjectSettings |
| preview-icon-cpu-projection | source/OpenTPW/Hud/PreviewIcon.cs:23 | [EXT:preview-icon-cpu-projection] the preview's corners are projected on the CPU with the original's matrix, view and viewport, and its kept triangles are |
| ps2-data | source/OpenTPW/Client/Ps2Export.cs:13 | [EXT:ps2-data] viewing aid for the PS2 version's data, not original behaviour |
| queue-backtrack | source/OpenTPW.Tests/QueueEditTests.cs:35 | [EXT:queue-backtrack] tp.exe's backtrack key takes only path cells; OpenTPW also takes a queue back from the cursor. |
| queue-backtrack | source/OpenTPW.Tests/QueueRemovalCommandTests.cs:439 | [EXT:dev-one-click-remove] [EXT:queue-backtrack] the original's guest policy: the cells go, no guest is written, and the re-evaluation dismisses the guests beyond the room where they stand |
| queue-backtrack | source/OpenTPW/Client/SandboxSmokeTest.Queues.cs:98 | [EXT:queue-backtrack] Backspace over the queue's last cell with no tool on takes it back. |
| queue-backtrack | source/OpenTPW/Client/ThemeParkIncHud.cs:580 | Backspace over a path or queue cell with no tool on: the backtrack sound, then that cell is removed (GameAudio.BacktrackEvent; a queue is [EXT:queue-backtrack]). |
| queue-backtrack | source/OpenTPW/Hud/ParkHud.cs:1614 | Backspace over a path, queue, pool bridge or pool water cell with no tool on: the backtrack sound, then that cell is removed (GameAudio.BacktrackEvent; a queue is [EXT:queue-backtrack], a pool bridge or water cell [EXT:pools-bridges] [EXT:pools-tool]); a held key repeats only over path and queue cells. |
| queue-backtrack | source/OpenTPW/World/Level.Objects.cs:1260 | [EXT:queue-backtrack] tp.exe's key handler backtracks only a type-1 (path) cell: it tests the tile's +8 through 0x536310 at 0x40BE3C and does nothing over a queue cell, whose cells the original takes back only with Backspace inside the queue tool (Back 0x52FE50, the segment just laid); OpenTPW also takes a queue back from the cursor, as the remove tool does (QueuePaths.RemoveFrom, so the queue stays one line from the ride) |
| queue-backtrack | source/OpenTPW/World/Level.Objects.cs:1497 | [EXT:dev-one-click-remove] [EXT:queue-backtrack] the guests keep their place as the original's clear leaves them (it writes no guest): the re-evaluation RemoveFrom ran dismisses them by place alone (0x4DE1F0, 0x501390); the ride's entrance resolves again when it used one of the cells |
| queue-click-at-back-cell | source/OpenTPW/World/Level.Input.cs:533 | [EXT:queue-click-at-back-cell] a left click on a queue cell starts the queue tool at once at the ride's back cell (EnterQueueTool): an OpenTPW design choice, the first click is the whole edit gesture here |
| rain-mood-extension | source/OpenTPW.Tests/DeterminismTests.cs:744 | [EXT:rain-mood-extension] The fixed run on the cross park in a weather that rains from the 20th to the 80th second and from the 140th to the 200th and is clear in between, with the rain mood rule on (docs/UMBRELLAS.md, |
| rain-mood-extension | source/OpenTPW.Tests/DeterminismTests.cs:764 | <summary>[EXT:rain-mood-extension] The pinned hash of <see cref="RunFixedParkInTheRainWithRainMood"/> without a brolly shop (docs/DETERMINISM.md, "Rain mood").</summary> |
| rain-mood-extension | source/OpenTPW.Tests/DeterminismTests.cs:767 | <summary>[EXT:rain-mood-extension] The pinned hash of <see cref="RunFixedParkInTheRainWithRainMood"/> with the brolly shop: the umbrellas and the rain mood rule both on (docs/DETERMINISM.md, "Rain mood").</summary> |
| rain-mood-extension | source/OpenTPW.Tests/RainMoodTests.cs:419 | [EXT:rain-mood-extension] a Theme Park Inc run with the extension switched on has the gate off, so it records nothing and refuses nothing for it |
| rain-mood-extension | source/OpenTPW/Mods/FeatureGates.cs:37 | [EXT:rain-mood-extension] The <c>opentpw.rain-mood</c> extension is on for this run: guests lose or gain happiness, thirst and hunger in rain, storm and snow (docs/UMBRELLAS.md). Off by default, and not in a Theme Park Inc |
| rain-mood-extension | source/OpenTPW/Mods/OfficialExtensions.cs:77 | [EXT:rain-mood-extension] OpenTPW's own extension; Theme Park World's guests do not mind the weather |
| rain-mood-extension | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:8 | [EXT:rain-mood-extension] The rain mood settings while the <c>opentpw.rain-mood</c> extension is on; null (the default) leaves every guest's meters to the needs step alone. The level sets it when it builds the park |
| rain-mood-extension | source/OpenTPW/World/Guests/GuestSimulation.cs:1209 | [EXT:rain-mood-extension] the mood rule follows the umbrella step on the same phase, for every guest in every state (Theme Park Inc's rule runs for all of them); off unless the extension sets the settings |
| rain-mood-extension | source/OpenTPW/World/Level.cs:682 | [EXT:rain-mood-extension] the rain mood rule is on while the extension is: the guests read the same weather state as the umbrella rules |
| rain-mood-extension | source/OpenTPW/World/Level.cs:929 | <summary>[EXT:rain-mood-extension] The rain mood settings the level hands its guests: the shipped rows while the extension's gate is on, none (the default: the rule never runs) otherwise.</summary> |
| rain-mood-extension | source/OpenTPW/World/ParkResumeMods.cs:58 | [EXT:rain-mood-extension] the extension is not offered in a Theme Park Inc run, so an enabled flag there must not leave a trace in what is recorded; [EXT:winter-weather] likewise (a Theme Park Inc park has no weather of this kind) |
| rain-mood-imported-age | source/OpenTPW.Tests/RainMoodTests.cs:208 | [EXT:rain-mood-imported-age] user-approved 2026-10-18 ("Tellen vanaf het laden") |
| rain-mood-imported-age | source/OpenTPW/World/Guests/Guest.cs:235 | [EXT:rain-mood-imported-age] The park turn an imported original guest without a known time in the park was loaded at, while the rain mood extension is on; its age for the rain mood's day gate counts from it. Null for every |
| rain-mood-imported-age | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:256 | [EXT:rain-mood-imported-age] a guest the save gives no time in the park counts its age for the rain mood from this turn (user-approved 2026-10-18, "Tellen vanaf het laden"); recorded only while the extension is on, so other saves keep their bytes |
| rain-mood-imported-age | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:40 | [EXT:rain-mood-imported-age] user-approved 2026-10-18 ("Tellen vanaf het laden"): an imported original guest's age counts from the load (the import turn), so the day gate then opens every fourth day instead of staying at age 0 for good |
| rain-mood-imported-age | source/OpenTPW/World/Guests/GuestSimulation.cs:4608 | [EXT:rain-mood-imported-age] the optional load turn of an imported guest: never negative, and only for a guest without a time in the park |
| rain-mood-imported-age | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:207 | <summary>[EXT:rain-mood-imported-age] The park turn an imported guest without a known time in the park was loaded at (<see cref="Guest.RainMoodAgeStartTurn"/>); written only for such a guest while the extension is on, so every other save has no such field.</summary> |
| rain-mood-once-per-day | source/OpenTPW/World/Guests/Guest.cs:212 | [EXT:rain-mood-once-per-day] The game day plus one on which the rain mood rule (<c>opentpw.rain-mood</c>) last changed this guest's meters; 0 while it never has. Theme Park Inc stores its day at <c>+0x2E8</c> and never reads it, |
| rain-mood-once-per-day | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:20 | [EXT:rain-mood-once-per-day] once per qualifying day instead of on every update of it: the original writes its day (+0x2E8) and never reads it, so the rule hits on every update of those days (about six a game day) |
| rain-mood-once-per-day | source/OpenTPW/World/Guests/GuestSimulation.cs:4602 | [EXT:rain-mood-once-per-day] the optional day of the rule's last application: never negative |
| rain-mood-once-per-day | source/OpenTPW/World/Guests/GuestSimulation.cs:5232 | [EXT:rain-mood-once-per-day] the day of the rule's last application joins the digest only once it has applied (every park without the extension keeps its pins) |
| rain-mood-once-per-day | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:195 | <summary>[EXT:rain-mood-once-per-day] The game day plus one of the rain mood rule's last application to the guest (<see cref="Guest.RainMoodDay"/>); written only once it has applied, so a save without the extension has no such field.</summary> |
| rain-mood-once-per-day | source/OpenTPW/World/Umbrellas/RainMoodRules.cs:55 | [EXT:rain-mood-once-per-day] Theme Park Inc stores the day (+0x2E8) at every qualifying update but never reads it, so its rule applies on every update of a qualifying day; the extension applies it once per qualifying day |
| removable-access-cells | source/OpenTPW/Client/SandboxSmokeTest.Queues.cs:104 | The queue front the placement laid is NoModify, and the remove tool takes it with the queue behind it ([EXT:removable-access-cells]); the ride's entrance then resolves to the nearest path again. |
| removable-access-cells | source/OpenTPW/World/Guests/GuestSimulation.cs:2401 | [EXT:removable-access-cells] only the cells a placement laid outside an entrance or exit, which the original keeps NoModify and OpenTPW lets the player remove, set their guests down; an object's placement sets down no one (tp.exe's 0x528A70 holds no code that moves a person, a guest in a new footprint walks out by the edge test, RIDES-018 retired) |
| removable-access-cells | source/OpenTPW/World/Guests/GuestSimulation.cs:3087 | [EXT:removable-access-cells] a queue whose outside cell was removed falls back to the nearest path cell as its one-cell front (RideVisitorBridge.RecomputeQueue): guests stand in that path cell itself, where the original's entrance cell (type 9, always the object's own cell, 0x4DE040) is never edited away |
| removable-access-cells | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1168 | [APPROX:QUEUE-003] back-cell admission and fourth-slot path geometry are implemented; supported live typed HasQueue entries derive their front from the actual entry link byte (+0x0C, tp.exe 0x4DE040, bits 1, 16, 64, 4), and a native zero front (no cardinal bit; 0x4DE4A0 reads such a ride as unconnected, which the opening guard still answers permissively under ECON-049) leaves its demolition without a count to undo (0x527FB4) and its re-evaluation without a block stamp; a zero-front ride has back cell 0 and size 0 for the guests (they neither score, choose nor join it, and its queued guests but the called one leave at the re-evaluation) with the host's one-cell geometry kept for the called guest's stand cell and the queue tool; unsupported entries (a neighbour off the map) retain the host positive one-cell fallback (untyped worlds keep it too: the gates and test rigs keep it as [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID); a saved mEntryPos that differs from the placement's access cell is reported and the placement's kept (the constructor 0x004DB090 derives it from the shape); an original save's head, links and called guest (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) and its cached back cell and size (+0x3A, +0x40) are imported as read; the cached back and size (+0x3A, +0x40) follow the executable's timing: 0x4DE130 returns them until 0x4DE1F0 drops them (callers 0x52537A, 0x5259AE, 0x526118, 0x527541, 0x529890, 0x52FFEC, 0x534858, 0x53694B), and the host's own syncs (the queue commands' pre-edit sync, the corner walk's and the demolition's reads, the one-click removal's lookup) keep them (RideVisitorBridge.RecomputeQueueKeepingBack); what still drops them with its own recompute is the legacy per-cell builder (QueuePaths.TryExtend, Connect, RemoveFrom), the re-resolution after a removed access cell ([EXT:removable-access-cells]) and the path tool's commit tail (0x52537A), which OpenTPW maps to the selected ride's re-evaluation alone. No corpus or Easymode save holds a guest in states 8/11-15 or a set mFirstInQ; the queue import is checked on synthetic saves only. |
| removable-access-cells | source/OpenTPW/World/Level.Objects.cs:1141 | <paramref name="removeFixed"/> a NoModify queue cell (the front a placement laid) goes too, as [EXT:removable-access-cells] allows. |
| removable-access-cells | source/OpenTPW/World/Level.Objects.cs:1347 | [EXT:removable-access-cells] the path cell the placement laid outside an entrance or exit (flag 0x20) can be removed, where tp.exe's cell clear keeps a NoModify cell that has neighbours (the forced clear 0x5367A0(0, 0) refuses it with "Removing path cell with no neighbours but NOMODIFY set" otherwise); the map start's initial path stays fixed |
| removable-access-cells | source/OpenTPW/World/Level.Objects.cs:1493 | [EXT:removable-access-cells] the queue front the placement laid (flag 0x20) goes with the queue behind it, where tp.exe's cell clear keeps a NoModify cell unless it is forced (0x5367D4..0x5367E0) |
| restart-snapshot-deferred-validation | source/OpenTPW/Client/GameFlow.Restart.cs:73 | [EXT:restart-snapshot-deferred-validation] taken over frames, the capture's closing validation (it reads only the detached copy and the trusted |
| restart-snapshot-deferred-validation | source/OpenTPW/World/ParkResumeSaveFile.cs:226 | [EXT:restart-snapshot-deferred-validation] <see cref="ValidateSnapshot"/> in steps: the same checks in the same order, with a pause between groups of them, so a caller |
| restart-snapshot-per-start | source/OpenTPW/Client/GameFlow.Restart.cs:48 | [EXT:restart-snapshot-per-start] OpenTPW retakes the snapshot at every park start and load, so Restart Park returns to the park being played (user-approved 2026-10-17); the original opens restart.INTS for reading first (0x550c0f, mode 0x80000000) and saves only when that fails (0x550c14), and nothing deletes it between parks, so it keeps the first park of a theme folder as the restart point forever |
| restored-advice | source/OpenTPW/Client/AutomaticAdvisor.cs:355 | [EXT:restored-advice] a help message the extension restores is posted only while it is on (the HUD posts them unconditionally) |
| restored-advice | source/OpenTPW/Client/AutomaticAdvisor.cs:490 | [EXT:restored-advice] the extension's park view (null while it is off) and its per-frame observations |
| restored-advice | source/OpenTPW/Client/AutomaticAdvisor.cs:520 | [EXT:restored-advice] one poll step for every scan call |
| restored-advice | source/OpenTPW/Mods/FeatureGates.cs:78 | [EXT:restored-advice] The <c>opentpw.restored-advice</c> extension is on for this run (on by default): the advisor says the lines tp.exe v2.0 never plays (docs/reverse/ADVISOR-SCAN.md, "Restored advice"). |
| restored-advice | source/OpenTPW/Mods/OfficialExtensions.cs:101 | [EXT:restored-advice] OpenTPW's own extension; the original game never says these lines |
| restored-advice | source/OpenTPW/World/AdvisorController.cs:358 | <summary>[EXT:restored-advice] The optional keys of the restored messages' callbacks (<see cref="RestoredAdviceSettings"/>); empty when the file has none.</summary> |
| restored-advice | source/OpenTPW/World/AdvisorController.cs:425 | [EXT:restored-advice] a row whose own callback is the constant-zero stub is posted by the extension with a score of its own: the original's stub would drop it here, the extension's line is said |
| restored-advice | source/OpenTPW/World/AdvisorController.cs:485 | [EXT:restored-advice] Posts a restored message the way game code posts advice (<c>0x59B590</c> and <c>0x59A940</c>): with the score of <see cref="RestoredAdvice.ScoreOf"/> (null leaves it silent), subject to the queue's admission |
| restored-advice | source/OpenTPW/World/AdvisorScan.cs:69 | <summary>[EXT:restored-advice] The read-only park view the extension's callbacks read; null while the extension is off or without a park (they then score 0).</summary> |
| restored-advice | source/OpenTPW/World/AdvisorScan.cs:109 | [EXT:restored-advice] asked for the callback of a row whose own is the constant-zero stub; null (the default) leaves such rows scoring 0, as the original's do |
| restored-advice | source/OpenTPW/World/AdvisorScan.cs:142 | [EXT:restored-advice] a scan-zero row may get the extension's callback while it is on |
| restored-advice | source/OpenTPW/World/RestoredAdvice.cs:86 | [EXT:restored-advice] OpenTPW's own triggers; tp.exe v2.0 posts none of these messages |
| restored-advice | source/OpenTPW/World/RestoredAdvice.cs:92 | <summary>[EXT:restored-advice] The extension's repeat rules (<see cref="RestoredAdviceEntry.RepeatGroups"/>, groups of four turns): once per park; a long interval (5400 groups, about 1.5 real hours at normal speed) for a condition that stays true; |
| restored-advice | source/OpenTPW/World/RestoredAdviceDriver.cs:9 | [EXT:restored-advice] OpenTPW's own posters; tp.exe posts none of these messages |
| restored-advice | source/OpenTPW/World/RestoredAdviceScan.cs:12 | [EXT:restored-advice] OpenTPW's own callbacks; the original's rows score 0 (0x005D60C0) or are never scored |
| restored-advice-arrivals | source/OpenTPW/World/RestoredAdviceDriver.cs:103 | [EXT:restored-advice-arrivals] OpenTPW's own trigger: a vehicle kind that differs from the last one seen is a change of how guests arrive (GuestSimulation.DispatchArrivalVehicle) |
| restored-advice-exits | source/OpenTPW/World/ParkRestoredAdviceState.cs:13 | [EXT:restored-advice-security] [EXT:restored-advice-exits] [EXT:restored-advice-stranded] OpenTPW's own tracking; tp.exe computes none of it (its callbacks are stubs, 0x005D60C0) |
| restored-advice-exits | source/OpenTPW/World/RestoredAdviceScan.cs:50 | [EXT:restored-advice-exits] 265: RideExitBlocked.Score is the key of the row's would-be callback (its shipped comment is about people stranded) |
| restored-advice-fame | source/OpenTPW/World/RestoredAdvice.cs:102 | <summary>[EXT:restored-advice-fame] the congratulations about a record-sized attraction (151-154) are good news: a low score, said when nothing urgent waits.</summary> |
| restored-advice-fame | source/OpenTPW/World/RestoredAdvice.cs:118 | <summary>[EXT:restored-advice-fame] a record of at least this percent of its golden ticket's threshold is "big".</summary> |
| restored-advice-fame | source/OpenTPW/World/RestoredAdviceScan.cs:41 | [EXT:restored-advice-fame] 151 to 154: the record-sized attractions; the thresholds are the golden tickets' (GoldenTicketGlobal), the share of them that is "big" the extension's own |
| restored-advice-land | source/OpenTPW/World/RestoredAdvice.cs:106 | <summary>[EXT:restored-advice-land] the little-room line (173), a hint.</summary> |
| restored-advice-land | source/OpenTPW/World/RestoredAdvice.cs:122 | <summary>[EXT:restored-advice-land] free owned cells below this percent of the owned cells.</summary> |
| restored-advice-land | source/OpenTPW/World/RestoredAdviceScan.cs:48 | [EXT:restored-advice-land] 173: little room left, use Buy Land |
| restored-advice-money | source/OpenTPW/World/RestoredAdvice.cs:108 | <summary>[EXT:restored-advice-money] the low-balance lines (347, 348), above the early in-the-red warning 104 (50), below the take-a-loan line 102 (71) of the same park.</summary> |
| restored-advice-money | source/OpenTPW/World/RestoredAdviceScan.cs:52 | [EXT:restored-advice-money] 347 and 348: the balance is still in the black (the in-the-red rows 102 to 105 and 106 cover the rest) but cannot carry the next wage bill |
| restored-advice-online | source/OpenTPW/Online/OnlineScreens.cs:26 | <summary>[EXT:restored-advice-online] Tells the advisor that a screen opened (the message of <see cref="RestoredAdvice"/>: 328 publish, 329 park details, 331 other parks, 332 find parks, 333 outbox, 334 world); null where there is no advisor.</summary> |
| restored-advice-online | source/OpenTPW/World/RestoredAdviceDriver.cs:143 | [EXT:restored-advice-online] the original's online screens posted these through 0x486B00 in the lobby; OpenTPW's online screens open over a park too (Go Online in the pause menu) |
| restored-advice-queues | source/OpenTPW/World/RestoredAdvice.cs:100 | <summary>[EXT:restored-advice-queues] the queue lines (58, 59): above <c>MinScoreForConsideration</c> (25 shipped), below the mechanic and money warnings.</summary> |
| restored-advice-queues | source/OpenTPW/World/RestoredAdvice.cs:114 | <summary>[EXT:restored-advice-queues] a queue of at least this many guests is long (a queue of 20 is routine in a busy park).</summary> |
| restored-advice-queues | source/OpenTPW/World/RestoredAdvice.cs:116 | <summary>[EXT:restored-advice-queues] the worse line needs this many long queues, or half of the open rides when that is fewer (at least two).</summary> |
| restored-advice-queues | source/OpenTPW/World/RestoredAdviceScan.cs:34 | [EXT:restored-advice-queues] 58 and 59 (the bored-in-queues lines, whose captions TAG_SYSTEM 63 and 64 exist): the original's connected-queue test is not their input; the long queue is the extension's own measure |
| restored-advice-security | source/OpenTPW/World/ParkRestoredAdviceState.cs:13 | [EXT:restored-advice-security] [EXT:restored-advice-exits] [EXT:restored-advice-stranded] OpenTPW's own tracking; tp.exe computes none of it (its callbacks are stubs, 0x005D60C0) |
| restored-advice-security | source/OpenTPW/World/RestoredAdvice.cs:96 | <summary>[EXT:restored-advice-security] the cover lines (24, 25) never outrank the originals' warnings (the shipped money, breakdown and mechanic lines score 50 to 110).</summary> |
| restored-advice-security | source/OpenTPW/World/RestoredAdviceScan.cs:31 | [EXT:restored-advice-security] messages 24 and 25 (the guard and camera cover): the shipped file has StaffGuardCoverage next to its siblings StaffMechanicCoverage and StaffHandymanCoverage, whose rows (19, 21) score the uncovered percent x ScorePerNonCoveredPercent, at least Score, after the role's months and staff count; the guard row's callback is the stub |
| restored-advice-security | source/OpenTPW/World/RestoredAdviceScan.cs:141 | <summary>[EXT:restored-advice-security] a park needs this many path cells before 25 says it has no security.</summary> |
| restored-advice-shops | source/OpenTPW/World/RestoredAdvice.cs:104 | <summary>[EXT:restored-advice-shops] the souvenir remark (160), good news.</summary> |
| restored-advice-shops | source/OpenTPW/World/RestoredAdvice.cs:120 | <summary>[EXT:restored-advice-shops] the souvenir line needs this many retail sales in the last two months, and as many as half the visitors of the same two months.</summary> |
| restored-advice-shops | source/OpenTPW/World/RestoredAdviceScan.cs:46 | [EXT:restored-advice-shops] 160: souvenirs before leaving |
| restored-advice-stranded | source/OpenTPW/World/ParkRestoredAdviceState.cs:13 | [EXT:restored-advice-security] [EXT:restored-advice-exits] [EXT:restored-advice-stranded] OpenTPW's own tracking; tp.exe computes none of it (its callbacks are stubs, 0x005D60C0) |
| restored-advice-stranded | source/OpenTPW/World/RestoredAdviceScan.cs:55 | [EXT:restored-advice-stranded] 349 and 350: riders aboard a broken-down or a condemned ride (the new riders-stuck tracking) |
| restored-advice-tickets | source/OpenTPW/World/RestoredAdvice.cs:110 | <summary>[EXT:restored-advice-tickets] a ticket near the profit target (277): the near-ticket key is used for 318, this one has none.</summary> |
| restored-advice-tickets | source/OpenTPW/World/RestoredAdvice.cs:126 | <summary>[EXT:restored-advice-tickets] the profit near-ticket line (277) starts at this percent of the ticket's threshold; the original's near-ticket multiplier (318) takes over above its own.</summary> |
| restored-advice-tickets | source/OpenTPW/World/RestoredAdviceScan.cs:68 | [EXT:restored-advice-tickets] 277 and 318: a profit near the year's ticket; 318's callback (0x005A0670) reads GoldTicketNearToXProfit (multiplier, score), 277's is the stub |
| restored-advice-toilets | source/OpenTPW/World/RestoredAdvice.cs:124 | <summary>[EXT:restored-advice-toilets] a guest this many cells (Manhattan) from the nearest toilet is far from one.</summary> |
| restored-advice-toilets | source/OpenTPW/World/RestoredAdviceScan.cs:63 | [EXT:restored-advice-toilets] 83 (no toilets) and 84 (far from toilets): FeaturesNoToilets and FeaturesFarToToilets are the keys of their getters; the original's 82 has the first's thresholds, so 83 asks for twice the people |
| restored-advice-topic | source/OpenTPW/World/RestoredAdvice.cs:19 | (<c>[EXT:restored-advice-topic]</c>, documented in docs/reverse/ADVISOR-SCAN.md). <see cref="RepeatGroups"/> is the extension's own repeat rule on top of the descriptor group's (0: none, <see cref="RestoredAdvice.Once"/>: |
| restored-advice-tutorial | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:107 | [EXT:restored-advice-tutorial] a blueprint to place (202, rotate it with the comma and full stop keys), after the original's own help of the mode: the advisor posts it only while the extension is on |
| restored-advice-tutorial | source/OpenTPW/Hud/ParkHud.Camcorder.cs:44 | [EXT:restored-advice-tutorial] 306 (the camcorder mode explained): the advisor posts it only while the extension is on, once (the tutorial group) |
| restored-advice-tutorial | source/OpenTPW/Hud/ParkHud.MessageTube.cs:144 | [EXT:restored-advice-tutorial] 322 (a message icon sits on the control panel antenna): the first message of the tube; the advisor posts it only while the extension is on, once (the tutorial group) |
| restored-advice-tutorial | source/OpenTPW/Hud/ParkHud.cs:46 | <summary>[EXT:restored-advice-tutorial] Asks the advisor for a help message the restored advice extension adds (<see cref="RestoredAdvice"/>: 202, 306, 322); the advisor posts it only while the extension is on. Separate from <see cref="HelpPosted"/>, which carries the original's own posts.</summary> |
| restored-advice-tutorial | source/OpenTPW/World/RestoredAdviceDriver.cs:37 | [EXT:restored-advice-tutorial] 283 (pop-up help is off, the options screen turns it on): the tutorial group says it once |
| restored-advice-upgrades | source/OpenTPW/World/RestoredAdviceDriver.cs:85 | [EXT:restored-advice-upgrades] the purchase is queued whether or not a mechanic is hired (ParkEconomy.TryBuyUpgrade), so 130 and 131 are the advice that goes with it |
| restored-advice-upgrades | source/OpenTPW/World/RestoredAdviceScan.cs:38 | [EXT:restored-advice-upgrades] 65: RidesNoUpgrades (months, score) is the callback the row would have had; its trigger is a researched upgrade that was never bought |
| resume-exact-thing-pool | source/OpenTPW/World/ThingPool.cs:45 | [EXT:developer-prototype] [EXT:online-visit-presence] [EXT:online-coop-presence] what the original builds that OpenTPW does not takes no slot: the developer prototype ride (OpenTPW only) and the online persons and avatars (drawn as presence figures, user-approved 2026-10-16); [EXT:resume-exact-thing-pool] an imported save's not-yet-rebuilt things hold a placeholder slot, see Hold (user-approved 2026-10-17: the original's thing would run on and be destroyed in time, and what each placeholder stands for is tracked by the SAVE IDs) |
| resume-exact-thing-pool | source/OpenTPW/World/ThingPool.cs:46 | [EXT:resume-exact-thing-pool] OpenTPW's own park-resume save keeps the free list's exact order, the pending destroy requests and the placeholder slots (ThingPoolSnapshot), where the original's load rebuilds the free list ascending (0x518D43): a resumed park then continues exactly as the live one would have, which the original's save format cannot do, and an original save is imported with the original's own rebuild |
| ride-crosshair | source/OpenTPW/Hud/ParkHud.RideView.cs:184 | [EXT:ride-crosshair] the original's crosshair pointer (c_crosshair.ani, art CCro.tga) is not in the data files, so the plus is drawn from rectangles |
| ride-cycle-counter | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:431 | [EXT:ride-cycle-counter] CompletedCycles counts VAR_RUNNING 1 → 0 edges as OpenTPW's own diagnostic counter: nothing in the original counts ride cycles (it only reads VAR_RUNNING as a level), so there is no original behaviour to match |
| ride-view-key | source/OpenTPW/Hud/ParkHud.RideView.cs:123 | The C key is the camcorder's shortcut (key table action 0x10, tp.exe 0x488a00); E also leaves, as it enters ([EXT:ride-view-key]). |
| ride-view-key | source/OpenTPW/Hud/ParkHud.cs:1118 | [EXT:ride-view-key] E rides the selected ride as the object window's b_ride it! button does |
| ride-view-key | source/OpenTPW/World/Level.RideView.cs:39 | [EXT:ride-view-key] the E key also enters the ride view of the selected ride; the original has only the ride window's Ride it! button (table 0x755150, b_ride it!, help 16), which ParkHud.ObjectWindow.cs draws; the heading is the park camera's forward |
| ring-month-sums | source/OpenTPW/Economy/ParkEconomy.cs:1684 | [EXT:ring-month-sums] the calendar-month sums roll here as before the rings, kept for saves written without them (see ParkSaveFile.RingAt); the original has only the rings |
| ring-month-sums | source/OpenTPW/Economy/ParkSaveFile.cs:1047 | [EXT:ring-month-sums] the calendar-month sums (this and last month) stay in the park save and the object records so a save written before the rings seeds its rings from last month's totals; the original keeps only the rings, so this is an OpenTPW compatibility choice |
| sandbox | source/OpenTPW/Client/GameFlow.cs:466 | [EXT:sandbox] the generic sandbox (not an original level) gets no automatic advisor either; only original levels raise its game events |
| sandbox | source/OpenTPW/Hud/ParkHud.cs:409 | [BIN:TPW-EXE:0x005AF5D0 ticket count] [EXT:sandbox] [EXT:online-coop-snapshot-join] (a park outside the player's progress counts its own tickets: the generic sandbox has no player file to attach and a co-op park decides by its own records so every peer decides alike, situations that exist only in OpenTPW; UI-051 converted 2026-10-30) the ticket count is the player's earned tickets less the spent count (the HUD handler 0x4a0fb0 at 0x4a10cd; the four global flags once, the six local bytes of every park, the two secret flags) while the park is part of its player's progress (ParkEconomy.GoldenTicketsAvailable reads the attached ledger), otherwise the park's own unspent tickets |
| sandbox-map | source/OpenTPW/Hud/ParkHud.Map.cs:369 | [EXT:sandbox-map] the generic sandbox has no shipped theme map image; its live grid and heights form a simple terrain base (OpenTPW content) |
| sandbox-map | source/OpenTPW/Hud/ParkMapBaker.cs:75 | <summary>The sandbox's base: a solid green with each cell shaded by its ground height (<c>[EXT:sandbox-map]</c>, OpenTPW content, there is no theme image).</summary> |
| save-analyser-stamps | source/OpenTPW/Economy/ParkSaveFile.cs:841 | [EXT:save-analyser-stamps] OpenTPW's park save keeps the analyser caches' stamps (the original's serializer keeps none, 0x004C5D70 → 0x004C85B0) so a load continues the run exactly, which is a design choice for the saves OpenTPW writes (the save-load test of the pinned run, docs/DETERMINISM.md) |
| save-extension-switch | source/OpenTPW.Tests/SaveExtensionSwitchTests.cs:18 | [EXT:save-extension-switch] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"); [EXT:extensions-apply-at-load] the same approval: a switched extension applies without a restart |
| save-extension-switch | source/OpenTPW/Client/GameFlow.AutomaticCheckpoint.cs:109 | [EXT:save-extension-switch] a confirmed switch arrives as a copy of the offered entry that differs only in its switch |
| save-extension-switch | source/OpenTPW/Client/GameFlow.CoopShare.cs:115 | [EXT:save-extension-switch] the save's extensions are asked about first, as for its load; the share goes with the queued load, so another transition drops it |
| save-extension-switch | source/OpenTPW/Client/GameFlow.ExtensionSwitch.cs:7 | [EXT:save-extension-switch] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"): loading an own save whose official extensions differ asks to continue with the active rules, or to switch on the content |
| save-extension-switch | source/OpenTPW/Client/GameFlow.Resume.cs:28 | <param name="extensionSwitch">[EXT:save-extension-switch] The extension switch the player confirmed for this load (<see cref="ResumeSwitched"/>); null loads strictly, as every replay and check does.</param> |
| save-extension-switch | source/OpenTPW/Client/GameFlow.cs:239 | [EXT:save-extension-switch] an own save whose extensions differ asks before it loads |
| save-extension-switch | source/OpenTPW/Client/GameFlow.cs:321 | [EXT:mods] a save made with mods that are not all active stays listed and says which it needs ([EXT:save-extension-switch] unless the load can switch them: it asks then) |
| save-extension-switch | source/OpenTPW/Client/ParkResumeSmokeTest.cs:53 | [EXT:save-extension-switch] The restore phase's switch variant (<c>OPENTPW_SMOKE_SWITCH=pools</c>, with <c>OPENTPW_SMOKE_POOLS=1</c> on both phases): the pools extension is switched off before the load, the load |
| save-extension-switch | source/OpenTPW/Client/ParkResumeSmokeTest.cs:59 | <summary>[EXT:save-extension-switch] Switches the pools extension off, asks through the real dialog and confirms it with its tick; returns the confirmed switch.</summary> |
| save-extension-switch | source/OpenTPW/FrontEnd/AutomaticThemeContinuation.cs:13 | <summary>[EXT:save-extension-switch] The extension switch the player confirmed for this continuation; null continues strictly.</summary> |
| save-extension-switch | source/OpenTPW/FrontEnd/ExtensionSwitchDialog.cs:11 | [EXT:save-extension-switch] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"); the original game has no extensions |
| save-extension-switch | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:20 | <summary>Distinct own manual/automatic continuation, or the existing new-park mode choice. [EXT:save-extension-switch] An own save whose extensions differ asks first (<see cref="FrontEndActions.ConfirmExtensions"/>).</summary> |
| save-extension-switch | source/OpenTPW/FrontEnd/FrontEndMenu.cs:17 | <summary>[EXT:save-extension-switch] The extension switch the player confirmed for this load (<see cref="ParkExtensionSwitch"/>); null loads strictly.</summary> |
| save-extension-switch | source/OpenTPW/FrontEnd/FrontEndMenu.cs:49 | [EXT:save-extension-switch] Before an own save at the given path is loaded: asks whether to switch the extensions it differs in (<see cref="ParkExtensionSwitch"/>) and then calls the action with the confirmed |
| save-extension-switch | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:714 | [EXT:save-extension-switch] the load dialog for a park whose extensions differ: a rule played with that is off now, a rule on now it was played without, and a content extension to turn on |
| save-extension-switch | source/OpenTPW/FrontEnd/ThemeContinuation.cs:23 | [EXT:save-extension-switch] differences the load can switch are asked about, not listed as needs |
| save-extension-switch | source/OpenTPW/UI/Original/Options/ModsScreen.cs:84 | An extension's name in the interface language where the screen has one ([EXT:save-extension-switch] and the pools extension's, for the load dialog), else the name the registry gives. |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:415 | <summary>[EXT:save-extension-switch] The load dialog: the park was played without a rule extension that is on now ({0}: its names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:417 | <summary>[EXT:save-extension-switch] The load dialog: the park was played with a rule extension that is off now ({0}: its names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:419 | <summary>[EXT:save-extension-switch] The load dialog: the park was played with another version of a rule extension ({0}: its names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:421 | <summary>[EXT:save-extension-switch] The load dialog: the park uses a content extension that is off now ({0}: its names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:423 | <summary>[EXT:save-extension-switch] The load dialog's closing line: the park continues with the extensions that are on now.</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:425 | <summary>[EXT:save-extension-switch] The load dialog's button that loads with the rule extensions switched.</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:427 | <summary>[EXT:save-extension-switch] The load dialog's button that switches content extensions on and loads ({0}: their names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:429 | <summary>[EXT:save-extension-switch] The pools extension's name in the load dialog.</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/SupplementaryStrings.cs:431 | <summary>[EXT:save-extension-switch] The load dialog's question that switches content extensions on and loads ({0}: their names).</summary> |
| save-extension-switch | source/OpenTPW/UI/Original/UiDialogs.cs:98 | the dialog's callers are OpenTPW's own choices, each under its approved label: [EXT:theme-continue] (the Theme Park Inc continue prompt) and [EXT:save-extension-switch] (the load dialog's extension choices) |
| save-extension-switch | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| save-extension-switch | source/OpenTPW/World/ParkExtensionSwitch.cs:17 | [EXT:save-extension-switch] user-approved 2026-10-19 ("Ook ontbrekende extensie aanzetten"): solo play is not blocked by rule options; strictness stays for exact replays, online play and community mods |
| script-mods | source/OpenTPW/Client/Game.cs:331 | [EXT:script-mods] the crash marker was written at startup; it is removed after 15 seconds of frames (docs/SCRIPT-MODS.md) |
| script-mods | source/OpenTPW/Mods/ModStartup.cs:125 | [EXT:script-mods] --safe-mode or a marker of an unfinished start switches the script mods off for this run; otherwise the marker is |
| script-mods | source/OpenTPW/Mods/ModStartup.cs:182 | [EXT:script-mods] no safe mode here: the browser has no marker file or community mods, and its one script mod is shipped off by default |
| script-mods | source/OpenTPW/Mods/ScriptSafeMode.cs:22 | [EXT:script-mods] OpenTPW's own scripted mods; the original game had no mods |
| script-mods | source/OpenTPW/Scripting/ScriptHost.cs:44 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/Scripting/ScriptProgram.cs:25 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/World/Guests/Decisions/ScriptGuestDecisions.cs:19 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/World/Guests/Decisions/ScriptHookViews.cs:11 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/World/Guests/GuestSimulation.cs:112 | [EXT:script-mods] the wrapper runs the enabled script mods' hooks over the base policy's answers |
| script-mods | source/OpenTPW/World/Guests/GuestSimulation.cs:129 | [EXT:script-mods] OpenTPW's own scripted mods; never in the guest snapshot or the guest state hash |
| script-mods | source/OpenTPW/World/Guests/ScriptMods/ScriptModInstance.cs:27 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/World/Guests/ScriptMods/ScriptModRuntime.cs:10 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no mods |
| script-mods | source/OpenTPW/World/Guests/ScriptMods/ScriptModsSave.cs:34 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no such state |
| script-mods | source/OpenTPW/World/Level.Resume.cs:292 | [EXT:script-mods] null while no script mod is enabled, so such saves keep their bytes |
| script-mods | source/OpenTPW/World/Level.Resume.cs:356 | [EXT:script-mods] the script mods' state, counters and flags |
| script-mods | source/OpenTPW/World/ParkResumeSaveFile.cs:240 | [EXT:script-mods] the section exists exactly when a script mod is active (and so recorded), and names exactly those mods |
| script-mods | source/OpenTPW/World/ParkResumeSaveFile.cs:499 | [EXT:script-mods] the script mods' section: every key a recorded mod, the versions this build runs, canonical state and counters that agree with the disabled flag; it needs the identity section above |
| script-mods | source/OpenTPW/World/ParkResumeSnapshot.cs:184 | [EXT:script-mods] OpenTPW's own scripted mods (TPW Script); the original game had no such state |
| script-mods | source/OpenTPW/World/WorldStateHash.cs:135 | [EXT:script-mods] likewise the script mods' state, counters and flags: only while a script mod is enabled, with no SchemaVersion bump (docs/SCRIPT-MODS.md, "Saves and versioning") |
| sdt-wav-export | source/OpenTPW/Client/SdtWavExport.cs:7 | [EXT:sdt-wav-export] application-owned export of current decoded PCM, without event mixing or native audio parity claims |
| sentence-prefetch | source/OpenTPW/Audio/SoundEvents.cs:1242 | [EXT:sentence-prefetch] a sentence's next segment is chosen and decoded ahead when the current one starts, so the draw and the parameter are taken one segment early; the original chooses when the current segment's data runs out (sound_shared GetDataChunk 0x10008CC4 -> 0x1001A1F0), but its chooser is the shared clock-seeded one (see Advance), so the draw's timing has no observable rule to match |
| shop-price-editor | source/OpenTPW/Hud/ParkHud.ShopPrice.cs:13 | [EXT:shop-price-editor] the price box (shop 0xc085, sideshow 0xa08f) shows the window's price; a click on it opens a typed price editor, which the original's box does not have (its b_minus and b_plus step the price); decimal input follows the existing nonnegative int API |
| sign-fractional-advance | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:93 | [EXT:sign-fractional-advance] character advances stay fractional (an OpenTPW design choice: the rasterizer is resolution independent and needs no integer pixel grid) |
| sign-relief-upsample | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:20 | [EXT:sign-relief-upsample] the strip resampler is tp.exe 0x5E80D0 (matched by DescimateStrip), which has no upsampling branch (a requested height above the strip divides by zero at 0x5E8364), so a strip shorter than the glyph rows is upsampled by nearest rows: an OpenTPW choice for a case the original does not define and where matching it would divide by zero |
| sign-straight-alpha | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:136 | [EXT:sign-straight-alpha] the native GPU consumer of these texels is untraced; straight alpha with bled edges is the form the engine's alpha blend needs, and it equals the composed texels wherever alpha is 255 |
| silent-automated-runs | source/OpenTPW/Client/Game.cs:1342 | The automated modes that [EXT:silent-automated-runs] and [EXT:offscreen-automated-runs] share, so the two rules cannot drift apart: smokes |
| silent-automated-runs | source/OpenTPW/Client/Game.cs:1365 | [EXT:silent-automated-runs] every automated run (<see cref="IsAutomatedRun"/>) opens no audio device, so tests and agents on a developer machine make |
| smarter-guests | source/OpenTPW/Mods/OfficialExtensions.cs:92 | [EXT:smarter-guests] OpenTPW's own extension; the original game's guests are the faithful default |
| smarter-guests | source/OpenTPW/UI/Original/Options/ModsScreen.cs:145 | [EXT:smarter-guests] the guest extensions carry their names and descriptions in the interface languages; the others show the name the registry gives |
| smarter-guests | source/OpenTPW/UI/Original/SupplementaryStrings.cs:938 | [EXT:smarter-guests] the names and descriptions of the two guest extensions (docs/SMARTER-GUESTS.md) |
| smarter-guests | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:10 | [EXT:smarter-guests] OpenTPW's own extension; the original game has no such policy |
| smarter-guests | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:33 | [EXT:smarter-guests] the planning, patience and expected-wait rules read a queue's join cell, so this policy keeps scoring only the attractions that have one (the original scores a disconnected real queue back, OriginalGuestDecisions) |
| smarter-guests | source/OpenTPW/World/Guests/Guest.cs:318 | [EXT:smarter-guests] OpenTPW's own identity for the extension; the original guest has only its thing id |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:231 | [EXT:smarter-guests] an imported guest of a running extension gets its id at once; before the first tick the extension's first tick gives it |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:97 | [EXT:smarter-guests] the gate is read here, once; a smarter policy brings the extension's park state with it |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:125 | [EXT:smarter-guests] OpenTPW's own extension state; never in the guest snapshot or the guest state hash |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:488 | [EXT:smarter-guests] a used-up birth id counter is refused before anything is allocated or drawn, so a refused creation leaves no slot behind |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:515 | [EXT:smarter-guests] the birth id comes with the guest, before its first decision (the counter is the extension's, no draw) |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:724 | [EXT:smarter-guests] the extension's first tick gives the guests that predate it their ids, in thing-list order; before any decision of the tick |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:3427 | [EXT:smarter-guests] the patience hook follows the leave tests on every turn the guest stays; the original policy stays. It can run on the turn a move-up has just started (the walk and the |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:3437 | [EXT:smarter-guests] the patience hook again, on the turns the needs window does not cover |
| smarter-guests | source/OpenTPW/World/Guests/GuestSimulation.cs:4912 | [EXT:smarter-guests] the guest snapshot holds no birth ids: the extension's state starts fresh (its first tick gives every guest an id) unless a saved section follows (SmarterGuestsSave.Restore) |
| smarter-guests | source/OpenTPW/World/Guests/SmarterGuests/SmarterGuestsSave.cs:50 | [EXT:smarter-guests] OpenTPW's own extension; the original game has no such state |
| smarter-guests | source/OpenTPW/World/Guests/SmarterGuests/SmarterGuestsState.cs:8 | [EXT:smarter-guests] OpenTPW's own extension state; the original game has none |
| smarter-guests | source/OpenTPW/World/Guests/SmarterGuests/SmarterGuestsState.cs:94 | [EXT:smarter-guests] the mix is SplitMix64's finalizer, applied once per input so each of the three words reaches every output bit |
| smarter-guests | source/OpenTPW/World/Level.Resume.cs:290 | [EXT:smarter-guests] null while the extension is off for these guests, so such saves keep their bytes |
| smarter-guests | source/OpenTPW/World/Level.Resume.cs:354 | [EXT:smarter-guests] the extension's birth ids, keyed by the guest ids the restore just rebuilt |
| smarter-guests | source/OpenTPW/World/ParkResumeSaveFile.cs:496 | [EXT:smarter-guests] the extension's section: present exactly when the extension is recorded, with ids that fit the guests the save holds |
| smarter-guests | source/OpenTPW/World/ParkResumeSnapshot.cs:175 | [EXT:smarter-guests] OpenTPW's own extension; the original game has no such state |
| smarter-guests | source/OpenTPW/World/WorldStateHash.cs:132 | [EXT:smarter-guests] the identity state joins the hash only while the extension or a script mod is on, so every park without it keeps its pins and SchemaVersion |
| smarter-guests-litter | source/OpenTPW/World/Guests/Decisions/SmarterBinCarry.cs:8 | [EXT:smarter-guests-litter] OpenTPW's own rule; the original's search looks at the bins within 3 cells only (tp.exe 0x00500DC0) |
| smarter-guests-litter | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:46 | [EXT:smarter-guests-litter] the original's bin search and walk, over a larger radius |
| smarter-guests-litter | source/OpenTPW/World/Guests/GuestSimulation.cs:2239 | [EXT:smarter-guests-litter] a bin beyond the original's reach is walked to only when the route there is short: the radius is a straight line, and a hedge or a river can make it a long walk (skipped before the route request, so nothing is retargeted) |
| smarter-guests-paths | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:166 | [EXT:smarter-guests-paths] the original's walk and draws are the host's; the policy only names a cleaner or quieter cell of that walk and a small, rate-limited complaint (SmarterPathComfort) |
| smarter-guests-paths | source/OpenTPW/World/Guests/Decisions/SmarterPathComfort.cs:7 | [EXT:smarter-guests-paths] OpenTPW's own rules; the original wander ignores litter and crowding |
| smarter-guests-paths | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:17 | [EXT:smarter-guests-paths] the guest's last complaint about its path, for a policy that weighs the path's comfort |
| smarter-guests-paths | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:254 | [EXT:smarter-guests-paths] no draw is taken here and the original's route request is made afterwards, for whatever goal results |
| smarter-guests-paths | source/OpenTPW/World/Guests/GuestSimulation.cs:2473 | [EXT:smarter-guests-paths] a policy that weighs the path's comfort gets the cells the original's walk visited (a copy: the walk and its draws are the same) |
| smarter-guests-patience | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:141 | [EXT:smarter-guests-patience] the expected wait is the phase 3 estimate for a guest at the back (the queue plus the walkers), against the base × the guest's patience band |
| smarter-guests-patience | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:153 | [EXT:smarter-guests-patience] runs after the original's leave tests, never for a guest called forward or in an interlude (the host's call sites); never for the front of the queue, never for a shop, sideshow or toilet, and only for a ride that has a clearly shorter alternative |
| smarter-guests-patience | source/OpenTPW/World/Guests/Decisions/SmarterGuestsRules.cs:129 | [EXT:smarter-guests-patience] phase 4, queue patience |
| smarter-guests-patience | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:220 | [EXT:smarter-guests-patience] a guest gives up on a queue only for a ride it could join with a clearly shorter wait; a park with one ride has nowhere else to go |
| smarter-guests-planning | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:75 | [EXT:smarter-guests-planning] a service is scored on the needs the guest will have (planning) or has one step more of when the stop is on its way (detour); a ride, and a service no rule concerns, on the guest as it is |
| smarter-guests-planning | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:78 | [EXT:smarter-guests-planning] shortly after a meal a ride that would make this guest sick scores lower (never below the choice floor when it was above it) |
| smarter-guests-planning | source/OpenTPW/World/Guests/Decisions/SmarterGuestsRules.cs:183 | [EXT:smarter-guests-planning] phase 5, planning needs |
| smarter-guests-planning | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:15 | [EXT:smarter-guests-planning] the guest's last meal comes from the extension's state, for a policy that plans |
| smarter-guests-planning | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:145 | [EXT:smarter-guests-planning] the expected wait is the phase 3 estimate (queue ahead plus walkers over the observed throughput), the ride time its cycle |
| smarter-guests-planning | source/OpenTPW/World/Guests/GuestSimulation.cs:2842 | [EXT:smarter-guests-planning] a candidate in the window stands on the guest's way: a policy that plans is told so (the window's rule is the original's definition of "near the route") |
| smarter-guests-planning | source/OpenTPW/World/Guests/GuestSimulation.cs:3964 | [EXT:smarter-guests-planning] a use that takes hunger off is a meal; the extension remembers when (the original keeps nothing) |
| smarter-guests-planning | source/OpenTPW/World/Guests/SmarterGuests/MealTimes.cs:10 | [EXT:smarter-guests-planning] OpenTPW's own bookkeeping; the original guests keep none |
| smarter-guests-spread | source/OpenTPW/World/Guests/AttractionScore.cs:148 | [EXT:smarter-guests-spread] the smarter policy's expected-wait match counts at any distance |
| smarter-guests-spread | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:90 | [EXT:smarter-guests-spread] the queue term counts everywhere and by the time a guest would wait; a stateless 94-106 percent preference lets equal rides share guests with no decision randomness |
| smarter-guests-spread | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:112 | [EXT:smarter-guests-spread] hysteresis between rides: the original switches on any scoring ride, which makes guests change their minds on the way; measured, the same rule on shops cut revenue in a shop-and-toilet park |
| smarter-guests-spread | source/OpenTPW/World/Guests/Decisions/SmarterGuestsRules.cs:66 | [EXT:smarter-guests-spread] phase 3, spreading |
| smarter-guests-spread | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:40 | [EXT:smarter-guests-spread] the walkers (none in a queue hook's view), the observed time per guest and the cycle, for a policy that spreads guests |
| smarter-guests-spread | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:94 | [EXT:smarter-guests-spread] the ride bridge reports every boarding, in the host's deterministic order, so the estimate is a function of the simulation's own events |
| smarter-guests-spread | source/OpenTPW/World/Guests/GuestSimulation.cs:2850 | [EXT:smarter-guests-spread] hysteresis: the target is scored once, with the same policy and inside the same metered decision, and kept unless the best candidate beats it by the policy's margin |
| smarter-guests-spread | source/OpenTPW/World/Guests/SmarterGuests/RideThroughput.cs:33 | [EXT:smarter-guests-spread] OpenTPW's own bookkeeping; the original guests keep none |
| smarter-guests-value | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:64 | [EXT:smarter-guests-value] the host's draw and the rating are the original's; only the rating part of the value is scaled, by the open attractions the host counted (85 to 115 percent) |
| smarter-guests-value | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:72 | [EXT:smarter-guests-value] price enters the choice: a score of 0 is below the choice floor, so the guest does not walk to a stand that will turn it away (the stand-point test stays the host's) |
| smarter-guests-value | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:128 | [EXT:smarter-guests-value] the original guest, refused at the stand, loses happiness until it leaves; this one is not sent to the stand and, with nothing else to do, leaves with the same thought (thought 6, [BIN:TPW-EXE:0x00500756 price refusal]) |
| smarter-guests-value | source/OpenTPW/World/Guests/Decisions/SmarterGuestsRules.cs:7 | [EXT:smarter-guests-value] phase 2, value for money |
| smarter-guests-value | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:38 | [EXT:smarter-guests-value] the price and the guest's willingness for a shop or sideshow with a price, for a policy that weighs prices |
| smarter-guests-value | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:114 | [EXT:smarter-guests-value] host-computed facts for the policy; the stand-point test and its statistics are unchanged |
| smarter-guests-value | source/OpenTPW/World/Guests/GuestSimulation.cs:740 | [EXT:smarter-guests-value] a departing guest's run of price-emptied decisions goes with it, so the bookkeeping is bounded by the guests in the park |
| smarter-guests-value | source/OpenTPW/World/Guests/GuestSimulation.cs:2035 | [EXT:smarter-guests-value] the original's price-refused guest loses happiness until it leaves; the smarter guest that the price rule keeps from every stand leaves with the same thought after a few such decisions |
| smarter-guests-value | source/OpenTPW/World/Guests/GuestSimulation.cs:2637 | [EXT:smarter-guests-value] a candidate the price rule turned away that the guest could otherwise have chosen: if nothing is chosen, the decision was emptied by price |
| smarter-guests-value | source/OpenTPW/World/Guests/SmarterGuests/PriceStalls.cs:11 | [EXT:smarter-guests-value] OpenTPW's own bookkeeping; the original guests keep none |
| software-pointers | source/OpenTPW/Hud/ParkHud.Cursor.cs:20 | [EXT:software-pointers] the pointers are the four-frame colour strips of the same folder (Cnor.tga, Cnog.tga, Cpic.tga ...) drawn by the UI at the pointer's hot spot (top left; the .ani files' own hot spots are 0,0) at 6 frames a second, the system pointer being hidden, instead of the .ani files as OS cursors, a design choice: the host platforms and the browser cannot load animated Windows cursors, and the .ani frames are monochrome where the video shows the colour art; the link pointer is chosen for completed path/queue previews that visit their link branch (docs/CURSOR-LINK-PREVIEW.md); end pointers and refused-preview arbitration remain unmodelled (their writers are listed at OriginalPointers), the cash pointer (0x816d5c) is chosen for Buy Land's, the blueprint's and the cell lines' (path, queue, track) money refusals (the other writer 0x539fb6 is not modelled), and the crosshair's art (CCro.tga) is not in the game data, so the system pointer stays in the camcorder and the ride view; the coaster tool uses the track pointer, the pylon and move tools and the erase, height, rotate, pivot and swap pointers have no OpenTPW tool |
| software-pointers | source/OpenTPW/Hud/ParkHud.cs:1491 | [EXT:software-pointers] the original loads its cursors from Data/ui/cursors/*.ani with LoadCursorFromFileA (0x489639, IAT 0x6fd314) into a cursor object (0x661935): OS animated cursors drawn at the pointer hot spot (a software cursor path, "bwcursor", also exists); OpenTPW has no .ani loader (the platforms cannot load animated Windows cursors), so the tools' cursor 9 (c_carry.ani) is the closest cursor it has, Input.CursorTypes.Carry (Ccar.tga); the person in hand still hangs at the exact mouse ground point, where tp.exe's tool frame places it (0x46c480, GUEST-021) |
| software-pointers | source/OpenTPW/UI/Original/OriginalLayouts.cs:3 | <summary>Which of the two tool-pointer flags of the original (0x816d60, 0x816d4c) overrides the tool's own pointer; their meaning is not traced (`[EXT:software-pointers]`).</summary> |
| software-pointers | source/OpenTPW/UI/Original/OriginalPointers.cs:9 | [EXT:software-pointers] the pointer art is drawn by the UI from the colour strips of Data/ui/cursors, a design choice: the host platforms cannot load animated Windows cursors |
| sound-chooser-seed | source/OpenTPW/Audio/GameAudio.cs:242 | Clock seed like the original's start-up seeding (tp.exe 0x72e09c, QueryPerformanceCounter); it only colours front-end sounds, since EnterPark reseeds from the park's world seed ([EXT:sound-chooser-seed]). |
| sound-chooser-seed | source/OpenTPW/Audio/SoundEvents.cs:455 | [EXT:sound-chooser-seed] OpenTPW seeds the chooser from the clock when the sound service starts (as the original, QueryPerformanceCounter, tp.exe 0x72e09c) but reseeds it from the park's world seed at park entry (GameAudio.EnterPark) and saves it with the park, so headless runs and tests start from a known state; with sound on, the draws follow wall-clock events (mixer-timed sentence segments, UI clicks), so this is not a replay guarantee; a deliberate determinism choice with no original behaviour to match (the original's chooser is clock-seeded and unsaved) |
| sound-unit-round-trip | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:29 | [EXT:sound-unit-round-trip] OpenTPW's anchors pass through engine units (x 0.2 and back), which leaves whole values a few ulps short (46.999996); a value within 1/1024 of a whole unit counts as that unit before the truncation, so the round trip does not cost a unit the original keeps |
| sound-unit-round-trip | source/OpenTPW/World/Particles/ParticleRendererModule.cs:144 | [EXT:sound-unit-round-trip] the same tolerance as the EVENT sounds' whole units (OriginalObjectRuntime.WholeUnits) |
| speech-tool-audio-clock | source/OpenTPW/Client/SpeechAudioPlayer.cs:41 | [EXT:speech-tool-audio-clock] the manual advisor tools have no advisor clock and drive the mouth from the frames SDL took from its queue, which leads the speaker by up to one device buffer (≈46 ms) |
| speed-buttons | source/OpenTPW.Tests/OrderedParkPointerPipelineTests.cs:735 | The [EXT:speed-buttons] "||" button runs exactly this; the original window is created by the P key alone (0x4a27f0). |
| speed-buttons | source/OpenTPW/Economy/ParkCalendar.cs:14 | [EXT:speed-buttons] Fast ×2 and Fastest ×4 are OpenTPW's speeds: the original has no fixed speeds and no on-screen speed control, only the numpad keys of the game key table (0x7480a0) that scale its clock rate by 0.8 and 1.25 within 0.25..2 and reset it to 1 |
| speed-buttons | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:44 | [EXT:speed-buttons] OpenTPW's speeds are 1, 2 and 4, where the original steps its clock rate by 0.8 and 1.25 within 0.25..2 |
| speed-buttons | source/OpenTPW/Hud/HudStubs.cs:89 | [EXT:speed-buttons] the four speed buttons (pause, ×1, ×2, ×4) are an OpenTPW addition scaling the simulation clock by 0, 1, 2 and 4; the original's time keys are numpad −/+ (×0.8, ×1.25, clamped 0.25-2.0) and * (= 1.0) (0x40c3b0/0x40c3c0/0x40c3d0), and "Speed :" is a ride-panel statistic, not a game-speed control |
| speed-buttons | source/OpenTPW/Hud/ParkHud.cs:429 | [EXT:speed-buttons] the four speed buttons are an OpenTPW addition; the original has only the numpad time keys (0x40c3b0/0x40c3c0/0x40c3d0) |
| speed-buttons | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| staff-drop-occupancy-refusal | source/OpenTPW/World/Staff/StaffPlacement.cs:44 | [EXT:staff-drop-occupancy-refusal] a park that types its footprint cells (ParkCellMap.WriteFootprint, 0x528A70: 4 and 10 refuse, the entrance's 9 takes a drop) needs no object list, while a world that keeps the cells it was given (a read-only visit) has no such types and refuses every cell under a placed object or the prototype ride by occupancy instead (user-approved 2026-10-18) |
| staff-employee-view | source/OpenTPW/Hud/ParkHud.Staff.cs:121 | [EXT:staff-employee-view] The original hire window only lists applicants; its employee list is the separate All Staff window |
| staff-employee-view | source/OpenTPW/Hud/ParkHud.Staff.cs:390 | [EXT:staff-employee-view] the employed tab deliberately shares this hire-box layout and the existing role/variant walking loop. |
| staff-employee-view | source/OpenTPW/Hud/ParkHud.Staff.cs:434 | [EXT:staff-employee-view] labelled button between the staff info and stat frames toggling the employee view. |
| staff-employee-view | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| staff-enter-hire | source/OpenTPW/Hud/ParkHud.Staff.cs:530 | [EXT:staff-enter-hire] Enter hires the selected applicant too (no original key emits 0x400); it is the keyboard analogue of the click, and in the employee view it opens the employee's window. |
| staff-pickup-reconcile | source/OpenTPW/Economy/OriginalEconomyImport.cs:594 | [EXT:staff-pickup-reconcile] a member saved in state 7 (picked up) with the staff HQ's picked-up id (+0x60) naming him is imported idle (StaffPlacement.Reconcile) instead of reproducing the original's limbo (its only reader of the id is the drop 0x509AF0 from the carry tool's exit 0x46CC40, which also clears it, and no carry tool exists after a load, so the original keeps him in state 7 for good, the pick-up guard 0x505BD0 refusing state 7, loader 0x508BB0): a member nobody can ever move again would be a defect, user-approved 2026-10-17 |
| staff-voice-fallback | source/OpenTPW/Audio/GameAudio.cs:875 | [EXT:staff-voice-fallback] the original always has staff state machines, so voices without a staff world are OpenTPW's own mode: the turn is the park turn, draws advance an independent host SplitMix64 stream seeded from the sound seed XOR ASCII STAF, walking is the travelling flag; in a level every role's state machine draws its voices (PlayStaffVoices) from the world stream (the PC draws from the shared world LCG 0x516330, docs/DETERMINISM.md) |
| status-line | source/OpenTPW/Hud/ParkHud.cs:78 | [EXT:status-line] OpenTPW's own feedback lines (a refused action, a hint for the tool that just started) are not the original's messages: they show as up to three lines for eight seconds above the popup help box; the original's messages go to the message tube (ParkHud.MessageTube.cs, UI-025) |
| strings | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:524 | [EXT:strings] the "not simulated yet" text (OpenTpwText.NotSimulated) is OpenTPW's, so it is not cut off at the cell; every other cell text is |
| strings | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:328 | [EXT:strings] the original loan question keeps its clip; the co-op waiting line is OpenTPW-authored and is not cut off. |
| strings | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:220 | [EXT:strings] the "not simulated yet" value (OpenTpwText.NotSimulated) is OpenTPW's text, wider than the original's value box in some languages, so it is not cut off there |
| strings | source/OpenTPW/UI/Original/Options/GameFilesScreen.cs:149 | [EXT:strings] the label is OpenTPW's own text on OpenTPW's own screen, so it is not cut off at the button's box (a French "Édition..." reaches two pixels above it) |
| strings | source/OpenTPW/UI/Original/SupplementaryStrings.cs:10 | [EXT:strings] OpenTPW supplementary labels (display/upscaling/language rows and OpenTPW messages), not original data |
| strings | source/OpenTPW/UI/Original/UiDialogs.cs:68 | [EXT:strings] a message that is not an original UITEXT one (OpenTPW's own strings, error texts; [EXT:ONLINE-UI] for the online screens' messages) is not cut off at the text box; an original one is, although the box itself is read off the video |
| synthetic-ride-zero-guard | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1267 | [EXT:synthetic-ride-zero-guard] a bridge without any operating values (speed, design speed, duration and design duration all 0) is a synthetic object, since every original object has InitSpeed and InitDuration; it is read at its design speed and duration, where tp.exe's 0x004E0560 divides with no guard and would score trunc(0.5625 × level) from the 0.75 floor on a NaN ratio (0x004E07D2, 0x004E0802); no original object reaches that |
| test-stub | source/OpenTPW/Hud/HudStubs.cs:153 | [EXT:test-stub] price shown when Totem.sam cannot be read (the economy catalogue price is used when a park economy runs) |
| text-encode-helper | source/OpenTPW.Files/Formats/String/BFUMReader.cs:120 | they are dropped; they are listed in <paramref name="unmappable"/>. [EXT:text-encode-helper] tp.exe never names |
| texture-filter-samplers | source/OpenTPW/Render/Assets/ColorSampler.cs:11 | [EXT:texture-filter-samplers] the Veldrid sampler modes (point, linear with point mip, linear with linear mip; anisotropy) are an OpenTPW design choice for the graphics presets |
| texture-filter-samplers | source/OpenTPW/Render/Assets/ColorSampler.cs:13 | [APPROX:COMPAT-010] the per-face bits 0x20000 and 0x40000 are not applied, and a clamped MD2 slot keeps the preset's MINFILTER instead of the original's point MINFILTER (the texture-slot wrap and clamp itself is applied per slot by TextureSlotAddressing) — evidence needed: the writer of texture flag 0x100000 (not found: 0x4343EB writes a game object, not a texture) ; the original's point MINFILTER on clamped faces is covered by [EXT:texture-filter-samplers] (user decision 2026-11-04) |
| texture-filter-samplers | source/OpenTPW/World/Particles/ParticleRenderer.cs:20 | [APPROX:PTCL-905] the triangle sort inside a batch (0x565590 -> 0x565490) is not reproduced: a batch is one particle's two coplanar triangles, so it has no visible effect; a deferred quad's key is the mean z over w of its four corners, the same assumption as WorldTranslucency.Depth for the world's records, and ties keep the order the records were handed over where the original's quicksort (0x5829E0) does not; the point MAGFILTER of flags 0x20000 is COMPAT-010 ([EXT:texture-filter-samplers]) |
| texture-pack | source/OpenTPW/Client/GameFlow.cs:634 | [EXT:texture-pack] the pack switch belongs to the game loop, not to its loading screen |
| texture-pack | source/OpenTPW/Client/GameFlow.cs:1292 | [EXT:texture-pack] a running texture switch shows its progress without blocking the game |
| texture-pack | source/OpenTPW/Compat/GraphicsSettings.cs:279 | [EXT:texture-pack] Texture choice (docs/TEXTURE-PACKS.md): empty = original textures (the startup default); |
| texture-pack | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:283 | [EXT:texture-pack] Switches a throw-away pack on and off while the lobby runs: a lobby texture becomes the pack's solid |
| texture-pack | source/OpenTPW/Hud/ParkHud.cs:248 | [EXT:texture-pack] A first-run download may take a long time; its modal keeps the park turn paused. |
| texture-pack | source/OpenTPW/Render/Assets/ImagePrepass.cs:33 | [EXT:texture-pack] Optional 1x de-artifact pre-pass for the local texture pack. |
| texture-pack | source/OpenTPW/Render/Assets/Material.cs:37 | [EXT:texture-pack] Textures can swap their GPU texture in place (a texture pack switch); the binding follows the Texture object. |
| texture-pack | source/OpenTPW/Render/Assets/Texture.cs:73 | [EXT:texture-pack] Textures made from a game `.wct` remember their source so a pack switch can reload them in place. |
| texture-pack | source/OpenTPW/Render/Assets/Texture.cs:234 | [EXT:texture-pack] pack lookup; a missing file falls back to the original. |
| texture-pack | source/OpenTPW/Render/Assets/TexturePack.cs:13 | [EXT:texture-pack] Upscaled replacement textures are an OpenTPW presentation option, not original behaviour. |
| texture-pack | source/OpenTPW/Render/Assets/TexturePackBuilder.cs:74 | [EXT:texture-pack] Builder for the optional local upscaled texture pack; original files are only read. |
| texture-pack | source/OpenTPW/Render/Assets/TexturePackSwitch.cs:25 | [EXT:texture-pack] Runtime switch of the optional local texture pack (docs/TEXTURE-PACKS.md). |
| texture-pack | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:108 | [EXT:texture-pack] Non-blocking progress line for a running texture switch, drawn over the game or the front end at the |
| texture-pack | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:387 | [EXT:texture-pack] a changed pack starts switching now, in the background: the game loop swaps the textures |
| texture-pack | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:515 | [EXT:texture-pack] Original, Enhanced, then every other usable pack. |
| texture-pack | source/OpenTPW/UI/Original/UiImages.cs:29 | [EXT:texture-pack] the optional local pack replaces interface art too (docs/TEXTURE-PACKS.md); UVs are relative, so a larger image drops in. |
| texture-pack | source/OpenTPW/UI/Original/UiRenderer.cs:458 | [EXT:texture-pack] The texture pack changed: forgets the cached interface images (they are decoded again on first use, |
| texture-pack | source/OpenTPW/World/Guests/BalloonRenderer.cs:92 | <summary>[EXT:texture-pack] Rebuilds the balloon atlas after a pack change or a lazy download that names it, as the guests' atlases do.</summary> |
| texture-pack | source/OpenTPW/World/Guests/GuestRenderer.cs:158 | [EXT:texture-pack] The texture pack changed: builds the atlas textures again from the new pack (or the originals), binds |
| texture-pack | source/OpenTPW/World/Guests/GuestRenderer.cs:252 | [EXT:texture-pack] upscaled guest sprites from the optional local pack |
| texture-pack | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:102 | [EXT:texture-pack] a set with ESP byte 0x10C (it ships an FPC) was drawn from that bank before October 18, 2026; its key names the TPC, so a pack built from the FPC frames is not laid over the TPC's |
| texture-pack | source/OpenTPW/World/Guests/ThoughtRenderer.cs:64 | <summary>[EXT:texture-pack] Rebuilds the bubble atlases after a pack change or a lazy download that names them, as the guests' atlases do.</summary> |
| texture-pack | source/OpenTPW/World/LitterRenderer.cs:59 | <summary>[EXT:texture-pack] Rebuilds the litter atlas after a pack change or a lazy download that names it, as the balloons' does.</summary> |
| texture-pack | source/OpenTPW/World/Staff/StaffRenderer.cs:99 | <summary>[EXT:texture-pack] Rebuilds the atlas textures after a pack change or a lazy download (all of them, or those the paths name), as the guests' do.</summary> |
| texture-pack | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:90 | <summary>[EXT:texture-pack] Rebuilds the umbrella atlas after a pack change or a lazy download that names it, as the other sprite atlases are.</summary> |
| texture-pack | source/OpenTPW/World/UpgradeBalloonRenderer.cs:89 | <summary>[EXT:texture-pack] Rebuilds the atlas after a pack change or a lazy download that names it, as the balloons' does.</summary> |
| texture-pack | source/OpenTPW/World/Winter/WarmItemRenderer.cs:68 | <summary>[EXT:texture-pack] Rebuilds the item atlas after a pack change or a lazy download that names it, as the other sprite atlases are.</summary> |
| texture32-always | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:57 | [APPROX:COMPAT-018] GPU row orientation follows the decoded native container but awaits independent original-platform pixel parity. The PC reader's BILZ chunk tag is compared at 0x6193D0 (the inflate step); the transform after it (dequantisation scale, D4 coefficients 0x591600..0x591690, inverses 0x592C50 / 0x5933A0 / 0x592E60, conversions 0x5935A0 and 0x593301) is SignWaveletDecoder, at the thread's x87 precision; the board is packed bottom-up and reduced to A4R4G4B4 unless TEXTURE32 (0x5ECB40, 0x5ED011); [EXT:texture32-always]: every shipped preset has it 0 and OpenTPW's board stays 32 bit; open: the GPU upload of the packed halves, the sign mesh's V direction and board pixels |
| texture32-always | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:15 | [APPROX:COMPAT-018] the arithmetic after the inflate step is tp.exe's, instruction for instruction at the thread's x87 precision (24 bits; the D4 coefficients at 53 bits, from a static initialiser): scale at the dequantisation, row and column inverse, colour and alpha conversion. The header floats feed Y, Cb, Cr, alpha in file order (the PC board reader 0x5E7990 passes them to 0x592000, once for colour with three scales and once for alpha with the fourth). Still open: the GPU upload of the packed halves and the sign mesh's V direction, and original-platform board pixels (the board is also reduced to A4R4G4B4 by the original unless TEXTURE32: [EXT:texture32-always], SignSurfaceComposer) |
| texture32-always | source/OpenTPW/Hud/ParkMapBaker.cs:14 | [BIN:TPW-EXE:0x5efd21 surface masks] the line routine reads the three channel masks and the fourth mask from the surface description; the map surface takes its D3D format from the table 0x8BD558[[0x8BD554]] (0x5F1F81..0x5F1FCC): A4R4G4B4 or A8R8G8B8 by the option bit 0x400000 of [0x7A1A8C] (0x44E1EB..0x44E202; the software renderer forces 8888, 0x58DACA). OpenTPW's textures are always 32 bit, [EXT:texture32-always], so the 32 bit variant is the only one used; the 4444 surface of the original's default presets (TEXTURE32 0, a 16 bpp surface: the original then draws the fills, outlines and frames with the 16 bit drawer, vtable 0x703680 set at 0x617390, as well as the line) and the 8, 16 and 24 bit line variants (0x5edad0, 0x5ee580, 0x5ef040, jump table 0x5f3218) are not ported |
| tgq-frame-export | source/OpenTPW/Client/TgqPngExport.cs:6 | [EXT:tgq-frame-export] current opaque RGBA conversion at encoded size, not native IDCT/colour/display-aspect parity |
| theme-continue | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:21 | [EXT:theme-continue] the theme entry offers distinct own-save actions (Continue saved, Continue automatic or [EXT:periodic-autosave] autosave, New): host UI with no original rule to match; no native profile or autosave flow is reproduced |
| theme-continue | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:44 | [EXT:theme-continue] the parks' own names are part of the buttons' labels |
| theme-continue | source/OpenTPW/UI/Original/UiDialogs.cs:98 | the dialog's callers are OpenTPW's own choices, each under its approved label: [EXT:theme-continue] (the Theme Park Inc continue prompt) and [EXT:save-extension-switch] (the load dialog's extension choices) |
| theme-continue | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| time-key-speeds | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:102 | [EXT:time-key-speeds] the original's time keys are numpad − / + (clock scale ×0.8 / ×1.25, clamped 0.25-2.0) and * (= 1.0) (0x40c3b0/0x40c3c0/0x40c3d0); OpenTPW steps its four named speeds instead (an OpenTPW decision) |
| tour-fixed-step | source/OpenTPW/World/Tours/TourController.cs:24 | [EXT:tour-fixed-step] the controller ticks from OpenTPW's fixed simulation clock, one tick per 62 ms; the original's world step is a catch-up loop on the wall clock (next step += 31 at 0x0054F4C4, a backlog over 2000 ms dropped at 0x0054F493..0x0054F49B) whose phase against the script loop is not reproduced (a determinism decision, docs/DETERMINISM.md) |
| tour-thrown-riders-released | source/OpenTPW/World/Tours/TourController.cs:357 | [EXT:tour-thrown-riders-released] riders a severe breakdown threw off are handed out at the station like unloaded riders (which also lowers VAR_ONRIDE): a deliberate fix of the original's bug, where the loop in 0x0055DA70 discards the id 0x0055D720 returns, so the script never releases them, VAR_ONRIDE keeps counting them and the guest is never released |
| tp2m-writer | source/OpenTPW.Files/Public/MapFile.cs:65 | [EXT:tp2m-writer] reader-contract serialization, not native writer or save interoperability parity |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:61 | [EXT:tpi-advisor-presentation-rand] (user-approved 2026-11-24; D-4, lead 2026-11-25) the stream is seeded from the session seed, saved and hashed |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:161 | [EXT:tpi-advisor-presentation-rand] (user-approved 2026-11-24) the original's three presentation draws (0x715AC4, 0x716A2C, 0x717175) call the C runtime's rand(), one stream shared with |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:246 | [EXT:tpi-advisor-presentation-rand] (user-approved 2026-11-24) rand() at 0x717175 draws from the presentation stream |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:311 | and the timer words are left as they are. [EXT:tpi-advisor-presentation-rand] (user-approved 2026-11-24) rand() at 0x716A2C draws from the presentation stream |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:368 | is always silent. The C runtime's rand() state is not part of that (the process keeps it); [EXT:tpi-advisor-presentation-rand] the presentation stream is saved and continues |
| tpi-advisor-presentation-rand | source/OpenTPW/Economy/ThemeParkIncAdvisorSequences.cs:51 | 0xBEF184 = 0. [EXT:tpi-advisor-presentation-rand] (user-approved 2026-11-24) rand() at 0x715AC4 draws from the advisor's presentation stream |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:7 | [EXT:tpi-advisor-tick-clock] (D-2: window state is simulation input) the client's windows call it between world ticks, as the original's window procedures run between them |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:83 | [EXT:tpi-advisor-tick-clock] (D-2: window state is simulation input) the client's window calls it between world ticks, as the original's window procedure runs between them |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ParkEconomy.cs:359 | [EXT:tpi-advisor-tick-clock] the per-frame advisor of the tick's last substep runs after the world tick (0x6A5C49) |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ParkEconomy.cs:475 | [EXT:tpi-advisor-tick-clock] the advisor clock moves on by the tick's real time at the park clock's rate, in every world state (the sub-clock runs on in a lost park) |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:143 | [EXT:tpi-advisor-tick-clock] the original draws the frame its per-frame advisor (0x716ED0) has just run; OpenTPW runs the eight frames of a tick when the tick starts (AdvanceClock), so a |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:156 | [EXT:tpi-advisor-tick-clock] (user decision D-1, 2026-11-25) the original times the playback window and the cancel's playing test on the park clock's sub-clock (0x41B780 -> +0x50, |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:167 | [EXT:tpi-advisor-tick-clock] the per-frame advisor (0x716ED0) runs once per 31 ms substep of the tick (0x6A5B92: one substep per frame at an ideal pacing), the eighth after the tick |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:378 | game is paused. [EXT:tpi-advisor-tick-clock] (D-2: window state is simulation input) OpenTPW measures it on the advisor clock, which freezes while the park is paused |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:191 | [EXT:tpi-advisor-tick-clock] D-2: the "game" key group (0xA07A28 +6) is a client state the simulation reads as on, as a running park has it |
| tpi-advisor-tick-clock | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:244 | [EXT:tpi-advisor-tick-clock] the original runs it once per drawn frame; OpenTPW runs it once per 31 ms substep of the world tick on the advisor clock (ThemeParkIncAdvisor.AdvanceClock), |
| tpi-advisor-tick-clock | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:147 | 0x464F4A) is hidden at the end of a clip with nothing after it (Advisor.DrawnSpanMilliseconds). [EXT:tpi-advisor-tick-clock] the next clip starts at the end of the one before, as an |
| tpi-arrival-host-profile | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncArrivalRing.cs:31 | [EXT:tpi-arrival-host-profile] the bounded layout supports native capacities 0..5; smaller retention cannot be replayed into a fixed five-entry host ring without changing continuation |
| tpi-arrival-readiness | source/OpenTPW/Client/AutomaticAdvisor.cs:138 | [EXT:tpi-arrival-readiness] manual attachment to the real TPI money runtime may use its source ring without fabricating an economy import. GameFlow still creates no advisor for TPI. |
| tpi-bus-from-setup | source/OpenTPW/World/Objects/ParkObjects.cs:860 | <c>RunsThemeParkIncNativeGuests</c>): then no Bus is placed at setup (<c>[EXT:tpi-bus-from-setup]</c> holds only without them). |
| tpi-bus-from-setup | source/OpenTPW/World/Objects/ParkObjects.cs:869 | [EXT:tpi-bus-from-setup] a Theme Park Inc world without a prebuilt save gets its Bus at setup where the Theme Park World arrival vehicles are placed on first dispatch: no original reading of how Theme Park Inc places its arrival vehicle is available, and a bus standing from the start keeps the viewer's park alive |
| tpi-capability-gates | source/OpenTPW.Tests/ThemeParkIncAwardsSharesTests.cs:182 | the coaster metrics need the thing bytes +0x3F and +0x40 and the coaster track record, which OpenTPW does not keep ([EXT:tpi-capability-gates]) |
| tpi-capability-gates | source/OpenTPW.Tests/ThemeParkIncChallengeTests.cs:185 | [EXT:tpi-capability-gates] type 48's value reads the attraction satisfaction's mood rings, which the guests do not keep yet: even an activated target and MaxDaysTilTrigger do not make it available |
| tpi-capability-gates | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:12 | [EXT:tpi-capability-gates] the slice's frame is gated by OpenTPW's capability policy (a scope decision), not by traced Theme Park Inc behaviour |
| tpi-capability-gates | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:170 | messages reach only the advisor's listener. [EXT:tpi-capability-gates] neither is posted (the staff senders come with P5): they are noted |
| tpi-capability-gates | source/OpenTPW/Client/Setup/GameEdition.cs:122 | [EXT:tpi-capability-gates] the slice's capability gates are OpenTPW's honest limits (a scope decision), not traced Theme Park Inc behaviour |
| tpi-capability-gates | source/OpenTPW/Client/Setup/GameEdition.cs:319 | [EXT:tpi-capability-gates] the slice's stated limits are OpenTPW's honest capability gates (a scope decision), not traced Theme Park Inc behaviour |
| tpi-capability-gates | source/OpenTPW/Client/ThemeParkIncAdvisorView.cs:81 | [EXT:tpi-capability-gates] a clip's bits 0x20000-0x200000 start screen effects at its start (0x715FEA: 0x7BA870, 0x7BA960, 0x7BAA30, Theme Park World's effect groups) and the |
| tpi-capability-gates | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:68 | [EXT:tpi-capability-gates] the panel's picture by the highest unread category (control 0x47: 0x9BB5E8, 0x9BB6B8, 0x9BB788) and its chime (sound 0x1E of the bank 0xAE0124 through |
| tpi-capability-gates | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:143 | [EXT:tpi-capability-gates] that advice is not posted: its responses (880 to 897) speak the presenter's voices 1000 to 1017 (0x54D3E0 group 0), whose speech path (0x54D4D0, the presenter |
| tpi-capability-gates | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:227 | [EXT:tpi-capability-gates] the rows (0x55E020, which the window calls at 0x55D45A, 0x55D8F4 and 0x55DE83: per slot up to the first of type 7, the staff type's name, the ability's name or |
| tpi-capability-gates | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:404 | [EXT:tpi-capability-gates] the advisor's message 0x211 (descriptor 0x9E5B80, group 1, response 862) is not posted: its score callback 0x727E60 is 10000 only within the first hour |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:112 | ("Clearing advisor history afer receiving RESET_FOR_EASY_MODE event"). [EXT:tpi-capability-gates] Theme Park Inc's easy mode is not ported (an easy Theme Park Inc save is refused), so |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:34 | [EXT:tpi-capability-gates] the advice (0xBF, 0x13A..0x13E, 0xC0, 0xC1 won; 0xC3, 0x142..0x146, 0xC4, 0xC5 moved) goes to the advisor's queue (ThemeParkIncAdvisor), whose response rows |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:129 | [EXT:tpi-capability-gates] the end object (the majority shareholding's ending, as the completion tick's end-of-game object) is not posted: the ending sequence is not ported |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:49 | 0..3 (0x5D74A0, the table 0x5E5054); c = 3 also clears the advisor's queued notices 0x2C..0x2F about the plant (0x64EA60 -> 0x636D10: [EXT:tpi-capability-gates], the advisor's other messages) |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:118 | (VAR_WATER) and the advisor's queued notices 0x2C..0x2F about the plant cleared (0x64EA60 -> 0x636D10: [EXT:tpi-capability-gates], the advisor's other messages); then for every thing |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:70 | [EXT:tpi-capability-gates] the advice 0x40 (0x71A930 -> 0x718820) is not posted: Theme Park Inc's advisor queue takes only the forecasts and the letters so far (the other senders come with P4 and P5); it draws nothing |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:50 | [EXT:tpi-capability-gates] the fly-over and the track tool's start are not ported: the camera's flight and the track editor of a special track ride (the Science water ride 1160 and changing |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:65 | [EXT:tpi-capability-gates] the advice is not posted yet: Theme Park Inc's advisor queue (ThemeParkIncAdvisor) takes the forecasts and letters so far; the other senders come with the advisor's P4/P5 |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:11 | client notes them (<c>[EXT:tpi-capability-gates]</c>). |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:40 | [EXT:tpi-capability-gates] the message 0x1C8 is noted, not posted: the advisor's queue (ThemeParkIncAdvisor) takes the forecasts and the letters so far; the staff senders come with P5 |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:151 | the meters the grievance reads); [EXT:tpi-capability-gates] the messages (type 0x17, 0x435CA0 posted by 0x436DD0) reach only the advisor's listener 0x7176E0, whose speech is not ported: the client |
| tpi-capability-gates | source/OpenTPW/Economy/ParkEconomy.cs:524 | [EXT:tpi-capability-gates] the annual report is not run: its record reads the analyser's money-in, money-out and park-value rings (+0x1FEF8, +0x1F808, +0x1F368) and the ring of 0x6226D0, |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:123 | [EXT:tpi-capability-gates] the scan 0x71C0B0 evaluates one condition row per world tick and draws from the world generator for the pricing rows; the rows' callbacks are not ported, and a |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncCareer.cs:362 | [EXT:tpi-capability-gates] a data\cdk registration folder with .cdk files (none ships) is refused: its validation calls 0x43E9B0, whose meaning is not traced |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:281 | [EXT:tpi-capability-gates] a type whose availability trigger or progress value reads park state OpenTPW does not model (docs/reverse/TPI-CHALLENGE-SYSTEM.md, "Port status") stays |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:483 | [EXT:tpi-capability-gates] the +0x12D branch (a target that is not a special ride) answers false: OpenTPW does not keep mHasBeenOpenedAtSomePoint, and every retail row of these types targets |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:118 | [EXT:tpi-capability-gates] type 4's baseline is 0x5B9880 (see Measure), which OpenTPW cannot read exactly: a type-4 statistic is left unstarted and never measured. No shipped mission uses type 4 |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:151 | [EXT:tpi-capability-gates] type 4 (OpenTPW's ledger books ride and facility takings among the other income, without rows of their own, and an empty ring adds a heap address) is not |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:383 | [EXT:tpi-capability-gates] the end-of-game object 0x5CD6E0(0x5D, 6, 1) (the ending sequence) and message 0x2C, which nothing in OpenTPW receives, are not posted |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:126 | [EXT:tpi-capability-gates] the coaster awards (0 and 1) are not measured: 0x5B7210 and 0x5B7380 keep a coaster only when its thing's byte +0x3F is set, which only the attraction window |
| tpi-capability-gates | source/OpenTPW/Economy/ThemeParkIncSession.cs:9 | [EXT:tpi-capability-gates] Theme Park Inc's options, ambient-tag and 0xA6C0A0/0xAA0180 systems are not ported: OpenTPW carries their sections through from the last player file it |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:157 | [EXT:tpi-capability-gates] the entries of 21 (0x61A906, the guard) and 26 (0x61A9F6, 0x60B6E0) read objects the later phases port; no state of phases P1 to P3b enters them |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:527 | [EXT:tpi-capability-gates] states 10..12, 18, 21 and 24..26 are the later phases' (P4..P6); nothing of phases P1..P3b enters them |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:813 | [EXT:tpi-capability-gates] the tutorial's two tips (advice 0x207 and 0x208 at the census New.ADVISORSTUTWELLDONE1NUMVIS and ADVISORSTUTVISITORINFONUMVIS within the first FirstHour.Minutes, |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:888 | [EXT:tpi-capability-gates] the tag tube's mark of a prankster's records (0x636B10) is not made: the tag system reads prank reports, which phase P4 ports |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:54 | [EXT:tpi-capability-gates] the information desk is phase P5's: a desk is read as naming no target (its +0x140 is written by the desk's own update 0x5E8F00/0x5E9105, which is not ported), so it |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:293 | [EXT:tpi-capability-gates] state 10 (0x617140, the walk to the bin for the prank: VARs 2, 4, 10 and 12, the deposit and the prank tail with kind 3) is phase P4's: the entry is not made, |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:300 | [EXT:tpi-capability-gates] states 24 and 25 (0x6161C0, 0x616100: whinging to the staff and spreading rumours) are phase P5's: their entry is not made, and the words +0x1E8 and +0x2B0, |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:315 | [EXT:tpi-capability-gates] case 3 (the plant search 0x618EF0 with radius 6 and its fire test 0x618F30; a plant found sets +0x204 and state 11 and returns at 0x615148) is phase P4's: it is |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:321 | [EXT:tpi-capability-gates] thought 0x15 ("I pranked", held 120 turns by 0x6388F0 and 0x638960) is not shown: the bubbles are Theme Park World's (Think), which has no thought 0x15; it draws nothing |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:363 | [EXT:tpi-capability-gates] the walk to another guest (0x619240, the guest finder) and the infodesk (0x618B60, state 12) are phase P5's: both are read as finding nothing; neither draws |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:292 | [EXT:tpi-capability-gates] the history object's ring +0x550 (ring 10, ThemeParkIncAttractionRing.DailyNeedChecksFailed) is not kept: OpenTPW holds only the three price rings and the |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:389 | [EXT:tpi-capability-gates] ring 10 (+0x550) is not kept, as for state 13's refusal |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:289 | [EXT:tpi-capability-gates] the history object's ring +0x220 (0x5E61D0) is not kept: OpenTPW holds only the three price rings and the walk-away count of Theme Park Inc's attraction history |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:445 | [EXT:tpi-capability-gates] the history object's ring +0x550 is not kept (SAVE-940), as for state 13's refusal of a long queue |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:461 | [EXT:tpi-capability-gates] the analyser's balloon, costume and umbrella counters (+0x18, +0x1C, +0x20 of 0x64EAC0) are not kept: no ported reader; they draw nothing |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:539 | [EXT:tpi-capability-gates] the toilet prank (state 6's case 1 sets +0x29C) is phase P4's: the priming of the thing's +0x3C (and its +1 happiness and thought 0x15) is not made, so no toilet is ever |
| tpi-capability-gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:584 | [EXT:tpi-capability-gates] the four mood rings +0x2A8, +0x440, +0x330 and +0x3B8 of the history object are not kept (SAVE-940); no draw |
| tpi-capability-gates | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:35 | [EXT:tpi-capability-gates] the toggle's other conditions are not ported: the window's own word +8 (8, 0x1E and 0x1F disable it) and the exit-cell link test 0x5E0940 (0x57D3CA, and 0x5E1FF0's for a |
| tpi-capability-gates | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:92 | the setter, the clearing of the advisor's queued notices 6..9 about the ride (0x64EA60 -> 0x636D10) are presentation ([EXT:tpi-capability-gates]: the advisor's other messages) |
| tpi-capability-gates | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:150 | (0x5E3B70) nor upgrading (0x5E3B90) posts advice 0x43 (not posted: [EXT:tpi-capability-gates], the advisor's other messages; it draws nothing); a ride not in state 1 (0x5E3950), not |
| tpi-capability-gates | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:10 | which a park's Theme Park World guests do not carry (<c>[EXT:tpi-capability-gates]</c>; docs/reverse/TPI-STAFF.md, "Guard"). The guests' reaction to a performing entertainer (<c>0x614D41</c>, in the guest's own |
| tpi-capability-gates | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:9 | region grid (ThemeParkIncStaffWorld.Performers; the guard's chase and first aid are not ported, <c>[EXT:tpi-capability-gates]</c>); all six also run the rest states 2, 3 and 0x23 |
| tpi-capability-gates | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:943 | [BIN:TPI-EXE:0x60B572 guard carry] a guard that carries a guest (0x5D3B20) walks with the carry template 0x1F (0x9B07D4): the guard's chase is not ported ([EXT:tpi-capability-gates]), so no |
| tpi-capability-gates | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:25 | [EXT:tpi-capability-gates] the award ribbons' texture swap is not ported: no response OpenTPW plays has an award selector |
| tpi-front-end-one-player | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:12 | [EXT:tpi-front-end-one-player] OpenTPW has one player, the first slot's "New Player"; the original names the folder after the name the player typed |
| tpi-front-end-one-player | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:129 | [EXT:tpi-front-end-one-player] OpenTPW has no player profiles ([EXT:no-player-profiles]): the first slot is the one player and is shown selected, the other three are drawn inactive |
| tpi-front-end-one-player | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:149 | [EXT:tpi-front-end-one-player] typing a name makes a profile, which OpenTPW does not have: the box is drawn with its prompt and the tick, both inactive |
| tpi-front-end-phase1 | source/OpenTPW.Tests/DesktopEditionStarterTests.cs:157 | [EXT:tpi-front-end-phase1] the route a real start takes: resolver, then the edition check of Game.Main (ViewerRefusal under the selected edition) |
| tpi-front-end-phase1 | source/OpenTPW/Client/Game.cs:408 | [EXT:tpi-front-end-phase1] the Theme Park Inc Personnel File plays no start-up movies yet |
| tpi-front-end-phase1 | source/OpenTPW/Client/Game.cs:1257 | [EXT:tpi-front-end-phase1] a Theme Park Inc start without a world opens its Personnel File (docs/THEME-PARK-INC.md) |
| tpi-front-end-phase1 | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:25 | [EXT:tpi-front-end-phase1] an OpenTPW start screen over the traced Personnel File layout, not a reproduction of Theme Park Inc's front end |
| tpi-front-end-phase1 | source/OpenTPW/Client/GameFlow.cs:762 | [EXT:tpi-front-end-phase1] the Theme Park Inc Personnel File: no lobby scene, camera or sound in phase 1 |
| tpi-front-end-phase1 | source/OpenTPW/Client/GameFlow.cs:1245 | [EXT:tpi-front-end-phase1] the Theme Park Inc Personnel File stands on a flat dark backdrop; the original's 3D intro world (wIntro) is not drawn |
| tpi-front-end-phase1 | source/OpenTPW/Client/Setup/DesktopSetupSelection.cs:39 | [EXT:tpi-front-end-phase1] --front-end on a remembered Theme Park Inc install opens its Personnel File: the zone is chosen there, so none is added |
| tpi-front-end-phase1 | source/OpenTPW/Client/Setup/GameEdition.cs:136 | [EXT:tpi-front-end-phase1] the slice starts at an OpenTPW Personnel File screen (docs/THEME-PARK-INC.md); Theme Park World's lobby front end stays refused |
| tpi-front-end-phase1 | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:179 | [EXT:tpi-front-end-phase1] Load Game continues the local Science slot instead of opening the original save picker (0x548570(1, 0)), as the Personnel File's Load A Game does |
| tpi-front-end-phase1 | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:22 | [EXT:tpi-front-end-phase1] the screen follows the Personnel File's table and strings, but it is an OpenTPW start screen with one player (no profiles, no 3D intro world, no sound). Load A Game resumes the local Science slot instead of opening the original save picker; Delete Player, the name box and the Coaster Design Kit are inactive. |
| tpi-front-end-phase1 | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:193 | [EXT:tpi-front-end-phase1] the Coaster Design Kit is not part of the slice: its toggle is drawn inactive |
| tpi-front-end-phase1 | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:270 | [EXT:tpi-front-end-phase1] the window's own text area is not traced: the question is centred below the caption and left of the buttons |
| tpi-front-end-zone-chooser | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:56 | [EXT:tpi-front-end-zone-chooser] the original reaches Polar Zone and Arabian Nights only through its campaign and Overview Map; the page offers them directly |
| tpi-front-end-zone-chooser | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:165 | [EXT:tpi-front-end-zone-chooser] the original reaches the zones through its campaign; a latched button per zone chooses the one Enter Game starts (science is the new player's default) |
| tpi-front-end-zone-chooser | source/OpenTPW/UI/Original/SupplementaryStrings.cs:789 | [EXT:tpi-front-end-zone-chooser] the label of the Personnel File's OpenTPW zone chooser (the original reaches the zones through the campaign) |
| tpi-history-five-series | source/OpenTPW/Economy/ParkEconomyRuntime.cs:185 | [EXT:tpi-history-five-series] the traced native TPI graph (0x5630B0) selects arrivals/people/rating; the shared host five-series state also retains separately proven happiness/stay measurements; this path adds no graph to the text-only TPI HUD |
| tpi-history-fresh-start | source/OpenTPW/Economy/ParkEconomyRuntime.cs:184 | [EXT:tpi-history-fresh-start] retain the saved numeric history and live inputs while this money-only path keeps its fresh clock/calendar and finance; the first host close crosses that boundary |
| tpi-history-fresh-start | source/OpenTPW/Economy/ParkStatisticsHistory.cs:126 | [EXT:tpi-history-fresh-start] TPW and independently traced TPI statistics are imported; Theme Park Inc's own executable keeps its saved clock, which the money-only TPI economy does not continue (the first host close crosses the month boundary on its fresh clock). Validation item for the TPI restore work: real populated or wrapped TPI saves. |
| tpi-history-host-profile | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:32 | [EXT:tpi-history-host-profile] host saves require a nonnegative live arrivals counter; signed historical samples remain unclamped |
| tpi-history-host-profile | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:47 | [EXT:tpi-history-host-profile] native smaller capacities are readable, but padding/replaying them would change head, retention and wrap semantics in the fixed host representation |
| tpi-layout-checkpoint | source/OpenTPW/World/ThemeParkIncLayoutCheckpoint.cs:6 | [EXT:tpi-layout-checkpoint] an application-owned layout format of the experimental Theme Park Inc slice (an OpenTPW design decision, docs/PARK-SAVES.md): it keeps placement, not running guest/script/clock state, and loading starts a fresh experimental session; no original Theme Park Inc save or layout format is claimed |
| tpi-money-only | source/OpenTPW/Economy/ParkEconomy.cs:67 | ([EXT:tpi-money-only] Theme Park Inc has no traced calendar of its own: its park keeps the synchronised start) |
| tpi-money-only | source/OpenTPW/Economy/ParkEconomy.cs:569 | [EXT:tpi-money-only] a park without Theme Park World's staff runs none of this: the staff, the research lab and Theme Park World's ride update are refused with the staff and research; a |
| tpi-no-maintenance-wear | source/OpenTPW.Tests/ThemeParkIncPlayTests.cs:616 | the toilet wear is a synthetic test, and Theme Park Inc's own toilet wear is unported: [EXT:tpi-no-maintenance-wear]) |
| tpi-no-maintenance-wear | source/OpenTPW/Economy/ParkEconomy.cs:1420 | [EXT:tpi-no-maintenance-wear] Theme Park Inc's toilet wear and loo cleaning are unported (its handymen sweep litter only), so a use wears none: the gauge stays full and the toilet stays |
| tpi-no-maintenance-wear | source/OpenTPW/Economy/ParkEconomyRuntime.cs:285 | [EXT:tpi-no-maintenance-wear] a park without staff drops no litter either: no handyman would ever sweep it; a Theme Park Inc park with its staff (ParkEconomy.TpiStaff) drops it, as its |
| tpi-no-maintenance-wear | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:576 | [EXT:tpi-no-maintenance-wear] the bins' fill and their RegionFX rows 8 (clean, from the constructor 0x5DB6DD) and 9 (dirty) are unported: a dirty bin's row change (0x5D74D0(8), 0x5D74A0(9)) |
| tpi-no-maintenance-wear | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:541 | [EXT:tpi-no-maintenance-wear] the toilet's wear 0x5E78E0 (+0x54 by the toilet byte and its RegionFX rows 1 and 6) is not made, as for Theme Park Inc's toilets in the default path |
| tpi-no-maintenance-wear | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:82 | [EXT:tpi-no-maintenance-wear]) 0x5E37B0; then 0x609130 (the person: 0x637FE0, the sprite source deleted 0x5D1050, 0x638460) |
| tpi-no-maintenance-wear | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:17 | [EXT:tpi-no-maintenance-wear] (user-approved 2026-11-21) Theme Park Inc's toilet wear and the bins' fill are unported, so the loo finder 0x5D6230 and the bin finder 0x5D5F10 find nothing |
| tpi-no-maintenance-wear | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:731 | the draw R decides between a dirty loo and a dirty or burning bin when both are found; [EXT:tpi-no-maintenance-wear] neither is ever dirty here |
| tpi-no-research | source/OpenTPW/Economy/ParkEconomy.cs:2215 | a Theme Park Inc park's research gates its catalogue list (ThemeParkIncCatalogue.IsListed, 0x57CB66), not the purchase: [EXT:tpi-no-research] a Theme Park Inc economy without a seeded lab (a new zone, |
| tpi-object-name-matcher | source/OpenTPW/World/Objects/ObjectCatalog.cs:781 | [EXT:tpi-object-name-matcher] Theme Park Inc object names: OBJECT_NAMES entries bound by English name equality within the theme block (the Info.Id table is tp.exe's; the TPI executable's own binding is not traced) — the original TPI rule is unknown |
| tpi-park-open | source/OpenTPW.Tests/ThemeParkIncWageTests.cs:348 | [EXT:tpi-park-open] the level opens the Theme Park Inc park at the start |
| tpi-park-open | source/OpenTPW/Economy/ParkEconomyRuntime.cs:59 | [EXT:tpi-park-open] the Theme Park Inc slice has no gate control and no entrance-price window, so its park opens at once; its own initial state is not traced |
| tpi-park-open | source/OpenTPW/World/Level.cs:739 | [EXT:tpi-park-open] the Theme Park Inc park runs no gate commands: its gate script is not traced, so the economy neither drives nor closes the park door |
| tpi-park-open | source/OpenTPW/World/ParkGate.cs:257 | (<c>0x5E2C35</c>: states 1, 4 and 2, the request, the queue link <c>0x5E07B0</c> and the coaster test), and its park runs no gate ([EXT:tpi-park-open]). |
| tpi-park-open | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:22 | [BIN:TPI-EXE:0x64FA50 gate status] the gate thing's (world +0x1EAB66) script variable 1 (VAR_STATUS, 1 open), -1 without a gate; [EXT:tpi-park-open] the Theme Park Inc park opens at the start and |
| tpi-staff-crt-rand | source/OpenTPW/Economy/ThemeParkIncStaffCandidates.cs:39 | [EXT:tpi-staff-crt-rand] user-approved 2026-11-21: the agency's rand() (0x870D38, seeded from the clock by srand(GetTickCount()) at 0x6A151B) is drawn from the park's world generator |
| tpi-staff-crt-rand | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:81 | [EXT:tpi-staff-crt-rand] user-approved 2026-11-21: the demand day's rand() (0x870D38, seeded from the clock by srand(GetTickCount()) at 0x6A151B) is drawn from the park's world generator |
| tpi-staff-crt-rand | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:412 | [EXT:tpi-staff-crt-rand] user-approved 2026-11-22 (widened from the staff's two sites to the guests' 0x613F18, 0x615318, 0x615328 and 0x61795E): the CRT rand() (0x870D38, seeded from the clock by |
| tpi-staff-crt-rand | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:360 | [EXT:tpi-staff-crt-rand] user-approved 2026-11-22, the reduction decided 2026-11-23: each rand() < 0x3FFF is world.Next(0x8000) < 0x3FFF, a world draw over rand's full range 0..0x7FFF |
| tpi-staff-crt-rand | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:409 | [EXT:tpi-staff-crt-rand] user-approved 2026-11-22 (the four guest sites, 0x61795E among them): the CRT rand() (0x870D38, seeded from the clock) is the park's world generator, rand() % N as world.Next(N) |
| tpi-stamp-counter-sim-only | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncWalk.cs:55 | presentation; its once-per-frame calls from the render pass do not count (<c>[EXT:tpi-stamp-counter-sim-only]</c>, <see cref="ParkCellMap.CountsSimulationCalls"/>). |
| tpi-stamp-counter-sim-only | source/OpenTPW/World/ParkCellMap.cs:243 | [EXT:tpi-stamp-counter-sim-only] (user-approved 2026-11-25, decision N-5) the sprite placement 0x60AE00 also raises the counter once per person per rendered frame (the render pass 0x64E270 from |
| tpi-text-hud | source/OpenTPW.Tests/ThemeParkIncHudAwardsTests.cs:10 | <summary>The experimental Theme Park Inc HUD's shares and awards line and its award notes ([EXT:tpi-text-hud]), in the game's own UITEXT words.</summary> |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncAdvisorView.cs:100 | the in-game interface (<c>[EXT:tpi-text-hud]</c>), so the advisor is drawn over it, as Theme Park World's advisor is over its HUD (<see cref="AutomaticAdvisor.Draw"/>). |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Awards.cs:20 | [EXT:tpi-text-hud] both native panels are not ported (the share panel's colours draw from the C runtime's rand(), 0x5813A1, 0x581ABE): the text HUD's challenge panel shows their values in a line |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Awards.cs:47 | [EXT:tpi-text-hud] the award advice (0x606EC0) is shown as a note in the game's own words, UITEXT 452 and the award's name |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Challenges.cs:10 | [EXT:tpi-text-hud] the text HUD's challenge list stands in for the original's challenge mails (message 0x1B, the mail view 0x52C2B2); no original panel is claimed |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:98 | [EXT:tpi-text-hud] the native HUD's buttons that open the window (0x54AC0F, 0x54F7C1) belong to Theme Park Inc's in-game interface, which the slice replaces with the text HUD; this text |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:125 | the challenges window (table 0x9B54CC) is not built: the text HUD's challenge panel ([EXT:tpi-text-hud]) stands in for it, as for the mission window's tab |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:134 | [BIN:TPI-EXE:0x55137B training go-to] kind 5: the staff window 0x58C6C0 (0xA6BF40) on the thing of +0xE14; [EXT:tpi-text-hud] the text HUD's staff panel stands in for that window, which |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:6 | The text HUD's research rows in the staff panel (<c>[EXT:tpi-text-hud]</c>): the lab's two slots (the panel <c>0x575570</c>), "Start New Project" (<c>0x575F98</c>), the project chooser (<c>0x574180</c>), the team |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.SpecialRides.cs:35 | [EXT:tpi-text-hud] the windows are not drawn: the activation window's title (UITEXT 116), column heads and staff slots (0x55E1F0/0x55E020 into list 0x4E26), the ticket line (0x3DA or 0x3DB, 0x5871E0), |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Staff.cs:38 | [EXT:tpi-text-hud] the text HUD's staff list clicks like its buttons; no original Theme Park Inc hire list is claimed |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.Staff.cs:115 | [EXT:tpi-text-hud] the text HUD lists the panel's rows; the original's panel window and its confirmation dialog (715) are not built: choosing the same ability twice confirms a retraining |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:66 | [EXT:tpi-text-hud] the native HUD's mail panel 0x45 (0xA6011C) belongs to Theme Park Inc's in-game interface, which the slice replaces with the text HUD; this text button stands in for it: |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.cs:29 | [EXT:tpi-text-hud] the whole HUD is an OpenTPW text interface (an OpenTPW design decision for the experimental slice); no original Theme Park Inc interface behaviour is claimed |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncHud.cs:218 | [EXT:tpi-text-hud] the text HUD's build list clicks like its buttons; no original Theme Park Inc list is claimed (Theme Park World's list rows are silent, UiScrollList.Activate) |
| tpi-text-hud | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:192 | the challenges window (table 0x9B54CC) is not built: the text HUD's challenge panel ([EXT:tpi-text-hud]) stands in for it |
| tpi-text-hud | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:35 | for these ids come with the presentation; the award senders are posted from P4 on, and the award is shown as a note instead ([EXT:tpi-text-hud]) |
| tpi-text-hud | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:198 | is set or the game state 0x674280 is 2 or 0xB: interface windows and game states OpenTPW's text HUD ([EXT:tpi-text-hud]) does not have, so nothing blocks it |
| tpi-text-hud | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:251 | 0x718820 on the advisor thing 0x64EA00), and the threshold doubles either way. With the native HUD's mail panel (0xA6011C, a [EXT:tpi-text-hud] stand-in here) it then shows the total, |
| tpi-text-hud | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| tpi-text-hud | source/OpenTPW/World/Level.cs:1084 | ride panel ([EXT:tpi-text-hud]: the native panel's call 0x5562E0, cancel 0x5563F0 and toggle 0x50FCD0 are not ported), but the shared RequestMaintenanceCommand (the co-op call button) runs |
| tpi-time-seeded-rand | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:167 | [BIN:TPI-EXE:0x613ea0 schedule] +0x38 and +0x3C zero (not inside) and not on a track cell, then the delay from rand() ([EXT:tpi-time-seeded-rand]), the balloon's lengthening, the due word +0x23C = (clock >> 2) + delay and the state written |
| tpi-time-seeded-rand | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:227 | [EXT:tpi-time-seeded-rand] user-approved 2026-10-30: the original's rand() is seeded once from the clock (srand(GetTickCount()) at 0x6A151B, by the CRT's per-thread seed; game code does start threads through 0x777DD0 (thunk 0x406965): the socket and FTP workers 0x77A680, 0x77A6C0 and 0x7893F0, which are not the simulation, so the guest update 0x613EA0 runs on the thread that was seeded at start-up) and its stream is shared by 96 call sites, so no sequence can be matched; a SplitMix64 hash of (guest id, park turn) with the same bound and the same uniform spread replaces it and takes no draw from the shared world or guest streams |
| tpi-tool-flow | source/OpenTPW/Client/ThemeParkIncHud.cs:570 | [EXT:tpi-tool-flow] the tools follow the traced Theme Park World flow (the TPW tool flow reused for the slice); no original Theme Park Inc build tool is claimed |
| tpi-twp-guest-rules | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:142 | [EXT:tpi-twp-guest-rules] guests start with Theme Park Inc profiles, meters and generation-specific art, but still use shared movement, sprite animation and guest-update systems where TPI behavior has not been ported |
| tpi-twp-guest-rules | source/OpenTPW/Economy/GuestEconomyBridge.cs:77 | [EXT:tpi-twp-guest-rules] Theme Park Inc's boarding of a Theme Park World guest stands in for the native guest's admission (state 20, 0x61A77E), which follows the price test (0x61243A |
| tpi-twp-guest-rules | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:82 | [EXT:tpi-twp-guest-rules] on the default path the events ride on the admitted boarding of Theme Park World's guest (GuestEconomyBridge.TryPayVisit's Theme Park Inc branch, after TryAdmitVisit), |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/GuestSimulation.cs:523 | [EXT:tpi-twp-guest-rules] the constructor's profile, meters, base speed and appearance are Theme Park Inc's; the guest then walks, decides and animates by the shared |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/GuestSimulation.cs:2264 | [BIN:TPI-EXE:0x614B97 bin search] 0x618D10 with radius 3: a bin sets the target (+0x204) and dispatch index 9 and returns, the urge kept ([EXT:tpi-twp-guest-rules] the search, the walk to the bin |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:173 | rules (<c>[EXT:tpi-twp-guest-rules]</c>). An optional member needs no schema bump: a build without it refuses a save that carries it (unmapped members are disallowed). |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:7 | wander and the speed stay Theme Park World's ([EXT:tpi-twp-guest-rules]), as for the staff. |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:26 | update under <c>[EXT:tpi-twp-guest-rules]</c>. Off by default; it takes effect only with Theme Park Inc's guest settings (<see cref="GuestSettings.TpiGuestStart"/> and |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:240 | [EXT:tpi-twp-guest-rules] the thought object 0x638960 is drawn by Theme Park World's bubble rules (Think: tp.exe 0x0050BE80); Theme Park Inc's own bubble timing is not ported |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:307 | [EXT:tpi-twp-guest-rules] the block's littered and path cells (0x64EAC0 -> 0x5AF880, 0x5B1690(4) over 0x5B15A0(4), the same census as tp.exe's 0x004C8BA0 over 0x004C8AE0) are read |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:320 | [EXT:tpi-twp-guest-rules] the thought object 0x638960 is drawn by Theme Park World's bubble rules (Think: tp.exe 0x0050BE80) |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:534 | World's (<c>[EXT:tpi-twp-guest-rules]</c>, tp.exe <c>0x004FA2A0</c>). |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:5 | the wander destination stay Theme Park World's ([EXT:tpi-twp-guest-rules]), as in phase P1. |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:387 | The wander destination <c>0x609F70</c>: Theme Park World's wander (<c>[EXT:tpi-twp-guest-rules]</c>, tp.exe <c>0x004F9490</c>, as the staff's); a walk it sets raises the wander flag |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncWalk.cs:38 | [EXT:tpi-twp-guest-rules] the body plays Theme Park World's sprite programs (the walk 1 and the run 2 are the same programs under Theme Park Inc's numbers, ThemeParkIncStaffWorld.ProgramOf); |
| tpi-twp-guest-rules | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestRecord.cs:6 | Theme Park World rules (<c>[EXT:tpi-twp-guest-rules]</c>, the default path). |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/StaffRenderer.cs:300 | [BIN:TPI-EXE:0x5D4980 handyman sprite] the handyman's source is made with the category 9 (handymen) and the variant byte +0x30 (0x5D1000 -> 0x4E4810 with the table 0x9CDA94); [EXT:tpi-twp-guest-rules] the |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:11 | (<c>[EXT:tpi-twp-guest-rules]</c>, D1). The destructor's claim release (<c>0x5D2430</c> → <c>0x5E37B0</c>) waits for the firing of Theme Park Inc staff, which is not ported. |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:12 | (<c>[EXT:tpi-twp-guest-rules]</c>, the default path) do not react, because Theme Park World's own turn towards a performer, 0x004FEFF4, reads Theme Park World's staff. The entertainer's row 0 on the cells |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:191 | the flag 1 stops at the first. [EXT:tpi-twp-guest-rules] the guests are Theme Park World's, so the kind-1 things are the guests TPW's finder counts; that finder, |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:13 | [EXT:tpi-twp-guest-rules] (user-approved 2026-11-21 for the staff's walk) the walk step 0x60B440, the route search behind the staff route 0x62EB10 (SetDest 0x63E3A0; the route's entrance refusal, walk mask and the cell steer 0x60B7F0 are ported, StaffRoute), the patrol destination 0x609F70 and the speed step 0x60BC90 are not |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:528 | [EXT:tpi-twp-guest-rules] 0x60BC90's smoothing of (+0xD4 + +0xD6 + +0xD8) / 100 into +0xDC and the decay of +0xD8 by 99/100 are taken as Theme Park World's 0x004FA870, the caps |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:913 | the heading (+0x2C) follows the step's direction ([EXT:tpi-twp-guest-rules]: Theme Park World's walk; Theme Park Inc's arrival also writes it, D1, from the same differences) |
| tpi-twp-guest-rules | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:1010 | [EXT:tpi-twp-guest-rules] Theme Park World's wander: Theme Park Inc's 0x609F70 for the staff (its stamp-counter gates 0x609FBE, 0x60A6FB and 0x60A83F, the final route through the staff route |
| tpi-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:243 | [EXT:tpi-ui] the experimental Theme Park Inc slice's interface |
| tpi-ui | source/OpenTPW/UI/Original/SupplementaryStrings.cs:984 | [EXT:tpi-ui] the experimental Theme Park Inc slice's interface (docs/LANGUAGES.md, "Theme Park Inc") |
| tpi-viewer | source/OpenTPW.Web/Program.cs:121 | [EXT:tpi-viewer] explicit Theme Park Inc starts reuse the experimental slice and retain all capability refusals. |
| tpi-viewer | source/OpenTPW/Client/Game.cs:140 | [EXT:tpi-viewer] Theme Park Inc data (docs/THEME-PARK-INC.md): refused for normal starts, viewable with --load-original-level. |
| tpi-viewer | source/OpenTPW/Client/Game.cs:200 | [EXT:tpi-viewer] bonus objects are Theme Park World content: not offered to Theme Park Inc worlds |
| tpi-viewer | source/OpenTPW/Client/Game.cs:382 | [EXT:tpi-viewer] the experimental Theme Park Inc slice's own native smoke test: injected HUD input |
| tpi-viewer | source/OpenTPW/Client/Game.cs:1519 | [EXT:tpi-viewer] a saved experimental Theme Park Inc world starts directly; a stale folder or world opens the wizard. |
| tpi-viewer | source/OpenTPW/Client/Game.cs:1765 | [EXT:tpi-viewer] experimental slice for Theme Park Inc worlds, not original behaviour and not Theme Park Inc support. |
| tpi-viewer | source/OpenTPW/Client/GameFlow.cs:74 | [EXT:tpi-viewer] viewing aid, not original behaviour |
| tpi-viewer | source/OpenTPW/Client/GameFlow.cs:436 | [EXT:tpi-viewer] the edition capability policy runs the experimental Theme Park Inc slice: the shared world, |
| tpi-viewer | source/OpenTPW/Client/Setup/DesktopSetupSelection.cs:36 | [EXT:tpi-viewer] an experimental Theme Park Inc choice starts that world through the viewer slice |
| tpi-viewer | source/OpenTPW/Client/Setup/GameEdition.cs:153 | [EXT:tpi-viewer] Theme Park Inc runs an experimental slice (docs/THEME-PARK-INC.md), not the supported game |
| tpi-viewer | source/OpenTPW/Client/Setup/GameInstallation.cs:78 | [EXT:tpi-viewer] the edition and world checks of the experimental Theme Park Inc selection |
| tpi-viewer | source/OpenTPW/Render/Assets/Texture.cs:163 | [EXT:tpi-viewer] `.fsh` textures exist only in Theme Park Inc data. Opaque 0x24 palettes: the original converter does the same (docs/FSH.md). |
| tpi-viewer | source/OpenTPW/UI/Original/Options/GameFilesScreen.cs:148 | [EXT:tpi-viewer] choosing the experimental Theme Park Inc edition; the browser has no Game files screen at all. |
| tpi-viewer | source/OpenTPW/UI/Original/Options/GameFilesScreen.cs:186 | [EXT:tpi-viewer] experimental Theme Park Inc slice; the original game has one edition per install |
| tpi-viewer | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| tpi-viewer | source/OpenTPW/World/Level.cs:420 | [EXT:tpi-viewer] the edition capability policy decides the economy: Theme Park Inc's Standard.sam lacks 86 of the |
| tpi-weather-spell-seed | source/OpenTPW.Tests/ThemeParkIncWeatherTests.cs:10 | [BIN:TPI-EXE:0x642770 spell roll] the machine under test follows the executable; the roll's numbers come from the economy's world stream ([EXT:tpi-weather-spell-seed]) |
| tpi-weather-spell-seed | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:195 | [EXT:tpi-weather-spell-seed] user-approved 2026-10-30: the roll's numbers come from the economy's world stream, where the original's rand() (0x870D38) is seeded from the clock (srand(GetTickCount()), 0x6A151B) and shared with 96 call sites |
| track-edit-invalid-close | source/OpenTPW/World/Level.Tracks.cs:276 | [EXT:track-edit-invalid-close] keep the model and economy door consistent with an edited circuit the controller cannot accept |
| track-open-end-guard | source/OpenTPW/World/Tracks/TrackEditor.cs:189 | [EXT:track-open-end-guard] a cell that is no track tile ends the walk at the last tile (at the exit cell when the track is empty) where the original would walk on over the empty cells for as long as the grid goes |
| track-open-end-guard | source/OpenTPW/World/Tracks/TrackEditor.cs:274 | [EXT:track-open-end-guard] a cell that is no laid tile ends the walk where the original would walk on over the empty cells |
| track-open-end-guard | source/OpenTPW/World/Tracks/TrackEditor.cs:392 | [EXT:track-open-end-guard] a walk stops at the last laid tile when the next cell holds no track, where the original would walk on over empty cells; a chain that leaves a closed circuit's cleared tiles behind it simply ends |
| track-placement-walk | source/OpenTPW/World/Level.Tracks.cs:78 | [EXT:track-placement-walk] the original's placement lays the station (0x0052A1A0 from 0x00529E10) and walks nothing; OpenTPW walks the fresh station so its controller has the station's sections at once, without writing the track word (it keeps the constructor's 1 until a track edit, as the original's does), and the pieces take the add-on walk's rule (TrackPieceAnimations.ForWalk), which on the station's open circuit stops clips none of them plays yet |
| track-placement-walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:159 | [BIN:TPW-EXE:0x00524D0A add-on placement walk] the walk after an add-on's placement: a valid circuit calls 0x0052A490(ride, 1), an invalid one 0x0052A490(ride, 0) and 0x0052A700(ride, 0); the ride's own placement (0x00528A70 → 0x00529E10) lays its station and walks nothing, and OpenTPW's walk of the fresh station ([EXT:track-placement-walk], Level.OnTrackStationPlaced) follows the same rule |
| track-pool-overflow-refused | source/OpenTPW/World/Tracks/BumpController.cs:329 | [EXT:track-pool-overflow-refused] a circuit that overflows the section, collision-object or buoy pool is not a ride: the walk's verdict is overridden to invalid and the geometry is dropped, so no boat runs on a partial track; the original skips sections silently when the section pool is full, crashes on a collision-object overflow (it logs "Out of Collision Objects" and writes the flags through a null pointer, [BIN:TPW-EXE:0x0054B1E0]) and drops buoys ("Out of Buoys") |
| track-pool-overflow-refused | source/OpenTPW/World/Tracks/BumpController.cs:356 | [EXT:track-pool-overflow-refused] the shared pools' overflow verdict depends on the order the rides were built in, which a restore does not replay (it walks the rides by attraction id); the restore keeps the saved verdicts and object slots, so a park near the limits loads as it was saved |
| track-tile-owner | source/OpenTPW/World/Tracks/TrackBuilder.cs:85 | [EXT:track-tile-owner] OpenTPW tags every tile with its ride so rides side by side stay separate and a demolition removes the ride's own tiles; the original's 40-byte cell has no owner field and its walk and demolition follow the masks (its vehicles can cross into a neighbour ride's adjacent objects, see TRACK-019) |
| track-tile-owner | source/OpenTPW/World/Tracks/TrackEditor.cs:680 | [EXT:track-tile-owner] the ride word (+0x10) of the original's tests is the tile's owner field here; the owner an extension cell carries (its origin's) is not what the original finds at its +0x10 (the parent's cell index, never a ride word), so only origin cells match |
| track-tile-owner | source/OpenTPW/World/Tracks/TrackProvenance.cs:5 | ride is claimed against that player. OpenTPW tags each tile with its ride's owner word (TRACK-021, <c>[EXT:track-tile-owner]</c>), but a tile of an older save has owner word 0, which every |
| track-tool-owner-leases | source/OpenTPW/World/Objects/ObjectShape.cs:120 | [EXT:track-tool-owner-leases] defensive owner/generation leases do not reproduce the original's unconditional native foreign-cell commits, a bug of the original that OpenTPW does not copy (user-approved 2026-10-30, RIDES-011's lease part; docs/COASTER-CELL-MARKERS.md). |
| track-tool-owner-leases | source/OpenTPW/World/ParkCellMap.cs:590 | [EXT:track-tool-owner-leases] the original's tool commits into whatever ride the stale globals name; OpenTPW's owner leases keep a clear to the demolished ride's own tiles (user-approved 2026-10-30) |
| track-walk-step-limit | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:54 | [EXT:track-walk-step-limit] the walk is cut off after as many steps as the layer has tiles plus the station; the original 0x52A970 has no step limit and would hang on a flow that never returns to the start |
| track-walk-step-limit | source/OpenTPW/World/Tracks/TrackEditor.cs:421 | [EXT:track-walk-step-limit] the walks of the cut are cut off after as many tiles as the layer holds plus the station, where the original has no limit and would not leave a flow that never reaches the second tile |
| trig-anim-speed-guard | source/OpenTPW/VM/Handlers/Animation.cs:63 | [EXT:trig-anim-speed-guard] A TRIGANIMSPEED speed operand of 0 or below faults the script: PC 0x552f2e..0x552feb stores the operand at +0xe4 as 16 bits and divides by the full operand (0 is a divide fault there too), a negative speed gives a decreasing frame whose end test in 0x4735d0 never fires, and the sampler's unsigned key searches (0x470c90) would read the 12-byte pose table out of bounds; the corpus has 4 uses, all literals from 1800 to 4000, so this is OpenTPW's guard for malformed input (formerly RIDES-038) |
| ui-anchors | source/OpenTPW/UI/Original/UiCanvas.cs:48 | [EXT:ui-anchors] anchors keep the authored distance to the nearest edge on non-4:3 outputs; the original (1999) ran fixed 4:3 modes, so widescreen layout is an OpenTPW design decision |
| ui-font-korean-bold | source/OpenTPW/UI/Original/UiText.cs:198 | [EXT:ui-font-korean-bold] the Korean CD's language folder has no GAMEBOLD9/10/12 (nor MATISSE18/36): the bold game font falls back to the |
| ui-font-korean-date | source/OpenTPW/UI/Original/UiText.cs:217 | [EXT:ui-font-korean-date] the Korean CD's DATE fonts draw only the Latin, Greek and Cyrillic glyphs (356 of their 17,270 records have a bitmap), |
| ui-font-korean-heading | source/OpenTPW/UI/Original/UiText.cs:203 | [EXT:ui-font-korean-heading] the Korean CD's SESH fonts draw only Latin letters (229 glyphs), so a heading in Hangul gives way to the label font; |
| ui-font-tier-by-scale | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:158 | [EXT:ui-font-tier-by-scale] which shipped font serves font slot 0 (the MENUSMALL/MENUMED/MENUBIG family) is OpenTPW's tier choice: the menu role |
| ui-font-tier-by-scale | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:93 | [EXT:ui-font-tier-by-scale] which shipped font serves font slot 5 and slot 7 is OpenTPW's choice: the label and small roles |
| ui-font-tier-by-scale | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:166 | [EXT:ui-font-tier-by-scale] which shipped font serves font slots 5, 6 and 7 (0x500DE0) is OpenTPW's choice: the label role for 5 and 6, the small role for 7, as the letter window |
| ui-font-tier-by-scale | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:131 | [EXT:ui-font-tier-by-scale] which shipped font serves font slots 6, 7 and 8 (0x500DE0) is OpenTPW's choice: the label role for 6 and 8, the small role for 7, as the mission window |
| ui-font-tier-by-scale | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:24 | [EXT:ui-font-tier-by-scale] which shipped font serves font slot 6 (0x500DE0) is OpenTPW's choice: the label role, as the tag tube and the mission window |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiCanvas.cs:44 | [EXT:ui-font-tier-by-scale] the font tier follows the output scale (thresholds 0.36 / 0.6 of the logical scale), not the original's font bank per screen mode (0x419710): the original had four fixed modes, OpenTPW runs at any output size |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiDialogs.cs:127 | [EXT:ui-font-tier-by-scale] the text's font is OpenTPW's label font: the descriptor's slot 4 names a bank font OpenTPW has no mode-to-bank rule for |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiDialogs.cs:187 | [EXT:ui-font-tier-by-scale] the line height is that of OpenTPW's menu font: which shipped font serves slot 0 per size tier is OpenTPW's choice, as the original picks one of four banks by its fixed screen modes |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiScreen.cs:501 | [EXT:ui-font-tier-by-scale] the box's width and position follow 0x492180 but its height comes from OpenTPW's substitute for font slot 7, so the text is not cut off at it (French accents reach two pixels past it) |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiText.cs:187 | [EXT:ui-font-tier-by-scale] which shipped font serves which role per tier is OpenTPW's choice: the original's controls name a bank slot (0x485a70: menu lines 0, HUD cash 1, HUD date 3, window labels 6, list rows 7) whose fonts differ per bank (docs/UI.md), and OpenTPW has no mode-to-bank rule at its output sizes |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiText.cs:207 | [EXT:ui-font-tier-by-scale] the shipped CASHSMALL/CASHMED/CASHBIG fonts for the bank balance (the HUD builder's cash font slot 1; the original's banks 0-3 hold CASHSMALL/CASHMED/CASHBIG/CASHBIG, 0x419710) |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiText.cs:212 | bank ([EXT:ui-font-tier-by-scale] for the tier→bank pairing). Only official Patch 2 and the Mac version ship these files |
| ui-font-tier-by-scale | source/OpenTPW/UI/Original/UiWidgets.cs:228 | [BIN:TPW-EXE:0x4a443c bank font] slot 6 is GAME5AA/GAME7/GAME8/GAME9 for banks 0-3; which shipped font serves the label per size tier is [EXT:ui-font-tier-by-scale], and a label that overflows is not shrunk in the original but laid out by the text library (wrapped into its rectangle: 0x6ae930, 0x6aeb10, 0x6aec80) |
| ui-key-navigation | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:498 | [EXT:ui-key-navigation] keys move the workload one percentage point and explicitly synchronize the raw knob without rounding that requested workload back down. |
| ui-key-navigation | source/OpenTPW/UI/Original/UiInput.cs:102 | [EXT:ui-key-navigation] arrows, Enter, Tab and Space navigate and activate the dialogs (none of the original's six key groups, 0x747f38-0x748378, contains them); Escape is the game group's menu key (0x40c180) and the pause key follows KEYBOARD.str string 20 (default P, system row 0, 0x40bf70) |
| ui-key-navigation | source/OpenTPW/UI/Original/UiScreen.cs:280 | [EXT:ui-key-navigation] the original has no key that activates a focused control (only the eight dialog Enter/Escape paths of docs/AUDIO.md, "List owners"), so a focused button's click on Enter (UiButton.Activate) is OpenTPW's; a focused list row stays silent |
| ui-linear-filtering | source/OpenTPW/UI/Original/UiImages.cs:84 | [EXT:ui-linear-filtering] the pink key plus neighbour colour bleed make UI images safe for linear filtering at any output size; the original drew at its few fixed modes, so no original behaviour exists at OpenTPW's resolutions |
| ui-modal-right-click-back | source/OpenTPW/UI/Original/UiDialogs.cs:166 | [EXT:ui-modal-right-click-back] Escape and the right click press the bottom button, as OpenTPW's other dialogs leave by their last choice |
| ui-modal-right-click-back | source/OpenTPW/UI/Original/UiScreen.cs:68 | [EXT:ui-modal-right-click-back] OpenTPW's other windows read the RMBCancelOn option as well; the original's modal windows and object window do not read it (docs/UI.md) |
| ui-modal-right-click-back | source/OpenTPW/UI/Original/UiScreen.cs:134 | [EXT:ui-modal-right-click-back] hover focus follows the pointer, and the right click backs out of a modal screen when the RMBCancelOn option (+0x39, default 1) is set; the option's only direct readers in the original are the park view 0x4881a0, the camcorder 0x488aa1 and the ride view 0x48a7ab/0x48aadb, so this is OpenTPW's uniform back-out |
| umbrellas-* | source/OpenTPW/World/Umbrellas/UmbrellaApproximations.cs:5 | traced from the Theme Park Inc no-CD <c>Game.exe</c> (<c>[BIN:TPI-EXE:0x...]</c> labels) or is OpenTPW's own, with <c>[EXT:umbrellas-*]</c> labels; it is not Theme Park World's behaviour, which has no umbrellas. |
| umbrellas-* | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:41 | (<see cref="GuestSimulation"/>). The labels: <c>[BIN:TPI-EXE:0x...]</c> for the traced rule, <c>[EXT:umbrellas-*]</c> for OpenTPW's own additions, <c>APPROX:UMB-nnn</c> where it guesses. |
| umbrellas-balloon-gate | source/OpenTPW.Tests/UmbrellasSimulationTests.cs:267 | [EXT:umbrellas-balloon-gate] a park uses umbrellas while a brolly shop is registered or any guest holds an umbrella, whichever guest is being scored |
| umbrellas-balloon-gate | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:32 | [EXT:umbrellas-balloon-gate] a balloon shop scores 0 for a balloon holder only in a park that uses umbrellas (a brolly shop, or a guest with an umbrella): tp.exe's own score reads no appearance word, so every other park keeps its balloon shops as they were |
| umbrellas-content | source/OpenTPW.Tests/UmbrellaAnchorMeasureTests.cs:15 | [EXT:umbrellas-content] OpenTPW's own measurements of the game's frames; nothing of the frames is kept |
| umbrellas-content | source/OpenTPW.Tests/UmbrellasContentTests.cs:17 | [EXT:umbrellas-content] OpenTPW's own shipped content; neither Theme Park World nor Theme Park Inc ships anything of it |
| umbrellas-content | source/OpenTPW/Mods/ModContentRoots.cs:116 | [EXT:umbrellas-content] the umbrellas extension's own objects (the brolly shops) follow as a root of the id opentpw.umbrellas while the extension is on |
| umbrellas-content | source/OpenTPW/World/Objects/ObjectCatalog.cs:396 | [EXT:pools-content] the pools extension's own objects (and [EXT:umbrellas-content] the umbrellas' [EXT:winter-content] the winter extension's and [EXT:evening-torches] the evening extension's torches) are no mod, so the mods digest in the key does not tell whether they are listed: the key does |
| umbrellas-content | source/OpenTPW/World/Umbrellas/UmbrellaAnchors.cs:11 | [EXT:umbrellas-content] OpenTPW's own tables; the rules around them are TPI's (docs/UMBRELLAS.md) |
| umbrellas-content | source/OpenTPW/World/Umbrellas/UmbrellaContent.cs:11 | [EXT:umbrellas-content] OpenTPW's own shipped content; neither Theme Park World nor Theme Park Inc ships anything of it |
| umbrellas-content | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:283 | [EXT:umbrellas-content] OpenTPW's own art |
| umbrellas-draw | source/OpenTPW.Tests/UmbrellaDrawingTests.cs:8 | [EXT:umbrellas-draw] presentation only |
| umbrellas-draw | source/OpenTPW/World/Level.cs:238 | <summary>[EXT:umbrellas-draw] The guests' open umbrellas (<see cref="UmbrellaRenderer"/>); null without the extension, its content or guests.</summary> |
| umbrellas-draw | source/OpenTPW/World/Level.cs:905 | [EXT:umbrellas-draw] the open umbrellas, drawn with the umbrellas extension's own sprites at the guests' hands (the kids' renderer, then the costumes'); parks without the extension or its content have none |
| umbrellas-extension | source/OpenTPW.Tests/DeterminismTests.cs:84 | [EXT:umbrellas-extension] a brolly shop near the top end of the path column (10, 1), paid through the economy like the drinks shop, and a weather that rains for forty seconds and clears for forty, again and again: |
| umbrellas-extension | source/OpenTPW.Tests/DeterminismTests.cs:462 | [EXT:umbrellas-extension] The fixed run on the cross park with a brolly shop at (10, 1), near the top of the path column and a weather that rains from the 20th to the 80th second and from the 140th to the 200th and is clear in between (docs/UMBRELLAS.md, |
| umbrellas-extension | source/OpenTPW.Tests/DeterminismTests.cs:484 | <summary>[EXT:umbrellas-extension] The pinned hash of <see cref="RunFixedParkWithABrollyShopInTheRain"/> (docs/DETERMINISM.md, "Umbrellas").</summary> |
| umbrellas-extension | source/OpenTPW/Mods/FeatureGates.cs:31 | [EXT:umbrellas-extension] The <c>opentpw.umbrellas</c> extension is on for this run: the brolly shops are listed in the theme catalogs and the guests' umbrella rules apply (docs/UMBRELLAS.md). It is on by default, but not in a |
| umbrellas-extension | source/OpenTPW/Mods/OfficialExtensions.cs:69 | [EXT:umbrellas-extension] OpenTPW's own extension; Theme Park World has no umbrellas |
| umbrellas-extension | source/OpenTPW/World/Guests/Guest.cs:199 | [EXT:umbrellas-extension] The guest's umbrella state (the umbrellas extension, docs/UMBRELLAS.md; Theme Park Inc's guest word <c>+0x238</c>): 0 none, 1 open and about to close, 2 owned and closed, 3 closed and |
| umbrellas-extension | source/OpenTPW/World/Guests/Guest.cs:204 | <summary>[EXT:umbrellas-extension] The umbrella's colour, the sprite slot 0 to 2 (<see cref="UmbrellaRules.Colours"/>); 0 while there is no umbrella.</summary> |
| umbrellas-extension | source/OpenTPW/World/Guests/GuestSimulation.cs:1206 | [EXT:umbrellas-extension] the umbrella rule runs first on the guest's own phase, as Theme Park Inc's weather rule opens its needs block; only a guest who owns an umbrella is touched |
| umbrellas-extension | source/OpenTPW/World/Guests/GuestSimulation.cs:3635 | [EXT:umbrellas-extension] a brolly shop takes a held balloon back for the happiness step, and any attraction closes an open umbrella (before the model of the balloon is put away as for every ride) |
| umbrellas-extension | source/OpenTPW/World/Guests/GuestSimulation.cs:3997 | [EXT:umbrellas-extension] the brolly shop's AppearanceEffect 3: one world draw for the colour and an open umbrella (the shop's other effects are those of any shop) |
| umbrellas-extension | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:186 | [EXT:umbrellas-extension] The score multipliers of an object of the umbrellas extension (a brolly shop): its weather and generation percentages, which the host score applies for these objects only; null for every other object, whose |
| umbrellas-extension | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:191 | <summary>[EXT:umbrellas-extension] The attraction is a brolly shop: an object of the umbrellas extension whose use gives the guest an umbrella (<see cref="UmbrellaRules.ShopAppearanceEffect"/>).</summary> |
| umbrellas-extension | source/OpenTPW/World/Guests/RideVisitorBridge.cs:162 | <summary>[EXT:umbrellas-extension] The weather and generation percentages of a brolly shop, set only for the umbrellas extension's own objects (<see cref="IRideVisitorBridge.UmbrellaTerms"/>).</summary> |
| umbrellas-extension | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:717 | [EXT:umbrellas-extension] the umbrellas extension's own objects carry Theme Park Inc's weather and generation percentages, which the host score applies for them alone; every other object keeps the game's score |
| umbrellas-pull-cap | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:34 | [EXT:umbrellas-pull-cap] Game.exe's 10 % (0x60B236) is the upper limit, but OpenTPW's depth buffer needs only a margin: the share of PullAndLift is capped so the pull moves the umbrella 1.5 units (user-approved 2026-10-18; D8 of round 11 keeps it on Game.exe's own formula) |
| umbrellas-pull-cap | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:129 | lifted by (the camera's height in original units - 40) times <see cref="YAdjustCamera"/>, never scaled. <paramref name="share"/> is <see cref="PullShare"/> ([EXT:umbrellas-pull-cap], the ground pull only): at <see cref="CameraPull"/> the two ground modifiers apply |
| umbrellas-save | source/OpenTPW/Online/ParkSharing.cs:56 | [EXT:pools-save] opentpw.pools counts only while the park has pool cells or a changing room, as a save records it (ParkResumeMods.Capture); [EXT:umbrellas-save] opentpw.umbrellas likewise while it has a brolly shop or an umbrella |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulation.cs:4589 | [EXT:umbrellas-save] the umbrella's optional fields: a state 0 to 4, a colour of the set, and a due turn (a multiple of four) only in the states that wait for one (1 and 3) |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulation.cs:5225 | [EXT:umbrellas-save] the umbrella joins the digest only while a guest has one (every park without one keeps its pins) |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulation.cs:5358 | [EXT:umbrellas-save] only while a guest has an umbrella (every park without one keeps its pins) |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:186 | <summary>[EXT:umbrellas-save] The umbrella state (<see cref="Guest.UmbrellaState"/>, 0 to 4); written only while the guest has an umbrella, so a save without one has no such field and every older save loads as before.</summary> |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:189 | <summary>[EXT:umbrellas-save] The umbrella's colour (0 to 2); absent for colour 0 and without an umbrella.</summary> |
| umbrellas-save | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:192 | <summary>[EXT:umbrellas-save] The park turn a pending open or close is due (<see cref="Guest.UmbrellaDueTurn"/>); only in states 1 and 3.</summary> |
| umbrellas-save | source/OpenTPW/World/Level.Resume.cs:226 | [EXT:umbrellas-save] opentpw.umbrellas likewise: recorded while the park has a brolly shop or a guest with an umbrella, with the keys of the placed shops only |
| umbrellas-save | source/OpenTPW/World/Level.Resume.cs:288 | [EXT:mods] null unless a simulation-changing extension or mod is active, so unmodded saves keep their bytes; [EXT:pools-save] opentpw.pools is recorded only while the park has pool cells or a changing room, [EXT:umbrellas-save] opentpw.umbrellas only while it has a brolly shop or an umbrella |
| umbrellas-save | source/OpenTPW/World/ParkResumeMods.cs:47 | [EXT:umbrellas-save] <c>opentpw.umbrellas</c>, recorded when the park has a brolly shop or a guest with an umbrella, and [EXT:winter-save] <c>opentpw.winter</c>, recorded when the park has a winter kiosk or a glühwein stall or a guest |
| umbrellas-save | source/OpenTPW/World/ParkResumeMods.cs:77 | (<paramref name="poolsObjects"/>: a changing room, whose asset keys name the extension and whose swimmers the save holds). [EXT:umbrellas-save] <c>opentpw.umbrellas</c> when |
| umbrellas-save | source/OpenTPW/World/ParkResumeMods.cs:100 | [EXT:umbrellas-save] Whether a park uses the umbrellas extension (the pools rule): it holds a brolly shop (<paramref name="placed"/>, the entries of its objects) or a guest with an umbrella |
| umbrellas-save | source/OpenTPW/World/ParkResumeMods.cs:140 | <summary>[EXT:umbrellas-save] Whether a placed object is one of the umbrellas extension's own (a brolly shop).</summary> |
| umbrellas-save | source/OpenTPW/World/ParkResumeSaveFile.cs:484 | [EXT:umbrellas-save] a park with a guest who has an umbrella records the umbrellas extension (a park without one does not), so a save cannot hide the umbrella state from the mod check |
| umbrellas-save-due | source/OpenTPW/World/Guests/Guest.cs:207 | [EXT:umbrellas-save-due] The park turn a scheduled change (state 1 or 3) is due, a multiple of four; 0 in every other state. Theme Park Inc's <c>+0x23C</c> is not saved; the extension saves it so a resumed park |
| umbrellas-size | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:40 | [EXT:umbrellas-size] a tuning from captures (docs/UMBRELLAS.md, "Tuning"): the scale is about the hotspot, the handle's tip, which stays in the hand |
| umbrellas-tuning | source/OpenTPW.Tests/UmbrellasTuningMeasureTests.cs:11 | [EXT:umbrellas-tuning] The headless measurements of docs/UMBRELLAS.md, "Tuning" (phase U5): a park with a brolly shop through a rainy week, with Theme Park Inc's kid score of 75 % and with 100 %, the rain mood rule on and off. |
| umbrellas-tuning | source/OpenTPW.Web/Program.Perf.cs:403 | [EXT:umbrellas-tuning] Fills the park with up to <paramref name="crowd"/> extra guests, applies the weather quality (30 is rain) and gives every guest an open umbrella, or none: the umbrellaCost scenario of the harness |
| umbrellas-tuning | source/OpenTPW.Web/Program.Perf.cs:415 | <summary>[EXT:umbrellas-tuning] Umbrellas drawn in the last frame (0 without the umbrella renderer).</summary> |
| umbrellas-tuning | source/OpenTPW/World/Umbrellas/UmbrellaPerf.cs:4 | [EXT:umbrellas-tuning] A measurement aid for the browser performance harness (tools/web-perf scenario <c>umbrellaCost</c>, docs/BROWSER-PERFORMANCE.md): fills the park with extra guests, applies a weather quality and gives every guest |
| umbrellas-weather-map | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:8 | [EXT:umbrellas-weather-map] The weather as Theme Park Inc's state for the umbrella rules (<see cref="UmbrellaRules.WeatherStateOf"/>: 2 rain, 3 storm, 4 snow, anything else, or null, none). The level reads it from |
| umbrellas-weather-map | source/OpenTPW/World/Level.cs:665 | [EXT:umbrellas-weather-map] rain without lightning is Theme Park Inc's rain, lightning a storm, snow snow (the flags of the park's weather, not its drops: the umbrella rules ask what the weather is, not how hard it falls) |
| umbrellas-weather-map | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:83 | [EXT:umbrellas-weather-map] the mapping of ParkWeather's flags to the weather thing's word +0x70 of Theme Park Inc (the plan's mapping: Rain 2, Lightning 3, Snow 4) |
| umbrellas-weather-map | source/OpenTPW/World/Winter/WinterRules.cs:87 | [EXT:winter-season-terms] the shops' own weather signal; the umbrellas' and the rain mood's map ([EXT:umbrellas-weather-map]) stays as it is |
| unknown-research-dropped | source/OpenTPW/Economy/OriginalEconomyImport.cs:959 | [EXT:unknown-research-dropped] (user-approved 2026-10-30, SAVE-007 converted: a save naming objects or projects OpenTPW's data lacks, from a mod or another build, is a situation of OpenTPW's data paths, not an original behaviour) projects of objects the level archives do not define, and current project identities absent from their category's reconstructed table, are dropped and reported; the 11 corpus labs contain neither case. Known current projects are kept as saved even when the picker would not offer them (SelectAsSaved). |
| untyped-harness-world | source/OpenTPW.Tests/ArrivalWalkTests.cs:142 | <summary>A world that types its cells takes the 0x4FB1D9 branch for every park cell type, walkable or not, at the cell's centre; only an untyped harness world keeps the crossing route for an empty stop cell ([EXT:untyped-harness-world]).</summary> |
| untyped-harness-world | source/OpenTPW/Hud/ParkHud.cs:1804 | [EXT:untyped-harness-world] an OpenTPW harness world does not type its cells and has no records for the tile chooser (a Theme Park Inc world takes the same branch without being an extension): its Buy Land ghost is the host's cells along the rectangle's four edges (or the hovered post before the first click), red while the validator refuses |
| untyped-harness-world | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:98 | [EXT:untyped-harness-world] an OpenTPW harness world does not type its cells (its stop cell reads type 0 with no cell of the map): an empty stop cell with no walkable cell there keeps the crossing route (user-approved 2026-10-30; the gates and test rigs) |
| untyped-harness-world | source/OpenTPW/World/Guests/GuestSimulation.cs:254 | <summary>Whether this is an OpenTPW harness world that does not type its cells (the gates, test rigs and tools that build a simulation on a bare grid, [EXT:untyped-harness-world]); a park a Level builds is not one, and every cell type test reads the original's types.</summary> |
| untyped-harness-world | source/OpenTPW/World/Guests/GuestSimulation.cs:3486 | [EXT:untyped-harness-world] the gates and the test rigs have no placed cells (no owner word or exit cell, no links to walk off by) and keep the front/nearest-path relocation: harness worlds that exist only in OpenTPW (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Guests/QueuePaths.cs:109 | [EXT:untyped-harness-world] a ride without an owner word (the gates and test rigs, harness worlds that exist only in OpenTPW) takes its own route rules and leaves no owner stamp (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Guests/QueuePaths.cs:235 | [EXT:untyped-harness-world] a ride without an access cell (the gates and test rigs: harness worlds whose entrance is no typed cell with a link byte) walks the bridge's own queue geometry (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Guests/QueuePaths.cs:529 | [APPROX:QUEUE-015] the queue tool's undo (Back 0x52FE50) takes cells and refunds as 0x5367A0 does and writes no guest: the re-evaluation that follows (0x4DE1F0 at 0x52FFEC, 0x501390 per guest) dismisses by place alone. The corner walk 0x530120 is the executable's own (QueueCornerWalk: the stack, the placement counters +0x20 of the cells it visits, the link clear where it ends on a path, the line start; 82 oracle cases, ORACLE.md X44) and runs where the original runs it, at its three callers: the queue edit click (0x52610A), the Move pick-up (0x48D006) and a ride's demolition (0x527F9A). The Move pick-up copies the stack (0x52FC30 at 0x48D013) and then clicks (0x48D03D, mode 0x33 to 0x525E7F), whose demolition 0x527EE0 runs a second walk: neither the copy nor that walk is ported, and the cells a Move strands stay as stray cells of the ride's owner word (the next demolition of that ride, or a new ride with the same owner word, meets them). A typed ride's demolition replays the executable's: the walk, Back for as long as the cached size (+0x40) is above 0 with the forced-clear flag 0x81D7A8 (every cell of a line goes, NoModify and counters ignored, its neighbours keep their links, each queue cell whose owner cell is not empty credits its cost), one cell's debit after it, and the cells the walk does not reach (a stray cell of the ride, the branch of a junction) stay (QueuePaths.DemolishQueue; 42 oracle cases). Residual: the click handler runs the select 0x5276D0(0) on every tool click while the refusal latch 0x816D48 is 0 (0x524A63..0x524AF5, mode 0x38 too), which re-maps the current selection into the track tool globals: OpenTPW writes them only where the selection changes (the 19 callers) and does not repeat the select per click; Residual: the tool entries that run no walk (the original runs none there either: a ride's placement, the ride window's queue button 0x4AF200 (inferred) and a track's or coaster's completion) start the queue tool with the stack their own clicks leave (the placement's tail 0x5259AE..0x525A06), which is not read: OpenTPW starts them with the segment's cells and no counters; the removal from a clicked cell on stays only as the labelled extensions EXT:dev-one-click-remove and EXT:queue-backtrack, which keep the original's guest policy (the clear writes no guest and the re-evaluation dismisses by place); a ride without an access cell (the gates and test rigs, the Theme Park Inc slice) keeps the host's chain clear as [EXT:untyped-harness-world] Read 2026-11-12: the corner stack 0x820A8C is read only by its count getter 0x52FBE0 (the "click on the start with more than one point" test), Back 0x52FE50 and the copy 0x52FC30, and that copy's four globals 0x818D98/0x818D9C/0x820A90/0x820A94 are referenced only inside 0x52FC30 itself and 0x81B14C is written at 0x48D00E and read nowhere - so neither the copy nor an unseeded stack can change an acceptance, a refusal, a cell type or a link byte, and the second walk at 0x527F9A resets and refills the stack so the first walk's stack is discarded anyway. What remains is a real divergence, read on 2026-11-12: the corner walk 0x530120 pushes the first cell unconditionally (0x5301FC..0x53020E) and, when it ends, pushes the last cell unconditionally as well (0x53048D..0x5304A3), so a one-cell queue - a ride just placed - leaves two points in the stack, both the same cell. The count test 0x5273C7 ends the tool when it is clicked on the start with more than one point, so after a placement a click on the start cell ends the queue tool in the original; ReadQueueToolStart now hands that one-cell queue the same two points instead of a null stack, so the count matches The per-click select 0x5276D0 is real for the track tools' selection and orientation globals but changes no queue decision, and the Move gesture itself is UI-024 |
| untyped-harness-world | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1168 | [APPROX:QUEUE-003] back-cell admission and fourth-slot path geometry are implemented; supported live typed HasQueue entries derive their front from the actual entry link byte (+0x0C, tp.exe 0x4DE040, bits 1, 16, 64, 4), and a native zero front (no cardinal bit; 0x4DE4A0 reads such a ride as unconnected, which the opening guard still answers permissively under ECON-049) leaves its demolition without a count to undo (0x527FB4) and its re-evaluation without a block stamp; a zero-front ride has back cell 0 and size 0 for the guests (they neither score, choose nor join it, and its queued guests but the called one leave at the re-evaluation) with the host's one-cell geometry kept for the called guest's stand cell and the queue tool; unsupported entries (a neighbour off the map) retain the host positive one-cell fallback (untyped worlds keep it too: the gates and test rigs keep it as [EXT:untyped-harness-world], user-approved 2026-10-30, not part of this ID); a saved mEntryPos that differs from the placement's access cell is reported and the placement's kept (the constructor 0x004DB090 derives it from the shape); an original save's head, links and called guest (mFirstInQ, mQNext, mQPrev, mPersonBeingLoaded) and its cached back cell and size (+0x3A, +0x40) are imported as read; the cached back and size (+0x3A, +0x40) follow the executable's timing: 0x4DE130 returns them until 0x4DE1F0 drops them (callers 0x52537A, 0x5259AE, 0x526118, 0x527541, 0x529890, 0x52FFEC, 0x534858, 0x53694B), and the host's own syncs (the queue commands' pre-edit sync, the corner walk's and the demolition's reads, the one-click removal's lookup) keep them (RideVisitorBridge.RecomputeQueueKeepingBack); what still drops them with its own recompute is the legacy per-cell builder (QueuePaths.TryExtend, Connect, RemoveFrom), the re-resolution after a removed access cell ([EXT:removable-access-cells]) and the path tool's commit tail (0x52537A), which OpenTPW maps to the selected ride's re-evaluation alone. No corpus or Easymode save holds a guest in states 8/11-15 or a set mFirstInQ; the queue import is checked on synthetic saves only. |
| untyped-harness-world | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1169 | [EXT:untyped-harness-world] untyped worlds (the gates and test rigs, whose ride entrances are not typed map cells with a link byte, which tp.exe's world always has) retain the host's positive one-cell fallback (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:65 | [EXT:untyped-harness-world] a harness world does not type its cells: an empty cell with no walkable cell there is no park cell, as for the Theme Park World arrival (SpawnArrival) |
| untyped-harness-world | source/OpenTPW/World/Level.BlueprintLine.cs:9 | [EXT:untyped-harness-world] an OpenTPW harness world does not type its cells and has nothing for the validator to read: its ghost is the host's preview line (cells before its first refusal blue, the rest red); a Theme Park Inc world takes the same branch without being an extension (BLUEPRINT-001) |
| untyped-harness-world | source/OpenTPW/World/Level.BlueprintLine.cs:27 | [EXT:untyped-harness-world] a world that does not type its cells has no records for the tile chooser to read: its ghost is the host's own line (a Theme Park Inc world takes the same branch, BLUEPRINT-001's open residual) |
| untyped-harness-world | source/OpenTPW/World/Level.Objects.cs:1526 | [EXT:untyped-harness-world] a ride without an access cell (the gates and test rigs, the Theme Park Inc slice) keeps the host's queue chain below (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Level.Objects.cs:1578 | [EXT:untyped-harness-world] a harness world that types no footprints (the gates and test rigs) asks the same terrain rule (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/Level.Tours.cs:32 | A world whose cells carry no original types has none: an OpenTPW harness world ([EXT:untyped-harness-world]) and a Theme Park Inc layout (BLUEPRINT-001's open residual); a read-only online visit builds nothing, so it shows no marker. |
| untyped-harness-world | source/OpenTPW/World/Level.Tours.cs:34 | [EXT:untyped-harness-world] an OpenTPW harness world has no cell type or record to raise a marker by, so its markers stay on the terrain (a Theme Park Inc world is the same code path but not an extension) |
| untyped-harness-world | source/OpenTPW/World/Original/BlueprintGhosts.cs:14 | [EXT:untyped-harness-world] the host's own line (cells before its first refusal blue, the rest red) is what an OpenTPW harness world that types no cells draws (a Theme Park Inc world takes the same code without being an extension); a typed world's path and queue lines take the validator's answers (BlueprintLineGhost, 0x535670 after 0x5358B5) and the kart and water lines the tile chooser's (TileLineGhost) |
| untyped-harness-world | source/OpenTPW/World/Original/BlueprintMarkers.cs:364 | [APPROX:BLUEPRINT-001] a typed TPW world supplies each cell's raise (BlueprintHeights, the tile raise of TileLineGhost); a world that types no cells ([EXT:untyped-harness-world]) and a missing or invalid map keep the unraised terrain (docs/reverse/BLUEPRINT.md). |
| untyped-harness-world | source/OpenTPW/World/ParkCellMap.cs:589 | [EXT:untyped-harness-world] a map without a level has no track editor to take the record clear (a record of no ride is erased alone), as in the gates and test rigs (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/ParkGate.cs:278 | [EXT:untyped-harness-world] untyped geometry (the gates and test rigs, whose ride entrances are not typed map cells with a link byte) retains the permissive answer too (user-approved 2026-10-30) |
| untyped-harness-world | source/OpenTPW/World/ParkGate.cs:307 | [EXT:untyped-harness-world] a ride without a placed exit cell of its own (a prototype, a test rig, the Theme Park Inc slice: ECON-049) keeps the permissive answer, its cells holding no link byte (user-approved 2026-10-30) |
| upgrade-tier-runtime | source/OpenTPW/World/Level.AddOns.cs:43 | [EXT:upgrade-tier-runtime] the level row is listed only for a tier the ride's catalogue defaults and runtime can install (the next tier's record, Level.CanBuyCatalogueUpgrade), an OpenTPW requirement the original has no counterpart of |
| upscaling | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:49 | [EXT:upscaling] render-scale steps (presets 77/67/59/50 from the display slice plus 5% steps) |
| visitor-info-window | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:173 | [EXT:visitor-info-window] the visitor info window that Ctrl+V tests ([0x7cc418], window object 0x7cc408) is not ported, by design: a left click on an All Visitors row or a visitor picked in the park stands in for opening it and it closes with the All Visitors window, where the original's stays open on its own |
| vm-fault-containment | source/OpenTPW/VM/RideVM.cs:258 | [EXT:vm-fault-containment] a faulted script's clock stops and its children are removed; the original has no managed |
| vm-fault-containment | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:390 | [EXT:vm-fault-containment] a faulted root script stops its object: riders, trains, controller and sounds are released |
| vm-host-time | source/OpenTPW/VM/RideScriptWorld.cs:53 | [EXT:vm-host-time] the original reads the C runtime's local time on every execution (tp.exe 0x67D3F0/0x67D8E0), so YEAR to SEC are external inputs: managed host-local time here, neither saved nor hashed, while the variable writes and flags that follow are VM state. A replay needs the same samples (an OpenTPW replay design point; the tests and headless runs inject a fixed clock) |
| vm-host-time | source/OpenTPW/World/Commands/ParkSettingCommands.cs:755 | time since 1 January of year 1. The original reads each machine's own clock on every script instruction (<c>[EXT:vm-host-time]</c>), which two machines never share; the host issues |
| weather-stream | source/OpenTPW.Tests/WorldRngTests.cs:372 | and the weather's own simulation stream ([EXT:weather-stream]) is not the world generator either. Every file named here must exist, so a rename cannot make the check pass by scanning nothing. |
| weather-stream | source/OpenTPW/Economy/ParkCalendar.cs:172 | serves the weather ([EXT:weather-stream], its own stream) and presentation (staff voices, the weather's visuals). |
| weather-stream | source/OpenTPW/World/ParkWeather.cs:28 | [EXT:weather-stream] the weather's random draws (roll, lightning and thunder countdowns) come from the park's own weather stream; the PC draws them from the world LCG 0x516330 (world +0x1da708 = ror13(s * 0x19660D + 0x3C6EF35F), the rotated value stored, |value| returned; seeded from time(NULL) at world creation 0x51586b, setter 0x516370), shared by about 139 call sites, so reproducing its draw order needs every user of that LCG (docs/DETERMINISM.md) |
| weather-stream | source/OpenTPW/World/ParkWeather.cs:553 | [EXT:weather-stream] the draw comes from a stream of the wind's own beside the weather's (the PC's rand() is the world LCG 0x516330 for both), so the wind leaves the weather's own draws as they were |
| wide-zoom | source/OpenTPW.Tests/OriginalUiTests.cs:651 | <summary>[EXT:wide-zoom] the OpenTPW page's Wide zoom row toggles GameOptions.WideZoom, OK saves it and Cancel restores it.</summary> |
| wide-zoom | source/OpenTPW.Tests/WideZoomTests.cs:9 | [EXT:wide-zoom] The park camera's wide zoom range: tp.exe's own 40..300 (the flag 0x200 clamp 0x42c631) behind <see cref="GameOptions.WideZoom"/>, on by default, against the normal 70..130. |
| wide-zoom | source/OpenTPW.Tests/WideZoomTests.cs:250 | [EXT:wide-zoom] the largest zoom whose top-centre ground point is still inside the span hull (ray distance 200, 325, 450, 700) and whose hull holds at most 2500 cells |
| wide-zoom | source/OpenTPW.Tests/WorldCaptureTests.cs:45 | [EXT:wide-zoom] the default option widens it to the original's own flag-0x200 range |
| wide-zoom | source/OpenTPW/UI/Original/Options/GameOptions.cs:68 | [EXT:wide-zoom] the OpenTPW page's "Wide zoom" row; user-approved 2026-10-18 |
| wide-zoom | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:541 | [EXT:wide-zoom] the park camera's zoom range: off 70..130, on the original's own 40..300 (tp.exe's flag 0x200) with the far end following FIRSTPERSONVIEWDISTANCE (WideMaximumFor); user-approved 2026-10-18, far end user-decided 2026-10-26 |
| wide-zoom | source/OpenTPW/World/ParkCameraMode.cs:17 | [EXT:wide-zoom] the original sets the flag only through a hidden camera key binding (0x42a520 from entry 0x748298 of the camera key set; key byte 0x20, modifier word 0x3f, not shown to be reachable in retail) and has no option for it; OpenTPW offers that range as an option, on by default (user-approved 2026-10-18, GameOptions.WideZoom), its far end following FIRSTPERSONVIEWDISTANCE (user-decided 2026-10-26, WideMaximumFor) |
| wide-zoom | source/OpenTPW/World/ParkCameraMode.cs:58 | [EXT:wide-zoom] The farthest zoom value the wide range allows for a ray distance (original units, <c>[0x8BD4C0]</c>) and a display aspect (width over height): the largest zoom at which the ground at the top centre of |
| window-key-toggle | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:39 | [EXT:window-key-toggle] a second press of a window key closes that window (toggle) and A/S stay with the camera pan; the original closes with Esc and re-opens on a repeat key (0x488ba0, key group "shortcuts" 0x748378), its callbacks sit in the release-side slot (OpenTPW fires on press), and A (allitems) and S (allstaff) are real keys — OpenTPW design decisions, no evidence needed |
| winter-* | source/OpenTPW.Tests/WinterSimulationTests.cs:12 | the state hash. A headless park, no original game data. Nothing of it is Theme Park World's behaviour, so every rule under test is the extension's own (<c>[EXT:winter-*]</c>). |
| winter-* | source/OpenTPW/World/Winter/WinterRules.cs:43 | (it has neither the shops nor the items), so every rule here is labelled <c>[EXT:winter-*]</c>; the guest simulation applies them (<see cref="GuestSimulation"/>). Nothing here draws from any random stream. |
| winter-always | source/OpenTPW.Tests/DeterminismTests.cs:638 | [EXT:winter-always] The fixed run on the cross park with a brolly shop, the winter shops (a kiosk and a glühwein stall) and the rain mood rule on, driven by the jungle's real weather (seed 21, the shipped bands) from the first of May |
| winter-always | source/OpenTPW.Tests/DeterminismTests.cs:694 | <summary>[EXT:winter-always] The pinned hash of <see cref="RunFixedParkWithShopsAndRainMoodInTheJungleWeatherFromMay"/> with the Always winter option on (docs/DETERMINISM.md, "Always winter").</summary> |
| winter-always | source/OpenTPW.Tests/WinterAlwaysTests.cs:14 | [EXT:winter-always] OpenTPW's own option, user-approved 2026-10-19 ("Winterweer hele jaar"); tp.exe's roll (0x512e10) takes its season row from the calendar month (0x4f8770) |
| winter-always | source/OpenTPW.Tests/WinterAlwaysTests.cs:159 | <summary>[EXT:winter-always] The pinned hash of the jungle's first 400 days under seed 21 with the Always winter option on (docs/DETERMINISM.md, "Always winter").</summary> |
| winter-always | source/OpenTPW/Mods/FeatureGates.cs:61 | [EXT:winter-always] The <c>opentpw.winter-always</c> option is on for this run: every weather roll uses December's season row and its rain and thunderstorms are snow, and the winter shops sell at their winter demand all year |
| winter-always | source/OpenTPW/Mods/OfficialExtensions.cs:145 | [EXT:winter-always] OpenTPW's own option; user-approved 2026-10-19 ("Winterweer hele jaar"); Theme Park World's seasons change the weather through the year |
| winter-always | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:14 | [EXT:winter-always] Whether the always winter option is on: the winter shops' season terms read winter whatever the calendar month (<see cref="WinterRules.DemandMonthOf"/>). The level sets it from |
| winter-always | source/OpenTPW/World/Level.cs:679 | [EXT:winter-always] with the always winter option on the winter shops sell at their winter demand all year, in the parks the option holds on December's row (not space, whose seasons it leaves alone) |
| winter-always | source/OpenTPW/World/ParkWeather.cs:66 | into snow in a park whose own snow band is empty (jungle and fantasy; see <see cref="ApplyQuality"/>). <paramref name="alwaysWinter"/> ([EXT:winter-always], <c>opentpw.winter-always</c>, off by default) makes every roll of the |
| winter-always | source/OpenTPW/World/ParkWeather.cs:159 | [EXT:winter-weather] the forecast follows the option: it says what the converter will make of the quality; [EXT:winter-always] likewise in every month |
| winter-always | source/OpenTPW/World/ParkWeather.cs:176 | [EXT:winter-always] Snow with lightning and no rain reads as plain snow while the always winter option is on, so a Halloween park's winter does not announce thunderstorms all year. The winter shops read that weather as snow too |
| winter-always | source/OpenTPW/World/ParkWeather.cs:179 | [EXT:winter-always] presentation only: the flags, the rolls and the pinned runs are untouched |
| winter-always | source/OpenTPW/World/ParkWeather.cs:184 | [EXT:winter-always] the winter shops' all-year demand follows the same test, so space parks keep their month-by-month demand |
| winter-always | source/OpenTPW/World/ParkWeather.cs:188 | Whether the roll of the forecast applying at <paramref name="applyAtSeconds"/> is wintry: always while the always winter option is on ([EXT:winter-always]), otherwise when the wintry Decembers option is on and the roll was made in |
| winter-always | source/OpenTPW/World/ParkWeather.cs:195 | [EXT:winter-always] space has neither band, so December's row would only give it dry lightning all year: its seasons are left alone |
| winter-always | source/OpenTPW/World/ParkWeather.cs:486 | The season's roll (<c>sub_1037d4</c>): exceptional weather with the season's chance, otherwise the season's average and tolerance. With the always winter option on ([EXT:winter-always]) every month takes December's row (row 4, |
| winter-always | source/OpenTPW/World/ParkWeather.cs:492 | [EXT:winter-always] the season index tp.exe derives from the FILETIME month (0x4f8770, read by the roll 0x512e10) is held at December's, whose row is the word at 0x7854f4 after the Seasons table at 0x7854c4 (12-byte rows) |
| winter-always | source/OpenTPW/World/ParkWeather.cs:524 | [EXT:winter-always] the always winter option makes every roll a wintry one (IsWintryRoll), through the same conversion, so with both options on nothing is converted twice |
| winter-always | source/OpenTPW/World/ParkWeather.cs:628 | <summary>[EXT:winter-always] Whether the park can snow at all under the always winter option: a snow band of its own (Halloween) or a rain band the wintry conversion turns into snow (jungle and fantasy). Space has neither.</summary> |
| winter-always | source/OpenTPW/World/Winter/WinterRules.cs:80 | [EXT:winter-always] user-approved 2026-10-19 ("Winterweer hele jaar"): the shops' season terms are winter's all year; their weather terms still follow the weather |
| winter-anchors | source/OpenTPW/World/Winter/WinterAnchors.cs:24 | [EXT:winter-anchors] OpenTPW's own tables; the 2x one is exact by construction, the 1x one is measured numbers only (user-approved 2026-10-18) |
| winter-cold | source/OpenTPW.Tests/DeterminismTests.cs:807 | [EXT:winter-cold] The fixed run on the cross park in a weather that snows from the 20th to the 80th second and from the 140th to the 200th and is clear in between, with the cold rule on (docs/WINTER.md, docs/DETERMINISM.md, |
| winter-cold | source/OpenTPW.Tests/DeterminismTests.cs:837 | <summary>[EXT:winter-cold] The pinned hash of <see cref="RunFixedParkInTheSnowWithCold"/> with only the cold rule on (docs/DETERMINISM.md, "Winter cold").</summary> |
| winter-cold | source/OpenTPW.Tests/DeterminismTests.cs:840 | <summary>[EXT:winter-cold] The pinned hash of <see cref="RunFixedParkInTheSnowWithCold"/> with the cold rule, the rain mood, the brolly shop and the winter shops all on (docs/DETERMINISM.md, "Winter cold").</summary> |
| winter-cold | source/OpenTPW.Tests/WinterColdTests.cs:15 | [EXT:winter-cold] OpenTPW's own rule; the day gate and the once-per-day rule are the rain mood's ([BIN:TPI-EXE:0x611050] day gate) |
| winter-cold | source/OpenTPW/Mods/FeatureGates.cs:55 | [EXT:winter-cold] The <c>opentpw.winter-cold</c> option is on for this run: snow costs guests happiness once per qualifying day unless they are dressed warmly (docs/WINTER.md, "Cold mood"). Off by default, and not in a Theme Park Inc |
| winter-cold | source/OpenTPW/Mods/OfficialExtensions.cs:136 | [EXT:winter-cold] OpenTPW's own rule; Theme Park World has no cold and Theme Park Inc's snow cheers kids |
| winter-cold | source/OpenTPW/World/Guests/Guest.cs:216 | <summary>[EXT:winter-cold] The game day plus one of the cold rule's last application to the guest (as <see cref="RainMoodDay"/>); written only once it has applied, so a save without <c>opentpw.winter-cold</c> has no such field.</summary> |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.WinterCold.cs:7 | [EXT:winter-cold] The cold rule's settings while the <c>opentpw.winter-cold</c> extension is on; null (the default) leaves every guest's happiness to the other rules. The level sets it when it builds the park |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.WinterCold.cs:12 | <summary>[EXT:winter-cold] The park's calendar day (<see cref="ParkCalendar.DayIndex"/>) for the glühwein's warmth window; 0 (the default, and no source) is the first day. The level reads it from the park's clock.</summary> |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.WinterCold.cs:20 | [EXT:winter-cold] same phase, same age and day gate as the rain mood (RainMoodAgeTurnsOf, UmbrellaRules.DayGateOpen), its own once-per-day mark (ColdMoodDay) so it runs with or without the rain mood |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.WinterCold.cs:33 | [EXT:winter-cold] "a recent glühwein"; a second drink extends the window, it never shortens it |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.cs:1212 | [EXT:winter-cold] the cold step right after the rain mood step, on the same phase gate |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.cs:4605 | [EXT:winter-cold] the optional day of the cold rule's last application: never negative |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulation.cs:5236 | [EXT:winter-cold] the day of the cold rule's last application joins the digest only once it has applied (every park without the extension keeps its pins) |
| winter-cold | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:198 | <summary>[EXT:winter-cold] The game day plus one of the cold rule's last application to the guest (<see cref="Guest.ColdMoodDay"/>); written only once it has applied, so a save without the extension has no such field.</summary> |
| winter-cold | source/OpenTPW/World/Level.cs:685 | [EXT:winter-cold] the cold rule is on while its extension is: the same weather state, and the park's calendar day for a glühwein's warmth window |
| winter-cold | source/OpenTPW/World/Level.cs:932 | <summary>[EXT:winter-cold] The cold rule's settings for a run: the shipped numbers while the <c>opentpw.winter-cold</c> gate is on, otherwise none (the rule never runs).</summary> |
| winter-cold | source/OpenTPW/World/Winter/WinterColdRules.cs:6 | [EXT:winter-cold] OpenTPW's own rule and numbers (user decision 2026-10-18: -2 in snow, +1 back each for a head item, mittens and a recent glühwein, capped at 0); Theme Park World has no cold, and Theme Park Inc's snow is +1 for kids |
| winter-cold | source/OpenTPW/World/Winter/WinterColdRules.cs:23 | [EXT:winter-cold] the day gate and the once-per-day rule are the rain mood's (RainMoodRules.Applies), only for snow |
| winter-cold | source/OpenTPW/World/Winter/WinterColdRules.cs:30 | [EXT:winter-cold] "capped at 0": a fully protected guest is neither cooled nor cheered (the rain mood's snow +1 is replaced, not kept) |
| winter-cold | source/OpenTPW/World/Winter/WinterColdRules.cs:50 | [EXT:winter-cold] "recent": the day of the drink and the next WarmEffectDays days, so a drink late in a day still counts for the next qualifying update |
| winter-cold-replaces-snow-cheer | source/OpenTPW.Tests/WinterColdTests.cs:142 | [EXT:winter-cold-replaces-snow-cheer] "Kou vervangt storm-humeur": the caller says the winter signal reads snow although the map reads a storm (Halloween); the storm row's happiness -1 is left out, its thirst and hunger (0) stay |
| winter-cold-replaces-snow-cheer | source/OpenTPW.Tests/WinterColdTests.cs:268 | [EXT:winter-cold-replaces-snow-cheer] "Kou vervangt storm-humeur": real Halloween ParkWeather snow (snow and lightning at once). With cold on only the cold rule's happiness counts: -2 undressed, 0 dressed; the storm row's thirst and hunger stay |
| winter-cold-replaces-snow-cheer | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:18 | [EXT:winter-cold-replaces-snow-cheer] with opentpw.winter-cold on and the winter signal saying snow, the rain mood's happiness of that day is left to the cold rule, whichever row it would use: snow's +1 (user decision 2026-10-18, "Alleen de humeur-+1") or |
| winter-content | source/OpenTPW.Tests/WinterContentTests.cs:18 | [EXT:winter-content] OpenTPW's own shipped content; neither Theme Park World nor Theme Park Inc ships anything of it |
| winter-content | source/OpenTPW/Mods/ModContentRoots.cs:119 | [EXT:winter-content] the winter extension's own objects (the winter kiosks and glühwein stalls) follow as a root of the id opentpw.winter while the extension is on |
| winter-content | source/OpenTPW/World/Objects/ObjectCatalog.cs:396 | [EXT:pools-content] the pools extension's own objects (and [EXT:umbrellas-content] the umbrellas' [EXT:winter-content] the winter extension's and [EXT:evening-torches] the evening extension's torches) are no mod, so the mods digest in the key does not tell whether they are listed: the key does |
| winter-content | source/OpenTPW/World/Winter/WarmItemRenderer.cs:240 | [EXT:winter-content] OpenTPW's own art |
| winter-content | source/OpenTPW/World/Winter/WinterContent.cs:11 | [EXT:winter-content] OpenTPW's own shipped content; neither Theme Park World nor Theme Park Inc ships anything of it |
| winter-content | source/OpenTPW/World/Winter/WinterRules.cs:141 | [EXT:winter-content] the slot order of tools/blender/opentpw_winter_items.py (docs/WINTER.md, "Content") |
| winter-draw | source/OpenTPW.Tests/WinterDrawingTests.cs:15 | [EXT:winter-draw] presentation only |
| winter-draw | source/OpenTPW/World/Level.cs:240 | <summary>[EXT:winter-draw] The warm items the guests wear (<see cref="WarmItemRenderer"/>); null without the extension, its content or guests.</summary> |
| winter-draw | source/OpenTPW/World/Level.cs:910 | [EXT:winter-draw] the warm items (hat, earmuffs, mittens) at the guests' heads and hands; parks without the extension or its content have none |
| winter-draw | source/OpenTPW/World/Winter/WarmItemRenderer.cs:16 | [EXT:winter-draw] OpenTPW's own drawing; neither Theme Park World nor Theme Park Inc has warm items |
| winter-draw | source/OpenTPW/World/Winter/WarmItemRenderer.cs:24 | [EXT:winter-draw] our own value (docs/WINTER.md); the umbrella's pull is TPI's 10 % |
| winter-draw | source/OpenTPW/World/Winter/WarmItemRenderer.cs:29 | [EXT:winter-draw] checked in captures |
| winter-extension | source/OpenTPW.Tests/DeterminismTests.cs:100 | [EXT:winter-extension] a winter kiosk at (10, 1) and a glühwein stall at (10, 8) on the path column, paid through the economy like the drinks shop, and a snowfall in two spells with a May that turns into December half way |
| winter-extension | source/OpenTPW.Tests/DeterminismTests.cs:499 | [EXT:winter-extension] The fixed run on the cross park with a winter kiosk at (10, 1) and a glühwein stall at (10, 8) on its path column, a snowfall from the 20th to the 80th second and from the 140th to the 200th and a calendar |
| winter-extension | source/OpenTPW.Tests/DeterminismTests.cs:532 | <summary>[EXT:winter-extension] The pinned hash of <see cref="RunFixedParkWithWinterShopsInTheSnow"/> (docs/DETERMINISM.md, "Winter").</summary> |
| winter-extension | source/OpenTPW.Tests/WinterSimulationTests.cs:14 | [EXT:winter-extension] OpenTPW's own extension; Theme Park World has neither the shops nor the items |
| winter-extension | source/OpenTPW.Tests/WinterWiringTests.cs:14 | [EXT:winter-extension] OpenTPW's own extension; Theme Park World has neither the shops nor the items |
| winter-extension | source/OpenTPW/Mods/FeatureGates.cs:43 | [EXT:winter-extension] The <c>opentpw.winter</c> extension is on for this run: the winter kiosks and glühwein stalls are listed in the theme catalogs and the guests' warm items apply (docs/WINTER.md). It is on by default, but not in a |
| winter-extension | source/OpenTPW/Mods/OfficialExtensions.cs:120 | [EXT:winter-extension] OpenTPW's own extension; Theme Park World has neither these shops nor warm items |
| winter-extension | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:39 | [EXT:winter-extension] a winter kiosk or glühwein stall (the extension's own objects) has its own gate and percentages (GuestSimulation.Winter.cs) |
| winter-extension | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:195 | [EXT:winter-extension] The score multipliers of an object of the winter extension (a winter kiosk or a glühwein stall): its weather and season percentages, which the host score applies for these objects only; null for every |
| winter-extension | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:200 | <summary>[EXT:winter-extension] The attraction is a winter kiosk: an object of the winter extension whose use gives the guest a warm item (<see cref="WinterRules.KioskAppearanceEffect"/>).</summary> |
| winter-extension | source/OpenTPW/World/Guests/RideVisitorBridge.cs:165 | <summary>[EXT:winter-extension] The weather and season percentages of a winter kiosk or a glühwein stall, set only for the winter extension's own objects (<see cref="IRideVisitorBridge.WinterTerms"/>).</summary> |
| winter-extension | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:719 | [EXT:winter-extension] likewise the winter extension's own objects carry weather and season percentages for the host score |
| winter-gluehwein | source/OpenTPW/World/Guests/Guest.cs:228 | [EXT:winter-gluehwein] The park calendar day (<see cref="ParkCalendar.DayIndex"/>) the guest's warmth from a glühwein lasts until, exclusive: the guest counts as warmed while the park's day index is below it; 0 while it never was. |
| winter-gluehwein | source/OpenTPW/World/Guests/GuestSimulation.cs:4003 | [EXT:winter-gluehwein] a glühwein stall (a winter shop that is not the kiosk, with the Ice ingredient): with the cold rule on, the guest counts as warmed for a while |
| winter-item-colour | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:97 | [EXT:winter-items] one kiosk that gives a head item first, then mittens (decision of October 18, 2026); [EXT:winter-item-colour] no random draw: the head item and the colours are hashes of the guest id |
| winter-item-colour | source/OpenTPW/World/Winter/WinterRules.cs:137 | [EXT:winter-item-colour] a pure function of guest id and item (as the balloon's colour is of the guest id), so a purchase takes no extra random draw |
| winter-items | source/OpenTPW/World/Guests/Guest.cs:219 | [EXT:winter-items] The warm items the guest wears (the winter extension, docs/WINTER.md): bit 1 a hat, bit 2 earmuffs, bit 4 mittens (<see cref="WinterRules"/>); at most one head item. Only a purchase at a winter kiosk writes anything |
| winter-items | source/OpenTPW/World/Guests/Guest.cs:223 | <summary>[EXT:winter-items] The guest's head item: <see cref="WinterRules.Hat"/>, <see cref="WinterRules.Earmuffs"/> or 0.</summary> |
| winter-items | source/OpenTPW/World/Guests/Guest.cs:225 | <summary>[EXT:winter-items] Whether the guest wears mittens.</summary> |
| winter-items | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:97 | [EXT:winter-items] one kiosk that gives a head item first, then mittens (decision of October 18, 2026); [EXT:winter-item-colour] no random draw: the head item and the colours are hashes of the guest id |
| winter-items | source/OpenTPW/World/Guests/GuestSimulation.cs:4000 | [EXT:winter-items] the winter kiosk's AppearanceEffect 4: a head item first, then mittens, no draw (the shop's other effects are those of any shop) |
| winter-items | source/OpenTPW/World/Winter/WinterRules.cs:48 | [EXT:winter-items] 1 and 2 are tp.exe's (0x4fe1e0 switch), 3 is the umbrellas extension's, 4 is this extension's |
| winter-items | source/OpenTPW/World/Winter/WinterRules.cs:120 | [EXT:winter-items] about two hats to one pair of earmuffs; a pure function of the guest id, so a purchase takes no draw from the world or guest streams |
| winter-items | source/OpenTPW/World/Winter/WinterRules.cs:127 | [EXT:winter-items] one kiosk that gives a head item first, then mittens (decision of October 18, 2026); a guest never has two head items |
| winter-kiosk | source/OpenTPW.Tests/WinterSimulationTests.cs:93 | [EXT:winter-kiosk] the user's decision of 2026-10-18/19 ("Het hele jaar, vraag via seizoen"): the kiosk sells all year; only a guest with a head item and mittens has nothing left to buy |
| winter-kiosk | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:82 | [EXT:winter-kiosk] the kiosk sells all year and its demand follows the season and the snow (the user's decision of 2026-10-18/19, "Het hele jaar, vraag via seizoen"); a guest with both a head item and mittens has nothing left to buy |
| winter-kiosk | source/OpenTPW/World/Winter/WinterRules.cs:100 | [EXT:winter-kiosk] a guest whose slots are full has nothing left to buy; the earlier snow-or-December-to-February gate is retired: the user decided on 2026-10-18/19 that the kiosk sells all year and its demand follows the season ("Het hele jaar, vraag via seizoen") |
| winter-kiosk-return | source/OpenTPW.Tests/WinterKioskReturnTests.cs:7 | [EXT:winter-kiosk-return] The winter kiosk does not count as recently used while a guest's slots are not full (docs/WINTER.md, "Returning for the second item"). The game's score scores a thing of the type of the last thing used |
| winter-kiosk-return | source/OpenTPW.Tests/WinterKioskReturnTests.cs:10 | [EXT:winter-kiosk-return] user-approved 2026-10-19 ("Laten terugkomen") |
| winter-kiosk-return | source/OpenTPW.Tests/WinterTuningMeasureTests.cs:270 | [EXT:winter-kiosk-return] user-approved 2026-10-19 ("Laten terugkomen"): the before is the game's own history rules (nobody bought a second item), the after is the shipped rule |
| winter-kiosk-return | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:38 | [EXT:winter-kiosk-return] user-approved 2026-10-19 ("Laten terugkomen"): a guest who still lacks an item does not find the kiosk "used recently" (the same-type-as-last rule that scores it 0, the used-history division by 5, 4, 3 and 2); |
| winter-save | source/OpenTPW/World/Guests/Guest.cs:232 | <summary>[EXT:winter-save] Whether the guest carries any state of the winter extension (a warm item, or warmth from a glühwein): the park then uses the extension, whatever its shops (<see cref="ParkResumeMods.WinterInUse"/>).</summary> |
| winter-save | source/OpenTPW/World/Guests/GuestSimulation.cs:4596 | [EXT:winter-save] the optional warm items: only the defined bits and at most one head item |
| winter-save | source/OpenTPW/World/Guests/GuestSimulation.cs:4599 | [EXT:winter-save] the optional day a glühwein's warmth lasts until: never negative |
| winter-save | source/OpenTPW/World/Guests/GuestSimulation.cs:5235 | [EXT:winter-save] the warm items join the digest only while a guest wears one (every park without one keeps its pins) |
| winter-save | source/OpenTPW/World/Guests/GuestSimulation.cs:5367 | [EXT:winter-save] only while a guest wears a warm item (every park without one keeps its pins) |
| winter-save | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:201 | <summary>[EXT:winter-save] The warm items the guest wears (<see cref="Guest.WarmItems"/>, bits 1 hat, 2 earmuffs, 4 mittens); written only while the guest has one, so a save without the winter extension has no such field and every older save loads as before.</summary> |
| winter-save | source/OpenTPW/World/Guests/GuestSimulationSnapshot.cs:204 | <summary>[EXT:winter-save] The park day a glühwein's warmth lasts until (<see cref="Guest.WarmUntilDay"/>); written only while set (a glühwein drunk while <c>opentpw.winter-cold</c> is on), so every other save has no such field.</summary> |
| winter-save | source/OpenTPW/World/Level.Resume.cs:228 | [EXT:winter-save] opentpw.winter likewise: recorded while the park has a winter kiosk or a glühwein stall or a guest with a warm item |
| winter-save | source/OpenTPW/World/ParkResumeMods.cs:47 | [EXT:umbrellas-save] <c>opentpw.umbrellas</c>, recorded when the park has a brolly shop or a guest with an umbrella, and [EXT:winter-save] <c>opentpw.winter</c>, recorded when the park has a winter kiosk or a glühwein stall or a guest |
| winter-save | source/OpenTPW/World/ParkResumeMods.cs:78 | <paramref name="umbrellas"/>: the park holds one of the extension's own objects (a brolly shop) or a guest with an umbrella (<see cref="UmbrellasInUse"/>). [EXT:winter-save] <c>opentpw.winter</c> when <paramref name="winter"/>: |
| winter-save | source/OpenTPW/World/ParkResumeMods.cs:107 | [EXT:winter-save] Whether a park uses the winter extension (the umbrellas rule): it holds a winter kiosk or a glühwein stall (<paramref name="placed"/>, the entries of its objects) or a guest with a warm item |
| winter-save | source/OpenTPW/World/ParkResumeMods.cs:143 | <summary>[EXT:winter-save] Whether a placed object is one of the winter extension's own (a winter kiosk or a glühwein stall).</summary> |
| winter-save | source/OpenTPW/World/ParkResumeSaveFile.cs:488 | [EXT:winter-save] a park with a guest who has a warm item records the winter extension (a park without one does not), so a save cannot hide the items from the mod check |
| winter-season-terms | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:8 | [EXT:winter-season-terms] The calendar month (1 to 12) of the park's date, for the winter shops' season terms (<see cref="WinterRules.ApplyTerms"/>); 0 (the default, and no source) is no month at all, so the season percentages |
| winter-season-terms | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:20 | [EXT:winter-season-terms] The weather as the winter shops read it (<see cref="WinterRules.WeatherStateOf"/>: 2 rain, 3 storm, 4 snow, anything else, or null, none). Unlike <see cref="UmbrellaWeatherState"/> it reads snow as snow |
| winter-season-terms | source/OpenTPW/World/Guests/GuestSimulation.Winter.cs:83 | [EXT:winter-season-terms] the weather percentages (Theme Park Inc's names) and the extension's own season percentages of the object's .sam, for the extension's objects only |
| winter-season-terms | source/OpenTPW/World/Guests/GuestSimulation.WinterCold.cs:19 | [EXT:winter-season-terms] the cold reads the winter shops' weather (WinterRules.WeatherStateOf): snow is snow even with lightning, which is every Halloween snowfall, so the rule applies where the snow is |
| winter-season-terms | source/OpenTPW/World/Level.cs:674 | [EXT:winter-season-terms] the winter shops read the park's calendar month (the economy's clock, which the weather steps on too) and their own weather signal, which reads snow as snow even with lightning (Halloween's snow band is its lightning band) |
| winter-season-terms | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:743 | [EXT:winter-season-terms] the weather keys are Theme Park Inc's names (tp.exe does not read them), the season keys are the extension's own: only the extension's objects use them |
| winter-season-terms | source/OpenTPW/World/Winter/WinterRules.cs:7 | [EXT:winter-season-terms] OpenTPW's own season keys; the weather keys are Theme Park Inc's names (WeatherModifier.*Percentage, 0x6101e0) that tp.exe does not read |
| winter-season-terms | source/OpenTPW/World/Winter/WinterRules.cs:64 | [EXT:winter-season-terms] the plan's months, OpenTPW's own grouping (tp.exe's own seasons are month / 3 with December a fifth row, ParkWeather.Roll) |
| winter-season-terms | source/OpenTPW/World/Winter/WinterRules.cs:87 | [EXT:winter-season-terms] the shops' own weather signal; the umbrellas' and the rain mood's map ([EXT:umbrellas-weather-map]) stays as it is |
| winter-season-terms | source/OpenTPW/World/Winter/WinterRules.cs:107 | [EXT:winter-season-terms] the weather step is Theme Park Inc's (0x6109d0: a zero percentage leaves the score), the season step is the extension's own twin of it |
| winter-snow | source/OpenTPW.Tests/SnowCoverTests.cs:17 | [EXT:winter-snow] The settling snow extension (docs/WINTER.md, phase W1): the cover's accumulate and melt, its pause and speed behaviour, the optional unhashed save field, the uniform slot and the |
| winter-snow | source/OpenTPW/Mods/FeatureGates.cs:89 | [EXT:winter-snow] The <c>opentpw.winter-snow</c> extension is on for this run (on by default): snow settles on the park's ground, roofs and objects while it snows and melts afterwards (docs/WINTER.md). Presentation only. |
| winter-snow | source/OpenTPW/Mods/OfficialExtensions.cs:152 | [EXT:winter-snow] OpenTPW's own extension; the original game has no ground snow |
| winter-snow | source/OpenTPW/UI/Original/SupplementaryStrings.cs:1089 | [EXT:winter-snow] the settling snow extension (docs/WINTER.md) |
| winter-snow | source/OpenTPW/World/Winter/Level.Winter.cs:5 | [EXT:winter-snow] The park's settled snow (docs/WINTER.md): presentation only. The cover is stepped by the weather's turns, eased per frame and read by the renderer as one uniform per |
| winter-snow-cover | source/OpenTPW/World/Winter/SnowCover.cs:4 | [EXT:winter-snow-cover] The park's settled snow (docs/WINTER.md, <c>opentpw.winter-snow</c>): one scalar 0 to 1 that rises while it snows and melts afterwards, stepped once per park turn |
| winter-snow-cover | source/OpenTPW/World/Winter/SnowCover.cs:9 | [EXT:winter-snow-cover] OpenTPW's own presentation; tp.exe has no ground snow (docs/WINTER.md: its only snow strings are the two weather band keys and the flake texture of CRain) |
| winter-snow-paths | source/OpenTPW/Render/TextureSlotAddressing.cs:25 | [EXT:winter-snow-paths] OpenTPW's presentation only |
| winter-snow-paths | source/OpenTPW/World/Original/OriginalTerrain.cs:1114 | [EXT:winter-snow-paths] the entrance plaza and its kerbs (grd_pav, grd_ctr, grd_krb) are walking surfaces: slush under snow, like the path layer |
| winter-snow-paths | source/OpenTPW/World/Original/OriginalTerrain.cs:1266 | [EXT:winter-snow-paths] the user's decision (2026-10-18): paths turn to slush so they stay readable |
| winter-snow-paths | source/OpenTPW/World/Winter/SnowCover.cs:75 | [EXT:winter-snow-paths] the user's decision (2026-10-18): paths under snow turn to slush so they stay readable |
| winter-snow-save | source/OpenTPW/World/Level.Resume.cs:273 | [EXT:winter-snow-save] optional and unhashed: null (left out of the file) without snow |
| winter-snow-save | source/OpenTPW/World/Level.Resume.cs:369 | [EXT:winter-snow-save] a resumed park keeps its snow (ignored while the extension is off) |
| winter-snow-save | source/OpenTPW/World/ParkResumeSnapshot.cs:110 | [EXT:winter-snow-save] The settled snow cover (<c>opentpw.winter-snow</c>, docs/WINTER.md), 0 < x <= 1, or null: written only while the extension is on and the cover is above 0, so a park without snow saves the same |
| winter-snow-surfaces | source/OpenTPW/Render/ObjectUniformBuffer.cs:46 | [EXT:winter-snow-surfaces] The settled snow cover of this draw in test.shader (<c>g_flSnowCover</c>, the padding after the fog colour): 0 means none, which is what the zeroed padding always meant; |
| winter-snow-surfaces | source/OpenTPW/World/Entity/ModelEntity.cs:62 | [EXT:winter-snow-surfaces] How much of the park's settled snow cover (<see cref="Level.SnowUniform"/>) this entity shows, written per draw into test.shader's <c>g_flSnowCover</c>: |
| winter-snow-surfaces | source/OpenTPW/World/Entity/ModelEntity.cs:69 | [EXT:winter-snow-surfaces] The snow noise follows the model's own coordinates instead of the world's: for parts on an animated node of a ride or object, so the patches turn and move with the part |
| winter-snow-surfaces | source/OpenTPW/World/Entity/ModelEntity.cs:136 | [EXT:winter-snow-surfaces] test.shader's g_flSnowCover: the park's cover times this entity's surface factor (0 with no snow, which is what the padding always was) |
| winter-snow-surfaces | source/OpenTPW/World/Objects/OriginalObject.cs:522 | [EXT:winter-snow-surfaces] objects (roofs, trees, rides) take snow on their up-facing surfaces; a part on an animated node (it can move or turn) keeps its snow noise in model space, so the patches do not crawl over it |
| winter-snow-surfaces | source/OpenTPW/World/Original/OriginalTerrain.cs:1259 | [EXT:winter-snow-surfaces] every terrain part draws with test.shader: ground takes the full cover (the paths and queue models change it to slush where they are added) |
| winter-spice-label | source/OpenTPW.Tests/WinterWiringTests.cs:221 | the stall keeps Ice's mechanics: SpecialIngredient 3 ([EXT:winter-spice-label]) |
| winter-tuning | source/OpenTPW.Tests/DeterminismTests.cs:118 | [EXT:winter-tuning] the measurement's price terms (docs/WINTER.md, "Price"): the shop's shipped .sam words the price test reads, and the economy's live price mirrored over the bridge as the level does; |
| winter-tuning | source/OpenTPW.Tests/WinterPriceMeasureTests.cs:13 | [EXT:winter-tuning] The winter shops' prices in a real park (docs/WINTER.md, "Price"): the level gate's park of a theme built from the original level and its balance files (needs <c>OPENTPW_GAME_PATH</c>), with the |
| winter-tuning | source/OpenTPW.Tests/WinterTuningMeasureTests.cs:12 | [EXT:winter-tuning] The headless measurements of docs/WINTER.md, "Tuning" (phase W6): what the winter kiosk and the glühwein stall sell per season and weather, how many guests are dressed, and what the cold rule does to happiness over a snowy week |
| winter-tuning | source/OpenTPW.Tests/WinterTuningMeasureTests.cs:220 | [EXT:winter-tuning] the price test (tp.exe 0x004FDE50) with the shops' shipped terms: the willingness rises with happiness, and Shops.sam's RipOffOK 100 doubles it |
| winter-weather | source/OpenTPW.Tests/DeterminismTests.cs:552 | [EXT:winter-weather] The fixed run on the cross park with a brolly shop and the rain mood rule on, driven by the jungle's real weather instead of a hand-made schedule: a <see cref="ParkWeather"/> (seed 21, the jungle's shipped bands) is stepped from the park's |
| winter-weather | source/OpenTPW.Tests/DeterminismTests.cs:590 | <summary>[EXT:winter-weather] The pinned hash of <see cref="RunFixedParkWithABrollyShopAndRainMoodInTheJungleWeatherAcrossDecember"/> with the option off: the original's weather across December (docs/DETERMINISM.md, "Wintry Decembers").</summary> |
| winter-weather | source/OpenTPW.Tests/DeterminismTests.cs:593 | <summary>[EXT:winter-weather] The pinned hash of the same run with the option on: December's rain bands are snow for the umbrellas and the rain mood (docs/DETERMINISM.md, "Wintry Decembers").</summary> |
| winter-weather | source/OpenTPW.Tests/WinterWeatherTests.cs:12 | [EXT:winter-weather] OpenTPW's own option; tp.exe's converter (0x512f00) reads only the quality and its three bands, with no calendar input, so the month is the option's own addition |
| winter-weather | source/OpenTPW.Tests/WinterWeatherTests.cs:201 | <summary>[EXT:winter-weather] The pinned hash of the jungle's first 400 days under seed 21 with the option off: the original's weather (docs/DETERMINISM.md, "Wintry Decembers").</summary> |
| winter-weather | source/OpenTPW.Tests/WinterWeatherTests.cs:203 | <summary>[EXT:winter-weather] The pinned hash of the same run with the option on (docs/DETERMINISM.md, "Wintry Decembers").</summary> |
| winter-weather | source/OpenTPW/Mods/FeatureGates.cs:49 | [EXT:winter-weather] The <c>opentpw.winter-weather</c> option is on for this run: December's rain and thunderstorms are snow in the jungle and fantasy parks (docs/WINTER.md, "Wintry Decembers"). Off by default, and not in a Theme Park Inc run, |
| winter-weather | source/OpenTPW/Mods/OfficialExtensions.cs:128 | [EXT:winter-weather] OpenTPW's own option; Theme Park World's jungle and fantasy parks never snow (their snow band is -1..-1) |
| winter-weather | source/OpenTPW/World/ParkResumeMods.cs:58 | [EXT:rain-mood-extension] the extension is not offered in a Theme Park Inc run, so an enabled flag there must not leave a trace in what is recorded; [EXT:winter-weather] likewise (a Theme Park Inc park has no weather of this kind) |
| winter-weather | source/OpenTPW/World/ParkWeather.cs:65 | The park's weather keys (<c>Standard.sam</c>, layered over the global ones). <paramref name="wintryDecembers"/> ([EXT:winter-weather], <c>opentpw.winter-weather</c>, off by default) turns a December roll's rain and thunderstorm |
| winter-weather | source/OpenTPW/World/ParkWeather.cs:159 | [EXT:winter-weather] the forecast follows the option: it says what the converter will make of the quality; [EXT:winter-always] likewise in every month |
| winter-weather | source/OpenTPW/World/ParkWeather.cs:464 | [EXT:winter-weather] the roll that made the forecast was DaysOfWarning days before it applies (the forecast's apply time is the roll's time plus the warning), so its month needs nothing saved |
| winter-weather | source/OpenTPW/World/ParkWeather.cs:518 | ([EXT:winter-weather]): a quality in the rain band with no snow band of the park's own (jungle and fantasy: snow -1..-1) is then snow, not rain, and without lightning, so the weather is a snowfall instead of a thunderstorm. The |
| winter-weather | source/OpenTPW/World/ParkWeather.cs:521 | [EXT:winter-weather] OpenTPW's own option; tp.exe's converter (0x512f00) has no such branch, and the original's jungle and fantasy parks never snow |
| world-capture | source/OpenTPW/Client/WorldCapture.cs:14 | [EXT:world-capture] developer/screenshot command, not original behaviour |
| zero-pixels-per-unit | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:12 | <summary>Horizontal factor on the world size of a pixel: 128 / A (1 when the field is 0, which no shipped frame has; [EXT:zero-pixels-per-unit] the original would divide by it).</summary> |
Data provenance sites#
| Label | Location | Source comment context |
|---|---|---|
| *.sam:TEXTURE_FILTERING 0 Point, 1 Bilinear, 2 Trilinear, 3 Anisotropic; MIPMAP | source/OpenTPW/Compat/GraphicsSettings.cs:208 | Renderer mapping. Filtering and mipmaps follow the legend ([DATA:*.sam:TEXTURE_FILTERING 0 Point, 1 Bilinear, 2 Trilinear, 3 Anisotropic; MIPMAP]); the anisotropy degree for value 3 and the view |
| *.sgn:LOGFONT lfHeight | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:67 | [DATA:.sgn:LOGFONT lfHeight] em height; [DATA:.sgn:slot offset] cell top (TA_TOP reading is inferred from the values). |
| *.sgn:LOGFONT lfWidth | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:70 | [DATA:*.sgn:LOGFONT lfWidth] the line's width, narrowed until it fits (0x100A9F9C); centred on the canvas (the original's x = 256 - extent / 2 on its 512-wide text DC) |
| *.sgn:slot font file / LOGFONT face | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:56 | [DATA:*.sgn:slot font file / LOGFONT face] |
| *.sgn:slot offset | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:67 | [DATA:.sgn:LOGFONT lfHeight] em height; [DATA:.sgn:slot offset] cell top (TA_TOP reading is inferred from the values). |
| <attraction>.sam:Info.GenderSpecific | source/OpenTPW/World/Level.ThemeParkIncGuests.cs:42 | [DATA:<attraction>.sam:Info.GenderSpecific] type +0x78; UsageInfo.AppearanceEffect +0x21C, UsageInfo.IsInfoDesk +0x244 (the key table 0x9A4520, four bytes a key from GoldenTicketCost +0x174); |
| <facility>.sam:UsageInfo.EntryCellStandPosX/Y | source/OpenTPW/World/Level.ThemeParkIncGuests.cs:27 | [DATA:<facility>.sam:UsageInfo.EntryCellStandPosX/Y] the type record's +0x184 and +0x188; every shipped Theme Park Inc litter bin declares both (science 0.5/0.0, water 0.9/0.0, arabian 0.99/0.5) |
| <fixed item>.MD2:park-space coordinates | source/OpenTPW/World/Objects/ParkObjects.cs:496 | [DATA:Easymode.TPWI:SYSG X/Y/rotation] [DATA:<fixed item>.MD2:park-space coordinates] |
| <object>.sam:Bumper.WhichTrackType | source/OpenTPW/Economy/EconomyObjectCatalog.cs:181 | [DATA:<object>.sam:Bumper.WhichTrackType] type record +0x9C (0xe2fe4 tests it against 3, the coaster value): 0 none, 1 car, 2 water track |
| <object>.sam:Info.CreateParticleEffect | source/OpenTPW/World/Objects/ObjectCatalog.cs:196 | [DATA:<object>.sam:Info.CreateParticleEffect] jungle rides 79/75/51/89, shops 81/77, sideshows and upgrades 80/76, features 82/78 (no repair or upgrade key) |
| <object>.sam:Info.DontApplyOffset | source/OpenTPW/World/Objects/ObjectCatalog.cs:179 | [DATA:<object>.sam:Info.DontApplyOffset] |
| <object>.sam:Info.HasQueue/RunsContinuously, Bumper.WhichTrackType, UsageInfo.Min/MaxCapacity, Min/MaxDuration, Upgrades[0].InitCapacity/InitDuration/InitSpeed/QueueWaitTimeConstant | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:764 | [DATA:<object>.sam:Info.HasQueue/RunsContinuously, Bumper.WhichTrackType, UsageInfo.Min/MaxCapacity, Min/MaxDuration, Upgrades[0].InitCapacity/InitDuration/InitSpeed/QueueWaitTimeConstant] |
| <object>.sam:Info.Id | source/OpenTPW/World/Objects/ObjectCatalog.cs:69 | [DATA:<object>.sam:Info.Id] [DATA:<object>.sam:Info.Name] |
| <object>.sam:Info.MapOffsetX | source/OpenTPW/World/Level.Staff.cs:304 | [DATA:<object>.sam:Info.WhichUIType] type record +0x70, copied into +0x600 (0x43D014); [DATA:<object>.sam:Info.MapOffsetX] +0x34, +0x38 (0 in every Theme Park Inc object) |
| <object>.sam:Info.Name | source/OpenTPW/World/Objects/ObjectCatalog.cs:69 | [DATA:<object>.sam:Info.Id] [DATA:<object>.sam:Info.Name] |
| <object>.sam:Info.Shape | source/OpenTPW/World/Objects/ObjectCatalog.cs:616 | [DATA:<object>.sam:Info.Shape] |
| <object>.sam:Info.WhichUIType | source/OpenTPW/Economy/EconomyObjectCatalog.cs:188 | [DATA:<object>.sam:Info.WhichUIType] type record +1960, which 0xc7b24 counts objects by |
| <object>.sam:Info.WhichUIType | source/OpenTPW/World/Level.Staff.cs:304 | [DATA:<object>.sam:Info.WhichUIType] type record +0x70, copied into +0x600 (0x43D014); [DATA:<object>.sam:Info.MapOffsetX] +0x34, +0x38 (0 in every Theme Park Inc object) |
| <object>.sam:Research.Category, Research.LinkedWith, Research.Group, Upgrades[n].CostOfResearch, Upgrades[n].CashPerBrainPoint | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:35 | [DATA:<object>.sam:Research.Category, Research.LinkedWith, Research.Group, Upgrades[n].CostOfResearch, Upgrades[n].CashPerBrainPoint] info +0x254, +0x24C, +0x250, +0x270 + 0x48 n, +0x274 + 0x48 n |
| <object>.sam:Upgrades[0].CostOfUpgrade | source/OpenTPW/World/Objects/ObjectCatalog.cs:207 | [DATA:<object>.sam:Upgrades[0].CostOfUpgrade] |
| <object>.sam:Upgrades[0].CostOfUpgrade, Upgrades[n].ScrapValueYear1..4 | source/OpenTPW/Client/M4GateRun.cs:740 | [DATA:<object>.sam:Upgrades[0].CostOfUpgrade, Upgrades[n].ScrapValueYear1..4] [BIN:STP-PPC:0x100E25E8 scrap value] scrap = Upgrades[0].CostOfUpgrade × the level's ScrapValueYearN % for the age (365 park-clock days a year), or 100 % for an object nobody used in its first 30 days |
| <object>.sam:Upgrades[0].CostOfUpgrade, UsageInfo.GoldenTicketCost | source/OpenTPW/Client/M4GateRun.cs:388 | [DATA:<object>.sam:Upgrades[0].CostOfUpgrade, UsageInfo.GoldenTicketCost] [BIN:STP-PPC:0x100DA874 object purchase] a first purchase of an object with a ticket cost pays tickets, not cash |
| <object>.sam:Upgrades[0].InitCapacity | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:103 | [BIN:TPW-EXE:0x4db54f ride init capacity] [DATA:<object>.sam:Upgrades[0].InitCapacity] written only when above 0, through the capacity setter 0x4dd7f0 (its low byte clamped to UsageInfo.MinCapacity..MaxCapacity when the two sum above 0) into script variable 2 and ride +0x5d |
| <object>.sam:Upgrades[0].InitDuration | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:107 | [BIN:TPW-EXE:0x4db565 ride init duration] [DATA:<object>.sam:Upgrades[0].InitDuration] written only when above 0: the low byte, clamped to [UsageInfo.MinDuration, UsageInfo.MaxDuration] (type +0x12c/+0x130), into script variable 3 and ride +0x5c; DurationUnit is not read here (the ride window reads it, 0x4af030). The same clamp runs at ride settings (0x4dd720) and upgrade (0x4df8f0). |
| <object>.sam:Upgrades[0].InitSpeed | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:110 | [BIN:TPW-EXE:0x4db51c ride init speed] [DATA:<object>.sam:Upgrades[0].InitSpeed] the script speed bias, written only when above 0 (setter 0x55a300). |
| <object>.sam:UsageInfo.AppearanceEffect | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:685 | [DATA:<object>.sam:UsageInfo.AppearanceEffect] type +0x15C: "1 = Balloon, 2 = Costume" (Shops.sam); the use routine tp.exe 0x004FE1E0 switches on it |
| <object>.sam:UsageInfo.ChillsYouOut | source/OpenTPW/World/Level.Staff.cs:410 | [DATA:<object>.sam:UsageInfo.ChillsYouOut] type record +0xFC, the object flag +0x32 bit 1 the rest finder 0x00506910 tests (the Staff Room of each theme) |
| <object>.sam:UsageInfo.EntryCellStandPosX/Y | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:711 | [DATA:<object>.sam:UsageInfo.EntryCellStandPosX/Y] the jungle Rides.sam default is (0.5, 0.5); 0xde1d8 checks the range [0, 1] (a value outside it keeps the default here) |
| <object>.sam:UsageInfo.ExitCellAppearPosX/Y | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:713 | [DATA:<object>.sam:UsageInfo.ExitCellAppearPosX/Y] type record +0xDC and +0xE0 (0.5 in every theme's base .sam); ExitRide's point 0x004DEDF0(1) logs a value outside 0..1 ("Dodgy X exit point in SAM file") and uses it |
| <object>.sam:UsageInfo.FatigueEffect | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:700 | [DATA:<object>.sam:UsageInfo.FatigueEffect] type +0xE8 (key 9 of the UsageInfo table at tp.exe 0x007456E8), "reduce fatigue value by this amount"; 5 in the shipped Rides.sam, Shops.sam and SideShow.sam |
| <object>.sam:UsageInfo.HoldsLitter | source/OpenTPW/World/Level.Objects.cs:419 | [DATA:<object>.sam:UsageInfo.HoldsLitter] type record +0xF8, which the object setup (tp.exe 0x004DB3FB) turns into flag +0x32 bit 0x40 (the Litter Bin of each theme) |
| <object>.sam:UsageInfo.InitCostOfGoods | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:694 | [DATA:<object>.sam:UsageInfo.InitCostOfGoods] type +320, the price test's base (tp.exe 0x004FDE50; the key table order InitCostOfGoods, ThirstEffect, HungerEffect, VomitEffect, HappinessEffect) |
| <object>.sam:UsageInfo.InitCostOfGoods/InitPricePerUse/InitChanceOfLoosing | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:709 | [DATA:<object>.sam:UsageInfo.InitCostOfGoods/InitPricePerUse/InitChanceOfLoosing] the sideshow words of the join excitement (0xdff70); the level mirrors the live economy values over them |
| <object>.sam:UsageInfo.LitterEffect | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:692 | [DATA:<object>.sam:UsageInfo.LitterEffect] type +0x154, added to the guest's litter meter by the use routine (tp.exe 0x004FE1E0) |
| <object>.sam:UsageInfo.ProvidesRelief | source/OpenTPW/Economy/EconomyObjectCatalog.cs:190 | [DATA:<object>.sam:UsageInfo.ProvidesRelief] the relief flag (thing +0x32 bit 0 on the PC): the toilet's gauge wears with every use and handymen clean it (tp.exe 0x004E2440, 0x004D7880) |
| <object>.sam:UsageInfo.ProvidesRelief/HungerEffect/ThirstEffect/InitPricePerUse/ExcitementLevel, Info.AttractionValue | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:662 | [DATA:<object>.sam:UsageInfo.ProvidesRelief/HungerEffect/ThirstEffect/InitPricePerUse/ExcitementLevel, Info.AttractionValue] |
| <object>.sam:UsageInfo.RipOffOK | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:698 | [DATA:<object>.sam:UsageInfo.RipOffOK] type +0x16C (key 42 of the UsageInfo table at tp.exe 0x007456E8), copied into the per-type record's word +0xC that the price test reads (0x004D3E00); 100 in the shipped Shops.sam, 250 in SideShow.sam |
| <object>.sam:UsageInfo.SpecialIngredient | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:683 | [DATA:<object>.sam:UsageInfo.SpecialIngredient] type +344: 0 none, 1 Fat, 2 Salt, 3 Ice, 4 Sugar (the ice cream shops); only Sugar changes a guest here (the speed boost) |
| <object>.sam:UsageInfo.ThirstEffect/HungerEffect/VomitEffect/HappinessEffect/GoldenTicketCost/ISIndoors, Upgrades[0].CostOfUpgrade, Info.Id | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:687 | [DATA:<object>.sam:UsageInfo.ThirstEffect/HungerEffect/VomitEffect/HappinessEffect/GoldenTicketCost/ISIndoors, Upgrades[0].CostOfUpgrade, Info.Id] the type words the attraction score and the visit effects read (type +324/+328/+332/+336/+196/+276/+440, ORACLE.md F24) |
| <ride>.sam:Bumper.WhichTrackType | source/OpenTPW/World/Coasters/CoasterDefinition.cs:441 | [DATA:<ride>.sam:Bumper.WhichTrackType] 3 = coaster (Rides.sam comment lists 0 none, 1 car, 2 water track) |
| <theme> Litter Bin .rse | source/OpenTPW/World/Level.Objects.cs:464 | [DATA:<theme> Litter Bin .rse] VAR_TRIGGER is the script's only variable (index 0) in all four themes |
| Advisor.MD2:mesh names "Mouth - Normal", "Mouth - Aah", "Mouth - Eee", "Mouth - Ooh", "Mouth - Sss" | source/OpenTPW/World/Advisor.cs:26 | [DATA:Advisor.MD2:mesh names "Mouth - Normal", "Mouth - Aah", "Mouth - Eee", "Mouth - Ooh", "Mouth - Sss"] |
| Advisor/Advisor.sam | source/OpenTPW/World/AdvisorController.cs:296 | [DATA:Advisor/Advisor.sam] loaded by the scoring data loader (STP-PPC 0x1000CFD4) |
| Advisor/Advisor.sam:StaffHireMechanics1.PoorerStateThan | source/OpenTPW/Economy/ParkEconomy.cs:27 | [DATA:Advisor/Advisor.sam:StaffHireMechanics1.PoorerStateThan] |
| Autorun/autorun.tre:autorun.cfg nvPlayY=61 nvInstallY=103 nvUninstallY=145 nvReinstallY=187 nvTechbuttonY=229 nvReadmeY=271 nvQuitY=313 | source/OpenTPW/Client/Autorun/AutorunAssets.cs:27 | [DATA:Autorun/autorun.tre:autorun.cfg nvPlayY=61 nvInstallY=103 nvUninstallY=145 nvReinstallY=187 nvTechbuttonY=229 nvReadmeY=271 nvQuitY=313] |
| CHAT_COMMANDS.str:134-151 | source/OpenTPW.Online/Chat/ChatCommands.cs:127 | ([DATA:CHAT_COMMANDS.str:134-151] — 18 responses for the 19 mood commands; Think has none). |
| CHAT_COMMANDS.str:43-85 | source/OpenTPW.Online/Chat/ChatCommands.cs:5 | holds the localized command words (German "sage", "erzähle", ...) and [DATA:CHAT_COMMANDS.str:43-85] |
| Data/Particle/Tp2.plb | source/OpenTPW.Files/Public/ParticleTemplateFile.cs:191 | [DATA:Data/Particle/Tp2.plb] 105 templates and 20 effectors in the shipped file (35704 bytes) |
| Data/Particle/Tp2.plb:53,57 | source/OpenTPW/Online/ParkPresence.cs:61 | [DATA:Data/Particle/Tp2.plb:53,57] Avatar and OtherAvatar: emitter life 7 ticks of 31 ms, particle life 30 ticks |
| Easymode.TPWI:SYSG X/Y/rotation | source/OpenTPW/World/Objects/ParkObjects.cs:496 | [DATA:Easymode.TPWI:SYSG X/Y/rotation] [DATA:<fixed item>.MD2:park-space coordinates] |
| Easymode.TPWI:queue links | source/OpenTPW.Online/Packages/MinimalParkPayload.cs:178 | [DATA:Easymode.TPWI:queue links] a queue cell's link is one of 1, 4, 16, 64 toward its predecessor, else 0. |
| EventMap.RSE VAR_EVT0…9 | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:86 | [DATA:EventMap.RSE VAR_EVT0…9] the ride's sound child fills the slot table (jungle karts 194 engine, 195 stop, 199 horn; the other themes' ids are in docs/TRACKS.md) |
| LOANNAMES.str:0..17 | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:346 | [DATA:LOANNAMES.str:0..17] LOANNAMES.str has 18 entries and every LoanInfo Lendername is 0..17, so the numbered fallback is unreachable with the shipped data; kept as a defensive default |
| Language//_NAMES.str | source/OpenTPW/Hud/ParkHud.Staff.cs:226 | [DATA:Language//_NAMES.str] NameIndex is the role-specific original name-table index. |
| Language/*/CHAT_COMMANDS.str:0-42 | source/OpenTPW.Online/Chat/ChatCommands.cs:4 | The original chat commands, in <c>CHAT_COMMANDS.str</c> order. [DATA:Language/*/CHAT_COMMANDS.str:0-42] |
| Language/*/TAG_SYSTEM.str:123-127 (six months in the red) | source/OpenTPW/Economy/ParkEconomy.cs:30 | [DATA:Language/*/TAG_SYSTEM.str:123-127 (six months in the red)] |
| Language/*/TAG_SYSTEM.str:38-62 (staff strike messages) | source/OpenTPW/Hud/ParkHud.StrikeMessages.cs:6 | [DATA:Language/*/TAG_SYSTEM.str:38-62 (staff strike messages)] the original's text of each message, delivered through the message tube (UI-025) |
| Language/*/THEMENAMES.str | source/OpenTPW/Online/OnlineStrings.cs:163 | Theme name of a level. [DATA:Language/*/THEMENAMES.str] order Lost Kingdom, Halloween World, Wonder Land, |
| Language//THEMENAMES.str:order; levels//global.sam:Keys.CostToEnter | source/OpenTPW/Economy/ParkObjectives.cs:704 | [DATA:Language//THEMENAMES.str:order; levels//global.sam:Keys.CostToEnter] |
| Language/*/UniToMB.dat | source/OpenTPW.Files/Formats/String/BFUMReader.cs:10 | Layout verified against all six shipped languages ([DATA:Language/*/UniToMB.dat]): magic |
| Language/English/*_NAMES.str:entry count 35 | source/OpenTPW/Economy/ParkStaff.cs:219 | [DATA:Language/English/*_NAMES.str:entry count 35] |
| Language/English/*_NAMES.str:no text twice | source/OpenTPW/Economy/ParkStaff.cs:516 | [DATA:Language/English/*_NAMES.str:no text twice] no name text repeats within or across the five tables (English and Dutch), so the role and index stand for the text |
| Language/English/CHAT_COMMANDS.str:160 | source/OpenTPW/Online/OnlineStrings.cs:111 | [DATA:Language/English/CHAT_COMMANDS.str:160] "System message: " |
| Language/English/CHAT_COMMANDS.str:43-85 | source/OpenTPW.Online/Chat/ChatCommands.cs:86 | <summary>[DATA:Language/English/CHAT_COMMANDS.str:43-85] Canonical (English) command words.</summary> |
| Language/English/CHAT_COMMANDS.str:86-175 | source/OpenTPW.Online/Chat/ChatCommands.cs:17 | Responses as indices into <c>CHAT_COMMANDS.str</c> ([DATA:Language/English/CHAT_COMMANDS.str:86-175]). |
| Language/English/ERRORMSG.str | source/OpenTPW/Online/OnlineStrings.cs:105 | [DATA:Language/English/ERRORMSG.str] |
| Language/English/ERRORMSG.str:69 | source/OpenTPW/Online/OnlineSession.cs:335 | <summary>The original's chat connection error ([DATA:Language/English/ERRORMSG.str:69]) in the game's language; the .NET reason only goes to the log.</summary> |
| Language/English/UITEXT.str | source/OpenTPW/Online/OnlineStrings.cs:25 | [DATA:Language/English/UITEXT.str] (the UIStrings enum is off by one from about 206 on; these are verified). |
| Language/English/UITEXT.str:221 | source/OpenTPW.Server/ServerStore.cs:754 | [DATA:Language/English/UITEXT.str:221] the original's limit message (the limit itself: FAQ, S2) |
| Language/English/UITEXT.str:243-257 | source/OpenTPW/Online/OnlineStrings.cs:63 | [DATA:Language/English/UITEXT.str:243-257] the original's online progress messages; 252 is the chat satellites' |
| Language/English/UITEXT.str:245/246 | source/OpenTPW/Online/OnlineSession.cs:647 | [DATA:Language/English/UITEXT.str:245/246] "Getting Game News" / "Getting System News" |
| Language/English/UITEXT.str:248 | source/OpenTPW/Online/OnlineSession.cs:613 | [DATA:Language/English/UITEXT.str:248] the original showed "Getting City List" while this ran |
| Language/English/UITEXT.str:249 | source/OpenTPW/Online/OnlineSession.cs:602 | [DATA:Language/English/UITEXT.str:249] the original showed "Getting Top 10 Park List" while this ran |
| Language/English/UITEXT.str:250/251 | source/OpenTPW/Online/OnlineSession.cs:656 | [DATA:Language/English/UITEXT.str:250/251] "Getting All Park List" / "Getting Player's Park List" |
| Language/English/UITEXT.str:266 | source/OpenTPW/Online/OnlineScreens.cs:1121 | [DATA:Language/English/UITEXT.str:266] the original news panel's heading |
| Language/English/UITEXT.str:266 | source/OpenTPW/Online/OnlineStrings.cs:72 | [DATA:Language/English/UITEXT.str:266] the original news panel's title (Mac id 267 in the 474-entry edition) |
| Language/English/UITEXT.str:292-297 | source/OpenTPW/Online/OnlineStrings.cs:85 | [DATA:Language/English/UITEXT.str:292-297] the List Parks chart's title and column headers |
| Language/English/UITEXT.str:419 | source/OpenTPW/Online/OnlineStrings.cs:100 | [DATA:Language/English/UITEXT.str:419] "Choose the city to publish in" |
| Language/English/UITEXT.str:446 | source/OpenTPW/Online/OnlineScreens.cs:1560 | [DATA:Language/English/UITEXT.str:446] "Other Parks In " + the location name (0x1018c880) |
| Language/English/UITEXT.str:446 | source/OpenTPW/Online/OnlineStrings.cs:96 | [DATA:Language/English/UITEXT.str:446] "Other Parks In " before the city name (Mac 0x1bf) |
| Language/English/UITEXT.str:461 | source/OpenTPW/Online/OnlineStrings.cs:98 | [DATA:Language/English/UITEXT.str:461] "Parks: " before a city's park count (Mac 0x1ce in the 474-entry edition) |
| Language/English/UITEXT.str:472 | source/OpenTPW/Online/OnlineScreens.cs:427 | [DATA:Language/English/UITEXT.str:472] the original reminded the player of unsent postcards before going online ("... go online to send them"); it shows while logged out only. Logged in, nothing sends the |
| Language/English/swears.txt,alloweds.txt | source/OpenTPW.Online/Moderation/WordFilter.cs:32 | Decodes an original list. [DATA:Language/English/swears.txt,alloweds.txt] Observed encoding: |
| Language/Polish/MBToUni.dat, Language/korean/MBToUni.dat | source/OpenTPW.Files/Formats/String/BFMUReader.cs:23 | [DATA:Language/Polish/MBToUni.dat, Language/korean/MBToUni.dat] the lead/trail layout is confirmed by every string table of both languages |
| Mac UI font table (docs/reverse/PPC-ui.md):slot 3 DATETINY/DATESMALL/DATEMED/DATEBIG | source/OpenTPW/UI/Original/UiText.cs:211 | [DATA:Mac UI font table (docs/reverse/PPC-ui.md):slot 3 DATETINY/DATESMALL/DATEMED/DATEBIG] the HUD date font, one per |
| Mac UI table data:0x50172 | source/OpenTPW/Online/OnlineScreens.cs:298 | [DATA:Mac UI table data:0x50172] root 18900 citylob (28,541,476,1521); b_listpark 18901 (66,642,219,795) help 349, b_bck2lob 18902 (66,799,219,953) help 348, b_worldview 18903 (66,957,219,1110) help 346, b_entpark 18904 (66,1113,219,1267) help 345, b_lobleft 18907 (95,1299,249,1453) help 343, b_lobright 18908 (260,1299,413,1453) help 344; labels 0x49D9 name (477,1282,1571,1457) and 0x49DA rank (844,118,1204,253) |
| Mac UI table data:0x50f84 | source/OpenTPW/Online/OnlineScreens.cs:1431 | [DATA:Mac UI table data:0x50f84] the six column headers (ids 16-21) at their authored x extents |
| Mac UI table data:0x523f0 | source/OpenTPW/Online/OnlineScreens.cs:77 | [DATA:Mac UI table data:0x523f0] root 90111 worldlob (9,620,510,1531); buttons b_findprk 90115 (49,731,202,885) help 435, b_bck2lob 90112 (49,898,202,1051) help 431, b_zoom 90118 (41,1070,143,1173) help 428/429, b_lobup 90117 (182,1077,336,1231) help 426, b_lobleft 90114 (61,1201,214,1355) help 424, b_lobright 90116 (307,1201,460,1355) help 425, b_lobdown 90113 (184,1327,337,1481) help 427; i_sat 90120–90124 help 423 |
| Mac buy table 0x4cd94:-2,511 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:362 | [DATA:Mac buy table 0x4cd94:-2,511] b_exit (help 2) closes; b_allstaff (help 153) opens the staff window. |
| Mac buy table 0x4cd94:1,2 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:343 | [DATA:Mac buy table 0x4cd94:1,2] b_up / b_down at their rectangles. The buy table 0x754cf8 is not generated; its list is type 7 style 0x91 and its slider is type 3 style 0x10, so the arrows and the headers play cat_ui 0xBD (parent style bit 0x10, hook 0x485780 at 0x4857cb). A held arrow repeats (500 ms, then 125 ms) and the release after that plays nothing. |
| Mac buy table 0x4cd94:16,17 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:340 | [DATA:Mac buy table 0x4cd94:16,17] column header buttons (name, price) without a model; the third (18) has no text and no action |
| Mac buy table 0x4cd94:489,490,493,504 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:299 | [DATA:Mac buy table 0x4cd94:489,490,493,504] w_big root window4, two !frame panels and the f_buyitem list frame at their authored rectangles |
| Mac buy table 0x4cd94:490 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:321 | [DATA:Mac buy table 0x4cd94:490] preview content region (437,202)-(797,565) |
| Mac buy table 0x4cd94:492 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:315 | [DATA:Mac buy table 0x4cd94:492] item name line at the top of the preview frame |
| Mac buy table 0x4cd94:500,499,497,502,503 and 501,494,498,495,496 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:42 | [DATA:Mac buy table 0x4cd94:500,499,497,502,503 and 501,494,498,495,496] label/value rows of the stats frame (493) |
| Mac buy table 0x4cd94:504 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:38 | [DATA:Mac buy table 0x4cd94:504] content region and the three columns (command_10/command_11) |
| Mac buy table 0x4cd94:507,506,509,508 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:29 | [DATA:Mac buy table 0x4cd94:507,506,509,508] category buttons with their help ids (command_17 140, 142, 141, 143) |
| Mac buy table 0x4cd94:510 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:305 | [DATA:Mac buy table 0x4cd94:510] title text; the category's UITEXT 119-122 |
| Mac finance table 0x49ee4:74352,74354 | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:119 | [DATA:Mac finance table 0x49ee4:74352,74354] w_park/window3 and f_graph/graph at their authored rectangles. |
| Mac finance table 0x49ee4:74356-74358 | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:125 | [DATA:Mac finance table 0x49ee4:74356-74358] three b_stoggle period buttons, 1 / 3 / 12 years. |
| Mac finance table 0x49ee4:74359-74366 | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:13 | [DATA:Mac finance table 0x49ee4:74359-74366] toggle controls; labels are confirmed by docs/reverse/UI-MAP.md. |
| Mac finance table 0x49ee4:74367-74369 | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:146 | [DATA:Mac finance table 0x49ee4:74367-74369] loans, staff-cost and entry buttons. |
| Mac main HUD table 0x4ab38:32,47 | source/OpenTPW/Hud/ParkHud.cs:399 | [DATA:Mac main HUD table 0x4ab38:32,47] date text region (182,1061,383,1103) in black (font slot 3); the cash text |
| Mac main HUD table 0x4ab38:38-43 | source/OpenTPW/Hud/ParkHud.cs:418 | [DATA:Mac main HUD table 0x4ab38:38-43] original button rectangles: staggered along the panel's curve, plus the camera button |
| Mac main HUD table 0x4ab38:50,48,49,51-55 | source/OpenTPW/Hud/ParkHud.cs:406 | [DATA:Mac main HUD table 0x4ab38:50,48,49,51-55] cash extras: i_dollar left of the balance, the change text (yellow) with green_up, golden key and ticket counters |
| Mac map table 0x5265e:-1 | source/OpenTPW/Hud/ParkHud.Map.cs:241 | [DATA:Mac map table 0x5265e:-1] b_okay closes the map (help 1). |
| Mac map table 0x5265e:2432,2450,2448,2449,2453 | source/OpenTPW/Hud/ParkHud.Map.cs:209 | [DATA:Mac map table 0x5265e:2432,2450,2448,2449,2453] root, map content and three lower panels. |
| Mac map table 0x5265e:2433,2436-2438,2440,2442 | source/OpenTPW/Hud/ParkHud.Map.cs:215 | [DATA:Mac map table 0x5265e:2433,2436-2438,2440,2442] pan and zoom controls at table rectangles. |
| Mac map table 0x5265e:2434,2439,2451,2452 | source/OpenTPW/Hud/ParkHud.Map.cs:222 | [DATA:Mac map table 0x5265e:2434,2439,2451,2452] object-category map buttons. |
| Mac map table 0x5265e:2441,2435,2444-2447,2455-2457 | source/OpenTPW/Hud/ParkHud.Map.cs:228 | [DATA:Mac map table 0x5265e:2441,2435,2444-2447,2455-2457] track, actor and metric controls. |
| Mac research table 0x4c652 | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:10 | [DATA:Mac research table 0x4c652] Visual row order differs from ResearchCategories[n] order. |
| Mac research table 0x4c652 | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:254 | [DATA:Mac research table 0x4c652] Root, title, five panels and the main workload track. |
| Mac research table 0x4c652:-1 | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:299 | [DATA:Mac research table 0x4c652:-1] b_okay exits; help 1. |
| Mac staff table 0x4a1e0:16,17 | source/OpenTPW/Hud/ParkHud.Staff.cs:414 | [DATA:Mac staff table 0x4a1e0:16,17] Help 159/160 sorts the name/wage columns. |
| Mac staff table 0x4a1e0:9343,9345,9348,9349,9358 | source/OpenTPW/Hud/ParkHud.Staff.cs:371 | [DATA:Mac staff table 0x4a1e0:9343,9345,9348,9349,9358] Resolved ui.wad root model hashes. |
| Mac staff table 0x4a1e0:9360-9364 | source/OpenTPW/Hud/ParkHud.Staff.cs:405 | [DATA:Mac staff table 0x4a1e0:9360-9364] Five buttons with help 154-158 select applicants by role. |
| Mac staff table 0x4a1e0:9365 | source/OpenTPW/Hud/ParkHud.Staff.cs:428 | [DATA:Mac staff table 0x4a1e0:9365] b_allthings returns to the buy window. |
| Mac staff-button table 0x4e45c:2397-2404 | source/OpenTPW/Hud/ParkHud.Staff.cs:438 | [DATA:Mac staff-button table 0x4e45c:2397-2404] Locate-role and locate-visitor buttons at the authored HUD rectangles. |
| OpenTPW type byte | source/OpenTPW/World/ParkCellMap.cs:793 | [DATA:OpenTPW type byte] OpenTPW's type byte shows the tile's type while the cell is otherwise empty, so every reader of "not 0" still sees an occupied cell; a write of a path or queue type replaces that view and clearing the cell restores it |
| PreBuilt/prebuilt.TPWS:COAS | source/OpenTPW.Tests/OriginalCoasterSaveTests.cs:405 | [DATA:PreBuilt/prebuilt.TPWS:COAS] the sibling Theme Park Inc prebuilt save's coaster body follows the traced Theme Park World contract (power factor 1.0, one section, no collisions); a structural cross-check on real nonempty bytes, not a Theme Park World proof |
| PreBuilt/prebuilt.TPWS:SYSG | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:533 | [DATA:PreBuilt/prebuilt.TPWS:SYSG] the RideSystem block's scene records are still found by signature (its record walk is not decoded); each must name exactly one attraction thing of the typed World, which replaces the former requirement of exactly 23 records with 14 fixed items |
| PreBuilt/prebuilt.TPWS:SYSG | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:596 | [DATA:PreBuilt/prebuilt.TPWS:SYSG] the lake obstacle (Info.Id 1703) is the one attraction the prebuilt's scene records do not name; any other attraction without a record means the signature scan lost a damaged record, so the save is refused |
| PreBuilt/prebuilt.TPWS:SYSG | source/OpenTPW/World/Objects/ParkObjects.cs:817 | [DATA:PreBuilt/prebuilt.TPWS:SYSG] the lake obstacle (1703, thing 30) is an attraction thing without a scene record (OriginalParkImport.UnrecordedThemeParkIncAttractions): it is the thing of the |
| PreBuilt/prebuilt.TPWS:SYSG | source/OpenTPW/World/Original/OriginalPark.cs:107 | [DATA:PreBuilt/prebuilt.TPWS:SYSG] the five science scene records at the sentinel cell (0, 0) (1702, 1701, 1700, 1750, 1798) are the obstacles and the camera path of levels/science/obstacles |
| PreBuilt/prebuilt.TPWS:SYSG X/Y/rotation | source/OpenTPW/World/Objects/ParkObjects.cs:497 | [DATA:PreBuilt/prebuilt.TPWS:SYSG X/Y/rotation] TPI fixed models use local coordinates and their saved anchor. |
| PreBuilt/prebuilt.TPWS:cell grid | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:115 | [DATA:PreBuilt/prebuilt.TPWS:cell grid] the dword is 1 on exactly the obstacle footprints' cells whose shape value is not 0 and 0 everywhere else |
| PreBuilt/prebuilt.TPWS:cell grid | source/OpenTPW/World/Original/OriginalPark.cs:77 | [DATA:PreBuilt/prebuilt.TPWS:cell grid] The sole shipped Theme Park Inc prebuilt save matches science/base.map in every cell. |
| PreBuilt/prebuilt.TPWS:cell grid | source/OpenTPW/World/ParkLayoutSnapshot.cs:103 | [DATA:PreBuilt/prebuilt.TPWS:cell grid] a Theme Park Inc map cell is saved with 56 bytes (0x5D6D40), four more than Theme Park World's; their last dword is 1 on exactly the obstacle footprints' cells |
| PreBuilt/prebuilt.TPWS:map flags | source/OpenTPW/World/ThemeParkIncLand.cs:109 | [DATA:PreBuilt/prebuilt.TPWS:map flags] the prebuilt Science park's 1259 squares without 0x40 are exactly the science hoardings.map's 0 bytes off the border, and no square carries a fence post |
| Rides.sam:Info.WhichUIType | source/OpenTPW/Hud/HudStubs.cs:173 | [DATA:Rides.sam:Info.WhichUIType] |
| Rides.sam:UsageInfo.ExcitementLevel | source/OpenTPW/Hud/HudStubs.cs:170 | [DATA:Totem.sam:UsageInfo.ExcitementLevel] overrides [DATA:Rides.sam:UsageInfo.ExcitementLevel] |
| SaveThingBase | source/OpenTPW/Economy/OriginalEconomyImport.cs:516 | [DATA:SaveThingBase] exact base position is in 1/256-cell units, including the sub-cell offset. |
| Seasons | source/OpenTPW.Tests/ThemeParkIncWeatherTests.cs:234 | [DATA:Seasons] every season storms: a month that rolls freak weather rolls a storm. |
| Standard.sam:Costs.KartTrackCell/WaterTrackCell | source/OpenTPW/World/Tracks/TrackBuilder.cs:40 | [DATA:Standard.sam:Costs.KartTrackCell/WaterTrackCell] one cell cost per tile, charged when the tile is written; the original spends nothing while the free-build byte 0x7DE2D is set (PATH-009) |
| Standard.sam:Costs.QueueCell | source/OpenTPW/World/Level.Objects.cs:1437 | [DATA:Standard.sam:Costs.QueueCell] charged per cell when written (ParkEconomy.TrySpendCell, PATH-plan §3.2) |
| Standard.sam:FixedItemInfo lanes | source/OpenTPW/Client/M3Gate.cs:377 | [DATA:levels/<theme>/terrain/base.map:InitialPath] [DATA:Standard.sam:FixedItemInfo lanes] |
| Standard.sam:FixedItemInfo lanes | source/OpenTPW/Client/M4GateRun.cs:259 | [DATA:levels/<theme>/terrain/base.map:InitialPath] [DATA:Standard.sam:FixedItemInfo lanes] |
| Standard.sam:ThemeEngine.BackColour | source/OpenTPW/World/Sky.cs:744 | [DATA:Standard.sam:ThemeEngine.BackColour] 0 in Theme Park Inc's levels |
| Standard.sam:WeatherEffects.LightningTime | source/OpenTPW/World/ParkWeather.cs:101 | [DATA:Standard.sam:WeatherEffects.LightningTime] 2000 ms in every shipped layer; presentation only, never read by the simulation |
| THEMENAMES.str entries 0 to 3 | source/OpenTPW/UI/Original/ThemeParkIncText.cs:52 | [DATA:THEMENAMES.str entries 0 to 3] the four records read "Land of Invention", "Polar Zone", "Intro World" and "Arabian Nights" in the English table ("Land van Ontdekkingen", "Poolzone", "Intro World", "1001 Nacht" in Dutch): the science, water, intro-world and arabian zones; the exe's world name table (0x9d53b4) is in a different order (arabian, science, water, intro), so the pairing is read off the names |
| THEMENAMES.str:entries 0..3 | source/OpenTPW/World/Original/OriginalGateSign.cs:83 | [DATA:THEMENAMES.str:entries 0..3] Lost Kingdom, Halloween World, Wonder Land, Space Zone. |
| TPWORLD.ISO and retail install | source/OpenTPW.Files/Public/DataOverlay.cs:147 | <summary>[DATA:TPWORLD.ISO and retail install] global music and the four theme music banks.</summary> |
| TPWORLD.ISO and retail install:Data/Movies | source/OpenTPW.Files/Public/DataOverlay.cs:144 | <summary>[DATA:TPWORLD.ISO and retail install:Data/Movies] the nine shipped movies.</summary> |
| Theme Park World Bonus Stuff/Bonus content/levels///nameN.wad | source/OpenTPW/Online/ParkSnapshotBuilder.cs:114 | <summary>[DATA:Theme Park World Bonus Stuff/Bonus content/levels///nameN.wad] Bonus archives start with '_'.</summary> |
| Totem.sam:Info.Shape | source/OpenTPW/World/PrototypeRide.cs:83 | [DATA:Totem.sam:Info.Shape] 3×4 cells = 30×40 MD2 units, centred |
| Totem.sam:Upgrades[0].CostOfUpgrade | source/OpenTPW/Hud/HudStubs.cs:166 | [DATA:Totem.sam:Upgrades[0].CostOfUpgrade] (FallbackCost only when the file is missing) |
| Totem.sam:UsageInfo.ExcitementLevel | source/OpenTPW/Hud/HudStubs.cs:170 | [DATA:Totem.sam:UsageInfo.ExcitementLevel] overrides [DATA:Rides.sam:UsageInfo.ExcitementLevel] |
| Tp2.plb | source/OpenTPW/World/Particles/ParticleState.cs:32 | [DATA:Tp2.plb] the shipped templates' render flags are 0, 0x4, 0x2000 and 0x2004 only (105 templates): no template sets 0x20000 or 0x4000 |
| UIHELPTEXT 193 "Left-click to open the park (Ctrl-O)", 194 "Left-click to close the park (Ctrl-C)" | source/OpenTPW/Hud/ParkHud.cs:1130 | [DATA:UIHELPTEXT 193 "Left-click to open the park (Ctrl-O)", 194 "Left-click to close the park (Ctrl-C)"] |
| UIHELPTEXT 193/194 | source/OpenTPW/Hud/ParkHud.Management.cs:221 | [DATA:ui.wad b_door] [DATA:UIHELPTEXT 193/194] the help names the action the click performs (open when closed, close when open) |
| UIHELPTEXT 444 "Left-click to edit this queue", 445 "Left-click to build the queue, click again to stop building / Click onto path to connect the queue to it" | source/OpenTPW/World/Level.Input.cs:532 | [DATA:UIHELPTEXT 444 "Left-click to edit this queue", 445 "Left-click to build the queue, click again to stop building / Click onto path to connect the queue to it"] [BIN:STP-PPC:0x139c64 park-view hover] queue cell → hover state 3 (PATH-plan §4.1) |
| UITEXT.str:125-133 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:54 | [DATA:UITEXT.str:125-133] stats-frame labels per category (the enum names these by their other uses) |
| UITEXT.str:125-133 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:261 | [DATA:UITEXT.str:125-133] the labels per category (rides list five values, as the five rows of frame 493) |
| UITEXT.str:364,365 | source/OpenTPW/Hud/OverviewRosters.cs:25 | [DATA:UITEXT.str:364,365] the original status labels; which status the original list showed per state — evidence needed: the original all-attractions list |
| UITEXT.str:392-395 | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:325 | [DATA:UITEXT.str:392-395] the original delete confirmations name the category. |
| coaster.sam:asPylonControls[1] | source/OpenTPW/World/Coasters/CoasterDefinition.cs:571 | [DATA:coaster.sam:asPylonControls[1]] only coasters whose settings name a second pylon control offer loop pylons (9 of the 12 PC coasters) |
| coaster.sam:sCoasterType.fInitialPylonLoftHeight | source/OpenTPW/World/Coasters/CoasterBuilder.cs:106 | [DATA:coaster.sam:sCoasterType.fInitialPylonLoftHeight] the height a new pylon starts at (10 by default, 20 for several PC coasters) |
| coaster.sam:sTrainType.uiMaxCars | source/OpenTPW/World/Coasters/CoasterDefinition.cs:547 | [DATA:coaster.sam:sTrainType.uiMaxCars] |
| esprites.wad/<theme>/Costumeheads/SPR_xx.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:292 | [DATA:esprites.wad/<theme>/Costumeheads/SPR_xx.ESP+TPC] 8 frames × 7 directions like the kid heads; Fantasy and Hallow ship none |
| esprites.wad/<theme>/Costumes/SPR_xx.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:288 | [DATA:esprites.wad/<theme>/Costumes/SPR_xx.ESP+TPC] Jungle SPR_TI, Fantasy SPR_BK, Hallow SPR_HK (175 frames like the kids), Space SPR_SK (135 frames, its own slot table) |
| esprites.wad/Generic/Balloons/SPR_BL.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:296 | [DATA:esprites.wad/Generic/Balloons/SPR_BL.ESP+TPC] 8 frames: four colours (slots 0 red, 1 green, 2 blue, 3 yellow), each the whole balloon then its burst; no directions |
| esprites.wad/Generic/Balloons/Spr_bl.esp | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:10 | [DATA:esprites.wad/Generic/Balloons/Spr_bl.esp] four slots with frames (0..3), as Theme Park World's SPR_BL; the litter table 0x9D0614 holds one type per colour (9, 0xC, 0xB, 0xA) |
| esprites.wad/Generic/Kidsheads/SPR_xx.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:258 | [DATA:esprites.wad/Generic/Kidsheads/SPR_xx.ESP+TPC] heads are 8 frames × 7 directions (docs/GUESTS.md); the 5-direction selection of kid sets is reused |
| esprites.wad/Generic/Litter/SPR_LI.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:304 | [DATA:esprites.wad/Generic/Litter/SPR_LI.ESP+TPC] 8 frames, no directions: slots 0-4 the ordinary kinds (frames 0-4), slot 5 frame 5 the fallback, slot 6 frame 7 and slot 7 frame 6 (the 34 x 21 puddle) the two special kinds |
| esprites.wad/Generic/Particles/SPR_PA.ESP | source/OpenTPW/World/Particles/ParticleSpriteAtlas.cs:12 | [DATA:esprites.wad/Generic/Particles/SPR_PA.ESP] the template frame counts match the animation lengths: code 11 and 12 are 16 frames, 5 is 14, 3 is 8, 13 is 6, 14 is 9, 15 is 1 |
| esprites.wad/Generic/SpecialFX/SPR_SF.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:308 | [DATA:esprites.wad/Generic/SpecialFX/SPR_SF.ESP+TPC] one 32 x 39 frame (slot 0) whose hotspot lies 85 pixels below its top edge: a blue balloon with a yellow up arrow |
| esprites.wad/Generic/Thoughts/SPR_TB.ESP+TPC,SPR_TC.ESP+TPC | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:300 | [DATA:esprites.wad/Generic/Thoughts/SPR_TB.ESP+TPC,SPR_TC.ESP+TPC] TB: 16 bubbles, slot n is frame n; TC: 10 frames, its slots 0-9 show frames 0, 1, 8, 9, 7, 2, 3, 4, 5, 6 (the staff's bubbles, a thumb up and four arrows) |
| esprites.wad/Generic/{Kids,Parents,Grandparents}/SPR_xx.ESP | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:37 | [DATA:esprites.wad/Generic/{Kids,Parents,Grandparents}/SPR_xx.ESP] byte 0x10D: BD 0, GB 1, GK 1, KB 0; FA 0, MO 1; GM 1, GR 0 |
| gates.RSE | source/OpenTPW.Tests/ParkGateTests.cs:80 | [DATA:gates.RSE] VAR_COMMAND is the first declared variable and VAR_STATUS the second; |
| gates.RSE VAR_COMMAND | source/OpenTPW/World/ParkGate.cs:36 | <summary>The gate script's command variable ([DATA:gates.RSE VAR_COMMAND]; written 1 to open, 0 to close).</summary> |
| gates.RSE VAR_COMMAND | source/OpenTPW/World/ParkGate.cs:149 | <summary>The gate's command of the end-of-park sequence ([DATA:gates.RSE VAR_COMMAND] 2).</summary> |
| gates.RSE VAR_STATUS | source/OpenTPW/World/ParkGate.cs:39 | <summary>The gate script's state variable ([DATA:gates.RSE VAR_STATUS]; 1 while the gate stands open).</summary> |
| global/Speech/lips.wad | source/OpenTPW/World/Advisor.cs:23 | [DATA:global/Speech/speechHD.SDT] [DATA:global/Speech/lips.wad] |
| global/Speech/lips.wad:members sp_001–sp_637 | source/OpenTPW/World/Advisor.cs:30 | [DATA:global/Speech/lips.wad:members sp_001–sp_637] |
| global/Speech/speechHD.SDT | source/OpenTPW/World/Advisor.cs:23 | [DATA:global/Speech/speechHD.SDT] [DATA:global/Speech/lips.wad] |
| global/advisor.wad:Advisor.MD2 | source/OpenTPW/World/Advisor.cs:21 | [DATA:global/advisor.wad:Advisor.MD2] |
| global/advisor.wad:Advisor.MD2:node names | source/OpenTPW/World/Advisor.cs:33 | [DATA:global/advisor.wad:Advisor.MD2:node names] the meshes shown without any accessory; every other mesh (hats, spatula, bow tie, blink meshes, level props) starts hidden, as the clips' node lists hide them (AdvisorAccessories.IsBaseMesh) |
| global/sound,levels//Sound cat_BANK.map | source/OpenTPW/Audio/SoundEvents.cs:73 | [DATA:global/sound,levels//Sound cat_BANK.map] no shipped bank record carries 0x20 (flags 1, 2, 4, 0x41, 0x42), and every shipped name resolves under the map folder's parent |
| global/sound,levels//Sound cat_SFX.map | source/OpenTPW/Audio/SoundEvents.cs:537 | [DATA:global/sound,levels//Sound cat_SFX.map] 1,343 shipped sounds have no pitch range; the chain, scream and crowd sounds draw 0..6 (steps 0-5 are played), the others signed ranges from -24..36 to -2..0 |
| global/sound/cat_ambientSFX.map | source/OpenTPW/Audio/SoundEvents.cs:775 | [DATA:global/sound/cat_ambientSFX.map] events 7 and 8 (the waterfall and river) are one-shots (no 0x4) flagged 0x8 |
| jungle Bouncy.sam + Rides.sam | source/OpenTPW.Tests/GuestAssetTests.cs:517 | [DATA:jungle Bouncy.sam + Rides.sam] HasQueue, RunsContinuously, CAP 5, DUR 30, InitSpeed 60, QWTC 130 (QUEUE-plan §9). |
| levels/*/scape.omp | source/OpenTPW/Audio/GameAudio.cs:439 | [DATA:levels/*/scape.omp] type 1 records: word 1 the category (nought: global cat_ambient), word 2 the effect, words 3-5 the place, word 6 the range (x2/1024) |
| levels/<level>/global.sam:ParkName.GateObjectId | source/OpenTPW/Client/SignExport.cs:175 | [DATA:levels/<level>/global.sam:ParkName.GateObjectId] the gate shows the park name, never its type sign (SignSlotPlan.For) |
| levels/<level>/global.sam:ParkName.GateObjectId | source/OpenTPW/World/Level.cs:82 | [DATA:levels/<level>/global.sam:ParkName.GateObjectId] |
| levels/<level>/global.sam:ParkName.GateObjectId | source/OpenTPW/World/Objects/ObjectSigns.cs:542 | [DATA:levels/<level>/global.sam:ParkName.GateObjectId] the level names its gate, whether or not its sign could be drawn; without that line the fixed item named "gates" stands in |
| levels/<level>/global.sam:ParkName.GateObjectId | source/OpenTPW/World/Original/OriginalGateSign.cs:121 | [DATA:levels/<level>/global.sam:ParkName.GateObjectId] |
| levels/<theme>/Standard.sam:SkyObjects | source/OpenTPW/World/Sky.cs:139 | [DATA:levels/<theme>/Standard.sam:SkyObjects] hallow: moon.tga (2, 11, 15) size 5 behind the sky; space: moon.tga (1, 12, 13) size 5.5 and moon2.tga (15, 13, 1) size 3.5 in front of it; jungle and fantasy have none |
| levels/<theme>/Standard.sam:ThemeEngine.FogColour | source/OpenTPW/World/Sky.cs:716 | [DATA:levels/<theme>/Standard.sam:ThemeEngine.FogColour] jungle and fantasy 4774136 (0x48D8F8), hallow 1122884 (0x112244), space 16286768 (0xF88430) |
| levels/<theme>/sky/*.tga | source/OpenTPW/World/Sky.cs:600 | [DATA:levels/<theme>/sky/*.tga] the three files have a descriptor without the top-origin bit; sky_cyl.tga's haze (alpha 24) is its last stored rows and the cylinder's top ring reads v 0.99 and 0.49, so the engine reads rows in file order and the haze joins the cloud layer at the top |
| levels/<theme>/terrain/base.map:InitialPath | source/OpenTPW/Client/M3Gate.cs:377 | [DATA:levels/<theme>/terrain/base.map:InitialPath] [DATA:Standard.sam:FixedItemInfo lanes] |
| levels/<theme>/terrain/base.map:InitialPath | source/OpenTPW/Client/M4GateRun.cs:259 | [DATA:levels/<theme>/terrain/base.map:InitialPath] [DATA:Standard.sam:FixedItemInfo lanes] |
| levels/Standard.sam:BankAccountInfo.* (layered) | source/OpenTPW/Economy/BalanceSettings.cs:72 | [DATA:levels/Standard.sam:BankAccountInfo.* (layered)] |
| levels/Standard.sam:EntertainerConstsPerGrade[g].ActivationDistance | source/OpenTPW/Economy/BalanceSettings.cs:82 | [DATA:levels/Standard.sam:EntertainerConstsPerGrade[g].ActivationDistance] the square an entertainer looks around for guests before he performs (0x007853A0 + 16 × grade) |
| levels/Standard.sam:FixedItemInfo.StrikeAreaStartX/Y, StrikeAreaSizeX/Y | source/OpenTPW/Economy/BalanceSettings.cs:84 | [DATA:levels/Standard.sam:FixedItemInfo.StrikeAreaStartX/Y, StrikeAreaSizeX/Y] the rectangle striking staff walk to (0x007855EC..0x007855F8) |
| levels/Standard.sam:FixedItemInfo.TicketBoothAPosX..EntranceBPosY | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:213 | [DATA:levels/Standard.sam:FixedItemInfo.TicketBoothAPosX..EntranceBPosY] the gate cells at 0x0078559C.. (ticket booths) and 0x007855BC.. (entrances), cell id y × 128 + x + 1 |
| levels/Standard.sam:PeepInfo.ExcitementToCostDivisor/MinimumEntryFee/CheapPriceMultiplier/AveragePriceMultiplier/ExpensivePriceMultiplier | source/OpenTPW/World/Guests/GuestSettings.cs:163 | [DATA:levels/Standard.sam:PeepInfo.ExcitementToCostDivisor/MinimumEntryFee/CheapPriceMultiplier/AveragePriceMultiplier/ExpensivePriceMultiplier] the key table's consecutive records 0x0073FF80..0x00740070 fill the words 0x0078507C..0x0078508C read by the booth verdict 0x004FF5B0 |
| levels/Standard.sam:PeepInfo.OpinionFor* | source/OpenTPW/World/Guests/GuestSettings.cs:170 | [DATA:levels/Standard.sam:PeepInfo.OpinionFor*] the key table's records 0x00740430..0x007404E4 (schema indices 32 to 35) fill the bytes 0x007850CC..0x007850D8 the booth verdict records in perception ring 0 |
| levels/Standard.sam:PeepInfo.PrankeryLikelihood/StinkbombLikelihood | source/OpenTPW/World/Guests/GuestSettings.cs:179 | [DATA:levels/Standard.sam:PeepInfo.PrankeryLikelihood/StinkbombLikelihood] the key table's words 0x007850DC and 0x007850E0 (schema indices 36 and 37); the file's PrankHappinessThreshold and PrankLikelihood have no key in tp.exe (the code uses 15 and the flag against R % 101) |
| levels/Standard.sam:PerGradeStaffConsts[g].IdleDuration, HandymanConstsPerGrade[g].DetectionRange | source/OpenTPW/Economy/BalanceSettings.cs:79 | [DATA:levels/Standard.sam:PerGradeStaffConsts[g].IdleDuration, HandymanConstsPerGrade[g].DetectionRange] the idle spell (0x00785330 + 16 × grade) and the handyman's search range (0x007853F0 + 12 × grade) |
| levels/Standard.sam:PerGradeStaffConsts[g].RecuperationRate/HappinessRecuperationRate, AllStaffConstants.RestLevel/HappyHitCosNoRestArea | source/OpenTPW/Economy/BalanceSettings.cs:77 | [DATA:levels/Standard.sam:PerGradeStaffConsts[g].RecuperationRate/HappinessRecuperationRate, AllStaffConstants.RestLevel/HappyHitCosNoRestArea] read as singles: the rest step 0x100F3D8C adds the two rates at settings +756/+760 + 16 g to a staff member's energy and happiness, RestLevel (+740) and the missing-rest-area happiness hit (+744) are the words 0x100F4900 compares and subtracts |
| levels/Standard.sam:RegionFX[0..7].Radius/Happiness/Illness/Hunger/Security/Attraction | source/OpenTPW/World/ParkEnvironment.cs:24 | [DATA:levels/Standard.sam:RegionFX[0..7].Radius/Happiness/Illness/Hunger/Security/Attraction] the effect table the writer reads at cell manager +0x1D9104 + 12 × index (five words, the radius byte at +10; tp.exe 0x004D8480, the Mac 0xd73a0) |
| levels/hallow/features/firework/Firework.RSE, levels/space/features/slaser/slaser.RSE | source/OpenTPW/Economy/ParkEconomy.cs:970 | [DATA:levels/hallow/features/firework/Firework.RSE, levels/space/features/slaser/slaser.RSE] both shows run COPY VAR_STATUS 1 once after the show, then ENDSLICE for good; Info.IsChoosable is 0, so no guest uses a show and the admission writer 0x004E0900 (which writes variable 0 for the admitted guest) never meets one: the variable runs 0, 1, 2 once |
| levels/hallow/rides/gokarts gk_trckH*m.MD2 | source/OpenTPW/World/Tracks/TrackRenderer.cs:803 | [DATA:levels/hallow/rides/gokarts gk_trckH*m.MD2] only texture-coordinate tracks are drawn, which is all the shipped piece clips need: the water clips and the space kart clips carry texture-coordinate tracks, the Crypt Karts' bridge clips (gk_trckH, _u, _d and a with their m members) carry no node track and one texture-frame track on slot 0 (htrkunder.tga, a slot of one frame) whose 20 keys all name frame 0, so the clip update (0xa56f8) rewrites the frame the slot already shows, and no other member of the archive animates the flame slot 7 (fire0.tga..flame2.tga); TrackPieceClipDataTests |
| levels/jungle/Easymode.TPWI:COAS | source/OpenTPW.Tests/OriginalCoasterSaveTests.cs:372 | [DATA:levels/jungle/Easymode.TPWI:COAS] the only original Theme Park World save fixture holds the empty coaster boundary, pinned by its SHA-256 from the rides lane |
| levels/science/Standard.sam:WeatherEffects.* | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:11 | [DATA:levels/science/Standard.sam:WeatherEffects.*] the storm timers and the bolt's drawn lifetime; the |
| levels/science/Standard.sam:WeatherEffects.LightningTime | source/OpenTPW/World/Weather/WeatherRenderer.cs:361 | [DATA:levels/science/Standard.sam:WeatherEffects.LightningTime] how long a bolt stays drawn. |
| levels/space/rides/megacost.wad/megacost.sgn:slot 1 = "EggIt Italic"/EGGII___.TTF, not in fonts.wad | source/OpenTPW.Files/Public/DataCorrections.cs:18 | [EXT:COMPAT-FIX sign-font-substitution] [DATA:levels/space/rides/megacost.wad/megacost.sgn:slot 1 = "EggIt Italic"/EGGII___.TTF, not in fonts.wad] |
| lobby.txt:ISLANDCAMERAPOSITION slots 0-9 | source/OpenTPW/FrontEnd/LobbyDefinition.cs:123 | [DATA:lobby.txt:ISLANDCAMERAPOSITION slots 0-9] every slot is defined, so this fallback is unreachable with the shipped data; kept as a defensive default |
| lobby.wad:<theme>.txt ISLAND/SKYCOLOUR/FLYINGMESH/RAINY/LIGHTNING | source/OpenTPW/FrontEnd/LobbyDefinition.cs:98 | [DATA:lobby.wad:<theme>.txt ISLAND/SKYCOLOUR/FLYINGMESH/RAINY/LIGHTNING] |
| lobby.wad:globe/globe.MD2 + Lo_glo1–24 | source/OpenTPW/World/Lobby/GlobeScene.cs:59 | [DATA:lobby.wad:globe/globe.MD2 + Lo_glo1–24] tile i covers column (i − 1) mod 6 and row (i − 1) div 6 of a world map; vertex UVs put column c at atan2(x, z) = 180° − 60°·c and row r between 90° − 45°·r and 45° − 45°·r latitude |
| lobby.wad:lobby.txt GLOBERADIUSOUT/GLOBERADIUSIN | source/OpenTPW/FrontEnd/LobbyDefinition.cs:50 | [DATA:lobby.wad:lobby.txt GLOBERADIUSOUT/GLOBERADIUSIN] the online globe's two camera distances; defaults equal the shipped values |
| lobby.wad:lobby.txt ISLANDFOV/SPINSPEED/SPINRADIUS/VERTICALOFFSET | source/OpenTPW/FrontEnd/LobbyDefinition.cs:45 | [DATA:lobby.wad:lobby.txt ISLANDFOV/SPINSPEED/SPINRADIUS/VERTICALOFFSET] defaults equal the shipped values |
| lobby.wad:terrain | source/OpenTPW/World/Lobby/LobbySigns.cs:14 | [DATA:lobby.wad:terrain] the .sgn files are Jun_isle.sgn, Hal_isle.sgn, Fan_gate.sgn and Spa_gate.sgn, exactly the four models with sign1/sign2 materials (no language variant) |
| low.sam/med.sam/high.sam | source/OpenTPW.Tests/CompatibilityTests.cs:171 | [DATA:low.sam/med.sam/high.sam] in file order (TEXTUREQUALITY .. LOBBYOBJECTS). |
| low.sam/med.sam/high.sam:comment legend | source/OpenTPW/Compat/GraphicsSettings.cs:21 | ([DATA:low.sam/med.sam/high.sam:comment legend]). |
| low.sam:GameOptions.PARTICLEDENSITY | source/OpenTPW/World/Particles/ParticleSystem.cs:50 | [DATA:low.sam:GameOptions.PARTICLEDENSITY] 500 (med.sam 1000, high.sam 1500) |
| low/med/high.sam:TEXTUREFILTERING, MIPMAP | source/OpenTPW/Render/Assets/ColorSampler.cs:10 | World textures follow the graphics preset ([DATA:low/med/high.sam:TEXTUREFILTERING, MIPMAP]); see docs/COMPATIBILITY.md. |
| options table 0x4b0dc | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:275 | [DATA:options table 0x4b0dc] control rectangles of the original page; meanings from the supplied PC capture |
| options table 0x4b0dc:120020 | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:194 | [DATA:options table 0x4b0dc:120020] title text rectangle |
| options table 0x4b0dc:120031,OK,Cancel | source/OpenTPW/UI/Original/Options/ModsScreen.cs:426 | [DATA:options table 0x4b0dc:120031,OK,Cancel] bottom-right panel with the OK and Cancel buttons, as on the options pages |
| options table 0x4b0dc:120031,OK,Cancel | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:413 | [DATA:options table 0x4b0dc:120031,OK,Cancel] bottom-right panel with the OK and Cancel buttons |
| sound.sam:SoundInfo.DEFAULTQUALITY,SoundInfo.FADETOGGLE | source/OpenTPW/Audio/HeldSoundLifecycle.cs:6 | [DATA:sound.sam:SoundInfo.DEFAULTQUALITY,SoundInfo.FADETOGGLE] supplied defaults 50/30; descriptors 9/10 bind 0x78591C/0x785920. |
| sound.sam:SoundInfo.DUCKINGLEVEL | source/OpenTPW/Audio/GameAudio.cs:271 | [DATA:sound.sam:SoundInfo.DUCKINGLEVEL] the percentage music and effects keep while speech plays (38 in the shipped file) |
| speechHD.SDT/MusicHD.sdt:all Layer II frames fit this table to ≤23 spare bits | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:52 | [DATA:speechHD.SDT/MusicHD.sdt:all Layer II frames fit this table to ≤23 spare bits] |
| speechHD.SDT:entry word 0 = header size (40) | source/OpenTPW/World/Advisor.cs:303 | [DATA:speechHD.SDT:entry word 0 = header size (40)] |
| theme-park-world_win_manual_europe_en_ii5.pdf:PDF-page-15/printed-page-28; SHA256=c96eb25f3dc13f7f0824bbf03f9bbeb3bb94e9f4756d4d8dfa09ac71732b0668 | source/OpenTPW/Economy/ParkObjectives.cs:698 | [DATA:theme-park-world_win_manual_europe_en_ii5.pdf:PDF-page-15/printed-page-28; SHA256=c96eb25f3dc13f7f0824bbf03f9bbeb3bb94e9f4756d4d8dfa09ac71732b0668] |
| tp.exe HUD table 0x752940 | source/OpenTPW/Hud/ParkHud.cs:394 | [DATA:tp.exe HUD table 0x752940] shell 0x1e (guage, host alias gauge), help477; child 0x1f at (85,1100)-(144,1324) has its own absolute rectangle. |
| tp.exe table 0x752e30 | source/OpenTPW/Hud/ParkHud.cs:296 | [DATA:tp.exe table 0x752e30] the cash text colour steps through six colours as the balance falls: index (balance + 999) / 1000 clamped to 0..5 |
| ui.wad b_door | source/OpenTPW/Hud/ParkHud.Management.cs:221 | [DATA:ui.wad b_door] [DATA:UIHELPTEXT 193/194] the help names the action the click performs (open when closed, close when open) |
| ui.wad mb_locate, mb_callmech, mb_resrch, mb_buy, mb_accept, mb_decline | source/OpenTPW/Hud/ParkHud.MessageTube.cs:419 | [DATA:ui.wad mb_locate, mb_callmech, mb_resrch, mb_buy, mb_accept, mb_decline] the six models the panel's action buttons can take (the table gives those buttons no fixed model) |
| ui.wad sad_undec.wct, hap.wct | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:270 | [DATA:ui.wad sad_undec.wct, hap.wct] sad_undec.wct is 32 x 32 with a blue top half (the bar) and an orange bottom half (the track); hap.wct has a fully transparent top half and a yellow bottom half, so its bar clears the first (100 - happy) percent of the rectangle and its track leaves the happy share yellow: blue, orange, yellow from the left |
| ui.wad:b_callmech,b_callhandy | source/OpenTPW/Hud/ParkHud.Maintenance.cs:13 | [DATA:ui.wad:b_callmech,b_callhandy] the original's call buttons (with their pressed frames b_callmechd, b_callhandyd) |
| ui.wad:button UVs v 0.42..1 vs art in the top 58% | source/OpenTPW/UI/Original/UiModel.cs:187 | [DATA:ui.wad:button UVs v 0.42..1 vs art in the top 58%] V flipped as in the 3D shaders |
| ui.wad:f_chat | source/OpenTPW.Tests/OriginalUiAssetTests.cs:197 | [DATA:ui.wad:f_chat] the root mesh's parts: f_chat1 the left column (x 0..543, y 0..1150), f_chat2 under it (y 1150..1536) and f_chat3 the |
| ui.wad:f_chat.MD2,w_map.MD2 bounds | source/OpenTPW/UI/Original/UiCanvas.cs:25 | [DATA:ui.wad:f_chat.MD2,w_map.MD2 bounds] full-screen UI frames span 2048×1536 |
| ui.wad:f_screen | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:184 | [DATA:ui.wad:f_screen] the full-screen frame with the tiled wave background |
| ui.wad:mainpanel,gauge,date,panel MD2 roots | source/OpenTPW/Hud/ParkHud.cs:379 | [DATA:ui.wad:mainpanel,gauge,date,panel MD2 roots] authored HUD rectangles |
| video 0:40-1:10, 78:30-78:40 | source/OpenTPW/World/Lobby/LobbyEffects.cs:214 | [DATA:video 0:40-1:10, 78:30-78:40] the lobby's cloud layer is tinted per island (light grey for Lost Kingdom, pink for Wonderland, dark for Halloween World and Space Zone), which the red-toward-blue colour gives, over a cyan clear colour |
| video 10:00, 28:00 | source/OpenTPW/UI/Original/UiScreen.cs:467 | [DATA:video 10:00, 28:00] the pause overlay and the new-player dialog darken the scene behind them, as every modal screen does here |
| video 12:00 hire window | source/OpenTPW/Hud/ParkHud.Staff.cs:283 | [DATA:video 12:00 hire window] Inkomsten, - Werknemerskosten, - Overige kosten and Saldo; Saldo follows the selected candidate and the two cost rows are red |
| video 12:00 hire window | source/OpenTPW/Hud/ParkHud.Staff.cs:379 | [DATA:video 12:00 hire window] the applicant view shows no name or grade: the strip under the portrait is the Vaardigheid (skill) gauge (control 9346); the employee view (EXT) keeps name and grade there |
| video 15:20 | source/OpenTPW/Hud/ParkHud.cs:381 | [DATA:video 15:20] the message tube (red, left of the HUD) with its icons, and the buttons of the green slide-out panel: the bomb deletes the opened message, the red cross closes the panel |
| video 15:20 | source/OpenTPW/UI/Original/SupplementaryStrings.cs:832 | [DATA:video 15:20] the Dutch line is the original's own help text of a tube message; the other five languages are translated from it |
| video 15:20 hover help | source/OpenTPW/Hud/ParkHud.MessageTube.cs:390 | [DATA:video 15:20 hover help] "Bericht - klik links om te openen, klik rechts om te verwijderen": a left click opens the message, a right click deletes it |
| video 15:20, 1:50, 12:00 | source/OpenTPW/Hud/ParkHud.Cursor.cs:17 | [DATA:video 15:20, 1:50, 12:00] in the park the pointer is a white glove, over windows a yellow arrow, over an invalid build spot a red no-entry sign; a placement shows the placing pointer; in the camcorder and the ride view a yellow "+" crosshair (77:10) |
| video 15:20, 51:40 ride window | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:159 | [DATA:video 15:20, 51:40 ride window] the gauges are red-to-green bars (UiGauge), not percentages; an unknown value draws the empty track |
| video 15:20, 73:21 | source/OpenTPW/Hud/ParkHud.cs:407 | [DATA:video 15:20, 73:21] the trend arrow beside the cash is red and points down after spending |
| video 17:20 buy list | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:22 | [DATA:video 17:20 buy list] ten rows with no scrolling: a text pitch of 175 px / 9 = 19.4 px at 720p, 41.4 +- 1 virtual units; the first band starts at about 423 and the tenth ends at about 837, leaving about 34 units of the region empty |
| video 1:50 and 30:00 buy window | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:40 | [DATA:video 1:50 and 30:00 buy window] the third column (1673,1724) holds the i_boxtick model per row; the control 491 is the footprint thumbnail (BuyFootprint) |
| video 1:50 buy window | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:122 | [DATA:video 1:50 buy window] four rides and no scroll bar, track or arrows; at 17:20 the longer features list shows them |
| video 1:50 buy window | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:284 | [DATA:video 1:50 buy window] Levensduur shows a short red stub (about a tenth) and Betrouwbaarheid an even shorter one: WearRate 5 is 51 of 1024, the working life 100 |
| video 1:50 buy window | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:435 | [DATA:video 1:50 buy window] the type-9 value cells are the ridestatbar.wct gauges (UiGauge); the bar fills the cell less 10 units top and bottom (0x4ab9dd) |
| video 22:07-22:08 | source/OpenTPW/Hud/ParkHud.Management.cs:69 | [DATA:video 22:07-22:08] a mini balance on the left (Inkomsten, Werknemerskosten, Overige kosten, Saldo) and five role rows with a role icon, a "$ n" value with the minus and plus buttons and a skill gauge |
| video 27:42-27:47 | source/OpenTPW/Hud/ParkHud.cs:815 | [DATA:video 27:42-27:47] large cyan text lines, white while focused, over the dimmed park: Laden, Opslaan, Park Herstarten, Park Publiceren, Opties, Spel Hervatten, Terug naar de Lobby, Spel Stoppen |
| video 27:42-27:47, 27:59-28:03 | source/OpenTPW/UI/Original/UiDialogs.cs:179 | [DATA:video 27:42-27:47, 27:59-28:03] the pause menus have no window frame and no title |
| video 27:59-28:03 lobby pause menu | source/OpenTPW/FrontEnd/FrontEndMenu.cs:140 | [DATA:video 27:59-28:03 lobby pause menu] On-line gaan, Opties, Nieuwe Speler Selecteren, Spel Hervatten, Spel Stoppen |
| video 28:00 | source/OpenTPW/UI/Original/UiDialogs.cs:36 | [DATA:video 28:00] the message text sits below the caption and left of the buttons; the table's two text fields belong to the name dialog, so that rectangle is read off the video |
| video 28:00 | source/OpenTPW/UI/Original/UiDialogs.cs:69 | ([DATA:video 28:00]), so for a long translation its clip is not the original's |
| video 28:00, 28:04, 28:40 | source/OpenTPW/UI/Original/UiDialogs.cs:35 | [DATA:video 28:00, 28:04, 28:40] the dialogs measure (527..1491, 247..854) in a 954x720 game area, with the tick and X at the right and no text buttons |
| video 2:05, 74:00-76:00 | source/OpenTPW/Hud/ParkHud.cs:318 | [DATA:video 2:05, 74:00-76:00] "$ 2500" while the blueprint of a 2500 ride is held, "$ 150" in the path tool, "$ 10000" for the coaster station and "$ 70" to "$ 130" per track segment; absent outside the build tools even when the balance changes |
| video 3:00, 3:20 help box | source/OpenTPW/UI/Original/UiScreen.cs:483 | [DATA:video 3:00, 3:20 help box] the box measures 569..1475 by 1436..1515 for one line and for two, grass shows through it at about 67 % black (the art's own alpha) |
| video 40:40-41:30, 73:21 | source/OpenTPW/Hud/ParkHud.cs:340 | [DATA:video 40:40-41:30, 73:21] the counters show the count followed by an x (the string below) and each row shows only while its count is above zero: a first session has neither, the ticket row appears above the key row after the first ticket |
| video 4:00, 10:40, 23:40, 24:20, 77:09, 78:20 | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:16 | [DATA:video 4:00, 10:40, 23:40, 24:20, 77:09, 78:20] the windows of Belly Bounce, Tempel der Duisternis, Wilde Aap, Drankwinkel, Klein Toilet and IJswinkeltje have this layout (title in yellow, preview, seven rows, bottom row of round buttons, right column of arrows, list and tick); labels and values are white |
| video 77:09, 24:20 | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:213 | [DATA:video 77:09, 24:20] the values are white in the object windows ("23 dagen", "$ 10000"), not green |
| video 77:09-77:24 | source/OpenTPW/Hud/ParkHud.RideView.cs:183 | [DATA:video 77:09-77:24] the pointer inside the camcorder is a small yellow "+" crosshair (about 16 px at 720p), not the c_cam art |
| video 77:09-77:24 | source/OpenTPW/World/Level.RideView.cs:24 | <summary>True while the ride view or the camcorder walk is open: the original's camcorder hides every interface layer but the viewfinder, the eject button and the advisor ([DATA:video 77:09-77:24]).</summary> |
| video 78:41 lobby | source/OpenTPW/FrontEnd/FrontEndMenu.cs:104 | [DATA:video 78:41 lobby] the panel measures (26,859)-(468,1514), the globe button's centre (142,1026), the gate button's (142,1187), the arrows' (167,1374) and (335,1374), the name in large yellow centred in the field; there is no logo, no title and no menu column |
| video 78:47-78:48 | source/OpenTPW/Client/GameFlow.cs:1267 | [DATA:video 78:47-78:48] the capture shows the bolt but no inverted frame (the top third's mean luminance stays at 143-149 over 4729.4-4730.8): a flash that lasts one frame at 60 Hz can fall between the capture's frames, so this does not contradict the inverted flash above |
| video 8:20-8:40 | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:12 | [DATA:video 8:20-8:40] the green panel right of the HUD shows those two buttons at the table's positions |
| weather thing +0x58..+0x68 | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:56 | [DATA:weather thing +0x58..+0x68] the storm timers and the last thunder position; absent in older saves, which start a storm's timers at zero |
Binary evidence sites#
| Label | Location | Source comment context |
|---|---|---|
| D3DIM-DLL:0x56664F87 CreateDevice FPU setup | source/OpenTPW.Files/Formats/Font/X87.cs:16 | [BIN:D3DIM-DLL:0x56664F87 CreateDevice FPU setup] with the DDSCL_FPUSETUP flag (DDRAW-DLL 0xBAABE771 maps 0x800 to local flag 0x8000) a class-2 device sets CW = (CW & 0xFCFF | 0x3F) & 0xF3FF and does not restore it; the class is chosen at 0x56664DD8..0x56664EEA: a HAL device is class 2 only when the driver reports DrawPrimitives2 (the callbacks at global +0x638, field +0x14), else class 1 or 0 (CW untouched, the CRT's 53 bits; ForceDouble, default on, only raises PC to 53 inside D3D calls); every other device is class 2 unless the registry values DisableDP or DisableDP2 under HKLM\\Software\\Microsoft\\Direct3D are set; tp.exe names only the HAL device GUID (no reference to the RGB or MMX GUIDs), so on a driver without DrawPrimitives2 the original would have run at 53 bits |
| QMIXER-DLL:0x18001020 | source/OpenTPW.Tests/AudioQmixerPlacementTests.cs:43 | [BIN:TPW-EXE:0x6d2640,0x6d2a10,0x6d2b20 axis mapping] (x, y, z) -> (x, z, y); [BIN:QMIXER-DLL:0x18001020] the third component negated: together (x, y, z) -> (x, z, -y), a rotation |
| QMIXER-DLL:0x18003490 pause all | source/OpenTPW.Tests/AudioPauseSoundTests.cs:49 | [BIN:TPW-EXE:0x51bcf0 mixer pause] [BIN:QMIXER-DLL:0x18003490 pause all] |
| QMIXER-DLL:0x18003490 pause all | source/OpenTPW/Audio/AudioMixer.cs:339 | [BIN:QMIXER-DLL:0x18003490 pause all] with the flag's bit 0 set the function walks every channel of the session (0x18009080 by index) and pauses each (0x18007380) |
| QMIXER-DLL:0x18003710 restart all | source/OpenTPW.Tests/AudioPauseSoundTests.cs:68 | [BIN:TPW-EXE:0x6b8a10 pause handle] [BIN:QMIXER-DLL:0x18003710 restart all] |
| QMIXER-DLL:0x18003710 restart all | source/OpenTPW/Audio/AudioMixer.cs:346 | [BIN:QMIXER-DLL:0x18003710 restart all] the same walk over every channel with 0x180073a0, whether or not it was paused |
| QMIXER-DLL:0x180045C0 case 2 at 0x18007A1C library volume | source/OpenTPW/Audio/SoundVolume.cs:17 | [BIN:QMIXER-DLL:0x180045C0 case 2 at 0x18007A1C library volume] the volume message stores entry / 32767 (as a float) in the channel parameters (+0x4C), and the channel's volume product +0x4C x +0xB8 (distance gain) x +0xB4 (cone) = +0xBC is recomputed |
| QMIXER-DLL:0x180055c1 Doppler applied | source/OpenTPW/Audio/AudioListener.cs:223 | [BIN:QMIXER-DLL:0x180055c1 Doppler applied] the sample's own frequency times the factor, stored as a single and rounded to an integer (0x180055c8-0x180055dd) sets the stream, then tp.exe's pitch frequency is applied as the ratio of the two |
| QMIXER-DLL:0x180055c8 Doppler applied | source/OpenTPW.Tests/AudioDopplerTests.cs:176 | [BIN:QMIXER-DLL:0x180055c8 Doppler applied] fild(base) x factor -> single -> fistp |
| QMIXER-DLL:0x18005730 pan law | source/OpenTPW.Tests/AudioMixerLawTests.cs:31 | [BIN:QMIXER-DLL:0x18005730 pan law] 44.4444 hundredths of a decibel a degree, folded at +-90 so the pan stays within +-4000 |
| QMIXER-DLL:0x18005730 pan law | source/OpenTPW/Audio/AudioListener.cs:154 | [BIN:QMIXER-DLL:0x18005730 pan law] the azimuth is wrapped into (-180, 180], a value above 90 becomes 180 - a and one below -90 becomes -180 - a, then the float 44.4444 (0x1802e2f8) multiplies it and fistp rounds to even |
| QMIXER-DLL:0x18005830 volume and pan | source/OpenTPW.Tests/AudioSpatialTests.cs:21 | [BIN:QMIXER-DLL:0x18005830 volume and pan] the louder channel keeps the level and the other is 10^(-|pan| / 2000) of it: 90 degrees is a pan of 4000, so 0.01 |
| QMIXER-DLL:0x18005830 volume and pan | source/OpenTPW/Audio/AudioListener.cs:187 | [BIN:QMIXER-DLL:0x18005830 volume and pan] a mono channel of the software stage gets SetVolume(dB of the gain, +0x3c) and SetPan(pan, +0x40); DirectSound's pan turns only the opposite channel down by |pan| hundredths of a decibel |
| QMIXER-DLL:0x18005830 volume and pan | source/OpenTPW/Audio/AudioMixer.cs:185 | [BIN:QMIXER-DLL:0x18005830 volume and pan] tp.exe gives every voice the channel mode 0x1000000 (the software stage: 0x6bc61b ORs 1 into the request flags of every started sample, 0x6d23ab turns that into 0x1000000), whose buffer has no DirectSound 3D object (0x2000000 only): SetVolume(2000 log10(gain) hundredths of a decibel, 0x1800ca40) and, for a mono wave only (0x18005982 tests the wave format table 0x1803c6b4, 1 = mono), SetPan(44.444 x azimuth, mirrored behind the listener, 0x18005730) |
| QMIXER-DLL:0x1800586B,0x1800ca40 volume chain | source/OpenTPW/Audio/AudioMixer.cs:177 | [BIN:QMIXER-DLL:0x1800586B,0x1800ca40 volume chain] a flat or unpositioned voice has the distance gain 1 (+0xB8) and no cone (+0xB4): SetVolume(dB of the library volume) alone |
| QMIXER-DLL:0x1800586B,0x1800ca40 volume chain | source/OpenTPW/Audio/AudioMixer.cs:187 | [BIN:QMIXER-DLL:0x1800586B,0x1800ca40 volume chain] the channel's product +0xBC = library volume (+0x4C, SoundVolume.Library) x distance gain (+0xB8) x cone (+0xB4, 1: no cone) is turned into hundredths of a decibel once (0x1800ca40) and that value is DirectSound's volume |
| QMIXER-DLL:0x18005982 mono pan | source/OpenTPW/Audio/AudioMixer.cs:210 | [BIN:QMIXER-DLL:0x18005982 mono pan] a mono wave is panned by SetPan (+0x40) only: a flat voice's azimuth is 0, so SetPan(0) leaves a mono sample at the same level on both channels (no centre attenuation), which is this duplication; a stereo wave gets no SetPan and plays as recorded. The advisor's speech is such a voice: 0x51BFC0 starts an event of cat_speechSFX.map (global and every level), whose events all carry the any-distance flag 0x200 (641 of 641 and 1 of 1 per level in the shipped data), so the library places them flat (PlacedFlat) |
| QMIXER-DLL:0x18005982 mono pan | source/OpenTPW/Client/SpeechAudioPlayer.cs:80 | [BIN:QMIXER-DLL:0x18005982 mono pan] the speech is a mono wave placed flat (every cat_speechSFX.map event carries the any-distance flag 0x200, 0x6bc51d): azimuth 0, SetPan(0), both channels at the same level, which duplicating the mono samples reproduces (AudioMixer, 0x18007abd, 0x18009dc0) |
| QMIXER-DLL:0x18007abd SetPosition polar | source/OpenTPW.Tests/AudioQmixerPlacementTests.cs:76 | [BIN:TPW-EXE:0x6bc51d flat placement] [BIN:QMIXER-DLL:0x18007abd SetPosition polar]: azimuth 0, distance 9.2e-5 inside the minimum distance, so pan 0 and distance gain 1 |
| QMIXER-DLL:0x18007abd SetPosition polar | source/OpenTPW/Audio/AudioMixer.cs:90 | [BIN:QMIXER-DLL:0x18007abd SetPosition polar] the message (code 6, 0x18003e40 -> 0x18001520) reads three integers (azimuth in degrees, range, elevation) and hands the channel the floats (azimuth, range x 3.0 / 32767, elevation), the 3.0 being the room size the engine starts with (0x180086ef) and tp.exe never changes (no QSWaveMixSetRoomSize import), 0x18007b0b stores them and 0x18009dc0 takes its polar branch (the channel's flag +0x128, set by default at 0x18006e73): azimuth 0, elevation 0, distance 9.2e-5, which is inside the default minimum distance 1.0 (0x180310f0 +0x40; tp.exe's own mapping never applies to a flat voice, its minimum is 2.0) so the distance gain is 1 (0x1800a0cf-0x1800a12f) and the azimuth 0 gives SetPan(0): both channels at the voice's own gain |
| QMIXER-DLL:0x1800a0d0 distance gain | source/OpenTPW/Audio/AudioListener.cs:17 | [BIN:QMIXER-DLL:0x1800a0d0 distance gain] the channel parameter routine tests the channel's enable word (params +0x5c = channel +0x60, stored by the enable message 0x18007a11 from QSWaveMixEnableChannel 0x180014c0; tp.exe builds that word at 0x6d22d0 and always ORs 0x1000, 0x6d230e): with flag 0x1000 the gain is 1 up to the minimum distance (or for rolloff 0), 0 past the maximum and ((max - d) / (max - min)) to the power of the rolloff between, rolloff 1.0 being linear (0x1800a0bb-0x1800a172) |
| QMIXER-DLL:0x1800a178 Doppler | source/OpenTPW.Tests/AudioDopplerTests.cs:113 | [BIN:QMIXER-DLL:0x1800a178 Doppler] x = (direction . relative velocity) / 331.36 with the source at rest: closing at 5 units an update gives 1 / (1 - 5 / 331.36) |
| QMIXER-DLL:0x1800a178 Doppler | source/OpenTPW/Audio/AudioListener.cs:222 | [BIN:QMIXER-DLL:0x1800a178 Doppler] the voice's velocity (none: tp.exe never sets a source velocity) minus the listener's is the relative velocity V; V is made a unit vector by its length when that is neither 0 nor 1 (0x1800a1f9-0x1800a238, the length a single from its square sum, 0x1800cde0); d = unit direction from the listener to the source . V (0x1800a23d, the direction normalised by the distance at 0x18009f6f-0x18009f94 unless that is 0 or 1) times the length over 331.36 (0x1802e684, doppler factors +0x88 and +0x90 are 1) is x = (direction . V) / 331.36; the factor is 10 for x <= -1, else 1 / (x + 1) held to at most 10 (0x1800a262-0x1800a2b7) |
| QMIXER-DLL:0x1800a1df Doppler | source/OpenTPW/Audio/AudioMixer.cs:193 | [BIN:QMIXER-DLL:0x1800a1df Doppler] every voice without the loop flag takes QMixer's Doppler factor (a voice with the loop flag sets the channel's no-Doppler bit through 0x6bc628 -> 0x6c5110 -> 0x6d22d0, tested at 0x1800a1df): its frequency times 1 / (1 + (direction . relative velocity) / 331.36), at most 10, from the listener velocity of tp.exe's last changed listener update (AudioListener.Velocity, 0x6d27b0); the integer rounding of the stream's own frequency is applied (0x180055c8-0x180055dd); the stage runs while the voice's first stream reader has its decoder (0x18005599-0x180055bd: +0x90 set, which the library's worker fills through 0x18024620 / 0x18024740) and has not ended (0x1800bd40, the test the pump 0x18007640 uses to end the voice), so a started voice is assumed ready (the waves tp.exe opens with OpenWaveEx flag 0x11, 0x180033ad, are callback waves); [APPROX:AUDIO-018] the device-unit rounding of the stream frequency (0x1800c760) is not read |
| QMIXER-DLL:0x1800ca40 gain to decibels | source/OpenTPW/Audio/AudioListener.cs:176 | [BIN:QMIXER-DLL:0x1800ca40 gain to decibels] gain == 1 gives 0, gain <= 0 gives -10000, otherwise fistp(602.06 x log2(gain)) (602.06 = 2000 x log10(2), 0x1802e658) |
| QMIXER-DLL:0x1800ce70 listener basis | source/OpenTPW/Audio/AudioListener.cs:115 | [BIN:QMIXER-DLL:0x1800ce70 listener basis] both axes are normalised, right = up x front and up' = front x right; a source's offset is rotated into that basis (0x1800cf10: x = offset . right, y = offset . up', z = offset . front) before the azimuth is read |
| QMIXER-DLL:0x180310F0 default parameter block | source/OpenTPW/Audio/AudioMixer.cs:69 | [BIN:QMIXER-DLL:0x180310F0 default parameter block] a channel that was never sent a volume holds 10000 / 32767 (+0x4C = 0x3E9C4139); an event voice is sent its index before it is first mixed, so this value is heard only when the first index is refused |
| STP-PPC:0x000A4F68 record sampler | source/OpenTPW/World/AdvisorCostumes.cs:341 | [BIN:STP-PPC:0x000A4F68 record sampler] scanning from the last entry back, the first whose magnitude is at most the tick decides: positive clears bit 0x10 (shown), zero or negative sets it (hidden) |
| STP-PPC:0x10006B7C advisor playback | source/OpenTPW/World/Advisor.cs:316 | [BIN:STP-PPC:0x10006B7C advisor playback] the response record's +16 high half selects the current level's speech folder and bank instead of Data:Global; +4 is the sample and +8 the sp_%03d.lip number |
| STP-PPC:0x10006BB4 advisor response player | source/OpenTPW/Client/AutomaticAdvisor.cs:444 | [BIN:STP-PPC:0x10006BB4 advisor response player] options byte +0x34 clear: the player returns 0 (0x10006BC0) before saying anything |
| STP-PPC:0x10007434 advisor update | source/OpenTPW.Files/Public/LipSyncTimeline.cs:52 | [BIN:STP-PPC:0x10007434 advisor update] marks are read in order until -1, divided by 1000 (µs to the ms speech clock) and each one flips the talking flag |
| STP-PPC:0x10007434 advisor update | source/OpenTPW/World/Advisor.cs:853 | [BIN:STP-PPC:0x10007434 advisor update] silent or no LIP data: node 1; talking: when the speech clock (ms) passes the next-change time, node = rand() % 5 + 1 and the next change is 100 ms later |
| STP-PPC:0x100082E0 advisor controller serializer | source/OpenTPW/World/AdvisorController.cs:566 | [BIN:STP-PPC:0x100082E0 advisor controller serializer] eight 21-byte pending records (0x1000BC10) from controller +20, then 351 16-byte history entries (tick, variant, played, slaps) from +224, indexed by message ID |
| STP-PPC:0x100087C8 controller update | source/OpenTPW/World/AdvisorScoreQueue.cs:319 | [BIN:STP-PPC:0x100087C8 controller update] a busy action exits before queued advice is picked |
| STP-PPC:0x10008850 minimum score | source/OpenTPW/World/AdvisorScoreQueue.cs:327 | [BIN:STP-PPC:0x10008850 minimum score] the candidate must be strictly above MinScoreForConsideration |
| STP-PPC:0x10008974 cyclic variant | source/OpenTPW/World/AdvisorScoreQueue.cs:336 | [BIN:STP-PPC:0x10008974 cyclic variant] previous variant + 1 (wrapping signed add), reset to 0 unless below the count |
| STP-PPC:0x10008A10 action reservation | source/OpenTPW/World/AdvisorScoreQueue.cs:383 | [BIN:STP-PPC:0x10008A10 action reservation] returned playback span plus 1000 |
| STP-PPC:0x10008A28 history update | source/OpenTPW/World/AdvisorScoreQueue.cs:375 | [BIN:STP-PPC:0x10008A28 history update] raw game tick, retained variant and played flag after wrapper success |
| STP-PPC:0x10008B78 advisor enqueue | source/OpenTPW/World/AdvisorScoreQueue.cs:294 | [BIN:STP-PPC:0x10008B78 advisor enqueue] no minimum-score gate on admission; first empty slot |
| STP-PPC:0x10008CD8 replacement | source/OpenTPW/World/AdvisorScoreQueue.cs:306 | [BIN:STP-PPC:0x10008CD8 replacement] the weakest record is replaced only by a strictly higher score |
| STP-PPC:0x10008D10 advisor enqueue | source/OpenTPW/World/AdvisorScoreQueue.cs:36 | [BIN:STP-PPC:0x10008D10 advisor enqueue] an eligible advice is acknowledged even when a full queue keeps it out |
| STP-PPC:0x10009038 advisor eligibility | source/OpenTPW/World/AdvisorScoreQueue.cs:262 | [BIN:STP-PPC:0x10009038 advisor eligibility] tutorial option byte +53 is tested first; with it clear, group-1 (tutorial) messages are refused (reviewed lane model) |
| STP-PPC:0x10009038 eligibility check | source/OpenTPW/Client/AutomaticAdvisor.cs:104 | [BIN:STP-PPC:0x10009038 eligibility check] byte +0x35 of the object at TOC −0x763C, which the options serializer (0x10129308 → 0x1012653C) writes as "TutorialOn" and the defaults (0x10125B7C) set to 1 |
| STP-PPC:0x100090A4 repeat gate | source/OpenTPW/World/AdvisorScoreQueue.cs:265 | [BIN:STP-PPC:0x100090A4 repeat gate] saved ticks 0–3 (zero saved quarter) skip the interval; strictly fewer groups than the interval refuse |
| STP-PPC:0x10009100 once override | source/OpenTPW/World/AdvisorScoreQueue.cs:269 | [BIN:STP-PPC:0x10009100 once override] an override skips the once-only and slap checks only |
| STP-PPC:0x10009230 duplicate limit | source/OpenTPW/World/AdvisorScoreQueue.cs:279 | [BIN:STP-PPC:0x10009230 duplicate limit] pending copies must stay strictly below the descriptor's low-byte maximum |
| STP-PPC:0x100093D0 minimum scan | source/OpenTPW/World/AdvisorScoreQueue.cs:301 | [BIN:STP-PPC:0x100093D0 minimum scan] only a strictly smaller score moves the weakest slot, so ties keep the earliest |
| STP-PPC:0x10009494 maximum scan | source/OpenTPW/World/AdvisorScoreQueue.cs:322 | [BIN:STP-PPC:0x10009494 maximum scan] only a strictly greater score moves the choice, so ties keep the earliest valid slot |
| STP-PPC:0x10009548 advisor event 0 | source/OpenTPW/World/AdvisorController.cs:278 | [BIN:STP-PPC:0x10009548 advisor event 0] advice 0 (Welcome); then advice 323 (PrebuiltPark) when the game type at TOC −30136 is 2 (0x100096F0–0x10009720; the player selector 0x1013781C writes 2 there for Instant Action) |
| STP-PPC:0x100098D4 advisor event 2 | source/OpenTPW/World/AdvisorController.cs:280 | [BIN:STP-PPC:0x100098D4 advisor event 2] advice 106 (Bankrupted) |
| STP-PPC:0x10009A88 advisor event 3 | source/OpenTPW/World/AdvisorController.cs:282 | [BIN:STP-PPC:0x10009A88 advisor event 3] advice 128 (ParkNowOpen) |
| STP-PPC:0x10009C3C advisor event 4 | source/OpenTPW/World/AdvisorController.cs:284 | [BIN:STP-PPC:0x10009C3C advisor event 4] advice 129 (ParkNowClosed) |
| STP-PPC:0x10009DCC advisor event 10 | source/OpenTPW/World/AdvisorScoreQueue.cs:236 | [BIN:STP-PPC:0x10009DCC advisor event 10] the loop 0x10009DD8–0x10009E80 over the 351 records stores only +0xE4 (variant −1), +0xE8 (played 0) and +0xEC (slap count 0); the saved tick +0xE0 (written through 0x10121098, read at 0x10009090) is untouched |
| STP-PPC:0x1000A154 advisor busy | source/OpenTPW/World/AdvisorScoreQueue.cs:247 | [BIN:STP-PPC:0x1000A154 advisor busy] 32-bit start + duration, unsigned now < end; equality releases |
| STP-PPC:0x1000B7D8 playback wrapper | source/OpenTPW/World/AdvisorScoreQueue.cs:350 | [BIN:STP-PPC:0x1000B7D8 playback wrapper] the pending record is invalidated before playback is attempted |
| STP-PPC:0x1000B858 playback revalidation | source/OpenTPW/World/AdvisorScoreQueue.cs:254 | [BIN:STP-PPC:0x1000B858 playback revalidation] recomputed score >= minimum passes |
| STP-PPC:0x1000B8C8 response wrapper | source/OpenTPW/World/AdvisorScoreQueue.cs:341 | [BIN:STP-PPC:0x1000B8C8 response wrapper] an out-of-range requested variant plays the first response; history keeps the request (0x10008A3C) |
| STP-PPC:0x1000BBF0 controller playback wrapper | source/OpenTPW/Client/AutomaticAdvisor.cs:445 | [BIN:STP-PPC:0x1000BBF0 controller playback wrapper] and the wrapper still succeeds, so the advice is picked, consumed and recorded silently with span 0 |
| STP-PPC:0x1000BBF0 controller playback wrapper | source/OpenTPW/World/AdvisorController.cs:655 | [BIN:STP-PPC:0x1000BBF0 controller playback wrapper] the wrapper (sole caller 0x100089FC) fails only for an invalid record or the missing-descriptor response 614, which the bound rows cannot produce; the player's result (0x10006B7C, stored at 0x1000BB64) is kept only as the span, so an unplayed response still records the history and reserves span + 1000 with span 0 |
| STP-PPC:0x1000BC10 advisor record serialization | source/OpenTPW/World/AdvisorScoreQueue.cs:84 | [BIN:STP-PPC:0x1000BC10 advisor record serialization] eight 24-byte pending records from controller +20 |
| STP-PPC:0x1000D468 descriptor accessors | source/OpenTPW/World/AdvisorController.cs:39 | [BIN:STP-PPC:0x1000D468 descriptor accessors] rows of the 351-record descriptor table (data section 0x1F2B4): message, first response (+32, 0x1000D468), response count (+36, 0x1000D5EC), group (+8), pending-duplicate limit (+28 low byte, 0x1000D770); all use cyclic mode 2 and game-mode selector 2 (always eligible) |
| STP-PPC:0x1000E0FC slap limit | source/OpenTPW/World/AdvisorScoreQueue.cs:274 | [BIN:STP-PPC:0x1000E0FC slap limit] signed comparison of the stored 32-bit count against a nonzero limit |
| STP-PPC:0x10015100 TbMapStreamer::ReadBankDataFromMap | source/OpenTPW.Files/Formats/Sound/SoundCatalog.cs:155 | [BIN:STP-PPC:0x10015100 TbMapStreamer::ReadBankDataFromMap] 11-byte records (rewritten at load), then per bank a u32 length and the name |
| STP-PPC:0x10016F4C advisor balance | source/OpenTPW/World/AdvisorController.cs:322 | [BIN:STP-PPC:0x10016F4C advisor balance] MessageGroups[g] fields at +36/+40/+44 + 12g |
| STP-PPC:0x10016F4C advisor balance | source/OpenTPW/World/AdvisorController.cs:341 | [BIN:STP-PPC:0x10016F4C advisor balance] GeneralAdvisor.MinTimeAnyMessage +24, MinTimeSameMessage +28, MinScoreForConsideration +32 |
| STP-PPC:0x10029414 advisor clip start | source/OpenTPW/World/Advisor.cs:237 | [BIN:STP-PPC:0x10029414 advisor clip start] sub = id - 1 (0x10029414), AnimID 5 (0x10029418), flags 0x10, channel 0, trigger 0x100A6CC0 (0x10029424); the presentation update continues a sequence only while the deferred slot reads 12 (0x10007634) |
| STP-PPC:0x1002D274 coaster defaults | source/OpenTPW/World/Coasters/CoasterDefinition.cs:372 | [BIN:STP-PPC:0x1002D274 coaster defaults] StdPylon: flags 0x4, place distance 3..8 cells, entrance 140..180° at the minimum and 110..180° at the maximum distance, normal 80..180° and 50..180°, rotation deviance 45°, heights 10/10, one stacked pylon, radius 5, straight dot −0.999 |
| STP-PPC:0x1002D274 coaster defaults | source/OpenTPW/World/Coasters/CoasterDefinition.cs:401 | [BIN:STP-PPC:0x1002D274 coaster defaults] LoopPylon: flags 0x4004, place distance 3..9 cells, entrance 120..174°, normal 0..174° at both distances, deviances 90°/90°, loop height difference 25, straight dot −0.8 |
| STP-PPC:0x1002D2D0 coaster defaults | source/OpenTPW/World/Coasters/CoasterTrack.cs:175 | [BIN:STP-PPC:0x1002D2D0 coaster defaults] definition +16 = 4.0, the auto-bank divisor; no code reads settings offset 15060 (fAutoBankDivisor) |
| STP-PPC:0x1002D5D4 loop pylon default | source/OpenTPW/World/Coasters/CoasterDefinition.cs:418 | [BIN:STP-PPC:0x1002D5D4 loop pylon default] fMaxLoopHeightDifference (+172) defaults to the raw 25.0 (0x1002D5D8); only a coaster.sam value is scaled by 10·π/180 (0x1002FA60) |
| STP-PPC:0x1002F7DC pylon loader | source/OpenTPW/World/Coasters/CoasterDefinition.cs:576 | [BIN:STP-PPC:0x1002F7DC pylon loader] place distances are whole cells (squares stored at +156/+160), angles in degrees × single(π/180), fMaxLoopHeightDifference × 10 × π/180; the cost rates +92/+96/+100 are copied as given |
| STP-PPC:0x1002FDE8 coaster loader | source/OpenTPW/World/Coasters/CoasterDefinition.cs:502 | [BIN:STP-PPC:0x1002FDE8 coaster loader] every float is copied over the definition default only when nonzero (fEntranceSizeInterval and the three pylon cost rates via 0x1002F7DC unconditionally); the loader always sets flags 0xA0, bVisibleEndPylon sets 0x20, bNoAutoBanking == 0 sets 0x10, bSpecialIsTrough sets 0x100 and turns pylon 1 from a loop (0x4000) into a trough (0x8000) pylon; fAutoBankDivisor is never copied |
| STP-PPC:0x1002FFB0 entrance interval | source/OpenTPW/World/Coasters/CoasterDefinition.cs:195 | [BIN:STP-PPC:0x1002FFB0 entrance interval] definition +796 ← settings 15220, unconditional; [BIN:TPW-EXE:0x42f717] definition +0x31c ← settings +0x3b74, unconditional; read only by the station window 0x43b750 |
| STP-PPC:0x10030248 suspended coaster | source/OpenTPW/World/Coasters/CoasterDefinition.cs:562 | [BIN:STP-PPC:0x10030248 suspended coaster] bIsSuspendedCoaster sets definition flag 0x8 and clears 0x10, so suspended coasters never auto-bank |
| STP-PPC:0x10032DD8 knot direction | source/OpenTPW/World/Coasters/CoasterTrack.cs:1199 | [BIN:STP-PPC:0x10032DD8 knot direction] a knot without a pylon takes (0, −1, 0) when its node has flag 0x40 and flag 0x80 is clear (0x10032DFC), (0, 1, 0) when both are set (never: OpenTPW sets no node flag 0x80), else the node tangent; the station end node (flags 0x80000 | 0x100000) and the middle station node carry no 0x40 and take their tangent |
| STP-PPC:0x10033398 node position | source/OpenTPW/World/Coasters/CoasterTrack.cs:1057 | [BIN:STP-PPC:0x10033398 node position] descriptor +28 = 10x, +36 = 10y, +32 = terrain height; the node is at the cell centre (+5.0, 0x100333EC); Y = ground + h(t), or Y below + pylon +196 + h(t) when stacked |
| STP-PPC:0x10033630 auto-bank pass | source/OpenTPW/World/Coasters/CoasterTrack.cs:1198 | [BIN:STP-PPC:0x10033630 auto-bank pass] nodes with a next node are banked in order when definition flag 0x10 is set and node flag 0x4 is clear (0x1003360C); node flag 0x100 forces bank 0 (0x1003F584); the speed estimate starts at 0 and is updated after each banked node with floor fMinSpeed |
| STP-PPC:0x10034D90 pylon builder | source/OpenTPW/World/Coasters/CoasterTrack.cs:511 | [BIN:STP-PPC:0x10034D90 pylon builder] the height is clamped to [fMinHeight, fMaxHeight] (fMinHeight first raised to the mesh height h0 by 0x10030F20) and t = clamp((h − h0)/(h1 − h0), 0, 1) by 0x10036990 (clamps data 0x3d040/0x3d044) |
| STP-PPC:0x10036BA4 placement validator | source/OpenTPW/World/Coasters/CoasterTrack.cs:276 | [BIN:STP-PPC:0x10036BA4 placement validator] the LoopPylon control applies after a node with flag 0x40 or while the loop edit mode bit 0x40 is set; otherwise the StdPylon |
| STP-PPC:0x10036BA4 placement validator | source/OpenTPW/World/Coasters/CoasterTrack.cs:325 | [BIN:STP-PPC:0x10036BA4 placement validator] d² = dx² + dy² in cells must lie in [min², max²] (+156/+160); the node is then flagged when |θ| < lo or |θ| > hi |
| STP-PPC:0x10036BA4 placement validator | source/OpenTPW/World/Coasters/CoasterTrack.cs:391 | [BIN:STP-PPC:0x10036BA4 placement validator] test 1: x < map width (+24) and y < map height (+28) |
| STP-PPC:0x10036CD0 blocked cell | source/OpenTPW/World/Coasters/CoasterTrack.cs:142 | [BIN:STP-PPC:0x10036CD0 blocked cell] the validator's bit-0 test reads the map snapshot *0x66f78 (copied at level load and refreshed once at game start, 0x1011B478 → 0x10054EE0 → 0x1004DCB8), not the live map; bit 0 is the no-ground bit (height query → FLT_MAX at 0x1005052C); paths, queues, scenery and rides placed in play never set it |
| STP-PPC:0x10037104 pylon stacking | source/OpenTPW/World/Coasters/CoasterTrack.cs:433 | [BIN:STP-PPC:0x10037104 pylon stacking] an occupying pylon (found by walking every coaster's descriptor list, 0x10056BAC) must belong to the same coaster (+20), use the same pylon control (+24) and have stack height (+48) < uiMaxStackedPylons (+204), with no object flags 0x600 |
| STP-PPC:0x10037318 move re-validation | source/OpenTPW/World/Coasters/CoasterTrack.cs:411 | [BIN:STP-PPC:0x10037318 move re-validation] moving a node re-validates the following node and the one after it with the moved position (0x10037318, 0x100373B4) |
| STP-PPC:0x100375C4 add node | source/OpenTPW/World/Coasters/CoasterBuilder.cs:155 | [BIN:STP-PPC:0x100375C4 add node] a click on a cell holding the chain's open start closes the circuit (0x100470C4); otherwise a node is created (0x10035FDC) |
| STP-PPC:0x10037888 place charge | source/OpenTPW/World/Coasters/CoasterBuilder.cs:156 | [BIN:STP-PPC:0x10037888 place charge] placing a pylon debits trunc(cost(node, unit charged)) at once (0x101C3FBC truncates); the balance is read (0x100CBF48 at 0x100378A0) and ignored, the debit 0x100CBFDC (0x100378C0) is unconditional; all coaster charges are skipped while money is off |
| STP-PPC:0x10037CC8 station end nodes | source/OpenTPW/World/Coasters/CoasterTrack.cs:741 | [BIN:STP-PPC:0x10037CC8 station end nodes] definition bit 0x20 set → one end node with flags 0x144 (0x10037CF4, 0x10037E34), clear → two with flags 4; the loader always ORs 0xA0 into the definition flags (0x100301F4) and nothing clears 0x20, so the original always appends one end node with 0x144 whatever bVisibleEndPylon says |
| STP-PPC:0x10037E8C reopen track | source/OpenTPW/World/Coasters/CoasterTrack.cs:759 | [BIN:STP-PPC:0x10037E8C reopen track] reopening clears controller +60 bits 0 and 1 (cut ends marked open, 0x10047170..0x10047508) |
| STP-PPC:0x10037EF0 complete track | source/OpenTPW/World/Coasters/CoasterTrack.cs:740 | [BIN:STP-PPC:0x10037EF0 complete track] completion sets controller +60 bit 0 and appends the station end node (0x10037CC8); then track flags 1 and 0x1000 (rebuild, re-rate, recount trains) |
| STP-PPC:0x10038250 ride mode | source/OpenTPW/World/Coasters/CoasterRide.cs:228 | [BIN:STP-PPC:0x10038250 ride mode] changing the mode from 16 or 32 to 64 sets the power factor (+44) to 0; back to 16 or 32 sets it to 1 and flags every train 0x80 |
| STP-PPC:0x10038AB8 controller constructor | source/OpenTPW/World/Coasters/CoasterCurve.cs:173 | [BIN:STP-PPC:0x10038AB8 controller constructor] controller +172 = 3.0 world units, the only write; COASTERSMOOTHNESS does not feed it |
| STP-PPC:0x10038B2C controller constructor | source/OpenTPW/World/Coasters/CoasterRide.cs:121 | [BIN:STP-PPC:0x10038B2C controller constructor] the speed setting (controller +48) starts at 60 |
| STP-PPC:0x1003DBC0 coaster boarding | source/OpenTPW/World/Coasters/CoasterRide.cs:730 | [BIN:STP-PPC:0x1003DBC0 coaster boarding] COAST 1 resolves the visitor and hands it to the controller's passenger slots |
| STP-PPC:0x1003DD14 coaster room | source/OpenTPW/World/Coasters/CoasterRide.cs:734 | [BIN:STP-PPC:0x1003DD14 coaster room] COAST 2 returns the remaining admission room |
| STP-PPC:0x1003DD5C coaster departure | source/OpenTPW/World/Coasters/CoasterRide.cs:737 | [BIN:STP-PPC:0x1003DD5C coaster departure] COAST 3 extracts one departing visitor (0 when none) |
| STP-PPC:0x1003DDFC coaster state | source/OpenTPW/World/Coasters/CoasterRide.cs:224 | [BIN:STP-PPC:0x1003DDFC coaster state] COAST 4: argument 1 → mode 64 (0x1003DE18 → 0x1003DE50), 2 → mode 32 (0x1003DE44), 0 → mode 16 (0x1003DE38), 3 and above change nothing; each calls 0x10038250 |
| STP-PPC:0x1003DDFC coaster state | source/OpenTPW/World/Coasters/CoasterRide.cs:740 | [BIN:STP-PPC:0x1003DDFC coaster state] COAST 4 maps states 0, 1, 2 to the ride modes 16, 64, 32; other values change nothing |
| STP-PPC:0x1003DEC8 coaster close | source/OpenTPW/World/Coasters/CoasterRide.cs:745 | [BIN:STP-PPC:0x1003DEC8 coaster close] COAST 5 closes (nonzero) or opens the controller |
| STP-PPC:0x1003DF24 coaster capacity | source/OpenTPW/World/Coasters/CoasterRide.cs:756 | [BIN:STP-PPC:0x1003DF24 coaster capacity] COAST 6 takes MAX with the global value, then MIN with the definition and train bounds |
| STP-PPC:0x1003E2F8 boarding | source/OpenTPW/World/Coasters/CoasterRide.cs:841 | [BIN:STP-PPC:0x1003E2F8 boarding] the pending ring's read cursor (+196) is popped and the visitor is placed in a randomly chosen car (s·214013 + 2531011) |
| STP-PPC:0x1003F338 Bitmap::descimate | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:305 | [BIN:STP-PPC:0x1003F338 Bitmap::descimate] fixed-point buckets and integer channel averages |
| STP-PPC:0x1003F36C node speed estimate | source/OpenTPW/World/Coasters/CoasterTrack.cs:1189 | [BIN:STP-PPC:0x1003F36C node speed estimate] max(fmadds(mod, PerHeight × (y − y_next), v), floor), uphill modifier when the next node is higher |
| STP-PPC:0x1003F548 auto-bank | source/OpenTPW/World/Coasters/CoasterTrack.cs:1178 | [BIN:STP-PPC:0x1003F548 auto-bank] bank = v × (±π − θ) / definition +16 (4.0) / (|prev − P| + |next − P|), sign of π from θ, 0 when θ = 0; stored in node +216 |
| STP-PPC:0x1003F930 train spacing | source/OpenTPW/World/Coasters/CoasterRide.cs:550 | [BIN:STP-PPC:0x1003F930 train spacing] after the rating pass 0x1003E9EC allocates the trains and 0x1003F930 spaces them along the track |
| STP-PPC:0x1003FD5C vector length | source/OpenTPW/World/Coasters/CoasterRating.cs:307 | [BIN:STP-PPC:0x1003FD5C vector length] fmul x·x (double), fmuls y·y and z·z, fadd, fadd, sqrt, frsp |
| STP-PPC:0x10040070 braking sample | source/OpenTPW/World/Coasters/CoasterRide.cs:495 | [BIN:STP-PPC:0x10040070 braking sample] v_last = sample[(tail node +252) − 1].speed with the tail = controller +88 (the station end node); node +252 = trunc of the sampler's coordinate (last sample index + distance since it / spacing) when the walk reaches the node (0x10045790, 0x100457A0), i.e. the last sample before the node's knot |
| STP-PPC:0x100415B4 rating step | source/OpenTPW/World/Coasters/CoasterRating.cs:16 | [BIN:STP-PPC:0x100415B4 rating step] definition +812 GForceSickness × |F|₁, +816 UpsideDownSickness × u, +820 Speed × v, +824 GForceExcitement × |F|₁, +832 BankExcitement × |bank|, +836 XGForceUncomfortable, +840 InvertedUncomfortable, +844/+848 scream start deltas, +852/+856 scream sustain excitements |
| STP-PPC:0x10041AA4 round up | source/OpenTPW/World/Coasters/CoasterTrack.cs:994 | [BIN:STP-PPC:0x10041AA4 round up] modf; any nonzero fractional part adds 1 to the integer part |
| STP-PPC:0x10041E24 sample yaw and pitch | source/OpenTPW/World/Coasters/CoasterCurve.cs:254 | [BIN:STP-PPC:0x10041E24 sample yaw and pitch] yaw = atan2(T.x, T.z) of the derivative; T rotated by −yaw with the sine table; pitch = atan2(−T.y', T.z') |
| STP-PPC:0x100449F8 rebuild | source/OpenTPW/World/Coasters/CoasterRide.cs:376 | [BIN:STP-PPC:0x100449F8 rebuild] node layout, tangents, angles, auto-bank and knots (0x10033398), knot links, sampling (0x10044FF4), then the rating pass (0x1003FC18) |
| STP-PPC:0x10044FF4 sampler | source/OpenTPW/World/Coasters/CoasterCurve.cs:176 | [BIN:STP-PPC:0x10044FF4 sampler] t advances by 0.05 per evaluation |
| STP-PPC:0x10044FF4 sampler | source/OpenTPW/World/Coasters/CoasterCurve.cs:509 | [BIN:STP-PPC:0x10044FF4 sampler] from t = 0 (sample 0 = the first knot) walk t in steps of 0.05, sum the chord lengths, place a sample on the current chord where the sum reaches 3.0 (fraction (3 − sum before)/d), restart the sum and realign t to the next multiple of 0.05 |
| STP-PPC:0x10045320 sample before its pair | source/OpenTPW/World/Coasters/CoasterCurve.cs:475 | [BIN:STP-PPC:0x10045320 sample before its pair] while the sample's t is below 0 its record moves to the previous knot pair (when the +20 link is not null) and t grows by 1 regardless (0x10045320..0x1004535C) |
| STP-PPC:0x100457A0 node sample index | source/OpenTPW/World/Coasters/CoasterRide.cs:465 | [BIN:STP-PPC:0x100457A0 node sample index] node +252 = the truncated sampler coordinate when the walk reaches the node: the last sample before its knot, or the sample on the knot when its t is 0 (0x43a060 reads it as the node's first sample) |
| STP-PPC:0x10045EAC reopen guard | source/OpenTPW/World/Coasters/CoasterBuilder.cs:313 | [BIN:STP-PPC:0x10045EAC reopen guard] the Mac predicate adds riders +320 == 0 (written by passenger removal 0x3d6f8..0x3d85c); the PC predicate 0x441970 reads controller +0x140 instead, which is the self-intersection count (its only writers are 0x439c40 and 0x43ad50), so the PC has no rider test on this path: reopening takes the trains off with their riders (state 1, 0x435730 → 0x43bf20) |
| STP-PPC:0x10045FC4 height slider | source/OpenTPW/World/Coasters/CoasterBuilder.cs:240 | [BIN:STP-PPC:0x10045FC4 height slider] releasing the height slider credits trunc(stored cost) and debits ceil(new cost) |
| STP-PPC:0x100470C4 close circuit | source/OpenTPW/World/Coasters/CoasterTrack.cs:713 | [BIN:STP-PPC:0x100470C4 close circuit] placing on the cell of the chain's open start node closes the circuit instead of adding a node: the end nodes become adjacent and controller +60 bit 1 clears |
| STP-PPC:0x10047170 delete nodes | source/OpenTPW/World/Coasters/CoasterBuilder.cs:280 | [BIN:STP-PPC:0x10047170 delete nodes] deleting pylons calls no money routine; the coaster module credits only on drops and the height slider |
| STP-PPC:0x10048334 invalid node | source/OpenTPW/World/Coasters/CoasterTrack.cs:466 | [BIN:STP-PPC:0x10048334 invalid node] a failed validation sets node flag 0x4000 on the node and its predecessor (0x10048334..0x10048368); a passing one clears it (0x100482F8..0x1004832C); the node stays where it is |
| STP-PPC:0x100483AC build cursor | source/OpenTPW/World/Coasters/CoasterBuilder.cs:145 | [BIN:STP-PPC:0x100483AC build cursor] the accumulator data:0x84ac4 += ceil(new) − ceil(old) for the cost display and the tool's affordability check (0x1006F664); the coaster code never debits it |
| STP-PPC:0x1004A228 pick up node | source/OpenTPW/World/Coasters/CoasterBuilder.cs:219 | [BIN:STP-PPC:0x1004A228 pick up node] the station node (descriptor flag 2) cannot be picked up |
| STP-PPC:0x1004A43C drop node | source/OpenTPW/World/Coasters/CoasterBuilder.cs:218 | [BIN:STP-PPC:0x1004A43C drop node] dropping on another cell credits trunc(stored node cost) [+ trunc(stored next)] and debits ceil(cost(node)) [+ ceil(cost(next))], the bracketed terms only on a complete track; the same cell (0x1004A5A8..0x1004A5BC) moves no money |
| STP-PPC:0x1004B168 pylon cost | source/OpenTPW/World/Coasters/CoasterTrack.cs:1009 | [BIN:STP-PPC:0x1004B168 pylon cost] the unit term is gated by r4 (0x1004B188, 0x1004B284): the place path passes 1 (0x10037864), the pick-up (0x1004A3DC, 0x1004A3F8), drop (0x1004A5DC, 0x1004A610, 0x1004A690) and height slider (0x10046268) pass 0 |
| STP-PPC:0x1004B294 cost rates | source/OpenTPW/World/Coasters/CoasterTrack.cs:981 | [BIN:STP-PPC:0x1004B294 cost rates] pylon flags & 0xC000 with no descriptor below (+44) or a below pylon without 0xC000 → StdPylon (0x1004B294..0x1004B2B4); then pylon flag 0x4000 with node flag 0x80 clear on the previous node → StdPylon (0x1004B2B8..0x1004B2D4) |
| STP-PPC:0x1004CDB0 gei_Particle | source/OpenTPW.Files/Public/ParticleTemplateFile.cs:190 | [BIN:STP-PPC:0x1004CDB0 gei_Particle] little-endian layout; the counts are checked against the file length |
| STP-PPC:0x10059F00 mesh instance flag 0x400 | source/OpenTPW/Hud/HudStubs.cs:121 | [BIN:STP-PPC:0x10059F00 mesh instance flag 0x400] the buy-window preview (0x10162584 -> 0x10139084 -> 0x1005C35C) instances the p<name> preview mesh when it loaded and the object's main mesh otherwise, so objects without a P model show their main model |
| STP-PPC:0x1006AC2C particles sprite set | source/OpenTPW/World/Particles/ParticleSpriteAtlas.cs:11 | [BIN:STP-PPC:0x1006AC2C particles sprite set] the sprite code is bank*16 + animation of the `particles` set (medium confidence) |
| STP-PPC:0x1006E228 queue link read | source/OpenTPW/World/Guests/GuestPathGrid.cs:175 | [BIN:STP-PPC:0x1006E228 queue link read] map cell +13 holds the queue link direction; the values are 1, 4, 16 and 64 |
| STP-PPC:0x1006F380 path preview | source/OpenTPW/World/CellBuildTool.cs:181 | [BIN:STP-PPC:0x1006F380 path preview] in mode 1 or 3, snap the cursor and LayLine(mode | 0x100, start, end); without a start, preview one cell |
| STP-PPC:0x1006F380 path preview | source/OpenTPW/World/ParkPathBuilder.cs:145 | [BIN:STP-PPC:0x1006F380 path preview] |dx| ≥ |dy| keeps X (end.y = start.y), otherwise Y; the commit 0x10070F84 snaps the same way |
| STP-PPC:0x10070DE0 path lay click | source/OpenTPW/Audio/GameAudio.cs:145 | [BIN:STP-PPC:0x10070DE0 path lay click] cat_ui 101 under tool mode 1 or 3 with the latch clear; the PC doc's 0x005271B7 is a lead (packed PC exe) |
| STP-PPC:0x10070DE0 path lay click | source/OpenTPW/Hud/ParkHud.cs:1741 | [BIN:STP-PPC:0x10070DE0 path lay click] a committed path line plays cat_ui 101 (the tool's commit site, gated by its mode); a click on a refused ghost (or a refused track commit) plays cat_ui 175 at the clicked cell when the button is released (PathRefusalClick) |
| STP-PPC:0x10070F84 path commit | source/OpenTPW/World/CellBuildTool.cs:198 | [BIN:STP-PPC:0x10070F84 path commit] push and LayLine(mode, start, end) unless the end equals the start with more than one vertex stored (0x7107c..0x71084 bf eq to 0x71174: then nothing is laid); end the tool (start −1, SetMode(0)) when end == start |
| STP-PPC:0x100711CC queue joins a path | source/OpenTPW/Audio/GameAudio.cs:173 | [BIN:STP-PPC:0x100711CC queue joins a path] queue mode (3), money on (game+36 == 0) and the flag 0x7C500 the validator 0x84154 sets when the queue line's last cell is a path cell: cat_ui 139 at (x·10, 0, y·10) after the ride is told its queue changed; [BIN:TPW-EXE:0x527587] the same |
| STP-PPC:0x1007159C open button | source/OpenTPW/World/Commands/ParkSettingCommands.cs:201 | [BIN:STP-PPC:0x1007159C open button] the open buttons call the reopening guard 0xde654 first and open only when it allows (ORACLE.md F27, ECON-049) |
| STP-PPC:0x10073D1C refused click | source/OpenTPW/Audio/GameAudio.cs:148 | [BIN:STP-PPC:0x10073D1C refused click] cat_ui 175 behind the latch test; [BIN:TPW-EXE:0x524a80] the release handler 0x524960 plays cat_ui 0xAF at (x10, 0, z10) of the clicked cell (0x524a80-0x524aae) before its tool switch, while tool 0x38 is off, the refusal latch (0x816d48) is set, no layout replay runs (0x785a2c == 0) and the park view's press handler ran since the last release (0x8186d8, PathRefusalClick) |
| STP-PPC:0x100748A0 ride demolition | source/OpenTPW/World/Level.Tracks.cs:153 | [BIN:STP-PPC:0x100748A0 ride demolition] the demolition replays the queue tool and the kart/water track tool from both station sides to clear the circuit, with one Spend of 2 × cell cost × 0x100E2424() / 100 |
| STP-PPC:0x100748A0 ride demolition | source/OpenTPW/World/Objects/ObjectAccessCells.cs:239 | [BIN:STP-PPC:0x100748A0 ride demolition] the demolition replays the queue tool from the ride's entrance to clear its queue (the PC twin 0x527EE0 runs the replays with 0x81B46C set); a queue cell laid by the placement is NoModify, which a rebuild at the same site could not stand on, so the clear takes it as well — the cell writes of the original's demolition are otherwise not traced (ECON-050) |
| STP-PPC:0x1007497C ride placement | source/OpenTPW/Client/ThemeParkIncHud.cs:97 | [BIN:STP-PPC:0x1007497C ride placement] a placed HasQueue ride enters tool mode 3, the queue tool (PATH-plan §8) |
| STP-PPC:0x1007497C ride placement | source/OpenTPW/Hud/ParkHud.cs:677 | [BIN:STP-PPC:0x1007497C ride placement] a placed HasQueue ride (type record +64) enters tool mode 3, the queue tool (PATH-plan §8); park clicks lay its queue until Back |
| STP-PPC:0x1007497C ride placement | source/OpenTPW/World/Level.Objects.cs:1024 | [BIN:STP-PPC:0x1007497C ride placement] a placed HasQueue ride enters tool mode 3, the queue tool (PATH-plan §8); it shares LayLine, the vertex stack and the preview/commit code with the path tool |
| STP-PPC:0x10077588 initial heading | source/OpenTPW/World/Tracks/TrackCell.cs:67 | [BIN:STP-PPC:0x10077588 initial heading] the walk's first heading from the station rotation: 0° → +X, 90° → −Y, 180° → −X, 270° → +Y |
| STP-PPC:0x1007A354 bridge pass | source/OpenTPW/World/Tracks/TrackBuilder.cs:497 | [BIN:STP-PPC:0x1007A354 bridge pass] neither neighbour bridged → H; only ahead → H_U; only behind → H_D; both → H_A (the Mac's own pass; the PC's flag words follow the walks of TrackBridges) |
| STP-PPC:0x1007B320 SetMode | source/OpenTPW/World/CellBuildTool.cs:142 | [BIN:STP-PPC:0x1007B320 SetMode] tool mode 1 = path, 3 = queue; the drag writes the cell type equal to the mode |
| STP-PPC:0x1007BCC0 pending line cost | source/OpenTPW/Economy/ParkEconomy.cs:2566 | [BIN:STP-PPC:0x1007BCC0 pending line cost] add (no overflow trap) of the cell price; [BIN:STP-PPC:0x10084534 placement validator] a zero pending cost skips the test; [BIN:STP-PPC:0x10084550 placement validator] cmpw pending, balance and refuse when greater |
| STP-PPC:0x1007BCF4 vertex push | source/OpenTPW/World/CellBuildTool.cs:91 | [BIN:STP-PPC:0x1007BCF4 vertex push] the path/queue vertex stack holds up to 1024 points |
| STP-PPC:0x10080C50 cell ghost | source/OpenTPW/Hud/ParkHud.cs:1773 | [BIN:STP-PPC:0x10080C50 cell ghost] the same blue or red faces for the cells of other build modes, checked by 0x10084154 |
| STP-PPC:0x10082AC4 SetCellType | source/OpenTPW/Economy/ParkEconomy.cs:2584 | [BIN:STP-PPC:0x10082AC4 SetCellType] type 1 costs Costs.PathCell, type 3 Costs.QueueCell; refused when balance − cost < 0, else Spend per cell at write time |
| STP-PPC:0x10082AC4 SetCellType | source/OpenTPW/World/ParkPathBuilder.cs:134 | [BIN:STP-PPC:0x10082AC4 SetCellType] type 1 is priced with the path cost global (Costs.PathCell, balance +1472, loaded by 0x1010F29C) |
| STP-PPC:0x10082AC4 SetCellType | source/OpenTPW/World/ParkPathBuilder.cs:372 | [BIN:STP-PPC:0x10082AC4 SetCellType] the same nonzero type again: the signed placement counter (+32) goes up by one, no charge |
| STP-PPC:0x10082AC4 SetCellType | source/OpenTPW/World/ParkPathBuilder.cs:376 | [BIN:STP-PPC:0x10082AC4 SetCellType] store the type at +8 and update the map, then Spend (0x100CBFDC) the path cost |
| STP-PPC:0x10082BC8 SetCellType money test | source/OpenTPW/Economy/ParkEconomy.cs:2554 | [BIN:STP-PPC:0x10082BC8 SetCellType money test] subf balance − cost in 32 bits, then the sign bit: balance −2^31 with cost 1 wraps to affordable, balance 2^31 − 1 with cost −1 to refused |
| STP-PPC:0x10082BC8 SetCellType money test | source/OpenTPW/World/ParkPathBuilder.cs:380 | [BIN:STP-PPC:0x10082BC8 SetCellType money test] the 32-bit balance − cost test before the store (ParkEconomy.CanSpendCell, the test TrySpendCell repeats) |
| STP-PPC:0x1008408C CanChangeCellType | source/OpenTPW/World/ParkCellMap.cs:1032 | [BIN:STP-PPC:0x1008408C CanChangeCellType] the seven rules of PATH-plan §3.1; everything else is refused. Rule 7 allows queue over path while data:0x84b2c is 0; the line tool 0x10084EA4 sets that word to 1 only for a line's last cell |
| STP-PPC:0x1008432C placement validator | source/OpenTPW/World/ParkPathBuilder.cs:228 | [BIN:STP-PPC:0x1008432C placement validator] a cell with flag 0x40 (not owned; set by map initialisation 0x10085538 on every non-InitialPath cell) is refused |
| STP-PPC:0x1008432C placement validator | source/OpenTPW/World/Tracks/TrackBuilder.cs:114 | [BIN:STP-PPC:0x1008432C placement validator] a cell with flag 0x40 (not owned) is refused, as for paths |
| STP-PPC:0x10084534 placement validator | source/OpenTPW/Economy/ParkEconomy.cs:2566 | [BIN:STP-PPC:0x1007BCC0 pending line cost] add (no overflow trap) of the cell price; [BIN:STP-PPC:0x10084534 placement validator] a zero pending cost skips the test; [BIN:STP-PPC:0x10084550 placement validator] cmpw pending, balance and refuse when greater |
| STP-PPC:0x10084550 placement validator | source/OpenTPW/Economy/ParkEconomy.cs:2566 | [BIN:STP-PPC:0x1007BCC0 pending line cost] add (no overflow trap) of the cell price; [BIN:STP-PPC:0x10084534 placement validator] a zero pending cost skips the test; [BIN:STP-PPC:0x10084550 placement validator] cmpw pending, balance and refuse when greater |
| STP-PPC:0x10084550 placement validator | source/OpenTPW/World/Level.Objects.cs:1471 | [BIN:STP-PPC:0x10084550 placement validator] the preview refuses when the 32-bit pending line cost (the pending cells and this one) is greater than the balance; a zero sum passes |
| STP-PPC:0x10084550 placement validator | source/OpenTPW/World/ParkPathBuilder.cs:254 | [BIN:STP-PPC:0x10084550 placement validator] money test while game+36 == 0: the 32-bit pending line cost (this cell included) is refused when greater than the balance, a zero sum passes; the commit only runs SetCellType's test (WritePath) |
| STP-PPC:0x10084550 placement validator | source/OpenTPW/World/Tracks/TrackBuilder.cs:141 | [BIN:STP-PPC:0x10084550 placement validator] the preview refuses a line whose pending cost exceeds the balance (the path tool's test) |
| STP-PPC:0x10084864 placement validator | source/OpenTPW/World/ParkPathBuilder.cs:238 | [BIN:STP-PPC:0x10084864 placement validator] path over path returns 0 (allowed); SetCellType 0x10082AC4 then only bumps the placement counter |
| STP-PPC:0x100849A4 placement validator | source/OpenTPW/World/ParkPathBuilder.cs:241 | [BIN:STP-PPC:0x100849A4 placement validator] path over a queue cell: code 8 for a queue end (one link, linked neighbour also a queue), else refused |
| STP-PPC:0x10084EA4 LayLine | source/OpenTPW/World/ParkPathBuilder.cs:154 | [BIN:STP-PPC:0x10084EA4 LayLine] |x1 − x0| > |y1 − y0| walks X along row y0, else Y along column x0; the other end coordinate is ignored |
| STP-PPC:0x10084EA4 LayLine | source/OpenTPW/World/ParkPathBuilder.cs:271 | [BIN:STP-PPC:0x10084EA4 LayLine] the first refused cell stops the walk; cells already written stay written and charged; LayLine itself never spends |
| STP-PPC:0x10085538 map initialisation | source/OpenTPW/World/ParkCellMap.cs:298 | [BIN:STP-PPC:0x10085538 map initialisation] MAP attribute bit 0x08 (InitialPath) makes the cell type 1 with flag 0x20 (NOMODIFY) |
| STP-PPC:0x100859B4 ClearCell | source/OpenTPW/World/ParkPathBuilder.cs:401 | [BIN:STP-PPC:0x100859B4 ClearCell] path case: NOMODIFY keeps the cell unless it has no neighbours ("Removing path cell with no neighbours but NOMODIFY set"); a = b = 0 sets the counter to −1; no Earn (no refund); [BIN:TPW-EXE:0x005367A0 cell clear] every bit of the cell's link byte, diagonals included, is cleared on both sides (PathLinkWriter.Unlink) |
| STP-PPC:0x10085DCC ClearCell queue refund | source/OpenTPW/Economy/ParkEconomy.cs:2665 | [BIN:STP-PPC:0x10085DCC ClearCell queue refund] Earn(QueueCost × 0xe2424(ride) / 100), 0xe2424 = the ride's age-based scrap percentage |
| STP-PPC:0x100866B8 SetCell ghost | source/OpenTPW/Hud/ParkHud.cs:1772 | [BIN:STP-PPC:0x100866B8 SetCell ghost] LayLine(mode | 0x100) gives each previewed cell a BlueprintMesh face: blue (0) when the chooser 0x100895D8 accepts it, red (1) when it refuses it (money included) |
| STP-PPC:0x10086998 SetCell ghost | source/OpenTPW/World/Original/BlueprintMarkers.cs:49 | [BIN:STP-PPC:0x10086998 SetCell ghost] f2 = 1.5 (TOC −0x3070) + the cell height |
| STP-PPC:0x10088CB8 track tile write | source/OpenTPW/World/Tracks/TrackBuilder.cs:156 | [BIN:STP-PPC:0x10088CB8 track tile write] a tile over four path or empty cells clears the paths and writes the origin and three type-12 extension cells (the origin recorded in +0x10) (the Mac's; the PC clears only on a line's last step, 0x5390C0) |
| STP-PPC:0x1008A7C4 piece selection | source/OpenTPW/World/Tracks/TrackPieceSelector.cs:34 | [BIN:STP-PPC:0x1008A7C4 piece selection] the kart/water tables (data:0x3D9EC, 0x3DAB0): first exact mask match wins, else the first entry whose mask is a subset of the cell mask |
| STP-PPC:0x1008A7C4 piece tables | source/OpenTPW/World/Tracks/TrackPieceSelector.cs:52 | [BIN:STP-PPC:0x1008A7C4 piece tables] kart 20 entries (data:0x3DEAC), water 25 (data:0x3DF9C): 0 none; 1 Q; 2 S; 3 B; 4 X; 5–8 X with arm masks; 9–11 H; 12–14 H_U; 15–17 H_D; 18 H_A; 19 B2; 20–24 X2 (water only) |
| STP-PPC:0x1008CDBC lobby generator seed | source/OpenTPW/World/Lobby/LobbyEffects.cs:44 | [BIN:STP-PPC:0x1008CDBC lobby generator seed] the lobby system's constructor stores time(NULL) as the generator's state; it is never reset |
| STP-PPC:0x1008FAA0 lobby sky | source/OpenTPW/World/Lobby/LobbyEffects.cs:212 | [BIN:STP-PPC:0x1008FAA0 lobby sky] the current colour eases 1/16 toward the target each frame and fills the engine sky's whole colour ramp |
| STP-PPC:0x100904A8 lobby generator | source/OpenTPW/World/Lobby/LobbyEffects.cs:71 | [BIN:STP-PPC:0x100904A8 lobby generator] state = state × 0x19660D + 0x3C6EF35F, stored at +0x34 (inlined in the islands update) |
| STP-PPC:0x100923A8 globe audio | source/OpenTPW/Audio/GameAudio.cs:625 | [BIN:STP-PPC:0x100923A8 globe audio] the globe component starts cat_globallobbysfx 2 (globe music) and 3 (globe ambience) and keeps both handles; closing stops them by handle (0x1009261C) |
| STP-PPC:0x100923A8 globe opens | source/OpenTPW/World/Lobby/LobbyEffects.cs:127 | [BIN:STP-PPC:0x100923A8 globe opens] the globe component sets the raindrops to 0, the field of view to 60 and the sky target to (243, 203, 191) |
| STP-PPC:0x10094474 lobby islands update | source/OpenTPW/World/Lobby/LobbyEffects.cs:12 | [BIN:STP-PPC:0x10094474 lobby islands update] the per-frame update of the islands component: nearest island to the camera, sky target, raindrops, lightning and the island one-shots |
| STP-PPC:0x10094474 slope and deviance | source/OpenTPW/World/Coasters/CoasterTrack.cs:382 | [BIN:STP-PPC:0x10094474 slope and deviance] slope (fMaxHeightDiffPerGSquareDist, pylon +112), loop rotation deviance (+152) and loop height difference (+172) are loaded but never read by the coaster code; fMaxRotnAngleDeviance (+148) only bounds the rotate slider 0x10046508 |
| STP-PPC:0x10094F8C lobby rain | source/OpenTPW/World/Lobby/LobbyEffects.cs:194 | [BIN:STP-PPC:0x10094F8C lobby rain] raindrops = 1e17 / (mean squared horizontal distance from the camera to the rainy islands)^4; below 20 none, capped at 400; rain type 1 |
| STP-PPC:0x10094F8C lobby rain | source/OpenTPW/World/Lobby/LobbyEffects.cs:242 | [BIN:STP-PPC:0x10094F8C lobby rain] the lobby sets rain type 1 and its drop count on the engine's CRain each frame; [BIN:STP-PPC:0x10095310 lobby strike] AddLightning(bottom, top, 500, 1) |
| STP-PPC:0x10095124 lobby lightning | source/OpenTPW/World/Lobby/LobbyEffects.cs:168 | [BIN:STP-PPC:0x10095124 lobby lightning] with LIGHTNING > 0, a draw strikes when (state & LIGHTNING) == 1; four fresh draws place the top at the island ±50 (height 500) and the bottom within ±10 of it (height 0) |
| STP-PPC:0x10095310 lobby strike | source/OpenTPW/World/Lobby/LobbyEffects.cs:169 | [BIN:STP-PPC:0x10095310 lobby strike] AddLightning(bottom, top, 500, 1), LightningFlash() and cat_globallobbysfx 1 played flat at once (no thunder delay) |
| STP-PPC:0x10095310 lobby strike | source/OpenTPW/World/Lobby/LobbyEffects.cs:242 | [BIN:STP-PPC:0x10094F8C lobby rain] the lobby sets rain type 1 and its drop count on the engine's CRain each frame; [BIN:STP-PPC:0x10095310 lobby strike] AddLightning(bottom, top, 500, 1) |
| STP-PPC:0x10095340 lobby one-shots | source/OpenTPW/World/Lobby/LobbyEffects.cs:185 | [BIN:STP-PPC:0x10095340 lobby one-shots] a draw with (state & 15) == 1 plays event 3 + (fresh draw mod 3) of the nearest island's cat_locallobbysfx |
| STP-PPC:0x100953F8-0x10095450 lobby one-shots | source/OpenTPW/Audio/GameAudio.cs:601 | [BIN:STP-PPC:0x100953F8-0x10095450 lobby one-shots] cat_locallobbysfx 3, 4 and 5 play beside the looping ambience (event 2), picked by the islands update's draws |
| STP-PPC:0x1009598C lobby audio start | source/OpenTPW/Audio/GameAudio.cs:563 | [BIN:STP-PPC:0x1009598C lobby audio start] the lobby component stops the old handles, starts cat_locallobbymusic event 1 (handle kept) and cat_locallobbysfx event 2 (handle kept) of the current island's theme |
| STP-PPC:0x1009598C lobby audio start | source/OpenTPW/Client/GameFlow.cs:231 | [BIN:STP-PPC:0x1009598C lobby audio start] the front end starts the selected island's theme lobby music (cat_locallobbymusic 1) and looping ambience (cat_locallobbysfx 2) |
| STP-PPC:0x10095A24/0x10095A50 lobby audio start | source/OpenTPW.Tests/AudioTriggerTests.cs:75 | [BIN:STP-PPC:0x10095A24/0x10095A50 lobby audio start] cat_locallobbymusic event 1 and cat_locallobbysfx event 2 |
| STP-PPC:0x1009BA44 gei_Particle template load | source/OpenTPW.Files/Public/ParticleTemplateFile.cs:10 | [BIN:STP-PPC:0x1009BA44 gei_Particle template load] the template block is copied out of the file unchanged; offsets below are the native template offsets |
| STP-PPC:0x1009EE70 particle pool init | source/OpenTPW/World/Particles/ParticleSystem.cs:37 | [BIN:STP-PPC:0x1009EE70 particle pool init] the Mac twin (density, ground callback and particle count; 120 emitter slots of 0x140 bytes, 20 effector slots) |
| STP-PPC:0x100A3CC8 sine table | source/OpenTPW/World/Coasters/CoasterCurve.cs:597 | [BIN:STP-PPC:0x100A3CC8 sine table] 4096 entries sin(f32(f32(k / 4096) × 2π)) rounded to single; index trunc(a × 4096/2π) & 4095 (built from 0x1004B72C, size at 0x1004B720) |
| STP-PPC:0x100A6CC0 animation trigger | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:862 | [BIN:STP-PPC:0x100A6CC0 animation trigger] the channel record is model +0x10 + channel × 0x38; TRIGANIM (0x100AFB10), WAITANIM (0x100AFC68), LOOPANIM (0x100AFD7C) and TRIGANIMSPEED (0x100B005C) pass channel 0, TRIGANIM_CH (0x100B01C4) its operand |
| STP-PPC:0x100A70B4 channel frame arithmetic | source/OpenTPW/World/Objects/ObjectAnimator.cs:33 | [BIN:STP-PPC:0x100A70B4 channel frame arithmetic] the Feral Mac formula multiplies elapsed milliseconds by 30 and divides by 1000 before channel speed. |
| STP-PPC:0x100A7498 clip end | source/OpenTPW/World/Objects/ObjectAnimator.cs:585 | [BIN:STP-PPC:0x100A7498 clip end] a non-looping clip with nothing deferred restarts as AnimID 14, which sets channel flags 0x14 (0x100A68AC) and branches past the bind (0x100A694C): frozen on the last frame, no copy-back, GETANIM -1 |
| STP-PPC:0x100A7A5C object update channel order | source/OpenTPW/World/Objects/ObjectAnimator.cs:1186 | [BIN:STP-PPC:0x100A7A5C object update channel order] 0xa7960 runs the channel updates in ascending channel order (stride 56, count +14), each sampling in set mode, so the highest channel that writes a component wins |
| STP-PPC:0x100A9F9C sign line | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:103 | [BIN:STP-PPC:0x100A9F9C sign line] fit when the extent is below the 2x canvas width; else lo = 1, hi = lfWidth (or -lfHeight when 0), mid = (hi - 1) / 2 + 1; a fitting trial sets lo = mid, mid += (hi - mid) / 2, a wide one sets hi = mid, mid = lo + (mid - lo) / 2; stop on the first fitting trial with hi - lo < 3 |
| STP-PPC:0x100AB1C8,0x100AB3B8..0x100AB444 | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:292 | [BIN:STP-PPC:0x100AB1C8,0x100AB3B8..0x100AB444] 16-pixel horizontal tiling and measured-height vertical phase. |
| STP-PPC:0x100ABDAC Bitmap::load_wavelet | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:13 | [BIN:STP-PPC:0x100ABDAC Bitmap::load_wavelet] the engine reads four float scales, two compressed lengths and ARGB output. |
| STP-PPC:0x100ABF14 sign compositor | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:23 | [BIN:STP-PPC:0x100ABF14 sign compositor] each line is colour-blitted with its colour block's bytes (+0x430..+0x432 for the first line, +0x444..+0x446 for the second) only when its colour mode is 1 or 2 |
| STP-PPC:0x100AC21C | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:52 | [BIN:STP-PPC:0x100AC21C] the compositor clears the surface to ARGB 0: outside the board, the paint and the effects a sign face is transparent, so the object shows through between the letters |
| STP-PPC:0x100AC21C..0x100AC6B0 | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:19 | [BIN:STP-PPC:0x100AC21C..0x100AC6B0] clear, optional board alphablt, style-2 paint, ordered style-1 paint/effects, split the top 128 rows. |
| STP-PPC:0x100AC25C..0x100AC49C | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:85 | [BIN:STP-PPC:0x100AC25C..0x100AC49C] style 2 is drawn before either relief effect; |
| STP-PPC:0x100AC7F0 particle key resolver | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:48 | [BIN:STP-PPC:0x100AC7F0 particle key resolver] position comes from matrix +48/+52/+56; direction from +32/+36/+40, optionally negated by runtime lookup flag 0x10, normalized then multiplied by 1024 |
| STP-PPC:0x100ACA38 scream event | source/OpenTPW/Audio/GameAudio.cs:797 | [BIN:STP-PPC:0x100ACA38 scream event] band 0 plays nothing; 1 plays cat_kids 71; 2-3 play 72 (negative bands too); 4-7 play 73; 8 and above play 74 |
| STP-PPC:0x100ACB7C scream parameter | source/OpenTPW/Audio/GameAudio.cs:798 | [BIN:STP-PPC:0x100ACB7C scream parameter] parameter = (level + speed) / 2 clamped to 0..100 (signed shift); the speed is the ride VM's word at +192, default 50 (0x100B3154, 0x100B318C) |
| STP-PPC:0x100ACC24 single scream grid | source/OpenTPW/Audio/GameAudio.cs:828 | [BIN:STP-PPC:0x100ACC24 single scream grid] band row 1/2-3/4-7/8+ holds event 75/79/83/87 plus (level + speed) / 50 clamped to 0..3 (ids 0x4B..0x5A, one-shots, no handle kept) |
| STP-PPC:0x100ACE68 single scream, negative level | source/OpenTPW/Audio/GameAudio.cs:829 | [BIN:STP-PPC:0x100ACE68 single scream, negative level] band 1 → 105, 2-3 → 106, 4-7 → 108, 8+ → 109; event 107 is the original's own gap |
| STP-PPC:0x100ADF40 BOUNCE | source/OpenTPW/World/Guests/RideVisitorBridge.cs:2008 | [BIN:STP-PPC:0x100ADF40 BOUNCE] scan the +100 slots of the +40 table in index order; the first with visitor word 0 gets visitor, deadline now + 1000 × dur and start now, +108 goes up, return 1; a full table returns 0 and stores nothing; the deadline comes from one clock call (0xadfb0) and the start from a second (0xadfcc) |
| STP-PPC:0x100AE020 UNBOUNCE | source/OpenTPW/World/Guests/RideVisitorBridge.cs:2042 | [BIN:STP-PPC:0x100AE020 UNBOUNCE] slots in index order; release needs deadline < now (cmpw, 0x100AE088) and ((now − start) mod 1000) / 200 == 0 (0x100AE040..0x100AE0B0) |
| STP-PPC:0x100AE930 RSE EVENT effect switch | source/OpenTPW.Tests/AudioTriggerTests.cs:26 | [BIN:STP-PPC:0x100AE930 RSE EVENT effect switch] seven traced routes; the sound-manager offsets are the level/global category slots of 0x100BC6F0/0x100BC864 |
| STP-PPC:0x100AE930 RSE EVENT effect switch | source/OpenTPW.Tests/AudioTriggerTests.cs:235 | [BIN:STP-PPC:0x100AE930 RSE EVENT effect switch] the switch guards type < 10 (0x100AE938) |
| STP-PPC:0x100AE930 RSE EVENT effect switch | source/OpenTPW/Audio/GameAudio.cs:989 | [BIN:STP-PPC:0x100AE930 RSE EVENT effect switch] each type loads its category handle from the sound-manager offset and submits the id operand as the event at the object's position |
| STP-PPC:0x100AE930 RSE EVENT effect switch | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1093 | [BIN:STP-PPC:0x100AE930 RSE EVENT effect switch] the type operand selects the sound category (3 level rides, 4 level ambient, 5 global rides, 6 global kids, 7 global staff, 8 global ambient, 9 global UI) and the id operand the event, submitted at the object's position |
| STP-PPC:0x100AE97C particle EVENT | source/OpenTPW.Tests/AudioIntegrationTests.cs:329 | [BIN:STP-PPC:0x100AE97C particle EVENT] types 1/2 resolve model keys and allocate particle pool handles, never sound voices |
| STP-PPC:0x100AFB1C no object | source/OpenTPW/VM/Handlers/Animation.cs:128 | [BIN:STP-PPC:0x100AFB1C no object] TRIGANIM, WAITANIM (0x100AFC74), TRIGWAITANIM (0x100AFE88), TRIGANIMSPEED (0x100B0078), TRIGANIM_CH (0x100B01D4), WAITANIM_CH (0x100B032C) and TRIGWAITANIM_CH (0x100B0510) skip the trigger and use 0 when script +200 is null |
| STP-PPC:0x100AFD2C LOOPANIM token | source/OpenTPW/VM/Handlers/Animation.cs:42 | [BIN:STP-PPC:0x100AFD2C LOOPANIM token] an equal token returns before the trigger and leaves the deadline; TRIGANIM, WAITANIM, TRIGWAITANIM and TRIGANIMSPEED store 0xFFFF (0x100AFBB4, 0x100AFCF8, 0x100AFF24, 0x100B00EC), as does script creation (0x100B31A0); the _CH forms leave it |
| STP-PPC:0x100AFFC4 TRIGANIMSPEED | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:984 | [BIN:STP-PPC:0x100AFFC4 TRIGANIMSPEED] the clip runs at script speed × operand / 1000 (0x100B003C–0x100B0070); the handler also keeps the operand at script +228, whose reader is not traced |
| STP-PPC:0x100B0E9C ADDHEAD | source/OpenTPW/World/Guests/RideHeadSpace.cs:8 | [BIN:STP-PPC:0x100B0E9C ADDHEAD] the table at script +48 (null: nothing), its length at +76, then a random slot drawn until one holds 0 (none free: nothing), the visitor stored there, and the head hung on head id slot + 1 (-1 from the lookup keeps the visitor without a head) |
| STP-PPC:0x100B0E9C ADDHEAD | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1991 | [BIN:STP-PPC:0x100B0E9C ADDHEAD] no register write; the head is drawn by RideHeadRenderer from the table |
| STP-PPC:0x100B0F90 DELHEAD | source/OpenTPW/World/Guests/RideHeadSpace.cs:9 | [BIN:STP-PPC:0x100B0F90 DELHEAD] every slot holding the visitor is zeroed, and a head hung on it is taken down |
| STP-PPC:0x100B0F90 DELHEAD | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1995 | [BIN:STP-PPC:0x100B0F90 DELHEAD] no register write |
| STP-PPC:0x100B19DC STARTSCREAM | source/OpenTPW/Audio/GameAudio.cs:796 | [BIN:STP-PPC:0x100B19DC STARTSCREAM] operand 1 is the band itself (no visitor lookup), operand 2 the level; the handle is kept in the ride's VM at +208 |
| STP-PPC:0x100B19DC STARTSCREAM | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1017 | [BIN:STP-PPC:0x100B19DC STARTSCREAM] the scream is held by the ride's script (the handle at the VM's +208); STOPSCREAM stops the handle, SINGLESCREAM is a one-shot with no handle |
| STP-PPC:0x100B19DC refusal | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1026 | [BIN:STP-PPC:0x100B19DC refusal] a ride already holding a scream handle refuses: the engine logs "Started screaming without stopping first." and overwrites the handle with 0, so the held chain screams on unreferenced |
| STP-PPC:0x100B1AD4 branch | source/OpenTPW/Audio/GameAudio.cs:830 | [BIN:STP-PPC:0x100B1AD4 branch] the test is on the second operand read as a signed short: >= 0 takes the grid, < 0 the band alone |
| STP-PPC:0x100B2144 RSE civil time | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:966 | [BIN:STP-PPC:0x100B2144 RSE civil time] YEAR/MONTH/DAY/HOUR use host time/localtime, not the park calendar (PPC-clock.md). |
| STP-PPC:0x100B2BA0 script init | source/OpenTPW/World/Guests/RideHeadSpace.cs:12 | [BIN:STP-PPC:0x100B2BA0 script init] counts head ids from 1 until the lookup returns -1, allocates 4 bytes per id at script +0x30 and stores the count at +0x4C [0x100B32D4..0x100B3368] |
| STP-PPC:0x100B5BE0 ride script variable | source/OpenTPW/Economy/GuestEconomyBridge.cs:33 | [BIN:STP-PPC:0x100B5BE0 ride script variable] the wear step reads script variables 9 (VAR_RUNNING), 5 (VAR_ONRIDE), 2 and 3 and the script's speed (+0xC0, 0x100B5B40); 0x100B57D4 writes 4 (VAR_BREAKSTAT) and 8 (VAR_WORN) |
| STP-PPC:0x100B6DF4 COAST bridge | source/OpenTPW/World/Coasters/CoasterRide.cs:725 | [BIN:STP-PPC:0x100B6DF4 COAST bridge] COAST 8 creates or looks up the controller (0x1003DAFC), stores it at script +224 and applies the script speed (0x1003DE68); the parameter is ignored |
| STP-PPC:0x100BB18C sound service | source/OpenTPW/Audio/AudioMixer.cs:446 | [BIN:STP-PPC:0x100BB18C sound service] while speech plays (and speech is on with a volume above 0) music and the second user volume are set to volume × SoundInfo.DUCKINGLEVEL / 100 |
| STP-PPC:0x100BB18C speech ducking | source/OpenTPW/Audio/AudioMixer.cs:486 | [BIN:STP-PPC:0x100BB18C speech ducking] while speech plays, Music = settings+0x20 × duck / 100 and User2 = settings+0x1C × duck / 100 (TbSysCommand::SetMusicVolume / SetUser2Volume); +0x1C is fed from the SFX slider (profile +0x10, PC serializer 0x423E90), so the ducked second volume is the effects channel; master and speech stay |
| STP-PPC:0x100BC210 crowd update | source/OpenTPW.Tests/AudioTriggerTests.cs:54 | [BIN:STP-PPC:0x100BC210 crowd update] cat_kids event 0x5B, parameter capped at 100 (0x101C2498 and 0x100BC238) |
| STP-PPC:0x100BC210 crowd update | source/OpenTPW/Audio/GameAudio.cs:656 | [BIN:STP-PPC:0x100BC210 crowd update] a count above 0 starts cat_kids event 0x5B and sets its parameter; 0 stops it (the start/stop wrapper is 0x100BC2E0) |
| STP-PPC:0x100BC298–0x100BC29C crowd update | source/OpenTPW/Audio/GameAudio.cs:687 | [BIN:STP-PPC:0x100BC298–0x100BC29C crowd update] the capped nearby count is sent with parameter code 7 to 0x100BAF70 |
| STP-PPC:0x100BC388 rain level | source/OpenTPW/Audio/GameAudio.cs:707 | [BIN:STP-PPC:0x100BC388 rain level] above 0 the global rain voice (cat_ambient 0x21, submitted flat) is started once and given parameter 8 = the level; 0 stops it with 0x100BBA58 |
| STP-PPC:0x100BC438 lobby registration | source/OpenTPW/Audio/GameAudio.cs:265 | [BIN:STP-PPC:0x100BC438 lobby registration] the global lobby effects category registered at sound-manager offset 40 |
| STP-PPC:0x100BC4C0 lobby registration | source/OpenTPW.Tests/AudioTriggerTests.cs:163 | [BIN:STP-PPC:0x100BC4C0 lobby registration] each level's Sound folder holds the local lobby pair |
| STP-PPC:0x100BC4C0 lobby registration | source/OpenTPW/Audio/GameAudio.cs:562 | [BIN:STP-PPC:0x100BC4C0 lobby registration] each level's Sound folder registers the cat_locallobbymusic/cat_locallobbysfx pair in the sound manager's lobby table |
| STP-PPC:0x100BC6F0 sound manager | source/OpenTPW/Audio/GameAudio.cs:258 | [BIN:STP-PPC:0x100BC6F0 sound manager] global categories registered at sound-manager offsets 12 (cat_ui), 20 (cat_speech), 0 (cat_ambient), 8 (cat_rides), 4 (cat_kids), 16 (cat_staff) |
| STP-PPC:0x100BC864 level registration | source/OpenTPW.Tests/AudioTriggerTests.cs:171 | [BIN:STP-PPC:0x100BC864 level registration] the level's ambient and rides categories |
| STP-PPC:0x100BC864 level registration | source/OpenTPW/Audio/GameAudio.cs:325 | [BIN:STP-PPC:0x100BC864 level registration] the level's cat_ambient and cat_rides registered at sound-manager offsets 24 and 28 |
| STP-PPC:0x100BCB60 dynamic meshes | source/OpenTPW/World/Original/BlueprintMarkers.cs:45 | [BIN:STP-PPC:0x100BCB60 dynamic meshes] BlueprintMesh, WaterMesh, FlagsMesh; [BIN:STP-PPC:0x100BD3D4 AddFace] square faces of mesh 0 with a texture index; [BIN:STP-PPC:0x100BF540 square face] code 0 is the flat face at (x, y, z)-(x+10, y, z+10), codes 1/4/0x10/0x40 the vertical faces on the −Y/+X/+Y/−X edges, 10 high |
| STP-PPC:0x100BD3D4 AddFace | source/OpenTPW/World/Original/BlueprintMarkers.cs:45 | [BIN:STP-PPC:0x100BCB60 dynamic meshes] BlueprintMesh, WaterMesh, FlagsMesh; [BIN:STP-PPC:0x100BD3D4 AddFace] square faces of mesh 0 with a texture index; [BIN:STP-PPC:0x100BF540 square face] code 0 is the flat face at (x, y, z)-(x+10, y, z+10), codes 1/4/0x10/0x40 the vertical faces on the −Y/+X/+Y/−X edges, 10 high |
| STP-PPC:0x100BF540 square face | source/OpenTPW/World/Original/BlueprintMarkers.cs:45 | [BIN:STP-PPC:0x100BCB60 dynamic meshes] BlueprintMesh, WaterMesh, FlagsMesh; [BIN:STP-PPC:0x100BD3D4 AddFace] square faces of mesh 0 with a texture index; [BIN:STP-PPC:0x100BF540 square face] code 0 is the flat face at (x, y, z)-(x+10, y, z+10), codes 1/4/0x10/0x40 the vertical faces on the −Y/+X/+Y/−X edges, 10 high |
| STP-PPC:0x100BF540 square face | source/OpenTPW/World/Original/BlueprintMarkers.cs:52 | [BIN:STP-PPC:0x100BF540 square face] DAT_101f1240 = 10.0 |
| STP-PPC:0x100C19E4 average happiness | source/OpenTPW/Economy/GuestEconomyBridge.cs:178 | [BIN:STP-PPC:0x100C19E4 average happiness] 0.0 while the park is closed (0x100C3524), otherwise the single mean of each in-park guest's (u8)trunc(happiness), not the mean of the raw values (PPC-scenarios, golden tickets) |
| STP-PPC:0x100C1D4C park value | source/OpenTPW/Economy/ParkEconomy.cs:1863 | [BIN:STP-PPC:0x100C1D4C park value] the thing loop adds sum(Upgrades[0..level].CostOfUpgrade) × byte(state of repair) / 100 for every object that is not in state 4; the 128 × 128 cell loop adds 1, 3, 5, 1, 1, 2 and 50 points by cell type (the predicates 0x10085174..0x10085418) for cells without the unowned flag 0x40; both executed by the oracle target park-value |
| STP-PPC:0x100C1F00 park value objects | source/OpenTPW/Economy/ParkValueRules.cs:45 | [BIN:STP-PPC:0x100C1F00 park value objects] mullw by the gauge byte, then the multiply-high division by 100 (0x51EB851F); executed by the oracle target park-value |
| STP-PPC:0x100C24C0 park points | source/OpenTPW/Economy/ParkEconomy.cs:2247 | [BIN:STP-PPC:0x100C24C0 park points] sum over placed things whose type kind (+0x7A8) is 0 or 2: (type +0x268[age / +0x5C] + type +0x58) / divisor, age in days (64-bit time / 864,000,000,000 at 0x101C4100), no bonus for a bracket outside 0..2 |
| STP-PPC:0x100C24C0 park points | source/OpenTPW/Economy/ParkEconomy.cs:2248 | [BIN:STP-PPC:0x100C24C0 park points] executed by the PowerPC oracle (docs/reverse/ORACLE.md F10): a type whose +0x9C word (Bumper.WhichTrackType) is 0 is aged from its park record's +28 (0x100D1BE8; written by 0x100DA874 at a purchase while it is still 0, so the first purchase after turn 0) and divided by the record's +24 copy count (0x100C5828); any other type is aged from the thing's own purchase time (0x100DC520) and divided by 1 |
| STP-PPC:0x100C7B24 park rating | source/OpenTPW/Economy/ParkEconomy.cs:2074 | [BIN:STP-PPC:0x100C7B24 park rating] min(counted guests, 1000) × 20 / 1000; objects by Info.WhichUIType (type +1960): rides (0) × 3 / 2 up to 20, shops (1) and sideshows (2) × 2 up to 10 each, features (3) up to 10, rides at upgrade level 2 or more up to 10; each of the five staff classes with the thing byte +3 clear up to 4; executed by the oracle target park-rating (ORACLE.md F29) |
| STP-PPC:0x100CB2AC arrival update | source/OpenTPW/World/Guests/GuestSimulation.cs:818 | [BIN:STP-PPC:0x100CB2AC arrival update] if no group is active and 0x101210F8's (turn >> 2) − (start >> 2) exceeds Arrival.TimeBetweenArrivals (settings +0x2D4), the group size is set and the group starts; at each stop one guest is created and the count falls; at 0 the timer restarts (0x10121098) |
| STP-PPC:0x100CB4E8 arrival group | source/OpenTPW/World/Guests/GuestSimulation.cs:238 | [BIN:STP-PPC:0x100CB4E8 arrival group] a group is cut so the guests already counted plus the group stay at most 1500 (0x5DC) |
| STP-PPC:0x100CB4E8 arrival group | source/OpenTPW/World/Guests/GuestSimulation.cs:239 | [BIN:STP-PPC:0x100CB4E8 arrival group] executed by the PowerPC oracle (docs/reverse/ORACLE.md F9): the 500 cut applies when the GameType word (data:0x53d98) is 1, i.e. online parks only; offline parks use 1500 |
| STP-PPC:0x100CB4E8 arrival group | source/OpenTPW/World/Guests/GuestSimulation.cs:1032 | [BIN:STP-PPC:0x100CB4E8 arrival group] 0 in world mode 4 (bankrupt); else (int)(factor (0.8f with the weather thing's +48 word, mCurrentDrops, positive; else 1.2f) × (points 0x100C24C0 + NewParkBonus +0x2DC)) / PointsPerVisitor (+0x2E0, 1 when below 2), raised to MinPeople (+0x2D0), then cut so the counted guests (0x100C1FB4) plus the group stay within 1500 (500 when the GameType word is 1) |
| STP-PPC:0x100CB564 arrival factor | source/OpenTPW/World/Guests/GuestSimulation.cs:223 | [BIN:STP-PPC:0x100CB564 arrival factor] 0x1083c8 returns the thing at ThingArray[u16 game+0x1DA724] (mWeather, created at 0x104a7c with the weather constructor 0x10298c, stored at 0x104a98 and saved by 0x105d3c as "mWeather"); 0xcb568 reads its +48 word, mCurrentDrops (serialised by 0x102b1c); positive selects 0.8f |
| STP-PPC:0x100CBA54 bank serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:252 | [BIN:STP-PPC:0x100CBA54 bank serializer] admission fee, balance and mProfitThisYear (+292) are the bank words of the save; bought loans keep offer, amount, APR, term, repayment and months repaid |
| STP-PPC:0x100CBF50 bank deposit | source/OpenTPW/Economy/ParkLedger.cs:65 | [BIN:STP-PPC:0x100CBF50 bank deposit] every credit raises the bank's mProfitThisYear (+0x124) and every debit (0x100CBFDC) lowers it; a loan deposit (0x100CC904) adds and removes its amount, and an instalment (0x100CC21C) nets to minus its interest share |
| STP-PPC:0x100CBFDC bank debit | source/OpenTPW/World/Coasters/CoasterBuilder.cs:529 | [BIN:STP-PPC:0x100CBFDC bank debit] coaster charges debit the bank (+12) directly; credits go through 0x100CBF50 |
| STP-PPC:0x100CC120 bank message 13 | source/OpenTPW/Economy/ParkLedger.cs:88 | [BIN:STP-PPC:0x100CC120 bank message 13] the year event (type 13, from the calendar's year change 0x100E4148) sets mProfitThisYear to 0 |
| STP-PPC:0x100CC21C loan instalment | source/OpenTPW/Economy/ParkEconomy.cs:1579 | [BIN:STP-PPC:0x100CC21C loan instalment] each bought loan, in offer-index order, pays exactly M and counts one more month repaid; it ends after N months (ORACLE F13) |
| STP-PPC:0x100CC21C loan instalment | source/OpenTPW/Economy/ParkEconomy.cs:1600 | [BIN:STP-PPC:0x100CC21C loan instalment] a fully repaid loan clears its bought flag; 0x100CC9E8 then offers it again when the credit test passes |
| STP-PPC:0x100CC904 loan deposit | source/OpenTPW/Economy/ParkLedger.cs:24 | [BIN:STP-PPC:0x100CC904 loan deposit] loan proceeds are added to the "Money in" accumulator (+0x1FC90, graph toggle 0x12279 "Money in") like every other credit; instalments go to the money-out accumulator (+0x1F5A0) |
| STP-PPC:0x100CCC78 loan payoff | source/OpenTPW/Economy/OriginalEconomyImport.cs:249 | [BIN:STP-PPC:0x100CCC78 loan payoff] the outstanding amount of a bought loan is M × (N − months repaid); the original keeps no declining principal |
| STP-PPC:0x100CCC78 loan payoff | source/OpenTPW/Economy/ParkEconomy.cs:2752 | [BIN:STP-PPC:0x100CCC78 loan payoff] months repaid are cleared before they are read again, so the profit is charged the share of the whole term (q x N), even after a partial repayment (ORACLE F13) |
| STP-PPC:0x100CE690 challenge check | source/OpenTPW/Economy/ParkObjectives.cs:337 | [BIN:STP-PPC:0x100CE690 challenge check] a 34-entry handler table (0x1022C794) by type; types 30-33 test "built" (1), type 28 compares TargetVal with the level |
| STP-PPC:0x100CE754 challenge type 28 | source/OpenTPW/Economy/ParkObjectives.cs:296 | [BIN:STP-PPC:0x100CE754 challenge type 28] passes when TargetVal <= the highest upgrade level byte (+0x4C, 0 = base) of the target rides (0x100C5740, -1 when none) |
| STP-PPC:0x100CE7B4 challenge types 9 and 10 | source/OpenTPW/Economy/GuestEconomyBridge.cs:249 | [BIN:STP-PPC:0x100CE7B4 challenge types 9 and 10] percent = trunc(100 × in-park guests holding a balloon (guest +0x210, 0x100C3BEC) or wearing a costume (+0x24 == 2, 0x100C3CD0) / in-park guests), 0 without guests |
| STP-PPC:0x100CE9CC challenge types 30-32 | source/OpenTPW/Economy/ParkObjectives.cs:299 | [BIN:STP-PPC:0x100CE9CC challenge types 30-32] pass when the object control's build count of TargetObj (+0x18, raised by every Thing construction at 0x100DA874 and never lowered) is above 0; TargetVal and TargetObj2 are not read |
| STP-PPC:0x100CEA00 challenge type 33 | source/OpenTPW/Economy/ParkObjectives.cs:301 | [BIN:STP-PPC:0x100CEA00 challenge type 33] passes when both TargetObj and TargetObj2 have been built |
| STP-PPC:0x100D2CE0 staff voices | source/OpenTPW/Audio/GameAudio.cs:862 | [BIN:STP-PPC:0x100D2CE0 staff voices] the entertainer's handler draws the world random each idle/walking turn and at (draw & 0xF) == 0 plays cat_staff (manager +16) 164 (walking) or 165 (idle) through the wrapper 0x100E6D20 at the member's position; the performance state (14) plays 135 at 0x100D2D98 |
| STP-PPC:0x100D2CE0 staff voices | source/OpenTPW/Audio/GameAudio.cs:874 | [BIN:STP-PPC:0x100D2CE0 staff voices] the entertainer handler draws the world random at each walking/idle turn and plays at (draw & 0xF) == 0 — the gate is traced for all roles (0x100D5EAC, 0x100D6434, 0x100D9BAC, 0x100D9F10, 0x100D2DDC, 0x100D2E44, 0x100D4EF0, 0x100D4E18, 0x100F0460, 0x100F0630) |
| STP-PPC:0x100D3244 local golden tickets | source/OpenTPW/Economy/ParkObjectives.cs:628 | [BIN:STP-PPC:0x100D3244 local golden tickets] every local ticket compares signed and strictly GREATER (cmpw, bc 4,1) with the word of GoldenTicketLocal, none is a >= (oracle F23) |
| STP-PPC:0x100D3308 happiness ticket | source/OpenTPW/Economy/ParkObjectives.cs:631 | [BIN:STP-PPC:0x100D3308 happiness ticket] the average guest happiness (single) is greater than single(Happiness) and the guests in the park are more than AtLeastThisManyHappyPeople; nobody is filtered by happiness (oracle F23) |
| STP-PPC:0x100D33F8 local golden tickets | source/OpenTPW/Economy/ParkObjectives.cs:614 | [BIN:STP-PPC:0x100D33F8 local golden tickets] the profit ticket is won when the bank's year profit (+292, mProfitThisYear) is signed GREATER than ProfitYear, with no factor (oracle F23); the multiplier at 0x10013FDC belongs to the advisor's near-ticket hint, not to the award |
| STP-PPC:0x100D5EC0..0x100F0630 all five kinds | source/OpenTPW/Audio/GameAudio.cs:863 | [BIN:STP-PPC:0x100D5EC0..0x100F0630 all five kinds] walking 160/162/164/166/168 and idle 161/163/165/167/169 (handyman, mechanic, entertainer, guard, researcher), a researching turn 138, a performance's end 135, a guard's chase 136 and catch 137; the fork's PC reading (maexah/OpenTPW docs/exe/audio.md) is a lead only |
| STP-PPC:0x100D67F0 world update | source/OpenTPW.Tests/ParkEconomyTests.cs:1295 | [BIN:STP-PPC:0x100D67F0 world update] turn % 100 == 0 (unsigned) calls the dispatcher 0x100D2F1C, which checks only for game type 0; about 4.3 park days (25 s at normal speed) apart (oracle F31) |
| STP-PPC:0x100D67F0 world update | source/OpenTPW/Economy/ParkEconomy.cs:528 | [BIN:STP-PPC:0x100D67F0 world update] after the calendar update (whose messages the bank, the staff and the other listeners handle at once) the golden-ticket checks (0x100D31D0, 0x100D34C0, 0x100D35B4) run when the turn counter is a multiple of 100, and only in Full Simulation (game type 0) |
| STP-PPC:0x100D67F0 world update | source/OpenTPW/Economy/ParkEconomy.cs:1048 | [BIN:STP-PPC:0x100D67F0 world update] turn % 100 == 0 (unsigned) calls the dispatcher 0x100D2F1C, which runs the checks only while the game type word is 0 (oracle F31: 507 scripts agree) |
| STP-PPC:0x100D9C0C mechanic arrival | source/OpenTPW/Economy/ParkEconomy.cs:1343 | [BIN:STP-PPC:0x100D9C0C mechanic arrival] upgrade (ride state 2): WorkDuration[grade] (+1004 + 8 × grade) × the type record word at +508 + 64 × level (Upgrades[level + 1].DurationOfUpgrade); otherwise WorkDuration × (100 − (fctiwz(+64) & 0xFF)) / 100 through mullw and the 1/100 multiply-high; stored at mechanic +528 as an unsigned word |
| STP-PPC:0x100D9C0C mechanic arrival | source/OpenTPW/Economy/ParkEconomy.cs:1394 | [BIN:STP-PPC:0x100D9C0C mechanic arrival] the timer starts only for a ride in state 1 (broken down) or 2 (upgrading) or with the maintenance word +96; any other ride logs and releases the mechanic (ORACLE F19) |
| STP-PPC:0x100D9E04 repair state | source/OpenTPW/Economy/ParkEconomy.cs:541 | [BIN:STP-PPC:0x100D9E04 repair state] each staff update counts a mechanic's job timer down by one; the update that finds it zero completes the repair |
| STP-PPC:0x100DA874 object purchase | source/OpenTPW/Client/M4GateRun.cs:388 | [DATA:<object>.sam:Upgrades[0].CostOfUpgrade, UsageInfo.GoldenTicketCost] [BIN:STP-PPC:0x100DA874 object purchase] a first purchase of an object with a ticket cost pays tickets, not cash |
| STP-PPC:0x100DA874 object purchase | source/OpenTPW/Economy/ParkEconomy.cs:2236 | [BIN:STP-PPC:0x100DA874 object purchase] an object with a GoldenTicketCost (+0xC4) above 0 that the park has not yet bought with tickets costs that many tickets (0x100D3000; allowed when cost <= earned - spent) and no cash; it joins the owned set, and later copies and ticket-free objects take the cash path |
| STP-PPC:0x100DA874 object purchase | source/OpenTPW/Economy/ParkEconomy.cs:2338 | [BIN:STP-PPC:0x100DA874 object purchase] the type's park record +28 takes the current turn while it is still 0 (0x100DADEC..0x100DAE14); selling does not clear it |
| STP-PPC:0x100DAB1C object constructor | source/OpenTPW/Economy/ParkEconomyContracts.cs:317 | [BIN:STP-PPC:0x100DAB1C object constructor] every built object starts at 100.0 (TOC −0x2B08) in +0x40, +0x44 and +0x48; the earlier 0.0 store (0x100DA90C) is overwritten on every path |
| STP-PPC:0x100DABD0 object constructor | source/OpenTPW/Economy/EconomyObjectCatalog.cs:186 | [BIN:STP-PPC:0x100DABD0 object constructor] type record +0xFC (UsageInfo.ChillsYouOut) nonzero sets thing +46 bit 0x2, the only test of the rest-area search 0x100F47A0 (ORACLE.md F22): any such object is a rest area for staff |
| STP-PPC:0x100DABDC object constructor | source/OpenTPW/Economy/EconomyObjectCatalog.cs:183 | [BIN:STP-PPC:0x100DABDC object constructor] type record +0x3C (Info.IsChoosable) nonzero sets thing +46 bit 0x4 (0x100DABDC..0x100DABF0), the first test of the park points counts-test 0x100DC834; the category files (Rides.sam, SideShow.sam, Shops.sam) declare it 1 |
| STP-PPC:0x100DAD90 object purchase | source/OpenTPW/Economy/OriginalEconomyImport.cs:363 | [BIN:STP-PPC:0x100DAD90 object purchase] thing +20 is the clock's stamp at the purchase; the saved attraction time stamp is taken as it, and the saved customer count as the use word +412 (raised with the history record at +420 when a guest leaves, 0x100EAA00 → 0x100E1B44), so an imported used or old object never gets the unused first-30-days scrap refund |
| STP-PPC:0x100DAF04 attraction serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:379 | [BIN:STP-PPC:0x100DAF04 attraction serializer] mPricePerUse, mCostOfGoods, mUpgradeLevel and the gauges at +0x40 (state of repair) and +0x44 (life gauge) |
| STP-PPC:0x100DB7D0 attraction loader stamp | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:25 | [BIN:STP-PPC:0x100DB7D0 attraction loader stamp] the Mac serializer writes the out-words of the imported TbTimeStamp::GetTime (eight int pointers, 0x100DAFD8) in order, and its loader passes every word but the fourth to TbTimeStamp::SetTime (seven ints) |
| STP-PPC:0x100DC520 own age | source/OpenTPW/Economy/ParkEconomy.cs:2276 | [BIN:STP-PPC:0x100DC520 own age] TbTimeStamp::operator- of the clock (+672) and thing +20, over 864,000,000,000; the park points stub of the oracle uses the same day scale (ORACLE.md F10) |
| STP-PPC:0x100DC834 counts-test | source/OpenTPW/Economy/ParkEconomy.cs:2249 | [BIN:STP-PPC:0x100DC834 counts-test] only things passing 0x100DC834 count: thing +0x2E bit 0x4 (the type's Info.IsChoosable, 0x100DABDC), ride state (+0x198) not BROKEN_DOWN (1, 0x100DFE0C) and not CONDEMNED (4, 0x100DFE20), the open word +0x64 nonzero (0x100DFF18; 1 at construction, cleared by closing and by breaking down), a connected entrance (0x100DD3F4 gives a cell), room in the queue (0x100DC988), a coaster without riders (0x100E2FE4, 0x10045EAC) and a built track for karts and water rides (+0x28) |
| STP-PPC:0x100DC988 queue room | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1235 | [BIN:STP-PPC:0x100DC988 queue room] a guest may join only while count < 4 × queue size in cells (+60) |
| STP-PPC:0x100DCB74 queue limit | source/OpenTPW/World/Guests/RideVisitorBridge.cs:23 | [BIN:STP-PPC:0x100DCB74 queue limit] ride +46 & 0x8 (Info.HasQueue, set by the ride build 0x100DAB6C) clear gives limit 100; set gives trunc(max(QWTC × (SPEED/InitSpeed × CAP) / DUR, 4)) as a u32 |
| STP-PPC:0x100DCBB8 queue limit | source/OpenTPW/World/Guests/RideVisitorBridge.cs:994 | [BIN:STP-PPC:0x100DCBB8 queue limit] SPEED is the unsigned word at ride +84; 0x101C3FBC converts the quotient to a u32, saturating at 2^32 − 1 |
| STP-PPC:0x100DCD34 queue append | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1244 | [BIN:STP-PPC:0x100DCD34 queue append] the guest is appended at the tail of the ride's linked list |
| STP-PPC:0x100DDA18 next queue cell | source/OpenTPW/World/Guests/GuestPathGrid.cs:46 | [BIN:STP-PPC:0x100DDA18 next queue cell] a neighbour that passes 0x851ac (type 3 or 9) and fails 0x851d0 (type 9) is a queue cell |
| STP-PPC:0x100DDCC4 queue lateral byte | source/OpenTPW/World/Guests/GuestSimulation.cs:3094 | [BIN:STP-PPC:0x100DDCC4 queue lateral byte] the sideways byte is rand mod 28 + 114 (114..141) from the shared RNG 0x105328; OpenTPW draws it from the simulation's seeded GuestRandom |
| STP-PPC:0x100DDD2C queue coordinates | source/OpenTPW/World/Guests/RideVisitorBridge.cs:20 | [BIN:STP-PPC:0x100DDD2C queue coordinates] four positions per queue cell; the walk subtracts 4 per followed link |
| STP-PPC:0x100DE1D8 entry stand point | source/OpenTPW/World/Guests/GuestSimulation.cs:3156 | [BIN:STP-PPC:0x100DE1D8 entry stand point] host +50 entry cell; (x, y) rotated by host +16: 90 → (y, 1 − x), 180 → (1 − x, 1 − y), 270 → (1 − y, x); × 255.0 (data 0x54c0), truncated to bytes (0xde500..0xde528) |
| STP-PPC:0x100DE654 reopen guard | source/OpenTPW/Economy/RideStateRules.cs:96 | [BIN:STP-PPC:0x100DE654 reopen guard] executed by the oracle target ride-may-open (ORACLE.md F27); the four state tests are 0xdfe0c, 0xdfe20, 0xdfe88 (+96) and 0xdfe90 |
| STP-PPC:0x100DE654 reopen guard | source/OpenTPW/World/ParkGate.cs:246 | [BIN:STP-PPC:0x100DE654 reopen guard] state 1, 4 and 2 (the script's VAR_BROKEN or the economy's breakdown; a purchased upgrade not yet installed), maintenance flag +96, back of the queue 0xdd744, coaster circuit 0x45eac; executed by the oracle target ride-may-open |
| STP-PPC:0x100DE904 wear amount | source/OpenTPW/Economy/ParkEconomy.cs:1250 | [BIN:STP-PPC:0x100DE904 wear amount] riders = VAR_ONRIDE clamped to 0..UsageInfo.MaxCapacity (call flag r7 = 0 at 0x100DED70); s = 0.9 speed / MaxSpeed, then (s + 1.1) × 0.5 when RedLineSpeed <= speed, else s + 0.1; c = 0.9 riders / MaxCapacity, then (c + 1.1) × 0.5 when RedLineCapacity <= riders / 10, else c + 0.1; wear = (s + c) × 0.5 × WearRate |
| STP-PPC:0x100DEC2C wear step | source/OpenTPW/Economy/ParkEconomy.cs:1228 | [BIN:STP-PPC:0x100DEC2C wear step] nothing happens when Upgrades[level].WearRate is 0, in online mode (OpenTPW has none) or when the ride script does not report VAR_RUNNING; with VAR_ONRIDE 0 the wear is 0 |
| STP-PPC:0x100DEC2C wear step | source/OpenTPW/Economy/ParkEconomy.cs:1233 | [BIN:STP-PPC:0x100DEC2C wear step] state of repair (+0x40) loses the wear and the life gauge (+0x44) 0.02 × the wear, each clamped to 0..100 |
| STP-PPC:0x100DEF2C repair | source/OpenTPW/Economy/ParkEconomy.cs:1328 | [BIN:STP-PPC:0x100DEF2C repair] a repair sets the state of repair to 100.0 (the float at TOC -11016, ORACLE F27) and clears the worn flag; it does not restore the life gauge. It also opens the ride (the host reopens the ride on RideRepaired) |
| STP-PPC:0x100DEF78 repair | source/OpenTPW/Economy/RideStateRules.cs:237 | [BIN:STP-PPC:0x100DEF78 repair] lfs f0,-11016(r2): 100.0; the life gauge (+68) is not touched |
| STP-PPC:0x100DF4D4 repair opens the ride | source/OpenTPW/World/Level.cs:1188 | [BIN:STP-PPC:0x100DF4D4 repair opens the ride] 0xdf4a0 open word = 1, 0xdf4c8 VAR_RIDECLOSED = 0, SetState(0); 0xdf4dc closes an incomplete coaster again |
| STP-PPC:0x100DF928 upgrade end | source/OpenTPW/World/Level.cs:1189 | [BIN:STP-PPC:0x100DF928 upgrade end] the upgrade's end leaves state 2 through SetState(0) like the repair (ORACLE.md F27, static): the same reopening, an incomplete coaster closed again |
| STP-PPC:0x100DF928 upgrade start | source/OpenTPW/World/Level.cs:1143 | [BIN:STP-PPC:0x100DF928 upgrade start] the upgrade start writes state 2, which clears the open word +100 and writes VAR_RIDECLOSED = 1 (0xe0c3c, ORACLE.md F27) |
| STP-PPC:0x100DFE34 ride failure | source/OpenTPW/World/Guests/QueueJoinRules.cs:97 | [BIN:STP-PPC:0x100DFE34 ride failure] the low byte of the truncated float +64 is compared unsigned with 25 |
| STP-PPC:0x100DFF70 ride excitement | source/OpenTPW/World/Coasters/CoasterRating.cs:179 | [BIN:STP-PPC:0x100DFF70 ride excitement] track type 3: 0 without a coaster controller (0x100B5E24), else trunc(fmadds(E, 0.5, 50)) with E the controller's excitement (getter 0x10041A14) |
| STP-PPC:0x100DFF70 ride excitement | source/OpenTPW/World/Guests/QueueJoinRules.cs:139 | [BIN:STP-PPC:0x100DFF70 ride excitement] base · clamp(speed / InitSpeed) · clamp(duration / InitDuration); speed is the word +84, duration the byte +88 |
| STP-PPC:0x100DFF70 sideshow excitement | source/OpenTPW/World/Guests/QueueJoinRules.cs:126 | [BIN:STP-PPC:0x100DFF70 sideshow excitement] win is the byte +396 (100 − ChanceOfLosing), goods +388 and price +400 are words; the sqrt import takes a double; 0.8f is TOC −11112 |
| STP-PPC:0x100E077C breakdown check | source/OpenTPW/Economy/ParkEconomy.cs:1145 | [BIN:STP-PPC:0x100E077C breakdown check] a ride that is not already broken down breaks down when its truncated life gauge or state of repair is 0; when only the state of repair is 0 the life gauge first loses 5 (clamped to 0..100); 0x100E09F4 then sets VAR_BREAKSTAT; there is no random roll |
| STP-PPC:0x100E077C ride update | source/OpenTPW/Economy/ParkEconomy.cs:1138 | [BIN:STP-PPC:0x100E077C ride update] a ride in state 1 or 4 (broken down, condemned), a closed ride (open word +0x64 = 0, which state 2 clears too) and a ride on a turn that is not a multiple of 8 are not updated; a mechanic at work on a ride that is open and not broken (a repair of a worn ride) does not stop the update |
| STP-PPC:0x100E0AEC ride update, states 1, 2 and 4 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1452 | [BIN:STP-PPC:0x100E0AEC ride update, states 1, 2 and 4] while the ride is broken (state 1; 4 when condemned) every update removes the head guest from the queue and sends it away (0xdcebc, 0xee804) unless the script has already taken it; the rest wait their turn, so a queue drains one guest per park turn. Static reading (ORACLE.md F15): the dispatch is exercised in the oracle target queue-ride-update |
| STP-PPC:0x100E1404 LetMeOn admission | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1574 | [BIN:STP-PPC:0x100E1404 LetMeOn admission] LETMEON == 0, ONRIDE < CAPACITY, RUNNING == 0 or RunsContinuously (+46 & 0x100), no pending visitor, head in state 11 at +497 == 0; then head +504 = 1 and ride +104 = head |
| STP-PPC:0x100E149C capacity bypass | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:765 | [BIN:STP-PPC:0x100E149C capacity bypass] track type 3, or type record +156 (Bumper.WhichTrackType) == 2, skips the ONRIDE < CAPACITY test |
| STP-PPC:0x100E1864 breakdown noticed | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1453 | [BIN:STP-PPC:0x100E1864 breakdown noticed] in state 0 the ride update runs the admission (0xe1404) first and only then reads VAR_BROKEN and enters state 1 (4 when the life gauge is 0): SetState(1) runs the head step once, zeroes the pending visitor and writes VAR_RIDECLOSED = 1 with the open word 0 (the oracle target ride-set-state executes it, ORACLE.md F27) |
| STP-PPC:0x100E2424 scrap percentage | source/OpenTPW/Economy/ParkEconomy.cs:1834 | [BIN:STP-PPC:0x100E2424 scrap percentage] age = clock stamp − thing +20 as signed 100 ns units; quotient by 365 days (exactly) 0 → year 1, 1, 2, else (also negative) year 4; in year 1, quotient by 30 days 0 and thing +412 = 0 and record +392 > 0 give 100; the row is record +392 + 64 × level |
| STP-PPC:0x100E25E8 scrap value | source/OpenTPW/Client/M4GateRun.cs:740 | [DATA:<object>.sam:Upgrades[0].CostOfUpgrade, Upgrades[n].ScrapValueYear1..4] [BIN:STP-PPC:0x100E25E8 scrap value] scrap = Upgrades[0].CostOfUpgrade × the level's ScrapValueYearN % for the age (365 park-clock days a year), or 100 % for an object nobody used in its first 30 days |
| STP-PPC:0x100E25E8 scrap value | source/OpenTPW/Economy/ParkEconomy.cs:1806 | [BIN:STP-PPC:0x100E25E8 scrap value] Upgrades[0].CostOfUpgrade × the percentage 0xE2424, unsigned division by 100 |
| STP-PPC:0x100E3F0C calendar update | source/OpenTPW/Economy/ParkCalendar.cs:120 | [BIN:STP-PPC:0x100E3F0C calendar update] day, month and year messages when the extracted field differs from the stored one; the original's constructor stores day -1 and year 0, so its first update also posts a day and a year message |
| STP-PPC:0x100E3F0C calendar update | source/OpenTPW/Economy/ParkEconomy.cs:493 | [BIN:STP-PPC:0x100E3F0C calendar update] day, month and year events fire when the extracted date fields change from those of the previous turn (ParkCalendar.Update) |
| STP-PPC:0x100E4348 calendar start | source/OpenTPW/Economy/ParkCalendar.cs:61 | [BIN:STP-PPC:0x100E4348 calendar start] TbTimeStamp::SetTime( 2000, 1, 1, 0, 0, 0, 0 ) |
| STP-PPC:0x100E4394 calendar conversion | source/OpenTPW/Economy/ParkCalendar.cs:59 | [BIN:STP-PPC:0x100E4394 calendar conversion] seconds = turn × mFunnySecsPerRealSec (15000, set by 0x100E3C90) / 4 |
| STP-PPC:0x100E4394 calendar conversion | source/OpenTPW/Economy/ParkCalendar.cs:103 | [BIN:STP-PPC:0x100E4394 calendar conversion] the date of a park turn is the 2000-01-01 start plus floor(turn x 15000 / 4) seconds (oracle F30: 647 turns and rates agree) |
| STP-PPC:0x100E48B8 base speed | source/OpenTPW/World/Guests/GuestNavigation.cs:1140 | [BIN:STP-PPC:0x100E48B8 base speed] +192 = data 0x4105e[rand % 5]: 60, 80, 100, 120, 140 (table data 0x41058) |
| STP-PPC:0x100E6B28 speed smoothing | source/OpenTPW/World/Guests/GuestNavigation.cs:1176 | [BIN:STP-PPC:0x100E6B28 speed smoothing] float data 0x550c 3.0, 0x5508 0.25, divisor 100 (data 0x41062); 0xe6b9c fmadds |
| STP-PPC:0x100E7644 guest constructor | source/OpenTPW/World/Guests/GuestSimulation.cs:566 | [BIN:STP-PPC:0x100E7644 guest constructor] the starting values come from GuestStart (ORACLE.md F25): eight draws in the constructor's order |
| STP-PPC:0x100E7644 guest constructor | source/OpenTPW/World/Guests/GuestStart.cs:38 | [BIN:STP-PPC:0x100E7644 guest constructor] executed by the PowerPC oracle (guest-constructor, 517 inputs; C# agrees on the compared values) |
| STP-PPC:0x100E8F70 | source/OpenTPW/World/Guests/RideHeadRenderer.cs:160 | [BIN:STP-PPC:0x100E8F70] the kidsheads art, or costumeheads when the visitor's costume flag (+0x24) is 2 (set index +0x20); a rider in costume gets the theme's costume head (Level.SetupGuests), and in Fantasy and Hallow, which ship none, its kid head (GUEST-017) |
| STP-PPC:0x100E8FF4 choice loop | source/OpenTPW/World/Guests/GuestSimulation.cs:2604 | [BIN:STP-PPC:0x100E8FF4 choice loop] executed by the PowerPC oracle (attraction-choice); the tie rule reads the world turn's bit 0 (game +0x1da70c) |
| STP-PPC:0x100E90A8 choice loop | source/OpenTPW/World/Guests/AttractionChoice.cs:17 | [BIN:STP-PPC:0x100E90A8 choice loop] cmplwi 10 unsigned, cmpw signed against the best, the equal case gated by game +0x1da70c bit 0, then 0xdc834 and the path test 0xe67c8 |
| STP-PPC:0x100E90A8 choice loop | source/OpenTPW/World/Guests/Decisions/OriginalGuestDecisions.cs:33 | [BIN:STP-PPC:0x100E90A8 choice loop] cmplwi 10 unsigned, cmpw signed against the best, the equal case gated by game +0x1da70c bit 0 |
| STP-PPC:0x100E9164 attraction score | source/OpenTPW/World/Guests/GuestSimulation.cs:2590 | [BIN:STP-PPC:0x100E9164 attraction score] executed by the PowerPC oracle (attraction-score, 578 inputs; C# agrees) |
| STP-PPC:0x100E9320 distance match | source/OpenTPW/World/Guests/AttractionScore.cs:85 | [BIN:STP-PPC:0x100E9320 distance match] squared displacement, not path length; the multiply-high sequence is a division by 450 over the grid's domain |
| STP-PPC:0x100E9388 cell modifier | source/OpenTPW/World/Guests/GuestSimulation.cs:2591 | [BIN:STP-PPC:0x100E9388 cell modifier] the environment record's component 4 (+8) at the back-of-queue cell divides the distance match; only the fireworks' RegionFX row 7 writes it (Attraction 10 in the shipped Standard.sam; tp.exe 0x004DB48C), so it is 0 everywhere else |
| STP-PPC:0x100E94B8 thirst match | source/OpenTPW/World/Guests/AttractionScore.cs:112 | [BIN:STP-PPC:0x100E94B8 thirst match] [BIN:STP-PPC:0x100E9528 hunger match] data +0x41222 (TOC -27104): row effect / 10, column need / 10, each quotient a byte of mulhwu(0xCCCCCCCD, x) >> 3 |
| STP-PPC:0x100E9528 hunger match | source/OpenTPW/World/Guests/AttractionScore.cs:112 | [BIN:STP-PPC:0x100E94B8 thirst match] [BIN:STP-PPC:0x100E9528 hunger match] data +0x41222 (TOC -27104): row effect / 10, column need / 10, each quotient a byte of mulhwu(0xCCCCCCCD, x) >> 3 |
| STP-PPC:0x100E9588 relief match | source/OpenTPW/World/Guests/AttractionScore.cs:121 | [BIN:STP-PPC:0x100E9588 relief match] the flag is thing +46 bit 0; 0xe95b8 gives 0 without it |
| STP-PPC:0x100E95E0 relief match | source/OpenTPW/World/Guests/AttractionScore.cs:81 | [BIN:STP-PPC:0x100E95E0 relief match] the 21 bytes at data +0x4129B (TOC -27100); read by the oracle from the binary, written here as the gameplay constants they are |
| STP-PPC:0x100E97B8 golden ticket scale | source/OpenTPW/World/Guests/AttractionScore.cs:186 | [BIN:STP-PPC:0x100E97B8 golden ticket scale] TOC -10896/-10904/-10912: the 2^52 conversion constant, 1.0 and 10.0 |
| STP-PPC:0x100E9830 upgrade cost scale | source/OpenTPW/World/Guests/AttractionScore.cs:197 | [BIN:STP-PPC:0x100E9830 upgrade cost scale] TOC -10920 (3000.0f), -10888 (10.0f), -10924 (1.0f); the comparison is with the double 1.0 (TOC -10904) |
| STP-PPC:0x100E9A84 join difference | source/OpenTPW/World/Guests/QueueJoinRules.cs:94 | [BIN:STP-PPC:0x100E9A84 join difference] 0xdfe34 set: the result is 100 and no excitement is computed |
| STP-PPC:0x100E9FD4 used history | source/OpenTPW/World/Guests/Decisions/OriginalGuestDecisions.cs:62 | [BIN:STP-PPC:0x100E9FD4 used history] the end of a use pushes the attraction's id into the used history |
| STP-PPC:0x100E9FD4 used history | source/OpenTPW/World/Guests/GuestSimulation.cs:3868 | [BIN:STP-PPC:0x100E9FD4 used history] the end of a use (0xe9fa4) pushes the attraction's id into the used history (0xea268) before the outcome |
| STP-PPC:0x100EA318 ride outcome | source/OpenTPW/World/Guests/GuestSimulation.cs:3942 | [BIN:STP-PPC:0x100EA318 ride outcome] executed by the PowerPC oracle (ride-outcome, 561 inputs; C# agrees) |
| STP-PPC:0x100EA318 ride outcome | source/OpenTPW/World/Guests/RideOutcome.cs:31 | [BIN:STP-PPC:0x100EA318 ride outcome] bands: cmpwi 5, 15, 40 with bc 4,0 (strictly below); weights +36/+40/+44 and +48 of the settings block (the PeepInfo keys in file order); no branch for a larger difference |
| STP-PPC:0x100EAAF8 sideshow win | source/OpenTPW/Economy/EconomyObjectCatalog.cs:172 | [BIN:STP-PPC:0x100EAAF8 sideshow win] each sideshow win charges the object's cost of goods (+0x184, copied from catalogue word 0x50 = UsageInfo.InitCostOfGoods at +0x140) to its costs and the bank |
| STP-PPC:0x100EABC4 use effects | source/OpenTPW/World/Guests/UseEffects.cs:12 | [BIN:STP-PPC:0x100EABC4 use effects] type +324 (thirst, subtracted), +328 (hunger, subtracted), +332 (vomit, added to illness), +336 (happiness, added); each a clamped single-precision step; executed by the PowerPC oracle (shop-sale-litter, 526 inputs) |
| STP-PPC:0x100EB0CC sugar boost | source/OpenTPW/World/Guests/GuestNavigation.cs:1210 | [BIN:STP-PPC:0x100EB0CC sugar boost] type +344 == 4: boost (+196, u16) += trunc((amount byte × 6) / 100) (multiply by the 0x51eb851f magic, shift 5) |
| STP-PPC:0x100EBDFC leaving test | source/OpenTPW/World/Guests/GuestLifecycle.cs:14 | [BIN:STP-PPC:0x100EBDFC leaving test] executed by the PowerPC oracle (guest-exit-test, 513 inputs; C# agrees): the happiness byte (fctiwz, clrlwi 24) is 0, or +444 compares equal to 0 (cmpwi, beq), or 0x1091ac is nonzero |
| STP-PPC:0x100EBE30 leaving | source/OpenTPW/World/Guests/GuestSimulation.cs:2572 | [BIN:STP-PPC:0x100EBE30 leaving] 0xeb6f4(guest, 2) subtracts the settings word +32 from happiness (clamped), then 0xef700(guest, 18) |
| STP-PPC:0x100ECCB0 join excitement gate | source/OpenTPW/World/Guests/RideVisitorBridge.cs:26 | [BIN:STP-PPC:0x100ECCB0 join excitement gate] |difference| ≥ 45 leaves with "ride is not exciting enough!" / "ride is too exciting!" |
| STP-PPC:0x100ECD6C join gate | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1217 | [BIN:STP-PPC:0x100ECD6C join gate] 0xe9a84 then 0xe02ec(ride, 1) and the 45 test; executed in the oracle (ORACLE.md F16, queue-join-gate) |
| STP-PPC:0x100ECDA8 join gate | source/OpenTPW/World/Guests/QueueJoinRules.cs:91 | [BIN:STP-PPC:0x100ECDA8 join gate] cmpwi 45 on the signed difference, taken by "bc 4,0" (the unclamped limit of ±50 leaves 45 reachable) |
| STP-PPC:0x100ECE18 refusal history | source/OpenTPW/World/Guests/GuestSimulation.cs:2769 | [BIN:STP-PPC:0x100ECE18 refusal history] the queue-too-long path (0xece18) and both excitement refusals (0xecf3c) push the target's id into the temporary history (0xea290) before clearing the target |
| STP-PPC:0x100ECE58 join | source/OpenTPW/World/Guests/GuestSimulation.cs:3001 | [BIN:STP-PPC:0x100ECE58 join] +524 = happiness, append to the list, then 0xee604 (position, slot, state 12) |
| STP-PPC:0x100ED4B0 broken ride holds the queue | source/OpenTPW/World/Guests/GuestSimulation.cs:3374 | [BIN:STP-PPC:0x100ED4B0 broken ride holds the queue] only state 1 holds (0x004E0370 on the PC); state 4 (condemned, life gauge 0, 0x004E14E0) does not, so the guests behind a dismissed head walk on |
| STP-PPC:0x100ED58C queue needs window | source/OpenTPW/World/Guests/GuestSimulation.cs:28 | [BIN:STP-PPC:0x100ED58C queue needs window] w = turn − +520; w > 30: happiness > 80 or 10..19 idles, < 10 leaves, else toilet > 80 leaves unless ProvidesRelief; w ≤ 30: boredom test turn > +508 + 100 |
| STP-PPC:0x100EDC98 leaving handler head | source/OpenTPW/World/Guests/GuestLifecycle.cs:23 | [BIN:STP-PPC:0x100EDC98 leaving handler head] read in the disassembly (not executed by the oracle): +444 above 0 (cmpwi, branch when GT clear), the happiness byte (fctiwz, clrlwi 24) nonzero, 0x1091ac zero, then the cell predicate 0xe6c6c nonzero |
| STP-PPC:0x100EE804 dismissal | source/OpenTPW/World/Guests/GuestSimulation.cs:3903 | [BIN:STP-PPC:0x100EE804 dismissal] "Person %d: dismissed from queue on ride %d"; the target id +476 is cleared and no thought or last attraction is written |
| STP-PPC:0x100EECE4 needs update | source/OpenTPW/World/Guests/NeedsUpdate.cs:59 | [BIN:STP-PPC:0x100EECE4 needs update] executed by the PowerPC oracle (guest-needs-turn, 529 inputs; C# agrees): order exit counter, cell words (happiness, illness, hunger), growth (toilet, hunger, thirst), full-need penalties (illness, hunger, thirst, toilet), toilet speed term |
| STP-PPC:0x100EED24 needs phase | source/OpenTPW/World/Guests/NeedsUpdate.cs:29 | [BIN:STP-PPC:0x100EED24 needs phase] cmplw of (id & 3) and (game +0x1da70c & 3); the id is the 16-bit thing id (0xfa9a4) |
| STP-PPC:0x100EF0BC toilet speed term | source/OpenTPW/World/Guests/GuestNavigation.cs:1142 | [BIN:STP-PPC:0x100EF0BC toilet speed term] +194 = 25 while toilet +428 > 80, else 0 |
| STP-PPC:0x100EF868 state 11 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:23 | [BIN:STP-PPC:0x100EF868 state 11 entry] +508 = turn, +500 = trunc(1.2f × +497) (float data 0x55a0) |
| STP-PPC:0x100F0284 researcher update | source/OpenTPW/Economy/ParkEconomy.cs:594 | [BIN:STP-PPC:0x100F0284 researcher update] each researcher not in an excluded state does research when the turn counter is a multiple of 20 |
| STP-PPC:0x100F0DF0 research points | source/OpenTPW/Economy/ParkResearch.cs:435 | [BIN:STP-PPC:0x100F0DF0 research points] for each category with effort and a current item: progress += (float)(ability × (effort / Σ effort of categories with an unfinished current item) × work load) / 100, in single precision |
| STP-PPC:0x100F0EF0 research cursor | source/OpenTPW/Economy/ParkResearch.cs:376 | [BIN:STP-PPC:0x100F0EF0 research cursor] each category researches the first item in table order whose group is open and which is not yet researched; cost is never compared |
| STP-PPC:0x100F130C research work load | source/OpenTPW/Economy/ParkResearch.cs:245 | [BIN:STP-PPC:0x100F130C research work load] the setter stores the percentage the research points are scaled by |
| STP-PPC:0x100F15B4 research group opener | source/OpenTPW/Economy/ParkResearch.cs:324 | [BIN:STP-PPC:0x100F15B4 research group opener] with h the category's highest open group, the items of groups <= h are counted; while done × 100 / count (unsigned) reaches ResearchTech[h + 1].PercentageForThisTech and h <= 6, h rises by one |
| STP-PPC:0x100F29FC staff constructor | source/OpenTPW/Economy/ParkStaff.cs:80 | [BIN:STP-PPC:0x100F29FC staff constructor] happiness (+500) and energy (+504) are singles that start at 100.0; ECON-014 / ORACLE.md F22 (StaffVitals) moves them every park turn |
| STP-PPC:0x100F29FC staff constructor | source/OpenTPW/Economy/StaffVitals.cs:15 | [BIN:STP-PPC:0x100F29FC staff constructor] energy (+504) and happiness (+500) are both set to the single at TOC −0x29C8, 100.0 (the clamp in every step is 100.0 and TOC −0x29C4, 0.0) |
| STP-PPC:0x100F33EC dismissal | source/OpenTPW/Economy/ParkEconomy.cs:2786 | [BIN:STP-PPC:0x100F33EC dismissal] the dismissal routine (the UI's dismiss button, UI-MAP) debits the wage 0xf46bc with Spend 0xcbfdc, as the monthly handler 0xf3364 does, and adds it to the staff wages statistic +0x1F7F0; the bank has no affordability check |
| STP-PPC:0x100F36E4 training promotion | source/OpenTPW/Economy/ParkStaff.cs:649 | [BIN:STP-PPC:0x100F36E4 training promotion] a promotion stores the single 100.0 into the member's happiness (+500); the energy is untouched |
| STP-PPC:0x100F3D8C rest step | source/OpenTPW/Economy/StaffVitals.cs:48 | [BIN:STP-PPC:0x100F3D8C rest step] rates are the settings floats at +756 (energy) and +760 (happiness) + 16 × grade; the rest ends when the energy's truncated low byte equals 100 (0x100F3E2C..0x100F3E44), which frees the rest area (0x100F4D00) |
| STP-PPC:0x100F3D8C staff rest | source/OpenTPW/Economy/OriginalEconomyImport.cs:487 | [BIN:STP-PPC:0x100F3D8C staff rest] happiness and energy are singles clamped to [0, 100] by every rest, idle and work update |
| STP-PPC:0x100F3F64 strike turn | source/OpenTPW/Economy/ParkEconomy.cs:638 | [BIN:STP-PPC:0x100F3F64 strike turn] a striking member that sees the park closed and without guests (0x100C3684) ends its role's strike (0x100F40E8 / 0x100F8BD0); once the role's flag is clear it walks back to work |
| STP-PPC:0x100F41DC staff skill | source/OpenTPW/Economy/ParkObjectives.cs:252 | [BIN:STP-PPC:0x100F41DC staff skill] skill = trunc(20 × (grade + training percentage / 100)) in single precision; grade 4 at 0 % is 80 |
| STP-PPC:0x100F44C0 moving step | source/OpenTPW/Economy/StaffVitals.cs:27 | [BIN:STP-PPC:0x100F44C0 moving step] the products 0.012 × (6 − grade) and 0.005 × (6 − grade) are binary64 (data constants 0x5610, 0x5608) rounded to single before the single subtraction; the result is clamped to 0..100 |
| STP-PPC:0x100F459C working step | source/OpenTPW/Economy/StaffVitals.cs:36 | [BIN:STP-PPC:0x100F459C working step] the energy product is a single product with the float 0.025 (data 0x5600), the happiness product binary64 with 0.01 (data 0x55F8) rounded to single |
| STP-PPC:0x100F46BC staff wage | source/OpenTPW/Economy/BalanceSettings.cs:328 | [BIN:STP-PPC:0x100F46BC staff wage] monthly wage = PerGradeStaffConsts[grade].BaseWage (balance +748, stride 16) × PerTypeStaffConsts[type].PayMultiplier (+832, stride 4), unscaled, a 32-bit product (mullw; executed by the oracle target staff-wage-month, ORACLE.md F28) |
| STP-PPC:0x100F4900 strike or rest | source/OpenTPW/Economy/ParkEconomy.cs:1020 | [BIN:STP-PPC:0x100F4900 strike or rest] a free member of a striking role walks to the strike area (raw state 4); the original also needs the world state 0x1091B8 to be 1, which is not modelled |
| STP-PPC:0x100F4A60 rest search | source/OpenTPW/Economy/StaffVitals.cs:64 | [BIN:STP-PPC:0x100F4A60 rest search] byte > RestLevel (signed) is the comfortable branch (speed tiers and thoughts only); otherwise 0x100F4C18 looks for a rest area (state 2, result 1) and, when none is found, a world draw with (draw & 15) == 0 lowers the happiness (0x100F4AD0..0x100F4B54) |
| STP-PPC:0x100F4AD4 no rest area draw | source/OpenTPW/Economy/ParkEconomy.cs:1021 | [BIN:STP-PPC:0x100F4AD4 no rest area draw] the happiness hit without a rest area takes one world draw (the shared generator 0x105328, PC 0x00516330); OpenTPW takes it from the park's one world generator |
| STP-PPC:0x100F4D00 rest release | source/OpenTPW/Economy/ParkEconomy.cs:646 | [BIN:STP-PPC:0x100F4D00 rest release] the original frees the member's rest-area association (+516) when the rest ends; what it does when the rest thing is removed during the rest is not traced, so OpenTPW ends the rest at once when no rest area is left |
| STP-PPC:0x100F5B64 staff candidate | source/OpenTPW/Economy/ParkStaff.cs:512 | [BIN:STP-PPC:0x100F5B64 staff candidate] grade = (AvgGradeOf* + random % 3 - 1) & 0xFF, stored as 4 when above 4 (so -1 wraps to 4); ChanceToGetGreat* is never read |
| STP-PPC:0x100F61D0 hiring is free | source/OpenTPW/Economy/ParkStaff.cs:539 | [BIN:STP-PPC:0x100F61D0 hiring is free] the hire button's handler queues a command (0xf61d0, executor 0x6c034, thing factory 0xb882c) and nothing on that path debits the bank: the 16 direct callers of Spend 0xcbfdc include no hire routine, and BaseCostPerStaff (+700) and CostPerQualityLevel (+704) are never read; the wage is paid at the month's end and dismissing one costs one more (ParkEconomy.Fire, ORACLE.md F28) |
| STP-PPC:0x100F6E24 staff pool update | source/OpenTPW/Economy/ParkStaff.cs:459 | [BIN:STP-PPC:0x100F6E24 staff pool update] draw = rand() % total shortfall picks the role whose share it falls in; each added candidate lowers that role's shortfall and the per-update cap (also limited by the 32 free slots); 0x100F65E8 drops roles whose hired count reached MaxInPark; 0x100F6790 then tops every role up to MinInPool counting hired and pooled staff |
| STP-PPC:0x100F7E18 month consideration | source/OpenTPW/Economy/StaffStrikes.cs:128 | [BIN:STP-PPC:0x100F7E18 month consideration] skipped (debug text "park is closed") while the park is closed (word 0x1DA710) or 0x100C1FB4(park, 5) counts a guest, unless the forced word is set; then per role with staff not yet considered this turn: an active strike ends, else the escalation runs |
| STP-PPC:0x100F7FE0 strike escalation | source/OpenTPW/Economy/StaffStrikes.cs:129 | [BIN:STP-PPC:0x100F7FE0 strike escalation] stamp / 25.92e12 (signed low word) below 24 ends it; a grievance: level 0 → 1 with the warning (kind 0), 1 → 2, 2 → 3, 3 → 4, 4 → 4 each with the active flag and the strike message (kind 2); no grievance: level 1 sends "called off" (kind 3), the level and the flag clear |
| STP-PPC:0x100F8410 strike test | source/OpenTPW/Economy/StaffStrikes.cs:90 | [BIN:STP-PPC:0x100F8410 strike test] more than three members whose truncated low-byte energies (+504) average below 15 (unsigned floor of the sum over the count), or whose happinesses (+500) do; handymen first test the analyser ratio above the single 0.2 |
| STP-PPC:0x100FC1C4 training split | source/OpenTPW/Economy/ParkStaff.cs:626 | [BIN:STP-PPC:0x100FC1C4 training split] ECON-013, ORACLE F17 (executed, 507 inputs): share = budget / all employees of the role, including those already at the top grade, whose share is not spent; each other employee costs the whole share, even where it buys fewer points than it could, and gets min(share / price, 100) points; the points above 99 carry into the next grade (0x100F3588) |
| STP-PPC:0x100FD5F4 separation callback | source/OpenTPW/World/Guests/GuestNavigation.cs:368 | [BIN:STP-PPC:0x100FD5F4 separation callback] off = self +8 - other +8 (0xfcb8c); d = octile(off); add FixDiv(off, d) (0xfd704) to the sum at data 0xecd58 when d < self +4 + other +4 + ONE (data 0xecd84) and d != 0 (data 0xecd88) |
| STP-PPC:0x100FEC9C steering step | source/OpenTPW/World/Guests/GuestNavigation.cs:143 | [BIN:STP-PPC:0x100FEC9C steering step] forces avoid_walls/follow_path/separation (data 0xecd6c list), each truncated to +24 and FixMul-weighted; sum truncated to +24, FixDiv by ONE; +16 += force, truncated to +28; position committed when the map accepts the cell; progress history +176 |
| STP-PPC:0x100FFE38 speed setter | source/OpenTPW/World/Guests/GuestNavigation.cs:1196 | [BIN:STP-PPC:0x100FFE38 speed setter] input capped at 2.0 (data 0x5668), factors 0.2 / 0.4 (data 0x5650 / 0x5658), floor 655 on both |
| STP-PPC:0x1010087C separation neighbours | source/OpenTPW/World/Guests/GuestNavigation.cs:367 | [BIN:STP-PPC:0x1010087C separation neighbours] cells (x, y) +- ceil(range / ONE) with range = 2 x radius (0xfd870), row by row (0x1008f0..0x100a90); thing types 1 (guest), 4..8, 18 (0x100978..0x100a08); skip self (+212); d^2 = (dx >> 8)^2 + (dy >> 8)^2, skip 0 and >= (range >> 8)^2; the query stops after 5 callbacks (0x100a50..0x100a58) |
| STP-PPC:0x101030fc-0x101033c8 drop ramp | source/OpenTPW/World/ParkWeather.cs:20 | [BIN:STP-PPC:0x101030fc-0x101033c8 drop ramp] the drops move by SpeedOfChange toward the target and stop once within one step of it; a target of 0 then stops the rain |
| STP-PPC:0x10103138-0x101031ec the forecast and its apply | source/OpenTPW/World/ParkWeather.cs:15 | [BIN:STP-PPC:0x10103138-0x101031ec the forecast and its apply] a forecast is posted DaysOfWarning ahead and applied when its day passes; the roll is scheduled from the last change |
| STP-PPC:0x101031f0-0x10103298 the roll schedule | source/OpenTPW/World/ParkWeather.cs:16 | [BIN:STP-PPC:0x101031f0-0x10103298 the roll schedule] a roll happens once the day is past lastChanged + max(0, DaysBetweenChanges - DaysOfWarning) |
| STP-PPC:0x10103300-0x10103348 drop ramp | source/OpenTPW/World/Guests/GuestSimulation.cs:224 | [BIN:STP-PPC:0x10103300-0x10103348 drop ramp] the only writers of +48 are the constructor (0x102aa0, zero), the ramp toward mTargetDrops (+52) and the rain stop (0x103d08, zero), so the word is positive exactly while drops are falling |
| STP-PPC:0x10103394 level source | source/OpenTPW/Audio/GameAudio.cs:708 | [BIN:STP-PPC:0x10103394 level source] the level is the weather thing's current drop count × 100 / MaxRaindrops (the Mac's rain tick; the fork's +0x34 target reading is refuted) |
| STP-PPC:0x101033CC weather lightning | source/OpenTPW/World/ParkWeather.cs:577 | [BIN:STP-PPC:0x101033CC weather lightning] the lightning countdown drops by LightningCountdownSpeed and strikes only below 0 (bge skips at 0); a strike arms the thunder only while its countdown is at most 0, at max(0, ThunderStartsThisFarAway - bolts) + rand % ThunderRandomiser (+0x4E8/+0x4EC) |
| STP-PPC:0x101033cc-0x101034c4 lightning | source/OpenTPW/World/ParkWeather.cs:21 | [BIN:STP-PPC:0x101033cc-0x101034c4 lightning] while the lightning band holds, the countdown falls by LightningCountdownSpeed each turn and a strike resets it to rand % LightningCountdownFrom; the bolt count resets outside the band |
| STP-PPC:0x10103438-0x1010346c thunder | source/OpenTPW/World/ParkWeather.cs:22 | [BIN:STP-PPC:0x10103438-0x1010346c thunder] a strike sets the thunder countdown to max(0, ThunderStartsThisFarAway − bolts) + rand % ThunderRandomiser when it is idle (bolts fired this period, before the strike) |
| STP-PPC:0x101034C8-0x10103518 thunder submit | source/OpenTPW/Audio/GameAudio.cs:782 | [BIN:STP-PPC:0x101034C8-0x10103518 thunder submit] when the weather thing's thunder countdown (+0x44) reaches 0, cat_ambient 0x20 is submitted at the last lightning location (+0x48..+0x50) |
| STP-PPC:0x101034D8 weather thunder | source/OpenTPW/World/ParkWeather.cs:578 | [BIN:STP-PPC:0x101034D8 weather thunder] after the lightning, every step (also outside the lightning band) the thunder countdown drops by one and the thunder plays at the stored top only when it reaches exactly 0: a computed 0 never plays, a 1 plays on the strike's own step |
| STP-PPC:0x101034c8-0x10103518 thunder at the top | source/OpenTPW/World/ParkWeather.cs:23 | [BIN:STP-PPC:0x101034c8-0x10103518 thunder at the top] the thunder plays at the last bolt's top (x, 300, z) when its countdown ends |
| STP-PPC:0x101035D4 bolt start | source/OpenTPW/World/Weather/WeatherVisualState.cs:315 | [BIN:STP-PPC:0x101035D4 bolt start] the strike hands the renderer the sky point (x, 300, z); up to 16 bolts are live |
| STP-PPC:0x1010386c-0x101038d4 the roll | source/OpenTPW/World/ParkWeather.cs:17 | [BIN:STP-PPC:0x1010386c-0x101038d4 the roll] a normal roll is Avg - Tol + rand % (2·Tol), or Avg when Tol <= 0; the exceptional branch (rand % 100 < Chance) gives rand % 100 |
| STP-PPC:0x10103998-0x10103a80 converter | source/OpenTPW/World/ParkWeather.cs:18 | [BIN:STP-PPC:0x10103998-0x10103a80 converter] snow, rain and lightning bands; when both snow and rain hold, rand & 1 decides (even: snow) |
| STP-PPC:0x10103a90-0x10103b80 target | source/OpenTPW/World/ParkWeather.cs:19 | [BIN:STP-PPC:0x10103a90-0x10103b80 target] intensity = (q − low) × 100 / (high − low) (100 when high = low) with the snow band for snow and the rain band for rain; target drops = ((100 − intensity) × MaxRaindrops) / 100, so snow has drops too (the word the arrival group reads, ARRIVAL-002) |
| STP-PPC:0x1010474C world setup | source/OpenTPW/Economy/BalanceSettings.cs:332 | [BIN:STP-PPC:0x1010474C world setup] game type 0/2 load levels/Standard.sam then <theme>/Standard.sam; type 2 (Instant Action) adds <theme>/Easy_Standard.sam and only logs when it is missing |
| STP-PPC:0x10105EFC world writer | source/OpenTPW/Economy/OriginalEconomyImport.cs:154 | [BIN:STP-PPC:0x10105EFC world writer] mGameTick (world +0x1DA70C) is saved as u32 and restored by the reader at 0x10106890; the calendar converts it (0x100E4394) |
| STP-PPC:0x10106708 world reader | source/OpenTPW/Economy/OriginalEconomyImport.cs:118 | [BIN:STP-PPC:0x10106708 world reader] mParkClosed is restored with the world variables (0 = open) |
| STP-PPC:0x1010B808 visitor status panel open | source/OpenTPW/Audio/GameAudio.cs:180 | [BIN:STP-PPC:0x1010B808 visitor status panel open] stores the visitor, builds its dialog, plays cat_kids 129 (mode 0, no position) unconditionally and shows the panel; called by a park-view click on a visitor, a roster row activation, the map's visitor markers and the selection strip; [BIN:TPW-EXE:0x4B79B0] the same |
| STP-PPC:0x10110518 game pause | source/OpenTPW/Client/PausableClock.cs:8 | [BIN:STP-PPC:0x10110518 game pause] the pause freezes the clock object at TOC −0x75D8 (0x1010E888), which the advisor controller (0x1000A130) and response player (0x10006B7C) read |
| STP-PPC:0x10112430 backtrack key | source/OpenTPW/Audio/GameAudio.cs:177 | [BIN:STP-PPC:0x10112430 backtrack key] the key command "backtrack" (Backspace, command table data 0x455B0): tool mode 0, mouse-mode state 0 or 1 and a path cell under the cursor play cat_ui 95 at (x·10, 0, y·10) before the single-cell removal (mode 0x32, build pass 0x10070B98, ClearCell's path case); [BIN:TPW-EXE:0x40BDA0] the same, its sound call at 0x40BE71 |
| STP-PPC:0x10117C00 clock read | source/OpenTPW/Client/PausableClock.cs:7 | [BIN:STP-PPC:0x10117C00 clock read] frozen: snapshot − compensation, else now − compensation; freeze (0x10117AE8) takes the snapshot, resume (0x10117B30) adds now − snapshot to the compensation |
| STP-PPC:0x10119328 object loader | source/OpenTPW/World/Objects/ObjectCatalog.cs:600 | [BIN:STP-PPC:0x10119328 object loader] In Instant Action (game type 2) Easy_<object file> is layered after the object file when it exists; Online_ files belong to the online game type and are not loaded offline |
| STP-PPC:0x1011A08C object name builder | source/OpenTPW/World/Objects/ObjectCatalog.cs:770 | [BIN:STP-PPC:0x1011A08C object name builder] name = first + (" " when the second is not empty) + second; when the first ends in '-' the dash is cut and the two are concatenated |
| STP-PPC:0x1011A08C object name builder | source/OpenTPW/World/Objects/ObjectSigns.cs:96 | [BIN:STP-PPC:0x1011A08C object name builder] the name string (info record +0x70C) is the first OBJECT_NAMES text, a space, then the second ("%ls%ls%ls"); an entry ending in '-' is joined to the next without space or dash |
| STP-PPC:0x10121098 history setter | source/OpenTPW/Client/AutomaticAdvisor.cs:97 | [BIN:STP-PPC:0x10121098 history setter] history saves the world's mGameTick (+0x1DA70C), which the park economy counts as park turns |
| STP-PPC:0x101210F8 history elapsed | source/OpenTPW/World/AdvisorScoreQueue.cs:243 | [BIN:STP-PPC:0x101210F8 history elapsed] (live mGameTick >> 2) − (saved >> 2), plain 32-bit subtraction |
| STP-PPC:0x10125B7C default options | source/OpenTPW/Compat/GraphicsSettings.cs:147 | [BIN:STP-PPC:0x10125B7C default options] Gestalt 'ram ' in MB (64 when unavailable) and 'pclk' in MHz (266 when unavailable): Low below 65 MB or 301 MHz, Medium below 192 MB or 450 MHz, otherwise High |
| STP-PPC:0x10125B7C options defaults | source/OpenTPW/UI/Original/Options/GameOptions.cs:46 | [BIN:STP-PPC:0x10125B7C options defaults] TooltipsOn (+0x36), AdvisorOn (+0x34), TutorialOn (+0x35), ConfirmDeleteOn (+0x37) and RMBCancelOn (+0x39) are set to 1, RMBScrollOn (+0x38) to 0 (names from the serializer 0x1012653C) |
| STP-PPC:0x10125B7C options defaults | source/OpenTPW/UI/Original/Options/GameOptions.cs:59 | [BIN:STP-PPC:0x10125B7C options defaults] RMBScrollOn = 0: push scrolling |
| STP-PPC:0x10128B60 profile key count | source/OpenTPW/Economy/ParkObjectives.cs:699 | [BIN:STP-PPC:0x10128B60 profile key count] keys = mExtraKeys + (earned global, per-theme and secret tickets) / 3, truncated; spent tickets are not subtracted |
| STP-PPC:0x10129308 options serializer | source/OpenTPW/Client/AutomaticAdvisor.cs:446 | [BIN:STP-PPC:0x10129308 options serializer] the object at TOC −0x763C is the options object; its +0x34 is saved as "AdvisorOn" (0x1012653C) |
| STP-PPC:0x10137600 player save setup | source/OpenTPW/World/Original/OriginalPark.cs:98 | [BIN:STP-PPC:0x10137600 player save setup] the level's easymode park is copied into a player's saves only for Instant Action players (0x1013741C passes the mode flag) |
| STP-PPC:0x1013781C player selection | source/OpenTPW/Client/AutomaticAdvisor.cs:99 | [BIN:STP-PPC:0x1013781C player selection] game type 2 = Instant Action, 0 otherwise (offline) |
| STP-PPC:0x10139A40 error feedback | source/OpenTPW/Hud/ParkHud.cs:554 | [BIN:STP-PPC:0x10139A40 error feedback] the buy window's rejected purchase plays cat_ui event 0x1D (buy window callers 0x10163AFC/0x10163BFC) |
| STP-PPC:0x10139A40 error feedback | source/OpenTPW/Hud/ParkHud.cs:1560 | [BIN:STP-PPC:0x10139A40 error feedback] a rejected action plays cat_ui event 0x1D (called from the buy window at 0x10163AFC/0x10163BFC and the checkbox dialog at 0x1013B7A4) |
| STP-PPC:0x10139C64 park-view hover | source/OpenTPW/World/CellBuildTool.cs:468 | [BIN:STP-PPC:0x10139C64 park-view hover] the cell under the cursor picks the help line: empty (0x85258) 441, type 1 442, type 3 444; inside the tools 443 and 445 |
| STP-PPC:0x10139C64 park-view hover | source/OpenTPW/World/Level.Objects.cs:984 | [BIN:STP-PPC:0x10139C64 park-view hover] empty cell: hover state 2, help 441 "build path"; path (type 1): state 1, help 442 "extend this path"; queue (type 3): help 444 |
| STP-PPC:0x10154AA0 loans window | source/OpenTPW/Economy/ParkEconomy.cs:226 | [BIN:STP-PPC:0x10154AA0 loans window] the Available Loans window only opens outside game type 2 (Instant Action) |
| STP-PPC:0x101598C4 object sign call | source/OpenTPW/World/Objects/ObjectSigns.cs:97 | [BIN:STP-PPC:0x101598C4 object sign call] for objects built from the catalogue the sign text is that name string of the object's info record (no explicit text passed) |
| STP-PPC:0x1015D220 new-player dialog | source/OpenTPW/Economy/ParkEconomyContracts.cs:7 | [BIN:STP-PPC:0x1015D220 new-player dialog] radio 0x70D "Instant Action" / 0x70E "Full Simulation"; 0x1013741C stores the choice as profile mEasyModeUser and 0x1013781C turns it into game type 2 (Instant Action) or 0 |
| STP-PPC:0x10165A0C upgrade list | source/OpenTPW/Economy/ParkEconomy.cs:2457 | [BIN:STP-PPC:0x10165A0C upgrade list] game type 2 (Instant Action) lists no upgrades and shows UITEXT 27 instead |
| STP-PPC:0x10166F1C upgrade purchase | source/OpenTPW/Economy/ParkEconomy.cs:2469 | [BIN:STP-PPC:0x10166F1C upgrade purchase] only the bank balance is checked; the upgrade is queued (0x100DF928) and waits for a mechanic, with or without mechanics on the staff |
| STP-PPC:0x10178768 list insert | source/OpenTPW/Hud/BuyListModel.cs:58 | [BIN:STP-PPC:0x10178768 list insert] the buy list (504, attribute 0x91 with the sorted-insert bit 0x10) inserts each row before the first row whose name is greater (wcscmp, 0x10178654); its sort word starts at 1 (column 0, the name, ascending), so equal names keep catalogue order |
| STP-PPC:0x101834A0 item detail overlay | source/OpenTPW/Online/OnlineScreens.cs:323 | [BIN:STP-PPC:0x101834A0 item detail overlay] label 0x49D9: the selected item's name, font slot 5, colour (252,232,7); label 0x49DA: "%d" of its index + 1, font slot 0; both hidden without a selection |
| STP-PPC:0x10183CC0 enter park | source/OpenTPW/Audio/GameAudio.cs:617 | [BIN:STP-PPC:0x10183CC0 enter park] the theme islands' enter action sets the fly-in camera state and plays cat_globallobbysfx 4 (keyexplode, volume 100) flat, except when the game type that follows is 2 (Instant Action; FrontEndMenu.EnterParkSoundPlays; the PC enter routine 0x4b8fd0 skips it the same way while the game-mode global 0xfb3b7c is 2) |
| STP-PPC:0x10183CC0 enter park | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:8 | [BIN:STP-PPC:0x10183CC0 enter park] the theme islands' enter action plays cat_globallobbysfx 4 unless the game type that follows is 2 (Instant Action); the PC enter routine 0x4b8fd0 skips it the same way while the game-mode global 0xfb3b7c is 2 |
| STP-PPC:0x1018E254 sign text builder | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:110 | [BIN:STP-PPC:0x1018E254 sign text builder] with only one text, probes the UTF-16 string at len/2, then len/2-1, len/2+1, len/2-2, ... (len probes) for U+0020; the first hit splits it into the characters before it (line 1) and those after it (line 2); no hit leaves line 1 whole and line 2 empty |
| STP-PPC:0x1018E254 sign text builder | source/OpenTPW/World/Objects/ObjectSigns.cs:95 | [BIN:STP-PPC:0x1018E254 sign text builder] one name string is split at its middle space (SignCanvas.SplitAtMiddleSpace); a caller may instead pass the two lines (text slot 0 and 1) explicitly |
| STP-PPC:0x10198514 pause menu pauses the game | source/OpenTPW/Hud/ParkHud.cs:236 | [BIN:STP-PPC:0x10198514 pause menu pauses the game] Escape in the park (0x10157968: key 27, no modifiers) calls |
| STP-PPC:0x1019AE64 lookup construction | source/OpenTPW/World/Guests/RideHeadSpace.cs:14 | [BIN:STP-PPC:0x1019AE64 lookup construction] attribute record i belongs to node header+0x46 (Unknown46) + i; below the mesh count (+0x44) it is a mesh record, else a dummy record [0x1019AE64, 0x1019B7CC] |
| STP-PPC:0x1019AE64 lookup construction | source/OpenTPW/World/Guests/RideHeadSpace.cs:87 | [BIN:STP-PPC:0x1019AE64 lookup construction] record i belongs to node Unknown46 + i |
| STP-PPC:0x1019AE64 lookup construction | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:47 | [BIN:STP-PPC:0x1019AE64 lookup construction] entry i selects header word +0x46 plus i; +0x44 selects mesh versus dummy records |
| STP-PPC:0x1019B298 | source/OpenTPW/World/Guests/RideHeadSpace.cs:18 | <summary>Flag bit 0x80 of a dummy attribute type: a head record ([BIN:STP-PPC:0x1019B298]).</summary> |
| STP-PPC:0x1019B298 head id lookup | source/OpenTPW/World/Guests/RideHeadSpace.cs:15 | [BIN:STP-PPC:0x1019B298 head id lookup] a head id is the FIRST attribute record with type flag 0x80 whose value equals the id; every shipped head record has type 0xb1/0xf1, so it has flag 0x30 and a world matrix |
| STP-PPC:0x1019B298 head id lookup | source/OpenTPW/World/Guests/RideHeadSpace.cs:86 | [BIN:STP-PPC:0x1019B298 head id lookup] first record with flag 0x80 and value == id |
| STP-PPC:0x1019B298 head lookup | source/OpenTPW/World/Guests/RideHeadSpace.cs:10 | [BIN:STP-PPC:0x1019B298 head lookup] the 20-byte lookup records of the model's lookup state: a record matches head id k when its +4 word is k and its flags have 0x80 |
| STP-PPC:0x1019B298 model key lookup | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:46 | [BIN:STP-PPC:0x1019B298 model key lookup] matches attribute Value and selector mask; first matching entry wins |
| STP-PPC:0x1019B394 node lookup | source/OpenTPW/World/Advisor.cs:28 | [BIN:STP-PPC:0x1019B394 node lookup] mouth nodes 1–5 (stored in order by 0x10006264) are found by case-insensitive name "mouth - normal", "aah", "eee", "ooh", "sss" through the jump table at data 0x518B4; node 1 is shown while silent |
| STP-PPC:0x1019B56C head hang | source/OpenTPW/World/Guests/RideHeadSpace.cs:11 | [BIN:STP-PPC:0x1019B56C head hang] the matched record gets flag 0x2 and a sprite handle, and the lookup state counts one more attached head |
| STP-PPC:0x1019B6F8 head draw | source/OpenTPW/World/Guests/HeadPresentation.cs:20 | [BIN:STP-PPC:0x1019B6F8 head draw] hide when the node has flag 0x8000 (frame -1); with flag 0x400 matrix rows 0 and 2 are negated; the position is exactly the node's world translation (no offset); the camera is expressed in the node's frame (general inverse, times the camera matrix), normalised, and binned to the nearest of 7 elevation rows (30 degree steps from the local +Y pole) by 8 azimuths (45 degree steps); frame = 8 * row + column with the column forced to 0 at rows 0 and 6; roll = atan2(-m10, m11) of the remaining rotation / 2 pi; scale property 0.685 (default 1.0); no animation |
| STP-PPC:0x101C2108 main loop | source/OpenTPW/Client/AutomaticAdvisor.cs:146 | [BIN:STP-PPC:0x101C2108 main loop] CMsgEvent 10 (history reset of variant, played flag and slaps) followed by CMsgEvent 0 at 0x101C2174 |
| STP-PPC:0x101C22E0 scheduler | source/OpenTPW/Economy/ParkCalendar.cs:57 | [BIN:STP-PPC:0x101C22E0 scheduler] eight 31 ms substeps make one park turn (248 ms of scaled time); the turn counter is world +0x1DA70C (0x10105398) |
| STP-PPC:0x101C2444 park turn | source/OpenTPW/Audio/GameAudio.cs:1115 | [BIN:STP-PPC:0x101C2444 park turn] music parameter = min(min(guests in park / 2, 100), 89), or 0 when the world state is 4 |
| STP-PPC:0x101C2490 park turn | source/OpenTPW/Audio/GameAudio.cs:655 | [BIN:STP-PPC:0x101C2490 park turn] guests within four cells of the camera are counted (0x100C313C, radius argument 4) and capped at 100 (0x101C2498) |
| STP-PPC:0x101C2490 park turn | source/OpenTPW/Client/GameFlow.cs:544 | [BIN:STP-PPC:0x101C2490 park turn] guests within four cells of the camera are counted (0x100C313C, radius argument 4) for the crowd sentence |
| STP-PPC:0x101C3FBC float to unsigned | source/OpenTPW/World/Coasters/CoasterTrack.cs:1002 | [BIN:STP-PPC:0x101C3FBC float to unsigned] truncation; a negative value gives 0 |
| STP-PPC:0x101C5C4C TbTimeStamp::GetTime | source/OpenTPW/Economy/ParkCalendar.cs:69 | [BIN:STP-PPC:0x101C5C4C TbTimeStamp::GetTime] the hour comes from the OS LongDateRec hour field (0–23) |
| STP-PPC:0x1022C374 dynamic texture table | source/OpenTPW/World/Original/BlueprintMarkers.cs:4 | [BIN:STP-PPC:0x1022C374 dynamic texture table] 16-byte records "blue.tga", "red.tga", "orange.tga", "m_enter.tga", … from Data:Generic:Dynamic:Textures; a face's texture is its index in this table (docs/reverse/BLUEPRINT.md) |
| STP-PPC:0x1022C374 dynamic texture table | source/OpenTPW/World/Original/BlueprintMarkers.cs:60 | [BIN:STP-PPC:0x1022C374 dynamic texture table] slots 3, 4, 6 and 7 are m_enter, m_exit, m_front and m_inout (docs/reverse/BLUEPRINT.md) |
| STP-PPC:0x108f64 open walk | source/OpenTPW/World/ParkGate.cs:143 | [BIN:STP-PPC:0x108f64 open walk] opening asks the may-open guard first (PC FUN_004df290 at 0x0051a013) |
| STP-PPC:0x1090b8 close walk | source/OpenTPW/World/ParkGate.cs:137 | [BIN:STP-PPC:0x1090b8 close walk] every visitable thing is closed through 0xde704 |
| STP-PPC:0x10E844 scheduler clock | source/OpenTPW/Economy/ParkCalendar.cs:23 | [BIN:STP-PPC:0x10E844 scheduler clock] the scheduler adds each raw millisecond gap times its scale (+24, 1.0 by default) to its accumulator (0x127CD0); park turns, script waits and animation all read it, so a scale of 2.0 doubles every one of them (oracle F32) |
| STP-PPC:0x139c64 park-view hover | source/OpenTPW/World/Level.Input.cs:532 | [DATA:UIHELPTEXT 444 "Left-click to edit this queue", 445 "Left-click to build the queue, click again to stop building / Click onto path to connect the queue to it"] [BIN:STP-PPC:0x139c64 park-view hover] queue cell → hover state 3 (PATH-plan §4.1) |
| STP-PPC:0x1b8808 chatellite connector | source/OpenTPW.Online/Chat/ChatProtocol.cs:22 | [BIN:STP-PPC:0x1b8808 chatellite connector] the online world's globe holds five chat satellites (Mac layout |
| STP-PPC:0x1b8808 chatellite connector | source/OpenTPW.Server/ChatParkDirectory.cs:16 | [BIN:STP-PPC:0x1b8808 chatellite connector] the original fetched a "Chat Satellite List" (UITEXT 252) from the |
| STP-PPC:0x84154 queue line validator | source/OpenTPW/World/QueueLineWriter.cs:93 | [BIN:STP-PPC:0x84154 queue line validator] a line whose last cell is a path cell returns code 8, the queue joining the path (it sets the flag 0x7C500 the commit's cat_ui 139 reads): the path cell is not laid, and the line is not refused |
| STP-PPC:0xAB634->0xA9178 | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:228 | [BIN:STP-PPC:0xAB634->0xA9178] the paint record's offsets (+12/+16) are applied against the bitmap's width and height; they move the paint mask before it is coloured, which makes the drop shadow of Wilde Aap (offset 6, 6) and the shadow under the gate text (offset -1, 1); the effect layers keep the unshifted mask (PC v2.0 video) |
| STP-PPC:0xCB7A8 loan offer setup | source/OpenTPW/Economy/OriginalEconomyImport.cs:213 | [BIN:STP-PPC:0xCB7A8 loan offer setup] the stored instalment is trunc_u32(P x pow(1 + APR/100, N/24) / N) for every APR (ORACLE F12); OpenTPW computes the same value |
| STP-PPC:0xb0658 WAIT | source/OpenTPW/VM/Handlers/Scheduling.cs:30 | [BIN:STP-PPC:0xb0658 WAIT] the first encounter stores now + trunc(operand / script speed) as the deadline (0xb06f8) and yields; later slices resume once now >= deadline (docs/reverse/BOARD-plan.md). The division is taken in single precision like the triggers' (TriggerDelay) |
| STP-PPC:0xb0710 WAITABS | source/OpenTPW/VM/Handlers/Scheduling.cs:35 | [BIN:STP-PPC:0xb0710 WAITABS] the Mac handler stores now + operand in the same word and compares unsigned |
| STP-PPC:0xc3684 cell predicates 0x85190–0x85258 | source/OpenTPW/World/ParkGate.cs:229 | [BIN:STP-PPC:0xc3684 cell predicates 0x85190–0x85258] types 0, 1, 3, 9 and 10 count; the grid holds the world init's and the placements' types (ParkCellMap.MapStartCell, WriteFootprint) |
| STP-PPC:0xc3684 census | source/OpenTPW.Tests/ParkGateTests.cs:23 | [BIN:STP-PPC:0xc3684 census] guests count on cell types 0, 1, 3, 9 and 10 (predicates 0x85190–0x85258); |
| STP-PPC:CLBScreenComponentPublishGlobe | source/OpenTPW/Online/OnlineScreens.cs:1622 | [BIN:STP-PPC:CLBScreenComponentPublishGlobe] a click on a hovered city's pin stores that city (Mac DAT_101ED220) and opens the Publish Park dialog (0x1018CE80) |
| STP-PPC:data:622280 coaster boarding RNG | source/OpenTPW/World/Coasters/CoasterWorld.cs:13 | [BIN:STP-PPC:data:622280 coaster boarding RNG] the state at app global data 622280 (TOC 0xcc0) steps s = s × 214013 + 2531011 and draws s >> 16 (logical); it is seeded by one C-library rand() at 0x10054BF4 (DET-plan §2) |
| STP-PPC:engine_shared 0x1001C884 CRain field | source/OpenTPW/World/Weather/WeatherVisualState.cs:89 | [BIN:STP-PPC:engine_shared 0x1001C884 CRain field] the drop field is 1024 fixed random points in a box of -4..4 on every axis (original units), centred on the camera eye, in camera space through the view rotation only, wrapping per axis; the drawn count is min(CurrentDrops, MaxRaindrops) of the 1024 |
| STP-PPC:engine_shared 0x1001CF38 CRain::GameLoad | source/OpenTPW/World/Weather/WeatherRenderer.cs:17 | [BIN:STP-PPC:engine_shared 0x1001CF38 CRain::GameLoad] the images are loaded from Data/Generic/Weather: raindrop.tga, snow.tga, lightning.tga (generic/sweather holds smaller copies; which set the park selects is not traced, so the full-size set is used) |
| STP-PPC:engine_shared 0x1001CF38 CRain::GameLoad | source/OpenTPW/World/Weather/WeatherVisualState.cs:88 | [BIN:STP-PPC:engine_shared 0x1001CF38 CRain::GameLoad] loads Data/Generic/Weather/raindrop.tga (32x32, 24-bit, white teardrop on black), snow.tga (128x128 RGBA, 2x2 atlas of four flakes) and lightning.tga (128x128 RGBA, vertical strip, white core, blue glow) |
| STP-PPC:engine_shared 0x1001DE6C bolt ribbon | source/OpenTPW/World/Weather/WeatherRenderer.cs:18 | [BIN:STP-PPC:engine_shared 0x1001DE6C bolt ribbon] a camera-facing ribbon of half-width 1.3 / (branch depth + 1) textured with lightning.tga; opaque grey; no screen flash and no sky darkening in the park |
| STP-PPC:engine_shared 0x1001EA18 bolt shape | source/OpenTPW/World/Weather/WeatherVisualState.cs:317 | [BIN:STP-PPC:engine_shared 0x1001EA18 bolt shape] recursive midpoint displacement with roughness 0.6, a 9/512 branch chance per split up to depth 4 and a stop threshold of 6 + 2u (u in [-1,1)); the PC's 0x57E810/0x57E4B0 (BuildBolt) agree on those numbers and differ in the displacement and branch heading, which BuildBolt follows |
| STP-PPC:engine_shared 0x1001ECD0 CRain::DrawRain | source/OpenTPW/World/Weather/WeatherVisualState.cs:91 | [BIN:STP-PPC:engine_shared 0x1001ECD0 CRain::DrawRain] streak from p to p + 0.1 x dir as a camera-space quad 0.2 x length wide; grey c = 3 x max(0, int(12 x (6 - depth))) (216 at the eye, 0 at depth 6); alpha 0x80 at the trailing end and 0xFF at the leading end; only depth > 0 is drawn |
| STP-PPC:engine_shared 0x1001F198 CRain::DrawSnow | source/OpenTPW/World/Weather/WeatherVisualState.cs:93 | [BIN:STP-PPC:engine_shared 0x1001F198 CRain::DrawSnow] same 1024 points and count; each flake is a triangle of half-size 0.1 mapped to atlas quadrant (index & 3), full white, its screen x and y spread by (1 + depth/8); an engine flag (0x115E94 bit 8) swirls the flakes along a closed 128-point cubic spline, otherwise they jitter by +-1/128 per frame |
| STP-PPC:engine_shared 0x1001FCE4 CRain scroll | source/OpenTPW/World/Weather/WeatherVisualState.cs:90 | [BIN:STP-PPC:engine_shared 0x1001FCE4 CRain scroll] the box scrolls by direction x velocity x dt plus a camera-position parallax term; rain velocity 2.5 units/s (the game sets it; the engine default is 5), snow 0.8; the direction is effectively normalize(0.2w, -1, 0.2w) with |w| <= 0.0017, i.e. straight down |
| STP-PPC:engine_shared 0x1001FCE4 drawn count | source/OpenTPW/World/Weather/WeatherRenderer.cs:336 | [BIN:STP-PPC:engine_shared 0x1001FCE4 drawn count] the drawn count is min(CurrentDrops, MaxRaindrops) of the field's 1024 points |
| STP-PPC:engine_shared 0x1001FCE4 dt | source/OpenTPW/World/Weather/WeatherVisualState.cs:94 | [BIN:STP-PPC:engine_shared 0x1001FCE4 dt] dt is the wall-clock frame time in ms capped at 500 ms, zeroed by an engine flag |
| STP-PPC:engine_shared 0x1ACC8 blend | source/OpenTPW/World/Particles/ParticleRenderer.cs:15 | [BIN:STP-PPC:engine_shared 0x1ACC8 blend] untextured: SRC_ALPHA, ONE_MINUS_SRC_ALPHA; render flags 0x2004: SRC_ALPHA, ONE; flags 0x4: ONE, ONE; otherwise the sprite's own alpha blend |
| STP-PPC:engine_shared 0x1ACC8 blend | source/OpenTPW/World/Particles/ParticleRenderer.cs:137 | [BIN:STP-PPC:engine_shared 0x1ACC8 blend] see the class comment |
| STP-PPC:engine_shared 0x1ACC8 particle draw | source/OpenTPW/World/Particles/ParticleRenderer.cs:14 | [BIN:STP-PPC:engine_shared 0x1ACC8 particle draw] over the emitter slots, culled by bounding box; a camera-facing quad of half-size size/1024 times the sprite scale, rotated by the spin |
| STP-PPC:engine_shared 0x1D4B4 lightning flash | source/OpenTPW/Client/GameFlow.cs:1266 | [BIN:STP-PPC:engine_shared 0x1D4B4 lightning flash] LightningFlash() sets a flag; the rain render then draws one full-screen white quad for exactly one frame and clears it (lobby only) |
| STP-PPC:engine_shared 0x3fc74 MD2 loader gate | source/OpenTPW.Files/Formats/Model/ModelFile.cs:216 | [BIN:STP-PPC:engine_shared 0x3fc74 MD2 loader gate] a major below 221 loads only with argument bit 0x1, which no |
| STP-PPC:sound_shared 0x1000F2E0 GetParameterValue | source/OpenTPW/Audio/SoundEvents.cs:549 | [BIN:STP-PPC:sound_shared 0x1000F2E0 GetParameterValue] the first slot whose +24/+28 mask contains bit 1 supplies volume; selectors +22/+26 are truncated to bytes when loaded (0x100100D8–0x100100EC) |
| STP-PPC:sound_shared 0x1000F32C GetRandomVolume | source/OpenTPW/Audio/SoundEvents.cs:507 | [BIN:STP-PPC:sound_shared 0x1000F32C GetRandomVolume] volume = min + random % (max - min), in percent |
| STP-PPC:sound_shared 0x1000F3C8–0x1000F3F4 GetRandomVolume | source/OpenTPW/Audio/SoundEvents.cs:550 | [BIN:STP-PPC:sound_shared 0x1000F3C8–0x1000F3F4 GetRandomVolume] the Mac interpolates the same way, low + floor((high - low) × byte value / 100), the high endpoint included at 100 |
| STP-PPC:sound_shared 0x1000FF40 ChooseRandomSound | source/OpenTPW/Audio/SoundEvents.cs:491 | [BIN:STP-PPC:sound_shared 0x1000FF40 ChooseRandomSound] sounds are chosen by the running sum of their weights (+0x1E) against the same 16-bit draw |
| STP-PPC:sound_shared 0x10011F20 CreatePlaceHolder | source/OpenTPW/Audio/SoundChain.cs:12 | [BIN:STP-PPC:sound_shared 0x10011F20 CreatePlaceHolder] the event flags 0x404 (cat_kids 71-74, the screams) make a voice that chains one-shot children |
| STP-PPC:sound_shared 0x100192F0 AssignSoundToNextBranch | source/OpenTPW/Audio/SoundEvents.cs:1141 | [BIN:STP-PPC:sound_shared 0x100192F0 AssignSoundToNextBranch] a branching sentence starts on the event's first sound |
| STP-PPC:sound_shared 0x100192F0 AssignSoundToNextBranch | source/OpenTPW/Audio/SoundEvents.cs:1161 | [BIN:STP-PPC:sound_shared 0x100192F0 AssignSoundToNextBranch] links whose [byte 6, byte 7] range holds the parameter are candidates, chosen by their target sound's weight; with none the sentence waits |
| TPI-EXE:0x... | source/OpenTPW/World/Umbrellas/UmbrellaApproximations.cs:5 | traced from the Theme Park Inc no-CD <c>Game.exe</c> (<c>[BIN:TPI-EXE:0x...]</c> labels) or is OpenTPW's own, with <c>[EXT:umbrellas-*]</c> labels; it is not Theme Park World's behaviour, which has no umbrellas. |
| TPI-EXE:0x... | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:41 | (<see cref="GuestSimulation"/>). The labels: <c>[BIN:TPI-EXE:0x...]</c> for the traced rule, <c>[EXT:umbrellas-*]</c> for OpenTPW's own additions, <c>APPROX:UMB-nnn</c> where it guesses. |
| TPI-EXE:0x0041B350 balance getter | source/OpenTPW/Economy/BalanceSettings.cs:181 | [BIN:TPI-EXE:0x0041B350 balance getter] Theme Park Inc's Standard.sam schema (rows 0x009966C0) fills the block at 0x00A01A6C, a different layout from tp.exe's 0x0078504C; the money keys below keep tp.exe's names and meaning |
| TPI-EXE:0x0041B350 balance getter | source/OpenTPW/Economy/BalanceSettings.cs:364 | [BIN:TPI-EXE:0x0041B350 balance getter] the global Standard.sam and the theme's are loaded in this order as in tp.exe; Theme Park Inc ships no Easy_Standard layer |
| TPI-EXE:0x004289AC cost setter | source/OpenTPW/Economy/BalanceSettings.cs:164 | [BIN:TPI-EXE:0x004289AC cost setter] the same four cell costs are read and applied by TPI's setter, which equals tp.exe 0x00408192 |
| TPI-EXE:0x004289AC cost setter | source/OpenTPW/Economy/ParkEconomy.cs:2542 | [BIN:TPI-EXE:0x004289AC cost setter] Costs.MapCell is in Theme Park Inc's data and set (equal to tp.exe 0x00408192) but no reader of it was found: there is no Buy Land (moderate confidence; the park boundary is the mission's BoundaryClicks) |
| TPI-EXE:0x005BCD60 arrival group | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:76 | [BIN:TPI-EXE:0x005BCD60 arrival group] _ftol (0x86FAB0) keeps the low dword of the 64-bit truncation: (1717987308 + 20) x 2.5 is 2^32 + 1024, so the group is 1024 (the native routine at 0x7F, |
| TPI-EXE:0x005BCD60 arrival group | source/OpenTPW/World/Guests/GuestSimulation.cs:1050 | [BIN:TPI-EXE:0x005BCD60 arrival group] Theme Park Inc's group: 0 in world state 4; else ftol( weather percentage (rain, storm, snow or heatwave by the weather thing's state, else 100.0) x 0.01f x (NewParkBonus + park points) / PointsPerVisitor ), the factor and the divide in floating point (fild or flds the percentage, fild the total, fmuls 0.01f, fmulp, fidivl, _ftol 0x86FAB0: the low dword); then at least MinPeople and the same cut as tp.exe's (500 online, else 1500) |
| TPI-EXE:0x005BCDDE weather state | source/OpenTPW/World/Guests/GuestSimulation.cs:230 | [BIN:TPI-EXE:0x005BCDDE weather state] the weather thing's word +0x70 minus 1, when it is at most 3, indexes a jump table (0x005BCF08) whose first entry 0x005BCE06 loads the heatwave word 0x00A02250 (the others, in order, rain 0x00A02244, storm 0x00A02248, snow 0x00A0224C; ORACLE.md X7); any other value takes 100.0f |
| TPI-EXE:0x005BCDEE group size | source/OpenTPW/World/Guests/GuestSettings.cs:206 | [BIN:TPI-EXE:0x005BCDEE group size] Theme Park Inc's group size scales by one of four percentage words (0x00A02244..0x00A02250: Arrival.Rain/Storm/Snow/HeatwavePercentageModifier) chosen by the weather thing's state; Theme Park World's files carry none |
| TPI-EXE:0x005BFBBA bank constructor | source/OpenTPW/Economy/BalanceSettings.cs:182 | [BIN:TPI-EXE:0x005BFBBA bank constructor] BankAccountInfo.InitialCash and InitialAdmissionFee fill the bank as tp.exe's constructor 0x004CF8C6 does, and LoanInfo[n] (a ten-slot array, eight used) fills the offers (0x005BFB97) |
| TPI-EXE:0x005D2060 integer square root | source/OpenTPW/World/Guests/GuestNavigation.cs:47 | [BIN:TPI-EXE:0x005D2060 integer square root] the dword with a zero high dword (fild qword), fsqrt, then _ftol 0x86FAB0 (truncation); the game thread's control word 0x7F rounds fsqrt to 24 bits ([EXT:hardware-d3d-path]) |
| TPI-EXE:0x005DEFFF monthly object cost | source/OpenTPW/Economy/EconomyObjectCatalog.cs:160 | [BIN:TPI-EXE:0x005DEFFF monthly object cost] Theme Park Inc's type record holds Upgrades[n].RunningCost (+0x2B4, stride 0x44) and CashPerBrainPoint (+0x274); Theme Park World's files carry neither, so they read 0 there |
| TPI-EXE:0x005DEFFF monthly object cost | source/OpenTPW/Economy/ParkEconomy.cs:1698 | [BIN:TPI-EXE:0x005DEFFF monthly object cost] the object's month message takes 0 in state 1 or 4, else the type record's running cost (thing +0x84, the current level's Upgrades[n].RunningCost), adds the amount its statistics block accumulated (+0x938, 0x5DF029..0x5DF042, whatever the state), writes the running cost into +0xDD8 and the sum into the cost ring +0xB88, takes profit +0x1028 = takings +0x6E8 - the sum, clears the accumulators and the monthly rings it rolls, and debits the bank (0x5C07B0, the twin of tp.exe 0x4D01F0) with the sum, adding it to the game's costs word (+0x20F28) |
| TPI-EXE:0x005DEFFF type record | source/OpenTPW/Economy/EconomyObjectCatalog.cs:196 | [BIN:TPI-EXE:0x005DEFFF type record] Theme Park Inc only: Info.ExpectedPrice (+0x88) and Info.WorkingLife (+0x8C), the starting life gauge (0x5DB53A) |
| TPI-EXE:0x005E75F9 scrap percentage | source/OpenTPW/Economy/ParkEconomy.cs:1840 | [BIN:TPI-EXE:0x005E75F9 scrap percentage] the routine tests the thing flag +0x43 bit 0x10 first (set for a type with UsageInfo.RequiresWatering, 0x5DB654): the script variable 0 of the thing's script (0x6B0740 finds it by the thing id +0x2C, 0x6B0C90 reads variable 0; no script reads 0) is the count n, and the answer is ftol((3 - n) x 33.333332) plus 1 unless 3 - n is exactly 0: 101, 67, 34, 0 for n = 0..3 at the game thread's 24 bits (ThemeParkIncWateringPercent), then -32, -65 and so on (0x5E7613..0x5E764F); the condemned test follows only for the other objects |
| TPI-EXE:0x005E765B scrap percentage | source/OpenTPW/Economy/ParkEconomy.cs:1843 | [BIN:TPI-EXE:0x005E765B scrap percentage] Theme Park Inc's percentage routine 0x005E75F0 refuses a condemned object (state +0xA0 = 4) any refund before it reaches the year rule it shares with tp.exe 0x004E2290 |
| TPI-EXE:0x0063AD30 navigator serializer | source/OpenTPW.Files/Formats/Save/SaveNavigation.cs:74 | [BIN:TPI-EXE:0x0063AD30 navigator serializer] mode 1 (save, versions 0..1): force 8, formation_pos 8, local_xaxis 8, local_yaxis 8, mass 4, max_force 4, max_speed 4, mCantReachDest 4, nav_mode 4, path_buffer_count 4, path_count 4, path_finished 1, path_last_progress 4, path_stuck_buffer 4, path_subpath_dist 4, path_tail_dist 4, path_target_pos 8, path_timestamp 4, path_total_count 4, path_total_dist 4, pos 8, radius 4, 5 x (subpath_buffer[p] 8, subpath_dist[p] 4), vel 8 through the stream's write 0x7CC960, each under its member name (0x441DA0); a short transfer returns 1; mode 0 (0x63B583) reads the same and zeroes the unnamed +0x30 (0x63B9AB, 0x63B64A) |
| TPI-EXE:0x0063DD20 steering step | source/OpenTPW/World/Guests/GuestNavigation.cs:799 | [BIN:TPI-EXE:0x0063DD20 steering step] tp.exe's step; after the commit the local x axis +0x20 = 0x63E150(+0x10) and the y axis +0x28 = 0x63E300 (perpendicular (−y, x)) of it (0x63DECF..0x63DF02); the refused commit and the progress shift +0xB0 left without a mask (0x63DEAE, 0x63DF1E) |
| TPI-EXE:0x0063E150 normalise | source/OpenTPW/World/Guests/GuestNavigation.cs:55 | [BIN:TPI-EXE:0x0063E150 normalise] m = |x| | |y|; m & 0xFFFFF000 == 0: root 0x5D2060((y² + x²) << 6), f = root ? 0x80000 / root : 0 (idiv), out = (x × f, y × f) by imul; m & 0xFFC00000 == 0: root of (|x| >> 8)² + (|y| >> 8)² (sar), f = root ? 0x1000000 / root : 0, out = FixMul each; else >> 18 and 0x4000 |
| TPI-EXE:0x0063E3A0 walk set-up | source/OpenTPW/World/Guests/GuestNavigation.cs:569 | [BIN:TPI-EXE:0x0063E3A0 walk set-up] tp.exe's routine (the route buffer 0xAA0C18, the search 0x640C50); subpath_dist slot i (+0x8C + 4i) = the octile segment from waypoint i to i + 1 for i below +0x58 − 1, summed into +0xA4 (0x63E63A..0x63E6AF); the other slots keep their values; the stamp counter 0x5D81F0 on success only |
| TPI-EXE:0x0063EA90 behaviour registration | source/OpenTPW/World/Guests/GuestNavigation.cs:159 | [BIN:TPI-EXE:0x0063EA90 behaviour registration] the steering list [0xAA0B88..0xAA0B8C] emptied, then the behaviours named avoid_walls (0xE666), follow_path (0x8000) and separation (0x1999) taken from the 8-entry table 0x9D4EF8 by name, in that order; tp.exe's 0x50FDF0 is the same |
| TPI-EXE:0x0063ED10 navigator constructor | source/OpenTPW.Tests/ThemeParkIncNavigatorTests.cs:185 | [BIN:TPI-EXE:0x0063ED10 navigator constructor] mass 0x10000, radius 0x3333, max force 0x6666, max speed 0x3333, finished 1; every other written member 0, the buffer slots zeroed by 0x63D820 |
| TPI-EXE:0x0063ED10 navigator constructor | source/OpenTPW/World/Guests/GuestNavigation.cs:214 | [BIN:TPI-EXE:0x0063ED10 navigator constructor] +0 mass 0x10000, +4 radius 0x3333, pos, vel, the axes, +0x30, formation_pos, force, target 0, +0x18 max force 0x6666, +0x1C max speed 0x3333, the counts and index 0, +0x60 finished 1, the five buffer slots zeroed by 0x63D820 (vector constructor 0x86FF04), +0xA0..+0xB8 0; +0x48 and +0x8C.. are not written (the arena 0x7CA070 does not fill); tp.exe's 0x50FFE0 is the same |
| TPI-EXE:0x0063ED10 navigator constructor | source/OpenTPW/World/Guests/GuestSimulation.cs:538 | [BIN:TPI-EXE:0x0063ED10 navigator constructor] Theme Park Inc's native walk (--tpi-native-walk) starts the person's navigator (+0xEC, called at 0x608F83) with the constructor's caps |
| TPI-EXE:0x0063EF90 speed setter | source/OpenTPW/World/Guests/GuestNavigation.cs:1184 | [BIN:TPI-EXE:0x0063EF90 speed setter] Theme Park Inc's is the same routine: min(s, 2.0) (0x93AD1C), +0x18 = _ftol(s × 26214.4) (0x93EB58), +0x1C = _ftol(s × 13107.2) (0x93EB48), each raised to 0x28F; the navigator's own members (GuestNavigation.MaxForce, MaxSpeed) |
| TPI-EXE:0x00745720 GMI refresh snapshot | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:91 | [BIN:TPI-EXE:0x00745720 GMI refresh snapshot] the save routine writes .GMI instead of .GMS (and .TPWI instead of .TPWS) when its flag is set; both go through the writer 0x0074C8F0, which keeps the flag at +0x14EC and writes the same version-12 body |
| TPI-EXE:0x418F60 SAM binding | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:31 | [BIN:TPI-EXE:0x418F60 SAM binding] the object's data base is this + 8 (vtable slot 1); each leaf record gets the next dword slot, counted from slot 1 (0x418FA9), with the stride of its enclosing |
| TPI-EXE:0x418F60 SAM binding | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestSettings.cs:26 | [BIN:TPI-EXE:0x418F60 SAM binding] the addresses below are the binding of the Standard schema 0x996684 from ExitLevel (0xA01A6C) on; ThemeParkIncGuestSettingsTests checks each against its key |
| TPI-EXE:0x418F60 ThemeEngine binding | source/OpenTPW/World/Sky.cs:743 | [BIN:TPI-EXE:0x418F60 ThemeEngine binding] the Standard object's constructor (0x41B320, global 0xA01A60) builds the schema's destination map through 0x418F60: scalar rows get base + word index * 4 at 0x4190C9..0x4190D7, the base accessor 0x41B380 answers this + 8; the real resolver 0x4192C0 and SAM writer 0x419CD0 bind BackColour/FogColour to 0xA027CC/0xA027D0, then AmbientLightLevel, DirectionalLightLevel and the two ProceduralTexturing offsets to 0xA027D4..0xA027E0 (tpi_themeengine_oracle.py, oracle X90); this is a loader check, not just an inference from table order |
| TPI-EXE:0x4192C0 SAM resolver | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:315 | [BIN:TPI-EXE:0x4192C0 SAM resolver] the resolver refuses an index at or past the count but not a negative one, which atol's wrap of a long digit run can give; the original |
| TPI-EXE:0x4192C0 SAM resolver | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:337 | [BIN:TPI-EXE:0x4192C0 SAM resolver] scans down from the end record for kind 1 or 3 with an equal name; the first match decides: a plain key needs kind 1, an indexed key kind 3 and |
| TPI-EXE:0x419830 SAM reset | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:113 | [BIN:TPI-EXE:0x419830 SAM reset] per struct or array (an array's element count from its end record's +0x34, else 1) every following leaf until a struct or array end: kinds 4, 5, 7 and 8 |
| TPI-EXE:0x419B20 SAM file load | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:147 | [BIN:TPI-EXE:0x419B20 SAM file load] the size 0x7CC5F0 is -1 for a missing file (fails, after logging only when the overlay flag is clear), 0 for an empty file (returns 1 before the parser, |
| TPI-EXE:0x419CD0 SAM parser | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:161 | [BIN:TPI-EXE:0x419CD0 SAM parser] flag 0 resets first (0x419CE2 -> 0x419830); every '\r' is removed; a line is skipped from its first byte to its '\n' after its parse, so leading blank |
| TPI-EXE:0x419CD0 guest settings loader | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:14 | [BIN:TPI-EXE:0x419CD0 guest settings loader] The isolated SAM loader verifies the scalar bindings and the four profile words |
| TPI-EXE:0x419FB4 loader array count | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:27 | [BIN:TPI-EXE:0x419FB4 loader array count] the settings loader raises the count word of an array section to the highest row index read plus one (the compare at 0x419FB7, the store at 0x419FBB), so the Seasons count word is 4 for the files' rows 0 to 3 (it sits right after the rows: the roll's row 4 reads it and the years word at 0xA024EC follows two keys later); the keys it does not read (Weather.DaysOfWarning and DaysBetweenChanges, in Online_Standard.sam only) keep the zero of the settings block |
| TPI-EXE:0x419FB4 loader array count | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:225 | [BIN:TPI-EXE:0x419FB4 loader array count] row 4 reads the count word (4, written by the loader), the two online-only keys (0 offline) and the years setting |
| TPI-EXE:0x41A036 SAM string | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:269 | [BIN:TPI-EXE:0x41A036 SAM string] a quoted text up to the closing quote (a newline or NUL first is "String read error"); the original keeps a heap copy's pointer |
| TPI-EXE:0x41A29E SAM float | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:282 | [BIN:TPI-EXE:0x41A29E SAM float] an optional '-', then digits and dots while fewer than two dots were taken; white space or NUL must follow, two dots and more than 99 |
| TPI-EXE:0x41AD90 map grid | source/OpenTPW/World/ThemeParkIncObstacleTypes.cs:45 | [BIN:TPI-EXE:0x41AD90 map grid] per row: ' ' is skipped without a column; any other character is looked up in the table (absent: failure), a 41st cell fails, the value and the direction are |
| TPI-EXE:0x41AF73 shape size | source/OpenTPW.Tests/ThemeParkIncAwardParkAdapterTests.cs:38 | [BIN:TPI-EXE:0x41AF73 shape size] the widest row's cells without spaces and the row count, for every shipped shape |
| TPI-EXE:0x41AF73 shape size | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:55 | [BIN:TPI-EXE:0x41AF73 shape size] the map parser stores the widest row's column count (a space skipped) at the record's +0 and the row count at +4 (0x41AF7B, 0x41AF82), as Theme Park World's |
| TPI-EXE:0x41B320 Standard object | source/OpenTPW/Economy/ThemeParkIncStandard.cs:7 | [BIN:TPI-EXE:0x41B320 Standard object] the static constructor binds the object at 0xA01A60 to the schema 0x996684 (590 records) through 0x418F60 |
| TPI-EXE:0x423120 config defaults | source/OpenTPW/Economy/ThemeParkIncSession.cs:41 | that are missing read 0), the eight flags 01 01 01 01 00 01 00 01, GameSpeed 100, +0x40 = 1, zoom 40/300, FPS clip 10, MusicEnabled 1; [BIN:TPI-EXE:0x423120 config defaults] then |
| TPI-EXE:0x4288F0 theme engine words | source/OpenTPW/World/Sky.cs:742 | [BIN:TPI-EXE:0x4288F0 theme engine words] Game.exe copies the ThemeEngine settings block's first two words into the clear words: [0xA027CC] into [0xBE20BC] (0x4288F7, 0x428915) and [0xA027D0] into [0xBE20C0] (0x4288F0, 0x4288FB); the viewport clears (0x6D697A to 0x6D698E, 0x6D72EB to 0x6D72FF) push [0xBE20C0] when the render flags have bit 0x4002000 and [0xBE20BC] otherwise |
| TPI-EXE:0x42A17C lost pause lock | source/OpenTPW/Client/ThemeParkIncHud.cs:148 | [BIN:TPI-EXE:0x42A17C lost pause lock] in the lost state a pause request does nothing, so the lost park's menus and screens run the park on |
| TPI-EXE:0x42A27C lost pause toggle | source/OpenTPW/Client/ThemeParkIncHud.cs:478 | [BIN:TPI-EXE:0x42A27C lost pause toggle] the P key's toggle refuses to pause a lost park but still resumes one that was paused when it was lost |
| TPI-EXE:0x42A340 viewed zone | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:171 | [BIN:TPI-EXE:0x42A340 viewed zone] the world's zone object 0xA06558 holds the zone being viewed at +0x14 (set by 0x42A360 on a zone change): the economy's zone, as an index of the name |
| TPI-EXE:0x42A360 set theme | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:69 | [BIN:TPI-EXE:0x42A360 set theme] the world's zone change calls the career's ChangeTheme (0x74F330) with the zone's name, which makes the zone's record the current one; with the game's |
| TPI-EXE:0x42EED0 message command | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:22 | [BIN:TPI-EXE:0x42EED0 message command] the key table's "message" command builds the window unless the game mode 0xC65B80 is 3; [BIN:TPI-EXE:0x54AED2 mail panel] the native HUD's mail |
| TPI-EXE:0x42F020 objectives command | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:44 | [BIN:TPI-EXE:0x42F020 objectives command] the key table's Objectives command builds the window unless the game mode 0xC65B80 is 3; the builder first closes the window the HUD has open |
| TPI-EXE:0x42F04B objectives key game mode | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:51 | [BIN:TPI-EXE:0x42F04B objectives key game mode] the Objectives row refuses in game mode 3 ([0xC65B80] == 3, the coaster-edit mode); OpenTPW's Theme Park Inc slice runs the career only (mode 0, single player; |
| TPI-EXE:0x42F420 pause binding | source/OpenTPW/Client/ThemeParkIncHud.Flight.cs:23 | [BIN:TPI-EXE:0x42F420 pause binding] the key bindings are dispatched past the input window, as "menu" (0x42FCD0) is: "pause" (the table entry at 0x9A8410 in the "system" group 0x9A8408; "menu" is at 0x9A88C8 in a later group) calls the |
| TPI-EXE:0x436E97 message order | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:282 | [BIN:TPI-EXE:0x6265DE staff payday] [BIN:TPI-EXE:0x628CA0 staff day] [BIN:TPI-EXE:0x436E97 message order] |
| TPI-EXE:0x436E97 message order | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:9 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x23 -> 0x634D20; [BIN:TPI-EXE:0x5F0F8D research complete] the controller's +0x1B = 1; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x436E97 message order | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:21 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x24 -> 0x634D20; [BIN:TPI-EXE:0x5F0F96 remove obstacle] the controller's state 2; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x436E97 message order | source/OpenTPW/Economy/ThemeParkIncStaff.cs:395 | [BIN:TPI-EXE:0x436E97 message order] the broadcaster 0xA09728 keeps a set per message type keyed by the thing handle and walks it in order, so the staff take the day and month |
| TPI-EXE:0x436E97 message order | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:185 | both cases; every message then goes to the base handler 0x6265C0. [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x436E97 message order | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:218 | area's entrance: a route sets +0x248 ("Found a rest area!"), the state stays 0; state 2 -> +0x248 = 0 and 0x628180(0); any other state nothing. [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x436E97 message order | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:221 | [BIN:TPI-EXE:0x436E97 message order] the staff hear it in ascending thing handle order |
| TPI-EXE:0x437140 message centre loader | source/OpenTPW.Files/Formats/Save/SaveBlockWidths.cs:40 | [BIN:TPI-EXE:0x437140 message centre loader] u32, then 45 lists of u32 count and count u16 entries; the prebuilt's block is 476 bytes |
| TPI-EXE:0x43CF40 shape access cells | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:221 | [BIN:TPI-EXE:0x43CF40 shape access cells] the scan runs the columns (U, a cell of 8 bytes, bounded by the shape's +0) in the outer loop and the rows (V, 0x140 bytes, bounded by +4) in the |
| TPI-EXE:0x43F900 control fill | source/OpenTPW/Economy/ThemeParkIncResearch.cs:119 | [BIN:TPI-EXE:0x43F900 control fill] after a park file's load ("Loaded savegame: %s", 0x43F6DF) 0x5CFEB0 gives every type of the zone's type list without a control a new one, researched when its |
| TPI-EXE:0x440a20 header writer | source/OpenTPW.Files/Formats/Save/SaveReader.cs:32 | [BIN:TPI-EXE:0x440a20 header writer] the same fields; the version block (writer 0x43ea60, reader 0x43eba0) sits between the magic and the language byte: u8 hasVersion, then u32 length and the bytes of the first line of Data\Ver.txt including its NUL |
| TPI-EXE:0x459520 options constructor | source/OpenTPW/Economy/ThemeParkIncSession.cs:40 | [BIN:TPI-EXE:0x459520 options constructor] the four (on, level) pairs from sound.sam's SoundInfo.SOUNDON and DefaultVolume.SFX/MUSIC/SPEECH/MOVIE (the SoundInfo object 0xA03B20, keys |
| TPI-EXE:0x464E7F advisor placement | source/OpenTPW/Client/ThemeParkIncAdvisorView.cs:16 | [BIN:TPI-EXE:0x464E7F advisor placement] the model slot's matrix (0xA13AB0 + 0xB0 per slot, +8) is the identity with translation (0.75, -0.6, 0.9) (0x464E7F-0x464E8D; 0x464DB0 puts it |
| TPI-EXE:0x4653A0 show node | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:24 | node. [BIN:TPI-EXE:0x4653A0 show node] clears bit 0x10 of the node 0x49A3D0 finds for the attribute (type mask 0x400; Theme Park World's 0x44B220), 0x465440 sets it. |
| TPI-EXE:0x466050 camera target | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:18 | [BIN:TPI-EXE:0x466050 camera target] x = ((cell - 1) & 0x7F) * 10 + w * 5 and y = ((cell - 1) >> 7) * 10 + w * 5 into 0xA14480/0xA14488, the cell being the thing's +0x44 (the anchor the placement constructs it at) |
| TPI-EXE:0x46a150 camera loader | source/OpenTPW.Files/Formats/Save/SaveBlockWidths.cs:43 | [BIN:TPI-EXE:0x46a150 camera loader] 40 bytes plus two floats |
| TPI-EXE:0x4A5E30 land refresh | source/OpenTPW/World/Level.cs:647 | [BIN:TPI-EXE:0x4A5E30 land refresh] Theme Park Inc's refresh writes no bit 0x400: it sets the landscape word's bits 0x1000..0x8000 from the 0x40 of the cell's neighbours, and the |
| TPI-EXE:0x4B0170 advisor models | source/OpenTPW/Client/ThemeParkIncAdvisorView.cs:133 | [BIN:TPI-EXE:0x4B0170 advisor models] slot 0 is the global advisor ("Data\Global\Advisor", "Advisor.md2"), slot 1 the level's advisor archive; a speech plays its clips on the slot of its |
| TPI-EXE:0x4B0170 advisor models | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:398 | [BIN:TPI-EXE:0x4B0170 advisor models] model 0 is the global advisor (Data\Global\Advisor, "Advisor.md2"), model 1 the level's ("Advisor%s.md2" with the level's suffix, advisor.wad); |
| TPI-EXE:0x4D0A38 right button | source/OpenTPW.Tests/ThemeParkIncFlightInputTests.cs:65 | [BIN:TPI-EXE:0x4D0A38 right button] the window procedure's WM_RBUTTONUP reaches the skip 0x5D0290 |
| TPI-EXE:0x4D1FC0 drop gate M | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:162 | [BIN:TPI-EXE:0x4D1FC0 drop gate M] a cell of type 4 (+8) whose chain (+0x28, next +0xA, 0x5D9560) holds a kind-3 thing (byte +2) gives that thing and M from its type record's +0x600 |
| TPI-EXE:0x4D2180 drop redirect | source/OpenTPW.Tests/TrackAddOnLevelTests.TpiStaffDrop.cs:70 | [BIN:TPI-EXE:0x4D2180 drop redirect] a shop (Info.WhichUIType 1, M 2) gives its entrance word +0x46: the anchor plus (1, 2) turned by 90, (2, -1) |
| TPI-EXE:0x4D2180 drop redirect | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:165 | [BIN:TPI-EXE:0x4D2180 drop redirect] M 1 takes the thing's word +0x48, M 2, 3 and 5 its word +0x46, M 4 none, any other M the cursor's own cell word; a word of 0 with a thing falls back |
| TPI-EXE:0x4D4E40 placement exit | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:497 | [BIN:TPI-EXE:0x4D4E40 placement exit] a tool switch exits with placed 0: 0x6319E0(1) clears the byte and keeps the candidate |
| TPI-EXE:0x4D4E40 placement exit | source/OpenTPW/World/Level.Staff.cs:245 | [BIN:TPI-EXE:0x4D4E40 placement exit] a tool switch exits the placement tool with placed 0: 0x6319E0(1) clears the being-placed byte and keeps the candidate |
| TPI-EXE:0x4D4EB0 staff drop | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:524 | [BIN:TPI-EXE:0x4D4EB0 staff drop] the flag 0x40, then the type: 4 (a footprint) and 10 refuse, and the tool stays |
| TPI-EXE:0x4D4EB0 staff drop | source/OpenTPW/World/Level.Staff.cs:269 | [BIN:TPI-EXE:0x4D4EB0 staff drop] a refused cell prints "Cannot place staff member here" and the tool stays (ThemeParkIncStaffWorld.Drop); a valid one constructs the member at the drop's word |
| TPI-EXE:0x4D4EB0 staff drop | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:156 | [BIN:TPI-EXE:0x4D4EB0 staff drop] the gate 0x4D1FC0 first; a nonzero M skips the ladder to 0x4D4F60. Otherwise the flag 0x40 (0x67ECA0), the fence post (0x67F920 -> 0x685710, kind 0x19), |
| TPI-EXE:0x4D4F8E silent drop | source/OpenTPW/Client/ThemeParkIncHud.Staff.cs:232 | [BIN:TPI-EXE:0x4D4F8E silent drop] an object's redirect without a cell ends the drop with no message |
| TPI-EXE:0x4D4FF7 drop handyman | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:336 | [BIN:TPI-EXE:0x4D4FF7 drop handyman] the drop allocates the object and calls the handyman constructor 0x5D48B0 with the cell word, which runs 0x626190 (-> the person constructor 0x608F00 |
| TPI-EXE:0x4DF610 animation start | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:79 | [BIN:TPI-EXE:0x4DF610 animation start] the engine's clip start is Theme Park World's 0x4732A0, so a clip hides its node list and the previous clip's end has shown every node (AdvisorAccessories.SequenceHiddenNodes) |
| TPI-EXE:0x4E09F0 animation sampler | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:146 | [BIN:TPI-EXE:0x4E09F0 animation sampler] the engine is Theme Park World's: a clip runs to its own length (trailer word 2 × 1000 / 30) and the advisor model (load flags 0x50120, |
| TPI-EXE:0x4F855D lost park load | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:71 | [BIN:TPI-EXE:0x4F855D lost park load] a loaded park in the world state 4 runs 0x50B1C0: the HUD hidden behind the overlay and the caption |
| TPI-EXE:0x4f48c2 confirm text | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:269 | [BIN:TPI-EXE:0x4f48c2 confirm text] the builder 0x4f47f0 cuts the text at its blank line (0x8717ed finds the separator 0x9b19c4): the first part is the caption box 0xea64 and the rest is the window's own text |
| TPI-EXE:0x4f8630 UI writer | source/OpenTPW.Files/Formats/Save/SavePayloadLayout.cs:191 | [BIN:TPI-EXE:0x4f8630 UI writer] a bare ret, and the loader reads nothing: a Theme Park Inc save has no UI bytes |
| TPI-EXE:0x5013C0 close the HUD's window | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:47 | [BIN:TPI-EXE:0x5013C0 close the HUD's window] message 5 to the window registered at 0xA568BC, which is also the letter window's (0x526D27): the letter's procedure takes it as its close |
| TPI-EXE:0x5013C0 close the HUD's window, second branch | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:49 | [BIN:TPI-EXE:0x5013C0 close the HUD's window, second branch] when [0xA5E890] holds a window (the one the loss window closes; not identified further) 0x5013C0 closes that window instead (message 4, 0x5013CC..0x5013EC) |
| TPI-EXE:0x5013C0 close the HUD's window, second branch | source/OpenTPW/Client/ThemeParkIncHud.cs:682 | [BIN:TPI-EXE:0x5013C0 close the HUD's window, second branch] with [0xA5E890] holding a window the call closes that window instead (message 4) and sends no message 5, so the letter would not close a mission window; |
| TPI-EXE:0x5036AB object click | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:32 | [BIN:TPI-EXE:0x5036AB object click] a ride (+0x600 == 0) that is no photo booth and no pending special ride opens the ride window 0x580120 (0xA6BBC0, template 0x9C3FB8) |
| TPI-EXE:0x5036CD object click | source/OpenTPW/Client/ThemeParkIncHud.SpecialRides.cs:31 | [BIN:TPI-EXE:0x5036CD object click] a ride (Info.WhichUIType 0) that is no photo booth, whose type is special (0x5E81D0: +0x5C == 1) and that 0x6242F0 does not free opens 0x5863E0 with the thing, |
| TPI-EXE:0x5039F0 panel help | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:404 | [BIN:TPI-EXE:0x5039F0 panel help] 0x71A930(message, locate 0, 0, variant -1, bypass 0, score -1) -> 0x718820; the delayed help is left as it is |
| TPI-EXE:0x503A40 help button | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:388 | [BIN:TPI-EXE:0x503A40 help button] advisor +0x10D = 0, +0x10C = 1, 0x71A930(message, locate 0, 0, variant -1, bypass 0, score -1) -> 0x718820, then +0x10C = 0 |
| TPI-EXE:0x503B05 window help delay | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:377 | [BIN:TPI-EXE:0x503B05 window help delay] the delay's start is GetTickCount (import 0xC6900C), the wall clock, and the update tests it with GetTickCount too (0x7181D2), so it runs on while the |
| TPI-EXE:0x503B40 help cancel | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:408 | [BIN:TPI-EXE:0x503B40 help cancel] advisor +0x10D = 0, then 0x718990(message) |
| TPI-EXE:0x50ACE0 loss dismissal | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:123 | [BIN:TPI-EXE:0x50ACE0 loss dismissal] the procedure destroys its window (message 4), leaves the seat camera (0x4657F0), hides the HUD behind the overlay (0x550BD0, |
| TPI-EXE:0x50ACE0 loss window procedure | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:90 | [BIN:TPI-EXE:0x50ACE0 loss window procedure] Escape (message 0x1000B, key 0x1B without modifier bits) or button 1 (message 0x10006) while RMBCancelOn |
| TPI-EXE:0x50AF20 interface locked | source/OpenTPW/Client/ThemeParkIncHud.Flight.cs:16 | [BIN:TPI-EXE:0x50AF20 interface locked] the start locks the interface (0x50AF20, 0x503BA0, 0x7BAE30) and the end shows it again (0x50AC90): the HUD is not drawn under the window |
| TPI-EXE:0x50AFC0 loss window | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:99 | [BIN:TPI-EXE:0x50AFC0 loss window] like tp.exe's 0x48AC40 it closes the HUD's windows (message 5 to 0xA568BC, message 6 to the HUD and camcorder windows) and disables the key tables (0x431230) |
| TPI-EXE:0x50AFC0 loss window | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:46 | [BIN:TPI-EXE:0x50AFC0 loss window] a lost park's key tables are disabled (0x431230), so the key opens nothing then |
| TPI-EXE:0x50AFC0 loss window | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:26 | [BIN:TPI-EXE:0x50AFC0 loss window] a lost park's key tables are disabled (0x431230), so the key opens nothing then |
| TPI-EXE:0x50B0BB loss caption | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:17 | [BIN:TPI-EXE:0x50B0BB loss caption] UITEXT 921 "BANKRUPT!" (reason 0) and 922 "Fired!" (reason 1) |
| TPI-EXE:0x50B1DE reloaded caption | source/OpenTPW/Economy/ParkEconomy.cs:3286 | reason, so a lost park reloads lost and [BIN:TPI-EXE:0x50B1DE reloaded caption] shows "BANKRUPT!" whatever lost it (in OpenTPW only through this |
| TPI-EXE:0x50B4E0 leave cameras | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:107 | [BIN:TPI-EXE:0x50B4E0 leave cameras] camera word 0xA1465C bit 2 (the walk): 0x4675A0 (the walk left); else bit 4 (a ride view): 0x4657F0 (the ride left), and with bit 0x400 (entered from the walk) 0x4675A0 after it |
| TPI-EXE:0x50D3F3 centred menu lines | source/OpenTPW/UI/Original/UiDialogs.cs:230 | [BIN:TPI-EXE:0x50D3F3 centred menu lines] Theme Park Inc's lost-park menu centres its block of lines: the first starts at half the window's height minus half the |
| TPI-EXE:0x50D3F3 lost menu lines | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:19 | [BIN:TPI-EXE:0x50D3F3 lost menu lines] the lost park's menu: Load Game (UITEXT 768, command 0x18), Resume Game (771, 0x17), Select A New Player (774, 0x1A) and Quit Game (772, 0x1B) |
| TPI-EXE:0x5123A3 text default colour | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:147 | [BIN:TPI-EXE:0x5123A3 text default colour] Theme Park Inc's text class constructor 0x512330 sets the colour bytes +0x4C/+0x4D/+0x4E |
| TPI-EXE:0x5123A3 text default colour | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:168 | [BIN:TPI-EXE:0x5123A3 text default colour] a text control without a colour call keeps the text class's white |
| TPI-EXE:0x515fe0 title control | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:119 | [BIN:TPI-EXE:0x515fe0 title control] Theme Park Inc's title class (constructor 0x515dc0, vtable 0x93c368; set by 0x501d50, called at 0x56ae29 for this title) draws the same (-2, +2) copy as the Theme Park World one, with colour alpha 0xc8 (0x5162d2-0x5162f4) |
| TPI-EXE:0x515fe0 title control | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:267 | [BIN:TPI-EXE:0x515fe0 title control] the quit caption is a title control too (set by 0x501d50 at 0x4f4902, box 0xea64): the copy alpha is 0xc8 |
| TPI-EXE:0x515fe0 title control | source/OpenTPW/UI/Original/UiBatch.cs:181 | [BIN:TPI-EXE:0x515fe0 title control] the same with the colour alpha 0xc8 |
| TPI-EXE:0x518C30 letter date | source/OpenTPW.Tests/ThemeParkIncLetterTests.cs:134 | [BIN:TPI-EXE:0x518C30 letter date] the template's slots take the day (0x29), the month (0x2A) and the year (0x2B) |
| TPI-EXE:0x518C30 letter date | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:222 | and day (0x7D91E0); 0x518BC0 packs them and [BIN:TPI-EXE:0x518C30 letter date] the window prints UITEXT 956, "{0x29}.{0x2A}.{0x2B}", |
| TPI-EXE:0x518C30 letter date | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:18 | <summary>[BIN:TPI-EXE:0x518C30 letter date] UITEXT 956, the template "{0x29}.{0x2A}.{0x2B}" the date field is filled through.</summary> |
| TPI-EXE:0x518FF0 lost menu line | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:178 | [BIN:TPI-EXE:0x518FF0 lost menu line] each line is made by 0x518FF0 (the steps of tp.exe's 0x492F60) in font slot 0, so it draws as the pause menu's lines do |
| TPI-EXE:0x526960 letter buttons | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:120 | [BIN:TPI-EXE:0x526960 letter buttons] a click on any control but help destroys the window and runs the letter's action; go-to (0xA808) is enabled only |
| TPI-EXE:0x526960 letter dismissed | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:214 | [BIN:TPI-EXE:0x526960 letter dismissed] Closing a letter of category 0x5E (the bank's) or 0x5F (the challenge system's) runs 0x649E60 |
| TPI-EXE:0x526AA5 letter go-to | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:122 | [BIN:TPI-EXE:0x526AA5 letter go-to] after the category's action the go-to button runs the record's target through 0x5511B0 |
| TPI-EXE:0x526CD0 letter labels | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:15 | [BIN:TPI-EXE:0x526CD0 letter labels] UITEXT 855 "To:", 856 "From:", 857 "Subject:" and 858 "Date:" (0x402B0D -> 0x500F60) |
| TPI-EXE:0x526CD0 letter window | source/OpenTPW/Client/ThemeParkIncHud.cs:149 | [BIN:TPI-EXE:0x526CD0 letter window] the letter window's builder makes no pause request (0x42A170 is not among its calls): the park trades on while it is open |
| TPI-EXE:0x526CF1 letter closes the HUD's window | source/OpenTPW/Client/ThemeParkIncHud.cs:679 | [BIN:TPI-EXE:0x526CF1 letter closes the HUD's window] the letter's builder 0x526CD0 calls 0x5013C0 first, which sends message 5 to the window registered at 0xA568BC: an open mission |
| TPI-EXE:0x526DA9 letter title | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:79 | [BIN:TPI-EXE:0x526DA9 letter title] the title box 0xA806 is the title control (0x405187 -> 0x501D50, as the Personnel File's) with the record's subject (+0xC04) |
| TPI-EXE:0x526DF9 letter fields | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:92 | [BIN:TPI-EXE:0x526DF9 letter fields] each label gets the colour (0, 0, 0x96, 0xFF) and each value (0, 0, 0, 0xFF) through 0x84A6BB with flags 3, all in font slot 5 (0x401997(5)) |
| TPI-EXE:0x5271D2 letter mugshot | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:104 | [BIN:TPI-EXE:0x5271D2 letter mugshot] the sender's picture: the mugshot 0xA7FE in the !frame 0xA7FD |
| TPI-EXE:0x5271ED letter picture | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:34 | [BIN:TPI-EXE:0x5271ED letter picture] the mugshot shows frame (record +0xE02) - 1, the sender row's picture word (0x5CD440) |
| TPI-EXE:0x5271ED letter picture | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:34 | [BIN:TPI-EXE:0x5271ED letter picture] the mugshot shows frame (record +0xE02) - 1 |
| TPI-EXE:0x52720F letter body | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:107 | [BIN:TPI-EXE:0x52720F letter body] the !frame 0xA801 holds the body (record +0x8) in font slot 7 with 0x84A577(1, 0, 3), inside the frame's inner rectangle |
| TPI-EXE:0x52C2B2 accept control | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:48 | [BIN:TPI-EXE:0x52C2B2 accept control] the mail view enables control 0xC1202 only when the slot's state is 1 (0x52C2B2) and the park is open (0x52C2D9 -> 0x5B1D30) |
| TPI-EXE:0x532A9E | source/OpenTPW/Economy/ParkCheats.cs:34 | <summary>[BIN:TPI-EXE:0x532A9E] Theme Park Inc's debug dialog's "Get Promoted": a promotion to the rank above the career's (<c>0x74C450</c>). Theme Park Inc only; the argument is unused (0).</summary> |
| TPI-EXE:0x532A9E get promoted | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:113 | [BIN:TPI-EXE:0x532A9E get promoted] button 0x186A2 ("Get Promoted", 0x9B79A8) reads the mission's Promotion.Number and the career's rank (0x5F0150), builds message 0x25 with the rank + 1 |
| TPI-EXE:0x532B39 | source/OpenTPW/Economy/ParkCheats.cs:30 | [BIN:TPI-EXE:0x532B39] Theme Park Inc's debug dialog's "Skip Mission": the mission completion tick (<c>0x5F0940</c>) runs at once, whatever the mission's requirements. Theme Park Inc only; the |
| TPI-EXE:0x532B39 skip mission | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:101 | [BIN:TPI-EXE:0x532B39 skip mission] the dialog proc 0x532A40 takes button 0x186A1 ("Skip Mission", 0x9B79C8) to the park's controller (0x64ED00) and its completion tick 0x5F0940, then closes |
| TPI-EXE:0x53835D | source/OpenTPW/Economy/ParkCheats.cs:37 | [BIN:TPI-EXE:0x53835D] Theme Park Inc's debug menu's "Win the game...": the shares owned rise by 51 % of <c>ShareInfo.CompanySharesIssued</c> (<c>0x621CE0</c>), miss17's share target; the |
| TPI-EXE:0x53835D win the game | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:127 | [BIN:TPI-EXE:0x53835D win the game] the debug menu's procedure 0x538030 (built by 0x537B7F with the text "Win the game..." at 0x9B81F4) takes [0xA02168] × 51 (shll 4, add, lea × 3), ÷ 100 toward |
| TPI-EXE:0x53EE30 loss caption | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:155 | [BIN:TPI-EXE:0x53EE30 loss caption] the caption object builds a window over the one-control table 0x9B96D8 and a text control in font slot 0 (0x500DE0(0)), centred both ways |
| TPI-EXE:0x54AED2 mail panel | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:22 | [BIN:TPI-EXE:0x42EED0 message command] the key table's "message" command builds the window unless the game mode 0xC65B80 is 3; [BIN:TPI-EXE:0x54AED2 mail panel] the native HUD's mail |
| TPI-EXE:0x54D3E0 presenter speech group | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:53 | [BIN:TPI-EXE:0x54D3E0 presenter speech group] 0x3E6-0x3FD: 0, 0x3FE-0x411: 1, 0x412-0x429: 3, 0x42A-0x438: 5, 0x439-0x449: 2, 0x44A-0x454: 4; else -1 |
| TPI-EXE:0x54F1A0 unread advice | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:27 | [BIN:TPI-EXE:0x54F1A0 unread advice] the counter posts 0x198 (threshold 3) or 0x15D (a later threshold) inside the insert, at once: 0x71A930(message, locate 0, 0, variant -1, bypass 0, score |
| TPI-EXE:0x54F1A0 unread up | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:250 | [BIN:TPI-EXE:0x54F1A0 unread up] total and the category's count go up; when the total equals the threshold: not silent posts advisor message 0x198 (threshold 3) or 0x15D (0x71A930, |
| TPI-EXE:0x54F320 unread down | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:264 | [BIN:TPI-EXE:0x54F320 unread down] total and the category's count go down; the threshold stays; the HUD panel shows the total |
| TPI-EXE:0x550AD6 overlay keys | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:143 | [BIN:TPI-EXE:0x550AD6 overlay keys] in the world state 4 only a key with no modifier bits and the code 0x1B does anything of its own: the pause menu 0x50DC90(0) |
| TPI-EXE:0x551190 tube window object | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:8 | [BIN:TPI-EXE:0x551190 tube window object] 0xA60188 is a static object: its constructor 0x551C60 runs once from the startup initializer stub 0x551190 (through 0x404458), so the sort key |
| TPI-EXE:0x5511B0 letter go-to | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:114 | [BIN:TPI-EXE:0x5511B0 letter go-to] kind - 1 through the jump table 0x55155C: kind 2 finds the first attraction of type +0xE18 (0x647850) and, found, moves the camera to it (0x5033C0 with a |
| TPI-EXE:0x5511FB call button state | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:414 | [BIN:TPI-EXE:0x5511FB call button state] the call is enabled while the staff HQ counts a placed mechanic (kind 4); the cancel needs none |
| TPI-EXE:0x5511FB call button state | source/OpenTPW/World/Commands/ParkSettingCommands.cs:581 | [BIN:TPI-EXE:0x5511FB call button state] a Theme Park Inc park counts its own staff: the object panel's call button (its click 0x55152A runs 0x5E3400(1) on the panel's thing, whatever the |
| TPI-EXE:0x55137B training go-to | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:134 | [BIN:TPI-EXE:0x55137B training go-to] kind 5: the staff window 0x58C6C0 (0xA6BF40) on the thing of +0xE14; [EXT:tpi-text-hud] the text HUD's staff panel stands in for that window, which |
| TPI-EXE:0x55147A wage demand go-to | source/OpenTPW/Client/ThemeParkIncHud.Wages.cs:16 | [BIN:TPI-EXE:0x55147A wage demand go-to] kind 0xE: 0x59ABB0 on the controller 0xA6C2B0 with the thing of +0xE14 and the demand +0xE18 |
| TPI-EXE:0x5517E0 tube destroy | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:479 | [BIN:TPI-EXE:0x5517E0 tube destroy] the window's message 0x14: the window object's words cleared, 0x503B40(0x1AF) (the help's delay dropped and the help cancelled) and 0x718990(0x211) (the go-to |
| TPI-EXE:0x551838 tube close message | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:472 | [BIN:TPI-EXE:0x551838 tube close message] message 5 (the HUD's window closing, 0x5013C0) and the buttons 3001/3002 and command -2: 0x553480(+0x1C), 0x501CD0(0), destroyed |
| TPI-EXE:0x55186D tube tick | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:256 | [BIN:TPI-EXE:0x55186D tube tick] +0x59 set: the pending row (+0x24) still listed (0x856917) and unflagged: +0x15 = 1, +0x5C = 0, +0x1C = 0, +0x28 = -1, 0x636A40(row), +0x15 = 0; then |
| TPI-EXE:0x55193D tube delete key | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:444 | [BIN:TPI-EXE:0x55193D tube delete key] message 0x1000A with 0x2E00 posts command 3004 to the window |
| TPI-EXE:0x55193D tube delete key | source/OpenTPW/UI/Original/UiInput.cs:112 | [BIN:TPI-EXE:0x55193D tube delete key] the tag tube window's procedure takes message 0x1000A with 0x2E00 (VK_DELETE) as command 3004, its Delete button, with no modifier test |
| TPI-EXE:0x551977 tube close | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:230 | [BIN:TPI-EXE:0x551977 tube close] the b_close 3001 and the b_okay 3002 read the shown row (0x553480), unregister the window (0x501CD0(0)) and destroy it |
| TPI-EXE:0x5519C7 tube delete press | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:443 | [BIN:TPI-EXE:0x5519C7 tube delete press] Delete off (+0x30 vtable +0x14(0)); +0x24 = +0x1C; 0 or -1: +0x24 = 0, +0x59 = 0, Delete on; else +0x59 = 1 |
| TPI-EXE:0x551A14 tube help | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:233 | [BIN:TPI-EXE:0x551A14 tube help] the b_help 3021 calls 0x503A40(0x1AF): the advisor's help button |
| TPI-EXE:0x551B77 tube go-to | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:459 | [BIN:TPI-EXE:0x551B77 tube go-to] 0x553480(+0x1C), 0x501CD0(0), the window destroyed, then 0x5511B0(the list's selected row); a result of 2 posts Delete, which no go-to kind of a ported |
| TPI-EXE:0x551C97 tube timers | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:45 | [BIN:TPI-EXE:0x551C97 tube timers] the constructor writes +0x60 = 2500 and +0x64 = 2000; the read 0x553480 needs now + 2000 > the deadline (selected + 2500): shown for more than 500 ms |
| TPI-EXE:0x551CA5 tube sort key | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:24 | [BIN:TPI-EXE:0x551CA5 tube sort key] the constructor 0x551C60 writes +0x68 = -2 |
| TPI-EXE:0x551CF0 tube window | source/OpenTPW/Client/ThemeParkIncHud.cs:151 | [BIN:TPI-EXE:0x551CF0 tube window] nor does the tag tube window's (0x5013C0, 0x84DEA0, 0x501CD0) |
| TPI-EXE:0x551CF0 tube window | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:33 | [BIN:TPI-EXE:0x551CF0 tube window] the builder: the HUD's window closes (0x5013C0), +0x1C = 0, +0x20 = -1, +0x59 = 0, +0x24 = 0, +0x28 = -1, CreateWindow 0x84DEA0(0x9BBC84) with the procedure |
| TPI-EXE:0x551D1A tube open once | source/OpenTPW/Client/ThemeParkIncHud.TagTube.cs:24 | [BIN:TPI-EXE:0x551D1A tube open once] the builder does nothing while the window exists (+0x34 set); else it closes the HUD's window (0x5013C0, message 5 to the window registered at |
| TPI-EXE:0x551DA1 tube texts | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:40 | [BIN:TPI-EXE:0x551DA1 tube texts] UITEXT 0x35D (title), 0x35C (the list header), 0x35B (the detail header), 0x358/0x359/0x357 (From:, Subject:, To:), 0xD3 (the empty list), 0xD1/0xD2 |
| TPI-EXE:0x551DB5 tube title | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:148 | [BIN:TPI-EXE:0x551DB5 tube title] the title control 3003 (0x501D50, as the letter's) with UITEXT 861 |
| TPI-EXE:0x551E14 tube headers | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:161 | [BIN:TPI-EXE:0x551E14 tube headers] 3007 and 3008 in font slot 8, white (0x84A6BB(0xFF, 0xFF, 0xFF, 0xFF)): UITEXT 860 and 859 |
| TPI-EXE:0x551F16 tube detail frame | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:201 | [BIN:TPI-EXE:0x551F16 tube detail frame] the !frame 3009 (+0x38): its text centred and wrapped (0x84A577(1, 1, 3)), the colour (0xE1, 0xE1, 0xFF, 0xFF), font slot 7, empty |
| TPI-EXE:0x552012 tube picture | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:208 | [BIN:TPI-EXE:0x552012 tube picture] the mugshot 3010 (+0x3C) hidden until a row with a picture is shown |
| TPI-EXE:0x55206E tube fields | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:211 | [BIN:TPI-EXE:0x55206E tube fields] each label in font slot 6 with the colour (0xEA, 0xEF, 0x66, 0xFF), each value (3016 +0x44, 3012 +0x48, 3014 +0x4C) in font slot 6, empty |
| TPI-EXE:0x5522FB tube go-to | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:221 | [BIN:TPI-EXE:0x5522FB tube go-to] the b_goto 3019 (+0x2C, +0x90 = 0xAF) hidden, with the frame's procedure 0x551AF0; its footer 3018 carries no text |
| TPI-EXE:0x55232D tube delete | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:224 | [BIN:TPI-EXE:0x55232D tube delete] the b_delete 3004 (+0x30) disabled; help 78 |
| TPI-EXE:0x5523BF tube empty label | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:227 | [BIN:TPI-EXE:0x5523BF tube empty label] 3020 (+0x40) in font slot 8, white, UITEXT 211, hidden |
| TPI-EXE:0x5523E6 tube delayed help | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:236 | [BIN:TPI-EXE:0x5523E6 tube delayed help] the builder ends with 0x503AD0(0x1AF): the advisor says the window's help once the panel delay has passed |
| TPI-EXE:0x552650 tube list | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:165 | [BIN:TPI-EXE:0x552650 tube list] the list 3006 (type 7, attribute 0x211: sorted) with a text column 0 and a number column 1 (0x8551BE), the "hilight" bar, the session's sort key |
| TPI-EXE:0x5528B0 tube row colour | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:505 | [BIN:TPI-EXE:0x5528B0 tube row colour] message 0x403 (the item's row): +0xE0C set: (0xC0, 0xC0, 0xC0); else white, user words 0 = 0 and 1 = now; message 0x1E: an unread row with +0xE0E > 0 |
| TPI-EXE:0x552B20 tube cells | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:524 | [BIN:TPI-EXE:0x552B20 tube cells] column 0 a text in font slot 7 (+0xC), left (0x84A4D2(0, 1, 3)); column 1 the date text class 0x515670 in font slot 7, right (0x84A4D2(2, 1, 3)) |
| TPI-EXE:0x552CF0 tube refresh | source/OpenTPW.Tests/ThemeParkIncTagTubeTests.cs:239 | [BIN:TPI-EXE:0x552CF0 tube refresh] the refresh clears the list's selection and refills it, but the shown row (+0x1C), its details and the read deadline (+0x5C) stay |
| TPI-EXE:0x552CF0 tube refresh | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:285 | [BIN:TPI-EXE:0x552CF0 tube refresh] +0x14 set: nothing; dirty byte = 0, +0x14 = 1; the selected item (0x158) is remembered; the list is cleared (0x856517: selection -1, first row 0); |
| TPI-EXE:0x553100 tube details | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:402 | [BIN:TPI-EXE:0x553100 tube details] a row: +0x44 = +0xA06, +0x48 = +0x808, +0x4C = +0xC04, the body +0x8 (0x552E30); +0xE10 != 0 shows the go-to 3019 and the footer 3018 and queues |
| TPI-EXE:0x553480 tube read | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:425 | [BIN:TPI-EXE:0x553480 tube read] +0x5C == 0 or now + +0x64 <= +0x5C: +0x5C = 0, nothing; else +0x5C = 0; +0x14 or +0x15 set, no row or -1, or +0xE0C set: nothing; else +0xE0C = 1, |
| TPI-EXE:0x5534DD row read | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:195 | [BIN:TPI-EXE:0x5534DD row read] +0xE0C = 1, then 0x64EA60 (the tag thing, unused) and 0x636820(+0xE0E): with this+0x81C set, 0x54F320 decrements the total and the category |
| TPI-EXE:0x553550 tube show | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:376 | [BIN:TPI-EXE:0x553550 tube show] +0x1C = 0, +0x28 = -1; the item's row at the index (0x85685E); +0x1C = row; row != +0x20: 0x553100(row), the mugshot shown at +0xE02 - 1 when +0xE02 != 0 |
| TPI-EXE:0x5598B6 negotiation close | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:360 | [BIN:TPI-EXE:0x5598B6 negotiation close] message 0x14: 0x503B40(0x1B1) (the help's delay dropped and the help cancelled), then the decision's branch (ParkEconomy.EndThemeParkIncNegotiation), +4 = 0, |
| TPI-EXE:0x5598C0 negotiation result | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:68 | [BIN:TPI-EXE:0x5598C0 negotiation result] +0x10 nonzero: 0x6375C0, 0x64EA60 and 0x636C90(0x90, handle) (the member's demand rows), then 0x62D160(0x62B620() + offer); zero: the panel 0xB28C's toggle |
| TPI-EXE:0x55999F negotiation commands | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:320 | [BIN:TPI-EXE:0x55999F negotiation commands] command 0x100 is taken for 0xB285, 0xB28B and 0xB291 only, and the default procedure 0x507FA0 ignores it: the Enter key's -1 does nothing |
| TPI-EXE:0x5599A1 negotiation buttons | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:347 | [BIN:TPI-EXE:0x5599A1 negotiation buttons] 0xB285 (b_close) and 0xB28B (b_okay) post message 4 and call 0x503B40(0x1B1); the window's destroy sends message 0x14, which applies the decision |
| TPI-EXE:0x5599B2 negotiation help | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:350 | [BIN:TPI-EXE:0x5599B2 negotiation help] 0xB291 calls 0x503A40(0x1B1): the advisor's help button |
| TPI-EXE:0x559C40 negotiation dialog | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:261 | [BIN:TPI-EXE:0x559C40 negotiation dialog] the dialog 0xA60408 with no window (+0): +4 = the member, +8 = the offer, +0xC = the demand; the HUD's window closes (0x5013C0), CreateWindow 0x84DEA0(0x9BE518) |
| TPI-EXE:0x559D15 negotiation delayed help | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:352 | [BIN:TPI-EXE:0x559D15 negotiation delayed help] the builder ends with 0x503AD0(0x1B1): the advisor says the dialog's help once the panel delay has passed |
| TPI-EXE:0x559E1D negotiation fields | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:324 | [BIN:TPI-EXE:0x559E1D negotiation fields] 0xB287 (UITEXT 0xA2) and 0xB288 (the member's name, 0x62B600) inside the body frame 0xB286, font slot 6; the body (0xA4E56C) centred (0x84A4D2(1, 1, 3), |
| TPI-EXE:0x559E9D negotiation texts | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:268 | [BIN:TPI-EXE:0x559E9D negotiation texts] UITEXT 0xFE (the title), 0xA2 ("Name", 0xB287), the body 0xFF (2), 0x100 (1) or 0x101 with the demand as parameter 13 (0), the choices 0x102 and 0x103 |
| TPI-EXE:0x559F6F wage decision | source/OpenTPW/Economy/ThemeParkIncWageNegotiation.cs:25 | [BIN:TPI-EXE:0x559F6F wage decision] the salary (0x62B620, +0x214) plus the offer (+8) and plus the demand (+0xC) as 32-bit sums; cmp, jl: o >= d (signed) gives 2 (string 0xFF into the body |
| TPI-EXE:0x55A10A choice panel | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:333 | [BIN:TPI-EXE:0x55A10A choice panel] results 1 and 2 hide the panel 0xB28C (0x84BAF3(0)); result 0 shows it with the labels 0xB28F (UITEXT 0x102) and 0xB290 (0x103), font slot 6, and selects 0xB28D |
| TPI-EXE:0x55A620 met requirements | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:147 | [BIN:TPI-EXE:0x55A620 met requirements] [BIN:TPI-EXE:0x6325B9 HQ rebuild] |
| TPI-EXE:0x55A620 met requirements | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:317 | [BIN:TPI-EXE:0x55A620 met requirements] EndingTheme != the current zone record's +0x64 and != 3: false ("not in correct theme"); HasObstacle (0x5F0190): obstacle state (0x5F01D0) != 2: false; |
| TPI-EXE:0x55A6D5 slots filled | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:45 | [BIN:TPI-EXE:0x55A6D5 slots filled] any of the 20 slots with +0 != 7 and word +8 == 0 fails ("some slots not filled", 0x9BEE74) |
| TPI-EXE:0x55A7F0 mission window | source/OpenTPW/Client/ThemeParkIncHud.cs:150 | [BIN:TPI-EXE:0x55A7F0 mission window] nor does the mission window's (it makes the same window calls as the letter's, 0x5013C0 and 0x501CD0) |
| TPI-EXE:0x55A7F0 mission window | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:42 | [BIN:TPI-EXE:0x55A7F0 mission window] the builder: career +0x27 = 0, the window's +0x1C (scroll) and +0x24 (page) = 0, CreateWindow 0x84DEA0(0x9BE808, 0x55BA70) |
| TPI-EXE:0x55A860 career flag | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:140 | [BIN:TPI-EXE:0x55A860 career flag] the builder clears the career's byte +0x27 |
| TPI-EXE:0x55A860 career flag | source/OpenTPW/Economy/ThemeParkIncCareer.cs:268 | [BIN:TPI-EXE:0x55A860 career flag] movb $0, 0x27(career); what reads the byte is not traced |
| TPI-EXE:0x55A879 mission panel | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:142 | [BIN:TPI-EXE:0x55A879 mission panel] then 0x5F16C0 on the mission controller (0x64EBA0): 0x71A930(0x93E3E0[career +0x105C], locate 0, 0, variant -1, bypass 0, score -1) -> 0x718820. |
| TPI-EXE:0x55A87E mission delayed help | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:145 | [BIN:TPI-EXE:0x55A87E mission delayed help] then 0x503AD0(0x277), the delayed help, before the window is created |
| TPI-EXE:0x55A932 mission name | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:195 | [BIN:TPI-EXE:0x55A932 mission name] 0xCEC56 in font slot 5, centred (0x84A4D2(1, 1, 3)), white (0x84A6BB(0xFF, 0xFF, 0xFF, 0xFF)): OPERATION[counter] |
| TPI-EXE:0x55A9C9 mission letter frame | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:201 | [BIN:TPI-EXE:0x55A9C9 mission letter frame] the !frame 0xCEC5A holds the From/To/Subject pairs: each label in font slot 6 with the colour (0xEA, 0xEF, 0x66, 0xFF), each value in font slot 6 with no colour call |
| TPI-EXE:0x55AD32 mission body | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:216 | [BIN:TPI-EXE:0x55AD32 mission body] the frame's text in font slot 7, left and top (0x84A4D2(0, 0, 3)), wrapped (0x84A577(1, 0, 3)), no colour call; the body goes to the scroll text over the slider 0xCEC62 (0x52C4C0) |
| TPI-EXE:0x55ADB2 obstacle group | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:222 | [BIN:TPI-EXE:0x55ADB2 obstacle group] the group 0xCEC63's three lines in font slot 7, left and top, wrapped |
| TPI-EXE:0x55AFA6 mission window texts | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:48 | [BIN:TPI-EXE:0x55AFA6 mission window texts] UITEXT 0x1CD (title), 0x1CF/0x1D0 (the tabs), 0x52 (Proceed), 0x3DC/0x3DD (the page toggle), 0x357/0x358/0x359 (To:, From:, Subject:) |
| TPI-EXE:0x55AFCE mission title | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:174 | [BIN:TPI-EXE:0x55AFCE mission title] the title control 0xCEC6A (0x501D50, as the letter's) with UITEXT 461 |
| TPI-EXE:0x55AFD8 mission tabs | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:187 | [BIN:TPI-EXE:0x55AFD8 mission tabs] the Objectives tab 0xCEC59 is disabled and set (vtable +0x14(0), 0x85B402(1, 1)); both tabs centre their UITEXT in font slot 7 (0x84A4D2(1, 1, 3)) |
| TPI-EXE:0x55B16E page toggle | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:238 | [BIN:TPI-EXE:0x55B16E page toggle] the b_updown 0xCEC69 says UITEXT 988 on the briefing and 989 on the details, centred in font slot 7; its toggle state is the details page |
| TPI-EXE:0x55B236 proceed | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:243 | [BIN:TPI-EXE:0x55B236 proceed] the b_ltoggle10 0xCEC68 says UITEXT 82, centred in font slot 7 with the colour (0xC8, 0xC8, 0xDC, 0xFF) |
| TPI-EXE:0x55B2EF mission fields | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:210 | [BIN:TPI-EXE:0x55B2EF mission fields] Subject: OPERATION[counter]; From: TAG_SYSTEM[sender +4] (173); To: the player's name |
| TPI-EXE:0x55B3AA mission sender | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:56 | [BIN:TPI-EXE:0x55B3AA mission sender] 0x5CD630(1) = 0x9CD6D8 + 16 × 1: {key 1, name 173, title 174, mugshot 1} |
| TPI-EXE:0x55B40F mission mugshot | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:214 | [BIN:TPI-EXE:0x55B40F mission mugshot] the mugshot 0xCEC5D shows the sender's word +0xC less one |
| TPI-EXE:0x55B4CB mission picture | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:197 | [BIN:TPI-EXE:0x55B4CB mission picture] the objectim 0xCEC55 in the !frame 0xCEC54 shows frame 0x9BECCC[counter] - 1 |
| TPI-EXE:0x55B5BA proceed sparkle | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:244 | [BIN:TPI-EXE:0x55B5BA proceed sparkle] when the requirements are met the builder starts a screen particle burst at the button (0x500B70 -> 0x7BACC0), which OpenTPW's interface does not draw |
| TPI-EXE:0x55BAB1 mission timer | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:276 | [BIN:TPI-EXE:0x55BAB1 mission timer] message 0x15 (table 0x55BF24/0x55BF08) arms timer 0x80080 for 0xFA0 ms (0x84D0A9); its expiry, message 0x10 with id 0x80080 (0x55BAF6), sets 0xA61814 = 1 |
| TPI-EXE:0x55BB0A close | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:581 | [BIN:TPI-EXE:0x55BB0A close] message 5 and every button that closes (and the tick's rebuild, 0x55BC1D): 0x85049F(window, 4), whose destroy (message 0x14, 0x55BB48) cancels the help |
| TPI-EXE:0x55BBD0 mission tick | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:277 | [BIN:TPI-EXE:0x55BBD0 mission tick] message 0x1E with 0xA61814 set: obstacle state 2 and 0xA61818 == 0 closes the window and builds it again (0x55A7F0); else the refresh 0x55C190 |
| TPI-EXE:0x55BCC1 challenges tab | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:191 | [BIN:TPI-EXE:0x55BCC1 challenges tab] the Challenges tab closes the window and opens the challenges window (0xA59F28 -> 0x529960(-1)) |
| TPI-EXE:0x55BD35 close | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:249 | [BIN:TPI-EXE:0x55BD35 close] the close and the cancel button share the id -2: both close the window and clear 0xA61814 |
| TPI-EXE:0x55BD79 complete button | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:174 | [BIN:TPI-EXE:0x55BD79 complete button] [BIN:TPI-EXE:0x6325B9 HQ rebuild] [BIN:TPI-EXE:0x5F0F96 remove obstacle] the mission window's Proceed reaches both listeners of message 0x24 |
| TPI-EXE:0x55BD79 complete button | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:130 | [BIN:TPI-EXE:0x55BD79 complete button] 0x55A620 false: nothing; HasObstacle (0x5F0190): message 0x24 (0x436140, vtbl 0x93A3D0) with park+0x1EAB6E through the dispatcher 0xA09728, which calls its |
| TPI-EXE:0x55BD79 proceed | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:562 | [BIN:TPI-EXE:0x55BD79 proceed] 0x55A620 false: nothing; 0x5F0190 (HasObstacle): message 0x24 with the thing park+0x1EAB6E (0x436140, vtable 0x93A3D0) through the dispatcher 0xA09728 |
| TPI-EXE:0x55BEAD help | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:247 | [BIN:TPI-EXE:0x55BEAD help] the help button 0xCEC6B calls 0x503A40(0x1B6): the advisor's help button |
| TPI-EXE:0x55BED1 page toggle | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:551 | [BIN:TPI-EXE:0x55BED1 page toggle] page ^= 1, 0x55C190, 0x55A510 (UITEXT 988 or 989), 0xA61830 = 0 and 0xA6182C = 0 |
| TPI-EXE:0x55C190 mission refresh | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:311 | [BIN:TPI-EXE:0x55C190 mission refresh] page 0: hide 0xCEC63, the briefing 0x55D520; page 1 in obstacle state 2: show 0xCEC63, the body text "" and the obstacle lines 0x55D1B0; page 1 otherwise: |
| TPI-EXE:0x55C350 details | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:372 | [BIN:TPI-EXE:0x55C350 details] the current zone record's +0x64 == EndingTheme (+0x10E0): an obstacle mission (0x5F0190) in obstacle state 1 gives the research lines (0x55C800 when the project's |
| TPI-EXE:0x55C362 current zone | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:541 | [BIN:TPI-EXE:0x55C362 current zone] the career's current record (+0x4C) +0x64 through 0x74F4B0, that record's +0x64 |
| TPI-EXE:0x55C3A2 details buffer | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:404 | [BIN:TPI-EXE:0x55C3A2 details buffer] the details are written into the window's buffer at +0x13B2, whose size the callers pass as 0x9C4 wide characters (0x55C3A2, 0x55C440, |
| TPI-EXE:0x55C600 zone hint | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:429 | [BIN:TPI-EXE:0x55C600 zone hint] UITEXT 86, "\n", then 75 with the string argument 5 = 0x55C770(EndingTheme): 0 -> THEMENAMES[3], 1 -> [0], 2 -> [1], any other the empty string |
| TPI-EXE:0x55C800 research lines | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:415 | [BIN:TPI-EXE:0x55C800 research lines] UITEXT 86, "\n", 103, "\n"; 104 and "\n" when the research manager thing (0x64EB20, park+0x1EAB56) is none; 105 and "\n" when the researcher list head |
| TPI-EXE:0x55C8B0 researchers | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:158 | [BIN:TPI-EXE:0x55C8B0 researchers] the researcher list head word park+0x1EAB84 (TPI-STAFF), set while a researcher is employed |
| TPI-EXE:0x55CA60 objectives | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:445 | [BIN:TPI-EXE:0x55CA60 objectives] z = the current zone record's +0x64; UITEXT 83 and "\n"; with Promotion.Number (0x5F0120): rank < Number gives the hint by counter (2: 94; 4: z == 1 ? 95 : 100; |
| TPI-EXE:0x55D1B0 obstacle lines | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:510 | [BIN:TPI-EXE:0x55D1B0 obstacle lines] 0xCEC65 = UITEXT 84; 0xCEC66 = with Obstacle.GoldenTickets n != 0: UITEXT 85, " " (0x9BBC54), STAT_TITLES 13 (n == 1) or 14 with n, else ""; 0xCEC67 = UITEXT 86, |
| TPI-EXE:0x55D520 briefing | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:348 | [BIN:TPI-EXE:0x55D520 briefing] counter 0: MISSION_DESC[0] with the integer argument 0 = status block 0's +8 (0x74C580(0), the target value); else 0x5F0150 (Promotion.Number +0x13D4, |
| TPI-EXE:0x55D6D0 staff list | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:226 | [BIN:TPI-EXE:0x55D6D0 staff list] the list 0xCEC64's column headers 0x10, 0x11 and 0x12: UITEXT 87, 88 and 89 |
| TPI-EXE:0x55E3B0 thing in table | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:72 | [BIN:TPI-EXE:0x55E3B0 thing in table] the 20 words at +8, stride 12, compared with the thing id |
| TPI-EXE:0x5630B0 graph dispatch | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:16 | [BIN:TPI-EXE:0x5630B0 graph dispatch] the traced native toggles select only arrivals/people/rating, each through the integer reader 0x4F6990; happiness/stay are separately proven stored measurements |
| TPI-EXE:0x568d40 design kit and quit | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:192 | [BIN:TPI-EXE:0x568d40 design kit and quit] a click on the toggle 0xc73a (help 290) opens the Coaster Design Kit; a click on 0xc75b (UITEXT 30, help 289) asks the quit confirmation; both toggles stand in !f_plain frames (0xc739, 0xc75a) |
| TPI-EXE:0x568d40 personnel file help | source/OpenTPW/UI/Original/ThemeParkIncText.cs:48 | [BIN:TPI-EXE:0x568d40 personnel file help] the table's help ids (0x9c0fbc): 287 on Enter Game and Load A Game, 288 on Delete Player, 289 on Quit Game, 290 on Coaster Design Kit; the confirm table 0x9b18bc has 0 (Ok) and 3 (Cancel) on its two buttons |
| TPI-EXE:0x568d86 quit text | source/OpenTPW/UI/Original/ThemeParkIncText.cs:44 | [BIN:TPI-EXE:0x568d86 quit text] the Quit Game handler (0x568d67, a click on control 0xc75b) fetches UITEXT 0x305 and passes it to the confirm dialog builder 0x4f47f0 with the quit action 0x568e60 |
| TPI-EXE:0x568da1 quit call | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:278 | [BIN:TPI-EXE:0x568da1 quit call] the quit call passes the mode words 2 and 1: the table's first button 0xea61 becomes b_cancel (help 3, 0x4f4937) and the second 0xea62 b_okay (help 0, 0x4f493e), whose action 0x568e60 closes the game; the close button 0xea63 stays hidden for a two-button dialog |
| TPI-EXE:0x56AB40 enter game | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:39 | [BIN:TPI-EXE:0x56AB40 enter game] the panel selects the player, which loads the player's global save, and changes to the zone |
| TPI-EXE:0x56ab40 enter game | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:48 | [BIN:TPI-EXE:0x56ab40 enter game] a new player's world is -1 or 3 (the intro world) and becomes 1, science, before the world change 0x6a26b0 |
| TPI-EXE:0x56ab40 enter game | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:161 | [BIN:TPI-EXE:0x56ab40 enter game] Enter Game (0xc754, filebut, UITEXT 34, help 287) saves the player and enters the player's world; Load A Game (0xc759, UITEXT 35, help 287) opens table 0x9ba364 and Delete Player (0xc755, UITEXT 33, help 288) asks first |
| TPI-EXE:0x56adb0 file tabs | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:128 | [BIN:TPI-EXE:0x56adb0 file tabs] four filetab buttons (0xc73d to 0xc740) across the page's top edge, each showing its player's name or UITEXT 20, "New Player", for a free slot |
| TPI-EXE:0x56adb0 name box | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:148 | [BIN:TPI-EXE:0x56adb0 name box] the name box is the filebox panel 0xc756 (729,360)-(1361,462) with the filebutok button 0xc757 and the text field 0xc758, whose prompt is UITEXT 32, "Enter name here" |
| TPI-EXE:0x56adb0 personnel file text | source/OpenTPW/UI/Original/ThemeParkIncText.cs:11 | [BIN:TPI-EXE:0x56adb0 personnel file text] the Personnel File builder asks the text function 0x500f60 for UITEXT 0x13 (the title, control 0xc75c), 0x14 (a free player slot: the handler 0x56a8c3 and the three copies after it), 0x16 to 0x1a (the stock labels of controls 0xc746, 0xc74d, 0xc74f, 0xc751 and 0xc74a), 0x1d (the objective label 0xc744), 0x1e (Quit Game, toggle 0xc75b), 0x1f (Coaster Design Kit, toggle 0xc73a), 0x20 (the name field's prompt, field 0xc758), 0x21 (Delete Player 0xc755), 0x22 (Enter Game 0xc754) and 0x23 (Load A Game 0xc759); the slot handlers 0x569e12 to 0x56a1b6 use 0x1c for a zone that is not yet open |
| TPI-EXE:0x573A80 team list | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:74 | [BIN:TPI-EXE:0x573A80 team list] only researchers (0x62AF70 == 4), in any state, not on the other slot's team |
| TPI-EXE:0x573C00 empty team | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:153 | [BIN:TPI-EXE:0x573CD0 team commit] pending > -1: 0x61EFA0(pending, slot), the consultant copy, 0x61EB80(list, slot); [BIN:TPI-EXE:0x573C00 empty team] 334/333, yes: 0x576DC0(slot) |
| TPI-EXE:0x573CD0 team commit | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:153 | [BIN:TPI-EXE:0x573CD0 team commit] pending > -1: 0x61EFA0(pending, slot), the consultant copy, 0x61EB80(list, slot); [BIN:TPI-EXE:0x573C00 empty team] 334/333, yes: 0x576DC0(slot) |
| TPI-EXE:0x574D00 project filter | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:404 | [BIN:TPI-EXE:0x574D00 project filter] [BIN:TPI-EXE:0x575F98 new project] [BIN:TPI-EXE:0x620210 percent done] |
| TPI-EXE:0x574D00 project filter | source/OpenTPW/Economy/ThemeParkIncResearch.cs:411 | [BIN:TPI-EXE:0x574D00 project filter] 0x620210 >= 100 excludes; the other slot's index (lab[4 × (6 - slot)]) excludes; the group byte +0x12 above the current zone record's +0 (the tech level, through |
| TPI-EXE:0x575180 project chosen | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:117 | [BIN:TPI-EXE:0x575180 project chosen] pending = the row; role 7: consultant 0, the team window; else 0x61D970: a pick opens the team window, none shows 330/331 and the chooser is rebuilt |
| TPI-EXE:0x575570 research panel | source/OpenTPW/Client/ThemeParkIncHud.Research.cs:92 | [BIN:TPI-EXE:0x575570 research panel] park->0x5B2DB0(8) == 0 shows 328/329 and returns; no research room or lab-active test |
| TPI-EXE:0x575F98 new project | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:404 | [BIN:TPI-EXE:0x574D00 project filter] [BIN:TPI-EXE:0x575F98 new project] [BIN:TPI-EXE:0x620210 percent done] |
| TPI-EXE:0x575F98 new project | source/OpenTPW/Economy/ThemeParkIncResearch.cs:392 | [BIN:TPI-EXE:0x575F98 new project] +0x14 < 0 or 0x576EC0(0): a finished slot 0 is cleared (0x61F560(0), 0x575FE9), the chooser 0x574180(0); else the same for +0x18 and slot 1 (0x576062); else 336/337 |
| TPI-EXE:0x576FE0 consultant role | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:235 | [BIN:TPI-EXE:0x61D970 consultant pick] [BIN:TPI-EXE:0x576FE0 consultant role] |
| TPI-EXE:0x576FE0 consultant role | source/OpenTPW/Economy/ThemeParkIncResearch.cs:130 | [BIN:TPI-EXE:0x576FE0 consultant role] the table 0x577028: 0 -> 7, 1 -> 5, 2 -> 0, 3 -> 1, 4 -> 2, 5 -> 3, 6 -> 4, anything else 7 (the role codes of 0x62AF70) |
| TPI-EXE:0x57A482 build panel tabs | source/OpenTPW/World/Objects/ObjectCatalog.cs:185 | [BIN:TPI-EXE:0x57A482 build panel tabs] Theme Park Inc's panel calls its list builder 0x57CA20 for the tabs 0 (button 0x32DF), 1 (0x32DE), 2 (0x32DD), 3 (0x32E0) and 5 (0x32E1, the jump table 0x57A728): |
| TPI-EXE:0x57A598 facilities tab | source/OpenTPW.Tests/ThemeParkIncLandTests.cs:229 | [BIN:TPI-EXE:0x57A598 facilities tab] the facilities folder's types are the fifth tab's (Info.WhichUIType 5 from facilities.sam) |
| TPI-EXE:0x57A598 facilities tab | source/OpenTPW/World/Objects/ObjectCatalog.cs:263 | [BIN:TPI-EXE:0x57A598 facilities tab] Theme Park Inc's build panel has a fifth tab (button 0x32E1, help text 0x113) whose list builder 0x57CA20 takes the types whose +0x600 (the copy of |
| TPI-EXE:0x57CAB6 hidden types | source/OpenTPW/World/ThemeParkIncCatalogue.cs:24 | [BIN:TPI-EXE:0x57CAB6 hidden types] a type is skipped when +0x5C (Info.IsSpecial: the Info key table 0x9A2D38, eight words before Info.OverwritePriority, which the validator reads at +0x7C, 0x67E464) is nonzero, |
| TPI-EXE:0x57CB00 thinking space | source/OpenTPW/World/ThemeParkIncCatalogue.cs:26 | [BIN:TPI-EXE:0x57CB00 thinking space] a type whose +0x1B4 (UsageInfo.ThinkingSpace: the UsageInfo key table ending at 0x5A51C8 of the file, 26 words before UsageInfo.AppearanceEffect at +0x21C) equals 1 is skipped while the mission number (0x5F03A0 +0xC) is below 1 |
| TPI-EXE:0x57CB2A training room | source/OpenTPW/World/ThemeParkIncCatalogue.cs:27 | [BIN:TPI-EXE:0x57CB2A training room] a type whose +0x1B8 (UsageInfo.TrainingRoom) is nonzero is listed when the mission number is above 1, or equal to 1 with the obstacle status of 0x5F01D0 equal to 2 (research done); otherwise skipped |
| TPI-EXE:0x57CB66 researched types | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:57 | [BIN:TPI-EXE:0x61BCE0 lab load] [BIN:TPI-EXE:0x57CB66 researched types] |
| TPI-EXE:0x57CB66 researched types | source/OpenTPW/World/ThemeParkIncCatalogue.cs:13 | [BIN:TPI-EXE:0x57CB66 researched types] then the type's object control (0x5CFCF0) +0x10 == 0 lists it only when the mode word [0xC65B80] is 3 and the type's +0x14C is 3; the career game's mode is |
| TPI-EXE:0x57CF60 single instance | source/OpenTPW.Tests/ThemeParkIncHudBuildTests.cs:45 | [BIN:TPI-EXE:0x57CF60 single instance] UsageInfo.SingleInstance 1 and a built copy refuse the row; another type, or the first copy, is armed |
| TPI-EXE:0x57CF60 single instance | source/OpenTPW/Client/ThemeParkIncHud.cs:345 | [BIN:TPI-EXE:0x57CF60 single instance] the row's type: +0x1BC (UsageInfo.SingleInstance, the word after TrainingRoom +0x1B8) equal to 1 and 0x5B5560 (the control's built count +0x18, raised by the |
| TPI-EXE:0x57D370 toggle state | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:33 | [BIN:TPI-EXE:0x57D370 toggle state] the toggle 0x2EE4 is disabled when the queue link 0x5E07B0 fails, when closed (0x5E3C20: +0x7C == 0) and 0x5E1A50 fails, when open and 0x5E1BC0 fails; else enabled |
| TPI-EXE:0x57FF8E toggle press | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:52 | [BIN:TPI-EXE:0x57FF8E toggle press] control 0x2EE4: 0x5E3C20 (closed) passes 0 to 0x50FB10, which opens through 0x5E1DC0 (the open word +0x7C = 1, VAR_RIDECLOSED = 0, SetState(0)), else 1, which closes |
| TPI-EXE:0x580550 ability chosen | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:66 | [BIN:TPI-EXE:0x580550 ability chosen] +0x218 == the choice: text 714; +0x218 != 0: the confirmation 715 whose yes (0x5806B0) runs the rest; then (0x580613) a member with a chosen ability updates |
| TPI-EXE:0x580860 ability list | source/OpenTPW/Economy/ThemeParkIncTraining.cs:51 | [BIN:TPI-EXE:0x580860 ability list] for i = 0..14 the rows of 0x639B20(member, i) (ABILITIES.str[i], data i); no MinExperienceForTraining test |
| TPI-EXE:0x580A65 no ability text | source/OpenTPW/Economy/ThemeParkIncTraining.cs:56 | [BIN:TPI-EXE:0x580A65 no ability text] by 0x62AF70's code: 0 -> 707, 1 -> 708, 2 -> 711, 3 -> 710, 4 -> 712, 5 -> 709 |
| TPI-EXE:0x582890 shares panel refresh | source/OpenTPW/Client/ThemeParkIncHud.Awards.cs:18 | [BIN:TPI-EXE:0x582890 shares panel refresh] the native share portfolio panel (0x581A90, opened from 0x54F73A) shows the holding (0x6220B0), its value (0x6220D0), the price (0x622490), the |
| TPI-EXE:0x5865AC activation columns | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:496 | [BIN:TPI-EXE:0x5865AC activation columns] UITEXT 234, STAFFSTATES.str entry 8, UITEXT 983 |
| TPI-EXE:0x5865AC activation columns | source/OpenTPW/Client/ThemeParkIncHud.SpecialRides.cs:33 | [BIN:TPI-EXE:0x5865AC activation columns] the heads: 0x4E28 UITEXT 234 (0x5865AC), 0x4E29 entry 8 of the table 0xA0D60C (the language loader's +0x724, mUIStaffStates: STAFFSTATES.str, 0x58662C), |
| TPI-EXE:0x586D40 activate button | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:45 | [BIN:TPI-EXE:0x586D40 activate button] message 0x100 from control 0x4E24 calls 0x5E8230 on [0xA5960C] (the window's ride, set by 0x5863E0), closes the window (0x5106C0) and plays 0x1A6; the |
| TPI-EXE:0x591F10 0xA6C0A0 initialiser | source/OpenTPW/Economy/ThemeParkIncSession.cs:30 | [BIN:TPI-EXE:0x591F10 0xA6C0A0 initialiser] +0x60 = 0 and +0x04..+0x5F zero-filled |
| TPI-EXE:0x59A92A wage window destroy | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:248 | [BIN:TPI-EXE:0x59A92A wage window destroy] message 0x14: +0 = 0, 0x403B11, 0x503B40(0x1B0) (the help's delay dropped and the help cancelled); every close then calls 0x503B40(0x1B0) again, |
| TPI-EXE:0x59A936 wage window close | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:230 | [BIN:TPI-EXE:0x59A936 wage window close] message 5: message 4 to the window and 0x503B40(0x1B0); message 0x14 then clears +0 (0x502E20); the member word +4 stays, and no negotiation opens |
| TPI-EXE:0x59A9C7 wage fire | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:219 | [BIN:TPI-EXE:0x59A9C7 wage fire] 0x629040 on the member (+4), +4 = 0, message 4 to the window (its destroy cancels the help), 0x503B40(0x1B0); no negotiation |
| TPI-EXE:0x59A9F6 wage window Enter | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:136 | [BIN:TPI-EXE:0x59A9F6 wage window Enter] the Enter key is the command -1, which the procedure takes as OK (whatever control the pointer rests on) |
| TPI-EXE:0x59AA05 wage cancel | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:211 | [BIN:TPI-EXE:0x59AA05 wage cancel] 0xCA182 and -2 store +0x14 = 0 first, then the same as 0xCA184 |
| TPI-EXE:0x59AA0E wage negotiate | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:206 | [BIN:TPI-EXE:0x59AA0E wage negotiate] message 0x100 with 0xCA184 or -1: message 4 to the window (0x85049F, whose destroy's message 0x14 runs 0x503B40(0x1B0) at once), 0x503B40(0x1B0) again, |
| TPI-EXE:0x59AA8D wage window help | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:190 | [BIN:TPI-EXE:0x59AA8D wage window help] 0xCA19A calls 0x503A40(0x1B0): the advisor's help button |
| TPI-EXE:0x59ABB0 wage window | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:68 | [BIN:TPI-EXE:0x59ABB0 wage window] on the controller 0xA6C2B0 when no window is open (+0): +4 = the member, +0x14 = +0x18 = the demand; the HUD's window closes (0x5013C0), CreateWindow 0x84DEA0(0x9C9F64) |
| TPI-EXE:0x59ABB3 wage window once | source/OpenTPW/Client/ThemeParkIncHud.Wages.cs:28 | [BIN:TPI-EXE:0x59ABB3 wage window once] +0 set: nothing; the HUD's window closes first (0x5013C0) and the window registers itself (0x501CD0); the rows of a dismissed member are deleted with him |
| TPI-EXE:0x59ABE6 wage windows registered | source/OpenTPW/Client/ThemeParkIncHud.cs:681 | [BIN:TPI-EXE:0x59ABE6 wage windows registered] the wage demand window and the negotiation dialog (0x559C98) register at 0xA568BC too, so the letter closes them with message 5 as well |
| TPI-EXE:0x59AC16 wage window delayed help | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:192 | [BIN:TPI-EXE:0x59AC16 wage window delayed help] the builder ends with 0x503AD0(0x1B0): the advisor says the window's help once the panel delay has passed |
| TPI-EXE:0x59ACA0 offer range | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:74 | [BIN:TPI-EXE:0x59ACA0 offer range] the wage window's offer box takes AllStaffConstants.MinWage (0xA02280) and MaxWage (0xA02284) as its range and WageStep (0xA02288) as its step |
| TPI-EXE:0x59ACA0 wage window texts | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:75 | [BIN:TPI-EXE:0x59ACA0 wage window texts] UITEXT 0xFB (the title), 0xFC ("Your Offer", 0xCA197), 0xBE/0xC4/0xC1/0xC3/0xBF/0xC5/0xC6 (the labels 0xCA18E, 0xCA192, 0xCA190, 0xCA191, 0xCA18C, 0xCA193, |
| TPI-EXE:0x59ACE1 offer box | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:146 | [BIN:TPI-EXE:0x59ACE1 offer box] the varibox 0xCA185 with the range MinWage..MaxWage (0x85CC73), the step WageStep (0x85CD3C) and the value +0x14 (its vtable +0x20); a change sends message |
| TPI-EXE:0x59AD4B wage window name | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:140 | [BIN:TPI-EXE:0x59AD4B wage window name] the frame 0xCA187 in font slot 6 with the member's name (+0x1C0, 0x62B600) |
| TPI-EXE:0x59ADCC offer label | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:144 | [BIN:TPI-EXE:0x59ADCC offer label] 0xCA197 centred (0x84A4D2(1, 1, 3), 0x84A577(1, 1, 3)), font slot 6, white (0x84A6BB): UITEXT 0xFC |
| TPI-EXE:0x59AEAC statistics | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:157 | [BIN:TPI-EXE:0x59AEAC statistics] the frame 0xCA188 with its labels (font slot 6) and values: the wage 0xCA18D (the salary, 0x62B620), the agency 0xCA194 (0x62F840), the ability 0xCA195 |
| TPI-EXE:0x59AFF8 demand text | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:180 | [BIN:TPI-EXE:0x59AFF8 demand text] the frame 0xCA186 centred, white, font slot 6, UITEXT 0xFD with the offer word (the demand at the build) as parameter 13 |
| TPI-EXE:0x59B9F0 wage window gauges | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:173 | [BIN:TPI-EXE:0x59B9F0 wage window gauges] (every 2000 ms, the timer 0x80080): 0xCA18A happiness ((u8)ftol(+0x230) << 10) / 100 on happygrad.tga, 0xCA18B motivation (+0x234) the same on |
| TPI-EXE:0x5AC84D breakdown count | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:258 | [BIN:TPI-EXE:0x5AC84D breakdown count] the analyser's constructor zeroes +0x14, and its only writer 0x5B9A70 (incl 0x14(%ecx), thunk 0x40AABA) has no caller and no address reference in the |
| TPI-EXE:0x5ACE30 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:13 | [BIN:TPI-EXE:0x5ACE30 analyser serializer] twenty-one variable-count word rings follow four short rings and six totals; serializer order, not runtime memory stride, determines their named paths |
| TPI-EXE:0x5AF080 recent stays | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:15 | [BIN:TPI-EXE:0x5AF080 recent stays] departing paid guests append whole park days after saved-calendar-rate conversion; 0x5BC4A0 sums the newest at most 50 signed entries for the monthly truncated mean |
| TPI-EXE:0x5AF220 analyser month | source/OpenTPW.Tests/ParkEconomyTests.cs:132 | [BIN:TPI-EXE:0x5AF220 analyser month] the month message reaches its listeners in ascending thing-id order, so the analyser (5) closes |
| TPI-EXE:0x5AF220 analyser month | source/OpenTPW/Economy/ParkEconomy.cs:1545 | [BIN:TPI-EXE:0x5AF220 analyser month] Theme Park Inc's month message reaches its listeners in ascending thing-id order (the id-keyed tree walked in order by 0x436DD0). |
| TPI-EXE:0x5AF220 analyser month | source/OpenTPW/Economy/ParkEconomy.cs:1668 | [BIN:TPI-EXE:0x5AF220 analyser month] the sampled value is read off the bank: the routine resolves the thing at world+0x1EAB5A (id 9) and calls 0x5C0740, which returns the balance at [bank+0x14], then pushes it into the monthly ring whose head is at +0x1F35C (entries from +0x1F11C) |
| TPI-EXE:0x5AF220 monthly producer | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:14 | [BIN:TPI-EXE:0x5AF220 monthly producer] ordinals 14/17/18/19/20 are people/bus arrivals/float happiness/recent-stay mean/rating; admission counter mVisitorsThisMonth instead feeds ordinal 15 |
| TPI-EXE:0x5AF220 monthly producer | source/OpenTPW.Tests/ThemeParkIncSaveWorldTests.cs:431 | [BIN:TPI-EXE:0x5AF220 monthly producer] the World-referenced analyser's history comes from the TPI serializer ordinals 14/17/18/19/20 and |
| TPI-EXE:0x5AFED0 least happy | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:171 | [BIN:TPI-EXE:0x5AFED0 least happy] starts at 100; each staff thing's happiness (+0x230) truncated by __ftol (0x86FAB0) and masked to a byte replaces it when lower (signed jge) |
| TPI-EXE:0x5B05D0 park excitement | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:784 | [BIN:TPI-EXE:0x5B05D0 park excitement] the sum over the object list (world +0x1EAB88) of the kinds 0 and 2 that pass the counts test 0x5DFC90 and have copies, with the age bracket from the |
| TPI-EXE:0x5B19C0 kind finder | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:200 | [BIN:TPI-EXE:0x5B19C0 kind finder] the square [cell ± radius] clipped to 0..0x7F, the things of each cell's chain by the kind byte +2: a placed entertainer (kind 6) on one of the nine cells |
| TPI-EXE:0x5B19C0 kind finder | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:190 | [BIN:TPI-EXE:0x5B19C0 kind finder] the square [cell ± radius] clipped to 0..0x7F (only the cell word is masked to 16 bits; the radius is the argument as it is), the things of each cell's chain (0xADE6B4 + 0x1F038, nine bytes a cell) by the kind byte +2; |
| TPI-EXE:0x5B1B50 litter finder | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:575 | [BIN:TPI-EXE:0x5B1B50 litter finder] the box of the radius around the centre clipped to 0..0x7F, x outer and y inner, the records whose type (+0x30) is nonzero and whose claim word (+0x34) is |
| TPI-EXE:0x5B2060 guests in park | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:264 | [BIN:TPI-EXE:0x5B2060 guests in park] argument 4 counts every class-1 thing whose square passes 0x60BE00, whatever its generation: Theme Park World's census (as the mission statistics read it) |
| TPI-EXE:0x5B2060 guests in park | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:198 | [BIN:TPI-EXE:0x5B2060 guests in park] walks every thing; a thing of class 1 (a guest) whose cell (bytes +5/+7) passes 0x60BE00 (cell type 1, 3, 9, 10 or 0: 0x67F5B0, 0x67F5D0, |
| TPI-EXE:0x5B2F40 staff count | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:168 | [BIN:TPI-EXE:0x5B2F40 staff count] counts the things of kinds 4, 5, 6, 8, 7 and 0x14: the placed staff members |
| TPI-EXE:0x5B2F40 staff things | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:32 | [BIN:TPI-EXE:0x5B2F40 staff things] the things of kinds 4, 5, 6, 8, 7 and 0x14: the placed staff members, as the challenge system counts them |
| TPI-EXE:0x5B32F0 most experience | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:153 | [BIN:TPI-EXE:0x5B32F0 most experience] walks every thing; one of the kind keeps its +0x210 when above the best so far (signed jle), which starts at 0. The staff kinds are |
| TPI-EXE:0x5B3460 trained share | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:280 | [BIN:TPI-EXE:0x5B3460 trained share] every thing of class 4, 5, 6, 8, 7 or 0x14: n += 1, and m += 1 when 0x62B8E0 (+0x218) is nonzero; n == 0 answers 0, else m × 100 / n |
| TPI-EXE:0x5B5680 decoration | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:204 | [BIN:TPI-EXE:0x5B5680 decoration] the covered cells as 0x5B8E70 counts them; then every thing of class 3 whose type's +0x600 is 3 adds 0x5DF700 (the type's +0x1C shape record: +4 × +0); |
| TPI-EXE:0x5B6D20 best kart | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:292 | [BIN:TPI-EXE:0x5B6D20 best kart] every thing of class 3 whose 0x5E3C20 is 0 (the open word +0x7C set), type +0x600 == 0 and +0x14C == 1: 0x694530(+0x30, 0, &run, 0, 0) and its second output, the |
| TPI-EXE:0x5B6FA0 best track ride | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:294 | [BIN:TPI-EXE:0x5B6FA0 best track ride] the same with +0x14C == the argument (2 from the checker) and 0x694530's result, the sections |
| TPI-EXE:0x5B7D30 worst repair | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:336 | [BIN:TPI-EXE:0x5B7D30 worst repair] Info.WhichUIType 0 only, the byte truncated |
| TPI-EXE:0x5B7D30 worst repair | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:132 | [BIN:TPI-EXE:0x5B7D30 worst repair] walks the thing list (0x649060, 0x6490A0) from 100: a class-3 thing whose type record's +0x600 (Info.WhichUIType) is 0 gives (u8)__ftol(+0x54); the first one |
| TPI-EXE:0x5B80D0 littered share | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:165 | [BIN:TPI-EXE:0x5B80D0 littered share] over the 128 × 128 cells (park +0x460 + 0x48 × (word - 1)): a = 0x67F5B0 (type 1) or 0x67F5D0 (type 3 or 9); c = the litter type +0x30 != 0; the |
| TPI-EXE:0x5B86C0 patrol marks | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:226 | [BIN:TPI-EXE:0x5B86C0 patrol marks] every cell's +0x40 = 0; then each thing of class 4, 5, 6, 8, 7 or 0x14 equal to the kind (7, the guards) whose 0x62C5C0 is true (the corner words of |
| TPI-EXE:0x5B8A70 patrolled share | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:228 | [BIN:TPI-EXE:0x5B8A70 patrolled share] mode 0 (jump table 0x5B8C68): over the 128 × 128 cells neither 0x67F590 (type 2) nor 0x67F660 (7 or 0x1E) nor 0x67F690 (always false): n += 1, and m += 1 |
| TPI-EXE:0x5B8D10 secured share | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:260 | [BIN:TPI-EXE:0x5B8D10 secured share] over the 128 × 128 cells neither type 2 nor 7 nor 0x1E: n += 1, and m += 1 when the halfword +6 of 0x5D7420(word) (the grid at park +0x1C1104 + 0x460, ten bytes a |
| TPI-EXE:0x5B8E70 covered cells | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:185 | [BIN:TPI-EXE:0x5B8E70 covered cells] over the 128 × 128 cells: 0x67F600 (type 9), 0x67F620 (10), 0x67F6B0 (4), 0x67F890 (the track record: 0x5C17B0, a record of kind 0xC or 0x11 through |
| TPI-EXE:0x5B9380 fat shop | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:150 | [BIN:TPI-EXE:0x5B9380 fat shop] walks every thing; a kind-3 thing (an attraction) whose type record has +0x218 == 1 answers true |
| TPI-EXE:0x5B9880 analyser takings | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:148 | [BIN:TPI-EXE:0x5B9880 analyser takings] the sum of the newest closed-month entry (head +0x244, or count + head once wrapped) of the analyser's rings at +0x20148 (admission, 0x5C0E10), +0x20398 (shops), |
| TPI-EXE:0x5BB870 ring serializer | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncArrivalRing.cs:13 | [BIN:TPI-EXE:0x5BB870 ring serializer] ring5 follows the variable-count recent-stays ring: head, count, raw wrapped byte, scratch word, then count signed words |
| TPI-EXE:0x5BCB10 arrival update | source/OpenTPW/World/Level.Objects.cs:291 | [BIN:TPI-EXE:0x5BCB10 arrival update] Theme Park Inc's native guests arrive and leave by the bus, the heli and the mono (the features bus, heli and mono, guest-states-p0.md §3) |
| TPI-EXE:0x5BCB81 arrival append | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncArrivalRing.cs:14 | [BIN:TPI-EXE:0x5BCB81 arrival append] the group size is stored unchanged after advancing/wrapping the index; 0x5BCE92/0x5BCEE4 can produce a negative remainder |
| TPI-EXE:0x5BCD7A mode exit | source/OpenTPW/World/Guests/GuestSimulation.cs:1053 | [BIN:TPI-EXE:0x5BCD7A mode exit] the theme object (0xA06558, +0x14) answering 3, the Intro World, gives no group (IntroWorld, above); -1 becomes 3 at start-up (0x6A32D7), the default when no theme was chosen |
| TPI-EXE:0x5BCD7F mode exit | source/OpenTPW/World/Guests/GuestSimulation.cs:1037 | [BIN:TPI-EXE:0x5BCD7F mode exit] Theme Park Inc's group routine answers 0 when the theme object 0xA06558 holds 3, the Intro World (the startup dialog's theme radio group: Arabian 0, Science 1, Water 2, Intro World 3, set by 0x498940..0x4989CA; the level directory wIntro); OpenTPW's front end does not run that world |
| TPI-EXE:0x5BCDDE arrival weather | source/OpenTPW/World/Level.cs:671 | [BIN:TPI-EXE:0x5BCDDE arrival weather] Theme Park Inc's arrival group reads the weather thing's state word (+0x70), the running spell's kind (ThemeParkIncWeatherSpells); Theme Park World's park weather has no such state |
| TPI-EXE:0x5BCF90 arrival guest | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncArrivals.cs:12 | [BIN:TPI-EXE:0x5BCF90 arrival guest] kind = 0x6508F0 (0 bus, 1 heli, 2 mono, -1 none: the slot of the vehicle at work), cell = 0x5D79F0(kind), the allocation 0x638120(0x2F0) and the constructor |
| TPI-EXE:0x5BD7B0 ambient list constructor | source/OpenTPW/Economy/ThemeParkIncSession.cs:34 | [BIN:TPI-EXE:0x5BD7B0 ambient list constructor] the list head +0x11C is 0: the writer's count is 0 |
| TPI-EXE:0x5C0740 bank balance | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:182 | [BIN:TPI-EXE:0x5C0740 bank balance] returns the bank's +0x14, the balance as a 32-bit word |
| TPI-EXE:0x5C07B0 bank debit | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:157 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x5C07B0 bank debit] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x74D740 researched object] [BIN:TPI-EXE:0x61DE15 level append] |
| TPI-EXE:0x5C07B0 bank debit | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncResearch.cs:39 | [BIN:TPI-EXE:0x5C07B0 bank debit] each advance debits its points' cash through the bank, adding it to the analyser's money out (+0x1F808), also a debit of 0 |
| TPI-EXE:0x5C07B0 bank debit | source/OpenTPW/Economy/ParkEconomy.cs:1700 | [BIN:TPI-EXE:0x5C07B0 bank debit] balance -= amount at once; every site that debits is a purchase, an upgrade, a wage or this month message: the guest's use outcome never does |
| TPI-EXE:0x5C091F red-month notification | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:164 | [BIN:TPI-EXE:0x5C091F red-month notification] the bank's six-months-in-the-red event becomes a type-25 notification that only |
| TPI-EXE:0x5C091F red-month notification | source/OpenTPW/Economy/ParkEconomy.cs:1629 | [BIN:TPI-EXE:0x5C091F red-month notification] the bank's own handler receives the event value 2 and posts a type-25 |
| TPI-EXE:0x5C0B10 bank month before the objects | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:227 | [BIN:TPI-EXE:0x5C0B10 bank month before the objects] the month message goes to the listeners in thing-id order: the bank (9 in the prebuilt park) before every attraction (14 and up), so the bank's red-month message of |
| TPI-EXE:0x5C0B10 bank month before the objects | source/OpenTPW/Economy/ParkEconomy.cs:1566 | [BIN:TPI-EXE:0x5C0B10 bank month before the objects] Theme Park Inc's objects debit after the bank's whole month handler (below): the month message goes to the listeners in thing-id order and the bank's id (9 in the prebuilt park) lies below every attraction's (14 and up) |
| TPI-EXE:0x5C0C99 bankruptcy | source/OpenTPW.Tests/ParkEconomyTests.cs:388 | [BIN:TPI-EXE:0x5C0C99 bankruptcy] six months in the red build CMsgEvent(2) and broadcast it, with no state write of the bank's own; |
| TPI-EXE:0x5C0C99 bankruptcy | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:141 | [BIN:TPI-EXE:0x5C0C99 bankruptcy] the bank then builds CMsgEvent(2) and broadcasts it, which writes no state of its own: the lost state (4) |
| TPI-EXE:0x5C0C99 bankruptcy | source/OpenTPW/Economy/ParkEconomy.cs:1623 | [BIN:TPI-EXE:0x5C0C99 bankruptcy] Theme Park Inc's bank builds CMsgEvent(2) and broadcasts it on the global bus (0x0A09728). Value 2 is the bank's own |
| TPI-EXE:0x5C0E10 admission fee | source/OpenTPW/Economy/ParkEconomy.cs:2878 | [BIN:TPI-EXE:0x5C0E10 admission fee] the park's +0x14 and +0x12C take the fee (+0x120), the analyser's +0x1FEF8 and +0x20148 too, then 0x5AEF40; nothing tests the bank's state |
| TPI-EXE:0x5C1300 loans owed | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:185 | [BIN:TPI-EXE:0x5C1300 loans owed] the sum over the eight loan records (+0x28 stride 0x20) of (term +0x28 - repaid +0x34) × instalment +0x2C for a record whose bought word +0x30 is |
| TPI-EXE:0x5C2150 challenge time-out cancel | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:141 | [BIN:TPI-EXE:0x5C2150 challenge time-out cancel] word 4 of the sender's row is cancelled on the advisor thing (0x718990) |
| TPI-EXE:0x5C21E0 challenge record | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:65 | [BIN:TPI-EXE:0x5C21E0 challenge record] the constructor stores the 24 row fields (CheckAtEndOnly as row != 0, 0x5C777B setne), zeroes +0x5C, +0x60, +0x68..+0x88 and +0x8C |
| TPI-EXE:0x5C36D0 availability | source/OpenTPW.Tests/ThemeParkIncChallengeTests.cs:152 | [BIN:TPI-EXE:0x5C36D0 availability] (trigger && days > Min) || (Max != 0 && days > Max), then Mission <= counter, all unsigned; offer time = now + DaysDelay days |
| TPI-EXE:0x5C36D0 availability | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:444 | [BIN:TPI-EXE:0x5C36D0 availability] only while mOfferTimeSet (+0x60) is clear; ok = trigger(type) (0x5C3BB8/0x5C3C14); days = 0x608C70() / day (the park age, ThemeParkIncStaff.GameDay), |
| TPI-EXE:0x5C3727 hot-dog trigger | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:462 | [BIN:TPI-EXE:0x5C3727 hot-dog trigger] type 2: 0x5B9380(), TriggerData unread; [BIN:TPI-EXE:0x5C378A entertainer trigger] type 25: 0x5B32F0(6) >= TriggerData (signed, 0x5C3917 jl); |
| TPI-EXE:0x5C378A entertainer trigger | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:462 | [BIN:TPI-EXE:0x5C3727 hot-dog trigger] type 2: 0x5B9380(), TriggerData unread; [BIN:TPI-EXE:0x5C378A entertainer trigger] type 25: 0x5B32F0(6) >= TriggerData (signed, 0x5C3917 jl); |
| TPI-EXE:0x5C3828 special ride trigger | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:148 | [BIN:TPI-EXE:0x5C3828 special ride trigger] |
| TPI-EXE:0x5C3828 special ride trigger | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:480 | [BIN:TPI-EXE:0x5C3828 special ride trigger] 0x647850(mTargetObj): a thing found takes its type record (0x43C700); +0x5C (Info.IsSpecial) above 0 (signed setg) answers 0x5E8210 (+0x12C, |
| TPI-EXE:0x5C3927 breakdown trigger | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:163 | [BIN:TPI-EXE:0x5C3927 breakdown trigger] type 46 compares the analyser's breakdown count with TriggerData (signed) |
| TPI-EXE:0x5C3927 breakdown trigger | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:465 | [BIN:TPI-EXE:0x5C3927 breakdown trigger] type 46: the park analyser's (0x64EA90) 0x5B9A50, its +0x14 (mNumBreakdownsEver, the serializer's 0x5ADDA5), >= TriggerData (signed jl) |
| TPI-EXE:0x5C39B4 staff trigger | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:463 | [BIN:TPI-EXE:0x5C39B4 staff trigger] type 41: 0x5B2F40() >= TriggerData (signed jl) |
| TPI-EXE:0x5C3C14 trigger dispatch | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:464 | [BIN:TPI-EXE:0x5C3C14 trigger dispatch] the byte table (type - 1) picks entry 9 (0x5C3828) for 17, 48, 50..53 and 55..58 and entry 0x15 (0x5C3927) for 46 of the dword table 0x5C3BB8 |
| TPI-EXE:0x5C3DB0 failure test | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:213 | [BIN:TPI-EXE:0x5C3F60 win test] [BIN:TPI-EXE:0x5C3DB0 failure test] |
| TPI-EXE:0x5C3DB0 failure test | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:126 | [BIN:TPI-EXE:0x5C3DB0 failure test] the jump table 0x5C3E90 by the byte index 0x5C3EC0 (type - 10): 48 V2 != 0 || V < TV; 50 V == 0; 52 V2 < TV2; 53, 56 V < TV || V2 < TV2; |
| TPI-EXE:0x5C3F60 win test | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:213 | [BIN:TPI-EXE:0x5C3F60 win test] [BIN:TPI-EXE:0x5C3DB0 failure test] |
| TPI-EXE:0x5C3F60 win test | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:96 | [BIN:TPI-EXE:0x5C3F60 win test] CheckAtEndOnly and not at the end: false (0x5C3F63..0x5C3F75); the debug byte 0xA9B894 (always 0 in play) answers true; the jump table 0x5C4130 by the byte |
| TPI-EXE:0x5C4250 won | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:575 | [BIN:TPI-EXE:0x5C4250 won] sound 0xC6, state 4, then the cash prize, the golden tickets, the shares, message 0x1B kind 2 and the promotion (ParkEconomy's side, IThemeParkIncChallengeHost.Won) |
| TPI-EXE:0x5C4285 cash prize | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:187 | [BIN:TPI-EXE:0x5C4285 cash prize] a CashPrize above 0 (signed) is credited by the bank (0x5C0760: the balance, the income history and the bank's +0x12C), as a paid fare is; |
| TPI-EXE:0x5C42C8 ticket prize | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:188 | [BIN:TPI-EXE:0x5C42C8 ticket prize] a GTPrize above 0 is added to the career's golden tickets (+0x1074, 0x74C890) |
| TPI-EXE:0x5C4344 share prize | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:388 | [BIN:TPI-EXE:0x5C4344 share prize] [BIN:TPI-EXE:0x5C4352 won price] |
| TPI-EXE:0x5C4344 share prize | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:193 | [BIN:TPI-EXE:0x5C4344 share prize] then the SharePrize (+0x20) through 0x621CE0, which adds it when above 0, and [BIN:TPI-EXE:0x5C4352 won price] the SharePriceEffectIfWon (+0x24) through |
| TPI-EXE:0x5C4352 won price | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:388 | [BIN:TPI-EXE:0x5C4344 share prize] [BIN:TPI-EXE:0x5C4352 won price] |
| TPI-EXE:0x5C4352 won price | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:193 | [BIN:TPI-EXE:0x5C4344 share prize] then the SharePrize (+0x20) through 0x621CE0, which adds it when above 0, and [BIN:TPI-EXE:0x5C4352 won price] the SharePriceEffectIfWon (+0x24) through |
| TPI-EXE:0x5C43AF promotion | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:189 | [BIN:TPI-EXE:0x5C43AF promotion] a PromoGiven (+0x58) above 0 (unsigned) posts message 0x25 with it (0x5C4405), which the mission controller's handler (0x5F0F50) turns into |
| TPI-EXE:0x5C4514 challenge count | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:191 | [BIN:TPI-EXE:0x5C4514 challenge count] every slot of the system empty (type 0) or won (state 4) sets the current zone record's +0xF4 (0x5C45A9); either way its +0xF0 rises by one |
| TPI-EXE:0x5C460A challenge won message | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:215 | [BIN:TPI-EXE:0x5C460A challenge won message] after the count the win posts message 0x26, which the mission controller only answers with its status broadcast |
| TPI-EXE:0x5C47D0 lost | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:582 | [BIN:TPI-EXE:0x5C47D0 lost] sound 0xAF, state 1 (0x5C4815); on the slot's first loss (mChallengeLost +0x5C is 0) the career's firing line falls by one (0x5C4857) and the share price |
| TPI-EXE:0x5C4857 firing line step | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:147 | [BIN:TPI-EXE:0x5C4857 firing line step] the first loss of a slot lowers the career's first word by one |
| TPI-EXE:0x5C4867 lost price | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:222 | [BIN:TPI-EXE:0x5C4867 lost price] the slot's first loss moves the share price by the negated SharePriceEffectIfLost (+0x28, negl at 0x5C485F) through 0x621D30, after the firing line |
| TPI-EXE:0x5C48B6 firing line post | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:219 | [BIN:TPI-EXE:0x5C48B6 firing line post] after the count the lost branch posts the lost mail (message 0x1B kind 3, 0x5C49A3) while the career's firing line is above 0 (signed jg), |
| TPI-EXE:0x5C4979 lost advice | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:233 | [BIN:TPI-EXE:0x5C4979 lost advice] after the letter (whose row builder posts 0x1A3 too, 0x6362AA), the lost branch posts 0x1A3 itself: 0x71A930(0x1A3, locate 0, 0, variant -1, bypass 0, |
| TPI-EXE:0x5C4DE3 value target | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:412 | [BIN:TPI-EXE:0x5C4DE3 value target] before the dispatch (type - 9, byte table 0x5C5334, dword table 0x5C52DC) a nonzero mTargetObj finds its first attraction thing (0x647850); the cases that read |
| TPI-EXE:0x5C4F70 strike value | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:411 | [BIN:TPI-EXE:0x5C50C6 staff happiness value] type 25 stores 0x5AFED0(&mThingInFocus) in mValue; [BIN:TPI-EXE:0x5C4F70 strike value] type 41 stores 0x634240() in mValue; |
| TPI-EXE:0x5C50C6 staff happiness value | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:411 | [BIN:TPI-EXE:0x5C50C6 staff happiness value] type 25 stores 0x5AFED0(&mThingInFocus) in mValue; [BIN:TPI-EXE:0x5C4F70 strike value] type 41 stores 0x634240() in mValue; |
| TPI-EXE:0x5C50EC worst repair value | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:175 | [BIN:TPI-EXE:0x5C50EC worst repair value] |
| TPI-EXE:0x5C50EC worst repair value | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:414 | [BIN:TPI-EXE:0x5C50EC worst repair value] type 46 stores 0x5B7D30(&mThingInFocus) in mValue; [BIN:TPI-EXE:0x5C5176 target repair value] type 52 jumps to 0x5C520C: mValue2 = (u8)__ftol(thing |
| TPI-EXE:0x5C5176 target repair value | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:179 | [BIN:TPI-EXE:0x5C5176 target repair value] the second value only; the riders count by events |
| TPI-EXE:0x5C5176 target repair value | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:414 | [BIN:TPI-EXE:0x5C50EC worst repair value] type 46 stores 0x5B7D30(&mThingInFocus) in mValue; [BIN:TPI-EXE:0x5C5176 target repair value] type 52 jumps to 0x5C520C: mValue2 = (u8)__ftol(thing |
| TPI-EXE:0x5C51D3 guests value | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:188 | [BIN:TPI-EXE:0x5C51D3 guests value] |
| TPI-EXE:0x5C51D3 guests value | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:415 | +0x54); [BIN:TPI-EXE:0x5C51D3 guests value] type 58 stores 0x5B2060(4) in mValue2 |
| TPI-EXE:0x5C52C3 no poll | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:193 | [BIN:TPI-EXE:0x5C52C3 no poll] type 17 polls nothing |
| TPI-EXE:0x5C52C3 no poll | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:416 | [BIN:TPI-EXE:0x5C52C3 no poll] a type without a case (2, 17 and others) logs "Case missing from UpdateCurrentValue??" and leaves the values alone; 57's case is the epilogue (0x5C52D2) |
| TPI-EXE:0x5C54E0 days left | source/OpenTPW.Tests/ThemeParkIncChallengeTests.cs:322 | [BIN:TPI-EXE:0x5C54E0 days left] the signed quotient stays negative and nonzero, so the final-day branch is never taken again |
| TPI-EXE:0x5C54E0 days left | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:299 | [BIN:TPI-EXE:0x5C54E0 days left] 0x7D8E30 subtracts the clock from mFinishTIme (+0x80), __alldiv 0x871A30 divides by the day and the caller tests eax, the quotient's low dword |
| TPI-EXE:0x5C5680 timed phase | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:567 | [BIN:TPI-EXE:0x5C5680 timed phase] posts message 0x1B kind 1; state 3, +0x8E = 0, +0x78 = clock, mFinishTIme = clock + TargetTime × day; type 42 closes its shops; sound 0xC6; mValue and |
| TPI-EXE:0x5C63E0 challenge title | source/OpenTPW/UI/Original/UiText.cs:92 | [BIN:TPI-EXE:0x5C63E0 challenge title] the slot's title text is the string lookup 0x8934A0 of table [0xA0D65C] at the slot's mScriptIndex (+0x50); that table is mChallengeTitles, |
| TPI-EXE:0x5C7400 challenge system | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:249 | [BIN:TPI-EXE:0x5C7400 challenge system] a world thing (kind 0x13) that loads its slots at construction (0x5C74C5 -> 0x5C7630), starts with mNextChallengeDelayTime 0 and the switch off |
| TPI-EXE:0x5C75C0 follow-up filter | source/OpenTPW.Tests/ThemeParkIncChallengeTests.cs:84 | [BIN:TPI-EXE:0x5C75C0 follow-up filter] a slot with a follow-up type stays only while another occupied slot has that type, slot by slot in order |
| TPI-EXE:0x5C75C0 follow-up filter | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:306 | not a type) is built by 0x5C21E0 and copied whole into the first slot whose mType is 0 (0x5C77A5, rep movsl 0x5C77C9); [BIN:TPI-EXE:0x5C75C0 follow-up filter] then each slot in turn |
| TPI-EXE:0x5C7630 load slots | source/OpenTPW.Tests/ThemeParkIncChallengeTests.cs:72 | [BIN:TPI-EXE:0x5C7630 load slots] the level list holds row numbers; a value of 0 or less is skipped, each row lands in the first slot whose type is 0 |
| TPI-EXE:0x5C7630 load slots | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:305 | [BIN:TPI-EXE:0x5C7630 load slots] mType = 0 in every slot (0x5C765C..0x5C766F); for each level entry n (0x5C76BD) n <= 0 (signed jle) is skipped, else row Challenges[n] (a row number, |
| TPI-EXE:0x5C768A challenge rows | source/OpenTPW/Economy/BalanceSettings.cs:368 | [BIN:TPI-EXE:0x5C768A challenge rows] the challenge system parses data/challenges.sam itself when it loads its slots |
| TPI-EXE:0x5C768A challenge rows | source/OpenTPW/Economy/ThemeParkIncChallengeSettings.cs:30 | [BIN:TPI-EXE:0x5C768A challenge rows] the stack parser's schema (0x98E878) ends in the array record at 0x98EE90 with count 0x3C |
| TPI-EXE:0x5C76BD level challenge rows | source/OpenTPW/Economy/ThemeParkIncChallengeSettings.cs:34 | [BIN:TPI-EXE:0x5C76BD level challenge rows] the loop compares its pointer with 0xA0293C, ten entries past 0xA02914 |
| TPI-EXE:0x5C76BD level challenge rows | source/OpenTPW/Economy/ThemeParkIncChallengeSettings.cs:73 | [BIN:TPI-EXE:0x5C76BD level challenge rows] the loader has no range check on the row number: a number past the parsed rows would read the parser's memory beyond them, |
| TPI-EXE:0x5C76C8 challenge row | source/OpenTPW/Economy/ThemeParkIncChallengeSettings.cs:7 | [BIN:TPI-EXE:0x5C76C8 challenge row] the loader passes the row's fields to the record constructor 0x5C21E0 in schema order (records 0x98E8B4..0x98EE54) |
| TPI-EXE:0x5C7930 challenge update | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:345 | [BIN:TPI-EXE:0x5C7930 challenge update] the mode word [0xC65B80] must be 0 (single player; OpenTPW's slice has no other mode); with the switch off it latches when the park is open (0x5B1D30) |
| TPI-EXE:0x5C7967 mission gate | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:144 | [BIN:TPI-EXE:0x5C7967 mission gate] the switch and the availability read the career's +0x105C (ThemeParkIncCareer.MissionCounter) |
| TPI-EXE:0x5C79E2 grace slot | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:372 | [BIN:TPI-EXE:0x5C79E2 grace slot] state 2: UpdateCurrentValue (0x5C4DD0), days left 0 starts the timed phase (0x5C5680), and then a closed park loses it (0x5C7A08..0x5C7A34); no win or failure test |
| TPI-EXE:0x5C7A50 running slot | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:373 | [BIN:TPI-EXE:0x5C7A50 running slot] state 3: UpdateCurrentValue, then with no day left the warning byte is cleared, 0x5C73D0 (type 42's shop reopening) and 0x5C2150 (the sender's advice |
| TPI-EXE:0x5C8140 offer | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:492 | [BIN:TPI-EXE:0x5C8140 offer] returns while any slot is in state 2 or 3 or the clock is before +0x5B8 (0x7D8ED0, unsigned strict); picks the lowest index with mType != 0, state 0, mOfferTimeSet |
| TPI-EXE:0x5C84C0 accept | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:545 | [BIN:TPI-EXE:0x5C84C0 accept] the sender's advice is cancelled (ParkEconomy.AcceptThemeParkIncChallenge, SenderAdvice) and sound 0xC6 plays (presentation); mValue = mValue2 = 0 (0x5C8520, 0x5C852A); the challenge mails of kind 0x91 are marked; |
| TPI-EXE:0x5C84EB accept cancel | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:60 | [BIN:TPI-EXE:0x5C84EB accept cancel] the accept first cancels the sender's advice (row 0x9CD000 + 36·sender, word 1) on the advisor thing (0x718990) |
| TPI-EXE:0x5C8940 challenge event | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:599 | [BIN:TPI-EXE:0x5C8940 challenge event] per slot: state 3 or 2, mType == type, then mTargetObj == obj (cmpw) or obj == 0 (testw); toV2 adds to +0x74, else +0x70 |
| TPI-EXE:0x5C8B70 challenge 42 | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:176 | [BIN:TPI-EXE:0x5C8B70 challenge 42] a running challenge of type 42 while the type's UsageInfo.SpecialIngredient (+0x218) is 1 fails the guard; challenge 46 does not hold a shop |
| TPI-EXE:0x5C8BE0 challenge 46 | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:197 | [BIN:TPI-EXE:0x5C8BE0 challenge 46] a running challenge of type 46 while the type's Info.WhichUIType (+0x70) is 0 skips the close at 0x5E2D34 |
| TPI-EXE:0x5CCFF0 tag sender | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:55 | [BIN:TPI-EXE:0x5CCFF0 tag sender] the builder looks the record's +0x1C (0xAE) up among the sender rows' name and title entries: row key 1's title, so the sender row is key 1 and the picture 1 |
| TPI-EXE:0x5CD060 letter acceptance | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:9 | [BIN:TPI-EXE:0x5CD060 letter acceptance] the tag system opens the letter window at once only for a letter whose +4 is 6, 7 or 8; this one (4) is filed as a row of the tag tube (0x636880), |
| TPI-EXE:0x5CD0D0 letter sender | source/OpenTPW/Economy/ThemeParkIncAdviceMail.cs:25 | [BIN:TPI-EXE:0x5CD0D0 letter sender] the sender row the notification constructor picks (row key 1 of the table at 0x9CD6D8): its |
| TPI-EXE:0x5CD14D letter addressee | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:206 | [BIN:TPI-EXE:0x5CD14D letter addressee] the To field is the player's name (the object at 0xAA0128) |
| TPI-EXE:0x5CD1C0 letter signature | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:31 | [BIN:TPI-EXE:0x5CD1C0 letter signature] after the body: a newline, the sender's name, a newline and the sender's title (the separator 0x9BEF94 is "\n") |
| TPI-EXE:0x5CD1C0 letter signature | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:31 | [BIN:TPI-EXE:0x5CD1C0 letter signature] a newline, the sender's name, a newline and the sender's title after the body |
| TPI-EXE:0x5CD290 signature | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:368 | [BIN:TPI-EXE:0x5CD290 signature] the sender row 0x5CD630(1): "\n", TAG_SYSTEM[+4] (173), "\n", TAG_SYSTEM[+8] (174), as the letter's 0x5CD1C0 |
| TPI-EXE:0x5CD3A0 notification row fill | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:67 | [BIN:TPI-EXE:0x5CD3A0 notification row fill] +0 = 0x8A, +4 = 0x97, +0xE04 = 0, +0xE10 = 0, +0xE14 = 0, +0xE18 = 0; the letter's +0x10 is 2 (0x5CEE93), the category; the picture is the |
| TPI-EXE:0x5CD460 sender picture | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:86 | [BIN:TPI-EXE:0x5CD460 sender picture] the first sender row whose name (+4) or title (+8) is the entry: {8, 0xC0, 0xC0, 8} |
| TPI-EXE:0x5CD780 tag letter texts | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:33 | [BIN:TPI-EXE:0x5CD780 tag letter texts] subject TAG_SYSTEM[record +0x20] (0x5CD780), sender TAG_SYSTEM[record +0x1C] (0x5CD7C0), addressee 0x5CD110 (+0xC = 1: the player's name), body |
| TPI-EXE:0x5CD840 tag row fill | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:53 | [BIN:TPI-EXE:0x5CD840 tag row fill] +0 = the letter's tag (+0x1C, 0x5C), +4 = the tag record's +4 (0x97), +0xE04 = its +0x14 word (0), +0xE10 = its +0xC (0), +0xE14 = 0; the tag record |
| TPI-EXE:0x5CEAE0 objective letter | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:7 | [BIN:TPI-EXE:0x5CEAE0 objective letter] a 0x28-byte object, vtable 0x93DF80: +4 = 4, +0xC = 1 (the addressee is the player), +0x10 = 0, +0x14 = +0x1C = 0x97, +0x18 = 1, the sender row of key 1 |
| TPI-EXE:0x5CEBB0 objective subject | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:14 | [BIN:TPI-EXE:0x5CEBB0 objective subject] TAG_SYSTEM 0xA8 |
| TPI-EXE:0x5CEC30 objective go-to | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:166 | [BIN:TPI-EXE:0x5CEC30 objective go-to] by +0x24: 0 (2, 0x6A7), 1 (0xC), 2 (0x12, 2), 3 (0x12, 1), 4 (0x12, 0), 5 (2, 0xE75), 6 (0xB), 7 (0x12, 1), 8 (2, 0x6A6), 9 (0xB), 10 (0x12, 2), |
| TPI-EXE:0x5CEC30 objective row fill | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:34 | [BIN:TPI-EXE:0x5CEC30 objective row fill] +0 = 0x8A, +4 = 0x97, +0xE04 = 0, then by the letter's +0x24 the go-to kind +0xE10 and argument +0xE18 (kinds 0xB and 0xC leave +0xE18 at the |
| TPI-EXE:0x5CEF20 letter subject | source/OpenTPW/Economy/ThemeParkIncAdviceMail.cs:21 | <summary>[BIN:TPI-EXE:0x5CEF20 letter subject] <c>TAG_SYSTEM.str</c> entry 165, "Game Over - You Lose!", for every notification letter.</summary> |
| TPI-EXE:0x5CEF20 notification texts | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:53 | [BIN:TPI-EXE:0x5CEF20 notification texts] subject TAG_SYSTEM 165, sender TAG_SYSTEM[sender +4] (173), the player, the body (0x5CEF60) and the signature 0x5CD1C0 |
| TPI-EXE:0x5CEFDC wage demand sender | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:91 | [BIN:TPI-EXE:0x5CEFDC wage demand sender] the constructor looks for the row whose key is 5 (0x9CD728 first, then the table from 0x9CD6D8 in 16-byte steps) and keeps it at +8: {5, 0xB7, 0xB8, 5} |
| TPI-EXE:0x5CF050 wage demand subject | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:66 | [BIN:TPI-EXE:0x5CF050 wage demand subject] kinds 0xA and 0xB: TAG_SYSTEM 0xFB; [BIN:TPI-EXE:0x5CF0F1 wage demand body] 0xFC (0xA) or 0xFD (0xB) with the member's name (0x62B600, parameter 8) and the |
| TPI-EXE:0x5CF069 training subject | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:79 | [BIN:TPI-EXE:0x5CF069 training subject] 0xC: 0x4E ("Training Completed"), 0xD: 0x50 ("Training Suspended"); [BIN:TPI-EXE:0x5CF1E0 training body] ABILITIES.str (0xA0D648) at +0x28 as parameter 2 and the |
| TPI-EXE:0x5CF0F1 wage demand body | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:66 | [BIN:TPI-EXE:0x5CF050 wage demand subject] kinds 0xA and 0xB: TAG_SYSTEM 0xFB; [BIN:TPI-EXE:0x5CF0F1 wage demand body] 0xFC (0xA) or 0xFD (0xB) with the member's name (0x62B600, parameter 8) and the |
| TPI-EXE:0x5CF1E0 training body | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:79 | [BIN:TPI-EXE:0x5CF069 training subject] 0xC: 0x4E ("Training Completed"), 0xD: 0x50 ("Training Suspended"); [BIN:TPI-EXE:0x5CF1E0 training body] ABILITIES.str (0xA0D648) at +0x28 as parameter 2 and the |
| TPI-EXE:0x5CF3F0 wage demand row fill | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:98 | [BIN:TPI-EXE:0x5CF3F0 wage demand row fill] +0xE14 = the member's handle (0x6375C0 on +0x24); kinds 0xA and 0xB: +0xE10 = 0xE, +0 = 0x90, +4 = 0x97, the letter's +0x10 = 2, +0xE18 = the demand (+0x28); |
| TPI-EXE:0x5CF44F training row fill | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:122 | [BIN:TPI-EXE:0x5CF44F training row fill] +0xE14 = the handle; kind 0xC: +0xE10 = 5, +0 = 0x8E; kind 0xD (0x5CF461): +0xE10 = 5, +0 = 0x8F; +4 = 0x97, the letter's +0x10 = 0 (the category); +0xE18 stays |
| TPI-EXE:0x5D0090 cutscene thing | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:33 | [BIN:TPI-EXE:0x5D0090 cutscene thing] the thing base 0x637100(1, 0x16); the park factory builds it after the challenge system and before the mission controller (0x64860F) and keeps its id at park+0x1EAB72; |
| TPI-EXE:0x5D0160 cutscene load | source/OpenTPW/Economy/ParkSaveFile.cs:1490 | [BIN:TPI-EXE:0x5D0160 cutscene load] the saved thing of a flight; a Theme Park Inc save from before the flight was refused (ValidateEdition) |
| TPI-EXE:0x5D0160 cutscene save | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:254 | [BIN:TPI-EXE:0x5D0160 cutscene save] versions 0 and 1: the thing base and the u16 0xA9D230; the park loader clears 0xA9D230 before reading it (0x64D63C); +0x24, +0x28 and the speed word are not saved |
| TPI-EXE:0x5D0290 skip | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:133 | [BIN:TPI-EXE:0x5D0290 skip] 0xA9D255 set: 0xA9D254 = 1; reached from the input window's procedure 0x5D03B0 (message 0x1000A with key 0x1B), the window procedure's WM_RBUTTONUP (0x4D0A38, jump table 0x4D1110) |
| TPI-EXE:0x5D02C0 forced skip | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:142 | [BIN:TPI-EXE:0x5D02C0 forced skip] [0xA9D230] != 0: 0xA9D254 = 1; called by the intro object 0xA5EB30 (0x542E00, 0x5435EF) |
| TPI-EXE:0x5D02F0 cutscene update | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:153 | [BIN:TPI-EXE:0x5D02F0 cutscene update] [0xA9D230] != 0: inst = 0x6B0740(thing+0x2C); 0x6B0C90(inst, 1) == 1 sets 0xA9D254; 0xA9D254 set: the end 0x5D0840(inst); then [0xA9D258] != 0: ++, and at 3 it is 0 again |
| TPI-EXE:0x5D0369 flight window countdown | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:20 | [BIN:TPI-EXE:0x5D0369 flight window countdown] 0xA9D258 counts 1, 2, 3 on the flight updates after a mode-2 end, then 0xA61810 is built (0x55A7F0) |
| TPI-EXE:0x5D03B0 flight input | source/OpenTPW/Client/ThemeParkIncHud.Flight.cs:14 | [BIN:TPI-EXE:0x5D03B0 flight input] the input window 0x84BE91(1, 1, 0xB71B07, 0, 0, 0x7FF, 0x5FF) covers the whole screen; its procedure takes message 0x1000A with key 0x1B (Escape) to 0x5D0290 when skippable and |
| TPI-EXE:0x5D0400 cutscene play | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:94 | [BIN:TPI-EXE:0x5D0400 cutscene play] [0xA9D230] != 0: logs "Attempt to play anim when one is already playing! Haroogha Haroogha" and returns false; else 0xA9D255 = 0xA9D254 = 0 and 0xA9D258 = 0, the cursor |
| TPI-EXE:0x5D053C flight clock | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:149 | [BIN:TPI-EXE:0x5D053C flight clock] a camera flight sets the park clock's rate to its mode's (1.0, 0.7 in mode 1) until its end restores the speed word's rate; 0x41C000 writes the rate (+0x20) |
| TPI-EXE:0x5D053C flight clock | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:48 | [BIN:TPI-EXE:0x5D053C flight clock] the flight sets the park clock's rate to its mode's until its end restores the speed word's rate |
| TPI-EXE:0x5D0770 animation word | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:68 | [BIN:TPI-EXE:0x71BDC0 class check] [BIN:TPI-EXE:0x5D0770 animation word] the cutscene's 0xA9D230 and its +0x24 (ThemeParkIncCutscene.AnimThing, Mode); the mode word 0xC65B80 is 0 in the |
| TPI-EXE:0x5D0840 cutscene end | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:174 | [BIN:TPI-EXE:0x5D0840 cutscene end] the HUD control 0x40 restored from +0x2C; the saved speed word (0xA9D256, when not 0) clamped to 10..400 into 0xA10210 and the rate to word × 0.0125 (0x93A23C), 0xA9D256 = 0; |
| TPI-EXE:0x5D0A03 zone switch | source/OpenTPW.Tests/ThemeParkIncFlightInputTests.cs:103 | [BIN:TPI-EXE:0x5D0A03 zone switch] the end of a flight of a thing of type 0x6D6 (1750) in the viewed zone 1 (Science) calls 0x6A26B0(2, 0) |
| TPI-EXE:0x5D1080 sprite requests | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:258 | [BIN:TPI-EXE:0x60B541 walk request] a step still walking asks for the walk 1; [BIN:TPI-EXE:0x5D1080 sprite requests] the pre-update applies the pending template |
| TPI-EXE:0x5D1080 sprite requests | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:531 | [BIN:TPI-EXE:0x5D1080 sprite requests] 0x60BC90 then applies the wrapper's pending template (+0xC, through the table 0x9CDA94, 0x4E49A0) and interval (+0x10, 0x4E42B0), clearing each, as tp.exe's |
| TPI-EXE:0x5D10F0 sprite interval | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:46 | [BIN:TPI-EXE:0x5D10F0 sprite interval] fld 0x93E11C (62.0), fdiv the speed, _ftol 0x86FAB0; negative stores 0, above 0xFA (unsigned) stores 0xFA, into the sprite wrapper's +0x10 |
| TPI-EXE:0x5D1380 entertainer constructor | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:321 | [BIN:TPI-EXE:0x5D1380 entertainer constructor] 0x626190 (kind 6), +0x5D0 = 0 and the list's head (0x64F050), category 8 and the variant on the sprite source (0x5D1000(3, 8, variant)), 0x62C970(0) (the |
| TPI-EXE:0x5D1380 entertainer list | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:298 | [BIN:TPI-EXE:0x5D1380 entertainer list] the constructor puts the entertainer at the head of the list world +0x1EAB82 (0x64F050, next +0x5D0) at his drop, which is when ThemeParkIncStaff.EndHire puts |
| TPI-EXE:0x5D13E7 entertainer sprite | source/OpenTPW.Tests/ThemeParkIncPerformerTests.cs:115 | [BIN:TPI-EXE:0x5D13E7 entertainer sprite] category 8: esprites.wad's Science\Entertainers (Spr_bu, Spr_sp); the guard's category 0xB is Generic\Guards (Spr_gu) |
| TPI-EXE:0x5D13E7 entertainer sprite | source/OpenTPW/World/Staff/StaffSprites.cs:120 | [BIN:TPI-EXE:0x5D13E7 entertainer sprite] the entertainer's constructor 0x5D1380 sets +0x34 = 8 and makes its source with the category 8 and its variant byte (0x5D1000(3, 8, variant)); the |
| TPI-EXE:0x5D1446 entertainer effect | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:60 | [BIN:TPI-EXE:0x5D1446 entertainer effect] 0x5D7500(row 0, the cell word of the bytes +5 and +7, 0x62C900's radius); the guard's 0x5D32AE the same with row 3. The person constructor set +0xE4 to the cell |
| TPI-EXE:0x5D1850 entertainer destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:85 | [BIN:TPI-EXE:0x5D1850 entertainer destroy] 0x64F0A0, radius = 0x62C900(0, MaxExperience, +0x210, MinActiveRange, MaxActiveRange), 0x5D7530(row 0, 0x609E20's stored word +0xE4, radius); 0x609130. |
| TPI-EXE:0x5D1960 entertainer pre-update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:74 | [BIN:TPI-EXE:0x5D1960 entertainer pre-update] 0x609E20 returns +0xE4 and stores the cell word of +5, +7; unequal: radius = 0x62C900(0, MaxExperience, +0x210, 0xA022EC, 0xA022F0), 0x5D7530(row 0, the old |
| TPI-EXE:0x5D1988 effect radius | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:47 | [BIN:TPI-EXE:0x5D1988 effect radius] Entertainer.MinActiveRange and MaxActiveRange (0xA022EC, 0xA022F0); the guard's 0x5D3B68 takes Guard.MinDetectionRange and MaxDetectionRange (0xA02314, 0xA02318) |
| TPI-EXE:0x5D1A30 entertainer search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:162 | [BIN:TPI-EXE:0x5D1A30 entertainer search] 0x62BBA0 nonzero returns; tired (0x62B3B0, "Too tired to entertain") skips the performance; else the radius 0x62C900(0, MaxExperience, +0x210, 0xA022F0, |
| TPI-EXE:0x5D1D30 entertainer setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:207 | [BIN:TPI-EXE:0x5D1D30 entertainer setter] n = 0x690330(+0x34, +0x30) (the bank's word +0x20C, the performance count), the theme record's +0x64 (0x42A3B0, 0x74F4B0), a world draw R (0x6493E0, before |
| TPI-EXE:0x5D1D83 performance template | source/OpenTPW.Tests/ThemeParkIncPerformerTests.cs:150 | [BIN:TPI-EXE:0x5D1D83 performance template] R % n == 0: 0x13 unless the theme index and the variant are both 0 (0x14); else 0x15 for theme 2 with variant 1, 0x16 for the rest |
| TPI-EXE:0x5D1E20 entertainer dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:365 | [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] the byte table 0x5D1F70 (00 01 02 03 ...) sends 2 to 0x5D1F05 -> 0x629EF0 and 3 to 0x5D1F11 -> 0x62A1C0, and 0x23 (above 0x17) to the common |
| TPI-EXE:0x5D1E20 entertainer dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:423 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] [BIN:TPI-EXE:0x5D2A60 gardener dispatch] [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] [BIN:TPI-EXE:0x5D3C60 guard dispatch] 0x23 lies above every |
| TPI-EXE:0x5D1E20 entertainer dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:104 | [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] states 0..0x17 by the byte table 0x5D1F70 (00 01 02 03, then 05 for 4..0x16, 04 for 0x17) and the jump table 0x5D1F58: 0 0x5D1F1D, 1 0x5D1EC7, |
| TPI-EXE:0x5D1E20 entertainer rest states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:137 | [BIN:TPI-EXE:0x5D1E20 entertainer rest states] the byte table 0x5D1F70 sends 2 to the jump-table entry 2 (0x5D1F05 -> 0x629EF0) and 3 to entry 3 (0x5D1F11 -> 0x62A1C0), the handyman's |
| TPI-EXE:0x5D1E44 performing | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:128 | [BIN:TPI-EXE:0x5D1E44 performing] the working step 0x62B4D0 and the work duration 0x62E4C0 (Entertainer.MinWorkDuration and MaxWorkDuration); a turn at most +0x5D4 + the duration (unsigned, |
| TPI-EXE:0x5D1EC7 state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:119 | [BIN:TPI-EXE:0x5D1EC7 state 1] a world draw whose low nibble 0 plays the walking voice 0xA4; the walk step 0x60B440: arrived (0) or stuck (2) searches (0x5D1A30), walking takes the |
| TPI-EXE:0x5D1F1D state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:112 | [BIN:TPI-EXE:0x5D1F1D state 0] a world draw whose low nibble 0 plays the idle voice 0xA5 (0x60BE90); then the idle end 0x62CA10: the turn above +0x23C less the idle term (unsigned) looks |
| TPI-EXE:0x5D2230 gardener constructor | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:176 | [BIN:TPI-EXE:0x5D2230 gardener constructor] the search runs at the drop; [BIN:TPI-EXE:0x5D28C0 gardener search] the chooser's plant asks for maintenance and he sets off (0x1F) |
| TPI-EXE:0x5D228C gardener sprite | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:122 | [BIN:TPI-EXE:0x5D228C gardener sprite] category 0x12: esprites.wad's Generic\Gardeners (Spr_gd) |
| TPI-EXE:0x5D228C gardener sprite | source/OpenTPW/World/Staff/StaffSprites.cs:100 | [BIN:TPI-EXE:0x5D228C gardener sprite] the gardener's constructor 0x5D2230 sets +0x34 = 0x12 and makes its source with the category 0x12 and its variant byte (0x5D1000(3, 0x12, variant)); the |
| TPI-EXE:0x5D22A3 gardener start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:374 | [BIN:TPI-EXE:0x5D22A3 gardener start] +0x5D0 = 0 and the gardener list's head (0x64F510), +0x5D8 and +0x5D4 = 0, template 3 on the sprite source (0x5D1000 with the category 0x12), the removal |
| TPI-EXE:0x5D2430 gardener destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:83 | [BIN:TPI-EXE:0x5D9D60 mechanic destroy] 0x64EF70, +0x5D8 set: 0x5E37B0 on the ride (its claimant +0x72 nonzero gets 0x628180(0), then +0x72 = 0 and +0x74 = 0); 0x609130. [BIN:TPI-EXE:0x5D2430 gardener destroy] the same with 0x64F560 and the plant |
| TPI-EXE:0x5D2480 gardener message | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:281 | [BIN:TPI-EXE:0x5D2480 gardener message] message 10 for his +0x5D8: "plant I was watering was deleted", +0x5D8 = 0, state 0 |
| TPI-EXE:0x5D2480 gardener message | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:316 | [BIN:TPI-EXE:0x5D2480 gardener message] message 10 whose object word (+8) is his +0x5D8: "Gardener: plant I was watering was deleted", +0x5D8 = 0, template 3 in the state 0x20 (0x5D0F90), then |
| TPI-EXE:0x5D2820 gardener pre-update | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:295 | [BIN:TPI-EXE:0x5D2820 gardener pre-update] p = trunc((1 - exp / MaxExperience) × 50): the search runs from state 0 on turns that p divides |
| TPI-EXE:0x5D2820 gardener pre-update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:28 | [BIN:TPI-EXE:0x5D2820 gardener pre-update] 0x628050; p = ftol((1.0 - exp / MaxExperience) * 50.0f) (fildll of the unsigned experience, fidivl 0xA02260, fsubrl 0x93B858, fmuls 0x93B89C); p 0 or the |
| TPI-EXE:0x5D28C0 gardener search | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:176 | [BIN:TPI-EXE:0x5D2230 gardener constructor] the search runs at the drop; [BIN:TPI-EXE:0x5D28C0 gardener search] the chooser's plant asks for maintenance and he sets off (0x1F) |
| TPI-EXE:0x5D28C0 gardener search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:138 | [BIN:TPI-EXE:0x5D28C0 gardener search] 0x62BBA0 nonzero returns; tired (0x62B3B0, "Too tired to water plants") goes to the tail; +0x5D8 = the chooser 0x5D2DC0 whatever it answers; 0 goes to the |
| TPI-EXE:0x5D29D0 gardener state hook | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:213 | [BIN:TPI-EXE:0x5D29D0 gardener state hook] 0x1F: 0x60B3F0(1) (+0xD6 = 25), template 0xF (0x5D0F90), the state; 0x20: +0x5D4 = the world turn, template 0x19, the state; any other the common |
| TPI-EXE:0x5D2A60 gardener dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:311 | [BIN:TPI-EXE:0x5D2A60 gardener dispatch] the byte table 0x5D2B68 (00 01 02 03 ...) sends 2 to 0x629EF0 and 3 to 0x62A1C0, and 0x23 (above 0x20) to the common handler 0x6287A0, whose |
| TPI-EXE:0x5D2A60 gardener dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:423 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] [BIN:TPI-EXE:0x5D2A60 gardener dispatch] [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] [BIN:TPI-EXE:0x5D3C60 guard dispatch] 0x23 lies above every |
| TPI-EXE:0x5D2A60 gardener dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:40 | [BIN:TPI-EXE:0x5D2A60 gardener dispatch] states 0..0x20 by the byte table 0x5D2B68 (00 01 02 03, then 06 for 4..0x1E, 04 and 05) and the jump table 0x5D2B4C: 0 the idle end 0x62CA10, 1 0x5D2A81, |
| TPI-EXE:0x5D2A60 gardener rest states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:73 | [BIN:TPI-EXE:0x5D2A60 gardener rest states] the byte table 0x5D2B68 sends 2 to the jump-table entry 2 (0x5D2B26 -> 0x629EF0) and 3 to entry 3 (0x5D2B2F -> 0x62A1C0), the handyman's |
| TPI-EXE:0x5D2A81 state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:53 | [BIN:TPI-EXE:0x5D2A81 state 1] a world draw (0x6493E0) whose low nibble 0 plays the walking voice 0xA0 (0x60BE90); the walk step 0x60B440: arrived (0) or stuck (2) searches, still |
| TPI-EXE:0x5D2ACE watering | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:118 | [BIN:TPI-EXE:0x5D2ACE watering] the working step 0x62B4D0, the facing 0x609E60 (presentation), the work duration 0x62E4C0 (kind 0x14: Gardener.MinWorkDuration and MaxWorkDuration, 0xA022D0 and |
| TPI-EXE:0x5D2B38 state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:48 | [BIN:TPI-EXE:0x5D2B38 state 0] the idle end 0x62CA10 alone: no voice draw. The turn above +0x23C less the idle term (unsigned) looks for work (0x62D810, kind 0x14: the search 0x5D28C0) |
| TPI-EXE:0x5D2C70 to the plant | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:97 | [BIN:TPI-EXE:0x5D2C70 to the plant] the walk step 0x60B440 first: 1 asks for the thought 0x1D (0x638960, presentation) and returns, 2 sets 0 (0x628180(0), +0x5D8 kept); 0: the claimant |
| TPI-EXE:0x5D2DC0 plant chooser | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:203 | [BIN:TPI-EXE:0x5D2DC0 plant chooser] a dry plant within the detection range (3 at no experience: d below 9); a requested one at any distance nearer than the best, unless it burns |
| TPI-EXE:0x5D2DC0 plant chooser | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:165 | [BIN:TPI-EXE:0x5D2DC0 plant chooser] the head word world +0x1EAB88, each thing's next +0x14; a thing with +0x43 bit 0x10; the claimant 0x5E37F0 nonzero and (read again) not his thing id |
| TPI-EXE:0x5D2F16 dry branch | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:229 | [BIN:TPI-EXE:0x5D2F16 dry branch] the dry branch compares the distance with R × R only, not with the best: a later plant in the list (an older one) replaces a nearer earlier one |
| TPI-EXE:0x5D2F4C chooser fallback | source/OpenTPW/World/Level.Staff.cs:329 | [BIN:TPI-EXE:0x5D2F4C chooser fallback] the chooser hands the plant thing and the gardener's cell word to 0x5E9320, which reads the thing's +0x44 anchor, the type's shape and map offset and |
| TPI-EXE:0x5D3230 guard start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:323 | [BIN:TPI-EXE:0x5D3230 guard start] the list (0x64F180), category 0xB and the variant (0x6902F0(0xB): one world draw, taken in Construct, (R >> 2) mod the loaded banks; 0x5D1000), the effect with row 3, +0x5D2, +0x5D4, +0x5D8 and +0x5DC = 0, the advisor's message 0x3A |
| TPI-EXE:0x5D3253 guard variant | source/OpenTPW.Tests/ThemeParkIncPerformerTests.cs:333 | [BIN:TPI-EXE:0x5D3253 guard variant] 0x6902F0(0xB) draws the world once after the person start's base-speed draw; the entertainer's constructor keeps the candidate's byte |
| TPI-EXE:0x5D3253 guard variant | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:354 | [BIN:TPI-EXE:0x5D3253 guard variant] the guard's start ignores the byte the drop hands it and takes its own: 0x6902F0(0xB) draws the world once ((R >> 2) mod the guards' loaded banks), right after the |
| TPI-EXE:0x5D3390 guard destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:86 | [BIN:TPI-EXE:0x5D3390 guard destroy] 0x64F1D0 and row 3 with the guard's range; a guard in state 0x1C with a held guest (+0x5D2) releases him (0x614650): the chase is not ported, so no guard holds one |
| TPI-EXE:0x5D3C10 guard decision | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:276 | [BIN:TPI-EXE:0x5D3C10 guard decision] 0x62BBA0 nonzero returns; the world turn & 3 nonzero and the patrol destination 0x609F70 set 1 through the guard's setter 0x5D3E70, else 0 |
| TPI-EXE:0x5D3C60 guard dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:366 | handler 0x6287A0; [BIN:TPI-EXE:0x5D3C60 guard dispatch] the byte table 0x5D3DD8 (00 01 02 03 ...) sends 2 to 0x5D3D67 -> 0x629EF0 and 3 to 0x5D3D71 -> 0x62A1C0, and 0x23 (above 0x1E) to the |
| TPI-EXE:0x5D3C60 guard dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:423 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] [BIN:TPI-EXE:0x5D2A60 gardener dispatch] [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] [BIN:TPI-EXE:0x5D3C60 guard dispatch] 0x23 lies above every |
| TPI-EXE:0x5D3C60 guard dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:226 | [BIN:TPI-EXE:0x5D3C60 guard dispatch] states 0..0x1E by the byte table 0x5D3DD8 and the jump table 0x5D3DB4: 0 0x5D3D7B, 1 0x5D3CEF, 2 0x629EF0 and 3 0x62A1C0 (the rest area's), 0x1A the chase |
| TPI-EXE:0x5D3C60 guard rest states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:253 | [BIN:TPI-EXE:0x5D3C60 guard rest states] the byte table 0x5D3DD8 (00 01 02 03, 08 for 4..0x19 and 0x1B, 04 05 06 07 for 0x1A, 0x1C, 0x1D, 0x1E) sends 2 to the jump-table entry 2 |
| TPI-EXE:0x5D3CEF state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:239 | [BIN:TPI-EXE:0x5D3CEF state 1] a world draw whose low nibble 0 plays the patrol voice 0xA6; the walk step 0x60B440: walking takes the moving step 0x62B3E0, arrived or stuck decides (0x5D3D2B, |
| TPI-EXE:0x5D3D7B state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:233 | [BIN:TPI-EXE:0x5D3D7B state 0] a world draw whose low nibble 0 plays the idle voice 0xA7; the idle end 0x62CA10 (the decision 0x5D3C10 through 0x62D810, kind 7) |
| TPI-EXE:0x5D3F65 guard setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:287 | [BIN:TPI-EXE:0x5D3F65 guard setter] the states 1..9, 0xB..0x19 and 0x1B: 0x60B3F0(0), then 0x628180(state); state 0 (0x5D3F48): +0x5D2 = 0 then 0x628180(0). The chase, carry and first-aid states have |
| TPI-EXE:0x5D4980 handyman sprite | source/OpenTPW/World/Staff/StaffRenderer.cs:300 | [BIN:TPI-EXE:0x5D4980 handyman sprite] the handyman's source is made with the category 9 (handymen) and the variant byte +0x30 (0x5D1000 -> 0x4E4810 with the table 0x9CDA94); [EXT:tpi-twp-guest-rules] the |
| TPI-EXE:0x5D4980 handyman start | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:257 | [BIN:TPI-EXE:0x5D4980 handyman start] the source is made in template 3; [BIN:TPI-EXE:0x5D5630 handyman state setter] 0x0F queues 0xF (the patrol walk), 0x10 queues 0x19 (the sweep); |
| TPI-EXE:0x5D4980 handyman start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:342 | [BIN:TPI-EXE:0x5D4980 handyman start] +0x5D4, +0x5D8, +0x5DA, +0x5DC = 0, template 3 on the sprite source (0x5D1000), the removal message 10 subscribed, then the search 0x5D52A0 |
| TPI-EXE:0x5D4A10 handyman destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:81 | [BIN:TPI-EXE:0x5D4A10 handyman destroy] 0x64EE40 (the unlink), +0x5D8 set: 0x5D9010 on the record (+0x34 = 0, +0x38 = 0) and +0x5D8 = 0; +0x5DA and +0x5DC (the loo and the bin, never set here: |
| TPI-EXE:0x5D5000 handyman pre-update | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:295 | [BIN:TPI-EXE:0x5D5000 handyman pre-update] trunc((1 - exp / MaxExperience) * 50), [BIN:TPI-EXE:0x62CA10 idle end] the same times -50 |
| TPI-EXE:0x5D5000 handyman pre-update | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:133 | [BIN:TPI-EXE:0x5D5000 handyman pre-update] [BIN:TPI-EXE:0x62CA10 idle end] |
| TPI-EXE:0x5D5000 handyman pre-update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:541 | [BIN:TPI-EXE:0x5D5000 handyman pre-update] 0x628050; p = trunc((1.0 - exp / MaxExperience) * 50.0f) (fildll of the unsigned experience, fidivl, fsubr 0x93B858, fmuls 0x93B89C, ftol); |
| TPI-EXE:0x5D52A0 handyman search | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:211 | [BIN:TPI-EXE:0x5D52A0 handyman search] the litter four cells away is in reach (radius lerp 3..5 at half the experience gives 4): claimed with his thing id, state 0x0F, the bonus 25 |
| TPI-EXE:0x5D52A0 handyman search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:701 | [BIN:TPI-EXE:0x5D52A0 handyman search] 0x62BBA0 nonzero returns; tired (0x62B3B0, "Too tired to tidy stuff up") goes to the tail; the radius lerp and the finder 0x5B1B50 store +0x5D8; a find |
| TPI-EXE:0x5D5630 handyman state setter | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:257 | [BIN:TPI-EXE:0x5D4980 handyman start] the source is made in template 3; [BIN:TPI-EXE:0x5D5630 handyman state setter] 0x0F queues 0xF (the patrol walk), 0x10 queues 0x19 (the sweep); |
| TPI-EXE:0x5D5630 handyman state setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:805 | [BIN:TPI-EXE:0x5D5630 handyman state setter] 0x0F, 0x11, 0x13: 0x60B3F0(1) and template 0xF; 0x10, 0x12, 0x14: +0x5D4 = the turn and template 0x19; the others through 0x628180 |
| TPI-EXE:0x5D5710 handyman dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:585 | [BIN:TPI-EXE:0x5D5710 handyman dispatch] states 0..0x14 by the byte table 0x5D58C4 and the jump table 0x5D5898 (2 -> 0x629EF0, 3 -> 0x62A1C0); above 0x14 the common handler 0x6287A0 (0x23 -> |
| TPI-EXE:0x5D5731 state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:599 | [BIN:TPI-EXE:0x5D5731 state 1] a world draw for the walking voice 0xA0; the walk step: arrived (0) or stuck (2) searches, still walking takes the moving step 0x62B3E0 |
| TPI-EXE:0x5D5863 state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:592 | [BIN:TPI-EXE:0x5D5863 state 0] a world draw; its low nibble 0 plays the idle voice 0xA1 (0x60BE90); then the idle end 0x62CA10 |
| TPI-EXE:0x5D588E common states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:612 | [BIN:TPI-EXE:0x5D588E common states] the handyman's table sends 4..0x0E to the common handler 0x6287A0 (byte table 0x628B10, jump table 0x628ADC): 7 -> 0x62A7C0, 8 -> 0x62AA50; above 0x14 |
| TPI-EXE:0x5D59D0 to litter | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:280 | [BIN:TPI-EXE:0x5D59D0 to litter] "didn't get to litter in time, someone else cleaning": the claim word is no longer his |
| TPI-EXE:0x5D59D0 to litter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:651 | [BIN:TPI-EXE:0x5D59D0 to litter] the target record's claim word (+0x34) against the member's thing id first ("didn't get to litter in time, someone else cleaning": +0x5D8 = 0, the search); |
| TPI-EXE:0x5D5AE0 sweep | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:678 | [BIN:TPI-EXE:0x5D5AE0 sweep] the working step 0x62B4D0, then the work duration 0x62E4C0; a turn at most +0x5D4 + duration (unsigned) goes on sweeping; else when the record of the member's own |
| TPI-EXE:0x5D6600 award gate | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:17 | [BIN:TPI-EXE:0x5D6600 award gate] the world update's tail (0x5D65E0) runs it after the hiring pool (0x631B40) and the calendar (0x6083D0), in every world state |
| TPI-EXE:0x5D6600 award gate | source/OpenTPW/Economy/ParkEconomy.cs:526 | [BIN:TPI-EXE:0x5D6600 award gate] then the park awards' check of the tick (ParkEconomy.CheckThemeParkIncAwards) |
| TPI-EXE:0x5D6600 award gate | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:112 | [BIN:TPI-EXE:0x5D6600 award gate] [[0xAA131C] + 0x1EAB40] divl 100: a remainder of 0 and the screen state 0x6A1C70 ([0xB8B91C]) not 0x11 call 0x606B30 with the world-update object's +0x448; |
| TPI-EXE:0x5D6D40 map loader | source/OpenTPW/World/ThemeParkIncObstacles.cs:132 | [BIN:TPI-EXE:0x5D6D40 map loader] the park loader reads every map cell's type (+8) and owner word (+0x10) back, and the placement 0x647BF0 does not run for a loaded park (0x6A380A..0x6A3D0D clear its flag) |
| TPI-EXE:0x5D6D40 park loader | source/OpenTPW/World/Objects/ParkObjects.cs:836 | [BIN:TPI-EXE:0x5D6D40 park loader] a loaded Theme Park Inc park keeps its things' ids: the World variables name them (CurrentObstacle names the prebuilt's 1700 gate, thing 29) |
| TPI-EXE:0x5D7420 region record | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:29 | [BIN:TPI-EXE:0x5D7420 region record] the ten-byte record of the cell; its halfword +6 is the security word of the region grid (ParkEnvironment, written by 0x5D7770) |
| TPI-EXE:0x5D7770 region writer | source/OpenTPW/World/ParkEnvironment.cs:152 | [BIN:TPI-EXE:0x5D7770 region writer] (flag, row, cell word, radius): the wrappers 0x5D7500 and 0x5D7530 pass 1 and 0; the radius is the argument's low 16 bits (andl $0xFFFF), the square clipped to 0..127 |
| TPI-EXE:0x5D79B0 booth cell | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestSettings.cs:185 | [BIN:TPI-EXE:0x5D79B0 booth cell] [0xA02614 + 12i] << 7 + [0xA02610 + 12i] + 1 stored as a word; nothing bounds i |
| TPI-EXE:0x5D79F0 stop cell | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestSettings.cs:195 | [BIN:TPI-EXE:0x5D79F0 stop cell] dec/je: kind 1 reads 0xA025C0/C4, kind 2 0xA025C8/CC, every other kind 0xA025B8/BC |
| TPI-EXE:0x5D7A70 entrance cell | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestSettings.cs:199 | [BIN:TPI-EXE:0x5D7A70 entrance cell] flag 0 reads 0xA025D0/D4, else 0xA025D8/DC |
| TPI-EXE:0x5D7B60 edge test | source/OpenTPW/World/Guests/WalkSearch.cs:94 | [BIN:TPI-EXE:0x5D7B60 edge test] Theme Park Inc's edge test is Theme Park World's with three changes that persons meet (masks 0 and 1, the only values TPI writes to the walk's +0xB4): a 0x1E |
| TPI-EXE:0x5D7C0E path target | source/OpenTPW.Tests/ThemeParkIncWalkEdgeTests.cs:87 | [BIN:TPI-EXE:0x5D7C0E path target] an unowned path entered from a path is open (the fast path comes before the unowned rule): (2, 0) → (3, 0) |
| TPI-EXE:0x5D7C55 walkway target | source/OpenTPW.Tests/ThemeParkIncWalkEdgeTests.cs:91 | [BIN:TPI-EXE:0x5D7C55 walkway target] a walkway without the obstacle flag stays open from a path, even unowned: (0, 2) → (1, 2) |
| TPI-EXE:0x5D7C55 walkway target | source/OpenTPW/World/Guests/WalkSearch.cs:109 | [BIN:TPI-EXE:0x5D7C55 walkway target] TPI's walkway test 0x67F6F0 also needs the target's obstacle flag (+0x24) clear; an obstacle's walkway cell goes on to the rules below |
| TPI-EXE:0x5D7D0D unowned target | source/OpenTPW.Tests/ThemeParkIncWalkEdgeTests.cs:97 | [BIN:TPI-EXE:0x5D7D0D unowned target] empty unowned land (0, 4) from a path with mask 1, and from empty land, is refused |
| TPI-EXE:0x5D7D0D unowned target | source/OpenTPW/World/Guests/WalkSearch.cs:112 | [BIN:TPI-EXE:0x5D7D0D unowned target] 0x67ECA0(0x40) on the target's flag word: unowned land blocks, after the path fast path (an unowned path from a non-queue cell stays open) and the walkway rule |
| TPI-EXE:0x5D7D2D type 2 target | source/OpenTPW/World/Guests/WalkSearch.cs:99 | [BIN:TPI-EXE:0x5D7D2D type 2 target] a second type-2 test (0x67F590) after the blocking types repeats one of them (tp.exe's 0x536300 at 0x4D8914): no code |
| TPI-EXE:0x5D81F0 stamp counter | source/OpenTPW/World/ParkCellMap.cs:241 | [BIN:TPI-EXE:0x5D81F0 stamp counter] ++[0xA9D2E8], returned; called by the queue length change 0x5E06B3, the wander 0x609FBE / 0x60A4A5 / 0x60A55F / 0x60A6FB / 0x60A83F, the route requests 0x60B828 / |
| TPI-EXE:0x5D8C80 littering cell | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:410 | [BIN:TPI-EXE:0x5D8C80 littering cell] nothing with [0xC65B80] == 1 or the record's +0x30 nonzero; the descriptor of type − 1 below 12 (the table 0x5D8EFC; 7 adds RegionFX row 2, 8 row 5 through |
| TPI-EXE:0x5D8CC2 litter type | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:23 | [BIN:TPI-EXE:0x5D8CC2 litter type] the cell record's +0x30, Theme Park World's +0x2C: the park's litter map (ParkLitter) |
| TPI-EXE:0x5D8D05 litter switch | source/OpenTPW/World/ParkLitter.cs:88 | [BIN:TPI-EXE:0x5D8D05 litter switch] type − 1 above 0xB takes the default descriptor 0x9B0A6C; 1..0xC their own (0x9B09B8 + 0x24 × (type − 1), the sprite slot type − 1) |
| TPI-EXE:0x5D8D11 litter switch | source/OpenTPW/World/LitterRenderer.cs:79 | [BIN:TPI-EXE:0x5D8D11 litter switch] Theme Park Inc's table 0x5D8EFC sends the types 1..0xC to the descriptors 0x9B09B8 + 0x24 × (type − 1), whose slot word is type − 1 (its SPR_LI has the |
| TPI-EXE:0x5D8DCF littering cell | source/OpenTPW/World/ParkLitter.cs:119 | [BIN:TPI-EXE:0x5D8DCF littering cell] Theme Park Inc's drop reseeds with the cell word and takes its two draws alike (0x5D8E14, 0x5D8E42), after the record's type test (+0x30, 0x5D8CC2) |
| TPI-EXE:0x5D8E14 litter sprite offset | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:128 | [BIN:TPI-EXE:0x5D8E14 litter sprite offset] ((d & 3) - 2) * 0.1 + 0.5 of the cell; the reseed and the two draws are Theme Park World's |
| TPI-EXE:0x5D8E14 litter sprite offset | source/OpenTPW/World/LitterRenderer.cs:92 | [BIN:TPI-EXE:0x5D8E14 litter sprite offset] Theme Park Inc's litter (themeParkInc) lies 3 to 6 tenths into the cell (ParkLitter.ThemeParkIncSpriteOffset) |
| TPI-EXE:0x5D8E14 litter sprite offset | source/OpenTPW/World/ParkLitter.cs:309 | [BIN:TPI-EXE:0x5D8E14 litter sprite offset] x = cell + ((draw & 3) - 2.0) * 0.1f + 0.5 (0x93AD1C 2.0, 0x93AA74 0.1, 0x93AA78 0.5), then y from the second draw (0x5D8E42) |
| TPI-EXE:0x5D8FE0 litter claim | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:722 | [BIN:TPI-EXE:0x5D8FE0 litter claim] +0x34 = the member's thing id, +0x38 = the world turn, as Theme Park World's 0x004D9600 |
| TPI-EXE:0x5D90D0 litter removal | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:689 | [BIN:TPI-EXE:0x5D90D0 litter removal] the sprite, the RegionFX of vomit and a stinkbomb, its particle, the type and the claim go, as Theme Park World's 0x004D9620 |
| TPI-EXE:0x5D9BB4 mechanic sprite | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:112 | [BIN:TPI-EXE:0x5D9BB4 mechanic sprite] the mechanics' bank (Generic\Mechanics, Spr_om) loads with Theme Park World's loader |
| TPI-EXE:0x5D9BB4 mechanic sprite | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:79 | [BIN:TPI-EXE:0x5D9BB4 mechanic sprite] the mechanic's constructor makes its source with the category 0xA and the variant byte it was given (+0x30); esprites.wad holds the mechanics' bank |
| TPI-EXE:0x5D9BC8 mechanic start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:390 | [BIN:TPI-EXE:0x5D9BC8 mechanic start] +0x5D8 and +0x5D4 = 0, then the setter 0x5DA150(0) (0x628180(0): the idle stamp 0, as the state is 0, the bonus 0 and template 3) before the search |
| TPI-EXE:0x5D9D60 mechanic destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:83 | [BIN:TPI-EXE:0x5D9D60 mechanic destroy] 0x64EF70, +0x5D8 set: 0x5E37B0 on the ride (its claimant +0x72 nonzero gets 0x628180(0), then +0x72 = 0 and +0x74 = 0); 0x609130. [BIN:TPI-EXE:0x5D2430 gardener destroy] the same with 0x64F560 and the plant |
| TPI-EXE:0x5D9DD0 mechanic message | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:483 | [BIN:TPI-EXE:0x5D9DD0 mechanic message] message 10 for his +0x5D8: "ride I was fixing was deleted", +0x5D8 = 0, state 0 |
| TPI-EXE:0x5D9DD0 mechanic message | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:318 | [BIN:TPI-EXE:0x5D9DD0 mechanic message] message 10 whose object word (+8) is his +0x5D8: "Mechanic: ride I was fixing was deleted", +0x5D8 = 0 and the setter 0x5DA150(0) (0x628180(0): the |
| TPI-EXE:0x5DA150 mechanic state setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:279 | [BIN:TPI-EXE:0x5DA150 mechanic state setter] 0x15: template 0xF (0x5D0F90), state 0x15; 0x16: template 0x1A, D = the work duration 0x62E4C0, the ride table[+0x5D8]: in state 2 (0x5E3B90) |
| TPI-EXE:0x5DA1DF repair timer | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:302 | [BIN:TPI-EXE:0x5DA1DF repair timer] (u8)ftol(+0x54); ecx = 100 - byte; imul ebx (D); the magic 0x51EB851F, sar 5 and the sign bit: a signed division by 100 |
| TPI-EXE:0x5DA280 mechanic dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:423 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] [BIN:TPI-EXE:0x5D2A60 gardener dispatch] [BIN:TPI-EXE:0x5D1E20 entertainer dispatch] [BIN:TPI-EXE:0x5D3C60 guard dispatch] 0x23 lies above every |
| TPI-EXE:0x5DA280 mechanic dispatch | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:353 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] every mechanic state outside 0..3, 21 and 22 goes to the common handler 0x6287A0 (byte table 0x5DA358, entry 6, 0x5DA333), whose 7 (0x62A7C0) and |
| TPI-EXE:0x5DA280 mechanic dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:30 | [BIN:TPI-EXE:0x5DA280 mechanic dispatch] states 0..0x16 by the byte table 0x5DA358 and the jump table 0x5DA33C: 0 idle 0x5DA309, 1 patrol 0x5DA2A1, 2 0x629EF0 and 3 0x62A1C0 (the rest |
| TPI-EXE:0x5DA280 mechanic rest states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:64 | [BIN:TPI-EXE:0x5DA280 mechanic rest states] the byte table 0x5DA358 sends 2 to 0x629EF0 and 3 to 0x62A1C0 (the handyman's entries for the same states), and 0x23 (above 0x16) to the |
| TPI-EXE:0x5DA2A1 state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:45 | [BIN:TPI-EXE:0x5DA2A1 state 1] a world draw for the walking voice 0xA2; the walk step: arrived (0) or stuck (2) searches, still walking takes the moving step 0x62B3E0 |
| TPI-EXE:0x5DA309 state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:39 | [BIN:TPI-EXE:0x5DA309 state 0] a world draw; its low nibble 0 plays the idle voice 0xA3 (0x60BE90); then the idle end 0x62CA10 |
| TPI-EXE:0x5DA358 mechanic dispatch | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:293 | [BIN:TPI-EXE:0x5DA358 mechanic dispatch] states 2 and 3 go to 0x629EF0 and 0x62A1C0, 0x23 to the common handler |
| TPI-EXE:0x5DA3D0 mechanic search | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:297 | [BIN:TPI-EXE:0x5DA3D0 mechanic search] the finder takes the broken ride, a route reaches its entrance: the claim and state 21 |
| TPI-EXE:0x5DA3D0 mechanic search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:147 | [BIN:TPI-EXE:0x5DA3D0 mechanic search] 0x62BBA0 nonzero returns; tired (0x62B3B0, "Too tired to fix rides") goes to the tail; +0x5D8 = the finder 0x5DAAD0 (on the HQ thing of the world word |
| TPI-EXE:0x5DA4EF maintenance request | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:322 | [BIN:TPI-EXE:0x5DA4EF maintenance request] a ride not broken down, not called for and below RideBreakDown.Imminent (10) asks for maintenance (0x5E3400(1)), which closes it |
| TPI-EXE:0x5DA650 to the ride | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:89 | [BIN:TPI-EXE:0x5DA650 to the ride] the claimant 0x5E37F0 of table[+0x5D8] against his thing id (0x6375C0): another one logs "UNUSUAL INCIDENT!! Mechanic: didn't get to breakdown in time, |
| TPI-EXE:0x5DA7C0 repairing | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:123 | [BIN:TPI-EXE:0x5DA7C0 repairing] the working step 0x62B4D0; +0x5D4 nonzero counts down by one and returns; at 0 the ride in state 1 (0x5E3950) gets VAR_BREAKSTAT = 0 (0x5E3BB0) and |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:337 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the cursor stopped on the list's last object (the only one), so the next search moves it past the end and finds nothing; the one after starts at the head |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:352 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the cursor moves on from the previous start; a start past the list's end (0) finds nothing. A thing without an economy record (a negated thing |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:416 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the saved list from FirstObject along mNext: 24 things, newest first; the 17 imported objects by their economy record, the 7 things OpenTPW does |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:345 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the HQ word +0x14 is a thing id: left on a destroyed obstacle, it finds the id again once a new ride takes the slot (last in, first out), and the |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:242 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the HQ word +0x14 is a thing id: a cursor left on a destroyed thing finds that id again once a new thing takes it (the free list hands the slot back last in, |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW/World/Level.Staff.cs:344 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the finder walks the list from world +0x1EAB88 through each object's +0x14, the loader's FirstObject and mNext (0x64BC00, 0x5DC430); in the prebuilt Science |
| TPI-EXE:0x5DAAD0 ride finder | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:188 | [BIN:TPI-EXE:0x5DAAD0 ride finder] the HQ word +0x14: 0 takes the list head (world +0x1EAB88, next +0x14); found in the list it takes that object's next (0 past the end), else the head; |
| TPI-EXE:0x5DB1D5 object thing | source/OpenTPW/World/Level.Staff.cs:294 | [BIN:TPI-EXE:0x5DB1D5 object thing] the object's builder makes its thing through 0x637100 with its first argument, the cell its thing is filed under (kind 3), and a thing enters the head of |
| TPI-EXE:0x5DB28C object list | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:43 | [BIN:TPI-EXE:0x5DB28C object list] the replacement's constructor 0x5DB1B0 puts the new attraction at the object list's head (0x64F3E0); it has no economy record, so it enters as its thing id |
| TPI-EXE:0x5DB4B6 object cell words | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:214 | [BIN:TPI-EXE:0x5DB4B6 object cell words] the object's builder (0x5DB1B0; its first argument is the cell 0x637100 files the thing under, its third the angle) sets +0x44 = that cell + |
| TPI-EXE:0x5DB4C1 object cell words | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:663 | [BIN:TPI-EXE:0x5DB4C1 object cell words] +0x46 and +0x48 are the anchor plus the entrance's and the exit's (U, V) turned by the angle |
| TPI-EXE:0x5DB4C1 object cell words | source/OpenTPW/World/Level.Staff.cs:315 | [BIN:TPI-EXE:0x5DB4C1 object cell words] +0x46 = +0x44 + the type's +0x5E8 turned by the angle (ThemeParkIncStaffWorld.EntranceWord, the drop's); a cell word of 0 or off the map has no cell |
| TPI-EXE:0x5DB53A object life | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:132 | [BIN:TPI-EXE:0x5DB53A object life] +0x58 = Info.WorkingLife, or 100.0 when 0; the prebuilt Science park's choosable attractions were saved at exactly that |
| TPI-EXE:0x5DB53A object life | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:286 | [BIN:TPI-EXE:0x5DB53A object life] the constructor stores 100.0 into +0x54 and +0x60, and +0x58 = the type's +0x8C (Info.WorkingLife) as a float, or 100.0 when it is 0 |
| TPI-EXE:0x5DB55D thing words | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncVisits.cs:8 | [BIN:TPI-EXE:0x5DB55D thing words] the constructor stores type +0x1FC (InitCostOfGoods) at +0x88, 50 at +0x8C and +0x98, 100 - type +0x19C (InitChanceOfLoosing) at +0x90 and type +0x194 |
| TPI-EXE:0x5DB58D thing price | source/OpenTPW/Economy/EconomyObjectCatalog.cs:200 | [BIN:TPI-EXE:0x5DB58D thing price] the thing's price per use (+0x94) starts as the type's UsageInfo.InitPricePerUse (+0x194) for every kind, a ride's included (20 in Rides.sam); Theme Park World's rides carry no such key |
| TPI-EXE:0x5DB5FB attraction constructor | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:71 | [BIN:TPI-EXE:0x5DC430 attraction serializer] the loader writes the open word without a closing routine (CloseLoaded keeps the saved hoarding); [BIN:TPI-EXE:0x5DB5FB attraction constructor] a newly built |
| TPI-EXE:0x5DB63F plant row | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:84 | [BIN:TPI-EXE:0x5DB63F plant row] row 10 at construction; [BIN:TPI-EXE:0x5DE9D3 plant row off] the row of VAR_CONDITION at destruction |
| TPI-EXE:0x5DB63F plant row | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:132 | [BIN:TPI-EXE:0x5DB63F plant row] the type word +0x1AC (UsageInfo.RequiresWatering) nonzero: +0x42 |= 0x1000 and 0x5D74A0(10, the thing's cell word (+7 << 7) + +5 + 1) |
| TPI-EXE:0x5DB654 thing flag +0x43 bit 0x10 | source/OpenTPW.Tests/ThemeParkIncPlayTests.cs:234 | [BIN:TPI-EXE:0x5DB654 thing flag +0x43 bit 0x10] the flag comes from the type's UsageInfo.RequiresWatering (the plants' bushes, trees and flower beds), which selects the scrap percentage's script branch (ECON-061) |
| TPI-EXE:0x5DB654 thing flag +0x43 bit 0x10 | source/OpenTPW/Economy/EconomyObjectCatalog.cs:198 | [BIN:TPI-EXE:0x5DB654 thing flag +0x43 bit 0x10] a nonzero type word +0x1AC (UsageInfo.RequiresWatering, between HoldsLitter 0x1A8 and ChillsYouOut 0x1B0 in the key order) makes the thing builder set the flag (or word [thing+0x42], 0x1000) that selects the scrap percentage's first branch (0x5E75F9) |
| TPI-EXE:0x5DB6AE thing flags | source/OpenTPW/Economy/EconomyObjectCatalog.cs:202 | [BIN:TPI-EXE:0x5DB6AE thing flags] UsageInfo.HoldsLitter (+0x1A8) sets +0x42 bit 0x40 and Info.RunsContinuously (+0x6C) sets +0x43 bit 1 (0x5DB782); the type record keeps Info.IsSpecial at +0x5C |
| TPI-EXE:0x5DB6E2 rest-area flag | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:73 | [BIN:TPI-EXE:0x5DB6E2 rest-area flag] the thing builder sets +0x42 bit 2 only from the type record's +0x1B0 (UsageInfo.ChillsYouOut): each zone's facilities folder holds one staff room |
| TPI-EXE:0x5DB6E2 rest-area flag | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:78 | [BIN:TPI-EXE:0x5DB6E2 rest-area flag] the attraction builder sets the thing's +0x42 |= 2 when the type record's +0x1B0 (UsageInfo.ChillsYouOut) is nonzero: the staff rooms (Science 1400, |
| TPI-EXE:0x5DB786 room flags | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:233 | [BIN:TPI-EXE:0x637C40 thing destroy] [BIN:TPI-EXE:0x5DB786 room flags] the level's hook (Level.OnThemeParkIncObjectRemoving) on its own ParkObjects, without a renderer: a level object |
| TPI-EXE:0x5DB786 room flags | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:67 | [BIN:TPI-EXE:0x5DB786 room flags] the attraction builder sets the thing's +0x42 |= 0x200 when the type record's +0x1B4 (UsageInfo.ThinkingSpace) is nonzero and |= 0x400 when +0x1B8 |
| TPI-EXE:0x5DB7D5 construction variables | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:301 | [BIN:TPI-EXE:0x5DE61A plant script] data\levels\vegetation.rse for a thing with flag 0x1000; [BIN:TPI-EXE:0x5DB7D5 construction variables] 2, 5 and 14 |
| TPI-EXE:0x5DB7D5 construction variables | source/OpenTPW/Economy/ThemeParkIncStandard.cs:177 | [BIN:TPI-EXE:0x5DB7D5 construction variables] test byte [thing+0x42] & 0x40 (set at 0x5DB6AE..0x5DB6C0 from the type's +0x1A8, HoldsLitter): 0x6B0780(inst, 3, [0xA02990]) (0x5DB7F1), (inst, 11, [0xA02994]) |
| TPI-EXE:0x5DB7D5 construction words | source/OpenTPW/Client/ThemeParkIncSmokeTest.cs:1141 | [BIN:TPI-EXE:0x5DB7D5 construction words] VAR_CAPACITY, VAR_DIRTY and VAR_FIRERISK from Standard.sam's LitterBin keys (20, 15 and 5 in the retail data) |
| TPI-EXE:0x5DBD7B special ride record | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:62 | [BIN:TPI-EXE:0x5DBD7B special ride record] the attraction placement appends a record when the type's +0x5C (Info.IsSpecial) is exactly 1 |
| TPI-EXE:0x5DC430 attraction serializer | source/OpenTPW/World/Level.Staff.cs:379 | [BIN:TPI-EXE:0x624701 special rides load] the World's tail brings the special-ride table after the things; [BIN:TPI-EXE:0x5DC430 attraction serializer] each attraction its mBeenActivated |
| TPI-EXE:0x5DC430 attraction serializer | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:71 | [BIN:TPI-EXE:0x5DC430 attraction serializer] the loader writes the open word without a closing routine (CloseLoaded keeps the saved hoarding); [BIN:TPI-EXE:0x5DB5FB attraction constructor] a newly built |
| TPI-EXE:0x5DD68E attraction loader stamp | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:26 | [BIN:TPI-EXE:0x5DD68E attraction loader stamp] Theme Park Inc's serializer 0x5DC430 is the same: it writes the fields of 0x7D91E0 (FileTimeToSystemTime) on +0x20 (0x5DC56E) and loads them through 0x7D9140 (SystemTimeToFileTime) without tv[3] or a check |
| TPI-EXE:0x5DE61A plant script | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:301 | [BIN:TPI-EXE:0x5DE61A plant script] data\levels\vegetation.rse for a thing with flag 0x1000; [BIN:TPI-EXE:0x5DB7D5 construction variables] 2, 5 and 14 |
| TPI-EXE:0x5DE61A plant script | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:339 | [BIN:TPI-EXE:0x5DE61A plant script] the thing's script loader 0x5DE610 tests +0x43 bit 0x10 (the type's +0x1AC, RequiresWatering, 0x5DB654) first: "data\levels\vegetation%s" with ".rse" |
| TPI-EXE:0x5DE829 message 0xA | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:200 | [BIN:TPI-EXE:0x637CB9 message 0x21] the destroy's own message (vtable 0x93A3B8, type 0x21 at 0x436070) before the kind switch 0x637CD5; [BIN:TPI-EXE:0x5DE829 message 0xA] the attraction's destroy |
| TPI-EXE:0x5DE9D3 plant row off | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:84 | [BIN:TPI-EXE:0x5DB63F plant row] row 10 at construction; [BIN:TPI-EXE:0x5DE9D3 plant row off] the row of VAR_CONDITION at destruction |
| TPI-EXE:0x5DE9D3 plant row off | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:233 | [BIN:TPI-EXE:0x5DE9D3 plant row off] the remove tool's path: ParkObjects.Remove -> the level's ObjectRemoved -> the sale -> RemoveObjectEffects, which reads VAR_CONDITION from the plant's script |
| TPI-EXE:0x5DE9D3 plant row off | source/OpenTPW/Economy/ParkEconomy.cs:934 | [BIN:TPI-EXE:0x5DE9D3 plant row off] a Theme Park Inc thing with +0x43 bit 0x10 takes off the row of its live VAR_CONDITION (0x6B0C90(inst, 0); the table 0x5DEBF0: 0..3 rows 10..13 through |
| TPI-EXE:0x5DED90 attraction update | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:283 | [BIN:TPI-EXE:0x5DED90 attraction update] message 1 (built at 0x641FF3 after the spell start 0x642A80): flag +0x41 clear: the weather thing's state (+0x70, 0x4019B5) 1..4 picks the type word, a word of 1 logs "Closing...", clears the open word +0x7C and the loading slot +0x80, sends the script its close message 6 and sets +0x41 (0x5DEE1F..0x5DEEB9); flag set (0x5DEEBF): a spell whose word is 1 leaves it, else the open routine 0x5E1DC0 runs (its checks only log) and the flag clears |
| TPI-EXE:0x5DEE1F weather closing | source/OpenTPW.Tests/ThemeParkIncWeatherClosingTests.cs:27 | [BIN:TPI-EXE:0x5DEE1F weather closing] ClosedDuringRain (type word +0x104) is 1; the other spells are not named |
| TPI-EXE:0x5DEE1F weather closing | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:274 | [BIN:TPI-EXE:0x5DEE1F weather closing] the type's WeatherModifier.ClosedDuringHeatWave, Rain, Storm and Snow (type words +0x100, +0x104, +0x108, +0x10C, the key table order after the four weather percentages); 1 closes the attraction in that spell |
| TPI-EXE:0x5DF029 month accumulator | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:392 | [BIN:TPI-EXE:0x5DF029 month accumulator] the accumulator is added whatever the ride state; only the running cost is 0 in state 1 or 4 |
| TPI-EXE:0x5DFC90 counts test | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:43 | [BIN:TPI-EXE:0x5DFC90 counts test] +0x42 bit 4; +0xA0 neither 1 nor 4; +0x7C nonzero; 0x5E0550 nonzero; 0x5E0280(0) below 4 × +0x50; type +0x14C 3: 0x485BB0; 1 or 2: +0x34 nonzero. tp.exe's 0x004DD920 |
| TPI-EXE:0x5DFDD0 queue room | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:61 | [BIN:TPI-EXE:0x5DFDD0 queue room] 0x5E0280(0) < 4 × [+0x50], unsigned: tp.exe's 0x004DDA20 over +0x40 |
| TPI-EXE:0x5DFE00 queue limit | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:68 | [BIN:TPI-EXE:0x5DFE00 queue limit] +0x42 bit 8 clear: 100; else speed +0x6C above 0: fildll(speed) / fidivl(type +0x29C + 72 × level) stored as a single (0xA9D3D4), else 1.0f; flds type +0x2A8 (QWTC), |
| TPI-EXE:0x5DFF10 queue too long | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:84 | [BIN:TPI-EXE:0x5DFF10 queue too long] 0x5E0280(0) against 0x5DFE00, unsigned: 1 when not below |
| TPI-EXE:0x5DFF50 add to queue | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:88 | [BIN:TPI-EXE:0x5DFF50 add to queue] "Object %d adding person %d to queue": an empty list takes it as its head +0x4C; else the tail (the first thing whose +0x2CC is 0) links it; its +0x2CE is the old tail |
| TPI-EXE:0x5E0100 remove from queue | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:97 | [BIN:TPI-EXE:0x5E0100 remove from queue] "Object %d removing person %d from queue": VAR 0 (VAR_LETMEON) equal to the id is set to 0 (0x6B0780); its +0x2CE (or the head when 0) takes its +0x2CC |
| TPI-EXE:0x5E0280 queue place | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:45 | [BIN:TPI-EXE:0x5E0280 queue place] head +0x4C; equal to the id: the count so far; else count + 1, the thing's next +0x2CC when 0x61AC40 holds, 0 otherwise; at 0 the length for id 0, else "Could not find |
| TPI-EXE:0x5E0520 back cell | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:35 | [BIN:TPI-EXE:0x5E0520 back cell] 0x5E0550 returns the cached word +0x4A, or walks the queue (0x5E03C0) to its back and caches it: tp.exe 0x004DE110/0x004DE130 (RideVisitorBridge.BackCell) |
| TPI-EXE:0x5E0733 queue re-evaluation | source/OpenTPW/World/Guests/GuestSimulation.cs:2946 | [BIN:TPI-EXE:0x5E0733 queue re-evaluation] Theme Park Inc's ride visits its list's guests but the called one with 0x6197F0 (ThemeParkIncQueueEdited); a sync that only moves the cells dismisses nobody |
| TPI-EXE:0x5E07B0 queue link | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:255 | [BIN:TPI-EXE:0x5E07B0 queue link] the queue branch (tp.exe's 0x004DE4A0): the back queue cell's link byte equal to its queue link fails the guard, which the repair tail closes at 0x5E2D34 |
| TPI-EXE:0x5E07B0 queue link | source/OpenTPW/World/Level.cs:1239 | [BIN:TPI-EXE:0x5E07B0 queue link] the queue branch (+0x42 bit 8, Info.HasQueue) is Theme Park World's 0x004DE4A0 instruction for instruction (the back of the queue 0x5E0550 ≙ 0x004DE130, |
| TPI-EXE:0x5E1300 stand point | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:513 | [BIN:TPI-EXE:0x5E1300 stand point] the type record (0x43C700 on +0x16): +0x184 and +0x188; the angle +0x18 (0, 0x5A, 0xB4, 0x10E; any other angle reads a stack word, which no placement gives); |
| TPI-EXE:0x5E1A50 may open | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:15 | [BIN:TPI-EXE:0x5E1A50 may open] state 1 or 4, the request +0x78, state 2, the queue link 0x5E07B0, 0x5C8B70 (a running challenge of type 42 while UsageInfo.SpecialIngredient is 1), the park closed |
| TPI-EXE:0x5E1BC0 may close | source/OpenTPW/World/Level.ThemeParkIncSpecialRides.cs:22 | [BIN:TPI-EXE:0x5E1BC0 may close] 0x5C8BE0 on the challenge system: a slot of type 46 in state 3 and the object's type +0x70 (Info.WhichUIType) 0 answer true, and the close toggle is disabled |
| TPI-EXE:0x5E21A0 wear amount | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:98 | [BIN:TPI-EXE:0x5E21A0 wear amount] riders = variable 5 clamped to 0..UsageInfo.MaxCapacity (+0x1E4, signed); s = single(speed / MaxSpeed (+0x1F4) × 0.9f), then single(s + 0.1f), or |
| TPI-EXE:0x5E25DA wear tick | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:66 | [BIN:TPI-EXE:0x5E25DA wear tick] Upgrades[level].WearRate (+0x2A4 + 72 × the level byte +0x64) zero (unsigned) returns; script variable 9 (VAR_RUNNING) above 0 or +0x43 bit 1 |
| TPI-EXE:0x5E2602 wear tick running | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:246 | [BIN:TPI-EXE:0x5E2602 wear tick running] testl, jg: a negative VAR_RUNNING is not running in Theme Park Inc; Theme Park World's bridge keeps its nonzero test (IsRunning) |
| TPI-EXE:0x5E2602 wear tick running | source/OpenTPW/Economy/GuestEconomyBridge.cs:43 | [BIN:TPI-EXE:0x5E2602 wear tick running] Theme Park Inc's wear tick takes the ride as running while VAR_RUNNING is above 0 (testl, jg); Theme Park World's wear step keeps its nonzero test |
| TPI-EXE:0x5E2614 wear interval | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:222 | [BIN:TPI-EXE:0x5E2614 wear interval] every 8th turn runs the tick, which wears on every 64th only |
| TPI-EXE:0x5E26A6 wear gauges | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:68 | [BIN:TPI-EXE:0x5E26A6 wear gauges] +0x54 = clamp(+0x54 - wear); unless the type's +0x5C (Info.IsSpecial) is 1, +0x58 = clamp(+0x58 - 0.02f × wear) (0x5E26FB..0x5E273C); then the repair |
| TPI-EXE:0x5E26B4 gauge clamp | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:57 | [BIN:TPI-EXE:0x5E26B4 gauge clamp] fcoms 100.0 with C0|C3 clear stores 100.0, fcoms 0.0 with C0 set stores 0 (an unordered NaN sets C0 too), else fstps |
| TPI-EXE:0x5E26FB special ride | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:123 | [BIN:TPI-EXE:0x5E26FB special ride] the wear tick and the breakdown request (0x5E493B) compare the type word +0x5C with 1 |
| TPI-EXE:0x5E26FB special ride | source/OpenTPW/Economy/EconomyObjectCatalog.cs:204 | [BIN:TPI-EXE:0x5E26FB special ride] the wear tick and the breakdown request (0x5E493B) test the type word +0x5C with cmpl $1: only the value 1 is special (only Theme Park Inc's rides read it) |
| TPI-EXE:0x5E28A0 repair line | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:339 | [BIN:TPI-EXE:0x5E28A0 repair line] the mechanics' finder takes an object whose repair byte is below the type's RideBreakDown.Imminent (+0x3C8); a dead plant's +0x54 is 0 (0x5E4DD4), so a plant |
| TPI-EXE:0x5E28A0 repair line | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:113 | [BIN:TPI-EXE:0x5E28A0 repair line] (u8)trunc(+0x54) as a float compared with the type's float +0x3C8: true when below |
| TPI-EXE:0x5E2910 repair fully | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:171 | [BIN:TPI-EXE:0x5E2910 repair fully] "Object %d: repairing fully"; +0x54 = 100.0, VAR_WORN (script variable 8) = 0, the claim word +0x72 = 0 and the request +0x78 = 0 (0x5E293D..0x5E2959); |
| TPI-EXE:0x5E2910 repair fully | source/OpenTPW/World/Level.cs:1081 | [BIN:TPI-EXE:0x5E3400 maintenance request] the request closes the ride itself (the open word +0x7C = 0, VAR_RIDECLOSED = 1 and the close model call); [BIN:TPI-EXE:0x5E2910 repair fully] the |
| TPI-EXE:0x5E2C2E repair tail | source/OpenTPW/World/Level.cs:1234 | [BIN:TPI-EXE:0x5E2C2E repair tail] the open 0x5E1DC0 (its own guard only logs "Opening non-openable ride"): the open word +0x7C = 1, VAR_RIDECLOSED = 0, SetState(0); then the guard again |
| TPI-EXE:0x5E2C35 repair guard | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:165 | [BIN:TPI-EXE:0x5E2C35 repair guard] the park closed (world +0x1EAB44) reaches the close at 0x5E2D34 |
| TPI-EXE:0x5E2DE8 repair weather close | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:221 | [BIN:TPI-EXE:0x5E2DE8 repair weather close] the spell's ClosedDuring word 1 closes the ride again and sets mClosedDueToWeather (+0x41), even where challenge 46 held it through the guard |
| TPI-EXE:0x5E2DE8 repair weather close | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:305 | [BIN:TPI-EXE:0x5E2DE8 repair weather close] the weather thing's state 1..4 picks the type word (+0x100..+0x10C); 1 logs "Closing...", clears the open word +0x7C and +0x80, writes VAR_RIDECLOSED = 1, |
| TPI-EXE:0x5E2EEB repair coaster close | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:243 | [BIN:TPI-EXE:0x5E2EEB repair coaster close] track type 3 with the coaster test 0x485BB0 false closes the ride once more after the weather close, whatever the guard decided |
| TPI-EXE:0x5E31B0 maintenance finish | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:160 | [BIN:TPI-EXE:0x5E31B0 maintenance finish] VAR_WATER = 1, +0x54 = 100, +0x72 = 0, +0x78 = 0 |
| TPI-EXE:0x5E31B0 maintenance finish | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:117 | [BIN:TPI-EXE:0x5E31B0 maintenance finish] +0x42 bit 1 (relief): VAR_WORN = 0, rows and notices; bit 0x40 (a bin): variable 1 = 1, rows 9 and 8; bit 0x1000 (0x5E32FA): 0x6B0780(inst, 1, 1) |
| TPI-EXE:0x5E3400 maintenance request | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:140 | [BIN:TPI-EXE:0x5E3400 maintenance request] +0x78 = 1; a bin or a plant returns, any other object closes (the open word, VAR_RIDECLOSED and the close model call) |
| TPI-EXE:0x5E3400 maintenance request | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:121 | [BIN:TPI-EXE:0x5E3400 maintenance request] +0x78 nonzero returns; "Object %d: wants maintenance", +0x78 = 1; +0x42 bit 0x40 (UsageInfo.HoldsLitter) or bit 0x1000 (UsageInfo.RequiresWatering) |
| TPI-EXE:0x5E3400 maintenance request | source/OpenTPW/World/Level.cs:1081 | [BIN:TPI-EXE:0x5E3400 maintenance request] the request closes the ride itself (the open word +0x7C = 0, VAR_RIDECLOSED = 1 and the close model call); [BIN:TPI-EXE:0x5E2910 repair fully] the |
| TPI-EXE:0x5E3509 maintenance cancel | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:447 | [BIN:TPI-EXE:0x5E3509 maintenance cancel] the claim word nonzero: the claimant's common setter 0x628180(0), which keeps his +0x5D8, and +0x72 = +0x74 = 0 |
| TPI-EXE:0x5E3509 maintenance cancel | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:441 | [BIN:TPI-EXE:0x5E3509 maintenance cancel] +0x78 = 0; the open 0x5E1DC0 whatever the guard (here a closed park) and SetState(0); the claimant goes idle and the claim clears |
| TPI-EXE:0x5E3509 maintenance cancel | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:138 | [BIN:TPI-EXE:0x5E3509 maintenance cancel] "Object %d: has cancelled its request for maintenance"; +0x78 zero returns; +0x78 = 0; +0x42 bit 0x40 (UsageInfo.HoldsLitter) or bit 0x1000 |
| TPI-EXE:0x5E3509 maintenance cancel | source/OpenTPW/World/Level.cs:1083 | [BIN:TPI-EXE:0x5E3509 maintenance cancel] the cancel 0x5E3400(0) opens the ride through 0x5E1DC0 whatever its guard says (the guard only logs "Opening non-openable ride"); the text HUD has no |
| TPI-EXE:0x5E3780 claim | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:202 | [BIN:TPI-EXE:0x5E3780 claim] +0x72 = the mechanic's thing id (0x6375C0), +0x74 = the world turn (+0x1EAB40) |
| TPI-EXE:0x5E37F0 claimant | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:244 | [BIN:TPI-EXE:0x5E37F0 claimant] a claim within 100 turns holds; past it the claimant's 0x62B280 (a gardener's +0x5D8 against the plant) decides, and a lapsed claimant goes idle |
| TPI-EXE:0x5E37F0 claimant | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:462 | [BIN:TPI-EXE:0x5E37F0 claimant] past +0x74 + 100 a claimant whose +0x5D8 is not the ride loses the claim and goes idle (0x628180(0)) |
| TPI-EXE:0x5E37F0 claimant | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:249 | [BIN:TPI-EXE:0x5E37F0 claimant] +0x72 zero: none; the turn above +0x74 + 100 (unsigned) and the claimant's 0x62B280(the object) false (kind 4 and kind 0x14: +0x5D8 is the object; kind 5: its loo |
| TPI-EXE:0x5E3990 dirt test | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:575 | [BIN:TPI-EXE:0x5E3990 dirt test] a bin (+0x42 bit 0x40): VAR 4 above VAR 11 (signed jg) or VAR 5 nonzero |
| TPI-EXE:0x5E3990 dry test | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:140 | [BIN:TPI-EXE:0x5E3990 dry test] condition above 0 and (alive or burning); [BIN:TPI-EXE:0x5E3B20 on fire] VAR_ONFIRE |
| TPI-EXE:0x5E3990 dry test | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:97 | [BIN:TPI-EXE:0x5E3990 dry test] +0x42 bit 1 (relief): the repair byte below 25.0; bit 0x40 (a bin): variables 11, 4 and 5; bit 0x1000 (0x5E3A4E): d = VAR_DEAD (4), c = VAR_CONDITION (0), |
| TPI-EXE:0x5E3990 relief worn | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:474 | [BIN:TPI-EXE:0x5E3990 relief worn] a relief object (+0x42 bit 1) whose repair byte is below 25.0 writes VAR_WORN = 1 (0x5E49C0) on every update; the write is skipped while the script holds 1 |
| TPI-EXE:0x5E3990 relief worn | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:50 | [BIN:TPI-EXE:0x5E3990 relief worn] a relief object (+0x42 bit 1) whose repair byte is below 25.0 (0x93E154) writes VAR_WORN = 1 (0x5E49C0), every update, as Theme Park World's 0x004E0D16 |
| TPI-EXE:0x5E3B20 on fire | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:140 | [BIN:TPI-EXE:0x5E3990 dry test] condition above 0 and (alive or burning); [BIN:TPI-EXE:0x5E3B20 on fire] VAR_ONFIRE |
| TPI-EXE:0x5E3B20 on fire | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:110 | [BIN:TPI-EXE:0x5E3B20 on fire] +0x42 bit 0x40 (a bin) answers variable 5; else bit 0x1000 answers variable 12 (VAR_ONFIRE); else 0 |
| TPI-EXE:0x5E3BB0 fix animation | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:193 | [BIN:TPI-EXE:0x5E3BB0 fix animation] writes script variable 4 (VAR_BREAKSTAT) = 0; 0x5E3BE0 reads variable 7 (VAR_BROKEN), whose nonzero keeps the mechanic at work (the level mirrors it into |
| TPI-EXE:0x5E3C20 closed test | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:37 | [BIN:TPI-EXE:0x5E3C20 closed test] the open word +0x7C (mCanLoad) is read as the runtime's open state, the script's VAR_RIDECLOSED: OpenTPW keeps no separate open word, and Theme Park Inc's |
| TPI-EXE:0x5E3CC0 head step | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1556 | [BIN:TPI-EXE:0x5E3CC0 head step] Theme Park Inc's head step first forces a head in state 17 whose admission the script has taken (VAR_LETMEON no longer the head) onto the ride (0x6182A0): a |
| TPI-EXE:0x5E3CC0 head step | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:514 | [BIN:TPI-EXE:0x5E3CC0 head step] VAR 0 not the head and the head in state 17: "script admitted person %d but he doesn't know yet, forcing him onto ride" (0x6182A0); else a head: 0x5E0100 and 0x619700(0) |
| TPI-EXE:0x5E3CE9 forcing | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:143 | [BIN:TPI-EXE:0x5E3CE9 forcing] VAR 0 not the head and the head's +0x2C0 == 0x11: "script admitted person %d but he doesn't know yet, forcing him onto ride", 0x6182A0 |
| TPI-EXE:0x5E41D0 rating byte | source/OpenTPW/World/Guests/GuestSimulation.cs:3265 | [BIN:TPI-EXE:0x5E41D0 rating byte] the attraction's rating is the live excitement of the join gate (0x5E3DF0 is the twin of the Mac STP-PPC rating 0x100DFF70), 0 when the type's ExcitementLevel word is 0 |
| TPI-EXE:0x5E46A0 admitted guest let go | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:58 | [BIN:TPI-EXE:0x5E46A0 admitted guest let go] "person %d left after I'd admitted him": the loading slot +0x80 = 0 and VAR_LETMEON naming him = 0; with the list's 0x5E0100 that is the |
| TPI-EXE:0x5E4803 object update | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:14 | [BIN:TPI-EXE:0x5E4803 object update] state 3 or 4 returns; the state not 1 (0x5E48AF), the open word +0x7C nonzero (0x5E48BB, cleared by every close: SetState 1, 2 and 4 at 0x5E51E8, |
| TPI-EXE:0x5E48FB breakdown request | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:268 | [BIN:TPI-EXE:0x5E48FB breakdown request] the life or repair byte 0 requests the breakdown; the life loses 5 unless its byte is 0 or the type is special; no draw |
| TPI-EXE:0x5E48FB breakdown request | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:31 | [BIN:TPI-EXE:0x5E48FB breakdown request] a relief object (+0x42 bit 1) goes to the worn test; VAR_BREAKSTAT (script variable 4) nonzero ends it; a life byte that is not 0 loses 5.0 |
| TPI-EXE:0x5E4CB0 object state dispatch | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:99 | [BIN:TPI-EXE:0x5E4CB0 object state dispatch] c != o: VAR_OLDSTATE = c, row 10 + o off, row 10 + c on; +0x54 = (3 - c) × 33 on every update |
| TPI-EXE:0x5E4CB0 object state dispatch | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:44 | [BIN:TPI-EXE:0x5E4CB0 object state dispatch] the switch on the state word +0xA0: 0 the ride update 0x5E5960, 3 the plant block 0x5E4CDE, 1, 2 and 4 0x5E4F99; the plant block needs the flag |
| TPI-EXE:0x5E4D53 wither words | source/OpenTPW/Economy/BalanceSettings.cs:199 | [BIN:TPI-EXE:0x5E4D53 wither words] the plant update reads Vegetation.HeatwaveWither, RainWither, StormWither and SnowWither as floats at 0xA029A4..0xA029B0 (+0xF44..+0xF50 of the Standard |
| TPI-EXE:0x5E4D82 wither scale | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:123 | [BIN:TPI-EXE:0x5E4D82 wither scale] s = VAR_SCALE / 1000 toward zero; a wither unequal to s writes ftol(wither × 1000) |
| TPI-EXE:0x5E5B20 loss camera | source/OpenTPW/Client/ThemeParkIncHud.Loss.cs:115 | [BIN:TPI-EXE:0x5E5B20 loss camera] the window rides the gate's camera seat, through the seat camera Theme Park World's 0x4E15B0 also reaches (0x4668C0 = tp.exe 0x42A560); |
| TPI-EXE:0x5E5B20 seat camera | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:98 | [BIN:TPI-EXE:0x5E5B20 seat camera] 0x5E5B20(0, 1): thing +0x5C = 1; an info +0x14C of 3 runs the gate 0x4087FB first; neither IsObstacle (+0x4C) nor IsCameraPath (+0x60): script variable 12 = 1, which an obstacle and a |
| TPI-EXE:0x5E5D70 walk away | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:164 | [BIN:TPI-EXE:0x5E5D70 walk away] +0xA4 += 1 and the history object's (+0x130) ring +0x198 += 1: tp.exe's 0x004E1670 (mNumWalkAways +0x1A4 and +0x230) |
| TPI-EXE:0x5E5DA0 customer | source/OpenTPW/Economy/ParkEconomy.cs:3078 | [BIN:TPI-EXE:0x5E5DA0 customer] the history object's daily customers (+0x110) and monthly customers (+0x1278) rise by one; no event and no counter |
| TPI-EXE:0x5E5DA0 customer | source/OpenTPW/World/Level.ThemeParkIncGuests.cs:144 | [BIN:TPI-EXE:0x5E5DA0 customer] the thing's history object (+0x130) raises its daily customers (+0x110) and its monthly customers (+0x1278): the economy's customer ring and month count |
| TPI-EXE:0x5E5DA0 customer | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:97 | [BIN:TPI-EXE:0x5E5DA0 customer] the thing's history object (+0x130) raises its daily customers (+0x110, today's slot) and its monthly customers (+0x1278): OpenTPW's customer ring and month count |
| TPI-EXE:0x5E5DE0 income booking | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncVisits.cs:16 | [BIN:TPI-EXE:0x5E5DE0 income booking] the bank 0x64EBE0 -> 0x5C0760 (balance += fee), the history object's takings +0x0 and +0x6E8; a shop (+0x600 1) adds it to the analyser's +0x20398 and |
| TPI-EXE:0x5E5DE0 takings events | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:88 | [BIN:TPI-EXE:0x5E5DE0 takings events] after the bank credit and the object's takings, a type record whose category +0x600 is 1 (a shop) posts 0x5C8940(12, n, 0, 0) and then by |
| TPI-EXE:0x5E60E0 cost booking | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:365 | [BIN:TPI-EXE:0x5E60E0 cost booking] a sale raises the object's month accumulator and the daily cost ring; the month message 0x5DEFFF debits the accumulator with the running cost, as one debit |
| TPI-EXE:0x5E60E0 cost booking | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncVisits.cs:46 | [BIN:TPI-EXE:0x5E60E0 cost booking] raises the daily cost ring (+0x88) and the month accumulator (+0x938) and posts the negated cost as message 0xC (a shop) or 0xD (a sideshow) |
| TPI-EXE:0x5E60E0 cost booking | source/OpenTPW/Economy/ParkEconomy.cs:1699 | [BIN:TPI-EXE:0x5E60E0 cost booking] raises the daily cost ring (+0x88) and the month accumulator (+0x938) and posts the negated cost as message 0xC (a shop) or 0xD (a sideshow) to the analyser object (0x408EE5, 0x4082C9, 0x4020BD): the statistics' own feed; no debit |
| TPI-EXE:0x5E60E0 cost events | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:124 | [BIN:TPI-EXE:0x5E60E0 cost events] after the object's cost rings (+0x88, +0x938) a category-1 record posts 0x5C8940(12, -n, 0, 0) and a category-2 record (13, -n, 0, 0) |
| TPI-EXE:0x5E6260 shop cost | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:405 | [BIN:TPI-EXE:0x5E6260 shop cost] the share is 1 for the shop types 1, 5, 6, 7 and 8, else the third byte x 0.01 (0.5 built); the quality and ingredient terms are (byte - 50) x 0.005 clamped to +-0.5, the ingredient negated for 1 and 3; 0 becomes 1 |
| TPI-EXE:0x5E6260 shop cost | source/OpenTPW/Economy/ThemeParkIncGoodsCost.cs:18 | [BIN:TPI-EXE:0x5E6260 shop cost] x87 sequence checked against the executable in Unicorn on 400 random inputs at both precisions: both bytes minus 50.0 (0x93B89C) times 0.005f (0x93AB28), each stored as a single and clamped to -0.5 (0x93E3A4) and 0.5 (0x93AA78); the share from a negative third argument is the double 1.0 (0x93B858) stored as a single, else the byte times 0.01f (0x93AD04) stored as a single; the ingredient term times -1.0 (0x93ABC8) for the special ingredient 1 or 3 (0x5E6340..0x5E6347); ((term + term) + 1.0 (0x93A034)) x the integer cost (fimull, signed) x the share through _ftol (0x86FAB0); a 0 becomes 1 (0x5E637A..0x5E637F, unsigned above) |
| TPI-EXE:0x5E63E0 shop cost arguments | source/OpenTPW/Economy/ThemeParkIncGoodsCost.cs:19 | [BIN:TPI-EXE:0x5E63E0 shop cost arguments] the arguments are the quality byte, the ingredient byte and the third byte; a type whose +0x224 is 1, 5, 6, 7 or 8 passes -1.0 for the third (0x5E6407..0x5E6418) |
| TPI-EXE:0x5E75F9 scrap percentage | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:685 | [BIN:TPI-EXE:0x5E75F9 scrap percentage] the thing-flag branch comes before the condemned test: 101, 67, 34, 0 for the counts 0 to 3, then 1 + ftol((3 - n) x 33.333332) |
| TPI-EXE:0x5E7613 watering percentage | source/OpenTPW/Economy/ParkEconomy.cs:1817 | [BIN:TPI-EXE:0x5E7613 watering percentage] fild n; fsubrs 3.0 (0x93AD54); fmuls 33.33333206176758 (0x93B818, a single); the product is truncated toward zero (0x86FAB0); 3 - n compared with 0.0 |
| TPI-EXE:0x5E7A00 chance roll | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:101 | [BIN:TPI-EXE:0x5E7A00 chance roll] the type lookup 0x43C700 (its result unread); R = 0x6493E0 (0x5E7A2D) % 100 (unsigned div); cmp byte +0x90, R%100 with sbb/inc: 1 when the byte is not below, |
| TPI-EXE:0x5E8230 activation | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:47 | [BIN:TPI-EXE:0x5E8230 activation] 0x74C8C0(type +0x174, UsageInfo.GoldenTicketCost) on the career, its answer dropped; then the camera fly-over (0x647930, 0x673230, 0x6742F0, 0x6746F0, 0x6662D0, |
| TPI-EXE:0x5E8910 activated flags | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:134 | [BIN:TPI-EXE:0x5E8910 activated flags] [BIN:TPI-EXE:0x624280 record emptied] |
| TPI-EXE:0x5E8910 activated flags | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:182 | [BIN:TPI-EXE:0x5E8910 activated flags] +0x12D = 1 and +0x12C = 1; [BIN:TPI-EXE:0x624280 record emptied] every record whose +0xF0 is the thing id is rebuilt with id 0 (0x623DC0(0) stores the 0 |
| TPI-EXE:0x5E8BD0 obstacle opening | source/OpenTPW/World/ThemeParkIncObstacles.cs:77 | [BIN:TPI-EXE:0x5E8BD0 obstacle opening] GateTo (info+0x58) == 0: for each AfterShape (+0x11C) cell, S = (ShapeOffsetY + row) * 128 + 1 + ShapeOffsetX + column; S+0x24 = 0 (0x5E8CB4) for every cell; a value != 0x21: |
| TPI-EXE:0x5E8D80 obstacle replacement | source/OpenTPW.Tests/ThemeParkIncRepairTailTests.cs:286 | [BIN:TPI-EXE:0x5E8D80 obstacle replacement] ReplaceWithID constructs the replacement (0x5DB1B0, which puts it at the list's head through 0x64F3E0 at 0x5DB28C), then destroys the obstacle |
| TPI-EXE:0x5E8D80 obstacle replacement | source/OpenTPW/World/ThemeParkIncObstacles.cs:112 | [BIN:TPI-EXE:0x5E8D80 obstacle replacement] ReplaceWithID: 0x43C700(id), a new attraction (0x638120(0x148)) constructed at the replacement's ShapeOffsetY * 128 + 1 + ShapeOffsetX (0x5DB1B0(cell, id, 0, 0)), no cell |
| TPI-EXE:0x5E9230 step direction | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:642 | [BIN:TPI-EXE:0x5E9230 step direction] the four orthogonal steps and a diagonal |
| TPI-EXE:0x5E9230 step direction | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:303 | [BIN:TPI-EXE:0x5E9230 step direction] dx = to - from, dy likewise; by the quadrant 0x80, 0x20, 2 or 8, then 1 or 0x10 when 2|dx| < |dy| and 0x40 or 4 when 2|dy| < |dx|: (0, +1) is 1, |
| TPI-EXE:0x5E9320 drop fallback | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:690 | [BIN:TPI-EXE:0x5E9320 drop fallback] no path beside it: the word is 0 and the drop ends silently |
| TPI-EXE:0x5E9320 drop fallback | source/OpenTPW.Tests/TrackAddOnLevelTests.TpiStaffDrop.cs:80 | [BIN:TPI-EXE:0x5E9320 drop fallback] a feature (M 4) with no path beside it: the word is 0 and the drop ends without the message, the candidate in the hand |
| TPI-EXE:0x5E9320 drop fallback | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:251 | [BIN:TPI-EXE:0x5E9320 drop fallback] the corner (x0, y0) is +0x44 plus the map offset turned by the angle +0x18: the thing's own cell. The shape's +4 rows (i) outer and +0 columns (j) inner |
| TPI-EXE:0x5EEDD0 controller constructor | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:80 | [BIN:TPI-EXE:0x5EEDD0 controller constructor] the thing base (0x637100(1, 0x15)); +0x14 = 0, +0x18 = 0, +0x1A = 1, +0x1B = 0; subscribes to broadcasts 0x23, 0x24, 0x25, 0x26 and 0x29; then, unless |
| TPI-EXE:0x5EEF60 init exit statistics | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:115 | [BIN:TPI-EXE:0x5EEF60 init exit statistics] for i = 0..4: status +0x20 (zone) == 0x42A340() (the viewed zone, 0xA06558 +0x14) or == 4, and state +0 == 0; then by type (jump table 0x5EF394): |
| TPI-EXE:0x5EF30B tech level | source/OpenTPW/Economy/ThemeParkIncCareer.cs:275 | [BIN:TPI-EXE:0x5EF30B tech level] edi = +0x10E4 (TechLevel.Theme); edi > -1 and edi < 3 (signed): the record 0x74F4B0(edi) +0 = +0x10E8 (NewMaxGroup) when +0 < it (signed jle skips) |
| TPI-EXE:0x5EF520 controller update | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:194 | [BIN:TPI-EXE:0x5EF520 controller update] returns when the career's +4 is set; +0x1A: the research lab's 0x61CBF0, then +0x1A = 0; +0x1B with no blocking interface state: 0x74C3C0, the panel |
| TPI-EXE:0x5EF5CA interface gate | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:197 | [BIN:TPI-EXE:0x5EF5CA interface gate] the researched-obstacle step waits while 0x42F2C0's objects report a modal state, 0x50DE30, 0x501440, 0x54FBB0 or 0x52FD90 answer nonzero, [0xA1465C] & 0x16 |
| TPI-EXE:0x5EF6E2 obstacle panel advice | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:229 | [BIN:TPI-EXE:0x5EF6E2 obstacle panel advice] the counter +0x105C - 3 through the byte table 0x5EFCBC (0, 4, 4, 1, 4, 4, 2, 4, 4, 3) and the jump table 0x5EFCA8: counters 3, 6, 9 and 12 post |
| TPI-EXE:0x5EF991 objective letter post | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:243 | [BIN:TPI-EXE:0x5EF991 objective letter post] 0x5CEAE0(career +0x105C - 1) in a type-0x19 wrapper (0x435DC0) through the message centre: the tag system files its row (kind 4 opens no window) |
| TPI-EXE:0x5EFA14 daily evaluation | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:241 | [BIN:TPI-EXE:0x5EFA14 daily evaluation] for i = 0..4: type (+4) != 0, zone (+0x20) == the viewed zone or 4, state (+0) == 1; days = (now - start) / 0xC92A69C000 (0x7D8E30, __alldiv, the low |
| TPI-EXE:0x5EFF00 statistic value | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:145 | [BIN:TPI-EXE:0x5EFF00 statistic value] type - 1 through the jump table 0x5F000C: 1 (cash - loans > 0) as 0/1 (setg), 2 cash - loans (0x5C0740 - 0x5C1300, 32 bits), 3 the sum over zones 0..2 |
| TPI-EXE:0x5EFF9F shares statistic | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:154 | [BIN:TPI-EXE:0x5EFF9F shares statistic] type 7: [0xAA0128] -> 0x6220B0 (mNumberOwned); 0 answers 0 (je 0x5F0004), else owned × 100 (32 bits) / [0xA02168] (cltd, idivl) |
| TPI-EXE:0x5EFFC3 awards statistic | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:153 | [BIN:TPI-EXE:0x5EFFC3 awards statistic] type 6: 0x42A3B0 (the career) -> 0x74C860, the awards held (ThemeParkIncCareer.AwardsHeld, written by the award checker ThemeParkIncParkAwards) |
| TPI-EXE:0x5F00B0 required challenges | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:532 | [BIN:TPI-EXE:0x5F00B0 required challenges] *a1 = RequiredChallenges.Number (+0x13E0), *a3 = RequiredChallenges.Theme (+0x13DC), *a2 = 0x74F4B0(Theme) +0xF0 |
| TPI-EXE:0x5F0190 has obstacle | source/OpenTPW/Economy/ThemeParkIncCareer.cs:466 | [BIN:TPI-EXE:0x5F0190 has obstacle] +0x1380 != 0 and the mission's +0x10 (Info.NoResearch) == 0 |
| TPI-EXE:0x5F01D0 obstacle state | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:271 | [BIN:TPI-EXE:0x5F01D0 obstacle state] Type 0 or NoResearch != 0: 0; else researched (+0x13E4) ? 2 : 1, then 3 when the current zone record's +0x64 (through 0x74F4B0) == EndingTheme and the |
| TPI-EXE:0x5F027E opened automatically | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:164 | [BIN:TPI-EXE:0x5F027E opened automatically] the type's object info (0xA09AC8->0x43C700) +0x138 == 1, the key Obstacle.OpenedAutomaticly; only the obstacles carry it |
| TPI-EXE:0x5F03C0 controller load | source/OpenTPW/Economy/ParkSaveFile.cs:1487 | [BIN:TPI-EXE:0x5F03C0 controller load] the saved state and thing, with +0x1B = 0 and +0x1A = 1; a Theme Park Inc save without the controller was refused (ValidateEdition) |
| TPI-EXE:0x5F03C0 controller load | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:508 | [BIN:TPI-EXE:0x5F03C0 controller load] versions 0 and 1 read mCutsceneObject (u16, +0x18) and mCutsceneState (u32, +0x14) after the thing base; after a read +0x1B = 0 and +0x1A = 1 |
| TPI-EXE:0x5F0600 mission complete | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:289 | [BIN:TPI-EXE:0x5F0600 mission complete] false once +4 is set; ok = every status with type != 0 in state 2; RequiredChallenges.Number != 0: ok &= Number <= 0x74F4B0(Theme) +0xF0 (signed jg); |
| TPI-EXE:0x5F0770 on mission complete | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:338 | [BIN:TPI-EXE:0x5F0770 on mission complete] the current zone record's +0x64 != EndingTheme and EndingTheme != 3: logs "Mission is complete but we're in the wrong theme!!!" and returns; the words |
| TPI-EXE:0x5F077E current zone | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:483 | [BIN:TPI-EXE:0x5F077E current zone] the career's current record (+0x4C) +0x64 goes through 0x74F4B0 and that record's +0x64 is compared |
| TPI-EXE:0x5F0827 obstacle opened advice | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:359 | [BIN:TPI-EXE:0x5F0827 obstacle opened advice] with the career's counter +0x105C at 0: 0x71A930(0x26C, locate 0, 0, variant -1, bypass 0, score -1) -> 0x718820, after the flight |
| TPI-EXE:0x5F0940 complete mission | source/OpenTPW/Economy/ThemeParkIncCareer.cs:608 | [BIN:TPI-EXE:0x5F0940 complete mission] returns when +4 is set; 0x74C8C0(Obstacle.GoldenTickets) with the result ignored; LoadNewHoardings == 1 loads "%sextent.%03d" with the counter |
| TPI-EXE:0x5F0940 complete mission | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:380 | [BIN:TPI-EXE:0x5F0940 complete mission] returns at once when +4 is set; 0x74C8C0(Obstacle.GoldenTickets) (result ignored); LoadNewHoardings == 1: "%sextent.%03d" (0x9CF714) with the data root |
| TPI-EXE:0x5F0B66 extent path | source/OpenTPW/World/ThemeParkIncLand.cs:17 | [BIN:TPI-EXE:0x5F0B66 extent path] the data root (0x771420) + "\" + "extents" + "\", formatted "%sextent.%03d" (0x9CF714) with career+0x105C |
| TPI-EXE:0x5F0B66 mission extent | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:176 | [BIN:TPI-EXE:0x5F0B66 mission extent] the tick loads "%sextent.%03d" with 0x678B00 and does not look at its result |
| TPI-EXE:0x5F0B66 mission extent | source/OpenTPW/World/ThemeParkIncLand.cs:104 | [BIN:TPI-EXE:0x5F0B66 mission extent] the tick loads the extent only when the mission's Completion.LoadNewHoardings (career+0x10DC) is 1, before 0x74C1B0 advances the counter |
| TPI-EXE:0x5F0F86 message switch | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:451 | [BIN:TPI-EXE:0x5F0F86 message switch] 0x26 falls to the default of the jump table 0x5F12F4: only the closing 0x27 broadcast (0x5F126B) |
| TPI-EXE:0x5F0F8D research complete | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:9 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x23 -> 0x634D20; [BIN:TPI-EXE:0x5F0F8D research complete] the controller's +0x1B = 1; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x5F0F8D research complete | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:413 | [BIN:TPI-EXE:0x5F0F8D research complete] case 0x23: +0x1B = 1 |
| TPI-EXE:0x5F0F96 remove obstacle | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:174 | [BIN:TPI-EXE:0x55BD79 complete button] [BIN:TPI-EXE:0x6325B9 HQ rebuild] [BIN:TPI-EXE:0x5F0F96 remove obstacle] the mission window's Proceed reaches both listeners of message 0x24 |
| TPI-EXE:0x5F0F96 remove obstacle | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:21 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x24 -> 0x634D20; [BIN:TPI-EXE:0x5F0F96 remove obstacle] the controller's state 2; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x5F0F96 remove obstacle | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:421 | [BIN:TPI-EXE:0x5F0F96 remove obstacle] logs "Obstacle Removed Message Received"; the advice 0x173 when the history's played byte of 0x19C (0x71B4F0 +8) is set (0x71A930(0x173, locate 0, 0, |
| TPI-EXE:0x5F10F7 promotion | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:439 | [BIN:TPI-EXE:0x5F10F7 promotion] logs "Promotion Message Received"; 0x74C450(the message's rank, dword +8); then 0x71A930(0x1A4, locate 0, 0, variant -1, bypass 0, score -1) -> 0x718820 |
| TPI-EXE:0x5F118D camera finished | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:458 | [BIN:TPI-EXE:0x5F118D camera finished] the message's own thing is not read; +0x14 == 2 or 3: 0x466050(things[+0x18]), things[+0x18]->0x5E8BD0(), 0x5F0940; == 4: 0x637C40(things[+0x18]), 0x5F0940; |
| TPI-EXE:0x5F1760 arrival briefing | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:403 | [BIN:TPI-EXE:0x5F1760 arrival briefing] career +0x20 == 1: nothing; counter (+0x105C) != 0: nothing; else a 0x24-byte message object 0x5CD6E0(0x5C, 5, 1) is posted and +0x20 = 1 (0x5F18DA, 0x5F18F7) |
| TPI-EXE:0x5F18DA arrival briefing post | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:236 | [BIN:TPI-EXE:0x5F18DA arrival briefing post] the tag letter 0x5CD6E0(0x5C, 5, 1) in a type-0x19 wrapper (0x435DC0) through the message centre: the tag system files its row |
| TPI-EXE:0x5ace30 park analyser load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:302 | [BIN:TPI-EXE:0x5ace30 park analyser load] case 13 at 0x64cf8e (thunk 0x40978c, object 0x22878 bytes): thing base, the map grid sizes, 1024 grid cells (a rectangle and nine value pairs), then history rings (four of 3 u16, 21 of 144 u32, one of 50, one of 5 and 22 of 50 bytes) and six totals, ending with the park statistics. 63,177 bytes with empty rings, 76,617 in the prebuilt |
| TPI-EXE:0x5bc670 arrivals serializer | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:207 | [BIN:TPI-EXE:0x5bc670 arrivals serializer] mArrivalRate (4), mTimeSig (4, through 0x448c80), mTargetVehicleCapacity (4), mPeopleOnBus (4), mOffloading (1), mGatesOpen (1); the prebuilt reads 0, 0, 5, 0, 0, 1 |
| TPI-EXE:0x5c7c70 challenge system load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:436 | [BIN:TPI-EXE:0x5c7c70 challenge system load] case 19 at 0x64d4af (thunk 0x408d9b, object 0x5d8 bytes): thing base, 10 challenge records of 125 bytes (0x5c2320), the next-challenge delay, the switch and the 10 actual things: 1,287 bytes |
| TPI-EXE:0x5cff00 control constructor | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:110 | [BIN:TPI-EXE:0x5cff00 control constructor] the record is the info id (u16), +4 = info +0x2ac, +8 = info +0x198, +0xc = info +0x23c, +0x10 = (info +0x270 == 0), +0x14 = 0, +0x18 = 0, +0x1c = -1, +0x20 = 0: the same fields as tp.exe's constructor 0x4d3e4f, whose +0x1c starts at 0, plus +0x20 |
| TPI-EXE:0x5d1600 entertainer load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:204 | [BIN:TPI-EXE:0x5d1600 entertainer load] case 6 at 0x64c988 (thunk 0x40401b): the staff base, the time the entertaining started, mNext |
| TPI-EXE:0x5d2510 gardener load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:230 | [BIN:TPI-EXE:0x5d2510 gardener load] case 20 at 0x64c8df (thunk 0x4079a5): the staff base, the watering start, the plant to water, mNext |
| TPI-EXE:0x5d3500 guard load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:212 | [BIN:TPI-EXE:0x5d3500 guard load] case 7 at 0x64ca31 (thunk 0x40622b): the staff base, the perpetrator, the patient, the prosecution and first aid time stamps, mNext |
| TPI-EXE:0x5d4ba0 handyman load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:193 | [BIN:TPI-EXE:0x5d4ba0 handyman load] case 5 at 0x64c830 (thunk 0x40c130): the staff base, the litter cell, cleaning start, toilet and bin to clean, mNext |
| TPI-EXE:0x5d6d40 map loader | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:280 | [BIN:TPI-EXE:0x5d6d40 map loader] per cell u8 status, 56-byte map cell if bit 0, 31-byte track cell if bit 1, 10-byte effects record if bit 2 |
| TPI-EXE:0x5d9e40 mechanic load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:184 | [BIN:TPI-EXE:0x5d9e40 mechanic load] case 4 at 0x64c785 (thunk 0x40ab14): the staff base 0x6267c0 (person, staff, six rings), the repair timer, the object to repair and the role's mNext link |
| TPI-EXE:0x5db4e2 mTopLeft | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:275 | [BIN:TPI-EXE:0x5db4e2 mTopLeft] Theme Park Inc's attraction constructor sets mTopLeft to the anchor word the same way, so its scene-record join (the TPI attraction match in this file) is on mTopLeft too |
| TPI-EXE:0x5db52f attraction constructor | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttraction.cs:13 | [BIN:TPI-EXE:0x5db52f attraction constructor] +0x54 (state of repair) and +0x60 start at 100.0, +0x58 (life gauge) at the info's life word or 100.0; the breakdown test 0x5e48df reads +0x58 and +0x54 as truncated bytes and a breakdown takes 5.0 off +0x58 (0x5e4940, the constant 0x93aa70), and repairs write 100.0 to +0x54 (0x5e293d, 0x5e3364, 0x5e791a), the Theme Park World order of life and repair; no float read of +0x60 exists outside the serializer (tp.exe's +0x4c is the same: set to 100.0 with the other two at 0x4db35b, read only by its serializer) |
| TPI-EXE:0x5db9dd attraction constructor | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttraction.cs:14 | [BIN:TPI-EXE:0x5db9dd attraction constructor] the constructor gives the time stamp (+0x20, Timestamp) and mTimeOfLastSurveyReset (+0x138) one clock value (0x5db9dd, 0x5db9e8) |
| TPI-EXE:0x5dba8a built count | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:111 | [BIN:TPI-EXE:0x5dba8a built count] +0x18 is incremented when an attraction is made and +0x1c set from the game tick (the word at game +0x1eab40) while it is -1; the destroy step 0x5de7b4 decrements +0x18 |
| TPI-EXE:0x5dc430 attraction serializer | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttraction.cs:12 | [BIN:TPI-EXE:0x5dc430 attraction serializer] mAngle 4, mId 2, 8 x tv[t] 4, MeshInstanceID 4, mFlags 2, 33 x (mNameA[i] 2, mNameB[i] 2), mRideScriptHandle 4, mTrackRideHandle 4, mState 4, mTopLeft 2, mEntryPos 2, mNext 2, mAssignedStaffMember 2, mBackOfQueue 2, mCanLoad 4, mExitPos 2, mFirstInQ 2, mIsTrackRideValid 4, mUpgradeParent 2, m_runningCost 4, mNumWalkAways 4, mOperatingCapacity 1, mOperatingDuration 1, mOperatingSpeed 4, mPersonBeingLoaded 2, mCostOfGoods 4, mQualityOfGoods 4, mChanceOfWinning 4, mPricePerUse 4, mAmountOfSpecialIngredient 4, mPortionSize 4, mGoneFirstPersonFlg 1, mQueueSizeInCells 4, three gauges written as a float truncated to a byte (the log names each "pv"; members +0x60, +0x58, +0x54), mRequestedService 4, mTimeMarkedForMaintenance 4, mUpgradeBalloonSprite 4, mUpgradeLevel 1, mPhotoBooth 2, mBooby 2, mPrebuiltTrackOpen 1, mBeenAroundAtLeastAMonth 1, mPrebuiltTrackEdited 1, mPromotedAttraction 2, mTimeOfLastSurveyReset 8, mBeenActivated 1, mHasBeenOpenedAtSomePoint 1, m_bFlashUnconnectedExit 1, mClosedDueToWeather 1, HasHistory 1, then the history object 0x5ea020 when HasHistory |
| TPI-EXE:0x5defff monthly roll | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttractionHistory.cs:68 | [BIN:TPI-EXE:0x5defff monthly roll] on message 12 the running cost word, the total costs (cost plus running cost) and the profit (takings minus total costs) are computed, each monthly ring takes its value and restarts at 0; ring 17 goes through 0x5ba2b0, the signed variant |
| TPI-EXE:0x5df19f daily roll | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttractionHistory.cs:67 | [BIN:TPI-EXE:0x5df19f daily roll] on message 11 each daily ring takes its running value as the next entry (current entry + 1 modulo the capacity, wrapped on the first return to 0) and the value restarts at 0 |
| TPI-EXE:0x5ea020 history serializer | source/OpenTPW.Files/Formats/Save/ThemeParkIncAttractionHistory.cs:66 | [BIN:TPI-EXE:0x5ea020 history serializer] the rings in memory at +0, +0x88, +0x110 ... +0x660 (13 of 30 entries, 0x88 bytes each) and +0x6e8, +0x938, +0xb88, +0xdd8, +0x1028, +0x1278 (6 of 144, 0x250 each); the constructor 0x5e9dc0 (called by the attraction constructor, 0x5db5d8) sets mCurrentEntry to -1 and mNumEntries to the capacity, so a ring always saves its full capacity |
| TPI-EXE:0x606B30 award control | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:121 | [BIN:TPI-EXE:0x606B30 award control] a first-call static init of the mode word (0x6A5EF0), then 0x606BE0 only when the mode word [0xC65B80] is 0: OpenTPW's slice is the career game, mode 0 |
| TPI-EXE:0x606BE0 award check | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:122 | [BIN:TPI-EXE:0x606BE0 award check] ECX = the analyser (0x64EAC0); in order: 0x5B7210 >= [0xA028BC] -> 0x74C760(0, v); 0x5B7380 >= [0xA028C0] -> (1, v); 100 - 0x5B80D0 >= [0xA028C4] and |
| TPI-EXE:0x606EC0 award event | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:31 | [BIN:TPI-EXE:0x606EC0 award event] logs "Won a Global golden Award (type - %d, num - %d)"; result 1 (won) by the jump table 0x607AB0, result 2 (moved) by 0x607A90: 0x4313D0(0), the advice |
| TPI-EXE:0x6074BE award won advice | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:103 | [BIN:TPI-EXE:0x6074BE award won advice] the jump table 0x607AB0: 0x607847 (0xBF), 0x6074CE (0x13A), 0x60757B (0x13B), 0x60762E (0x13C), 0x6076E1 (0x13D), 0x607794 (0x13E), 0x6078FA (0xC0), |
| TPI-EXE:0x607A90 award moved advice | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:108 | [BIN:TPI-EXE:0x607A90 award moved advice] 0x6072A7 (0xC3), 0x606F2F (0x142), 0x606FDC (0x143), 0x60708F (0x144), 0x607141 (0x145), 0x6071F4 (0x146), 0x60735A (0xC4), 0x607407 (0xC5) |
| TPI-EXE:0x607f70 calendar serializer | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:196 | [BIN:TPI-EXE:0x607f70 calendar serializer] the field log names, in the order both directions use: mFunnyTimeStart (8), mSessionStart (8), mYearAtLastUpdate (4, object +0x18), mMonthAtLastUpdate (4, +0x10), mDayAtLastUpdate (4, +0x14), mFunnySecsPerRealSec (4); the macro AI calls it at 0x5d653d between its base 0x6308a0 and the arrivals |
| TPI-EXE:0x6083d0 calendar step | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:197 | [BIN:TPI-EXE:0x6083d0 calendar step] the month is the zero-based struct field (month - 1) and the day is compared with +0x14, the month with +0x10, then all three are stored back (0x6086ed) |
| TPI-EXE:0x608540 month before year | source/OpenTPW/Economy/ParkEconomy.cs:1652 | [BIN:TPI-EXE:0x608540 month before year] The calendar dispatches the month at 0x60859B before the year at 0x6086B3. |
| TPI-EXE:0x6086DE annual report | source/OpenTPW/Economy/ParkEconomy.cs:523 | [BIN:TPI-EXE:0x6086DE annual report] at the year change the calendar sends the shares game the annual report 0x621300(the stored year, the viewed zone, 12), then 0x6231D0 on 0xAA0180 |
| TPI-EXE:0x6089C0 clock now | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:292 | [BIN:TPI-EXE:0x6089C0 clock now] the clock (world +0x428) returns its base plus world +0x1EAB40 (the turn) × rate (+0x1C, 15000) / 4 × 10 000 000 as 64-bit arithmetic |
| TPI-EXE:0x608C70 days since start | source/OpenTPW.Tests/ThemeParkIncFlightInputTests.cs:138 | [BIN:TPI-EXE:0x608C70 days since start] a turn is 15 000 / 4 x 10 000 000 clock units and the day 0xC92A69C000 (864 000 000 000): turn 23 is 0 whole days, turn 24 is 1 |
| TPI-EXE:0x608C70 days since start | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:92 | [BIN:TPI-EXE:0x608C70 days since start] the clock's turn time (world +0x1EAB40 × rate / 4 × 10 000 000) from the clock's base, divided by the day 0xC92A69C000 |
| TPI-EXE:0x608C70 park age | source/OpenTPW/Economy/ThemeParkIncStaff.cs:313 | [BIN:TPI-EXE:0x608C70 park age] floor(turn × SecsPerRealSec / 4) seconds in 100 ns units, divided by 30 days (0x1792F8648000) as a signed 64-bit division, the low word kept |
| TPI-EXE:0x608FA4 base speed draw | source/OpenTPW.Tests/ThemeParkIncGuestStartTests.cs:124 | [BIN:TPI-EXE:0x608FA4 base speed draw] [BIN:TPI-EXE:0x60C712 guest base speed] the first draw picks the word, the profile's SpeedMultiplier scales it, truncated |
| TPI-EXE:0x608FA4 base speed draw | source/OpenTPW/World/Guests/GuestSimulation.cs:495 | [BIN:TPI-EXE:0x608FA4 base speed draw] TPI also draws once from the same five base speeds before selecting the profile. |
| TPI-EXE:0x608FA4 person start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:339 | [BIN:TPI-EXE:0x608FA4 person start] one world draw: +0xD4 = word 0x9CFB28[R % 5], +0xD6 = word 0x9CFB20 (0); the position is the cell's centre (0x8000 in each 16.16 word, 0x63EE50) |
| TPI-EXE:0x608a90 clock conversion | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:147 | [BIN:TPI-EXE:0x608a90 clock conversion] the clock turns the masked turns into 100 ns as scale x turns / 4 x 10^7 (_allmul, _aulldiv by 4, _allmul by 0x989680), and 0x611050 divides by 0xC92A69C000 (a day in 100 ns); the scale word +0x1C starts at 15000 in the constructor (0x607EB9, 0x607E90) and only a saved or changed calendar rate moves it, so a turn is 15000 / 4 = 3750 game seconds (ParkCalendar.SecondsPerTurn), 23.04 turns a day |
| TPI-EXE:0x609130 person destroy | source/OpenTPW/World/Level.Staff.cs:490 | [BIN:TPI-EXE:0x609130 person destroy] 0x637FE0, the sprite source deleted (0x5D1050) and 0x638460; [BIN:TPI-EXE:0x6493B0 thing destroy] the handle goes onto the destroy list (0x650990), freed later |
| TPI-EXE:0x609170 person load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:6 | [BIN:TPI-EXE:0x609170 person load] thing base 0x637230, then the walking person: the sprite script, the accurate destination, speeds, the path-following state (pos, vel, the 5-entry subpath buffer, the nav mode), the sprite and the 32-entry event history, ending with mTimeBubbleShown; the guest (0x60d260) and the staff base (0x6267c0) both call it |
| TPI-EXE:0x609F70 wander | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:390 | [BIN:TPI-EXE:0x609F70 wander] the stranded hold ("Confused", thought 0x11), the draws 0x60A010, 0x60A34C, 0x60A3DA, 0x60A3EA, 0x60A7A5 and 0x60A7BE (tp.exe 0x004F9490's), and +0xE8 = 1 after a |
| TPI-EXE:0x609FBE wander gate | source/OpenTPW/World/Guests/GuestSimulation.cs:2446 | [BIN:TPI-EXE:0x609FBE wander gate] the counter raised first, whatever the mark (ParkCellMap.NextStamp) |
| TPI-EXE:0x60A4A5 stranded mark | source/OpenTPW/World/Guests/GuestSimulation.cs:2482 | [BIN:TPI-EXE:0x60A4A5 stranded mark] mark = the raised counter (0x5D81F0), not through 0x60B9A0 |
| TPI-EXE:0x60A55F final gate | source/OpenTPW/World/Guests/GuestSimulation.cs:2494 | [BIN:TPI-EXE:0x60A55F final gate] a guest's final route raises the counter before SetDest (tp.exe 0x4F9CB5); the mark, cleared above, holds nothing |
| TPI-EXE:0x60A6FB off-path gates | source/OpenTPW/World/Guests/GuestSimulation.cs:2458 | [BIN:TPI-EXE:0x60A6FB off-path gates] each candidate that reaches SetDest raises the counter first (0x60A6FB, 0x60A83F; tp.exe 0x4F9983, 0x4F9B2E); the mark, cleared above, holds nothing |
| TPI-EXE:0x60AFF1 placement stamp | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncWalk.cs:57 | [BIN:TPI-EXE:0x60AFF1 placement stamp] 0x5D81F0 below +0x1B0 (jae) clears it; while it is nonzero the debug marker 0x687970 is queued (shown only with the flag 0x9D6C28) |
| TPI-EXE:0x60B236 umbrella pull | source/OpenTPW.Tests/UmbrellaDrawingTests.cs:39 | [BIN:TPI-EXE:0x60B236 umbrella pull] v' = v - (v - the camera's) x 0.1 on the two ground axes and y' = y + (the camera's height - 40) x 0.1, in original units (engine units are original x ModelScale) |
| TPI-EXE:0x60B236 umbrella pull | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:22 | [BIN:TPI-EXE:0x60B236 umbrella pull] the third-person branch of the guest's draw 0x60AE00 (the flag word 0xA1465C without the bits 0x16): the hand's horizontal coordinates become v' = v - (v - the camera's, 0xA14648 and 0xA14650) x GenericUmbrellaModifiers [1] (0xA01E0C) and [3] (0xA01E14), the height y' = y + (the camera's height 0xA14584 - 40.0, 0x93E5B0) x [2] (0xA01E10, YAdjustCamera), then the sprite is placed at (x', y' + the type's offset, z') (call 0x40A6C8); the shipped values of the three modifiers are 0.1 (levels/Standard.sam) |
| TPI-EXE:0x60B26A umbrella size | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:165 | [BIN:TPI-EXE:0x60B26A umbrella size] the original moves the sprite and does not rescale it |
| TPI-EXE:0x60B3F0 speed bonus | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:30 | [BIN:TPI-EXE:0x60B3F0 speed bonus] +0xD6 = word 0x9CFB20[index], the index the argument for a staff kind (the kind-1 guest rule does not apply): 0 gives 0, 1 gives 25 |
| TPI-EXE:0x60B460 walk step | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:10 | [BIN:TPI-EXE:0x60B460 walk step] 0x63EF10 (the position) into x0, y0; 0x63EEF0; 0x63EF10 into x1, y1; 0x637B70(x1 >> 8, y1 >> 8); +0x1B0 = 0; +0x1A4 nonzero returns 2; 0x63EF70 == 0x10000 writes |
| TPI-EXE:0x60B4BB cell chain | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncWalk.cs:25 | [BIN:TPI-EXE:0x60B4BB cell chain] 0x637B70(x1 >> 8, y1 >> 8): mX/mY and the cell's thing chain (tp.exe 0x50B6A0) |
| TPI-EXE:0x60B4CA stranded mark | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncWalk.cs:15 | [BIN:TPI-EXE:0x60B4CA stranded mark] the walk step clears +0x1B0 on every call, before its result (tp.exe 0x4FA30B clears +0x198 the same way; OpenTPW's Theme Park World walk does not, a |
| TPI-EXE:0x60B4EC arrival heading | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:28 | [BIN:TPI-EXE:0x60B4EC arrival heading] push y1 - y0, push x0 - x1, call 0x91E074, and eax, 0xFFFF, mov [esi + 0x2C]; the walking branch 0x60B51B pushes the same differences |
| TPI-EXE:0x60B541 run flag | source/OpenTPW.Tests/ThemeParkIncWalkStepTests.cs:80 | [BIN:TPI-EXE:0x60B541 run flag] the bonus word above 0 (unsigned) and a kind-1 person of generation 0 or a kind-7 person |
| TPI-EXE:0x60B541 run flag | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:35 | [BIN:TPI-EXE:0x60B541 run flag] cmp word +0xD6, [0x9CFB20]; jbe walks; kind byte +2 == 1 with +0x2A4 == 0, or kind 7, runs; the block 0x60B5A0..0x60B5BA, which picks the walk for a kind-1 grown-up, |
| TPI-EXE:0x60B541 run test | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:103 | [BIN:TPI-EXE:0x60B541 run test] the speed bonus 25 above the table's first word (0) and the class byte 7 runs (template 2); a handyman with the same bonus walks (template 1) |
| TPI-EXE:0x60B541 walk request | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:258 | [BIN:TPI-EXE:0x60B541 walk request] a step still walking asks for the walk 1; [BIN:TPI-EXE:0x5D1080 sprite requests] the pre-update applies the pending template |
| TPI-EXE:0x60B541 walk request | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:920 | [BIN:TPI-EXE:0x60B541 walk request] a step that is still walking asks the sprite for the walk (template 1, 0x9AFBA8) unless its restart PC is there already (0x4E4AB0, then 0x5D0F90(1)): the run |
| TPI-EXE:0x60B572 guard carry | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:943 | [BIN:TPI-EXE:0x60B572 guard carry] a guard that carries a guest (0x5D3B20) walks with the carry template 0x1F (0x9B07D4): the guard's chase is not ported ([EXT:tpi-capability-gates]), so no |
| TPI-EXE:0x60B5F8 step speed | source/OpenTPW/World/Guests/ThemeParkIncWalkStep.cs:45 | [BIN:TPI-EXE:0x60B5F8 step speed] dx, dy of the two positions; imul each, add (a dword); fild, fsqrt, fmuls 0x93E5B4 (3.829657e-05), fstps; without the run flag fadd st, st and fstps |
| TPI-EXE:0x60B7F0 cell steer | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:326 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62EB10 staff route] [BIN:TPI-EXE:0x60B7F0 cell steer] |
| TPI-EXE:0x60B7F0 cell steer | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:82 | [BIN:TPI-EXE:0x60B7F0 cell steer] the route to a cell's centre, Theme Park World's 0x004FA530: the bytes ((c - 1) & 0x7F, 0x80) and ((c - 1) >> 7, 0x80); the stamp counter raised (0x5D81F0); the |
| TPI-EXE:0x60B7F0 route to a cell | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:546 | [BIN:TPI-EXE:0x60B7F0 route to a cell] x word ((word − 1) & 0x7F) << 8 | 0x80, y word ((word − 1) >> 7) << 8 | 0x80, then the common body of 0x60B8E0: byte for byte tp.exe's 0x004FA530 (guest-states-p0.md §5) |
| TPI-EXE:0x60B8E0 route to a point | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:552 | [BIN:TPI-EXE:0x60B8E0 route to a point] the counter (0x5D81F0) below +0x1B0 clears the mark; a mark still held (0x60BB50) returns 0 and leaves the walk; else +0x28/+0x2A = the words, the mark |
| TPI-EXE:0x60B8E0 staff steer | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:988 | [BIN:TPI-EXE:0x60B8E0 staff steer] the stamp counter raised (0x5D81F0, ParkCellMap.NextStamp: counted with Theme Park Inc's navigator, else only the edits count); the stranded mark +0x1B0 is tested (0x60BB50) only while nonzero, |
| TPI-EXE:0x60B8E0 target words | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:401 | [BIN:TPI-EXE:0x60B8E0 target words] +0x28 and +0x2A take the words before SetDest (0x60B92A, 0x60B94C), as the wander does before its own (0x60A597, 0x60A73A); the walk's target is the |
| TPI-EXE:0x60BC90 speed average | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:186 | [BIN:TPI-EXE:0x60BC90 speed average] (+0xD4 + +0xD6 + +0xD8) / [0x9CFB2C] (100) + 3 × +0xDC, times 0.25, the caps 0x63EF90 and the boost decay (× 99 / 100, 0x60BD0A): Theme Park World's 0x004FA870 (GuestSpeed.Update) |
| TPI-EXE:0x60BE90 voice | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:640 | [BIN:TPI-EXE:0x60BE90 voice] no draw of its own; the caller's world draw and its 1-in-16 gate (test $0xF) |
| TPI-EXE:0x60C3F0 guest constructor | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestRecord.cs:14 | [BIN:TPI-EXE:0x60C3F0 guest constructor] the stores at 0x60C425..0x60C571 zero every field listed here (the state pair takes 6 at 0x60C50C/0x60C512, +0x2E8 takes -1 at 0x60C54A), then the stamp |
| TPI-EXE:0x60C589 creation stamp | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:41 | [BIN:TPI-EXE:0x60C589 creation stamp] +0x1FC = the world turn; [BIN:TPI-EXE:0x60C67D generation] +0x2A4, +0x2A8 and +0x2AC from the type's row (0xA01C30, 0xA01C24, 0xA01C2C) |
| TPI-EXE:0x60C58F guest profile | source/OpenTPW/World/Guests/GuestSimulation.cs:527 | [BIN:TPI-EXE:0x60C58F guest profile] The unforced constructor uses four profile draws, |
| TPI-EXE:0x60C58F guest profile | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:61 | [BIN:TPI-EXE:0x60C58F guest profile] The fragment reads four successive world draws: exit variance, variant within a third of the table, |
| TPI-EXE:0x60C67D generation | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:41 | [BIN:TPI-EXE:0x60C589 creation stamp] +0x1FC = the world turn; [BIN:TPI-EXE:0x60C67D generation] +0x2A4, +0x2A8 and +0x2AC from the type's row (0xA01C30, 0xA01C24, 0xA01C2C) |
| TPI-EXE:0x60C712 guest base speed | source/OpenTPW.Tests/ThemeParkIncGuestStartTests.cs:124 | [BIN:TPI-EXE:0x608FA4 base speed draw] [BIN:TPI-EXE:0x60C712 guest base speed] the first draw picks the word, the profile's SpeedMultiplier scales it, truncated |
| TPI-EXE:0x60C712 guest base speed | source/OpenTPW/World/Guests/GuestSimulation.cs:508 | [BIN:TPI-EXE:0x60C712 guest base speed] a Theme Park Inc guest's base speed is the drawn word times its profile's SpeedMultiplier, truncated to a word |
| TPI-EXE:0x60C712 guest base speed | source/OpenTPW/World/Guests/GuestSimulation.cs:4854 | [BIN:TPI-EXE:0x60C712 guest base speed] a Theme Park Inc guest's base speed is a walk speed scaled by its profile's SpeedMultiplier |
| TPI-EXE:0x60C712 guest base speed | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:101 | [BIN:TPI-EXE:0x60C712 guest base speed] Multiply the base word by the profile's binary32 |
| TPI-EXE:0x60C734 guest meters | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:81 | [BIN:TPI-EXE:0x60C734 guest meters] Three needs draws, one discarded draw, then the prank chance and generation-specific table. |
| TPI-EXE:0x60C81B guest prank table | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:109 | [BIN:TPI-EXE:0x60C81B guest prank table] Three rows of ten signed words at 0x9D0624. |
| TPI-EXE:0x60C88A guest reseed | source/OpenTPW/World/Guests/GuestSimulation.cs:501 | [BIN:TPW-EXE:0x004FB19E guest reseed] [BIN:TPI-EXE:0x60C88A guest reseed] Both constructors |
| TPI-EXE:0x60C88A guest reseed | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:92 | [BIN:TPI-EXE:0x60C88A guest reseed] The constructor reseeds even when the sprite set is forced. |
| TPI-EXE:0x60C9F5 in-park branch | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:56 | [BIN:TPI-EXE:0x60C9F5 in-park branch] 0x60BE00 (cell types 1, 3, 9, 10 and 0) true: +0x200 = 0x650560() (the park's visitor count, raised by one) and setter(6), no draw and no beam |
| TPI-EXE:0x60CA29 entrance branch | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:57 | [BIN:TPI-EXE:0x60CA29 entrance branch] R10 & 1 picks a crossing cell (0x5D7B10) whose result is never read (its slot is overwritten at 0x60CAF7); R11 (0x60CA44) is overwritten by the id at 0x60CA51 |
| TPI-EXE:0x60CA49 booth pick | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:58 | [BIN:TPI-EXE:0x60CA49 booth pick] i = id % NumTicketBooths (unsigned); for k below the count (signed): 0x60B7F0(booth i) and stop on success, else i ^= 1; then +0x228 = 0, setter(2), |
| TPI-EXE:0x60CAD9 tail | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:60 | [BIN:TPI-EXE:0x60CAD9 tail] +0x22C = 0 and the eight history words +0x20A..+0x219 zeroed (a new record already holds them so); the creation message 0x435FC0 is a debug post |
| TPI-EXE:0x60CDD0 mood animation | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:90 | [BIN:TPI-EXE:0x60CDD0 mood animation] the sprite bank [0xB88AEC + 4 × ([0x9D7004 + 12 × +0x34] + +0x30)] and its byte +0x206 (0x68E7B0: nonzero female, the ESP header's byte 0x10D, read by the |
| TPI-EXE:0x60D0D0 meter add | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:212 | [BIN:TPI-EXE:0x60D0D0 meter add] field = clamp(field + delta, 0, 100) (flds the delta, fadds the field), the sum rounded to a single at the game thread's 24 bits, compared and stored |
| TPI-EXE:0x60D120 removal message | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:425 | [BIN:TPI-EXE:0x60D120 removal message] message 0xA with the object's id (+8): +0x204 equal: state 0x14 gets its model back and the sound 0x80, else a guest in the queue states (0x61AC40) leaves |
| TPI-EXE:0x60D14B rider | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:442 | [BIN:TPI-EXE:0x60D14B rider] the sprite back (0x5D0F90(1) when it was kept, a ride that draws it; else made again, 0x5D1000, the mode kept), +0x38 = +0x3C = 0 and the sound |
| TPI-EXE:0x60D17F queued guest | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:451 | [BIN:TPI-EXE:0x60D17F queued guest] 0x619700(0); the destroyed ride's list goes with it (the bridge lets the guest go here so that its teardown does not send it away twice) |
| TPI-EXE:0x60FB30 spot animation | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:65 | [BIN:TPI-EXE:0x60FB30 spot animation] the id (0x6375C0) % 3 == 0 gives the flag; anim − 4 below 7 picks through the table 0x60FBDC: 4 sound 0x7E, 5..9 0x4D, 10 0xD5, each only with the flag |
| TPI-EXE:0x60FC60 thought pick | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:289 | [BIN:TPI-EXE:0x60FC60 thought pick] hunger and thirst bytes both above 90: 3; else toilet above NeedTheLoo (0xA01B74): 4; hunger above Hungry (0xA01B6C): 1; thirst above Thirsty (0xA01B70): 2; |
| TPI-EXE:0x60ae35 umbrella drawn | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:14 | [BIN:TPI-EXE:0x60ae35 umbrella drawn] the per-frame guest placement 0x60AE00 takes the umbrella state (+0x238): 4 or 1 sets the flag that places the sprite and raises the thought bubble, every other state draws nothing (a closed umbrella, state 2, has no sprite) |
| TPI-EXE:0x60aedc | source/OpenTPW.Tests/UmbrellasSimulationTests.cs:459 | [BIN:TPI-EXE:0x613ea0 track-cell stand-down] the scheduling and the carrying out stand down on a kart or water track cell; [BIN:TPI-EXE:0x60aedc] the placement closes a shown umbrella there |
| TPI-EXE:0x60aedc umbrella cell close | source/OpenTPW/World/Guests/GuestSimulation.cs:1198 | [BIN:TPI-EXE:0x60aedc umbrella cell close] the per-frame placement 0x60AE00 closes a shown umbrella (state 4 or 1) of a guest on a kart or water track cell (0x60AF32, 0x6142E0: state 2, sprite destroyed); a park turn here stands for the frames, and nothing but a pending change's due word is dropped with the state |
| TPI-EXE:0x60b0a4 bubble height | source/OpenTPW/World/Umbrellas/UmbrellaRenderer.cs:43 | [BIN:TPI-EXE:0x60b0a4 bubble height] the bubble's height is the word at 0x9CFB38 (6.0) when the umbrella flag is set, else 0x9CFB34 (2.5), added to the guest's height for the bubble's placement (call 0x40A722) |
| TPI-EXE:0x60b29b umbrella placement | source/OpenTPW/World/Umbrellas/UmbrellaAnchors.cs:20 | [BIN:TPI-EXE:0x60b29b umbrella placement] the default camera path adds the set's Y (field 1 of the 0x38 byte row of PersonSpriteUmbrellaModifiers, 0xA01E1C + 0x38 x type) to the guest's height before placing the sprite (call 0x40a6c8) |
| TPI-EXE:0x60b3f0 speed term setter | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:187 | [BIN:TPI-EXE:0x60b3f0 speed term setter] for a guest (the class byte +2 is 1) with a nonzero term index: the umbrella words 4, 1 and 3 make the index 0 before the word table 0x9CFB20 (0, 25, 50) is read; the callers are the constructor, the relief visit, the needs phase and the walk to the booth |
| TPI-EXE:0x60d260 guest field names | source/OpenTPW/World/Guests/Guest.cs:202 | [BIN:TPI-EXE:0x60d260 guest field names] mUmbrellaState +0x238, mUmbrellaType +0x244 (the colour), mUmbrellaScript +0x240 (the sprite object, rebuilt from the state on load here) |
| TPI-EXE:0x60d260 guest load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:117 | [BIN:TPI-EXE:0x60d260 guest load] case 1 of the dispatch at 0x64cb89 (thunk 0x4045a2, constructor 0x64df50, object 0x2f0 bytes): the person, then the guest members up to mLastDayChecked; the seven pv members are floats truncated to a byte (+0x1bc, +0x1cc, +0x1d8, +0x1c8, +0x1dc, +0x1d0, +0x1d4) and msFood to msRides are such floats at +0x2d0 to +0x2e0. No ring: 619 bytes |
| TPI-EXE:0x610080 major decision | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:12 | [BIN:TPI-EXE:0x610080 major decision] +0x204 = 0; the list (world +0x1EAB88, next +0x14): +0x42 bit 4, 0x5E0520 nonzero, 0x6101E0 at least 10 (unsigned jb), above the best (signed jg) or equal on an |
| TPI-EXE:0x6101E0 attraction score | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncAttractionScore.cs:55 | [BIN:TPI-EXE:0x6101E0 attraction score] the gates 0x6101FD (special), 0x61021C (GenderSpecific: female banks 2, male 1), 0x610348 (used slot 0 of the same type +0x16), 0x610387 (an umbrella shop with |
| TPI-EXE:0x6101FD awaiting activation | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:449 | [BIN:TPI-EXE:0x6101FD awaiting activation] the open ride still scores 0 while its record names it |
| TPI-EXE:0x6101FD awaiting activation | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:35 | [BIN:TPI-EXE:0x6101FD awaiting activation] the score's first test: an attraction whose thing 0x6242F0 does not free (a special ride whose record still names it, ThemeParkIncSpecialRides) |
| TPI-EXE:0x6101FD awaiting activation | source/OpenTPW/World/Guests/GuestSimulation.cs:2644 | [BIN:TPI-EXE:0x6101FD awaiting activation] Theme Park Inc's score refuses a special ride that awaits its activation (HostScore); the candidate test keeps it out whatever a policy's comparison says |
| TPI-EXE:0x6101FD awaiting activation | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:63 | [BIN:TPI-EXE:0x6101FD awaiting activation] the score's first test: a thing 0x6242F0 does not free (a special ride whose record still names it) scores 0; the economy's special-ride table |
| TPI-EXE:0x6101e0 attraction score | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:31 | [BIN:TPI-EXE:0x6101e0 attraction score] the extension's objects only: type +0x21C == 3 gates on the umbrella and the weather, the weather word +0xF0..+0xFC scales the score when nonzero (0x6109d0), the balloon factor cuts an umbrella shop (0x610af1), the generation word +0x110 scales last (0x610b59) |
| TPI-EXE:0x6101e0 score multipliers | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:728 | [BIN:TPI-EXE:0x6101e0 score multipliers] Theme Park Inc's keys, which tp.exe does not read: only the extension's own objects use them |
| TPI-EXE:0x6101e0 score multipliers | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:7 | [BIN:TPI-EXE:0x6101e0 score multipliers] the weather word at type +0xF0 (snow), +0xF4 (rain), +0xF8 (storm), +0xFC (heat wave) and the generation word at +0x110 (kid), +0x114, +0x118 |
| TPI-EXE:0x61035F same type | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:61 | [BIN:TPI-EXE:0x61035F same type] the last used thing's slot in 0xAA18B0, whatever kind of thing it holds, and its type word +0x16 against the candidate's |
| TPI-EXE:0x61035F thing slot | source/OpenTPW/World/Level.ThemeParkIncGuests.cs:102 | [BIN:TPI-EXE:0x61035F thing slot] the thing table 0xAA18B0 holds every live thing; OriginalObjectRuntime's ride bridges carry the type as Entry.InfoId (RideVisitorBridge.TypeId) |
| TPI-EXE:0x61038e umbrella shop gate | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:94 | [BIN:TPI-EXE:0x61038e umbrella shop gate] type +0x21C == 3: the guest's +0x238 nonzero gives 0; then the weather word +0x70 must be 2, 4 or 3 or the score is 0 |
| TPI-EXE:0x6103ec balloon shop gate | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:101 | [BIN:TPI-EXE:0x6103ec balloon shop gate] type +0x21C == 1: +0x294 (the balloon model) nonzero or +0x298 (its life) above 0 gives 0, then +0x238 of 4 or 3 gives 0 |
| TPI-EXE:0x6104D5 information desk | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:53 | [BIN:TPI-EXE:0x6104D5 information desk] UsageInfo.IsInfoDesk (type +0x244): the desk's target word +0x140 (0x5E8FE0) 0 scores 0, else the target is scored in the desk's place |
| TPI-EXE:0x6108FA score scales | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncAttractionScore.cs:60 | [BIN:TPI-EXE:0x6108FA score scales] age (0x5DF8D0) at most 0xA01AA4 (unsigned): × 0xA01AA8; GoldenTicketCost above 0 (signed): _ftol(((cost + 1) × 0.1 + 1.0) × score); else a nonzero +0x2AC: |
| TPI-EXE:0x610949 golden ticket | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncAttractionScore.cs:152 | [BIN:TPI-EXE:0x610949 golden ticket] fildl, fmull 0x93E398 (the double 0.1), faddl 0x93B858 (the double 1.0), fimull the score: at control word 0x7F every product and sum rounds to 24 bits |
| TPI-EXE:0x6109d0 percentage step | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:106 | [BIN:TPI-EXE:0x6109d0 percentage step] imul by the percentage, then the multiply-high sequence 0x51EB851F, sar 5 and the sign fix: a signed division by 100 |
| TPI-EXE:0x6109d0 weather percentage | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:112 | [BIN:TPI-EXE:0x6109d0 weather percentage] state 2 reads +0xF4, 4 reads +0xF0, 1 reads +0xFC and 3 reads +0xF8; a zero percentage leaves the score (the test before each multiply) |
| TPI-EXE:0x610af1 balloon factor | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:123 | [BIN:TPI-EXE:0x610af1 balloon factor] +0x294 or +0x298 set and +0x298 nonzero: factor = 100 - life * 100 / 255 (unsigned); a result of 0 jumps past the cut (je 0x610b59); then DiscardBalloonPctModifier (0xA01B68) nonzero scales it by x / 100 (unsigned) |
| TPI-EXE:0x611050 | source/OpenTPW.Tests/WinterColdTests.cs:15 | [EXT:winter-cold] OpenTPW's own rule; the day gate and the once-per-day rule are the rain mood's ([BIN:TPI-EXE:0x611050] day gate) |
| TPI-EXE:0x611050 age | source/OpenTPW.Tests/GuestDisplayAgeTests.cs:214 | [BIN:TPI-EXE:0x611050 age] the gate subtracts two world turns, which Guest.DisplayTimeInParkTurns keeps (UMB-003): the same seconds with an age of 96 turns (the start of the fifth game day) open the gate, with 40 they do not |
| TPI-EXE:0x611050 age | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:127 | [BIN:TPI-EXE:0x611050 age] eax = world turn (the world object +0x1EAB40) - the guest's stamp +0x1FC, both 32-bit and unsigned, cut to a multiple of four (shr 2, shl 2, 0x611073..0x611076) and handed to the clock's conversion 0x409854 (scale 15000 from the constructor 0x607EB9 over four turns, in 100 ns); the stamp is written once, by the constructor (the arrival date, mArrivalDate), and no code rewrites it |
| TPI-EXE:0x611050 day count | source/OpenTPW/World/Umbrellas/RainMoodRules.cs:48 | [BIN:TPI-EXE:0x611050 day count] ((clock - creation stamp +0x1FC) >> 2 << 2) through the clock's time and divided by a day in 100 ns; the quotient mod WeatherModifierFrequency decides the gate |
| TPI-EXE:0x611050 day gate | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:146 | [BIN:TPI-EXE:0x611050 day gate] ((clock - creation stamp +0x1FC) >> 2 << 2) through the clock's time (0x409854), divided by 864 x 10^9 (a day in 100 ns) and taken modulo WeatherModifierFrequency (0xA01B60); a remainder other than 0 returns before anything is touched |
| TPI-EXE:0x611050 umbrella transitions | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:160 | [BIN:TPI-EXE:0x611050 umbrella transitions] bad weather (the jump table 0x611324 for 1..4 skips the first branch): the table 0x611334 by state - 1 sets 4 (0x6111E3), schedules 3 (0x6111EF), calls 0x614010 (0x611206) or adds UmbrellaModifier; the other weather: state 1 calls 0x614010, 3 sets 2 (0x6111FA), 4 schedules 1 (0x61112A) |
| TPI-EXE:0x611050 umbrella weather rule | source/OpenTPW.Tests/UmbrellaRulesTests.cs:12 | [BIN:TPI-EXE:0x611050 umbrella weather rule] the rules under test follow the Theme Park Inc no-CD Game.exe, traced statically (docs/UMBRELLAS.md) |
| TPI-EXE:0x611050 umbrella weather rule | source/OpenTPW.Tests/UmbrellasSimulationTests.cs:14 | [BIN:TPI-EXE:0x611050 umbrella weather rule] the behaviour under test is the Theme Park Inc trace (docs/UMBRELLAS.md); the guests are Theme Park World's |
| TPI-EXE:0x611050 weather deltas | source/OpenTPW/World/Umbrellas/RainMoodRules.cs:63 | [BIN:TPI-EXE:0x611050 weather deltas] happiness delta below 0 with the umbrella state 4: UmbrellaModifier (fild of 0xA01B5C) is added to it; then each meter is the clamped sum meter + delta (happiness +0x1BC, hunger +0x1CC, thirst +0x1C8) |
| TPI-EXE:0x611050 weather rows | source/OpenTPW/World/Umbrellas/RainMoodRules.cs:6 | [BIN:TPI-EXE:0x611050 weather rows] the rows are 16 bytes per age index (the guest's +0x2A4): happiness at 0xA01B88, thirst at 0xA01BBC, hunger at 0xA01BF0; the word picked is the weather state minus 1 (heat wave, rain, storm, snow) |
| TPI-EXE:0x611050 weather rule | source/OpenTPW.Tests/RainMoodTests.cs:13 | [BIN:TPI-EXE:0x611050 weather rule] the behaviour under test is the Theme Park Inc trace (docs/UMBRELLAS.md); the guests are Theme Park World's |
| TPI-EXE:0x611050 weather rule | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:17 | [BIN:TPI-EXE:0x611050 weather rule] called from the guest update 0x619B50 for every guest, wherever it is; the day gate, the weather word +0x70 and the clamped sums are the original's |
| TPI-EXE:0x611050 weather rule | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:138 | [BIN:TPI-EXE:0x611050 weather rule] called from the guest update 0x619B50 at the top of the needs phase (turn & 3 == id & 3) for every guest; the scheduling and the carrying out stand down on a track cell (UMB-002) |
| TPI-EXE:0x611050 weather rule | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:351 | [BIN:TPI-EXE:0x611050 weather rule] age = ((turn − +0x1FC) >> 2) << 2 (unsigned), the clock's 100 ns over a day (0xC92A69C000), the quotient's remainder by [0xA01B60] (signed idiv) nonzero |
| TPI-EXE:0x611050 weather rule | source/OpenTPW/World/Umbrellas/RainMoodRules.cs:27 | [BIN:TPI-EXE:0x611050 weather rule] UmbrellaModifier 0xA01B5C (an integer, 1) is added to a negative happiness delta while the umbrella is open; the shipped kid row is read from the TPI settings block (docs/UMBRELLAS.md) |
| TPI-EXE:0x6111BE umbrella modifier | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:381 | [BIN:TPI-EXE:0x6111BE umbrella modifier] state 4 with a negative happiness delta: += fild [0xA01B5C], stored as a single |
| TPI-EXE:0x6111E3 cancel close | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:371 | [BIN:TPI-EXE:0x6111E3 cancel close] +0x238 = 4 |
| TPI-EXE:0x6111FA cancel open | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:394 | [BIN:TPI-EXE:0x6111FA cancel open] +0x238 = 2 |
| TPI-EXE:0x611334 | source/OpenTPW.Tests/RainMoodTests.cs:184 | [BIN:TPI-EXE:0x611334] the switch on the state: state 4 is the modifier (0x6111BE), state 1 sets 4 (0x6111E3) and a due 3 calls 0x402d8d; none of those reaches the modifier in the same call |
| TPI-EXE:0x611334 modifier | source/OpenTPW/World/Guests/GuestSimulation.RainMood.cs:21 | [BIN:TPI-EXE:0x611334 modifier] the umbrella modifier (0x6111BE to 0x6111D3) belongs to the state the guest has when the rule starts (the switch's case 4), so umbrellaWasOpen is read before the umbrella step turns 1 into 4 or a due 3 into 4 |
| TPI-EXE:0x611334 umbrella switch | source/OpenTPW/World/Guests/GuestSimulation.cs:1204 | [BIN:TPI-EXE:0x611334 umbrella switch] the switch on the state reads it once at the top of the rule: only a guest who is already open (4) when the rule starts gets the happiness modifier, never one the step below opens (1 to 4 at 0x6111E3, a due 3 at 0x611206) |
| TPI-EXE:0x6114B0 minor decision | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncDecisions.cs:79 | [BIN:TPI-EXE:0x6114B0 minor decision] +0x204 0 returns; the target's back cell (0x5E0520) 0 returns; d0 its squared distance; x from −2 (outer), y from −2 (inner), four each, inside 0..0x7F and |
| TPI-EXE:0x6118D0 use routine | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:250 | [BIN:TPI-EXE:0x6118D0 use routine] 0x6118EC..0x611906 the history push; type +0x600 (Info.WhichUIType) 0, 1, 2 raise +0x1EC, +0x1F0, +0x1F4; 0x6126D0; 0x5E5DA0; 0x60D0D0(+0x1DC, −type +0x198 |
| TPI-EXE:0x6119A6 join happiness | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:297 | [BIN:TPI-EXE:0x6119A6 join happiness] the use routine's fare term reads +0x234 (byte(+0x1BC) − byte(+0x234)) × 3, as tp.exe's does from its own copy; the native use routine reads Word234, |
| TPI-EXE:0x611D20 history shift | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:273 | [BIN:TPI-EXE:0x611D20 history shift] [+0x214] = dword [+0x212] (the words a, b); word [+0x218] = word [+0x216], which the dword store has just made b; word [+0x212] = the argument 0 |
| TPI-EXE:0x611D60 history | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:264 | [BIN:TPI-EXE:0x611D60 history] a turn that is a multiple of 20 shifts a 0 into the four words +0x212..+0x218 (0x611D20) |
| TPI-EXE:0x611DA0 match step | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:407 | [BIN:TPI-EXE:0x611DA0 match step] 0x5E41D0(ride, 0) (the rating byte) 0 returns 0; d = |byte +0x2A8 − rating| (cdq/xor/sub); d < PerfectExcitementMatch: +0x2E0 += PerfectRide, g = PerfectRide; |
| TPI-EXE:0x6120C0 price rings | source/OpenTPW/Economy/ParkEconomy.cs:3135 | [BIN:TPI-EXE:0x6120C0 price rings] +0x5D8 (cheap), +0x660 (expensive) and +0x4C8 (declined) of the thing's history object (+0x130) each take one |
| TPI-EXE:0x6120C0 willingness | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:583 | [BIN:TPI-EXE:0x6120C0 willingness] a ride's willingness starts at Info.ExpectedPrice (25) scaled by the guest's happiness byte (0 here: x 100 / 100); the rig's ride rates 60 against the expected byte 70 of Theme Park Inc's PeepTypes table (distance 10), which raises it by 50 x 90 / 100 = 45 percent: 25 x 145 / 100 = 36 |
| TPI-EXE:0x6120C0 willingness | source/OpenTPW/World/Guests/ThemeParkIncPriceTest.cs:30 | [BIN:TPI-EXE:0x6120C0 willingness] base 0x6120CF..0x612142 (kind +0x600 == 2: goods 0x408A67 times win byte 0x401933 over 100, else type +0x88), the needs sum 0x612144..0x6121FD, S times the base over 100 (unsigned), times (the per-type word 0x404D77 +0xC, plus 100) over 100, times (h + 100) over 100 |
| TPI-EXE:0x6120FC willingness base | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:696 | [BIN:TPI-EXE:0x6120FC willingness base] Theme Park Inc's price test starts from the type's Info.ExpectedPrice (+0x88) for a ride or a shop; the key is absent in Theme Park World |
| TPI-EXE:0x612252 rating fit | source/OpenTPW/World/Guests/ThemeParkIncPriceTest.cs:43 | [BIN:TPI-EXE:0x612252 rating fit] with a nonzero rating byte (0x5E41D0 through 0x403062): the distance to the guest's expected byte, clamped to 100, raises the willingness by 50 · (100 − distance) / 100 percent |
| TPI-EXE:0x6122C4 statistics | source/OpenTPW/World/Guests/ThemeParkIncPriceTest.cs:82 | [BIN:TPI-EXE:0x6122C4 statistics] kind 2: 0x6122DB (category 0xA); kind 1: the ingredient jump table 0x6124A0 (type +0x218: 1..4 record in that category) then +0x21C 1, 2, 3 in 6, 7, 8 (0x6123B0..0x612426), each through the park (0x40144C) and the ring record 0x5AEDE0 |
| TPI-EXE:0x6123A0 expected byte | source/OpenTPW/World/Guests/GuestSimulation.cs:3261 | [BIN:TPI-EXE:0x6123A0 expected byte] a native guest's own +0x2A8 (the constructor's type draw); the Theme Park World rules' guests read their profile's |
| TPI-EXE:0x612430 decision | source/OpenTPW/World/Guests/ThemeParkIncPriceTest.cs:62 | [BIN:TPI-EXE:0x612430 decision] price above the willingness (ja) or the guest's cash below the price (jb) refuses: the expensive ring +0x660 rises, and +0x4C8 as well for an Info.WhichUIType 2 type (0x612473..0x612488); otherwise PcOfGoodPriceIsCheap percent of the willingness above the price raises the cheap ring +0x5D8 (0x612442..0x61245D) |
| TPI-EXE:0x61243A cash test | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:563 | [BIN:TPI-EXE:0x61243A cash test] the purse test applies to a ride with a fee in Theme Park Inc and to nothing else |
| TPI-EXE:0x61243A cash test | source/OpenTPW/Economy/ParkEconomy.cs:3055 | [BIN:TPI-EXE:0x61243A cash test] the price test refuses a guest whose purse (+0x1C0) is below the price (unsigned), before the use |
| TPI-EXE:0x61243A price refused | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:472 | [BIN:TPI-EXE:0x61243A price refused] the price test refuses a guest who cannot pay before the state-20 entry posts anything |
| TPI-EXE:0x6126D0 (called at 0x61193B inside 0x6118D0, from 0x619A8E) fare taken | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:424 | [BIN:TPI-EXE:0x6126D0 (called at 0x61193B inside 0x6118D0, from 0x619A8E) fare taken] the recorded fee (the thing's price, initially UsageInfo.InitPricePerUse) is credited to the bank at once and enters the object's takings; the price test refuses a purse below it (0x61243A) |
| TPI-EXE:0x6126D0 fare taken | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:476 | [BIN:TPI-EXE:0x6126D0 fare taken] the fee is recorded at the call and taken in the exit's payment step (0x61193B, inside 0x6118D0, from 0x619A8E) |
| TPI-EXE:0x6126D0 fare taken | source/OpenTPW/Economy/ParkEconomy.cs:2912 | [BIN:TPI-EXE:0x6126D0 fare taken] Theme Park Inc's paid use books its takings through 0x5E5DE0, which posts the challenge sale events |
| TPI-EXE:0x6126D0 fare taken | source/OpenTPW/Economy/ParkEconomy.cs:3036 | [BIN:TPI-EXE:0x6126D0 fare taken] the exit's payment step takes the recorded fee whenever it is above 0 (0x6126E3..0x61270A): the income booking 0x5E5DE0 credits the bank at once (0x5C0760), adds it to the object's takings and, for a shop, posts message 0xC; the guest's purse (+0x1C0) falls and its spent word (+0x1C4) rises, for every kind |
| TPI-EXE:0x6126D0 fare taken | source/OpenTPW/Economy/ParkEconomy.cs:3054 | [BIN:TPI-EXE:0x6126D0 fare taken] the use's payment step takes the fee the guest recorded when the attraction called it (+0x1B4, the thing's price +0x94 at 0x619670) whenever it is above 0: the income booking 0x5E5DE0 credits the bank at once (0x5C0760: balance += fee), adds it to the object's takings (+0x0, +0x6E8) and, for a shop, posts message 0xC; then the guest's purse (+0x1C0) falls and its spent word (+0x1C4) rises, for every kind |
| TPI-EXE:0x6126D0 fare taken | source/OpenTPW/World/Guests/GuestSimulation.cs:3855 | [BIN:TPI-EXE:0x6126D0 fare taken] the exit's payment step (called at 0x61193B inside 0x6118D0, reached from 0x619A8E before the exit state is entered): the recorded fee leaves the purse and the bank takes it, and the cost booking follows for a won play or a sale (0x6119A1); a use cut short never gets here |
| TPI-EXE:0x6126D0 payment step | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:296 | [BIN:TPI-EXE:0x6126D0 payment step] +0x1B4 above 0 (unsigned): 0x5E5DE0(fee), 0x60BE90(0xD0) (the till), +0x1C0 −= fee, +0x1C4 += fee; the fee word is not cleared |
| TPI-EXE:0x612740 guest outcome | source/OpenTPW.Files/Formats/Save/ThemeParkIncThingBodies.cs:453 | [BIN:TPI-EXE:0x612740 guest outcome] the attraction's info effects (keys ThirstEffect .. ToiletEffect at info +0x200, +0x204, +0x208 VomitEffect, +0x20c HappinessEffect, +0x210 LitterEffect, +0x214 ToiletEffect) add to illness (+0x1d4), happiness (+0x1bc), litter (+0x1d8) and toilet (+0x1d0), each clamped to 0..100; the shop types add the salt and fat effects to thirst (+0x1c8) and a drink to the toilet meter; the payment 0x6125b0 takes the price from mCash (+0x1c0) and adds it to mCashSpent (+0x1c4) |
| TPI-EXE:0x612740 outcome | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:321 | [BIN:TPI-EXE:0x612740 outcome] in this order: +0x2E4 = 1; a sideshow (+0x600 2): 0x5E60E0(+0x88), +0x1C0 += +0x88, +0x2DC += 50; a shop (1): 0x5E60E0(0x5E63E0); the match 0x611DA0 m, happiness |
| TPI-EXE:0x612740 use outcome | source/OpenTPW/Economy/ParkEconomy.cs:2917 | [BIN:TPI-EXE:0x612740 use outcome] Theme Park Inc's shop sale books its cost of goods (0x5E63E0, ThemeParkIncGoodsCost) through 0x5E60E0, which raises the object's daily cost ring (+0x88) and its month accumulator (+0x938) and debits nothing: the month message pays the accumulator with the running cost (ECON-060) |
| TPI-EXE:0x612740 use outcome | source/OpenTPW/Economy/ParkEconomy.cs:3037 | [BIN:TPI-EXE:0x612740 use outcome] then, for a guest whose +0x21B is set (a won sideshow, a shop's sale), the cost booking: a shop's goods (0x5E63E0) or a sideshow's prize (+0x88) through 0x5E60E0 (0x6119A1) |
| TPI-EXE:0x612789 sideshow cost | source/OpenTPW/Economy/ParkEconomy.cs:2977 | [BIN:TPI-EXE:0x612789 sideshow cost] a won play (the use outcome 0x612740 runs for +0x21B set) books the thing's +0x88 through 0x5E60E0, the month accumulator again (ECON-060) |
| TPI-EXE:0x6128E8 shop terms | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:344 | [BIN:TPI-EXE:0x6128E8 shop terms] thirst −= type +0x200, hunger −= +0x204 (0x60D0D0); the larger plays 0x83 (thirst) or 0x84 (hunger); illness, happiness and the mood += the thing's third byte |
| TPI-EXE:0x612AE0 small portion | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:359 | [BIN:TPI-EXE:0x612AE0 small portion] type +0x204 nonzero: R (0x612AEC), (R & 7) + +0x204 + the amount below 30 (unsigned): −SmallHappinessChange to happiness and the mood, the ring +0x550, +0x2D0 −= 30; |
| TPI-EXE:0x612C9D scaled happiness | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:365 | [BIN:TPI-EXE:0x612C9D scaled happiness] happiness and the mood += (type +0x20C × the amount) / 100 (signed, truncated) |
| TPI-EXE:0x612D3B special ingredient | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:369 | [BIN:TPI-EXE:0x612D3B special ingredient] the switch on type +0x218 (the table 0x6136EC): 1 toilet += ((FatEffect +0x22C) + 1) × amount / 100; 2 thirst += ((SaltEffect +0x228) + 1) × amount / 100; |
| TPI-EXE:0x612E89 appearance | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:457 | [BIN:TPI-EXE:0x612E89 appearance] 1 (0x6130B2): +0x2A0 = 0x690370(0xE, 0) (a draw), +0x294 = the model, +0x298 = clamp(byte +0x8C × [0x9D0610] / 100, [0x9D060C], [0x9D0610]); the analyser's +0x18; |
| TPI-EXE:0x612F58 costume bank | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:40 | [BIN:TPI-EXE:0x612F58 costume bank] a costume shop's guest reads the bank (+0x34, +0x30) it set: the costumes (category 6) or, once taken off, the kids' (category 0) |
| TPI-EXE:0x612FD7 relief | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:536 | [BIN:TPI-EXE:0x612FD7 relief] the thing's +0x3C (a primed toilet) nonzero: the prank's victim (0x5E78E0(2000), the prank message kind 2 with the prankster's id 0x613AF0, −BigHappinessChange, |
| TPI-EXE:0x612ea9 | source/OpenTPW.Tests/UmbrellasSimulationTests.cs:242 | [BIN:TPI-EXE:0x612ea9] state 3 first, then the sprite and state 4 only when +0x240 is 0 (cmp [esi+0x240],0; jne 0x612f0a): states 1 and 4 have a sprite, so a second purchase leaves them in 3 |
| TPI-EXE:0x612ea9 umbrella purchase | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:63 | [BIN:TPI-EXE:0x612ea9 umbrella purchase] AppearanceEffect 3 in the use routine: state 3, the colour from 0x690370 (one world draw), then only when no sprite exists (+0x240 == 0, else jne 0x612f0a) the sprite is created and the state is 4; the balloon is not touched |
| TPI-EXE:0x612ea9 umbrella purchase | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:274 | [BIN:TPI-EXE:0x612ea9 umbrella purchase] the use routine's AppearanceEffect 3 sets the state 3, draws the colour with 0x40a2b3(0x13, 0) = 0x690370 (world draw >> 2 modulo the bank's slots, 3), then creates the sprite and sets the state 4 |
| TPI-EXE:0x612ed0 sprite test | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:180 | [BIN:TPI-EXE:0x612ed0 sprite test] the purchase tests +0x240 (the sprite object), which exists exactly in these two states |
| TPI-EXE:0x613079 costume taken off | source/OpenTPW/World/Level.cs:844 | [BIN:TPI-EXE:0x613079 costume taken off] a guest whose costume came off is drawn with the bank (+0x34, +0x30) the use set: the kids' category 0 |
| TPI-EXE:0x613398 won play | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:391 | [BIN:TPI-EXE:0x613398 won play] +0x1F8 += 1; g = _ftol(ln(+0x88 / +0x94) / ln(2.0) × MediumHappinessChange) (fidiv, fyl2x, fdivp, fmulp at 24 bits); happiness and the mood += g |
| TPI-EXE:0x6133B7 won play gain | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:565 | [BIN:TPI-EXE:0x6133B7 won play gain] fild +0x88, fidiv +0x94 (rounded to 24 bits), fldln2/fyl2x (ln, extended), fldln2 with the double 2.0 (0x93B310)/fyl2x (ln 2, extended), fdivp (rounded to |
| TPI-EXE:0x613448 photo booth | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:397 | [BIN:TPI-EXE:0x613448 photo booth] the thing's photo booth word +0x3A (0x5E8EE0) nonzero scores the booth: (100 − the squared cell distance to its back cell, at most 100) × DistanceWeightForPhoto |
| TPI-EXE:0x61356E mood bands | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:581 | [BIN:TPI-EXE:0x61356E mood bands] fild VGood, fcomp the mood: below it (C0) the ring +0x2A8, the animation (umbrella +0x238 0 or 2: generation 0 → 5, 1 → 6 female or 7, 2 → 8 or 9, the bank's |
| TPI-EXE:0x613D00 balloon release | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:327 | [BIN:TPI-EXE:0x613D00 balloon release] +0x294 nonzero: 0x4E49A0 (the float-away) and +0x294 = 0, and with the argument nonzero the litter 0x5D8C80 of [0x9D0614 + 4 × +0x2A0] drops on the |
| TPI-EXE:0x613D37 balloon litter | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:332 | [BIN:TPI-EXE:0x613D37 balloon litter] the type by the colour +0x2A0 (0x9D0614: 9, 0xC, 0xB, 0xA); the drop (0x5D8C80) on a cell that holds no litter reseeds the world generator with the |
| TPI-EXE:0x613F18 reaction delay | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:411 | [BIN:TPI-EXE:0x613F18 reaction delay] rand() % [0xA01B64] (signed idiv; rand is 0..0x7FFF), then the balloon stretch, +0x23C = delay + (turn >> 2), +0x238 = the next state |
| TPI-EXE:0x613F40 balloon stretch | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:240 | [BIN:TPI-EXE:0x613F40 balloon stretch] +0x294 or +0x298 above 0, then +0x298 nonzero: k = +0x298 × 100 / [0x9D0610] (255); k nonzero: k = [0xA01B68] × k / 100 when [0xA01B68] is nonzero; delay += delay × k / 100 |
| TPI-EXE:0x613d00 release balloon | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:82 | [BIN:TPI-EXE:0x613d00 release balloon] the model (+0x294) is destroyed with the float-away effect, happiness falls by MediumHappinessChange (0xA01A7C, 15) through the clamped adder and the life +0x298 is cleared; the callers test "model or life above 0" |
| TPI-EXE:0x613ea0 reaction delay | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:225 | [BIN:TPI-EXE:0x613ea0 reaction delay] CRT rand() modulo SlowestWeatherChangeResponse (0xA01B64); with a balloon (+0x294 or +0x298) of life > 0: share = life * 100 / 255, x DiscardBalloonPctModifier / 100 when nonzero, delay += delay * share / 100 (unsigned); the due time is the clock >> 2 plus the delay |
| TPI-EXE:0x613ea0 schedule | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:167 | [BIN:TPI-EXE:0x613ea0 schedule] +0x38 and +0x3C zero (not inside) and not on a track cell, then the delay from rand() ([EXT:tpi-time-seeded-rand]), the balloon's lengthening, the due word +0x23C = (clock >> 2) + delay and the state written |
| TPI-EXE:0x613ea0 track-cell stand-down | source/OpenTPW.Tests/UmbrellaRulesTests.cs:216 | [BIN:TPI-EXE:0x613ea0 track-cell stand-down] 0x685680 accepts the record types 0xB, 0xC, 0x10, 0x11 and 0x67F890 ends on the track predicate 0x6856D0 (0xB, 0xD, 0x10, 0x12, 0x19), through the head for an extension |
| TPI-EXE:0x613ea0 track-cell stand-down | source/OpenTPW.Tests/UmbrellasSimulationTests.cs:459 | [BIN:TPI-EXE:0x613ea0 track-cell stand-down] the scheduling and the carrying out stand down on a kart or water track cell; [BIN:TPI-EXE:0x60aedc] the placement closes a shown umbrella there |
| TPI-EXE:0x613ea0 track-cell stand-down | source/OpenTPW/World/Level.cs:668 | [BIN:TPI-EXE:0x613ea0 track-cell stand-down] the scheduling and the carrying out of an umbrella change stand down on a kart or water track cell of the map's second layer (UMB-002) |
| TPI-EXE:0x613ea0 track-cell stand-down | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:196 | [BIN:TPI-EXE:0x613ea0 track-cell stand-down] both tests of the scheduling (0x67F890 through the tile record's first word, then through an extension's owner word to its head, ending in the track predicate 0x6856D0: types 0xB, 0xD, 0x10, 0x12, 0x19; and 0x685680 on the record of the same cell index: types 0xB, 0xC, 0x10, 0x11) must hold; the carrying out 0x614010 repeats them |
| TPI-EXE:0x614010 carry out | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:180 | [BIN:TPI-EXE:0x614010 carry out] not inside, the due word reached (clock >> 2 against +0x23C); state 1 sets 2 and destroys the sprite; otherwise the balloon is released through 0x613d00's body and the sprite is made, state 4 |
| TPI-EXE:0x614010 carry out | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:427 | [BIN:TPI-EXE:0x614010 carry out] not inside, not on a track cell, (turn >> 2) not below +0x23C; state 1 with the sprite +0x240: state 2 and the sprite destroyed; otherwise +0x294 set: the |
| TPI-EXE:0x61409c due test | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:260 | [BIN:TPI-EXE:0x61409c due test] (clock >> 2) below the due word +0x23C returns without a change |
| TPI-EXE:0x6142E0 umbrella put away | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:176 | [BIN:TPI-EXE:0x6142E0 umbrella put away] +0x240 (the sprite, held in states 4 and 1) destroyed: +0x238 = 2 |
| TPI-EXE:0x6142e0 close umbrella | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:176 | [BIN:TPI-EXE:0x6142e0 close umbrella] only while the sprite object +0x240 exists: state := 2 and the sprite is destroyed; the caller 0x61A7EA runs it for every nonzero state |
| TPI-EXE:0x614460 happiness loss | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:591 | [BIN:TPI-EXE:0x614460 happiness loss] byte [0xA01A78 + 4 × kind] for kinds 0..2 (0 otherwise), fild, fchs, fadds +0x1BC, clamped; 0x6143A0 the same without fchs |
| TPI-EXE:0x614720 catch test | source/OpenTPW/World/Guests/GuestSimulation.cs:1383 | [BIN:TPI-EXE:0x614720 catch test] a native Theme Park Inc guest answers by its own state word (ThemeParkIncGuestStates.IsCatchable) |
| TPI-EXE:0x614720 catch test | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestStates.cs:59 | [BIN:TPI-EXE:0x614720 catch test] eax = 1, then je to the 0 exit for the words 0, 1, 2, 3, 4, 5, 0xE, 0xF, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D |
| TPI-EXE:0x614830 state 27 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:516 | [BIN:TPI-EXE:0x614830 state 27] old = +0x2B4, +0x2B4 = old − 1, old below 0 (signed) sets 6: 101 waits, the 102nd update leaves |
| TPI-EXE:0x614A70 draw A | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:106 | [BIN:TPI-EXE:0x614A70 draw A] the first world draw of the handler, before anything is tested; A % 3, A % 100, A % 5 and A & 3 are its only uses; +0x1B8 = 0 (0x614A86) |
| TPI-EXE:0x614A75 mood | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:113 | [BIN:TPI-EXE:0x614A75 mood] turn − +0x230 above 100 (unsigned), the happiness byte above 80 and the umbrella state 0 or 2: the mood animation 0x60CDD0 through 0x60FB30, and return |
| TPI-EXE:0x614ACE vomit | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:119 | [BIN:TPI-EXE:0x614ACE vomit] the illness byte (fild) above 80.0 and equal to 100.0, and A % 3 == 0: the spot animation 0xC, the vomit 0x5D8C80(the cell's record, 7), the sound 0xCC for every |
| TPI-EXE:0x614B71 litter urge | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:129 | [BIN:TPI-EXE:0x614B71 litter urge] the litter byte at least 90 (jb): draw B, B & 3 nonzero leaves the block; the bin search 0x618D10(radius 3): a bin sets +0x204 and state 9 and returns; |
| TPI-EXE:0x614B84 litter gate | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:66 | [BIN:TPI-EXE:0x614B84 litter gate] (B & 3) != 0 leaves the block: no litter, no bin search, the urge kept, one draw taken |
| TPI-EXE:0x614B84 litter gate | source/OpenTPW/World/Guests/GuestSimulation.cs:2263 | [BIN:TPI-EXE:0x614B84 litter gate] draw B; (B & 3) != 0 leaves the block (jne 0x614C2B) with no litter and the urge (+0x1D8) kept |
| TPI-EXE:0x614B97 bin search | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:114 | [BIN:TPI-EXE:0x614B97 bin search] radius 3: the guest walks to the bin (dispatch 9), the urge kept until it gets there |
| TPI-EXE:0x614B97 bin search | source/OpenTPW/World/Guests/GuestSimulation.cs:2264 | [BIN:TPI-EXE:0x614B97 bin search] 0x618D10 with radius 3: a bin sets the target (+0x204) and dispatch index 9 and returns, the urge kept ([EXT:tpi-twp-guest-rules] the search, the walk to the bin |
| TPI-EXE:0x614C03 ordinary litter | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:84 | [BIN:TPI-EXE:0x614C03 ordinary litter] draw C, type C % 5 + 1, then the cell test: a free cell takes the drop (reseed and two draws) and the urge is 0 |
| TPI-EXE:0x614C03 ordinary litter | source/OpenTPW/World/Guests/GuestSimulation.cs:2266 | [BIN:TPI-EXE:0x614C03 ordinary litter] draw C, type C % 5 + 1 (0x93E2BC holds 6), then the cell record's type (+0x30) must be 0 or the drop and the urge's reset are skipped |
| TPI-EXE:0x614C2B leave gate | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:148 | [BIN:TPI-EXE:0x614C2B leave gate] the happiness byte 0, +0x1E0 at most 0 (signed) or 0x64FA30 nonzero: 0x614460(2), the bus stop walk with the mask retry and setter(0x16); the handler then |
| TPI-EXE:0x614C58 walk mask retry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:581 | [BIN:TPI-EXE:0x614C58 walk mask retry] call; on 0: +0x1A0 = 1; call again (also 0x615C92, 0x615EC7, 0x615F44, 0x6186CD); the second result is not read |
| TPI-EXE:0x614C7B show turn | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:166 | [BIN:TPI-EXE:0x614C7B show turn] 0x6193B0's id nonzero: dx = the show's cell x − the guest's, dy likewise, dx + dy == 0 (test; jbe, so only equality) goes on; else +0x2C = 0x91E074(−dx, dy) & 0xFFFF |
| TPI-EXE:0x614D41 entertainer reaction | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:198 | [BIN:TPI-EXE:0x614D41 entertainer reaction] 0x64EAC0 (the analyser) → 0x5B1B20(6, the guest's cell word, 1) zero goes to the prank gate; 0x619100's id, its record's +0x1B4 != 0x17 goes to the prank |
| TPI-EXE:0x614D9B performing | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:300 | [BIN:TPI-EXE:0x614D9B performing] the guest's reaction reads the member's state word +0x1B4 against 0x17 |
| TPI-EXE:0x614E56 prank gate | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:249 | [BIN:TPI-EXE:0x614E56 prank gate] the happiness byte at least PrankHappinessThreshold (0xA01B04, signed jge), or +0x29C nonzero, or A % 100 at least PrankLikelihood (0xA01B08, unsigned jb) with |
| TPI-EXE:0x614EC0 stinkbomb | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:265 | [BIN:TPI-EXE:0x614EC0 stinkbomb] A % 100 at least StinkbombLikelihood (0xA01B00, unsigned jae) goes to the decision; else the stinkbomb 0x5D8C80(the cell's record, 8), the sound 0xCF |
| TPI-EXE:0x614F14 prank tail | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:319 | [BIN:TPI-EXE:0x614F14 prank tail] the thought object takes thought 0x15 (0x638960(0x15, 0)), the message 0x436DD0 with the template 0x93E6B0 (the kind, the guest's id; the buffer 0xA09728 |
| TPI-EXE:0x614F8E litter prank | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:279 | [BIN:TPI-EXE:0x614F8E litter prank] type A % 5 + 1 (a literal 5), the drop 0x5D8C80(the cell's record, type), +0x1E4 = 0, setter(7) and the tail with kind 5; no prank code of the |
| TPI-EXE:0x614FE2 balloon to burst | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:306 | [BIN:TPI-EXE:0x614FE2 balloon to burst] the guest's cell's thing chain head first (+0x440, next +0xA): the first thing that is not the guest, of class 1 (a guest) and holding a balloon |
| TPI-EXE:0x61508B toilet prank | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:274 | [BIN:TPI-EXE:0x61508B toilet prank] +0x1D0 (the toilet meter) = 80.0f and +0x29C = 1, which shuts the prank gate for good; then the decision |
| TPI-EXE:0x6150AC bin prank | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:287 | [BIN:TPI-EXE:0x6150AC bin prank] the bin search 0x618D10 with radius 6 (its route requests included); a bin whose VAR_PRANKED (10, read again through 0x6B0740/0x6B0C90) is 0: +0x204 = |
| TPI-EXE:0x61515B whinging | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:299 | [BIN:TPI-EXE:0x61515B whinging] case 7 the same with setter(0x18), returning at 0x615188; neither draws, and neither reaches the decision |
| TPI-EXE:0x61519B rumours | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:298 | [BIN:TPI-EXE:0x61519B rumours] case 6: +0x1E8 = WhingeDuration (0xA01B0C), +0x2B0 = 0, setter(0x19), 0x60B6E0 (the stand animation 3 on the sprite), thought 0x12 and return (0x6151C8); |
| TPI-EXE:0x61523F idle decision | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:345 | [BIN:TPI-EXE:0x61523F idle decision] the table 0x615434: 0 and 2 0x615256, 1 0x6152D4, 3 0x615318 |
| TPI-EXE:0x615256 major decision | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:367 | [BIN:TPI-EXE:0x615256 major decision] the turn at most +0x224 + 30 (unsigned jbe) returns; else 0x610080, +0x204 nonzero sets 13 and returns; zero: the spot animation 4 with the umbrella |
| TPI-EXE:0x615272 ride chosen | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:371 | [BIN:TPI-EXE:0x615272 ride chosen] 0x610080 (ThemeParkIncMajorDecision, phase P3a), then +0x204 nonzero sets 13 and returns |
| TPI-EXE:0x6152D4 wander | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:351 | [BIN:TPI-EXE:0x6152D4 wander] 0x609F70 nonzero: setter(7) and return; zero: +0x224 = the turn |
| TPI-EXE:0x615318 CRT draws | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:358 | [BIN:TPI-EXE:0x615318 CRT draws] rand() (0x870D38) at least 0x3FFF (signed jge) returns; a second rand() at least 0x3FFF walks to another guest (0x6153B1: 0x619240's guest, its cell |
| TPI-EXE:0x615414 prank switch | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:251 | [BIN:TPI-EXE:0x615414 prank switch] S 0 0x614EC0 (stinkbomb), 1 0x61508B (toilet), 2 0x6150AC (a bin, state 10), 3 0x61511D (a plant, state 11), 4 0x614F8E (litter), 5 0x614FE2 (a balloon |
| TPI-EXE:0x6157D0 booth verdict | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:781 | [BIN:TPI-EXE:0x6157D0 booth verdict] GP = S (0x5B05D0, the park's excitement worked out longhand) / (N + R % (N / 2 + 1)) + MinimumEntryFee (unsigned, N = [0xA01A90]), AF = park +0x120 (the fee); |
| TPI-EXE:0x615A80 state 2 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:653 | [BIN:TPI-EXE:0x615A80 state 2] 0x650530 zero and 0x650130 == 3: "The bus is coming! RUUUUUUUUUUN!!!!" and index 2; else index 1 when the id's low two bits are 0, else 0; 0x60B3F0(index); |
| TPI-EXE:0x615B40 state 3 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:672 | [BIN:TPI-EXE:0x615B40 state 3] 0x64FA30 nonzero or 0x64FA50 != 1 go to 0x615C86: +0x228 nonzero is decremented; zero walks to the bus stop (0x615D50 with the mask retry), setter(0x16) and |
| TPI-EXE:0x615BEB booth scan | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:708 | [BIN:TPI-EXE:0x615BEB booth scan] ebx = id % [0xA025B4] (unsigned); for k below the count (signed): 0x5D79B0(ebx) against the cell word, a match: 0x60B7F0(that cell) and leave; else ebx ^= 1 |
| TPI-EXE:0x615D50 walk to the bus stop | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:571 | [BIN:TPI-EXE:0x615D50 walk to the bus stop] c0 = 0x5D79F0(0) (BusStopA); c0 + 1, c0 − 0x100 and c0 − 0xFF are computed and unused; R1 (0x615DF5) and R2 (0x615E02) low bytes are the x and y bytes; |
| TPI-EXE:0x615E90 state 4 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:731 | [BIN:TPI-EXE:0x615E90 state 4] +0x228 nonzero is decremented; else 0x6157D0's verdict through the table 0x615FEC: 0 the bus stop walk, thought 6, setter(0x16), +0x1E0 = 0; 1 +0x228 = R % 50 + 50, |
| TPI-EXE:0x615FA7 fee | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:759 | [BIN:TPI-EXE:0x615FA7 fee] 0x5C0E10 books the park's fee (+0x120 of the park record) with no refusal (IGuestPayments.PayThemeParkIncAdmission); +0x1C4 adds the fee booked |
| TPI-EXE:0x616790 state 5 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:812 | [BIN:TPI-EXE:0x616790 state 5] 0x64FA30 nonzero or 0x64FA50 != 1: the block 0x6168D6, then setter(3); else 0x60B440 nonzero returns; arrived: +0x200 = 0x650560(), the first hour's tips, setter(6) |
| TPI-EXE:0x6168D6 closed block | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:834 | [BIN:TPI-EXE:0x6168D6 closed block] i = id % [0xA025B4] (unsigned); for k below the count (signed): the cell word against 0x5D79B0(k); a match: 0x60B7F0(0x5D79B0(i)), nonzero leaves, else i ^= 1 |
| TPI-EXE:0x616AC0 state 13 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:191 | [BIN:TPI-EXE:0x616AC0 state 13] the target slot empty: +0x204 = 0, setter(6); 0x60B440; [ride+0x7C] (the open word) 0 or the walk 2: "stuck on their way", 0x614460(2), +0x204 = 0, setter(6); |
| TPI-EXE:0x616AFC arrival | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:253 | [BIN:TPI-EXE:0x616AFC arrival] the cell word 1 + x + (y << 7) against 0x5E0520: different, "The back of the queue has moved", 0x5E0520 again, 0 sets 6, else 0x60B7F0 keeps walking or sets 6 (the target |
| TPI-EXE:0x616D74 walking | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:217 | [BIN:TPI-EXE:0x616D74 walking] 0x64FA30 (the park closed): "The park has closed underneath me!", the stuck exit |
| TPI-EXE:0x616D8A shop gates | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:223 | [BIN:TPI-EXE:0x616D8A shop gates] the target's AppearanceEffect (type +0x21C) 1, a balloon shop, with the umbrella state 4 or 3, or 3, an umbrella shop, in weather other than 2, 3 and 4: +0x204 = 0 |
| TPI-EXE:0x616E02 walk count | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:232 | [BIN:TPI-EXE:0x616E02 walk count] the byte +0x40 counts the updates; above 11 it is 0 again and the minor decision 0x6114B0 runs: tp.exe's +0x2C and 0x004FD570 |
| TPI-EXE:0x616F10 state 9 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:553 | [BIN:TPI-EXE:0x616F10 state 9] 0x60B440 nonzero: 2 goes to 0x61706E (draw E, type E % 5 + 1, 0x5D8C80 on the cell's record, +0x1D8 = 0, setter(6)), else return; arrived with +0x204 zero: the |
| TPI-EXE:0x617017 bin drop | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:583 | [BIN:TPI-EXE:0x617017 bin drop] draw D (or E for a stuck walk), type D % ([0x93E2BC] − 1) + 1 |
| TPI-EXE:0x6176C0 state 14 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:316 | [BIN:TPI-EXE:0x6176C0 state 14] +0x204 0: "WARNING: Person standing in queue with no MajorDest", setter(6); the place +0x21B 0 with the call +0x220: 0x5E4670 (the ride's loading slot +0x80 is the |
| TPI-EXE:0x6177AB being loaded | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:343 | [BIN:TPI-EXE:0x6177AB being loaded] "Person %d being loaded to ride %d" and setter(0x10): the entry's mode 1 only (0x61A9E2) |
| TPI-EXE:0x6177B7 path removed | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:348 | [BIN:TPI-EXE:0x6177B7 path removed] 0x5E46A0 (the ride lets go of the admitted guest, tp.exe's 0x004E0AC0) and the exit; the bridge's LeaveQueue releases its loading slot |
| TPI-EXE:0x61788B worn relief | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:353 | [BIN:TPI-EXE:0x61788B worn relief] 0x5E3990: a relief thing (+0x42 bit 1) whose repair byte (+0x54) is below 25.0 (also a full or burning bin and a dry plant, which take no queue): thought 14 and |
| TPI-EXE:0x6178BE weather in the queue | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:407 | [BIN:TPI-EXE:0x6178BE weather in the queue] type +0x21C (AppearanceEffect) 3, the weather +0x70 of 0x64EB80 not 2, 3 or 4: 1 is 0x5E0100, 0x619700(1), 0x5E5D70 and setter(6) (0x617924); else +0x28C 0: |
| TPI-EXE:0x6179A8 lost place | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:366 | [BIN:TPI-EXE:0x6179A8 lost place] "Problem with a queue - shouldn't be fatal": the exit |
| TPI-EXE:0x617A2C move-up | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:372 | [BIN:TPI-EXE:0x617A2C move-up] +0x21C above 0 (unsigned) and the gap +0x21B − place at most 2 (unsigned): +0x21C −= 1; else 0x5E3950 (the ride's state 1, broken down) holds; else 0x619530, or |
| TPI-EXE:0x617A44 needs window | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:438 | [BIN:TPI-EXE:0x617A44 needs window] turn − +0x230 above 30 (unsigned): the happiness byte above 80: umbrella state 0 or 2, 0x60CDD0 and 0x60FB30; below 10: thought 11 and the exit; below 20: umbrella |
| TPI-EXE:0x617AE2 limit | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:384 | [BIN:TPI-EXE:0x617AE2 limit] the place above the limit 0x5DFE00 (unsigned): thought 16, 0x5E0100, 0x619700(0), 0x5E5D70, setter(6) and the history object's ring +0x550 |
| TPI-EXE:0x617B5E coaster or track | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:392 | [BIN:TPI-EXE:0x617B5E coaster or track] a coaster (type +0x14C 3, 0x5E80D0) that 0x485BB0 refuses, or a track ride of type 1 whose word +0x34 is 0: thought 13 and the exit (tp.exe 0x00500612) |
| TPI-EXE:0x617CBE queue exit | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:175 | [BIN:TPI-EXE:0x617CBE queue exit] 0x5E0100, 0x619700(0), 0x5E5D70 and setter(6) |
| TPI-EXE:0x617F80 state 16 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:38 | [BIN:TPI-EXE:0x617F80 state 16] 0x60B440: 2 logs "Got stuck in middle of very short queue step" and goes on as 0 (0x617F9F), any other nonzero returns (0x6181F4); edi = the slot of +0x204; |
| TPI-EXE:0x618079 armed weather reaction | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:63 | [BIN:TPI-EXE:0x618079 armed weather reaction] +0x28C == 1: a balloon (+0x294 nonzero, or +0x298 above 0) or a reaction due within 0.66 × SlowestWeatherChangeResponse quarter turns |
| TPI-EXE:0x6180FD admission | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:79 | [BIN:TPI-EXE:0x6180FD admission] 0x5E4420 (AdmitPerson: the ride broken (+0xA0 1 or 4) or closed (+0x7C 0) refuses; the loading slot +0x80 cleared; VAR_LETMEON busy refuses, else it takes the |
| TPI-EXE:0x6181B1 rejoin | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:86 | [BIN:TPI-EXE:0x6181B1 rejoin] 0x619530 (state 15) or "Couldn't rejoin FOQ even!": 0x5E0100, 0x619700(0), setter(6) |
| TPI-EXE:0x6182A0 forced onto the ride | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:132 | [BIN:TPI-EXE:0x6182A0 forced onto the ride] 0x5E4630 nonzero: 0x5E0100(id) and setter(0x14); 0x5E4630 is 0x6B0C90(VAR 0) != the head word +0x4C |
| TPI-EXE:0x618380 state 19 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:650 | [BIN:TPI-EXE:0x618380 state 19] 0x60B440: 2 sets +0x204 = 0 and 6; 1 returns; 0: +0x208 nonzero: +0x204 = it (+0x208 kept), a thing of class 3 (byte +2): 0x5E0520 nonzero and 0x60B7F0: "Lets go get a |
| TPI-EXE:0x618620 state 22 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:858 | [BIN:TPI-EXE:0x618620 state 22] +0x1E0 > 0 (signed), the happiness byte nonzero, 0x64FA30 zero and 0x60BE00: "Make up your mind!", +0x1A0 = 0, setter(6); else 0x60B440: 0 sets +0x2C (0x7FF when |
| TPI-EXE:0x618790 state 30 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:886 | [BIN:TPI-EXE:0x618790 state 30] 0x650130 == 4: +0x1E4 nonzero marks the tag system's records (0x64EA60 -> 0x636B10, the tag tube's refresh), 0x60B700(0x13, 0, 0) and the destroy 0x637C40; 1, 2 or 3: |
| TPI-EXE:0x618D10 bin search | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:480 | [BIN:TPI-EXE:0x618D10 bin search] the list (world +0x1EAB88, next +0x14); +0x42 bit 0x40; |dx|² + |dy|² below radius² (unsigned jae) and below the best (from 0xFFFFFFFF); the stand point 0x5E1300 |
| TPI-EXE:0x619100 entertainer finder | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:201 | [BIN:TPI-EXE:0x619100 entertainer finder] the entertainers' list (world +0x1EAB82, next +0x5D0), the squared cell distance (|dx|² + |dy|², no cap) below the best so far (unsigned, from 0xFFFFFFFF: |
| TPI-EXE:0x6193B0 show finder | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:168 | [BIN:TPI-EXE:0x6193B0 show finder] the object list (world +0x1EAB88, next +0x14); a thing with +0x42 bit 0x80 (UsageInfo.IsFireworks, type +0x1CC, 0x5DB75B) whose script variable 0 is 0; the squared |
| TPI-EXE:0x619530 find queue destination | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:121 | [BIN:TPI-EXE:0x619530 find queue destination] 0x5E0280 −1 returns 0; +0x21B = the place (a byte); 0x5E0C70 (the slot: tp.exe's 0x004DE7E0/0x004DE840 with the world draw R % 28 + 0x72 for the sideways |
| TPI-EXE:0x619640 standing at the front | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:507 | [BIN:TPI-EXE:0x619640 standing at the front] +0x2C0 == 0xE and +0x21B == 0 |
| TPI-EXE:0x619670 fee recorded | source/OpenTPW/Economy/GuestEconomyBridge.cs:73 | [BIN:TPI-EXE:0x619670 fee recorded] Theme Park Inc's boarding records the price and moves no money (SettlesAtExit) |
| TPI-EXE:0x619670 fee recorded | source/OpenTPW/Economy/ParkEconomy.cs:3003 | [BIN:TPI-EXE:0x619670 fee recorded] the attraction's call records the price (+0x1B4 of the guest, the thing's +0x94) and nothing is paid; the money moves in the exit's payment step (0x6126D0, called at 0x61193B inside 0x6118D0, reached from 0x619A8E just before the exit state 0x13 is entered) |
| TPI-EXE:0x619670 fee recorded | source/OpenTPW/World/Guests/GuestSimulation.cs:3653 | [BIN:TPI-EXE:0x619670 fee recorded] the fee is kept and the purse and the bank stay as they are until the exit (0x6126D0) |
| TPI-EXE:0x619670 on admittance | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:498 | [BIN:TPI-EXE:0x619670 on admittance] "Person %d: OnAdmittance": +0x220 = 1 and +0x1B4 = the ride's price word +0x94 (0x5E6200), the fee the use's payment step charges (0x6126D0) |
| TPI-EXE:0x619700 dismissal | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:141 | [BIN:TPI-EXE:0x619700 dismissal] "Person %d: dismissed from queue on ride %d"; the argument 0: (id & 7) == 0 plays 0x80 (0x60BE90 with [0xAE011C]) and 0x614460(1); then +0x2CE, +0x2CC, +0x28C, |
| TPI-EXE:0x6197F0 queue edited | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:524 | [BIN:TPI-EXE:0x6197F0 queue edited] "Queue edited underneath me": 0x5E0280 at least 4 × [+0x50] (unsigned) and the state not 0x11: "The queue was shortened", the id % 3 == 0 thinks 13, 0x5E0100, |
| TPI-EXE:0x619980 exit | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:208 | [BIN:TPI-EXE:0x619980 exit] +0x204 0 returns 1; "ExitRide, leaving ride %d"; 0x5E1440(1) (the exit's appear point) and 0x60BD80 (the teleport); the exit cell +0x48's link (0x65CC40, reversed by |
| TPI-EXE:0x619B50 pre-update | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:200 | [BIN:TPI-EXE:0x619B50 pre-update] 0x60BC90 first; the phase test at 0x619B89 (jne 0x619EC3) skips everything up to the thought object update 0x6388F0 at 0x619EBE |
| TPI-EXE:0x619BA3 exit counter | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:208 | [BIN:TPI-EXE:0x619BA3 exit counter] +0x1E0 -= 1 (a dword) |
| TPI-EXE:0x619BC7 cell words | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:210 | [BIN:TPI-EXE:0x619BC7 cell words] 0x5D7420(cell word) is the region grid's record (0x1C1104 + 10 × (word − 1)): the signed words +0, +2 and +4 are added to happiness, illness and hunger, each clamped |
| TPI-EXE:0x619CA0 growth | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:216 | [BIN:TPI-EXE:0x619CA0 growth] a turn with its low four bits clear: toilet +1, hunger +2, thirst +2 (floats 0x93A034, 0x93AD1C), each clamped |
| TPI-EXE:0x619D6D full needs | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:223 | [BIN:TPI-EXE:0x619D6D full needs] illness, hunger and thirst whose truncated byte is 100 each cost 1 happiness through 0x60D0D0 (the clamped adder) |
| TPI-EXE:0x619DBE toilet | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:230 | [BIN:TPI-EXE:0x619DBE toilet] a toilet byte above 80 costs 1 happiness and makes the speed term index 1; at 100 it costs 1 more, at 95 the thought object takes thought 4 (0x638960(4, 0)); |
| TPI-EXE:0x619E63 thought draw | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:245 | [BIN:TPI-EXE:0x619E63 thought draw] outside states 0x14 and 0x15 and on a park cell (0x60BE00): one world draw, R % 10 == 0 runs the pick 0x60FC60; then the balloon countdown 0x619E9E: |
| TPI-EXE:0x619EC3 queue words | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:258 | [BIN:TPI-EXE:0x619EC3 queue words] the state (the saved state during a spot animation) outside 14..17 clears the words +0x2CC and +0x2CE, on every turn |
| TPI-EXE:0x619FF0 dispatch | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:450 | [BIN:TPI-EXE:0x619FF0 dispatch] ja 0x61A3A0 for a word above 0x1E, else jmp [0x61A3A8 + 4 × state] |
| TPI-EXE:0x619c0e guest needs step | source/OpenTPW.Files/Formats/Save/ThemeParkIncThingBodies.cs:452 | [BIN:TPI-EXE:0x619c0e guest needs step] every 16th game tick the toilet meter (+0x1d0) rises by 1.0 and the hunger (+0x1cc) and thirst (+0x1c8) meters by 2.0; the cell's environment words add to illness (+0x1d4, cell word 2) and hunger (cell word 4); a meter at exactly 100 costs 1.0 happiness (0x619d73); the toilet meter above 80 costs happiness too (0x619dc4) |
| TPI-EXE:0x61A05C state 0 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:603 | [BIN:TPI-EXE:0x61A05C state 0] 0x60B440 nonzero returns; else +0x2C = 0x400, setter(1) |
| TPI-EXE:0x61A082 state 1 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:616 | [BIN:TPI-EXE:0x61A082 state 1] 0x6501D0 zero returns; R1 % [0xA025B4] (unsigned) picks the booth 0x5D79B0, R2 and R3 low bytes the point, 0x60B8E0 (result unread), setter(2) |
| TPI-EXE:0x61A179 state 7 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:534 | [BIN:TPI-EXE:0x61A179 state 7] 0x60B440: 0 or 2 go on, anything else returns; a draw with G & 3 nonzero, or 0x609F70 zero, go to 0x61A307 (setter(6)); else setter(7). Theme Park World's state 7 |
| TPI-EXE:0x61A1DB state 15 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncQueues.cs:488 | [BIN:TPI-EXE:0x61A1DB state 15] 0x60B440: 0 (0x61A1E6) and 2 (0x61A1F6) set 14; any other result returns (0x61A3A0) |
| TPI-EXE:0x61A21D admitted guest's list place | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1618 | [BIN:TPI-EXE:0x61A21D admitted guest's list place] a native Theme Park Inc guest leaves the list only by its own state 17 or the head step's force (0x5E0100 there) |
| TPI-EXE:0x61A21D state 17 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:118 | [BIN:TPI-EXE:0x61A21D state 17] 0x4F9420(+0x204); 0x5E4630 (VAR 0 against the head +0x4C) zero: nothing (0x61A3A0); else 0x5E0100(id) and setter(0x14) |
| TPI-EXE:0x61A292 state 20 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:197 | [BIN:TPI-EXE:0x61A292 state 20] 0x4F9420(+0x204), its result unread |
| TPI-EXE:0x61A307 state 23 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:512 | [BIN:TPI-EXE:0x61A307 state 23] setter(6): a frozen guest is idle on its next update; the saved state is not restored |
| TPI-EXE:0x61A382 state 8 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:480 | [BIN:TPI-EXE:0x61A382 state 8] the turn past +0x230 + 10 (unsigned) restores the saved state (0x60FC40 = setter(+0x2C4)) |
| TPI-EXE:0x61A3A0 states 28 and 29 | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:521 | [BIN:TPI-EXE:0x61A3A0 states 28 and 29] the table sends both to the return; no code writes either state (unreachable; guest-states-d.md §2) |
| TPI-EXE:0x61A540 setter | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:96 | [BIN:TPI-EXE:0x61A540 setter] +0x2C0 = state (0x61A550) before the bound test; a word above 0x1E returns with no entry (0x61AA49) |
| TPI-EXE:0x61A563 state 4 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:163 | [BIN:TPI-EXE:0x61A563 state 4 entry] for i below NumTicketBooths (signed): the guest's cell word against 0x5D79B0(i); a match sets +0x2C = [0xA02618 + 12i] and mode 3; no match changes nothing |
| TPI-EXE:0x61A5D2 state 3 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:108 | [BIN:TPI-EXE:0x61A5D2 state 3 entry] mode 3, then +0x228 = R % 150 + 200 (unsigned div) |
| TPI-EXE:0x61A606 state 14 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:119 | [BIN:TPI-EXE:0x61A606 state 14 entry] mode 3, +0x224 = the turn, +0x21C = _ftol(byte +0x21B × 1.2f) (the float 0x93E6F8 at 24-bit x87 precision, single-rounded, then truncated) |
| TPI-EXE:0x61A64D state 15 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:124 | [BIN:TPI-EXE:0x61A64D state 15 entry] 0x60B3F0(0) (the speed term 0), then mode 1 |
| TPI-EXE:0x61A66A state 17 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:147 | [BIN:TPI-EXE:0x61A66A state 17 entry] mode 3, then +0x21B = 0x5E7A00(the target), the ride's chance roll (phase P3b) |
| TPI-EXE:0x61A69D state 19 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:625 | [BIN:TPI-EXE:0x61A69D state 19 entry] the thing's +0x42 bit 0x20 clear: 0x5D1050 (the sprite destroyed); the sprite +0x14 0: 0x5D1000 (made again, the mode kept), else mode 1; +0x38 = +0x3C = 0; |
| TPI-EXE:0x61A70B placement | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:635 | [BIN:TPI-EXE:0x61A70B placement] 0x60AE00(0) comes before the beam (0x61A716): besides the drawing it raises the stamp counter (0x5D81F0 at 0x60AFFD) and clears the stranded mark +0x1B0 |
| TPI-EXE:0x61A77E state 20 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:157 | [BIN:TPI-EXE:0x61A77E state 20 entry] type +0x1C0 (UsageInfo.RequiresTeleport): 0x60B700(0x13, 0, 0), the arrival beam's particle; 0x638D10 (the thought object cleared); +0x294 or +0x298: type |
| TPI-EXE:0x61A867 admission events | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:360 | [BIN:TPI-EXE:0x61A867 admission events] |
| TPI-EXE:0x61A867 admission events | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:79 | [BIN:TPI-EXE:0x61A867 admission events] after its side effects the state-20 entry posts 0x5C8940(0x11, 1, ride +0x16, 0) (0x61A867), (0x34, 1, type, 0) (0x61A87F) and (0x3A, 1, type, 0) (0x61A897); then a |
| TPI-EXE:0x61A8A3 photo booth events | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:183 | [BIN:TPI-EXE:0x61A8A3 photo booth events] a type whose +0xCC (Info.IsPhotoBooth) is set posts 0x39 with the type of its host thing (+0x38, 0x5E4C90): OpenTPW places no add-on, so every admission |
| TPI-EXE:0x61A952 state 22 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:128 | [BIN:TPI-EXE:0x61A952 state 22 entry] +0x204 = 0 (a word), mode 1 |
| TPI-EXE:0x61A96F state 30 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:136 | [BIN:TPI-EXE:0x61A96F state 30 entry] a paid guest's stay, (turn − +0x1FC) >> 2 (0x6118A0) times 4, goes into the analyser's stay ring as days (0x64EAC0 -> 0x5AF080, the clock 0x608A90 |
| TPI-EXE:0x61A9AC state 8 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:115 | [BIN:TPI-EXE:0x61A9AC state 8 entry] +0x230 = the world turn; no mode |
| TPI-EXE:0x61A9C7 state 7 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:142 | [BIN:TPI-EXE:0x61A9C7 state 7 entry] +0xE8 nonzero: 0x60B8E0(+0x28, +0x2A), the walk to the target words again (its result unread); then mode 1 |
| TPI-EXE:0x61AA35 state 27 entry | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:132 | [BIN:TPI-EXE:0x61AA35 state 27 entry] mode 3, +0x2B4 = 100 |
| TPI-EXE:0x61AA54 setter entries | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestStates.cs:84 | [BIN:TPI-EXE:0x61AA54 setter entries] 0x61A9E2 (mode 1) for 0, 2, 5, 9, 13, 16 and 29; 0x61A998 (mode 3) for 1, 6 and 28; mode 3 also in 3 (0x61A5D2), 14 (0x61A606), 17 (0x61A66A), 27 (0x61AA35) |
| TPI-EXE:0x61AC40 queue predicate | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestStates.cs:73 | [BIN:TPI-EXE:0x61AC40 queue predicate] eax = +0x2C0, +0x2C4 when it is 8; 1 for 0xE <= eax <= 0x11 (signed jl/jg), else 0 |
| TPI-EXE:0x61B070 researcher constructor | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:32 | [BIN:TPI-EXE:0x61B070 researcher constructor] the hire constructor 0x626190 (kind 8: +0x1B4 = 0, +0x27E = 0, 0x62E240(0) leaves +0x274 = 0), +0x27C = 0, +0x5D0 = 0, 0x64F2B0 (the role list), template 3 |
| TPI-EXE:0x61B520 researcher destroy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:87 | [BIN:TPI-EXE:0x61B520 researcher destroy] 0x64F300, 0x609130, then with the lab 0x61E4E0 (the lab's active word from the researchers' list) |
| TPI-EXE:0x61B570 researcher message | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:357 | [BIN:TPI-EXE:0x637C40 thing destroy] [BIN:TPI-EXE:0x61B570 researcher message] [BIN:TPI-EXE:0x61DB90 room removed] |
| TPI-EXE:0x61B570 researcher message | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:184 | [BIN:TPI-EXE:0x61B570 researcher message] message 10 whose word +8 is +0x27C: state 24 -> 0x62DFC0 (the room left and 0x628180(0)); else +0x1B4 = 25 and +0x27C = 0; then 0x628180(0) and +0x1B4 = 0 in |
| TPI-EXE:0x61B620 researcher dispatch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:43 | [BIN:TPI-EXE:0x61B620 researcher dispatch] state <= 3 by the table 0x61B774 (0 0x61B73D, 1 0x61B63A, 2 0x629EF0, 3 0x62A1C0), others the common handler 0x6287A0 (24 0x6289BD, 25 0x62DCB0, 0x23 |
| TPI-EXE:0x61B63A state 1 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:56 | [BIN:TPI-EXE:0x61B63A state 1] a world draw for the voice 0xA8; the walk step: still walking takes the moving step 0x62B3E0; arrived or stuck: the gate 0x62BBA0, the tired test, the room |
| TPI-EXE:0x61B73D state 0 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:50 | [BIN:TPI-EXE:0x61B73D state 0] a world draw, its low nibble 0 plays the voice 0xA9; then the idle end 0x62CA10 (look for work 0x62D810) |
| TPI-EXE:0x61B820 researcher search | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:320 | [BIN:TPI-EXE:0x61B820 researcher search] [BIN:TPI-EXE:0x62DCB0 walk to room] [BIN:TPI-EXE:0x6289BD research in room] |
| TPI-EXE:0x61B820 researcher search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:92 | [BIN:TPI-EXE:0x61B820 researcher search] 0x62BBA0 nonzero returns; 0x62B3B0 ("Too tired to research") sets 0; the finder 0x62E0E0 ("Looking for Research Room .."): a room sets 25, none happiness |
| TPI-EXE:0x61BCE0 lab load | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:57 | [BIN:TPI-EXE:0x61BCE0 lab load] [BIN:TPI-EXE:0x57CB66 researched types] |
| TPI-EXE:0x61BCE0 lab load | source/OpenTPW/Economy/ThemeParkIncResearch.cs:479 | [BIN:TPI-EXE:0x61BCE0 lab load] the 256 project records (0x61F670), the seven category records (0x6202C0), mNumProjects, mWorkLoad, mMostExpensiveProject, mLabActive, pcurrentp (+0x14), scurrentp |
| TPI-EXE:0x61CBF0 obstacle project | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:252 | [BIN:TPI-EXE:0x61CBF0 obstacle project] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x61FE70 level project] |
| TPI-EXE:0x61CBF0 obstacle project | source/OpenTPW/Economy/ThemeParkIncResearch.cs:344 | [BIN:TPI-EXE:0x61CBF0 obstacle project] HasObstacle (0x5F0190); 0x5F01D0's type, obstacle word (!= 0) and state (== 1); the viewed zone 0x42A340: 0 type >= 0xE74, 1 type <= 0x708, 2 type 0xA8C..0xAF0 |
| TPI-EXE:0x61CBF0 obstacle research | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:239 | [BIN:TPI-EXE:0x61CBF0 obstacle research] the research lab adds a kind-5 project for the mission's obstacle (HasObstacle, a current obstacle thing, the zone's type range, obstacle state 1, |
| TPI-EXE:0x61D970 consultant pick | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:235 | [BIN:TPI-EXE:0x61D970 consultant pick] [BIN:TPI-EXE:0x576FE0 consultant role] |
| TPI-EXE:0x61D970 consultant pick | source/OpenTPW/Economy/ThemeParkIncResearch.cs:277 | [BIN:TPI-EXE:0x61D970 consultant pick] role = 0x576FE0(StaffRqd); 7 -> 0; the staff list (0x649060 first, 0x6490A0 next) over kinds 4, 5, 6, 8, 7, 0x14: StaffSA != 0 -> the first with +0x218 == SA |
| TPI-EXE:0x61DAD0 lab staff removed | source/OpenTPW/Economy/ThemeParkIncResearch.cs:294 | [BIN:TPI-EXE:0x61DAD0 lab staff removed] kind 8: each of the 20 words of both teams (+0x24, +0x4C) equal to the handle is cleared (the researcher's +0x274 is not touched); any other kind: each slot |
| TPI-EXE:0x61DB90 room removed | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:357 | [BIN:TPI-EXE:0x637C40 thing destroy] [BIN:TPI-EXE:0x61B570 researcher message] [BIN:TPI-EXE:0x61DB90 room removed] |
| TPI-EXE:0x61DB90 room removed | source/OpenTPW/Economy/ThemeParkIncResearch.cs:321 | [BIN:TPI-EXE:0x61DB90 room removed] the word +0x74 = 0; every member of both teams 0x62E240(T, 0) (a researcher: +0x27E = +0x274 = 0 only); both teams cleared |
| TPI-EXE:0x61DC20 lab message 0x21 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:201 | (vtable 0x93A304, type 0xA at 0x435840); [BIN:TPI-EXE:0x61DC20 lab message 0x21] a destroyed kind-3 thing with +0x43 & 2 runs 0x61DB90 |
| TPI-EXE:0x61DC20 lab message 0x27 | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:246 | [BIN:TPI-EXE:0x61DC20 lab message 0x27] the research lab hears the controller's status broadcast and runs its obstacle registration 0x61CBF0 again |
| TPI-EXE:0x61DCF9 researched message | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:157 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x5C07B0 bank debit] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x74D740 researched object] [BIN:TPI-EXE:0x61DE15 level append] |
| TPI-EXE:0x61DCF9 researched message | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:252 | [BIN:TPI-EXE:0x61CBF0 obstacle project] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x61FE70 level project] |
| TPI-EXE:0x61DCF9 researched message | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncResearch.cs:46 | [BIN:TPI-EXE:0x61DCF9 researched message] 0x43C700(type) (dropped); the career 0x74D740(type); category (+0xC) 5: message 0x23 with the current obstacle (0x4360C0(park+0x1EAB6E), 0x61DD86) to the queue; |
| TPI-EXE:0x61DD86 obstacle researched | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:192 | [BIN:TPI-EXE:0x61DD86 obstacle researched] the economy's completion of a category-5 project: the HQ rebuilds and the controller marks the research complete |
| TPI-EXE:0x61DE15 level append | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:157 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x5C07B0 bank debit] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x74D740 researched object] [BIN:TPI-EXE:0x61DE15 level append] |
| TPI-EXE:0x61DE15 level append | source/OpenTPW/Economy/ThemeParkIncResearch.cs:465 | [BIN:TPI-EXE:0x61DE15 level append] info = 0x43C700(type); 0x61FE70(&projects[count], info) true -> count + 1 |
| TPI-EXE:0x61E4E0 lab active | source/OpenTPW/Economy/ThemeParkIncResearch.cs:330 | [BIN:TPI-EXE:0x61E4E0 lab active] park+0x1EAB84 (the first researcher) != 0 -> 0x61E320 (0 -> 1 and message 0x435AF0(5)) else 0x61E400 (1 -> 0 and message 6); called by both researcher constructors |
| TPI-EXE:0x61E5E0 project progress | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:155 | [BIN:TPI-EXE:0x61E5E0 project progress] -1 gives 0, else progress × 100 / effort (100 at an effort of 0.1 or less), at most 100; a park without a lab has no project, so 0 |
| TPI-EXE:0x61E5E0 project progress | source/OpenTPW/Economy/ThemeParkIncResearch.cs:383 | [BIN:TPI-EXE:0x61E5E0 project progress] index < 0 answers 0; the percent of 0x620210 (cost <= 0.1f gives 100, else trunc(done × 100.0f / cost)), then at most 100 |
| TPI-EXE:0x61E6A0 lab project | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:300 | [BIN:TPI-EXE:0x61E6A0 lab project] slot 0 decides while it holds a project |
| TPI-EXE:0x61E6A0 lab project | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:244 | [BIN:TPI-EXE:0x61E6A0 lab project] slot 0's project index (+0x14) above -1 answers whether its object (+0x88 + 0x24 × i, ThemeParkIncLabProject.ObjectId) is the type; only an empty slot 0 lets |
| TPI-EXE:0x61E980 lab tick | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:86 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x61FF80 research advance] |
| TPI-EXE:0x61E980 lab tick | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:157 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x5C07B0 bank debit] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x74D740 researched object] [BIN:TPI-EXE:0x61DE15 level append] |
| TPI-EXE:0x61E980 lab tick | source/OpenTPW/Economy/ThemeParkIncResearch.cs:145 | [BIN:TPI-EXE:0x61E980 lab tick] (W+0x1EAB40) % 6 (signed idiv) != 0 returns; slot 0 then 1: p = +0x14[slot], p <= -1 skips; consultant word 0 with 0x576FE0(StaffRqd) != 7 skips; sum = 0.0f; |
| TPI-EXE:0x61EB30 obstacle project | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:154 | [BIN:TPI-EXE:0x61EB30 obstacle project] the research manager's first project of kind 5 whose progress is below its effort (stride 0x24 from +0x8C, count +0x24E8), or -1; |
| TPI-EXE:0x61EB80 team setter | source/OpenTPW/Economy/ThemeParkIncResearch.cs:234 | [BIN:TPI-EXE:0x61EB80 team setter] slot 0 the team +0x24, slot 1 +0x4C, any other slot nothing; the old entries' +0x274 = 0, the 20 words copied, each new id's +0x274 = 1; answers 1 |
| TPI-EXE:0x61EFA0 project setter | source/OpenTPW/Economy/ThemeParkIncResearch.cs:253 | [BIN:TPI-EXE:0x61EFA0 project setter] slot 1 -> +0x18 = p, else +0x14 = p; then 0x42A3B0()->+0x29 = 0 (a career byte whose meaning is unread, not modelled) |
| TPI-EXE:0x61F560 slot clear | source/OpenTPW/Economy/ThemeParkIncResearch.cs:265 | [BIN:TPI-EXE:0x61F560 slot clear] +0x14[slot] = -1, +0x1C[slot] = 0, 0x61F590(slot) |
| TPI-EXE:0x61F590 team release | source/OpenTPW/Economy/ThemeParkIncResearch.cs:218 | [BIN:TPI-EXE:0x61F590 team release] slot 0 the team at +0x24, any other slot the one at +0x4C: each id's +0x274 = 0 and the entry cleared |
| TPI-EXE:0x61FE70 level project | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:252 | [BIN:TPI-EXE:0x61CBF0 obstacle project] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x61FE70 level project] |
| TPI-EXE:0x61FE70 level project | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:289 | [BIN:TPI-EXE:0x61FE70 level project] every shipped Upgrades[n].CashPerBrainPoint is 0: the original calls rand() and drops it (0x61FF1A), the project costs 1 cash a point, no draw is taken |
| TPI-EXE:0x61FE70 level project | source/OpenTPW/Economy/ThemeParkIncResearch.cs:441 | [BIN:TPI-EXE:0x61FE70 level project] info +0x254 == 4 or LinkedWith != 0: none; for L = control +0x14 + 1 while L < 3: Upgrades[L].CostOfResearch (+0x270 + 0x48 L) > 0 makes the project, else control |
| TPI-EXE:0x61FF80 research advance | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:86 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x61FF80 research advance] |
| TPI-EXE:0x61FF80 research advance | source/OpenTPW/Economy/ThemeParkIncResearch.cs:189 | [BIN:TPI-EXE:0x61FF80 research advance] !(done < cost): 0x61F590(slot), return; !(points + done <= cost): points = (float)(cost - done); done = (float)(points + done); cash = trunc((ld)(int) |
| TPI-EXE:0x61a540 inside words | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:112 | [BIN:TPI-EXE:0x61a540 inside words] state 0x14 (the entry, 0x61A7FB) sets +0x3C to 1 for every attraction and +0x38 to 1 for a type whose thing flag +0x42 has 0x20, which the thing builder 0x5DB708 sets for a type with a nonzero word at +0x1C4 (the key RideHandlesSprite in the key table order); state 0x13 (the exit, 0x61A6E4..0x61A6EE) clears both; the scheduling 0x613EA0 and the carrying out 0x614010 stand down when either is set |
| TPI-EXE:0x61a7b5 enter attraction | source/OpenTPW/World/Guests/GuestSimulation.Umbrellas.cs:95 | [BIN:TPI-EXE:0x61a7b5 enter attraction] with a balloon: an umbrella shop (type +0x21C == 3) calls 0x613d00, any other attraction puts the model away; then a nonzero umbrella state calls 0x6142e0, which closes it only while its sprite exists |
| TPI-EXE:0x61b3c0 researcher load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:223 | [BIN:TPI-EXE:0x61b3c0 researcher load] case 8 at 0x64cada (thunk 0x4032c4): the staff base, mNext |
| TPI-EXE:0x61bce0 research lab load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:361 | [BIN:TPI-EXE:0x61bce0 research lab load] case 14 at 0x64d21d (thunk 0x4016cc, object 0x2508 bytes): thing base, 256 projects of 32 bytes (0x61f670), seven research groups of 13 bytes (0x6202c0), the workload counters and the primary and secondary assignment: 8,414 bytes |
| TPI-EXE:0x620210 percent done | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:404 | [BIN:TPI-EXE:0x574D00 project filter] [BIN:TPI-EXE:0x575F98 new project] [BIN:TPI-EXE:0x620210 percent done] |
| TPI-EXE:0x620210 percent done | source/OpenTPW/Economy/ThemeParkIncResearch.cs:372 | [BIN:TPI-EXE:0x620210 percent done] cost <= 0.1f answers 100, else trunc(done × 100.0f / cost) (flds, fmuls, fdivs, 0x86FAB0), each operation rounded to a single at the control word 0x7F (Tick) |
| TPI-EXE:0x620870 shares constructor | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:26 | [BIN:TPI-EXE:0x620870 shares constructor] [0xAA0128] = a 0x48-byte owner record (+0 mNumberOwned, +4 mPctCompanySharesOwned, +8 a name copied from 0xA0B714, ""), [0xAA012C] = a 0x44-byte company |
| TPI-EXE:0x620930 shares init | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:97 | [BIN:TPI-EXE:0x620930 shares init] logs "### Shares Game Init! ###"; owner +0 == -1 and [0xA0216C] > 0: +0 = it; +0 > 0 and [0xA02168] > 0 (signed): +4 = +0 × 100 / [0xA02168] (cltd, idivl); |
| TPI-EXE:0x620987 company name | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:50 | [BIN:TPI-EXE:0x620987 company name] the start-up formats entry 0xAC of the TAG_SYSTEM table ([0xA0D5F8]) into an empty name |
| TPI-EXE:0x620987 name format | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:170 | [BIN:TPI-EXE:0x620987 name format] an empty mCompanyName (wcslen 0x86FEE7 == 0) is formatted in place from TAG_SYSTEM entry 0xAC with the limit 0x1E (0x8934A0); the writer does the same at 0x620CEF |
| TPI-EXE:0x620A30 shares write | source/OpenTPW/Economy/ThemeParkIncSession.cs:77 | [BIN:TPI-EXE:0x621210 shares reset] *obj (0x48 bytes) = (-1, -1, L"" copied from 0xA0B714), obj[1] (0x44) = (-1, L""), the three slot pointers 0; [BIN:TPI-EXE:0x620A30 shares write] |
| TPI-EXE:0x620A30 shares write | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:161 | [BIN:TPI-EXE:0x620A30 shares write] per slot 0..2: the present word (1 or 0), then year +4, +8, +0xC, +0x10 and the doubles +0x18, +0x20 (36 zero bytes for a null slot); then +0 and +4 of the owner, |
| TPI-EXE:0x620CEF company name | source/OpenTPW/Economy/ThemeParkIncCareer.cs:721 | [BIN:TPI-EXE:0x620CEF company name] the shares writer formats TAG_SYSTEM entry 0xAC (limit 0x1E) into an empty mCompanyName before it writes it |
| TPI-EXE:0x620CFB company name | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:109 | [BIN:TPI-EXE:0x620CFB company name] the shares writer formats TAG_SYSTEM's entry 0xAC into an empty company name |
| TPI-EXE:0x620E30 shares load | source/OpenTPW/Economy/ThemeParkIncCareer.cs:771 | [BIN:TPI-EXE:0x620E30 shares load] a stopped load leaves the reset's shares; the start-up's defaults (0x622060, 0x6223D0) come with the park (ThemeParkIncSharesGame.Initialize) |
| TPI-EXE:0x620E30 shares load | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:181 | [BIN:TPI-EXE:0x620E30 shares load] each present slot is rebuilt (two 0x30 records: the report and its empty delta), then the owner's two words, the name and the price; 0x622060 and 0x6223D0 follow |
| TPI-EXE:0x621210 shares reset | source/OpenTPW/Economy/ThemeParkIncSession.cs:77 | [BIN:TPI-EXE:0x621210 shares reset] *obj (0x48 bytes) = (-1, -1, L"" copied from 0xA0B714), obj[1] (0x44) = (-1, L""), the three slot pointers 0; [BIN:TPI-EXE:0x620A30 shares write] |
| TPI-EXE:0x621210 shares reset | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:82 | [BIN:TPI-EXE:0x621210 shares reset] the owner record (-1, -1, L"" from 0xA0B714) and the company record (-1, L"") are rebuilt and the three slot pointers cleared |
| TPI-EXE:0x62191F report price | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:157 | [BIN:TPI-EXE:0x62191F report price] after the score (0x62191A -> 0x621F50): price = [[+4]]; price != 0 and score != 0: price + price × score / 100 (idiv), stored when above 0; then 0x582780 |
| TPI-EXE:0x621CE0 add shares | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:116 | [BIN:TPI-EXE:0x621CE0 add shares] n > 0 (signed): owner +0 += n, +4 = +0 × 100 / [0xA02168] (cltd, idivl, 32-bit products); then the panel's dirty flag 0x582780 (presentation) |
| TPI-EXE:0x621D30 price effect | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:131 | [BIN:TPI-EXE:0x621D30 price effect] price = [[0xAA012C]]; price == 0 or n == 0: return; imul price × n (32 bits), × 0x51EB851F, sar 5 plus the sign bit (÷ 100 toward zero), added to the price; |
| TPI-EXE:0x621F50 report score | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:147 | [BIN:TPI-EXE:0x621F50 report score] the delta record (slot +0x28): +0x18 (double) > 0 adds 1, < 0 (or unordered) takes 1; +8 (int) > 0 / < 0; +0x20 (double); +0xC (int); +0x10 (int); clamped to 3 |
| TPI-EXE:0x622060 load percentage | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:99 | [BIN:TPI-EXE:0x622060 load percentage] [BIN:TPI-EXE:0x6223D0 load company] the load 0x620E30 ends with the same three steps |
| TPI-EXE:0x6220D0 holding value | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:76 | [BIN:TPI-EXE:0x6220D0 holding value] owned == -1 answers -1; [0xAA012C]'s price == -1 answers -1; else imul owned × price |
| TPI-EXE:0x6223D0 load company | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:99 | [BIN:TPI-EXE:0x622060 load percentage] [BIN:TPI-EXE:0x6223D0 load company] the load 0x620E30 ends with the same three steps |
| TPI-EXE:0x622450 company name | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:67 | [BIN:TPI-EXE:0x622450 company name] an empty mCompanyName (wcslen 0x86FEE7) is first formatted from TAG_SYSTEM entry 0xAC (0x8934A0 with the limit 0x1E), then returned |
| TPI-EXE:0x622800 map flags constructor | source/OpenTPW/Economy/ThemeParkIncSession.cs:22 | [BIN:TPI-EXE:0x622800 map flags constructor] 22 entries less the five kinds the byte map 0x622904 skips: n = 17, every flag byte 0, +0x118 and the three dwords 0 |
| TPI-EXE:0x622D70 map flags read | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:331 | [BIN:TPI-EXE:0x622D70 map flags read] u32 n into the object's first word, n bytes at +0xC + 12i, the byte +0x118 and the dwords +0x13C, +0x144, +0x14C; the object holds 22 entries |
| TPI-EXE:0x623DC0 record builder | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:71 | [BIN:TPI-EXE:0x623DC0 record builder] the Log Mill's SkillSet[4].Num 1 and SkillSet[13].Num 1: a mechanic in Tunnelling (5) and a gardener in Logging (14) |
| TPI-EXE:0x623DC0 record builder | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:63 | [BIN:TPI-EXE:0x623DC0 record builder] +0xF0 = the thing id (0 ends here); for n = 0..13 the dword +0x380 + 4n of the type record (SkillSet[n].Num), when above 0 (signed jle), appends that many |
| TPI-EXE:0x623DC0 skill sets | source/OpenTPW/Economy/EconomyObjectCatalog.cs:211 | [BIN:TPI-EXE:0x623DC0 skill sets] the special-ride record builder reads the type record's fourteen dwords +0x380 + 4n, the SkillSet[n].Num keys (key table entry 195, an array of 14 after |
| TPI-EXE:0x623EE0 find record | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:84 | [BIN:TPI-EXE:0x623EE0 find record] the records 0..count-1 by their word +0xF0; the first equal one |
| TPI-EXE:0x623FB0 assign | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:93 | [BIN:TPI-EXE:0x623FB0 assign] the first record on owned land, the staff type and the ability compared |
| TPI-EXE:0x623FB0 assign | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:127 | [BIN:TPI-EXE:0x623FB0 assign] for each record with +0xF0 != 0 whose thing's square (bytes +5, +7) lacks flag 0x40 (0x67ECA0, unowned land): each slot with word +8 == 0, +0 == 0x62AF70(member) (the |
| TPI-EXE:0x623e82 unused slot | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:220 | [BIN:TPI-EXE:0x6244b0 special rides loader] per slot AllSpecialRidesThingId (u16), AllSpecialRidesAbility (u32), AllSpecialRidesType (u32); [BIN:TPI-EXE:0x623e82 unused slot] the builder's unused slots are type 7, ability 0, thing id 0 |
| TPI-EXE:0x6240C4 activation advice | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:64 | [BIN:TPI-EXE:0x6240C4 activation advice] a slot taken whose ride 0x6243C0 now answers true posts the advisor's 0x21F (a type whose object record +0x10 is 0x488) or 0x1E7 (0x71A930 -> 0x718820) |
| TPI-EXE:0x6241B0 unassign | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:105 | [BIN:TPI-EXE:0x6241B0 unassign] the first slot holding him in a record on owned land |
| TPI-EXE:0x6241B0 unassign | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:155 | [BIN:TPI-EXE:0x6241B0 unassign] for each record with +0xF0 != 0 whose thing's square lacks flag 0x40: the first of the 20 slots whose word +8 is the id is cleared and the walk ends; the type and the |
| TPI-EXE:0x624280 record emptied | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:134 | [BIN:TPI-EXE:0x5E8910 activated flags] [BIN:TPI-EXE:0x624280 record emptied] |
| TPI-EXE:0x624280 record emptied | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:182 | [BIN:TPI-EXE:0x5E8910 activated flags] +0x12D = 1 and +0x12C = 1; [BIN:TPI-EXE:0x624280 record emptied] every record whose +0xF0 is the thing id is rebuilt with id 0 (0x623DC0(0) stores the 0 |
| TPI-EXE:0x6242F0 not pending | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:88 | [BIN:TPI-EXE:0x6242F0 not pending] false when a record's +0xF0 is the thing id, else true; the object click (0x5036DC) opens the activation window instead of the ride window when it is false |
| TPI-EXE:0x624330 abilities known | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:127 | [BIN:TPI-EXE:0x624330 abilities known] |
| TPI-EXE:0x624330 abilities known | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:109 | [BIN:TPI-EXE:0x624330 abilities known] the records whose +0xF0 is the thing id: each slot up to the first of type 7 asks 0x5F0370(+4), the career's +0x1064[ability]; the first unknown answers false; |
| TPI-EXE:0x6243C0 can activate | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:118 | [BIN:TPI-EXE:0x6243C0 can activate] |
| TPI-EXE:0x6243C0 can activate | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:103 | [BIN:TPI-EXE:0x6243C0 can activate] the debug toggle 0xAA0720 (the debug menu's 0x537879, 0 in play) answers true; no record false; the career's tickets (0x5F05E0, +0x1074) below the type's |
| TPI-EXE:0x6244B0 special rides load | source/OpenTPW/Economy/ParkSaveFile.cs:1648 | [BIN:TPI-EXE:0x6244B0 special rides load] the World's tail restores the table after the things; a Theme Park Inc save with staff and without it was refused (ValidateEdition) |
| TPI-EXE:0x6244B0 special rides table | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:25 | [BIN:TPI-EXE:0x6244B0 special rides table] the World's tail holds mNumSpecialRides and per record SpecialRideThingId and 20 × (AllSpecialRidesThingId, AllSpecialRidesAbility, AllSpecialRidesType): |
| TPI-EXE:0x6244b0 special rides loader | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:220 | [BIN:TPI-EXE:0x6244b0 special rides loader] per slot AllSpecialRidesThingId (u16), AllSpecialRidesAbility (u32), AllSpecialRidesType (u32); [BIN:TPI-EXE:0x623e82 unused slot] the builder's unused slots are type 7, ability 0, thing id 0 |
| TPI-EXE:0x6244b0 special rides loader | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:261 | [BIN:TPI-EXE:0x6244b0 special rides loader] mNumSpecialRides is read into the global 0xaa071c and the loop runs by that global, so by the saved count (a count of 0 or below reads none); the table it fills (0xaa0330, 0xf4 bytes per record) holds four records before its own count word (inside the fifth record), so a larger count is refused here: the original would overwrite the count while reading |
| TPI-EXE:0x624701 special rides load | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:223 | [BIN:TPI-EXE:0x624701 special rides load] the loader reads SpecialRideThingId, rebuilds the record from its type (0x623DC0) and then overwrites all 20 slots with the saved ones, so the saved slots stand |
| TPI-EXE:0x624701 special rides load | source/OpenTPW/World/Level.Staff.cs:379 | [BIN:TPI-EXE:0x624701 special rides load] the World's tail brings the special-ride table after the things; [BIN:TPI-EXE:0x5DC430 attraction serializer] each attraction its mBeenActivated |
| TPI-EXE:0x626190 staff hire | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:7 | [BIN:TPI-EXE:0x626190 staff hire] the member constructor copies the candidate's salary to +0x214, its experience to +0x210 and its agency to +0x244 (0x6261DA..0x626205); both |
| TPI-EXE:0x626390 member start | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:340 | [BIN:TPI-EXE:0x626390 member start] the meters 100.0, +0x23C = 0, the patrol rectangle (0, 0, 0x7F, 0x7F) at +0x24C, 0x60B3F0(0), +0xD4 = lerp(exp, 0, MaxExperience, 100, 100 + MaxSpeedDifference) |
| TPI-EXE:0x6265DE staff payday | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:351 | [BIN:TPI-EXE:0x626624 staff day] [BIN:TPI-EXE:0x6265DE staff payday] |
| TPI-EXE:0x6265DE staff payday | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:282 | [BIN:TPI-EXE:0x6265DE staff payday] [BIN:TPI-EXE:0x628CA0 staff day] [BIN:TPI-EXE:0x436E97 message order] |
| TPI-EXE:0x6265DE staff payday | source/OpenTPW/Economy/ParkEconomy.cs:1639 | [BIN:TPI-EXE:0x6265DE staff payday] each member's month message debits its salary through the bank (0x64EBE0 -> 0x5C07B0: the balance, the red stamp and the wage total, with the |
| TPI-EXE:0x6265DE staff payday | source/OpenTPW/Economy/ThemeParkIncStaff.cs:400 | [BIN:TPI-EXE:0x6265DE staff payday] message 0x0C: the member's own salary (+0x214) goes to the bank's debit (0x64EBE0 -> 0x5C07B0) and the park's wage total (+0x1FA58), |
| TPI-EXE:0x626624 staff day | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:351 | [BIN:TPI-EXE:0x626624 staff day] [BIN:TPI-EXE:0x6265DE staff payday] |
| TPI-EXE:0x626624 staff day | source/OpenTPW/Economy/ParkEconomy.cs:508 | [BIN:TPI-EXE:0x626624 staff day] the day message (0x0B, broadcast by the calendar 0x6084FA after the thing loop and the pool update) runs every member's daily routine 0x628CA0 (the experience |
| TPI-EXE:0x626638 rest area removed | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:239 | [BIN:TPI-EXE:0x626638 rest area removed] walking to it: +0x248 = 0 and state 0 |
| TPI-EXE:0x626638 rest area removed | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:186 | [BIN:TPI-EXE:0x626638 rest area removed] the same message 0xA reaches every member's base handler, which compares the thing with his rest area (+0x248) |
| TPI-EXE:0x626638 rest area removed | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:217 | [BIN:TPI-EXE:0x626638 rest area removed] message 0xA whose word +8 is +0x248: state 3 -> the rest end 0x62C230, the finder 0x62BA20 (the removed thing is off the list by then), 0x62EAC0 to the |
| TPI-EXE:0x626638 room removed | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:163 | [BIN:TPI-EXE:0x626638 room removed] [BIN:TPI-EXE:0x62E7A0 training cancel] |
| TPI-EXE:0x626638 room removed | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:216 | [BIN:TPI-EXE:0x626638 room removed] the staff message 0xA: a thing that is not the member's rest area (+0x248), of kind 3 with +0x43 & 4 (a training room), and a member in state 7 or 8 runs 0x62E7A0 |
| TPI-EXE:0x6267c0 staff load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:69 | [BIN:TPI-EXE:0x6267c0 staff load] after the person: salary, two stats written as floats truncated to a byte (pv, members +0x230 and +0x234), jobs done, the inline name of 33 UTF-16 units, rest area, the states, the hire time stamp, experience, a third stat (pv, +0x238), the abilities, the tick counters, the wage demand, six history rings (serializer 0x62f2b0) and the patrol rectangle |
| TPI-EXE:0x628050 day counters | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:133 | [BIN:TPI-EXE:0x628050 day counters] once per update, by the display state (0x62B010, table 0x628114): idle +0x28C, looking for work +0x284, working +0x280, resting +0x288, |
| TPI-EXE:0x628050 staff pre-update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:525 | [BIN:TPI-EXE:0x628050 staff pre-update] 0x60BC90 (the speed words' smoothing and the walk's caps), the thought check on the member's phase, then one tick of the display state's day counter |
| TPI-EXE:0x628180 staff state setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:806 | [BIN:TPI-EXE:0x628180 staff state setter] the byte table 0x62862C and the jump table 0x6285E8: 0 (and 0x23): +0x23C = the turn after state 1, else 0, then 0x60B3F0(0) and template 3 (0x60B6E0); |
| TPI-EXE:0x628180 state 24 entry | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:130 | [BIN:TPI-EXE:0x628180 state 24 entry] +0x278 = the world tick; 0x638D10 (the thought stops, presentation); 0x5D1050 deletes the sprite source |
| TPI-EXE:0x628180 state 25 entry | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:126 | [BIN:TPI-EXE:0x628180 state 25 entry] 0x638960(0x1B, 0) (presentation); template 1 (0x5D1000 without a handle, else 0x5D0F90(1)) |
| TPI-EXE:0x628246 strike walk setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:847 | [BIN:TPI-EXE:0x628246 strike walk setter] 4: 0x60B3F0(1) (the speed bonus 25) and template 0xF |
| TPI-EXE:0x628259 striking setter | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:852 | [BIN:TPI-EXE:0x628259 striking setter] 5: the sprite angle +0x2C = 0, 0x60B3F0(0) and template 0x1B; Theme Park World's state 5 clears its angle alike (the heading sector 4, towards -Y) |
| TPI-EXE:0x628492 state 7 entry | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:120 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62A7C0 walk to training] [BIN:TPI-EXE:0x62AB90 training finish] |
| TPI-EXE:0x628492 state 7 entry | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:326 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62EB10 staff route] [BIN:TPI-EXE:0x60B7F0 cell steer] |
| TPI-EXE:0x628492 state 7 entry | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:80 | [BIN:TPI-EXE:0x628492 state 7 entry] room = 0x639AA0, c = its word +0x46; the staff route 0x62EB10 to ((c - 1) & 0x7F, (c - 1) >> 7) + 0.5 in 8.8; a refused route sets +0x1A0 = 1 and calls |
| TPI-EXE:0x62852A state 8 entry | source/OpenTPW/Economy/ThemeParkIncTraining.cs:109 | [BIN:TPI-EXE:0x62852A state 8 entry] +0x22C == 0: the cancel 0x62E7A0 (and the state still becomes 8); else experience >= 10000 (unsigned): +0x220 = +0x22C, +0x224 = 0; else both kept |
| TPI-EXE:0x62852A state 8 entry | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:101 | [BIN:TPI-EXE:0x62852A state 8 entry] the thought stops (0x638D10, 0x638D50, presentation); 0x5D1050 deletes the sprite source; +0x1A0 = 0; ThemeParkIncTraining.Enter (+0x22C == 0 runs 0x62E7A0, |
| TPI-EXE:0x6287A0 common states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:32 | [BIN:TPI-EXE:0x6287A0 common states] state - 4 by the byte table 0x628B10 (up to 0x24) and the jump table 0x628ADC: 4, 5, 6, 7, 8, 9, 11, 12, 14, 24, 25, 35 and 36 have a case; of them the |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:84 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:75 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:148 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:265 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:79 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x6287A0 strike states | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:629 | [BIN:TPI-EXE:0x6287A0 strike states] the role's table sends 4 and 5 to the common handler: 4 -> 0x628855, 5 -> 0x628892 (ThemeParkIncStaffWorld.Strikes.cs) |
| TPI-EXE:0x628855 to the strike | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:47 | [BIN:TPI-EXE:0x628855 to the strike] 0x60B440 (the walk step: 0 arrived, 1 walking, 2 stuck), the thought 0x19 (0x638960, presentation); 0 or 2: +0x1A0 = 0 and 0x628180(5). No moving step (no 0x62B3E0) |
| TPI-EXE:0x6289BD research in room | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:320 | [BIN:TPI-EXE:0x61B820 researcher search] [BIN:TPI-EXE:0x62DCB0 walk to room] [BIN:TPI-EXE:0x6289BD research in room] |
| TPI-EXE:0x6289BD research in room | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:159 | [BIN:TPI-EXE:0x6289BD research in room] ThemeParkIncStaffMember.ResearchStep; (u8)trunc(energy) > RestLevel stays; else +0x27C != 0: the room's variable 0 -= 1, +0x27C = 0, 0x5D1000(3, +0x34, +0x30); then |
| TPI-EXE:0x6289BD research step | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:130 | [BIN:TPI-EXE:0x6289BD research step] fidivl then fsubrl, each rounded |
| TPI-EXE:0x6289BD research step | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:216 | [BIN:TPI-EXE:0x6289BD research step] fildll the experience (+0x210, unsigned, zero-extended), fidivl MaxExperience (0xA02260), fsubrl 1.0, fstps x; flds x, fmuls -0.1f, fstps the argument of |
| TPI-EXE:0x628CA0 staff day | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:282 | [BIN:TPI-EXE:0x6265DE staff payday] [BIN:TPI-EXE:0x628CA0 staff day] [BIN:TPI-EXE:0x436E97 message order] |
| TPI-EXE:0x628CA0 staff day | source/OpenTPW/Economy/ThemeParkIncStaff.cs:414 | [BIN:TPI-EXE:0x628CA0 staff day] message 0x0B: the experience gain 0x629650; then a demand day (+0x26C > 0) that is today's day of the month, with at least 30 game days since |
| TPI-EXE:0x628CC2 demand day count | source/OpenTPW/Economy/ThemeParkIncStaff.cs:309 | [BIN:TPI-EXE:0x628CC2 demand day count] the same 100 ns park age (0x608C70) divided by a day's 864000000000 as a signed 64-bit division (__alldiv 0x871A30), kept as an unsigned word |
| TPI-EXE:0x628D4F demand filed | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:37 | [BIN:TPI-EXE:0x628D4F demand filed] 0xAA07F4 = the day; 0x6375C0 (the handle), 0x64EA60 (the tag system) and 0x636C90(0x90, handle): the member's unflagged rows of tag 0x90 are flagged; the |
| TPI-EXE:0x628D93 wage demand advice | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:169 | [BIN:TPI-EXE:0x628D93 wage demand advice] the daily routine posts advisor message 0x1C8 with each wage demand; [BIN:TPI-EXE:0x7176E0 strike messages] the HQ's and the strikers' type-0x17 |
| TPI-EXE:0x629040 dismissal | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:97 | [BIN:TPI-EXE:0x629040 dismissal] display state (0x62B010) 4: the strikers (display state 4) of the member's kind's list counted; exactly one: 0x634390(the role) (ThemeParkIncStaff.ClearStrike). |
| TPI-EXE:0x629650 experience gain | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:220 | [BIN:TPI-EXE:0x629650 experience gain] [BIN:TPI-EXE:0x62D1A0 day reset] retail: handyman ExperiencePerMonth 3, agency 0 ExperienceGainModifier 30 |
| TPI-EXE:0x629650 experience gain | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:176 | [BIN:TPI-EXE:0x629650 experience gain] the oracle's counters in the routine's order: working, looking for work, resting, idle, training, researching, on strike |
| TPI-EXE:0x629650 experience gain | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:145 | [BIN:TPI-EXE:0x629650 experience gain] f = (working + researching) / (all seven counters) (fildll, fildll, fdivrp, fstps; NaN for an empty day gives 0); gain = trunc(ExperiencePerMonth[0] × f) |
| TPI-EXE:0x629EF0 walk to rest area | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:114 | [BIN:TPI-EXE:0x629EF0 walk to rest area] arrived with room: occupancy + 1, a customer, state 3 and no sprite source |
| TPI-EXE:0x629EF0 walk to rest area | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:141 | [BIN:TPI-EXE:0x629EF0 walk to rest area] a full room: the route back to its entrance, +0x1A0 = 0, state 0x23 |
| TPI-EXE:0x629EF0 walk to rest area | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:124 | [BIN:TPI-EXE:0x629EF0 walk to rest area] the walk step 0x60B440: 0 -> occ = the area's script variable 0 (0x6B0740 on +0x2C, 0x6B0C90); occ >= StaffRoomCapacity (0xA0229C, signed jge): the staff route |
| TPI-EXE:0x62A1C0 rest | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:121 | [BIN:TPI-EXE:0x62A1C0 rest] [BIN:TPI-EXE:0x62C230 rest end] energy full ends it: occupancy - 1, +0x248 = 0, shown again, then the look for work |
| TPI-EXE:0x62A1C0 rest | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:242 | [BIN:TPI-EXE:0x62B3E0 staff step] [BIN:TPI-EXE:0x62A1C0 rest] [BIN:TPI-EXE:0x62B3B0 tired] values from the oracle's native-checked mirror; retail |
| TPI-EXE:0x62A1C0 rest | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:163 | [BIN:TPI-EXE:0x62A1C0 rest] |
| TPI-EXE:0x62A1C0 rest | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:181 | [BIN:TPI-EXE:0x62A1C0 rest] f = experience (unsigned) / MaxExperience (fildll, fidivl); e = MinRecuperationRate + f (flds, fadd, fsts), plus RecuperationModifier × e × 0.01f (fildl, fmul, fmuls, |
| TPI-EXE:0x62A1C0 rest | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:156 | [BIN:TPI-EXE:0x62A1C0 rest] (u8)trunc(energy) == 100 after the meters' update: the rest end 0x62C230, then 0x62D810. Nothing else ends a rest but the area's removal |
| TPI-EXE:0x62A4C0 striking | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:60 | [BIN:TPI-EXE:0x62A4C0 striking] one world draw (0x40A92F): (R & 7) == 0 adds (R & 0xFF) - 0x80 to the sprite angle +0x2C, at most 0x7FF (unsigned: below 0 also gives 0x7FF), presentation only (the |
| TPI-EXE:0x62A5D1 park entrance | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:78 | [BIN:TPI-EXE:0x62A5D1 park entrance] a striker's way back takes FixedItemInfo.EntranceAPosX/Y (0xA025D0, 0xA025D4). A file without them leaves the reset block's 0 (the strike walk then |
| TPI-EXE:0x62A7C0 walk to training | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:120 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62A7C0 walk to training] [BIN:TPI-EXE:0x62AB90 training finish] |
| TPI-EXE:0x62A7C0 walk to training | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:113 | [BIN:TPI-EXE:0x62A7C0 walk to training] the walk step 0x60B440: 0 -> 0x639CF0 (the room's script variable 0 += 1, answers 1, so the refused branch at 0x62A892 is dead), 0x628180(8), message 0x2A |
| TPI-EXE:0x62AA50 training tick | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:75 | [BIN:TPI-EXE:0x62AA50 training tick] [BIN:TPI-EXE:0x62AAD4 training reward] |
| TPI-EXE:0x62AA50 training tick | source/OpenTPW/Economy/ThemeParkIncTraining.cs:82 | [BIN:TPI-EXE:0x62AA50 training tick] +0x224 += SkillIncrement (0xA022B4); below ProgessUpperLimit (0xA022B8, signed) nothing else; else +0x218 = +0x220, +0x224 = 0, +0x220 = 0 |
| TPI-EXE:0x62AA50 training tick | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:140 | [BIN:TPI-EXE:0x62AA50 training tick] ThemeParkIncTraining.Tick; the end: the advisor text 0x175 with the new ability (0x4313D0, 0x71A930, 0x718820), 0x62AB90, ThemeParkIncTraining.Reward, the staff panel's |
| TPI-EXE:0x62AAD4 training reward | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:75 | [BIN:TPI-EXE:0x62AA50 training tick] [BIN:TPI-EXE:0x62AAD4 training reward] |
| TPI-EXE:0x62AAD4 training reward | source/OpenTPW/Economy/ThemeParkIncTraining.cs:95 | [BIN:TPI-EXE:0x62AAD4 training reward] +0x234 = 100.0f; +0x210 += TrainingExtraExperience (0xA022AC); m = StaffAgencies[+0x244].TrainingExperienceGainModifier (0xA0242C + 0x24 × agency): m != 0 and |
| TPI-EXE:0x62AB90 training finish | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:120 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62A7C0 walk to training] [BIN:TPI-EXE:0x62AB90 training finish] |
| TPI-EXE:0x62AB90 training finish | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:153 | [BIN:TPI-EXE:0x62AB90 training finish] message 0x2B (0x436440, the id) to 0xA09728; message 0x19 with the letter 0x5CEFB0(0xC, member, ability); 0x639AA0's room script variable 0 -= 1 (0x62AD20); |
| TPI-EXE:0x62AC4D training letter | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:55 | [BIN:TPI-EXE:0x62AC4D training letter] new(0x2C), 0x5CEFB0(0xC, member, +0x218) and 0x435DC0 to the broadcaster; [BIN:TPI-EXE:0x62E8D6 suspended letter] 0x5CEFB0(0xD, member, the ability dropped) |
| TPI-EXE:0x62AF70 staff type code | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:38 | [BIN:TPI-EXE:0x62AF70 staff type code] kind byte +2 minus 4 through the byte table 0x62AFD0 (0, 1, 2, 3, 4, then 6 for 9..0x13, 5 for 0x14) and the targets 0x62AFB4: kind 4 (mechanic) 1, |
| TPI-EXE:0x62B010 display state | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:304 | [BIN:TPI-EXE:0x62B010 display state] |
| TPI-EXE:0x62B010 display state | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:509 | [BIN:TPI-EXE:0x62B010 display state] the byte table 0x62B09C by state and the targets 0x62B078: 0 -> 0, 1 -> 1, 2 and 3 -> 3, 4 and 5 -> 4, 7, 8, 0x25 and 0x26 -> 8, 0xA -> 5, 0xB and 0xC -> 6, |
| TPI-EXE:0x62B059 research display | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:22 | [BIN:TPI-EXE:0x62B059 research display] states 0x18, 0x19, 0x21 and 0x22 of a kind-8 thing: 7 with +0x274 != 0, else 0 |
| TPI-EXE:0x62B280 claim validator | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:259 | [BIN:TPI-EXE:0x62B280 claim validator] kind 4 and 0x14 compare the word +0x5D8 with the object (0x62B2B3 jumps to the mechanic's compare for 0x14) |
| TPI-EXE:0x62B3B0 tired | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:263 | [BIN:TPI-EXE:0x62B3B0 tired] "Too tired to water plants": the chooser does not run and +0x5D8 is kept |
| TPI-EXE:0x62B3B0 tired | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:242 | [BIN:TPI-EXE:0x62B3E0 staff step] [BIN:TPI-EXE:0x62A1C0 rest] [BIN:TPI-EXE:0x62B3B0 tired] values from the oracle's native-checked mirror; retail |
| TPI-EXE:0x62B3B0 tired | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:230 | [BIN:TPI-EXE:0x62B3B0 tired] (u8)trunc(energy) < RestLevel, signed |
| TPI-EXE:0x62B3E0 staff step | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:242 | [BIN:TPI-EXE:0x62B3E0 staff step] [BIN:TPI-EXE:0x62A1C0 rest] [BIN:TPI-EXE:0x62B3B0 tired] values from the oracle's native-checked mirror; retail |
| TPI-EXE:0x62B3E0 staff step | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:144 | [BIN:TPI-EXE:0x62B3E0 staff step] |
| TPI-EXE:0x62B3E0 staff step | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:168 | [BIN:TPI-EXE:0x62B3E0 staff step] moving and working (0x62B4D0) are identical: d = 1 - experience (unsigned) / MaxExperience (fildll, fidivl, fsubrl 1.0); energy += d × -0.1f, happiness += |
| TPI-EXE:0x62B640 ability's staff type | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:69 | [BIN:TPI-EXE:0x62B640 ability's staff type] 1..6 the mechanic, 7 and 8 the handyman, 9 the guard, 10..14 the gardener, others 7 |
| TPI-EXE:0x62B640 ability's staff type | source/OpenTPW/Economy/ThemeParkIncSpecialRides.cs:48 | [BIN:TPI-EXE:0x62B640 ability's staff type] abilities above 15 answer 7; else the byte table 0x62B688 (0, 1, 1, 1, 1, 1, 1, 2, 2, 3, 4, 4, 4, 4, 4, 0) picks of the targets 0x62B674: 7, 1, 0, 3, 5 |
| TPI-EXE:0x62B6C0 ability compatibility | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:315 | [BIN:TPI-EXE:0x62B6C0 ability compatibility] a gardener learns 10 to 14; [BIN:TPI-EXE:0x6348C0 gardener finder] the rebuild's staff type 5 finds him; [BIN:TPI-EXE:0x63256F training finished] |
| TPI-EXE:0x62B6C0 ability compatible | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:49 | [BIN:TPI-EXE:0x62B6C0 ability compatible] [BIN:TPI-EXE:0x639B20 can learn] |
| TPI-EXE:0x62B6C0 ability compatible | source/OpenTPW/Economy/ThemeParkIncTraining.cs:33 | [BIN:TPI-EXE:0x62B6C0 ability compatible] kind byte +2 through the byte table 0x62B774 and the targets 0x62B75C: kind 4 1..6, 5 7..8, 7 9, 0x14 10..14, every other kind (6, 8) 0; ability 0 is never |
| TPI-EXE:0x62B7D0 learnt ability | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:209 | [BIN:TPI-EXE:0x62B7D0 learnt ability] a = +0x218 == 1 (Ride Upgrading, learnt in the training room); no Theme Park Inc ride reaches state 2 (the economy sells no upgrade), so the upgrading |
| TPI-EXE:0x62BA20 rest-area finder | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:88 | [BIN:TPI-EXE:0x62BA20 rest-area finder] squared cell distance, unsigned jae against the best so far, the open word +0x7C |
| TPI-EXE:0x62BA20 rest-area finder | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:452 | [BIN:TPI-EXE:0x62BA20 rest-area finder] the attraction list newest first, a thing with +0x42 & 2 and the open word; the level's IThemeParkIncRooms on placed objects of synthetic types |
| TPI-EXE:0x62BA20 rest-area finder | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:16 | [BIN:TPI-EXE:0x62BA20 rest-area finder] the list park+0x1EAB88 (next +0x14), a thing with the flag +0x42 bit 2 (the attraction builder sets it from the type record's +0x1B0, UsageInfo.ChillsYouOut, |
| TPI-EXE:0x62BBA0 strike gate | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:770 | [BIN:TPI-EXE:0x62BBA0 strike gate] the strike branch (StrikeWalk) first: the role's strike flag (HQ +0x160 + 12 × code, 0x634210) and the gate's variable 1 (0x64FA50) equal to 1; a walk to the |
| TPI-EXE:0x62BBAD strike join | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:19 | [BIN:TPI-EXE:0x62BBAD strike join] 0x62AF70 (the role), 0x634210 on the HQ (the active word) and 0x64FA50 == 1; "Right! I'm fed up, I'm going on strike!" (0x9D2A7C); +0x1A0 = 1; four world draws |
| TPI-EXE:0x62BC03 strike area | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:77 | [BIN:TPI-EXE:0x62BC03 strike area] the strike walk reads FixedItemInfo.StrikeAreaStartX/Y (0xA02600, 0xA02604) and StrikeAreaSizeX/Y (0xA02608, 0xA0260C), the theme's Standard.sam; |
| TPI-EXE:0x62BC88 rest branch | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:314 | [BIN:TPI-EXE:0x62BC88 rest branch] energy byte at most RestLevel: no rest area, a draw whose low nibble 0 costs HappyHitCosNoRestArea, and a working member is set to 0 |
| TPI-EXE:0x62BC88 rest branch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:772 | [BIN:TPI-EXE:0x62BC88 rest branch] energy byte (ftol & 0xFF) at most RestLevel (0xA02254): the rest branch (TiredGate) |
| TPI-EXE:0x62BCA9 tired gate rest | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:108 | [BIN:TPI-EXE:0x62BCA9 tired gate rest] a reachable area: +0x248, state 2, no draw |
| TPI-EXE:0x62BCA9 tired gate rest | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:77 | [BIN:TPI-EXE:0x62BCA9 tired gate rest] the thought 0x18 (presentation), the finder 0x62BA20; found: 0x62EAC0 to its entrance word +0x46, a route sets +0x248 ("Found a rest area!"), 0x628180(2) and |
| TPI-EXE:0x62BD8D comfortable branch | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:197 | [BIN:TPI-EXE:0x62BD8D comfortable branch] the first search's gate sets the base speed by the full energy: lerp(exp, 0, MaxExperience, 140, MaxSpeedDifference + 140) |
| TPI-EXE:0x62BD8D comfortable branch | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:773 | [BIN:TPI-EXE:0x62BD8D comfortable branch] energy byte above RestLevel: +0xD4 = lerp(exp, 0, MaxExperience, w, MaxSpeedDifference + w) with w = 140 at 100, else the word at 0x9CFB28 by the |
| TPI-EXE:0x62BDB4 speed by energy | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:335 | [BIN:TPI-EXE:0x62BDB4 speed by energy] the energy byte 75 reads index 7 of 0x9CFB28: the high word of the float 2.5 that follows the table, 0x4020 |
| TPI-EXE:0x62BDB4 speed by energy | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:37 | [BIN:TPI-EXE:0x62BDB4 speed by energy] index = energy byte / 10 (0x66666667, sar 3) into the words at 0x9CFB28: 60, 80, 100, 120, 140, 0, 0, 0x4020, 0, 0x40C0 (read from the image) |
| TPI-EXE:0x62BE2B gate end | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:775 | [BIN:TPI-EXE:0x62BE2B gate end] +0x27E is 0 for every member but a researcher listed for a room (only 0x62E240 writes it; the constructors clear it), so the gate answers 0 |
| TPI-EXE:0x62C230 rest end | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:121 | [BIN:TPI-EXE:0x62A1C0 rest] [BIN:TPI-EXE:0x62C230 rest end] energy full ends it: occupancy - 1, +0x248 = 0, shown again, then the look for work |
| TPI-EXE:0x62C230 rest end | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:166 | [BIN:TPI-EXE:0x62C230 rest end] message 0xF with the member and 0 to the queue 0xA09728 (the interface list's removal, presentation); the area's script variable 0 -= 1 (no floor, the area's |
| TPI-EXE:0x62C610 patrol rectangle | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:754 | [BIN:TPI-EXE:0x62C610 patrol rectangle] x = (w - 1) & 0x7F, y = (w - 1) >> 7 against +0x24C..+0x258 (each pair swapped when reversed), inclusive, signed |
| TPI-EXE:0x62C6B0 area test | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Gardeners.cs:205 | [BIN:TPI-EXE:0x62C6B0 area test] the corner words of +0x24C..+0x258 equal to 1 and 0x4000 (the cells (0, 0) and (127, 127)) answer true; any other rectangle runs 0x6256A0, which needs the |
| TPI-EXE:0x62C6B0 mechanic area | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:176 | [BIN:TPI-EXE:0x62C6B0 mechanic area] the corner words of +0x24C..+0x258 equal to 1 and 0x4000 (the cells (0, 0) and (127, 127)) answer true; any other rectangle runs 0x6256A0, which needs the |
| TPI-EXE:0x62C84E patrol entry route | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:1040 | [BIN:TPI-EXE:0x62C84E patrol entry route] the staff route 0x62EB10 to the cell's centre |
| TPI-EXE:0x62C900 staff lerp | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:114 | [BIN:TPI-EXE:0x62C900 staff lerp] cases the oracle runs natively |
| TPI-EXE:0x62C900 staff lerp | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:159 | [BIN:TPI-EXE:0x62C900 staff lerp] lerp(lo, hi, x, a, b): x > hi gives b; a negative x - lo gives a; else t = (x - lo) << 14 / (hi - lo) by idiv and |
| TPI-EXE:0x62CA10 idle end | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:295 | [BIN:TPI-EXE:0x5D5000 handyman pre-update] trunc((1 - exp / MaxExperience) * 50), [BIN:TPI-EXE:0x62CA10 idle end] the same times -50 |
| TPI-EXE:0x62CA10 idle end | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:133 | [BIN:TPI-EXE:0x5D5000 handyman pre-update] [BIN:TPI-EXE:0x62CA10 idle end] |
| TPI-EXE:0x62CA10 idle end | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:564 | [BIN:TPI-EXE:0x62CA10 idle end] fildll, fidivl 0xA02260, fsubrl 1.0, fmuls 0x93E878 (-50.0), _ftol; the stamp less this term is the end of the wait; each step rounds to a single at the game thread's |
| TPI-EXE:0x62CA10 idle end | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:594 | [BIN:TPI-EXE:0x62CA10 idle end] the turn above +0x23C less the idle term (unsigned) looks for work (0x62D810) |
| TPI-EXE:0x62CA90 rest search | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:148 | [BIN:TPI-EXE:0x62CA90 rest search] full: the walk step, then the closing draw (and two draws for a point in his own cell once the walk has ended) |
| TPI-EXE:0x62CA90 rest search | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:180 | [BIN:TPI-EXE:0x62CA90 rest search] +0x248 = the finder's area; 0: 0x628180(0) and return (no draw). occ = its script variable 0; occ < StaffRoomCapacity: the finder again, 0x62EAC0 to its entrance |
| TPI-EXE:0x62CD30 expected wage | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:147 | [BIN:TPI-EXE:0x62CD30 expected wage] retail MaxExperience 100000: the native routine's answers (oracle) |
| TPI-EXE:0x62CD30 expected wage | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:176 | [BIN:TPI-EXE:0x62CD30 expected wage] e > MaxExp takes M, a negative e takes 0, else w = ((e << 14) / MaxExp * M) / 16384 toward zero; every branch then |
| TPI-EXE:0x62CDA0 wage review | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:196 | [BIN:TPI-EXE:0x62CDA0 wage review] retail values: UnHappyWageVal 5, HappyWageVal 2, LowestWageHappiness 20 and agency 0 (MotivationGain/LossModifier 6, |
| TPI-EXE:0x62CDA0 wage review | source/OpenTPW.Tests/ThemeParkIncX87Tests.cs:186 | [BIN:TPI-EXE:0x62CDA0 wage review] review kind 0x4 max 50000 exp 20789 pay 80 top 166 unhappy 5 happy 2 lowest 20 row (gain 0, loss 7, initial wage 48) h 63.335739 m 19.9 |
| TPI-EXE:0x62CDA0 wage review | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:77 | [BIN:TPI-EXE:0x62CDA0 wage review] expected = ExpectedWage(exp, MaxWage of the kind's role, 0 for another kind; inline 0x62CE35..0x62CE7A) plus the raw InitialWageModifier of the |
| TPI-EXE:0x62CED1 meter clamp | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:67 | [BIN:TPI-EXE:0x62CED1 meter clamp] fcom 100.0 (0x93AC24) with C0|C3 clear stores 100.0, fcom 0.0 (0x93A038) with C0 set stores 0, else the sum is stored as a single; a NaN compares unordered |
| TPI-EXE:0x62D160 salary setter | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:267 | [BIN:TPI-EXE:0x62D160 salary setter] retail MinWage 1 |
| TPI-EXE:0x62D160 salary setter | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:88 | [BIN:TPI-EXE:0x62D160 salary setter] the new salary at least MinWage; the review 0x62CDA0 runs only when it changed |
| TPI-EXE:0x62D160 salary setter | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:399 | [BIN:TPI-EXE:0x62D160 salary setter] the new salary is clamped to MinWage and the wage review runs only when the salary changed |
| TPI-EXE:0x62D1A0 day reset | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:220 | [BIN:TPI-EXE:0x629650 experience gain] [BIN:TPI-EXE:0x62D1A0 day reset] retail: handyman ExperiencePerMonth 3, agency 0 ExperienceGainModifier 30 |
| TPI-EXE:0x62D1A0 day reset | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:147 | experience at or above MaxExperience becomes MaxExperience - 1; [BIN:TPI-EXE:0x62D1A0 day reset] the next call of the day handler stores the counters' history rings and |
| TPI-EXE:0x62D650 slack test | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:185 | [BIN:TPI-EXE:0x62D650 slack test] energy byte below StaffSlackingEnergy and the area within MinDistanceForSlacking (squared): the setter's state 1 becomes 2 |
| TPI-EXE:0x62D650 slack test | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:53 | [BIN:TPI-EXE:0x62D650 slack test] (u8)trunc(energy) >= StaffSlackingEnergy (0xA02294, signed jl) answers 0; the finder 0x62BA20; none answers 0; dx² + dy² between the area's cell (bytes +5, +7 |
| TPI-EXE:0x62D810 look for work | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:793 | [BIN:TPI-EXE:0x62D810 look for work] kind 5 runs 0x5D52A0, kind 4 0x5DA3D0, kind 6 0x5D1A30 (0x62D832), kind 7 0x5D3C10 (0x62D84D), kind 0x14 0x5D28C0 (the byte table 0x62D974's index 16: 0x62D844), kind 8 0x61B820; then the low-motivation rest 0x62D866 |
| TPI-EXE:0x62D866 low motivation | source/OpenTPW.Tests/ThemeParkIncRestTests.cs:209 | [BIN:TPI-EXE:0x62D866 low motivation] below MotivationPercentToStrike / 2 and now working (display 2 or 7): the nearest reachable area, state 2 |
| TPI-EXE:0x62D866 low motivation | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:103 | [BIN:TPI-EXE:0x62D866 low motivation] (u8)trunc(motivation) < MotivationPercentToStrike (0xA022CC) / 2 (cltd, sub, sar: toward zero) and the display state (0x62B010) 2 or 7: the finder 0x62BA20; |
| TPI-EXE:0x62D974 look-for-work kinds | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:796 | [BIN:TPI-EXE:0x62D974 look-for-work kinds] kind 4 0x5DA3D0, kind 5 0x5D52A0, kind 6 0x5D1A30, kind 7 0x5D3C10, kind 0x14 0x5D28C0, kind 8 0x61B820 |
| TPI-EXE:0x62DCB0 walk to room | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:320 | [BIN:TPI-EXE:0x61B820 researcher search] [BIN:TPI-EXE:0x62DCB0 walk to room] [BIN:TPI-EXE:0x6289BD research in room] |
| TPI-EXE:0x62DCB0 walk to room | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:138 | [BIN:TPI-EXE:0x62DCB0 walk to room] the walk step 0x60B440: 0 -> the room's script variable 0 += 1 (0x6B0740/0x6B0C90/0x6B0780 on room +0x2C), 0x628180(0x18), 0x5D1050; 2 -> "Staff member couldn't get |
| TPI-EXE:0x62E0E0 room finder | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Researchers.cs:113 | [BIN:TPI-EXE:0x62E0E0 room finder] the list park+0x1EAB88 to the first thing with +0x42 & 0x200 (no distance, capacity or tie test, no retry of another room); the staff route 0x62EB10 to the centre |
| TPI-EXE:0x62E4C0 work duration | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:159 | [BIN:TPI-EXE:0x62E4C0 work duration] retail pairs and MotivationFactor 25: the native routine's answers (oracle) |
| TPI-EXE:0x62E4C0 work duration | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:195 | [BIN:TPI-EXE:0x62E4C0 work duration] e = exp - (100 - (trunc(motivation) & 0xFF)) * MotivationFactor, 1 when not positive; the kind table 0x62E64C picks the pair: |
| TPI-EXE:0x62E4C0 work duration pairs | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:140 | [BIN:TPI-EXE:0x62E4C0 work duration pairs] the researcher's pair is its research ability |
| TPI-EXE:0x62E4C0 work duration pairs | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:100 | [BIN:TPI-EXE:0x62E4C0 work duration pairs] the researcher's pair is Researcher.Min/MaxResearchAbility; Researcher.Min/MaxWorkDuration are read by nothing |
| TPI-EXE:0x62E7A0 training cancel | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:163 | [BIN:TPI-EXE:0x626638 room removed] [BIN:TPI-EXE:0x62E7A0 training cancel] |
| TPI-EXE:0x62E7A0 training cancel | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:178 | [BIN:TPI-EXE:0x62E7A0 training cancel] +0x220 == 0: "Not learning..." and return; ab = +0x220, +0x220 = 0 (+0x224 kept); a training room: its script variable 0 -= 1; state 8: 0x5D1000(3, ...); the |
| TPI-EXE:0x62E8D6 suspended letter | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:55 | [BIN:TPI-EXE:0x62AC4D training letter] new(0x2C), 0x5CEFB0(0xC, member, +0x218) and 0x435DC0 to the broadcaster; [BIN:TPI-EXE:0x62E8D6 suspended letter] 0x5CEFB0(0xD, member, the ability dropped) |
| TPI-EXE:0x62EAC0 cell route | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Rest.cs:45 | [BIN:TPI-EXE:0x62EAC0 cell route] the cell word w becomes the bytes ((w - 1) & 0x7F, 0x80) and ((w - 1) >> 7, 0x80) for the staff route 0x62EB10 |
| TPI-EXE:0x62EB10 staff route | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:326 | [BIN:TPI-EXE:0x628492 state 7 entry] [BIN:TPI-EXE:0x62EB10 staff route] [BIN:TPI-EXE:0x60B7F0 cell steer] |
| TPI-EXE:0x62EB10 staff route | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:985 | [BIN:TPI-EXE:0x62EB10 staff route] park+0x1EAB44 (0x64FA30, nonzero: the park is closed) with the target word's cell x (its high byte) 0x2F or 0x30 and the y word's cell 0x11 answers 0 and leaves the |
| TPI-EXE:0x62F840 agency name | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:81 | [BIN:TPI-EXE:0x62F840 agency name] the word at 0x9D2CD8 + 8 × agency: 0x6E, 0x6F, 0x70, 0x71 for the four agencies |
| TPI-EXE:0x62FFB0 staff name | source/OpenTPW/Client/ThemeParkIncHud.Staff.cs:189 | (the candidate's R mod 35) and no leading header entries; [BIN:TPI-EXE:0x62FFB0 staff name] the formatter passes the role's table and the candidate's word +4, its name |
| TPI-EXE:0x62f2b0 history ring | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.cs:57 | [BIN:TPI-EXE:0x62f2b0 history ring] mCurrentEntry 4, mNumEntries 4, mWrappedAround 1, mTemp (the element size) and then mNumEntries elements read one by one into the ring's array in the object; the array holds Capacity elements (the byte ring's constructor 0x5bbcbc makes 50; the 51st slot is alignment padding), and the entries after the last slot would overwrite the ring's own counters in memory, so a count above the capacity is not a ring the original could have written. The original compares the count signed (jle/jl 0x62f5e5), so a count of 0x80000000 or more reads no entry there, while this reader refuses it |
| TPI-EXE:0x62f980 staff candidate serializer | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:159 | [BIN:TPI-EXE:0x62f980 staff candidate serializer] mType 4, mName 4, mSalary 4, mAgency 4, mSubType 1, mValid 1, mOnPointer 1, mTimeSig 4, mTimeoutTime 4, mExperience 4; the pool 0x6308a0 adds 6 x (mPeopleInCat[i] 4, mStopProducing[i] 1), mTimeSig 4 and mOpeningStaffPoolGenerated 1 |
| TPI-EXE:0x6302C0 candidate | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:176 | [BIN:TPI-EXE:0x6302C0 candidate] the retail global Standard.sam, a new career (rank 0, one agency) and the world generator at state 12345: the values the |
| TPI-EXE:0x6302C0 candidate | source/OpenTPW/Economy/ThemeParkIncStaffCandidates.cs:34 | [BIN:TPI-EXE:0x6302C0 candidate] the agency is rand() % (the agencies the career's rank reaches, 0x6302CB..0x6302F8); the sprite takes a world draw (0x6902F0: (R >> 2) mod the |
| TPI-EXE:0x6302C0 candidate record | source/OpenTPW/Economy/ThemeParkIncStaffCandidates.cs:7 | [BIN:TPI-EXE:0x6302C0 candidate record] +0 role, +4 name index, +8 wage, +0xC agency, +0x10 sprite byte, +0x11 valid, +0x12 being placed, +0x14 stamp, +0x18 timeout, +0x1C experience |
| TPI-EXE:0x6302CB candidate agency | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:219 | [BIN:TPI-EXE:0x6302CB candidate agency] n = the number of leading StaffAgencies rows with RequiredPromotionLevel <= the career rank (0x42A3B0() + 0x1060); the agency is rand() % n |
| TPI-EXE:0x630308 candidate sprite category | source/OpenTPW/Economy/ThemeParkIncStaffCandidates.cs:20 | [BIN:TPI-EXE:0x630308 candidate sprite category] handyman 9, mechanic 0xA, entertainer 8, guard 0xB, researcher 0xC, gardener 0x12 (0x630418, 0x6304A0, 0x630528, 0x6305B0, 0x630390) |
| TPI-EXE:0x630CB0 opening pool | source/OpenTPW/Economy/ParkEconomy.cs:77 | [BIN:TPI-EXE:0x630CB0 opening pool] the new-world init (0x6482BA -> 0x5D65B0 -> 0x630CB0) fills the opening pool from the world generator and stamps it with the turn, |
| TPI-EXE:0x630CB0 pool rank | source/OpenTPW/Economy/ParkEconomy.cs:489 | [BIN:TPI-EXE:0x630CB0 pool rank] the pool reads the career's rank (+0x1060), which promotions raise (ThemeParkIncCareer.Promote) |
| TPI-EXE:0x630D10 hire | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:395 | [BIN:TPI-EXE:0x630D10 hire] [BIN:TPI-EXE:0x6319E0 placement end] |
| TPI-EXE:0x630D10 hire | source/OpenTPW/Economy/ThemeParkIncStaff.cs:232 | [BIN:TPI-EXE:0x630D10 hire] a valid slot below 32 is marked as being placed (+0x12), then the park maximum check runs and every other candidate of a role at its maximum |
| TPI-EXE:0x630D10 hire | source/OpenTPW/World/Level.Staff.cs:227 | [BIN:TPI-EXE:0x630D10 hire] the slot is marked as being placed and the park maximum check runs; the placement tool 0x93B61C then holds the candidate (its enter 0x4D4C20 makes the dangling sprite) |
| TPI-EXE:0x631490 park maximum check | source/OpenTPW/Economy/ThemeParkIncStaff.cs:173 | [BIN:TPI-EXE:0x631490 park maximum check] every staff thing counts (no state filter); a role is at its maximum when its count reaches Max<Role>InPark (signed), the gardener |
| TPI-EXE:0x631690 minimum top-up | source/OpenTPW/Economy/ThemeParkIncStaff.cs:189 | [BIN:TPI-EXE:0x631690 minimum top-up] each pass takes the roles mechanic, handyman, gardener (MinHandymenInPool), entertainer and guard: a role whose hired plus pooled count is below |
| TPI-EXE:0x6319E0 placement end | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:395 | [BIN:TPI-EXE:0x630D10 hire] [BIN:TPI-EXE:0x6319E0 placement end] |
| TPI-EXE:0x6319E0 placement end | source/OpenTPW/Economy/ThemeParkIncStaff.cs:249 | [BIN:TPI-EXE:0x6319E0 placement end] for every slot being placed: a completed placement clears its valid byte (the member was made by the role constructor on the drop, 0x4D4EB0 -> |
| TPI-EXE:0x6319E0 placing flags | source/OpenTPW/World/Level.Staff.cs:258 | [BIN:TPI-EXE:0x6319E0 placing flags] the placement tool's exit with placed 0 (0x6319E0(1)) clears the being-placed bytes and keeps the candidates |
| TPI-EXE:0x631A30 name taken | source/OpenTPW.Tests/ThemeParkIncLanguageTests.cs:141 | [BIN:TPI-EXE:0x631A30 name taken] the pool's name test compares texts across all roles; with no text twice among the six tables' entries the role and index decide it, |
| TPI-EXE:0x631A30 name taken | source/OpenTPW/Economy/ThemeParkIncStaff.cs:87 | [BIN:TPI-EXE:0x631A30 name taken] every valid candidate's name formatted through its role's table, then every staff thing's name text (+0x1C0), compared exactly (0x8717B8) |
| TPI-EXE:0x631B40 pool update | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:370 | [BIN:TPI-EXE:0x631B40 pool update] refill only when more than 4 × TimeBetweenStaffUpdates (90) turns have passed; the shortfalls are handyman 1, mechanic 0, |
| TPI-EXE:0x631B40 pool update | source/OpenTPW/Economy/ThemeParkIncStaff.cs:125 | [BIN:TPI-EXE:0x631B40 pool update] a valid candidate expires when the turns since its stamp exceed 4 × its timeout (unsigned), unless it is being placed or the hire list has it |
| TPI-EXE:0x631B97 pool keys | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:41 | [BIN:TPI-EXE:0x631B97 pool keys] StaffPoolInfo.TimeBetweenStaffUpdates (0xA0221C), MaxNumberOfStaffPerUpdate (0xA02220) and StaffTimeoutTime (0xA02224), read as Theme Park World reads its own |
| TPI-EXE:0x631C12 gardener pool keys | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:131 | [BIN:TPI-EXE:0x631C12 gardener pool keys] the gardener takes the handyman's pool keys, not MaxGardeners (6) or MinGardenersInPool |
| TPI-EXE:0x631C12 gardener pool keys | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:92 | [BIN:TPI-EXE:0x631C12 gardener pool keys] the gardener takes the handyman's pool keys: MaxHandymen (0x631C4A), MinHandymenInPool (0x631792), |
| TPI-EXE:0x631C38 staff roles | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:6 | [BIN:TPI-EXE:0x631C38 staff roles] the pool switch compares the roles 0 to 5, the candidate jump table 0x6306B4 has six cases and 0x630635 refuses a |
| TPI-EXE:0x631F30 opening pool | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:352 | [BIN:TPI-EXE:0x631F30 opening pool] handyman, mechanic, gardener (BeginningNumberOfHandymen), entertainer, guard, researcher: 5, 5, 5, 5, 5 and 4 in the retail data |
| TPI-EXE:0x631F30 opening pool | source/OpenTPW/Economy/ThemeParkIncStaff.cs:100 | [BIN:TPI-EXE:0x631F30 opening pool] the roles in the order handyman, mechanic, gardener (BeginningNumberOfHandymen), entertainer, guard, researcher, each with its |
| TPI-EXE:0x632270 staff HQ constructor | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:14 | [BIN:TPI-EXE:0x632270 staff HQ constructor] the thing base (0x637100(1, 9)), subscriptions 0x0C, 0x0E, 0x2A, 0x2B, 0x21, 0x23, 0x24 (0x6322C8..0x632333), then the slot table 0x634600 |
| TPI-EXE:0x63256F training finished | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:315 | [BIN:TPI-EXE:0x62B6C0 ability compatibility] a gardener learns 10 to 14; [BIN:TPI-EXE:0x6348C0 gardener finder] the rebuild's staff type 5 finds him; [BIN:TPI-EXE:0x63256F training finished] |
| TPI-EXE:0x63256F training finished | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:138 | [BIN:TPI-EXE:0x63256F training finished] count[+0x218]++, 0x634B00(id), then 0x623FB0(id), the special rides' staff slots (ParkEconomy.ThemeParkIncTrainingFinishedSpecialRides) |
| TPI-EXE:0x6325AA training finished | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncSpecialRides.cs:63 | [BIN:TPI-EXE:0x6325AA training finished] after the HQ's 0x634B00 the handler calls 0x623FB0 with the member's id; 0x6346C0, the other caller, has no caller of its own (its thunk 0x4019E7 is never called) |
| TPI-EXE:0x6325B9 HQ rebuild | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:147 | [BIN:TPI-EXE:0x55A620 met requirements] [BIN:TPI-EXE:0x6325B9 HQ rebuild] |
| TPI-EXE:0x6325B9 HQ rebuild | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:174 | [BIN:TPI-EXE:0x55BD79 complete button] [BIN:TPI-EXE:0x6325B9 HQ rebuild] [BIN:TPI-EXE:0x5F0F96 remove obstacle] the mission window's Proceed reaches both listeners of message 0x24 |
| TPI-EXE:0x6325B9 HQ rebuild | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:9 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x23 -> 0x634D20; [BIN:TPI-EXE:0x5F0F8D research complete] the controller's +0x1B = 1; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x6325B9 HQ rebuild | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncStaffHq.cs:21 | [BIN:TPI-EXE:0x6325B9 HQ rebuild] message 0x24 -> 0x634D20; [BIN:TPI-EXE:0x5F0F96 remove obstacle] the controller's state 2; [BIN:TPI-EXE:0x436E97 message order] ascending handles |
| TPI-EXE:0x6326B0 staff HQ load | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:196 | [BIN:TPI-EXE:0x6326B0 staff HQ load] the prebuilt saves twenty {7, 0, 0} |
| TPI-EXE:0x6326B0 staff HQ load | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:204 | [BIN:TPI-EXE:0x6326B0 staff HQ load] the 20 slots of 12 bytes (u32 type, u32 ability, u16 thing, two bytes of padding) and the 15 trained-staff dwords |
| TPI-EXE:0x6326b0 staff HQ load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:239 | [BIN:TPI-EXE:0x6326b0 staff HQ load] case 9 at 0x64cd3e (thunk 0x408edb, object 0x1ac bytes): thing base, mForceStrike, mStaffMemberPickedUp, six 12-byte strike levels, the training budget object 0x6394d0 (six budgets and mHaveEverTrained), 20 staff slots of 12 bytes, 15 trained-staff words: 411 bytes |
| TPI-EXE:0x632C20 strike month | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:414 | [BIN:TPI-EXE:0x632C20 strike month] [BIN:TPI-EXE:0x6330B0 strike consideration] [BIN:TPI-EXE:0x633740 grievance] retail: MinMonthsForStrike 12, |
| TPI-EXE:0x632C20 strike month | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:150 | [BIN:TPI-EXE:0x632C20 strike month] the staff HQ is thing 1 of the prebuilt park, so it hears the month message (0x0C) before the analyser (5), the bank (9) and the members (their reviews change |
| TPI-EXE:0x632C20 strike month | source/OpenTPW/Economy/ParkEconomy.cs:1548 | [BIN:TPI-EXE:0x632C20 strike month] the staff HQ (thing 1) hears it first: the strike consideration reads the meters before the members' paydays review their wages |
| TPI-EXE:0x632C20 strike month | source/OpenTPW/Economy/ThemeParkIncStaff.cs:319 | [BIN:TPI-EXE:0x632C20 strike month] the roles 0 to 5 in order, skipping a role without members or already considered this turn; a role on strike ends it (0x6342B0 with a |
| TPI-EXE:0x6330B0 strike consideration | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:414 | [BIN:TPI-EXE:0x632C20 strike month] [BIN:TPI-EXE:0x6330B0 strike consideration] [BIN:TPI-EXE:0x633740 grievance] retail: MinMonthsForStrike 12, |
| TPI-EXE:0x6330B0 strike consideration | source/OpenTPW/Economy/ThemeParkIncStaff.cs:320 | message of kind 5) and is not considered; [BIN:TPI-EXE:0x6330B0 strike consideration] nothing before MinMonthsForStrike months (signed); with a grievance the level 0 posts a |
| TPI-EXE:0x633740 grievance | source/OpenTPW.Tests/ThemeParkIncStaffTests.cs:414 | [BIN:TPI-EXE:0x632C20 strike month] [BIN:TPI-EXE:0x6330B0 strike consideration] [BIN:TPI-EXE:0x633740 grievance] retail: MinMonthsForStrike 12, |
| TPI-EXE:0x633740 grievance | source/OpenTPW/Economy/ThemeParkIncStaff.cs:285 | [BIN:TPI-EXE:0x633740 grievance] the forced flag (+0x1A8) answers 1; three passes in the order energy (+0x238, EnergyPercentToStrike, 4), happiness (+0x230, HappyPercentToStrike, 2) |
| TPI-EXE:0x633740 staff meters | source/OpenTPW.Files/Formats/Save/ThemeParkIncThingBodies.cs:460 | [BIN:TPI-EXE:0x633740 staff meters] the strike test compares +0x238 with EnergyPercentToStrike ("fatigue", 0x63379F), +0x230 with HappyPercentToStrike ("unhappiness", 0x63381D) |
| TPI-EXE:0x633740 strike keys | source/OpenTPW/Economy/ThemeParkIncStaffSettings.cs:68 | [BIN:TPI-EXE:0x633740 strike keys] Strike.MinMonthsForStrike (0x633117), MinStaffOfTypeForStrike and the three meter thresholds |
| TPI-EXE:0x634240 strike test | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:184 | [BIN:TPI-EXE:0x634240 strike test] any of the six roles' active words (+0x160, +0x19C, +0x16C, +0x178, +0x184, +0x190) set |
| TPI-EXE:0x6342B0 end strike | source/OpenTPW/Economy/ThemeParkIncStaff.cs:374 | [BIN:TPI-EXE:0x6342B0 end strike] +0x160 + 12 × role = 0; the second argument 0 posts the type-0x17 message (role, 5, 0) through 0x436DD0 to the broadcaster 0xA09728 |
| TPI-EXE:0x634390 clear strike | source/OpenTPW/Economy/ThemeParkIncStaff.cs:382 | [BIN:TPI-EXE:0x634390 clear strike] +0x160 + 12 × role = 0 and +0x15C + 12 × role = 0; the turn word +0x164 stays; no message |
| TPI-EXE:0x634600 slot table | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:38 | [BIN:TPI-EXE:0x634600 slot table] |
| TPI-EXE:0x634600 slot table | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:51 | [BIN:TPI-EXE:0x634600 slot table] the career's mission (0x42A3B0 + 0x10B4): for the five records at +0x2E0 (StaffType), +0x2E4 (Ability), +0x2E8 (Number), stride 12, whatever the count dword |
| TPI-EXE:0x634730 release | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:73 | [BIN:TPI-EXE:0x634730 release] [BIN:TPI-EXE:0x634A40 handyman finder] |
| TPI-EXE:0x634730 release | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:121 | [BIN:TPI-EXE:0x634730 release] count[+0x218]-- whatever the ability; ability 0 returns; 0x6241B0(id) (the special rides' staff slots, ParkEconomy.ThemeParkIncReleaseSpecialRides); then the id's slot: none returns; |
| TPI-EXE:0x63475A ability count | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:145 | [BIN:TPI-EXE:0x63475A ability count] the dword +0x104 + 4 × ability, the ability unchecked: abilities 0..14 are the only values training writes |
| TPI-EXE:0x634771 special ride release | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:127 | [BIN:TPI-EXE:0x634771 special ride release] the HQ's release 0x634730 calls 0x6241B0 for a member with an ability, after its trained-staff count and before its own slot; the special-ride |
| TPI-EXE:0x634772 special ride release | source/OpenTPW.Tests/ThemeParkIncShareChallengeTests.cs:263 | [BIN:TPI-EXE:0x634772 special ride release] the dismissal 0x629040 destroys the member's thing (0x637C40): message 0x21 reaches the staff HQ (0x632520 -> 0x634730), whose release calls 0x6241B0 |
| TPI-EXE:0x634772 special ride release | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:133 | [BIN:TPI-EXE:0x634772 special ride release] the HQ's release 0x634730 calls 0x6241B0 (thunk 0x4082BF) for a member with an ability, so the dismissed member leaves his special-ride slot |
| TPI-EXE:0x634807 clear member slot | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:108 | [BIN:TPI-EXE:0x634807 clear member slot] the member's index in 0..19 and his kind 0x14, 5 or 4: word +8 of the slot at his index = 0 and his index = -1 (0x62BA00(-1)); any other member keeps both |
| TPI-EXE:0x6348C0 gardener finder | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:315 | [BIN:TPI-EXE:0x62B6C0 ability compatibility] a gardener learns 10 to 14; [BIN:TPI-EXE:0x6348C0 gardener finder] the rebuild's staff type 5 finds him; [BIN:TPI-EXE:0x63256F training finished] |
| TPI-EXE:0x6348C0 gardener finder | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:99 | [BIN:TPI-EXE:0x6348C0 gardener finder] the list from park+0x1EAB7E by +0x5D0 (mechanics 0x634980 from +0x1EAB80, handymen 0x634A40 from +0x1EAB7C): the first whose +0x218 == the ability and, with a |
| TPI-EXE:0x634A40 handyman finder | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:73 | [BIN:TPI-EXE:0x634730 release] [BIN:TPI-EXE:0x634A40 handyman finder] |
| TPI-EXE:0x634B00 assign | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:52 | [BIN:TPI-EXE:0x634B00 assign] |
| TPI-EXE:0x634B00 assign | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:78 | [BIN:TPI-EXE:0x634B00 assign] the member's slot index (0x62B9E0, +0x228) must be -1; the first slot (of 20) with +4 == the member's ability (0x62B8E0, +0x218) and word +8 == 0 takes the id and the |
| TPI-EXE:0x634D20 rebuild | source/OpenTPW.Tests/ThemeParkIncStaffHqTests.cs:104 | [BIN:TPI-EXE:0x634D20 rebuild] |
| TPI-EXE:0x634D20 rebuild | source/OpenTPW/Economy/ThemeParkIncStaffHeadquarters.cs:157 | [BIN:TPI-EXE:0x634D20 rebuild] for each slot with a thing: 0x634807's clear; then 0x634600; then when HasObstacle (0x5F0190) for the five ObstacleStaff records and Number times each: StaffType 0 the |
| TPI-EXE:0x6355D0 tube load | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:285 | [BIN:TPI-EXE:0x6355D0 tube load] this+0x818 = 0, this+0x81C = 0x54F130 (total 0, threshold 3, counts 0), this+0x820/+0x824/+0x825/+0x828 = 0; then numtags records, each through 0x636880(row, 1) |
| TPI-EXE:0x6355D0 tube save | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:277 | [BIN:TPI-EXE:0x6355D0 tube save] counts the rows with +0xE28 == 0 (numtags), then writes each of them (MailMessage, 0xE2C bytes) in list order |
| TPI-EXE:0x6355d0 tag system load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:484 | [BIN:TPI-EXE:0x6355d0 tag system load] case 12 at 0x64cf1d (thunk 0x405f29, object 0x830 bytes): thing base, a u32 numtags (0x6357bd) and numtags MailMessage records of 0xe2c bytes (0x635821); the loader copies a record's fields into a mail message object, of which the byte at +0xe28 (the loop at 0x635653 counts the ones where it is 0 when saving) is the only member the routine tests. 12 bytes when numtags is 0, as in the prebuilt |
| TPI-EXE:0x635A63 tag subscriptions | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:56 | [BIN:TPI-EXE:0x635A63 tag subscriptions] the tag system's constructor subscribes to kinds 0x18, 0x19 and 0x1B; [BIN:TPI-EXE:0x6362CA advice row] a tag without a record (0x637000) files |
| TPI-EXE:0x635AB0 tube pass | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:210 | [BIN:TPI-EXE:0x635AB0 tube pass] stage 1 frees the to-be-deleted list (memory only); stage 2 (this+0x825): clears it and walks the list: each row with +0xE28 has, when +0xE0C is 0, +0xE0C = 1 |
| TPI-EXE:0x635D80 mail record | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:165 | the tag system consumes; [BIN:TPI-EXE:0x635D80 mail record] it builds advice 0x1A2 (response 749, speech 869, tag 0x5E, entry 166) |
| TPI-EXE:0x635D80 mail record | source/OpenTPW/Economy/ThemeParkIncAdviceMail.cs:7 | [BIN:TPI-EXE:0x635D80 mail record] the tag system turns the bank's type-25 notification into a tag entry carrying advice |
| TPI-EXE:0x635D80 notification letter | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:188 | [BIN:TPI-EXE:0x635D80 notification letter] A notification letter (the bank's six-months-in-the-red letter or the challenge system's |
| TPI-EXE:0x635E05 letter date | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:220 | [BIN:TPI-EXE:0x635E05 letter date] The tag system dates the record when it builds it: the clock (world +0x428) turns the park tick into |
| TPI-EXE:0x635E05 row date | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:25 | [BIN:TPI-EXE:0x635E05 row date] 0x6089C0 on the clock (world +0x428) gives the year (0xAA0ADC), the month (0xAA0AD8) and the day (0xAA0AD4); the month is decremented in place and |
| TPI-EXE:0x636191 letter record | source/OpenTPW/Client/ThemeParkIncObjectiveLetter.cs:25 | [BIN:TPI-EXE:0x636191 letter record] the tag system fills the record through the letter's virtual functions: the subject (+0, 0x5CEBB0), the sender (+4, 0x5CD0D0: TAG_SYSTEM[row +4]), the |
| TPI-EXE:0x636209 notification letter | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:43 | [BIN:TPI-EXE:0x636209 notification letter] the kinds 6 to 8 that 0x5CD060 accepts build the letter window (0x526CD0) and set +0xE0C before the row is inserted (0x636142 -> 0x636880) |
| TPI-EXE:0x636217 letter window | source/OpenTPW/Client/ThemeParkIncHud.cs:678 | [BIN:TPI-EXE:0x636217 letter window] the tag system opens the window on every accepted notification (ids 6 to 8, 0x5CD060) |
| TPI-EXE:0x63621C open at once | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:68 | sender row key 1's word; [BIN:TPI-EXE:0x63621C open at once] 0x5CD060 accepts kinds 6 to 8: the letter window (0x526CD0), +0xE0C = 1, then id 8 writes +0 = 0x5E and id 7 +0 = 0x5F |
| TPI-EXE:0x63623E letter category | source/OpenTPW/Economy/ThemeParkIncAdviceMail.cs:13 | [BIN:TPI-EXE:0x63623E letter category] the tag system writes the record's category 0x5E for notification id 8; the letter window's |
| TPI-EXE:0x636266 letter category | source/OpenTPW/Economy/ThemeParkIncAdviceMail.cs:18 | [BIN:TPI-EXE:0x636266 letter category] category 0x5F for notification id 7, dismissed into 0x649E60 with reason 1 (0x5269CA) |
| TPI-EXE:0x6362AA letter advice | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:44 | [BIN:TPI-EXE:0x6362AA letter advice] first the row builder posts the letter's advice (0x1A1, 0x1A2 or 0x1A3) to the advisor's queue with its descriptor's score (0x71A930 -> 0x718820): it is |
| TPI-EXE:0x6362CA advice row | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:56 | [BIN:TPI-EXE:0x635A63 tag subscriptions] the tag system's constructor subscribes to kinds 0x18, 0x19 and 0x1B; [BIN:TPI-EXE:0x6362CA advice row] a tag without a record (0x637000) files |
| TPI-EXE:0x6362CA advice row | source/OpenTPW/Economy/ThemeParkIncTagLetter.cs:138 | [BIN:TPI-EXE:0x6362CA advice row] +0 = the tag, +4 = the record's +4, +0xE04 = its +0x14 word, +0xE10 = its +0xC, +0xE0E = its +0x24 word, +0xE14 = the broadcast's locate word, +0xE18 = its |
| TPI-EXE:0x63632C advice row texts | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:43 | [BIN:TPI-EXE:0x63632C advice row texts] sender TAG_SYSTEM[record +0x1C], addressee the player (0x622130), subject TAG_SYSTEM[record +0x20], body 0x6365A0 (record +0x18 = 0: the plain |
| TPI-EXE:0x636880 tube insert | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:122 | [BIN:TPI-EXE:0x636880 tube insert] +0xE28 = 0; +0xE04 > 0: +0xE08 = clock (world +0x1EAB40) + E04 * 4 and this+0x820 = the smaller of it and a set +0x820; +0xE1C = 0xAA0AF0++, +0xE20 = 0; |
| TPI-EXE:0x636A40 tube delete | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:157 | [BIN:TPI-EXE:0x636A40 tube delete] walks the list from the head for a row whose +0 and +0xE1C equal the argument's and whose +0xE28 is 0: +0xE28 = 1, this+0x825 = 1, window dirty; the counter |
| TPI-EXE:0x636B10 tube delete by key | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:175 | [BIN:TPI-EXE:0x636B10 tube delete by key] walks the list: the word +0xE14 == key and +0xE28 == 0: +0xE28 = 1, this+0x825 = 1; any flagged: the window dirty (0x552CD0) |
| TPI-EXE:0x636C90 tube delete by tag | source/OpenTPW/Economy/ThemeParkIncTagTube.cs:171 | [BIN:TPI-EXE:0x636C90 tube delete by tag] walks the list: +0 == tag, the word +0xE14 == key and +0xE28 == 0: +0xE28 = 1, this+0x825 = 1; any flagged: the window dirty (0x552CD0) |
| TPI-EXE:0x637000 tag record | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:71 | [BIN:TPI-EXE:0x637000 tag record] the record of tag t is 0x9D3480 + 40·t when its +0 is t (a tag of 0x96 or more, and 0x97, have none) |
| TPI-EXE:0x637100 thing base | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:338 | [BIN:TPI-EXE:0x637100 thing base] the thing takes the free list's head as its id and enters the thing list at its head (0x649270), so the newest thing is updated first |
| TPI-EXE:0x637230 thing base load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.cs:56 | [BIN:TPI-EXE:0x637230 thing base load] mX, mY, mMapChild, mMapParent (2 bytes each) start every body. |
| TPI-EXE:0x6375E0 thing dispatch | source/OpenTPW/World/ThingPool.cs:432 | [BIN:TPI-EXE:0x6375E0 thing dispatch] Theme Park Inc's thing kinds reach 0x14, the gardener (0x63763E); Theme Park World's stop at 19 |
| TPI-EXE:0x6375FA guest tick | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:183 | [BIN:TPI-EXE:0x6375FA guest tick] 0x6375FC calls 0x619B50, 0x637603 calls 0x619FF0, every turn for every guest |
| TPI-EXE:0x63760B attraction update | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:461 | [BIN:TPI-EXE:0x63760B attraction update] kind 3: 0x5E4790, then 0x5E4CB0's plant block |
| TPI-EXE:0x63760B attraction update | source/OpenTPW/Economy/ParkEconomy.cs:1127 | [BIN:TPI-EXE:0x63760B attraction update] kind 3: 0x5E4790, then the state dispatch 0x5E4CB0, whose state 3 is the plant's block and state 0 the ride update (the level's admission) |
| TPI-EXE:0x63761C mechanic update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:457 | [BIN:TPI-EXE:0x63761C mechanic update] kind 4: the pre-update 0x5DA3B0 (a jump to the common 0x628050), then the state dispatch 0x5DA280 |
| TPI-EXE:0x63762D handyman update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:456 | [BIN:TPI-EXE:0x63762D handyman update] kind 5: the pre-update 0x5D5000, then the state dispatch 0x5D5710 |
| TPI-EXE:0x63763E gardener update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:478 | [BIN:TPI-EXE:0x63763E gardener update] kind 0x14: the pre-update 0x5D2820 (the common 0x628050, then the search period), then the dispatch 0x5D2A60 |
| TPI-EXE:0x637651 entertainer update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:485 | [BIN:TPI-EXE:0x637651 entertainer update] kind 6: the pre-update 0x5D1960 (the cell effect, then the common 0x628050), then the dispatch 0x5D1E20 |
| TPI-EXE:0x637660 guard update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:486 | [BIN:TPI-EXE:0x637660 guard update] kind 7: the pre-update 0x5D3B40 (the same with row 3), then the dispatch 0x5D3C60 |
| TPI-EXE:0x637690 researcher update | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:466 | [BIN:TPI-EXE:0x637690 researcher update] kind 8: the pre-update 0x61B600 (the common 0x628050), then the dispatch 0x61B620 |
| TPI-EXE:0x6376C7 advisor update | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:101 | [BIN:TPI-EXE:0x6376C7 advisor update] the thing pass's class switch sends model 11 to 0x637704 -> 0x718190 (skipped while the mode word is 1, an online game) |
| TPI-EXE:0x6376C7 advisor update | source/OpenTPW/World/Level.Simulation.cs:390 | [BIN:TPI-EXE:0x6376C7 advisor update] the class-11 thing's update is the advisor's 0x718190 |
| TPI-EXE:0x63770E tag system update | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:65 | [BIN:TPI-EXE:0x63770E tag system update] the world pass's thing-class dispatch sends class 12 to 0x635AB0 |
| TPI-EXE:0x63770E tag system update | source/OpenTPW/World/Level.Simulation.cs:385 | [BIN:TPI-EXE:0x63770E tag system update] the class-12 thing's update is the tag tube's 0x635AB0 |
| TPI-EXE:0x637716 lab dispatch | source/OpenTPW/Economy/ThemeParkIncResearch.cs:150 | [BIN:TPI-EXE:0x637716 lab dispatch] the kind-14 update after the world tick's increment (0x64945D), so the tick it reads is the turn's |
| TPI-EXE:0x637716 lab update | source/OpenTPW/World/Level.Simulation.cs:380 | [BIN:TPI-EXE:0x637716 lab update] the kind-14 thing's update is the research lab's 0x61E980 |
| TPI-EXE:0x637767 challenge thing | source/OpenTPW/Economy/ParkEconomy.cs:576 | [BIN:TPI-EXE:0x637767 challenge thing] Theme Park Inc's challenge system and mission controller are things of the world pass (0x6375E0 -> 0x5C7930, 0x5EF520) whatever the staff |
| TPI-EXE:0x63776F controller dispatch | source/OpenTPW/Economy/ThemeParkIncMissionController.cs:192 | [BIN:TPI-EXE:0x63776F controller dispatch] the class-21 update is skipped when the mode word [0xC65B80] is 1 (an online game, which reads online_Standard.sam); OpenTPW's slice is the career |
| TPI-EXE:0x637A1A tag system receiver | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:18 | [BIN:TPI-EXE:0x637A1A tag system receiver] the receiver of class 0xC is the tag system, whose handler is the row builder 0x635D80 |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:357 | [BIN:TPI-EXE:0x637C40 thing destroy] [BIN:TPI-EXE:0x61B570 researcher message] [BIN:TPI-EXE:0x61DB90 room removed] |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:198 | [BIN:TPI-EXE:0x637C40 thing destroy] the demolish destroys the room at the click (0x4D30F8 -> 0x660D80 -> 0x666DA0 -> 0x6674E1) and the dispatcher 0x436DD0 delivers message 0xA at once: |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:233 | [BIN:TPI-EXE:0x637C40 thing destroy] [BIN:TPI-EXE:0x5DB786 room flags] the level's hook (Level.OnThemeParkIncObjectRemoving) on its own ParkObjects, without a renderer: a level object |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW/World/Level.ThemeParkIncGuests.cs:17 | [BIN:TPI-EXE:0x637C40 thing destroy] the destroy broadcasts message 0xA at the click (OnThemeParkIncObjectRemoving); every guest hears it through its handler 0x60D120 |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:169 | [BIN:TPI-EXE:0x637C40 thing destroy] the class's destroy handler, then the thing is marked dead and freed |
| TPI-EXE:0x637C40 thing destroy | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:172 | [BIN:TPI-EXE:0x637C40 thing destroy] the player's demolish runs at the click: the world click handler (0x4D30F8) calls the cell-op engine 0x660D80, whose demolish (0x6633CE -> 0x666DA0, the scrap |
| TPI-EXE:0x637CB9 message 0x21 | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncWages.cs:127 | [BIN:TPI-EXE:0x637CB9 message 0x21] 0x436040 builds the type-0x21 message with the handle (vtable 0x93A3B8) and 0x436DD0 delivers it at once to the subscribers in handle order: the staff HQ |
| TPI-EXE:0x637CB9 message 0x21 | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:200 | [BIN:TPI-EXE:0x637CB9 message 0x21] the destroy's own message (vtable 0x93A3B8, type 0x21 at 0x436070) before the kind switch 0x637CD5; [BIN:TPI-EXE:0x5DE829 message 0xA] the attraction's destroy |
| TPI-EXE:0x6388F0 thought object | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:254 | [BIN:TPI-EXE:0x6388F0 thought object] a bubble older than its stamp + 12 goes (thought 21 holds 120 turns; nothing of phase P1 shows 21) |
| TPI-EXE:0x639AA0 training room | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Training.cs:58 | [BIN:TPI-EXE:0x639AA0 training room] the list park+0x1EAB88 (next +0x14) to the first thing whose word +0x42 has 0x400, set by the attraction builder from the type record's +0x1B8 (0x5DB79A), |
| TPI-EXE:0x639B20 can learn | source/OpenTPW.Tests/ThemeParkIncTrainingTests.cs:49 | [BIN:TPI-EXE:0x62B6C0 ability compatible] [BIN:TPI-EXE:0x639B20 can learn] |
| TPI-EXE:0x639B20 can learn | source/OpenTPW/Economy/ThemeParkIncTraining.cs:45 | [BIN:TPI-EXE:0x639B20 can learn] 0x5F0370(ability) (the career's +0x1064[ability], "Ability not activated."), 0x62B6C0 ("Not compatible ability."), then the experience +0x210 >= 10000 unsigned |
| TPI-EXE:0x639F40 trainees | source/OpenTPW/Economy/ThemeParkIncTraining.cs:71 | [BIN:TPI-EXE:0x639F40 trainees] every thing (0x649060/0x6490A0) of kind 4, 5, 6, 7, 8 or 0x14 whose state +0x1B4 is 7, 8, 0x25 or 0x26 |
| TPI-EXE:0x63F1E0 separation neighbours | source/OpenTPW.Tests/ThemeParkIncGardenerTests.cs:144 | [BIN:TPI-EXE:0x63F1E0 separation neighbours] Theme Park Inc's query takes the kinds 1, 4, 5, 6, 8, 7, 0x14 and 0x12 (0x63F2AD..0x63F2CB): the gardener (0x14) is a neighbour, which Theme Park |
| TPI-EXE:0x64149B weather constructor | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:89 | [BIN:TPI-EXE:0x64149B weather constructor] An older OpenTPW save had no wind angle. |
| TPI-EXE:0x6414a2 weather constructor | source/OpenTPW.Files/Formats/Save/ThemeParkIncThingBodies.cs:46 | [BIN:TPI-EXE:0x6414a2 weather constructor] +0x74 (mWindDir) starts at 90.0 and +0x78 (mWindForce) at 0.5, both single-precision floats that the weather step 0x642cb0 and 0x642d3b write with fstp |
| TPI-EXE:0x641510 weather load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:406 | [BIN:TPI-EXE:0x641510 weather load] case 15 at 0x64d31d (thunk 0x401014, object 0x80 bytes): thing base, two weather spells (0x643100), the rain and lightning state and the wind: 104 bytes |
| TPI-EXE:0x641FC4 month message | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:194 | [BIN:TPI-EXE:0x641FC4 month message] the message type 0xC: the date's month (0x401A14, its third argument) against the rolled spell's start (+0x14): reached and pending (+0x24) starts it (0x408FBC to 0x642A80: the record is copied to +0x28..+0x34 and +0x70 takes its kind); a spell still pending ends the message; else the running spell's last month, ((start + months - 1) mod 12) + 1 (0x642084), against the month mod 12 + 1 (0x642087): reached rolls the next spell (0x642770, 0x401EA1) |
| TPI-EXE:0x641FF3 weather message | source/OpenTPW.Tests/ThemeParkIncWeatherClosingTests.cs:75 | [BIN:TPI-EXE:0x641FF3 weather message] the attractions are asked once per spell start (Level.SyncObjectEconomy reads SpellStarts) |
| TPI-EXE:0x641FF3 weather message | source/OpenTPW/World/Level.Objects.cs:2313 | [BIN:TPI-EXE:0x641FF3 weather message] the attractions' weather message (type 1, constructor 0x435510) is built only in the weather thing's month handler right after the spell start 0x642A80, so every live attraction runs its closing once per spell start, not per turn (ARRIVAL-008); a ride built mid-spell is not asked until the next one, and the placement prototype never is |
| TPI-EXE:0x64209B forecast trigger | source/OpenTPW.Tests/ThemeParkIncWeatherTests.cs:209 | [BIN:TPI-EXE:0x64209B forecast trigger] the month that rolls the spell posts its advice; starting it posts nothing more. |
| TPI-EXE:0x6420AF forecast dispatch | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:46 | [BIN:TPI-EXE:0x6420AF forecast dispatch] the newly rolled spell's kind picks 0x154, 0x157, 0x15B or 0x15A |
| TPI-EXE:0x6420EB | source/OpenTPW/Economy/ParkEconomy.cs:516 | [BIN:TPI-EXE:0x6420EB] the advice belongs to the spell this message rolls; a pending or starting spell posts none |
| TPI-EXE:0x6420EB forecast advice | source/OpenTPW/Economy/ParkEconomy.cs:517 | [BIN:TPI-EXE:0x6420EB forecast advice] the record is built with the descriptor's score (0x71A930, score -1) and posted to the advisor as a kind-5 message (0x7194A4 -> 0x718820) |
| TPI-EXE:0x642230 weather turn | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:101 | [BIN:TPI-EXE:0x642230 weather turn] The native thing steps the count before the calendar can start another spell. |
| TPI-EXE:0x64223B drop update | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:49 | [BIN:TPI-EXE:0x64223B drop update] A negative target disables this part of the turn. A positive target within one step |
| TPI-EXE:0x64226A drop outputs | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:60 | [BIN:TPI-EXE:0x64226A drop outputs] Only the renderer count is clamped. The volume uses the raw current value. |
| TPI-EXE:0x64229A rain volume request | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:93 | [BIN:TPI-EXE:0x64229A rain volume request] The sound system clamps this request, not the weather thing. |
| TPI-EXE:0x6422B8 precipitation stop | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:153 | [BIN:TPI-EXE:0x6422B8 precipitation stop] A zero target can stop the mode even |
| TPI-EXE:0x6422FE storm turn | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:128 | [BIN:TPI-EXE:0x6422FE storm turn] The storm timers step with the drops on the same park turn, drawing |
| TPI-EXE:0x6422FE storm turn | source/OpenTPW/World/Weather/ThemeParkIncStorm.cs:27 | [BIN:TPI-EXE:0x6422FE storm turn] A strike requires a strictly negative lightning timer. A pending thunder |
| TPI-EXE:0x6423AB thunder due | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:160 | [BIN:TPI-EXE:0x6423AB thunder due] the strike's top, played once when the storm's thunder countdown reaches zero. |
| TPI-EXE:0x6423fb lightning location | source/OpenTPW.Files/Formats/Save/ThemeParkIncThingBodies.cs:53 | [BIN:TPI-EXE:0x6423fb lightning location] fld [esi+0x64], [esi+0x60], [esi+0x5c] then the float-to-integer conversion 0x86fab0 for each, passed to the effect call 0x402dab |
| TPI-EXE:0x642550 strike geometry | source/OpenTPW/World/Level.cs:451 | [BIN:TPI-EXE:0x642550 strike geometry] the X and Z draws scale by the map's cell counts times ten. |
| TPI-EXE:0x642550 strike geometry | source/OpenTPW/World/Weather/ThemeParkIncStorm.cs:11 | [BIN:TPI-EXE:0x642550 strike geometry] Four draws: ground X/Z, then the top's X/Z offsets. |
| TPI-EXE:0x642770 spell roll | source/OpenTPW.Tests/ThemeParkIncWeatherTests.cs:10 | [BIN:TPI-EXE:0x642770 spell roll] the machine under test follows the executable; the roll's numbers come from the economy's world stream ([EXT:tpi-weather-spell-seed]) |
| TPI-EXE:0x6427A8 spell roll | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:167 | [BIN:TPI-EXE:0x6427A8 spell roll] The roll stores month + 1 without wrapping it. Keep a pending 13 if the running simulation produced it. |
| TPI-EXE:0x6427A8 spell roll | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:223 | [BIN:TPI-EXE:0x6427A8 spell roll] the month m (1 to 12) stored plus 1 is the spell's start; q = m mod 12 + 1, the row is q / 3 and the position q mod 3 (0 is 3); a third month (position 3) of a year from YearsBeforeFirstFreakWeather on draws r mod 100 against the row's chances in turn (heatwave, rain, storm, snow, each taken off r when missed), a spell of 3 months; any other roll, or a miss, is normal weather for the months left in the quarter; the quality is a draw below (high - low) plus low, from the kind's range (heatwave 0xA0250C/10, rain 0xA02520/1C, storm = lightning 0xA02528/24, snow 0xA02518/14, normal 0xA02504/08) |
| TPI-EXE:0x6427F1 row 4 | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:224 | [BIN:TPI-EXE:0x6427F1 row 4] November (q = 12) reads the row 4: the words after the table (the count, DaysOfWarning, DaysBetweenChanges) and the years setting as its chances |
| TPI-EXE:0x64280F, 0x64289F, 0x642857 row reads | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:26 | [BIN:TPI-EXE:0x64280F, 0x64289F, 0x642857 row reads] the roll reads the table by row, eax = row * 16 (four words of 4 bytes per row); the schema record Seasons has count 4 |
| TPI-EXE:0x642A80 spell presentation | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:8 | [BIN:TPI-EXE:0x642A80 spell presentation] Weather modes: 0 rain, 1 snow, 2 off. |
| TPI-EXE:0x642ADB rain target | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:38 | [BIN:TPI-EXE:0x642ADB rain target] Rain and storm share the rain band's endpoints; snow uses its own. |
| TPI-EXE:0x642C78 dry spell | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:204 | [BIN:TPI-EXE:0x642C78 dry spell] The mode-2 helper at 0x642EE9 resets the count immediately. |
| TPI-EXE:0x642C89 spell wind | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:18 | [BIN:TPI-EXE:0x642C89 spell wind] Force comes from quality; the angle reflects at zero |
| TPI-EXE:0x642CDF spell wind draw | source/OpenTPW/Economy/ThemeParkIncWeatherSpells.cs:207 | [BIN:TPI-EXE:0x642CDF spell wind draw] This uses the world generator, not CRT rand(). |
| TPI-EXE:0x642F40 rain mode | source/OpenTPW/Audio/GameAudio.cs:766 | [BIN:TPI-EXE:0x642F40 rain mode] Starts the weather thing's own flat ambient sentence 0x21; |
| TPI-EXE:0x6476F0 current obstacle | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:151 | [BIN:TPI-EXE:0x6476F0 current obstacle] Obstacle.Type 0 clears park+0x1EAB6E; then every class-3 thing whose type is it is assigned in the list's order without a break, so the last one wins; |
| TPI-EXE:0x647850 find attraction | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncChallenges.cs:241 | [BIN:TPI-EXE:0x647850 find attraction] the first class-3 thing of the type in the attraction list; its type record's +0x5C and the thing's +0x12C and +0x54 (ParkEconomy.ThemeParkIncChallengeTargetOf) |
| TPI-EXE:0x647850 find attraction | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:161 | [BIN:TPI-EXE:0x647850 find attraction] walks the thing list from 0xAA116C and returns the first class-3 thing whose type record's +0 is the type, else 0 |
| TPI-EXE:0x647BF0 obstacle placement | source/OpenTPW/World/Objects/ObjectCatalog.cs:260 | [BIN:TPI-EXE:0x647BF0 obstacle placement] Theme Park Inc's object infos include the types of levels/<zone>/obstacles/*.wad (the placement walks every info of the zone, 0x43C6B0/0x43C6D0, and |
| TPI-EXE:0x647BF0 obstacle placement | source/OpenTPW/World/Original/OriginalPark.cs:64 | [BIN:TPI-EXE:0x647BF0 obstacle placement] Theme Park Inc's lake is the mission obstacle 1703 (obstacles/lake.wad, lake.MD2) and after its opening 1704 (obstacles/dlake.wad, dlake.MD2), objects |
| TPI-EXE:0x647CF5 obstacle anchor | source/OpenTPW/World/ThemeParkIncObstacles.cs:36 | [BIN:TPI-EXE:0x647CF5 obstacle anchor] A = (info+0x38 + info+0x124) * 128 + 1 + info+0x34 + info+0x120, passed to the attraction constructor 0x5DB1B0(A, type, 0, 0, 0); the Shape cells are written |
| TPI-EXE:0x647D60 obstacle shape | source/OpenTPW/World/ThemeParkIncObstacles.cs:45 | [BIN:TPI-EXE:0x647D60 obstacle shape] for every Shape cell (rows bottom first, 0x140 apart) whose value != 0x21: square S = (ShapeOffsetY + row) * 128 + 1 + ShapeOffsetX + column; 0x67AD00(0, 0, 0), 0x67FB80, |
| TPI-EXE:0x647E01 obstacle cell flag | source/OpenTPW/World/ParkCellMap.cs:949 | [BIN:TPI-EXE:0x647E01 obstacle cell flag] the placement writes +0x24 = 1 and the opening 0x5E8CB4 writes 0; the pick 0x666BE0, the hover at 0x504A0C and the edge test's walkway and mask-2 tests 0x67F6F0 / 0x67F720 read it |
| TPI-EXE:0x6481FD Standard parse | source/OpenTPW/Economy/ThemeParkIncStandard.cs:129 | [BIN:TPI-EXE:0x6481FD Standard parse] data\levels\Standard.sam with flag 0 (the reset), then <level>\Standard.sam with flag 1 (no reset; a missing file is not logged); the online and |
| TPI-EXE:0x6481FD settings parse | source/OpenTPW/Economy/ThemeParkIncChallengeSettings.cs:65 | [BIN:TPI-EXE:0x6481FD settings parse] the global data\levels\Standard.sam is parsed with a reset to defaults, the level's file over it; a key neither sets is 0 |
| TPI-EXE:0x6482E3 staff HQ thing | source/OpenTPW/Economy/ParkEconomy.cs:80 | [BIN:TPI-EXE:0x6482E3 staff HQ thing] the new-world init builds the staff HQ, whose constructor fills its slot table from the career's mission (0x632270 -> 0x634600) |
| TPI-EXE:0x64836F advisor thing | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:36 | [BIN:TPI-EXE:0x64836F advisor thing] the new-world init builds the advisor (model 11) before the tag system (0x6483B7); its scorer loads Advisor.sam on first use (0x71B6B0) |
| TPI-EXE:0x6483B7 tag system thing | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncTagTube.cs:6 | [BIN:TPI-EXE:0x6483B7 tag system thing] the new-world init builds the tag system (0x638120(0x830), 0x635180) among the first things and keeps its id at park+0x1EAB52 |
| TPI-EXE:0x648423 research manager | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:417 | [BIN:TPI-EXE:0x648423 research manager] every new world builds the research manager (0x61BB30, 0x2508 bytes) and keeps its id at park+0x1EAB56, so line 104 never shows |
| TPI-EXE:0x6485A9 challenge system | source/OpenTPW/Economy/ParkEconomy.cs:84 | [BIN:TPI-EXE:0x6485A9 challenge system] the new-world init constructs the challenge system thing, which loads its slots at once (0x5C7400 -> 0x5C7630); it draws nothing |
| TPI-EXE:0x64860F cutscene thing | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:74 | [BIN:TPI-EXE:0x64860F cutscene thing] the factory builds the cutscene thing just before the mission controller; every camera end posts message 0x29 to it (0x5D0996) |
| TPI-EXE:0x648633 controller thing | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:66 | [BIN:TPI-EXE:0x648633 controller thing] the new-world init builds the mission controller after the challenge system (0x6485A9) and stores its id at park+0x1EAB6C; its constructor reads the |
| TPI-EXE:0x648676 shares init | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAwards.cs:46 | [BIN:TPI-EXE:0x648676 shares init] the new-world init calls 0x620930 on 0xAA0128 after the research lab's 0x61BBD0 and before 0x693270 |
| TPI-EXE:0x648DF0 thing table | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:107 | [BIN:TPI-EXE:0x648DF0 thing table] slot 0 of the thing table 0xAA18B0 is never a thing (the reset clears its pointer and the free list starts at slot 1), and 0x5D0400 has no refusal for it: |
| TPI-EXE:0x649060 thing walk | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:36 | [BIN:TPI-EXE:0x649060 thing walk] every thing of class 3: the placed objects that are not deleted (the object in the hand is not one) |
| TPI-EXE:0x6493B0 thing destroy | source/OpenTPW/World/Level.Staff.cs:490 | [BIN:TPI-EXE:0x609130 person destroy] 0x637FE0, the sprite source deleted (0x5D1050) and 0x638460; [BIN:TPI-EXE:0x6493B0 thing destroy] the handle goes onto the destroy list (0x650990), freed later |
| TPI-EXE:0x6495C1 thing pass | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:115 | [BIN:TPI-EXE:0x6495C1 thing pass] newest first: the mission controller (0x648633), then the cutscene thing (0x64860F, update 0x5D02F0), then the challenge system |
| TPI-EXE:0x6495C1 thing pass | source/OpenTPW/Economy/ParkEconomy.cs:1502 | [BIN:TPI-EXE:0x6495C1 thing pass] the world pass walks the things newest first: the mission controller (built after the challenge system, 0x648633) updates before it |
| TPI-EXE:0x6495C1 thing pass | source/OpenTPW/World/Level.Simulation.cs:336 | [BIN:TPI-EXE:0x6495C1 thing pass] Theme Park Inc's world pass walks the thing list from its head (0xAA116C, newest first) and updates each thing through the kind switch 0x6375E0: its staff |
| TPI-EXE:0x649868 staff pool update | source/OpenTPW/Economy/ParkEconomy.cs:487 | [BIN:TPI-EXE:0x649868 staff pool update] after the thing loop the world update's tail updates the hiring pool (0x5D65E0 -> 0x631B40: expiry, refill and top-up, drawing |
| TPI-EXE:0x649E92 game over | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:206 | [BIN:TPI-EXE:0x649E92 game over] the letter window's procedure calls 0x649E60 with 0 for the bank's letter (category 0x5E) and 1 for the |
| TPI-EXE:0x649E92 game over | source/OpenTPW/Economy/ParkEconomy.cs:1760 | [BIN:TPI-EXE:0x649E92 game over] Theme Park Inc loses the park when the player closes a notification letter: the letter window's |
| TPI-EXE:0x64BC00 World loader | source/OpenTPW/World/Level.Resume.cs:386 | [BIN:TPI-EXE:0x64BC00 World loader] the World variables carry CurrentObstacle; a continuation without it is refused (ParkResumeSaveFile.ThemeParkIncObstacleMissing) |
| TPI-EXE:0x64BC00 World loader | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:59 | [BIN:TPI-EXE:0x64BC00 World loader] CurrentObstacle is one of the World variables a park file carries (the prebuilt's names its 1700 gate) |
| TPI-EXE:0x64C2EC lost state load | source/OpenTPW.Tests/ThemeParkIncEconomyTests.cs:194 | [BIN:TPI-EXE:0x64C2EC lost state load] the world state is saved and loaded, the loss reason is not, so the reloaded caption is |
| TPI-EXE:0x64C2EC lost state load | source/OpenTPW/Economy/ParkEconomy.cs:3285 | [BIN:TPI-EXE:0x64C2EC lost state load] Theme Park Inc saves and loads the world state (mWorldState, written at 0x64A944) but not the loss |
| TPI-EXE:0x64CD3E staff HQ load | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:9 | [BIN:TPI-EXE:0x64CD3E staff HQ load] a park file's HQ thing is loaded, not constructed: its slots are the saved ones (the prebuilt's twenty {7, 0, 0}), not the current mission's table |
| TPI-EXE:0x64CF7C tag system load | source/OpenTPW/Economy/ParkSaveFile.cs:1657 | [BIN:TPI-EXE:0x64CF7C tag system load] the world load reads the SGAT thing and its rows (0x6355D0 with flag 0) after the things before it; the rows' expiry restarts from the clock |
| TPI-EXE:0x64D21D lab load | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncResearch.cs:12 | [BIN:TPI-EXE:0x64D21D lab load] the park file's lab thing (case 14) and the control table are loaded, not constructed: no fill runs |
| TPI-EXE:0x64D62E cutscene load | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:255 | [BIN:TPI-EXE:0x64D62E cutscene load] the loader allocates the thing (0x638120(0x30)) and sets only 0xA9D230 and +0x28 to 0: the constructor 0x5D0090, which clears 0xA9D254, 0xA9D255, 0xA9D256 and 0xA9D258, does not run, |
| TPI-EXE:0x64D759 free list rebuild | source/OpenTPW/World/Level.Staff.cs:361 | [BIN:TPI-EXE:0x64D759 free list rebuild] after the thing list's ENOD the World loader rebuilds the free list from the slots no saved thing occupies (0xAA18C4 on, stride 20, the head |
| TPI-EXE:0x64E940 staff HQ | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:161 | [BIN:TPI-EXE:0x64E940 staff HQ] the HQ's twenty slots (ThemeParkIncStaffHeadquarters); a park without Theme Park Inc staff has no HQ |
| TPI-EXE:0x64E940 staff HQ | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:214 | [BIN:TPI-EXE:0x64E940 staff HQ] the HQ thing park+0x1EAB4C, whose 20 slots ThemeParkIncStaffHeadquarters keeps; a park without Theme Park Inc staff has no HQ |
| TPI-EXE:0x64EA00 advisor thing | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:223 | [BIN:TPI-EXE:0x64EA00 advisor thing] the controller's advice goes to the world's advisor thing (0x408EE5 -> 0x4077F2) |
| TPI-EXE:0x64EAC0 analyser lookup | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncArrivalRing.cs:12 | [BIN:TPI-EXE:0x64EAC0 analyser lookup] the World reference names model 13; an unrelated analyser is not a substitute for a zero reference |
| TPI-EXE:0x64EAC0 analyser lookup | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncStatistics.cs:12 | [BIN:TPI-EXE:0x64EAC0 analyser lookup] the world names the model-13 analyser; an unrelated PARK record is not a substitute for a zero reference |
| TPI-EXE:0x64F3E0 object list | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncRides.cs:214 | [BIN:TPI-EXE:0x64F3E0 object list] the attraction constructor 0x5DB1B0 puts every attraction, obstacles included, at the list's head (the call at 0x5DB28C): an economy record in AddObject, a thing |
| TPI-EXE:0x64F3E0 object list | source/OpenTPW/Economy/ParkEconomy.cs:2333 | [BIN:TPI-EXE:0x64F3E0 object list] a new Theme Park Inc object enters the object list at its head |
| TPI-EXE:0x64F3E0 object list | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:68 | (UsageInfo.TrainingRoom) is; [BIN:TPI-EXE:0x64F3E0 object list] the builder pushes the thing onto the front of the object list park+0x1EAB88 (the World variable FirstObject), as 0x637100 pushes |
| TPI-EXE:0x64F3E0 object list | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Mechanics.cs:193 | [BIN:TPI-EXE:0x64F3E0 object list] the list is ParkEconomy.ThemeParkIncObjectList: newest first, with the attraction things that have no economy record kept as negated thing ids, which the |
| TPI-EXE:0x64F430 object list | source/OpenTPW/World/Level.Objects.cs:2075 | [BIN:TPI-EXE:0x64F430 object list] a Theme Park Inc attraction without an economy record (an obstacle, a replacement) leaves the object list as its thing id; one with a record leaves |
| TPI-EXE:0x64FA50 gate status | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:665 | [BIN:TPI-EXE:0x64FA50 gate status] −1 without a gate thing (world +0x1EAB66), else the gate's VAR_STATUS (Gates.RSE: 1 open, 0 closed) |
| TPI-EXE:0x64FA50 gate status | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Strikes.cs:22 | [BIN:TPI-EXE:0x64FA50 gate status] the gate thing's (world +0x1EAB66) script variable 1 (VAR_STATUS, 1 open), -1 without a gate; [EXT:tpi-park-open] the Theme Park Inc park opens at the start and |
| TPI-EXE:0x64FB90 vehicle dispatch | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncArrivals.cs:41 | [BIN:TPI-EXE:0x64FB90 vehicle dispatch] game mode 3 (0xC65B80, the intro world) returns at once; +0x1EAB5E nonzero only sets its VAR 0 = 1 (0x64FF61); else 0x637C40 on +0x1EAB60, +0x1EAB62 |
| TPI-EXE:0x64FB90 vehicle dispatch | source/OpenTPW/World/Objects/ParkObjects.cs:870 | [BIN:TPI-EXE:0x64FB90 vehicle dispatch] Theme Park Inc's native guests (ThemeParkIncDispatchedVehicles) get their vehicle from the dispatch, which builds a new one each time: no Bus at setup |
| TPI-EXE:0x64FC47 vehicle destroy | source/OpenTPW/World/Objects/ArrivalVehicles.cs:43 | [BIN:TPI-EXE:0x64FC47 vehicle destroy] 0x637C40 on each of the three cached handles (+0x1EAB60, +0x1EAB62, +0x1EAB64) in that order, each slot zeroed |
| TPI-EXE:0x64bc00 World loader | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:59 | [BIN:TPI-EXE:0x64bc00 World loader] version 4, three arrival vehicle sizes 2, bank, current arrival vehicle, tick 4, mechanic HQ, park analyser, closed 4, visitors 4, gates, lobby, traffic lights, current obstacle, seed 4, research lab, staff HQ, tag system, UI receiver, weather, world state 4, first handyman, mechanic, entertainer, guard, researcher, first object, first gardener |
| TPI-EXE:0x64bc00 World loader | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:260 | [BIN:TPI-EXE:0x64bc00 World loader] variables 0x64bc00, control manager 0x5cf9b0, macro AI (staff pool 0x6308a0, calendar, arrivals), map 0x5d6d40, "Used Thing Head" and the things through the jump table 0x64d7e0, special rides 0x6244b0 |
| TPI-EXE:0x64c771 thing dispatch | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.cs:55 | [BIN:TPI-EXE:0x64c771 thing dispatch] cmp eax(model - 1), 0x16; jmp [eax*4 + 0x64d7e0]. Per case: allocate, construct, set the thing id, then call the class load with (stream, 0 = load, version 1, id); the same routine also saves. |
| TPI-EXE:0x64d7e0 thing loader | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:294 | [BIN:TPI-EXE:0x64d7e0 thing loader] mechanic HQ 10 (base and mNextObject), UI receiver 8 (the thing base alone, load 0x63a1a0), OBJH 14 (base, mCutsceneObject, mCutsceneState; load 0x5f03c0), CUTS 10 (base and animThing; load 0x5d0160) and TRNR 8 (the thing base, 0x637230) bytes after their headers, each also run in an emulation of its load routine with single-member fuzzing (no read depends on stream data; the loops near those routines run after the reads), the bank 292 like Theme Park World's. The tag system has a counted list and is a layout (ThemeParkIncBodyLayout) |
| TPI-EXE:0x64d7e0 thing loader jump table | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:281 | [BIN:TPI-EXE:0x64d7e0 thing loader jump table] each case compares the 4 bytes after 'LDMT' with its tag: models 1 SREP, 3 EJBO, 4 HCEM, 5 DNAH, 6 RTNE, 7 RAUG, 8 ESER, 9 FATS, 10 QHEM, 11 IVDA, 12 SGAT, 13 KRAP, 14 BALR, 15 TAEW, 16 KNAB, 17 SMIU, 19 QHHC, 20 DRAG, 21 HJBO, 22 STUC, 23 RNRT |
| TPI-EXE:0x6501D0 crossing gate | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:634 | [BIN:TPI-EXE:0x6501D0 crossing gate] no vehicle at work or not the bus slot: 1; the bus's status (a 6 releases it): 3 returns 0; the controller's group (world +0x458, the arrival object +0xC) at |
| TPI-EXE:0x6503F0 pick-up test | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncArrivals.cs:28 | [BIN:TPI-EXE:0x6503F0 pick-up test] four cell words are computed (A, A + 1, A − 0x100, A − 0xFF) but the loop bound is 1: only the head of cell A (world +0x440 + 72 × word) is read; it must be a |
| TPI-EXE:0x653069 no voice | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:50 | [BIN:TPI-EXE:0x653069 no voice] the length query starts its answer at 1 and returns it unchanged without a sound system (0xADF07C, 0xADF088); a speech whose sample does not play has |
| TPI-EXE:0x657200 rain level | source/OpenTPW/Audio/GameAudio.cs:767 | snow and dry modes stop it. [BIN:TPI-EXE:0x657200 rain level] A separate voice takes parameter 8 |
| TPI-EXE:0x668144 placement | source/OpenTPW.Files/Formats/Save/ThemeParkIncSaveWorld.cs:112 | [BIN:TPI-EXE:0x668144 placement] +0x20 is incremented by the placement step 0x667cb0 and, from the second copy on, the placed object is labelled "<name> <count>" |
| TPI-EXE:0x668552 footprint commit | source/OpenTPW.Tests/ThemeParkIncLayoutCheckpointTests.cs:145 | [BIN:TPI-EXE:0x668552 footprint commit] a checkpoint saved before the footprints were typed holds none of them; the connect stamps them again and lays the entrance's links (RIDES-031, Level.StampRestoredFootprint) |
| TPI-EXE:0x668552 footprint commit | source/OpenTPW.Tests/ThemeParkIncPlayTests.cs:208 | [BIN:TPI-EXE:0x668552 footprint commit] the twin of tp.exe's commit (RIDES-031): the road sign's '@' cell is a type-1 NoModify path cell linked to its path neighbour, the queue ride's entrance is a typed entrance cell with the placement's owner word |
| TPI-EXE:0x668552 footprint commit | source/OpenTPW.Tests/ThemeParkIncTypedFootprintTests.cs:23 | [BIN:TPI-EXE:0x668552 footprint commit] the twin of tp.exe's commit stamps typed cells, so the slice reads them too; a restored checkpoint layout is stamped again at connect |
| TPI-EXE:0x668552 footprint commit | source/OpenTPW/World/Level.Objects.cs:163 | [BIN:TPI-EXE:0x668552 footprint commit] Theme Park Inc's placement commit is the twin of tp.exe's (the 24-way cell-type table 0x6691FC and jump table 0x6691D8 against 0x529D24 and 0x529D04; '@' is case 1, a type-1 NoModify path cell linked to its path neighbours, 0x668552 against 0x529173) with one more case for the coaster marker type 0x15 (0x6688F0) |
| TPI-EXE:0x668603 object footprint | source/OpenTPW/World/Objects/ParkObjects.cs:242 | [BIN:TPI-EXE:0x668603 object footprint] Theme Park Inc's placement 0x667CB0 (tp.exe's 0x528A70) validates footprint cells with 0x67AD00(0x204), whose flag 0x200 only asks the validator 0x67E320 in mode 4 (0x67AD19..0x67AD2B); past the NoModify exit and the owner lookup a 0x40 square answers 1 (0x67E4AC), a refusal |
| TPI-EXE:0x677D35 fence posts | source/OpenTPW/World/ThemeParkIncLand.cs:28 | [BIN:TPI-EXE:0x677D35 fence posts] entrance 0 (0x5D7A70: FixedItemInfo.EntranceAPosX/Y at 0xA025D0/0xA025D4, the key order of 0x99BCC8) moved 4 cells west is post B (0x9D68AC/0x9D68B0); entrance 1 (0xA025D8/0xA025DC) moved 3 cells east is post A (0x9D68A4/0x9D68A8) |
| TPI-EXE:0x677E90 no career fence | source/OpenTPW/World/ThemeParkIncLand.cs:29 | [BIN:TPI-EXE:0x677E90 no career fence] the clicks run only with the debug flag 0xA2738C & 0x400 or in coaster-edit mode ([0xC65B80] == 3): a career or online game lays no posts |
| TPI-EXE:0x677F89 gate strip | source/OpenTPW/World/ThemeParkIncLand.cs:30 | [BIN:TPI-EXE:0x677F89 gate strip] for x from post B.x + 2 while x < post A.x the squares (x, A.y) and (x, A.y + 1) clear 0x40 (0x67ED10) and refresh (0x67FB80) |
| TPI-EXE:0x67806A starting land | source/OpenTPW/World/ThemeParkIncLand.cs:31 | [BIN:TPI-EXE:0x67806A starting land] outside debug and coaster-edit mode the fence setup loads <level>\hoardings.map (0xB1DFF8) with 0x678B00 |
| TPI-EXE:0x678B00 land loader callers | source/OpenTPW/World/ThemeParkIncLand.cs:108 | [BIN:TPI-EXE:0x678B00 land loader callers] only the new-world fence setup (0x67809F) and the mission tick (0x5F0B66) call the loader, so a loaded park keeps the squares' saved mFlags (the cell serializer 0x5C19C9..0x5C1D1A writes mFlags) |
| TPI-EXE:0x678B29 open failure | source/OpenTPW/World/ThemeParkIncLand.cs:94 | [BIN:TPI-EXE:0x678B29 open failure] a negative handle from 0x7CC390 returns 0 before any cell is touched |
| TPI-EXE:0x678B2F land loader | source/OpenTPW/World/ThemeParkIncLand.cs:59 | [BIN:TPI-EXE:0x678B2F land loader] the outer loop is x (ebp, 0..0x7F), the inner y (edi, 0..0x7F), the square id y * 128 + x + 1 (0x678B3F); each byte is read alone (0x7CC930, 1 byte) and a failed read returns 0 at once (0x678B6F..0x678B7A), the earlier cells kept |
| TPI-EXE:0x678B80 border skip | source/OpenTPW/World/ThemeParkIncLand.cs:60 | [BIN:TPI-EXE:0x678B80 border skip] a byte is applied only when it is 0 and x is neither 0 nor width - 1 (0x64E8D0) and y neither 0 nor height - 1 (0x64E8F0): extent.000 has 36 border zeros, the water hoardings.map 13, and none of them is owned |
| TPI-EXE:0x678BE0 owned square | source/OpenTPW/World/ThemeParkIncLand.cs:61 | [BIN:TPI-EXE:0x678BE0 owned square] the square clears 0x40 (0x67ED10(0x40)); the fence walk mark 0x676530(1) follows |
| TPI-EXE:0x678BFB post removal | source/OpenTPW/World/ThemeParkIncLand.cs:153 | [BIN:TPI-EXE:0x678BFB post removal] the record of the square (0x5C17F0; an extension, 0x685760, through its parent +0x10) is tested for a hoarding post (0x685710, type 0x19): clear 0x20 (0x684A30), remove it (0x685DE0(0,0,0); the 0x15 branch 0x686880 cannot follow a type-0x19 test), 0x65CCE0(0) and 0x680A10 twice; every record then clears 0x40 (0x684A30(0x40)) and refreshes its mesh (0x685A70) |
| TPI-EXE:0x67CB70 square type | source/OpenTPW/World/ThemeParkIncObstacles.cs:155 | [BIN:TPI-EXE:0x67CB70 square type] 0x67E240(type) refuses (types 1, 3, 4 and 0x15 have exceptions there, which no obstacle grid holds); type != 0 and == +8: +0x20++ and return; types 1 and 3 are priced; then |
| TPI-EXE:0x67E240 square type check | source/OpenTPW/World/ThemeParkIncObstacles.cs:157 | [BIN:TPI-EXE:0x67E240 square type check] type 0 passes whatever the square holds (0x67E244); another type that is none of 1, 3, 4, 0x15 passes only over its own type or 0 (0x67E274..0x67E27D), whatever the |
| TPI-EXE:0x67E244 type 0 | source/OpenTPW.Tests/ThemeParkIncObstacleTests.cs:77 | [BIN:TPI-EXE:0x67E244 type 0] 0x67E240 passes type 0 over any square: a path square becomes type 0 and keeps its owner word |
| TPI-EXE:0x67E320 line validator twin | source/OpenTPW/World/Level.Objects.cs:165 | [BIN:TPI-EXE:0x67E320 line validator twin] Theme Park Inc's line-tool validator is the same routine as tp.exe 0x535670 - same signature (thiscall, ret 8), same record offsets, same branch graph, same sticky refusal latch - reached through the import thunk 0x401ACD. It differs only in data: the end-of-line answer is 0xE rather than 0xB and the ignored answer 0x10 rather than 0xD (which TPI also returns for modes 0x3D and 0x3E, where TPW answers only for 0x3A); a queue connecting onto a path answers 0 rather than 8 but sets the same two link globals; mode 0x22 answers 8; modes 0x88 and 0x89 answer 0; 0x36 is always 0 rather than latch-dependent; and modes 0x1B and 0x17 are remapped to 4 and refused outright over an object cell. The owner's overwrite priority moves from record +0x54 to +0x7C. OpenTPW collapses the answer to allow/refuse/ends-line/sets-link, so the changed codes are invisible to it; what a port would need is TPI's mode table |
| TPI-EXE:0x67E4AC cell validator | source/OpenTPW/World/ParkPathBuilder.cs:229 | [BIN:TPI-EXE:0x67E4AC cell validator] Theme Park Inc's validator 0x67E320 refuses a 0x40 square with 1 for every tool mode past its early exits (0x1F, 0x22, 0x3A/0x3D/0x3E, 0x36/0x88/0x89), the path, queue and line tools (0x660D80) among them |
| TPI-EXE:0x67ECA0 square flag | source/OpenTPW/World/Level.AdvisorProbes.cs:22 | [BIN:TPI-EXE:0x67ECA0 square flag] the special rides' slot walks (0x62402B, 0x62420D) test the flag 0x40 of the square at the thing's bytes +5 (x) and +7 (y): ParkCellFlags.Unowned |
| TPI-EXE:0x67F590 water | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:276 | [BIN:TPI-EXE:0x67F590 water] type 2; [BIN:TPI-EXE:0x67F660 no terrain] type 7 or 0x1E; [BIN:TPI-EXE:0x67F690 never] answers 0 |
| TPI-EXE:0x67F5B0 cell type | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:19 | [BIN:TPI-EXE:0x67F5B0 cell type] the cell record's dword +8: the cell's own type, which a track tile of the second layer never overwrites (the record is apart from the cell), so a cell |
| TPI-EXE:0x67F660 no terrain | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:276 | [BIN:TPI-EXE:0x67F590 water] type 2; [BIN:TPI-EXE:0x67F660 no terrain] type 7 or 0x1E; [BIN:TPI-EXE:0x67F690 never] answers 0 |
| TPI-EXE:0x67F690 never | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:276 | [BIN:TPI-EXE:0x67F590 water] type 2; [BIN:TPI-EXE:0x67F660 no terrain] type 7 or 0x1E; [BIN:TPI-EXE:0x67F690 never] answers 0 |
| TPI-EXE:0x67F780 blocking types | source/OpenTPW.Tests/ThemeParkIncWalkEdgeTests.cs:100 | [BIN:TPI-EXE:0x67F780 blocking types] the owned hole (2, 4) from the walkway beside it |
| TPI-EXE:0x67F780 blocking types | source/OpenTPW/World/Guests/WalkSearch.cs:115 | [BIN:TPI-EXE:0x67F780 blocking types] TPI blocks type 8 (an obstacle's terrain hole, ThemeParkIncObstacleTypes 'H') besides 5, 7 and 2 |
| TPI-EXE:0x67F890 track record | source/OpenTPW/World/Level.ThemeParkIncAwards.cs:26 | [BIN:TPI-EXE:0x67F890 track record] the second-layer record through an extension's parent, then the track kinds (0xB, 0xD, 0x10, 0x12, 0x19): Theme Park World's 0x5363F0, StaffPlacementRules |
| TPI-EXE:0x67F970 map square init | source/OpenTPW/World/ThemeParkIncLand.cs:27 | [BIN:TPI-EXE:0x67F970 map square init] every square ends with 'or 0x40' on its flag word unless the word holds 0x20 (0x67FA7D..0x67FA89 on terrain, 0x67FAEB..0x67FAF5 off it) |
| TPI-EXE:0x68E7B0 costume bank gender | source/OpenTPW/World/Level.cs:862 | [BIN:TPI-EXE:0x68E7B0 costume bank gender] a Theme Park Inc costume shop's guest reads the costume bank's header byte 0x10D (category 6, the bank its draw 0x6902F0(6) picks) |
| TPI-EXE:0x68EBEF balloon bank slots | source/OpenTPW/World/Level.cs:898 | [BIN:TPI-EXE:0x68EBEF balloon bank slots] a Theme Park Inc balloon's colour draw takes the loaded bank's slot count (the ESP's slots with frames, 0x690394); the shipped bank has four, one per |
| TPI-EXE:0x68F46A kid bank limit | source/OpenTPW/World/Level.cs:827 | [BIN:TPI-EXE:0x68F46A kid bank limit] 0x448F70 resolves 2/4/6/8 from NUMKIDS. |
| TPI-EXE:0x6902F0 guest sprite | source/OpenTPW/World/Guests/ThemeParkIncGuestStart.cs:93 | [BIN:TPI-EXE:0x6902F0 guest sprite] The ordinary draw selects within the generation's loaded sprite banks. |
| TPI-EXE:0x6902F0 sprite variant | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:247 | [BIN:TPI-EXE:0x6902F0 sprite variant] (draw >> 2) mod the loaded banks |
| TPI-EXE:0x6902F0 sprite variant | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:519 | [BIN:TPI-EXE:0x6902F0 sprite variant] (R >> 2) % [0x9D7008 + 12 × category] (unsigned div): the loaded count. A rig without loaded banks has no count and reads variant 0; every level loads |
| TPI-EXE:0x6902F0 sprite variant | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:77 | [BIN:TPI-EXE:0x6902F0 sprite variant] (draw >> 2) divided (unsigned) by the category's loaded count (0x9D7008 + 12 × category), the remainder; the candidate keeps its low byte (+0x10) and the |
| TPI-EXE:0x690370 sprite variant draw | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:63 | [BIN:TPI-EXE:0x690370 sprite variant draw] the draw is (world draw >> 2) modulo the slot count of the sprite bank (the word at +0x21E of the bank record: 3 for Spr_um) |
| TPI-EXE:0x690394 sprite variant draw | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:17 | [BIN:TPI-EXE:0x690394 sprite variant draw] (world draw >> 2) modulo the bank record's word +0x21E, which the ESP loader counts as the slots whose frames-per-direction byte is nonzero (0x68EBAC |
| TPI-EXE:0x694530 circuit counts | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:295 | [BIN:TPI-EXE:0x694530 circuit counts] the track record of the handle (table 0xB8A280, 0xD0 bytes, generation checked) +0xBC: two passes over the section list (next +0x24) by the kind +4: 9 and |
| TPI-EXE:0x6A36DE load init | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:608 | [BIN:TPI-EXE:0x6A36DE load init] a load runs the advisor init 0x715850 before the park file: the speech starts silent. The presentation stream continues from its saved state; a save from |
| TPI-EXE:0x6A36DE load init | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:367 | [BIN:TPI-EXE:0x6A36DE load init] screen 9 (0x6A3150) runs the model loader 0x4B02E0, which calls the init at 0x4B0484, before it reads the park file (0x746660 at 0x6A3BC9): a loaded park |
| TPI-EXE:0x6A3D08 zone entry | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:65 | [BIN:TPI-EXE:0x6A3D08 zone entry] a zone entered from the career's own zone world (the prebuilt park of a new game) sets 0xB8C004 and the arrival flag 0xB8C02C |
| TPI-EXE:0x6A43E4 loaded game | source/OpenTPW/World/Level.ThemeParkIncMissions.cs:88 | [BIN:TPI-EXE:0x6A43E4 loaded game] with a loaded game (0xB8C030 != 0) and no career zone save (0xB8C004 != 1) the flag 0xB8C02C is cleared (0x6A44AF), so the flyover does not play |
| TPI-EXE:0x6A44D5 arrival flyover | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:225 | [BIN:TPI-EXE:0x6A44D5 arrival flyover] the flag 0xB8C02C (set by the zone entry, 0x6A3FC0 or 0x6A3D08 for a career zone save; cleared at 0x6A44AF for a loaded game without one) is required; zone index != 3: |
| TPI-EXE:0x6A45B3 arrival cameras | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:215 | [BIN:TPI-EXE:0x6A45B3 arrival cameras] the jump table 0x6A46CC by the zone index: 0 -> 0x6A463D (0xED6), 1 -> 0x6A45BA (0x706), 2 -> 0x6A4602 (0xAEE), 3 -> 0x6A4674 (0x12BE) |
| TPI-EXE:0x6A47B0 leave park | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:164 | [BIN:TPI-EXE:0x6A47B0 leave park] outside the coaster editor and online modes, with the park's world state not 4 (lost) and the lobby one-shot clear, the leave calls 0x744E10 (the full save |
| TPI-EXE:0x6A47B0 leave park | source/OpenTPW/Client/ThemeParkIncSmokeTest.cs:820 | [BIN:TPI-EXE:0x6A47B0 leave park] leaving the park runs the full save: the player file, then the Science slot |
| TPI-EXE:0x6B0740 script instance | source/OpenTPW/World/Level.ThemeParkIncResearch.cs:104 | [BIN:TPI-EXE:0x6B0740 script instance] the room thing's +0x2C keys its script instance in the list 0xB8C5C8; 0x6B0C90 / 0x6B0780 read and write its int variable [i] (+0x1C, bounded by +0x8C) |
| TPI-EXE:0x6B0780 script variable setter | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:29 | [BIN:TPI-EXE:0x6B0780 script variable setter] nothing without the subsystem, without an instance or for an index outside 0..+0x8C; else the instance's array (+0x1C) takes the value |
| TPI-EXE:0x6B0780 script variable setter | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:204 | [BIN:TPI-EXE:0x6B0780 script variable setter] nothing without the subsystem, without an instance or for an index outside 0..+0x8C; else the instance's array (+0x1C) takes the value |
| TPI-EXE:0x6B0780 script variable setter | source/OpenTPW/Economy/ThemeParkIncStandard.cs:180 | [BIN:TPI-EXE:0x6B0780 script variable setter] nothing without the subsystem, without an instance or for an index outside 0..+0x8C; else the instance's array (+0x1C) takes the value |
| TPI-EXE:0x6B0780 script variable setter | source/OpenTPW/World/Guests/ThemeParkInc/IThemeParkIncGuestWorld.cs:15 | [BIN:TPI-EXE:0x6B0780 script variable setter] nothing without the subsystem, without an instance or for an index outside 0..+0x8C; else the instance's array (+0x1C) takes the value |
| TPI-EXE:0x6B0780 script variable setter | source/OpenTPW/World/Objects/ObjectCatalog.cs:604 | [BIN:TPI-EXE:0x6B0780 script variable setter] Theme Park Inc's bounds-checked setter of a script variable (thunk 0x4028EC) has 89 call sites: the attraction constructor's writes at a new thing (0x5DB7F1..0x5DB88A: |
| TPI-EXE:0x6B0C90 script variable | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncPlants.cs:24 | [BIN:TPI-EXE:0x6B0C90 script variable] nothing without an instance or for an index outside 0..+0x8C answers 0; else the instance's array (+0x1C) at the index |
| TPI-EXE:0x6B0C90 script variable | source/OpenTPW/World/Guests/ThemeParkInc/IThemeParkIncGuestWorld.cs:11 | [BIN:TPI-EXE:0x6B0C90 script variable] no subsystem, no instance or an index outside 0..+0x8C answers 0; else the instance's array (+0x1C) at the index |
| TPI-EXE:0x6B0C90 script variable 0 | source/OpenTPW/World/Level.Objects.cs:2347 | [BIN:TPI-EXE:0x6B0C90 script variable 0] Theme Park Inc's scrap percentage of an object that requires watering reads variable 0 of its script (VAR_CONDITION of the plants' script); 0 without a script |
| TPI-EXE:0x6B0C90 script variable getter | source/OpenTPW/Economy/ThemeParkIncCutscene.cs:211 | [BIN:TPI-EXE:0x6B0C90 script variable getter] 0 without the subsystem, without an instance or for an index outside 0..+0x8C |
| TPI-EXE:0x6B7000 palette 0x24 | source/OpenTPW.Files/Public/FshFile.cs:240 | [BIN:TPI-EXE:0x6B7000 palette 0x24] the Theme Park Inc palette converter reads three bytes R, G, B per entry and stores alpha 0xFF (OR 0xFFFFFF00 at 0x6B7211; the 16-bit destination ORs the full alpha mask at 0x6B72CE, the 24-bit one is not written, 0x6B71EC); its alpha scan 0x6B73A0 (through 0x40A11E, called by the texture path 0x6C0AA8 and 0x7B1748; the copy 0x6B73F0 is unreferenced) returns 0 for a 0x24 palette, no surface alpha mask, and neither the converter nor the pixel loops (0x6B76BD..) treat an index as transparent: no colour key is applied (COMPAT-014 retired) |
| TPI-EXE:0x6BF33F control word | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:127 | [BIN:TPI-EXE:0x6BF33F control word] the game thread runs at 0x7F after DDSCL_FPUSETUP: fimul, fmuls and fadds each round to a single |
| TPI-EXE:0x6BF33F control word | source/OpenTPW/Economy/ThemeParkIncResearch.cs:148 | [BIN:TPI-EXE:0x6BF33F control word] the game thread's x87 runs at the control word 0x7F (24-bit significand) once the device is set up: DirectDraw's SetCooperativeLevel with DDSCL_FPUSETUP |
| TPI-EXE:0x6BF33F control word | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:69 | [BIN:TPI-EXE:0x6BF33F control word] [EXT:hardware-d3d-path] the staff routines run on the game thread at the control word 0x7F the Direct3D device set (ThemeParkIncX87): each fadd, fmul and |
| TPI-EXE:0x6BF33F control word | source/OpenTPW/Economy/ThemeParkIncStaffMember.cs:219 | [BIN:TPI-EXE:0x6BF33F control word] the game thread's x87 runs at 0x7F (24-bit significand) after DDSCL_FPUSETUP (0x851 at 0x6BF33F, 0x808 at 0x6BF5A8; docs/DETERMINISM.md), so the fidivl, fsubrl, |
| TPI-EXE:0x6BF33F control word | source/OpenTPW/Economy/ThemeParkIncWageNegotiation.cs:28 | [BIN:TPI-EXE:0x6BF33F control word] the game thread's x87 runs at the 24-bit control word (DDSCL_FPUSETUP; docs/DETERMINISM.md), so the quotient and the product each round to a single; the |
| TPI-EXE:0x6BF33F control word | source/OpenTPW/Economy/ThemeParkIncX87.cs:10 | [BIN:TPI-EXE:0x6BF33F control word] the CRT start-up (_cinit 0x87043A through the pointer 0x9F6F18 to 0x86F430, then 0x8759B5: controlfp(PC_53, MCWPC)) leaves 53 bits; DirectDraw's |
| TPI-EXE:0x6D697A clear | source/OpenTPW.Tests/RenderFogTests.cs:72 | [BIN:TPI-EXE:0x6D697A clear] the flags 0x4002000 pick the fog word, else the BackColour word |
| TPI-EXE:0x6D697A clear | source/OpenTPW/Client/GameFlow.cs:1220 | [BIN:TPI-EXE:0x6D697A clear] the Theme Park Inc executable's clear takes the fog word with the fog flags and its own word [0xBE20BC] (ThemeEngine.BackColour, 0x428915) without them |
| TPI-EXE:0x6D697A clear | source/OpenTPW/Render/RenderFog.cs:49 | [BIN:TPI-EXE:0x6D697A clear] the Theme Park Inc clear picks the fog word [0xBE20C0] when the flags have bit 0x4002000 and the word [0xBE20BC] (ThemeEngine.BackColour, Sky.BackColour) otherwise, where tp.exe's is the constant 0 |
| TPI-EXE:0x6EA1E8 precipitation field | source/OpenTPW/World/Weather/WeatherVisualState.cs:176 | [BIN:TPI-EXE:0x6EA1E8 precipitation field] 1024 points in [-3, 3], three CRT draws each. |
| TPI-EXE:0x6EA9A0 precipitation fall vector | source/OpenTPW/World/Weather/ThemeParkIncPrecipitation.cs:24 | [BIN:TPI-EXE:0x6EA9A0 precipitation fall vector] Multiply the angle by the two binary32 |
| TPI-EXE:0x6ED282 snow jitter | source/OpenTPW/World/Weather/WeatherVisualState.cs:308 | [BIN:TPI-EXE:0x6ED282 snow jitter] The standard snow path draws three CRT words per flake. |
| TPI-EXE:0x6ED8C5 precipitation parallax | source/OpenTPW/World/Weather/WeatherVisualState.cs:226 | [BIN:TPI-EXE:0x6ED8C5 precipitation parallax] TPI quantizes with a 0x17FFF mask and a 3-unit origin. |
| TPI-EXE:0x6ED978 field scroll | source/OpenTPW/World/Weather/WeatherVisualState.cs:290 | [BIN:TPI-EXE:0x6ED978 field scroll] The saved offsets move opposite the fall on X/Z |
| TPI-EXE:0x6a151b rand seed | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:226 | [BIN:TPI-EXE:0x6a151b rand seed] the one srand of the executable (0x870D2B, the CRT's per-thread seed word +0x14) is srand(GetTickCount()) in the start-up routine (0x6A1514..0x6A151B); the generator is the CRT's linear congruential rand() (0x870D38: x * 0x343FD + 0x269EC3, bits 16..30), shared with 96 other call sites, so the original's delay is a function of the wall-clock start time and of every earlier rand() call, not of the park |
| TPI-EXE:0x6a8b7e WAITABS | source/OpenTPW/VM/Handlers/Scheduling.cs:36 | [BIN:TPI-EXE:0x6a8b7e WAITABS] Theme Park Inc's handler (jump table 0x6ab5f0, entry 45) has the same shape as tp.exe's: deadline word +0xA0 stored as clock + operand, program counter rewound by 2 and the word at +0x98 cleared; only the clock object (0xa03bc0 through the thunk chain 0x40519b, 0x41b760, 0x402cc5, 0x41bde0) differs, and it too returns the base plus the word at +0x48 as 0x4031e0 does. WAITABS is not TPI-only: tp.exe has it as well (no shipped Theme Park World script uses it) |
| TPI-EXE:0x6a9108 MULT | source/OpenTPW/VM/Handlers/Math.cs:60 | [BIN:TPI-EXE:0x6a9108 MULT] Theme Park Inc's case 48 (jump table 0x6ab5f0) reads the same three operands in the same order, takes variables (top byte 0x40) or sign-extended 16-bit literals alike, multiplies with imul (0x6a9194 for a variable second factor, 0x6a919f for a literal) and leaves through the shared flag-and-destination tail 0x6a75ab, as tp.exe's case does (0x553f73 into 0x555b48) |
| TPI-EXE:0x70F59E forecast response rows | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:15 | [BIN:TPI-EXE:0x70F59E forecast response rows] [BIN:TPI-EXE:0x7104A0 notification response rows] rows of 0x715570 (tools/ppc-analysis/oracle_x86/tpi_advisor_forecast_oracle.py): |
| TPI-EXE:0x7104A0 notification response rows | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:15 | [BIN:TPI-EXE:0x70F59E forecast response rows] [BIN:TPI-EXE:0x7104A0 notification response rows] rows of 0x715570 (tools/ppc-analysis/oracle_x86/tpi_advisor_forecast_oracle.py): |
| TPI-EXE:0x715850 advisor init | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:366 | [BIN:TPI-EXE:0x715850 advisor init] the 0x5F words from 0xBEF068 are zeroed (no speech, no voice handle, no delayed voice, no timer, no LIP, mouth 0), 0xBEF18C = 5. |
| TPI-EXE:0x7158B2 mouth node lookup | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:122 | 0x10000 (0xBEF068) or the head is hidden (0xBF7240). [BIN:TPI-EXE:0x7158B2 mouth node lookup] the init finds mouths 1-5 by name (0x49A510: "mouth - normal", "aah", "eee", "ooh", "sss", Advisor.Mouths) |
| TPI-EXE:0x715966 advisor clip lengths | source/OpenTPW/World/AdvisorSequence.cs:39 | [BIN:TPI-EXE:0x715966 advisor clip lengths] the init 0x715850 reads entries 0..24 (0xBEF0D0 up to 0xBEF134) through 0x4E0B20(model, 5, index), the same rule as Theme Park World's 0x474070 |
| TPI-EXE:0x715985 advisor clip lengths | source/OpenTPW/World/AdvisorSequence.cs:61 | [BIN:TPI-EXE:0x715985 advisor clip lengths] Theme Park Inc's init does the same with 25 entries from model 1 (the level advisor 0x4B0170 loads) when it is loaded, else model 0, and zeroes 0xBEF104 (clip 14) |
| TPI-EXE:0x715AB0 generated sequence | source/OpenTPW/Economy/ThemeParkIncAdvisorSequences.cs:49 | [BIN:TPI-EXE:0x715AB0 generated sequence] the clip list at 0xBEF134 starts with 0xE; a drawn clip (edx + 1) is taken while the budget is not below its length (0xBEF0D0 + 4·edx), else the first |
| TPI-EXE:0x715BC0 canned sequence | source/OpenTPW/Economy/ThemeParkIncAdvisorSequences.cs:58 | [BIN:TPI-EXE:0x715BC0 canned sequence] 0xBEF194 (the timer) = 0; each word is written to the clip list at its count before it is tested: 0 ends; a word with 0x400000 sets the timer to the next |
| TPI-EXE:0x715CF0 accessory selector | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:21 | [BIN:TPI-EXE:0x715CF0 accessory selector] 0x31-0x38: the award ribbons' textures (0x9DD1E4/0x9DD2A4 by 0x4D7BB0) and return; otherwise the byte table 0x715E50 indexed by the selector + 1 |
| TPI-EXE:0x715ED0 clip-start update | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:80 | [BIN:TPI-EXE:0x715ED0 clip-start update] run for each clip the speech (0x7167C3) or the frame (0x716E69, 0x716E94 from 0x716E30) starts, unless the head is hidden (0xBF7240): both models |
| TPI-EXE:0x716230 advisor speech | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:229 | [BIN:TPI-EXE:0x716230 advisor speech] The simulation's advisor presentation (<see cref="ThemeParkIncAdvisorPresentation"/>, on the advisor clock) asks for a voice, a stop sound or the |
| TPI-EXE:0x716230 speech | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:170 | [BIN:TPI-EXE:0x716230 speech] a response missing from the table returns 0; so does an active speech (0xBEF074), and with AdvisorOn (0xA10218) off a speech outside the presenter's ranges |
| TPI-EXE:0x7162A3 help response | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:450 | [BIN:TPI-EXE:0x7162A3 help response] the speech lets the help button's response (0x9DDBE8 = the response, not 0x3F6) through with AdvisorOn off; a speech that is not refused sets it to 0x3F6 |
| TPI-EXE:0x7163CC hidden head | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:23 | [BIN:TPI-EXE:0x7163CC hidden head] the head is hidden when the animation word is set (0x5D0820), the accessory word is 0x29A, the presenter shows the speech (0x54D4D0) or the "game" key |
| TPI-EXE:0x716405 hidden head | source/OpenTPW/Client/ThemeParkIncAdvisorView.cs:48 | [BIN:TPI-EXE:0x716405 hidden head] a hidden head moves both models out of sight (0x464E00: translation y -90.6) and the clip-start update leaves them there (0x715EF0) |
| TPI-EXE:0x716453 advisor LIP | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:465 | [BIN:TPI-EXE:0x716453 advisor LIP] "\Speech\lips\sp_%04d.lip" with +8 under "Data\Global" (0x9DDB94) or the level's folder (0x435040), opened through 0x497880 (lips.wad) |
| TPI-EXE:0x716631 speech length | source/OpenTPW/Economy/ThemeParkIncAdvisorSequences.cs:107 | [BIN:TPI-EXE:0x716631 speech length] esi = the sample length + 200; animation -1: 0x715AB0(esi + 300), taken when not 0; else 0x715BC0(animation - 16, esi + 300); the return is |
| TPI-EXE:0x71663F advisor sample length | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:427 | [BIN:TPI-EXE:0x71663F advisor sample length] "Advisor sample is %d ms long": the sound engine's length of the playing sample (0x653060), read here from the sample's data as the client |
| TPI-EXE:0x7166E9 first clip | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:229 | [BIN:TPI-EXE:0x7166E9 first clip] the speech starts the sequence's first clip on its model at once (0x465330: AnimID 5, the clip less 1, flags 0x10), which shows the model |
| TPI-EXE:0x716950 advisor stop | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:309 | [BIN:TPI-EXE:0x716950 advisor stop] only while speaking: with a voice handle: the voice is stopped and, unless the head is hidden (0xBF7240) or without its parts (0xBF7241), rand() % 3 |
| TPI-EXE:0x7169C1 advisor kill | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:319 | [BIN:TPI-EXE:0x7169C1 advisor kill] with a voice handle or without (0x716AFD) the stop kills the model's animation (0x4650B0: "Kill advisor", AnimID 12 with the immediate flag), which hides it at once |
| TPI-EXE:0x716A2C advisor stop sound | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:243 | [BIN:TPI-EXE:0x716A2C advisor stop sound] the stopped voice ends with 0x46E, 0x46F or 0x470 of the global speech bank (0xAE012C) behind a shown head |
| TPI-EXE:0x716D10 response lookup | source/OpenTPW/Economy/ThemeParkIncAdviceResponseTable.cs:10 | [BIN:TPI-EXE:0x716D10 response lookup] the rows from 0xBEF1F0 are walked until the id 0x270F; the first whose +0 is the response is taken (none: tag 0x97 / no speech) |
| TPI-EXE:0x716ED0 advisor frame | source/OpenTPW/Economy/ThemeParkIncAdvisorPresentation.cs:240 | [BIN:TPI-EXE:0x716ED0 advisor frame] not speaking: the LIP buffer is freed. Speaking: a voice handle asks the sound whether it still plays (0x652C40); with none left and the end reached |
| TPI-EXE:0x716F7B speech end | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:144 | it reads the idle set 12 (0x4DF610: AnimID 5, the clip less 1, flags 0), the end of the clip before. [BIN:TPI-EXE:0x716F7B speech end] the frame that ends the speech clears 0xBEF074 and |
| TPI-EXE:0x716FF3 advisor timer | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:250 | [BIN:TPI-EXE:0x716FF3 advisor timer] effect 0x57 and sound 0xC6 of the bank 0xAE0124: only the canned rows 17 and 18 (animations 33 and 34) have a timer, which no ported response uses |
| TPI-EXE:0x717067 next clip | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:143 | [BIN:TPI-EXE:0x717067 next clip] while the speech is active (0xBEF074) and the sequence's next word is a clip, the frame asks the model's channel (0x4E09F0) and starts the next clip only when |
| TPI-EXE:0x7171A7 mouth nodes | source/OpenTPW/World/ThemeParkIncAdvisorModel.cs:121 | [BIN:TPI-EXE:0x7171A7 mouth nodes] when the mouth changes the frame hides the previous node and shows the new one (0xBEF0A4 + 20 per model + 4 per mouth) unless it is 0, the clip has bit |
| TPI-EXE:0x7176E0 strike messages | source/OpenTPW/Client/GameFlow.ThemeParkInc.cs:169 | [BIN:TPI-EXE:0x628D93 wage demand advice] the daily routine posts advisor message 0x1C8 with each wage demand; [BIN:TPI-EXE:0x7176E0 strike messages] the HQ's and the strikers' type-0x17 |
| TPI-EXE:0x7177B0 prebuilt history reset | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:113 | nothing asks for it. [BIN:TPI-EXE:0x7177B0 prebuilt history reset] the same reset runs from the world reset 0x64B940 when the prebuilt park loads (0x7468B0 "PreBuilt\", 0x6A3CF9), the first |
| TPI-EXE:0x7177f0 advisor controller load | source/OpenTPW.Files/Formats/Save/ThemeParkIncBodyLayout.Data.cs:262 | [BIN:TPI-EXE:0x7177f0 advisor controller load] case 11 at 0x64ce81 (thunk 0x40a7a9, object 0x118 bytes): thing base, a time stamp (0x448c80), mSoundId, the 8-entry message queue (0x71af30), the queue position and last action, the current message (0x71af30), the tutorial flag, mMessagePlaying, the delayed message and three panel flags and the delay ticks: 233 bytes |
| TPI-EXE:0x718190 advisor update | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:472 | [BIN:TPI-EXE:0x718190 advisor update] +0x10D: before UIPanelDelay (0xC65244, unsigned compare against GetTickCount, see PostDelayed) has passed the update goes to the playback; after it, +0x10D = 0, the message is posted with |
| TPI-EXE:0x7183B1 variant rule | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:511 | [BIN:TPI-EXE:0x7183B1 variant rule] a slot without a variant (+8 < 0) asks the rule (0x71BC20) with the history's last variant: 0 the next until the last, then the message id; 1 the next, |
| TPI-EXE:0x7185A8 advice history | source/OpenTPW/Economy/ThemeParkIncCareer.cs:180 | [BIN:TPI-EXE:0x7185A8 advice history] entry +0x14F0 + 20·id: +0 the world word at the last play (0x448DA0), +4 its variant, the byte +8 played, +0xC the slaps (0x718A57), +0x10 the plays; |
| TPI-EXE:0x718820 advice enqueue | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:257 | [BIN:TPI-EXE:0x718820 advice enqueue] a tutorial-group record is copied to +0xEC first (0x71BCA0 = 1); the acceptance 0x718B40(id, +0x15); a free slot is the first whose +0x14 is 0; |
| TPI-EXE:0x718990 advice cancel | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:349 | [BIN:TPI-EXE:0x718990 advice cancel] a stored tutorial record of the message is dropped (+0x100 = 0); every valid slot of the message is cleared; when the advisor clock is still inside |
| TPI-EXE:0x718AB0 repeat tutorial | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:419 | [BIN:TPI-EXE:0x718AB0 repeat tutorial] +0x100 (the stored record's valid byte) clear: false; else the scorer is built when it is not (0xC64DC7), the record +0xEC gets the score [0xC656C0] |
| TPI-EXE:0x718B40 advice acceptance | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:282 | [BIN:TPI-EXE:0x718B40 advice acceptance] in order: TutorialOn off refuses a tutorial-group message (0x71C030); a history entry whose time >> 2 is not 0 refuses while the world ticks >> 2 |
| TPI-EXE:0x718E90 replaced slot | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:310 | [BIN:TPI-EXE:0x718E90 replaced slot] over the valid slots with a row whose group is not 8: the first, then any with a strictly lower score; -1 when there is none |
| TPI-EXE:0x718F80 advice selection | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:325 | [BIN:TPI-EXE:0x718F80 advice selection] over the valid slots with a row (with the advisor panel up, 0x501440, only groups 1 and 8): a mail slot with a positive score is taken, the last |
| TPI-EXE:0x7191AB easy-mode history reset | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:111 | [BIN:TPI-EXE:0x7191AB easy-mode history reset] the advisor's handler clears every history entry but its time stamp (variant -1, played, slaps and plays 0) on RESET_FOR_EASY_MODE |
| TPI-EXE:0x71A930 advice record | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:244 | [BIN:TPI-EXE:0x71A930 advice record] a score below 0 asks the descriptor (0x71B7E0) and clears +0x16; a given score sets it; +0x14 = 1 |
| TPI-EXE:0x71A9F0 default-score playback | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:534 | [BIN:TPI-EXE:0x71A9F0 default-score playback] the slot is consumed (+0x14 = 0), the descriptor scores again (0x71B870, which also writes the locate words) and a score below the minimum |
| TPI-EXE:0x71ABC9 caption broadcast | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:553 | [BIN:TPI-EXE:0x71ABC9 caption broadcast] after the speech and the gate timer, a tag (0x716D10: the response's +0x1C, 0x97 for none) that is not 0x97 goes out as kind 0x18 with the |
| TPI-EXE:0x71AD10 explicit-score playback | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:560 | [BIN:TPI-EXE:0x71AD10 explicit-score playback] the slot is consumed, the response chosen as above (0x3F6 fails), the speech gives the duration and the tag is broadcast; no second score |
| TPI-EXE:0x71B6B0 scorer constructor | source/OpenTPW/Economy/ThemeParkIncAdvisorSettings.cs:19 | [BIN:TPI-EXE:0x71B6B0 scorer constructor] the scorer at 0xC65220 binds its SAM object at +0xC (0x418F60, schema 0x97C180) and loads "Advisor\Advisor.sam" with 0x419B20(path, 0); a failure |
| TPI-EXE:0x71B770 descriptor lookup | source/OpenTPW/Economy/ThemeParkIncAdvisorTable.cs:18 | [BIN:TPI-EXE:0x71B770 descriptor lookup] the lookups scan from row 0 up to the row count 0x9E7198 (665) or a kind-2 row and take the first row whose +4 is the message; 0x285 (the |
| TPI-EXE:0x71B7E0 advice score | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:192 | [BIN:TPI-EXE:0x71B7E0 advice score] the first row of the message, the class check 0x71BDC0, then the row's callback with this = scorer + row+0x14 (0 in every row) |
| TPI-EXE:0x71BAC0 repeat interval | source/OpenTPW/Economy/ThemeParkIncAdvisorSettings.cs:10 | [BIN:TPI-EXE:0x71BAC0 repeat interval] play count 0, 1 and 2 read the group's +0, +4 and +8, every other count its +0xC |
| TPI-EXE:0x71BDC0 class check | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncAdvisor.cs:68 | [BIN:TPI-EXE:0x71BDC0 class check] [BIN:TPI-EXE:0x5D0770 animation word] the cutscene's 0xA9D230 and its +0x24 (ThemeParkIncCutscene.AnimThing, Mode); the mode word 0xC65B80 is 0 in the |
| TPI-EXE:0x71BDC0 class check | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:228 | [BIN:TPI-EXE:0x71BDC0 class check] mode word 3 admits class 3 only; else the game object's +0x2E class 5, its +0x2F class 7; else a playing cutscene admits class 6, 5 or 4 by its mode |
| TPI-EXE:0x71FE90 field score | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:199 | [BIN:TPI-EXE:0x71FE90 field score] 194 callbacks return one word of the scorer (mov eax, [ecx + offset]; ret), an Advisor.sam key: HelpMessage.Score (+0x49C) for the window help |
| TPI-EXE:0x720CA0 arrival consumers | source/OpenTPW.Files/Formats/Save/SaveThemeParkIncArrivalRing.cs:15 | [BIN:TPI-EXE:0x720CA0 arrival consumers] hype, big-group (0x721130) and exactly-one-group (0x722DF0) read held entries, not mTemp or admission totals |
| TPI-EXE:0x727410 0x1FA score | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:210 | [BIN:TPI-EXE:0x727410 0x1FA score] (thunk 0x404BD3) the advisor thing's history byte of 0x1FA (0x71B520: +8, played): set 0, else 10000 |
| TPI-EXE:0x728580 0x21D score | source/OpenTPW/Economy/ThemeParkIncAdvisor.cs:213 | [BIN:TPI-EXE:0x728580 0x21D score] (thunk 0x407CB6) the history entry of 0x21D (0x71B4F0) +8, the played byte: set 0, else 10000 |
| TPI-EXE:0x7451E0 load | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:118 | [BIN:TPI-EXE:0x7451E0 load] the career is destroyed and the global save loaded (0x74D110) before the current zone's park file |
| TPI-EXE:0x745720 park save | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:129 | [BIN:TPI-EXE:0x745720 park save] the global save is written first (0x777AF0) and the park files after it |
| TPI-EXE:0x74AC30 built-in CDK table | source/OpenTPW/Economy/ThemeParkIncCareer.cs:83 | [BIN:TPI-EXE:0x74AC30 built-in CDK table] 0xBFC680: (0x4A6,1,1,7500), (0x1036,1,0,7500), (0x4A1,1,0,9000), (0x1194,1,1,12000), (0x1070,1,1,11000), (0x1059,2,1,12000) by stores, then |
| TPI-EXE:0x74B490 career constructor | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncCareer.cs:43 | [BIN:TPI-EXE:0x74B490 career constructor] the world reads the global career 0xBFC484 and constructs one when there is none (every career access site checks it, e.g. 0x5C42F8) |
| TPI-EXE:0x74B490 career constructor | source/OpenTPW/Economy/ThemeParkIncCareer.cs:64 | [BIN:TPI-EXE:0x74B490 career constructor] the 256 CDK slots get the element constructor's (0, 4, 0x7FFFFFFF, -1), the mission object is bound (0x418F60), the five statuses' start dates |
| TPI-EXE:0x74B490 mission object | source/OpenTPW/Economy/ThemeParkIncMission.cs:13 | [BIN:TPI-EXE:0x74B490 mission object] the career constructor writes the mission vtable 0x940920 at +0x10B4 (0x74B535: 0x74B600 returns &schema[i] = 0x9A0C68 + i * 0x3C, 0x74B630 the data base |
| TPI-EXE:0x74BB40 career reset | source/OpenTPW/Economy/ThemeParkIncCareer.cs:353 | [BIN:TPI-EXE:0x74BB40 career reset] +0x54 = 16, +0x58 = 0, 16 entries copied from 0xBFC680; the scan of data\cdk registration\*.cdk (validation 0x74BC2E..) finds nothing in the shipped |
| TPI-EXE:0x74BDF0 status clear | source/OpenTPW/Economy/ThemeParkIncCareer.cs:388 | [BIN:TPI-EXE:0x74BDF0 status clear] per block: +0x10, +0, +4, +8, +0xC, +0x14, +0x18, +0x1C = 0 and +0x20 = 4; the advance 0x74C1B0 clears the same way |
| TPI-EXE:0x74BE97 shares reset call | source/OpenTPW/Economy/ThemeParkIncCareer.cs:381 | [BIN:TPI-EXE:0x74BE97 shares reset call] the career reset resets the shares game (0x621210) after the mission load and before +4 |
| TPI-EXE:0x74C050 mission load | source/OpenTPW/Economy/ThemeParkIncCareer.cs:405 | [BIN:TPI-EXE:0x74C050 mission load] logs "Loading mission %d", builds "%s\Miss%02d.sam" and parses it with 0x419B20(path, 0); on 0 it returns 0; else for i = 0..4: +0 = 0, +4 = ES.Type, |
| TPI-EXE:0x74C083 mission path | source/OpenTPW/Economy/ThemeParkIncMission.cs:135 | [BIN:TPI-EXE:0x74C083 mission path] "%s\Miss%02d.sam" (0x9E9264) with the career's counter; the base is the data folder's missions directory (the shipped files are Data\missions\miss00..17.sam) |
| TPI-EXE:0x74C1B0 mission advance | source/OpenTPW/Economy/ThemeParkIncCareer.cs:431 | [BIN:TPI-EXE:0x74C1B0 mission advance] +0x105C += 1, +0x13E4 = +0x13E5 = 0, the statuses cleared as by the reset, then if 0x9E907C[counter] >= 0 (signed) +0x1078[that] = 1, then 0x74C050 |
| TPI-EXE:0x74C3C0 obstacle abilities | source/OpenTPW/Economy/ThemeParkIncCareer.cs:446 | [BIN:TPI-EXE:0x74C3C0 obstacle abilities] for i below the ObstacleStaff count dword (+0x13D0): Number (+0x139C + 12i) != 0 sets +0x1064[Ability] = 1; then +0x13E4 = 1 |
| TPI-EXE:0x74C450 promotion | source/OpenTPW/Economy/ThemeParkIncCareer.cs:473 | [BIN:TPI-EXE:0x74C450 promotion] +0x1060 = rank first; then if +0 < [0xA028F8 + rank * 4] (signed, no bound) +0 = that word (ThemeParkIncStandard.FiringLineLimit) |
| TPI-EXE:0x74C46A promotion read | source/OpenTPW/Economy/ThemeParkIncStandard.cs:157 | [BIN:TPI-EXE:0x74C46A promotion read] the limit is [0xA028F8 + rank * 4] with no bound |
| TPI-EXE:0x74C490 open theme | source/OpenTPW/Economy/ThemeParkIncCareer.cs:504 | [BIN:TPI-EXE:0x74C490 open theme] the name 0x9D53B4 + 9n, map find 0x751ED0; when found and 0x7509C0 succeeds, record +0x61 = 1 |
| TPI-EXE:0x74C5B0 status store | source/OpenTPW/Economy/ThemeParkIncCareer.cs:228 | [BIN:TPI-EXE:0x74C5B0 status store] +0x1C = days, +0x18 = value |
| TPI-EXE:0x74C5F0 status state | source/OpenTPW/Economy/ThemeParkIncCareer.cs:237 | [BIN:TPI-EXE:0x74C5F0 status state] +0 = state |
| TPI-EXE:0x74C620 status start | source/OpenTPW/Economy/ThemeParkIncCareer.cs:217 | [BIN:TPI-EXE:0x74C620 status start] +0 = 1, +0x10 = date low, +0x14 = date high, +0x24 = baseline |
| TPI-EXE:0x74C670 status target | source/OpenTPW/Economy/ThemeParkIncCareer.cs:244 | [BIN:TPI-EXE:0x74C670 status target] type 5 or 4: edx = (+8 + 100) * +0x24 (imul, 32 bits), the high word of edx * 0x51EB851F shifted right 5 plus its sign bit (a signed division by 100), |
| TPI-EXE:0x74C760 award storage | source/OpenTPW/Economy/ThemeParkIncCareer.cs:296 | [BIN:TPI-EXE:0x74C760 award storage] career +0x2A + i != 1: +0x2A + i = 1, current zone (+0x4C) +0x20 + i = 1, +0x28 + 4i = value, return 1; else the current zone's +0x20 + i set: return 0; else |
| TPI-EXE:0x74C860 awards held | source/OpenTPW/Economy/ThemeParkIncCareer.cs:288 | [BIN:TPI-EXE:0x74C860 awards held] counts the nonzero bytes +0x2A + i for i = 0..7 |
| TPI-EXE:0x74C890 add tickets | source/OpenTPW/Economy/ThemeParkIncCareer.cs:488 | [BIN:TPI-EXE:0x74C890 add tickets] +0x1074 += n |
| TPI-EXE:0x74C8C0 spend tickets | source/OpenTPW/Economy/ThemeParkIncCareer.cs:492 | [BIN:TPI-EXE:0x74C8C0 spend tickets] if +0x1074 < n (signed) return 0; else +0x1074 -= n, return 1 |
| TPI-EXE:0x74C8F0 global save write | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:352 | [BIN:TPI-EXE:0x74C8F0 global save write] the theme word (3 when there is none), the version constant 0xC, then 0x74D840(file, 1, 0xC) in the same order as the read branch, the markers |
| TPI-EXE:0x74C8F0 global save write | source/OpenTPW/Economy/ThemeParkIncCareer.cs:701 | [BIN:TPI-EXE:0x74C8F0 global save write] the header's theme is 0x42A340() (3 when it is -1); +0x14EC is set to the refresh flag before the body is written |
| TPI-EXE:0x74D110 global save load | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:166 | [BIN:TPI-EXE:0x74D110 global save load] the header's theme and version words (a version below 0xC fails; any higher one is taken; the theme is not checked), then the body |
| TPI-EXE:0x74D110 global save load | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:70 | [BIN:TPI-EXE:0x74D110 global save load] a failed load returns 0 to the caller; a marker that differs is a successful load |
| TPI-EXE:0x74D110 global save load | source/OpenTPW/Economy/ThemeParkIncCareer.cs:729 | [BIN:TPI-EXE:0x74D110 global save load] 0x74BB40 and 0x74F9E0 (all zone records freed) before the file is opened; after the body the current zone's record is found by the theme name |
| TPI-EXE:0x74D28F version test | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:178 | [BIN:TPI-EXE:0x74D28F version test] cmp eax, 0xC; jae: an unsigned test, so a negative version word is a high one and is taken |
| TPI-EXE:0x74D740 researched object | source/OpenTPW.Tests/ThemeParkIncResearchTests.cs:157 | [BIN:TPI-EXE:0x61E980 lab tick] [BIN:TPI-EXE:0x5C07B0 bank debit] [BIN:TPI-EXE:0x61DCF9 researched message] [BIN:TPI-EXE:0x74D740 researched object] [BIN:TPI-EXE:0x61DE15 level append] |
| TPI-EXE:0x74D740 researched object | source/OpenTPW/Economy/ThemeParkIncCareer.cs:154 | [BIN:TPI-EXE:0x74D740 researched object] "GlobaMasterSave has been informed that Object %d has been researched"; the first of the +0x54 entries at +0x5C (stride 0x10) whose id dword is the type gets |
| TPI-EXE:0x74D840 global save body | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:167 | [BIN:TPI-EXE:0x74D840 global save body] read branch: a field read that comes back short returns 1 (the load fails), a marker that differs or is short returns 0 (success, the rest keeps |
| TPI-EXE:0x74E770 mission reparse | source/OpenTPW/Economy/ThemeParkIncCareer.cs:730 | (0x7513D0) or created, and stored at +0x4C when 0x7509C0 succeeds; [BIN:TPI-EXE:0x74E770 mission reparse] the body calls 0x74C050 after +0x13E5 and before the statuses |
| TPI-EXE:0x74E7EE marker read | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:554 | [BIN:TPI-EXE:0x74E7EE marker read] the marker dword is read without a count check into a stack word that holds an earlier value (a loop count, the version, the previous marker, or after |
| TPI-EXE:0x74EA30 duplicate zone | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:232 | [BIN:TPI-EXE:0x74EA30 duplicate zone] the map insert 0x751020 refuses a repeated name: "Something went wrong when trying...", the load fails |
| TPI-EXE:0x74EC8D shares section | source/OpenTPW/Economy/ThemeParkIncCareer.cs:702 | [BIN:TPI-EXE:0x74EC8D shares section] the body hands the shares game 0xAA0128 to its serializer 0x6209F0 (write 0x620A30, read 0x620E30; its result is ignored) |
| TPI-EXE:0x74F330 change theme | source/OpenTPW/Economy/ThemeParkIncCareer.cs:519 | [BIN:TPI-EXE:0x74F330 change theme] the record is looked up in the map, created by 0x74F760 when missing, stored at +0x4C, then 0x7509C0 loads its global.sam |
| TPI-EXE:0x74F4B0 zone record | source/OpenTPW/Economy/ThemeParkIncCareer.cs:514 | [BIN:TPI-EXE:0x74F4B0 zone record] finds the record by name (0x7519A0); when missing logs "Trying to get info from a theme...", creates it (0x74FC80) and inserts it (0x751020); returns it only |
| TPI-EXE:0x74FC80 zone record constructor | source/OpenTPW/Economy/ThemeParkIncCareer.cs:537 | [BIN:TPI-EXE:0x74FC80 zone record constructor] +0x48 = 0; +4..+0xD = 0 (one-shot bytes and the optional flags); +0x20..+0x27 = 0 (award flags); +0x64 = the name's index in 0x9D53B4 |
| TPI-EXE:0x74FCE4 theme index | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.Performers.cs:30 | [BIN:TPI-EXE:0x74FCE4 theme index] the record's constructor walks the nine-byte names from 0x9D53B4 ("arabian", "science", "water", "wIntro", "Unknown") until the theme's name matches and stores the |
| TPI-EXE:0x74FEF0 zone record | source/OpenTPW.Files/Formats/Save/ThemeParkIncGlobalSave.cs:296 | [BIN:TPI-EXE:0x74FEF0 zone record] read branch: u32 name length and its bytes (0x74D840 reads them byte by byte), then six bytes, four (byte, dword) and eight (byte, dword) pairs, |
| TPI-EXE:0x7509C0 global.sam load | source/OpenTPW/Economy/ThemeParkIncCareer.cs:562 | [BIN:TPI-EXE:0x7509C0 global.sam load] a new 0x1C object bound through 0x418F60 parses "data\levels\%s\global.sam" with 0x419B20(path, 0); a failure frees it and logs |
| TPI-EXE:0x777B80 player file path | source/OpenTPW/Client/GameFlow.ThemeParkIncCareer.cs:22 | [BIN:TPI-EXE:0x777B80 player file path] 0x7763E0(slot) = <root>\save\users\<slot+1><name> (0x776070, 0x776210, 0x776300), then "\" + the name + ".GMS" (".GMI" for the refresh flag); |
| TPI-EXE:0x855A01 list comparator | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:327 | [BIN:TPI-EXE:0x855A01 list comparator] the sort column +0x174 and direction +0x176: a number column (type 1) puts the new item first when it is smaller (ascending) or larger (descending); |
| TPI-EXE:0x857872 header press | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:354 | [BIN:TPI-EXE:0x857872 header press] the sorted list's header child 0x10 + column: the sort column's own header toggles the direction (0x857735(-1)), another sets direction 0 (0x857735(0)) |
| TPI-EXE:0x85CC73 varibox range | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:202 | [BIN:TPI-EXE:0x85CC73 varibox range] the box's value stays in its range; a step changes it by the step and the box sends message 0x800 (0x59AA9F stores it at +0x14) |
| TPI-EXE:0x85CDCB varibox value | source/OpenTPW/Client/ThemeParkIncWageWindows.cs:97 | [BIN:TPI-EXE:0x85CDCB varibox value] the box's value setter (vtable +0x20, 0x85CD5D) clamps the value to its range (+0x144..+0x148) and, when it changed, posts message 0x800 with it |
| TPI-EXE:0x86F490 atol | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:380 | [BIN:TPI-EXE:0x86F490 atol] white space, an optional sign, then decimal digits accumulated in a 32-bit long that wraps |
| TPI-EXE:0x86F6B3 ctype | source/OpenTPW/Economy/ThemeParkIncSamObject.cs:394 | [BIN:TPI-EXE:0x86F6B3 ctype] the C locale's classes through _pctype: isspace (mask 8), isdigit (4), isalpha (0x103), isalnum (0x107); the parser passes a signed char, so a byte above |
| TPI-EXE:0x8942E0 integer argument | source/OpenTPW/Client/ThemeParkIncTexts.cs:91 | [BIN:TPI-EXE:0x8942E0 integer argument] swprintf with "%d" (0x9B19D0) |
| TPI-EXE:0x899070 text texel | source/OpenTPW/UI/Original/UiTitleBitmap.cs:9 | [BIN:TPI-EXE:0x899070 text texel] Theme Park Inc's blitter has the same formula; its title copy has the colour alpha 0xc8 (0x5162d2-0x5162f4) |
| TPI-EXE:0x91E074 heading angle | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncIdle.cs:235 | [BIN:TPI-EXE:0x91E074 heading angle] by quadrant of (first, second) the smaller magnitude over the larger indexes the table 0x91E1B4 (257 words, entry i = floor(atan(i / 256) × 1024 / π), checked |
| TPI-EXE:0x93E3E0 mission panel advice | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:126 | [BIN:TPI-EXE:0x93E3E0 mission panel advice] 20 words: 0x223..0x234, 0, 0 (0x93CE1C holds the same); a counter of 20 or more would read past them (the next table), which no career reaches |
| TPI-EXE:0x93E6A4 upgrade scale | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncAttractionScore.cs:148 | [BIN:TPI-EXE:0x93E6A4 upgrade scale] the bytes of 0.00033333333f |
| TPI-EXE:0x98DF88 map symbols | source/OpenTPW/World/ThemeParkIncObstacleTypes.cs:18 | [BIN:TPI-EXE:0x98DF88 map symbols] 12-byte rows (char, value, direction): '.' 0, '*' 4, 'Q' 3, '@' 1, '+' 11, '#' 16, 'H' 8, 'X' 5, ',' 30, '=' 32, '%' 33, '8' 9/1, '6' 9/4, '2' 9/16, |
| TPI-EXE:0x996240 global.sam schema | source/OpenTPW/Economy/ThemeParkIncCareer.cs:553 | [BIN:TPI-EXE:0x996240 global.sam schema] Tickets{CanEarnTicketsInTheme 4, CanSpendTicketsInTheme 4}, ParkInfo{AvailableFromStart 4}, ParkName{GateObjectId 5}, end |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW.Tests/ThemeParkIncPlantTests.cs:73 | [BIN:TPI-EXE:0x996684 Standard schema] "3,RegionFX,0,0,15" |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW/Economy/ThemeParkIncCareer.cs:330 | [BIN:TPI-EXE:0x996684 Standard schema] FiringLineForRank[6].Limit sits at the Standard object's +0xE98 (0xA028F8) with its count dword at +0xEB0, the slot after the sixth element; the |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW/Economy/ThemeParkIncParkAwards.cs:28 | [BIN:TPI-EXE:0x996684 Standard schema] "4,CoasterHeight;4,CoasterSpeed;4,Hygiene;4,HygieneMinParkSize;4,Security;4,Decoration;4,Training;4,TrainingMinStaff;4,GokartSpeed;4,WaterLength; |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW/Economy/ThemeParkIncSharesGame.cs:9 | [BIN:TPI-EXE:0x996684 Standard schema] "4,CompanySharesIssued;4,InitialSharesOwned;4,InitialSharePrice;4,AnnRptSimilarPercentage;4,AnnRptBigChangePercentage;1,ShareInfo" after the loans: the |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW/Economy/ThemeParkIncStandard.cs:16 | [BIN:TPI-EXE:0x996684 Standard schema] the 590 records as the executable holds them (kinds 0..8, 10 and the end; no kind 9 or 11) |
| TPI-EXE:0x996684 Standard schema | source/OpenTPW/World/ParkEnvironment.cs:20 | [BIN:TPI-EXE:0x996684 Standard schema] the record "3,RegionFX,0,0,15": an array of 15 rows of the five words and the radius (ThemeParkIncStandard.Schema) |
| TPI-EXE:0x9A0C68 mission schema | source/OpenTPW/Economy/ThemeParkIncMission.cs:18 | [BIN:TPI-EXE:0x9A0C68 mission schema] Info{Number 4, NoResearch 6 [0,2)}, Completion{ThemeOpened 6 [0,2), ThemeNumber, CutsceneObject, ObstacleOpened 4, EndOfGame 6 [0,2), |
| TPI-EXE:0x9A2CC0 type record keys | source/OpenTPW.Tests/ThemeParkIncMechanicTests.cs:96 | [BIN:TPI-EXE:0x9A2CC0 type record keys] RideBreakDown.Imminent at +0x3C8 and WarnPlayer at +0x3CC; the repair tail's queue test needs Info.HasQueue on every object a mechanic repairs |
| TPI-EXE:0x9A2CC0 type record keys | source/OpenTPW/Economy/EconomyObjectCatalog.cs:207 | [BIN:TPI-EXE:0x9A2CC0 type record keys] the key table lays the record out four bytes a key (a count word after each array), which puts RideBreakDown.Imminent at +0x3C8 and |
| TPI-EXE:0x9A2D00 object info keys | source/OpenTPW/World/ThemeParkIncObstacleTypes.cs:92 | [BIN:TPI-EXE:0x9A2D00 object info keys] the info's key words are stored 4 bytes apart from +0x10 in the key table's order: Info.Shape +0x1C, Info.MapOffsetX/Y +0x34/+0x38, Info.IsObstacle +0x4C, |
| TPI-EXE:0x9A4520 usage key table | source/OpenTPW/World/Guests/ThemeParkInc/IThemeParkIncGuestWorld.cs:43 | [BIN:TPI-EXE:0x9A4520 usage key table] four bytes a key from GoldenTicketCost +0x174: FatigueEffect +0x198, RequiresTeleport +0x1C0, RideHandlesSprite +0x1C4, ThirstEffect +0x200, HungerEffect +0x204, |
| TPI-EXE:0x9A866C help key | source/OpenTPW/Client/ThemeParkIncHud.Mission.cs:89 | [BIN:TPI-EXE:0x9A866C help key] the key table's F1 row (key 0x70, its handler word 0x4305E0 at 0x9A866C) and the default window procedure's F1 (0x507FE8, key 0x70 without a modifier) both call 0x718AB0 on the |
| TPI-EXE:0x9A89EC message key | source/OpenTPW/UI/Original/UiInput.cs:121 | [BIN:TPI-EXE:0x9A89EC message key] the row before it, {'M' (0x4D) << 16 | 0x12, modifier 0, "message", 0x42EED0}: the plain M opens the tag tube window |
| TPI-EXE:0x9A8A14 objectives key | source/OpenTPW/UI/Original/UiInput.cs:119 | [BIN:TPI-EXE:0x9A8A14 objectives key] Theme Park Inc's key table (20-byte rows {key << 16 | id, modifier, name, handler, 0} from 0x9A8898) has the row |
| TPI-EXE:0x9B04E4 entertainer performances | source/OpenTPW/World/Staff/StaffSpritePrograms.cs:88 | [BIN:TPI-EXE:0x9B04E4 entertainer performances] SET 0x10 = 0x1200, SLOT 4 (A, B) or 0xA (C, D), FRAME 0..3 and, for A and C, back 2 and 1, JMP to the program's start |
| TPI-EXE:0x9B4854 letter table | source/OpenTPW/Client/ThemeParkIncLetterWindow.cs:77 | [BIN:TPI-EXE:0x9B4854 letter table] the !window 0xA7F8 (46,44)-(2002,1492) carries every control |
| TPI-EXE:0x9BBC84 tube table | source/OpenTPW/Client/ThemeParkIncTagTubeWindow.cs:145 | [BIN:TPI-EXE:0x9BBC84 tube table] the !window 3000 (196,38)-(2028,1318) carries every control; the !f_plain panel 3005 |
| TPI-EXE:0x9BE808 mission table | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:171 | [BIN:TPI-EXE:0x9BE808 mission table] the !window 0xCEC52 (196,38)-(2028,1318) carries every control; the !f_plain page frame 0xCEC53 |
| TPI-EXE:0x9BECCC mission pictures | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:60 | [BIN:TPI-EXE:0x9BECCC mission pictures] read at 0x55B57E as 0x9BECCC[counter] - 1 |
| TPI-EXE:0x9BED18 statistic lines | source/OpenTPW/Client/ThemeParkIncMissionWindow.cs:64 | [BIN:TPI-EXE:0x9BED18 statistic lines] types 0..8: (0,0) (0,0) (7,8) (1,2) (0,0) (0,0) (5,6) (9,10) (11,12); a type above 8 reads past the table, which no shipped mission has |
| TPI-EXE:0x9CD000 challenge senders | source/OpenTPW/Economy/ThemeParkIncChallenges.cs:516 | [BIN:TPI-EXE:0x9CD000 challenge senders] nine rows of nine words; by sender, word 1: 0x285, 0x285, 0x239, 0x25C, 0x245, 0x265, 0x255, 0x285, 0x285; word 4: 0x285, 0x285, 0x23A, 0x25D, 0x246, |
| TPI-EXE:0x9CDA94 staff sprite programs | source/OpenTPW.Tests/ThemeParkIncHandymanTests.cs:244 | [BIN:TPI-EXE:0x9CDA94 staff sprite programs] Theme Park Inc's templates run tp.exe's programs under other numbers |
| TPI-EXE:0x9CDA94 staff sprite programs | source/OpenTPW/World/Staff/ThemeParkInc/ThemeParkIncStaffWorld.cs:56 | [BIN:TPI-EXE:0x9CDA94 staff sprite programs] 1 (0x9AFBA8) SET 0x10 = 0x1200, SLOT 1, FRAME 0..7, JMP: tp.exe's walk 1; 2 (0x9AFC04) SLOT 2, FRAME 0..7: the run 2; 3 (0x9AFC60) SLOT 0, FRAME 0: the stand 3; |
| TPI-EXE:0x9CFB20 speed term words | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:283 | [BIN:TPI-EXE:0x9CFB20 speed term words] the halfwords 0x0000, 0x0019, 0x0032 |
| TPI-EXE:0x9D060C balloon countdown bounds | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkIncVisit.cs:529 | [BIN:TPI-EXE:0x9D060C balloon countdown bounds] the dwords 25 and 255 |
| TPI-EXE:0x9D0610 balloon divisor | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncAttractionScore.cs:48 | [BIN:TPI-EXE:0x9D0610 balloon divisor] the dword 0x000000FF, read by divl at 0x610B27 |
| TPI-EXE:0x9D0614 balloon litter types | source/OpenTPW/World/Guests/ThemeParkInc/GuestSimulation.ThemeParkInc.cs:342 | [BIN:TPI-EXE:0x9D0614 balloon litter types] the dwords 9, 0xC, 0xB, 0xA for the colours 0..3 |
| TPI-EXE:0x9D069C state names | source/OpenTPW/World/Guests/ThemeParkInc/ThemeParkIncGuestStates.cs:45 | [BIN:TPI-EXE:0x9D069C state names] the strings 0x9D0A58 (state 0) down to 0x9D0750 (state 30); entry 31 is the table's end (0) |
| TPI-EXE:0x9D3E30 forecast tag records | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:74 | [BIN:TPI-EXE:0x9D3E30 forecast tag records] tags 62, 65, 68, 71: {t, 0x97, 0x7F/0x82/0x85/0x9C, 0, 0, 0, 0, 0xC0, 0xF7, 0}; [BIN:TPI-EXE:0x9D4330 letter tag records] tags 0x5E, 0x5F: |
| TPI-EXE:0x9D42E0 briefing tag record | source/OpenTPW/Client/ThemeParkIncTagTubeLetters.cs:14 | [BIN:TPI-EXE:0x9D42E0 briefing tag record] {0x5C, 0x97, 0xA2, 0, 0, 0, 0, 0xAE, 0xA1, 0}: body 162, sender 174, subject 161 ("Welcome!") |
| TPI-EXE:0x9D4330 letter tag records | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:74 | [BIN:TPI-EXE:0x9D3E30 forecast tag records] tags 62, 65, 68, 71: {t, 0x97, 0x7F/0x82/0x85/0x9C, 0, 0, 0, 0, 0xC0, 0xF7, 0}; [BIN:TPI-EXE:0x9D4330 letter tag records] tags 0x5E, 0x5F: |
| TPI-EXE:0x9D4380 obstacle panel tag records | source/OpenTPW/Economy/ThemeParkIncAdviceResponse.cs:75 | {t, 0x97, 0xA6/0xA7, 0, 0, 0, 0, 0xC0, 0xC1, 0}; [BIN:TPI-EXE:0x9D4380 obstacle panel tag records] tags 0x60..0x63 (responses 823..826, the researched-obstacle advice 0x1EB..0x1EE): |
| TPI-EXE:0x9D53B4 theme names | source/OpenTPW.Tests/ThemeParkIncPerformerTests.cs:139 | [BIN:TPI-EXE:0x9D53B4 theme names] "arabian", "science", "water", "wIntro", "Unknown" |
| TPI-EXE:0x9DD350 canned sequences | source/OpenTPW/Economy/ThemeParkIncAdvisorSequences.cs:21 | [BIN:TPI-EXE:0x9DD350 canned sequences] 80-byte rows of the executable's data; rows 2-4, 6-8, 13 and 19 are empty. Clips 16 to 26 exist only in the level advisors' archives |
| TPI-EXE:0x9E907C region table | source/OpenTPW/Economy/ThemeParkIncCareer.cs:79 | [BIN:TPI-EXE:0x9E907C region table] 24 dwords before string data: -1, 13, 10, 8, 7, 1, 2, 0, -1, 12, 11, -1, 6, 5, 9, -1, 4, 3, -1, -1, 0, 0, 0, 0 |
| TPI-EXE:0x9b18bc | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:68 | <summary>[BIN:TPI-EXE:0x9b18bc] layout table QuitConfirm.</summary> |
| TPI-EXE:0x9b4854 | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:80 | <summary>[BIN:TPI-EXE:0x9b4854] layout table LetterWindow.</summary> |
| TPI-EXE:0x9b54cc | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:161 | <summary>[BIN:TPI-EXE:0x9b54cc] layout table ChallengesWindow.</summary> |
| TPI-EXE:0x9bbc84 | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:208 | <summary>[BIN:TPI-EXE:0x9bbc84] layout table TagTube.</summary> |
| TPI-EXE:0x9be518 | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:297 | <summary>[BIN:TPI-EXE:0x9be518] layout table WageNegotiation.</summary> |
| TPI-EXE:0x9be808 | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:106 | <summary>[BIN:TPI-EXE:0x9be808] layout table MissionWindow.</summary> |
| TPI-EXE:0x9c0fbc | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:10 | <summary>[BIN:TPI-EXE:0x9c0fbc] layout table PersonnelFile.</summary> |
| TPI-EXE:0x9c0fbc mugshot | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:219 | [BIN:TPI-EXE:0x9c0fbc mugshot] the player's picture: !frame 0xc75d (1816,1240)-(2009,1434) around the mugshot control 0xc75e |
| TPI-EXE:0x9c0fbc personnel file table | source/OpenTPW/FrontEnd/ThemeParkIncFrontEnd.cs:112 | [BIN:TPI-EXE:0x9c0fbc personnel file table] window !window_s (273,72)-(1775,1464) with the title text box 0xc75c (397,82)-(1469,161), the file page 0xc73b (389,318)-(1690,1215), the framed mugshot 0xc75d/0xc75e (1816,1240)-(2009,1434) and the Coaster Design Kit and Quit Game toggles in !f_plain frames (0xc739, 0xc75a); the builder 0x56adb0 draws the window first and the page over it |
| TPI-EXE:0x9c9f64 | source/OpenTPW/UI/Original/ThemeParkIncLayoutTables.cs:256 | <summary>[BIN:TPI-EXE:0x9c9f64] layout table WageDemand.</summary> |
| TPI-EXE:0xA02168 shares issued | source/OpenTPW/Economy/ParkEconomy.ThemeParkIncMissions.cs:202 | [BIN:TPI-EXE:0xA02168 shares issued] the Standard object's ShareInfo.CompanySharesIssued |
| TPI-EXE:0xBFCC4C first hour time | source/OpenTPW/Economy/ThemeParkIncSession.cs:28 | [BIN:TPI-EXE:0xBFCC4C first hour time] a BSS dword with no initialiser (0x64947F counts it up per game hour, 0x6A4442 resets it at a level start) |
| TPI-EXE:0xa01b60 weather frequency | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:67 | [BIN:TPI-EXE:0xa01b60 weather frequency] shipped Standard.sam value 4 ("Modifiers get applied once every X days") |
| TPI-EXE:0xa01b64 slowest response | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:70 | [BIN:TPI-EXE:0xa01b64 slowest response] shipped Standard.sam value 3 |
| TPI-EXE:0xa01b68 discard balloon percent | source/OpenTPW/World/Umbrellas/UmbrellaRules.cs:73 | [BIN:TPI-EXE:0xa01b68 discard balloon percent] shipped Standard.sam value 100 |
| TPW-EXE:0x0035299c research panel control table (file offset) | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:285 | [BIN:TPW-EXE:0x0035299c research panel control table (file offset)] each category parent control holds a second model child besides the fluid: the pipe (root name "pipe", res_pipe.md2), a rect 1497..1804 wide that starts 17 units below the panel's top in every row (y 175..294, 335..455, 496..615, 657..776, 818..937 for the five rows); it frames the fluid with the orange end caps the original's tube shows (720p video 34:30) and is drawn over the fluid |
| TPW-EXE:0x00401D7C balance parser | source/OpenTPW/Economy/BalanceSettings.cs:163 | [BIN:TPW-EXE:0x00401D7C balance parser] Costs.* are type-5 balance keys: the parser tests the parsed value and a negative one (jl 0x40260D) reports 'Balance problem: invalid -ve value specified', which fails the balance load, so the level never starts with a negative cell cost |
| TPW-EXE:0x00401D7C negative cost refused at load | source/OpenTPW/Economy/ParkEconomy.cs:2590 | [BIN:TPW-EXE:0x00401D7C negative cost refused at load] a negative Costs.* value fails the balance load (BalanceSettings), so a cell cost here is never negative and is always spent |
| TPW-EXE:0x00402720 map parser | source/OpenTPW/World/Objects/ObjectHoarding.cs:12 | [BIN:TPW-EXE:0x00402720 map parser] each row is read to its end; a space is skipped without taking a column (the column counter advances only for a stored character), any other character is looked up in the table passed (12-byte rows: character, type dword, direction byte) and stored as (type, direction) at row × 20 + column, failing with "Illegal map character" when the table lacks it, "Map too wide" at a 21st column and "Map too high" at a 21st row with a character; the width is the longest row's column count, the height the row count, and the closing --- swaps row i with row height − 1 − i (0x00402858), so row 0 is the last text row |
| TPW-EXE:0x00402BF0 options accessor | source/OpenTPW/World/Coasters/CoasterRide.cs:357 | [BIN:TPW-EXE:0x00402BF0 options accessor] the vtable 0x6FD630 is the balance-table class of the options (instance 0x785868, built in 0x423BC0; the file reader 0x401650 → 0x4017A0 fills it): its first virtual method returns the entry 0x7442C0 + 0x3C × index (the named table: FIRSTPERSONVIEWDISTANCE is entry 17, COASTERSMOOTHNESS 22), its second the value block at the instance + 8 (0x5B0D60), and the initialiser 0x401030 gives every typed entry a slot of that block in order, so FIRSTPERSONVIEWDISTANCE lives at 0x7858B4 and COASTERSMOOTHNESS at 0x7858C0 |
| TPW-EXE:0x00402D63 clock offset | source/OpenTPW/Client/AutomaticAdvisor.cs:14 | [BIN:TPW-EXE:0x00402D63 clock offset] the clock's offset word starts at 0 and is rewritten only by the savegame load (0x415140 → 0x402E80 → 0x403160: the saved advisor clock minus the live clock); pause is 0x4092A0 and resume 0x409300 |
| TPW-EXE:0x00402D70 game clock | source/OpenTPW/World/Guests/SavedRideTables.cs:9 | [BIN:TPW-EXE:0x00402D70 game clock] every time in an entry is the game clock (0x00785970) at the opcode: the script clock of an imported script counts from the saved clock word (RideVM.ClockOriginMilliseconds), so a saved time is carried as its signed difference to that word |
| TPW-EXE:0x004080E0 level settings | source/OpenTPW/World/AdvisorCostumes.cs:95 | [BIN:TPW-EXE:0x004080E0 level settings] 0x4080E0 copies the four AddOns and four SubOffs of the level's settings into 0xF797A4 and 0xF797B4 |
| TPW-EXE:0x00408142 water start | source/OpenTPW/World/Original/HarbourDynamics.cs:83 | [BIN:TPW-EXE:0x00408142 water start] the level setup copies WaterStartPos.X/Y/Z (0x785718..0x785720) to 0x870EC8..0x870ED0, which the sea patches start at |
| TPW-EXE:0x004092A0 game pause | source/OpenTPW/Hud/ParkHud.cs:225 | [BIN:TPW-EXE:0x004092A0 game pause] 0x4092A0 sets the flag and freezes the timer object 0x785970 (0x402D90), 0x409300 clears it and thaws the timer (0x402DB0), 0x409350 (the P key) toggles both (0x402DD0) |
| TPW-EXE:0x004092A0 game pause owners | source/OpenTPW/Client/AutomaticAdvisor.cs:15 | [BIN:TPW-EXE:0x004092A0 game pause owners] all eight callers of the pause are identified and ported (Hud.ClockPaused): the application's deactivation 0x46B74C, the generic message boxes 0x47F26C (offline only), the Escape menu 0x48C87E, |
| TPW-EXE:0x00409B10 theme gate lines | source/OpenTPW/World/Lobby/LobbySigns.cs:21 | [BIN:TPW-EXE:0x00409B10 theme gate lines] the theme name is compared with four names in turn and the lines come from info ids 0x11F9 (4601), 0xA29 (2601), 0x641 (1601) and 0xE11 (3601); the levels' global.sam give fantasy 4601, hallow 2601, jungle 1601 and space 3601 |
| TPW-EXE:0x0040C410 close-park handler | source/OpenTPW/Hud/ParkHud.cs:1134 | [BIN:TPW-EXE:0x0040C410 close-park handler] the shortcut calls the door routine 0x519EF0 whatever the park's state, which posts event 4 (0x51A1C6, also from a closed park) or, for opening, event 3 (0x51A033) every time |
| TPW-EXE:0x0040C5E0 Clear key | source/OpenTPW/Hud/ParkHud.cs:1119 | [BIN:TPW-EXE:0x0040C5E0 Clear key] the key builds the area clear tool 0x46C580(0x3A) |
| TPW-EXE:0x0040C5E0 Clear key | source/OpenTPW/World/AreaClearTool.cs:19 | [BIN:TPW-EXE:0x0040C5E0 Clear key] the key builds the tool object 0x46C580(0x3A); the buy window's row −2 builds the same (0x4AC851) |
| TPW-EXE:0x0040FB10 message bus | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:75 | [BIN:TPW-EXE:0x0040FB10 message bus] a message posted is delivered at once, in the poster's call, to every thing subscribed to its type (0x0050B550 by thing type), so the prank reaches the staff HQ (and the advisor) as it is made |
| TPW-EXE:0x00412C65 object definition constructor | source/OpenTPW/World/Objects/ObjectCatalog.cs:930 | [BIN:TPW-EXE:0x00412C65 object definition constructor] the object text is read from the selected language's file only; without that file the definition's text pointers stay NULL (0x412C65/0x412C6B); what the sign code does with a NULL line is untraced, so OpenTPW's caller (ObjectSigns.Lines) falls back to the object's display name |
| TPW-EXE:0x00412E90 definition by id | source/OpenTPW/Mods/CrossEditionObjects.cs:10 | [BIN:TPW-EXE:0x00412E90 definition by id] the original keeps a definition whose Info.Id is taken (it stays listed) and every lookup by id returns the first in load order, so a mod object with a taken id would be unreachable (RIDES-024) |
| TPW-EXE:0x00412E90 definition by id | source/OpenTPW/World/Objects/ObjectCatalog.cs:355 | [BIN:TPW-EXE:0x00412E90 definition by id] the id lookup scans the definition list from the start and returns the first whose |
| TPW-EXE:0x00412F50 type record by id | source/OpenTPW/Client/AutomaticAdvisor.cs:547 | [BIN:TPW-EXE:0x00412F50 type record by id] the table 0x7890A0 holds the types of the park's own object archives; the name is the OBJECT_NAMES entries of the type's Info.Id joined by a space (ObjectCatalogEntry.SignName), empty for an id outside the table |
| TPW-EXE:0x00413140 category scan order | source/OpenTPW/Economy/ParkResearch.cs:84 | [BIN:TPW-EXE:0x00413140 category scan order] the object definitions are loaded Rides, Features, Upgrades, Shops, Sideshow, each directory in archive-name order, and the lab's fill |
| TPW-EXE:0x00413140 category scan order | source/OpenTPW/World/Objects/ObjectCatalog.cs:358 | [BIN:TPW-EXE:0x00413140 category scan order] the categories are scanned Rides, Features, Upgrades, Shops, Sideshow (0x00747B24, 0x00747B94, |
| TPW-EXE:0x00413410 first entrance scan | source/OpenTPW/World/Level.Objects.cs:509 | [BIN:TPW-EXE:0x00413410 first entrance scan] the shape scan runs the columns (U) in the outer loop and the rows (V) in the inner one (the row stride 0xA0 is the inner step) and stops at the first type 9 cell: the entrance with the lowest U, then the lowest V. The placement loop 0x00528A70 runs the other way round (rows outer, columns inner) and keeps the last one it meets (ObjectAccessCells.Find); no shipped shape names two entrances, so the two orders differ only for a shape a mod brings |
| TPW-EXE:0x00413410 shape access cells | source/OpenTPW/World/Objects/ObjectShape.cs:210 | [BIN:TPW-EXE:0x00413410 shape access cells] the first entrance cell (type 9) is copied with its row, column and direction byte to the object record (def+0x494..0x49C, default direction 1) and the first exit cell (type 10) to def+0x4A0..0x4A8 (default 0x10); the direction therefore belongs to the symbol, not to the edge the cell lies on |
| TPW-EXE:0x00413600 object text | source/OpenTPW.Tests/ObjectCatalogTests.cs:642 | [BIN:TPW-EXE:0x00413600 object text] the sign lines come from the selected language's file only; no file means no lines (ObjectSigns then draws the display name; the original's NULL-line handling is untraced) |
| TPW-EXE:0x00413600 object text | source/OpenTPW/World/Objects/ObjectCatalog.cs:931 | [BIN:TPW-EXE:0x00413600 object text] before parsing, NAME, SIGNA, SIGNB and +0x500 are set to L"MISSING STRING" (0x6FD880, 0x41360D–0x41361D), so a file without a SIGNA or SIGNB key shows that string on the line |
| TPW-EXE:0x00413600 object text | source/OpenTPW/World/Objects/ObjectCatalog.cs:934 | [BIN:TPW-EXE:0x00413600 object text] the object text file's NAME, SIGNA and SIGNB sections are parsed with the default "MISSING STRING"; SIGNA/SIGNB are copied into each placed object as two 32-character lines (0x413020/0x4130B0, called at 0x4DB6F9/0x4DB70D) |
| TPW-EXE:0x00413930 archive scan | source/OpenTPW/World/Objects/ObjectCatalog.cs:430 | [BIN:TPW-EXE:0x00413930 archive scan] each found archive becomes an archive object named by 0x0041EC30 (see ArchiveKey); one whose |
| TPW-EXE:0x00413C10 object loader | source/OpenTPW/World/Level.AddOns.cs:254 | [BIN:TPW-EXE:0x00413C10 object loader] a type that is no fixed item (Info.DontApplyOffset 0) is loaded with the ground node search (0x4629D0 flag 1) over the level's terrain grid; the search's node is the instance's +0x2C, which the mode-4 sampler reads |
| TPW-EXE:0x00413C10 object loader | source/OpenTPW/World/Objects/ObjectCatalog.cs:595 | [BIN:TPW-EXE:0x00413C10 object loader] the object's settings stack is the base file the caller names, then <object>.sam, then Easy_<object>.sam in game type 2; a shared (non-Info.Id) file such as coaster.sam is never merged into it: only for track type 3 (0x4141EB) it is loaded into a separate settings object (0x41420B) that goes with the model to the TrackMaster loader 0x42FAD0 (0x4142DE) |
| TPW-EXE:0x00413C10 object loader | source/OpenTPW/World/Objects/ObjectHoarding.cs:167 | [BIN:TPW-EXE:0x00413C10 object loader] a type whose Info.DontApplyOffset (type record +0x38) is 0 is built by 0x004629D0 with the flags 0xB24A9 (0x4B24A9 with DoHeadProcessing), which include 1 (the ground node search 0x0046A5A0) and 8 (the hoarding builder 0x00452E70 with the Info.Hoarding grid, type +0x1C, 0x00462DAC); a fixed item gets 0x50C00, without either |
| TPW-EXE:0x00413D9B definition name | source/OpenTPW/World/Objects/ArrivalVehicles.cs:97 | [BIN:TPW-EXE:0x00413D9B definition name] the object loader prints the archive object's name (+4, see ObjectCatalog.ArchiveKey) into definition +0x390 |
| TPW-EXE:0x004146B0 object name getter | source/OpenTPW/World/Objects/ObjectCatalog.cs:749 | [BIN:TPW-EXE:0x004146B0 object name getter] an id outside the table 0x7488D8 formats two empty parts with an empty separator ("%s%s%s" 0x74985C) into an empty info name |
| TPW-EXE:0x004146B0 object name getter | source/OpenTPW/World/Objects/ObjectNameTable.cs:9 | [BIN:TPW-EXE:0x004146B0 object name getter] the getter walks the rows from 0x7488D8 (12 bytes: Info.Id, first index, second index; a zero id ends the walk, which also stops at 0x749850) and reads the first and the second string from the OBJECT_NAMES table slot (0x78BACC); an id that is not listed gives an empty name |
| TPW-EXE:0x0041474E object name join | source/OpenTPW/World/Objects/ObjectCatalog.cs:771 | [BIN:TPW-EXE:0x0041474E object name join] the PC builder agrees: a trailing '-' on the first text is cut and the texts are joined with "%s%s", otherwise "%s%s%s" with a space only when the second text is not empty |
| TPW-EXE:0x00415140 load refresh | source/OpenTPW/World/Level.cs:615 | [BIN:TPW-EXE:0x00415140 load refresh] the cells are refreshed once the park's instances exist |
| TPW-EXE:0x00415140 load refresh | source/OpenTPW/World/ParkLayoutSnapshot.cs:676 | [BIN:TPW-EXE:0x00415140 load refresh] a restored park's cells are refreshed once all its instances exist |
| TPW-EXE:0x00415270 clock load | source/OpenTPW/Client/AutomaticAdvisor.cs:143 | [BIN:TPW-EXE:0x00415270 clock load] behind the MESS marker check (0x41555A) the load reads the clock block (0x402E30): the scaled clock at +0x4C and the saved advisor clock, whose load sets the clock's offset so it reads the saved value from then on (0x402E80 -> 0x403160) |
| TPW-EXE:0x0041A9D0 kid set limit | source/OpenTPW/World/Guests/KidSetLoad.cs:16 | [BIN:TPW-EXE:0x0041A9D0 kid set limit] the jump table 0x0041AA24 holds 2 (0x0041AA09), 4, 6 and 8 for the word at 0x007858D0 below 4 and 8 above it; [EXT:no-launcher-machine-class] the launcher machine-class path in front of it (the flags word 0x0079D86C, bit 0x4000; the memory word 0x44A5D0 only ever returns 8, 0x10 or 0x20) gives 8 for 8, 6 for 0x10 and 4 for 0x20 and depends on the player's PC: OpenTPW always follows the graphics preset |
| TPW-EXE:0x0041A9D0 kid set limit | source/OpenTPW/World/Level.cs:796 | [BIN:TPW-EXE:0x0041A9D0 kid set limit] the kid and head folders load the sets in the original's order (BI, KI, TA and SU first) up to the preset's limit (2, 4, 6 or 8), and a guest's draw picks among those (KidSetLoad); the pools sets take the same places, as the game's own do |
| TPW-EXE:0x0041EB90 bonus name | source/OpenTPW/World/Objects/ObjectCatalog.cs:538 | [BIN:TPW-EXE:0x0041EB90 bonus name] first = find(''), last = rfind(''); unless first == last or another '_' lies between them the name becomes Left(last), and a Left(1) equal to "p" (0x0074C778, case-sensitive 0x005F7980) is dropped |
| TPW-EXE:0x00424D30 extension strip | source/OpenTPW/World/Objects/ObjectCatalog.cs:537 | [BIN:TPW-EXE:0x00424D30 extension strip] a name ending in ".wad" (0x007479A0 through 0x0078BB08, compared with _stricmp 0x0067DF40) loses it |
| TPW-EXE:0x00424EF0 hoarding model | source/OpenTPW/World/Objects/ObjectHoardingRenderer.cs:12 | [BIN:TPW-EXE:0x00424EF0 hoarding model] the model builder marks every loaded texture entry with flag 1 and adds 2 or 0x30 only for descriptor flags 1 or 2, which the hoarding descriptor's entries (flag word 0) do not have |
| TPW-EXE:0x00429BA0 advisor setup | source/OpenTPW/World/Advisor.cs:108 | [BIN:TPW-EXE:0x00429BA0 advisor setup] model matrix = identity with translation (0.6, -0.6, 0.2); the root node is |
| TPW-EXE:0x00429BA0 advisor setup | source/OpenTPW/World/Advisor.cs:123 | [BIN:TPW-EXE:0x00429BA0 advisor setup] the advisor's parallel light, (26.67, -26.67, 800) in the same screen space: |
| TPW-EXE:0x00429BA0 advisor setup | source/OpenTPW/World/Advisor.cs:734 | [BIN:TPW-EXE:0x00429BA0 advisor setup] the advisor's directional light has colour 1.0 (advisor.shader lights each vertex like 0x574660 -> 0x5741B0 with the default ambient 0.15 grey, 0x573FD0) |
| TPW-EXE:0x00429DF0 advisor model draw | source/OpenTPW/World/AdvisorRig.cs:216 | [BIN:TPW-EXE:0x00429DF0 advisor model draw] the advisor's model slots (table 0x790398, stride 0xB0, the table "Kill advisor" 0x429D60 stops) are drawn each frame by the shared instance draw 0x473C70(instance, 1, 0), which runs the channel sampler 0x4735D0 -> 0x471860 for each animation channel of the instance (count word +0xE, stride 0x38, 0x473D1A..0x473D36): the vertex pass (set mode, the advisor models' header flag 4 is clear) and the texture-coordinate pass 0x4745C0, as for objects (ObjectAnimator) |
| TPW-EXE:0x00429EE0 show node | source/OpenTPW/World/AdvisorCostumes.cs:210 | [BIN:TPW-EXE:0x00429EE0 show node] clears node bit 0x10 of the node 0x44B220 finds for the attribute (type mask 0x400); 0x429F60 sets it |
| TPW-EXE:0x0042AB20 camera mode switch | source/OpenTPW/World/Original/OriginalTerrain.cs:419 | [BIN:TPW-EXE:0x0042AB20 camera mode switch] the modes with the bits 0x2 (the terrain camcorder, exit 0x42AE70) and 0x4 (a ride, record flag 0x400000, 0x4E15B0) of [0x790AB0] turn the procedural textures off (0x457A40, remembered in bit 0x200) and leaving them turns them on again (0x457A00), which does so only when [0x78D8D8] is 1 and otherwise clears the bits 0x6000 |
| TPW-EXE:0x0042B8C7 winning look | source/OpenTPW/World/RideCameraMode.cs:74 | [BIN:TPW-EXE:0x0042B8C7 winning look] the look reads the pointer against the park view's centre whenever the camera flags have 0x3C, not the window under the pointer, so the winning window (0x7472, full screen) leaves it working |
| TPW-EXE:0x0042C093 mask-2 callers | source/OpenTPW/World/Guests/WalkSearch.cs:67 | [BIN:TPW-EXE:0x0042C093 mask-2 callers] mask 2 reaches the edge test from the camera's walks 0x42C093 and 0x42C290 only (the park camera 0x42B1C0 behind test cl,0x16 at 0x42BDC6: the camera word's bits 2 and 4, the walk and the ride camera): no simulated walker uses it, and its rule for a type-9 target (the owner cell's first class-3 thing, 0x4D88BC..0x4D8B28) is the one below |
| TPW-EXE:0x00430CA0 pose clamp | source/OpenTPW/World/Coasters/CoasterTrack.cs:1060 | [BIN:TPW-EXE:0x00430CA0 pose clamp] the knot pass clamps the node's loft parameter (+0xE8) to [0, 1] and writes it back, so its later passes stand the node at the clamped height; every parameter built here is clamped to [0, 1] when the node is made (ClampHeight, StationHeight), which is what the write-back leaves |
| TPW-EXE:0x00430f89 stacked node height | source/OpenTPW/World/Coasters/CoasterTrack.cs:1072 | [BIN:TPW-EXE:0x00430f89 stacked node height] lift + the pylon's stack offset (+0xc4) first, then the node below's height plus that (0x430f89..0x430f9e): y = below.y + (lift + offset), an unstacked node lift + the ground height |
| TPW-EXE:0x00430fe7 tangent loop | source/OpenTPW/World/Coasters/CoasterTrack.cs:1244 | [BIN:TPW-EXE:0x00430fe7 tangent loop] every node of the list in order: the tangent routine (0x431660) with the node's neighbours after the flag drops (0x80000 previous, 0x40000 next, 0x100000 the head's next) and the raw links' pylon definitions, writing the tangents, the turn and the half-turn flag |
| TPW-EXE:0x0043110c node turn fraction | source/OpenTPW/World/Coasters/CoasterX87.cs:66 | [BIN:TPW-EXE:0x0043110c node turn fraction] st0 = yaw · f32(1/2π) (0x6fdea8), modf (0x67b280), the fraction plus 1.0 (fsub −1.0) when it is below 0, stored as a single in +0xEC (0x431112..0x431151) |
| TPW-EXE:0x00431660 node tangent | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:48 | [BIN:TPW-EXE:0x00431660 node tangent] the routine's outputs are the back tangent (+0x28), the forward tangent (+0x34), the turn (+0x94) and, in the curve branch of a node without a loop pylon, the half-turn flag; with neither neighbour it writes none of them |
| TPW-EXE:0x00431660 node tangent | source/OpenTPW/World/Coasters/CoasterTrack.cs:1096 | [BIN:TPW-EXE:0x00431660 node tangent] the PC routine's branches and single steps, see CoasterNodeTangent; its end-node and loop-pylon rules are CoasterNodeTangent's, the replay against the x86 oracle is CoasterX87GoldenTests |
| TPW-EXE:0x00431660 node tangent | source/OpenTPW/World/Coasters/CoasterTrack.cs:1229 | [BIN:TPW-EXE:0x00431660 node tangent] the PC routine's branches and single steps, see CoasterNodeTangent; its end-node and loop-pylon rules are CoasterNodeTangent's, the replay against the x86 oracle is CoasterX87GoldenTests |
| TPW-EXE:0x00431753 last node | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:57 | [BIN:TPW-EXE:0x00431753 last node] no next neighbour: with a loop pylon and no node flag 0x80 the dot product (prev − prevprev)·(prev − P), summed in the order y, z, x (0x431776..0x4317b4), below the pylon's threshold gives the forward tangent a/SD (0x4317c1), else the back tangent is a/SD (0x4317e7); both turns are 0 and the loop pylon branches do not zero a height; any other node takes a/SD as its back tangent (0x431838) and zeroes both heights next to a loop pylon (0x43188f..0x4318d0) |
| TPW-EXE:0x004318eb first node | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:77 | [BIN:TPW-EXE:0x004318eb first node] no previous neighbour: the forward tangent is b/SD and the back tangent its negation, the turn 0 |
| TPW-EXE:0x00431a9d turn angle | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:90 | [BIN:TPW-EXE:0x00431a9d turn angle] the two unit vectors are divided by the length of their x/z part (0x4387a0), the turn is acos of the clamped dot product of those, negative when z·x' − x·z' of the pair is below 0 (0x431aca..0x431b54) |
| TPW-EXE:0x00431a9d turn angle | source/OpenTPW/World/Coasters/CoasterTrack.cs:1085 | [BIN:TPW-EXE:0x00431a9d turn angle] ±acos of the clamped dot product of the two unit vectors divided by the length of their x/z part, negative when the cross term z·x' − x·z' is below 0, in the single steps of CoasterNodeTangent |
| TPW-EXE:0x00431bac straight loop pylon | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:111 | [BIN:TPW-EXE:0x00431bac straight loop pylon] the half difference of the unit vectors over SD times the neighbour's length: (ua − ub)/2/SD·lb ahead, (ub − ua)/2/SD·la behind, swapped by node flag 0x80 |
| TPW-EXE:0x00431d28 straight | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:116 | [BIN:TPW-EXE:0x00431d28 straight] a/SD behind and b/SD ahead, the heights zeroed next to a loop pylon (0x431d73..0x431dd3) |
| TPW-EXE:0x00431e19 loop pylon curve | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:127 | [BIN:TPW-EXE:0x00431e19 loop pylon curve] the bisector ua + ub times (length · fCurviness): behind with the previous neighbour's length, negated ahead with the next one's (0x431e4c..0x431ea6) |
| TPW-EXE:0x00431eb1 curve | source/OpenTPW/World/Coasters/CoasterNodeTangent.cs:133 | [BIN:TPW-EXE:0x00431eb1 curve] n = a × b, the half turn verdict from n.y (0x431f06..0x431f34), then the cross product of the unit bisector and the unit normal times (length · fCurviness) |
| TPW-EXE:0x004324a0 loop knot side | source/OpenTPW/World/Coasters/CoasterX87.cs:78 | [BIN:TPW-EXE:0x004324a0 loop knot side] the link is the raw previous node (+0x68), or the next one (+0x64) with node flag 0x80; (dx, dz) is its position minus the node's (+0x4c, +0x54), (0, 1) without a link; u = (dx, dz)/sqrt(dx² + dz²) with each component a single, (0, 1) when the quotient is NaN (0x4324be..0x432516); i1 = round(f32(f32(turn · 2π) · scale)) and i2 = round(f32(f32(f32(turn · 2π) − (−π/2)) · scale)) index the PC table (0x432519..0x43255c), the side is ((−T[i1]) · u.x) + ((−T[i2]) · u.z) (0x43256e..0x432582) |
| TPW-EXE:0x004325b4 loop knot arithmetic | source/OpenTPW/World/Coasters/CoasterCurve.cs:210 | [BIN:TPW-EXE:0x004325b4 loop knot arithmetic] every fmul, fsub and fadd of the routine rounds to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]): x², 1 − x², its product with C and x² times −2.1 and their difference; 2π·u, the difference with −π/2 and the scaled index; T + 1, w, 1 − w and the final products and difference; fmod and the doubling of its result are exact |
| TPW-EXE:0x00432671 loop knot sides | source/OpenTPW/World/Coasters/CoasterCurve.cs:264 | [BIN:TPW-EXE:0x00432671 loop knot sides] with node flag 0x80 clear a loop pylon's back side always uses K and its forward side K when the next node has flag 0x40, else 1.7 (0x4326d5..0x432753); with node flag 0x80 set the back side uses K only when the previous node has flag 0x40, else 1.7, and the forward side K (0x432673..0x4326d0); a plain knot uses fCurviness on both sides (0x432755..0x4327c4) |
| TPW-EXE:0x004327c4 knot controls | source/OpenTPW/World/Coasters/CoasterCurve.cs:196 | [BIN:TPW-EXE:0x004327c4 knot controls] the vector is scaled by s = (F · chord) / sqrt((u.x² + u.y²) + u.z²) (0x432755..0x432796, 0x4327a2..0x4327ce; F is fCurviness, the loop factor K or 1.7, whose product with the chord is commutative), each component of the scaled vector is multiplied by f32(−1/3) (0x6fdebc) and subtracted from the knot's position (0x4327df..0x432836); the back vector is −u, the forward one u, so back = P − ((−u · s) · −1/3) and forward = P − ((u · s) · −1/3), the oracle's rows replay both (ORACLE.md X40) |
| TPW-EXE:0x00432840 knot chord | source/OpenTPW/World/Coasters/CoasterCurve.cs:186 | [BIN:TPW-EXE:0x00432840 knot chord] the chord to a neighbouring knot is fsqrt of ((dx · dx + dy · dy) + dz · dz) with dx and dz the position differences and dy the difference of the two heights each multiplied by f32 0.7 (0x6fded8, 0x4328d8..0x4328f5); the squares go through a store to double and to single (exact at the thread's 24 bits, [BIN:TPW-EXE:0x00563914 control word]), so every step is one single operation in this order; the result is stored as a single (0x432954) and is 1.0 without a neighbour (0x43295f); the oracle's rows replay it (ORACLE.md X40) |
| TPW-EXE:0x00432840 knot chord | source/OpenTPW/World/Coasters/CoasterX87.cs:12 | [BIN:TPW-EXE:0x00432840 knot chord] (dx² + dy²) + dz² then fsqrt, e.g. 0x4328e6..0x43292f, 0x440f3a..0x440f5a (the sampler's step) and 0x44153f..0x44154f (the projection) |
| TPW-EXE:0x004329f5 knot chords | source/OpenTPW/World/Coasters/CoasterCurve.cs:284 | [BIN:TPW-EXE:0x004329f5 knot chords] the back chord of the first knot and the forward chord of the last one are 1.0: the chord routine takes the neighbour across a node boundary from the raw links (+0x68 / +0x64), and the station end node of a closed circuit has no next link (the rebuild walks the +0x64 links from the head to a null, 0x43eb70), so the end knot's forward control is its direction over fCurviness times 1.0 and the closing pair's curve starts from it (the sampler takes S1's first knot as its end, 0x440ede) |
| TPW-EXE:0x004346a0 cost height | source/OpenTPW/World/Coasters/CoasterTrack.cs:972 | [BIN:TPW-EXE:0x004346a0 cost height] the twin of 0x100369BC without the fused multiply-add; its callers are the cost routine 0x4478b3 and 0x443fb5 |
| TPW-EXE:0x004346a0 pylon height | source/OpenTPW/World/Coasters/CoasterTrack.cs:522 | [BIN:TPW-EXE:0x004346a0 pylon height] st0 = mesh height high (+0xc0), minus low (+0xbc), times t, plus low, each a single at the thread's 24-bit precision; the same four instructions stand in the knot pass (0x430f6f..0x430f81); the Mac's fused multiply-add is not what the PC does |
| TPW-EXE:0x00436230 cursor flags | source/OpenTPW/World/Coasters/CoasterTrack.cs:1485 | [BIN:TPW-EXE:0x00436230 cursor flags] the cursor node takes 0x40 in loop mode and 0x80 as well while the counter 0x79c664 is 2 (0x4362f6, 0x43632a); the counter is written 2 by the loop button 0x442cd0 (0x442cf4) and its key 0x444650 (0x444677), decremented by every placed pylon (0x4352bf) and zeroed when the mode ends (0x4446dd), so 0x80 marks the first pylon of the pair; endpoint resumption 0x442d10 writes 1 (0x442d51), implemented by CoasterBuilder.StartOrResumeLoopPair; the replayed twin 0x447a10 is the layout replay's, which OpenTPW does not run |
| TPW-EXE:0x004387a0 x/z normalise | source/OpenTPW/World/Coasters/CoasterX87.cs:31 | [BIN:TPW-EXE:0x004387a0 x/z normalise] the horizontal length is sqrt(x² + z²) (the height does not enter it) and all three components, the height too, are divided by it |
| TPW-EXE:0x00439ac4 truncating rounding | source/OpenTPW/World/Coasters/Trunc24.cs:8 | [BIN:TPW-EXE:0x00439ac4 truncating rounding] fnstcw, or ah 0xc, fldcw: round toward zero, the precision bits unchanged (24 at the thread's word 0x7F, [BIN:TPW-EXE:0x00563914 control word]); the old word is restored at 0x439c30 |
| TPW-EXE:0x0043B70D seat head | source/OpenTPW.Tests/CoasterTests.cs:1037 | [BIN:TPW-EXE:0x0043B70D seat head] each guest the station step seats goes through 0x44B410, which reseeds the world generator with it in a theme without costume heads |
| TPW-EXE:0x0043B70D seat head | source/OpenTPW/World/Coasters/CoasterRide.cs:1015 | [BIN:TPW-EXE:0x0043B70D seat head] the seated guest's head is hung on the car's node (0x44B410, no node test) |
| TPW-EXE:0x0043a0c0 truncated boxes | source/OpenTPW/World/Coasters/CoasterCollision.cs:206 | [BIN:TPW-EXE:0x0043a0c0 truncated boxes] the shared box grown by the radius (0x43a0c0..0x43a105) and every segment's box (0x43a1f0..0x43a275) are single steps rounded toward zero (the pass's rounding control, Trunc24): min − radius and max + radius |
| TPW-EXE:0x0043a2d7 pose angles | source/OpenTPW/World/Coasters/CoasterCollision.cs:239 | [BIN:TPW-EXE:0x0043a2d7 pose angles] the three angles are read once, from the first sample (0x43a2d7..0x43a2e6); the loop over the two samples jumps back to 0x43a2f6, past them, so the second sample's points are posed with the first sample's yaw, pitch and roll and only its position differs |
| TPW-EXE:0x0043bfb0 speed estimate | source/OpenTPW/World/Coasters/CoasterX87.cs:57 | [BIN:TPW-EXE:0x0043bfb0 speed estimate] the height difference times definition +0x24, times +0x28 when the next node is higher and +0x2c otherwise, plus the speed, each step a single (the thread's 24-bit precision); the floor replaces a value that is not above it (0x43bfd5..0x43bfff); the Mac fused the last two steps |
| TPW-EXE:0x0043c160 node bank | source/OpenTPW/World/Coasters/CoasterTrack.cs:1184 | [BIN:TPW-EXE:0x0043c160 node bank] ((±π − turn) · speed) / definition +0x10 / (|next − P| + |prev − P|), the π from the sign of the turn (0x6fe028, 0x6fe02c), the lengths by 0x470940 (the single steps of CoasterX87.Length), each operation one single; 0 when the turn is 0 or node flag 0x100 is set (0x43c166..0x43c179) |
| TPW-EXE:0x0043c7ff rotation steps | source/OpenTPW/World/Coasters/CoasterRating.cs:313 | [BIN:TPW-EXE:0x0043c7ff rotation steps] each rotation is the x87 sequence on the stack: sin·z + cos·x stored as x (0x43c816) and cos·z − x·sin stored as z (0x43c824) from the old x, then cos·y − sin·z and cos·z + y·sin, then cos·x − sin·y and cos·y + x·sin, every multiply, add and subtract rounded to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]); θ − prev takes the unrounded fpatan result (0x43c918 stores a copy only), the sums with 3π (a double constant, 0x6fe048) are single-rounded and fmod is exact (0x67b24a) |
| TPW-EXE:0x0043e1b0 curve point | source/OpenTPW/World/Coasters/CoasterCurve.cs:228 | [BIN:TPW-EXE:0x0043e1b0 curve point] Q = (((c3 · t + c2) · t + c1) · t) + P0 with c2 = P1 · −6 − (P0 + P2) · −3 and, on x, c3 = P3 − ((P2 · 3 + P1 · −3) + P0), c1 = P0 · −3 − P1 · −3 (0x43e1ba..0x43e235), on y and z c3 = ((P1 · 3 − P0) − P2 · 3) + P3, c1 = P1 · 3 − P0 · 3 (0x43e237..0x43e30a); P1 is the first knot's forward control (+0x4c), P2 the second's back control (+0x34); the constants are the singles 3, −3, −6 (0x6fe110, 0x6fe114, 0x6fe118) and every operation rounds to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]); the oracle's rows replay the routine (ORACLE.md X40) |
| TPW-EXE:0x0043e320 curve derivative | source/OpenTPW/World/Coasters/CoasterCurve.cs:241 | [BIN:TPW-EXE:0x0043e320 curve derivative] Q' = c1 − ((c2 · −2 − (c3 · t) · 3) · t) with the c1, c2 and c3 of the point routine (0x43e32a..0x43e475): x and y use c3 = P3 − ((P2 · 3 + P1 · −3) + P0) and c1 = P0 · −3 − P1 · −3, z uses c3 = ((P1 · 3 − P0) − P2 · 3) + P3 and c1 = P1 · 3 − P0 · 3; the oracle's rows replay the routine (ORACLE.md X40) |
| TPW-EXE:0x00440f14 sample step | source/OpenTPW/World/Coasters/CoasterCurve.cs:525 | [BIN:TPW-EXE:0x00440f14 sample step] the step's length is fsqrt of ((dx² + dy²) + dz²) with the differences of the previous point and the new curve point stored as singles (0x440f14..0x440f5a), added to the running sum (0x440f5f..0x440f62) |
| TPW-EXE:0x00440fc8 sample point | source/OpenTPW/World/Coasters/CoasterCurve.cs:532 | [BIN:TPW-EXE:0x00440fc8 sample point] the sample point and its parameter are the previous values times (1 − a) plus a times the new ones, the two products rounded to singles before the sum (0x440fd0..0x44100b), not a fused step |
| TPW-EXE:0x004414ca closing projection | source/OpenTPW/World/Coasters/CoasterCurve.cs:555 | [BIN:TPW-EXE:0x004414ca closing projection] when the pair the walk enters is the closing pair (its end node is null) the routine jumps over the projection (0x4414ca -> 0x4417eb -> 0x4415e4): the end knot's coordinate takes the rest unscaled |
| TPW-EXE:0x00441509 knot projection | source/OpenTPW/World/Coasters/CoasterCurve.cs:563 | [BIN:TPW-EXE:0x00441509 knot projection] the cosine is ((u.x · v.x + u.y · v.y) + u.z · v.z) of the unit vectors (each component divided by its length, 0x441554..0x441599) and scales the rest's components (0x4415b1..0x4415df) |
| TPW-EXE:0x00441970 callers | source/OpenTPW/World/Guests/RideVisitorBridge.cs:209 | [BIN:TPW-EXE:0x00441970 callers] the predicate's callers are 0x004DD920 (the choice's counts-test), 0x004DE1F0 (the queue edit's reopening), 0x004DF290 (the reopen guard), 0x004DF390 (the open routine), 0x004DF8F0 (the repair), 0x004DFE30 and 0x004E0050 (the maintenance request and its cancel) and 0x004FFFF0 (state 11); the join 0x004FFBC0 and the admission 0x004E1220 call none of them |
| TPW-EXE:0x00441970 coaster economic test | source/OpenTPW/Economy/ParkEconomy.cs:2251 | [BIN:TPW-EXE:0x00441970 coaster economic test] the coaster test is CoasterRide.CountsForParkPoints (the native flags/intersection/edit predicate, without the host admission sample guard); a kart or water ride's track word is BumpController.IsTrackValid, which starts at 1 as the constructor's does (0x004DB0DF) |
| TPW-EXE:0x00441970 coaster guest predicate in the queue bridge | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:115 | [BIN:TPW-EXE:0x00441970 coaster guest predicate in the queue bridge] the choice's counts-test, the reopen guard and state 11 read the predicate (the coaster being edited included, CoasterRide.BeingEdited); the join and the admission do not (RideVisitorBridge.AcceptsJoins, HostStep) |
| TPW-EXE:0x00441970 coaster test | source/OpenTPW/Economy/ParkEconomyContracts.cs:373 | [BIN:TPW-EXE:0x00441970 coaster test] the controller found by the thing's +0x20 (0x00436860, none: 0) must have +0x140 (its self-intersection count) 0, +0x3C bit 0 set and bit 1 clear, and must not be the coaster being edited (0x00790FEC) |
| TPW-EXE:0x00447830 pylon cost | source/OpenTPW/World/Coasters/CoasterTrack.cs:951 | [BIN:TPW-EXE:0x00447830 pylon cost] st0 = height × f32 0.1 (0x6fe1f0, 0x4478bf), length = fsqrt(dz² + dx²) × f32 0.1 (0x44791f, 0x447921), then ((CostPer2DLength × length) + unit) + (CostPerHeight × height) (0x447958..0x447968); the unit term is the own pylon's CostPerUnit (+0x5c) when the caller charges it (its second argument, 0x447919..0x447929) and 0 otherwise, the two rates those of the selected pylon (+0x60, +0x64; 0x447932..0x447956) |
| TPW-EXE:0x004478b3 cost inputs | source/OpenTPW/World/Coasters/CoasterTrack.cs:1017 | [BIN:TPW-EXE:0x004478b3 cost inputs] the positions are the two nodes' knot positions (+0x4c, +0x54; a station end node's is its dummy's, a pylon node's its cell corner + 5), the height the node's own pylon at the node's loft parameter (0x4346a0) |
| TPW-EXE:0x004478f3 cost length | source/OpenTPW/World/Coasters/CoasterTrack.cs:968 | [BIN:TPW-EXE:0x004478f3 cost length] st0 = z difference, st1 = x difference (each a single subtraction of the two knot positions, +0x54 and +0x4c); the x difference goes through a double store (exact for a single), fmul squares each, faddp, fsqrt (0x4478e3..0x44791f) |
| TPW-EXE:0x0044A870 surface block | source/OpenTPW/World/Tracks/TrackSurface.cs:77 | [BIN:TPW-EXE:0x0044A870 surface block] the loader's last step sets bit 8 of the instance's +0x28 block exactly when a dummy record has type bit 2, which is the test 0x450EA0 makes for mode 2: the surface-record rule here is the original's |
| TPW-EXE:0x0044B140 arm mask | source/OpenTPW/World/Tracks/TrackPieceKit.cs:136 | [BIN:TPW-EXE:0x0044B140 arm mask] (load flags without 0x1000) every dummy record i (20 bytes at model +0x7C, +0x48 of them) whose word +8 has a bit of the mask gets node flags 0x80000010 on node record +0x46 + i (node bit 0x10: drawn hidden, as the clips' node lists set it, ObjectAnimator.IsNodeHidden) |
| TPW-EXE:0x0044B220 attribute lookup | source/OpenTPW/World/AdvisorCostumes.cs:147 | [BIN:TPW-EXE:0x0044B220 attribute lookup] the first record (in order) whose value equals the argument and whose type has a bit of the mask; the record index plus the u16 at model header +0x46 is the node, a mesh node below the header's mesh count, a dummy node after |
| TPW-EXE:0x0044B220 dummy by class | source/OpenTPW/World/Tracks/TrackRenderer.cs:883 | [BIN:TPW-EXE:0x0044B220 dummy by class] the first dummy record (20 bytes at +0x7C, +0x48 of them) whose number (+4) matches and whose class word has a requested bit; the vehicle creation 0x54A040 asks class 0x100 number 1 for a kart (0x54A6D2) and number 2 for a bumper car (0x54A1C8) and keeps the index in +0x24 |
| TPW-EXE:0x0044B3C0 dummy by number | source/OpenTPW/World/Tracks/TrackAddOns.cs:43 | [BIN:TPW-EXE:0x0044B3C0 dummy by number] the lookup takes class 1 when the asked class has none of 0x3DA1F82, and returns the first record of the 5-word table +0x7C (count +0x48) whose word 0 has the class and word 2 the number; the walk adds the header word +0x46 to find the node (0x0052AFA1) |
| TPW-EXE:0x0044B410 head draw | source/OpenTPW/World/Tracks/TrackRenderer.cs:613 | [BIN:TPW-EXE:0x0044B410 head draw] the seat's dummy node is found by class 0x80 and its number (0x0044B220); each rider is drawn as the guest's head sprite at that node (0x00475A10), the ADDHEAD mechanism |
| TPW-EXE:0x0044B471 head pick | source/OpenTPW/VM/RideScriptWorld.cs:91 | [BIN:TPW-EXE:0x0044B471 head pick] 0x0044B410 calls 0x004FCAC0 for a non-zero visitor; with no costume heads (the count of category 3, 0x00541F60) it reseeds the world generator 0x0080239C with the thing's id word (0x004FCAF7) and draws once (0x00541F85 → 0x00516330); callers: ADDHEAD 0x00554D13, WALKON action 4 0x00557EB9, the coaster seating 0x0043B70D, the vehicle creation and load 0x00549CAF and the tour boarding 0x0055D91E (the show 0x0054900C passes no rider) |
| TPW-EXE:0x0044B510 head placement | source/OpenTPW/World/Guests/HeadPresentation.cs:22 | [BIN:TPW-EXE:0x0044B510 head placement] the frame, roll and scale registers come from OriginalHeadMath, which reproduces the routine's x87 arithmetic bit for bit (HeadPlacementGolden) |
| TPW-EXE:0x0044B510 head placement | source/OpenTPW/World/Guests/OriginalHeadMath.cs:9 | [BIN:TPW-EXE:0x0044B510 head placement] checked bit for bit against the routine run in the Unicorn sandbox (tools/ppc-analysis/oracle_x86/head_golden.py, HeadPlacementGolden) |
| TPW-EXE:0x0044B5E6 head frame | source/OpenTPW/World/Guests/OriginalHeadMath.cs:176 | [BIN:TPW-EXE:0x0044B5E6 head frame] the node matrix with its first and third rows negated for the mirrored flag 0x400 is inverted and multiplied from the camera (0x44B637, 0x44B65C); the translation row is normalised |
| TPW-EXE:0x0044B9FC head sprite registers | source/OpenTPW/World/Guests/HeadPresentation.cs:21 | [BIN:TPW-EXE:0x0044B9FC head sprite registers] the PC routine sets the sprite's frame register 0xD to 8 x row + column, register 9 to the roll in turns (0x46F200 = atan2(-m10, m11), times 0x006FE2CC = 1 / 2 pi) and register 8, the scale, to 0x0074CED0 = 0.685; the script's flags 0x3000080 rotate the quad (0x00589388) and draw it as a camera-facing sprite at the node's position |
| TPW-EXE:0x0044D926 option apply | source/OpenTPW/World/Original/ProceduralTerrainSettings.cs:20 | [BIN:TPW-EXE:0x0044D926 option apply] PROCEDURALTEXTURING 0 turns the texturing off; 1, 2 and 3 turn it on with N = 16, 32 and 64 (the bits 4, 2 and 1 of [0x79D86C], which 0x457AC5 reads in that order); any other value leaves the previous state (off at start) |
| TPW-EXE:0x0044D998 cache option | source/OpenTPW/World/Original/ProceduralTerrainSettings.cs:21 | [BIN:TPW-EXE:0x0044D998 cache option] PROCEDURALTEXTURECACHE 0, 1 and 2 give 1500, 2000 and 2500 textures (0x5DC, 0x7D0, 0x9C4) |
| TPW-EXE:0x0044D9CD render flag 0x40 | source/OpenTPW/World/Objects/OriginalObject.cs:110 | [BIN:TPW-EXE:0x0044D9CD render flag 0x40] the option record 4 (ANIMATINGTEXTURES, value 0 or 1; the records are 0x3C bytes from TEXTUREQUALITY at 0x744300, their values the words from 0x785874) clears (0) or sets (1) bit 0x40 of the render flags 0x8BD550 |
| TPW-EXE:0x0044DB60 option readers | source/OpenTPW/World/Coasters/CoasterRide.cs:358 | [BIN:TPW-EXE:0x0044DB60 option readers] the value slots are read through their absolute addresses (the instance pointer is only passed to the loader): 0x7858B4 by the option apply 0x44DB60, which turns it into the fog start and end and the far plane 0x8BD4C0 for every view (UI-107, not a ride-view setting), while no instruction in any section of tp.exe names 0x7858C0 (COASTERSMOOTHNESS) or 0x78596C (Info.FirstPersonSprites, entry 29 of the Info table 0x744B30 at the instance 0x7858F0): the three settings are stored and never read by the ride view |
| TPW-EXE:0x0044DC28 lighting option | source/OpenTPW/World/Original/UnownedLandDim.cs:22 | [BIN:TPW-EXE:0x0044DC28 lighting option] [0x7858B8] equal to 0 ORs 0x1800 into [0x8BCBC8] (0x44DC36), equal to 1 ANDs 0xE7 into its second byte (0x44DC49: clears 0x1800); the draw tests bit 0x800 at 0x56FB09 and 0x56FB9C |
| TPW-EXE:0x0044DE20 detail options | source/OpenTPW/World/Particles/ParticleSystem.cs:57 | [BIN:TPW-EXE:0x0044DE20 detail options] the player's saved detail level [0x78D8E0] (0, 1, 2) selects low.sam, med.sam or high.sam (high only with [0x78D8D8] set, else med) for the load 0x44DC60 -> 0x401650 into the detail object, whose PARTICLEDENSITY the pool init reads; OpenTPW's graphics settings keep the same choice (and its Enhanced/Custom extensions) |
| TPW-EXE:0x0044DE2B six-click bit | source/OpenTPW/World/ParkLand.cs:69 | [BIN:TPW-EXE:0x0044DE2B six-click bit] the six-click fence (bit 0x400 of the level word 0x79D86C) is traced never set: the writers 0x44D993, 0x44DA92, 0x44DDF3, 0x44DE34, 0x44DEFD, 0x44E306 and 0x44E322 set other bits or clear, only a whole-dword copy of the settings blob read from dialog.tcf (0x424A60 to 0x78D8D8, then 0x449E78 copies +0x7C) could, and 0x44DE2B clears it when no settings load, so a stock install never lays it; the engine lays it when asked and OpenTPW reads no dialog.tcf |
| TPW-EXE:0x0044E410 frame update | source/OpenTPW/World/Objects/ObjectHoardingState.cs:86 | [BIN:TPW-EXE:0x0044E410 frame update] the park frame (0x0054E2B3, before the scene is drawn) calls 0x004548F0 for every standing thing each frame, whether or not it is on screen |
| TPW-EXE:0x00450420 terrain test | source/OpenTPW/World/ParkCellMap.cs:477 | [BIN:TPW-EXE:0x00450420 terrain test] without the terrain model (0x7A0854, +0x6C) it returns 1; in bounds (heightfield +0x18 × +0x1C) it returns the inverted bit 0 of the cell word (+0x2C, 4 bytes per cell); beyond them 0 |
| TPW-EXE:0x004504C0 landscape load | source/OpenTPW/World/Original/LandscapeSampler.cs:16 | [BIN:TPW-EXE:0x004504C0 landscape load] edges (10, b − a, 0) and (0, c − a, 10) from the first corner, (−10, c − d, 0) and (0, b − d, −10) from the last, each normalised; the dot product of the two cross products is compared with the single-precision constant 0.9999 (0x6FE39C, 0.99989998...) |
| TPW-EXE:0x00450D10 land refresh | source/OpenTPW/World/Level.cs:646 | [BIN:TPW-EXE:0x00450D10 land refresh] the land outside the park is drawn darker |
| TPW-EXE:0x00450D3D land refresh cell | source/OpenTPW/World/Original/UnownedLandDim.cs:36 | [BIN:TPW-EXE:0x00450D3D land refresh cell] the column and the row are clamped to 0 below and to [0x7A0314] - 1 and [0x7A0374] - 1 above before the map record is addressed |
| TPW-EXE:0x00450D96 land refresh | source/OpenTPW/World/Original/UnownedLandDim.cs:15 | [BIN:TPW-EXE:0x00450D96 land refresh] the cell's flag word (+0xE of the map record, 0x535DB0) is tested for 0x40: clear leaves the cell's bit 0x400 cleared (0x450DAC); set tests 0x80, which clears the bit too (0x450DAC), and only unowned cells outside the entrance area get 'or byte [word + 1], 4' (0x450DA6) |
| TPW-EXE:0x00450EA0 sampler mode | source/OpenTPW.Files/Formats/Model/ModelFile.cs:35 | [BIN:TPW-EXE:0x00450EA0 sampler mode] the loaded header's float +0xA0 (model +0xA0) selects the terrain sampler when nonzero; 0x004511A0 adds it to every sample and resets a NaN to 0 |
| TPW-EXE:0x00450EA0 sampler mode | source/OpenTPW/World/Tracks/TrackSurface.cs:70 | [BIN:TPW-EXE:0x00450EA0 sampler mode] mode 2 when the instance's +0x28 block has bit 8 (0x00450F20 gathers the meshes of the dummy records with bit 2), else mode 1 when the model flags have 0x80 or the header float +0xA0 is nonzero, else mode 4 (the instance's +0x2C mesh) |
| TPW-EXE:0x00450F20 instance faces | source/OpenTPW/World/Tracks/TrackSurface.cs:126 | [BIN:TPW-EXE:0x00450F20 instance faces] each vertex is the mesh's local vertex plus the node's position (+0x40/+0x44/+0x48) and, walking up while the ancestor itself has a parent (0x451001..0x45103F), that ancestor's position; the node's rotation and scale do not enter (no shipped surface mesh has any: the full rest transform gave the same vertices to 6e-6) |
| TPW-EXE:0x00450F20 instance faces | source/OpenTPW/World/Tracks/TrackSurface.cs:147 | [BIN:TPW-EXE:0x00450F20 instance faces] modes 2 and 4 gather the vertices of the instance's own mesh copies (node +0x60 of the instance, plus the node translations), which 0x469A80 has already draped |
| TPW-EXE:0x004511A0 sample | source/OpenTPW/World/Tracks/TrackRenderer.cs:673 | [BIN:TPW-EXE:0x004511A0 sample] mode 1 (every piece without a surface record: the loader's header bit 0x80): the landscape under the probe + header +0xA0, not the tile's instance height |
| TPW-EXE:0x004511A0 sample | source/OpenTPW/World/Tracks/TrackSurface.cs:71 | [BIN:TPW-EXE:0x004511A0 sample] mode 1: the terrain sampler 0x004527F0 (the landscape's corner heights over the cell's two triangles, not the .hmp) + model +0xA0; mode 2: 0x00451290(x, z, 0, 1); mode 4: 0x00451290(x, z, 1, 0); every mode adds +0xA0, and a NaN +0xA0 is reset to 0 |
| TPW-EXE:0x004511A0 walker height | source/OpenTPW/World/Level.AddOns.cs:274 | [BIN:TPW-EXE:0x004511A0 walker height] every mode adds the model's +0xA0 (0x4511FA, 0x451272); the mode follows the model (TrackSurface.FromObject) |
| TPW-EXE:0x004511A0 walker height | source/OpenTPW/World/Level.AddOns.cs:292 | [BIN:TPW-EXE:0x004511A0 walker height] mode 1: the landscape plus +0xA0; mode 2 and 4: the faces above the instance's base height; every mode adds +0xA0 (0x4511FA, 0x451272) |
| TPW-EXE:0x00451290 face sampler | source/OpenTPW/World/Tracks/TrackSurface.cs:72 | [BIN:TPW-EXE:0x00451290 face sampler] mode 4 samples the +0x2C mesh (first covering face; none: the instance height +0x44), mode 2 walks the dummy records with bit 2 (mesh = the header's first dummy mesh +0x46 plus the record index) and takes the highest covering face, returning at once for a record with bit 4; −100 when nothing covers |
| TPW-EXE:0x004512A7 uncovered point | source/OpenTPW/World/Level.AddOns.cs:293 | [BIN:TPW-EXE:0x004512A7 uncovered point] the face sampler 0x451290 starts at -100.0 (0xC2C80000) and returns it when no face covers the point (an absolute height, not above the base), 0x4511A0 adds +0xA0 and 0x558131 uses the sum unchecked |
| TPW-EXE:0x00451390 mesh faces | source/OpenTPW/World/Tracks/TrackSurface.cs:73 | [BIN:TPW-EXE:0x00451390 mesh faces] only faces whose first u16 has bit 0x8000 count; the height is the face plane's at the point (the normal at the low 15 bits, turned by the instance's 0/90/180/270 rotation) |
| TPW-EXE:0x004514CF directed face edges | source/OpenTPW/World/Tracks/TrackSurface.cs:220 | [BIN:TPW-EXE:0x004514CF directed face edges] for the edges B → A of a face taken in the order V2 → V0, V1 → V2, V0 → V1 (0x4514C7..0x45153A) the value is ((dz × px − (dz × Bx + dx × Bz)) + dx × pz) with dz = Az − Bz and dx = Bx − Ax (0x4514CF..0x45151D), compared with 0.0 (0x6FE3DC at 0x45151F): below it the point is outside. The thread runs at the control word 0x7F (24-bit mantissa, COAST-032, X87Precision), so each x87 result is rounded to a single, which is what these float operations do in this order for values in the normal range (the x87 keeps its extended exponent, so a result that would be a subnormal single differs; park coordinates never produce one); the tests emulate the instruction sequence with the x87 type and compare |
| TPW-EXE:0x00451640 height map | source/OpenTPW/World/Tracks/TrackPieceKit.cs:76 | [BIN:TPW-EXE:0x00451640 height map] the .hmp is the original's per-object height map (loaded by 0x451640 from the mesh loader 0x4629D0, rebuilt from the mesh by 0x451880 when it is missing or mis-sized); the vehicles' sampler does not read it (0x4511A0 samples faces or the landscape sampler 0x4527F0), and neither do OpenTPW's vehicles. Exactly four routines read the map an instance holds (+0xCC): the cell height 0x452AE0 (the per-cell maxima +0x10 only), the instance box 0x466B70 and the ride preview 0x4689F0 (the six floats +0x18..+0x2F) and the mesh creation 0x463060 (its width and height +8 and +0xA as loop bounds); no code reads the profile samples (+0xC) or the per-cell flags (+0x14) |
| TPW-EXE:0x00451640 height map loader | source/OpenTPW/World/Objects/ObjectHeightMaps.cs:8 | [BIN:TPW-EXE:0x00451640 height map loader] the file's header words at +0xC, +0x10 and +0x14 (profile, per-cell maxima, per-cell flags) are made absolute pointers; +8 is the width in cells. The lookup 0x00452AE0 reads the byte at maxima − width × row − column, with row and column the truncated tenths of the cell's offset from the object's instance origin, turned by the instance's rotation |
| TPW-EXE:0x00452560 heightfield height | source/OpenTPW.Files/Formats/Model/ModelFile.Types.cs:158 | True when the cell's two triangles meet along (x+1, z)–(x, z+1). [BIN:TPW-EXE:0x00452560 heightfield height] the height |
| TPW-EXE:0x004527F0 landscape sampler | source/OpenTPW/World/Original/LandscapeSampler.cs:56 | [BIN:TPW-EXE:0x004527F0 landscape sampler] x/cell size split into integer and fraction (modf, truncating), the four corners of that cell, the plane or the diagonal's triangle by the cell flags 0x800 and 0x4 |
| TPW-EXE:0x004527F0 landscape sampler | source/OpenTPW/World/Tracks/TrackRenderer.cs:651 | [BIN:TPW-EXE:0x004527F0 landscape sampler] the terrain at the probe is the landscape's triangle height at the point, 0 off the map (0x4511A0 adds the object's +0xA0) |
| TPW-EXE:0x00452A60 add-on surface | source/OpenTPW/World/Level.Objects.cs:1782 | [BIN:TPW-EXE:0x00452A60 add-on surface] a track tile whose tile holds no piece instance (an add-on's tile) leaves the cell to its owner thing |
| TPW-EXE:0x00452A60 cell object | source/OpenTPW/World/Level.AddOns.cs:232 | [BIN:TPW-EXE:0x00452A60 cell object] the cell's own instance (0x53BF30: +4 of the cell, its origin's for an extension cell), else the owner thing of the cell (0x527E80) when it is a thing of type 3, its instance +0x20; no thing, no object (0x450AC0 answers 0 and the probe keeps its height) |
| TPW-EXE:0x00452A60 no piece instance | source/OpenTPW/World/Tracks/TrackRenderer.cs:663 | [BIN:TPW-EXE:0x00452A60 no piece instance] a track cell whose tile has no piece instance gives the cell's owner thing (0x00527E80), and an object (thing type 3) is sampled through its own instance +0x20: the add-on's tile, so the vehicles drive on the add-on's model, and the station tiles, which never get a piece (0x5387BC skips 0x53AFA0 for types 0xD and 0x12), so they stand on the ride's own model |
| TPW-EXE:0x00452AE0 cell ground | source/OpenTPW/World/Level.Tours.cs:22 | [BIN:TPW-EXE:0x00452AE0 cell ground] the second-layer mesh instance (0x0053BF30) answers before the cell's owner object does |
| TPW-EXE:0x00452AE0 cell ground | source/OpenTPW/World/Level.Tours.cs:45 | [BIN:TPW-EXE:0x00452AE0 cell ground] with no out-pointer the lookup asks 0x53BF30 for the record's instance, else the owner thing's instance (+0x20), reads its map (+0xCC) and falls back to the terrain sampler 0x4527F0 at (10 x, 10 y) at 0x452C7F; the fence posts' instances have no mesh in OpenTPW (TOUR-005), so their cells read the terrain |
| TPW-EXE:0x00452AE0 cell ground | source/OpenTPW/World/Tours/TourWorld.cs:37 | [BIN:TPW-EXE:0x00452AE0 cell ground] no owner object: the terrain at (10 × cell) through 0x004527F0 |
| TPW-EXE:0x00452AE0 cell ground | source/OpenTPW/World/Tours/TourWorld.cs:41 | [BIN:TPW-EXE:0x00452AE0 cell ground] the cell's owner object (0x0053BF30) with a height map answers before the terrain does; the tour code truncates the result and multiplies by 300 (0x0055C350) |
| TPW-EXE:0x00452B64 object ground | source/OpenTPW/World/Objects/ObjectHeightMaps.cs:44 | [BIN:TPW-EXE:0x00452B64 object ground] the height is the byte × 0.39215687 (0x006FE408) plus the instance's height (+0x44); the cell's offset from the instance origin is (10 × cell − instance position) and the instance origin is OpenTPW's model-to-engine translation (the corner offsets 0, 10 of the rotated frames) |
| TPW-EXE:0x00452E70 hoarding builder | source/OpenTPW/World/Objects/ObjectHoarding.cs:168 | [BIN:TPW-EXE:0x00452E70 hoarding builder] it returns without a hoarding unless the model instance's ground vertex count (+0xC, written by 0x0046A5A0) is at least 2 (0x00452E89) and its ground node (+0x2C) is set (0x004533DC) |
| TPW-EXE:0x00452F1C hoarding board order | source/OpenTPW/World/Objects/ObjectHoarding.cs:349 | [BIN:TPW-EXE:0x00452F1C hoarding board order] every set side bit (1, 4, 0x10, 0x40 in that order, cells row by row) gets the key fmod(atan2(dy, dx) + 5π/4, 2π) (0x0067B24A) of its middle (column + 0.5, row + 1), (column + 1, row + 0.5), (column + 0.5, row) or (column, row + 0.5) less half the grid's width and height; the keys' pointers are merge-sorted ascending and stably by 0x00470630, and a board's rank is its strip in the mesh |
| TPW-EXE:0x0045334D hoarding texture directory | source/OpenTPW/World/Objects/ObjectHoarding.cs:147 | [BIN:TPW-EXE:0x0045334D hoarding texture directory] the builder prints the format 0x0074D05C, "data\levels\%s\MiscMesh\textures", with the current level's name (0x00786B68 + 8) into the directory 0x0074D010 that the model builder 0x00424EF0 hands to the texture loader 0x0046E4E0 |
| TPW-EXE:0x004533E8 ground node vertices | source/OpenTPW/World/Objects/ObjectHoarding.cs:335 | [BIN:TPW-EXE:0x004533E8 ground node vertices] the builder transforms every vertex of the ground node (count +0x58, positions +0x60) by that node's matrix +0x10..+0x4C alone, not by its parents' |
| TPW-EXE:0x004535A0 hoarding corner pull | source/OpenTPW/World/Objects/ObjectHoarding.cs:350 | [BIN:TPW-EXE:0x004535A0 hoarding corner pull] for a grid larger than 1 × 1 each cell corner (column·10, row·10 + 10), (+10, +10), (+10, row·10), (column·10, row·10) takes half the X/Z distance to the second nearest ground vertex (strict comparisons of the X/Z distance, the first held in extended precision, the second as a float), else no pull; a 1 × 1 grid takes the fixed pulls (0.3, −0.3), (−0.3, −0.3), (0.3, 0.3), (0.3, 0.3) |
| TPW-EXE:0x0045372E hoarding boards | source/OpenTPW/World/Objects/ObjectHoarding.cs:351 | [BIN:TPW-EXE:0x0045372E hoarding boards] side 1: corners 0/2 at (column·10 + 10 + pull1.x if side 4, z1 + pull0.z), 1/3 at (column·10 + pull0.x if side 0x40, z1 + pull0.z), ends (column + 1, row + 1) and (column, row + 1), normal +Z; side 4: X column·10 + 10 + pull1.x, corners 0/2 at Z row·10 + pull2.z if side 0x10, 1/3 at z1 + pull1.z if side 1, ends (column + 1, row) and (column + 1, row + 1), normal +X; side 0x10: Z row·10 + pull3.z, corners 0/2 at X column·10 + pull3.x if side 0x40, 1/3 at column·10 + 10 + pull2.x if side 4, ends (column, row) and (column + 1, row), normal −Z; side 0x40: X column·10 + pull0.x, corners 0/2 at z1 + pull0.z if side 1, 1/3 at row·10 + pull3.z if side 0x10, ends (column, row + 1) and (column, row), normal −X; corners 0 and 1 are at Y 10, 2 and 3 at Y 0, and each board is drawn from both sides |
| TPW-EXE:0x00453DF8 hoarding texture coordinates | source/OpenTPW/World/Objects/ObjectHoardingRenderer.cs:113 | [BIN:TPW-EXE:0x00453DF8 hoarding texture coordinates] the builder gives corner 4s (0, 1), 4s+1 (1, 1), 4s+2 (0, 0) and 4s+3 (1, 0); the rise rewrites only the bottom corners' V |
| TPW-EXE:0x00453E3C hoarding faces | source/OpenTPW/World/Objects/ObjectHoardingRenderer.cs:34 | [BIN:TPW-EXE:0x00453E3C hoarding faces] strip s has the faces (4s, 4s+1, 4s+2) and (4s+1, 4s+3, 4s+2) with its corners' normal, and (4s+2, 4s+1, 4s) and (4s+2, 4s+3, 4s+1) with the opposite face normal (index 4n + s) |
| TPW-EXE:0x00454190 hoarding terrain conform | source/OpenTPW/World/Objects/ObjectHoarding.cs:466 | [BIN:TPW-EXE:0x00454190 hoarding terrain conform] for each strip end (column, row) the corner mapper 0x00454050 takes u = column / width and v = row / height of the hoarding grid and the footprint box +0xC0/+0xC4 (x0 << 16 | y0, x1 << 16 | y1, the last cells inclusive, written by 0x00467030) and truncates (1 − u)·x0 + u·x1 + 0.1 and (1 − v)·y0 + v·y1 + 0.1 at angle 0, (1 − v)·x0 + v·x1 and (1 − u)·y1 + u·y0 at 90, (1 − u)·x1 + u·x0 and (1 − v)·y1 + v·y0 at 180, (1 − v)·x1 + v·x0 and (1 − u)·y0 + u·y1 at 270; the end's bottom is (corner height (heights +0x28, row stride count + 1) − the root node's Y +0x44) · 0.5 and its top that plus 10; the instance constructor 0x00463060 runs it once (flag 4, 0x004635FC) |
| TPW-EXE:0x004543C0 hoarding rise | source/OpenTPW/World/Objects/ObjectHoarding.cs:501 | [BIN:TPW-EXE:0x004543C0 hoarding rise] strip i of n rises by r = clamp(1 − ((i / n)·0.8 − (level − 0.25))·4, 0, 1) times 1.0 for an even i and 0.8 for an odd one: its top corners stand that times 10 above its bottom corners, and the bottom corners take U 0 and 1 with V 1 − r·factor |
| TPW-EXE:0x00454550 model state | source/OpenTPW/World/Objects/ObjectHoardingState.cs:14 | [BIN:TPW-EXE:0x00454550 model state] the thing's flags +4 hold the hoarding: 0x20 standing (in the scene), 0x40 rising, 0x80 sinking, and one variant bit 0x100 Closed, 0x200 Hoarding, 0x400 Condemn or 0x800 Upgrade; the level +0xB8 runs 0 to 1 at the rate +0xBC per second |
| TPW-EXE:0x00454550 model state | source/OpenTPW/World/Objects/ObjectHoardingState.cs:51 | [BIN:TPW-EXE:0x00454550 model state] nothing without a hoarding (+0xB0); mode 1 writes the base texture (+0x50 of the hoarding's model, flags & ~0xE00 | 0x100) when the thing is sinking (0x80) or has no variant bit, mode 2 +8 (| 0x200) without 0x200, 4 +0x10 (| 0x400) without 0x400, 8 +0x18 (| 0x800) without 0x800; then the rate +0xBC = 0.2, a thing not standing is put back in the scene (0x00454670(1), its level kept) and the flags become flags & ~0x80 | 0x60 |
| TPW-EXE:0x004547C0 hoarding sinks | source/OpenTPW/World/Objects/ObjectHoardingState.cs:70 | [BIN:TPW-EXE:0x004547C0 hoarding sinks] with a hoarding the rate +0xBC becomes −0.3 and a standing thing (0x20) turns from rising to sinking (flags & ~0x40 | 0x80) |
| TPW-EXE:0x004547F0 hoarding restore | source/OpenTPW/World/Objects/ObjectHoardingState.cs:44 | [BIN:TPW-EXE:0x004547F0 hoarding restore] the variant bits are read in the order 0x100, 0x200, 0x400, 0x800 (texture +0, +8, +0x10, +0x18), and a thing without one shows the closed set and gets 0x100 |
| TPW-EXE:0x004547F0 hoarding restore | source/OpenTPW/World/Objects/ObjectHoardingState.cs:124 | [BIN:TPW-EXE:0x004547F0 hoarding restore] with a hoarding: a standing thing is put back in the scene and takes the rate 0.2 when rising, else −0.3 when sinking; the boards take the level's shape (0x004543C0), and the variant bit picks the texture |
| TPW-EXE:0x004548F0 hoarding fade | source/OpenTPW/World/Objects/ObjectHoardingState.cs:85 | [BIN:TPW-EXE:0x004548F0 hoarding fade] with a hoarding and the flags 0xC0: level = rate · dt + level (dt the frame's real time in seconds, 0x00473440: milliseconds × 0.001), raised to 0 and lowered to 1; a changed level reshapes the boards (0x004543C0) and returns; else a thing not sinking clears 0x40 at level 1, and a sinking one at level 0 clears 0x20 and 0x80 and leaves the scene (0x00454670(0): the base texture again, flags & ~0xE00 | 0x100) |
| TPW-EXE:0x00457CF5 rectangle | source/OpenTPW/World/Original/ProceduralTerrainRectangle.cs:10 | [BIN:TPW-EXE:0x00457CF5 rectangle] x1 = x0 + max(0, ThemeEngine.ProceduralTexturingXOffset) + width and y1 = y0 + max(0, ProceduralTexturingYOffset) + height, handed to 0x56DF70; the four values are the level's MapInfo.HeightfieldXStart, YStart, Width and Height (read through the getters 0x519410..0x519440); the cell tests of 0x56F090 and 0x56F380 are inclusive on both ends |
| TPW-EXE:0x00461F10 clip loader | source/OpenTPW/World/Tracks/TrackPieceKit.cs:107 | [BIN:TPW-EXE:0x00461F10 clip loader] a mesh's clips are its own name plus the animation's letter (C D I L S M E U W B R O) and an optional number, as for every object; the pieces are meshes of the piece table loaded through it |
| TPW-EXE:0x00461F10 node flags | source/OpenTPW.Tests/QueueModelDrapeTests.cs:216 | [BIN:TPW-EXE:0x00461F10 node flags] the loader's drape flag ORs 0x20000 into every mesh node; the node flag 0x200 that would take a node out of the walk is never set by the files (types 0x1 and 0x401) |
| TPW-EXE:0x00461F10 relative animation | source/OpenTPW/World/Objects/ObjectAnimator.cs:1177 | [BIN:TPW-EXE:0x00461F10 relative animation] the loader 0x461f10 keeps header flag 4 only when the inner argument bit 0x20000 is set (else it logs "Ride %s has relative animation incorrectly set" and strips it); 0x4629d0 maps outer 0x1000000 to inner 0x20000; only the TrackMaster loader 0x42fad0 passes it (0x1013405), while the object loader 0x413c10 passes 0x50c00/0x450c00/0xb24a9/0x4b24a9/0xc0, so objects play in set mode; Add mode for the TrackMaster coaster models is registered under COAST-026 |
| TPW-EXE:0x004629D0 drape header bit | source/OpenTPW/World/Tracks/TrackSurface.cs:78 | [BIN:TPW-EXE:0x004629D0 drape header bit] a node with 0x20000 (every mesh node of a piece loaded with load flag 0x40, set by 0x461F10) sets header +0x30 bit 0x80, so every kart and water piece without a surface record is sampled in mode 1 (terrain at the probe + header +0xA0), even where +0xA0 is 0 |
| TPW-EXE:0x004629D0 loader flags | source/OpenTPW/World/Original/QueueModelPulse.cs:9 | [BIN:TPW-EXE:0x004629D0 loader flags] raw flag 0x100000 becomes the inner flag 0x2000 (0x461F10 then sets 0x2000000 in the template's flags, 0x462230), the creator copies the template's flags into the instance (0x4557C0, the 0x3F-dword copy) and 0x463060 registers an instance with 0x2000000 through 0x469580 (test 0x4638E1, call 0x4638EB) |
| TPW-EXE:0x004629D0 object builder | source/OpenTPW/World/Objects/ObjectSigns.cs:98 | [BIN:TPW-EXE:0x004629D0 object builder] without explicit text the sign text is the info record's name at +0x410 (0x412F50), filled at 0x414126 by 0x412FB0 from the object text file's NAME or else 0x4146B0 over the table 0x7488D8, which gives an empty name for an id outside the table |
| TPW-EXE:0x004629D0 object builder | source/OpenTPW/World/Objects/ObjectSigns.cs:534 | [BIN:TPW-EXE:0x004629D0 object builder] every model the builder makes, fixed items included, reaches the sign generator 0x467A80 once its mesh has loaded (0x461F10 returns 1 at 0x462C18; the 0x400 flag test at 0x462DCC and its fall-through both reach 0x462E94, and 0x468250 fails only without the fonts directory), with the info record's name when no lines are passed (0x412F50 at 0x462ECE): a fixed item with its own .sgn draws its own sign as any catalogue object does |
| TPW-EXE:0x004629D0 object builder | source/OpenTPW/World/Original/OriginalGateSign.cs:149 | [BIN:TPW-EXE:0x004629D0 object builder] a sign built from the catalogue is the info-record name split at the middle space (0x467A80); for the four shipped gates (rows of one-word texts) that is exactly the pair of lines the placed gate gets (0x4DB6F9), so the lines are drawn as they are |
| TPW-EXE:0x004629D0 shape size | source/OpenTPW/World/Objects/ObjectSkirt.cs:40 | [BIN:TPW-EXE:0x004629D0 shape size] local_418/local_41c = shape words 0 and 1 (the caller's overrides in params 10/11 are 0 for objects) are stored at the base record's +0xF0/+0xF4 and handed to 0x0046A5A0 as the skirt grid's size and to the height map loader 0x00451640 (type +0xCC: its ushort width +8 and height +0xA must equal them, else 0x00451880 regenerates the map at that size). The grid the instance constructor 0x00463060 walks (+0xCC) is therefore the shape's size too, not another grid |
| TPW-EXE:0x00463060 queue floor | source/OpenTPW/World/Original/QueueModelFloor.cs:9 | [BIN:TPW-EXE:0x00463060 queue floor] the placement with the creation flags 0x33A (bit 8) writes the skirt word of the entry's cell (the instance's cell) and makes the composite of the footprint box (0x57ACE0) while the texturing is on and the base record has flag 0x40; the refresh 0x5365D0 then writes the hole (0x46DF50 mode 8) |
| TPW-EXE:0x0046334C skirt base | source/OpenTPW/World/Level.Objects.cs:558 | [BIN:TPW-EXE:0x0046334C skirt base] with the procedural terrain textures on, a placed object's skirt cells take their landscape words and base composites (docs/OBJECTS.md, "Floors") |
| TPW-EXE:0x0046334C skirt base | source/OpenTPW/World/Objects/OriginalObject.cs:369 | [BIN:TPW-EXE:0x0046334C skirt base] after the placement 0x467030 and the conform 0x469940 the block runs when the creation flag has bit 8, [0x7A1A8C] has 0x4000 (the texturing is on) and the base record's flag 0x40 is set; it writes the skirt words and calls 0x57ACE0 |
| TPW-EXE:0x0046334C skirt base | source/OpenTPW/World/Objects/ParkObjects.cs:524 | [BIN:TPW-EXE:0x0046334C skirt base] the instance's creation (0x463060) writes the skirt words and makes the base composites once its placement is done, after the demolished objects' cells were restored |
| TPW-EXE:0x004633A0 skirt origin | source/OpenTPW/World/Objects/ObjectFloorBase.cs:33 | [BIN:TPW-EXE:0x004633A0 skirt origin] X = ftol(root +0x40 / landscape +0x10), Z = ftol(root +0x48 / landscape +0x14); angle 0x5A: Z -= 1; 0xB4: X -= 1 and Z -= 1; 0x10E: X -= 1 |
| TPW-EXE:0x00463424 skirt cell target | source/OpenTPW/World/Objects/ObjectFloorBase.cs:19 | [BIN:TPW-EXE:0x00463424 skirt cell target] 0 degrees (X + column, Z + row), 90 (X + row, Z - column), 180 (X - column, Z - row), 270 (X - row, Z + column) |
| TPW-EXE:0x0046351A skirt word | source/OpenTPW/World/Original/OriginalCellWords.cs:72 | [BIN:TPW-EXE:0x0046351A skirt word] word = (old & 6) | orientation | 0x281 and the entry's slot in the high half; the orientation is the entry's bits 0x38 turned by the rotation (0x46395C, 0x463994, 0x4639CC) and the flip bit 0x40 is kept |
| TPW-EXE:0x0046395C orientation tables | source/OpenTPW/World/Original/OriginalCellWords.cs:80 | [BIN:TPW-EXE:0x0046395C orientation tables] jump tables for 90 (0x46395C), 270 (0x463994) and 180 (0x4639CC) indexed by the bytes at 0x463970, 0x4639A8 and 0x4639E0 (0, 1, 2, 4... for 0, 8, 0x10, 0x20 and the rest) |
| TPW-EXE:0x004647A0 hoarding load | source/OpenTPW/World/Objects/ObjectHoardingState.cs:123 | [BIN:TPW-EXE:0x004647A0 hoarding load] the loader clears the flags 0x8000FE0, sets 0x20, 0x40, 0x80, 0x100, 0x200, 0x400 and 0x800 from bits 0..6 of the record's flag word +0x1C and the level +0xB8 from +0x22, then calls 0x004547F0 |
| TPW-EXE:0x004647A0 hoarding load | source/OpenTPW/World/Objects/ParkObjects.cs:802 | [BIN:TPW-EXE:0x004647A0 hoarding load] the RideSystem record's flag word +0x1C bits 0..6 and its +0x22 dword are the thing's hoarding flags and level (docs/OBJECTS.md, "Hoarding") |
| TPW-EXE:0x004647A0 scene record load | source/OpenTPW/World/Objects/OriginalObjectRuntime.SavedScene.cs:77 | [BIN:TPW-EXE:0x004647A0 scene record load] the loader compares the record's node count (+0x2a) and embedded-node count (+0x2c) with the model's (+0x42, +0x48: nodes and dummy attribute records) and writes the node states only when both match (0x464AB4); the controls are restored whatever the counts (0x464B98), one per live control of the instance |
| TPW-EXE:0x004647A0 scene record load | source/OpenTPW/World/Objects/ParkObjects.cs:806 | [BIN:TPW-EXE:0x004647A0 scene record load] the same record's node states and animation time controls (OriginalObjectRuntime.RestoreSavedScene) on the save's game clock |
| TPW-EXE:0x00464AF6 node state load | source/OpenTPW/World/Objects/OriginalObjectRuntime.SavedScene.cs:86 | [BIN:TPW-EXE:0x00464AF6 node state load] saved bit 0 becomes the node flag 0x10 (toggled: the draw skips the node's mesh) and saved bit 10 the flag 0x80000000 (no node list sets the node); the record's nodes are the model's mesh nodes, then its dummies, the order of the model's own nodes |
| TPW-EXE:0x00464BEF anim control restore | source/OpenTPW/World/Objects/ObjectAnimator.cs:426 | [BIN:TPW-EXE:0x00464BEF anim control restore] the loader copies the saved words over the live control (+0 flags, +4 AnimID, +8 SubAnim, +0x10 StartAnimTime, +0x14 AnimTime, +0x18 NoPauseAnimTime, +0xC the speed, +0x24/+0x28/+0x2C/+0x30 the deferred AnimID, SubAnim, flags and speed; field names from the dump 0x464580), sets the sample-once flag 0x10 when the ended flag 0x4 is set (0x464BFB) and binds the clip when the AnimID is not 12 and the sub-animation exists (0x472D10, 0x472CB0); it calls no trigger (0x472F60), so no node list and no copy-back run |
| TPW-EXE:0x00464BEF anim control restore | source/OpenTPW/World/Objects/OriginalObjectRuntime.SavedScene.cs:27 | [BIN:TPW-EXE:0x00464BEF anim control restore] the eleven saved words are, in order, flags, AnimID, SubAnim, StartAnimTime, AnimTime, NoPauseAnimTime, the speed, the deferred AnimID, SubAnim, flags and speed: the loader copies them to the live control's +0x0, +0x4, +0x8, +0x10, +0x14, +0x18, +0xC, +0x24, +0x28, +0x2C and +0x30, whose names the debug dump 0x464580 prints (Flags, AnimID, SubAnim, StartAnimTime, AnimTime, NoPauseAnimTime, DeferredAnimID, DeferredSubAnim, DeferredFlags), the speed being the +0xC the frame formula multiplies (0x473490) |
| TPW-EXE:0x00466D70 base height | source/OpenTPW/World/Objects/ParkObjects.cs:571 | [BIN:TPW-EXE:0x00466D70 base height] the creator 0x463060 (flags 0x32f, bit 8, shape pointer def+0x18) calls 0x466D70, which samples the four corners of each shape cell (entries 8 bytes, low nibble of the first byte non-zero, 0x469930) through 0x454050 and returns (lowest + highest vertex height) x 0.5 (0x466E60..0x466F70); the vertex of a corner is ftol(lerp + 0.1) of the unrotated shape position turned about the anchor, which is exactly ObjectFootprint.ToGrid of the corner (box origin 0x466F90) |
| TPW-EXE:0x00466D70 base height | source/OpenTPW/World/Original/QueueModelDrape.cs:18 | [BIN:TPW-EXE:0x00466D70 base height] ((float10)lowest + (float10)highest) * 0.5 over the 4 grid vertices of each footprint cell; the vertex of a corner is ftol(lerp + 0.1) (0x454050), for one cell the cell's own four corners whatever the rotation |
| TPW-EXE:0x00466F90 instance position | source/OpenTPW/World/Tracks/TrackRenderer.cs:445 | [BIN:TPW-EXE:0x00466F90 instance position] the instance sits at the origin cell plus the cell offset of the engine rotation (360 - rotation: 90 y+1, 180 x+1 and y+1, 270 x+1) added twice, once by the instancer and once by 0x00466F90, so the map's 2 x 2 cells are indexed from that corner with the engine rotation |
| TPW-EXE:0x00467030 footprint box | source/OpenTPW/World/Objects/ObjectFloorBase.cs:67 | [BIN:TPW-EXE:0x00467030 footprint box] x0 and z0 are the minimum corner (0x466F90), x1 = x0 + width - 1 and z1 = z0 + height - 1 with the width and height swapped for 90 and 270 |
| TPW-EXE:0x00467030 footprint box | source/OpenTPW/World/Objects/ParkObjects.cs:572 | [BIN:TPW-EXE:0x00467030 footprint box] the placement 0x467030 (creation flag 2) only places the instance and stores the footprint box in +0xC0/+0xC4 (read by the hoarding conform and the terrain composite); it blends no ground flat, and 0x57ACE0 is the composite texture of the floor art over the procedural ground, not a deformation. The instance words +0xF0/+0xF4 are the shape's width and height (0x4629D0: shape words 0 and 1, params 10/11 are 0 for objects). tp.exe's own 0x466D70 run in the x86 oracle (tpw-exe-base-height) returns this rule's result for every synthetic footprint and heightfield tried (rotations 0 to 270, random shapes and heights) |
| TPW-EXE:0x00467030 instance placement | source/OpenTPW/World/Original/QueueModelDrape.cs:38 | [BIN:TPW-EXE:0x00467030 instance placement] creation flag 0x20: the node's matrix is turned by 0x46F650 (table cosine and sine of the angle) and the words +0x40 / +0x44 / +0x48 are set to (cell x * size + origin, instance height, cell y * size + origin); the cell advances are 0x466F90's |
| TPW-EXE:0x00467030 placement angle | source/OpenTPW/World/Original/ModelDrape.cs:31 | [BIN:TPW-EXE:0x00467030 placement angle] the angle is a = float(rotation) * [0x6FE774]; the sine index is FISTP(a * scale), the cosine index FISTP((a - [0x6FE778] -1.5707964) * scale), each & 0xFFF, nearest-even |
| TPW-EXE:0x00467310 texture coordinate pass | source/OpenTPW/World/Objects/ObjectSkirtReading.cs:108 | [BIN:TPW-EXE:0x00467310 texture coordinate pass] the minimum of every face is taken over the snapped coordinates before any face shifts its corners; the shift is the truncated minimum, one less when the truncation left a negative fraction; a corner takes the shift of the first face that reaches it; a face's centre is the sum of its corners times 0.33333334 (the sums in the orders (c + a) + b, (b + a) + c, (c + b) + a), its cell index (ftol(x × 0.1) << 4) − ftol(z × −0.1) |
| TPW-EXE:0x00467A80 sign generator | source/OpenTPW/World/Lobby/LobbySigns.cs:13 | [BIN:TPW-EXE:0x00467A80 sign generator] the sign replaces the model's sign1/sign2 textures and reads its .sgn as "%s\%s_%s.sgn", else "%s\%s.sgn" (the model's directory and name; strings 0x74D698, 0x74D68C) |
| TPW-EXE:0x00467A80 sign generator | source/OpenTPW/World/Objects/ObjectSigns.cs:99 | [BIN:TPW-EXE:0x00467A80 sign generator] a non-null name is split at the space nearest its middle (searched outward, alternating sides); an empty name has no space, so line 1 is the empty name and line 2 empty, and the sign is still generated (0x5ECB40) with both glyph masks cleared by 0x5EAB70 |
| TPW-EXE:0x00468500 sign rebuild | source/OpenTPW/World/Objects/ObjectCatalog.cs:935 | [BIN:TPW-EXE:0x00468500 sign rebuild] the sign rebuild of the types with flag 0x8000000 reads line 1 through 0x4E2860 (which drops the last dash of a trailing "--") and line 2 through 0x4E2920 |
| TPW-EXE:0x00468500 sign rebuild | source/OpenTPW/World/Objects/ParkObjects.cs:722 | [BIN:TPW-EXE:0x00468500 sign rebuild] after the load (0x415140 -> 0x41519D) it walks the object chain from the head (+0x1DA746, next +0xC); each object whose type has the sign flag 0x8000000 (set by the generator 0x4682B0 on the type record 0x7A4610[+0x20]) reads its two name lines (0x4E2860, 0x4E2920) and draws the type's sign again with them; the object's own lines are what the constructor copied from its OBJECT_NAMES row (0x4DB6F9) and what the object window's rename (0x48D370, handler 0x48D640: 0x4E2950, 0x4E2A50, then 0x4682B0) stored |
| TPW-EXE:0x00468500 sign rebuild | source/OpenTPW/World/Original/ParkNameLines.cs:70 | [BIN:TPW-EXE:0x00468500 sign rebuild] after a park is loaded (0x415140) each placed object of a type with flag 0x8000000 redraws its type's sign from line 1 through 0x4E2860 and line 2 through 0x4E2920 (0x4682B0) |
| TPW-EXE:0x00469580 colour list | source/OpenTPW/World/Original/QueueModelPulse.cs:10 | [BIN:TPW-EXE:0x00469580 colour list] the registration links the instance into the list 0x7AFE14, sets 0x1000000 in every part's flags (0x4695D7, 0x46962D) and, for parts that share their colour buffer with their parent, gives them one of their own; the lighting pass 0x57AA10 skips a part with 0x1000000 (test 0x57AA30, 0x57AA66), so the colours stay what the pulse writes |
| TPW-EXE:0x00469840 pulse | source/OpenTPW/World/Original/QueueModelPulse.cs:11 | [BIN:TPW-EXE:0x00469840 pulse] once per frame from the main loop (0x54E301): the colour is 0xFF000000 | 0xFF0000 | t << 8 | t with t = ftol(255 * (x <= 1 ? x : 2 - x)) from the phase x = [0x7AFD04] (0 at the start, written only here), written into every vertex-colour array of every listed instance (rep stosd, 0x4698D3); then x = fmod(x + 2 * dt, 2) with dt = [0x7B497C], the scene clock's gap times 0.001 (0x473440 at 0x473470); all in single precision (the thread's x87 runs at the 24-bit control word) |
| TPW-EXE:0x00469840 quedead pulse | source/OpenTPW/World/Original/OriginalTerrain.cs:641 | [BIN:TPW-EXE:0x00469840 quedead pulse] the load flag 0x100000 of the two quedead entries registers their instances for the colour pulse (QueueModelPulse, drawn with TextureSlotAddressing.PulseFlag; the batches of the dead ends are separate) |
| TPW-EXE:0x00469940 ground conform | source/OpenTPW/World/Objects/ObjectGroundConform.cs:11 | [BIN:TPW-EXE:0x00469940 ground conform] the instance constructor 0x00463060 (creation flag 8, every non-fixed object) builds the placement matrix of the instance root (0x0046F150) and walks the type's nodes with 0x00469A80 in its apply mode, then the nodes with their own list (+0x98, flag 0x40) a second time with tolerances 0.1 and 100; a node with flag 0x200 is skipped (not its children), a node without flag 0x1000 changes nothing |
| TPW-EXE:0x00469A80 | source/OpenTPW.Tests/ModelDrapeTests.cs:12 | The model drape of tp.exe's 0x469940 / 0x469A80 ([BIN:TPW-EXE:0x00469A80]): the chain matrix, the point transform, the landscape triangle and the drape height against the x86 oracle's cases |
| TPW-EXE:0x00469A80 | source/OpenTPW.Tests/QueueModelDrapeTests.cs:14 | The queue models on a slope ([BIN:TPW-EXE:0x005229E0], [BIN:TPW-EXE:0x00469A80]): the instance height, the placement, the joints between neighbouring cells (data-free), and the shipped |
| TPW-EXE:0x00469A80 | source/OpenTPW.Tests/TrackDrapeTests.cs:10 | The terrain drape of the kart and water track pieces ([BIN:TPW-EXE:0x00469A80]): the drape sampler against the landscape's triangle split, the tiles' shared edges, and the |
| TPW-EXE:0x00469A80 apply mode | source/OpenTPW/World/Objects/ObjectGroundConform.cs:94 | [BIN:TPW-EXE:0x00469A80 apply mode] per listed position p of the instance's copy: w = p · M with M the node's matrix times its parents' down to the root placement (0x004702D0, 0x0046FC00); per ground axis t = float((w − origin) / cell size) raised to 0, its whole part i and fraction f; f ≥ 0.5 names corner i + 1 (the node ends when the corner count + 1 ≤ i + 1) else corner i (ends when count + 1 ≤ i); a fraction within 0.01 of 0 or 1 snaps w onto that grid line; w's height becomes the heights table's entry of the chosen corner (+0x28, row stride count + 1); p becomes w · M⁻¹ (0x00470040, an LU inverse in floats); the bounds widen by it; the list pointer advances once per vertex taken and reads as 0 past its end |
| TPW-EXE:0x00469A80 drape height | source/OpenTPW/World/Original/ModelDrape.cs:69 | [BIN:TPW-EXE:0x00469A80 drape height] y' = ((landscape - base height) + y) for a node with flag 0x20000 (the branch with the node's own height flag clear), in single precision |
| TPW-EXE:0x00469A80 drape triangle | source/OpenTPW/World/Original/LandscapeSampler.cs:97 | [BIN:TPW-EXE:0x00469A80 drape triangle] the triangle by the cell flag 0x4 and the fractions, the difference of the two corners of its edge, the pair (1 - fx) times the near corner plus fx times the far one, then the row weight times the difference, each a single operation |
| TPW-EXE:0x00469A80 ground vertex list | source/OpenTPW/World/Objects/ObjectHoarding.cs:199 | [BIN:TPW-EXE:0x00469A80 ground vertex list] a counted vertex's index is appended to the list the walk fills (base record +0x14, count +0xC), in walk order over the nodes, and its node gets flag 0x1000; the instance's apply walk (0x00469940) replays the list by pointer |
| TPW-EXE:0x00469A80 ground vertices | source/OpenTPW/World/Objects/ObjectHoarding.cs:184 | [BIN:TPW-EXE:0x00469A80 ground vertices] each node's matrix is its stored one times its parent's (0x004702D0); a node with flag 0x200 is skipped (its children are not), one with flag 0x20000 counts nothing; every vertex is transformed (0x0046FC00) and, per axis, t = (coordinate − origin) / cell size (raised to 0), split into its whole part and fraction (0x0067B280): a fraction below 0.5 names the cell's low edge (bits 1 for X, 8 for Z), else its high edge (4, 2); a whole part outside 0 ≤ i < count + 1 (i + 1 for a high edge) ends the node and skips its children (0x0046A2A0); a cell past the shape's width (height) is the last one with a low edge turned high; an axis lies on a grid line when the fraction is within 0.01 of 0 or 1, and only a vertex on lines in both axes, within 0.01 of Y 0, whose edge is a boundary of its cell (low X with bit 2, high Z with 4, high X with 8, low Z with 1; any vertex with header flag 0x100) is counted; the node whose count first passes the best so far becomes the ground node (0x0046A0F1) |
| TPW-EXE:0x00469A80 mesh drape | source/OpenTPW/World/Original/LandscapeSampler.cs:77 | [BIN:TPW-EXE:0x00469A80 mesh drape] for a node with flag 0x20000 each vertex is moved to the model height + the landscape under it (the triangle by the cell flag 0x4, read at cell index x + z * cells) minus the instance height; there is no 0x800 test and no bounds test, only the negative clamp to 0 |
| TPW-EXE:0x00469A80 mesh drape | source/OpenTPW/World/Original/ModelDrape.cs:11 | [BIN:TPW-EXE:0x00469A80 mesh drape] for every vertex of a node with flag 0x20000: the vertex through the node's chain matrix into the grid's frame (0x46FC00), the landscape triangle under its x and z (LandscapeSampler.SampleDrape) minus the instance height plus the vertex's height there, then back through the inverse of the chain (0x470040); x and z are the vertex's own |
| TPW-EXE:0x00469A80 queue model drape | source/OpenTPW/World/Original/OriginalTerrain.cs:639 | [BIN:TPW-EXE:0x00469A80 queue model drape] the queue models are baked draped onto the landscape as tp.exe does (QueueModelDrape, 0x469A80, static batches), the cell a hole of the ground (0x46DF50) with the skirt of the object loader (opaque slot, normalised coordinates) and, with the procedural terrain textures on, the composite floor of the base art over the cell's ground (0x463060, 0x57ACE0; QueueModelFloor) |
| TPW-EXE:0x0046A5A0 base gate | source/OpenTPW/World/Objects/ObjectSkirt.cs:112 | [BIN:TPW-EXE:0x0046A5A0 base gate] the skirt reader runs when the header has bit 0x08 and the ground node (+0x2C) is set or the header has bit 0x80 (the drape flag: the node is then the root +0x78); without bit 0x08 it logs "has not been exported with 'has procedural base'" and skips the base |
| TPW-EXE:0x0046A5A0 footprint edge mask | source/OpenTPW/World/Objects/ObjectHoarding.cs:183 | [BIN:TPW-EXE:0x0046A5A0 footprint edge mask] unless the model header has flag 0x80, each Info.Shape cell (its type dword & 0xF nonzero is occupied) gets bit 1 when it and the cell at row − 1 differ in occupancy, 2 for column − 1, 4 for row + 1, 8 for column + 1 (a neighbour outside the grid is unoccupied); then 0x00469A80 walks the hierarchy from the root (header +0x78) with the identity matrix, the terrain heightfield and the counting mode (its fifth word 0), and its last ground node and count land in the instance's +0x2C and +0xC |
| TPW-EXE:0x0046A5A0 ground node | source/OpenTPW/World/Tracks/TrackSurface.cs:115 | [BIN:TPW-EXE:0x0046A5A0 ground node] the instance's +0x2C is the node 0x469A80 counted the most ground vertices on (ObjectHoardingGeometry.SelectGroundNode, the type loader's search; nothing when the type is loaded without the base flag or the level has no terrain): only that node's faces are the mode-4 mesh |
| TPW-EXE:0x0046A5A0 mode-4 mesh | source/OpenTPW/World/Tracks/TrackSurface.cs:74 | [BIN:TPW-EXE:0x0046A5A0 mode-4 mesh] the instance mesh sampler (mode 4, +0x2C) reads the faces of the ground node the type loader chose through 0x469A80 (the node with the most ground vertices on the footprint's boundary; its flags 0x200 skip a node, 0x20000 count nothing, the header's 0x100 counts every ground vertex; the call's bits 2 and 4 are 0): only objects without a surface record, header flag 0x80 or +0xA0 reach it |
| TPW-EXE:0x0046A5A0 type load | source/OpenTPW/World/Objects/ObjectSkirt.cs:28 | [BIN:TPW-EXE:0x0046A5A0 type load] load flag 1 of the type loader 0x004629D0 runs the ground node search 0x0046A5A0 and, when the model header +0x30 has bit 0x08 ("has procedural base") and the type has a ground node (+0x2C) or the header has bit 0x80, the skirt reader 0x0046AA10; the base record's byte 0 then gets bit 0x40 (0x0046B37B) |
| TPW-EXE:0x0046AA10 skirt entries | source/OpenTPW.Tests/QueueModelDrapeTests.cs:203 | [BIN:TPW-EXE:0x0046AA10 skirt entries] the entries of the queue models of the four themes (docs/OBJECTS.md, "Floors": C8 or 80, E0, A0, slot 0) |
| TPW-EXE:0x0046C480 tool frame | source/OpenTPW/World/Staff/StaffRenderer.cs:20 | [BIN:TPW-EXE:0x0046C480 tool frame] every frame the tool's sprite is placed at the mouse's world point (0x0045D610 returns 0x007A1C90) 5 units up, with heading 4 (0x00475480 stores x, y + 5, z at +0x88..+0x90 and the heading byte at +0xC0) |
| TPW-EXE:0x0046C480 tool height | source/OpenTPW/World/Staff/StaffRenderer.cs:224 | [BIN:TPW-EXE:0x0046C480 tool height] but the tool stores the picker's absolute height (0x7A1C90 + 4: the intersection with the terrain triangle or the model, 0x0045BF90) plus 5, so the person hangs at the terrain's height again above the picked point, which only differs from the point's own on ground above the level's zero |
| TPW-EXE:0x0046C730 staff tool enter | source/OpenTPW/World/Staff/StaffPlacement.cs:160 | [BIN:TPW-EXE:0x0046C730 staff tool enter] the tool makes its sprite when it becomes the current tool (0x00475A10: template 0x15 of the role's sprite category, the candidate's or the member's variant +0x11) and deletes it when it ends (0x00475550) |
| TPW-EXE:0x0046C730 staff tool enter | source/OpenTPW/World/Staff/StaffSprites.cs:219 | [BIN:TPW-EXE:0x0046C730 staff tool enter] the hire and carry tools' sprite is script 0x15 (0x0074ED98, slot 6 frames 0-3 looping) of the role's sprite type (0x00475A10: mechanics 6, handymen 5, entertainers 4, guards 7, researchers 8; table 0x00763F88) with the candidate's variant (+0x11): the person's own bank |
| TPW-EXE:0x0046C8E0 staff placement | source/OpenTPW/Economy/ParkStaff.cs:545 | [BIN:TPW-EXE:0x0046C8E0 staff placement] the hire's thing exists only after the placing click: the role's person constructor (0x4D9EB0, 0x4D6B60, 0x4D4340, 0x4D5D40, 0x502600) takes its thing id from the pool (0x504B10 → 0x4F8940 → 0x50AFE0) |
| TPW-EXE:0x0046CC40 drop cells | source/OpenTPW/World/Level.Staff.cs:144 | [BIN:TPW-EXE:0x0046CC40 drop cells] the drop reads the cell's type (0, 1, 3 or 9 pass, 0x536390, 0x536310, 0x536320) and its flags, never an object list: a ride's footprint cells are refused as the types 4 and 10 the placement writes (ParkCellMap.WriteFootprint, 0x00528A70), its queue-end entrance cell (9) takes a drop |
| TPW-EXE:0x0046D605 add-on tool | source/OpenTPW/World/Tracks/TrackAddOns.cs:62 | [BIN:TPW-EXE:0x0046D605 add-on tool] the build tool's type setter 0x0052F880 gets the upgrade selection (type +0x9C, WhichTrackType) only for a type whose +0x288 (AddOn.UpgradeType) is 1, and 0 for every other type; the click (0x00524B45) and the hover (0x0052369D) take the add-on branch while that selection is set |
| TPW-EXE:0x0046D605 upgrade selection | source/OpenTPW/World/Objects/ObjectCatalog.cs:172 | [BIN:TPW-EXE:0x0046D605 upgrade selection] the tool's enter reads the type's +0x288: 1 hands the type's +0x9C to the type setter 0x52F880, which stores it in 0x8187F8; any other value hands 0 |
| TPW-EXE:0x0046DF50 dirty bit | source/OpenTPW/World/Original/ProceduralTerrain.cs:183 | [BIN:TPW-EXE:0x0046DF50 dirty bit] the tile write ORs 0x180, the restore sets byte 1 bit 0 (0x100) and the hole write ORs 0x101; 0x56F090 clears the bit of every cell it lists and records the word it had, 0x572440 builds a hit again when the recorded word has it |
| TPW-EXE:0x0046DF50 hole word | source/OpenTPW/World/Original/OriginalCellWords.cs:53 | [BIN:TPW-EXE:0x0046DF50 hole word] mode 8: |= 0x101 and &= 0xFF7F of the landscape word |
| TPW-EXE:0x0046DF50 tile word | source/OpenTPW/World/Original/PathCellWord.cs:27 | [BIN:TPW-EXE:0x0046DF50 tile word] the generic branch of the writer (group != 0, not the hole code 8 and the restore code 0x37): the slot of the tile's table row (its short at +8) goes to byte 2 and 3 of the word, then the low half is ANDed with 0xFF87 and 0xFFFE and ORed with 0x180, and the angle sets one turn bit; the other bits of the old word (0x02, 0x04, 0x200 and 0x400) stay |
| TPW-EXE:0x0046DF50 word restore | source/OpenTPW/World/Original/OriginalCellWords.cs:60 | [BIN:TPW-EXE:0x0046DF50 word restore] mode 0x37 (the cleared cell, reached from 0x5365D0 for a cell of type 0 or 5): the high and low halves are copied from the backup landscape [0x79FC54], byte 1 |= 1 (the dirty bit), and the turn and mirror bits (0xFF87 mask) are cleared when [0x7A1A8C] has 0x4000 |
| TPW-EXE:0x0046DF50 word restore | source/OpenTPW/World/Original/ProceduralTerrain.cs:337 | [BIN:TPW-EXE:0x0046DF50 word restore] a cell that stops being a hole took its backup word again with the dirty bit 0x100 |
| TPW-EXE:0x0046E0E2 tile angle bits | source/OpenTPW/World/Original/PathCellWord.cs:20 | [BIN:TPW-EXE:0x0046E0E2 tile angle bits] the writer compares the angle argument with 0x5A, 0xB4 and 0x10E and ORs 0x20, 0x10 and 0x08 into the low byte of the word; any other angle leaves the turn bits clear |
| TPW-EXE:0x0046EAD0 texture lookup | source/OpenTPW/World/Objects/ObjectAssets.cs:180 | [BIN:TPW-EXE:0x0046EAD0 texture lookup] 0x461a60 → 0x46e670 sets the model directory, <dir>\textures (<dir>\stexture in the low-detail set) and <theme>\sharetex (<theme>\ssharete) (0x46e650); the lookup 0x46ead0 tries <dir>\textures\<name> as .wct then .tga, then assigns the shared texture without an existence check, else logs "Could not load texture…"; GTexture is only set by the coaster loader 0x42fad0, so the archive's gtexture (12 track-ride archives) stays in both sets |
| TPW-EXE:0x0046F1C0 camera yaw | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:216 | [BIN:TPW-EXE:0x0046F1C0 camera yaw] atan2(forward x, forward z) while the forward vector's height is within +-0.9 (0x006FEB78, 0x006FEB7C), else atan2(-right z, right x); [BIN:TPW-EXE:0x00540AB0 sprite yaw] the park camera's yaw 0x00790A38 modulo 2 pi (0x00700E68), plus 2 pi when below 0 |
| TPW-EXE:0x0046F650 yaw rotation | source/OpenTPW/World/Original/ModelDrape.cs:46 | [BIN:TPW-EXE:0x0046F650 yaw rotation] multiplies the yaw into the matrix it is given (the root node's own matrix), one single store per element |
| TPW-EXE:0x0046F6F0 rotation builder | source/OpenTPW/World/Tours/TourPose.cs:95 | [BIN:TPW-EXE:0x0046F6F0 rotation builder] each axis step takes its cosine and sine from the engine's sine table (OriginalSineTable) and turns the matrix rows by it (0x0046F5C0 about Z, 0x0046F350 about X, 0x0046F650 about Y): the same rotation as the System.Numerics one with the table's sine and cosine |
| TPW-EXE:0x0046FD40 back substitution | source/OpenTPW/World/Guests/OriginalHeadMath.cs:123 | [BIN:TPW-EXE:0x0046FD40 back substitution] lubksb: the forward pass swaps b[indx[i]] into place and subtracts a[i][j] b[j] from the first nonzero entry on; the backward pass subtracts a[i][j] b[j] for j > i and divides by a[i][i] |
| TPW-EXE:0x0046FE20 LU decomposition | source/OpenTPW/World/Guests/OriginalHeadMath.cs:63 | [BIN:TPW-EXE:0x0046FE20 LU decomposition] the Crout method of the Numerical Recipes (ludcmp): vv[i] = 1 / max |a[i][j]|; each column j first finishes the upper part a[i][j] -= sum a[i][k] a[k][j], then the lower part, |
| TPW-EXE:0x00470040 matrix inverse | source/OpenTPW/World/Guests/OriginalHeadMath.cs:45 | [BIN:TPW-EXE:0x00470040 matrix inverse] copies the source (arg 2), decomposes it, solves for the four unit columns (column j of the result is the solution for the unit vector j, 0x004700A3), and copies the result to arg 1 |
| TPW-EXE:0x00470040 matrix inverse | source/OpenTPW/World/Objects/ObjectFloorMath.cs:99 | [BIN:TPW-EXE:0x00470040 matrix inverse] 0x0046FE20 decomposes in place: the row scale is the float of 1 / the largest element, each product and sum is a float operation, the pivot is the row with the largest |sum|·scale (>= wins, so the last of equals), a zero pivot becomes 1e-20, the column below the pivot is multiplied by the float of 1 / pivot; 0x0046FD40 solves by forward and back substitution |
| TPW-EXE:0x004700F0 matrix multiply | source/OpenTPW/World/Objects/ObjectFloorMath.cs:25 | [BIN:TPW-EXE:0x004700F0 matrix multiply] a row (l0, l1, l2) of a gives ((l1·b4 + l2·b8) + l0·b0), ((l0·b1 + l2·b9) + l1·b5) and ((l0·b2 + l2·b10) + l1·b6); the translation row adds b12, b13, b14 last; one float result per element |
| TPW-EXE:0x004702D0 matrix chain | source/OpenTPW/World/Objects/ObjectFloorMath.cs:67 | [BIN:TPW-EXE:0x004702D0 matrix chain] element [4a + b] = ((P[8 + b]·N[4a + 2] + P[4 + b]·N[4a + 1]) + P[b]·N[4a]) for the three rotation rows, the translation row adds P[12 + b] last (P the parent, N the node), one float result per element; elements 3, 7, 11 and 15 stay the parent's |
| TPW-EXE:0x004702D0 matrix product | source/OpenTPW/World/Guests/OriginalHeadMath.cs:154 | [BIN:TPW-EXE:0x004702D0 matrix product] out[i][j] = (second[2][j] first[i][2] + second[1][j] first[i][1]) + second[0][j] first[i][0] for j below 3, plus second[3][j] on row 3; the fourth column (words 3, 7, 11, 15) is not written |
| TPW-EXE:0x004708D0 sine table | source/OpenTPW/World/Guests/BounceRiders.cs:48 | [BIN:TPW-EXE:0x004708D0 sine table] mask n - 1 (0x7B0960), index scale n x 1 / (2 pi) as a float (0x7B095C, constants 0x006FEB9C and 0x006FEBA0), entry i = fsin(i / n x 2 pi) stored as a float from 0x7B0968 |
| TPW-EXE:0x004708D0 sine table | source/OpenTPW/World/Original/ModelDrape.cs:22 | [BIN:TPW-EXE:0x004708D0 sine table] N = 4096 (0x449EB0, 0x44A1D0): entry i of 0x7B0968 = FSIN(float(i) / float(N) * [0x6FEBA0] 6.2831855), the scale 0x7B095C = float(N) * [0x6FEB9C] 0.15915494, the mask 0x7B0960 = N - 1 |
| TPW-EXE:0x004708D0 sine table | source/OpenTPW/World/Tours/OriginalSineTable.cs:6 | [BIN:TPW-EXE:0x004708D0 sine table] the init (called with 0x1000 from 0x449EB0 and 0x44A1D0) stores mask = N - 1 (0x7B0960), scale = N x 0.15915494 (0x6FEB9C, 1 / 2 pi; 0x7B095C) and fills 0x7B0968 with float(fsin(i / N x 6.2831855)) (0x6FEBA0); the rotation builder 0x46F6F0 looks up sine = table[round(angle x scale) & mask] and cosine = table[round((angle + 1.5707964) x scale) & mask] |
| TPW-EXE:0x00470C90 texture-frame track write | source/OpenTPW/World/Objects/ObjectAnimator.cs:328 | [BIN:TPW-EXE:0x00470C90 texture-frame track write] per clip update, for each track entry (slot word, key count word, key array: time in the low word, frame in the high word) it scans the keys from the last backwards for the first whose time is <= the clip time and, when its frame differs from the slot record's frame (model+0x50 + slot*8, frame at +2), stores it and sets dirty bit 0x04 of byte +1; a clip time before the first key writes nothing, so the slot keeps its previous frame; tracks run in array order, so a later track of the same slot overwrites an earlier one; no slot or frame range check |
| TPW-EXE:0x004718F7 12-byte vertex block | source/OpenTPW.Files/Formats/Model/ModelUvAnimation.cs:157 | [BIN:TPW-EXE:0x004718F7 12-byte vertex block] in the sampler 0x471860, record flags 0x1000 with 0x4000 take frame = ftol(clip time at +0x20) and base = count · frame (imul at 0x471922); vertex i reads entry j = (index pointer ? index[i] : i) at floats[(base + j) · 12 bytes]; in set mode (model header flag 4 clear, 0x471aa1) the vertex is replaced, in add mode (0x471943) the position is added; the "interpolation" multiplies the same address (0x471ac5/0x471ad2) by t and 1 − t |
| TPW-EXE:0x004718F7 12-byte vertex block | source/OpenTPW/World/Objects/ObjectAnimator.cs:1165 | [BIN:TPW-EXE:0x004718F7 12-byte vertex block] the PC sampler replaces the node's vertices by the block's stored pose of frame trunc(time), without blending (documented on ModelVertexPose) |
| TPW-EXE:0x00471ECF path parameter | source/OpenTPW.Files/Formats/Model/ModelPathParameters.cs:10 | [BIN:TPW-EXE:0x00471ECF path parameter] The PC sampler 0x471860 reads the block only when the record has |
| TPW-EXE:0x00471ECF path parameter | source/OpenTPW.Tests/Md2CorpusTests.cs:448 | Path-parameter blocks (record +36, flag 0x200; [BIN:TPW-EXE:0x00471ECF path parameter]): one value per tick |
| TPW-EXE:0x00471F1D path evaluation | source/OpenTPW.Files/Formats/Model/ModelPath.cs:14 | [BIN:TPW-EXE:0x00471F1D path evaluation] The PC sampler 0x471860 turns a path position <c>v</c> (percent, see |
| TPW-EXE:0x00471F1D path evaluation | source/OpenTPW.Tests/Md2CorpusTests.cs:508 | Paths ([BIN:TPW-EXE:0x00471F1D path evaluation]): every 0xAC record is a path, every flag-0x200 node hangs under a |
| TPW-EXE:0x00471F1D path evaluation | source/OpenTPW/World/Objects/ObjectAnimator.cs:1215 | [BIN:TPW-EXE:0x00471F1D path evaluation] a flag-0x200 record without position keys sets the node on its parent dummy's path; with 0x400 its rows face along the path (0x470780), row 1 from its rotation keys or +Y without them, and scale is dropped |
| TPW-EXE:0x0047219A UV pass gate | source/OpenTPW/World/Objects/ObjectAnimator.cs:659 | [BIN:TPW-EXE:0x0047219A UV pass gate] the UV pass 0x4745c0 of the sampler 0x471860 runs when (option 0x7b4980 & 0x10 clear and node-state bit 0x4000 clear) or the model header has flag 4, and the record has flag 0x10000; the option word has one write (0x4740d0, called once with 0 from 0x457a90) and node bit 0x4000 has one writer (0x46a81d, the generated ground-conforming base node of 0x46a5a0, which has no clip tracks), so authored nodes always run the UV pass |
| TPW-EXE:0x00472310 clip end | source/OpenTPW/World/AdvisorCostumes.cs:313 | [BIN:TPW-EXE:0x00472310 clip end] when a clip ends the sampler 0x4735D0 starts the idle set 12 through 0x472F60 (0x473778-0x473783, flags 0), which calls 0x472310 for the clip that ended; the advisor's model has flag 8 (0x4621C9, load flags 0x50120), and with that flag 0x472310 clears node bit 0x10 on every node of the model (0x472345-0x472398), so each clip starts from an all-shown model and hides only its own node list (0x472D70); the Kill path 0x429D60 reaches the same clear through 0x4732A0's immediate flag, and a model loaded by 0x429BA0 starts shown (the node type words of all five advisor models carry no 0x10) |
| TPW-EXE:0x00472D10 saved clip bind | source/OpenTPW/World/Objects/OriginalObjectRuntime.SavedScene.cs:113 | [BIN:TPW-EXE:0x00472D10 saved clip bind] a sub-animation the AnimID's group does not have binds nothing (the loader skips 0x472CB0 when 0x472D10 fails or yields no clip, je 0x464C5D) |
| TPW-EXE:0x00472E75 clip start | source/OpenTPW/World/AdvisorCostumes.cs:201 | [BIN:TPW-EXE:0x00472E75 clip start] every clip lists the accessory, prop and blink nodes in its node list (clip 14 of the global advisor: spatula, seven hats and the bow tie, nodes 14 and 16-24; of a level advisor: tickets, map, costume pieces and the mutant eye) and sets node bit 0x10 on them (hidden) as it starts |
| TPW-EXE:0x00472F60 animation start | source/OpenTPW/World/AdvisorRig.cs:341 | [BIN:TPW-EXE:0x00472F60 animation start] a clip the model's archive lacks has no loaded flag in its slot ((slot + 2) * 12, bits 3): the start clears the animation (current clip 0xC = none, the previous one ends through 0x472310) and 0x4732A0 still returns the 1000 ms floor, so the model keeps its rest pose; the node tracks, blink toggles, vertex tracks (antennae, hands, eyes) and texture-coordinate tracks (the level advisors' eyes) of a clip it has are played, and a toggled mesh-node bit hides that mesh in the draw walk (0x57A5E3 tests 0x8210) |
| TPW-EXE:0x0047300E carry | source/OpenTPW/World/Original/QueueModelAnimation.cs:60 | [BIN:TPW-EXE:0x0047300E carry] the first start from the none animation 12 is fresh (0x472FBB); a clip that runs past its duration is restarted by the idle restart with the carry the overshoot leaves (0x47300E: frame minus duration, 0x472F60), which 0x472BC0 caps (0x472C12..0x472C25) and turns into the new start time, stamp minus ftol(carry * 33.33 / speed) (0x472C27..0x472C41), so the clip loops with its phase kept; the clock is the scaled clock 0x7B496C (channel flag 0x40 clear, 0x473440) |
| TPW-EXE:0x004731D6 channel reset | source/OpenTPW/World/Original/QueueModelAnimation.cs:180 | [BIN:TPW-EXE:0x004731D6 channel reset] the creator 0x463060 calls 0x473E30 (0x4631D6), which gives the instance's one channel the none animation 12 and, with its clips, sets +0xA8; an instance without any clip (+0xA8 = 0) never restarts |
| TPW-EXE:0x004732A0 animation start | source/OpenTPW/World/Advisor.cs:155 | [BIN:TPW-EXE:0x004732A0 animation start] the model is shown when any animation other than 12 starts (via 0x45BD30); "Kill advisor" (0x429D60: animation 12 with the immediate flag, then unlink), called by the stop path 0x5996D0 (six callers, including level exit) and the slap path 0x5994E0, hides it at once; the normal end of advice (0x599880) calls neither, the sampler hides the model at the end of the last clip (see DrawnSpanMilliseconds). The model therefore hides at the clip sum even while a long speech of a fixed row (21-27) is still playing; that follows the trace, and a capture should confirm it |
| TPW-EXE:0x004732A0 animation start | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:117 | [BIN:TPW-EXE:0x004732A0 animation start] flags bit 1 starts at once instead of after the running clip; 0x00472F60: bit 0 loops, bit 2 sets channel flag 0x20, and bits 2–3 skip the old clip's release 0x00472310 when the new animation is 12 |
| TPW-EXE:0x004735D0 animation sampler | source/OpenTPW/Client/AutomaticAdvisor.cs:680 | [BIN:TPW-EXE:0x004735D0 animation sampler] the model is drawn until the last clip of the response's sequence ends (Advisor.DrawnSpanMilliseconds), where the sampler hides it; only a later response or Kill changes that |
| TPW-EXE:0x004735D0 animation sampler | source/OpenTPW/World/Advisor.cs:147 | [BIN:TPW-EXE:0x004735D0 animation sampler] at the end of a clip (frame past its length, 0x473743–0x47374E) with nothing queued ([channel+0x24] == 12, 0x47375D) and model flag 8 (0x473769–0x473776) the sampler starts the idle set 12 (0x472F60) and hides a shown model with 0x45BDD0 (scene unlink 0x576540, then clears bit 0x19); the advisor model has flag 8 (load flags 0x50120 at 0x429C9D: 0x461F10 ORs 8 at 0x4621C9, 0x4557C0 copies it into the model) |
| TPW-EXE:0x004735D0 animation sampler | source/OpenTPW/World/AdvisorSequence.cs:80 | [BIN:TPW-EXE:0x004735D0 animation sampler] a clip runs to its own length before the sampler frees the channel (0x473743-0x47374E); only the table entry of clip 14 (0xF796FC) is zeroed, by 0x5989C0 |
| TPW-EXE:0x004735D0 restored channel update | source/OpenTPW/World/Objects/ObjectAnimator.cs:427 | [BIN:TPW-EXE:0x004735D0 restored channel update] the next channel update recomputes the frame as (u32)(clock − StartAnimTime) × speed × 0.03 on the clock the save writer stored and the loader set again (0x4164C0, 0x415270), and an ended control (flags & 6 = 4) keeps the frame at its total |
| TPW-EXE:0x004735D0 restored channel update | source/OpenTPW/World/Objects/OriginalObjectRuntime.SavedScene.cs:28 | [BIN:TPW-EXE:0x004735D0 restored channel update] the next channel update takes the frame as (u32)(clock − StartAnimTime) × speed × 0.03 on the clock the save writer stored and the loader set again (0x4164C0, 0x415270); flags & 6 = 4 (ended) keeps the frame at its total, flag 0x2 at 0; an AnimID-12 control binds nothing (0x472D10) |
| TPW-EXE:0x00473A40 face normals | source/OpenTPW.Tests/QueueModelDrapeTests.cs:225 | [BIN:TPW-EXE:0x00473A40 face normals] the refresh after the drape rewrites only the entry a face's first word points to; every queue face points into the face-normal block, so the stored corner normals light the draped model as they do the original |
| TPW-EXE:0x00473A40 face normals | source/OpenTPW.Tests/TrackDrapeTests.cs:252 | [BIN:TPW-EXE:0x00473A40 face normals] a face's first word minus its top bit indexes the normal block (corner normals first, then face normals); 0x473A40 rewrites only that entry |
| TPW-EXE:0x00473C8A idle restart | source/OpenTPW/World/Original/QueueModelAnimation.cs:179 | [BIN:TPW-EXE:0x00473C8A idle restart] 0x473C70 asks 0x473490 whether every channel is idle (the none animation 12, or its frame past the clip's duration, +0x1C) and then starts group 5 variant 0 on channel 0 with 0x4732A0(instance, 5, 0, flags, 1.0, 0) (0x473C9A..0x473CAB, up to three tries); the instance flag 0x8004 (set by the creation flags 0x1 and 0x80, which 0x33A of the queue models has neither of) skips it; group 5 is the letter M (the table 0x6FE6BC), the clip file <model>m.md2 (the loader's twelve-letter pass, 0x4623A2, 0x4623D1) |
| TPW-EXE:0x00473C8A queue torches | source/OpenTPW/World/Original/OriginalTerrain.cs:640 | [BIN:TPW-EXE:0x00473C8A queue torches] the fire0 torches of queend and quebin1/2 are animated in the original: the loader reads every <model>m.md2 member (0x4623A2, 0x4623D1; +0xA8 counts the clips), the creation flags 0x33A leave the instance flag 0x8004 clear, so the idle restart of 0x473C70 starts group 5 (the letter M) and restarts it with the carry of its overshoot (0x47300E, 0x472C12); cells made in one frame share a player and a batch (QueueAnimationGroup), the cells a path edit remakes with their neighbours start again as a group of their own (0x5365D0 -> 0x522A90, 0x5229E0), the other meshes are baked |
| TPW-EXE:0x00474070 clip length | source/OpenTPW/World/AdvisorSequence.cs:70 | [BIN:TPW-EXE:0x00474070 clip length] returns (uint)(trailer word 2 × 1000) / 30, and 0 when the slot has no clip at that index |
| TPW-EXE:0x00475010 bounded dispatch | source/OpenTPW/World/Staff/StaffSpriteVm.cs:88 | [BIN:TPW-EXE:0x00475010 bounded dispatch] record last PC before each handler; at most 50 handlers in one opportunity |
| TPW-EXE:0x00475360 sprite opportunity | source/OpenTPW/World/Staff/StaffSpriteVm.cs:68 | [BIN:TPW-EXE:0x00475360 sprite opportunity] direct signed now > due, unchecked addition, no catch-up; ended state is removed only when due |
| TPW-EXE:0x00475360 sprite script pass | source/OpenTPW/World/Guests/BalloonRenderer.cs:141 | [BIN:TPW-EXE:0x00475360 sprite script pass] the burst's first frame and each fade step come on a due pass of the strict sampled-clock test, deadline = sample + 62, none at the burst itself (BalloonSpriteState.Tick) |
| TPW-EXE:0x00475360 visitor sprite clock | source/OpenTPW/World/Guests/VisitorSpriteState.cs:54 | [BIN:TPW-EXE:0x00475360 visitor sprite clock] signed jle at 0x4753B9 skips now <= due; 0x47540D writes now + interval, with 32-bit wrap and no catch-up loop |
| TPW-EXE:0x00475730 sprite loader | source/OpenTPW/Economy/OriginalEconomyImport.cs:505 | [BIN:TPW-EXE:0x00475730 sprite loader] the person's sprite handle (+0x0C) names the saved record: its program position, stack, registers, due time and interval are the member's sprite source (SAVE-013) |
| TPW-EXE:0x00475730 sprite loader | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:177 | [BIN:TPW-EXE:0x00475730 sprite loader] the saved record (program counter, entry, run state, due time against the saved game clock, period, output frame) is what the loader reads back for the person's handle (0x4D4140 binds the handle, 0x4D93B0 the person's pending words) |
| TPW-EXE:0x00475730 sprite loader | source/OpenTPW/World/Guests/SavedSpriteScripts.cs:120 | [BIN:TPW-EXE:0x00475730 sprite loader] 'SCPT' and 0x118, the slot count, the slot words, then the 0x118-byte record of every nonzero slot from 1 on, each with its program table word (+0x14) set to 0x74DAB8; the due time (+0x7C) is read against the game clock 0x785970, which a load sets from the Clock block (0x4031F0) |
| TPW-EXE:0x004758F0 sprite construction | source/OpenTPW/World/Staff/StaffSpriteVm.cs:29 | [BIN:TPW-EXE:0x004758F0 sprite construction] alpha=255, primary/secondary scale=1; caller supplies pose/resource words |
| TPW-EXE:0x004758F0 sprite interval | source/OpenTPW/World/Staff/StaffSprites.cs:44 | [BIN:TPW-EXE:0x004758F0 sprite interval] a sprite is created with the interval 62 ms (+0x80 = 0x3E) and the first due time 62 ms later; a walk step's own interval (0x004FA2A0, 0x004D41D0) is the clamp(trunc(62 / v), 0, 250) of its length times 0x007006E8 |
| TPW-EXE:0x00475B80 template replacement | source/OpenTPW/World/Staff/StaffSpriteState.cs:140 | [BIN:TPW-EXE:0x00475B80 template replacement] a number 0 to 3 in the table is a bank performance entry: 0x00540C70 reads its program, slot (stored at +0xB4) and the frame count of the slot (0x00540C60, +0xBC) from the bank of the sprite's kind and variant, the entry's intro and hold bytes go to locals and are not stored (they are written only when a sprite is created with such an entry, 0x00475A10, which no staff creation does), then the program becomes the current and restart PC and the stack and three depths are cleared |
| TPW-EXE:0x00475B80 template replacement | source/OpenTPW/World/Staff/StaffSpriteVm.cs:37 | [BIN:TPW-EXE:0x00475B80 template replacement] reset current/restart PC, stack pointer and three depths only |
| TPW-EXE:0x00475B80 visitor template application | source/OpenTPW/World/Guests/VisitorSpriteState.cs:73 | [BIN:TPW-EXE:0x00475B80 visitor template application] direct program pointers replace current/restart PC and control bookkeeping, without writing due, interval or output |
| TPW-EXE:0x00475C16 frame count | source/OpenTPW/World/Staff/StaffSpriteState.cs:150 | [BIN:TPW-EXE:0x00475C16 frame count] the count is the bank's own byte, stored as it is (0x00475C1B, from 0x00540C60), and an empty slot of a loaded bank gives 0 too; only without banks (headless) is there nothing to read, and 1 stands in |
| TPW-EXE:0x00475CF0 full sprite copy | source/OpenTPW/World/Guests/VisitorSpriteState.cs:90 | [BIN:TPW-EXE:0x00475CF0 full sprite copy] the 0x118-byte record is copied whole, then the handle, position, primary scale and flags are replaced; the guest player's own words are all in the copy |
| TPW-EXE:0x00475CF0 full sprite copy | source/OpenTPW/World/Staff/StaffSpriteVmState.cs:97 | [BIN:TPW-EXE:0x00475CF0 full sprite copy] all record words are copied before handle, XYZ, primary scale and flags are replaced |
| TPW-EXE:0x00475E10 partial sprite copy | source/OpenTPW/World/Guests/VisitorSpriteState.cs:100 | [BIN:TPW-EXE:0x00475E10 partial sprite copy] copies the program table, the program counter (+0x08), kind, variant, slot, intro and hold, alpha, secondary scale, heading, the output word, the frame and the frame count; not the restart counter (+0x0C), the stack, the depths, the due time (+0x7C), the interval (+0x80) or the run state |
| TPW-EXE:0x00475E10 partial sprite copy | source/OpenTPW/World/Staff/StaffSpriteVmState.cs:111 | [BIN:TPW-EXE:0x00475E10 partial sprite copy] exact allowlist; flags mask the destination's existing word, never source flags |
| TPW-EXE:0x004763D0 WHILE | source/OpenTPW/World/Staff/StaffSpriteVm.cs:178 | [BIN:TPW-EXE:0x004763D0 WHILE] depth <= 0 consumes operands but does not pop, compare, jump or repair depths. |
| TPW-EXE:0x004766D0 SET and ADD | source/OpenTPW/World/Staff/StaffSpriteVm.cs:120 | [BIN:TPW-EXE:0x004766D0 SET and ADD] integer operand converts to float for registers 1..6; other words wrap |
| TPW-EXE:0x00476940 visitor sprite frame | source/OpenTPW/World/Guests/VisitorSpriteState.cs:55 | [BIN:TPW-EXE:0x00476940 visitor sprite frame] FRAME writes the frame, sets visibility and yields; setup and JMP do not consume a separate frame |
| TPW-EXE:0x00476C50 UI model matrix | source/OpenTPW/UI/Original/UiWidgets.cs:306 | [BIN:TPW-EXE:0x00476C50 UI model matrix] a nonzero angle a (4096 a turn: a·π/2048) makes the rows (cos a, −4/3 sin a) and (3/4 sin a, cos a) about the pivot in the 4:3 view's |
| TPW-EXE:0x0047F020 message box | source/OpenTPW/UI/Original/UiDialogs.cs:124 | [BIN:TPW-EXE:0x0047F020 message box] builds table 0x74F920, gives the text control the colour of its descriptor (+4..+6), centred (+0xD8 = 1, 0x65C428) with wrapping (+0xDA = 1, 0x65C4B9), and fills the |
| TPW-EXE:0x004815E0 level load | source/OpenTPW/Hud/ParkHud.LossWindow.cs:77 | [BIN:TPW-EXE:0x005168F0 park lost] the bank's message sets the world state 4 and calls 0x481B50 -> 0x48AC40, the loss window; [BIN:TPW-EXE:0x004815E0 level load] a loaded park whose world state is 4 runs 0x48ADB0 instead, the overlay without the camera |
| TPW-EXE:0x00481790 staff locator key | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:254 | [BIN:TPW-EXE:0x00481790 staff locator key] while the per-employee window is open ([0x7cc3c0], +0x10 of the window object 0x7cc3b0) the key opens 0x4b3f60 with |
| TPW-EXE:0x004817c0 visitor locator key | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:267 | [BIN:TPW-EXE:0x004817c0 visitor locator key] while the visitor info window is open (its window word [0x7cc418], +0x10 of the window object 0x7cc408 that 0x4b79b0 opens) |
| TPW-EXE:0x004824d0 next thing | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:410 | [BIN:TPW-EXE:0x004824d0 next thing] mask 1 accepts types 4-8 (0x481f80), following older links +8 from head 0x7cf56c; |
| TPW-EXE:0x004824d0 next thing | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:281 | [BIN:TPW-EXE:0x004824d0 next thing] mask 0x40 walks the thing list (a new thing goes to its head, 0x516270) from the visitor's next node to the first type-1 thing, and 0x483740 starts at the head when |
| TPW-EXE:0x00482598 staff locator order | source/OpenTPW/Economy/ParkStaff.RoleOrder.cs:5 | [BIN:TPW-EXE:0x00482598 staff locator order] each role has its own world head and member +0x210 next link; |
| TPW-EXE:0x00482757 visitor locator order | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:541 | [BIN:TPW-EXE:0x00482757 visitor locator order] mask 64 walks the used head (0x516130) and older links (0x516160), accepting type 1 regardless of sprite visibility; |
| TPW-EXE:0x004828F0 next object of a type | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:337 | [BIN:TPW-EXE:0x004828F0 next object of a type] the window code's walks over the objects of a type (the next one after a given object, 0x004824D0 → 0x004828F0, and the counts 0x00481E40) skip every add-on (AddOn.UpgradesId through 0x004E2710, 0x00482972), and a click on an add-on never opens its own window (Level.WindowTarget): the arrows skip them too |
| TPW-EXE:0x00485F60 exit status | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:481 | [BIN:TPW-EXE:0x00485F60 exit status] the exit test 0x4DE5A0 (ParkGate.ExitConnected) runs for a ride (type +0x4AC 0) that is no add-on (upgrade parent 0, +0x288 not 2) once its queue is connected, and a failing exit shows status 0x18, EXIT NOT CONNECTED |
| TPW-EXE:0x00485ec0 staff state frame | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:517 | [BIN:TPW-EXE:0x00485ec0 staff state frame] display state 0 and 1 → 0, 2 → 1, 3 → 2, 4 → 3, any other → 9 (staffstat has frames staffstat, busy, resting, strike) |
| TPW-EXE:0x00486530 clone placement | source/OpenTPW/World/PortraitSprites.cs:43 | [BIN:TPW-EXE:0x00486530 clone placement] x = float(left + ((right - left) >> 1) - 0x3F8) * 2^-10 (0x6FF154), y = float(((bottom - top) >> 2) - ftol(scale * -0.25) - bottom + 0x300) * (1/768) (0x6FF160, 0x6FF150), z = 1 - float(depth) / 40 (0x476A70: 0x74F898, 0x6FEDD8); the employee window passes depth + 1 and scale 8.0 (0x4B537A to 0x4B538E), the visitor window depth + 2 and 12.0 (0x4B6BDA to 0x4B6BF0) |
| TPW-EXE:0x00486530 full copy | source/OpenTPW/World/PortraitSprites.cs:56 | [BIN:TPW-EXE:0x00486530 full copy] if [0x7C24D8] is set the old clone is deleted (0x475550, 0x486543); the argument becomes [0x7C24D8]; a person whose handle word (+0x0C) is 0 clears [0x7C24D8] again and returns (0x48655B), else 0x475CF0 copies the person's sprite and the new handle is stored in [0x7C24A0] |
| TPW-EXE:0x00486530 position | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:169 | [BIN:TPW-EXE:0x00486530 position] uses the control's inner rectangle; integer shifts precede host canvas scaling. |
| TPW-EXE:0x00486530 position | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:267 | [BIN:TPW-EXE:0x00486530 position] scale 12 gives trunc(12 * -0.25) = -3; inner (477,281)..(704,510) gives (598,450). |
| TPW-EXE:0x00486610 partial refresh | source/OpenTPW/World/PortraitSprites.cs:90 | [BIN:TPW-EXE:0x00486610 partial refresh] [0x7C24D8] and its handle word (+0x0C) both non-zero: 0x475E10(clone, handle); else nothing, so a source that is gone leaves the clone running on its own, and a source that gets a new sprite is followed through the person's current handle |
| TPW-EXE:0x00486630 clone delete | source/OpenTPW/World/PortraitSprites.cs:113 | [BIN:TPW-EXE:0x00486630 clone delete] with [0x7C24D8] set the clone is deleted (0x475550) and [0x7C24D8] zeroed |
| TPW-EXE:0x00486900 thing window dispatcher | source/OpenTPW/World/AdvisorHelp.cs:179 | [BIN:TPW-EXE:0x00486900 thing window dispatcher] the object's window is chosen by its kind: 0x4AF980 (calls at 0x4869CB and 0x4869F1), 0x4B0E30 (0x486A01) or 0x4B2430 (0x486A11) |
| TPW-EXE:0x00486920 object window | source/OpenTPW/World/Level.AddOns.cs:175 | [BIN:TPW-EXE:0x00486920 object window] a ride-type object (+0x4AC 0) that is not an add-on of AddOn.UpgradeType 2: an object whose word +0x30 names a thing (0x004E0DF0) opens that thing's ride window (0x004AF980); the placement sets +0x30 to the clicked tile's ride for an add-on placed with the upgrade selection (0x0052A023 → 0x004E0DE0) and to 0 for anything else; without it an add-on (AddOn.UpgradesId, 0x004E2710) opens nothing and any other ride its own window |
| TPW-EXE:0x00486920 thing info | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:13 | [BIN:TPW-EXE:0x00486920 thing info] a click on a staff thing (types 4-8) opens this window too; OpenTPW opens it from the staff list (no staff click in the park) |
| TPW-EXE:0x00486920 thing window dispatcher | source/OpenTPW/World/AdvisorHelp.cs:180 | [BIN:TPW-EXE:0x00486920 thing window dispatcher] a placed object (thing type 3) opens its window by its kind word +0x4AC (Info.WhichUIType): 0 the ride window (0x4AF980), 1 the shop window (0x4B0E30), 2 the sideshow window (0x4B2430), 3 a feature's window by the thing flags +0x32, and no window for a larger value (the jump table 0x486A90 ends at 3); a feature with bit 0 (UsageInfo.ProvidesRelief) opens 0x497990, with bit 1 (UsageInfo.ChillsYouOut) 0x4B5290, any other 0x499EB0 |
| TPW-EXE:0x00486958 ride kind dispatch | source/OpenTPW/World/AdvisorHelp.cs:181 | [BIN:TPW-EXE:0x00486958 ride kind dispatch] a ride-type object whose type record +0x288 (AddOn.UpgradeType, +0x284 is AddOn.UpgradesId) is 2 opens the window of table 0x7573C8 (0x4B6AE0) instead of the ride window: it posts 0x12D (301) as it opens (0x4B6B09) and its close handler withdraws it (0x4B6850) |
| TPW-EXE:0x00486B00 advise | source/OpenTPW/Client/AutomaticAdvisor.cs:333 | [BIN:TPW-EXE:0x00486B00 advise] the window builders post their message (the title-string identified windows of AdvisorUiHelp) through 0x486B00 as they open, which builds the record (0x59B590, score from the descriptor's callback) and queues it (0x59A940) |
| TPW-EXE:0x00486B00 advise | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:21 | [BIN:TPW-EXE:0x00486B00 advise] the original's window builders post their help as they open (0x486B00) and their close handlers withdraw it (0x486B40) |
| TPW-EXE:0x00486B40 unadvise | source/OpenTPW/Client/AutomaticAdvisor.cs:366 | [BIN:TPW-EXE:0x00486B40 unadvise] the window close handlers withdraw their message through 0x486B40 → 0x59AA70 |
| TPW-EXE:0x004879D0 park click | source/OpenTPW/World/Level.Objects.cs:985 | [BIN:TPW-EXE:0x004879D0 park click] hover states 1 and 2 build the tool object 0x46C580(1), whose enter 0x46D5A0 calls SetMode(1) (0x52F200: the start −1); the click handler 0x524960 then takes the click as the tool's first click (CellBuildTool.ClickWithoutStart); OpenTPW's HUD hands it the click it reports, the press, as it does every tool click |
| TPW-EXE:0x004879D0 queue click | source/OpenTPW/World/Level.Input.cs:534 | [BIN:TPW-EXE:0x004879D0 queue click] the park-view click (hover state 3: a type-3 cell with an owning ride) builds tool 0x14, whose enter 0x0046D5A0 moves the cursor to the clicked cell (0x005234D0) and calls SetMode(0x14, 1) (0x0046D5F6); the next cell click in 0x00524960 (mode 0x14, 0x005260F7) walks the queue from the entrance into the corner list (0x00530120), runs the queue edit 0x004DE1F0 and enters mode 3 (0x0052F580), and 0x00530120 ends by setting the line start 0x81EDE4/0x81EDE8 to the queue's last corner (its tail, 0x00530120's last stores), so the line goes on from the queue's back cell, as EnterQueueTool starts it |
| TPW-EXE:0x004879d0 visitor click | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:14 | [BIN:TPW-EXE:0x004879d0 visitor click] the park click in cursor mode 7 and the All Visitors list's row message 0x400 (0x49351e) both open it for the picked or the row's visitor |
| TPW-EXE:0x00487c43 park visitor click | source/OpenTPW/Hud/ParkHud.VisitorSelection.cs:13 | [BIN:TPW-EXE:0x00487c43 park visitor click] the park click handler 0x4879d0 (cursor mode 7) opens the visitor window (0x4b79b0, on the window object 0x7cc408) for the picked thing [0x7c2650], which the Ctrl+V locator then takes |
| TPW-EXE:0x00488BA0 default window procedure | source/OpenTPW/World/AdvisorHelp.cs:136 | [BIN:TPW-EXE:0x00488BA0 default window procedure] called with the window message from the procedures of the buy (0x4AC80B), hire staff (0x49B768), all attractions (0x495331), loans (0x49F81B), finance (0x49A100, 0x49A149, 0x49A1B7), park information (0x4A4A9B), all visitors (0x49337C) and ticket price (0x498D53, in 0x498C60 with its withdrawal 0x498CC7) and all staff (0x495EE5, the end of 0x495DA0, beside its withdrawal 0x495F3B) windows, each beside its window's withdrawal call; six more callers (0x48D27E, 0x4A8111, 0x4A9B3A, 0x4B26F7, 0x4B7ADA and one of the finance sites) belong to windows not identified |
| TPW-EXE:0x00488C02 F1 replay | source/OpenTPW/World/AdvisorController.cs:501 | [BIN:TPW-EXE:0x00488C02 F1 replay] message 0x1000B with key 0x70 and no modifier byte calls the controller getter 0x5194D0 and 0x59AB50 |
| TPW-EXE:0x004893C0 language meshes | source/OpenTPW.Files/Public/GameLanguage.cs:223 | [BIN:TPW-EXE:0x004893C0 language meshes] the UI start-up (0x489CA0) registers every .md2 of the language folder (0x41A820) with the ui.wad models, its textures read from data\ui\textures |
| TPW-EXE:0x004893C0 language meshes | source/OpenTPW/UI/Original/UiModels.cs:137 | [BIN:TPW-EXE:0x004893C0 language meshes] the UI start-up registers the language folder's .md2 files in the same registry as ui.wad's (0x489060, keyed by the root node name's hash) |
| TPW-EXE:0x00489F50 camcorder screen | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:22 | [BIN:TPW-EXE:0x00489F50 camcorder screen] the ride view's screen is not reported: the whole direct-call closure of its two creators (0x489F50: 424 functions, 0x48A410: 181, followed to the end) never reaches the interface mode change 0x52F200, so entering it does not withdraw mode help (calls through pointers are not followed) |
| TPW-EXE:0x0048A66B virtual mouse | source/OpenTPW/Hud/VisitorCirclePicker.cs:86 | [BIN:TPW-EXE:0x0048A66B virtual mouse] integer virtual 2048x1536 coordinates; 0x532C26/0x532C45 normalize with float constants 1/1024 and 1/767.5. |
| TPW-EXE:0x0048A7BD loss right click | source/OpenTPW/Hud/ParkHud.LossWindow.cs:116 | [BIN:TPW-EXE:0x0048A7BD loss right click] RMBCancelOn ([0x78D911]), the window's pointer [0x7C24CC] not 0 and the clock (0x65968E) strictly more than 0x7D0 ms past the stamp of the window's creation message 0x15 (0x48A789) run the same exit on message 0x10006, button 1. |
| TPW-EXE:0x0048A7DB loss dismissal | source/OpenTPW/Hud/ParkHud.LossWindow.cs:169 | [BIN:TPW-EXE:0x0048A7DB loss dismissal] the handler destroys its window (message 4), leaves the seat camera (0x42A190), hides the HUD with the overlay (0x4A29D0), builds the banner again from the same table as a child of the overlay (0x65FD0E(0x74FB20, 0x48A740) with the overlay as the parent) with the same animation (0x65E72D(0x74FC38, 0x23)), |
| TPW-EXE:0x0048A8A7 loss Escape | source/OpenTPW/Hud/ParkHud.LossWindow.cs:115 | [BIN:TPW-EXE:0x0048A8A7 loss Escape] key 0x1B with modifier bits 0xFF0000 clear leaves the window (message 0x1000B, the same test as the winning handler's 0x48A99E). |
| TPW-EXE:0x0048A99E winning Escape | source/OpenTPW/Hud/ParkHud.Finale.cs:56 | [BIN:TPW-EXE:0x0048A99E winning Escape] key 0x1B with modifier bits 0xFF0000 clear immediately calls 0x516C10. |
| TPW-EXE:0x0048A9CE winning dismissal | source/OpenTPW/Hud/ParkHud.Finale.cs:135 | [BIN:TPW-EXE:0x0048A9CE winning dismissal] the handler calls 0x516C10 (End destroyed, its handle cleared, the seat camera left through 0x42A190), shows the HUD again and keeps the camcorder hidden (message 6), |
| TPW-EXE:0x0048AA41 Instant Action message | source/OpenTPW/Hud/ParkHud.Finale.cs:101 | [BIN:TPW-EXE:0x0048AA41 Instant Action message] after the cleanup the handler shows UITEXT 471 (OpenTPW's CongratulationsInstantAction) in a message box (0x47F020) whose only button is the cross, without an action; in game type 0 it shows nothing |
| TPW-EXE:0x0048AAC2 winning message pause | source/OpenTPW/Hud/ParkHud.cs:242 | [BIN:TPW-EXE:0x0048AAC2 winning message pause] the Instant Action completion message after the winning screen is a 0x47F020 message box too (its call at 0x48AAC2 and 0x48AC06), so winningMessage stops the park until it closes |
| TPW-EXE:0x0048AADB winning right click | source/OpenTPW/Hud/ParkHud.Finale.cs:57 | [BIN:TPW-EXE:0x0048AADB winning right click] RMBCancelOn and elapsed milliseconds strictly above 2000 gate the same cleanup. |
| TPW-EXE:0x0048AC40 loss window | source/OpenTPW/Hud/ParkHud.LossWindow.cs:143 | [BIN:TPW-EXE:0x0048AC40 loss window] exits the prior camera mode (0x42AE70, 0x42A190), rides the gate's camera seat (0x4E15B0), disables the key tables (0x40CFA0), shows the HUD again when it was hidden (0x4A29D0), closes the HUD's own window [0x7C24C8] (message 5) and hides the HUD and camcorder windows (message 6) |
| TPW-EXE:0x0048AC84 loss camera | source/OpenTPW/World/Level.RideView.cs:80 | [BIN:TPW-EXE:0x0048AC84 loss camera] the loss window's builder 0x48AC40 gets the gate thing from the bankruptcy (0x5168F0 passes the thing the world +0x1DA732 names) and calls 0x4E15B0(0) on it, the Ride it! routine: 0x42A560 looks up camera seat 1 in the gate model (the shipped Gates models carry the record, type 0x1031 value 1) and enters the seat camera, mode 4; without the seat it leaves the camera alone (0x42A6EE) |
| TPW-EXE:0x0048AE70 winning screen | source/OpenTPW/Hud/ParkHud.Finale.cs:20 | [BIN:TPW-EXE:0x0048AE70 winning screen] exits the prior camera mode (0x42AE70, 0x42A190), rides End's camera seat (0x4E15B0), disables the key tables (0x40CFA0), hides the HUD and |
| TPW-EXE:0x0048AEBA winning camera | source/OpenTPW/World/Level.RideView.cs:60 | [BIN:TPW-EXE:0x0048AEBA winning camera] the winning screen calls 0x4E15B0(0) on the finale thing, the Ride it! routine: 0x42A560(model, type +0x80, 0, 0, 1) looks up seat 1 with 0x44B220(model, 0x1000, 1) and enters the seat camera, mode 4 (0x42AB20); without the seat it leaves the camera alone (0x42A6EE) |
| TPW-EXE:0x0048AF0C winning pointer | source/OpenTPW/Hud/ParkHud.Cursor.cs:42 | [BIN:TPW-EXE:0x0048AF0C winning pointer] the winning screen hides the camcorder window (message 6), the window that gives the ride view its crosshair (pointer 0x15, 0x65F11D at 0x48A20B), and creates its own full-screen window 0x7472 with no pointer call, so the crosshair is not the pointer over the winning camera; OpenTPW shows the window pointer there |
| TPW-EXE:0x0048AF66 banner pivot | source/OpenTPW/UI/Original/UiAnimatedModel.cs:23 | [BIN:TPW-EXE:0x0048AF66 banner pivot] 0x65D42E copies the banner's rectangle (left, top, right, bottom words, 0x659E3E reads width = right - left) and the right and bottom words, each shifted right by 1 (sar), go to 0x65F345 as the pivot (+0xE4, +0xE6), which the model takes as an absolute canvas point (0x476C50) |
| TPW-EXE:0x0048B9EF pause exit | source/OpenTPW/Client/AutomaticAdvisor.cs:592 | [BIN:TPW-EXE:0x0048B9EF pause exit] Exit To Lobby (command 6, case 0x48B9EF of the handler 0x48B6A0) asks no question: it stores request 2 (0x5508B0) and the park state machine 0x54E360 saves (state 0xB, 0x5AC610) and tears down (state 0xC, which releases the sound handles through 0x51EDA0) whatever the advisor is saying |
| TPW-EXE:0x0048C8D0 pause-menu click gate | source/OpenTPW/Hud/ParkHud.cs:1584 | [BIN:TPW-EXE:0x0048C8D0 pause-menu click gate] the handler tests the pause-menu object, not the speed flag; |
| TPW-EXE:0x0048E0F0 message buttons | source/OpenTPW/Hud/ParkHud.ChallengeMessages.cs:11 | [BIN:TPW-EXE:0x0048E0F0 message buttons] the message panel's action 0x1A calls the accept 0x004D2DF0 and action 0x1B the decline 0x004D2EC0; both act only while an offer waits for its answer (+0x3DA) and answer the current slot (+0x3CC) |
| TPW-EXE:0x0048F862 text alignment | source/OpenTPW/UI/Original/UiDialogs.cs:126 | [BIN:TPW-EXE:0x0048F862 text alignment] the text control's +0xD8 picks left, centre or right (0, 1, 2; Hebrew swaps 0 and 2, 0x4925A0) and +0xD9 the vertical placement (1, the default, centres it); +0xDA set wraps at the control's width |
| TPW-EXE:0x0048ff70 count cell | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:232 | [BIN:TPW-EXE:0x0048ff70 count cell] "%d" |
| TPW-EXE:0x004903e0 money cell | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:229 | [BIN:TPW-EXE:0x004903e0 money cell] UITEXT 0x1c1 "$ %d" (OpenTPW 448), or 0x1c2 "-$ %d" (449) with the magnitude below 0 |
| TPW-EXE:0x00490dc0 number cell | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:227 | [BIN:TPW-EXE:0x00490dc0 number cell] "%d", or UITEXT 0x1c9 (OpenTPW 456, "New Visitor") for 0 |
| TPW-EXE:0x00490ff0 duration cell | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:238 | [BIN:TPW-EXE:0x00490ff0 duration cell] above 48 hours "%d days" (UITEXT 0x1bb) of hours / 24, above 24 "%d day" (0x1ba) of hours / 24 (so 48 hours read "2 day"), else "%d hours" (0x1b9) |
| TPW-EXE:0x00493230 refresh | source/OpenTPW.Tests/StaffWindowTests.cs:356 | [BIN:TPW-EXE:0x00493230 refresh] timer 0x80083 rewrites the cells in place (0x6644ea) and never sorts; only a header press (0x665a44) does |
| TPW-EXE:0x0049326c rows refresh | source/OpenTPW/Hud/OverviewRosters.cs:209 | [BIN:TPW-EXE:0x00493800 row add] and [BIN:TPW-EXE:0x0049326c rows refresh] the hours are (turn − stamp +0x1d4, 0x4fd950) >> 2, shifted back << 2 by the refresh only, |
| TPW-EXE:0x0049326c rows refresh | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:93 | [BIN:TPW-EXE:0x0049326c rows refresh] timer 0x80083 rewrites all six cells of every row (mask 0x3f) with the visitor's values (time in park in whole 4-turn steps) |
| TPW-EXE:0x004933dc visitors buttons | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:265 | [BIN:TPW-EXE:0x004933dc visitors buttons] the tick (-2) closes the window; b_pkinfo (0x1e499) opens the park information (0x4a52a0), b_allstaff (0x1e49a) |
| TPW-EXE:0x00493475 sort word | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:174 | [BIN:TPW-EXE:0x00493475 sort word] message 0x406 writes the list's new sort word back to 0x7508bc, so the order is kept for the session (ListSortMemory) |
| TPW-EXE:0x00493530 all visitors window | source/OpenTPW/World/AdvisorHelp.cs:99 | [BIN:TPW-EXE:0x00493530 all visitors window] columns 0x71-0x76 (Visitor Number .. Happiness): posts 0x11E (286) at 0x4937CA, withdraws it at 0x4933D2 |
| TPW-EXE:0x00493530 visitors window | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:12 | [BIN:TPW-EXE:0x00493530 visitors window] the builder applies table 0x7506c8 (handler 0x493230), gives list 0x1e497 the row template 0x4938c0 / 0x4939d0 |
| TPW-EXE:0x00493800 row add | source/OpenTPW/Hud/OverviewRosters.cs:209 | [BIN:TPW-EXE:0x00493800 row add] and [BIN:TPW-EXE:0x0049326c rows refresh] the hours are (turn − stamp +0x1d4, 0x4fd950) >> 2, shifted back << 2 by the refresh only, |
| TPW-EXE:0x00493800 row add | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:109 | [BIN:TPW-EXE:0x00493800 row add] a new row takes the visitor's values with the time in park from (turn − stamp) >> 2 turns without the refresh's << 2, a quarter of it until the next refresh |
| TPW-EXE:0x004939d0 row template | source/OpenTPW/Hud/OverviewRosters.cs:171 | [BIN:TPW-EXE:0x004939d0 row template] the number and time cells are centred (0x65c428 with 1, 1), the money cell right-aligned (2, 1) |
| TPW-EXE:0x00493b81 thought cell | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:372 | [BIN:TPW-EXE:0x00493b81 thought cell] the ti_hungry model shows the thought's frame (thought − 1); 999 (no thought) draws nothing |
| TPW-EXE:0x00494200 feature row | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:196 | [BIN:TPW-EXE:0x00494200 feature row] the number owned is the park's count of objects of the feature's info id (0x4ca8c0 with the word at +0xe) |
| TPW-EXE:0x00494508 attractions row | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:493 | [BIN:TPW-EXE:0x00494508 attractions row] a row item is font slot 7's height scaled to the 1536-unit canvas, plus 6 (0x7ca158) |
| TPW-EXE:0x00494690 attractions cells | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:519 | [BIN:TPW-EXE:0x00494690 attractions cells] the name is left-aligned (0x6636b2 column 0 mode 0), counts are centred (0x48fde0), money right-aligned (0x490250) |
| TPW-EXE:0x00494ec0 rides list | source/OpenTPW/Hud/OverviewRosters.cs:63 | [BIN:TPW-EXE:0x00494ec0 rides list] the rides list is table 0x750ab8 with headers 82-86 (help 105-109); shops (0x494c70) use the same table with headers |
| TPW-EXE:0x00494ff1 list selection | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:216 | [BIN:TPW-EXE:0x00494ff1 list selection] with an object the filler selects its row (0x664d2a → 0x665739) |
| TPW-EXE:0x00495020 attractions headers | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:557 | [BIN:TPW-EXE:0x00495020 attractions headers] each column header shows its UITEXT label in font slot 8 (0x750d58) and gets its help id (0x486660) |
| TPW-EXE:0x004952b0 attractions buttons | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:390 | [BIN:TPW-EXE:0x004952b0 attractions buttons] the tick (-2) closes the window; b_pkinfo opens the park information (0x4a52a0), b_allstaff the all-staff window |
| TPW-EXE:0x004955e0 list refresh | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:441 | [BIN:TPW-EXE:0x004955e0 list refresh] every 2000 ms (timer 0x80083) the rows of rides, shops and sideshows take new values; features keep theirs |
| TPW-EXE:0x00495AA0 all attractions window | source/OpenTPW/World/AdvisorHelp.cs:93 | [BIN:TPW-EXE:0x00495AA0 all attractions window] titles 0x4E-0x51 (All Rides/Shops/Sideshows/Misc Items): posts 0xBF (191) at 0x495BEC, withdraws it at 0x49531D |
| TPW-EXE:0x00495C20 history sum | source/OpenTPW/Economy/DailyRing.cs:9 | [BIN:TPW-EXE:0x00495C20 history sum] the sum of the newest n entries adds each read as an unsigned 32-bit value in a double; n is cut to the count, with the debug line "CHistory - You asked for the sum of more elements" when it exceeds the size |
| TPW-EXE:0x00495CF0 history read | source/OpenTPW/Economy/DailyRing.cs:8 | [BIN:TPW-EXE:0x00495D40 history count] the count is the size once wrapped, else head + 1; [BIN:TPW-EXE:0x00495CF0 history read] read k (0 = the newest day) takes the entry head - k, wrapping once the ring has wrapped, and fails past the count |
| TPW-EXE:0x00495D40 history count | source/OpenTPW/Economy/DailyRing.cs:8 | [BIN:TPW-EXE:0x00495D40 history count] the count is the size once wrapped, else head + 1; [BIN:TPW-EXE:0x00495CF0 history read] read k (0 = the newest day) takes the entry head - k, wrapping once the ring has wrapped, and fails past the count |
| TPW-EXE:0x00495aa0 attractions tabs | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:23 | [BIN:TPW-EXE:0x00495aa0 attractions tabs] category 0 selects tab 0x12c4ba, 1 0x12c4bc, 2 0x12c4bb, 3 0x12c4bd; the titles are UITEXT 78-81 |
| TPW-EXE:0x00495aa0 attractions window | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:11 | [BIN:TPW-EXE:0x00495aa0 attractions window] the builder applies table 0x7508e0, selects the category's tab, fills the list with the category's list table |
| TPW-EXE:0x00495da0 window procedure | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:18 | [BIN:TPW-EXE:0x00495da0 window procedure] the window has no delete button and no delete flow: its buttons are the tick, park information (0x32e), visitors (0x32f), attractions (0x330) and the role tabs; a row click opens |
| TPW-EXE:0x00495de0 rows refresh | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:215 | [BIN:TPW-EXE:0x00495de0 rows refresh] the timer message rewrites the status, skill and happiness cells of every row in place (mask 0x1a) and never moves a row |
| TPW-EXE:0x00495f0d title (message 0x15) | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:288 | [BIN:TPW-EXE:0x00495f0d title (message 0x15)] message 0x15 sets the text of 0x328 to UITEXT 0x64 (All Staff) |
| TPW-EXE:0x00495f45 buttons | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:326 | [BIN:TPW-EXE:0x00495f45 buttons] the tick (-2) closes the window; b_pkinfo (0x32e) opens the park information (0x4a52a0), b_kids (0x32f) the All Visitors window (0x493530) and b_allthings (0x330) |
| TPW-EXE:0x00495fe0 sort word | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:248 | [BIN:TPW-EXE:0x00495fe0 sort word] message 0x406 writes the list's new sort word back to 0x75118c, so the order is kept for the session (ListSortMemory); the press sorts the rows in place (0x6628f4) and the selected position stays |
| TPW-EXE:0x00496320 row adder | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:107 | [BIN:TPW-EXE:0x00496320 row adder] the cells: the staff name (0x506860), the status 0x5064f0 as the STAFFSTATES string (0 instead of 1 without a patrol area of its own, 0x506eb0), the wage 0x506870, the skill 0x506550 × 1024 / 100 and the low byte of the truncated happiness (+0x1f8) × 1024 / 100 |
| TPW-EXE:0x00496620 all staff window | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:11 | [BIN:TPW-EXE:0x00496620 all staff window] the builder (arguments: the tab, -1 for the last one, and a staff thing to select) records the window as the last info window (0x4a0810 with 2 and 4, the HUD info button's memory), |
| TPW-EXE:0x00496620 all staff window | source/OpenTPW/World/AdvisorHelp.cs:100 | [BIN:TPW-EXE:0x00496620 all staff window] columns 0x65-0x69 (Name .. Happiness), the title UITEXT 0x64 (All Staff): its builder posts 0x11D (285) as its last act (0x496BA3), the window procedure 0x495DA0 withdraws it on message 0x14 (0x495F3B) and passes the keys it does not handle to the default window procedure (0x495EE5) |
| TPW-EXE:0x00496620 callers | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:16 | [BIN:TPW-EXE:0x00496620 callers] the callers are the park information window's b_allstaff (0x4a4a5d), the visitors and attractions windows (0x493448, 0x495301), the HUD info button when the last info window was this one |
| TPW-EXE:0x0049687f selected thing | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:126 | [BIN:TPW-EXE:0x0049687f selected thing] a thing handed to the builder is found among the rows (0x664d2a) and selected (0x665739) |
| TPW-EXE:0x004968e4 happiness frame | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:315 | [BIN:TPW-EXE:0x004968e4 happiness frame] the frame 0x329 holds the label 0x32a (the tab's UITEXT) over the bar 0x32d and the label 0x32b (UITEXT 0x6a) over the bar 0x32c, both bars over happygrad.wct (0x7508c0), the labels in font slot 6 |
| TPW-EXE:0x00496a8f bars (0x496b71 for the role's) | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:148 | [BIN:TPW-EXE:0x00496a8f bars (0x496b71 for the role's)] the frame's bars are written when the window is built and by a tab press only: the 2000 ms timer (0x495de0) refreshes the rows alone |
| TPW-EXE:0x00496c26 staff row height | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:406 | [BIN:TPW-EXE:0x00496c26 staff row height] a row item is font slot 7's height scaled to the 1536-unit canvas, plus 6 (0x7ca170), as the attractions rows are |
| TPW-EXE:0x00496d20 bar cells | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:429 | [BIN:TPW-EXE:0x00496d20 bar cells] the skill cell is a type-9 control over ridestatbar.wct (0x750e00), the happiness cell one over happygrad.wct (0x7508c0), both on the 0..1024 scale |
| TPW-EXE:0x00497990 relief window | source/OpenTPW/World/AdvisorHelp.cs:182 | [BIN:TPW-EXE:0x00497990 relief window] after building the window of layout table 0x751190 it truncates the float at the object's +0x44 (the state, as the ride window's repair) and posts 0xD5 (213) at 0x4979CA when its low byte is below 0x19, else 0x12B (299) at 0x4979DB; the close handler withdraws 0x12B and then 0xD5 (0x4976A0, 0x4976AD) |
| TPW-EXE:0x004980D1 loop button | source/OpenTPW/World/Coasters/CoasterBuilder.cs:75 | [BIN:TPW-EXE:0x004980D1 loop button] the panel enables the loop button only when the ride's level byte (thing +0x50) is at least 1 (0x4980D6) and hides it at level 0 (0x49880F, 0x4987f0); nothing there looks at the coaster's loop pylon, so the button also shows on a coaster without one (see LoopUnlocked); see CoasterToolPanel.EnabledMask |
| TPW-EXE:0x004980D1 loop button | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:256 | [BIN:TPW-EXE:0x004980D1 loop button] the panel enables the loop button (control 0x20) only when the mask has bit 2 and the ride's level byte (thing +0x50, the upgrade level 0x4DF8F0 raises) is at least 1 (0x4980D6), and the refresh 0x4987F0 hides it at level 0 (0x49880F); the descriptor's flag 0x80 is set for every coaster (the loader ORs 0xA0), so the level is the only gate (a coaster without a loop pylon shows the button too, and its selection only picks the build mode, CoasterBuilder.LoopUnlocked) |
| TPW-EXE:0x004982A0 coaster panel | source/OpenTPW/World/AdvisorHelp.cs:265 | [BIN:TPW-EXE:0x004982A0 coaster panel] the press of its buttons posts 0x121 (move, control 0x1B), 0x125 (build, 0x1F), 0x126 (loop, 0x20: 0x127 when the coaster is a flume, mask bit 0x200) and 0x124 (demolish, 0x21); the close message 0x1001D8 withdraws all five |
| TPW-EXE:0x00498D80 ticket price window | source/OpenTPW/Hud/ParkHud.Management.cs:205 | [BIN:TPW-EXE:0x00498D80 ticket price window] the park's name (0x4E2780 via 0x486280) is shown on the window's control 0x4F3AF, whose click (message 0x10006, handler 0x499060) opens the rename dialog 0x4990F0 |
| TPW-EXE:0x00498D80 ticket price window | source/OpenTPW/World/AdvisorHelp.cs:102 | [BIN:TPW-EXE:0x00498D80 ticket price window] title text 0xA0 (Ticket Price): posts 0x12F (303) at 0x499038, withdraws it at 0x498CC7 |
| TPW-EXE:0x004990F0 park rename dialog | source/OpenTPW/Hud/ParkHud.Management.cs:270 | [BIN:TPW-EXE:0x004990F0 park rename dialog] title UITEXT 0xC2 (Rename Item), fields 0x3943C and 0x3943D filled from the gate's lines (0x4E2860, 0x4E2920) with a limit of 14; its handler 0x4993E0 applies the fields on OK and closes on cancel |
| TPW-EXE:0x004990F0 park rename dialog | source/OpenTPW/World/Original/ParkNameLines.cs:16 | [BIN:TPW-EXE:0x004990F0 park rename dialog] each edit field is bound to its buffer (0x7C2668, 0x7C2688) with a limit of 0xE (0x6662B7 stores it at +0x13C); a typed character is inserted only while the text is shorter than that limit (0x667833) |
| TPW-EXE:0x004990F0 park rename dialog | source/OpenTPW/World/Original/ParkNameLines.cs:74 | [BIN:TPW-EXE:0x004990F0 park rename dialog] field 0x3943C is filled from 0x4E2860 and field 0x3943D from 0x4E2920; how a longer line is cut to the 14-character field is not read, OpenTPW keeps the first 14 characters |
| TPW-EXE:0x004993E0 park rename OK | source/OpenTPW/World/Original/OriginalGateSign.cs:170 | [BIN:TPW-EXE:0x004993E0 park rename OK] the two fields are stored as the gate's lines (0x4E2950, 0x4E2A50) and the gate's sign is redrawn from the two fields (0x4682B0 -> 0x467A80 with explicit lines, no split) |
| TPW-EXE:0x004993E0 rename handler | source/OpenTPW/World/Level.cs:170 | [BIN:TPW-EXE:0x004993E0 rename handler] OK stores the two fields on the park gate (mParkGates +0x1DA732: the setters 0x4E2950/0x4E2A50 into +0x3C8/+0x40A) and redraws the sign (0x4682B0); the secret name's 0x4053C0(1) posts a message of type 0x15 (0x40FB10), whose subscriber list is empty: the message centre 0x788D3C keeps one list per type (29 of them; subscribe 0x40F9E0 through the accessor 0x415E00), and the 43 subscribe sites of tp.exe use the types 1, 2, 5, 7, 8, 0xA to 0xF, 0x11 to 0x14, 0x17 to 0x1C, never 0x15, so the post reaches nobody and nothing is built for it |
| TPW-EXE:0x00499EB0 feature window | source/OpenTPW/World/AdvisorHelp.cs:184 | [BIN:TPW-EXE:0x00499EB0 feature window] the window posts 0x12A (298) at 0x499ED9 and its close handler withdraws it (0x499C10) |
| TPW-EXE:0x0049AC60 financial information window | source/OpenTPW/World/AdvisorHelp.cs:95 | [BIN:TPW-EXE:0x0049AC60 financial information window] titles 0xA2-0xA9 (Bank Balance .. Staff Costs): posts 0xC5 (197) at 0x49B503, withdraws it at 0x49A139 |
| TPW-EXE:0x0049B7B4 hire window close | source/OpenTPW/Hud/ParkHud.Staff.cs:345 | [BIN:TPW-EXE:0x0049B7B4 hire window close] the close deletes the figure (0x475550) and writes -1 to the cached pair, so the next open starts a new one |
| TPW-EXE:0x0049B7B4 hire window close | source/OpenTPW/World/PortraitSprites.cs:157 | [BIN:TPW-EXE:0x0049B7B4 hire window close] deletes the figure (0x475550) and writes -1 to 0x7523E8 and 0x7523EC |
| TPW-EXE:0x0049B9DD hire help | source/OpenTPW/World/AdvisorHelp.cs:103 | [BIN:TPW-EXE:0x0049B9DD hire help] the hire posts 0x135 (309, place your new staff member) at 0x49B9DD once the hire window is closed; the Place tool's end (0x46C890) withdraws it at 0x46C8D4 |
| TPW-EXE:0x0049BA00 hire figure | source/OpenTPW/Hud/ParkHud.Staff.cs:388 | [BIN:TPW-EXE:0x0049BA00 hire figure] when the selected candidate's role (+0) or variant byte (+9) changes, the old figure goes (0x00475550) and a new one of thing type 5, 6, 4, 7 or 8 for the roles 0..4 (handyman, entertainer, mechanic, guard, researcher) with that variant is created in control 9348's rectangle (0x00475A10 with the script 0x0074F758), and its register 8 is set to 8.0 (0x004755D0) |
| TPW-EXE:0x0049BA00 hire figure | source/OpenTPW/World/PortraitSprites.cs:140 | [BIN:TPW-EXE:0x0049BA00 hire figure] the role byte (+0) and variant byte (+9) are compared with the cached pair (0x7523E8, 0x7523EC); a change stores them, deletes the old figure (0x475550) and creates the script 0x74F758 (0x475A10) of the sprite kind 5, 6, 4, 7 or 8 for the roles 0..4 at the box's placement (0x49BA49 to 0x49BAA4, scale register 8 = 8.0 by 0x4755D0) |
| TPW-EXE:0x0049BA00 hire figure phases | source/OpenTPW/Hud/ParkHud.Staff.cs:344 | [BIN:TPW-EXE:0x0049BA00 hire figure phases] an applicant the pool does not return (0x507BD0) leaves the figure as it is; the same role and variant byte as the cached pair (0x7523E8, 0x7523EC) keeps it; else the old figure goes (0x475550) and a new script (0x74F758) starts, whose first FRAME shows after the first due pass (0x4758F0: deadline = clock + 62, 0x475360: strictly later), so no frame shows at once |
| TPW-EXE:0x0049BDD0 hire staff window | source/OpenTPW/World/AdvisorHelp.cs:92 | [BIN:TPW-EXE:0x0049BDD0 hire staff window] hire titles 0x8B-0x92: posts 0xBD (189) at 0x49C805, withdraws it at 0x49B7E6 |
| TPW-EXE:0x0049FA00 loan list | source/OpenTPW/Economy/ParkEconomy.cs:227 | [BIN:TPW-EXE:0x0049FA00 loan list] the Available tab lists an offer whose bought flag (+0x28) is clear and whose stored test (+0x14) passed; the Bought tab lists the bought ones |
| TPW-EXE:0x0049FA00 loan list | source/OpenTPW/Economy/ParkEconomy.cs:238 | [BIN:TPW-EXE:0x0049FA00 loan list] the list build calls 0x004D06B0 for each of the 8 offers; the dialog's open (0x0049FB30) and the tab buttons (0x004A06B0) build it |
| TPW-EXE:0x0049FB30 loans window | source/OpenTPW/World/AdvisorHelp.cs:94 | [BIN:TPW-EXE:0x0049FB30 loans window] lender columns 0xAA-0xB0: posts 0xC3 (195) at 0x4A0286, withdraws it at 0x49F53E |
| TPW-EXE:0x0049fe00 loans summary | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:369 | [BIN:TPW-EXE:0x0049fe00 loans summary] the window build 0x49fb30 reads the newest sample of the money-in history (+0x1FC94 ring, pushed with the +0x1FC90 total at the |
| TPW-EXE:0x004A06B0 loan tabs | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:109 | [BIN:TPW-EXE:0x004A06B0 loan tabs] the dialog's open and each tab button build the list again, which runs every offer's credit test (0x0049FA00 → 0x004D06B0) |
| TPW-EXE:0x004A2840 overlay procedure | source/OpenTPW/Hud/ParkHud.LossWindow.cs:187 | [BIN:TPW-EXE:0x004A2840 overlay procedure] in the world state 4 only a key with no modifier bits and the code 0x1B (0x4A2933, 0x4A2938) does anything of its own: the pause menu 0x48C830(0), whose lost-park entries ParkHud.OpenPauseMenu builds; the keys that show the HUD again are not reached (0x4A2925 skips them), the camera input 0x42A760 is called for every message (0x4A287D) |
| TPW-EXE:0x004A4700 icon hover | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:143 | [BIN:TPW-EXE:0x004A4700 icon hover] message 0xC calls the icon's vtable +0x20, adds 1 and takes that entry of the THOUGHTS.str table 0x78BA9C (0x6ACE60) as its text |
| TPW-EXE:0x004A4830 counts and happiness | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:70 | [BIN:TPW-EXE:0x004A4830 counts and happiness] the timer message reads the guests in the park (0x4C9130) and the visitors so far (0x4C94C0, the lifetime counter +0x21C08) into the counts frame (written only when they change), and the sad (0x4C9750 with 0x21) and happy (0x4C9670 with 0x42) percents into the two bars |
| TPW-EXE:0x004A4830 happiness bars | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:86 | [BIN:TPW-EXE:0x004A4830 happiness bars] the bar of hap.wct (0x4A68CF) is set to (100 - the happy percent) << 10 / 100 and the bar of sad_undec.wct (0x4A68D0) to the sad percent << 10 / 100, both on the 0..1024 scale of a type-9 gauge |
| TPW-EXE:0x004A4830 navigation | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:234 | [BIN:TPW-EXE:0x004A4830 navigation] b_kids (0x4A68C6) runs 0x493530 (All Visitors), b_allstaff (0x4A68C7) 0x496620 with -1 (All Staff, on its last tab) and b_allthings (0x4A68C8) 0x495aa0 with -1 (the attractions window, on its last category), each replacing this window |
| TPW-EXE:0x004A4830 refresh | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:296 | [BIN:TPW-EXE:0x004A4830 refresh] message 0x10 of timer 0x80083 (every 1000 ms) re-reads the counts and the thoughts |
| TPW-EXE:0x004A4AB0 hidden icons stay hidden | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:17 | [BIN:TPW-EXE:0x004A4AB0 hidden icons stay hidden] a slot with no icon calls 0x65D9DD(0), which clears bit 0 of the control's +0x48; a slot with one only sets the frame (vtable +0x1C, 0x661525, which forwards message 0x80 to the |
| TPW-EXE:0x004A4AB0 thoughts refresh | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:60 | [BIN:TPW-EXE:0x004A4AB0 thoughts refresh] 0x4C8430 fills three bytes from the guests now; the icons take them as a whole, so the three always belong to one reading |
| TPW-EXE:0x004A4ab0 icon frames | source/OpenTPW/World/Guests/TopThoughts.cs:19 | [BIN:TPW-EXE:0x004A4ab0 icon frames] an id in 1..22 sets the icon's frame to the id less 1 (vtable +0x1C); anything else (0, 23) hides the icon (0x65D9DD with 0), and the original never shows it again while the window stays open (see ParkHud.InfoWindow) |
| TPW-EXE:0x004A52A0 counts frame | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:211 | [BIN:TPW-EXE:0x004A52A0 counts frame] the frame 0x4A68C9 holds the labels 0x4A68CB (UITEXT 0x97) and 0x4A68CD (UITEXT 0x9E) as text controls in font slot 6 and the values 0x4A68CC (people in the park) and 0x4A68CA (visitors) as count cells (0x48FDE0); none gets the centring call 0x65C428 |
| TPW-EXE:0x004A52A0 happiness bars | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:222 | [BIN:TPW-EXE:0x004A52A0 happiness bars] 0x4A68D0 is a !frame (help 187) holding the bar of sad_undec.wct and 0x4A68CF the bar of hap.wct with the caption UITEXT 0x9D (font slot 6, black, centred) over the same rectangle |
| TPW-EXE:0x004A52A0 park information window | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:107 | [BIN:TPW-EXE:0x004A52A0 park information window] table 0x7537D0 (OriginalLayoutTables.ParkInfoWindow): the window3 frame, the title 0x4A68C5 (UITEXT 0x96), the graph 0x4A68BB with its five toggles (b_ltoggle1..5, UITEXT 0x97..0x9B, pressed by the mask 0x753C48, initially 8) and the three period buttons |
| TPW-EXE:0x004A52A0 park information window | source/OpenTPW/World/AdvisorHelp.cs:96 | [BIN:TPW-EXE:0x004A52A0 park information window] titles 0x97-0x9E (People In Park .. Top 3 Thoughts): posts 0xC7 (199) at 0x4A5DF3, withdraws it at 0x4A49F0 |
| TPW-EXE:0x004A52A0 period buttons | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:175 | [BIN:TPW-EXE:0x004A52A0 period buttons] 0x4A68C3 (period 0, UITEXT 0x16A), 0x4A68C4 (period 1, 0x16B) and 0x4A68C2 (period 2, 0x16C), each b_stoggle with help 183, 184 and 185 and font slot 6; the one the period names starts pressed (0x66A295) |
| TPW-EXE:0x004A52A0 refresh timer | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:11 | [BIN:TPW-EXE:0x004A52A0 refresh timer] the builder arms timer 0x80083 at 1000 ms (0x65EF90 with 0x3E8) and the window procedure 0x4A4830 answers its message 0x10 with the counts, the happiness bars and the thoughts (0x4A4AB0); |
| TPW-EXE:0x004A52A0 series toggles | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:161 | [BIN:TPW-EXE:0x004A52A0 series toggles] b_ltoggle1 (0x4A68BF) is the people in the park (UITEXT 0x97, bit 8), b_ltoggle2 (0x4A68BC) the arrival rate (0x98, bit 1), b_ltoggle3 (0x4A68BD) the average happiness (0x99, bit 2), |
| TPW-EXE:0x004A52A0 top 3 thoughts | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:133 | [BIN:TPW-EXE:0x004A52A0 top 3 thoughts] the frame (help 186), its title (UITEXT 0x9C, font slot 6) and the three icons: the ranking's slot 0 goes to 0x4A68D4 (the rightmost), slot 1 to 0x4A68D3 and slot 2 to 0x4A68D2 |
| TPW-EXE:0x004A9380 postcard | source/OpenTPW/Client/AutomaticAdvisor.cs:340 | [BIN:TPW-EXE:0x004A9380 postcard] the postcard's builder runs the same stop path (push 1 at 0x4A9404, call 0x5996D0 at 0x4A9405) after its pause |
| TPW-EXE:0x004AA480 research window | source/OpenTPW/World/AdvisorHelp.cs:101 | [BIN:TPW-EXE:0x004AA480 research window] controls 0xD2D0B-0xD2D10 (the effort sliders and fluid panels of the research window): its builder posts 0xC8 (200) as its last act (0x4AAE9D), the window procedure 0x4A96B0 withdraws it when it closes (0x4A97C7) and passes the keys it does not handle to the default window procedure (0x4A9B3A), so F1 repeats the advice there too |
| TPW-EXE:0x004AAEC0 research completed | source/OpenTPW/Economy/ParkResearch.cs:478 | [BIN:TPW-EXE:0x004AAEC0 research completed] the completion's message 0x11 (0x00504630) reaches the lab (0x00503D40), which opens the groups (0x00503B80) and posts |
| TPW-EXE:0x004AAF70 build menu filler | source/OpenTPW/World/Objects/ObjectCatalog.cs:184 | [BIN:TPW-EXE:0x004AAF70 build menu filler] the build-menu filler lists a definition when its model loaded (def+0x508 == 0), its WhichUIType (def+0x4AC, copied from +0x4C at the end of 0x413410) equals the tab, AddOn.UpgradesId (def+0x284) is 0 and the control record 0x4D3D10(id)+0x10 is non-zero (availability or research); tools and fixed items are not filtered by name, their data has WhichUIType 4, and every upgrade-category object has AddOn.UpgradesId != 0, which gives this rule on the whole corpus |
| TPW-EXE:0x004AC5D0 buy list click | source/OpenTPW/World/AdvisorHelp.cs:284 | [BIN:TPW-EXE:0x004AC5D0 buy list click] choosing an item builds the placement tool and posts 0xC9 (201) when the item is a ride and no ride is placed yet, else 0xCE (206); the land rows build tool 0x3A (0x159, 345) and 0x39 (0x15A, 346) |
| TPW-EXE:0x004ACC70 buy window | source/OpenTPW/World/AdvisorHelp.cs:91 | [BIN:TPW-EXE:0x004ACC70 buy window] title texts 0x77-0x7A (Buy Ride/Shop/Sideshow/Misc) and posts message 0xBC (188) through 0x486B00 at 0x4AD1E7; the close handler withdraws it through 0x486B40 at 0x4AC421 |
| TPW-EXE:0x004AD6B4 upgrade button | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:14 | [BIN:TPW-EXE:0x004AD6B4 upgrade button] the ride window's refresh enables b_upgrade (0x3E35) for every ride whose window is not in mode 3 |
| TPW-EXE:0x004AE140 upgrade list | source/OpenTPW/World/Level.AddOns.cs:42 | [BIN:TPW-EXE:0x004AE140 upgrade list] outside game type 2 (Instant Action, DAT_00FB3B7C): every type definition (0x00412E60/E70) whose model loaded (+0x508 = 0), whose +0x284 (AddOn.UpgradesId) is the ride's type and whose object control (0x004D3D10) has the researched byte +0x10 gets a row of its name (0x00412FB0) and the control's price +4, value = the type id; then, when the ride is not in state 2 (0x004E03E0) and its level byte +0x50 is below 2 and level + 1 is at most the control's researched level +0x14, a row of UITEXT 0x1D with level + 2 and the price at type +0x1B8 + 0x40 · (level + 1), value −(level + 1); in state 2 a row of UITEXT 0x1E with level + 2, price 0, value −12999 (0xFFFFCD39); a list without rows shows UITEXT 0x1B in Instant Action, 0x1C at level 2 and 0x1A otherwise, one row of value −7890 per line (0x0067C430 splits the text) |
| TPW-EXE:0x004AE430 upgrade list click | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:13 | [BIN:TPW-EXE:0x004AE430 upgrade list click] message 0x400 (a row clicked) ignores a line of the message (−7890); −12999 cancels the upgrade (0x004AF480(0, 1) → 0x004E0050(0)); any other value goes to 0x004AF480(value, 0): an add-on whose price is at most the balance arms the build tool and closes the ride window (0x0048CF70), a dearer one plays the error cue 0x1D (0x00486AE0), a level is requested (0x004E0050(1)) when its price is below the balance; every click but an armed add-on closes the list and refreshes the ride window; message 0x100 with −2 (b_exit) closes it, message 0x14 clears the window word |
| TPW-EXE:0x004AE560 upgrade list window | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:12 | [BIN:TPW-EXE:0x004AE560 upgrade list window] the b_upgrade click builds table 0x755750 with handler 0x004AE430 once (the window word +0x24), titles 0x1F4E with UITEXT 0x1F (31, Buy Upgrades), gives list 0x1F4D the row cells 0x004AE700/0x004AE7D0 (a left-aligned name and a right-aligned price in font slot 7, the rows as high as the buy list's, 0x004AE700) and the hilight bar, and fills it (0x004AE140); the ride window's refresh fills it again while it is open (0x004ADE40) |
| TPW-EXE:0x004AF200 queue tool start | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:306 | [BIN:TPW-EXE:0x004AF200 queue tool start] the original's start of the queue tool is the branch of 0x4AF200 for argument 0 (reached from the ride window's dispatcher 0x4AF600): the tool switch 0x5276D0(1), tool 0x14, then the click handler 0x524960(0, 0, 0, 0); that this branch is the b_queue button's (help 9) is inferred from the tool number, not traced through the window's control table, and which cell the first click of the original takes is not traced either, so taking the front cell here is an inference: the button takes the queue edit a click on one of its cells takes (EditQueueAt): the edit takes the link between the queue's back cell and the path it ends on off before the tool lays on from that cell (0x530379), and the cell validator 0x535670 refuses the ride's own queue cell while it holds two links |
| TPW-EXE:0x004AF200 track button | source/OpenTPW/World/Level.Tracks.cs:349 | [BIN:TPW-EXE:0x004AF200 track button] the button sets the cursor of tool 0xE (type 1) or 0x13 (type 2) and calls the click handler; the hover 0x527960 puts the tool in that mode |
| TPW-EXE:0x004AF480 add-on row | source/OpenTPW/World/Level.AddOns.cs:83 | [BIN:TPW-EXE:0x004AF480 add-on row] a row with a type id builds the build tool 0x0046C5A0(4, type) when the object control's price +4 is at most the bank balance, holds the ride (0x0048C940) and takes its cell (0x005276D0); a dearer one plays the error cue 0x1D (0x00486AE0) and builds nothing |
| TPW-EXE:0x004AF4E9 upgrade purchase | source/OpenTPW/Economy/ParkEconomy.cs:2470 | [BIN:TPW-EXE:0x004AF4E9 upgrade purchase] the buy handler compares the signed balance (bank +0xC) with Upgrades[level].CostOfUpgrade (type record +0x1B8 + 0x40 · level) and requests the upgrade (0x004E0050(1): state 2, a mechanic called) only when the balance is greater; nothing is debited here |
| TPW-EXE:0x004AF980 ride window builder | source/OpenTPW/World/AdvisorHelp.cs:176 | [BIN:TPW-EXE:0x004AF980 ride window builder] after building the window of layout table 0x755150 it takes the truncated float at the object's +0x44 (the state of repair); a low byte of 1 to 0x14 posts 0x129 (297) at 0x4AF9C8, anything else 0xCF (207) at 0x4AF9DA; the close handler withdraws 0x129 and then 0xCF (0x4AF6B7, 0x4AF6C4) |
| TPW-EXE:0x004B0E30 shop window builder | source/OpenTPW/World/AdvisorHelp.cs:177 | [BIN:TPW-EXE:0x004B0E30 shop window builder] the window of layout table 0x755908 posts 0xD1 (209) at 0x4B0E5C; its close handler withdraws it (0x4B0BE3) |
| TPW-EXE:0x004B2430 sideshow window builder | source/OpenTPW/World/AdvisorHelp.cs:178 | [BIN:TPW-EXE:0x004B2430 sideshow window builder] the window of layout table 0x755E80 posts 0xD0 (208) at 0x4B245C; its close handler withdraws it (0x4B2203) |
| TPW-EXE:0x004B25D0 training budget window | source/OpenTPW/Economy/ParkStaff.cs:422 | [BIN:TPW-EXE:0x004B25D0 training budget window] the window stores the budget (a negative one as 0) and sets the HQ's byte +0x20 to 1 only when the value is above 0 |
| TPW-EXE:0x004B3F60 locator open | source/OpenTPW/World/AdvisorHelp.cs:290 | [BIN:TPW-EXE:0x004B3F60 locator open] the staff locator posts 0xC6 (198), the visitor locator (0x4B3F60 with a visitor, 0x4B4280) 0x11F (287); the panel's close message 0x1001D8 withdraws both |
| TPW-EXE:0x004B5290 rest window | source/OpenTPW/World/AdvisorHelp.cs:183 | [BIN:TPW-EXE:0x004B5290 rest window] the window posts 0x12C (300) at 0x4B52B9 and its close handler withdraws it (0x4B50D4) |
| TPW-EXE:0x004B5AB0 employee refresh | source/OpenTPW/World/AdvisorHelp.cs:293 | [BIN:TPW-EXE:0x004B5B50 patrol toggle] setting an area closes the employee window and posts 0xC1 (193); [BIN:TPW-EXE:0x004B5AB0 employee refresh] a refresh with an own area posts 0xD4 (212) |
| TPW-EXE:0x004B5B50 patrol toggle | source/OpenTPW/World/AdvisorHelp.cs:293 | [BIN:TPW-EXE:0x004B5B50 patrol toggle] setting an area closes the employee window and posts 0xC1 (193); [BIN:TPW-EXE:0x004B5AB0 employee refresh] a refresh with an own area posts 0xD4 (212) |
| TPW-EXE:0x004B5CF8 employee close | source/OpenTPW/World/AdvisorHelp.cs:149 | [BIN:TPW-EXE:0x004B5CF8 employee close] withdraws 0xC0 (192) and then 0xD4 (212, the patrol area help its refresh posts), 0x4B5D05 |
| TPW-EXE:0x004B6080 employee window | source/OpenTPW/World/AdvisorHelp.cs:97 | [BIN:TPW-EXE:0x004B6080 employee window] posts 0xC0 (192) at 0x4B60B9, withdraws it at 0x4B5CF8 (message 0x14, with 0xD4 at 0x4B5D05) |
| TPW-EXE:0x004B6B90 portrait | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:168 | [BIN:TPW-EXE:0x004B6B90 portrait] source body +0x0c, UI depth +0xe0 + 2, primary scale 12 (not a figure id or animation speed). |
| TPW-EXE:0x004B6B90 visitor portrait | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:139 | [BIN:TPW-EXE:0x004B6B90 visitor portrait] the refresh's vtable +0x18 (0x6FFF58) copies the selected thing's sprite (+0x0C): the window's one clone is replaced, and a thing with no sprite binds none |
| TPW-EXE:0x004B79B0 visitor window | source/OpenTPW/World/AdvisorHelp.cs:98 | [BIN:TPW-EXE:0x004B79B0 visitor window] posts 0x12E (302) as it opens (0x486B00 at 0x4B79C9), withdraws it on message 0x14 (0x4B7720, 0x486B40) |
| TPW-EXE:0x004B9340 lobby key panel refresh | source/OpenTPW/World/AdvisorSequence.cs:275 | [BIN:TPW-EXE:0x004B9340 lobby key panel refresh] it returns at once unless the lobby's key panel window exists (0x7CC4B4, created by 0x4B8CA0 from the lobby 0x5E19B8 and cleared by its window procedure 0x4B8B70): in the park it does nothing; the park HUD's key counter is refreshed by the HUD's own message 0x1E handler (0x4A0FB0, ParkStatus.GoldenKeys) |
| TPW-EXE:0x004C0830 online visit | source/OpenTPW/World/Guests/GuestSimulation.cs:250 | [BIN:TPW-EXE:0x004C0830 online visit] the park-info dialog's completion (stored at 0x007CCA4C by 0x004C0AE0, called at 0x004C07FF by the completion 0x004C07D0 that the dialog passes on at 0x004C0A09) writes exit code 2 and calls SetGameType(1) (0x004C0876), so a visit of a published park is GameType 1 |
| TPW-EXE:0x004C58C0 analyser constructor | source/OpenTPW.Tests/LitterTests.cs:94 | [BIN:TPW-EXE:0x004C58C0 analyser constructor] the stamps start at 0 and the serializer keeps none, so a loaded valid cache is stamp 0 |
| TPW-EXE:0x004C58C0 analyser constructor | source/OpenTPW/Economy/ParkEconomy.cs:1917 | [BIN:TPW-EXE:0x004C58C0 analyser constructor] the cache starts invalid with stamp 0 |
| TPW-EXE:0x004C58C0 analyser constructor | source/OpenTPW/World/ParkLitter.cs:112 | [BIN:TPW-EXE:0x004C58C0 analyser constructor] every cache starts invalid with stamp 0 (the blocks through 0x004C5D10, the census and net-worth words from +0x1F0B8); a load builds the world first (the main loop 0x0054E360 → 0x00407E00 → the world constructor 0x005156A0 → 0x004C58C0) and the serializer (0x004C5D70 → 0x004C85B0) then restores each block's counts and worked-out flags, with no stamp field: a loaded cache is valid with stamp 0, so the first reader counts it again once (turn >> 2) exceeds its age; OpenTPW's original-save import leaves the caches empty, which counts at the first read and gives the same result (a saved count is the count of the same map at the save) |
| TPW-EXE:0x004C58C0 park init | source/OpenTPW/Client/AutomaticAdvisor.cs:118 | [BIN:TPW-EXE:0x004C58C0 park init] the analyser stamps the object and hire words with the current time (0x4C5CAF, 0x4C5CDE); an OpenTPW save's snapshot then replaces them |
| TPW-EXE:0x004C5B2C arrival ring | source/OpenTPW/World/AdvisorScanChallenges.cs:39 | [BIN:TPW-EXE:0x004C5B2C arrival ring] the park init stores the capacity 5 (+0x216F4), clears the filled flag (+0x216F8) and leaves the index below 0 (+0x216F0) |
| TPW-EXE:0x004C5D70 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveAnalyserCounters.cs:10 | [BIN:TPW-EXE:0x004C5D70 analyser serializer] the counters mMisbehavingKids, mMisbehavingKidsThatGotAwayWithIt, mMisbehavingKidsEver and mLifetimeVisitors are four raw words between the byte rings and the stamps (read back at 0x004C6A4F, 0x004C6A74, 0x004C6A9E in the load direction and 0x004C7139, 0x004C7163, 0x004C718D in the save direction); only a guard's chase writes them (0x004C74F0) |
| TPW-EXE:0x004C5D70 analyser serializer | source/OpenTPW/Client/AutomaticAdvisor.cs:120 | [BIN:TPW-EXE:0x004C5D70 analyser serializer] a park from an original save keeps the words its analyser saved, which the load reads back (0x4C7289, 0x4C72B3) and nothing it loads restamps: the import's turns of them (OriginalEconomyImport.AnalyserStampTurns) |
| TPW-EXE:0x004C5D70 analyser serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:98 | [BIN:TPW-EXE:0x004C5D70 analyser serializer] the guards' chase counters are three raw words, read back as they are: the advisor's guard and prank lines (12, 22, 98, 264) test them |
| TPW-EXE:0x004C74B0 statistic record | source/OpenTPW/Economy/ParkPriceStatistics.cs:26 | [BIN:TPW-EXE:0x004C74B0 statistic record] head = head + 1; head >= size: head = 0 and the full flag = 1; byte [record + 1 + head] = value |
| TPW-EXE:0x004C74F0 misbehaved | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:15 | [BIN:TPW-EXE:0x004C74F0 misbehaved] +0x21BFC and +0x21C04 are raised, +0x21C00 only when the argument is 0 (TEST EAX, EAX; JNE over the INC); nothing else in tp.exe writes them but the constructor (0x4C5BBE-0x4C5BCA), the month close and the save load |
| TPW-EXE:0x004C7680 object stamp | source/OpenTPW/Economy/OriginalEconomyImport.cs:290 | [BIN:TPW-EXE:0x004C7680 object stamp] mLastObjectBuilt (+0x21C30) and mLastStaffHired (+0x21C38, 0x004C76D0) take the park time 0x4F8690 returns: the calendar's FunnyTimeStart (+0) plus floor(turn x rate (+0x1C, 15000) / 4) x 10^7 (0x5FC530); only the calendar constructor 0x4F7E80 and the loader 0x4F7F30 write those two words, so every stamp of an original save is a whole turn from the calendar's start |
| TPW-EXE:0x004C7680 object stamp | source/OpenTPW/World/AdvisorScanPark.cs:87 | [BIN:TPW-EXE:0x004C7680 object stamp] every object construction (0x4DB090, its last call 0x4DB7A3) overwrites the park's mLastObjectBuilt (+0x21C30, saved at 0x4C6B9A) with the park time, so it is the newest construction, not the first; the park init 0x4C58C0 stamps it with the current time (0x4C5CAF) after zeroing it (0x4C5B84) |
| TPW-EXE:0x004C76D0 hire stamp | source/OpenTPW/World/AdvisorScanPark.cs:90 | [BIN:TPW-EXE:0x004C76D0 hire stamp] every staff thing init (0x504B90, at 0x504C65) overwrites mLastStaffHired (+0x21C38, saved at 0x4C6BC4) with the park time: the newest hire; the park init stamps it too (0x4C5CDE) |
| TPW-EXE:0x004C7720 month sample | source/OpenTPW/Economy/ParkEconomy.cs:1645 | [BIN:TPW-EXE:0x004C7720 month sample] the same handler reads the cached census with age 0 first (0x004C78C1); the month message goes to the things in id order (the listener tree walked by 0x0040FB10, dispatching through 0x0050B550) and the world constructor 0x005156A0 creates the staff manager (type 9) before the analyser (type 13), so the gate above has already read its count |
| TPW-EXE:0x004C7720 month sample | source/OpenTPW/Economy/ParkEconomy.cs:1669 | [BIN:TPW-EXE:0x004C7720 month sample] the twin handler stores the net worth read with age 0 (0x004C79A7) |
| TPW-EXE:0x004C7740 month close | source/OpenTPW/World/AdvisorScan.cs:324 | [BIN:TPW-EXE:0x004C7740 month close] the park's month close pushes the four accumulators (money out +0x1F5A0, wages +0x1F7F0, +0x1FA40, money in +0x1FC90) into 144-entry rings and clears them: the ledger's closed months, kept to the same 144 |
| TPW-EXE:0x004C79EB month close | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:38 | [BIN:TPW-EXE:0x004C79EB month close] the month handler 0x004C7720 ends by storing 0 in +0x21BFC and +0x21C00 |
| TPW-EXE:0x004C7BB0 average happiness | source/OpenTPW/Economy/GuestEconomyBridge.cs:217 | [BIN:TPW-EXE:0x004C7BB0 average happiness] 0 while the park is closed (0x51A280); else each census guest's happiness (+0x19C) truncated to its low byte is added in an integer sum (0x67A830), and the sum is divided by the count in the x87 (24-bit) as a single; 0 without a guest |
| TPW-EXE:0x004C7CC0 average staff happiness | source/OpenTPW/World/AdvisorScanStaff.cs:58 | [BIN:TPW-EXE:0x004C7CC0 average staff happiness] each member's happiness (+0x1F8) truncated to its low byte (0x67A830) is added in an integer sum; the sum divided by the count in the x87 (24 bits) as a single; a constant 0.0 (0x70031C) without staff |
| TPW-EXE:0x004C7DB0 net worth | source/OpenTPW/Economy/ParkEconomy.cs:1864 | [BIN:TPW-EXE:0x004C7DB0 net worth] the same sums in a 32-bit word; the result is cached (+0x1F0EC, stamp +0x1F0E8) and counted again only when the reader's age is below (turn >> 2) − (stamp >> 2): the month's history sample reads it with age 0, the loans' credit test with 20 (NetWorth) |
| TPW-EXE:0x004C7DB0 net worth | source/OpenTPW/Economy/ParkEconomy.cs:2038 | [BIN:TPW-EXE:0x004C7DB0 net worth] the cell's type is its own map type: under a track tile the map keeps what the ground was (0 on plain ground, the base type a station overwrote), which is what this reads |
| TPW-EXE:0x004C7DB0 net worth | source/OpenTPW/Economy/ParkValueRules.cs:13 | [BIN:TPW-EXE:0x004C7DB0 net worth] for every cell without flag 0x40 (0x00535DB0): +1 when the type is 2 (0x00536300), +3 for 1 (0x00536310), +5 for 3 or 9 (0x00536320), +1 for 9 (0x00536340), +1 for 10 (0x00536350), +10 when 0x005D60C0 answers (it returns 0), +2 for 0 (0x00536390), +50 when the structure record, or for a record of type 12 or 17 the record its +0x10 names, is of type 11, 13, 16, 18 or 25 (0x005363F0) |
| TPW-EXE:0x004C7DB0 park value | source/OpenTPW/World/AdvisorScanChallenges.cs:411 | [BIN:TPW-EXE:0x004C7DB0 park value] the net worth with the reader's age: the cached count while it is that fresh, else a fresh one; read here without stamping the cache, which the original's reader does write |
| TPW-EXE:0x004C7FA0 cached census | source/OpenTPW/Economy/ParkEconomy.cs:610 | [BIN:TPW-EXE:0x004C7FA0 cached census] the gate counts the guests through the analyser's cached census with age 5 (CachedGuestCensus), which the main loop's crowd read refreshes with age 0 after every fourth turn counted from the turn the step counter 0x00877D34 started at (0x0054F82D, 0x004C81E0) |
| TPW-EXE:0x004C7FA0 cached census | source/OpenTPW/Economy/ParkEconomy.cs:1916 | [BIN:TPW-EXE:0x004C7FA0 cached census] valid flag +0x1F0C0, count +0x1F0BC, stamp +0x1F0B8 (0x0041A960 stores the turn, 0x0041A990 answers (turn >> 2) − (stamp >> 2)): counted again when the flag is clear or the age is above the reader's; the counted guests are the things of type 1 on a cell the predicate 0x004FA990 accepts |
| TPW-EXE:0x004C81E0 busy points | source/OpenTPW/World/AdvisorScanStaff.cs:250 | [BIN:TPW-EXE:0x004C81E0 busy points] 0x4C7FA0 (the guests on census cells, the cache refreshed for the argument 0) halved with a signed shift; below 0 gives 0, 100 or more gives 100 |
| TPW-EXE:0x004C8240 park points | source/OpenTPW/Economy/ParkEconomy.cs:2250 | [BIN:TPW-EXE:0x004C8240 park points] a thing counts only when its type's Info.WhichUIType (+0x4AC, copied from +0x4C at 0x004134F5) is 0 or 2, it passes the counts-test 0x004DD920 and its type has copies (0x004D3D80 +0x18 > 0) |
| TPW-EXE:0x004C8430 top three thoughts | source/OpenTPW/World/Guests/GuestSimulation.cs:4103 | [BIN:TPW-EXE:0x004C8430 top three thoughts] every thing of type 1 on a cell the predicate 0x004FA990 accepts counts, whatever its state: a guest in the booth queue or on the road home stands on a non-park cell and does not |
| TPW-EXE:0x004C8430 top three thoughts | source/OpenTPW/World/Guests/TopThoughts.cs:38 | [BIN:TPW-EXE:0x004C8430 top three thoughts] counts[thought +0x30] of every type-1 thing on a park cell (0x004FA990) over the thing list (0x516130 / 0x516160); the slots {0,1,2} then |
| TPW-EXE:0x004C84D7 no-thought count dropped | source/OpenTPW/World/Guests/TopThoughts.cs:46 | [BIN:TPW-EXE:0x004C84D7 no-thought count dropped] after the counting loop and before the slots are seeded the original writes 0 to counts[0] (mov [esp+0x20], 0), so the guests with no thought never hold a slot |
| TPW-EXE:0x004C8AE0 block census | source/OpenTPW/World/Guests/GuestSimulation.cs:2555 | [BIN:TPW-EXE:0x004C8AE0 block census] the block of the guest's cell (0x004C7B70: 32 × 32 blocks of 4 × 4 cells) counts its littered cells and its cells of type 1, 3 or 9 (0x00536310, 0x00536320); the ratio is a single division |
| TPW-EXE:0x004C8AE0 block paths | source/OpenTPW/World/ParkLitter.cs:240 | [BIN:TPW-EXE:0x004C8AE0 block paths] the same cache test with its own flag (+0x54) and stamp; a cell counts when 0x00536310 (type 1) or 0x00536320 (type 3 or 9) answers |
| TPW-EXE:0x004C8BA0 block caches | source/OpenTPW/World/ParkLitter.cs:111 | [BIN:TPW-EXE:0x004C8BA0 block caches] the strike (age 1) and the thought (age 4) read the 4 × 4 block counts through the analyser's caches (0x004C8BA0 littered, 0x004C8AE0 paths) |
| TPW-EXE:0x004C8BA0 block litter | source/OpenTPW/World/ParkLitter.cs:225 | [BIN:TPW-EXE:0x004C8BA0 block litter] counted again only when the block's flag (+0x60) is clear or the age (0x0041A990: (turn >> 2) − (stamp >> 2)) exceeds the caller's; then the 4 × 4 cells with litter are counted and stamped (0x0041A960) |
| TPW-EXE:0x004C8C40 developed cells | source/OpenTPW/World/AdvisorScanPark.cs:156 | [BIN:TPW-EXE:0x004C8C40 developed cells] the 1024 blocks of 4 x 4 cells each count the cells of the types 1, 3 or 9 (0x536310, 0x536320), 9, 10, 4 (0x536380) and the constant-zero stub 0x5D60C0; 0x4C81B0 adds the blocks |
| TPW-EXE:0x004C8D30 things in a square | source/OpenTPW/World/Guests/GuestSimulation.cs:1452 | [BIN:TPW-EXE:0x004C8D30 things in a square] the cells x ± r, y ± r clipped to 0..127, each cell's thing list (+0x24 of the cell record, next at +0xA); any thing whose type byte +2 is 1 (a guest) answers yes |
| TPW-EXE:0x004C8ED0 litter finder | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:383 | [BIN:TPW-EXE:0x004C8ED0 litter finder] asserts a range below 6; collects the cells with +0x2C nonzero and +0x30 equal to 0 or the handyman's id, then keeps the first with the smallest |dx| + |dy| (strictly smaller replaces) |
| TPW-EXE:0x004C9050 park open | source/OpenTPW/World/AdvisorScanPark.cs:81 | [BIN:TPW-EXE:0x004C9050 park open] the closed flag of the world (0x51A280, +0x1DA710) clear |
| TPW-EXE:0x004C9070 days since a stamp | source/OpenTPW/World/AdvisorScanPark.cs:93 | [BIN:TPW-EXE:0x004C9070 days since a stamp] (0x4F8690 park time now − stamp, both from the calendar base) divided by 864,000,000,000 (100 ns per day) with __alldiv: signed, truncated toward zero, so a stamp still to come (only a modified save holds one) counts negative days |
| TPW-EXE:0x004C9130 census | source/OpenTPW/World/ParkGate.cs:208 | [BIN:TPW-EXE:0x004C9130 census] every thing of type 1 (a guest) on a cell the predicate 0x004FA990 accepts (types 1, 3, 9, 10 and 0) counts; 0x004CCEB0 (the rating) and 0x004C7FA0 (the cached count) walk the same way |
| TPW-EXE:0x004C91C0 guests at the gate | source/OpenTPW/Economy/GuestEconomyBridge.cs:208 | [BIN:TPW-EXE:0x004C91C0 guests at the gate] the guests waiting at the booth (state 3) on the two ticket booth cells |
| TPW-EXE:0x004C91C0 guests at the gate | source/OpenTPW/World/AdvisorScanChallenges.cs:408 | [BIN:TPW-EXE:0x004C91C0 guests at the gate] the guests waiting at the booth (state 3) on the two ticket booth cells |
| TPW-EXE:0x004C91C0 guests at the gate | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:53 | [BIN:TPW-EXE:0x004C91C0 guests at the gate] for each of the two sides 0 and 1 it takes the booth cell (0x004D8610) and counts the things of type 1 on it whose state word (+0x220) is 3, adds both counts and caches the sum (park +0x1F0D4, stamp +0x1F0D0, never read back) |
| TPW-EXE:0x004C9290 toilet need | source/OpenTPW/World/ParkRestoredAdviceState.cs:119 | [BIN:TPW-EXE:0x004C9290 toilet need] guests whose toilet byte is strictly above the argument |
| TPW-EXE:0x004C93F0 guests needing | source/OpenTPW/Economy/GuestEconomyBridge.cs:201 | [BIN:TPW-EXE:0x004C93F0 guests needing] every guest thing on a census cell whose meter (thirst +0x1A4, hunger +0x1A8, toilet +0x1AC), truncated to its low byte (0x67A830), is above the byte argument as an unsigned compare |
| TPW-EXE:0x004C94A0 misbehaving kids | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:16 | [BIN:TPW-EXE:0x004C94A0 misbehaving kids] only the advisor reads the three words (the getter 0x4C94A0 and the serializer 0x4C5D70): the simulation never does, so they are presentation state and stay out of the run hash, like the analyser's caches |
| TPW-EXE:0x004C94A0 misbehaving kids | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:26 | [BIN:TPW-EXE:0x004C94A0 misbehaving kids] a nonzero argument returns +0x21C00 (the kids that got away this month), 0 returns +0x21BFC (the kids a guard went after this month) |
| TPW-EXE:0x004C94C0 visitors ever | source/OpenTPW/World/AdvisorScanChallenges.cs:427 | [BIN:TPW-EXE:0x004C94C0 visitors ever] the lifetime visitor counter (+0x21C08), raised per admission (0x004C7530) |
| TPW-EXE:0x004C94C0 visitors ever | source/OpenTPW/World/AdvisorScanStaff.cs:83 | [BIN:TPW-EXE:0x004C94C0 visitors ever] the park's lifetime visitor counter (+0x21C08), raised per admission: ParkCounters.Admissions |
| TPW-EXE:0x004C94D0 visitors since a month close | source/OpenTPW/Economy/ParkObjectives.cs:615 | [BIN:TPW-EXE:0x004C94D0 visitors since a month close] the lifetime visitor counter (+0x21C08, raised per admission by 0x004C7530) minus its snapshot at the close RecentVisitorMonths back (a 144-entry ring written at each month close, 0x004C7720); 0 unless that close exists, so the open month counts and RecentVisitorMonths + 1 closes are needed. The snapshot is the dropped history plus the closed months through it. |
| TPW-EXE:0x004C9530 balloons | source/OpenTPW/Economy/GuestEconomyBridge.cs:211 | [BIN:TPW-EXE:0x004C9530 balloons] the census guests with +0x210 nonzero |
| TPW-EXE:0x004C95D0 costumes | source/OpenTPW/Economy/GuestEconomyBridge.cs:214 | [BIN:TPW-EXE:0x004C95D0 costumes] the census guests with +0x24 equal to 2 |
| TPW-EXE:0x004C9670 happy percent | source/OpenTPW/World/Guests/GuestSimulation.cs:4111 | [BIN:TPW-EXE:0x004C9670 happy percent] the same count with the byte strictly above the argument (0x42 = 66) |
| TPW-EXE:0x004C9750 sad percent | source/OpenTPW/World/Guests/GuestSimulation.cs:4110 | [BIN:TPW-EXE:0x004C9750 sad percent] every guest thing (type 1) on a cell the predicate 0x004FA990 accepts counts; the happiness (+0x19C) truncated to a byte is compared strictly below the argument (0x21 = 33), and the result is count x 100 / guests, truncated, 0 without guests |
| TPW-EXE:0x004C9750 unhappy percent | source/OpenTPW/Economy/GuestEconomyBridge.cs:234 | [BIN:TPW-EXE:0x004C9750 unhappy percent] every guest thing (type 1) on a census cell (0x004FA990) counts; the happiness (+0x19C) truncated to a byte is compared strictly below the argument (a signed compare), and the result is that count x 100 divided by the census guests (signed), 0 without guests |
| TPW-EXE:0x004C9750 unhappy percent | source/OpenTPW/World/AdvisorScanStaff.cs:86 | [BIN:TPW-EXE:0x004C9750 unhappy percent] the census guests whose happiness byte is below the level x 100 / the census guests |
| TPW-EXE:0x004C9830 price ring mean | source/OpenTPW/World/AdvisorScanQueues.cs:290 | [BIN:TPW-EXE:0x004C9830 price ring mean] the held values (the newest 50 at most) added in the x87 stack and divided by their number with a truncation (__ftol); no value returns a clear byte |
| TPW-EXE:0x004C9830 statistic mean | source/OpenTPW/Economy/ParkPriceStatistics.cs:12 | [BIN:TPW-EXE:0x004C9830 statistic mean] the advisor conditions (0x0059E75B, 0x0059E7BB, with the size test 0x004C9920) read the mean of the last min(count, 50) values |
| TPW-EXE:0x004C9920 price ring full | source/OpenTPW/World/AdvisorScanQueues.cs:287 | [BIN:TPW-EXE:0x004C9920 price ring full] the ring record's full flag (+0x3C) set, or its head + 1 at the size (+0x38, 50) |
| TPW-EXE:0x004C9960 staff count | source/OpenTPW/World/AdvisorScanPark.cs:84 | [BIN:TPW-EXE:0x004C9960 staff count] the things of the models 4 to 8 whose model equals the argument and whose flag byte +3 is 0; StaffType is the order handyman, mechanic, entertainer, guard, researcher the original numbers 5, 4, 6, 7, 8 |
| TPW-EXE:0x004C9A10 all staff | source/OpenTPW/World/AdvisorScanStaff.cs:39 | [BIN:TPW-EXE:0x004C9A10 all staff] the things of the models 4, 5, 6, 8 and 7, whatever their flag byte +3 (the role count 0x4C9960 tests it) |
| TPW-EXE:0x004C9AA0 tired staff | source/OpenTPW/World/AdvisorScanStaff.cs:74 | [BIN:TPW-EXE:0x004C9AA0 tired staff] the staff things for which 0x506680 holds: the energy (+0x1FC) truncated to its low byte is below the rest level word (0x785324, AllStaffConstants.RestLevel), a signed compare |
| TPW-EXE:0x004C9B40 staff with a patrol area | source/OpenTPW/World/AdvisorScanStaff.cs:42 | [BIN:TPW-EXE:0x004C9B40 staff with a patrol area] the staff things whose model equals the role (every one for the argument 0) and whose area is not the whole map (0x506EB0: the corner words +0x20A and +0x20C are not 1 and 0x4000) |
| TPW-EXE:0x004C9C00 average training | source/OpenTPW/World/AdvisorScanStaff.cs:45 | [BIN:TPW-EXE:0x004C9C00 average training] the grades (+0x1E4) of the staff of the model are added up; the result is sum x 100 / (count x 5), a signed integer division, 0 without staff |
| TPW-EXE:0x004C9E40 researchers in the pool | source/OpenTPW/World/AdvisorScanQueues.cs:371 | [BIN:TPW-EXE:0x004C9E40 researchers in the pool] 0x508380 counts the pool's 32 candidate slots (20 bytes) with the valid byte (+0xA) set whose type (+0) is the argument, 4 for the researchers |
| TPW-EXE:0x004C9E60 research done | source/OpenTPW/World/AdvisorScanQueues.cs:361 | [BIN:TPW-EXE:0x004C9E60 research done] 0x4C9E60 adds the ability (0x78545C + 12 x grade) of every researcher of the list (world +0x1DA742), whatever its state |
| TPW-EXE:0x004C9ED0 research capacity | source/OpenTPW/World/AdvisorScanQueues.cs:364 | [BIN:TPW-EXE:0x004C9ED0 research capacity] MaxResearchersInPark (0x7852F8) times the best grade's ability (0x78548C), a 32-bit product |
| TPW-EXE:0x004C9EE0 toilets | source/OpenTPW/World/AdvisorScanPark.cs:173 | [BIN:TPW-EXE:0x004C9EE0 toilets] the attractions with the relief flag (+0x32 bit 0) |
| TPW-EXE:0x004C9F90 closed toilets | source/OpenTPW/World/AdvisorScanPark.cs:176 | [BIN:TPW-EXE:0x004C9F90 closed toilets] the relief attractions whose open word is 0 |
| TPW-EXE:0x004CA030 staff rooms | source/OpenTPW/World/AdvisorScanStaff.cs:91 | [BIN:TPW-EXE:0x004CA030 staff rooms] the attractions (thing type 3) whose flag word +0x32 has bit 2 set: UsageInfo.ChillsYouOut, the rest-area flag the staff's rest search tests |
| TPW-EXE:0x004CA0C0 closed staff rooms | source/OpenTPW/World/AdvisorScanStaff.cs:94 | [BIN:TPW-EXE:0x004CA0C0 closed staff rooms] the same attractions whose open word +0x68 is 0 (0x4E0440) |
| TPW-EXE:0x004CA160 mean toilet filth | source/OpenTPW/World/AdvisorScanPark.cs:179 | [BIN:TPW-EXE:0x004CA160 mean toilet filth] the signed integer mean over the relief attractions of 100 minus the condition byte (+0x44 truncated), 0 without a toilet |
| TPW-EXE:0x004CA220 dirtiest toilet | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:114 | [BIN:TPW-EXE:0x004CA220 dirtiest toilet] the things from the head of the thing list (0x516130, 0x516160: the newest); type 3 with the flag +0x32 bit 0; filth = 100 minus the byte of __ftol(+0x44); the first qualifying thing is taken, then only a filth above the pick's (cmp eax, edi; jle skips) |
| TPW-EXE:0x004CA310 rides broken down | source/OpenTPW/World/AdvisorScanPark.cs:127 | [BIN:TPW-EXE:0x004CA310 rides broken down] the rides (WhichUIType 0) in state 1 |
| TPW-EXE:0x004CA3A0 rides worn or broken | source/OpenTPW/World/AdvisorScanPark.cs:130 | [BIN:TPW-EXE:0x004CA3A0 rides worn or broken] the rides whose condition byte (+0x44, truncated, signed compare with the argument) is below the percent, or that are in state 1 |
| TPW-EXE:0x004CA450 available types | source/OpenTPW/World/AdvisorScanPark.cs:102 | [BIN:TPW-EXE:0x004CA450 available types] the type records (list 0x7890A0) whose WhichUIType (+0x4AC) is the kind and whose control is available; a type with a golden ticket cost (+0xC4) counts only with the flag set (0x4CA510, 0x4CA570 and 0x4CA5D0 count without the cost test) |
| TPW-EXE:0x004CA4C0 upgraded ride types | source/OpenTPW/World/AdvisorScanQueues.cs:374 | [BIN:TPW-EXE:0x004CA4C0 upgraded ride types] the type records (list 0x7890A0) of WhichUIType 0 whose control's researched level (+0x14, 0x4D3D80) is above 0 |
| TPW-EXE:0x004CA740 ticket items built | source/OpenTPW/World/AdvisorScanChallenges.cs:414 | [BIN:TPW-EXE:0x004CA740 ticket items built] over the type records whose golden ticket cost (+0xC4) is above 0: the share, times 100 over their number (signed), of those whose control's built count (+0x18, never lowered) is above 0; 0 without such a type |
| TPW-EXE:0x004CA7B0 built types | source/OpenTPW/World/AdvisorScanPark.cs:106 | [BIN:TPW-EXE:0x004CA7B0 built types] the type records of the kind whose control's built count (+0x18, never lowered) is above 0, without the golden ticket cost types unless the flag is set |
| TPW-EXE:0x004CA8E0 standing objects | source/OpenTPW/World/AdvisorScanPark.cs:113 | [BIN:TPW-EXE:0x004CA8E0 standing objects] the attractions (thing type 3) whose type's WhichUIType is the kind; for a ride (kind 0) its upgrade level byte (+0x50) must be at least the argument |
| TPW-EXE:0x004CA9B0 closed objects | source/OpenTPW/World/AdvisorScanPark.cs:121 | [BIN:TPW-EXE:0x004CA9B0 closed objects] the attractions of the kind whose open word is 0 |
| TPW-EXE:0x004CADF0 pick | source/OpenTPW.Tests/AdvisorScanQueuesTests.cs:791 | [BIN:TPW-EXE:0x004CADF0 pick] the walk starts at the head of the thing list, the newest object, and only a strictly lower figure replaces the pick: of two equal lowest figures the newer shop wins |
| TPW-EXE:0x004CADF0 pick | source/OpenTPW/World/AdvisorScanQueues.cs:333 | [BIN:TPW-EXE:0x004CADF0 pick] the walk starts at the head of the thing list (0x516130, 0x516160: the newest); the attraction (thing type 3) of the group older than 30 days (0x4DD670) with a figure: the first one, then a figure below (worst) or above (best) the pick's as signed words |
| TPW-EXE:0x004CADF0 shop value | source/OpenTPW/World/AdvisorScanQueues.cs:314 | [BIN:TPW-EXE:0x004CADF0 shop value] the walk-aways of the 30-day ring (+0x230, head +0x2AC) summed x 100 over the customers of the customers ring (+0x1A8, head +0x224) summed, both as unsigned words in a double and truncated, divided unsigned; a shop whose customers sum is 0 is skipped |
| TPW-EXE:0x004CADF0 stock shops | source/OpenTPW/World/AdvisorScanQueues.cs:304 | [BIN:TPW-EXE:0x004CADF0 stock shops] the attractions whose type record's +0x164 (UsageInfo.ShopType) is the argument: 2 food, 3 restaurant, 4 drinks |
| TPW-EXE:0x004CB640 retail shops | source/OpenTPW/World/AdvisorScanQueues.cs:308 | [BIN:TPW-EXE:0x004CB640 retail shops] the attractions with +0x164 of 1, 5 or 6 |
| TPW-EXE:0x004CBEC0 sideshow satisfaction | source/OpenTPW/World/AdvisorScanQueues.cs:329 | [BIN:TPW-EXE:0x004CBEC0 sideshow satisfaction] the sideshows' best satisfaction skips a sideshow whose customers sum is 0, as the value helpers do; the stock and retail shops' satisfaction helpers do not |
| TPW-EXE:0x004CC090 sideshows | source/OpenTPW/World/AdvisorScanQueues.cs:310 | [BIN:TPW-EXE:0x004CC090 sideshows] the attractions whose type record's WhichUIType (+0x4AC) is 2 |
| TPW-EXE:0x004CCB00 first unconnected queue | source/OpenTPW/World/AdvisorScanInputs.cs:30 | [BIN:TPW-EXE:0x004CCB00 first unconnected queue] the things of type 3 whose flag word +0x32 has the bits 4 (Info.IsChoosable) and 8 (Info.HasQueue) and for which the back-of-queue test 0x4DE4A0 answers 0, in the thing list's order, the selected object 0x527930 skipped; the first one's id is the answer (0 when none) |
| TPW-EXE:0x004CCB00 first unconnected queue | source/OpenTPW/World/Level.AdvisorProbes.cs:64 | [BIN:TPW-EXE:0x004CCB00 first unconnected queue] the walk over the things starts at the head of the thing list, the newest object (0x516130, 0x516160); an attraction counts when its flag word has the bits 4 and 8 and the back-of-queue test 0x4DE4A0 answers 0, unless it is the selected ride 0x8186AC (0x527930) |
| TPW-EXE:0x004CCBF0 average excitement | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:165 | [BIN:TPW-EXE:0x004CCBF0 average excitement] valid byte +0x1F0FC, value +0x1F0F8, stamp +0x1F0F4 (0x41A960 stores the turn, 0x41A990 answers (turn >> 2) - (stamp >> 2)); the walk over the things takes the attractions (type 3) whose type record +0x4AC (WhichUIType) is 0, counts them and adds the low byte of 0x4E0860(thing, 0) |
| TPW-EXE:0x004CCD10 scariest ride | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:132 | [BIN:TPW-EXE:0x004CCD10 scariest ride] the walk takes the first type 3 thing whose type record's +0x4AC is 0 (a handle of 0 is "none yet", so it is taken even at excitement 0), then each later one only above the pick's byte of 0x4E0860(thing, 0) (cmp eax, ebp; jle skips); the handle goes to the caller's word (the scan object's +4) |
| TPW-EXE:0x004CCDF0 litter points | source/OpenTPW/World/AdvisorScanPark.cs:134 | [BIN:TPW-EXE:0x004CCDF0 litter points] over the 128 x 128 cells: a cell counts when it is a path (type 1) or a queue or entrance (3 or 9) cell or holds litter (+0x2C); the litter cells x 100 divided by that count (signed), 0 without any |
| TPW-EXE:0x004CCEB0 park rating | source/OpenTPW/Economy/ParkEconomy.cs:2079 | [BIN:TPW-EXE:0x004CCEB0 park rating] the visitor term counts the guests on a cell of type 0, 1, 3, 9 or 10 now (the predicate 0x004FA990, no cache), capped at 1000; the staff terms count the members whose byte +3 is clear, which only the deleter sets (0x0050B8E9) before it marks the thing deleted (0x0050B906): a dismissal removes the member at once here too |
| TPW-EXE:0x004CD340 patrol marks | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:46 | [BIN:TPW-EXE:0x004CD340 patrol marks] every cell's mark word (+0x3C of its 0x44-byte record) is cleared; then each staff thing whose model equals the role and whose area is not the whole map (0x506EB0) marks the cells of its rectangle, columns from the first corner's x to the second's, rows likewise, inclusive, with 1; a rectangle whose first column is past the second marks nothing |
| TPW-EXE:0x004CD500 coverage | source/OpenTPW/Economy/ParkEconomy.AdvisorInputs.cs:47 | [BIN:TPW-EXE:0x004CD500 coverage] a jump table over the class (0x4CD708): 0 counts the cells that none of 0x536300 (type 2), 0x536360 (7 or 30) and 0x5D60C0 (always 0) answers for, 1 the cells for which 0x536310 (1), 0x536320 (3 or 9), 0x536340 (9), 0x536350 (10), 0x5D60C0, 0x536380 (4), 0x5363F0 (the structure test) or 0x5363E0 (21) answers, 2 the cells of 0x536340, 3 those of 0x536310 or 0x536320; the result is marked cells x 100 / counted cells (a signed division, IMUL by 25 and SHL 2), 0 when nothing is counted |
| TPW-EXE:0x004CD720 camera coverage | source/OpenTPW/Economy/ParkEconomy.cs:2010 | [BIN:TPW-EXE:0x004CD720 camera coverage] each cell is skipped when 0x00536300 (type 2), 0x00536360 (type 7 or 30) or 0x005D60C0 (always 0) answers; the count of the rest and the count whose 10-byte environment cell has the short at +6 above 0 (0x004D8410, the guard prank test 0x00508A30 calls it the security level) give coverage * 100 / count |
| TPW-EXE:0x004CD7F0 covered cells | source/OpenTPW/Economy/ParkEconomy.cs:1987 | [BIN:TPW-EXE:0x004CD7F0 covered cells] the loop over x and y from 127 down to 0 counts a cell when 0x00536340 (type 9), 0x00536350 (10), 0x00536380 (4), 0x005363F0 (the structure test of the net worth, ECON-026) or 0x005363E0 (type 21) answers |
| TPW-EXE:0x004CE9E0 statistic ring | source/OpenTPW/Economy/ParkPriceStatistics.cs:11 | [BIN:TPW-EXE:0x004CE9E0 statistic ring] each of the 20 records of 0x40 bytes (constructed by the park 0x004C5B3C) starts with the head +0x34 at -1, the size +0x38 at 0x32 and the full flag +0x3C clear; the values are bytes at +1 |
| TPW-EXE:0x004CF3E0 arrival group start | source/OpenTPW/World/Guests/GuestSimulation.cs:807 | [BIN:TPW-EXE:0x004CF3E0 arrival group start] the call that starts a group (the timer test, 0x004CF5B0 giving the size, the log "Bus about to arrive with %d people") pushes the size into the five-entry ring at park +0x216D8 (0x004CF42A-0x004CF451), which the advisor's callbacks 0x59F220, 0x59F440 and 0x5A0780 read |
| TPW-EXE:0x004CF3E0 arrival update | source/OpenTPW/World/Guests/GuestSimulation.cs:819 | [BIN:TPW-EXE:0x004CF3E0 arrival update] runs once per park turn at the end of the world turn update 0x00516380 (through 0x004D7B20); the call that starts a group only sends the bus (0x0051A2F0 with size 1, 2 or 3 for groups under 36, up to 60, larger); while the bus is at its stop (vehicle state 2) each call creates one guest (0x004CF720) and counts the group down, and the call that finds it empty restarts the timer (0x0041A960) and sends the bus away |
| TPW-EXE:0x004CF3E0 arrival update | source/OpenTPW/World/Guests/GuestSimulation.cs:866 | [BIN:TPW-EXE:0x004CF3E0 arrival update] with no group active the timer test starts one (0x004CF5B0, "Bus about to arrive with %d people"); with a group active |
| TPW-EXE:0x004CF3E0 arrivals counter | source/OpenTPW/World/Guests/GuestSimulation.cs:856 | [BIN:TPW-EXE:0x004CF3E0 arrivals counter] the analyser's running arrivals (+0x20CC0) rise by one for every step of the group, after the guest is created and the group counts down (the park information window's arrival series) |
| TPW-EXE:0x004CF3E0 arrivals counter | source/OpenTPW/World/Guests/GuestSimulation.cs:898 | [BIN:TPW-EXE:0x004CF3E0 arrivals counter] +0x20CC0 rises by one after the guest is created and the group counts down |
| TPW-EXE:0x004CF42A arrival ring push | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:49 | [BIN:TPW-EXE:0x004CF42A arrival ring push] the arrival update pushes the group's size into the ring at park +0x216D8 as the group starts (the same call that logs "Bus about to arrive with %d people") |
| TPW-EXE:0x004CF42A arrival ring push | source/OpenTPW/World/AdvisorScanChallenges.cs:48 | [BIN:TPW-EXE:0x004CF42A arrival ring push] index + 1, set to 0 with the filled flag raised once it is not below the capacity, then the group's size (+0xC of the arrival object) stored at +4 × index: the oldest entry is overwritten, so the five newest remain |
| TPW-EXE:0x004CF4B6 pick-up | source/OpenTPW/World/Guests/GuestSimulation.cs:870 | [BIN:TPW-EXE:0x004CF4B6 pick-up] then, when a leaving guest waits at the stop (0x0051A9D0), status -1 or 0, or 2 with the group exactly 0 (test at |
| TPW-EXE:0x004CF5B0 arrival group cut | source/OpenTPW/World/Guests/GuestSimulation.cs:240 | [BIN:TPW-EXE:0x004CF5B0 arrival group cut] with the GameType word 0x00FB3B7C at 1 the counted guests plus the group stay at most 500 (cmp 0x1F4 at 0x004CF68A), else at most 1500 (cmp 0x5DC at 0x004CF6E8); the main loop runs the park turn for GameType 1 through 0x005166B0 (0x0054F760), so a visited park runs this routine |
| TPW-EXE:0x004CF6E5 no floor | source/OpenTPW/World/Guests/GuestSimulation.cs:1073 | [BIN:TPW-EXE:0x004CF6E5 no floor] the cut group is the limit minus the counted guests with no clamp (sub esi,ebx at 0x004CF704), negative above the limit; the stop's signed test emits no guest (jle 0x004CF56B: timer restart, active byte cleared), the vehicle size selects a bus (jg 0x004CF48F), and the boarding gate 0x0051A760 takes its below-10 branch (cmp 0xA, jge at 0x0051A844). The arrival ring stores the signed value unchanged (0x004CF451); the advisor's hype callback compares and divides signed (0x0059F31C/0x0059F32A), so a negative newest group can give a drop above 100 percent |
| TPW-EXE:0x004CF720 arrival guest cell | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:29 | [BIN:TPW-EXE:0x004CF720 arrival guest cell] 0x0051AAD0 = 0 (the bus or none at work): the cell of 0x004D8650(1), FixedItemInfo.BusStopB (0x007855B4, 0x007855B8); else that id − 0x100; 0x004FAEC0 builds the guest there (0x004F8940 puts its position at the cell's centre, 0x005100E0 with 0x8000) |
| TPW-EXE:0x004CF7C0 bank constructor | source/OpenTPW/Economy/ParkEconomy.cs:88 | [BIN:TPW-EXE:0x004CF7C0 bank constructor] each offer's stored test (+0x14) starts as amount (+0x18) < 10001 (unsigned) |
| TPW-EXE:0x004D02D0 bank message | source/OpenTPW/Economy/ParkEconomy.cs:1742 | [BIN:TPW-EXE:0x004D02D0 bank message] a type-19 message (CMsgEvent) with value 2 calls 0x005168F0 only while the world state (+0x1DA738) is not 4 and 0x00516C00 (a winning sequence's thing id at 0x7CF4F4) answers false |
| TPW-EXE:0x004D0370 bank month | source/OpenTPW/Economy/ParkEconomy.cs:1553 | [BIN:TPW-EXE:0x004D0370 bank month] the month message first pays the batch word (+0x10, an unsigned credit below 1,000,000 by the routine's own assertion) into the balance, the money-in total (+0x1FC90) and the year's profit (+0x124), then zeroes it (0x4D0393..0x4D03DB), before any instalment |
| TPW-EXE:0x004D0370 bank month | source/OpenTPW/Economy/ParkEconomy.cs:1744 | [BIN:TPW-EXE:0x004D0370 bank month] the routine compares the months in the red only with 5 (above it posts type 2 at 0x004D0557): it gives no warnings before |
| TPW-EXE:0x004D0370 bankruptcy event | source/OpenTPW/Client/AutomaticAdvisor.cs:196 | [BIN:TPW-EXE:0x004D0370 bankruptcy event] at the bank's month-end message (type 0xC via 0x4D02D0): balance < 0, previous balance (+0x11C) < 0 and __alldiv(0x4F88B0(world+0x2A0, turn entered red +0x120), 0x1792F8648000 = 2.592e13) >= 6 (0x4D053B–0x4D054F) post event 2 every month while that holds, through 0x40F630(2); the turn entered red is set when the balance first goes below zero (0x4D041A–0x4D0432); it does not close the park |
| TPW-EXE:0x004D0600 admission | source/OpenTPW/Economy/ParkEconomy.cs:2864 | [BIN:TPW-EXE:0x004D0600 admission] the booth's paying verdict calls the bank deposit with the bank thing (0x004FFAE5): the fee (bank +0x118) goes to the balance, money in (+0x1FC90), the year's takings (+0x124) and the gate row (+0x1FEE0), and 0x004C7520 counts the admission; it reads no park-closed state and nothing reads the guest's purse |
| TPW-EXE:0x004D06B0 credit test | source/OpenTPW/Economy/ParkEconomy.cs:249 | [BIN:TPW-EXE:0x004D06B0 credit test] remaining = sum over the bought offers (+0x28) of (months +0x20 − repaid +0x2C) × monthly +0x24; worth = 0x004C7DB0(20) × 1.0 truncated; the offer passes when amount (+0x18) <= worth − remaining (signed), stored at +0x14 |
| TPW-EXE:0x004D0750 take loan | source/OpenTPW/Economy/ParkEconomy.cs:2731 | [BIN:TPW-EXE:0x004D0750 take loan] taking a loan needs only its bought flag (+0x28) clear ("Applying for loan already bought"): the stored test only decides what the list shows |
| TPW-EXE:0x004D0810 loan available | source/OpenTPW/Economy/ParkEconomy.cs:262 | [BIN:TPW-EXE:0x004D0810 loan available] for each offer index 0..7 it runs the credit test 0x004D06B0 (which also rewrites the stored test word +0x14) and returns 1 at the first offer whose bought flag (+0x28) is clear and whose test passed |
| TPW-EXE:0x004D0970 loan repayment | source/OpenTPW/World/AdvisorScan.cs:13 | [BIN:TPW-EXE:0x004D0970 loan repayment] a record whose bought flag (+0x28) is clear gives 0, else (term − months repaid) × instalment (imul, 32 bits) |
| TPW-EXE:0x004D09A0 cheapest loan | source/OpenTPW/World/AdvisorScan.cs:226 | [BIN:TPW-EXE:0x004D09A0 cheapest loan] over the eight records: amount = (term − repaid) × instalment for a bought one, 0 otherwise; JBE skips 0, JB takes a strictly smaller unsigned amount or the first found |
| TPW-EXE:0x004D0AF0 structure records | source/OpenTPW/Economy/ParkEconomy.cs:2034 | [BIN:TPW-EXE:0x004D0AF0 structure records] a cell's structure record is not part of the cell: the records (0x28 bytes, the type in +8, 0x0B to 0x19) are an array of their own indexed by the cell id, 0x004D0AF0 (the array at game +0x10FFD8), and an extension record (types 0x0C and 0x11) names its parent through +0x10 (0x0053B280, 0x005363F0); the cell keeps its own type in +8 of its 0x44-byte record (0x536300..0x5363E0), whose only immediate writers in the map code are the init 0x00536490 (7, 2, 30, 5, 1, 0) |
| TPW-EXE:0x004D0AF0 structure records | source/OpenTPW/World/ParkCellMap.cs:792 | [BIN:TPW-EXE:0x004D0AF0 structure records] a cell's structure record is not part of the cell: the 0x28-byte records of the second layer (game +0x10FFD8) are an array of their own, and the track type op 0x538FC0 writes the type of the record and never the cell's (0x539017..0x53908C); the cell validator 0x535670 reads both (the cell's +8 and the record's type, with an extension followed to its parent), so a path or queue cell can lie over a straight or stub tile |
| TPW-EXE:0x004D0AF0 structure records | source/OpenTPW/World/ParkFence.cs:9 | [BIN:TPW-EXE:0x004D0AF0 structure records] the record of a cell is not part of the cell: an array of its own indexed by the cell id; the fence uses the type (+8), the links (+0x22 while the fence mode byte 0x81B4CC is set and the record's class byte +2 is 2, 0x522730, 0x522770), +0xD (0x5227E0, 0x522850), the flags (+0xE), the owner (+0x10, 0x539210) and the counter (+0x20) |
| TPW-EXE:0x004D0B30 cell base serializer | source/OpenTPW/World/ParkCellMap.cs:322 | [BIN:TPW-EXE:0x004D0B30 cell base serializer] the load (mode 0) reads mDirection (+0x0D), mFlags (+0x0E), mNeighbours (+0x0C), mOverlapCounter (+0x20), mParentID (+0x10) and mType (+8) of |
| TPW-EXE:0x004D0B30 cell base serializer | source/OpenTPW/World/ParkCellMap.cs:560 | [BIN:TPW-EXE:0x004D0B30 cell base serializer] the load reads each cell's record, link byte (+0x0C, record byte 8) included, so an entrance or exit cell of an imported park carries the bit toward the path outside it, which the placement lays through the outside cell's link writer in mode 1 (0x5348D0 reaching the type-9 cell along its queue link, 0x5292A7..0x5293FE and 0x5298D5..0x5299AC); Easymode's nine entrance cells carry one bit each and its exit cell one, which the edge test 0x4D8750 reads to let a walk step into the stand point |
| TPW-EXE:0x004D1746 challenge types 9 and 10 | source/OpenTPW/Economy/GuestEconomyBridge.cs:250 | [BIN:TPW-EXE:0x004D1746 challenge types 9 and 10] the same on the PC: the counts 0x004C9530 (+0x210 set) and 0x004C95D0 (+0x24 == 2) of the guests on a park cell (0x004FA990) times 100, divided (signed) by the in-park count 0x004C9130 |
| TPW-EXE:0x004D1A00 challenge won mark | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:88 | [BIN:TPW-EXE:0x004D1A00 challenge won mark] sets the slot's completed byte (+0x2C) and, when its follow-up type (+0x18) is 0, posts 0x110 (272); the slot is the one the current index (+0x3CC) names after the follow-up offer has moved it |
| TPW-EXE:0x004D1AE0 challenge lost | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:77 | [BIN:TPW-EXE:0x004D1AE0 challenge lost] the loss routine counts the loss (+0x24) and posts 273 (0x111) |
| TPW-EXE:0x004D1E90 challenge system start | source/OpenTPW/Economy/ParkObjectives.cs:448 | [BIN:TPW-EXE:0x004D1E90 challenge system start] the update that sets the switch (+0x3D8) calls the offer scan 0x4D2A70 with 1 (0x4D1F4B); every later offer, 0x4D2A70 with 0 (0x4D22F5-0x4D2302) or the follow-up offer 0x4D2B60, passes 0 to the message builder 0x4D2C50, which posts advice 0x158 (344) for a nonzero argument and 0x10E (270) for 0 |
| TPW-EXE:0x004D2860 daily challenge message | source/OpenTPW/Economy/ParkEconomy.cs:1493 | [BIN:TPW-EXE:0x004D2860 daily challenge message] the day message adds a running daily-average challenge's value to its sum |
| TPW-EXE:0x004D2C50 challenge offer | source/OpenTPW/Hud/ParkHud.ChallengeMessages.cs:10 | [BIN:TPW-EXE:0x004D2C50 challenge offer] the offer posts a message of type 25 (CMsgChallenge, 0x0040F7A0, vtable 0x006FD830 returns 0x19) to the bus, with a type-dependent text tag (0x004D3220), separate spoken advice and the slot's prize, time and objects |
| TPW-EXE:0x004D2C50 challenge offered | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:66 | [BIN:TPW-EXE:0x004D2C50 challenge offered] the offer posts 270 (0x10E), or 344 (0x158) when it is the first offer, the one that switched the challenge system on (the nonzero argument of 0x4D2A70) |
| TPW-EXE:0x004D3AA0 object controls | source/OpenTPW/Economy/OriginalEconomyImport.cs:175 | [BIN:TPW-EXE:0x004D3AA0 object controls] the world loader reads the control manager's table (0x005179C0 calls 0x004D3AA0 at 0x005181E7) before the saved things, so every record's +0x1C (the first purchase, 0x004DB690) comes back verbatim |
| TPW-EXE:0x004D3AA0 object controls | source/OpenTPW/Economy/OriginalResearchExport.cs:76 | [BIN:TPW-EXE:0x004D3AA0 object controls] a record's researched byte (+0x10) is 1 for a type without a research cost and, once the project is finished, the completion 0x00504630 writes 1 and the project's level into +0x14 (ParkResearch.ResearchedLevel) |
| TPW-EXE:0x004D3AA0 object controls | source/OpenTPW/Economy/ParkEconomy.cs:2340 | [BIN:TPW-EXE:0x004D3AA0 object controls] an object imported from an original save finds its type's first-purchase turn restored from the save's object-control block (OriginalEconomyImport.ImportFirstPurchases), and is stamped with the import turn only while the type is still at 0, which is the original's rule |
| TPW-EXE:0x004D3E00 per-type price word | source/OpenTPW/World/Guests/GuestSimulation.cs:3281 | [BIN:TPW-EXE:0x004D3E00 per-type price word] the word +0xC of the per-type record the price test reads (0x004E2740 → 0x004D3D10) is copied from the type record's +0x16C, UsageInfo.RipOffOK (key 42 of the table at 0x007456E8); no caller of the record lookup 0x004D3D10 stores that word |
| TPW-EXE:0x004D3ED0 visitor wrapper creation | source/OpenTPW/World/Guests/VisitorSpriteState.cs:220 | [BIN:TPW-EXE:0x004D3ED0 visitor wrapper creation] initializes handle, pending template and pending interval to zero |
| TPW-EXE:0x004D4140 sprite creation | source/OpenTPW/World/Staff/StaffSpriteState.cs:86 | [BIN:TPW-EXE:0x004D4140 sprite creation] 0x475A10 builds the record (0x4758F0: output not valid, the program's start as current and restart PC, interval +0x80 = 0x3E, due +0x7C = clock + interval, alpha 255, both scales 1) and stores the handle in the person's +0xC; the pending words are not touched |
| TPW-EXE:0x004D4140 visitor sprite creation | source/OpenTPW/World/Guests/VisitorSpriteState.cs:161 | [BIN:TPW-EXE:0x004D4140 visitor sprite creation] installs the new handle only; the wrapper's pending template and interval are not cleared |
| TPW-EXE:0x004D4170 sprite deletion | source/OpenTPW/World/Staff/StaffSpriteState.cs:99 | [BIN:TPW-EXE:0x004D4170 sprite deletion] 0x475550 frees the record, the handle word becomes 0 and the wrapper's pending template and interval are not cleared |
| TPW-EXE:0x004D4170 visitor sprite deletion | source/OpenTPW/World/Guests/VisitorSpriteState.cs:216 | [BIN:TPW-EXE:0x004D4170 visitor sprite deletion] deletes the sprite and zeroes the handle without touching the pending words |
| TPW-EXE:0x004D4190 visitor pending application | source/OpenTPW/World/Guests/VisitorSpriteState.cs:202 | [BIN:TPW-EXE:0x004D4190 visitor pending application] the underlying 0x475B80 and 0x475610 ignore a zero handle; the wrapper still clears both words |
| TPW-EXE:0x004D4340 constructor searches | source/OpenTPW/Economy/ParkEconomy.cs:124 | [EXT:headless-economy] a headless economy (tests and tools, no staff world) searches on the member's first update, which is OpenTPW's own test and tool design and has no original counterpart (user-approved 2026-10-16, DET-015 converted 2026-10-30); in a level the staff pool's and the staff walks' draws are the world generator's, and the staff constructors' role searches run inside the placing click of a level ([BIN:TPW-EXE:0x004D4340 constructor searches] StaffWorldSimulation.Constructed after the hire's draws: [BIN:TPW-EXE:0x004F89E1 staff base speed] the consumed base-speed draw and the guard's variant draw, see ParkStaff.Hire; no staff constructor reseeds, 0x4F7B7E is the online avatar's); a headless economy has no staff world and searches on the member's first update, the researcher constructor's last call 0x5041F0 runs at a researcher's hire and removal without a draw ([BIN:TPW-EXE:0x005041F0 researchers flag] ParkStaff.LabActive, message 5 or 6 on a change; the advisor's reaction is ADVISOR-009's), and the weather stays off the stream ([BIN:TPW-EXE:0x59A796 advisor pick] the advisor's update takes no draw: all 351 descriptor rows are in the sequential mode 2, the mode-3 draw 0x59A7AC is unreachable) |
| TPW-EXE:0x004D4340 entertainer ctor | source/OpenTPW/World/Staff/StaffWorldSimulation.Constructed.cs:9 | [BIN:TPW-EXE:0x004D4340 entertainer ctor] the base constructor (0x504B10: the base-speed draw), the row 0 on the first cell (0x4D8440), then the search 0x4D46D0 with no draw between them |
| TPW-EXE:0x004D4460 entertainer serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:703 | [BIN:TPW-EXE:0x004D4460 entertainer serializer] mTimeStartedEntertaining (+0x214); [BIN:TPW-EXE:0x00502760 researcher serializer] mTimeStartedResearching (+0x214) |
| TPW-EXE:0x004D4660 entertainer pre-update | source/OpenTPW/Economy/OriginalEconomyImport.cs:536 | [BIN:TPW-EXE:0x004D4660 entertainer pre-update] the pre-updates of the entertainers and the guards (0x004D4660, 0x004D6360) swap the person's +0xCC word (0x004F9460: the cell id y x 128 + x + 1 the last pre-update saw, mLastRecordedMapID, saved by the person serializer) for the current cell id and, when they differ, take the row off the old cell (0x004D8460) and put it on the new one (0x004D8440): the saved id is the cell the member's row stands on in the saved grid |
| TPW-EXE:0x004D46D0 entertainer search | source/OpenTPW/World/Staff/StaffWorldSimulation.Entertainers.cs:46 | [BIN:TPW-EXE:0x004D46D0 entertainer search] 0x00506A40 (strike, rest), 0x00506680 (too tired: "Too tired to entertain"); a draw % 3 == 0 and 0x004C8EB0 (a thing of type 1 within EntertainerConstsPerGrade[grade].ActivationDistance, 0x007853A0 + 16 × grade) draw the performance's animation and set state 14 with +0x214 = the turn; else (turn & 3) == 0 draws once and idles (0x005054D0(0)), or 0x004F9490 finds a destination, draws once and patrols (state 1); a failed wander changes nothing |
| TPW-EXE:0x004D47B5 performance draw | source/OpenTPW/World/Staff/StaffWorldSimulation.Entertainers.cs:55 | [BIN:TPW-EXE:0x004D47B5 performance draw] the second draw picks the performance's script: 13 + (draw mod (n - 1)) of the bank's n entries, 13 when n is 1 (StaffSpriteRules.Perform) |
| TPW-EXE:0x004D47CC performance template | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:101 | [BIN:TPW-EXE:0x004D47CC performance template] 0x00541FA0 returns the bank's count n of present entries (+0x20C); n == 1 gives 13, else (draw % (n - 1)) + 13, 0x004217F0 queues it and the state becomes 14 |
| TPW-EXE:0x004D4810 entertainer update | source/OpenTPW/World/Staff/StaffWorldSimulation.Entertainers.cs:12 | [BIN:TPW-EXE:0x004D4810 entertainer update] 0 idle: a world draw, (draw & 15) == 0 plays cat_staff 165, then waits while the turn is at most IdleDuration[grade] + the idle stamp +0x200; 1 patrol: a world draw for cat_staff 164, a walk step (0x004FA2A0), the walk drain while walking (0x005066A0); 14 performing: the work drain (0x00506760), then once the turn passes the stamp +0x214 + EntertainerConstsPerGrade[grade].WorkDuration (0x00785398 + 16 × grade) cat_staff 135 at the actor (0x0051BFC0); every end of an idle, a walk or a performance runs the search 0x004D46D0; 2, 3 and the others are the generic staff handlers |
| TPW-EXE:0x004D4A00 secret golden ticket | source/OpenTPW/Economy/ParkObjectives.cs:660 | [BIN:TPW-EXE:0x004D4A00 secret golden ticket] after the local and global checks, a park without the secret ticket (0x005AF800) whose camera coverage (0x004CD720) is exactly 100 awards it (0x005AFB00, 0x004D5870, index 0); no other caller of those two exists, so there is no all-land ticket |
| TPW-EXE:0x004D4AC0 tickets held | source/OpenTPW/World/AdvisorScanChallenges.cs:438 | [BIN:TPW-EXE:0x004D4AC0 tickets held] the global flags and every park's local flags (0x5AF4A0), the secret ones left out |
| TPW-EXE:0x004D4AD0 ticket purchase | source/OpenTPW/Economy/ParkEconomy.cs:2190 | [BIN:TPW-EXE:0x004D4AD0 ticket purchase] the cost goes to the player's spent count (0x5AF740, +0x1C) when the check passed; the park keeps its own spent count and set as its history |
| TPW-EXE:0x004D4B70 ticket item owned | source/OpenTPW/Economy/ParkEconomy.cs:217 | [BIN:TPW-EXE:0x004D4B70 ticket item owned] asks the player's set (0x5AF780), which every park of the player shares |
| TPW-EXE:0x004D4BC0 recent visitors ticket | source/OpenTPW/Economy/ParkObjectives.cs:620 | [BIN:TPW-EXE:0x004D4BC0 recent visitors ticket] recent > RecentVisitors and the park clock's age in exact 30-day months (0x004F8800 divided by 0x1792F8648000) > RecentVisitorMonths, both strict |
| TPW-EXE:0x004D4BC0 ticket thresholds | source/OpenTPW/World/AdvisorScanChallenges.cs:429 | [BIN:TPW-EXE:0x004D4BC0 ticket thresholds] the words 0x785790, 0x785794, 0x785798 and 0x78579C the local ticket check compares with are GoldenTicketLocal.Visitors, PeopleInPark, Happiness and AtLeastThisManyHappyPeople |
| TPW-EXE:0x004D4E50 global golden tickets | source/OpenTPW/Economy/ParkObjectives.cs:657 | [BIN:TPW-EXE:0x004D4E50 global golden tickets] the four global tickets are tested in index order against the GoldenTicketGlobal words (0x7857AC, B0, B4, BC), each strictly greater: coaster height, go-kart excitement, water length and, index 3, the big park, whose count (0x004CD7F0) goes over all 128 x 128 cells of type 9, 10, 4 or 21 or under a structure of 0x005363F0 and is compared with GoldenTicketGlobal.MinCellsCovered (0x7857BC, the fifth key of the table 0x73FC70); MinCellsOwned (0x7857B8) is never read |
| TPW-EXE:0x004D4FA0 local ticket won | source/OpenTPW/World/AdvisorScanChallenges.cs:126 | [BIN:TPW-EXE:0x004D4FA0 local ticket won] outcome 1, 2 or 3 queues 0xD7, 0xD8 or 0xD9 (215-217) with the ticket's type (0 to 5) as the response variant (the record's +8, the fourth argument of 0x59B590); the global 0x4D5270 queues 0xDC to 0xDE (220-222) with the global type 0 to 3 and the secret 0x4D5870 0xE1 to 0xE3 (225-227) with the secret type |
| TPW-EXE:0x004D4FA0 ticket won | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:113 | [BIN:TPW-EXE:0x004D4FA0 ticket won] the outcome 1, 2 or 3 of 0x5AF810 (0x5AF940, 0x5AFB00) picks the message of the three, the ticket's type is the response variant; every win then runs 0x4D5B30 |
| TPW-EXE:0x004D5270 global ticket moved | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:61 | [BIN:TPW-EXE:0x004D5270 global ticket moved] the moved outcome posts its own line (234 + type, in OnParkEvent) and then, like every outcome, runs 0x4D5B30 |
| TPW-EXE:0x004D5270 global ticket moved | source/OpenTPW/Client/AutomaticAdvisor.cs:238 | [BIN:TPW-EXE:0x004D5270 global ticket moved] the type 0..3 (coaster height, go-kart excitement, water length, big park) picks 0xEA, 0xEB, 0xEC or 0xED, built through 0x59B590 |
| TPW-EXE:0x004D5270 global ticket moved | source/OpenTPW/Economy/ParkEconomy.cs:1090 | [BIN:TPW-EXE:0x004D5270 global ticket moved] result 4 of 0x5AF940 logs "Global ticket award moved here" (0x75A71C, a debug log) and queues the advice 0xEA + type (234 + type: coaster height, go-kart excitement, water length, big park) through 0x59B590 |
| TPW-EXE:0x004D5270 global ticket moved | source/OpenTPW/World/AdvisorController.cs:150 | [BIN:TPW-EXE:0x004D5270 global ticket moved] the four rows 0xEA-0xED share the callback 0x59E8B0, the word at +0x324 of the Advisor.sam object, AwardMoved.Score, which sits just before HelpMessage.Score at +0x328; AutomaticAdvisor.GlobalTicketMovedMessage posts them as a global ticket moves to this park |
| TPW-EXE:0x004D5B30 first ticket | source/OpenTPW/Client/AutomaticAdvisor.Challenges.cs:123 | [BIN:TPW-EXE:0x004D5B30 first ticket] the sum of all tickets, the secret ones too (0x5AF530), is 1: 0x137 (311) and then 0x13B (315) are queued |
| TPW-EXE:0x004D5DE0 guard list | source/OpenTPW.Tests/GuardEntertainerTests.cs:186 | [BIN:TPW-EXE:0x004D5DE0 guard list] a hired guard goes to the head of the guard list (0x00519AA0), which the choice 0x005099C0 walks from the head, the first of equal distances winning |
| TPW-EXE:0x004D5DE0 guard list | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:86 | [BIN:TPW-EXE:0x004D5DE0 guard list] a hired guard is pushed at the head of the guard list (game +0x1DA744, next +0x210; 0x00519AA0), so the list runs newest first and the newest wins a tie of the choice |
| TPW-EXE:0x004D5E02 guard variant | source/OpenTPW/Economy/ParkStaff.cs:550 | [BIN:TPW-EXE:0x004D5E02 guard variant] the guard constructor draws its own sprite variant ((R >> 2) mod the guard bank count, 0x00541F70) instead of taking the candidate's |
| TPW-EXE:0x004D5E68 guard ctor | source/OpenTPW/World/Staff/StaffWorldSimulation.Constructed.cs:10 | [BIN:TPW-EXE:0x004D5E68 guard ctor] the base constructor, the guard's own variant draw (0x4D5E02), the gate 0x506A40, then the wander 0x4F9490 on a turn whose low two bits are not both 0 (state 1) else state 0: the search 0x4D63D0 |
| TPW-EXE:0x004D6000 guard serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:704 | [BIN:TPW-EXE:0x004D6000 guard serializer] mPerp (+0x212), mProsecutionTimestamp (+0x214, the chase timer the state setter 0x004D65D0 sets) |
| TPW-EXE:0x004D6260 chase start | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:92 | [BIN:TPW-EXE:0x004D6260 chase start] too tired (0x00506680): nothing; else cat_staff 136 at the guard, the target +0x212 = the guest, a route to its cell: state 16, else nothing (the target stays) |
| TPW-EXE:0x004D6350 escort state | source/OpenTPW/Economy/OriginalEconomyImport.cs:774 | [APPROX:SAVE-002] [BIN:TPW-EXE:0x004D6350 escort state] a guard whose perpetrator is no guest of the save is imported idle |
| TPW-EXE:0x004D6410 guard update | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:21 | [BIN:TPW-EXE:0x004D6410 guard update] 0 idle: a world draw, (draw & 15) == 0 plays cat_staff 167, waits while the turn is at most IdleDuration[grade] + the idle stamp; 1 patrol: a world draw for cat_staff 166, a walk step, the walk drain while walking; both then run the strike and rest gate 0x00506A40 and, on a turn whose low two bits are not both 0, the wander 0x004F9490 (state 1), else state 0; 16 the chase 0x004D6790; 18 the escort 0x004D6A50; 19 walks, then routes to the park entrance (0x004D8690, the turn's bit 0) and patrols (state 1) or idles; 2, 3 and the others are the generic staff handlers |
| TPW-EXE:0x004D65D0 guard setter | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:21 | [BIN:TPW-EXE:0x004D65D0 guard setter] 0x10 sets the bonus and the chase timer, 0x12 and 0x13 clear the bonus: none queues a template; the others clear the bonus and go to 0x005054D0 |
| TPW-EXE:0x004D65D0 guard state setter | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:651 | [BIN:TPW-EXE:0x004D65D0 guard state setter] 0: the target +0x212 = 0, then 0x005054D0(0); 16: +0xC2 = 25 (0x0075C7F2) and the chase timer +0x214 = GuardConstsPerGrade[grade].WorkDuration (0x00785498 + 8 × grade); 18, 19 and the others: +0xC2 = 0 (0x0075C7F0); 7 from 18 sets the guest down first |
| TPW-EXE:0x004D6790 caught a kid | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:166 | [BIN:TPW-EXE:0x004D6790 caught a kid] right after the catch (0x004FEC10) the guard queues template 0x16 (the catch, which hands over to the hold), before the guest is held |
| TPW-EXE:0x004D6790 chase | source/OpenTPW/Economy/OriginalEconomyImport.cs:458 | [BIN:TPW-EXE:0x004D6790 chase] a guard chasing a guest (state 16, +0x212) walks to the guest's cell whatever state it is in and gives up there when the catch test 0x004FEC10 fails: the chase names a saved guest and the guest import decides which of them are restored (IdleEscortsWithoutARestoredGuest) |
| TPW-EXE:0x004D6790 chase | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:133 | [BIN:TPW-EXE:0x004D6790 chase] the work drain (0x00506760); no target or a timer of 0 abandons, else the timer +0x214 counts down; the walk step: arrived on another cell than the guest's re-routes to its cell (none: abandon), held (2) abandons, another cell waits; on its cell 0x004FEC10 (states 6–10) or abandon; caught: +0xC2 = 0, cat_staff 137, the guest held (0x004FEB10, state 17), a route to the ticket booth (0x004D8610, the turn's bit 0; a second try with +0x188 = 1): state 18, else the guest is set down on the guard's cell and he abandons; abandoning sets +0xC2 = 0, state 0 and clears the target |
| TPW-EXE:0x004D67AC chase timer | source/OpenTPW.Tests/GuardEscortFailureTests.cs:226 | [BIN:TPW-EXE:0x004D67AC chase timer] a timer of 0 gives the chase up before the guard moves |
| TPW-EXE:0x004D691B caught kid counted | source/OpenTPW.Tests/GuardEscortFailureTests.cs:145 | [BIN:TPW-EXE:0x004D691B caught kid counted] the catch counted the kid (month and lifetime words), the set-down failure then abandoned the chase (0x004D6A1F: month, lifetime and got-away words) |
| TPW-EXE:0x004D691B caught kid counted | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:163 | [BIN:TPW-EXE:0x004D691B caught kid counted] the analyser's misbehaving-kids call (0x004C74F0 with a nonzero argument) runs right after the catch succeeds (0x004FEC10), before the sound and the hold: the month and lifetime words |
| TPW-EXE:0x004D6954 | source/OpenTPW.Tests/GuardEscortFailureTests.cs:173 | [BIN:TPW-EXE:0x004D6954] the catch routes to the booth cell of the turn's side and nowhere else: a booth that is no path cell fails the first request (the guard's mask 0), and the second request |
| TPW-EXE:0x004D6954 | source/OpenTPW.Tests/GuardEscortFailureTests.cs:177 | [BIN:TPW-EXE:0x004D6954] tp.exe reads the booth cell from its fixed table (0x004D8610) and always routes to it: a lane that the park rejects (its entrance end is no walkable cell) does not stop the catch's route to the booth. |
| TPW-EXE:0x004D6954 booth route | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:214 | [BIN:TPW-EXE:0x004D6954 booth route] the catch asks 0x004D8610 for the booth cell of the side the world turn's bit 0 names ([game +0x1DA70C] & 1, the same side for both tries) and requests a route to that one cell (0x004FA530, SetDest 0x00510100 on the cell map with the walk mask), first with the guard's mask, then with +0x188 = 1 (0x004D6977, 0x004D699C); the guard never routes to the entrance in its place, the entrance (0x004D8690) is only the way back after the escort (0x004D6AF0) |
| TPW-EXE:0x004D6977 escort walk mask | source/OpenTPW.Tests/HeldGuestImportTests.cs:162 | [BIN:TPW-EXE:0x004D6977 escort walk mask] the second try to the booth runs with +0x188 = 1, which the saved nav_mode keeps; the loader's route uses it |
| TPW-EXE:0x004D6977 escort walk mask | source/OpenTPW/Economy/OriginalEconomyImport.cs:530 | [BIN:TPW-EXE:0x004D6977 escort walk mask] the walk mask +0x188 is saved in the navigation state (nav_mode) and the loader's route uses it: a guard escorting by the second try (+0x188 = 1) walks off the paths to the booth |
| TPW-EXE:0x004D6A01 abandoned chase | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:186 | [BIN:TPW-EXE:0x004D6A01 abandoned chase] every way out of the chase that gives it up (no target or timer, a failed route, the held guest, the failed catch, the failed second route) reaches this tail: "Guard: abandoned chase" (0x75A944), the analyser's misbehaving-kids call with 0 (0x004D6A1F: the month, lifetime and got-away words), the state back to idle (0x4D65D0 with 0, the target +0x212 cleared) |
| TPW-EXE:0x004D6A50 escort | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:47 | [BIN:TPW-EXE:0x004D6A50 escort] on arrival (or a broken walk) the guard queues template 0x18 (the release), the guest is set down on the guard's cell (0x004FEB50), +0x188 = 0, and the guard routes to the park entrance (0x004D8690, the turn's bit 0): state 19, else 0 |
| TPW-EXE:0x004D6A50 escort arrival | source/OpenTPW.Tests/HeldGuestImportTests.cs:194 | [BIN:TPW-EXE:0x004D6A50 escort arrival] the arrival sets down whatever thing +0x212 names without a state test, and 0x00501C94 never changes a guard's state |
| TPW-EXE:0x004D6A50 escort arrival | source/OpenTPW/Economy/OriginalEconomyImport.cs:770 | [BIN:TPW-EXE:0x004D6A50 escort arrival] state 18 carries its perpetrator (+0x212, mPerp) to the ticket booth and its arrival sets that thing down (0x004FEB50) without testing its state (0x004D6A72..0x004D6AC6), so every guard naming a saved guest escorts, duplicates included; the walk goes on to the saved destination (0x004F9407) and the arrival sets the guest down (0x004D6A50) |
| TPW-EXE:0x004D6A50 guard release | source/OpenTPW/World/Staff/StaffSpritePrograms.cs:94 | [BIN:TPW-EXE:0x004D6A50 guard release] escort completion/stuck queues template 24 before releasing the guest |
| TPW-EXE:0x004D6C73 handyman ctor | source/OpenTPW/World/Staff/StaffWorldSimulation.Constructed.cs:11 | [BIN:TPW-EXE:0x004D6C73 handyman ctor] the base constructor, then the job search 0x4D7100 |
| TPW-EXE:0x004D6D60 handyman serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:702 | [BIN:TPW-EXE:0x004D6D60 handyman serializer] mTargetLitterCell (+0x218), mTimeStartedCleaning (+0x214), mToiletToClean (+0x21A); the clean state 11 ends once the turn passes +0x214 + WorkDuration (0x004D73C0) |
| TPW-EXE:0x004D6D60 handyman serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:753 | [BIN:TPW-EXE:0x004D6D60 handyman serializer] mTargetLitterCell (+0x218, a cell id y × 128 + x + 1) and mTimeStartedCleaning (+0x214): the target is the littered cell the handyman walks to or sweeps, which he holds the claim of (the cell's collector word and its marked turn) |
| TPW-EXE:0x004D7100 handyman job search | source/OpenTPW.Tests/HandymanTests.cs:254 | [BIN:TPW-EXE:0x004D7100 handyman job search] the litter finder 0x004C8ED0 asks nothing of the area: 0x00506ED0 has one caller, the wander 0x004F9490 |
| TPW-EXE:0x004D7100 handyman job search | source/OpenTPW/Economy/ParkEconomy.cs:1455 | [BIN:TPW-EXE:0x004D7100 handyman job search] after the strike/rest gate (0x00506A40) and the too-tired gate (energy byte below RestLevel), the litter finder 0x004C8ED0 scans the cells within DetectionRange (x outer, y inner) for litter claimed by nobody or by him and takes the nearest by Manhattan distance; only without litter does 0x004D7880 look for a toilet flagged by mRequestedService, or one whose gauge byte is below 25 within DetectionRange; a sweep or a clean ends when the turn passes the arrival stamp + WorkDuration[grade] (0x004D76A0, 0x004D73C0; the grade table 0x007853EC {WorkDuration, DetectionRange, PoundsPerTrainingPoint}) |
| TPW-EXE:0x004D7100 handyman job search | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:340 | [BIN:TPW-EXE:0x004D7100 handyman job search] 0x00506A40 (strike, rest; a comfortable member's base speed from its energy, 0x0075C7F8) and 0x00506680 (energy byte below RestLevel: no jobs); the litter finder 0x004C8ED0 within DetectionRange (0x007853F0 + 12 × grade); a find reseeds the generator with the cell id for the walk's sub-cell point (0x004D71CA, 13 × clamp(r & 0x7F, 1, 9)), and a route claims the cell (0x004D9600) and sets state 8, no route skips to the patrol; without litter the toilet search 0x004D7880 sets state 10; then 0x004F9490 (state 1) or state 0 |
| TPW-EXE:0x004D7330 handyman setter | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:18 | [BIN:TPW-EXE:0x004D7330 handyman setter] 8 and 10: the bonus +0xC2 = 25 and template 9; 9 and 11: the stamp +0x214 and template 0x11; the others 0x005054D0 |
| TPW-EXE:0x004D7330 handyman state setter | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:650 | [BIN:TPW-EXE:0x004D7330 handyman state setter] 8 and 10: +0xC2 = 25 (0x0075C7F2); 9 and 11: +0x214 = the turn; others through 0x005054D0, whose state 0 sets +0x200 to the turn after state 1 and to 0 otherwise and +0xC2 to 0 (0x0075C7F0) |
| TPW-EXE:0x004D73C0 handyman update | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:38 | [BIN:TPW-EXE:0x004D73C0 handyman update] once per park turn after the pre-update 0x004D7060 (the speed 0x004FA870 and, while idle, a litter scan every IdleDuration turns): 0 idle until the turn passes +0x200 + IdleDuration[grade] (0x00785330 + 16 × grade); 1 patrol: one walk step, the walk drain while walking (0x005066A0), the job search on arrival or stuck; 8 to litter (0x004D7580); 9 sweep (0x004D76A0); 10 to a toilet (0x004D7790); 11 clean until the turn passes +0x214 + WorkDuration[grade] (0x004DFD80, 0x004DF390); every other state runs the generic staff handler |
| TPW-EXE:0x004D73C0 handyman voices | source/OpenTPW/Audio/GameAudio.cs:897 | [BIN:TPW-EXE:0x004D73C0 handyman voices] states 0 and 1 draw the world generator on every update and at (draw & 0xF) == 0 play bank 0x00803A30 (cat_staff) 161 (idle) or 160 (walking) through 0x004FAA00 |
| TPW-EXE:0x004D76A0 sweep | source/OpenTPW/Economy/ParkEconomy.cs:1277 | [BIN:TPW-EXE:0x004D76A0 sweep] when the turn passes the arrival stamp + WorkDuration[grade], 0x004D9620 removes the litter of the handyman's cell |
| TPW-EXE:0x004D7790 to a toilet | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:311 | [BIN:TPW-EXE:0x004D7790 to a toilet] the walk step: held (2) or arrived anywhere but the toilet's access cell +0x36, or with its claim |
| TPW-EXE:0x004D7880 toilet search | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:407 | [BIN:TPW-EXE:0x004D7880 toilet search] candidates with flag +0x32 bit 0 whose claim (0x004E0220) is free or his; d = dx² + dy²; accept when (mRequestedService (0x004E03D0) and d below the best) or (the gauge byte below 25 (0x004E0390) and d below DetectionRange²), and the route test 0x004FA530 to +0x36 passes; the best becomes d; the winner is claimed (0x004E01F0) |
| TPW-EXE:0x004D7B20 world tail | source/OpenTPW/World/Level.Simulation.cs:432 | [BIN:TPW-EXE:0x004D7B20 world tail] runs in every world state: the arrival update has no lost-park test of its own (0x4CF3E0 reads the vehicle and the group only), so a lost park still sends its bus and steps guests off |
| TPW-EXE:0x004D7B20 world turn tail | source/OpenTPW/Economy/ParkEconomy.cs:350 | [BIN:TPW-EXE:0x004D7B20 world turn tail] a lost park (world state 4) keeps its turn counter, calendar and bank: only the thing loop of 0x00516380 stops |
| TPW-EXE:0x004D7F3D | source/OpenTPW.Tests/PathLinkWriterTests.cs:50 | [BIN:TPW-EXE:0x004D7F3D] cells are initialised in index order and each is linked with mode 1 (0x53653B) against the cells before it, so a 2 x 2 block |
| TPW-EXE:0x004D7F3D map init loop | source/OpenTPW/World/ParkCellMap.cs:334 | [BIN:TPW-EXE:0x004D7F3D map init loop] the cells are initialised in index order, 16384 of them (id = index + 1, x = index & 0x7F, y = index >> 7), each one built on a scratch cell and stored after its writer call (0x4D7F5A, then 0x50C1F0), so the writer sees only the cells before it: a later neighbour is still type 0 and links when its own call runs |
| TPW-EXE:0x004D8480 region writer | source/OpenTPW/World/ParkEnvironment.cs:140 | [BIN:TPW-EXE:0x004D8480 region writer] the add/remove wrappers 0x004D8440 / 0x004D8460 pass 1 / 0; sign +1 or −1; x0 = max(0, x − r), x1 = min(127, x + r), likewise y; for each cell and each of the five words: word += sign × coefficient / (|dx| + |dy| + 1) through idiv (the Mac 0xd73a0, docs/reverse/PPC-guests.md) |
| TPW-EXE:0x004D8610 ticket booth cell | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:49 | [BIN:TPW-EXE:0x004D8610 ticket booth cell] side 0: (0x0078559C, 0x007855A0), else (0x007855A4, 0x007855A8), the cell id y × 128 + x + 1 |
| TPW-EXE:0x004D8650 bus stop cell word | source/OpenTPW.Tests/AdvisorLevelProbesTests.cs:98 | [BIN:TPW-EXE:0x004D8650 bus stop cell word] the flag 1 returns (0x7855B8 << 7) + 0x7855B4 + 1 |
| TPW-EXE:0x004D8650 bus stop cell word | source/OpenTPW/World/Level.AdvisorProbes.cs:48 | [BIN:TPW-EXE:0x004D8650 bus stop cell word] the flag 1 returns the word (0x7855B8 << 7) + 0x7855B4 + 1 (lea ecx, [eax + ecx + 1], stored as a word) |
| TPW-EXE:0x004D8690 entrance cell | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:64 | [BIN:TPW-EXE:0x004D8690 entrance cell] side 0: (0x007855BC, 0x007855C0), else (0x007855C4, 0x007855C8) |
| TPW-EXE:0x004D86D0 gate crossing cell | source/OpenTPW/World/Guests/GuestSimulation.cs:2124 | [BIN:TPW-EXE:0x004D86D0 gate crossing cell] FixedItemInfo.CrossingParkSide at 0x007855CC/0x007855D0 (side A) and 0x007855D4 (side B's x); both cells take the row of side A (0x007855D0): the cell id is y × 128 + x + 1 |
| TPW-EXE:0x004D8710 bus-side crossing | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:40 | [BIN:TPW-EXE:0x004D8710 bus-side crossing] the side-0 cell is (CrossingBSSideAPosX 0x007855DC, CrossingBSSideAPosY 0x007855E0), the side-1 cell (CrossingBSSideBPosX 0x007855E4, the same row) |
| TPW-EXE:0x004D8750 edge test | source/OpenTPW/World/Guests/WalkSearch.cs:22 | [BIN:TPW-EXE:0x004D8750 edge test] blocked(from, d, mask): map edge (x 0 with d 3, y 0 with d 0, x 127 with d 1, y 127 with d 2); a path target from a non-queue cell is open; type 4 to type 4 open; type 4 target blocked; a 0x1E target is open unless mask 2; mask 2 (or a 0x1E target) reads the target's flag 0x400 (open) and a type-9 target's ride thing; targets of type 2, 5 or 7 blocked; a queue (3, 9) target is open from a path or queue cell whose neighbour link (+0x0C) points back; a path target from a queue cell likewise; an object cell (0x5363F0, 0x53AD20) may block; from a cell that is neither path nor queue every step is open; mask 1 opens path to any non-path, non-queue, non-4 cell; mask 2 path to type 0; a type 9 or 10 source opens into a type-0 cell along its queue link (+0x0D); everything else is blocked |
| TPW-EXE:0x004D8750 queue link readers | source/OpenTPW/World/ParkCellMap.cs:68 | [BIN:TPW-EXE:0x004D8750 queue link readers] the edge test and the link writer read +0xD of types 9 and 10 (0x534A18..0x534A74), the queue walk and the cell models of type 3 (0x4DE670, 0x535DD0); Easymode's saved entrance and exit cells carry the rotated direction byte there |
| TPW-EXE:0x004D8750 queue walk | source/OpenTPW/World/Guests/GuestSimulation.cs:3076 | [BIN:TPW-EXE:0x004D8750 queue walk] a queue walk is the search and edge-test walk of every guest (Navigate): the edge test opens a step between queue cells, and between the join path and the back cell, through the link bytes the queue tool wrote (QueuePaths); the last walk into the ride's entrance cell is the same walk (the stand point, state 13) |
| TPW-EXE:0x004D8806 cell types | source/OpenTPW/World/Guests/WalkSearch.cs:82 | [BIN:TPW-EXE:0x004D8806 cell types] the tests read the map cell's own type (+8: 0x536310, 0x536320, 0x536380, 0x5363A0), which a track tile of the second layer never changes (0x538FC0 writes the record's type): PrimaryTypeAt is that layer, where OpenTPW's type byte only shows a tile over otherwise empty ground |
| TPW-EXE:0x004D8871 mask-2 target | source/OpenTPW/World/Guests/WalkSearch.cs:103 | [BIN:TPW-EXE:0x004D8871 mask-2 target] the target's flag 0x400 opens it; a type-9 target whose owner cell lists an object (the first thing of type 3, 0x004D88BC..0x004D88F3) is open when the object can be ridden (0x0042A440) and its type has CannotRide 0 (0x004DD4E0 +0x118), else blocked (0x004D8B00..0x004D8B28); without such a thing the test goes on. The only callers with mask 2 are the camera's (0x0042C093, 0x0042C290): no guest or staff member of OpenTPW walks with it |
| TPW-EXE:0x004D89C3 target record | source/OpenTPW/World/Guests/WalkSearch.cs:45 | [BIN:TPW-EXE:0x004D89C3 target record] 0x5363F0 on the target (kinds 0xB, 0xD, 0x10, 0x12 and 0x19; 0xC and 0x11 through the parent word +0x10, none when it is 0), then the flag nibble of the record 0x4D89E4..0x4D8A0F takes (0x53AD20: +0xE & 0xF); kind 0x11 has no writer in tp.exe (every caller of the type op 0x538FC0 passes 0xC, a tool's type, 7 or 0 (the type reset 0x53AF00 passes 7 at 0x53AF35, else 0)), so no record holds it |
| TPW-EXE:0x004D89C3 target record | source/OpenTPW/World/Guests/WalkSearch.cs:126 | [BIN:TPW-EXE:0x004D89C3 target record] a target cell whose structure record is of a track kind (0x5363F0: a track tile or station, a fence post and the cells beside it) blocks unless the record's flag nibble is set (0x53AD20) |
| TPW-EXE:0x004D89C3 target record | source/OpenTPW/World/ParkFence.cs:65 | [BIN:TPW-EXE:0x004D89C3 target record] the edge test asks 0x5363F0 whether the target's record is of a track kind (a hoarding post 0x19 is one; an extension 0xC or 0x11, 0x536440, answers through its parent word, none when it is 0), then reads the flag word +0xE of the record 0x4D89E4..0x4D8A0F takes (the parent's for an extension, else the target's own) and blocks the step when its low nibble is 0 (0x53AD20) |
| TPW-EXE:0x004D89E4 parent word | source/OpenTPW/World/Guests/WalkSearch.cs:46 | [BIN:TPW-EXE:0x004D89E4 parent word] the word is the parent's cell index plus one, so OpenTPW's parent index 0 is a real parent and only the missing parent (word 0, no track by 0x5363F0) goes on |
| TPW-EXE:0x004D8B00 mask-2 entrance | source/OpenTPW/World/Level.Objects.cs:373 | [BIN:TPW-EXE:0x004D8B00 mask-2 entrance] 0x42A440 (the camera's ride test: a coaster with a train, else a model with the seat record 0x44B220(model, 0x1000, 1), RideCameraMode.CanRide) must hold and the type record +0x118 (UsageInfo.CannotRide) must be 0 |
| TPW-EXE:0x004D8C00 opposite direction | source/OpenTPW/World/Original/BlueprintGhosts.cs:55 | [BIN:TPW-EXE:0x004D8C00 opposite direction] 0 stays 0, a byte below 0x10 goes <<4, any other >>4 |
| TPW-EXE:0x004D8C00 opposite heading | source/OpenTPW/World/Tracks/TrackBridges.cs:28 | [BIN:TPW-EXE:0x004D8C00 opposite heading] bit 0x01 or 0x04 shifted up by four, 0x10 or 0x40 down, 0 kept |
| TPW-EXE:0x004D8C00 reverse heading | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:72 | [BIN:TPW-EXE:0x004D8C00 reverse heading] a nonzero heading below 0x10 shifts left by 4, otherwise right by 4 |
| TPW-EXE:0x004D8C20 rotate direction | source/OpenTPW/World/Original/BlueprintGhosts.cs:44 | [BIN:TPW-EXE:0x004D8C20 rotate direction] shifts the byte left by log2 of the build direction byte; a result above 0x80 wraps by an arithmetic shift of 8 |
| TPW-EXE:0x004D8C20 rotate direction byte | source/OpenTPW/World/Objects/ObjectShape.cs:180 | [BIN:TPW-EXE:0x004D8C20 rotate direction byte] the byte is shifted left by log2 of the step byte (1, 0x40, 0x10, 4 for 0, 90, 180, 270); a result above 0x80 is shifted right by 8 (0x4D8C45), so the bit that left the byte comes back at the bottom: 0x10 turned by 90 is 0x04, by 180 0x01, by 270 0x40; Easymode's saved entrance and exit cells carry these bytes (Staff Room at 90: 0x04, Small Toilets at 270: 0x40) |
| TPW-EXE:0x004D8C60 block stamp | source/OpenTPW/World/ParkCellMap.cs:266 | [BIN:TPW-EXE:0x004D8C60 block stamp] a cell type change (0x5346D0, 0x5348D0, 0x538FC0; the queue length change 0x4DE1F0 stamps its back cell) writes the counter 0x7CDB98, raised by one (0x4D8C50), into the block (y >> 4) × 33 + (x >> 4); every walk set-up takes the counter raised by one too (0x50F8E0), so a later edit always stamps above the walk; an unchanged non-zero type (0x5346D0: the same-type return at 0x5346F5, only the placement count rises) and a link write (0x522700) stamp nothing, but clearing stamps even an empty cell (0x5346EC skips that return for type 0, the stamp at 0x5347AF) |
| TPW-EXE:0x004D8C60 no block for cell 0 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1135 | [BIN:TPW-EXE:0x004D8C60 no block for cell 0] a back cell of 0 (a zero front: 0x4DE040 found no cardinal link bit, 0x4DE130 returns 0) raises the counter (0x4D8C50) but stamps no block (0x4D8C60 tests the cell word first) |
| TPW-EXE:0x004D8DD0 map cell serializer | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:118 | [BIN:TPW-EXE:0x004D8DD0 map cell serializer] the PC serializer writes mLitter (+0x2C, 4 bytes), mLitterCollector (+0x30, 2), mLitterScript (+0x28 and +0x38, 4 each), mPylonIndex (+0x40, 2), mStatusFlags (+0x26, 1), mTimeMarkedForLitterCollection (+0x34, 4) and mWho (+0x24, 2) after the base 0x4D0B30, in the Mac order below (STP-PPC 0x100D6C90): mLitter (4), mLitterCollector (2), mLitterScript (4 twice), mPylonIndex (2), mStatusFlags (1), mTimeMarkedForLitterCollection (4) and mWho (2) follow the 29-byte base (docs/reverse/PPC-formats.md); the status flags byte is the MAP attribute at +46 |
| TPW-EXE:0x004D8DD0 map cell serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:803 | [BIN:TPW-EXE:0x004D8DD0 map cell serializer] mLitter (+0x2C), mLitterCollector (+0x30), mLitterScript (+0x28, +0x38), mTimeMarkedForLitterCollection (+0x34) are saved with the cell; the litter's sprite is the cell's sprite script (0x4D93B0: the cell's corner plus a draw of the cell's own reseed), which OpenTPW draws from the cell alone (ParkLitter.SpriteOffset) |
| TPW-EXE:0x004D91F0 thing chain insert | source/OpenTPW/World/Guests/StaffCellChain.cs:8 | [BIN:TPW-EXE:0x004D91F0 thing chain insert] a thing enters the chain of its cell at the head (cell +0x24 = the id; the thing's next link +0x0A, previous +0x08), the staff things (kinds 4 to 8) exactly as the guests (kind 1) |
| TPW-EXE:0x004D91F0 thing list insert | source/OpenTPW/World/Guests/GuestSimulation.cs:1625 | [BIN:TPW-EXE:0x004D91F0 thing list insert] the cell's thing chain is persistent and a thing that enters a cell goes to its head (cell +0x24, next +10, previous +8; 0x0050B6A0 removes it from the old cell, 0x004D9280, and inserts it into the new one on every cell change of its position), so the lists are never rebuilt; a list here ends with the head |
| TPW-EXE:0x004D93B0 littering cell | source/OpenTPW/World/LitterRenderer.cs:14 | [BIN:TPW-EXE:0x004D93B0 littering cell] the drop creates the sprite (script 0x0074F050 + 0x28 × (kind − 1), flags 0x80000: a quad flat in the ground plane, 0x00589320), and only the drop does |
| TPW-EXE:0x004D93B0 littering cell | source/OpenTPW/World/ParkLitter.cs:109 | [BIN:TPW-EXE:0x004D93B0 littering cell] nothing in game type 1 (online) or when the cell's +0x2c is nonzero; else a sprite of bank 11 frame type − 1 (+0x28), +0x30 = 0, +0x2c = type; vomit (7) and stinkbomb (8) also add their RegionFX (2, 5) through 0x004D8440 and a stinkbomb its particle (+0x38) |
| TPW-EXE:0x004D943E litter switch | source/OpenTPW/World/LitterRenderer.cs:78 | [BIN:TPW-EXE:0x004D943E litter switch] the jump table 0x004D95D4 sends kinds 1-5 to the scripts 0x0074F050, 0x0074F078, 0x0074F0A0, 0x0074F0C8, 0x0074F0F0 (slots 0-4), kind 6 and the default (after the "Dodgy litter type" log) to 0x0074F118 (slot 5), kind 7 to 0x0074F140 (slot 6) and kind 8 to 0x0074F168 (slot 7); every script sets the slot, flags 0x80000, frame 0 and loops |
| TPW-EXE:0x004D94E2 litter sprite offset | source/OpenTPW/World/LitterRenderer.cs:91 | [BIN:TPW-EXE:0x004D94E2 litter sprite offset] x = column × 10 + (first draw % 9) + 1 and z = row × 10 + (second draw % 9) + 1, handed to the sprite by 0x00475480 with height 0 (the placement takes the ground height there, 0x00542010 through 0x004527F0) |
| TPW-EXE:0x004D94E2 litter sprite offset | source/OpenTPW/World/ParkLitter.cs:110 | [BIN:TPW-EXE:0x004D94E2 litter sprite offset] litter lies on map cells, one item per cell; the drop reseeds the world generator with the cell id and takes two draws from the park's one generator (0x004D94F8, 0x004D953F) |
| TPW-EXE:0x004D94E2 litter sprite offset | source/OpenTPW/World/ParkLitter.cs:118 | [BIN:TPW-EXE:0x004D94E2 litter sprite offset] the placed item's sprite takes the world generator reseeded with the cell id and two draws (0x004D94F8, 0x004D953F): the park's one generator keeps the state they leave |
| TPW-EXE:0x004D97E0 link compass | source/OpenTPW/World/Guests/GuestPathGrid.cs:176 | [BIN:TPW-EXE:0x004D97E0 link compass] the run-time neighbour table (0x007CDBA0.., filled by static initialisers) maps 1, 4, 16, 64 to (0, −1), (1, 0), (0, 1), (−1, 0), i.e. Directions order −Y, +X, +Y, −X; the queue's predecessor search 0x004DE670 reads the link byte +13 (0x00522850) with the same table: the −Y neighbour is taken when its link is 16, the +Y neighbour when its link is 1 |
| TPW-EXE:0x004D97E0 neighbour along a link | source/OpenTPW/World/Guests/GuestSimulation.cs:3754 | [BIN:TPW-EXE:0x004D97E0 neighbour along a link] a cardinal bit names the neighbour (0x004D96F0, none outside 0..127); every exit and entrance cell's link is cardinal (the shape's direction symbol, ParkCellMap.WriteFootprint, or the entrance's link to its queue) |
| TPW-EXE:0x004D9A60 link vectors | source/OpenTPW/World/PathLinkWriter.cs:18 | [BIN:TPW-EXE:0x004D9A60 link vectors] the static initialisers fill the vector table 0x7CDBA0 with (0, −1), 0x7CDBA8 (0, 1), 0x7CDBB0 (−1, 1), 0x7CDBB8 (1, 1), 0x7CDBC0 (−1, −1), 0x7CDBC8 (1, 0), 0x7CDBD0 (−1, 0), 0x7CDBD8 (1, −1); 0x4D96F0 returns the cell at an offset (0 outside 0..127), 0x4D97E0 the neighbour along a link bit, 0x522700 ORs a bit into +0x0C, 0x522730 clears one, 0x522790 counts the set bits of all eight, 0x522850 reads the queue link +0x0D |
| TPW-EXE:0x004D9FC4 mechanic ctor | source/OpenTPW/World/Staff/StaffWorldSimulation.Constructed.cs:12 | [BIN:TPW-EXE:0x004D9FC4 mechanic ctor] the base constructor, the state 0 setter 0x4DA370 (0x5054D0 takes no draw), then the search 0x4DA5B0 |
| TPW-EXE:0x004DA110 mechanic serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:701 | [BIN:TPW-EXE:0x004DA110 mechanic serializer] mDurationOfRepair (+0x214) and mObjectToRepair (+0x218) after the staff suffix; the work state 13 counts +0x214 down (0x004DA830) |
| TPW-EXE:0x004DA370 mechanic setter | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:19 | [BIN:TPW-EXE:0x004DA370 mechanic setter] 0xC queues 9, 0xD queues 0x12; the others 0x005054D0 |
| TPW-EXE:0x004DA490 mechanic update | source/OpenTPW/World/Staff/StaffWorldSimulation.Mechanics.cs:9 | [BIN:TPW-EXE:0x004DA490 mechanic update] 0 idle: a world draw, (draw & 15) == 0 plays cat_staff 163, then once the turn passes IdleDuration[grade] + the idle stamp the search 0x004DA5B0; 1 patrol: a draw for cat_staff 162, a walk step, the walk drain while walking (0x005066A0), the search on arrival or held; 12 to the ride 0x004DA740; 13 repairing 0x004DA830; 2, 3 and the others are the generic staff handlers |
| TPW-EXE:0x004DA5B0 mechanic search | source/OpenTPW/World/Staff/StaffWorldSimulation.Mechanics.cs:73 | [BIN:TPW-EXE:0x004DA5B0 mechanic search] 0x00506A40; too tired (0x00506680): "Too tired to fix rides"; the ride finder 0x004DAA90 (the object list from a cursor that moves one object on per search; rides broken down (state 1), upgrading (state 2) or with mRequestedService +0x64 that are no toilet; the claim +0x5E free or his; the smallest dx² + dy² from his cell, strictly smaller replaces) stores the ride at +0x218; a route to its access cell +0x36 claims it (0x004E01F0: +0x5E = him, +0x60 = the turn), posts the advisor's "on the way" message unless requested or upgrading, and sets state 12 (no speed bonus, 0x004DA370); without one 0x004F9490 patrols or he idles |
| TPW-EXE:0x004DA696 mechanic on the way | source/OpenTPW.Tests/GuardEntertainerTests.cs:220 | [BIN:TPW-EXE:0x004DA696 mechanic on the way] mRequestedService (0x004E03D0) set skips the advice |
| TPW-EXE:0x004DA6A5 mechanic on the way | source/OpenTPW.Tests/GuardEntertainerTests.cs:201 | [BIN:TPW-EXE:0x004DA6A5 mechanic on the way] the advice is queued as the mechanic claims a ride nobody called him to and that is not being upgraded |
| TPW-EXE:0x004DA6A5 mechanic on the way | source/OpenTPW/World/Staff/StaffWorldSimulation.Mechanics.cs:87 | [BIN:TPW-EXE:0x004DA6A5 mechanic on the way] a ride that is neither called for (mRequestedService 0x004E03D0) nor upgrading (0x004E03E0) puts the advice 0x46 (70, "a mechanic is on his way") in the advisor's queue (0x0059B590, 0x0059A940) |
| TPW-EXE:0x004DA6C5 mechanic on the way | source/OpenTPW/Client/AutomaticAdvisor.cs:273 | [BIN:TPW-EXE:0x004DA6C5 mechanic on the way] the mechanic update builds the advice record (0x0059B590) and queues it (0x0059A940) as the mechanic claims the ride; the record's words are the ride the mechanic's target word (+0x218) names and the ride's type id (+0xE), which the caption names the ride by |
| TPW-EXE:0x004DA740 to the ride | source/OpenTPW/World/Staff/StaffWorldSimulation.Mechanics.cs:28 | [BIN:TPW-EXE:0x004DA740 to the ride] the ride's claim (0x004E0220) must be his ("UNUSUAL INCIDENT" else); the walk step: arrived at a ride still broken down, upgrading or requested starts the work (state 13), at one that no longer needs him searches again; held (2) clears his ride +0x218 and searches |
| TPW-EXE:0x004DA7D5 mechanic arrival | source/OpenTPW/Economy/ParkEconomy.cs:1395 | [BIN:TPW-EXE:0x004DA7D5 mechanic arrival] the PC twin 0x004DA740 tests state 1 (0x004E0370), state 2 (0x004E03E0) and the call +0x64 (0x004E03D0) in turn and starts the work (state 13) on any of them, so a called ride in state 4 (condemned) is repaired; the finder 0x004DAA90 selects it too (the call of an object without the relief flag +0x32 bit 1, whatever its state) |
| TPW-EXE:0x004DA830 repairing | source/OpenTPW/Economy/ParkEconomy.cs:1265 | [BIN:TPW-EXE:0x004DA830 repairing] at the end of the timer a ride in state 1 (0x004E0370) gets VAR_BREAKSTAT = 0 (0x004E03F0) and the repair waits while the script's VAR_BROKEN (variable 7) is above 0 (0x004E0410, "Ride has finished fix anim" once it is not) |
| TPW-EXE:0x004DA830 repairing | source/OpenTPW/World/Staff/StaffWorldSimulation.Mechanics.cs:53 | [BIN:TPW-EXE:0x004DA830 repairing] the work drain (0x00506760); the timer +0x214 counts down and, at 0, a broken ride plays its fix animation to the end (0x004E03F0, 0x004E0410), then 0x004DF8F0 repairs or upgrades it fully (gauge 100, the claim and the request cleared) and the search runs |
| TPW-EXE:0x004DAA90 ride finder | source/OpenTPW/Economy/OriginalEconomyImport.cs:335 | [BIN:TPW-EXE:0x004DAA90 ride finder] the HQ's mNextObject (+0xC, serialized by 0x004DA960, which writes and reads only the thing base and this word) is the thing id of the object the last search started at: when it is nonzero and found in the object list the search moves on to that object's next (0 past the end), else it takes the list's head; a word that names no object in the list is the same as 0 |
| TPW-EXE:0x004DAA90 ride finder | source/OpenTPW/Economy/ParkEconomy.cs:770 | [BIN:TPW-EXE:0x004DAA90 ride finder] the HQ word +0xC: when nonzero and found in the list (game +0x1DA746, next +0xC) it moves to that object's next (0 past the end), else it takes the head; start = it; 0 returns none; then each object: the cursor moves to its next (the head past the end), the object passes on state 1 (0x004E0370), mRequestedService on a non-toilet (0x004E03D0, flag +0x32 bit 0) or state 2 (0x004E03E0), with its claim (0x004E0220) free or the mechanic's; d = dx² + dy² of the cell bytes, strictly smaller replaces from 0xFFFFFFFF; until the cursor is back at the start |
| TPW-EXE:0x004DADC0 breakdown handler | source/OpenTPW/World/AdvisorScanPark.cs:529 | [BIN:TPW-EXE:0x004DADC0 breakdown handler] the list of mechanics (world +0x1DA73E) empty posts 0x44; else each mechanic: a target (+0x218) equal to the ride stops the walk (0x4DAEE1: 0x46 unless the ride's +0x64 is set), a free one (no target and a display state 0x5064F0 other than 3 or 4) stops it with no post, a busy one is passed; a walk that passes them all posts 0x45 |
| TPW-EXE:0x004DAE64 breakdown words | source/OpenTPW/Client/AutomaticAdvisor.cs:212 | [BIN:TPW-EXE:0x004DAE64 breakdown words] the handler builds 68 and 69 with the ride's thing id (the message's +8) and the type id at the thing's +0xE (0x4DAE5C, 0x4DAFEA), the caption's ride; a condemned ride's 258 (0x59B404) keeps the thing id and leaves the dword 0 |
| TPW-EXE:0x004DAEE1 mechanic already on the ride | source/OpenTPW/World/AdvisorScanPark.cs:539 | [BIN:TPW-EXE:0x004DAEE1 mechanic already on the ride] a mechanic whose target (+0x218) is this ride ends the walk: the ride's mRequestedService (+0x64, 0x4E03D0) set posts nothing, else the advice 0x46 (0x4DAF7E) |
| TPW-EXE:0x004DB090 attraction history rings | source/OpenTPW/Economy/ParkEconomy.cs:1685 | [BIN:TPW-EXE:0x004DB090 attraction history rings] an attraction's six daily 30-day rings follow tp.exe (costs +0xF8, takings +0x70, customers +0x1A8, walk-aways +0x230, winners +0x2B8 and the visits' averaged happiness change +0x340: the constructor 0x004DB090 starts each at head -1, size 30; the day message 0x004DD320 rolls them; the windows and lists sum them over their counts, 0x004E1C70, 0x00495C20, 0x004B01D0, 0x004B16C0, 0x004955E0, 0x00493CD0), the happiness-change ring is written as the use routine 0x004FD970 does (3 x the guest's happiness byte change since joining the queue, averaged in by 0x004E1E00; a won sideshow's tail is GUEST-005); the walk-aways are kept as the list of their last 30 days beside the ring type, which sums alike, and the customers row of the shop and sideshow windows shows "{customers} of {customers + walk-aways}" (UITEXT record 0x1CC, 0x4B0423, 0x4B18E6; ParkHud.CustomersText) |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/Client/AutomaticAdvisor.cs:201 | [BIN:TPW-EXE:0x004DB090 object constructor] the constructor runs for a build and the Move tool's re-placement (the build commit 0x529E10 at 0x529FD5), an arrival vehicle's first trip (0x51A57E) and the finale's End (0x516B8B); the park setup's gates and lights (0x515BE1, 0x515C94) are built at turn 0, before this advisor attaches |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/Economy/DailyRing.cs:6 | [BIN:TPW-EXE:0x004DB090 object constructor] a ring starts with head -1 (+0x224 and the others), size 30 (+0x228), the wrapped flag 0 (+0x22C) and a running value 0 (+0x1A8) |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/Economy/EconomyObjectCatalog.cs:192 | [BIN:TPW-EXE:0x004DB090 object constructor] UsageInfo.ProvidesSecurity (type +0xF0, thing +0x32 bit 0x10) adds RegionFX row 4 at the object's cell: the security cameras of all four themes |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/Economy/EconomyObjectCatalog.cs:194 | [BIN:TPW-EXE:0x004DB090 object constructor] UsageInfo.IsFireworks (type +0x110, thing +0x32 bit 0x80) adds RegionFX row 7: Hallow's Firework Show and Space's Laser Show |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/Economy/ParkEconomy.cs:3118 | [BIN:TPW-EXE:0x004DB090 object constructor] the ring heads +0x224/+0x2AC take -1 and the sizes +0x228/+0x2B0 take 0x1E, the full flags +0x22C/+0x2B4 0 (0x004DB187..0x004DB1AB) |
| TPW-EXE:0x004DB090 object constructor | source/OpenTPW/World/Objects/ParkObjects.cs:507 | [BIN:TPW-EXE:0x004DB090 object constructor] the attraction's constructor takes its thing id through the base constructor 0x50AFE0 and the pool's allocator (0x516270), the same pool as every other kind of thing |
| TPW-EXE:0x004DB0DF attraction constructor | source/OpenTPW.Tests/TrackAssetTests.cs:285 | [BIN:TPW-EXE:0x004DB0DF attraction constructor] the track word is 1 from the constructor on; only a circuit walk rewrites it (ARRIVAL-003) |
| TPW-EXE:0x004DB0DF attraction constructor | source/OpenTPW/World/Tracks/BumpController.cs:61 | [BIN:TPW-EXE:0x004DB0DF attraction constructor] the attraction's track word +0x2C is 1 from the constructor on, for every ride; only a track edit's circuit walk (0x52A970 at 0x524D1B, 0x52694F, 0x526BE1, 0x526F13) or its clear (0x5251B8, 0x5257FB) rewrites it |
| TPW-EXE:0x004DB33C access cell | source/OpenTPW/World/Guests/IRideVisitorBridge.cs:225 | [BIN:TPW-EXE:0x004DB33C access cell] the constructor 0x004DB090 stores the type record's first entrance cell (+0x494, the first type 9 cell of the shape scan 0x413410, (0, 0) without one) turned by the object's angle (0x4D9CC0) and added to the thing's own cell index (y × 128 + x + 1) into +0x36; no other instruction writes it (the exit cell +0x38 and +0x34 are written beside it) |
| TPW-EXE:0x004DB33C access cell | source/OpenTPW/World/Level.Objects.cs:437 | [BIN:TPW-EXE:0x004DB33C access cell] the constructor 0x004DB090 stores the shape's first entrance cell itself into +0x36 (0x004DB33C, the first type 9 cell of the shape scan 0x00413410 at type +0x494, turned by the angle 0x004D9CC0, (0, 0) without one: the thing's own cell), with no walkability test, and the bin search 0x00500DC0 requests the route to it (0x004FA530); the route finder reaches a cell inside a footprint through the edge test 0x004D8750, which opens a step from a path or queue cell into a type 3 or 9 cell whose link byte points back at it (a bin's entrance cell links to its outside cell) |
| TPW-EXE:0x004DB33C access cell | source/OpenTPW/World/Level.Objects.cs:494 | [BIN:TPW-EXE:0x004DB33C access cell] +0x36 is the shape's first entrance cell itself (inside the footprint), +5/+7 the cell the thing stands on (the anchor plus the type's rotated map offset, OriginalObject.ThingCell: only jungle/5x5rck and jungle/mammtunn, (0, 1), differ from the anchor); a world that keeps the cells it was given has neither |
| TPW-EXE:0x004DB33C access cell | source/OpenTPW/World/Level.Objects.cs:2218 | [BIN:TPW-EXE:0x004DB33C access cell] the saved entry cell (mEntryPos, +0x36) is the constructor's turned entrance symbol, which the placement derives again: a save whose word differs (a cell id y x 128 + x + 1) keeps the placement's, reported |
| TPW-EXE:0x004DB36B exit cell source | source/OpenTPW.Tests/SavedAccessCellTests.cs:134 | [BIN:TPW-EXE:0x004DB36B exit cell source] +0x38 comes from the def's +0x4A0, which 0x00413410 fills with the first type 10 cell (U outer, V inner), else the first entrance (0x00413582) |
| TPW-EXE:0x004DB36B exit cell source | source/OpenTPW/World/Level.Objects.cs:525 | [BIN:TPW-EXE:0x004DB36B exit cell source] the constructor writes +0x38 from the def's precomputed +0x4A0 (0x004DB341..0x004DB36B), which the shape scan 0x00413410 fills (0x0041354C..0x004135D2) with the FIRST type 10 cell in its column-major order and, when there is none, with the first entrance cell (0x00413582) |
| TPW-EXE:0x004DB3A1 sideshow win byte | source/OpenTPW/Economy/ParkEconomy.cs:2946 | [BIN:TPW-EXE:0x004DB3A1 sideshow win byte] the object constructor stores 100 − the type record's InitChanceOfLoosing (+0xEC) at +0x190; the setter 0x004E21C0 stores a byte |
| TPW-EXE:0x004DB3EE object constructor | source/OpenTPW/Economy/ParkEconomy.cs:922 | [BIN:TPW-EXE:0x004DB3EE object constructor] the relief flag adds row 1, ProvidesSecurity row 4 (0x004DB458) and IsFireworks row 7 (0x004DB48C) at the thing's cell through 0x004D8440 |
| TPW-EXE:0x004DB4E2 object constructor | source/OpenTPW/World/Level.Objects.cs:2261 | [BIN:TPW-EXE:0x004DB4E2 object constructor] the price debit (0x4D01F0) of the type's price (+0x1B8): Upgrades[0].CostOfUpgrade, which every fixed item's file sets to 0 |
| TPW-EXE:0x004DB4FB object state | source/OpenTPW.Tests/RideStateRulesTests.cs:284 | [BIN:TPW-EXE:0x004DB4FB object state] [BIN:TPW-EXE:0x004E0086 upgrade request] the constructor stores 3 for a type that is not choosable and the request stores 2 over any state |
| TPW-EXE:0x004DB4FB object state | source/OpenTPW/Economy/ParkEconomy.cs:1134 | [BIN:TPW-EXE:0x004DB4FB object state] a thing whose type record is choosable (Info.IsChoosable, +0x32 bit 4) starts in state 0, any other in state 3, which the update skips |
| TPW-EXE:0x004DB4FB object state | source/OpenTPW/Economy/ParkEconomy.cs:2327 | [BIN:TPW-EXE:0x004DB4FB object state] the constructor stores 0 for a choosable type and 3 for any other (SetState at 0x4DB508) |
| TPW-EXE:0x004DB690 | source/OpenTPW.Tests/OriginalSaveImportTests.cs:284 | [BIN:TPW-EXE:0x004DB690] the constructor stamps a type's first purchase only while it is 0; the saved table comes back first |
| TPW-EXE:0x004DB690 first purchase | source/OpenTPW/Economy/OriginalEconomyImport.cs:176 | [BIN:TPW-EXE:0x004DB690 first purchase] a constructed object stamps the game turn into its type's record +0x1C only while it is 0, so a type the table lacks (0x004D3E00 adds a zeroed record) or holds at 0 is stamped when its first saved object is built, at the saved turn that ImportTurn has restored |
| TPW-EXE:0x004DB690 first purchase | source/OpenTPW/Economy/ParkEconomy.cs:2339 | [BIN:TPW-EXE:0x004DB690 first purchase] the constructor stamps the game turn into the type's record +0x1C only while it is 0; at a new park the gates and traffic lights are built after the turn is set to 0 (0x00515865), so fixed items stamp 0 as here |
| TPW-EXE:0x004DB690,0x004DB6CA object constructor | source/OpenTPW/World/Level.Objects.cs:2260 | [BIN:TPW-EXE:0x004DB690,0x004DB6CA object constructor] the type's record takes the turn at +0x1C while it is 0 and counts the object at +0x18, for every object it constructs |
| TPW-EXE:0x004DB6F9 placed object sign lines | source/OpenTPW/World/Objects/ObjectCatalog.cs:933 | [BIN:TPW-EXE:0x004DB6F9 placed object sign lines] a placed object copies line 1 with 0x413020 and line 2 with 0x4130B0, both reading the OBJECT_NAMES row (table 0x7488D8) when the object is listed there and otherwise def+0x4F8 (SIGNA) and def+0x4FC (SIGNB) |
| TPW-EXE:0x004DB6F9 placed object sign lines | source/OpenTPW/World/Original/ParkNameLines.cs:8 | [BIN:TPW-EXE:0x004DB6F9 placed object sign lines] a placed object copies line 1 (0x413020) and line 2 (0x4130B0) as 32 characters each from the first and the second OBJECT_NAMES text of its row in the table 0x7488D8; for the gate 1601 that is entries 85 and 86 ("LOST", "Kingdom") |
| TPW-EXE:0x004DB712 built ride closes | source/OpenTPW/World/Level.Objects.cs:1872 | [BIN:TPW-EXE:0x004DB712 built ride closes] the constructor opens the object (open word +0x68 = 1, 0x4DB3B9) and then, for a type with Info.HasQueue (flag 8 at 0x4DB420), logs "Object %d Closing", clears the open word and writes VAR_RIDECLOSED = 1 (script variable 6, 0x55A070/0x55A0B0), so a built ride with a queue waits closed until the player opens it |
| TPW-EXE:0x004DB712 built ride closes | source/OpenTPW/World/Objects/ParkObjects.cs:695 | [BIN:TPW-EXE:0x004DB712 built ride closes] a built object opens in the constructor (open word +0x68 = 1, 0x4DB3B9) and closes again when its type has Info.HasQueue (Level.BuiltObjectStartsOpen); an imported object is not built: its open word comes from the save in the original (mCanLoad); the level closes the idle attractions saved with it clear (Level.ImportOriginalRideSettings) and the placement opens the others |
| TPW-EXE:0x004DB78B built ride's hoarding | source/OpenTPW/World/Level.Objects.cs:1888 | [BIN:TPW-EXE:0x004DB78B built ride's hoarding] the constructor's close of a type with a queue calls 0x00454550(1) on the new thing: its hoarding rises with the closed set |
| TPW-EXE:0x004DB7A3 object stamp | source/OpenTPW/Client/AutomaticAdvisor.cs:200 | [BIN:TPW-EXE:0x004DB7A3 object stamp] every object construction and every staff init (0x504C65) rewrites the park's stamp with the current time (mLastObjectBuilt, mLastStaffHired) |
| TPW-EXE:0x004DB7A3 object stamp | source/OpenTPW/Economy/ParkEconomy.cs:2304 | [BIN:TPW-EXE:0x004DB7A3 object stamp] the common object constructor ends every construction, a fixed item made in play included, by stamping the park's mLastObjectBuilt (0x4C7680), which only the advisor reads (0x4C9070): the event carries that moment to the advisor's own record |
| TPW-EXE:0x004DB7A3 object stamp | source/OpenTPW/World/Level.Objects.cs:2262 | [BIN:TPW-EXE:0x004DB7A3 object stamp] and its single exit stamps the park's mLastObjectBuilt with the park time (0x4C7680) for every object it constructs |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:380 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the PC loader puts the three floats at +0x4C, +0x48 (life gauge) and +0x44 (state of repair) and clamps mPricePerUse to 0–500 |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:408 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the mesh instance, script and track handles, flags, footprint, entrance and exit cells, upgrade parent and balloon sprite are rebuilt by the placement, and the queue cells and ends from the placement; head, links and called guest with the guests (SAVE-002) |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:418 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the six rings follow in the order +0xF8 costs, +0x70 takings, +0x1A8 customers (after the word +0x1A0), +0x230 walk-aways (after +0x1A4), +0x2B8 winners and +0x340 the visits' averaged happiness change; each is its head, its size, the full flag, its running value and the 30 slots |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:21 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the head (mFirstInQ) and the called guest (mPersonBeingLoaded) are read as saved, the guests' links the same way (0x004FB530): the loader relinks nothing, so a list that is not a chain of guests of this ride in the queue states is a corrupt save |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/World/Guests/RideVisitorBridge.cs:820 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] mFirstInQ and mPersonBeingLoaded are read back as saved, and no pass relinks the guests (the guest serializer 0x004FB530 reads mQNext and mQPrev the same way): the chain, the head and the called guest are the saved ones |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/World/Level.cs:155 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the placed object's two sign lines (NameA/NameB) are part of its record; a park's name is its gate's pair; every other type's lines draw its sign (SAVE-006) |
| TPW-EXE:0x004DB7D0 attraction serializer | source/OpenTPW/World/Level.cs:171 | [BIN:TPW-EXE:0x004DB7D0 attraction serializer] the gate's two lines are part of its saved record (mNameA[i]/mNameB[i], 0x75B5EC); an original save's gate lines are the park name (SavedGateName), blank lines included (the dialog's OK has no emptiness test) |
| TPW-EXE:0x004DC12B walk-away load | source/OpenTPW/Economy/OriginalEconomyImport.cs:375 | [BIN:TPW-EXE:0x004DC12B walk-away load] the attraction loader reads mNumWalkAways (key 0x0075B508) into +0x1A4, the count the refusal raises (0x004E1670) |
| TPW-EXE:0x004DC12B walk-away load | source/OpenTPW/Economy/OriginalEconomyImport.cs:404 | [BIN:TPW-EXE:0x004DC12B walk-away load] the loader reads mNumWalkAways (+0x1A4) back with the other fields, so it is imported (ImportObjects); 0x004E1670 raises it (from 0x005006B0) and nothing else reads the field |
| TPW-EXE:0x004DC89E attraction loader stamp | source/OpenTPW/Economy/OriginalEconomyImport.cs:364 | [BIN:TPW-EXE:0x004DC89E attraction loader stamp] on the PC the saved date-time is the stamp at +0x18 and the count mNumCustomers (+0x1A0) that the scrap rule 0x004E2290 reads |
| TPW-EXE:0x004DD0A0 | source/OpenTPW.Tests/ObjectRegionEffectTests.cs:94 | [BIN:TPW-EXE:0x004DD0A0] the destructor takes row 7 off a show only while its script variable 0 is below 2: a park whose show already ran (variable 2) has no row to take off, so selling the show |
| TPW-EXE:0x004DD0A0 object destructor | source/OpenTPW/Economy/ParkEconomy.cs:933 | [BIN:TPW-EXE:0x004DD0A0 object destructor] row 4 for a camera, row 7 for fireworks while their script variable 0 is below 2, and for a toilet row 1 at a gauge of 25 or more, else row 6 (0x004D8460) |
| TPW-EXE:0x004DD0A0 object destructor | source/OpenTPW/Economy/ParkEconomy.cs:969 | [BIN:TPW-EXE:0x004DD0A0 object destructor] row 7 for fireworks only while script variable 0 is below 2; the every-tick test of 0x004E0B90 (variable 0 equal to 1 removes the row and writes 2) therefore fires once for a show whose script writes the variable once |
| TPW-EXE:0x004DD2D6 selection cleared | source/OpenTPW/World/Level.Objects.cs:280 | [BIN:TPW-EXE:0x004DD2D6 selection cleared] destroying the selected object clears the selection |
| TPW-EXE:0x004DD320 object day message | source/OpenTPW/Economy/DailyRing.cs:7 | [BIN:TPW-EXE:0x004DD320 object day message] on the day message 0xB each ring steps its head (wrapping to 0 at the size and setting the wrapped flag), stores the running value there and clears it |
| TPW-EXE:0x004DD320 object day message | source/OpenTPW/Economy/ParkEconomy.cs:3149 | [BIN:TPW-EXE:0x004DD320 object day message] on message 0xB (the calendar update 0x004F8260 sends it when the day changes, 0x0040F4C0; 0xC at a new month) each of the object's six rings takes its day count: +0x2AC = head + 1, wrapping to 0 with the full flag set at the size; the ring entry = +0x230, then +0x230 = 0 |
| TPW-EXE:0x004DD920 counts-test | source/OpenTPW/Economy/ParkEconomy.cs:2284 | [BIN:TPW-EXE:0x004DD920 counts-test] the same tests as 0x100DC834 at the PC offsets (flags +0x32 bit 4, state +0x19C not 1 or 4, open word +0x68); the back of the queue 0x004DE130 walks the queue from the front cell at the entrance and counts its cells (+0x40), so an attraction without queue cells has none and does not count, and 0x004DDF50 called with guest 0 returns the whole list's length, compared with 4 × the cells |
| TPW-EXE:0x004DD920 counts-test room | source/OpenTPW/World/Guests/GuestSimulation.cs:2606 | [BIN:TPW-EXE:0x004DD920 counts-test room] the candidate's queue list count (0x004DDF50 with id 0) must be below 4 × its cells (+0x40, from the back-of-queue walk 0x004DE130); the coaster test 0x00441970 and the kart/water track word +0x2C are applied through IsOpen (CoasterRide.AcceptsGuests, BumpController.IsTrackValid; the edited-coaster exclusion is COAST-024) |
| TPW-EXE:0x004DD9AD counts-test track types | source/OpenTPW/Economy/ParkEconomy.cs:2285 | [BIN:TPW-EXE:0x004DD9AD counts-test track types] Bumper.WhichTrackType (type +0x9C) 3 needs the coaster test 0x00441970 (cdecl, the thing), 1 and 2 need the track word +0x2C, any other type passes |
| TPW-EXE:0x004DE040 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:744 | [BIN:TPW-EXE:0x004DE040] mEntryPos +0x36, Links +0x0C, priority 1,16,64,4; no neighbour type, owner or reciprocity filter. |
| TPW-EXE:0x004DE040 first entrance | source/OpenTPW.Tests/ObjectAccessCellsTests.cs:126 | [BIN:TPW-EXE:0x004DE040 first entrance] the placement keeps the last entrance (0x5293A1) and links that one (0x5297BD), the selector reads the first one's link byte (+0x36): a two-entrance shape has no front |
| TPW-EXE:0x004DE040 first entrance | source/OpenTPW/World/Level.Objects.cs:1111 | [BIN:TPW-EXE:0x004DE040 first entrance] the selector reads the link byte of the cell +0x36, the shape's FIRST entrance cell (0x004DB33C), like the access cell and the link writer |
| TPW-EXE:0x004DE040 zero front | source/OpenTPW.Tests/TypedQueueFrontTests.cs:206 | [BIN:TPW-EXE:0x004DE040 zero front] an entry without a cardinal link bit (none, or diagonals only) gives back cell 0 and size 0 (QUEUE-003's guest side); the host keeps one cell of geometry for the called guest's stand cell and the queue tool |
| TPW-EXE:0x004DE040 zero front | source/OpenTPW/World/Guests/RideVisitorBridge.cs:757 | [BIN:TPW-EXE:0x004DE040 zero front] none of the bits 1, 16, 64 and 4 set writes the cell word 0 (0x4DE0F9): the ride has no front, 0x4DE130 returns 0 with +0x40 = 0, 0x4DE4A0 reports a queue ride unconnected (a back of 0 fails its first test) and the demolition 0x527EE0 finds no count to undo |
| TPW-EXE:0x004DE040 zero front | source/OpenTPW/World/Guests/RideVisitorBridge.cs:792 | [BIN:TPW-EXE:0x004DE040 zero front] none of the bits 1, 16, 64 and 4 set writes the cell word 0 (0x4DE0F9): the back-of-queue walk 0x4DE130 returns 0 and writes +0x40 = 0, so 0x4DD920 fails at its back test (0x4DD96C), the choice 0x4FCB10 skips the ride at 0x4FCB84 and the room 0x4DDA20 (count below 4 × +0x40) refuses a joiner |
| TPW-EXE:0x004DE040 zero front | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1049 | [BIN:TPW-EXE:0x004DE040 zero front] an entry cell without a cardinal link bit gives no front: the queue is empty (back cell 0, size 0) and joins nothing; the host keeps its one-cell geometry on the entrance cell |
| TPW-EXE:0x004DE07D cell word step | source/OpenTPW/World/Guests/RideVisitorBridge.cs:769 | [BIN:TPW-EXE:0x004DE07D cell word step] the selector adds dy x 128 + dx to the 16-bit cell word unbounded, so a step off the map's side reads the end cell of the next or previous row (a defined read inside the array) |
| TPW-EXE:0x004DE130 back of queue | source/OpenTPW/World/Guests/QueuePaths.cs:29 | [BIN:TPW-EXE:0x004DE130 back of queue] the original compares no cell count anywhere in the queue tool (the click 0x524960, the setter 0x5346D0, the validator 0x535670 and the line layer 0x536100 test none); only the back-of-queue walk stops after 1,000 cells and logs "GetBackOfQueue() crashed!", so a queue can be that long and no longer |
| TPW-EXE:0x004DE130 cache kept | source/OpenTPW/World/Level.Commands.cs:73 | [BIN:TPW-EXE:0x004DE130 cache kept] the sync takes in the host's geometry only: the cached back and size (+0x3A, +0x40) stay until a re-evaluation (0x4DE1F0) drops them |
| TPW-EXE:0x004DE130 cached back | source/OpenTPW.Tests/GuestDestinationTests.cs:435 | [BIN:TPW-EXE:0x004DE130 cached back] +0x3A is returned while it is non-zero and only 0x004DE1F0 drops it: an edit the park turn finds on its own leaves the old back and size to the guests |
| TPW-EXE:0x004DE130 cached back | source/OpenTPW/World/Guests/GuestSimulation.cs:2903 | [BIN:TPW-EXE:0x004DE130 cached back] the park turn's sync finds an edit no re-evaluation (0x004DE1F0) reported: the cached back and size stay until the next one |
| TPW-EXE:0x004DE130 cached back | source/OpenTPW/World/Guests/RideVisitorBridge.cs:797 | [BIN:TPW-EXE:0x004DE130 cached back] the walk returns the cached word +0x3A (and keeps +0x40) while it is non-zero; only the re-evaluation 0x004DE1F0 drops it, a zero front leaves it 0, so a cell edit that runs no re-evaluation (the guests' park turn finds it) leaves the old back and size to the guests, and the next re-evaluation, a ride that has no cache or a load that keeps the saved word refreshes them |
| TPW-EXE:0x004DE130 saved cache kept | source/OpenTPW/World/Guests/RideVisitorBridge.cs:806 | [BIN:TPW-EXE:0x004DE130 saved cache kept] the person loader's twin for things stores +0x3A and +0x40 as read; the walk recomputes only a zero word |
| TPW-EXE:0x004DE130 saved cache kept | source/OpenTPW/World/Level.Objects.cs:2221 | [BIN:TPW-EXE:0x004DE130 saved cache kept] the saved back cell (+0x3A) and queue size (+0x40) are kept as read |
| TPW-EXE:0x004DE130 typed back | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:21 | [BIN:TPW-EXE:0x004DE130 typed back] the back-of-queue walk starts at the front cell the entry's links name (0x004DE040) whatever the cell holds, so an empty-ground front is a one-cell back that passes 0x004DD920 and is scored; the route request then fails (a mask-0 walk cannot enter a type-0 cell) and the walk is stuck (state 10: "stuck on the way") |
| TPW-EXE:0x004DE130 typed front on empty ground | source/OpenTPW.Tests/DisconnectedQueueScoringTests.cs:159 | [BIN:TPW-EXE:0x004DE130 typed front on empty ground] any cell the selector 0x004DE040 finds from the entry's link byte is the back (size 1), typed or not: 0x004DD920 counts it, the route request 0x004FA530 to it fails and the guest is "stuck on the way" (0x004FFBC0 -> 0x004FEA70(2), +0x1DC = 0, state 6) |
| TPW-EXE:0x004DE1F0 | source/OpenTPW.Tests/QueueLinkTests.cs:52 | [BIN:TPW-EXE:0x004DE1F0] the re-evaluation raises the stamp counter and writes it into the block of the back cell |
| TPW-EXE:0x004DE1F0 guest re-evaluation | source/OpenTPW.Tests/GuestDestinationTests.cs:297 | [BIN:TPW-EXE:0x004DE1F0 guest re-evaluation] 0x00501390 runs only from 0x004DE1F0, with the room it has just dropped the cache for: the sync's own recompute keeps the cached room |
| TPW-EXE:0x004DE1F0 guest re-evaluation | source/OpenTPW/World/Guests/GuestSimulation.cs:2904 | [BIN:TPW-EXE:0x004DE1F0 guest re-evaluation] tp.exe runs the guests' queue re-evaluation (0x00501390: the room 4 x +0x40 dismisses) only from 0x004DE1F0, with the cache it has just dropped: the edits reported explicitly are handled first, with the room they left, and a change only this sync finds moves the host's queue cells and the guests' places on them, and dismisses nobody |
| TPW-EXE:0x004DE1F0 queue re-evaluation | source/OpenTPW/World/Guests/QueuePaths.cs:162 | [BIN:TPW-EXE:0x004DE1F0 queue re-evaluation] once the queue is connected (0x4DE4A0) a closed ride whose state +0x19C is not 1, 2 or 4 is opened (+0x68 = 1, message 0x4E0E60) |
| TPW-EXE:0x004DE1F0 queue re-evaluation | source/OpenTPW/World/Level.Objects.cs:356 | [BIN:TPW-EXE:0x004DE1F0 queue re-evaluation] the ride is skipped when its open word +0x68 is set or its state +0x19C is 1 or 4, +0x64 (the call) is set, state 2, or 0x4DE4A0 reports the queue unconnected; a type-3 ride (coaster) must pass 0x441970 and a kind 1, 2 or 3 ride needs its track word +0x2C; then +0x68 = 1, the script variable 6 (VAR_RIDECLOSED) = 0 and SetState(0) (0x4E0E60); +0x5E is cleared on every path |
| TPW-EXE:0x004DE1F0 queue re-evaluation stamp | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1132 | [BIN:TPW-EXE:0x004DE1F0 queue re-evaluation stamp] after the back cell is recomputed (0x4DE130) the counter 0x7CDB98 is raised by one (0x4D8C50, 0x4DE233) and written into the 16 x 16 block of that back cell (0x4D8C60, 0x4DE266) before the open test; the callers are the queue tool's cell click and the cell setter and clear (0x4DE1F0 callers) |
| TPW-EXE:0x004DE1F0 queue recompute stamp | source/OpenTPW/World/Guests/GuestSimulation.cs:2379 | [BIN:TPW-EXE:0x004DE1F0 queue recompute stamp] the queue recompute stamps its back cell (the counter raised by 0x4d8c50, written into the back cell's block by 0x4d8c60) after the queue tool's edits, a path laid over a queue end (0x5346d0, Paths.QueueCellPaved) and a queue cell clear (0x5367a0, QueuePaths.RemoveFrom), the owning ride found through the cell's owner word +0x10; every cell type change stamps its block (0x4d8c60 from 0x5346d0, 0x5348d0, 0x538fc0) and the walk compares it (0x50ed6c, a search in mode 1) |
| TPW-EXE:0x004DE1F0 re-evaluation callers | source/OpenTPW/World/Guests/QueuePaths.cs:163 | [BIN:TPW-EXE:0x004DE1F0 re-evaluation callers] 0x4DE1F0 runs after the queue tool's cell click 0x524960, Back 0x52FE50 (0x52FFEC), the cell type setter's path over a queue cell (0x5346D0 at 0x534858), a path cell's clear beside an entrance cell (0x5367A0 at 0x53694B) and a ride's placement (0x529890, 0x52537A, 0x5259AE): every one raises RideVisitorBridge.QueueEdited, and the level opens a closed ride that passes the original's tests (Level.ReevaluateQueuedRide); the clear of a queue cell calls it nowhere |
| TPW-EXE:0x004DE1F0 re-evaluation callers | source/OpenTPW/World/Level.Objects.cs:358 | [BIN:TPW-EXE:0x004DE1F0 re-evaluation callers] the callers are the queue tool's cell click (0x526118, QueueEdited), the segment commit (0x527541) and Back (0x52FFEC: after every undo that pops a point, the prior corner being a path cell included), the cell setter's path over a queue cell (0x534858, Paths.QueueCellPaved), a path cell's clear beside an entrance cell with an owner (0x53694B, ReevaluateRideOfOwner), and a ride's placement: inside the commit when the type has a queue (0x529890) and at the click's tail (0x52537A, the Move tool's 0x5259AE), which ReevaluatePlacedQueue runs; the cell clear's queue case (types 3 and 9) calls it nowhere |
| TPW-EXE:0x004DE462 queue opening's model call | source/OpenTPW/World/Level.Objects.cs:357 | [BIN:TPW-EXE:0x004DE462 queue opening's model call] the opening calls 0x004547C0 on the ride's thing (table 0x007A4610 by the thing's +0x20): its hoarding sinks (OriginalObjectRuntime.Open) |
| TPW-EXE:0x004DE4A0 back cell of any type | source/OpenTPW.Tests/TypedQueueFrontTests.cs:252 | [BIN:TPW-EXE:0x004DE4A0 back cell of any type] a front that holds no queue cell is the back (0x4DE130, +0x40 = 1) and is tested on its own link byte against its +0x0D: an empty cell (both 0) is unconnected, a path cell with a link is connected |
| TPW-EXE:0x004DE4A0 back cell of any type | source/OpenTPW/World/ParkGate.cs:276 | [BIN:TPW-EXE:0x004DE4A0 back cell of any type] the test reads the back cell as 0x4DE130 left it: the front cell itself when no queue cell lies behind it (+0x40 = 1), whatever its type, so a front that is a path cell is tested on its own link byte against its +0x0D, and an empty one (both bytes 0) is unconnected; the owner word, the entrance cell's type and the link toward a rotation are not read |
| TPW-EXE:0x004DE4A0 queue link test | source/OpenTPW/World/ParkGate.cs:275 | [BIN:TPW-EXE:0x004DE4A0 queue link test] thing flag +0x32 bit 8 (Info.HasQueue, type record +0x40, set at 0x4DB425): the back cell (0x4DE130, the cached +0x3A) must exist and its +0x0C (0x522770) differ from its +0x0D (0x522850); without the flag the entrance cell's link toward the cell in front (by the rotation +0x10: 0 → 16, 90 → 4, 180 → 1, 270 → 64) and that type-1 cell's link back are both needed |
| TPW-EXE:0x004DE4A0 zero front | source/OpenTPW/World/ParkGate.cs:284 | [BIN:TPW-EXE:0x004DE4A0 zero front] a queue ride whose entry has no cardinal link bit has no front (0x4DE040 writes 0), so its back of queue is 0 (0x4DE130) and the test fails at once: unconnected |
| TPW-EXE:0x004DE4FC no-queue entrance | source/OpenTPW.Tests/NoQueueEntranceConnectivityTests.cs:56 | [BIN:TPW-EXE:0x004DE4FC no-queue entrance] a typed world's answer is the cells': the owner word, the entrance cell's type, the queue front and its direction are not read |
| TPW-EXE:0x004DE4FC no-queue entrance | source/OpenTPW/World/ParkGate.cs:338 | [BIN:TPW-EXE:0x004DE4FC no-queue entrance] the entrance cell is the access cell +0x36, the link toward the path comes from the rotation, the cell in front is the neighbour along the reverse link (0x4D97E0), a type-1 cell (0x536310), and the test needs that cell's link toward the entrance and the entrance's link toward it (0x522770 at 0x4DE572, 0x4DE581): no owner word, no type 9 on the entrance and no queue front is read |
| TPW-EXE:0x004DE57F entrance links | source/OpenTPW.Tests/NoQueueEntranceConnectivityTests.cs:88 | [BIN:TPW-EXE:0x004DE57F entrance links] only the entrance cell's link byte is read, not its type |
| TPW-EXE:0x004DE5A0 exit cell is the entrance cell | source/OpenTPW/World/ParkGate.cs:306 | [BIN:TPW-EXE:0x004DE5A0 exit cell is the entrance cell] the reversal compares the exit cell +0x38 with the access cell +0x36 itself |
| TPW-EXE:0x004DE5A0 exit test | source/OpenTPW/World/ParkGate.cs:305 | [BIN:TPW-EXE:0x004DE5A0 exit test] link = +0x0D of the exit cell (+0x38), reversed by 0x4D8C00 when +0x38 equals the entry cell +0x36; the neighbour cell id from 0x4D97E0; for the bits 1, 4, 0x10, 0x40 (directions 0 to 3) other than the reversed link, 0x4D8750(x, y, direction, 0) == 0 (open) returns 1 at once ("exit connected", the status 0x18 EXIT NOT CONNECTED is shown when none is open) |
| TPW-EXE:0x004DE670 queue predecessor | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1147 | [BIN:TPW-EXE:0x004DE670 queue predecessor] the neighbours are tried −Y (its link 16), +Y (link 1), +X (link 64), −X (link 4), through the run-time table 0x007CDBA0 (entries 0, 1, 5, 6); the first queue cell (type 3, not 9) whose link points back is taken |
| TPW-EXE:0x004DE840 attached path | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1167 | [BIN:TPW-EXE:0x004DE840 attached path] 0x4DEA2F..0x4DEA57: for the bits 1, 4, 16, 64 of the back cell's +0x0C (0x522770) the neighbour along it (0x4D97E0) is taken when it is type 1 (0x536310); none logs "No path attached to end of queue" |
| TPW-EXE:0x004DE840 queue slot | source/OpenTPW/World/Guests/GuestSimulation.cs:3102 | [BIN:TPW-EXE:0x004DE840 queue slot] depth = trunc(255 × 0.25 × the place within the cell); lateral = 0x72 + rand % 28. Up to depth 128 the cell's own link to the front picks the axis: link 1 (−Y) gives (lateral, depth), 4 (+X) (255 − depth, lateral), 16 (+Y) (lateral, 255 − depth), 64 (−X) (depth, lateral). Beyond 128 (the fourth place) the axis is the link of the queue cell behind (0x004DE670), for the back cell the direction from its attached path cell (the first of its connections 1, 4, 16, 64 that leads to a path cell, reversed: RideVisitorBridge.JoinCell), and link 4 then gives depth − 128 instead of 255 − depth |
| TPW-EXE:0x004DEDF0 exit point | source/OpenTPW.Tests/ExitRideTests.cs:65 | [BIN:TPW-EXE:0x004DEDF0 exit point] the exit cell with the bytes ftol(255 x f) rotated like the stand point; the walk has not stepped yet in the tick that let the guest off |
| TPW-EXE:0x004DEDF0 exit point | source/OpenTPW/World/Guests/GuestSimulation.cs:3730 | [BIN:TPW-EXE:0x004DEDF0 exit point] with its argument 1 the cell is +0x38 - 1 (x = & 0x7F, z = >> 7) and the bytes are ftol(255.0 x f) of ExitCellAppearPosX and Y (type +0xDC, +0xE0) after the rotation +0x10: 90 gives (y, 1 - x), 180 (1 - x, 1 - y), 270 (1 - y, x), as the stand point (argument 0) does with EntryCellStandPos |
| TPW-EXE:0x004DF150 close for a blocked exit | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1510 | [BIN:TPW-EXE:0x004DF150 close for a blocked exit] with the open word +0x68 set: message 0x14 on the bus 0x0040FB10 (its one direct subscriber, the tag system's handler 0x00509BF0, logs it as unknown and does nothing), "Object %d: Closing...", +0x68 = 0, the pending person +0x6C = 0 ("about to zeroise"), script variable 6 (VAR_RIDECLOSED) = 1 (0x0055A0B0) and the model call 0x00454550(1) that SetState 0x004E0E60 makes too; a closed ride does nothing |
| TPW-EXE:0x004DF290 reopen guard state | source/OpenTPW/World/Level.Tracks.cs:284 | [BIN:TPW-EXE:0x004DF290 reopen guard state] the state word, as the guard reads it |
| TPW-EXE:0x004DF290 reopen guard state | source/OpenTPW/World/ParkGate.cs:261 | [BIN:TPW-EXE:0x004DF290 reopen guard state] the guard reads the state word +0x19C (never VAR_BROKEN): the shared word of the ride's record, or the bridge's own for an object without one |
| TPW-EXE:0x004DF290 track edit reopen | source/OpenTPW/World/Level.Tracks.cs:270 | [BIN:TPW-EXE:0x004DF290 track edit reopen] after the circuit walk, a qualifying edit asks the opening guard before 0x4DF390 opens the attraction |
| TPW-EXE:0x004DF300 close | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:329 | [BIN:TPW-EXE:0x004DF300 close] the close clears the loading slot +0x6C with the open word (RideVisitorBridge.ClearLoadingSlot) |
| TPW-EXE:0x004DF300 close clears the call | source/OpenTPW/World/Guests/GuestSimulation.cs:1166 | [BIN:TPW-EXE:0x004DF300 close clears the call] the close zeroes the loading slot +0x6C at once (OriginalObjectRuntime.Close, RideVisitorBridge.ClearLoadingSlot): a called guest still standing waits (0x005001A4), one on its way to the stand point is refused there while the ride is closed and admitted once it has opened again (AdmitPerson 0x004E0900); shops and stalls carry the openable flag 4 of +0x32 (type record word +0x3C, Info.IsChoosable, 1 in the four Shops.sam) |
| TPW-EXE:0x004DF300 close clears the loading slot | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:35 | [BIN:TPW-EXE:0x004DF300 close clears the loading slot] the close itself zeroes +0x6C; the refusal then touches nothing |
| TPW-EXE:0x004DF300 close clears the loading slot | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1327 | [BIN:TPW-EXE:0x004DF300 close clears the loading slot] "Object %d: Closing...": the open word +0x68 = 0, "person being loaded was %d (about to zeroise)", +0x6C = 0, script variable 6 (VAR_RIDECLOSED) = 1 and the model state call 0x00454550(1); no guest, flag or queue word is touched. Its callers are the park door 0x00519EF0, the coaster tool's entry 0x00447520 and the ride window's close 0x0048CCF0; SetState 1, 2 and 4 (0x004E0E92, 0x004E0FA0, 0x004E10A4) and the repair tail's re-close (0x004DFD3E) clear +0x6C the same way |
| TPW-EXE:0x004DF300 close model call | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:315 | [BIN:TPW-EXE:0x004DF300 close model call] every closing that writes the open word +0x68 = 0 and VAR_RIDECLOSED = 1 (0x004DF300, 0x004DF150, 0x004DFE30(1), the repair tail's re-close at 0x004DFD3E, SetState 1, 2 and 4, a built object with a queue at 0x004DB712) calls 0x00454550(1) after it: the hoarding rises with the closed set unless another set stands |
| TPW-EXE:0x004DF390 open | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:260 | [BIN:TPW-EXE:0x004DF390 open] every opening that writes the open word +0x68 = 1 and VAR_RIDECLOSED = 0 (0x004DE1F0, 0x004DF390, 0x004DF8F0, 0x004DFE30(0), 0x004E0050(0)) calls 0x004547C0 on the thing first: its hoarding sinks |
| TPW-EXE:0x004DF390 open after clean | source/OpenTPW/World/Level.cs:1204 | [BIN:TPW-EXE:0x004DF390 open after clean] the guard's refusal (states 1, 4, 2, the call +0x64, the queue link 0x004DE4A0, a broken track) only logs "Opening non-openable" five times; it then writes the open word +0x68 = 1, script variable 6 (VAR_RIDECLOSED) = 0 and SetState(0) (0x004E0E60) |
| TPW-EXE:0x004DF670 breakdown imminent | source/OpenTPW/Economy/ParkEconomy.cs:1241 | [BIN:TPW-EXE:0x004DF670 breakdown imminent] the condition byte below 10.0 with the step's wear added back not below it posts the advice 0x42 (the advisor answers this event) |
| TPW-EXE:0x004DF670 breakdown imminent | source/OpenTPW/World/AdvisorScanPark.cs:518 | [BIN:TPW-EXE:0x004DF670 breakdown imminent] after the gauges are written: the byte of the new condition (+0x44, truncated) below 10.0 and that byte plus the step's wear (single) not below 10.0 post 0x42 (0x4DF8BE) through 0x59B590 and 0x59A940; the step already returns without wearing in game mode 1 |
| TPW-EXE:0x004DF670 wear step | source/OpenTPW/Economy/ParkEconomy.cs:1236 | [BIN:TPW-EXE:0x004DF670 wear step] after the gauges, a repair byte below 20 writes VAR_WORN = 1 (script variable 8) |
| TPW-EXE:0x004DF8BE ride breakdown imminent | source/OpenTPW.Tests/AdvisorRecordWordsTests.cs:132 | [BIN:TPW-EXE:0x004DF8BE ride breakdown imminent] the record's words are the ride's own word and its type id |
| TPW-EXE:0x004DF8BE ride breakdown imminent | source/OpenTPW/Client/AutomaticAdvisor.cs:206 | [BIN:TPW-EXE:0x004DF8BE ride breakdown imminent] the wear step queues the advice 0x42 as a ride's condition crosses below 10 percent (not in game type 1, which never wears); the record's words are the ride's own word (+0x0, read through 0x50B350) and its type id (+0xE), which the caption names the ride by |
| TPW-EXE:0x004DF8F0 repaired fully | source/OpenTPW.Tests/ParkEconomyTests.cs:682 | [BIN:TPW-EXE:0x004DF8F0 repaired fully] the routine installs the upgrade for a ride in state 2, which the request left it in over the breakdown, and ends in SetState(0) |
| TPW-EXE:0x004DF8F0 repaired fully | source/OpenTPW/Economy/ParkEconomy.cs:1303 | [BIN:TPW-EXE:0x004DF8F0 repaired fully] the repair or the upgrade clears the call (+0x64 = 0) and the claim (+0x5E) and writes VAR_WORN = 0; a repair (not in state 2) also writes VAR_BREAKSTAT = 0 |
| TPW-EXE:0x004DF8F0 repaired fully | source/OpenTPW/Economy/ParkEconomy.cs:1309 | [BIN:TPW-EXE:0x004DF8F0 repaired fully] the routine's common entry, before its state-2 upgrade branch, sets the state of repair (+0x44) to 100.0 for an upgrade too |
| TPW-EXE:0x004DF8F0 upgrade installed | source/OpenTPW/World/UpgradeBalloonRenderer.cs:14 | [BIN:TPW-EXE:0x004DF8F0 upgrade installed] the completion raises the level byte (+0x50) by one, deletes the ride's old sprite (+0x54, 0x00475550) and, when the new level is 1 or 2, |
| TPW-EXE:0x004DFA96 upgrade installed | source/OpenTPW/Economy/ParkEconomy.cs:1316 | [BIN:TPW-EXE:0x004DFA96 upgrade installed] the completion 0x004DF8F0 raises the level byte +0x50 by one and debits Upgrades[new level].CostOfUpgrade (type record +0x1B8 + 0x40 · level, 0x004DFA81) through 0x004D01F0, without a balance test |
| TPW-EXE:0x004DFC95 repair tail's model calls | source/OpenTPW/World/Level.cs:1223 | [BIN:TPW-EXE:0x004DFC95 repair tail's model calls] the tail opens first (0x004547C0: the hoarding sinks) and its re-close then calls 0x00454550(1) (0x004DFD65), which shows the closed set over a sinking one |
| TPW-EXE:0x004DFCB8 upgrade installed | source/OpenTPW/Economy/ParkEconomy.cs:1313 | [BIN:TPW-EXE:0x004DFCB8 upgrade installed] the routine ends in SetState(0) on this path too |
| TPW-EXE:0x004DFD80 toilet cleaned | source/OpenTPW/Economy/ParkEconomy.cs:1292 | [BIN:TPW-EXE:0x004DFD80 toilet cleaned] the end of the handyman's state 11 sets the gauge back to 100.0 and clears the ride's mRequestedService (+0x64) and assigned staff (+0x5E); a dirty toilet's row 6 turns back into row 1 first |
| TPW-EXE:0x004DFDC6 toilet cleaned | source/OpenTPW/Economy/ParkEconomy.cs:998 | [BIN:TPW-EXE:0x004DFDC6 toilet cleaned] a gauge byte below 25 swaps the dirty row 6 back to the clean row 1 before the gauge goes to 100 |
| TPW-EXE:0x004DFE00 clean resets VAR_WORN | source/OpenTPW/Economy/ParkEconomy.cs:1001 | [BIN:TPW-EXE:0x004DFE00 clean resets VAR_WORN] the clean always writes script variable 8 (VAR_WORN) = 0 (0x55A070 handle, 0x55A0B0 variable, value), dirty or not, so the toilet's script drops its dirty look; then the gauge, the claim and the call |
| TPW-EXE:0x004DFE00 clean resets VAR_WORN | source/OpenTPW/Economy/ParkEconomy.cs:1295 | [BIN:TPW-EXE:0x004DFE00 clean resets VAR_WORN] the same write as in FinishToiletClean: script variable 8 = 0 whatever the gauge was |
| TPW-EXE:0x004DFE30 request maintenance | source/OpenTPW/Economy/ParkEconomy.cs:684 | [BIN:TPW-EXE:0x004DFE30 request maintenance] on: nothing when +0x64 is set; else +0x64 = 1, the ride closes (mCanLoad +0x68 = 0, the guest being loaded +0x6C dropped, script variable 6 = 1) and its panel shows the call; off: +0x64 = 0, and unless the ride is broken down, condemned or upgrading (states 1, 4, 2), its queue is cut off (0x004DE4A0) or a track ride's circuit is broken, it opens (+0x68 = 1, variable 6 = 0, 0x004E0E60(0)) |
| TPW-EXE:0x004E0050 upgrade cancel | source/OpenTPW/Economy/ParkEconomy.cs:2478 | [BIN:TPW-EXE:0x004E0050 upgrade cancel] with argument 0 a ride in state 2 logs "Cancelling request", drops the ride from the job list (0x004547C0), skips its open guard (state 2 is one of the refused states, so it only logs "Opening non-openable ride" five times), writes the open word +0x68 = 1 and script variable 6 (VAR_RIDECLOSED) = 0 and returns to state 0 (0x004E0E60(0)); in any other state it logs "Never requested upgrade" and does nothing |
| TPW-EXE:0x004E0050 upgrade request's model call | source/OpenTPW/World/Level.cs:1144 | [BIN:TPW-EXE:0x004E0050 upgrade request's model call] the upgrade request's SetState(2) closes with 0x00454550(1) (0x004E101F) and then calls 0x00454550(8) (0x004E0098): the hoarding shows the upgrade set; the maintenance request 0x004DFE30(1) only closes, with mode 1 (0x004DFEED) |
| TPW-EXE:0x004E0086 upgrade request | source/OpenTPW.Tests/RideStateRulesTests.cs:284 | [BIN:TPW-EXE:0x004DB4FB object state] [BIN:TPW-EXE:0x004E0086 upgrade request] the constructor stores 3 for a type that is not choosable and the request stores 2 over any state |
| TPW-EXE:0x004E0086 upgrade request | source/OpenTPW.Tests/RideUpgradeIngressTests.cs:256 | [BIN:TPW-EXE:0x004E0086 upgrade request] the request stores state 2 whatever the state was: a ride that was broken down is upgrading now |
| TPW-EXE:0x004E0086 upgrade request | source/OpenTPW/Economy/ParkEconomy.cs:1211 | [BIN:TPW-EXE:0x004E0086 upgrade request] the request 0x4E0050(1) calls SetState(2) after the choosable test (+0x32 bit 4) and nothing tests the current state, so a ride in state 1 or 4 goes to state 2; the completion 0x4DF8F0 and the cancel end in SetState(0) (0x4DFCB8, 0x4E01B6) |
| TPW-EXE:0x004E01B6 upgrade cancelled | source/OpenTPW/Economy/ParkEconomy.cs:2484 | [BIN:TPW-EXE:0x004E01B6 upgrade cancelled] the cancel ends in SetState(0): the stored 2 goes and a breakdown it had overwritten is the ride update's to find again |
| TPW-EXE:0x004E01F0 claim | source/OpenTPW/Economy/OriginalEconomyImport.cs:553 | [BIN:TPW-EXE:0x004E01F0 claim] the claim is two words of the attraction, the claimant's thing id (+0x5E) and the turn it was made (+0x60), saved and loaded as they are (the attraction serializer reads them back with no check against any job) |
| TPW-EXE:0x004E01F0 claim | source/OpenTPW/Economy/OriginalEconomyImport.cs:717 | [BIN:TPW-EXE:0x004E01F0 claim] an attraction names its claimant (+0x5E) and the turn the claim was made (+0x60); the world that places the member takes the claim again with that turn when the target names him |
| TPW-EXE:0x004E01F0 claim | source/OpenTPW/Economy/ParkEconomy.cs:709 | [BIN:TPW-EXE:0x004E01F0 claim] +0x5E = the claimant's id, +0x60 = game +0x1DA70C (the turn) |
| TPW-EXE:0x004E0220 claim lapse | source/OpenTPW.Tests/ImportedAttractionClaimTests.cs:123 | [BIN:TPW-EXE:0x004E0220 claim lapse] the claimant thing 99 is no staff member: the claim stays on the attraction as saved, blocks the finder for the other mechanic through turn 800 and lapses at the first query after it |
| TPW-EXE:0x004E0220 claim lapse | source/OpenTPW/Economy/OriginalEconomyImport.cs:554 | [BIN:TPW-EXE:0x004E0220 claim lapse] the query lets a claim lapse once the turn is above its stamp + 100 (unsigned) and the claimant thing's 0x00506580 is false: a mechanic whose ride +0x218 is the object, a handyman whose toilet +0x21A is the object, any other thing "Invalid call" and false, a dead one as well; ParkEconomy.Claimant is that query, so each claim not taken again by a resumed job is imported as it was saved |
| TPW-EXE:0x004E0220 claimant | source/OpenTPW/Economy/ParkEconomy.cs:720 | [BIN:TPW-EXE:0x004E0220 claimant] +0x5E zero: none; the turn above +0x60 + 100 (unsigned) and the claimant's 0x00506580 false (type 4: +0x218 is the object, type 5: +0x21A is, other types "Invalid call" and false): "Ride: removing staff member", +0x5E = 0 and +0x60 = 0 |
| TPW-EXE:0x004E0370 broken | source/OpenTPW/World/AdvisorScanPark.cs:124 | [BIN:TPW-EXE:0x004E0370 broken] state 1 only; a condemned ride (state 4) is no broken one |
| TPW-EXE:0x004E0370 state-1 predicate | source/OpenTPW/World/Guests/RideVisitorBridge.cs:231 | [BIN:TPW-EXE:0x004E0370 state-1 predicate] returns ride +0x19C == 1; the guest's state 11 reads it at 0x00500523 and holds the move-up walk for a true result only |
| TPW-EXE:0x004E0440 closed | source/OpenTPW/World/AdvisorScanPark.cs:116 | [BIN:TPW-EXE:0x004E0440 closed] the open word +0x68 is 0: the ride was closed, and entering the broken, upgrading and condemned states (0x4E0FD8, 0x4E10DC, the condemn case of 0x4E0E60) clears it; |
| TPW-EXE:0x004E0560 live excitement | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1218 | [BIN:TPW-EXE:0x004E0560 live excitement] a ride with a controller behind it (thing +0x28) has the base level × 60 / 100 + clamp(3 × crossings + longest straight run + 2 × corners, 0, 40) from the section counts 0x00545310 (BumpController.ExcitementBase); water rides have one |
| TPW-EXE:0x004E0560 live excitement | source/OpenTPW/World/Tracks/BumpController.cs:1109 | [BIN:TPW-EXE:0x004E0560 live excitement] for a ride whose thing +0x28 holds a controller: base = level × 60 / 100 + clamp(3 × crossings + longest run + 2 × corners, 0, 40), clamped to 0..100, then × the clamped speed and duration ratios |
| TPW-EXE:0x004E0900 AdmitPerson state/open test | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1356 | [BIN:TPW-EXE:0x004E0900 AdmitPerson state/open test] AdmitPerson refuses a ride in state 1 (+0x19C), with the open word +0x68 = 0 or in state 4 before the loading-slot and VAR_LETMEON checks: it logs and returns 0 without touching the ride (0x004E0A30), so the pending visitor and VAR_LETMEON stay as they are |
| TPW-EXE:0x004E0976 AdmitPerson admits the presenting guest | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:255 | [BIN:TPW-EXE:0x004E0976 AdmitPerson admits the presenting guest] with the slot cleared AdmitPerson logs "admitting wrong person" and writes VAR_LETMEON for the guest that presents itself |
| TPW-EXE:0x004E09B0 AdmitPerson clears the loading slot | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:352 | [BIN:TPW-EXE:0x004E09B0 AdmitPerson clears the loading slot] the open path clears +0x6C before it reads the busy VAR_LETMEON, which it leaves alone |
| TPW-EXE:0x004E09B0 AdmitPerson clears the loading slot | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1363 | [BIN:TPW-EXE:0x004E09B0 AdmitPerson clears the loading slot] past the state/open test AdmitPerson logs a loading slot +0x6C that names someone else ("admitting wrong person", 0x004E0976: none after a close cleared it) |
| TPW-EXE:0x004E0A70 state 14 test | source/OpenTPW/World/Guests/RideVisitorBridge.cs:821 | [BIN:TPW-EXE:0x004E0A70 state 14 test] a guest in state 14 goes on to state 16 once the script's variable 0 (VAR_LETMEON) no longer equals the ride's mFirstInQ (+0x3C) |
| TPW-EXE:0x004E0A70 state 14 test | source/OpenTPW/World/Guests/RideVisitorBridge.cs:927 | [BIN:TPW-EXE:0x004E0A70 state 14 test] the state-14 test compares the script's first variable with mFirstInQ; tp.exe sends a head the script does not hold straight to state 16 |
| TPW-EXE:0x004E0B90 breakdown check | source/OpenTPW/Economy/ParkEconomy.cs:1146 | [BIN:TPW-EXE:0x004E0B90 breakdown check] an object without the relief flag (+0x32 bit 1) whose life (+0x48) or repair (+0x44) byte is 0 and whose VAR_BREAKSTAT (script variable 4) is 0 writes VAR_BREAKSTAT = 1 ("Object %d requested breakdown"); its state stays 0 until the ride update reads the script's VAR_BROKEN (0x004E14E0) |
| TPW-EXE:0x004E0B90 fireworks | source/OpenTPW/Economy/ParkEconomy.cs:955 | [BIN:TPW-EXE:0x004E0B90 fireworks] each object tick: with thing +0x32 bit 0x80 and script variable 0 (0x0055A070, 0x0055A390) equal to 1, row 7 comes off the thing's cell and the variable is set to 2 (0x0055A0B0) |
| TPW-EXE:0x004E0B90 fireworks | source/OpenTPW/World/Level.Objects.cs:2331 | [BIN:TPW-EXE:0x004E0B90 fireworks] a show whose script variable 0 reached 1 loses its RegionFX row, and the variable becomes 2 |
| TPW-EXE:0x004E0B90 object update | source/OpenTPW/Economy/ParkEconomy.cs:597 | [BIN:TPW-EXE:0x004E0B90 object update] every live object thing runs its update each turn; the wear and the breakdown check inside it run when the turn counter is a multiple of 8 |
| TPW-EXE:0x004E0D16 relief worn | source/OpenTPW/Economy/ParkEconomy.cs:1161 | [BIN:TPW-EXE:0x004E0D16 relief worn] a relief object (+0x32 bit 1) whose repair byte is below 25 writes VAR_WORN = 1 (script variable 8) on every update |
| TPW-EXE:0x004E0E27 dismiss in states 1, 2 and 4 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1489 | [BIN:TPW-EXE:0x004E0E27 dismiss in states 1, 2 and 4] the ride states 1, 2 and 4 run the head step 0x004E0450, then the same dismiss |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/Economy/OriginalEconomyImport.cs:407 | [BIN:TPW-EXE:0x004E0E60 SetState] the open word (mCanLoad, +0x68) is the park's open state of the attraction: an idle attraction saved with it clear is closed again by the level (Level.ImportOriginalRideSettings), the others are opened by their placement; the gate's two sign lines are the park's name (Level.SavedGateName) and every other type's sign is drawn from the lines of its oldest object (ParkObjects.SavedSignLines, 0x468500) |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/Economy/ParkEconomy.cs:1210 | [BIN:TPW-EXE:0x004E0E60 SetState] one word +0x19C, stored last by every case (each of the cases 1, 2 and 4 ends in a jump to 0x4E11B0, whose store of the argument into +0x19C is the function's tail): 1 and 4 are written by the ride update (0x4E14E0) and left through SetState(0) |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/Economy/RideStateRules.cs:27 | [BIN:TPW-EXE:0x004E0E60 SetState] states 0 and 3 only store the word; 1, 2 and 4 close the object first; the ride update's state 0 is the only caller of SetState(1) and SetState(4) (0x4E154E, 0x4E1590) and the state is left through SetState(0) (0x4DE487, 0x4DF438, 0x4DFCB8, 0x4E003C, 0x4E01B6) |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/Economy/RideStateRules.cs:105 | [BIN:TPW-EXE:0x004E0E60 SetState] states 1, 2 and 4 clear the open word; the player's close and the maintenance call (0x4DFE30) clear it for an idle ride |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/World/Guests/RideVisitorBridge.cs:225 | [BIN:TPW-EXE:0x004E0E60 SetState] the state word +0x19C is read as it stands: the repair, the open routine and the other openers write SetState(0) with the open word (OriginalObjectRuntime.Open), so an opened ride has left state 1 |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/World/Level.Objects.cs:2224 | [BIN:TPW-EXE:0x004E0E60 SetState] the open word (mCanLoad, +0x68) is cleared by states 1, 2 and 4 (their import closes the ride already) and by the player's close or a maintenance call; an idle attraction saved with it clear stays closed until the door opens the park |
| TPW-EXE:0x004E0E60 SetState | source/OpenTPW/World/Level.OriginalRideState.cs:7 | [BIN:TPW-EXE:0x004E0E60 SetState] states 1 (broken down) and 4 (condemned) close the object ("Object %d: Closing", 0x4e0450), and the per-tick |
| TPW-EXE:0x004E0E60 SetState 0 | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:267 | [BIN:TPW-EXE:0x004E0E60 SetState 0] the openers write the open word and VAR_RIDECLOSED together with SetState(0) (0x4DE487, 0x4DF438, 0x4DFCB8, 0x4E003C, 0x4E01B6): the ride leaves state 1 or 4 |
| TPW-EXE:0x004E0E60 SetState 1, 2 and 4 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1455 | [BIN:TPW-EXE:0x004E0E60 SetState 1, 2 and 4] states 1, 2 and 4 each run the head step 0x004E0450, write the open word +0x68 = 0 and VAR_RIDECLOSED = 1 (script slot 6), and are left only through SetState(0) (the repair 0x004DF8F0 opens the ride first; the reopen guard 0x004DF290 refuses 1, 2 and 4); state 2 (upgrading) is the economy's closed ride (ECON-023); the bridge keeps state 1 and state 4 apart by the life gauge (condemned), because the guest's state 11 holds its move-up only in state 1 (0x004E0370 at 0x00500523) |
| TPW-EXE:0x004E0E60 attraction SetState | source/OpenTPW/Economy/OriginalEconomyImport.cs:631 | [BIN:TPW-EXE:0x004E0E60 attraction SetState] states 0 and 3 only store the word; 1, 2 and 4 close the object (open word +0x68 = 0, called guest cleared, script variable 6 = 1, the queue dismissed by 0x004E0450) first; any other value logs "Unknown state in CObject::SetState" |
| TPW-EXE:0x004E0FA0 broken state entered | source/OpenTPW/Client/AutomaticAdvisor.cs:209 | [BIN:TPW-EXE:0x004E0FA0 broken state entered] the handler 0x4DADC0 runs on the message of type 7 that case 1 of 0x4E0E60 builds (0x40F380) when the ride update has read the script's VAR_BROKEN, not at the earlier breakdown request (0x4E0B90); a condemned ride sends type 8 (0x40F3D0): the advice of the mechanics' state (68, 69), or 258 |
| TPW-EXE:0x004E1220 admission ignores the coaster predicate | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1477 | [BIN:TPW-EXE:0x004E1220 admission ignores the coaster predicate] the admission reads the open word +0x68, the script's LETMEON, capacity and running variables, the pending visitor and the queue head only, never the coaster test 0x00441970: an open ride whose coaster refuses guests still calls its head forward, and its queued guests leave through state 11's own exit (thought 13, 0x00500612) |
| TPW-EXE:0x004E1220 closed ride admission | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1465 | [BIN:TPW-EXE:0x004E1220 closed ride admission] state 0 runs the admission first (0x004E14E0); with the open word +0x68 at 0 it only runs the head step 0x004E0450, which unlinks the queue head (0x004DDD20) and dismisses it (0x005012F0), so a closed ride sends away one head per park turn and the others wait (a head the script has already taken was boarded above: 0x004E0450's "forcing him onto ride" case, 0x00500870) |
| TPW-EXE:0x004E1410 script dismiss | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1421 | [BIN:TPW-EXE:0x004E1410 script dismiss] VAR_LETMEOFF is read by the ride update of a park turn only (UpdateAdmission), not on every tick |
| TPW-EXE:0x004E1410 script dismiss | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1488 | [BIN:TPW-EXE:0x004E1410 script dismiss] script variable 1 (VAR_LETMEOFF, 0x0055A390) 0 does nothing; else the person's state is checked against 16 (a log, "trying to dismiss person %d, but they're not on this ride!", not a test) and ExitRide 0x005014E0 runs; a result of 1 writes 0 to the variable (0x004E14C3), 0 leaves it |
| TPW-EXE:0x004E14E0 state 1 or 4 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1534 | [BIN:TPW-EXE:0x004E14E0 state 1 or 4] the ride update reads the life gauge +0x48 (fld, __ftol, test al) when it enters the state: a nonzero low byte gives state 1 ("Setting state BROKEN", SetState 0x004E0E60(1)), a zero byte state 4 ("Setting state CONDEMNED", SetState(4)) |
| TPW-EXE:0x004E1542 breakdown's model calls | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1537 | [BIN:TPW-EXE:0x004E1542 breakdown's model calls] "Setting state BROKEN" calls 0x00454550(2) and "Setting state CONDEMNED" 0x00454550(4) before SetState(1) or SetState(4), whose close calls 0x00454550(1) (0x004E0F20, 0x004E1123): the hoarding shows the broken-down or condemned set |
| TPW-EXE:0x004E159A state 0 dismiss | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1480 | [BIN:TPW-EXE:0x004E159A state 0 dismiss] the state-0 update runs the admission (0x004E1220), reads VAR_BROKEN and, unless that sets state 1 or 4 and returns, the dismiss 0x004E1410 |
| TPW-EXE:0x004E1670 walk-away | source/OpenTPW/Economy/ParkEconomy.cs:3125 | [BIN:TPW-EXE:0x004E1670 walk-away] +0x1A4 (mNumWalkAways, serializer key at 0x0075B508) += 1 and the day count +0x230 += 1; the state-13 refusal (0x0050077F) is its only caller |
| TPW-EXE:0x004E16B0 takings | source/OpenTPW/Economy/OriginalEconomyImport.cs:632 | [BIN:TPW-EXE:0x004E16B0 takings] a payment adds to mTotalTakings (+0x180) and today's takings (+0x70); [BIN:TPW-EXE:0x004E1920 costs] a cost to mTotalCosts (+0x184) and today's costs (+0xF8) |
| TPW-EXE:0x004E1920 costs | source/OpenTPW/Economy/OriginalEconomyImport.cs:632 | [BIN:TPW-EXE:0x004E16B0 takings] a payment adds to mTotalTakings (+0x180) and today's takings (+0x70); [BIN:TPW-EXE:0x004E1920 costs] a cost to mTotalCosts (+0x184) and today's costs (+0xF8) |
| TPW-EXE:0x004E1A10 sideshow cost | source/OpenTPW/Economy/ShopGoodsCost.cs:16 | [BIN:TPW-EXE:0x004E1A10 sideshow cost] a sideshow (WhichUIType 2) books mCostOfGoods as it stands |
| TPW-EXE:0x004E1B40 shop cost of goods | source/OpenTPW/Economy/ShopGoodsCost.cs:15 | [BIN:TPW-EXE:0x004E1B40 shop cost of goods] x87 sequence: both bytes minus 50.0 (0x7005B4), times 0.005f (0x7005CC), each product stored as a single and clamped (below -0.5, above 0.5); ingredient 1 or 3 multiplies its term by -1.0 (0x700588); the result is cost × ((quality + ingredient) − (−1.0)) through __ftol (0x67A830) |
| TPW-EXE:0x004E1E00 visit average | source/OpenTPW/Economy/DailyRing.cs:25 | [BIN:TPW-EXE:0x004E1E00 visit average] a running value of 0 takes the value, otherwise it becomes (running + value) halved toward zero (the CDQ/SUB/SAR rounding), so a day's average is weighted to the latest visits and a first value of 0 leaves the next one to be taken whole |
| TPW-EXE:0x004E1E30 satisfaction | source/OpenTPW/World/AdvisorScanQueues.cs:326 | [BIN:TPW-EXE:0x004E1E30 satisfaction] 50 plus the integer mean of the satisfaction ring's entries (+0x340, head +0x3BC) |
| TPW-EXE:0x004E1E30 satisfaction gauge | source/OpenTPW/Economy/DailyRing.cs:29 | [BIN:TPW-EXE:0x004E1E30 satisfaction gauge] the newest min(count, 30) entries (head, then back, wrapping once the ring has wrapped) are added as signed integers in a double, divided by that count and truncated, plus 0x32; no entries give 0x32 |
| TPW-EXE:0x004E2290 scrap percentage | source/OpenTPW/Economy/ParkEconomy.cs:1835 | [BIN:TPW-EXE:0x004E2290 scrap percentage] the same rule at the PC offsets: stamp thing +0x18, level byte +0x50, use counter +0x1A0 (cleared by the constructor 0x004DB090, raised with the history word +0x1A8 by 0x004E1690 when a guest leaves, 0x004FD970), percentages at record +0x188 + 64 × level; identical to 0x100E2424 on 572 inputs (ORACLE.md X13) |
| TPW-EXE:0x004E2290 scrap value | source/OpenTPW/Economy/OriginalEconomyImport.cs:633 | [BIN:TPW-EXE:0x004E2290 scrap value] the scrap rule reads the stamp at +0x18 (the loader's date-time, 0x004DC89E) against the clock and mNumCustomers (+0x1A0, raised by 0x004E1690 at every visit's end 0x004FD970) |
| TPW-EXE:0x004E2400 scrap value | source/OpenTPW/Economy/ParkEconomy.cs:1807 | [BIN:TPW-EXE:0x004E2400 scrap value] the same product: the percentage 0x004E2290 × record +0x1B8 (Upgrades[0].CostOfUpgrade), unsigned division by 100; the sale 0x004DD0A0 credits it (executed by the x86 oracle target tpw-exe-scrap-value, ORACLE.md X13) |
| TPW-EXE:0x004E2440 toilet wear | source/OpenTPW/Economy/ParkEconomy.cs:1415 | [BIN:TPW-EXE:0x004E2440 toilet wear] (int64)toilet × −0.05f + gauge in x87 precision, compared with 100 and 0, stored as a single; a gauge byte falling below 25 logs "Toilet has become dirty and smelly" and posts the dirty-toilet messages |
| TPW-EXE:0x004E2440 toilet wear | source/OpenTPW/World/Guests/GuestSimulation.cs:3356 | [BIN:TPW-EXE:0x004E2440 toilet wear] relief objects wear by use and are cleaned by handymen (ParkEconomy.UseRelief, DispatchToiletCleaning), and the swaps of the RegionFX rows 1 and 6 at the toilet's cell are the original's (0x004D8460 / 0x004D8440 are the remove and add wrappers of the region writer 0x004D8480, ParkEconomy.SwapToiletEffect); the branch for game type 1, the online visit, is ParkEconomy.OnlineVisit |
| TPW-EXE:0x004E2478 | source/OpenTPW.Tests/ToiletTests.cs:42 | [BIN:TPW-EXE:0x004E2478] the game-type-1 branch of the wear step |
| TPW-EXE:0x004E2478 toilet wear, game type 1 | source/OpenTPW/Economy/ParkEconomy.cs:1426 | [BIN:TPW-EXE:0x004E2478 toilet wear, game type 1] the branch for the online game type (SetGameType 1 at the online entries 0x4C0830 and 0x5E2700; the word 0xFB3B7C is the game-type object) wears nothing; a relief object whose gauge byte is below 25 is cleaned at once: row 6 off and row 1 on at its cell (0x4D8460, 0x4D8440), script variable 8 = 0 (0x55A0B0), gauge 100.0, the claim (+0x5E) and the call (+0x64) cleared (0x4E251F..0x4E252A) |
| TPW-EXE:0x004E2610 toilet turns dirty | source/OpenTPW/Economy/ParkEconomy.cs:1443 | [BIN:TPW-EXE:0x004E2610 toilet turns dirty] the clean row 1 comes off and the dirty row 6 goes on at the toilet's cell |
| TPW-EXE:0x004E26E2 sideshow win | source/OpenTPW/Economy/ParkEconomy.cs:2945 | [BIN:TPW-EXE:0x004E26E2 sideshow win] cmp byte(+0x190), R mod 100; sbb/inc: won when R mod 100 <= the byte (unsigned); the result is written to script variable 11 and returned to the use routine 0x00501DB0 |
| TPW-EXE:0x004E2780 thing name | source/OpenTPW/World/Original/ParkNameLines.cs:56 | [BIN:TPW-EXE:0x004E2780 thing name] the joined lines; the ticket price window 0x498D80 shows it on its control 0x4F3AF through 0x486280 |
| TPW-EXE:0x004E2860 sign line 1 | source/OpenTPW/World/Objects/ObjectCatalog.cs:932 | [BIN:TPW-EXE:0x004E2860 sign line 1] an empty line 1 is formatted from the never-written .bss buffer 0x78A374 (the empty string), so an empty line stays empty |
| TPW-EXE:0x004E2860 sign line 1 | source/OpenTPW/World/Objects/ObjectCatalog.cs:968 | [BIN:TPW-EXE:0x004E2860 sign line 1] when the line is longer than one character and its last two characters are '-' (0x2D) (0x4E28A1, 0x4E28AB), it is copied to the buffer 0x7CDC58 and terminated at index length - 1 (0x4E28DB: mov word [esi*2+0x7CDC56], 0), so one dash is dropped: "Super--" reads "Super-" |
| TPW-EXE:0x004E2950 set sign line 1 | source/OpenTPW/World/Original/ParkNameLines.cs:9 | [BIN:TPW-EXE:0x004E2950 set sign line 1] the setters copy at most 0x21 characters into the 33-character line (line 2: 0x4E2A50 into +0x40A) |
| TPW-EXE:0x004F7E80 calendar constructor | source/OpenTPW/Economy/ParkCalendar.cs:121 | [BIN:TPW-EXE:0x004F7E80 calendar constructor] a new park's calendar stores day cache -1; the world init 0x005156A0 syncs only the month and year caches to turn 0 (0x004D7AF0 -> 0x004F85A0), so the first update 0x004F8260 posts one day message (0x0040F4C0) whatever the date (the comparison at 0x004F8321) |
| TPW-EXE:0x004F7E80 calendar constructor | source/OpenTPW/Economy/ParkEconomy.cs:65 | [BIN:TPW-EXE:0x004F7E80 calendar constructor] a new park's calendar stores day cache -1 (and the world init 0x005156A0 syncs only the month and year caches to turn 0, 0x004D7AF0 -> 0x004F85A0), |
| TPW-EXE:0x004F7F30 calendar loader | source/OpenTPW/Economy/ParkCalendar.cs:122 | [BIN:TPW-EXE:0x004F7F30 calendar loader] the loader restores the saved caches unchecked, so a restart save that still holds day -1 posts the same first day message; ParkEconomy.PendingInitialDay owns that pending message for a new park, for a restart import and for an own save made before the first turn |
| TPW-EXE:0x004F8260 month message | source/OpenTPW/Economy/ParkEconomy.cs:1036 | [BIN:TPW-EXE:0x004F8260 month message] the calendar update sends the month message (kind 12, 0x0040F500) to the staff manager (0x00508A30 → 0x00508E70) with no game-type test, so strikes are considered in every mode; the stamp (0x004F8800) is floor(turn × rate / 4) × 10^7 with the calendar's base added and taken off again, the park clock from world turn 0 |
| TPW-EXE:0x004F8260 park date | source/OpenTPW/Client/M3Gate.cs:152 | [BIN:TPW-EXE:0x004F8260 park date] the date is the start plus turn × [calendar +0x1C] / 4 seconds (__allmul, __alldiv, × 10,000,000), and the constructor 0x004F7E80 sets the rate to 15,000 (0x004F7EA9), so one turn is 3,750 park-clock seconds |
| TPW-EXE:0x004F8690 game clock | source/OpenTPW/Economy/OriginalEconomyImport.cs:474 | [BIN:TPW-EXE:0x004F8690 game clock] the constructor's hire stamp (0x00504BC4) is the clock FunnyTimeStart + rate × mGameTick / 4 seconds, a whole park turn, which the employee window counts days from (0x00505B70) |
| TPW-EXE:0x004F8800 park time | source/OpenTPW/World/AdvisorScan.cs:322 | [BIN:TPW-EXE:0x004F8800 park time] the park clock in 100 ns units is the turn count × the calendar rate (15000 / 4 seconds per turn); divided by 30 days with __alldiv |
| TPW-EXE:0x004F8800 park time | source/OpenTPW/World/ParkRestoredAdviceState.cs:25 | [BIN:TPW-EXE:0x004F8800 park time] the clock divided by 30 days, as EconomyMoneyState reads it |
| TPW-EXE:0x004F8800 time stamp | source/OpenTPW/Economy/StaffStrikes.cs:130 | [BIN:TPW-EXE:0x004F8800 time stamp] the age test's stamp is the calendar's base plus floor(turn × rate / 4) × 10^7 minus the base again (0x005FC530 / 0x005FC550): the park clock counted from world turn 0, so a strike needs a park of 24 thirty-day months, as here |
| TPW-EXE:0x004F88B0 park time | source/OpenTPW/Client/AutomaticAdvisor.cs:197 | [BIN:TPW-EXE:0x004F88B0 park time] the term is (park turn − stamp) as an unsigned 32-bit count × the calendar rate (+0x1C of world+0x2A0, 15000) / 4 × 10^7, the park time in 100 ns units; 0x004D04D9–0x004D04F2 take 0 months unless the balance (+0xC) and mLastBalance (+0x11C) are both below 0 (ParkEconomy.MonthsSinceEnteringRed, raised as ParkEventKind.BankruptcyMessage) |
| TPW-EXE:0x004F896A thing id | source/OpenTPW/World/Guests/GuestSimulation.cs:487 | [BIN:TPW-EXE:0x004F896A thing id] the base constructor 0x004F8940 takes the thing's id from the pool (0x0050AFE0 → the allocator 0x00516270) before its first draw; a full pool logs a fatal error and gives id 0 (here: no guest) |
| TPW-EXE:0x004F89E1 base speed draw | source/OpenTPW/World/Guests/GuestSimulation.cs:494 | [BIN:TPW-EXE:0x004F89E1 base speed draw] the thing base constructor 0x004F8940 draws first: R mod 5 (unsigned) indexes the speed table {60, 80, 100, 120, 140} (0x0075C7F8) for +0xC0 |
| TPW-EXE:0x004F89E1 staff base speed | source/OpenTPW/Economy/ParkEconomy.cs:124 | [EXT:headless-economy] a headless economy (tests and tools, no staff world) searches on the member's first update, which is OpenTPW's own test and tool design and has no original counterpart (user-approved 2026-10-16, DET-015 converted 2026-10-30); in a level the staff pool's and the staff walks' draws are the world generator's, and the staff constructors' role searches run inside the placing click of a level ([BIN:TPW-EXE:0x004D4340 constructor searches] StaffWorldSimulation.Constructed after the hire's draws: [BIN:TPW-EXE:0x004F89E1 staff base speed] the consumed base-speed draw and the guard's variant draw, see ParkStaff.Hire; no staff constructor reseeds, 0x4F7B7E is the online avatar's); a headless economy has no staff world and searches on the member's first update, the researcher constructor's last call 0x5041F0 runs at a researcher's hire and removal without a draw ([BIN:TPW-EXE:0x005041F0 researchers flag] ParkStaff.LabActive, message 5 or 6 on a change; the advisor's reaction is ADVISOR-009's), and the weather stays off the stream ([BIN:TPW-EXE:0x59A796 advisor pick] the advisor's update takes no draw: all 351 descriptor rows are in the sequential mode 2, the mode-3 draw 0x59A7AC is unreachable) |
| TPW-EXE:0x004F89E1 staff base speed draw | source/OpenTPW/Economy/ParkStaff.cs:549 | [BIN:TPW-EXE:0x004F89E1 staff base speed draw] the person base constructor 0x004F8940, which every staff constructor (0x00504B10) runs right after taking the thing id, draws R mod 5 from the world generator; the draw is consumed and not kept: the staff constructor's follow-up 0x00504B90 overwrites +0xC0 with 60 below grade 3 and 100 from grade 3 (0x00504C20..0x00504C42), and the entertainer constructor then sets 60 (0x004D43EE); no staff constructor reseeds (0x004F7B7E is the online avatar's) |
| TPW-EXE:0x004F8B10 person serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:523 | [BIN:TPW-EXE:0x004F8B10 person serializer] the loader routes the person again to mAccurateDestX/Y (+0x18/+0x1A, 1/256 cell) once it is read (0x004FA5F0 at 0x004F9407); |
| TPW-EXE:0x004F8B10 person serializer | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:183 | [BIN:TPW-EXE:0x004F8B10 person serializer] mBaseSpeed (+0xC0), mPurposeSpeed (+0xC2, the toilet term), mAdjustorSpeed (+0xC4, the boost) and mPreviousSpeed (+0xC8, the smoothed single) |
| TPW-EXE:0x004F8B10 person serializer | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:181 | [BIN:TPW-EXE:0x004F8B10 person serializer] after the person is read, 0x004FA5F0 routes it to (mAccurateDestX, mAccurateDestY) and only logs a failure |
| TPW-EXE:0x004F8B10 person sprite variant | source/OpenTPW/Economy/OriginalEconomyImport.cs:499 | [BIN:TPW-EXE:0x004F8B10 person sprite variant] the person serializer saves mSpriteID (+0x20) and mESPSprite (+0x24, the sprite category) and, once both are read, reduces the id modulo the category's loaded bank count (0x00541F60: the variant the placement drew, 0x00541F70); the staff serializer 0x00504DE0 calls it, so a member of an original save keeps his bank. The id is kept as the member's stored draw and the level reduces it by the loaded count (StaffMember.SpriteDraw); the variant is the folder's count |
| TPW-EXE:0x004F93AA saved sprite bank | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:177 | [BIN:TPW-EXE:0x004F93AA saved sprite bank] the person serializer saves the sprite bank (+0x20) and reduces it by the loaded count of the person's own category (+0x24, 0x00541F60); a guest in costume holds the costume bank there, and the kid set it returns to is the draw its thing id gives again (0x004FE6A1) |
| TPW-EXE:0x004F93AA saved sprite bank | source/OpenTPW/World/Guests/GuestSimulation.cs:4887 | [BIN:TPW-EXE:0x004F93AA saved sprite bank] a load writes the reduced bank back: a later save must keep it, not recover the earlier bank when more sets load. |
| TPW-EXE:0x004F93AA saved sprite reduction | source/OpenTPW/World/Guests/GuestAppearance.cs:48 | [BIN:TPW-EXE:0x004F93AA saved sprite reduction] the person serializer reduces a loaded sprite id by the category's loaded count (0x00541F60: the entry +8), for every person, so a guest's bank is its kept value modulo the count loaded now |
| TPW-EXE:0x004F93AA sprite id reduction | source/OpenTPW/Economy/ParkStaff.cs:242 | [BIN:TPW-EXE:0x004F93AA sprite id reduction] the person serializer 0x004F8B10 stores mSpriteID % the category's loaded bank count (0x00541F60 reads the table entry 0x00763F90 that 0x00541E7D filled from the loader's result): a count below the one the park was made at wraps the draw for good |
| TPW-EXE:0x004F9407 load re-route | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:305 | [BIN:TPW-EXE:0x004F9407 load re-route] the person loader calls 0x004FA5F0 with the accurate destination (+0x18, +0x1A): SetDest 0x00510100 → the walk set-up 0x0050F8E0, whose search starts from any cell (the edge test 0x004D8750 opens every step out of a cell that is neither path nor queue); a failed search leaves the walk finished with mCantReachDest set and only logs "Couldn't renav to my accurate dest!!", so the first walk step answers 2 (0x004FA2A0) and the state handler recovers (7: a draw and the wander, 9: the litter drop, 10: "stuck on the way") |
| TPW-EXE:0x004F9407 load re-route | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:351 | [BIN:TPW-EXE:0x004F9407 load re-route] a guest leaving a ride walks on to its saved accurate destination, the cell beyond the exit (ExitRide 0x005014E0 asked the route that set it), whatever it stands on; mMajorDest (+0x1DC) keeps the ride it left through the walk (0x005014E0 writes no +0x1DC), which the removal of the attraction still reaches |
| TPW-EXE:0x004F9407 load re-route | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:133 | [BIN:TPW-EXE:0x004F9407 load re-route] the person loader routes to the saved accurate destination in every state: the slot of the queue place in state 12, the stand point in state 13 |
| TPW-EXE:0x004F9490 candidates of a step | source/OpenTPW/World/Guests/GuestWander.cs:186 | [BIN:TPW-EXE:0x004F9490 candidates of a step] the link walk starts from any cell that has links (a queue cell, an entrance or an exit included: a guest the queue let go stands on its queue cell and wanders from there, QUEUE-010) and takes every link the four removals leave |
| TPW-EXE:0x004F9490 staff patrol area | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:434 | [BIN:TPW-EXE:0x004F9490 staff patrol area] for staff (types 4..8) a cell outside the rectangle (0x00506ED0: +0x20A and +0x20C are its corners' cell ids, inclusive) first tries 0x00506F30; when that fails ("I can't reach my patrol area", message 0x16) the wander runs without the rectangle; inside it, the candidates outside it are removed, and when none is left 0x00506F30 runs ("I'm inside my patrol area but can't get anywhere else within it" when it fails) |
| TPW-EXE:0x004F9490 start without links | source/OpenTPW/World/Guests/GuestSimulation.cs:2469 | [BIN:TPW-EXE:0x004F9490 start without links] the step count R % 5 is drawn first, then the search for a path cell around the start (0x522810 below 1) |
| TPW-EXE:0x004F9490 start without links | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:448 | [BIN:TPW-EXE:0x004F9490 start without links] the search is the guests' and it serves the staff alike: a start cell with no link (a member left standing where an object's placement took the path away, as a pool's changing room does) takes the off-path search after the step-count draw Pick has just made, which walks him out to the nearest path cell a route reaches (GuestSimulation.Wander does the same for a guest) |
| TPW-EXE:0x004F9490 wander destination | source/OpenTPW/World/Guests/GuestWander.cs:154 | [BIN:TPW-EXE:0x004F9490 wander destination] rand % 5 at entry (0x004F9534); a do-while over the steps whose counter becomes 1 again when a step ends on the start cell with the counter at 0 (0x004F98F5); per step the current cell's links (0x00522770, & 0x55) in the order 16, 4, 1, 64, the count from 0x00522810, whatever the cell's type; fewer than two left after the four removals: the first in order (no draw); else the first from rand & 3 (0x004F9874) that is neither empty nor the way back ((i − 2) & 3 of the last step, 9999 before the first); then two draws & 0x7F, each clamped to 5..123 (0x004F9922) |
| TPW-EXE:0x004F9490 wander over every link | source/OpenTPW.Tests/ShopVisitAssetTests.cs:128 | [BIN:TPW-EXE:0x004F9490 wander over every link] the Easymode save's path cells hold a few links toward empty ground (7 of 188); the wander walks every link, so a guest the shop refuses and sends away can be stranded at such an end |
| TPW-EXE:0x004F9490 wander route | source/OpenTPW/World/Guests/GuestSimulation.cs:2457 | [BIN:TPW-EXE:0x004F9490 wander route] the picked destination is a SetDest (0x00510100), whose search decides success; a failed search leaves the walk stuck (the route cells below are the M3 gate's bookkeeping) |
| TPW-EXE:0x004F94C6 stranded hold | source/OpenTPW/World/Guests/GuestSimulation.cs:2445 | [BIN:TPW-EXE:0x004F94C6 stranded hold] a guest that found no way on is marked with the stamp counter (+0x198): while no block around its cell (the queue's tail for a queue cell) has been stamped above the mark (0x004FA770) the wander thinks "Confused" (0x0050BE80, 0x11) and returns before any draw |
| TPW-EXE:0x004F95B9 start without links | source/OpenTPW.Tests/LinkedAccessWanderTests.cs:228 | [BIN:TPW-EXE:0x004F95B9 start without links] only the start cell's link count decides: whatever its type, a cell with a link walks it |
| TPW-EXE:0x004F95B9 start without links | source/OpenTPW/World/Guests/GuestWander.cs:178 | [BIN:TPW-EXE:0x004F95B9 start without links] the link count of the start cell (0x00522810) below 1 takes the off-path search (0x004F9A05), whatever the cell's type |
| TPW-EXE:0x004F95F7 candidate links | source/OpenTPW/World/Guests/GuestWander.cs:30 | [BIN:TPW-EXE:0x004F95F7 candidate links] the cell's link byte (0x00522770, & 0x55) names the candidates in the order 16, 4, 1, 64 (+Y, +X, −Y, −X) whatever the type of the cell it leads to, and 0x00522810 counts them |
| TPW-EXE:0x004F96FB removal 1 | source/OpenTPW/World/Guests/GuestWander.cs:31 | [BIN:TPW-EXE:0x004F96FB removal 1] a staff thing (kinds 4 to 8) with the area test on (the flag [esp+0x30] clear) drops each candidate whose cell fails 0x00506ED0 (the member's rectangle); the last one dropped ends the step at 0x004F9D60 |
| TPW-EXE:0x004F9733 removal 2 | source/OpenTPW.Tests/LinkedAccessWanderTests.cs:160 | [BIN:TPW-EXE:0x004F9733 removal 2] the queue test removes the links to queue cells from a type-1 cell only: an entrance or exit start keeps them; [0x004F97E4 removal 4] every cell drops the links to type-10 cells |
| TPW-EXE:0x004F9733 removal 2 | source/OpenTPW/World/Guests/GuestWander.cs:32 | [BIN:TPW-EXE:0x004F9733 removal 2] a type-1 cell (0x00536310) drops the candidates whose cell is a queue cell (0x00536320: type 3 or 9) |
| TPW-EXE:0x004F977B removal 3 | source/OpenTPW/World/Guests/GuestWander.cs:33 | [BIN:TPW-EXE:0x004F977B removal 3] a queue cell (0x00536320) that is not an entrance (0x00536340: type 9) drops the candidate in the direction of its own queue link (0x00522850, the byte +0x0D: 1, 0x10, 4 or 0x40) |
| TPW-EXE:0x004F97E4 removal 4 | source/OpenTPW/World/Guests/GuestWander.cs:34 | [BIN:TPW-EXE:0x004F97E4 removal 4] every cell drops the candidates whose cell is of type 10 (0x00536350); fewer than two left take the first in order with no draw, none left is 0x004F9D64 |
| TPW-EXE:0x004F99F8 | source/OpenTPW.Tests/WanderTests.cs:168 | [BIN:TPW-EXE:0x004F99F8] eight patterns at the distances 0 to 3; the first path cell a route reaches |
| TPW-EXE:0x004F99F8 off-path candidates | source/OpenTPW/World/Guests/GuestWander.cs:109 | [BIN:TPW-EXE:0x004F99F8 off-path candidates] 8 patterns (0, 0), (t, t), (t, 0), (t, −t), (0, −t), (−t, −t), (−t, 0), (−t, t) for t = 0..3, outer loop the pattern, inner the distance; the cell id is the start id plus (dy << 7) + dx in 16 bits, its cell is (id − 1) & 0x7F, (id − 1) >> 7; kept when inside 0..127 (0x004D8300) and of type 1 (0x00536310), then a SetDest (0x00510100) to the cell centre (0x80, 0x80): the first that finds a route wins |
| TPW-EXE:0x004F9BF2 random candidates | source/OpenTPW/World/Guests/GuestWander.cs:110 | [BIN:TPW-EXE:0x004F9BF2 random candidates] five tries of two draws each, x + (R1 % 11 − 5) and y + (R2 % 11 − 5), kept when inside 0..127 (no type test) and routed to the cell centre; none found returns 0 without a stranded mark |
| TPW-EXE:0x004F9D6E | source/OpenTPW.Tests/WanderTests.cs:99 | [BIN:TPW-EXE:0x004F9D6E] no candidate left on a linked cell: thought Confused (0x11), the mark; [BIN:TPW-EXE:0x004FA770] held while no block around the cell is stamped above it |
| TPW-EXE:0x004F9D6E stranded | source/OpenTPW/World/Guests/GuestSimulation.cs:2478 | [BIN:TPW-EXE:0x004F9D6E stranded] a guest (not a staff member) with a step that has no candidate left, at the start or further along the walk, is "stranded at time": thought Confused and the mark, the raised stamp counter |
| TPW-EXE:0x004F9D77 | source/OpenTPW.Tests/LinkedAccessWanderTests.cs:335 | [BIN:TPW-EXE:0x004F9D77] the same dead end (an access cell whose only link leads to an exit cell, which the removals drop) strands a guest (thought Confused, the stranded mark, 0x004F9D6E) and does not strand a staff member: |
| TPW-EXE:0x004F9D77 staff are never stranded | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:494 | [BIN:TPW-EXE:0x004F9D77 staff are never stranded] the wander's dead end (0x004F9D64) tests the thing's kind byte: the staff (4 to 8) go to the patrol area search 0x00506F30 and return, and only the other kinds (the guests) reach the stamp write at 0x004F9E09 (+0x198 = the cell map's stamp counter); the other writers of +0x198 clear it (0x004F9528, 0x004F9990, 0x004F9B3F, 0x004FA695 through 0x004FA670, whose two callers 0x004F99B0 and 0x004F9B66 both pass 0), so a staff member's word stays 0 and the quick failure of 0x004FA770 (taken only while the word is above 0: 0x004F94FB, 0x004F999C, 0x004F9B49, 0x004FA58F, 0x004FA615) never holds a staff route |
| TPW-EXE:0x004F9D8E no candidate left | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:451 | [BIN:TPW-EXE:0x004F9D8E no candidate left] a staff thing whose step has none left (the rectangle or the other removals took them all) looks for a cell inside his rectangle (0x00506F30) |
| TPW-EXE:0x004F9DFC | source/OpenTPW.Tests/WanderTests.cs:128 | [BIN:TPW-EXE:0x004F9DFC] the mark; [BIN:TPW-EXE:0x004FA770] held until a block around it is stamped (0x004D8C60 by a cell type change, 0x004DE1F0 by a queue change): the guest's next wander runs again and finds the cell that was built |
| TPW-EXE:0x004F9E60 visitor body request | source/OpenTPW/World/Guests/VisitorSpriteState.cs:170 | [BIN:TPW-EXE:0x004F9E60 visitor body request] creates through 0x4D4140 only with no handle; 0x4D4100 tests both active and pending before the request |
| TPW-EXE:0x004F9F00 sub-turn point | source/OpenTPW/World/Guests/PersonInterpolation.cs:21 | [BIN:TPW-EXE:0x004F9F00 sub-turn point] flag set: t below 0 gives 0, above 1 gives 1 (0x007006CC, 0x007006C8); flag clear: below −1 gives −1, above 2 gives 2 (0x007006D0, 0x007006D4); then per axis fild(current − start), fmul t, fiadd start and _ftol (0x0067A830); the point is drawn at that × 10 × 2^-16 world units (0x00700698, 0x007006D8), cells × 10, height 0, and the facing is the person's own angle +0x1C |
| TPW-EXE:0x004FA030 balloon placement | source/OpenTPW/World/Guests/BalloonRenderer.cs:114 | [BIN:TPW-EXE:0x004FA030 balloon placement] the guest's position at t − 0.35 (flag 0) and at t (flag 1) through 0x004F9F00; y = 1.0 − (|Δz| + |Δx|) / 0.5 + y of entry (id + phase 0x007CEDD4) % 20 × 1.5, x and z the trailing point plus the entry's x and z × 1.5; 0x004FE900 moves the balloon to the x and z of the call before |
| TPW-EXE:0x004FA030 balloon point | source/OpenTPW/World/Guests/GuestSimulation.cs:1275 | [BIN:TPW-EXE:0x004FA030 balloon point] the first call of the sprite placement is the time less 0x0075C910 (0.35) with the flag clear, the second the time itself with the flag set; the balloon (+0x210) hangs at the first call's point |
| TPW-EXE:0x004FA030 sector | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:208 | [BIN:TPW-EXE:0x004FA2A0 heading] FUN_006e7074(oldX - newX, newY - oldY) is 180 degrees plus the angle of the step measured from +Y towards +X; [BIN:TPW-EXE:0x004FA030 sector] minus 0x380 (157.5 degrees) and the shift by 8 leave floor((angle + 22.5 degrees) / 45 degrees) |
| TPW-EXE:0x004FA087 held body | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:95 | [BIN:TPW-EXE:0x004FA087 held body] from here the guest update no longer places the body, so it stays where it was last drawn, even when a blocked ExitRide moves the guest itself (0x004FA930) |
| TPW-EXE:0x004FA087 held body | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:113 | [BIN:TPW-EXE:0x004FA087 held body] the guest update places its body at its own position (0x00475480) only while +0x28 (mSpriteUnderRideCtrl, saved by 0x004F8B10) is 0; the state-15 entry clears it (0x00501F79) and the removed object's message 10 (0x004FB3DF); no other guest code reads it, and the sprite pass (0x00542010) draws every sprite with a frame at its stored position whatever its owner's state |
| TPW-EXE:0x004FA244 bob phase | source/OpenTPW/World/Guests/BalloonRenderer.cs:43 | [BIN:TPW-EXE:0x004FA244 bob phase] FCOMP of the accumulator (0x007CEDD8) against 1.0 (0x007006E0): below, it takes 0x0075C900 (0.1, stored as a float); else it is zeroed and 0x007CEDD4 becomes (phase + 1) mod 20 (0x0075C80C); the people's list is walked once per frame by 0x00518F90 from the main loop 0x0054E360 |
| TPW-EXE:0x004FA2A0 heading | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:208 | [BIN:TPW-EXE:0x004FA2A0 heading] FUN_006e7074(oldX - newX, newY - oldY) is 180 degrees plus the angle of the step measured from +Y towards +X; [BIN:TPW-EXE:0x004FA030 sector] minus 0x380 (157.5 degrees) and the shift by 8 leave floor((angle + 22.5 degrees) / 45 degrees) |
| TPW-EXE:0x004FA2A0 staff walk step | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:575 | [BIN:TPW-EXE:0x004FA2A0 staff walk step] the same walk step as the guests' (thing classes 1 and 4..8 call it): the steering step 0x0050F3B0 over the behaviour list 0x007CF078 (avoid_walls, follow_path, separation), the cell list update 0x0050B6A0, then 2 when the walk is stuck (+0x18C), 0 when the progress 0x0050FD40 is ONE, else 1 |
| TPW-EXE:0x004FA2A0 thing position | source/OpenTPW/World/Guests/GuestSimulation.cs:1572 | [BIN:TPW-EXE:0x004FA2A0 thing position] +4/+6 are written by the walk step (the walk position >> 8, 0x4FA2FC → 0x50B6A0) and by the teleport (0x4FA930 → 0x50B6A0) only: a guest on a ride (state 16) or carried (state 17) keeps the position of its last step, still on the chain and still a neighbour of the guests that step past it; the destroy request unlinks a thing at once (0x50B780 → 0x4F8AE0 → 0x50B980 → 0x4D9280) |
| TPW-EXE:0x004FA2A0 walk result | source/OpenTPW/World/Guests/GuestSimulation.cs:2287 | [BIN:TPW-EXE:0x004FA2A0 walk result] the walk step answers 2 for a walk that is stuck (a failed set-up, 0x0050F8E0, or a reroute of follow_path that finds no way, GuestNavigation.Step); a route walk of an old OpenTPW save ends stuck when a grid edit takes a cell or link of its route (EndBrokenWalks, [EXT:legacy-save-route-walk]) |
| TPW-EXE:0x004FA2A0 walk step | source/OpenTPW/World/Guests/GuestNavigation.cs:801 | [BIN:TPW-EXE:0x004FA2A0 walk step] the steering step, then 2 when +0x18C (walk +0xB8) is set, 0 when 0x50FD40 is ONE, else 1 |
| TPW-EXE:0x004FA2A0 walk step | source/OpenTPW/World/Guests/GuestRenderer.cs:39 | [BIN:TPW-EXE:0x004FA2A0 walk step] v = step length (16.16 per turn) x 3.829657e-05 (0x007006E8), doubled unless the guest runs (the unsigned purpose-speed word +0xC2 above 0, thing types 1 and 7); 0x004D41D0 sets the interval to trunc(62 / v) ms (0x007003A0), at most 250, applied by 0x004D4190; the sprite player 0x00475360 runs one script step per interval |
| TPW-EXE:0x004FA3B3 walk request | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:80 | [BIN:TPW-EXE:0x004FA3B3 walk request] +0xC2 compared unsigned with the constant 0 (0x0075C7F0) for the types 1 (guest) and 7 (guard); a guard in state 0x12 (0x004D6350) uses the hold program 0x0074EF90 (template 0x17); 0x00475C50 compares the restart PC (+0xC) with the program, 0x004217F0 queues |
| TPW-EXE:0x004FA3B3 walk request | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:579 | [BIN:TPW-EXE:0x004FA3B3 walk request] a step that is still walking asks its sprite for the walk, run or hold template; arrived and stuck steps (0x004FA2A0 returns before the request) ask for nothing |
| TPW-EXE:0x004FA3F8 guest walk interval | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:74 | [BIN:TPW-EXE:0x004FA3F8 guest walk interval] int32 squared displacement, sqrt times the float speed constant, rounded to float before doubling unless +0xC2 > 0 unsigned |
| TPW-EXE:0x004FA3F8 walk step interval | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:600 | [BIN:TPW-EXE:0x004FA3F8 walk step interval] a step that is still walking asks its sprite for the interval clamp(trunc(62 / v), 0, 250) ms, v the step's own length (the squared integer displacement, fild, fsqrt) times 0x007006E8, doubled unless the thing is a guest or a guard with a speed bonus above 0 (+0xC2, 0x0075C7F0): the run |
| TPW-EXE:0x004FA530 route request | source/OpenTPW.Tests/GuestDestinationTests.cs:87 | [BIN:TPW-EXE:0x004FA530 route request] the destination is the entrance cell +0x36 inside the footprint; state 10 then finds the guest off the back cell (0x004FFC40) and asks for the back cell (0x004FFE16) |
| TPW-EXE:0x004FA530 route to a cell | source/OpenTPW/World/Guests/GuestSimulation.cs:1508 | [BIN:TPW-EXE:0x004FA530 route to a cell] the cell id minus 1 gives the cell bytes with the sub-cell byte 0x80 (bit 15 of x cleared), the stranded mark +0x198 is tested first (RequestRoute), then 0x00510100 with the position bytes << 8; its result is the search's success |
| TPW-EXE:0x004FA530 staff SetDest | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:493 | [BIN:TPW-EXE:0x004FA530 staff SetDest] the cell id becomes the target bytes (x, y) with 0x80 in each low byte, +0x18/+0x1A keep it, then 0x00510100 (the walk set-up 0x0050F8E0 with the walk mask +0x188); 0x004FA5F0 does the same for a byte point |
| TPW-EXE:0x004FA530 stranded early exit | source/OpenTPW/World/Guests/GuestSimulation.cs:1518 | [BIN:TPW-EXE:0x004FA530 stranded early exit] the stamp counter below the mark clears it (0x004D8C50 against +0x198); a mark still set and held (0x004FA770) returns 0 before anything is written; else the mark is cleared and 0x00510100 sets the walk up |
| TPW-EXE:0x004FA5F0 stranded mark on load | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:227 | [BIN:TPW-EXE:0x004FA5F0 stranded mark on load] mStrandedTime (+0x198, read at 0x004F92F0) is compared with the route counter 0x007CDB98, which is not saved and restarts with the process (0x004D8C50 is its only reader and writer): the load's re-route clears a mark above the counter, so a fresh load imports it as 0; a mark at or below the loading process's count of route requests (one set in the saving session's first requests) is kept only while the stranded test 0x004FA770 holds, and any walk step clears +0x198 anyway (0x004FA30B in 0x004FA2A0), so a walking guest loses it at its first step |
| TPW-EXE:0x004FA770 | source/OpenTPW.Tests/WanderTests.cs:99 | [BIN:TPW-EXE:0x004F9D6E] no candidate left on a linked cell: thought Confused (0x11), the mark; [BIN:TPW-EXE:0x004FA770] held while no block around the cell is stamped above it |
| TPW-EXE:0x004FA770 | source/OpenTPW.Tests/WanderTests.cs:128 | [BIN:TPW-EXE:0x004F9DFC] the mark; [BIN:TPW-EXE:0x004FA770] held until a block around it is stamped (0x004D8C60 by a cell type change, 0x004DE1F0 by a queue change): the guest's next wander runs again and finds the cell that was built |
| TPW-EXE:0x004FA770 stranded test | source/OpenTPW/World/Guests/GuestSimulation.cs:2506 | [BIN:TPW-EXE:0x004FA770 stranded test] the reference is the guest's cell, or for a queue cell (0x00536320) the cell reached by following the predecessor links (0x004DE670) to the end; the nine cell offsets (−1..1, −1..1) of the table 0x007CED88 give block stamps (0x004D8CA0) and the guest stays stranded while their largest is below the mark |
| TPW-EXE:0x004FA870 speed smoothing | source/OpenTPW/World/Guests/GuestNavigation.cs:1164 | [BIN:TPW-EXE:0x004FA870 speed smoothing] the three words +0xC0 (base), +0xC2 (bonus) and +0xC4 (boost) are added as integers and divided by the word at 0x0075C7FC (100) with fidiv; +0xC8 is multiplied by 0x007006F0 (−3.0) and subtracted (fsubp), the difference multiplied by 0x007006F4 (0.25) and stored back and handed to the speed setter 0x00510190; then +0xC4 = (+0xC4 × 99 as a 16-bit product) / 100 (imul cx, cx, 0x63; the magic 0x51EB851F) and the walk position is copied to +0x190/+0x194 |
| TPW-EXE:0x004FA870 turn start point | source/OpenTPW/World/Guests/GuestSimulation.cs:1156 | [BIN:TPW-EXE:0x004FA870 turn start point] the person's turn update ends with its walk position copied to +0x190/+0x194, the start of the interpolation (0x004F9F00) until the next turn, whether or not the guest walks |
| TPW-EXE:0x004FA870 turn start point | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:105 | [BIN:TPW-EXE:0x004FA870 turn start point] the person's turn update copies its walk position to +0x190/+0x194 before the state handler walks: the start of the interpolation until the next turn |
| TPW-EXE:0x004FA91F pending request application | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:107 | [BIN:TPW-EXE:0x004FA91F pending request application] the same pre-update then applies the sprite wrapper's pending template and interval (0x004D4190), before the role's state handler makes its next requests |
| TPW-EXE:0x004FA930 teleport | source/OpenTPW/World/Guests/GuestSimulation.cs:3731 | [BIN:TPW-EXE:0x004FA930 teleport] the navigation position is the point's bytes << 8 (0x005100E0), the velocity 0, the previous position the same point (0x00510160) and the guest joins its new cell's list (0x0050B6A0) |
| TPW-EXE:0x004FA990 census predicate | source/OpenTPW/World/ParkGate.cs:212 | [BIN:TPW-EXE:0x004FA990 census predicate] a thing of type 1 (a guest) on a cell the predicate accepts; the same test in every guest statistic |
| TPW-EXE:0x004FA990 park cell test | source/OpenTPW/World/Guests/GuestSimulation.cs:1081 | [BIN:TPW-EXE:0x004FA990 park cell test] the type of the cell the guest's thing stands on (+5, +7) is 0, 1, 3, 9 or 10 (0x00536390, 0x00536310, 0x00536320, 0x00536340, 0x00536350), whatever the guest's state |
| TPW-EXE:0x004FA9B6 census cell | source/OpenTPW/World/ParkGate.cs:213 | [BIN:TPW-EXE:0x004FA9B6 census cell] the predicate reads the thing's cell bytes +5/+7, the high bytes of its position words +4/+6, which every walk step rewrites whatever the new cell's type (0x004FA2A0 → 0x0050B6A0, relinking the cell's thing list on a cell change) and the teleport 0x004FA930 sets (the ride exit 0x005014E0, the guard's set-down 0x004FEB50); OpenTPW's thing position is the walk position, which its cell lists already follow (SyncOccupants), so the census reads that cell, not the stored cell a step only moves onto path and queue cells |
| TPW-EXE:0x004FAF1F guest meter start | source/OpenTPW/World/Guests/Guest.cs:176 | [BIN:TPW-EXE:0x004FAF1F guest meter start] the constructor stores 0 (ebx) at +0x1B8 (also at 0x004FB0EF; the load factory at 0x00518611) |
| TPW-EXE:0x004FAFDB | source/OpenTPW.Tests/GuestTimeInParkTests.cs:38 | [BIN:TPW-EXE:0x004FAFDB] the stamp +0x1D4 is written by the person constructor only: nothing resets it at admission or stops it on the road home |
| TPW-EXE:0x004FAFDB arrival stamp | source/OpenTPW/World/Guests/GuestSimulation.cs:498 | [BIN:TPW-EXE:0x004FAFDB arrival stamp] the person constructor stamps the world turn into +0x1D4. |
| TPW-EXE:0x004FAFF8 guest constructor draws | source/OpenTPW/World/Guests/GuestSimulation.cs:567 | [BIN:TPW-EXE:0x004FAFF8 guest constructor draws] the person constructor 0x004FAEC0 takes the eight draws of GuestStart right after the base constructor's (0x004FAFF8, 0x004FB01F, 0x004FB046, 0x004FB085, 0x004FB0AB, 0x004FB0D1, 0x004FB109, 0x004FB114), all from the one world generator |
| TPW-EXE:0x004FAFF8 guest constructor draws | source/OpenTPW/World/Guests/GuestStart.cs:39 | [BIN:TPW-EXE:0x004FAFF8 guest constructor draws] the eight draws come from the world generator in this order (0x004FAFF8, 0x004FB01F, 0x004FB046, 0x004FB085, 0x004FB0AB, 0x004FB0D1, 0x004FB109, 0x004FB114), after the base constructor's speed draw (0x004F89E1) and before the reseed with the thing id (0x004FB19E) |
| TPW-EXE:0x004FB114 prankery flag | source/OpenTPW/World/Guests/GuestStart.cs:40 | [BIN:TPW-EXE:0x004FB114 prankery flag] the eighth draw: +0x1C0 = 100 when draw % 100 is below PrankeryLikelihood (0x007850DC), else 0; a 100 then adds the thing id (0x0050B350) modulo 3, both unsigned |
| TPW-EXE:0x004FB19E guest reseed | source/OpenTPW/World/Guests/GuestSimulation.cs:501 | [BIN:TPW-EXE:0x004FB19E guest reseed] [BIN:TPI-EXE:0x60C88A guest reseed] Both constructors |
| TPW-EXE:0x004FB19E guest sprite variant | source/OpenTPW/World/Guests/GuestAppearance.cs:32 | [BIN:TPW-EXE:0x004FB19E guest sprite variant] the guest constructor reseeds with the thing id (0x00516370) and draws 0x00541F70(0): (draw >> 2) mod the category's loaded bank count (the table 0x00763F88 entry +8); returning a costume does the same (0x004FE6A1), so the value repeats |
| TPW-EXE:0x004FB19E guest sprite variant | source/OpenTPW/World/Guests/GuestRenderer.cs:309 | [BIN:TPW-EXE:0x004FB19E guest sprite variant] the kid set is the guest's own draw at its creation (kept as Guest.KidSetDraw: a function of its thing id alone, not of its peep type, or the bank an original save holds) modulo the sets loaded, in the original's load order (KidSetLoad) |
| TPW-EXE:0x004FB1C1 creation speed term | source/OpenTPW/World/Guests/GuestSimulation.cs:571 | [BIN:TPW-EXE:0x004FB1C1 creation speed term] the person constructor stores the word 0x0075C7F2 (25) as the purpose speed +0xC2, which the needs phase (the toilet term) and the booth walk (state 2) overwrite |
| TPW-EXE:0x004FB1D9 constructor on a park cell | source/OpenTPW/World/Guests/GuestSimulation.cs:631 | [BIN:TPW-EXE:0x004FB1D9 constructor on a park cell] a guest made on a park cell (0x004FA990 true) takes its visitor number at once (0x0051AAF0 into +0x1D8) and is in state 6 |
| TPW-EXE:0x004FB1D9 park cell branch | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:96 | [BIN:TPW-EXE:0x004FB1D9 park cell branch] a stop cell the test 0x4FA990 accepts (cell type 0, 1, 3, 9 or 10) jumps to 0x4FB1D9: the visitor number 0x51AAF0 into +0x1D8 and state 6 through 0x501DB0(6), before the two draws (0x516330 at 0x4FB201 and 0x4FB21C), with no crossing route (0x4FA5F0) and no beam |
| TPW-EXE:0x004FB201 arrival entrance | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:86 | [BIN:TPW-EXE:0x004FB201 arrival entrance] a guest whose cell is not a park cell (0x004FA990 false, every guest of the arrival vehicle) takes two draws after its reseed: R & 1 picks the crossing cell (0x004D8710) and the low byte of R is the sideways point in it (0x004FB21C), the y byte being 0xC8; 0x004FA5F0 asks for the walk there: a route makes state 0, none state 6 (0x004FB254); a level without arrival cells has no vehicle stop, and OpenTPW starts the guest on the park's first path cell |
| TPW-EXE:0x004FB26A creation beam | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:116 | [BIN:TPW-EXE:0x004FB26A creation beam] the branch taken when 0x4FA990 finds none of the cell types 0, 1, 3, 9 and 10 (0x536310..0x536390; OnParkCellType) ends with 0x4FA470(0x13), particle 19 at the guest's place (the arrival update's call 0x4CF7A4 passes the vehicle's stop cell); a guest made on a park cell (0x4FA990, the branch above) takes the other branch and beams nobody. The world's population loop 0x516700 (25 guests at once, 0x516791) belongs to the online chat message handler 0x4E6790 and has no counterpart here |
| TPW-EXE:0x004FB360 | source/OpenTPW.Tests/AttractionRemovalGuestTests.cs:89 | [BIN:TPW-EXE:0x004FB360] the original has no poll for a vanished attraction; the safety net does what the removal message does: state 6, no position written |
| TPW-EXE:0x004FB360 bin removed | source/OpenTPW/World/Guests/GuestSimulation.cs:453 | [BIN:TPW-EXE:0x004FB360 bin removed] the bin is the guest's target +0x1DC (state 9, 0x004FFF20, or kept after the walk, which writes no +0x1DC): the message tests only +0x1DC, never the state, so the small step (0x004FE980(0)), +0x1DC = 0 and state 6 reach every holder; the litter meter +0x1B4 is not touched |
| TPW-EXE:0x004FB360 object removed | source/OpenTPW/World/Guests/GuestSimulation.cs:350 | [BIN:TPW-EXE:0x004FB360 object removed] for message 10 naming the target +0x1DC: a guest in state 16 (on the ride) gets its model back (0x004D4140 / 0x004217F0), +0x28 = 0, event 0xD and the cat_kids 0x80 sound; any other guest in states 11–14 (0x00502430, state 8's held state too) the dismissal 0x005012F0; then every one the small step (0x004FE980(0), clamped by 0x004FB4F0), +0x1DC = 0 and state 6 (0x00501DB0); the target test (0x004FB383, jne 0x004FB4A6) guards only that block: for every guest the message reaches, the major destination +0x1DE is cleared when it names the object (0x004FB4A6) and each used-history slot +0x1E0 that does is zeroed with the temporary-history slot +0x1E8 of the same index (0x004FB4BA..0x004FB4D9) |
| TPW-EXE:0x004FB360 object removed | source/OpenTPW/World/Guests/GuestSimulation.cs:3709 | [BIN:TPW-EXE:0x004FB360 object removed] a demolished object (its runtime stops before the level unregisters it) runs no ExitRide and no use routine for its riders: the removal message gives a rider in state 16 its model back, the small happiness step and state 6 |
| TPW-EXE:0x004FB360 queue guests of a removed ride | source/OpenTPW/World/Guests/GuestSimulation.cs:392 | [BIN:TPW-EXE:0x004FB360 queue guests of a removed ride] the removal message dismisses a queued guest in place (0x005012F0) and sets state 6: no position is written, so on a placed ride's cell the guest stays where it stood |
| TPW-EXE:0x004FB360 removal message | source/OpenTPW/World/Guests/GuestSimulation.cs:3547 | [BIN:TPW-EXE:0x004FB360 removal message] the original has no poll for a vanished attraction: the removal message is the only way a guest loses its target, and it writes no position (the small step, +0x1DC = 0, SetState(6) at 0x00501DB0), so the safety net for a guest whose attraction is already gone does the same |
| TPW-EXE:0x004FB36F removal reaches every holder of the target | source/OpenTPW/World/Guests/GuestSimulation.cs:426 | [BIN:TPW-EXE:0x004FB36F removal reaches every holder of the target] the message tests only +0x1DC, never the state: a guest still deciding or wandering (states 6 and 7, the target kept until the next choice) and one that has just left the attraction (state 15) all get the small step, +0x1DC = 0 and SetState(6) (0x00501DB0) and nothing else, so a walking guest stops where it walks (no position is written) and a standing one decides again |
| TPW-EXE:0x004FB444 target kept after a visit | source/OpenTPW/World/Guests/GuestSimulation.cs:351 | [BIN:TPW-EXE:0x004FB444 target kept after a visit] the target +0x1DC now lives until the next major choice (0x004FCB21), so a guest that has just left the removed attraction (state 15, then 6 or 7) is hit; the state-16 event 0xD is a record of the debug-only guest event ring ([EXT:guest-event-ring]) and its sound 0x80 is played above; a guest on the ride or in the queue is placed at once on the exit or join cell (QUEUE-010) |
| TPW-EXE:0x004FB4A6 major destination removed | source/OpenTPW/World/Guests/GuestSimulation.cs:373 | [BIN:TPW-EXE:0x004FB4A6 major destination removed] the message clears +0x1DE of every guest it reaches when it names the object, whatever the target |
| TPW-EXE:0x004FB530 arrival states | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:438 | [BIN:TPW-EXE:0x004FB530 arrival states] mState (+0x220) is kept as it was saved, with the walk's accurate destination (+0x18, +0x1A, routed again as the loader does, 0x004FA5F0) in the walking states 0, 2, 5 and 18, mPaidAdmission (+0x204) and the wait mParkOpeningWaitingTime (+0x200) in states 3 and 4; the walk mask +0x188 is the saved nav_mode in every state, 19 and 21 included (1 for a guest sent home by 0x004FF9D0 or 0x004FF7F0, 0 for one whose first gate route in 0x004FEC90 succeeded with mask 0) |
| TPW-EXE:0x004FB530 guest serializer | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:70 | [BIN:TPW-EXE:0x004FB530 guest serializer] the person, then mArrivalDate, mArrivalIndex, mBalloonScript (+0x210), mBeenAdmitted, mCash (+0x1A0), mExitLevel (+0x1BC), happiness (+0x19C) and hunger (+0x1A8) bytes, |
| TPW-EXE:0x004FB530 kept target | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:334 | [BIN:TPW-EXE:0x004FB530 kept target] mMajorDest (+0x1DC) is the target the guest keeps until its next major choice (0x004FCB21) whatever the state (0x00500900, 0x004FFEDA leave it): a wanderer keeps the attraction it last chose or the bin it last used (0x004FFF20 writes no +0x1DC) |
| TPW-EXE:0x004FB530 off-path guest | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:126 | [BIN:TPW-EXE:0x004FB530 off-path guest] the load reads the position and mState straight in and nothing moves a park guest standing off the paths (a path deleted |
| TPW-EXE:0x004FB530 saved major destination | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:145 | [BIN:TPW-EXE:0x004FB530 saved major destination] mSavedMajorDest (+0x1DE) is saved with the person and nothing in the loader touches it: it names the attraction a minor decision set aside, whatever the state; one that names no attraction OpenTPW holds is 0 |
| TPW-EXE:0x004FB530 visitor number | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:189 | [BIN:TPW-EXE:0x004FB530 visitor number] mArrivalIndex (+0x1D8) is the number 0x0051AAF0 gave the guest at the entrance (0 for one not yet numbered) |
| TPW-EXE:0x004FC800 spot animation | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:12 | [BIN:TPW-EXE:0x004FC800 spot animation] the idle interludes copy the current state to mSavedState (+0x224), stamp mTimeOfLastSpotAnim (+0x208) with the game tick and enter state 8; the state-11 update calls it at 0x00500324 and 0x0050038B, so a queued guest in state 8 has the saved state 11 and keeps its place in the list |
| TPW-EXE:0x004FC8A0 thought pick | source/OpenTPW/World/Guests/GuestSimulation.cs:2556 | [BIN:TPW-EXE:0x004FC8A0 thought pick] the block's counts are read through the analyser's caches with age 4 (0x004C8BA0(4), then 0x004C8AE0(4)) |
| TPW-EXE:0x004FC8A0 thought pick | source/OpenTPW/World/Guests/GuestThoughts.cs:37 | [BIN:TPW-EXE:0x004FC8A0 thought pick] hunger (+0x1A8) and thirst (+0x1A4) bytes both above 90: 3; else a byte above 99.0 (0x00700734) of hunger 1, thirst 2, toilet (+0x1AC) 4, illness (+0x1B0) 14; else the analyser block's littered cells (0x004C8BA0) over its path, queue and type-9 cells (0x004C8AE0) above 0.2: 7; else happiness (+0x19C) above 99: 9, below 10.0 (0x0070073C): 11; else no call |
| TPW-EXE:0x004FC8A0 thoughts and environment | source/OpenTPW/World/Guests/GuestSimulation.cs:1194 | [BIN:TPW-EXE:0x004FC8A0 thoughts and environment] the environment sources, the thought pick 0x4FC8A0, the setters of 0x50BE80, the bubble's 12 turns and its cooldown by priority follow tp.exe, its voice (0x4FAA00, [0x803A24] event 0x85 for thought 4 when the thing id's low nibble is 0, 0x4FCA6F) is played as a presentation event (Voiced); the camera gate of 0x50BE80 (bits 0x16 of 0x790AB0: the ride and the walk camera) is the Level's (ThoughtBubblesAllowed); a show's row 7 comes off once, the one time its script writes VAR_STATUS 1 (0x4E0B90, Level.SyncEconomyObject); the original saves its environment table with the cells (0x4D7EA0) and an original save's grid is imported (ParkEnvironment.ImportSaved) |
| TPW-EXE:0x004FCAC0 head pick | source/OpenTPW/World/Guests/RideHeadRenderer.cs:161 | [BIN:TPW-EXE:0x004FCAC0 head pick] the head hang (0x0044B410 at 0x0044B471) asks 0x004FCAC0: with costume heads loaded (the count of category 3, 0x00541F60) the guest's own bank +0x20 (costume heads for a guest in costume); with none (Fantasy and Hallow) every rider, costume or not, gets a kid head drawn by its thing id (the world generator reseeded with it, 0x00541F70 with category 1), so there is no division by zero. the reseed and draw of the world generator on every head hang is RideScriptWorld.HeadHung (DET-013) |
| TPW-EXE:0x004FCAC0 head pick | source/OpenTPW/World/Level.cs:865 | [BIN:TPW-EXE:0x004FCAC0 head pick] a theme without costume heads (Fantasy, Hallow) reseeds the world generator with the rider and draws once on every head hung on a ride (RideScriptWorld.HeadHung) |
| TPW-EXE:0x004FCB10 choice loop | source/OpenTPW/World/Guests/GuestSimulation.cs:2607 | [BIN:TPW-EXE:0x004FCB10 choice loop] no price or money test in the choice: a candidate needs flag +0x32 bit 4, a back-of-queue cell, a score above 9 that beats the best (ties on an odd turn), the counts-test 0x004DD920 and a route; the price is tested when the guest is called forward (0x004FDE50) |
| TPW-EXE:0x004FCB10 choice route | source/OpenTPW/World/Guests/GuestSimulation.cs:2643 | [BIN:TPW-EXE:0x004FCB10 choice route] the route request 0x004FA530 to the ride's back-of-queue cell (0x004DE110) is made for every candidate that passes the counts-test and would win, and its walk stays set: the winner is the last candidate whose route was found, and a candidate whose route fails after it leaves the walk stuck (the original's SetDest failure state); the walk then runs all the way to the back cell (state 10, WALK-004) |
| TPW-EXE:0x004FCB10 thing list order | source/OpenTPW/World/Guests/GuestSimulation.cs:2670 | [BIN:TPW-EXE:0x004FCB10 thing list order] the choice walks the object list from its head (game +0x1DA746) through each thing's next word +0xC; 0x00519D80, called only by the object constructor 0x004DB090, pushes each new object at the head, and the save 0x00516C80 and the load 0x005179C0 keep the head word, so the newest object comes first; attraction ids are allocated in placement order |
| TPW-EXE:0x004FCB84 back cell test | source/OpenTPW/World/Guests/GuestSimulation.Decisions.cs:22 | [BIN:TPW-EXE:0x004FCB84 back cell test] the choice skips a ride whose back-of-queue cell (0x004DE110) is 0: a ride without a front (QUEUE-003, a zero front) is never scored, chosen or joined |
| TPW-EXE:0x004FCB84 scoring and choice | source/OpenTPW/World/Guests/GuestSimulation.cs:2592 | [BIN:TPW-EXE:0x004FCB84 scoring and choice] faithful scoring, the major choice and the minor decision admit every back the back-of-queue walk returns (a typed front on any cell, a real queue cell; 0x004DE130) and skip a ride whose back is 0; a bridge without a typed front (a host harness, a read-only visit, a Theme Park Inc world: tp.exe types the entrance cells in 0x528A70 and a save keeps them) is a host-model boundary and is scored on a real queue cell only; the extension policies opt out explicitly (ScoresDisconnectedQueues, docs/DISCONNECTED-QUEUE-SCORING.md) |
| TPW-EXE:0x004FD570 minor decision | source/OpenTPW/World/Guests/Decisions/OriginalGuestDecisions.cs:43 | [BIN:TPW-EXE:0x004FD570 minor decision] kept when the score beats the best (starting at 0) or ties it on an odd turn |
| TPW-EXE:0x004FD570 minor decision | source/OpenTPW/World/Guests/GuestSimulation.cs:2813 | [BIN:TPW-EXE:0x004FD570 minor decision] needs a target +0x1DC; d0 = squared distance from the guest's cell to the target's back cell (0x004DE110, 0 ends the call); every thing of type 3 on the thing list of the window's cells (the cell the thing stands on, +5/+7, newest first) that is not the target and passes 0x004DD920 is scored with 0x004FCC30, kept when the score beats the best (starting at 0) or ties it on an odd turn (game +0x1DA70C bit 0); with a best the routes 0x004D8B40 (the sum of the legs' |dx| + |dy| of the search, mask +0x188; −1 when none) from the TARGET's access cell +0x36 to the guest's cell and from the TARGET's access cell to the best's access cell must both exist and the second be shorter (the best is nearer to the target than the guest is); then event 0x17 ([EXT:guest-event-ring]), +0x1DE = the old target, +0x1DC = the best and the route request 0x004FA530 to the best's access cell +0x36 (its result is not read) |
| TPW-EXE:0x004FD570 walk on the cell lists | source/OpenTPW/World/Guests/GuestSimulation.cs:2814 | [BIN:TPW-EXE:0x004FD570 walk on the cell lists] a bridge without a placed object (the gates, the test rigs, the Theme Park Inc slice: no thing stands on a cell, no entrance symbol is typed on the map) is listed on its entrance cell and walks to it (QUEUE-010) |
| TPW-EXE:0x004FD970 guest meter +0x1B8 | source/OpenTPW/World/Guests/GuestSimulation.cs:1478 | [BIN:TPW-EXE:0x004FD970 guest meter +0x1B8] the energy meter is the original's unnamed float +0x1B8: nothing changes it while walking, resting, queueing or riding (the needs phase 0x00501650 does not touch it), so OpenTPW keeps only its use step (OnVisitorReleased) |
| TPW-EXE:0x004FD9EE use fatigue | source/OpenTPW/World/Guests/GuestSimulation.cs:3871 | [BIN:TPW-EXE:0x004FD9EE use fatigue] a completed use, won or lost, lowers the meter +0x1B8 by the type's UsageInfo.FatigueEffect (type +0xE8) through the clamped adder 0x004FB4F0, before the use routine; only the save reads the meter (0x004FC026) |
| TPW-EXE:0x004FDA0D lost sideshow | source/OpenTPW/World/Guests/GuestSimulation.cs:3873 | [BIN:TPW-EXE:0x004FDA0D lost sideshow] a lost play (win byte +0x1F1 of 0) skips the use routine: "Person lost this sideshow" (0x004FDB8D) costs the medium happiness step (byte 0x0078505C) and thinks 6 |
| TPW-EXE:0x004FDA0D sideshow win byte | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:371 | [BIN:TPW-EXE:0x004FDA0D sideshow win byte] a sideshow stores the outcome of its win draw in +0x1F1 at the state-14 entry (0x004E2670) and the end of the use reads it (a lost play, 0x004FDA0D): the saved byte |
| TPW-EXE:0x004FDA1B use satisfaction | source/OpenTPW/World/Guests/GuestSimulation.cs:3883 | [BIN:TPW-EXE:0x004FDA1B use satisfaction] after the use routine 0x004FE1E0 the change 3 × ((u8)trunc(happiness) - (u8)trunc(the happiness at joining the queue)) goes to the object's running average (0x004E1E00) |
| TPW-EXE:0x004FDA85 use satisfaction | source/OpenTPW/Economy/ParkEconomy.cs:3110 | [BIN:TPW-EXE:0x004FDA85 use satisfaction] after the use routine the change is 3 × ((u8)trunc(happiness at +0x19c) - (u8)trunc(the happiness kept when the guest joined the queue, +0x20c)); a lost sideshow skips it |
| TPW-EXE:0x004FDB66 sideshow thought | source/OpenTPW/World/Guests/GuestSimulation.cs:3953 | [BIN:TPW-EXE:0x004FDB66 sideshow thought] only a sideshow (thing kind 2) sets a thought at the end of a use: 5 after a win, 6 after a loss (0x004FDC25); rides and shops set none |
| TPW-EXE:0x004FDE50 price test | source/OpenTPW/World/Guests/QueueJoinRules.cs:25 | [BIN:TPW-EXE:0x004FDE50 price test] the willingness: needs as bytes h, t, u, i (happiness, thirst, hunger, illness); S = HappinessEffect·(100 − h)/100 + ThirstEffect·t/100 + HungerEffect·u/100 − VomitEffect·i/100 + 100 (signed divisions); × InitCostOfGoods·115/100, unsigned /100; plus, for a sideshow, cost of goods × win byte / 100; × (the park's per-type word + 100), unsigned /100; × (h + 100), unsigned /100. Price and money compare unsigned. Executed by the x86 oracle target tpw-exe-price-test |
| TPW-EXE:0x004FE046 price statistics | source/OpenTPW/World/Guests/QueueJoinRules.cs:56 | [BIN:TPW-EXE:0x004FE046 price statistics] kind +0x4AC 1: the switch on type +0x158 (jump table 0x004FE184) (1..4 record in that category), then +0x15C 1 records in 6 and 2 in 7; kind 2 records in 9; each value (W + 5) × 10 − price × 10 compared unsigned with 100 (from it 100), recorded through 0x004C74B0 on the park (0x00519510); executed by the x86 oracle target tpw-exe-price-test |
| TPW-EXE:0x004FE1A0 price taken | source/OpenTPW/Economy/EconomyObjectCatalog.cs:167 | [BIN:TPW-EXE:0x004FE1A0 price taken] only shops and sideshows carry a price per use in Theme Park World; Theme Park Inc's rides read theirs through RidePricePerUse |
| TPW-EXE:0x004FE1A0 price taken | source/OpenTPW/Economy/ParkEconomy.cs:2902 | [BIN:TPW-EXE:0x004FE1A0 price taken] the use routine's price step takes the price (+0x194) only when it is not 0: the takings 0x004E16B0 (bank money in, the |
| TPW-EXE:0x004FE1A0 price taken | source/OpenTPW/Economy/ParkEconomy.cs:2964 | [BIN:TPW-EXE:0x004FE1A0 price taken] a free play skips the takings (0x004E16B0) as a free sale does; the prize is still paid |
| TPW-EXE:0x004FE1E0 balloon | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:174 | [BIN:TPW-EXE:0x004FE1E0 balloon] the guest holds its balloon while mBalloonScript (+0x210) names the balloon model; a costume is sprite category 2 (person +0x24, mESPSprite) |
| TPW-EXE:0x004FE1E0 litter meter | source/OpenTPW/World/Guests/GuestSimulation.cs:3970 | [BIN:TPW-EXE:0x004FE1E0 litter meter] after the happiness effect the type's LitterEffect (+0x154) is added to the litter meter +0x1B4, clamped to 0..100 ("Litter gone up by %d, is now %d") |
| TPW-EXE:0x004FE1E0 relief visit | source/OpenTPW/World/Guests/GuestSimulation.cs:4008 | [BIN:TPW-EXE:0x004FE1E0 relief visit] for an object with the relief flag: the toilet wears by the guest's toilet meter as a byte (0x004E2440), the meter goes to 0, and an illness byte above 90 goes to 0 as well |
| TPW-EXE:0x004FE1E0 shop use | source/OpenTPW/Economy/ParkEconomy.cs:2915 | [BIN:TPW-EXE:0x004FE1E0 shop use] a shop (WhichUIType 1) books 0x004E1B40's value (ShopGoodsCost: the cost of goods scaled by the quality and special-ingredient bytes) through 0x004E1920: the bank debit, the object's cost rings and the challenge types 12 and 13 all take the same number |
| TPW-EXE:0x004FE1E0 use routine | source/OpenTPW/World/Guests/GuestSimulation.cs:3943 | [BIN:TPW-EXE:0x004FE1E0 use routine] followed in its order: the sideshow prize into the purse (0x004FE231), the outcome, the effects, the small-portion draws (0x004FE43C, 0x004FE48E), the appearance step and, for a won sideshow, the tail (0x004FE802..0x004FE8D9: happiness += trunc(medium step × log2(prize / price)) and one discarded world draw); the guest event records 8, 0x11 and 0x12 (0x0050C100) are read only by the debug dump 0x004FAA60 ([EXT:guest-event-ring]) |
| TPW-EXE:0x004FE21D sideshow prize | source/OpenTPW/World/Guests/SideshowWin.cs:9 | [BIN:TPW-EXE:0x004FE21D sideshow prize] type kind +0x4AC 2: the cost of goods (+0x188, 0x004E1A10) is booked through 0x004E1920 and added to the guest's purse (+0x1A0, mCash) at 0x004FE231, before the outcome 0x004FDCC0 |
| TPW-EXE:0x004FE231 sideshow prize | source/OpenTPW/World/Guests/GuestSimulation.cs:3948 | [BIN:TPW-EXE:0x004FE231 sideshow prize] a won play (the lost ones skip this routine) puts the prize, the sideshow's cost of goods, into the guest's purse before the outcome |
| TPW-EXE:0x004FE436 small portion | source/OpenTPW/World/Guests/GuestSimulation.cs:3973 | [BIN:TPW-EXE:0x004FE436 small portion] for a nonzero HungerEffect, then a nonzero ThirstEffect (0x004FE488): one world draw r each, and (r & 7) + amount + effect below 30 (unsigned) costs the small happiness step (byte 0x00785058) through the clamped adder 0x004FB4F0 |
| TPW-EXE:0x004FE4CF scaled happiness | source/OpenTPW/World/Guests/GuestSimulation.cs:3978 | [BIN:TPW-EXE:0x004FE4CF scaled happiness] then happiness += trunc(amount × HappinessEffect / 100), clamped to 0..100 |
| TPW-EXE:0x004FE527 special ingredient | source/OpenTPW/World/Guests/GuestSimulation.cs:3980 | [BIN:TPW-EXE:0x004FE527 special ingredient] the switch on type +0x158 (jump table 0x004FE8E8): Fat adds the amount to the toilet meter, Salt to thirst, Ice adds trunc(amount × ThirstEffect / 100) to thirst (each clamped to 0..100), Sugar raises the speed boost +0xC4 by trunc(6 × amount / 100) |
| TPW-EXE:0x004FE615 appearance effect | source/OpenTPW/World/Guests/GuestSimulation.cs:4040 | [BIN:TPW-EXE:0x004FE615 appearance effect] type +0x15C: 1 creates the balloon model (+0x210, sprite set 10) and sets +0x214 to the balloon life, guest event 12; 2 with +0x24 == 2 ("Customer returning a costume") sets +0x24 to 0 and the sprite bank +0x20 back, otherwise +0x24 = 2, the costume bank and guest event 11; another value logs "Balance file error" |
| TPW-EXE:0x004FE615 balloon life | source/OpenTPW/World/Guests/GuestSimulation.cs:4041 | [BIN:TPW-EXE:0x004FE615 balloon life] the balloon's life is BalloonLife of the shop's own quality of goods (+0x18C: 50 at build, 0x004DB389; 50 × the shop window's quality step, 0x004B0AA0, 0x004B0AE0), mirrored from ParkObjectState.QualityOfGoods |
| TPW-EXE:0x004FE6AA costume return | source/OpenTPW/World/Guests/GuestSimulation.cs:4059 | [BIN:TPW-EXE:0x004FE6AA costume return] the draw is written back to the bank +0x20 (0x004FE6B2): on return it is the kid set again, reduced by the loaded count; putting one on stores the costume bank, which the costume renderer reads (one set per theme) |
| TPW-EXE:0x004FE6FC balloon colour | source/OpenTPW/World/Guests/GuestAppearance.cs:55 | [BIN:TPW-EXE:0x004FE6FC balloon colour] the shop's gift reseeds (0x00516370) and calls 0x00541F70(10) then 0x00541FD0(10, set); the give-back after a ride does the same (0x00502053..0x00502079); the colour is the slot of the sprite (0x004758F0 +0xB4) |
| TPW-EXE:0x004FE6FC balloon variant draw | source/OpenTPW/World/Guests/GuestSimulation.cs:4042 | [BIN:TPW-EXE:0x004FE6FC balloon variant draw] a balloon reseeds the world generator with the guest's thing id (0x00516370) and draws the model's sprite set (0x00541F70 with category 10) and colour (0x00541FD0); returning a costume reseeds the same way (0x004FE6A1) and draws the guest's own bank (category 0), putting one on draws the costume bank (category 2, 0x004FE652) without a reseed |
| TPW-EXE:0x004FE737 balloon life | source/OpenTPW/World/Guests/GuestAppearance.cs:21 | [BIN:TPW-EXE:0x004FE737 balloon life] the shop's quality byte (0x004E2180) times the word at 0x0075D0F4 (255), divided by 100 as unsigned, then clamped to the words at 0x0075D0F0 (25) and 0x0075D0F4 |
| TPW-EXE:0x004FE7F5 relief speed term | source/OpenTPW/World/Guests/GuestSimulation.cs:4013 | [BIN:TPW-EXE:0x004FE7F5 relief speed term] the block ends by setting the toilet speed term +0xC2 to 25 (word 0x0075C7F2), until the guest's next needs phase rewrites it |
| TPW-EXE:0x004FE802 sideshow win tail | source/OpenTPW/World/Guests/GuestSimulation.cs:4016 | [BIN:TPW-EXE:0x004FE802 sideshow win tail] a won sideshow's routine ends with happiness += trunc(medium step × log2(prize / price)), clamped to 0..100 ("Sideshow won - happiness up"), and one world draw whose value nothing reads (0x004FE8D9 → 0x00516330) |
| TPW-EXE:0x004FE835 sideshow win happiness | source/OpenTPW/World/Guests/SideshowWin.cs:12 | [BIN:TPW-EXE:0x004FE835 sideshow win happiness] the tail (0x004FE802..0x004FE8D9) divides the cost of goods by the price (+0x194, 0x004E1A00; fidiv), takes fyl2x(ln 2, ratio) / fyl2x(ln 2, 2.0) (the base-2 logarithm), multiplies by the medium happiness step byte (0x0078505C) and truncates it with __ftol (0x0067A830: fistp qword, the low dword is the result), so a zero or infinite quotient (a free play, a prize of 0) stores the indefinite 0x8000000000000000 and answers 0 |
| TPW-EXE:0x004FEB10 held guest | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:128 | [BIN:TPW-EXE:0x004FEB10 held guest] a guest held by a guard (state 17) is off the map and stands nowhere: its saved cell only has to be on the map |
| TPW-EXE:0x004FEB10 held guest | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:376 | [BIN:TPW-EXE:0x004FEB10 held guest] the state setter's entry for 17 (0x005022DA) only runs on a change of state, and a load reads mState straight in: the guest stands as the hold left it, balloon gone (0x004FE950 clears |
| TPW-EXE:0x004FEB50 guard sets a guest down | source/OpenTPW/World/Guests/GuestSimulation.cs:1413 | [BIN:TPW-EXE:0x004FEB50 guard sets a guest down] the guest at the cell's centre (0x004FA930 with the bytes 0x80, 0x80), its model back (0x004D4140), cat_kids 128 at it, +0x188 = 1, a route (0x004FA530) to the one gate cell a world draw's bit 0 picks (0x004D86D0: 0 CrossingParkSideA, 1 CrossingParkSideB's X with side A's Y): state 18 ("<Humph>"); no route destroys it (0x0050B780) |
| TPW-EXE:0x004FEB50 set-down route | source/OpenTPW/World/Guests/GuestSimulation.cs:1430 | [BIN:TPW-EXE:0x004FEB50 set-down route] one route request (0x004FA530) to the one gate cell the draw's bit 0 picks (0x004D86D0); a route sets state 18, none destroys the guest |
| TPW-EXE:0x004FEBAB set-down walk mask | source/OpenTPW/World/Guests/GuestSimulation.cs:1428 | [BIN:TPW-EXE:0x004FEBAB set-down walk mask] guest +0x188 (walk +0xB4) = 1: the walk out may leave the paths (WalkEdges.Blocked) |
| TPW-EXE:0x004FEBC1 set-down side | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:201 | [BIN:TPW-EXE:0x004FEBC1 set-down side] one world draw (0x00516330); its bit 0 is the gate cell 0x004D86D0 returns, 0 side A, 1 side B |
| TPW-EXE:0x004FEC10 catchable | source/OpenTPW/World/Guests/GuestSimulation.cs:1382 | [BIN:TPW-EXE:0x004FEC10 catchable] states 6, 7, 8, 9 and 10 (deciding, wandering, the activity state, throwing litter away, going to a ride) |
| TPW-EXE:0x004FEC90 state 6 | source/OpenTPW/World/Guests/GuestDecision.cs:68 | [BIN:TPW-EXE:0x004FEC90 state 6] one draw at entry; cheering when (unsigned) turn − +0x208 > 100 and the happiness byte > 80 (activity 5); vomiting when the illness byte is above 80 and equal to 100 and R % 3 == 0 (activity 7, illness 0); the leaving gate on happiness byte 0, +0x1BC == 0 or the closed word (0x0051A280) takes the big happiness change (0x004FEA70 selector 2) and tries a route to the two gate cells (0x004FA530, in an order by R & 1, twice): a route sets state 18, none goes on; then R % 3: 0 → when +0x1FC + 30 < turn (unsigned) the choice 0x004FCB10, a target sets state 10, none starts activity 4, takes the small happiness change (0x004FEA70 selector 0) and stamps +0x1FC; 1 → 0x004F9490, success sets state 7, failure stamps +0x1FC; 2 → nothing |
| TPW-EXE:0x004FEC90 walk mask writers | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:222 | [BIN:TPW-EXE:0x004FEC90 walk mask writers] tp.exe writes only 0 and 1 to person +0x188: the set-down 0x004FEBAB, the leave search 0x004FEF04/0x004FEF13 (EAX is the failed route's 0), the |
| TPW-EXE:0x004FEDA8 litter step | source/OpenTPW/World/Guests/GuestDecision.cs:69 | [BIN:TPW-EXE:0x004FEDA8 litter step] when the litter meter byte (+0x1B4) is at least 90 (and the state 6, 7 or 10): the bin search 0x00500DC0 (radius 3) sets +0x1DC and state 9 and returns; without a bin a second draw drops litter 1 + R2 % 5 on the cell (0x004D93B0) and the meter goes to 0 |
| TPW-EXE:0x004FEE87 leaving gate route | source/OpenTPW/World/Guests/GuestSimulation.cs:2139 | [BIN:TPW-EXE:0x004FEE87 leaving gate route] 0x004D86D0(0) and (1) packed in two words, swapped when the draw is odd; two passes of two route requests 0x004FA530 (the cell's centre 0x80, 0x80), the walk mask +0x188 set to 1 after the first pass and back to 0 when no route was found; a route sets state 18 |
| TPW-EXE:0x004FEF20 show and performer turns | source/OpenTPW/World/Guests/GuestDecision.cs:85 | [BIN:TPW-EXE:0x004FEF20 show and performer turns] steps 5 and 6 come after the leaving gate and end the call when the guest turned (0x004FEFCA, 0x004FF0D2..0x004FF0F4) |
| TPW-EXE:0x004FEF25 show turn | source/OpenTPW/World/Guests/GuestSimulation.cs:2076 | [BIN:TPW-EXE:0x004FEF25 show turn] a found show with an offset sum (dx + dy, unsigned test) of 0 goes on to step 6, else the heading +0x1C takes the angle of the offset (0x6E7074) and the call ends |
| TPW-EXE:0x004FEFCA | source/OpenTPW.Tests/WanderTests.cs:232 | [BIN:TPW-EXE:0x004FEFCA] steps 5 and 6 end the call of a guest that turned |
| TPW-EXE:0x004FEFF4 performer turn | source/OpenTPW/World/Guests/GuestSimulation.cs:2077 | [BIN:TPW-EXE:0x004FEFF4 performer turn] with a thing of type 6 within one cell (0x4C8EB0, the cells x ± 1, y ± 1) the nearest member of the staff list (0x500F00, world +0x1DA740, next +0x210, no distance cap) must be in state 14 (0x4FF04A); the same offset sum test, event 0xE recorded for the debug dump, the same heading and end |
| TPW-EXE:0x004FF0D2 steps 5 and 6 | source/OpenTPW/World/Guests/GuestDecision.cs:71 | [BIN:TPW-EXE:0x004FF0D2 steps 5 and 6] the show turn and the performer turn run through the caller's watch callback (GuestSimulation.TurnToShowOrPerformer): a guest that turned writes the heading +0x1C and ends its state-6 call before the pranks and the decision (0x4FF0D2..0x4FF0F4), so they are not presentation only; the path-finder mode word 0x7CF3C0 is the search's copy of the walk mask (read; the leaving gate's two passes are ported, GuestSimulation.RouteToGate) |
| TPW-EXE:0x004FF0F5 pranks | source/OpenTPW/World/Guests/GuestDecision.cs:70 | [BIN:TPW-EXE:0x004FF0F5 pranks] with the happiness byte below 15 and the prankery byte +0x1C0 above R % 101: 100 drops a stinkbomb (litter 8) and plays sound 0xCF when R % 100 is below StinkbombLikelihood (0x007850E0), 101 drops litter R % 5 + 1, 102 bursts the balloon of the first other guest on its cell that holds one (0x004FE950); a prank then records event 15, sends the prank message (type 14 on the bus 0x00788D3C: the advisor and the guards) and adds 1.0 to happiness; the step never returns |
| TPW-EXE:0x004FF1CD balloon prank | source/OpenTPW/World/Guests/GuestSimulation.cs:2316 | [BIN:TPW-EXE:0x004FF1CD balloon prank] the first other guest (thing type 1) on the prankster's cell list whose +0x210 is set has its balloon burst (0x004FE950); without one there is no prank |
| TPW-EXE:0x004FF289 stinkbomb sound | source/OpenTPW/Audio/GameAudio.cs:183 | [BIN:TPW-EXE:0x004FF289 stinkbomb sound] after the stinkbomb's litter (0x004D93B0, type 8) the prank plays bank 0x00803A24 (cat_kids, loaded at 0x0051EBFE) event 0xCF through 0x004FAA00, which places it at the thing's model position (+0xC) |
| TPW-EXE:0x004FF2EA prank message kind | source/OpenTPW/World/AdvisorController.cs:76 | [BIN:TPW-EXE:0x004FF2EA prank message kind] the message (vtable 0x007007A8, type 0xE) takes the prankster's id (0x0050B350) at +8 and, at +0xC, the word at esp+0x1C after the id was stored there (0x004FF2D6), divided by 3 (0x004FF2F8): the remainder; the bus 0x0040FB10 delivers it at once to the advisor and the staff HQ |
| TPW-EXE:0x004FF520 state 1 | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:159 | [BIN:TPW-EXE:0x004FF520 state 1] 0x0051A760 nonzero: R & 1 → 0x004D8610 (the booth cell), the x byte R, the y byte R, 0x004FA5F0 (its result is not read), SetState(2) |
| TPW-EXE:0x004FF5B0 booth opinion | source/OpenTPW/World/Guests/GuestSimulation.cs:1734 | [BIN:TPW-EXE:0x004FF5B0 booth opinion] every verdict but the fair one of a park value and a fee both at or below the minimum records the opinion byte of its band in the park's perception ring 0, which the advisor's ticket price lines read |
| TPW-EXE:0x004FF5B0 booth verdict | source/OpenTPW/World/Guests/Decisions/OriginalGuestDecisions.cs:14 | [BIN:TPW-EXE:0x004FF5B0 booth verdict] GP uses the one draw the host took first (BoothVerdict.Decide) |
| TPW-EXE:0x004FF62E booth opinion | source/OpenTPW/World/Guests/BoothVerdict.cs:64 | [BIN:TPW-EXE:0x004FF62E booth opinion] GP above the base falls through to the bands; otherwise a fee at or below the base returns 3 at 0x004FF71A without a record |
| TPW-EXE:0x004FF67E booth opinion | source/OpenTPW/World/Guests/BoothVerdict.cs:54 | [BIN:TPW-EXE:0x004FF67E booth opinion] the four exits record the byte of 0x007850CC (verdict 0), 0x007850D0 (1), 0x007850D4 (2) and 0x007850D8 (3) in category 0 of the park (0x00519510, 0x004C74B0) before returning |
| TPW-EXE:0x004FF730 booth walk speed | source/OpenTPW/World/Guests/GuestSimulation.cs:1795 | [BIN:TPW-EXE:0x004FF730 booth walk speed] state 2 sets +0xC2 on every update, before its walk step: with a vehicle other than the bus at work (0x0051AAD0), or with none or the bus when the vehicle's status (0x0051A690) is not 3, it is the word 0x0075C7F2 (25) for a thing id with its low two bits 0 (0x004FF776) and 0x0075C7F0 (0) for the others; the bus at status 3 gives 0x0075C7F4 (50) (0x004FF753..0x004FF765) |
| TPW-EXE:0x004FF730 state 2 | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:180 | [BIN:TPW-EXE:0x004FF730 state 2] the purpose speed +0xC2 (BoothWalkSpeedTerm), the walk step 0x004FA2A0: 0 is SetState(4) with the park open (0x0051A280 = 0), SetState(3) with it closed; 2 logs "Big problem" and stays |
| TPW-EXE:0x004FF730 state 2 arrival | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:204 | [BIN:TPW-EXE:0x004FF730 state 2 arrival] the walk's result 0 with the park open is SetState(4) (0x00501DB0 case 4: the animation 3 and, on the booth cell 0x004D8610(0), the facing 0x200); the verdict is the next update's |
| TPW-EXE:0x004FF7F0 state 3 | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:221 | [BIN:TPW-EXE:0x004FF7F0 state 3] 0x0051A280 or 0x0051A290 != 1: +0x200 nonzero counts down and returns, else +0x188 = 1, R & 1 → 0x004D86D0, 0x004FA530, SetState(0x12), +0x1BC = 0; paid (+0x204): the cell's list head (cell +0x20 − cell record base 0x44 × id) must be this thing, else R & 1 → 0x004D8690, 0x004FA530, SetState(5); unpaid: the cell of 0x004D8610(0), else of (1), else R & 1 picks the booth, 0x004FA530, +0x200 = 0, SetState(2) |
| TPW-EXE:0x004FF9D0 booth first verdict | source/OpenTPW/World/Guests/GuestSimulation.cs:1323 | [BIN:TPW-EXE:0x004FF9D0 booth first verdict] the walk's arrival makes state 4 (0x004FF730) and the booth's update, the first verdict (the wait +0x200 is 0), runs in the guest's next turn |
| TPW-EXE:0x004FF9D0 booth wait | source/OpenTPW/World/Guests/BoothVerdict.cs:29 | [BIN:TPW-EXE:0x004FF9D0 booth wait] +0x200 = R % 50 + 50 at 0x004FFA77 and return; a nonzero counter is decremented and the update returns (0x004FFB01), so the verdict 0x004FF5B0 runs on the update after the one that reaches 0 |
| TPW-EXE:0x004FF9D0 booth wait | source/OpenTPW/World/Guests/GuestSimulation.cs:1316 | [BIN:TPW-EXE:0x004FF9D0 booth wait] an expensive verdict stores N in +0x200, every later state-4 update counts it down by one without a verdict and the update after runs the verdict again: one count per executed park turn |
| TPW-EXE:0x004FF9D0 booth without closure test | source/OpenTPW/World/Guests/GuestSimulation.cs:1724 | [BIN:TPW-EXE:0x004FF9D0 booth without closure test] the booth reads neither mParkClosed nor the bank's state: a guest that reached it while the park was open is weighed and pays even once the park has closed; the paid guest's state 3 (0x004FF7F0) then sends it home while the park is closed |
| TPW-EXE:0x004FF9D0 home from the booth | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:292 | [BIN:TPW-EXE:0x004FF9D0 home from the booth] +0x188 = 1, R & 1 → 0x004D86D0, 0x004FA530 (its result is not read), SetState(0x12) and +0x1BC = 0; the happiness-0 branch of the expensive verdict (0x004FFA9D) takes SetState(0x12) and +0x1BC = 0 alone, without a mask or a route |
| TPW-EXE:0x004FFA9D expensive verdict, happiness 0 | source/OpenTPW/World/Guests/GuestSimulation.cs:1754 | [BIN:TPW-EXE:0x004FFA9D expensive verdict, happiness 0] the case falls to SetState(0x12) and the exit counter 0 with no mask and no route: the guest's finished walk makes state 19 where it stands |
| TPW-EXE:0x004FFAD5 booth fee | source/OpenTPW/World/Guests/GuestSimulation.cs:1768 | [BIN:TPW-EXE:0x004FFAD5 booth fee] the paying verdict books the fee with the bank deposit 0x004D0600 (ECX = the bank, 0x005195D0) and sets the guest's +0x204 and state 3; the guest's purse +0x1A0 is neither tested nor debited |
| TPW-EXE:0x004FFAD5 paid | source/OpenTPW/World/Guests/GuestSimulation.cs:1776 | [BIN:TPW-EXE:0x004FFAD5 paid] +0x204 = 1 and SetState(3): the wait +0x200 is a draw of 200 to 349 (0x00501E6E); state 3 (0x004FF7F0) sends a paid guest home while the park is closed or the gate's script variable 1 (0x0051A290, VAR_STATUS) is not 1, once the wait has run out, and lets it walk on to the entrance as the head of its cell's list otherwise |
| TPW-EXE:0x004FFB20 state 5 | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:260 | [BIN:TPW-EXE:0x004FFB20 state 5] 0x0051A280 or 0x0051A290 != 1: R & 1 → 0x004D8610, 0x004FA530, SetState(2); else the walk step 0x004FA2A0: 0 is +0x1D8 = 0x0051AAF0 (the park's visitor count + 1) and SetState(6), 2 logs "Big problem" and stays |
| TPW-EXE:0x004FFBC0 arrival at the back cell | source/OpenTPW/World/Guests/GuestSimulation.cs:2722 | [BIN:TPW-EXE:0x004FFBC0 arrival at the back cell] the walk is one request to the back-of-queue cell (0x004FCB10); on arrival the guest's own cell must be that back cell (0x004DE110), else "The back of the queue has moved while I was walking": the back cell is asked for again (0x004DE110, 0x004FA530) and a route keeps the guest walking in state 10, none (a back cell of 0, or a refused request) sends it to state 6 with event 0x16 ([EXT:guest-event-ring]) and no thought, leaving the target set (0x004FFE4A..0x004FFE5C writes no +0x1DC) |
| TPW-EXE:0x004FFBC0 state-10 join | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1213 | [BIN:TPW-EXE:0x004FFBC0 state-10 join] the join reads neither the ride's state (+0x19C) nor its open word (+0x68): after the walk step 0x004FA2A0 it tests the guest's cell against the back cell (0x004DE110), the room 0x004DDA20, the excitement gate 0x004FD4E0 / 0x004E0860(1) and the limit 0x004DDB60, then appends (0x004DDB90); a guest joining a closed or broken ride is sent away when it reaches the head (HostStep: 0x004E1220 → 0x004E0450, states 1, 2 and 4 through 0x004E0E00). Only the choice's counts-test 0x004DD920 refuses them. A ride whose script does not run takes nobody (OpenTPW's teardown), nor does a coaster or track that refuses guests (COAST-024) |
| TPW-EXE:0x004FFBC0 stuck on the way | source/OpenTPW/World/Guests/GuestSimulation.cs:2707 | [BIN:TPW-EXE:0x004FFBC0 stuck on the way] the walk step answers 2: "The person has become stuck on the way", event 3, the big happiness change (0x004FEA70(2)), the target +0x1DC cleared and state 6 |
| TPW-EXE:0x004FFBC0 walk to the queue | source/OpenTPW/World/Guests/GuestSimulation.cs:2715 | [BIN:TPW-EXE:0x004FFBC0 walk to the queue] state 10 reads neither the ride's state nor its open word: a guest keeps walking to a ride closed or broken meanwhile, joins, and the ride sends it away from the queue head (RideVisitorBridge.HostStep) |
| TPW-EXE:0x004FFC4F full queue room | source/OpenTPW/World/Guests/GuestSimulation.cs:2761 | [BIN:TPW-EXE:0x004FFC4F full queue room] the room test 0x004DDA20 (count below 4 × cells) fails: event 0x15 and state 6 only (0x004FFE0A → 0x004FFE54), no thought, no happiness change and no history push |
| TPW-EXE:0x004FFC4F full-room target | source/OpenTPW/World/Guests/GuestSimulation.cs:2770 | [BIN:TPW-EXE:0x004FFC4F full-room target] the jump past 0x004FFEDA retains +0x1DC; the next major choice clears it at 0x004FCB21. Object removal (0x004FB360) still matches it and applies the small happiness step. |
| TPW-EXE:0x004FFCD7 join refusal | source/OpenTPW/World/Guests/GuestSimulation.cs:2760 | [BIN:TPW-EXE:0x004FFCD7 join refusal] too exciting: 15, not exciting enough: 12, a queue too long: 16 (0x004FFD7E); none of the join's refusals changes happiness (0x004FFBC0 calls 0x004FEA70 only when the walk is stuck or the park closed) |
| TPW-EXE:0x004FFCF6 excitement refusal | source/OpenTPW/World/Guests/GuestSimulation.cs:2773 | [BIN:TPW-EXE:0x004FFCF6 excitement refusal] the refusal clears the target and the decision stamp +0x1FC, so the next major decision is not held back 30 turns |
| TPW-EXE:0x004FFE16 back of the queue has moved | source/OpenTPW.Tests/GuestDestinationTests.cs:267 | [BIN:TPW-EXE:0x004FFE16 back of the queue has moved] the back cell is 0: event 0x16, state 6, no +0x1DC write |
| TPW-EXE:0x004FFEB9 park closed underneath me | source/OpenTPW/World/Guests/GuestSimulation.cs:2786 | [BIN:TPW-EXE:0x004FFEB9 park closed underneath me] after the walk step 0x004FA2A0 returns "still walking" (neither 0 nor 2) the handler reads the closed word (0x0051A280, mParkClosed): closed gives the log line, 0x004FEA70(2) (PeepInfo.BigHappinessChange), target +0x1DC = 0 and SetState(6) (0x00501DB0); open counts a byte at +0x2C and calls 0x004FD570 every twelfth update |
| TPW-EXE:0x004FFEF2 periodic call | source/OpenTPW/World/Guests/GuestSimulation.cs:2798 | [BIN:TPW-EXE:0x004FFEF2 periodic call] the byte +0x2C counts up on every update that finds the guest still walking in an open park; past 11 it is reset to 0 and 0x004FD570 runs, so every twelfth update |
| TPW-EXE:0x004FFF20 bin trigger | source/OpenTPW/World/Level.Objects.cs:463 | [BIN:TPW-EXE:0x004FFF20 bin trigger] on arrival with a bin, state 9 looks up the bin thing's script (+0x24) through 0x0055A070 and sets its variable 0 to 1 through 0x0055A0B0 ("RSSE: Bad variable reference" when out of range) |
| TPW-EXE:0x004FFF20 state 9 | source/OpenTPW/World/Guests/GuestSimulation.cs:2286 | [BIN:TPW-EXE:0x004FFF20 state 9] the walk step 0x004FA2A0: 1 keeps walking; 0 with a bin triggers the bin's script (Level.TriggerBin); 2, or a bin id of 0, drops 1 + rand % 5 on the current cell (0x004D93B0); then the meter +0x1B4 = 0 and state 6 |
| TPW-EXE:0x004FFF20 state 9 end | source/OpenTPW.Tests/LitterTests.cs:248 | [BIN:TPW-EXE:0x004FFF20 state 9 end] the walk ends with the meter 0 and state 6 and leaves +0x1DC: the bin is the guest's target until its next major choice |
| TPW-EXE:0x004FFF20 state 9 end | source/OpenTPW/World/Guests/GuestSimulation.cs:2303 | [BIN:TPW-EXE:0x004FFF20 state 9 end] the walk's end writes the litter meter 0 and SetState(6), never +0x1DC: the bin stays the guest's target until the next major choice (0x004FCB21), a hold (0x005022E0) or the leaving state (0x0050231C), and the removal message (0x004FB360) hits a guest that still holds it |
| TPW-EXE:0x004FFFF0 called forward | source/OpenTPW/World/Guests/GuestSimulation.cs:3338 | [BIN:TPW-EXE:0x004FFFF0 called forward] the call (flag +0x1F8, the ride's called guest 0x004E0AA0) asks the generic route 0x004FA5F0 to the stand point 0x004DEDF0(0) (the entry cell +0x36 of the ride); a route makes state 13 ("being loaded to ride"), none logs "the player has removed the path from under me and I can no longer get into object" and releases the called slot (0x004E0AC0), unlinks the guest (0x004DDD20) and dismisses it (0x005012F0) through the exit 0x005004AA, with no thought |
| TPW-EXE:0x004FFFF0 needs branch returns | source/OpenTPW/World/Guests/GuestSimulation.cs:3426 | [BIN:TPW-EXE:0x004FFFF0 needs branch returns] beyond the window every path of the needs branch returns (0x00500311..0x005003A2), so the facing change below runs only within 30 turns of the last interlude |
| TPW-EXE:0x004FFFF0 queue boredom | source/OpenTPW/World/Guests/Decisions/OriginalGuestDecisions.cs:58 | [BIN:TPW-EXE:0x004FFFF0 queue boredom] the needs branch returns before the boredom test, so no time limit is reachable (QueueTests); the hook is the seam of the smarter-guests patience rule |
| TPW-EXE:0x004FFFF0 queue facing change | source/OpenTPW/World/Guests/GuestSimulation.cs:3441 | [BIN:TPW-EXE:0x004FFFF0 queue facing change] one draw (0x00516330) mod 10 must be 0 (else return), then a second draw gives heading +0x1C += (r mod 800) − 400, wrapped by 0x800; OpenTPW draws both from the world generator and turns the heading vector by the same angle |
| TPW-EXE:0x004FFFF0 refused stand-point route | source/OpenTPW/World/Guests/GuestSimulation.cs:3339 | [BIN:TPW-EXE:0x004FFFF0 refused stand-point route] a refused search is the original's own failure ("the player has removed the path from under me and I can no longer get into object"): the called slot is released, the guest unlinked and dismissed with no thought (DismissFromQueue), as a refused queue walk is; a park resumed from an old OpenTPW save has the entrance's link byte repaired at load ([EXT:legacy-save-access-links], ObjectAccessCells.RepairMissingLinks) |
| TPW-EXE:0x004a0810 last window memory | source/OpenTPW/Hud/ParkHud.InfoWindowMemory.cs:15 | [BIN:TPW-EXE:0x004a0810 last window memory] the builders of the park information (0x4a52a0, at 0x4a52cc), All Staff (0x496620, 0x49663e), attractions (0x495aa0, 0x495ab9) and visitors windows (0x493530, 0x493539) call |
| TPW-EXE:0x004a0c18 HUD balance refresh | source/OpenTPW/Hud/ParkHud.cs:408 | [BIN:TPW-EXE:0x004a0c18 HUD balance refresh] 0x4a0ab0 sets i_dollar (control 0x32) to frame 1 for a negative balance and 0 otherwise, beside the balance's absolute value |
| TPW-EXE:0x004a1017 HUD key counter | source/OpenTPW/Hud/HudStubs.cs:93 | [BIN:TPW-EXE:0x004a1017 HUD key counter] the HUD's message 0x1e handler (0x4a0fb0) skips the key row in game type 2 (Instant Action) and otherwise shows the player's |
| TPW-EXE:0x004a1045 HUD counter rows | source/OpenTPW/Hud/ParkHud.cs:1920 | [BIN:TPW-EXE:0x004a1045 HUD counter rows] the HUD's message 0x1e handler 0x4a0fb0 shows a counter's row (0x34/0x36 keys, 0x35/0x37 tickets) only while its count is not zero |
| TPW-EXE:0x004a10a9 HUD counter text | source/OpenTPW/Hud/ParkHud.cs:343 | [BIN:TPW-EXE:0x004a10a9 HUD counter text] both counters format their count with the UTF-16 "%d x" at 0x752ef8 (two spaces, a letter x) |
| TPW-EXE:0x004a2590 arm panel | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:314 | [BIN:TPW-EXE:0x004a2590 arm panel] the panel goes into the HUD arm (control 0x21: message 0xb, then 10), where the info arm and the message panel go, and 0x485b40 closes the open window |
| TPW-EXE:0x004a25b1 arm busy | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:297 | [BIN:TPW-EXE:0x004a25b1 arm busy] the call returns at once when slot 2 is taken (0x65e705(arm, 2)); message 0xb (0x4a1793) closes slot 1's panel when there is one, and the 0xa handler (0x4a1535) puts the new panel in slot 2 once the arm's state is not 0 |
| TPW-EXE:0x004a6d51 mode tick | source/OpenTPW/FrontEnd/FrontEndMenu.cs:212 | [BIN:TPW-EXE:0x004a6d51 mode tick] the tick (control −1) confirms: the player is made with Instant Action only when toggle 0x70d is selected, otherwise Full Simulation, also with no toggle selected (0x4a6b80) |
| TPW-EXE:0x004a6dc1 dialog Enter | source/OpenTPW/FrontEnd/FrontEndMenu.cs:238 | [BIN:TPW-EXE:0x004a6dc1 dialog Enter] Enter in the dialog's name field posts 0x802 (the edit control's key handler 0x667fee: 0x0d → 0x802, Escape → 0x804), |
| TPW-EXE:0x004a6e09 mode toggles | source/OpenTPW/FrontEnd/FrontEndMenu.cs:196 | [BIN:TPW-EXE:0x004a6e09 mode toggles] a toggle latches in its group (message 0x101) and only shows or hides e_joy: shown while the Instant Action toggle 0x70d is the selected one |
| TPW-EXE:0x004a70d1 mode radio group | source/OpenTPW/FrontEnd/FrontEndMenu.cs:189 | [BIN:TPW-EXE:0x004a70d1 mode radio group] the build selects no toggle of the group 0x70c (0x66a295 with 0x7a17, which names no child); e_joy (0x70b) is drawn as the table has it |
| TPW-EXE:0x004a95b0 fluid rate | source/OpenTPW/Hud/ResearchFluid.cs:25 | [BIN:TPW-EXE:0x004a95b0 fluid rate] a zero rate turns a running fluid (state 1 or 3) into state 2 at frame 0x20 (position 0x200000), the drain; |
| TPW-EXE:0x004a9fc0 fluid tick | source/OpenTPW/Hud/ResearchFluid.cs:64 | [BIN:TPW-EXE:0x004a9fc0 fluid tick] state 0 does nothing; otherwise the position advances by twice the speed and frame = position >> 16: |
| TPW-EXE:0x004aa74c research panel init | source/OpenTPW/Hud/ResearchFluid.cs:16 | [BIN:TPW-EXE:0x004aa74c research panel init] the window build 0x4aa480 sets slot 0 to the raw 0x30, slot 3 (state) to 0 and the fluid child's frame to 0x30 |
| TPW-EXE:0x004b3490 locator strip text | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:499 | [BIN:TPW-EXE:0x004b3490 locator strip text] staff show their name, visitors format 0x1c8 with their number (+0x1d8), 0x1c9 when it is 0; tp.exe's UITEXT ids above 237 are OpenTPW's + 1 |
| TPW-EXE:0x004b35dd visitor thought icon | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:531 | [BIN:TPW-EXE:0x004b35dd visitor thought icon] the icon 0x14a takes the visitor's thought less 1, and 0x29a (no frame) without one (medium confidence: the word read is the visitor's +0x30) |
| TPW-EXE:0x004b3640 patrol area highlight | source/OpenTPW.Tests/PatrolAreaFlowTests.cs:119 | [BIN:TPW-EXE:0x005234d0 patrol tool hover] four LayLine passes; [BIN:TPW-EXE:0x004b3640 patrol area highlight] the same four for the locator |
| TPW-EXE:0x004b3640 patrol area highlight | source/OpenTPW/Hud/ParkHud.cs:1884 | [BIN:TPW-EXE:0x004b3640 patrol area highlight] on every message 0x1e of the locator panel (0x4b3790) while its camera flag 0x1000 is set and the located thing (0x7cc308) is staff (types 4 to 8) with an own area (0x506eb0), four LayLine passes of the op 0x136 mark its rectangle; the validator's flag 0x816D50 is shared with the other tools' hover branches, so the original's cells can turn red while another tool's ghost is refused; OpenTPW keeps them blue (the flag is 0 while no tool's hover sets it) |
| TPW-EXE:0x004b3640 patrol area highlight | source/OpenTPW/World/Staff/PatrolAreaTool.cs:103 | [BIN:TPW-EXE:0x004b3640 patrol area highlight] the staff locator draws the located staff member's area with four LayLine passes of the op 0x136: (x0 + 1, y0) to (x1 - 1, y0), (x1, y0) to (x1, y1), (x0 + 1, y1) to (x1 - 1, y1), (x0, y1) to (x0, y0); 0x00506E70 copies the two corner words, which 0x00524960 stored ordered (the smaller x and y first); the one-column case keeps x0 and x1; 0x005234d0 lays the same four lines between the first click and the hovered cell |
| TPW-EXE:0x004b3656 locator follow | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:393 | [BIN:TPW-EXE:0x004b3656 locator follow] on every message 0x1e while flag 0x1000 is set the panel centres the camera on the actor (0x486860) |
| TPW-EXE:0x004b3790 locator radios | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:119 | [BIN:TPW-EXE:0x004b3790 locator radios] no mode ignores the press; from no role the role is set and its next actor taken; else a different role drops |
| TPW-EXE:0x004b37d5 locator close message | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:81 | [BIN:TPW-EXE:0x004b37d5 locator close message] 0x7cc308 = 0, the strip window hidden and unlinked (0x65d9dd, 0x65f538), 0x7cc2f0 = 0 and the follow flag 0x1000 of 0x790ab0 cleared; the role word 0x7cc30c is not touched |
| TPW-EXE:0x004b3812 locator close help | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:306 | [BIN:TPW-EXE:0x004b3812 locator close help] the close message withdraws help 0x11f and then 0xc6 (0x486b40) |
| TPW-EXE:0x004b3bd1 locator group | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:236 | [BIN:TPW-EXE:0x004b3bd1 locator group] a radio press chooses that radio and posts 0x101 to the panel, also when it is already chosen |
| TPW-EXE:0x004b3e1d locator strip | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:244 | [BIN:TPW-EXE:0x004b3e1d locator strip] the name box 0x147 (font slot 11, white), the staff state icon 0x148 (staffstat) and the visitor thought icon 0x14a |
| TPW-EXE:0x004b3f60 locator open | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:59 | [BIN:TPW-EXE:0x004b3f60 locator open] an actor sets the mode from its type, chooses its radio, shows the strip and sets the follow flag; without one the actor (0x7cc308) |
| TPW-EXE:0x004b3f90 mode before the arm | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:62 | [BIN:TPW-EXE:0x004b3f90 mode before the arm] 0x4b3f60 sets the mode word (0x7cc2f0) first and then calls 0x4a2590, whose message 0xb makes the arm send the carried panel 0x1001d8 (0x4a17dc): the panel procedure zeroes the mode word, the actor, the strip and the follow flag (0x4b37e1..0x4b3817), and 0x4b3f60 sets the rest afterwards but never the mode word again |
| TPW-EXE:0x004b3f90 mode before the arm | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:284 | [BIN:TPW-EXE:0x004b3f90 mode before the arm] the mode word is set before 0x4a2590 runs, so a panel the arm carries zeroes it with its close message and the new panel's radios stay dead |
| TPW-EXE:0x004b3fe5 locator roles | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:36 | [BIN:TPW-EXE:0x004b3fe5 locator roles] thing type 5 (handyman) → role 1, 4 (mechanic) → 2, 7 (guard) → 3, 6 (entertainer) → 4, 8 (researcher) → 5, 1 (visitor) → 6 |
| TPW-EXE:0x004b4099 locator help | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:287 | [BIN:TPW-EXE:0x004b4099 locator help] 0x4b3f60 ends by posting help 0x11f (287) through 0x486b00 when the chosen role is 6 (a visitor) and 0xc6 (198) for every other role or none, whether or not an actor was given |
| TPW-EXE:0x004b4099 locator icons | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:430 | [BIN:TPW-EXE:0x004b4099 locator icons] the staff state icon shows outside the visitor role, the thought icon in it |
| TPW-EXE:0x004b4280 visitor locator open | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:101 | [BIN:TPW-EXE:0x004b4280 visitor locator open] it calls 0x4a2590 first and only then sets the role to 6 (0x7cc30c), the mode word to 2 (0x7cc2f0), clears the radio group and the actor: after a carried panel's close message the strip is hidden and the follow flag clear, |
| TPW-EXE:0x004b4449 visitor locator help | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:277 | [BIN:TPW-EXE:0x004b4449 visitor locator help] 0x4b4280 posts help 0x11f (287) after it set the visitor role |
| TPW-EXE:0x004b5330 employee portrait | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:239 | [BIN:TPW-EXE:0x004b5330 employee portrait] the refresh's vtable +0x18 takes the portrait control's rectangle (0x65d4f6) and calls 0x486530 with the selected staff, the control's depth word (+0xE0) + 1 and scale 8.0: the window's one clone is replaced, and a member without a sprite (+0x0C is 0, a resting member) leaves none |
| TPW-EXE:0x004b53c0 stats frame | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:272 | [BIN:TPW-EXE:0x004b53c0 stats frame] the labels take UITEXT 64 (0x51a), 65 (0x51d), 67 (0x519), 69 (0x518), 68 (0x51c) and 66 (0x516); the value 0x51b is text, |
| TPW-EXE:0x004b58b0 stats refresh | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:380 | [BIN:TPW-EXE:0x004b58b0 stats refresh] 0x51b: "%d days" (UITEXT 0x1bb) of 0x505b70, the game clock (0x4f8690 on [0x80239c] + 0x2a0) minus the time the |
| TPW-EXE:0x004b5a60 employee window init | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:48 | [BIN:TPW-EXE:0x004b5a60 employee window init] the staff count of mask 1 (every staff thing, 0x48ca00) below 2 hides the arrows 0x50d and 0x50f; the title 0x520 takes the name |
| TPW-EXE:0x004b5ab0 employee refresh | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:71 | [BIN:TPW-EXE:0x004b5ab0 employee refresh] the refresh (vtable +4, run as the window is built by 0x48cea0 and by the cycle buttons) asks 0x506eb0 whether the selected staff has an own area (corner words +0x20a/+0x20c other than 1 and 0x4000) and then posts help 0xd4 (212) through 0x486b00 (0x4b5b03); the window's close handler withdraws it next to 0xc0 (0x4b5d05) |
| TPW-EXE:0x004b5b50 patrol toggle | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:151 | [BIN:TPW-EXE:0x004b5b50 patrol toggle] the tool set (0x46c580(0x36)) and the window closed (vtable +0x2c), it posts help 0xc1 (193) through 0x486b00; the interface mode change withdraws it (0x52f200) |
| TPW-EXE:0x004b5cb0 employee buttons | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:87 | [BIN:TPW-EXE:0x004b5cb0 employee buttons] 0x50f (b_ardown, help 91) runs 0x48caf0 → 0x483740 and 0x50d (b_arup, help 92) 0x48cbe0 → 0x483770 with mask 1 |
| TPW-EXE:0x004b5d4d pick-up enable | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:104 | [BIN:TPW-EXE:0x004b5d4d pick-up enable] message 0x1e enables control 0x50e when 0x505bd0 accepts the selected staff, and disables it otherwise |
| TPW-EXE:0x004b5d4d window update | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:333 | [BIN:TPW-EXE:0x004b5d4d window update] message 0x1E, the HUD's pass of every frame (0x54FA03 -> 0x4813b0 -> 0x658f6c), enables the pick-up button and then refreshes the portrait's clone (0x486610) |
| TPW-EXE:0x004b5d97 stats refresh | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:336 | [BIN:TPW-EXE:0x004b5d97 stats refresh] message 0x10 of timer 0x80080 refreshes the stats frame (0x4b58b0) |
| TPW-EXE:0x004b5dd9 all staff | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:215 | [BIN:TPW-EXE:0x004b5dd9 all staff] control 0x50b (b_allstaff, help 94) opens the All Staff window (0x496620) on the member's role (0x506490) with the member as the thing to select ([0x7c2658]) |
| TPW-EXE:0x004b5e34 patrol toggle | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:128 | [BIN:TPW-EXE:0x004b5e34 patrol toggle] control 0x510 (b_route, attribute 0x11: a toggle, help 86 / 87) passes its new state to 0x4b5b50: 1 holds the member (0x48c950), |
| TPW-EXE:0x004b5e5d dismiss | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:187 | [BIN:TPW-EXE:0x004b5e5d dismiss] b_fire (control 0x50c, help 89): with the Confirmations option (options byte 0x78d90f) a yes/no box with UITEXT 0x18d (OpenTPW 396) whose yes runs 0x4b6070 → 0x505790 on the member; |
| TPW-EXE:0x004b5ed9 pick-up button | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:109 | [BIN:TPW-EXE:0x004b5ed9 pick-up button] control 0x50e (b_pick, help 88) stores the member as the held staff (0x48c950), runs the pick-up 0x505c50 and closes the window (vtable +0x2c → 0x48cf70) |
| TPW-EXE:0x004b5f07 locate | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:224 | [BIN:TPW-EXE:0x004b5f07 locate] control 0x521 (b_locate, help 93) opens the staff locator panel on the member (0x4b3f60 with [0x7c2658]), which closes the open window |
| TPW-EXE:0x004b6080 employee window | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:11 | [BIN:TPW-EXE:0x004b6080 employee window] the opener stores the member, builds table 0x756f48 through 0x48cea0 (handler 0x4b5cb0, frames 0x511 and 0x512) and |
| TPW-EXE:0x004b6c20 stats labels | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:177 | [BIN:TPW-EXE:0x004b6c20 stats labels] the labels take UITEXT 70 (0x372c), 71 (0x3725), 72 (0x3726), 75 (0x3727), 73 (0x3728), 74 (0x3729), 76 (0x372a) and 77 (0x372b); beside them |
| TPW-EXE:0x004b7660 title | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:66 | [BIN:TPW-EXE:0x004b7660 title] the opener formats UITEXT 0x1c8 with the number (+0x1d8), or 0x1c9 when it is 0; the refresh 0x4b72a0 only rewrites it while the stored number is still 0 |
| TPW-EXE:0x004b7720 all visitors | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:121 | [BIN:TPW-EXE:0x004b7720 all visitors] control 0x3738 (b_kids, help 100) runs 0x493530 with the selected thing, the All Visitors window's opener |
| TPW-EXE:0x004b7720 cycle buttons | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:93 | [BIN:TPW-EXE:0x004b7720 cycle buttons] 0x3721 (b_ardown, help 97) runs 0x48caf0 and 0x3720 (b_arup, help 98) 0x48cbe0 with the kind word -2 (mask 0x40: the thing list's type-1 things, 0x4824d0 and 0x482da0); |
| TPW-EXE:0x004b7720 locate | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:110 | [BIN:TPW-EXE:0x004b7720 locate] control 0x3737 (b_locate, help 99) runs the locator opener 0x4b3f60 with the selected thing [0x7c2658], which closes the open window |
| TPW-EXE:0x004b7720 refresh | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:242 | [BIN:TPW-EXE:0x004b7720 refresh] message 0x10 of timer 0x80080 refreshes the frames (0x4b72a0) |
| TPW-EXE:0x004b7780 window update | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:239 | [BIN:TPW-EXE:0x004b7780 window update] message 0x1E, the HUD's pass of every frame, refreshes the portrait's clone (0x486610) before the default handling |
| TPW-EXE:0x004b79b0 open sound | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:50 | [BIN:TPW-EXE:0x004b79b0 open sound] 0x51bfc0(0, global 0x803a24, 0x81) as the window opens |
| TPW-EXE:0x004b79b0 visitor window | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:11 | [BIN:TPW-EXE:0x004b79b0 visitor window] the opener (on the window object 0x7cc408, kind word -2 set by its constructor at 0x4b6b6e) stores the visitor, builds table 0x7575e0 through 0x48cea0 |
| TPW-EXE:0x004fafdb creation stamp; 0x004fd950 age | source/OpenTPW/World/Guests/GuestSimulation.DisplayAge.cs:14 | [BIN:TPW-EXE:0x004fafdb creation stamp; 0x004fd950 age] one unsigned increment at each existing host turn boundary |
| TPW-EXE:0x004fd950 | source/OpenTPW/Hud/OverviewRosters.cs:221 | [BIN:TPW-EXE:0x004fd950] retained display age reproduces unsigned current-turn minus creation stamp, including the four-turn quantization above. |
| TPW-EXE:0x00500136 state 11 ride | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:22 | [BIN:TPW-EXE:0x00500136 state 11 ride] the queue states read the ride from mMajorDest (+0x1DC), through the object table 0x007CFB90, and the guest's place from the ride's list (0x004DDF50); a guest the list does not hold ends "Problem with a queue - shouldn't be fatal" in the dismissal |
| TPW-EXE:0x005001A4 called without the loading slot | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:301 | [BIN:TPW-EXE:0x005001A4 called without the loading slot] place 0 and the call flag set, but the ride's +0x6C no longer names the guest: its state-11 update ends there |
| TPW-EXE:0x005001A4 called without the loading slot | source/OpenTPW/World/Guests/GuestSimulation.cs:3350 | [BIN:TPW-EXE:0x005001A4 called without the loading slot] a guest at place 0 (+0x1F1) whose call flag +0x1F8 is set while the ride's +0x6C does not name it (0x004E0AA0) |
| TPW-EXE:0x00500270 guest missing from its queue | source/OpenTPW/World/Guests/GuestSimulation.cs:3367 | [BIN:TPW-EXE:0x00500270 guest missing from its queue] "Problem with a queue - shouldn't be fatal": a log line and the dismissal, no thought |
| TPW-EXE:0x005002C2 move-up | source/OpenTPW/World/Guests/GuestSimulation.cs:3375 | [BIN:TPW-EXE:0x005002C2 move-up] a changed place decrements the delay (0x005002EB), holds for a broken ride (0x004E0370) or starts the |
| TPW-EXE:0x005003AA toilet in the queue | source/OpenTPW/World/Guests/GuestSimulation.cs:3414 | [BIN:TPW-EXE:0x005003AA toilet in the queue] a toilet byte above 80 thinks 4 first and then leaves unless the ride gives relief (ride +0x32 bit 0): a guest queueing for a toilet thinks it and stays |
| TPW-EXE:0x005004AA queue exit | source/OpenTPW/World/Guests/GuestSimulation.cs:3357 | [BIN:TPW-EXE:0x005004AA queue exit] every state-11 exit unlinks the guest (0x004DDD20), dismisses it (0x005012F0: "dismissed from queue", the medium happiness drop 0x004FEA70(1), the queue words cleared) and sets state 6; the thought, if any, is set before the jump (DismissFromQueue) |
| TPW-EXE:0x005004AA queue exit position | source/OpenTPW.Tests/QueueTests.cs:784 | [BIN:TPW-EXE:0x005004AA queue exit position] the exit writes no position: the guest stands on the queue cell it was on (QUEUE-010) |
| TPW-EXE:0x005004AA queue exit position | source/OpenTPW/World/Guests/GuestSimulation.cs:3484 | [BIN:TPW-EXE:0x005004AA queue exit position] every state-11 exit (0x005004AA: unlink 0x004DDD20, dismissal 0x005012F0, SetState(6)) and the queue-edit exit write no position: the guest stays where it stood, in state 6, until the decision handler 0x004FEC90 starts its next walk from there (a route search from a queue cell, or a wander along the cell's links minus its own queue link) |
| TPW-EXE:0x005004AA queue exit position | source/OpenTPW/World/Guests/GuestSimulation.cs:3522 | [BIN:TPW-EXE:0x005004AA queue exit position] a guest that stands on a cell the queue no longer holds (the queue tool's undo emptied it, a demolished ride's forced clears did) stays there in state 6; its decision walk starts from the cell with the original's rules (0x004F9490: a start without links searches for a path cell around it) |
| TPW-EXE:0x00500612 coaster or track refuses | source/OpenTPW/World/Guests/GuestSimulation.cs:3392 | [BIN:TPW-EXE:0x00500612 coaster or track refuses] at its position, after the limit test, a guest queueing for a coaster (0x004E2B50) that fails 0x00441970, or for a ride of track type 1 whose track word +0x2C is 0, thinks 13 and leaves (0x005004AA) |
| TPW-EXE:0x005006B0 called forward | source/OpenTPW/World/Guests/GuestSimulation.cs:3198 | [BIN:TPW-EXE:0x005006B0 called forward] at the stand point the price test 0x004FDE50 comes before the ride takes the guest (AdmitPerson); a guest that refuses leaves the queue ("Object %d is too expensive, I'm leaving the queue") and keeps its thought |
| TPW-EXE:0x00500715 price test once | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:387 | [BIN:TPW-EXE:0x00500715 price test once] state 13 runs 0x004FDE50 once, on its arrival, before AdmitPerson; the refusal leaves state 13 at once |
| TPW-EXE:0x00500756 price refusal | source/OpenTPW/World/Guests/Decisions/SmarterGuestDecisions.cs:128 | [EXT:smarter-guests-value] the original guest, refused at the stand, loses happiness until it leaves; this one is not sent to the stand and, with nothing else to do, leaves with the same thought (thought 6, [BIN:TPW-EXE:0x00500756 price refusal]) |
| TPW-EXE:0x00500756 price refusal | source/OpenTPW/World/Guests/GuestSimulation.cs:3225 | [BIN:TPW-EXE:0x00500756 price refusal] "Object is too expensive, I'm leaving the queue": thought 6, then the refusal's own 0x004FEA70(1) before the dismissal's |
| TPW-EXE:0x0050076F refusal records | source/OpenTPW/World/Guests/GuestSimulation.cs:3199 | [BIN:TPW-EXE:0x0050076F refusal records] the refusal's thought 6 (0x0050BE80), event 10 with the ride's id and the dismissal's event 6 (0x0050C100: a ring of 32 (event, argument) pairs at thought +4, index +0x88, a repeat of the last pair skipped) are read only by the guest's debug dump 0x004FAA60 (0x0050C190, its one caller 0x004FAAAB), so OpenTPW keeps no event ring |
| TPW-EXE:0x0050077F refusal walk-away | source/OpenTPW/World/Guests/GuestSimulation.cs:3228 | [BIN:TPW-EXE:0x0050077F refusal walk-away] after 0x004FEA70(1) the ride's walk-away count (0x004E1670), then its loading slot (0x004E0AC0) and queue list (0x004DDD20) let the guest go and the dismissal 0x005012F0 runs |
| TPW-EXE:0x005007E7 AdmitPerson refusal | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:226 | [BIN:TPW-EXE:0x005007E7 AdmitPerson refusal] the refused guest walks back to its queue place (0x00501160, state 12); AdmitPerson's closed test leaves the ride alone |
| TPW-EXE:0x005007E7 AdmitPerson refusal | source/OpenTPW/World/Guests/GuestSimulation.cs:3213 | [BIN:TPW-EXE:0x005007E7 AdmitPerson refusal] a 0 from AdmitPerson (0x004E0900) calls FindQueueDestination 0x00501160 (the place's queue slot 0x004DDF50, 0x004DE7E0, the generic route 0x004FA5F0, state 12: MoveToQueuePosition); |
| TPW-EXE:0x0050082F rejoin failure | source/OpenTPW.Tests/ClosedRideAdmissionTests.cs:334 | [BIN:TPW-EXE:0x0050082F rejoin failure] "Couldn't rejoin FOQ even!": unlink 0x004DDD20, dismissal 0x005012F0 with no thought, state 6 |
| TPW-EXE:0x00500900 state 15 | source/OpenTPW.Tests/GuestDestinationTests.cs:103 | [BIN:TPW-EXE:0x00500900 state 15] arrived: +0x1DC = +0x1DE, +0x1DE = 0, a route request to the back cell, "Left minor destination, found old major", state 10 |
| TPW-EXE:0x00500900 state 15 | source/OpenTPW/World/Guests/GuestSimulation.cs:3797 | [BIN:TPW-EXE:0x00500900 state 15] the walk step 0x004FA2A0: 1 keeps walking, 2 (stuck) clears +0x1DC and sets state 6; 0 (arrived) takes the major destination +0x1DE when one is set (+0x1DC = +0x1DE, +0x1DE = 0; an object: a route request 0x004FA530 to its back cell 0x004DE110, "Left minor destination, found old major", state 10; no back cell or a refused request leaves the target set and falls to state 6; a deleted one: "Deleted major dest while I was doing minor" and +0x1DC = 0), else "Person %d: successfully left ride %d" and state 6 |
| TPW-EXE:0x00500A50 recall cell test | source/OpenTPW/World/Guests/GuestSimulation.cs:1169 | [BIN:TPW-EXE:0x00500A50 recall cell test] the recall also demands the guest's own cell pass 0x4FA990 (cell types 0, 1, 3, 9 and 10, 0x536310..0x536390, the set of ParkGate.CountsCellType): the walk out of the park crosses the gate's walkway cells (type 0x1E, 7 outside the terrain) and a guest on one cannot change its mind; the booth refusal and a closed park's state 3 enter state 18 with a zeroed counter (0x4FF9D0, 0x4FF7F0) and are never recalled |
| TPW-EXE:0x00500A50 state 18 | source/OpenTPW/World/Guests/GuestSimulation.cs:3566 | [BIN:TPW-EXE:0x00500A50 state 18] the recall test (counter above 0, happiness byte nonzero, park open and the guest's cell of type 0, 1, 3, 9 or 10, 0x004FA990) clears the mask and returns to state 6 ("Make up your mind"); else the walk step 0x004FA2A0: arrived is state 19 wherever the guest stands (0x00501DB0(0x13)), stuck is "I'm stuck in the park, even though ..." with the mask cleared and state 6 |
| TPW-EXE:0x00500AB9 recall clears the walk mask | source/OpenTPW/World/Guests/GuestSimulation.cs:1173 | [BIN:TPW-EXE:0x00500AB9 recall clears the walk mask] guest +0x188 (walk +0xB4) = 0 before state 6 |
| TPW-EXE:0x00500AD0 state 19 | source/OpenTPW/World/Guests/GuestSimulation.cs:1846 | [BIN:TPW-EXE:0x00500AD0 state 19] 0x0051A760 nonzero: the cell local_8[draw & 3] (the stop cell, its +X neighbour and the two cells two rows up), the point's bytes from two more draws, 0x004FA5F0 and SetState(0x14); the route request's result is not read |
| TPW-EXE:0x00500AD0 stop cells | source/OpenTPW/World/Guests/GuestSimulation.cs:1785 | [BIN:TPW-EXE:0x00500AD0 stop cells] 0x004D8650(0) is cell (0x007855AC, 0x007855B0), FixedItemInfo.BusStopA; the four cells are that id, id + 1, id − 0x100 and id − 0xFF (two rows up, 128 cells a row) |
| TPW-EXE:0x00500BD0 state 21 | source/OpenTPW/World/Guests/GuestSimulation.cs:1897 | [BIN:TPW-EXE:0x00500BD0 state 21] status 4: the head thing of the guest's cell (0x004CD4E0, the cell's list at +0x24) is this guest: event 0x13 and 0x0050B780; status 1, 2 or 3: on the bus's stop cells (0x0051AAD0 = 0) local_8[0] or [1], else [2] or [3] it returns, else a draw picks one of the two, two more draws give the point, 0x004FA5F0 and SetState(0x14) |
| TPW-EXE:0x00500BD0 stop walk draws | source/OpenTPW/World/Guests/GuestSimulation.cs:1831 | [BIN:TPW-EXE:0x00500BD0 stop walk draws] the cell pick and the two sub-cell bytes (0x00500AD0, 0x00500BD0) are world draws (0x00516330), taken here from the park's one world generator (WorldRng) in the original's order: the pick, then x, then y |
| TPW-EXE:0x00500C35 departure beam | source/OpenTPW/World/Guests/GuestSimulation.cs:1915 | [BIN:TPW-EXE:0x00500C35 departure beam] the head guest of the cell calls 0x4FA470(0x13) (particle 19 at its place) and then the destroy request 0x50B780 |
| TPW-EXE:0x00500DC0 bin search | source/OpenTPW/World/Guests/GuestSimulation.cs:2214 | [BIN:TPW-EXE:0x00500DC0 bin search] the object list (game +0x1DA746, next at +0xC) in order; objects with flag +0x32 bit 0x40 (UsageInfo.HoldsLitter, type record +0xF8); dx² + dy² from the guest's cell to the object's below 9 and strictly below the best so far; the route test 0x004FA530 to the object's access cell +0x36 keeps it |
| TPW-EXE:0x00500DC0 bin walk | source/OpenTPW.Tests/GuestDestinationTests.cs:364 | [BIN:TPW-EXE:0x00500DC0 bin walk] the route request goes to +0x36, the type 9 cell the shape's entrance symbol gave the thing; the edge test opens it from the path cell its link points at |
| TPW-EXE:0x00500DC0 bin walk | source/OpenTPW/World/Guests/GuestSimulation.cs:2215 | [BIN:TPW-EXE:0x00500DC0 bin walk] every candidate that is closer than the best so far makes its own route request (0x004FA530 → 0x00510100 → 0x0050F8E0), and a failed request leaves the walk retargeted to that bin, arrived and stuck (+0xB8 = 1) with the best bin's id in +0x1DC: a closer bin tested after the reachable one it does not reach turns the guest's walk to state 9 into a stuck walk, and the walk step 0x004FA2A0 returns 2 at once (0x004FA301), so state 9 drops the litter on the cell |
| TPW-EXE:0x00501020 nearest show | source/OpenTPW/World/Guests/GuestSimulation.cs:2075 | [BIN:TPW-EXE:0x00501020 nearest show] the objects chain (world +0x1DA746, next +0xC) is walked for a thing with flag +0x32 bit 0x80 (UsageInfo.IsFireworks, 0x4DB46F) whose script variable 0 is 0; the squared cell distance must be below 5 and below the best so far (a tie keeps the first) |
| TPW-EXE:0x00501160 queue place route | source/OpenTPW/World/Guests/GuestSimulation.cs:2970 | [BIN:TPW-EXE:0x00501160 queue place route] a guest whose cell left the queue is not sent away here: it keeps its place and, when its place changed, state 11 routes it to the new slot from wherever it stands with the generic search (MoveToQueuePosition); the dismissal comes only if that search fails |
| TPW-EXE:0x00501160 queue place route | source/OpenTPW/World/Guests/GuestSimulation.cs:3017 | [BIN:TPW-EXE:0x00501160 queue place route] the generic route request 0x004FA5F0 from wherever the guest stands to the place's slot: a route sets state 12; none leaves "Couldn't get to my intended queue position" (move-up, 0x004FFFF0) or "Couldn't get to my place" (the join, 0x004FFBC0) through the dismissal with no thought, 0x005004AA |
| TPW-EXE:0x00501160 state 11 re-route | source/OpenTPW/World/Guests/GuestSimulation.cs:2939 | [BIN:TPW-EXE:0x00501160 state 11 re-route] a guest whose place changed (0x004FFFF0 at 0x005002C2) takes the new place's queue slot (0x004DDF50, 0x004DE7E0) and routes to it with the generic route 0x004FA5F0 (state 12), or leaves through the dismissal when the route fails |
| TPW-EXE:0x005012F0 dismissal | source/OpenTPW/World/Guests/GuestSimulation.cs:3463 | [BIN:TPW-EXE:0x005012F0 dismissal] "Person %d: dismissed from queue on ride %d", event 6 (0x0050C100, [EXT:guest-event-ring]), the sound for one thing id in eight (Voiced), 0x004FEA70(1), the queue words +0x22A/+0x228/+0x1F8/+0x1DC/+0x1F1 cleared, state 6 |
| TPW-EXE:0x0050133D dismissal sound | source/OpenTPW/World/Guests/GuestSimulation.cs:3227 | [BIN:TPW-EXE:0x0050133D dismissal sound] the dismissal that follows (0x005012F0) plays the guest sound 0x80 for a thing id with its low three bits 0 (Voiced); [EXT:guest-event-ring] its event 6 and the refusal's event 10 are records of the debug-only guest event ring |
| TPW-EXE:0x0050133D dismissal sound | source/OpenTPW/World/Guests/GuestSimulation.cs:3469 | [BIN:TPW-EXE:0x0050133D dismissal sound] a guest whose thing id has its low three bits 0 plays [0x00803A24] (cat_kids) event 0x80 through 0x004FAA00 before the happiness step; the guest's id is its thing id |
| TPW-EXE:0x00501390 demolition re-evaluation | source/OpenTPW/World/Guests/GuestSimulation.cs:2979 | [BIN:TPW-EXE:0x00501390 demolition re-evaluation] the room is 4 x the ride's word +0x40, which reaches 0 with the last cell (0x4DE1F0 reads it, not the one-cell fallback OpenTPW keeps), so the last pop dismisses every guest of the queue but the called one |
| TPW-EXE:0x00501390 queue re-evaluation | source/OpenTPW/World/Guests/GuestSimulation.cs:2938 | [BIN:TPW-EXE:0x00501390 queue re-evaluation] the only exit is position ≥ 4 × cells (unsigned) with the guest not in state 14; "Queue edited underneath me while Standing In Queue" is the entry log every guest prints, not an exit; the caller 0x004DE1F0 visits every guest in the queue list but the called one (ride +0x6C); executed by the x86 oracle target tpw-exe-queue-reevaluate (ORACLE.md X14) |
| TPW-EXE:0x00501496 queue edited | source/OpenTPW/World/Guests/GuestSimulation.cs:2962 | [BIN:TPW-EXE:0x00501496 queue edited] before the dismissal a guest whose thing id (the word at thing +0, read at 0x00501483) is a multiple of 3 thinks 13 (Angry, 0x0050BE80); the others think nothing; the guest's id is its thing id |
| TPW-EXE:0x005014E0 ExitRide | source/OpenTPW/World/Guests/GuestSimulation.cs:3729 | [BIN:TPW-EXE:0x005014E0 ExitRide] "Person %d: ExitRide, leaving ride %d"; the point 0x004DEDF0(1); 0x004FA930 puts the guest there; the exit cell's link byte +0x0D (0x00522850), reversed by 0x004D8C00 when +0x38 equals the entrance cell +0x36 (0x00501587); its neighbour along it (0x004D97E0); a neighbour of type 3 or 9 (0x00536320) or a failed route 0x004FA530 logs "SetDest on ride exit failed, exit of object %d is blocked!" and closes the ride (0x004DF150, RideVisitorBridge.CloseForBlockedExit), returning 0; a route runs the use routine 0x004FD970 and state 15 (0x00501DB0), returning 1 |
| TPW-EXE:0x005014E0 exit cell | source/OpenTPW/World/Level.Objects.cs:524 | [BIN:TPW-EXE:0x005014E0 exit cell] ExitRide takes the exit cell index +0x38 and compares it with the entrance cell +0x36: an object without an exit has the same cell in both (0x00501587) |
| TPW-EXE:0x005014E0 target kept | source/OpenTPW/World/Guests/GuestSimulation.cs:3760 | [BIN:TPW-EXE:0x005014E0 target kept] the exit writes no +0x1DC: the target stays through state 15 and the state 6 that follows until the next major choice clears it (0x004FCB21), so the removal of the attraction (0x004FB360) still reaches a guest that has just left it |
| TPW-EXE:0x00501676 needs phase | source/OpenTPW/World/Guests/NeedsUpdate.cs:30 | [BIN:TPW-EXE:0x00501676 needs phase] the tick's low two bits are compared with the low byte of the thing id (0x0050B350) taken from the pool (0x00516270); the guest's id is its thing id (ThingPool) |
| TPW-EXE:0x00501919 thought pick | source/OpenTPW/World/Guests/GuestSimulation.cs:1227 | [BIN:TPW-EXE:0x00501919 thought pick] outside states 16 and 17 and on a park cell (0x004FA990), a world draw modulo 10 of 0 runs the pick 0x004FC8A0 (the draw is the park's one generator's, taken whenever the condition holds) |
| TPW-EXE:0x00501932 balloon life | source/OpenTPW/World/Guests/GuestSimulation.cs:1236 | [BIN:TPW-EXE:0x00501932 balloon life] then +0x214 loses 1 when it is above 0, and at 0 the balloon goes (0x004FE950) |
| TPW-EXE:0x005019F0 state 20 | source/OpenTPW/World/Guests/GuestSimulation.cs:1874 | [BIN:TPW-EXE:0x005019F0 state 20] the walk step 0x004FA2A0: 0 sets the heading (0x7FF when the vehicle at work is not the bus, 0x400 otherwise) and SetState(0x15); 2 logs "Got stuck walking around outside" and stays |
| TPW-EXE:0x00501A08 state 16 | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:100 | [BIN:TPW-EXE:0x00501A08 state 16] the loader reads mState straight in and a guest in state 16 names its ride in mMajorDest (+0x1DC, the object table lookup 0x004CD300): the ride's script holds the rest |
| TPW-EXE:0x00501A08 state 16 update | source/OpenTPW.Tests/TrackAddOnLevelTests.OriginalVehicles.cs:99 | [BIN:TPW-EXE:0x00501A08 state 16 update] a rider of a kart ride whose vehicles were refused has nothing that would let it off: the guests are put off the ride and the report says so |
| TPW-EXE:0x00501A08 state 16 update | source/OpenTPW/World/Guests/RideVisitorBridge.cs:875 | [BIN:TPW-EXE:0x00501A08 state 16 update] the update of a guest in state 16 only looks its ride up (0x004CD300): it is the ride's script that walks, bounces, hangs and lets it off, through the tables the RSSE record holds |
| TPW-EXE:0x00501A08 state 16 update | source/OpenTPW/World/Level.TrackRidersImport.cs:32 | [BIN:TPW-EXE:0x00501A08 state 16 update] the original's rider does nothing in state 16 on its own: the ride's script and its vehicles let it off, so a rider of a carrier that is not restored would stay aboard for good |
| TPW-EXE:0x00501A0F state 0 | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:140 | [BIN:TPW-EXE:0x00501A0F state 0] the walk step 0x004FA2A0: 0 sets the heading +0x1C = 0x400 and SetState(1); 2 logs "Big problem - no way this should happen" and stays; 1 keeps walking |
| TPW-EXE:0x00501ABB state 7 | source/OpenTPW/World/Guests/GuestSimulation.cs:2177 | [BIN:TPW-EXE:0x00501ABB state 7] the walk step 0x004FA2A0 returns 0 (arrived), 1 (walking) or 2 (stuck); on 0 or 2 one draw, and when its low two bits are 0 the wander destination 0x004F9490 keeps state 7 on success; every other case sets state 6 |
| TPW-EXE:0x00501B6E state 14 | source/OpenTPW/World/Guests/GuestSimulation.OriginalQueues.cs:134 | [BIN:TPW-EXE:0x00501B6E state 14] the state-14 update (the dispatch 0x00501A08, table 0x00501D4C) reads the ride from +0x1DC, asks 0x004E0A70 (the script's first variable against mFirstInQ), unlinks the guest (0x004DDD20) and enters state 16 |
| TPW-EXE:0x00501C94 state 17 | source/OpenTPW/World/Guests/GuestSimulation.cs:1370 | [BIN:TPW-EXE:0x00501C94 state 17] a held guest waits while a guard in state 18 (0x004D6350) has it as its target (+0x212); otherwise it is destroyed (0x0050B780) |
| TPW-EXE:0x00501D26 state 8 | source/OpenTPW/World/Guests/GuestSimulation.cs:1956 | [BIN:TPW-EXE:0x00501D26 state 8] the activity ends (0x004FC890, back to the state saved at +0x224) once the turn is above +0x208 + 10 (unsigned) |
| TPW-EXE:0x00501DB0 guest state entry | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:40 | [BIN:TPW-EXE:0x00501DB0 guest state entry] ordinary states queue walk 1 or stand 3 directly, independently of current/pending template |
| TPW-EXE:0x00501DB0 state 3 entry | source/OpenTPW/World/Guests/GuestSimulation.ArrivalWalk.cs:210 | [BIN:TPW-EXE:0x00501DB0 state 3 entry] the animation 3 (0x004217F0), then a world draw: +0x200 = R % 0x96 + 200 |
| TPW-EXE:0x00501F3C state 14 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:3648 | [BIN:TPW-EXE:0x00501F3C state 14 entry] a sideshow's play is decided as it starts (+0x1F1 from 0x004E2670) and read when the visit ends (0x004FD970) |
| TPW-EXE:0x00501FD3 state 15 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:3887 | [BIN:TPW-EXE:0x00501FD3 state 15 entry] after the use routine (0x005015F4, 0x004FD970) the state-15 entry gives a guest with balloon life its balloon back, except at a balloon shop, whose use routine has just made one |
| TPW-EXE:0x00502053 balloon give-back | source/OpenTPW/World/Guests/GuestSimulation.cs:3889 | [BIN:TPW-EXE:0x00502053 balloon give-back] the new model is made like the shop's: the world generator is reseeded with the thing id (0x00516370) and the sprite set (0x00541F70(10)) and the colour (0x00541FD0) are drawn |
| TPW-EXE:0x0050212B state 16 body | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:89 | [BIN:TPW-EXE:0x0050212B state 16 body] the entry tests the thing flag +0x32 bit 0x20 (set from UsageInfo.RideHandlesSprite, type +0x104, by the constructor at 0x004DB41C): clear deletes the body (0x004D4170 on +0xC), set keeps it, queues template 3 (stand, 0x004217F0) and sets +0x28 = 1 |
| TPW-EXE:0x0050212B state 16 body | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:112 | [BIN:TPW-EXE:0x0050212B state 16 body] the flag test has no object-kind test: any object whose type sets UsageInfo.RideHandlesSprite (+0x104, thing flag +0x32 bit 0x20 from the constructor 0x004DB41C) keeps the body and sets +0x28 = 1 (0x00502136) |
| TPW-EXE:0x00502156 state 16 entry | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:361 | [BIN:TPW-EXE:0x00502156 state 16 entry] the entry's effects are in the saved words: the balloon's model is gone and +0x210 clear (0x00475550), the thought bubble gone (0x0050C0D0) and the body kept or taken off the map by the ride's flag (0x004D4170, +0x28): the guest stands as the ride took it, and its update does nothing (0x00501A08 case 0x10) |
| TPW-EXE:0x00502156 state 16 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:3637 | [BIN:TPW-EXE:0x00502156 state 16 entry] the balloon's model is destroyed (0x00475550) and +0x210 cleared; its life +0x214 stays; the thought bubble goes (0x0050C0D0) |
| TPW-EXE:0x005022DA state 17 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:1403 | [BIN:TPW-EXE:0x005022DA state 17 entry] a held guest's balloon bursts (0x004FE950); its life stays; the thought bubble goes (0x0050C0D0) |
| TPW-EXE:0x00502305 state 18 entry | source/OpenTPW/World/Guests/GuestSimulation.SpriteState.cs:43 | [BIN:TPW-EXE:0x00502305 state 18 entry] the leaving state's entry clears the target +0x1DC (0x0050231C) and the thought record, as a held guest's (state 17, 0x005022E0) does; the other states leave it, so it lives until the next major choice (0x004FCB21) |
| TPW-EXE:0x00502333 state 21 | source/OpenTPW/World/Guests/GuestSimulation.cs:1863 | [BIN:TPW-EXE:0x00502333 state 21] the state setter's case 0x15 stores the stay (0x004C7600: the turns since the arrival stamp 0x004FD950, in whole four-turn steps, as days) when the guest's paid flag +0x204 is set, then sets the thing's state 3 (0x004217F0) |
| TPW-EXE:0x005026BA researcher ctor | source/OpenTPW/World/Staff/StaffWorldSimulation.Constructed.cs:13 | [BIN:TPW-EXE:0x005026BA researcher ctor] the base constructor, the gate 0x506A40, a draw 0x5026CB whose low two bits decide the wander 0x4F9490 (state 1, 0x5054D0), else the tiredness test 0x506680 or the research (state 15), and last the research flag 0x5041F0 on the staff object (a flag byte and the message 5 or 6 to the advisor's subscription 0x599EDB; no draw) |
| TPW-EXE:0x00502760 researcher serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:703 | [BIN:TPW-EXE:0x004D4460 entertainer serializer] mTimeStartedEntertaining (+0x214); [BIN:TPW-EXE:0x00502760 researcher serializer] mTimeStartedResearching (+0x214) |
| TPW-EXE:0x00502960 researcher update | source/OpenTPW/Economy/ParkEconomy.cs:1059 | [BIN:TPW-EXE:0x00502960 researcher update] the researcher's thing update does its research first, when its state (0x005064F0) is not 3, 4 or 5 and the turn counter is a multiple of 20 (0x14): the points of its grade (0x0078545C + grade * 12) go to the research (0x00519550, 0x00503430), and then the staff pre-update 0x00505490 and the state handler follow |
| TPW-EXE:0x00502960 researcher update | source/OpenTPW/Economy/ParkResearch.cs:431 | [BIN:TPW-EXE:0x00502960 researcher update] research is skipped in display states 3, 4 and 5 of 0x005064F0, which maps the internal state +0x19C to the STAFFSTATES index (0 Idle, 1 Patrolling, 2 and 3 Resting, 4 and 5 On strike, 7 Picked up, anything else Working); StaffState is that index, so walking to a rest area or a strike counts as Resting or On strike, as here; points come every 20th turn (the Mac 0x100F0284 and 0x100F4170) |
| TPW-EXE:0x00502960 researcher update | source/OpenTPW/World/Level.Simulation.cs:439 | [BIN:TPW-EXE:0x00502960 researcher update] the research comes first in the researcher's update, on every 20th turn (0x14) |
| TPW-EXE:0x005029F0 researcher update | source/OpenTPW/World/Staff/StaffWorldSimulation.Researchers.cs:13 | [BIN:TPW-EXE:0x005029F0 researcher update] 0 idle: a world draw, (draw & 15) == 0 plays cat_staff 169; once the turn passes IdleDuration[grade] + the idle stamp, the gate 0x00506A40 and the search; 1 patrol: a draw for cat_staff 168, a walk step, the walk drain while walking (0x005066A0), then the gate and the search; 15 researching: the work drain (0x00506760); once the turn passes the stamp +0x214 + ResearcherConstsPerGrade[grade].WorkDuration (0x00785458 + 12 × grade) a wander (0x004F9490) patrols (state 1), or none restamps; before that a draw plays cat_staff 138 at (draw & 15) == 0 |
| TPW-EXE:0x00502C20 researcher setter | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:20 | [BIN:TPW-EXE:0x00502C20 researcher setter] 0xF stamps +0x214 and queues 10; the others 0x005054D0 |
| TPW-EXE:0x00502C70 researcher search | source/OpenTPW/World/Staff/StaffWorldSimulation.Researchers.cs:52 | [BIN:TPW-EXE:0x00502C70 researcher search] 0x00506A40; a draw with (draw & 3) != 0 and 0x004F9490: state 1 (0x005054D0); else too tired (0x00506680): "Too tired to research" and no change; else +0x214 = the turn, animation 10 and state 15 (the setter 0x00502C20) |
| TPW-EXE:0x00502DC0 lab serializer | source/OpenTPW/Economy/OriginalResearchExport.cs:69 | [BIN:TPW-EXE:0x00502DC0 lab serializer] after the projects and groups: mNumProjects, mWorkLoad, mMostExpensiveProject and mLabActive (one byte; 0x00504090 sets it and 0x00504140 clears it on the researchers' messages, the constructor 0x00502D60 starts it at 0 < the researcher count) |
| TPW-EXE:0x005031A0 most expensive project | source/OpenTPW/Economy/OriginalResearchExport.cs:39 | [BIN:TPW-EXE:0x005031A0 most expensive project] the walk's mMostExpensiveProject: the index of the first project of the walk with the highest cost (a later one replaces it only when strictly dearer) |
| TPW-EXE:0x005031A0 research group outputs | source/OpenTPW/Economy/OriginalResearchExport.cs:57 | [BIN:TPW-EXE:0x005031A0 research group outputs] a group's output is (effort x 100 / the sum of the efforts) x the work load / 100 in unsigned integers (0 when the sum is 0); 0x00503330 computes the same |
| TPW-EXE:0x005031A0 research table fill | source/OpenTPW/Economy/ParkResearch.cs:90 | [BIN:TPW-EXE:0x005031A0 research table fill] an object's base project takes its own Research.Category (+0x17C) and Research.Group (+0x178), add-ons included |
| TPW-EXE:0x005031A0 research table fill | source/OpenTPW/Economy/ParkResearch.cs:186 | [BIN:TPW-EXE:0x005031A0 research table fill] the walk adds each choosable type's record at the count (id, category +0x17C, group +0x178, level 0, cost +0x180 as a float, done 0) when its cost is above 0, else marks the control researched and lets 0x00504580 add the next level project at that point; mMostExpensiveProject (+0x1464) takes the new record's index while the current one's cost is strictly below it, so the first of the highest costs |
| TPW-EXE:0x005031A0 research table fill | source/OpenTPW/Economy/ParkResearch.cs:377 | [BIN:TPW-EXE:0x005031A0 research table fill] a new park's research table follows the original's object scan (Rides, Features, Upgrades, Shops, Sideshow, each directory in archive-name order: 0x413140, then the fill 0x5031A0 over 0x412E60 / 0x412E70 with no sort) and a level project joins the category-4 table at its end when the level below completes (0x503D40 → 0x504580 at 0x503D8C, or at the base's turn in the fill when the base is free); the cursor steps and moves on as the original's picker does (0x4AA0C0 → 0x5034F0 / 0x5036A0, 0x4AAEC0) and its add-on test holds a target with a golden-ticket cost to the ticket set (0x4D4B70 over 0x5AF780). The fill skips a type whose word +0x508 is set or whose WhichUIType (+0x4AC) is 4 or more; the four restart.INTS the original itself wrote at the start of a new park (Hallow, Jungle, Fantasy and Space: 48, 48, 44 and 46 projects) hold exactly OpenTPW's table for their theme, key for key and in order (OriginalResearchExportTests), so a normal game's fill skips no type OpenTPW lists. The shipped Easymode.TPWI lab (24 projects, none for the coasters 1185 and 1190, Sun God 1106 and seven features OpenTPW lists) is not a normal game's fill output: it differs from the Jungle restart save by 20 of 44 projects, which the fill's two gates only explain for a build that failed those types' model loads (0x004629D0 → 0x00461A60 / 0x00461F10, +0x508 = 1 at 0x00414305); the shipped data loads them all in OpenTPW. |
| TPW-EXE:0x005031C5 research table fill | source/OpenTPW/Economy/ParkResearch.cs:102 | [BIN:TPW-EXE:0x005031C5 research table fill] a base without research cost is researched at once and its next level's project joins the table at this point of the walk (0x00504580) |
| TPW-EXE:0x005031E5 research table fill | source/OpenTPW/Economy/ParkResearch.cs:108 | [BIN:TPW-EXE:0x005031E5 research table fill] the fill 0x005031A0 (from the lab's start 0x00502D60) marks a choosable type (+0x508 = 0, Info.WhichUIType below 4) |
| TPW-EXE:0x005034F0 add-on picker | source/OpenTPW/Economy/ParkResearch.cs:425 | [BIN:TPW-EXE:0x005034F0 add-on picker] a category-4 project is eligible when the object its AddOn.UpgradesId names (+0x284, else the project's own id) is researched and, when that |
| TPW-EXE:0x00503870 research share | source/OpenTPW/Hud/ResearchFluid.cs:105 | [BIN:TPW-EXE:0x00503870 research share] the share stored beside each effort: Σ effort == 0 ? 0 : (effort × 100 / Σ effort) × workload (+0x1460) / 100, unsigned; |
| TPW-EXE:0x00503980 research rate | source/OpenTPW/Hud/ResearchFluid.cs:112 | [BIN:TPW-EXE:0x00503980 research rate] 0x4c9ed0 = MaxResearchersInPark (0x7852f8, the hire cap 0x508000 tests) × the grade-4 ability (0x78548c); |
| TPW-EXE:0x00503980 research rate | source/OpenTPW/World/AdvisorScanQueues.cs:367 | [BIN:TPW-EXE:0x00503980 research rate] the category's share (the effort, the workload and the shares' total, unsigned) times the staffing percentage (0x4C9E60 x 100 / 0x4C9ED0) / 100; 0 without a capacity; it tests no current project, which the lab's refresh does (ResearchFluid.Rate) |
| TPW-EXE:0x00503B30 projects outstanding | source/OpenTPW/World/AdvisorScanQueues.cs:357 | [BIN:TPW-EXE:0x00503B30 projects outstanding] the lab's projects of the category (5: every one) whose done points (+0x4) are below the cost (+0x0), which is every project not yet researched |
| TPW-EXE:0x00503B80 research group threshold | source/OpenTPW/Economy/ParkResearch.cs:350 | [BIN:TPW-EXE:0x00503B80 research group threshold] the opener compares the percentage with the word at 0x785540 + 4h (h the category's highest open group, read at 0x503C1C) and stops at h > 6; the settings object 0x785040 lays its keys out from slot 1 at object + 8 + 4 x slot (the builder 0x401030 over the 60-byte descriptors at 0x73FC70), which puts descriptor 165 PercentageForThisTech inside a one-member array of 10 at slot 317 = 0x78553C, so ResearchTech[0] is at 0x78553C, ResearchTech[h + 1] at 0x785540 + 4h, and the opener reads index h + 1 as here (0x785040 + 1276 for entry 0, as the Mac balance +1276); no other code reads 0x78553C |
| TPW-EXE:0x00503C6E group advice | source/OpenTPW/Client/AutomaticAdvisor.cs:253 | [BIN:TPW-EXE:0x00503C6E group advice] the switch on the category posts 0x85, 0x86, 0x87 or 0x88 through 0x59B590 and 0x59A940 |
| TPW-EXE:0x00503D40 research completion | source/OpenTPW/Economy/ParkEconomy.cs:1078 | [BIN:TPW-EXE:0x00503D40 research completion] the lab's handler of the completion message opens the groups (0x503B80), which posts the new-group advice when one rose and the category still has unresearched items, then checks whether anything is left (0x503E3F) |
| TPW-EXE:0x00503E8E all research done | source/OpenTPW/Client/AutomaticAdvisor.cs:230 | [BIN:TPW-EXE:0x00503E8E all research done] 167 (0xA7) is posted in Instant Action (the game-type word 0xFB3B7C is 2) without further test; in the full simulation only when the player's records have the byte +0xB9 of every park (0x5B0C40, 0x503F96), the same test that starts the finale |
| TPW-EXE:0x00503E94 research record | source/OpenTPW/World/Level.Finale.cs:43 | [BIN:TPW-EXE:0x00503E94 research record] the current theme's record is marked complete in every game type, before the game type is tested |
| TPW-EXE:0x00503EC4 finale game types | source/OpenTPW/World/Level.Finale.cs:21 | [BIN:TPW-EXE:0x00503EC4 finale game types] the completion handler starts the finale in game type 2 (Instant Action) and in type 0 (Full Simulation) when the player's records allow it; type 1 returns |
| TPW-EXE:0x00503ED3 research finale | source/OpenTPW/World/Objects/ParkFinale.cs:23 | [BIN:TPW-EXE:0x00503ED3 research finale] when nothing is left to research, game type 2 (and type 0 with the player's records complete) posts advice 167 and calls 0x516B00 |
| TPW-EXE:0x00503EF7 full simulation finale | source/OpenTPW/World/Level.Finale.cs:31 | [BIN:TPW-EXE:0x00503EF7 full simulation finale] game type 0 calls 0x5B0C40 on the player object and returns when it is 0; type 2 goes straight to the advice (0x503ED5) |
| TPW-EXE:0x005041F0 researchers flag | source/OpenTPW/Economy/ParkEconomy.cs:124 | [EXT:headless-economy] a headless economy (tests and tools, no staff world) searches on the member's first update, which is OpenTPW's own test and tool design and has no original counterpart (user-approved 2026-10-16, DET-015 converted 2026-10-30); in a level the staff pool's and the staff walks' draws are the world generator's, and the staff constructors' role searches run inside the placing click of a level ([BIN:TPW-EXE:0x004D4340 constructor searches] StaffWorldSimulation.Constructed after the hire's draws: [BIN:TPW-EXE:0x004F89E1 staff base speed] the consumed base-speed draw and the guard's variant draw, see ParkStaff.Hire; no staff constructor reseeds, 0x4F7B7E is the online avatar's); a headless economy has no staff world and searches on the member's first update, the researcher constructor's last call 0x5041F0 runs at a researcher's hire and removal without a draw ([BIN:TPW-EXE:0x005041F0 researchers flag] ParkStaff.LabActive, message 5 or 6 on a change; the advisor's reaction is ADVISOR-009's), and the weather stays off the stream ([BIN:TPW-EXE:0x59A796 advisor pick] the advisor's update takes no draw: all 351 descriptor rows are in the sequential mode 2, the mode-3 draw 0x59A7AC is unreachable) |
| TPW-EXE:0x005041F0 researchers flag | source/OpenTPW/Economy/ParkStaff.cs:592 | [BIN:TPW-EXE:0x005041F0 researchers flag] the byte +0x1468 of the ResearchLab thing (the object 0x519550 returns) is tested first, so the message goes out on a change only: 0x40F630 builds a plain message of the type 5 or 6 and 0x40FB10 delivers it through the lazily created bus 0x788D3C |
| TPW-EXE:0x00504580 upgrade level project | source/OpenTPW/Economy/ParkResearch.cs:96 | [BIN:TPW-EXE:0x00504580 upgrade level project] an object whose own category is not 4 gets its next level's project in category 4, group 0, once the level below is |
| TPW-EXE:0x00504580 upgrade level project | source/OpenTPW/Economy/ParkResearch.cs:133 | [BIN:TPW-EXE:0x00504580 upgrade level project] an object whose own category is not 4 takes its next level above the researched one (+0x14) that has a research cost (+0x180 + 0x40 × level) as a new project (category 4, group 0, the cost, no progress); levels without a cost are marked researched on the way; the lab's completion handler 0x00503D40 calls it at 0x00503D8C, the table fill at its end |
| TPW-EXE:0x00504580 upgrade level project | source/OpenTPW/Economy/ParkResearch.cs:162 | [BIN:TPW-EXE:0x00504580 upgrade level project] with the control's level c below 2 the loop looks at level c + 1 up to 2: a level whose cost (+0x180 + 0x40 x level, 0 where the type has no row) is above 0 becomes the next project, a level without one is written into the control's +0x14 and passed; a type of category 4 is left alone |
| TPW-EXE:0x00504580 upgrade level project | source/OpenTPW/Economy/ParkResearch.cs:187 | [BIN:TPW-EXE:0x00504580 upgrade level project] a completion's next level project is added at the array's end, so completions keep their order after the walk's projects |
| TPW-EXE:0x00504630 research step | source/OpenTPW/Economy/ParkResearch.cs:163 | [BIN:TPW-EXE:0x00504630 research step] when a project's points reach its cost the control's +0x10 becomes 1 and +0x14 the project's level |
| TPW-EXE:0x00504760 research group serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:919 | [BIN:TPW-EXE:0x00504760 research group serializer] the saved current project is kept as it is, offered by the picker now or not |
| TPW-EXE:0x00504760 research group serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:925 | [BIN:TPW-EXE:0x00504760 research group serializer] the group record's last byte is the category's highest group available, read back as it is (only the opener 0x503B80 raises it, per completed project): the saved value is the lab's, whatever the completed projects would give |
| TPW-EXE:0x00504760 research group serializer | source/OpenTPW/Economy/ParkResearch.cs:517 | [BIN:TPW-EXE:0x00504760 research group serializer] the group record's last byte is the category's highest group available (mHighestGroupAvailable); the lab's loader reads it back as it is and only the opener 0x503B80, run for each completed project, raises it |
| TPW-EXE:0x00504760 research group serializer | source/OpenTPW/Economy/ParkResearch.cs:556 | [BIN:TPW-EXE:0x00504760 research group serializer] the group record's current project index is read back as it is: the loader runs no picker over it (the picker 0x005034F0 only runs when the cursor's project is finished, 0x00504040) |
| TPW-EXE:0x00504BDC staff constructor | source/OpenTPW/Economy/OriginalEconomyImport.cs:572 | [BIN:TPW-EXE:0x00504BDC staff constructor] mJobsDone (+0x204) is set to 0 here and otherwise touched only by the serializer (0x00504EFC, 0x005052ED): nothing reads it, so it needs no import |
| TPW-EXE:0x00504C20 staff base speed | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:252 | [BIN:TPW-EXE:0x00504C20 staff base speed] 60 below grade 3, else 100; the entertainer constructor then fixes 60 (0x004D43EE), which a later grade does not change |
| TPW-EXE:0x00504C70 staff removal message | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:145 | [BIN:TPW-EXE:0x00504C70 staff removal message] message 10 naming +0x208: in state 3 the rest's end 0x00506D10 (the room's variable 0 − 1, +0x208 = 0, the model back, state 0), then the rest finder 0x00506910 and a route to the winner's access cell +0x36 (0x004FA530): +0x208 = it ("Found a rest area"), the state staying 0; in state 2 +0x208 = 0 and state 0. The removal (0x004DD0A0) unlinks the object (0x00519DC0) before it sends the message (0x0040FB10, delivered at once), so the finder no longer meets it |
| TPW-EXE:0x00504DE0 staff serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:473 | [BIN:TPW-EXE:0x00504DE0 staff serializer] grade (+0x1E4), percentage through the grade (+0x1E8), happiness (+0x1F8) and energy (+0x1FC) written as their truncated low byte, the hire stamp (+0x1F0) |
| TPW-EXE:0x00504DE0 staff serializer | source/OpenTPW/Hud/ParkHud.Staff.cs:221 | [BIN:TPW-EXE:0x00504DE0 staff serializer] a member's name is the inline mName[i] (+0x1A0) of the staff thing; a member from an original save keeps the saved one |
| TPW-EXE:0x00505490 staff pre-update | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:111 | [BIN:TPW-EXE:0x00505490 staff pre-update] on the member's phase ((thing id & 3) == (turn & 3); the roster id where the economy has no thing pool) the thought object's update 0x0050BE40 takes an old bubble away |
| TPW-EXE:0x005054D0 rest model | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:95 | [BIN:TPW-EXE:0x005054D0 rest model] state 3 takes the bubble away (0x0050C0D0) and frees the member's sprite model (0x004D4170); the rest's end 0x00506D10 creates it again with script 3, the stand (0x004D4140), before state 0: OpenTPW draws no sprite while he rests (StaffSpriteRules.SelectClip) and starts his clip afresh when the rest ends |
| TPW-EXE:0x005054D0 staff state setter | source/OpenTPW/Economy/OriginalEconomyImport.cs:519 | [BIN:TPW-EXE:0x005054D0 staff state setter] +0x200 is the turn an idle spell started (0 after any state but a patrol), which the idle states compare with IdleDuration[grade] |
| TPW-EXE:0x005054D0 state setter | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:17 | [BIN:TPW-EXE:0x005054D0 state setter] case 0 queues 3 (0x004FA460), 1 and 4 queue 9, 2 queues 1, 5 queues 0x13 after clearing the sprite angle (+0x1C), 6 queues 0x14; 3 and 7 delete the source (0x004D4170) |
| TPW-EXE:0x005054D0 striking | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:683 | [BIN:TPW-EXE:0x005054D0 striking] state 5 clears the person's angle (+0x1C = 0, the sprite heading sector 4: facing towards -Y) before it queues template 0x13 |
| TPW-EXE:0x005056E0 strike walk | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:96 | [BIN:TPW-EXE:0x005056E0 strike walk] state 4: the walk step and message 0x15; arrived or held: +0x188 = 0 and state 5 |
| TPW-EXE:0x00505709 staff model | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:124 | [BIN:TPW-EXE:0x00505709 staff model] state 4 thinks 21 on every update (priority 0: the bubble starts again each time) |
| TPW-EXE:0x00505790 staff removal | source/OpenTPW/Economy/ParkStaff.cs:614 | [BIN:TPW-EXE:0x00505790 staff removal] a dismissed member's thing is destroyed through the destroy request (0x0050B780 → 0x00516310): its slot is freed at the turn's end |
| TPW-EXE:0x005059A8 dismissal beam | source/OpenTPW/Economy/ParkEconomy.cs:2812 | [BIN:TPW-EXE:0x005059A8 dismissal beam] 0x505790 pays the wage (0x4D01F0, added to the wages row +0x1F7F0), then calls 0x4FA470(0x13) on the member's thing, particle 19 at its place, and the destroy request 0x50B780; a member the world has not placed has no place to beam at |
| TPW-EXE:0x00505A10 staff training | source/OpenTPW/Economy/ParkEconomy.cs:1572 | [BIN:TPW-EXE:0x00505A10 staff training] the training is a debit (0x004D01F0, money out) added to its own analyser word +0x1FA40, which no finance row shows; |
| TPW-EXE:0x00505EA0 drop | source/OpenTPW/World/Staff/StaffSpriteEvents.cs:64 | [BIN:TPW-EXE:0x00505EA0 drop] 0x004D4140(3, +0x24, +0x20) makes the source, then 0x005054D0(0) queues template 3 (0x004FA460); the constructors call 0x004D4140(3, ...) after the person base constructor and run the role's search, which queues its own template |
| TPW-EXE:0x00505EA0 drop sprite | source/OpenTPW/World/Staff/StaffPlacement.cs:440 | [BIN:TPW-EXE:0x00505EA0 drop sprite] the drop makes a fresh stand source and queues the stand (state 0); a placing click's constructor makes the source and runs the role's search instead (constructed) |
| TPW-EXE:0x00505FE0 rest area count | source/OpenTPW/World/Level.Staff.cs:427 | [BIN:TPW-EXE:0x00505FE0 rest area count] the arrival adds 1 to the rest area's script variable 0 (0x0055A0B0), the rest's end (0x00506D10) takes 1 away |
| TPW-EXE:0x00505FE0 walk to rest | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:93 | [BIN:TPW-EXE:0x00505FE0 walk to rest] the walk step: arrived, the rest area's script variable 0 (its thing +0x24, 0x0055A070 / 0x0055A0B0) + 1 and state 3; held (2): "couldn't get to his rest area", happiness −= HappyHitCosNoRestArea (clamped) and state 0 |
| TPW-EXE:0x005061D0 resting | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:94 | [BIN:TPW-EXE:0x005061D0 resting] energy +0x1FC += RecuperationRate[grade] (0x00785334 + 16 × grade) and happiness +0x1F8 += HappinessRecuperationRate[grade] (0x00785338), each clamped to 0..100; at an energy byte of 100 the rest ends (0x00506D10: the variable − 1, +0x208 = 0, state 0) and the type's search runs |
| TPW-EXE:0x00506300 strike turn | source/OpenTPW/Economy/ParkEconomy.cs:639 | [BIN:TPW-EXE:0x00506300 strike turn] the park-closed word (0x0051A280) and the uncached census 0x004C9130 (guests on a counted cell) |
| TPW-EXE:0x00506300 striking | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:97 | [BIN:TPW-EXE:0x00506300 striking] a world draw turns the member's heading at (draw & 7) == 0 (presentation); the park closed and empty ends the role's strike (0x004C9130, 0x005099A0; the economy's turn here); with the role's strike flag clear a route to entrance A (FixedItemInfo.EntranceAPos, 0x007855BC / 0x007855C0): state 1, else "couldn't find park entrance" and state 0 |
| TPW-EXE:0x00506580 claimant test | source/OpenTPW.Tests/ImportedAttractionClaimTests.cs:143 | [BIN:TPW-EXE:0x00506580 claimant test] only a mechanic's ride +0x218 or a handyman's toilet +0x21A can hold a claim past its turn + 100: a guard's claim is imported as saved and lapses on the query |
| TPW-EXE:0x00506910 rest finder | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:72 | [BIN:TPW-EXE:0x00506910 rest finder] the object list (game +0x1DA746, next at +0xC), flag +0x32 & 2, dx² + dy² of the cells unsigned and strictly smaller replaces, from 0xFFFFFFFF; no route test (the gate routes to the winner) |
| TPW-EXE:0x00506A40 strike and rest gate | source/OpenTPW/World/Staff/StaffWorldSimulation.Rest.cs:25 | [BIN:TPW-EXE:0x00506A40 strike and rest gate] the role's strike flag (0x00509990) and the park gates' variable 1 (0x0051A290 through game +0x1DA732, mParkGates: VAR_STATUS) equal to 1: +0x188 = 1, four world draws pick the point (draw % StrikeAreaSizeX + StartX, a draw's low byte, draw % SizeY + StartY, a byte; 0x007855EC..0x007855F8), a route (0x004FA5F0): state 4; no route: "Could not get to strike location" and on; the energy byte (+0x1FC) above RestLevel (0x00785324): the base speed from 0x0075C7F8 (byte / 20, 140 from 100), then the happiness byte (+0x1F8) at most 10 sends message 0x13, above 97 draws once (message 0x12 at (draw & 15) == 0); else message 0x14 and the rest finder 0x00506910: a route to its access cell (+0x36, 0x004FA530) stores it (+0x208) and sets state 2; else a draw and at (draw & 15) == 0 happiness −= HappyHitCosNoRestArea (0x00785328), clamped |
| TPW-EXE:0x00506D10 rest end | source/OpenTPW/Economy/OriginalEconomyImport.cs:705 | [BIN:TPW-EXE:0x00506D10 rest end] mRestArea (+0x208) names the rest area only while the member walks to it (state 2) or rests in it (state 3): the rest's end clears it |
| TPW-EXE:0x00506E50 set patrol area | source/OpenTPW/Economy/ParkStaff.cs:134 | [BIN:TPW-EXE:0x00506E50 set patrol area] stores the two corner cell ids at +0x20A and +0x20C; the area test 0x00506ED0 reads the first as the low corner |
| TPW-EXE:0x00506E90 clear patrol area | source/OpenTPW/Economy/ParkStaff.cs:143 | [BIN:TPW-EXE:0x00506E90 clear patrol area] +0x20A = 1 and +0x20C = 0x4000, cells (0, 0) and (127, 127); the employee panel's button 0x004B5B50 with 0 |
| TPW-EXE:0x00506ED0 patrol area test | source/OpenTPW/Economy/OriginalEconomyImport.cs:667 | [BIN:TPW-EXE:0x00506ED0 patrol area test] a cell id is y × 128 + x + 1: the test compares (id − 1) & 0x7F and (id − 1) >> 7 with both corners' |
| TPW-EXE:0x00506F30 into the patrol area | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:458 | [BIN:TPW-EXE:0x00506F30 into the patrol area] x = draw % (x1 − x0 + 1) + x0, y = draw % (y1 − y0 + 1) + y0; a path cell (0x004D8300, 0x00536310) that the route 0x004FA530 reaches ends the search; after 30 tries "Could not find or reach a destination" and message 0x16 |
| TPW-EXE:0x00507580 candidate name | source/OpenTPW/Economy/ParkStaff.cs:515 | [BIN:TPW-EXE:0x00507580 candidate name] R mod 35, drawn again while 0x005083F0 finds the name's text on a pool candidate (the 32 slots with +0xA set) or a hired member (thing types 4-8), at most 15 draws; the last one is kept even when it is taken |
| TPW-EXE:0x00507600 staff candidate | source/OpenTPW/Economy/ParkStaff.cs:720 | [BIN:TPW-EXE:0x00507600 staff candidate] the sub-type (+9) is the sprite variant the placement object takes when the candidate is picked up (0x507BF0); one past the role's banks is no variant this install can draw |
| TPW-EXE:0x0050761C staff candidate draws | source/OpenTPW/Economy/ParkStaff.cs:508 | [BIN:TPW-EXE:0x0050761C staff candidate draws] the constructor 0x00507600 draws, in order: the sprite variant (0x00541F70: (R >> 2) mod the role category's loaded bank count, candidate +9; here ParkStaff.SpriteDrawFrom takes the loaded count of the level's banks, the raw draw in a headless run, and VariantFrom the folder's count for the hashed variant), one draw it discards (0x0050762D), the grade (0x00507638), the name (0x00507580) and the timeout |
| TPW-EXE:0x005080A8 staff limits | source/OpenTPW/World/AdvisorScanStaff.cs:97 | [BIN:TPW-EXE:0x005080A8 staff limits] the hire count of a role is compared with the words 0x7852E8 (handyman), 0x7852EC (mechanic), 0x7852F0 (entertainer), 0x7852F4 (guard) and 0x7852F8 (researcher): the schema's MaxHandymenInPark to MaxResearchersInPark of StaffPoolInfo |
| TPW-EXE:0x005084F0 staff pool update | source/OpenTPW/Economy/ParkEconomy.cs:1103 | [BIN:TPW-EXE:0x005084F0 staff pool update] the staff manager's update runs from the world turn's tail (0x004D7B20), in every world state |
| TPW-EXE:0x005089C0 forced strike | source/OpenTPW/Economy/ParkEconomy.cs:611 | [BIN:TPW-EXE:0x005089C0 forced strike] the forced-strike word is 0 from the constructor and written only by the save loader 0x00508BB0, so the gate sees 0 in play as here |
| TPW-EXE:0x00508A30 prank message | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:74 | [BIN:TPW-EXE:0x00508A30 prank message] type 14: the prankster's cell's environment record (0x004D8410) word +6 (security) above 0, else nothing ("no security level"); the guard 0x005099C0: the guard list (game +0x1DA744, next at +0x210), states 0 and 1 (0x004D6330), the smallest dx² + dy² between the guard's cell and the receiver's (the staff HQ thing, always at cell (0, 0) in the shipped and played saves), strictly smaller replaces; none: "No guards available"; the chase starts in 0x004D6260 |
| TPW-EXE:0x00508E70 month gate | source/OpenTPW/Economy/ParkEconomy.cs:609 | [BIN:TPW-EXE:0x00508E70 month gate] staff vitals and strikes follow the traced routines: the month gate 0x00508E70, the escalation 0x00508F70 and the grievance 0x00509360; the month message comes from the calendar update 0x004F8260 with no game-type test, and the age stamp 0x004F8800 counts floor(turn × 3750) seconds from world turn 0 |
| TPW-EXE:0x00508E70 month gate | source/OpenTPW/Economy/ParkEconomy.cs:1918 | [BIN:TPW-EXE:0x00508E70 month gate] the staff manager reads it with age 5, the arrival target (0x004CF5B0) with 20 (0x14), the month sample (0x004C7720, 0x004C78C1) and the crowd sound (0x004C81E0) with 0 |
| TPW-EXE:0x00509031 staff messages | source/OpenTPW/Client/AutomaticAdvisor.cs:216 | [BIN:TPW-EXE:0x00509031 staff messages] the staff manager's month routine sends the staff info message (type 0x17, kind and role) that 0x59AFC0 turns into the advice 33-57; the kind and role are those of the strike message, whose text the advisor's caption then posts |
| TPW-EXE:0x00509360 handyman grievance | source/OpenTPW/Economy/ParkEconomy.cs:1037 | [BIN:TPW-EXE:0x00509360 handyman grievance] the handymen's litter grievance: the analyser's littered cells (0x004C8180) over its path, queue and type-9 cells (0x004C8150), as singles, above 0.2 (ParkLitter.Statistic) |
| TPW-EXE:0x00509360 handyman grievance | source/OpenTPW/World/ParkLitter.cs:187 | [BIN:TPW-EXE:0x00509360 handyman grievance] 0x004C8180(1) and 0x004C8150(1): the sums over the 1024 blocks, each read with age 1 |
| TPW-EXE:0x005099C0 guard choice | source/OpenTPW/World/Staff/StaffWorldSimulation.Guards.cs:108 | [BIN:TPW-EXE:0x005099C0 guard choice] executed by the x86 oracle (ORACLE.md X24): the prankster's cell argument is never read; d = dx² + dy² from the receiver's cell bytes +5 and +7, unsigned, strictly smaller replaces, the best starting at 0xFFFFFFFF; states 0 and 1 only (0x004D6330) |
| TPW-EXE:0x00509BF0 tag system | source/OpenTPW/Hud/ParkHud.AdvisorCaptions.cs:9 | [BIN:TPW-EXE:0x00509BF0 tag system] a category-24 message shows the text of its tag's record (0x0050AF40, field +0xC the TAG_SYSTEM entry) through 0x00509E10, which fills the record's parameter slots from the message's words, and posts it to the message tube (0x00481580) |
| TPW-EXE:0x00509E10 caption formatter | source/OpenTPW.Tests/AdvisorRecordWordsTests.cs:68 | [BIN:TPW-EXE:0x00509E10 caption formatter] the advisor's 353 captions use the cases 0, 2 and 5 to 8 only; the 36 texts with parameter slots are 194-206 and 248-256 (the ride and research lines, case 2), 434-463's ticket wins (cases 5 to 8) and 316/317 (case 0, whose slot nothing fills) |
| TPW-EXE:0x00509E10 caption formatter | source/OpenTPW/World/AdvisorCaptionArguments.cs:11 | [BIN:TPW-EXE:0x00509E10 caption formatter] the tag record's kind (+0x1C, at most 0x24) picks one of 23 cases through the byte table 0x50AEA0 and the jump table 0x50AE40; the arguments are the record 0x509CC6 builds from the category-24 message: the tag, the word +0xC (the record's id word) and the dword +0x14 (its cell word) |
| TPW-EXE:0x00509E6D plain case | source/OpenTPW/World/AdvisorCaptionArguments.cs:50 | [BIN:TPW-EXE:0x00509E6D plain case] the text is formatted with no arguments (0x6ACD60 with four stack arguments) |
| TPW-EXE:0x00509F09 object name case | source/OpenTPW.Tests/AdvisorCaptionTests.cs:60 | [BIN:TPW-EXE:0x00509F09 object name case] the response 194's tag 68 shows entry 71 with the ride's name in slot 0 |
| TPW-EXE:0x00509F09 object name case | source/OpenTPW/World/AdvisorCaptionArguments.cs:35 | [BIN:TPW-EXE:0x00509F09 object name case] the id is the low word of the record's second dword: 0 logs and writes nothing (0x509F15); else the type record (0x412F50 over the table 0x7890A0) hands the formatter its name (+0x410) as slot 0 |
| TPW-EXE:0x0050A014 ticket cases | source/OpenTPW/World/AdvisorCaptionArguments.cs:41 | [BIN:TPW-EXE:0x0050A014 ticket cases] 5 gives slot 1 the visitors threshold word 0x785790, 6 the guests-in-the-park word 0x785794 (0x50A074), 7 the yearly profit word 0x7857A0 (0x50A0D4); case 8 gives slot 2 the months 0x7857A8 and slot 1 the visitors 0x7857A4 (0x50A134) |
| TPW-EXE:0x0050A134 recent visitors ticket | source/OpenTPW.Tests/AdvisorCaptionTests.cs:66 | [BIN:TPW-EXE:0x0050A134 recent visitors ticket] the response 439's text names the visitors (slot 1) and the months (slot 2) of the ticket |
| TPW-EXE:0x0050B360 staff update | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:40 | [BIN:TPW-EXE:0x0050B360 staff update] each staff thing in list order: the type's pre-update, then its state handler (4 mechanic 0x00505490 / 0x004DA490, 5 handyman 0x004D7060 / 0x004D73C0, 6 entertainer 0x004D4660 / 0x004D4810, 7 guard 0x004D6360 / 0x004D6410, 8 researcher 0x00502960 / 0x005029F0) |
| TPW-EXE:0x0050B360 thing update | source/OpenTPW/Economy/ParkEconomy.cs:599 | [BIN:TPW-EXE:0x0050B360 thing update] the challenge system is a thing (type 0x13) of the same loop, which a lost park no longer runs |
| TPW-EXE:0x0050B360 thing update | source/OpenTPW/Economy/ParkEconomy.cs:1492 | [BIN:TPW-EXE:0x0050B360 thing update] the challenge system's day (0x004D1E90) is its thing update (type 0x13), which a lost park no longer runs |
| TPW-EXE:0x0050B360 thing update | source/OpenTPW/World/Level.Simulation.cs:371 | [BIN:TPW-EXE:0x0050B360 thing update] type 0xF is the weather's update 0x00512880, type 0x13 the challenge system's 0x004D1E90 |
| TPW-EXE:0x0050B6A0 thing move | source/OpenTPW/World/Guests/StaffCellChain.cs:9 | [BIN:TPW-EXE:0x0050B6A0 thing move] a move to another cell unlinks the thing from the old chain (0x004D9280) and inserts it at the new head (0x004D91F0); a move inside the cell only rewrites the position words +4/+6; the destroy request (0x0050B780) queues it and the turn's deferred destroys unlink it (0x00516641 → 0x0050B980 → 0x004D9280) |
| TPW-EXE:0x0050B780 | source/OpenTPW.Tests/WalkChainTests.cs:154 | [BIN:TPW-EXE:0x0050B780] a destroyed thing is kind 2 until the turn's deferred destroys unlink it |
| TPW-EXE:0x0050B780 destroy request | source/OpenTPW/World/Guests/GuestSimulation.cs:744 | [BIN:TPW-EXE:0x0050B780 destroy request] a leaving guest asks for its destruction (0x0050B780 → 0x00516310); the id is freed at the park turn's end (0x00516641) |
| TPW-EXE:0x0050B780 destroy request | source/OpenTPW/World/Guests/GuestSimulation.cs:1617 | [BIN:TPW-EXE:0x0050B780 destroy request] the request unlinks the thing from its cell's list at once (the jump table 0x0050B918 → 0x004FB330 → 0x004F8AE0 → 0x0050B980 → 0x004D9280 at 0x0050B9B8), then turns it into kind 2 (+2 = 2, +3 = 1) and queues it (0x00516310); only the id's free waits for the turn's deferred destroys (0x00516641), so a guest that has asked is no longer on the chain the head tests (the boarding at 0x00500C28) read |
| TPW-EXE:0x0050B780 destroy request | source/OpenTPW/World/ThingPool.cs:96 | [BIN:TPW-EXE:0x0050B780 destroy request] the request sets the thing's byte +3 to 1 (0x0050B8E9), queues the id (0x0050B8FD), then sets its type byte to 2 (0x0050B906) before returning; the thing sweep dispatches only things whose byte +3 is 0 (0x005163F0..0x005163F7), so a thing asked to go earlier in the turn is not updated again |
| TPW-EXE:0x0050BE40 bubble timer | source/OpenTPW/World/Guests/GuestSimulation.cs:1240 | [BIN:TPW-EXE:0x0050BE40 bubble timer] the needs phase ends with the thought object's update: a bubble whose stamp + 12 the turn has passed goes |
| TPW-EXE:0x0050BE80 bubble scripts | source/OpenTPW/World/Guests/ThoughtRenderer.cs:97 | [BIN:TPW-EXE:0x0050BE80 bubble scripts] ids 1-22 take the scripts 0x0074F250, 0x0074F280, 0x0074F2B0, 0x0074F2C8, 0x0074F310, 0x0074F268, 0x0074F2E0, 0x0074F208, 0x0074F190, 0x0074F1A8, 0x0074F1D8, 0x0074F1F0, 0x0074F1C0, 0x0074F220, 0x0074F238, 0x0074F298, 0x0074F2F8, 0x0074F328, 0x0074F340, 0x0074F358, 0x0074F370, 0x0074F388, whose first word (0x004768B0) sets these slots |
| TPW-EXE:0x0050BE80 thought | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:205 | [BIN:TPW-EXE:0x0050BE80 thought] a thought is stored at the thought object's +0 (mLastThought) and its bubble script at +0x84 (mThoughtScript), stamped with mTimeBubbleShown |
| TPW-EXE:0x0050BE80 thought | source/OpenTPW/World/Guests/GuestSimulation.cs:2539 | [BIN:TPW-EXE:0x0050BE80 thought] +0 = the thought; with bubbles on, the old bubble goes (0x00475550) and, when the turn has reached +0x8C + 20 × priority, a new one starts and +0x8C is stamped |
| TPW-EXE:0x0050BE80 thought bubble | source/OpenTPW/World/Guests/GuestThoughts.cs:66 | [BIN:TPW-EXE:0x0050BE80 thought bubble] ids 1-4, 7, 14: 1; 5, 6, 12, 13, 15, 16, 17 and the staff's 20-22: 0; 8-11 and 18: 3; 19: 2; any other id prints "Not a known thought!" and shows nothing |
| TPW-EXE:0x0050BE8D | source/OpenTPW.Tests/GuestRideBubbleTests.cs:146 | [BIN:TPW-EXE:0x0050BE8D] 0x50BE80 skips the bubble work while a bit of 0x16 of the camera word 0x790AB0 is set: the ride camera (4) and the walk camera (2), for every person's thought object, the staff's as well. |
| TPW-EXE:0x0050BE8D camera gate | source/OpenTPW/World/Guests/GuestSimulation.cs:2540 | [BIN:TPW-EXE:0x0050BE8D camera gate] the Level binds the gate: the ride camera and the walk camera (0x04 ride camera, 0x02 walk camera, of the camera word) skip the bubble work, no store sets bit 0x10 (Level.BindGuestThoughtPresentation). Online visits retain the existing online-bubbles-on extension. |
| TPW-EXE:0x0050BE8D camera gate | source/OpenTPW/World/Level.RideView.cs:13 | [BIN:TPW-EXE:0x0050BE8D camera gate] 0x50BE80 stores the thought, then returns before any bubble work when a bit of 0x16 of the camera word 0x790AB0 is set: the 0x04 bit is the ride camera (0x42AB20 with mode 4, called at 0x42A6BA; the test 0x42A410 beside the followed ride 0x790A44) and the 0x02 bit the walk camera (mode 2, called at 0x42AF26 from 0x42AE70); no store through the word's absolute address sets the 0x10 bit (all 85 references were read: the stores are an and/or of another bit, a clear, the camera saver and loader 0x42CE1B/0x42CF61, and the zero the loader writes at 0x42D04C) |
| TPW-EXE:0x0050BE8D camera gate | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:474 | [BIN:TPW-EXE:0x0050BE8D camera gate] the thought object's setter is the guests' (0x0050BE80): it stores the thought, then returns before any bubble work while the camera word 0x790AB0 has a bit of 0x16 set (the walk camera 2, the ride camera 4) |
| TPW-EXE:0x0050CC20 ray test | source/OpenTPW/World/Guests/GuestNavigation.cs:717 | [BIN:TPW-EXE:0x0050CC20 ray test] m = position − corner; a = d·d, b = 2 (d·m), c = m·m − r·r (FixMul each); disc = FixMul(b, b) − 4 FixMul(a, c); disc <= 0 returns 0x80000000; s = isqrt(disc) (0x4D49A0); min(s − b, −(s + b)) >> 1 |
| TPW-EXE:0x0050D150 nav_mode | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:219 | [BIN:TPW-EXE:0x0050D150 nav_mode] the walk mask +0xB4 (person +0x188) is saved in the navigation state: the constructor 0x0050FFE0 zeroes it and the reader, called at 0x004F925E with ECX = person + 0xD4, loads it as saved |
| TPW-EXE:0x0050DF70 fixed multiply | source/OpenTPW/World/Guests/GuestNavigation.cs:94 | [BIN:TPW-EXE:0x0050DF70 fixed multiply] imul, then (edx << 16) | (eax >> 16) for each component |
| TPW-EXE:0x0050E080 fixed divide | source/OpenTPW/World/Guests/GuestNavigation.cs:98 | [BIN:TPW-EXE:0x0050E080 fixed divide] edx:eax = a sign-extended and shifted left 16, idiv b |
| TPW-EXE:0x0050E4A0 avoid_walls | source/OpenTPW/World/Guests/GuestNavigation.cs:648 | [BIN:TPW-EXE:0x0050E4A0 avoid_walls] probe 0x50F870 (position + FixMul(velocity, ONE)); cell 0x5104B0 of +8/+0xC; direction = velocity / length (0x50E080) unless the length is 0; edges +X (limit (cx + 1) << 16 − radius, probe above it), −X (cx << 16 + radius, probe below), +Y, −Y, the first pushing returns 2 × (limit − probe); corners by quadrant (+X+Y 0x50E75E, −X+Y 0x50E8B3, −X−Y 0x50EA07, +X−Y 0x50EB5E): the diagonal cell blocked towards the cell's row or column, both side cells open towards the cell, the ray 0x50CC20 hitting at t with 0 < t <= length gives FixDiv(position + FixMul(direction, t) − corner, radius) |
| TPW-EXE:0x0050ED10 follow_path | source/OpenTPW/World/Guests/GuestNavigation.cs:741 | [BIN:TPW-EXE:0x0050ED10 follow_path] stamp 0x4D8CD0(x >> 20, y >> 20) above +0x48 sets up again in mode 1 (failure: +0xB8 = 1, "The ground changed under this peep"); unless arrived, a remaining measure short of ONE with the 0x50FD40 progress short of ONE counts the history bits 0..14, (bits << 32) / 0xF0000 above 0x6665 sets up in mode 1 (failure: +0xB8 = 1); with waypoints and not arrived: index == +0x54 − 1 aims at +0x4C/+0x50 and arrives at octile < FixMul(radius, 0x19999); else a waypoint centre within octile < FixMul(radius, 0x20000) is passed (+0xA4 −= its segment), and the index reaching +0x58 sets up in mode 0; below +0x54 − 1 the force is (aim − position) − velocity, else the ramp min(FixDiv(|aim − position|, 2.0), +0x1C) along it less the velocity; otherwise −velocity (0x50F1A0) |
| TPW-EXE:0x0050F3B0 steering step | source/OpenTPW/World/Guests/GuestNavigation.cs:800 | [BIN:TPW-EXE:0x0050F3B0 steering step] behaviours in list order (avoid_walls 0xE666, follow_path 0x8000, separation), each truncated to +0x18 (0x50F600) and FixMul-weighted; the sum truncated to +0x18 and FixDiv by ONE; +0x10 = truncate(+0x10 + force, +0x1C); the commit 0x510510 from the old position's cell to the new one's with +0xB4 (refused: +0xB0 = +0xB0 << 1 | 1, the position kept); then +0xB0 = +0xB0 << 1 | (0x50FD40 <= +0xAC) and +0xAC = the progress |
| TPW-EXE:0x0050F600 vector truncate | source/OpenTPW/World/Guests/GuestNavigation.cs:107 | [BIN:TPW-EXE:0x0050F600 vector truncate] the length of 0x4D49A0 (exact below 2^12, else in units of 2^8 or 2^18); unchanged when below the maximum, else each component FixMul(c, FixDiv(maximum, length)) |
| TPW-EXE:0x0050F8E0 stuck result | source/OpenTPW/World/Guests/GuestSimulation.cs:2178 | [BIN:TPW-EXE:0x0050F8E0 stuck result] a failed search of a set-up (0x50F945) or of a reroute in follow_path (0x50ED7E, 0x50EE7E: the changed ground or a stalled progress) sets walk +0xB8 (guest +0x18C), and the walk step 0x004FA2A0 then returns 2 until the next destination (GuestNavigation.Stuck); the bin walk of state 9 drops its litter on 2 (0x004FFF20) |
| TPW-EXE:0x0050F8E0 walk set-up | source/OpenTPW/World/Guests/GuestNavigation.cs:570 | [BIN:TPW-EXE:0x0050F8E0 walk set-up] start bytes = position >> 16, goal = target >> 16; 0x511420 with the mask +0xB4; on 0x70000000: +0x4C/+0x50 = target, +0x54, +0x58, +0xA0..+0xB0, +0x5C = 0, +0x60 = 1, +0xB8 = 1, return 0; mode 1 shifts the result one place and puts the position's cell first (count + 1 below 0xFC); +0x54 = count, +0x58 = min(count, 5); +0xA0 = octile(waypoint 0 − position) + every segment; +0x64.. the buffered centres (cell << 16 | 0x8000); +0x8C.. and +0xA4 the buffered segments; +0xA8 the segments beyond; +0xAC, +0xB0, +0x5C, +0x60, +0xB8 = 0; +0x48 = the stamp counter 0x4D8C50 |
| TPW-EXE:0x0050FD40 progress | source/OpenTPW/World/Guests/GuestNavigation.cs:627 | [BIN:TPW-EXE:0x0050FD40 progress] +0x60 == 1 gives 0x10000; remaining = octile(+0x64[+0x5C] − position) + +0xA4 + +0xA8; +0xA0 == 0 gives 0x10000; else 0x10000 − (remaining << 16) / +0xA0 (idiv) |
| TPW-EXE:0x00510190 speed setter | source/OpenTPW/World/Guests/GuestNavigation.cs:1185 | [BIN:TPW-EXE:0x00510190 speed setter] fld s, fcomp 0x007009A0 (2.0), test ah, 0x41: a speed above 2.0 (not below, not equal, not unordered) becomes 2.0; +0x18 = _ftol(s × the double at 0x007009A8 = 26214.4), +0x1C = _ftol(s × the double at 0x007009B0 = 13107.2); each below 0x28F (655, signed) is raised to 655 |
| TPW-EXE:0x005102F0 | source/OpenTPW.Tests/WanderTests.cs:309 | [BIN:TPW-EXE:0x005102F0] the neighbour query keeps the classes 1, 4 to 8 and 18 of a cell's thing list |
| TPW-EXE:0x005102F0 separation neighbour query | source/OpenTPW/World/Guests/GuestSimulation.cs:1571 | [BIN:TPW-EXE:0x005102F0 separation neighbour query] the cells around the stepping thing, rows from the top and each row from the left; in each cell the one thing chain from its head (cell +0x24, next +0x0A): every thing whose kind byte (+2) is 1 (guest), 4 to 8 (staff) or 0x12 (the online avatar) and is not the caller's own, with no test of its state, within the radius by the position words +4/+6, at most five in all (0x51045A..0x51045E) |
| TPW-EXE:0x005102F0 staff separation query | source/OpenTPW/World/Staff/StaffWorldSimulation.Handymen.cs:513 | [BIN:TPW-EXE:0x005102F0 staff separation query] the same query as the guests': the cell's one thing chain from its head, guests and staff interleaved by the time each entered the cell (WALK-003), every state |
| TPW-EXE:0x00510510 step commit | source/OpenTPW/World/Guests/WalkSearch.cs:149 | [BIN:TPW-EXE:0x00510510 step commit] a step of more than one cell in x or y is refused ("walking so fast"); an orthogonal step tests its edge; a diagonal step (up-right, right-down, down-left, up-left: first edge −Y, +X, +Y, −Y) is accepted when the first edge and then the second from that neighbour are open, else refused when the second edge from the start is blocked, else decided by the first edge from the second neighbour; the caller 0x50F3B0 passes the cells of the old and new positions (0x510870: −1 outside 0..127) and the mask +0xB4 |
| TPW-EXE:0x005108A0 refinement | source/OpenTPW/World/Guests/WalkSearch.cs:543 | [BIN:TPW-EXE:0x005108A0 refinement] for i while i + 1 < count: a search 0x511470 (limit 60000, counter reset) from the start or waypoint i − 1 to waypoint i + 1 replaces waypoints i and i + 1 when it succeeds, does not pass waypoint i before its last cell and keeps at most 0xFC waypoints; then the shortcuts from max(0, i − 4) and the scan restarts; the ninth replacement returns; the final pass (0x510A1E) inserts, before a waypoint one diagonal step from the previous one, the neighbour (−sx, 0) or (0, −sy) of it whose L-shaped route is open when the other side's corner is blocked (fewer than 0xFC waypoints) |
| TPW-EXE:0x005110D0 shortcuts | source/OpenTPW/World/Guests/WalkSearch.cs:460 | [BIN:TPW-EXE:0x005110D0 shortcuts] the anchor is the start or waypoint from − 1; for k = 4 down to 1 the line 0x511350 to waypoint read + k is tried: a blocked edge fails it, and after the first step a change of direction fails it when the corner on the new cell or on the previous cell is cut off (0x5111F4..0x51128F); a success skips to read + k, else waypoint read is kept as the new anchor; the pass repeats while it changed anything |
| TPW-EXE:0x00511350 line setup | source/OpenTPW/World/Guests/WalkSearch.cs:223 | [BIN:TPW-EXE:0x00511350 line setup] |dx|, |dy|; the y step is +Y when dy ≥ 1 else −Y, the x step +X when dx ≥ 1 else −X; a zero dx takes the y step for both, a zero dy the x step; the error starts at |dx|/2 + |dy|/2 |
| TPW-EXE:0x00511420 route search | source/OpenTPW/World/Guests/WalkSearch.cs:207 | [BIN:TPW-EXE:0x00511420 route search] clears the result count and the step counter 0x7CF3A4, stores the mask in 0x7CF3C0, runs 0x511470 with the limit 60000 and the refinement 0x5108A0; the result is the step count or 0x70000000 (failed) |
| TPW-EXE:0x00511420 staff route | source/OpenTPW/Economy/IMechanicJobWorld.cs:9 | [BIN:TPW-EXE:0x00511420 staff route] in a level the staff route with the original's search and edge test from any cell (0x00511420, 0x004D8750; the walk mask +0x188 is 0 but for a strike walk and a guard's second route to the booth), claim a ride only after the route succeeds (0x004FA530, 0x004E01F0) and otherwise patrol or idle (0x004F9490) |
| TPW-EXE:0x00511470 line search | source/OpenTPW/World/Guests/WalkSearch.cs:286 | [BIN:TPW-EXE:0x00511470 line search] the line steps while its edge is open; a change of step direction after the first step appends the new cell when the corner it cuts is blocked (0x511AEB..0x511BC7); at a blocked edge the cell is appended and two tracers start there, one turning right (0x511616, direction + 1, turn −1) and one left (0x511C90, direction − 1, turn +1); they step alternately until one may leave the wall (0x32), both overflow (0x33) or they meet head on, which fails; the winner's cells and position are appended, the shortcuts 0x5110D0 run from 0 and the line starts again from the last waypoint; the goal is appended on arrival (fewer than 0xFA waypoints), and reaching the step limit fails |
| TPW-EXE:0x00511C90 boundary tracer | source/OpenTPW/World/Guests/WalkSearch.cs:403 | [BIN:TPW-EXE:0x00511C90 boundary tracer] a blocked edge turns the tracer by −turn and records its cell; else it moves and turns by +turn when that edge is open, recording the cell; more than 0xFB recorded cells end it (0x33); it leaves (0x32) unless the goal lies behind its turned or its own heading, or its cell is outside the box of the hit point and the goal, or it stands on the hit point |
| TPW-EXE:0x005156A0 park setup | source/OpenTPW/Client/AutomaticAdvisor.cs:119 | [BIN:TPW-EXE:0x005156A0 park setup] after the init (0x5159C8) the setup constructs the gates and the lights (0x515BE1, 0x515C94), which stamp the object word again at the same turn 0: a new park's newest standing object |
| TPW-EXE:0x005156A0 world setup | source/OpenTPW/World/Level.Things.cs:18 | [BIN:TPW-EXE:0x005156A0 world setup] the world's constructor builds the singletons, then the gates and the lights; a loaded save replaces them with its chain (the loader 0x005179C0 → 0x00518D43) |
| TPW-EXE:0x005156A0 world setup | source/OpenTPW/World/ThingPool.cs:210 | [BIN:TPW-EXE:0x005156A0 world setup] the constructors run in this order: 0x5089C0 (model 9), 0x4DA920 (10), 0x599E70 (11), 0x509B40 (12), 0x4C58C0 (13), 0x502D20 (14), 0x511F70 (15), 0x4CF7C0 (16), 0x50C9B0 (17), 0x4D1BD0 (19), then the gates and the lights through 0x4DB090 (0x515BE1, 0x515C94), each through the base constructor 0x50AFE0 and the allocator; the jungle level's shipped save lists them as thing ids 1 to 10 with these models and ids 11 and 12 as attractions |
| TPW-EXE:0x005156A0 world setup fixed items | source/OpenTPW/World/Objects/ParkObjects.cs:855 | [BIN:TPW-EXE:0x005156A0 world setup fixed items] world setup creates the definitions named "gates" (wide literal 0x762448) and "lights" (0x762454) through 0x4db090 (case-insensitive compare 0x67b140); a missing definition logs "Could not find the gates feature" or the LIGHTSNAME message; a loaded save then restores the handles (writer 0x517076) |
| TPW-EXE:0x00515F30 pool init | source/OpenTPW/World/ThingPool.cs:47 | [BIN:TPW-EXE:0x00515F30 pool init] 10239 slots of 0x14 bytes from 0x7CFB90 (slot 0 is the empty sentinel), each slot's id its index, chained into the free list in ascending order (slot 1 first, 0x515F5B..0x515F75; the last id is 0x27FF = 10239, 0x515F8F); the used list (head 0x7CF56C) is empty |
| TPW-EXE:0x00516200 free | source/OpenTPW/World/ThingPool.cs:49 | [BIN:TPW-EXE:0x00516200 free] the slot leaves the used list (0x516216..0x516238) and becomes the new head of the free list (0x51624B..0x516254): the next allocation takes the slot freed last |
| TPW-EXE:0x00516270 allocate | source/OpenTPW/World/ThingPool.cs:48 | [BIN:TPW-EXE:0x00516270 allocate] the free list's head is taken (0x516271), a full pool logs "FATAL ERROR - Thing Array is full!" and gives id 0 (0x516279..0x516290); the slot becomes the new head of the used list (its older link +8 the old head, 0x5162BB..0x5162D4) and the id is the slot's index (0x5162FA) |
| TPW-EXE:0x00516310 deferred destroy | source/OpenTPW/World/ThingPool.cs:50 | [BIN:TPW-EXE:0x00516310 deferred destroy] a destroy request (0x50B780) puts the id at the head of a queue (0x51AD40); the park turn's end (0x516641..0x516691) takes the head again and again, freeing each slot (0x516200), so a turn's destroys are freed last request first |
| TPW-EXE:0x00516330 world generator | source/OpenTPW/World/WorldRng.cs:12 | [BIN:TPW-EXE:0x00516330 world generator] ecx + 0x1DA708 = s; imul eax, 0x19660D; add 0x3C6EF35F; store; ror 13; store the rotated value as the state; neg when negative (0x00516355..0x0051635F) |
| TPW-EXE:0x00516330 world rng | source/OpenTPW/World/Tracks/BumpController.cs:1524 | [BIN:TPW-EXE:0x00516330 world rng] the jitter is the buoy radius / 2 minus a world-generator draw modulo the radius; the new draw goes to X and the previous X to Y |
| TPW-EXE:0x00516370 world reseed | source/OpenTPW/World/WorldRng.cs:13 | [BIN:TPW-EXE:0x00516370 world reseed] stores its one argument as the state (mov [ecx + 0x1DA708], eax) |
| TPW-EXE:0x00516380 | source/OpenTPW.Tests/GuestTurnSweepTests.cs:98 | [BIN:TPW-EXE:0x00516380] the sweep walks the pool's used list from its head, the thing built last (0x5163A4, each slot's older link after the update, 0x516413..0x516431): of three guests that all read an exit counter of zero in the same turn, the one made last is updated first (it goes home). |
| TPW-EXE:0x00516380 guest update only in the turn | source/OpenTPW/World/Guests/GuestSimulation.cs:682 | [BIN:TPW-EXE:0x00516380 guest update only in the turn] a guest's thing update runs only in the park turn's thing sweep (0x5163FB -> 0x50B360, once per eight substeps, 0x54F668), newest thing first through the pool's list; the turn then frees its destroy requests (0x516641) and ends with the arrival update (0x516695 -> 0x4D7B20 -> 0x4CF3E0), so a guest the arrival makes is not updated in the turn that made it |
| TPW-EXE:0x00516380 park turn walk | source/OpenTPW/Economy/ParkEconomy.cs:2865 | [BIN:TPW-EXE:0x00516380 park turn walk] the per-turn thing loop is skipped while the world state +0x1DA738 is 4, which the bank's bankruptcy message sets (0x005168F0, ECON-030): no booth guest pays after bankruptcy |
| TPW-EXE:0x00516380 park turn walk | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1447 | [BIN:TPW-EXE:0x00516380 park turn walk] the park update runs once per park turn (the main loop calls it when its 31 ms substep counter & 7 == 0, 0x0054F668) and dispatches every live-list thing whose pointer is set and whose byte +3 is 0 (0x005163F0..0x005163F7, no type, state or id test; the whole walk is skipped while world mode +0x1DA738 is 4, the turn still counting, 0x00516395, DET-plan §2.1) to 0x0050B360: a ride (type 3) runs 0x004E0B90, then the state dispatch 0x004E0E00, whose state 0 runs the admission 0x004E1220 once (0x004E14E0); a guest (type 1) runs 0x00501650, then 0x005019F0, whose state 11 is 0x004FFFF0; OpenTPW's lastAdmissionTurn and LastQueueUpdateTurn guards give the same once-per-turn cadence |
| TPW-EXE:0x00516380 sweep order | source/OpenTPW/World/Guests/GuestSimulation.cs:872 | [BIN:TPW-EXE:0x00516380 sweep order] a swept turn runs this update after the thing sweep and the turn's destroys, as the original does (the end of 0x516380, Level.RunThingSweep); an original save's vehicle at work and cached vehicle handles come back by thing id (ImportOriginalArrivals, [BIN:TPW-EXE:0x005179C0 world loader]) |
| TPW-EXE:0x00516380 thing loop | source/OpenTPW/Client/AutomaticAdvisor.cs:506 | [BIN:TPW-EXE:0x00516380 thing loop] the turn word (+0x1DA70C) is incremented and the thing list walked (0x50B360 per thing; the advisor's case 0x50B3F1-0x50B437 calls 0x59A550 unless the game type is 1) only while the world state +0x1DA738 is not 4 (0x516395-0x51639E): turns that pass while the park is lost or paused are never scanned, so the turn is taken as the new start without a catch-up |
| TPW-EXE:0x00516380 thing sweep | source/OpenTPW/World/Level.Simulation.cs:343 | [BIN:TPW-EXE:0x00516380 thing sweep] the walk starts at the used list's head (the pointer 0x7CF56C, read at 0x5163A4; its slot id is at +4); the slot table is 0x7CFB90, indexed at 0x5163E7 (id × 5, stride 20; 0x5163C0 reads entry 0 only for the assert) and the older link is read at 0x516416, the thing built last, and takes each slot's older link after the update (0x516413..0x516431); the things built during the walk |
| TPW-EXE:0x00516380 thing update | source/OpenTPW/World/Guests/GuestSimulation.cs:1106 | [BIN:TPW-EXE:0x00516380 thing update] the guest's update (0x5019F0 through the thing's type switch 0x50B360) is called only from the turn's sweep (0x5163FB); nothing else steps a guest, so its state handlers, walk steps and draws run on the turn's tick alone |
| TPW-EXE:0x00516380 world update | source/OpenTPW/Economy/ParkEconomy.cs:477 | [BIN:TPW-EXE:0x00516380 world update] the thing loop (staff, rides, guests, the challenge system: 0x0050B360 by thing type) runs only while the world state (+0x1DA738) is not 4; |
| TPW-EXE:0x00516380 world update | source/OpenTPW/World/Level.Simulation.cs:124 | [BIN:TPW-EXE:0x00516380 world update] a lost park (world state 4, ParkEconomy.IsBankrupt) runs no thing updates: the guests and the staff walks stop, the ride scripts (the RSSE tick) go on |
| TPW-EXE:0x0051643B gate retry | source/OpenTPW/World/Level.Simulation.cs:427 | [BIN:TPW-EXE:0x0051643B gate retry] every 30th turn the park's gate thing is asked to close a closed, empty park (the walk above has ended, 0x516442..0x516641) |
| TPW-EXE:0x0051643B lost park turn | source/OpenTPW/World/Level.Simulation.cs:150 | [BIN:TPW-EXE:0x0051643B lost park turn] a lost park (world state 4) still runs the turn: its counter, the gate retry, the destroys and the world tail with the arrival update (0x4D7B20); only the thing walk is skipped |
| TPW-EXE:0x00516641 deferred destroy | source/OpenTPW/World/Level.Simulation.cs:429 | [BIN:TPW-EXE:0x00516641 deferred destroy] the turn's destroy requests are carried out last request first once the walk and the gate retry are over (0x516641..0x516691) |
| TPW-EXE:0x00516641 turn's end | source/OpenTPW/World/Level.Simulation.cs:190 | [BIN:TPW-EXE:0x00516641 turn's end] the park turn ends by freeing the things that asked for their destruction, last request first (0x00516310, 0x00516200); a swept turn has done it already, and a park whose |
| TPW-EXE:0x00516695 world turn tail | source/OpenTPW/World/Level.Simulation.cs:431 | [BIN:TPW-EXE:0x00516695 world turn tail] 0x004D7B20 then runs the arrival update (0x004CF3E0), the staff pool (0x005084F0), the calendar (0x004F8260) and every 100th turn the golden ticket step (0x004D4A00) |
| TPW-EXE:0x005168F0 park lost | source/OpenTPW/Economy/ParkEconomy.cs:1743 | [BIN:TPW-EXE:0x005168F0 park lost] world state = 4; every live thing of type 3 with flag +0x32 bit 4 gets VAR_BREAKSTAT = 1 (0x004E0DB0, "Object %d requested breakdown"); the door routine 0x00519EF0(0, 1) writes only the gate script's variable 0 = 2 |
| TPW-EXE:0x005168F0 park lost | source/OpenTPW/Hud/ParkHud.LossWindow.cs:77 | [BIN:TPW-EXE:0x005168F0 park lost] the bank's message sets the world state 4 and calls 0x481B50 -> 0x48AC40, the loss window; [BIN:TPW-EXE:0x004815E0 level load] a loaded park whose world state is 4 runs 0x48ADB0 instead, the overlay without the camera |
| TPW-EXE:0x005168F0 park lost | source/OpenTPW/World/ParkGate.cs:157 | [BIN:TPW-EXE:0x005168F0 park lost] the thing walk calls 0x004E0DB0 (0x0055A0B0(script, 4, 1): variable 4, VAR_BREAKSTAT) for each live thing of type 3 with +0x32 bit 4, then 0x00519EF0(0, 1) |
| TPW-EXE:0x00516B31 finale object | source/OpenTPW/World/Objects/ParkFinale.cs:24 | [BIN:TPW-EXE:0x00516B31 finale object] finds End case-insensitively, constructs it at the fixed-item origin and stores its thing handle; 0x481B60 then opens the winning screen (0x48AE70) |
| TPW-EXE:0x00516B8B finale construction | source/OpenTPW/World/Level.Finale.cs:49 | [BIN:TPW-EXE:0x00516B8B finale construction] End is constructed with the common object constructor 0x004DB090, so it gets its economy record like an arrival vehicle |
| TPW-EXE:0x00516BC7 missing End | source/OpenTPW/World/Objects/ParkFinale.cs:31 | [BIN:TPW-EXE:0x00516BC7 missing End] without the definition the original logs "Could not find the %s feature", keeps a zero handle and still calls 0x481B60 with no thing, whose ride camera call (0x4E15B0) reads through it; a catalogue without End starts nothing here |
| TPW-EXE:0x00516C00 winning sequence active | source/OpenTPW/World/Objects/ParkFinale.cs:10 | [BIN:TPW-EXE:0x00516C00 winning sequence active] the bank tests whether the finale's thing handle is nonzero. |
| TPW-EXE:0x00516C10 winning sequence exit | source/OpenTPW/World/Objects/ParkFinale.cs:36 | [BIN:TPW-EXE:0x00516C10 winning sequence exit] requests destruction of the winning thing (0x50B780), clears its handle and leaves the ride camera (0x42A190); the script destructor clears DIPMUSIC (0x558513). |
| TPW-EXE:0x00516C80 world variables | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:82 | [BIN:TPW-EXE:0x00516C80 world variables] mNumberOfVisitorsToDate (+0x1DA714) is the park's visitor count, which 0x0051AAF0 counts up for each guest that walks into the park |
| TPW-EXE:0x0051710F world generator word | source/OpenTPW/Economy/OriginalEconomyImport.cs:166 | [BIN:TPW-EXE:0x0051710F world generator word] the world writer saves the u32 at world +0x1DA708 raw under the name "mRandomSeed" (0x00517123 with the name at 0x00762924) and the loader reads it back raw (0x00517DFC): it is the whole state of the one world generator 0x00516330, which the park continues from |
| TPW-EXE:0x005179C0 saved staff lists | source/OpenTPW/Economy/OriginalEconomyImport.RoleOrder.cs:5 | [BIN:TPW-EXE:0x005179C0 saved staff lists] world heads survive loading independently of the global thing chain; |
| TPW-EXE:0x005179C0 world loader | source/OpenTPW/Economy/OriginalEconomyImport.cs:291 | [BIN:TPW-EXE:0x005179C0 world loader] the analyser case zeroes the six stamps (0x518A43-0x518A85) and runs the serializer's load (0x518ABA), which reads them back raw (0x4C7289, 0x4C72B3); the analyser constructor 0x4C58C0, which stamps a new park's time, runs only in the new-world setup 0x5156A0, and the loader builds the staff through 0x518E20 and their role serializers, not through the staff init 0x504B90 that restamps mLastStaffHired, and no object through 0x4DB090: a loaded park keeps the saved words until its next construction or hire |
| TPW-EXE:0x005179C0 world loader | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:15 | [BIN:TPW-EXE:0x005179C0 world loader] the words +0x1DA72C, +0x1DA72E, +0x1DA730 (the cached bus, seaplane and Ferry handles), +0x1DA72A (the vehicle at work) are read raw as 16-bit values (0x00517A56..0x00517B8A); nothing checks them afterwards |
| TPW-EXE:0x005179C0 world loader | source/OpenTPW/World/Guests/GuestSimulation.cs:872 | [BIN:TPW-EXE:0x00516380 sweep order] a swept turn runs this update after the thing sweep and the turn's destroys, as the original does (the end of 0x516380, Level.RunThingSweep); an original save's vehicle at work and cached vehicle handles come back by thing id (ImportOriginalArrivals, [BIN:TPW-EXE:0x005179C0 world loader]) |
| TPW-EXE:0x0051861C queue-join happiness | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:164 | [BIN:TPW-EXE:0x0051861C queue-join happiness] the thing-list loader stores 0 in +0x20C right after the constructor and the guest serializer does not save it, so the happiness at joining a queue (read by the use satisfaction 0x004FDA1B) is 0 until the guest joins again |
| TPW-EXE:0x00518D43 free list rebuild | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:430 | [BIN:TPW-EXE:0x00518D43 free list rebuild] a load keeps every saved thing in its slot, so the unused slots (and with them the next ids) are those the save leaves free |
| TPW-EXE:0x00518D43 free list rebuild | source/OpenTPW/World/Guests/GuestSimulation.cs:4944 | [BIN:TPW-EXE:0x00518D43 free list rebuild] a load keeps each saved thing in its own slot and rebuilds the free list from the unused slots in ascending order |
| TPW-EXE:0x00518D43 free list rebuild | source/OpenTPW/World/OriginalThingSlots.cs:13 | [BIN:TPW-EXE:0x00518D43 free list rebuild] the free list is rebuilt from the slots no saved thing occupies, so an unbuilt thing must not give its slot back |
| TPW-EXE:0x00518D43 free list rebuild | source/OpenTPW/World/ThingPool.cs:51 | [BIN:TPW-EXE:0x00518D43 free list rebuild] a load keeps the saved things in their slots and rebuilds the free list from the unused slots in ascending order (0x518D50..0x518D7A) |
| TPW-EXE:0x00518F90 people list | source/OpenTPW/World/Guests/BalloonRenderer.cs:139 | [BIN:TPW-EXE:0x00518F90 people list] the balloons are placed in the order tp.exe walks its live thing list (head 0x7CF56C, the newest thing first, class 1, 4 to 8 and 18 call the placement 0x004FA030), so each balloon takes the bob phase the original gives it |
| TPW-EXE:0x00519D80 object list insert | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:308 | [BIN:TPW-EXE:0x00519D80 object list insert] the constructor 0x004DB090 pushes each new object at the head of the list (game +0x1DA746, next +0xC); the saver 0x00516C80 and the loader 0x005179C0 keep the head word and each next word as they are (the attraction serializer 0x004DB7D0), so the list from the head is the objects newest first, whatever slots their things took |
| TPW-EXE:0x00519EF0 door routine | source/OpenTPW/World/ParkGate.cs:158 | [BIN:TPW-EXE:0x00519EF0 door routine] with the second argument set it only writes 2 to the gate script's variable 0 (0x0055A0B0(script, 0, 2)) and returns |
| TPW-EXE:0x00519EF0 open/close events | source/OpenTPW/Client/AutomaticAdvisor.cs:320 | [BIN:TPW-EXE:0x00519EF0 open/close events] the door routine posts event 3 (0x51A033) or 4 (0x51A1C6) on every press of the open/close button (control 0x4F3B1) and of the Ctrl-O/Ctrl-C shortcuts (0x40C410), also when the park is already in that state; it is not the economy's transition |
| TPW-EXE:0x00519EF0 park door closes the rides | source/OpenTPW/World/Guests/GuestSimulation.cs:1165 | [BIN:TPW-EXE:0x00519EF0 park door closes the rides] the door closes every openable object (0x004DF300: open word 0, loading slot cleared; ParkGate.DoorMoved), and a closed ride's update dismisses its queue head, one per turn (RideVisitorBridge.HostStep, 0x004E1220 → 0x004E0450 → 0x005012F0), after which state 6 sends the guest home; a guest walking to a ride drops its target in state 10 (UpdateGoingToRide, 0x004FFEB9) |
| TPW-EXE:0x00519EF0 park door routine | source/OpenTPW/Hud/ParkHud.GuestManagement.cs:126 | [BIN:TPW-EXE:0x00519EF0 park door routine] the advisor's game event 3 (open) or 4 (close), as the host's press posts it; a guest's only for its accepted request |
| TPW-EXE:0x00519EF0 park door routine | source/OpenTPW/Hud/ParkHud.Management.cs:56 | [BIN:TPW-EXE:0x00519EF0 park door routine] every press posts the advisor's game event 3 (open) or 4 (close), also when the park was already in that state or a bankrupt park refuses to open |
| TPW-EXE:0x0051A2F0 vehicle dispatch | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:16 | [BIN:TPW-EXE:0x0051A2F0 vehicle dispatch] a handle is the vehicle thing's id: the kind created at 0x0051A59B stores its handle at +0x1DA72C + 2 × kind and at +0x1DA72A, and the status read 0x0051A690 goes through the thing; the kind of the vehicle at work is the cached handle it equals (0x0051AAD0 compares it with the bus's) |
| TPW-EXE:0x0051A2F0 vehicle dispatch | source/OpenTPW/World/Guests/GuestSimulation.cs:979 | [BIN:TPW-EXE:0x0051A2F0 vehicle dispatch] with +0x1DA72A set only variable 0 = 1 (0x0051A649); else kind = size − 1, or for size 0 |rotr(s·0x19660D + |
| TPW-EXE:0x0051A2F0 vehicle on demand | source/OpenTPW/World/Objects/ParkObjects.cs:856 | [BIN:TPW-EXE:0x0051A2F0 vehicle on demand] the bus, seaplane and Ferry are created by the vehicle dispatch the first time each is sent (0x004DB090 at 0x0051A57E), never at setup |
| TPW-EXE:0x0051A34B world generator copy | source/OpenTPW/World/WorldRng.cs:14 | [BIN:TPW-EXE:0x0051A34B world generator copy] the same step is inlined at 0x0051674B, 0x0051680B, 0x00516879 and 0x0051A34B |
| TPW-EXE:0x0051A50D vehicle definition | source/OpenTPW/World/Objects/ArrivalVehicles.cs:96 | [BIN:TPW-EXE:0x0051A50D vehicle definition] the definition list 0x007890A0 is walked in order and the name at definition +0x390 compared with _wcsicmp (0x0067B140) |
| TPW-EXE:0x0051A57E vehicle construction | source/OpenTPW/World/Objects/ArrivalVehicles.cs:35 | [BIN:TPW-EXE:0x0051A57E vehicle construction] the first trip constructs the vehicle with the common object constructor 0x004DB090, like every placed object |
| TPW-EXE:0x0051A690 vehicle status | source/OpenTPW/World/Guests/GuestSimulation.cs:954 | [BIN:TPW-EXE:0x0051A690 vehicle status] no vehicle at work (+0x1DA72A 0) reads -1; else the script's variable 1 (0x0055A390); 6 writes 0 to it |
| TPW-EXE:0x0051A760 stop walk gate | source/OpenTPW/World/Guests/GuestSimulation.cs:1815 | [BIN:TPW-EXE:0x0051A760 stop walk gate] returns 1 for no vehicle at work and for a vehicle other than the bus; with the bus: status 3 returns 0, Arrival.MinPeople (+0x2D0) above 9 returns 1, then status 1 and status 2 return 0, any other status 1; each read is 0x0055A390 on the vehicle's script and a status 6 releases the vehicle (-1) |
| TPW-EXE:0x0051A9D0 pick-up test | source/OpenTPW/World/Guests/GuestSimulation.cs:1932 | [BIN:TPW-EXE:0x0051A9D0 pick-up test] for the four cells of 0x00500AD0 the head of the cell's thing list (+0x2B8 + id × 0x44) must be a guest (type byte 1) in state 0x15 |
| TPW-EXE:0x0051AAD0 non-bus vehicle | source/OpenTPW/World/Guests/GuestSimulation.cs:1808 | [BIN:TPW-EXE:0x0051AAD0 non-bus vehicle] 1 when the vehicle at work (+0x1DA72A) is set and differs from the bus's handle (+0x1DA72C) |
| TPW-EXE:0x0051BFC0 sound start | source/OpenTPW/Client/SpeechAudioPlayer.cs:79 | [BIN:TPW-EXE:0x0051BFC0 sound start] the advisor's sample start gets three 0.0 floats (position) |
| TPW-EXE:0x0051C570 sample length | source/OpenTPW/Client/SpeechAudioPlayer.cs:36 | [BIN:TPW-EXE:0x0051C570 sample length] the original's mouth runs on the advisor clock, never on audio; with the sound system inactive (0x802BC8/0x802BD4 clear, set at 0x51B660 only when sound init succeeds) the sample length is 1 ms (0x51C570), there is no sound handle (0x51BFC0) and the advice ends with a sequence built from a 501 ms budget |
| TPW-EXE:0x0051E79E music parameter | source/OpenTPW/Audio/GameAudio.cs:1133 | [BIN:TPW-EXE:0x0051E79E music parameter] the update sends the value with 0x51BC40(handle, 4, value); the shipped park music sounds bind no selector, so it only steers the branching |
| TPW-EXE:0x0051E7FC crowd update | source/OpenTPW/Audio/GameAudio.cs:688 | [BIN:TPW-EXE:0x0051E7FC crowd update] the PC sends it on every update through 0x51BC40(handle, 7, count); code 7 is the crowd event's own code (cat_kids 0x5B, event +0x12 = 7) and sounds 1-6 of the twelve bind it in slot 1 under the volume mask (selector +0x16 = 7, mask +0x18 = 1), so while one of them plays each update re-evaluates its volume (14 + 8 * count / 100) and redraws its pitch (0..6); sounds 7-12 have selector 0 and are untouched |
| TPW-EXE:0x0051E870 rain level | source/OpenTPW/Audio/GameAudio.cs:725 | [BIN:TPW-EXE:0x0051E870 rain level] the level (clamped to 0..100) goes to the voice with 0x51BC40(handle, 8, level): the event's code and the volume selector of its sounds, so the level also sets the rain's volume (the shipped sections span 1 to 2..5 percent) |
| TPW-EXE:0x0051EEB0 sound-variable submit | source/OpenTPW/Audio/GameAudio.cs:1058 | [BIN:TPW-EXE:0x0051EEB0 sound-variable submit] the vehicle code resolves an EventMap variable to an event id (0x55A3E0) and submits it through 0x51BFC0, keeping the handle for the per-tick 0x51C270 (position) and 0x51BC40 (parameter) calls |
| TPW-EXE:0x00522770 underground link byte | source/OpenTPW/World/Guests/WalkSearch.cs:66 | [BIN:TPW-EXE:0x00522770 underground link byte] the link byte read is +0x22 only while the land tools' flag 0x81B4CC is set and the record's class byte +2 is 2; the flag is raised and cleared inside straight-line land routines (the park fence set-up 0x5323F0 at 0x532408..0x532622, the purchase 0x5327E0 at 0x532814..0x5328CB, the type reset 0x53AF00 at 0x53AF51..0x53AF60) that run no walk, so every walk reads +0xC |
| TPW-EXE:0x00522900 queue model table | source/OpenTPW/World/Original/QueueModelPulse.cs:8 | [BIN:TPW-EXE:0x00522900 queue model table] the loader's table (rows of 12 bytes from 0x763388) gives the rows of the two quedead entries (indices 0 and 1 of QueueModels.Names) the flag word 0x100, so the load flags are 0x112423 for them and 0x12423 for the others |
| TPW-EXE:0x00522900 queue models | source/OpenTPW/World/Original/QueueModelDrape.cs:10 | [BIN:TPW-EXE:0x00522900 queue models] the eight models load with 0x4629D0 flags 0x12423 (both quedead 0x112423): bit 0x2 becomes loader flag 0x40, which ORs 0x20000 into every mesh node (0x461F10 at 0x46262B) and sets the header bit 0x80 |
| TPW-EXE:0x00522900 queue models | source/OpenTPW/World/Original/QueueModelFloor.cs:8 | [BIN:TPW-EXE:0x00522900 queue models] the queue models are loaded with load flag 1 (0x12423 / 0x112423) and the footprint {1, 1} at 0x816D68: 0x46A5A0 skips its footprint-mask scan (the loader's drape flag has set header bit 0x80, so DAT_007afe18 = 0) and 0x46AA10 is run with the 0x80 argument, which wants every cell of the 1 x 1 grid: one entry for the base mesh |
| TPW-EXE:0x00522900 queue models | source/OpenTPW/World/Original/QueueModels.cs:11 | [BIN:TPW-EXE:0x00522900 queue models] the eight entries of the table 0x763388 ({handle, name, flags}) are loaded from "%s\queue" of the level folder: quedead, quedead, questra, quebnd2, quebnd1, queend, quebin1, quebin2 (.md2); the entries whose flag byte +9 is set (both quedead) load with the flags 0x112423, the others with 0x12423 |
| TPW-EXE:0x00522951 load flags | source/OpenTPW/World/Original/QueueModels.cs:20 | [BIN:TPW-EXE:0x00522951 load flags] mov al, [esi + 5]; edi = 0x12423, or 0x112423 when the byte is not 0 (0x522954..0x52295D); the rows' flag words are 0x100 for rows 0 and 1 and 0 for the other six (0x763390, 0x76339C, 0x7633A8..0x7633E4) |
| TPW-EXE:0x005229E0 | source/OpenTPW.Tests/QueueModelDrapeTests.cs:14 | The queue models on a slope ([BIN:TPW-EXE:0x005229E0], [BIN:TPW-EXE:0x00469A80]): the instance height, the placement, the joints between neighbouring cells (data-free), and the shipped |
| TPW-EXE:0x005229E0 queue model | source/OpenTPW/World/Original/QueueModelDrape.cs:11 | [BIN:TPW-EXE:0x005229E0 queue model] the placement 0x463060 (flags 0x33A) puts the root at the cell (x, y), the yaw 360 - rotation and the instance height 0x466D70 returns for the one-cell footprint, then flag 8 calls 0x469940 → 0x469A80, which drapes every node with 0x20000 |
| TPW-EXE:0x005229E0 queue model | source/OpenTPW/World/Original/QueueModels.cs:13 | [BIN:TPW-EXE:0x005229E0 queue model] the model goes on the cell with the yaw 360 − rotation (0 for 0) through the model placement 0x463060 (flags 0x33A), the routine and the yaw meaning objects are placed with (0x4DD500 passes a thing's rotation +0x10), so ObjectPlacement's rotation applies |
| TPW-EXE:0x00522AA0 kart kit loader | source/OpenTPW/World/Tracks/TrackDrape.cs:7 | [BIN:TPW-EXE:0x00522AA0 kart kit loader] 0x4629D0 gets load flags 0x10422 (the water loader 0x522C60 the same): bit 0x2 becomes 0x40, which makes 0x461F10 OR 0x20000 into every mesh node and set header bit 0x80 (0x4625F4) |
| TPW-EXE:0x00522B90 kart instancer | source/OpenTPW/World/Tracks/TrackDrape.cs:8 | [BIN:TPW-EXE:0x00522B90 kart instancer] the instance is created by 0x463060 with flags 0x33A; flag 8 calls 0x469940 → 0x469A80, which moves every vertex of a node with 0x20000 to its model height + the landscape under the vertex - the instance height (0x466D70's midrange); it never changes x or z |
| TPW-EXE:0x00522D50 water piece instance | source/OpenTPW/World/Tracks/TrackPieceKit.cs:135 | [BIN:TPW-EXE:0x00522D50 water piece instance] 0x00463060(table handle, 0x33A, position, arm byte of the 12-byte entry at 0x7634D8 + 8, …) (kart: 0x00522B90, table 0x7633E8); the byte reaches 0x00454A10 through 0x004557C0 as its last parameter |
| TPW-EXE:0x005234D0 area clear ghost | source/OpenTPW/World/AreaClearTool.cs:79 | [BIN:TPW-EXE:0x005234D0 area clear ghost] with a corner stored the preview lays the four edges of the rectangle with LayLine(0x13A) (the validator answers 0xD for mode 0x3A) |
| TPW-EXE:0x005234D0 hover cell | source/OpenTPW/Hud/ParkHud.cs:1868 | [BIN:TPW-EXE:0x005234D0 hover cell] every hover stores the cell under the pointer in 0x8186B8/0x8186B4, which the ghost's glide chases; an edit tool's hover stores its snapped tile (0x527960) |
| TPW-EXE:0x005234F2 latch reset | source/OpenTPW/World/QueueCellValidator.cs:244 | [BIN:TPW-EXE:0x005234F2 latch reset] the hover handler clears the drag state 0x816D48, 0x816D50 (refuse), 0x816D58 (pending), 0x816D54, 0x816D60 (ends on a path), 0x816D5C and 0x816D4C (meets its own kind) and then the tool priority 0x818C10 and the owner priority 0x818C14 (0x523522); the commit's pass set-up 0x527C30 clears 0x816D48, 0x816D50 and 0x816D58 alone before its LayLine, and the mode change 0x52F11B clears 0x816D50, 0x816D58, 0x816D60, 0x816D5C and 0x816D4C: no cell of a drag resets them, so every pass over a line starts clean and a refusal marks the rest of that pass |
| TPW-EXE:0x005234d0 patrol tool hover | source/OpenTPW.Tests/PatrolAreaFlowTests.cs:119 | [BIN:TPW-EXE:0x005234d0 patrol tool hover] four LayLine passes; [BIN:TPW-EXE:0x004b3640 patrol area highlight] the same four for the locator |
| TPW-EXE:0x005234d0 patrol tool hover | source/OpenTPW/Hud/ParkHud.cs:1818 | [BIN:TPW-EXE:0x005234d0 patrol tool hover] the hovered cell alone before the first click, the four edges of the rectangle after it, red when no cell of the rectangle can be stood on, blue otherwise |
| TPW-EXE:0x005234d0 patrol tool hover | source/OpenTPW/World/Staff/PatrolAreaTool.cs:91 | [BIN:TPW-EXE:0x005234d0 patrol tool hover] mode 0x36 lays the line op 0x136 (LayLine 0x536100 with the ghost bit) before the first click on the hovered cell alone, and after it along the four edges of the ordered rectangle |
| TPW-EXE:0x005236B0 add-on hover | source/OpenTPW/World/Tracks/TrackAddOns.cs:73 | [BIN:TPW-EXE:0x005236B0 add-on hover] with the upgrade selection set and the pointer on the 128 x 128 map (0x004D8300), the cell becomes anchor + 2 · floor((cell − anchor) / 2) on both axes (0x005236E3..0x0052374D, the anchor being the ride's cell 0x7639A4/A8); on the map again, the cell or its head (an extension cell 0x0053AD90 names its head) that is a track cell (0x0053AD30) gives its flow byte +0xD (0x00522850) to the byte table 0x00524750 and the jump table 0x0052473C (1 → 0, 4 → 0x10E, 0x10 → 0xB4, 0x40 → 0x5A, the rest keep the angle), set by 0x0052F1B0; then angle 0, 0x5A, 0xB4 and 0x10E add the type's +0xA4/+0xA8, +0xBC/+0xC0, +0xB4/+0xB8 and +0xAC/+0xB0 (North, West, South and East X/YAdjust, 0x00523804..0x005238A5) and the ride's angle +0x10 of 0x8186AC adds (−1, 0) at 0x5A, (−1, +1) at 0xB4 and (0, +1) at 0x10E (0x005238AB..0x005238D7); the cell is the click's (0x8186B8/B4) and the placement 0x00528A70 checks it with the type 4 and that angle (0x0052390E) |
| TPW-EXE:0x0052390E object hover preflight | source/OpenTPW/World/Original/BlueprintGhosts.cs:65 | [BIN:TPW-EXE:0x0052390E object hover preflight] the hover calls placement 0x528A70 with commit=0/check=1, sets force-red 0x81B604 when it returns 0 (0x52391A), then calls it with commit=0/check=0 (0x5239EE); SetCell reads that flag before its per-cell validator (0x53319A), so a refused ordinary footprint is all red, including a NoModify refusal that does not set the validator's sticky flag |
| TPW-EXE:0x00523A50 fence passes | source/OpenTPW/World/Level.BlueprintLine.cs:85 | [BIN:TPW-EXE:0x00523A50 fence passes] the hover runs the walker four times (the top edge from the left post two cells in to the right post two cells in, the right edge, the bottom edge, the left edge back up), the refused rectangle having set the validator's sticky word 0x816D50 first (0x531A50) |
| TPW-EXE:0x00523A50 fence passes | source/OpenTPW/World/Original/TileLineGhost.cs:112 | [BIN:TPW-EXE:0x00523A50 fence passes] top edge (minX, +2 when minX != maxX, minY) to (maxX, -2, minY); right edge (maxX, minY) to (maxX, maxY); bottom edge as the top at maxY; left edge (minX, maxY) back up to (minX, minY) |
| TPW-EXE:0x005244B8 line tool ghost | source/OpenTPW/World/CellBuildTool.cs:208 | [BIN:TPW-EXE:0x005244B8 line tool ghost] the kart and water line modes preview the line from the start (0x53AAC0 with mode | 0x100, 0x52452E), which walks it tile by tile and stops at the first tile the ghost routine 0x5370E0 refuses (its chooser 0x539760 returns 1, the money test at 0x539F95 included), setting the same latch (0x537A1B → 0x527940(1)); the mode table sends 0xB and 0x10 to the same 0x5266A3, so the click lays none of the line and ends the tool |
| TPW-EXE:0x005244BE tile tool priority | source/OpenTPW/World/Original/TileLineGhost.cs:30 | [BIN:TPW-EXE:0x005244BE tile tool priority] the hover blocks of the kart (0xB), water (0x10) and fence (0x19) tools (0x523A08..0x523A38, entering 0x5244B8 from 0x523A14, 0x523A26 and 0x523A38) store ESI in 0x818C10. ESI is 3 there on every path: a forward dataflow over the hover function 0x5234D0 (all 1455 instructions, the switch at 0x5237D0 included) reaches 0x5244B8 only with the value set by `mov esi, 3` at 0x523546; none of the 39 instructions on the paths from 0x523546 to 0x5244B8 writes ESI, and the only call among them is 0x52F860 (`cmp [0x81AE2C], arg`, which touches no ESI). The path tool writes 2 at 0x524571 and the queue tool ESI = 3 at 0x524588 by the same argument |
| TPW-EXE:0x0052453D line tool ghost | source/OpenTPW/World/CellBuildTool.cs:339 | [BIN:TPW-EXE:0x0052453D line tool ghost] without a start the kart and water line modes preview the tile under the cursor alone (0x53AAC0 with mode | 0x100 from the cursor to itself), whose ghost routine 0x5370E0 sets the latch for a refused tile (0x537A1B → 0x527940(1)); the mode table 0x52766C sends 0xB and 0x10 to the same 0x5266A3, so such a click ends the tool and never reaches the start's store and its help 0xCC (0x526CB3) |
| TPW-EXE:0x00524571 tool priority | source/OpenTPW/World/Original/BlueprintLineGhost.cs:53 | [BIN:TPW-EXE:0x00524571 tool priority] the hover writes the overwrite priority 0x818C10: 2 for the path tool (0x524571) and 3 for the queue tool (0x524588, where ESI is the 3 loaded at 0x523546); the click writes the same (0x527200, 0x527218) |
| TPW-EXE:0x00524724 hover flag | source/OpenTPW/World/Level.BlueprintLine.cs:20 | [BIN:TPW-EXE:0x00524724 hover flag] the hover sets 0x818688 when the line has a start and the snapped end is that cell |
| TPW-EXE:0x00524724 hover flag | source/OpenTPW/World/Level.BlueprintLine.cs:40 | [BIN:TPW-EXE:0x00524724 hover flag] the hover sets 0x818688 when the line has a start and the snapped end is that cell |
| TPW-EXE:0x00524960 patrol tool | source/OpenTPW/Economy/ParkStaff.cs:135 | [BIN:TPW-EXE:0x00524960 patrol tool] mouse mode 0x36: the first click on the map stores a corner cell, the second orders the two (the smaller x and y first) and sets the selected member's area, then the tool ends (0x0052F200) |
| TPW-EXE:0x00524960 patrol tool | source/OpenTPW/World/Staff/PatrolAreaTool.cs:55 | [BIN:TPW-EXE:0x00524960 patrol tool] mode 0x36: with no stored corner the click's cell is stored; otherwise the corners are ordered (the smaller x and y as the first corner) and 0x00506E50 sets them on the selected member, the corner is reset and the tool ends (0x0052F200(0, 0)) |
| TPW-EXE:0x00524960 track validity | source/OpenTPW/Economy/ParkEconomyContracts.cs:366 | [BIN:TPW-EXE:0x00524960 track validity] the walk (0x0052A970) writes the flag after every track edit; the park points counts-test reads it for karts and water rides |
| TPW-EXE:0x00524960 track validity | source/OpenTPW/World/Tracks/BumpController.cs:128 | [BIN:TPW-EXE:0x00524960 track validity] the flag is the circuit walk's verdict, rewritten after every track edit (label 0x75B538 at 0x4DBE00); BUMP 5 reads it into the branch accumulator |
| TPW-EXE:0x00524A63 refused ghost | source/OpenTPW.Tests/PatrolAreaFlowTests.cs:176 | [BIN:TPW-EXE:0x00524A63 refused ghost] the refusal latch: cue 0xAF, the mode ends (0x5266A3 = 0x52F200(0, 0)), the member keeps its area |
| TPW-EXE:0x00524A63 refused ghost | source/OpenTPW/World/CellBuildTool.cs:338 | [BIN:TPW-EXE:0x00524A63 refused ghost] the click handler 0x524960 tests the latch 0x816D48 before the mode dispatch whether or not a start is set: a single-cell ghost the preview 0x5234D0 refused (LayLine(mode | 0x100) from the cursor) ends the path or queue tool (0x5266A3: SetMode(0, 0)); while game+36 (0x785A2C) is set the click first previews its own cell again (0x5249B6), which this re-preview always does |
| TPW-EXE:0x00524A63 refused ghost | source/OpenTPW/World/Staff/PatrolAreaTool.cs:56 | [BIN:TPW-EXE:0x00524A63 refused ghost] a red ghost cell sets the refusal latch 0x816D48 (0x533931 → 0x527940(1)); the release handler tests it at 0x524A63, plays cat_ui 0xAF (0x524AA7) and goes through the jump table 0x52766C / byte table 0x527694, whose index 8 (mode 0x36) leads to 0x5266A3 = 0x52F200(0, 0): the tool ends and nothing is set |
| TPW-EXE:0x00524B45 add-on click | source/OpenTPW/World/Level.AddOns.cs:136 | [BIN:TPW-EXE:0x00524B45 add-on click] with the upgrade selection set the build click finds the clicked tile's ride (its head's owner word, the thing table 0x7CFB90), ends its controller's vehicles (0x00545450), places the add-on (0x00528A70 with the type 4), walks the circuit (0x0052A970 at 0x00524D0A, the verdict to the ride's +0x2C), starts the pieces forward on a valid one (0x0052A490(ride, 1)) or stops them from both sides (0x0052A490 and 0x0052A700 with 0), and opens a valid ride whose guard allows it (0x004DF290, 0x004DF390); then a click without exactly Ctrl returns the tool to mode 0 and clears the selection (0x00524D6D..0x00524D81) |
| TPW-EXE:0x00524B53 queue start | source/OpenTPW/World/Level.Input.cs:252 | [BIN:TPW-EXE:0x00524B53 queue start] the build tool's click (and the Move tool's, 0x5253F3) zeroes the pending queue start before it places; a click on a refused ghost |
| TPW-EXE:0x00524D0A add-on placement walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:159 | [BIN:TPW-EXE:0x00524D0A add-on placement walk] the walk after an add-on's placement: a valid circuit calls 0x0052A490(ride, 1), an invalid one 0x0052A490(ride, 0) and 0x0052A700(ride, 0); the ride's own placement (0x00528A70 → 0x00529E10) lays its station and walks nothing, and OpenTPW's walk of the fresh station ([EXT:track-placement-walk], Level.OnTrackStationPlaced) follows the same rule |
| TPW-EXE:0x00524F1E station link | source/OpenTPW/World/Tracks/TrackBuilder.cs:269 | [BIN:TPW-EXE:0x00524F1E station link] the station tiles' flow link is the heading of the station's rotation (0x524EE9..0x524F19: 0 → 4, 90 → 1, 180 → 0x40, 270 → 0x10) |
| TPW-EXE:0x005251F5 type 3 raw anchor | source/OpenTPW/World/Level.Selection.cs:50 | [BIN:TPW-EXE:0x005251F5 type 3 raw anchor] a click taken while a track add-on tool of the coaster track type is armed (0x52FAF0 answers 3) stores the clicked thing's raw anchor in |
| TPW-EXE:0x005252D9 line tool push | source/OpenTPW/World/CellBuildTool.cs:324 | [BIN:TPW-EXE:0x005252D9 line tool push] the kart and water line click pushes its end through 0x52FBF0 and goes on whatever the answer: a full stack (0x401 points) takes no point and the tool continues from the new end (0x81EDE4/E8), the line laid and no segment recorded; the other tools end on it (an OpenTPW guard) |
| TPW-EXE:0x005253E9 initial track | source/OpenTPW/Client/SandboxSmokeTest.Tracks.cs:103 | [BIN:TPW-EXE:0x005253E9 initial track] the placement lays a track tile at the exit and at the entry, free of charge (docs/TRACKS.md, "The station"): before any line those are the |
| TPW-EXE:0x005253E9 initial track | source/OpenTPW/World/Tracks/TrackBuilder.cs:279 | [BIN:TPW-EXE:0x005253E9 initial track] placement sets free byte 0x8186D4; secondary writer 0x538FC0 skips the tile price and debit, not validation or existing-tile overlap. |
| TPW-EXE:0x0052544E queue start | source/OpenTPW/World/Level.Input.cs:277 | [BIN:TPW-EXE:0x0052544E queue start] a placement of a type with an entrance stores the record of its queue's start cell (0x52A050, the cell's coordinates in 0x7639B8/0x7639BC; 0x524DD7, 0x525269, 0x52544E and the Move tool's 0x5258AC); every build or Move click on an accepted ghost zeroes it before it places (0x524B53, 0x5253F3), the Move tool's pick-up in mode 0x33 zeroes it (0x525E5A), a path or queue commit zeroes it (0x527483), and the queue tool that follows a ride's placement, the coaster tool's click or a kart or water circuit's close takes it (0x5252EA, 0x526680, 0x527056) |
| TPW-EXE:0x005254C5 exit ops | source/OpenTPW/World/Tracks/TrackBuilder.cs:281 | [BIN:TPW-EXE:0x005254C5 exit ops] on the exit cell, in this order through 0x53AAC0: 0x87, the tool mode's type op (0x52F840), 0x80, 0x82, 0x83, 0x85, 0x86 and 0x81, then the exit becomes the tool's first vertex (0x52FBF0); the arm op 0x80 gives the exit the arm toward the second station tile and that tile the arm back only when the type op laid the tile (0x539220 reads the type op's answer in 0x816D64, which a refused type op leaves cleared), the flow link op 0x82 has the singleton line's zero step and writes nothing |
| TPW-EXE:0x005254C5 exit ops | source/OpenTPW/World/Tracks/TrackBuilder.cs:509 | [BIN:TPW-EXE:0x005254C5 exit ops] the click handler's op list runs through the line walker 0x53AAC0, each op a full pass over the line's tiles: 0x87, the type op, 0x80, 0x82, 0x83, 0x85, 0x86, 0x81 (0x820AD0 is the last step) |
| TPW-EXE:0x005254C5 station ops | source/OpenTPW/World/Tracks/TrackStation.cs:80 | [BIN:TPW-EXE:0x005254C5 station ops] the placement lays the exit and entry tiles with the op list 0x87, the type op, 0x80, 0x82, 0x83, 0x85, 0x86, 0x81 on each (TrackBuilder.PlaceInitialStation): the station tiles written here carry the arms of the station line (the first tile toward the second, the second back), and the other arms follow the exit's and entry's ops whatever their type ops answered (0x5255D8..0x52572C) |
| TPW-EXE:0x005255F0 entry ops | source/OpenTPW/World/Tracks/TrackBuilder.cs:282 | [BIN:TPW-EXE:0x005255F0 entry ops] the same ops on the entry cell (0x52A420) with the heading's step in the local, then by hand and whatever the type op answered: the arm toward the station (0x522700) and the flow link set to the heading (0x5227E0) on the entry cell, and the arm back (0x4D8C00, 0x522700) on the cell two cells on (0x50C3E0), the first station tile; the arm op 0x80 of the entry writes nothing, its previous step being the exit's zero step |
| TPW-EXE:0x00525DA3 area clear click | source/OpenTPW/World/AreaClearTool.cs:20 | [BIN:TPW-EXE:0x00525DA3 area clear click] in mode 0x3A the first click (start −1) stores the cell as the corner; the second runs the check 0x424EC0 (it returns 1) and the clear 0x52BDD0 from the corner to the clicked cell, sets the start to −1 and ends the tool (SetMode(0, 0) 0x525E33) |
| TPW-EXE:0x00525E5A queue start | source/OpenTPW/World/Level.Input.cs:377 | [BIN:TPW-EXE:0x00525E5A queue start] the pick-up's click in mode 0x33 zeroes the pending queue start |
| TPW-EXE:0x00525F63 undo clears the line | source/OpenTPW/World/Level.Objects.cs:1058 | [BIN:TPW-EXE:0x00525F63 undo clears the line] Back clicks the popped point and the new top in mode 0x34 (0x52FE50): the second click clears the line between them, each cell through the cell clear with the walk's step (0x536100 pass 0x32), which counts a cell's counter down and clears a bend whatever its counter; the corner walk of the edit click wrote the counters (QueuePaths.WriteWalkCounts), so a corner whose next segment was cleared before it survives with its counter at 0. The segments an edit click's tool takes back therefore go through the native undo |
| TPW-EXE:0x00526118 queue edit click | source/OpenTPW/World/Level.Commands.cs:291 | [BIN:TPW-EXE:0x00526118 queue edit click] 0x4DE1F0 runs after the walk whether or not it cleared a link (RunEditWalk reports its own edit only when it did) |
| TPW-EXE:0x00526800 edit click | source/OpenTPW/World/Level.Tracks.cs:350 | [BIN:TPW-EXE:0x00526800 edit click] with the ride's circuit word (+0x2C) zero the click walks the track to its open end (0x530830) and the tool becomes the line tool 0xB or 0x10 (0x526C36, 0x526C50) starting there; with a closed circuit the click picks tiles for the cut |
| TPW-EXE:0x00526830 first pick | source/OpenTPW/World/Tracks/TrackEditor.cs:146 | [BIN:TPW-EXE:0x00526830 first pick] the click takes the cell record, its origin for an extension cell (0x53AD90), and leaves a station tile alone (0x53ADB0 → 0x526C78); the step is read through 0x53AEC0 and the pair tests 0x539760(0xE or 0x13) |
| TPW-EXE:0x0052692E first pick | source/OpenTPW/World/Tracks/TrackEditWriter.cs:46 | [BIN:TPW-EXE:0x0052692E first pick] the pick's step number goes to 0x7639B0 and the cell to 0x818694, then 0x539760(0xE) answering 1 clears both again (0x526935, 0x52692E) |
| TPW-EXE:0x00526ADA second pick | source/OpenTPW/World/Tracks/TrackEditWriter.cs:91 | [BIN:TPW-EXE:0x00526ADA second pick] a second click whose test does not answer 9 leaves the tool (0x52F200(0, 0) at 0x526ADC); otherwise the pair, the lower step first (0x526AF2), goes to 0x52B400 with the last argument 1 (0x526B5E) and the station repair 0x52FC80 follows (0x526B67) |
| TPW-EXE:0x00526BD0 cut finish | source/OpenTPW/World/Level.Tracks.cs:610 | [BIN:TPW-EXE:0x00526BD0 cut finish] 0x52FC80(0) repairs the station, the picks are cleared, the new start is the second click's tile (0x81EDE4/E8), then the walk 0x52A970(0) sets the circuit word: valid, 0x52A490(ride, 1) starts the pieces and the tool ends; invalid, 0x52A490 and 0x52A700 stop them, 0x530830 finds the open end and the tool becomes the line tool (0x526C19..0x526C54) |
| TPW-EXE:0x00526BD0 edit walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:161 | [BIN:TPW-EXE:0x00526BD0 edit walk] after a cut the walk 0x52A970(0) is followed on a valid circuit by 0x0052A490(ride, 1) (0x526BEF) and on an invalid one by 0x0052A490(ride, 0) and 0x0052A700(ride, 0) (0x526BFD, 0x526C0D) |
| TPW-EXE:0x00526C70 edit walk end | source/OpenTPW/World/Level.Tracks.cs:260 | [BIN:TPW-EXE:0x00526C70 edit walk end] a cut that leaves a valid circuit ends the tool (0x52F580(0), 0x526C6E): no queue tool follows, as it does a line that closes the circuit |
| TPW-EXE:0x00526D41 line start help | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:140 | [BIN:TPW-EXE:0x00526D41 line start help] the click that stores the start posts 0xCC (AdvisorToolHelp.TrackLineStart), with no test of the replay word 0x785A2C or the link flag |
| TPW-EXE:0x00526D41 line start help | source/OpenTPW/World/AdvisorHelp.cs:281 | [BIN:TPW-EXE:0x00526D41 line start help] in the line modes 0xB and 0x10 (0x525A1C → 0x526CB3) a click with the start 0x81EDE4/0x81EDE8 at −1 stores the clicked cell as the start (0x526D0F) and the first corner (0x52FBD0, 0x52FBF0), pushes 0xCC (204) and jumps into the queue tool's post (0x527629: 0x59B590, 0x5194D0 on [0x7CF83C], 0x59A940, the body of 0x486B00); the placement presets the start at the station's exit (0x52A1A0 at 0x525472, then 0x52F580(0xB or 0x10), which keeps it) and the edit tool's switch to the line tool at the open end (0x530830, then 0x52F580), so only the start the exactly-Ctrl end clears (0x526F97, 0x527146) is reached; neither SetMode withdrawal list names 0xCC (0x52F245..0x52F326, 0x52F5BF..0x52F6A0), and no call of 0x486B40 or 0x59AA70 does |
| TPW-EXE:0x00526D41 track tool help | source/OpenTPW/World/Level.Tracks.cs:245 | [BIN:TPW-EXE:0x00526D41 track tool help] the kart and water tool posts tool help 0xCC (204) only for a click with no line start (0x0081EDE4/E8 = −1), which sets the start (0x00525A1C → 0x00526CB3); the placement presets the start at the station's exit (0x0052A1A0), so it is reached only when the tool stays on without one after a line closes with exactly Ctrl and no queue start pending (0x00526FB3, UI-031), and the HUD's report of that click posts it (ParkHud.ReportCellToolClick, AdvisorToolHelp.TrackLineStart); 0xB8, 0xD6 and 0x151 are the path and queue tool's help (0x005272F5, 0x00527351, 0x00527620) |
| TPW-EXE:0x00526F02 track line walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:160 | [BIN:TPW-EXE:0x00526F02 track line walk] when a line of the kart or water tool ends, 0x0052A490(ride, 0) runs whatever the verdict (0x00526F58, edi cleared at 0x00526EFF), and an invalid circuit also gets 0x0052A700(ride, 0) |
| TPW-EXE:0x00526F95 queue start test | source/OpenTPW/World/Level.Tracks.cs:248 | [BIN:TPW-EXE:0x00526F95 queue start test] the line's close takes the queue tool only while the placement's queue start 0x8186C0 is pending: it starts the queue tool at that start's cell (0x7639B8/0x7639BC, 0x526FB9..0x527004), which the last placement of a ride with an entrance stored and which may be another ride's, and takes it (0x527056); with none pending the modifier word decides (0x527146) |
| TPW-EXE:0x005271B7 lay click | source/OpenTPW/Client/ThemeParkIncHud.cs:601 | [BIN:TPW-EXE:0x005271B7 lay click] every path or queue click past the refused-ghost test plays cat_ui 101 (0x65) before its start or line, the first click included |
| TPW-EXE:0x005271B7 lay click | source/OpenTPW/Hud/ParkHud.cs:1704 | [BIN:TPW-EXE:0x005271B7 lay click] every path or queue click past the refused-ghost test plays cat_ui 101 (0x65) before its start or line, the first click included |
| TPW-EXE:0x00527200 path and queue tool click | source/OpenTPW/World/AdvisorHelp.cs:272 | [BIN:TPW-EXE:0x00527200 path and queue tool click] the first click of the path tool posts 0xB8 (184), the third later click of either tool 0xD6 (214), the click that ends the queue tool without a path join 0x151 (337) |
| TPW-EXE:0x00527222 first click | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:133 | [BIN:TPW-EXE:0x00527222 first click] with the start unset a start the cell check accepts is stored (0x5272B3), and the path mode (0x52F860(1)) then posts 0xB8 through 0x59B590 (0x5272FE); the counter 0x8186DC is cleared (0x527316) |
| TPW-EXE:0x00527222 first click | source/OpenTPW/World/CellBuildTool.cs:340 | [BIN:TPW-EXE:0x00527222 first click] with the start at −1 (0x81EDE4/0x81EDE8) the path mode runs the start check 0x535670(1, 0) and the queue mode 0x535670(3, 0) on the clicked cell: a refusal (1) leaves the tool on without a start (0x52765B), anything else (0, 8, 0xB) makes the cell the start (0x5272B3) and the first vertex (0x52FBD0, 0x52FBF0) |
| TPW-EXE:0x0052727B start check | source/OpenTPW/World/ParkPathBuilder.cs:284 | [BIN:TPW-EXE:0x0052727B start check] 0x535670(1, 0) on the clicked cell: only 1 refuses; path over path (0 or 0xB) and a queue end (8) start a line |
| TPW-EXE:0x0052732F later click | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:134 | [BIN:TPW-EXE:0x0052732F later click] a click with a start set increments the counter and posts 0xD6 when it reaches 3 (0x52733D-0x52735A), in either mode |
| TPW-EXE:0x0052744E link pass | source/OpenTPW/World/ParkPathBuilder.cs:344 | [BIN:TPW-EXE:0x0052744E link pass] the commit runs LayLine once per pass (0x527403..0x527517): the type pass (SetCellType for every cell), then pass 0x80, whose SetCell case calls the link writer 0x5348D0 with the mode of the last type written (0x816D64) and the refresh flag 1 for every cell of the line, so each cell links to neighbours the whole line has already typed; the ghost gate (0x524A63) lets only lines without a refused cell commit, so in the tool the link pass covers every cell, as here the cells the type pass reached |
| TPW-EXE:0x0052744E queue line ending on a path | source/OpenTPW/World/Guests/QueuePaths.cs:161 | [BIN:TPW-EXE:0x0052744E queue line ending on a path] the type pass refuses the last cell (queue over path is not allowed there, 0x535600), but the link pass 0x80 still runs on it with the mode of the last type written (3): mode 3 links the path cell to the queue cell before it (0x53538C); the pass 0x82 then gives the path cell a queue link +0x0D toward it, which no reader of a type-1 cell uses (0x4D8750 and 0x5348D0 read it for types 9 and 10, 0x535DD0 and 0x4DE670 for type 3), and pass 0x83 its owner word |
| TPW-EXE:0x00527483 queue start | source/OpenTPW/World/Level.Input.cs:297 | [BIN:TPW-EXE:0x00527483 queue start] the path and queue handler zeroes the pending queue start after its commit LayLine (0x527472); a click on a refused ghost returns before |
| TPW-EXE:0x00527483 queue start | source/OpenTPW/World/Level.Input.cs:329 | [BIN:TPW-EXE:0x00527483 queue start] the path and queue handler zeroes the pending queue start after its commit LayLine, here once the guest's commit came back laid |
| TPW-EXE:0x00527517 refresh pass | source/OpenTPW/World/ParkPathBuilder.cs:349 | [BIN:TPW-EXE:0x00527517 refresh pass] the last LayLine pass, 0x81, refreshes every cell of the line (SetCell case 0x81: the tile refresh 0x5365D0) |
| TPW-EXE:0x005275B1 tool end | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:135 | [BIN:TPW-EXE:0x005275B1 tool end] a click that ends the tool (the start reached, or the line ending on an existing path or queue cell) sets the mode to 0 (0x5275F2); in the queue mode (the check 0x52F860(3) before it) with the layout replay word 0x785A2C and the link flag 0x816D60 both clear it then posts 0x151 (0x527629) |
| TPW-EXE:0x0052773B fence select writes the tool globals | source/OpenTPW/World/Level.Selection.cs:64 | [BIN:TPW-EXE:0x0052773B fence select writes the tool globals] in the modes 0x19 and 0x1A the select 0x5276D0 stores the gate post 0x7639F0/F4 in 0x7639E0/E4 and 0x7639E8/EC (0x52772A..0x527776), pushes rotation 0 (0x527786) and jumps to 0x5278CD, where 0x52A420 maps the entry pair: (x - 2, y + 1); only the exit stays the raw post |
| TPW-EXE:0x005278B9 ride select writes the tool globals | source/OpenTPW/World/Level.Selection.cs:38 | [BIN:TPW-EXE:0x005278B9 ride select writes the tool globals] the select 0x5276D0 stores the selected thing's anchor (+5, +7) in 0x7639E0/E4 and 0x7639E8/EC and maps them with 0x52A3A0 (exit) and 0x52A420 (entry) by its rotation (+0x10); an add-on selects its owner ride first (0x5277A6..0x5277F3); callers: the park view's click 0x487DC9/0x487F84/0x488096 (0x4879D0), the erase button 0x48CD95 (0x48CD10), the Move pick-up 0x48CFCF (0x48CFA0), the track button 0x4AF233 (0x4AF200), the click handler's modes 0x524AF6/0x524B6C and the placement commit 0x528F36/0x5296EA; the list-row arm and the arrows call only the selection list's setter 0x4815B0 |
| TPW-EXE:0x00527960 edit hover | source/OpenTPW/World/Tracks/TrackEditWriter.cs:59 | [BIN:TPW-EXE:0x00527960 edit hover] before the first pick the hovered tile is drawn through the ghost op of the tool mode with the chooser's answer (9, the m_break symbol over the tile, or 1, the red face); after it the second pick is reset to the first unless the chooser answers 9 for it and the cut's walk 0x52B400(.., 0) draws the lines between its corner points with the op 0x10F, each tile of the ride answering 0xD (m_erase) |
| TPW-EXE:0x00527960 hover cell | source/OpenTPW/World/Tracks/TrackEditWriter.cs:63 | [BIN:TPW-EXE:0x00527960 hover cell] the hover keeps the snapped tile's origin in 0x8186B8/0x8186B4, which the ghost's glide chases (0x53C3F0) |
| TPW-EXE:0x00527A17 hover exit | source/OpenTPW/World/Tracks/TrackEditor.cs:57 | [BIN:TPW-EXE:0x00527A17 hover exit] the hover copies the ride anchor 0x7639A4/A8 into 0x7639E0/E4 and 0x7639E8/EC without the 0x52A3A0/0x52A420 mapping (only its local copies go through them, 0x527A41, and the entry 0x7639E8 is set right at 0x527A5F); the line tool's tool start (0x5276D0 at 0x52788A, the placement at 0x5255F0 then 0x52A3A0) leaves the exit tile there |
| TPW-EXE:0x00527D60 object owner lookup | source/OpenTPW/World/Objects/ObjectHeightMaps.cs:45 | [BIN:TPW-EXE:0x00527D60 object owner lookup] for a cell of type 4, 9 or 10 the owner word +0x10 names the object's anchor cell, and the first class-3 thing in that cell's list (0x4D99E0) is the object whose instance map is read (0x452B5F); OpenTPW's footprint lookup finds the same object for every shipped one, as its footprint cells are exactly the typed cells of one owner word (ParkCellMap.WriteFootprint) |
| TPW-EXE:0x00527EE0 add-on clear | source/OpenTPW/World/ParkCellMap.cs:706 | [BIN:TPW-EXE:0x00527EE0 add-on clear] an add-on's removal clears the flag 0x10 of the cell and of the track layer's cell beneath (the moved-object branch of 0x527EE0 and the add-on cells of 0x53B280); the cells keep their type, which belongs to the ride's track |
| TPW-EXE:0x00527EE0 demolition | source/OpenTPW/World/Objects/ParkObjects.cs:631 | [BIN:TPW-EXE:0x00527EE0 demolition] the demolition clears every footprint cell (0x5367A0, then the refresh 0x5365D0 of the type 0 cell: the backup word returns, 0x46DF50 mode 0x37); a level that clears its park does not bother |
| TPW-EXE:0x00527EE0 demolition replays | source/OpenTPW/World/Level.Tracks.cs:155 | [BIN:TPW-EXE:0x00527EE0 demolition replays] the two replays of the track tool clear the chain of tiles from the station's exit to the open end of the track (0x530830, then the lines between its corner points) and the chain from the tile before the station (0x530B70), as TrackEditor.Demolish does: a tile no chain reaches stays in the park and refunds nothing, a tile a chain passes with a pass counter left (a junction) loses one pass only |
| TPW-EXE:0x00527EE0 demolition replays | source/OpenTPW/World/Tracks/TrackEditor.cs:390 | [BIN:TPW-EXE:0x00527EE0 demolition replays] for a ride with a queue and track type 1 or 2: 0x530830 (the forward corner collector, which resets the pass counters along the chain: 1 at a corner or junction, else 0, 0x5228A0), the tool mode 0xB or 0x10, the flag 0x81B46C = 1 and 0x52FE50 until it answers 0 (each pop replays the click handler in mode 0x35 over the line between two corner points, clearing it with 0x53B280), then 0x530B70 (the same from the tile before the station, against the flow) and the same replay; 0x52FB60 or 0x52FB80 gives the cell cost the refund and the one charge use |
| TPW-EXE:0x00527EE0 object demolition | source/OpenTPW/World/Objects/ParkObjects.cs:636 | [BIN:TPW-EXE:0x00527EE0 object demolition] the demolition asks for the thing's destruction (0x0050B780 → 0x00516310), which the turn's end carries out; a park that clears itself frees the slots at once (0x00515FB0) |
| TPW-EXE:0x00527EE0 pass 1 | source/OpenTPW/World/ParkCellMap.cs:583 | [BIN:TPW-EXE:0x00527EE0 pass 1] for every entrance (9) and exit (10) cell of the mask the cell in front (0x4D97E0 along the opposite of the entrance's queue link +0xD, or along the exit's) is looked at: a path cell with flag 0x20 that fewer than two entrance or exit cells (type 9 or 10, any owner) link to, and whose MAP byte +0x26 has not bit 8 (an initial path cell), loses the flag 0x20 |
| TPW-EXE:0x00527EE0 pass 2 | source/OpenTPW/World/ParkCellMap.cs:584 | [BIN:TPW-EXE:0x00527EE0 pass 2] for every mask cell inside the map: 0x53A530(0x20), the cell remover 0x5367A0(0, 0) and the structure clear 0x53B280; the oracle ran them on every type (docs/reverse/ORACLE.md, X36) |
| TPW-EXE:0x00527EE0 ride demolition | source/OpenTPW/World/Level.Tracks.cs:154 | [BIN:TPW-EXE:0x00527EE0 ride demolition] the replays run with flag 0x81B46C = 1, so ClearCell 0x53B280 refunds every cleared kart or water tile (0x53B54A..0x53B57F: a tile whose overlap word +0x20 went negative is cleared and refunds unless it is an end of the replayed line while the flag is clear; the flag is set, the type 0x19 and online cases aside), and 0x5280F0..0x528179 then debits twice the cell cost × the scrap percentage / 100 once |
| TPW-EXE:0x00527F87 ride demolition queue | source/OpenTPW/World/Level.Objects.cs:1518 | [BIN:TPW-EXE:0x00527F87 ride demolition queue] a type with a queue (Info.HasQueue, def +0x40, 0x527F87..0x527F93) fills the corner stack with 0x530120 (0x527F9A), enters mode 3 (0x527FA5) with the forced-clear flag 0x81D7A8 set (0x527FAA) and, when the ride's own word +0x40 is above 0 (0x527FB4..0x527FBC; +0x40 is the count of the chain cells the queue re-evaluation 0x4DE130 visits from the entrance's outside cell, that cell included whatever its type, so it is 1 for a ride whose front cell is a path cell, a case in which the original still debits one cell and OpenTPW charges nothing, QUEUE-015), calls Back 0x52FE50 until it returns 0 (0x527FBE..0x527FDA): every cell goes and credits its refund, and 0x527FDC..0x528007 then debits one cell's refund; the ride's entrance cell is not part of the stack |
| TPW-EXE:0x00527F9A queue clear | source/OpenTPW/World/ParkCellMap.cs:587 | [BIN:TPW-EXE:0x00527F9A queue clear] a ride's queue is cleared before these passes by the corner walk and Back with the forced-clear flag (QueuePaths.DemolishQueue, ORACLE.md X44), whose cell remover leaves the neighbours' links; the footprint passes here run the unforced remover (flag 0x81D7A8 cleared at 0x528013), which unlinks the cardinal bits of a type-3 or type-9 cell on both sides |
| TPW-EXE:0x00527F9A ride demolition queue | source/OpenTPW/World/Guests/QueuePaths.cs:423 | [BIN:TPW-EXE:0x00527F9A ride demolition queue] the demolition fills the corner stack (0x530120), sets the forced-clear flag 0x81D7A8 (0x527FAA) and calls Back 0x52FE50 until it returns 0 (0x527FBE..0x527FDA); each undo clears the line from the popped point to the new last point through ClearCell 0x5367A0, which under the flag does not stop at a NoModify cell (0x5367D4) or a placement counter and unlinks the four cardinal bits of the cell on both sides in its queue case |
| TPW-EXE:0x00527F9A ride demolition queue | source/OpenTPW/World/Guests/QueuePaths.cs:481 | [BIN:TPW-EXE:0x00527F9A ride demolition queue] 0x530120 runs even when the size is 0 (its counters and its link clear stay), the loop 0x527FBE..0x527FDA runs for a size above 0 and 0x527FDC..0x528007 then debits one cell's cost, else 0x52FBD0 zeroes the stack count (0x527FBC) |
| TPW-EXE:0x00527FB4 cached size | source/OpenTPW/World/Level.Objects.cs:1523 | [BIN:TPW-EXE:0x00527FB4 cached size] the demolition reads the ride's word +0x40 as it stands, the cached size, and drops no cache: a ride with no cached size (no front) neither undoes nor debits |
| TPW-EXE:0x00527FB4 front that holds no queue cell | source/OpenTPW/World/Level.Objects.cs:1546 | [BIN:TPW-EXE:0x00527FB4 front that holds no queue cell] the word +0x40 counts the chain from the front cell whatever its type, so a ride with a front but no queue cell still runs Back (it pops the front twice and clears nothing: a path cell as the prior corner suppresses the second click) and then debits one cell; a ride with no front (the entry has no link bit, 0x4DE040) has a count of 0 and neither undoes nor debits |
| TPW-EXE:0x00527FC1 demolition's Back loop | source/OpenTPW/World/Level.Objects.cs:1555 | [BIN:TPW-EXE:0x00527FC1 demolition's Back loop] a ride with placed cells runs the loop here, before the removal message: each pop re-evaluates the queue (0x52FFEC) and dismisses the guests the shrunken room no longer holds; other bridges keep the one clear after the message |
| TPW-EXE:0x00527FDC demolition queue charge | source/OpenTPW/Economy/ParkEconomy.cs:2686 | [BIN:TPW-EXE:0x00527FDC demolition queue charge] after the undo loop (0x527FBE..0x527FDA) 0x527EE0 takes the queue cell cost (0x52FB40) times the scrap percentage (0x4E2290), divides by 100 signed (imul by 0x51EB851F, sar 5 and the sign correction, 0x527FE3..0x527FFD) and debits it through 0x4D01F0 (0x528007); the cells themselves were credited one by one by the forced clears (ClearCell 0x5367A0's queue case, 0x4D0190), so a queue refunds one cell less than it holds |
| TPW-EXE:0x00528157 demolition charge | source/OpenTPW/Economy/ParkEconomy.cs:2716 | [BIN:TPW-EXE:0x00528157 demolition charge] after the replays of the track tool from both station sides (0x81B46C = 1), 0x527EE0 takes twice the cell cost (0x52FB60 or 0x52FB80 by the type record +0x9C, 0x5280F0..0x52814A), multiplies by the scrap percentage (0x4E2290) and divides by 100 signed (imul by 0x51EB851F, sar 5 and the sign correction), and debits it through 0x4D01F0 (0x528179) |
| TPW-EXE:0x0052852D record clear | source/OpenTPW/World/Tracks/TrackEditor.cs:660 | [BIN:TPW-EXE:0x0052852D record clear] pass 2 calls 0x53B280(0, 0, 1) (0x528525..0x52852D) on the record 0x4D0AF0 finds for the mask cell when the object is not the add-on a cleared tile takes with it (0x527EE0's third argument, 1 only from 0x53B703), else only the flag 0x10 of the record (0x528518..0x52851E); the third argument chooses the piece again for the neighbour tiles (0x53B7B4..0x53B83B), which ClearOrigin always does; 0x81B46C is 0 there: only the replays at 0x528059..0x5280BB set it, and the nested demolition runs the flag clear alone |
| TPW-EXE:0x00528A70 '@' and 'Q' stamp | source/OpenTPW/World/Objects/ObjectShape.cs:122 | [BIN:TPW-EXE:0x00528A70 '@' and 'Q' stamp] '@' (1) and 'Q' (3) are stamped by the placement as a type-1 and a type-3 cell (0x529119, 0x529173–0x529208); no Theme Park World shape has either (only the Theme Park Inc road signs "@" and "@@" do) |
| TPW-EXE:0x00528A70 add-on over its tile | source/OpenTPW/Economy/ParkEconomy.cs:2053 | [BIN:TPW-EXE:0x00528A70 add-on over its tile] an add-on's commit stamps type 4 on the first-layer cell (0x00532FC0, '+' stored as 4, 0x005290C7..0x005290EE) under the ride's straight tile, which stays on the second layer: the four cells of a placed add-on are type 4 (0 points) beneath their structure records, in the x86 oracle (ORACLE.md X38) |
| TPW-EXE:0x00528A70 add-on placement | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:56 | [BIN:TPW-EXE:0x00528A70 add-on placement] an object whose footprint has code 0xB or 0x10 (the track add-ons) must stand on a straight, unflagged tile of its ride's kart or water track (validator passes 0x10B/0x110, 0x20B/0x210 in add-on mode, 0x535953..0x5359B3) and its placement writes cell flags 0x10 (0x53A510 at 0x529511 and 0x52951C); a flagged tile gets no piece instance (0x0053AFA0 skips +0xE & 0x10) |
| TPW-EXE:0x00528A70 placement | source/OpenTPW/World/Level.Objects.cs:239 | [BIN:TPW-EXE:0x00528A70 placement] the placement moves no person: guests standing on a new access cell stay where they are |
| TPW-EXE:0x00528A70 placement commit | source/OpenTPW/World/ParkCellMap.cs:488 | [BIN:TPW-EXE:0x00528A70 placement commit] for every shape cell of a nonzero type (the table 0x818C18) it clears the cell (0x005367A0(0, 0)) and calls 0x00532FC0 with the type, 0xB, 0x10 and 0x17 replaced by 4 (0x5290C7..0x5290EE); a plain type is SetCellType 0x005346D0, which writes cell +8; Easymode's object cells are saved as 4, 9 and 10 |
| TPW-EXE:0x00528A70 placement leaves people alone | source/OpenTPW/World/Level.Objects.cs:264 | [BIN:TPW-EXE:0x00528A70 placement leaves people alone] the placement commit writes the footprint cells and clears the paths under them (0x5367A0) but holds no code that finds or moves a person (its calls are the cell ops 0x532FC0, 0x5348D0, 0x53A510, the owner and link writers, the creation 0x529E10 and the sound 0x51BFC0); a guest on a cell that becomes an object's (type 4) keeps walking by the edge test, which lets a walker out of a type 4 cell over a path (0x4D8806) or another type 4 cell (0x4D883E) and over any cell the walk's later tests open, and its own route search starts from that cell, so nothing sets it down |
| TPW-EXE:0x00528A70 placement scan order | source/OpenTPW/World/Objects/ObjectAccessCells.cs:15 | [BIN:TPW-EXE:0x00528A70 placement scan order] the footprint loop runs the rows (V) in the outer loop and the columns (U) in the inner one (the cell index steps by 1 within a row and by 0x14 between rows) and keeps the last entrance or exit it meets: the one with the highest V, then the highest U (the first-entrance scan 0x00413410 runs columns outer, FirstEntranceCellOf); no shipped shape names two entrances or two exits |
| TPW-EXE:0x00528A70 station under its footprint | source/OpenTPW/Economy/ParkEconomy.cs:2037 | [BIN:TPW-EXE:0x00528A70 station under its footprint] a kart or water ride's two station tiles lie on eight of its footprint cells (rows 1 and 2 across the heading): the commit stamped those cells type 4 before the station line wrote the second layer, so they count 0 + 50, not 2 + 50 (ParkCellMap.WriteFootprint keeps the stamped type as the tile's base type) |
| TPW-EXE:0x00528A70 station under its footprint | source/OpenTPW/World/Level.Tracks.cs:909 | [BIN:TPW-EXE:0x00528A70 station under its footprint] a save written before the footprint's type went under the station tiles holds base type 0 there (0 points for the net worth, not 2): the footprint writer puts the type under them again, as a fresh placement does; a join keeps the host's cells exactly (EXT:online-coop-snapshot-join) |
| TPW-EXE:0x00528A70 station under its footprint | source/OpenTPW/World/ParkCellMap.cs:506 | [BIN:TPW-EXE:0x00528A70 station under its footprint] the placement stamps the footprint's first-layer types (0x00532FC0 with the type, 4 for the shape's '*') before the station line and the exit and entry tiles are laid on the second layer (0x00525432..0x0052577C), which write no cell type; the level lays the station tiles first, so the type the footprint stamps goes under a station tile as its base type (oracle X38: a kart or water ride's two station tiles cover eight of its footprint cells, each type 4 beneath a structure record 13 or 12) |
| TPW-EXE:0x00528ACE placement resets the exit | source/OpenTPW/World/Level.Selection.cs:76 | [BIN:TPW-EXE:0x00528ACE placement resets the exit] 0x7639E0/E4 := (-1, -1) on every commit; the entry pair is left |
| TPW-EXE:0x00528B44 build click anchor | source/OpenTPW/World/Level.Objects.cs:1930 | [BIN:TPW-EXE:0x00528B44 build click anchor] the clicked cell less (W/2, H/2) (signed halves, 0x528B0F–0x528B68), with a = (5 − W)/2 and b = (5 − H)/2 truncated toward zero (0x528B31–0x528B4D): rotation 0 keeps it, 90 adds (b − a, 4 − a − b), 180 adds (4 − 2a, 4 − 2b), 270 adds (4 − a − b, a − b) (0x528D88–0x528E12); the other branch (0x81AF7C set) is dead, its only store writes 0 (0x52F074) |
| TPW-EXE:0x00528F26 owner word | source/OpenTPW/World/ParkCellMap.cs:814 | [BIN:TPW-EXE:0x00528F26 owner word] the placement stores the word of the new object's cell (its x byte +5 and y byte +7, y × 128 + x + 1) through 0x539210 (+0x10) on every footprint cell it types (0x529138), the entrance's outside queue cell and its entrance cell's owner (0x52983C); the pass 0x83 stores the tool's ride, 0x818698, on a line's queue cell (0x5340E9); Easymode's saved map cells carry exactly these words (mParentID, record +11) on every object, entrance, exit and queue cell |
| TPW-EXE:0x00528F26 owner word and add-on flag | source/OpenTPW/World/AreaClear.cs:21 | [BIN:TPW-EXE:0x00528F26 owner word and add-on flag] the owner word is the cell word of the object's anchor, written on every typed footprint cell by the placement (0x539210); the flag word 0x10 is written as a constant only by the placement's '+' and '#' footprint cells (0x53A510(0x10), 0x52950D, 0x52951C: the other callers of 0x53A510 pass the bridge bits 2, 4 and 8, the unowned bit 0x40, 0x20 or a computed word), and the validator reads it to refuse a second add-on on a tile (0x535961); Easymode's saved cells carry the owner words and never the flag |
| TPW-EXE:0x00528F62 build direction byte | source/OpenTPW/World/Original/BlueprintGhosts.cs:34 | [BIN:TPW-EXE:0x00528F62 build direction byte] the footprint loop sets [esp+0x14] to 1 (default), 0x40 (90), 0x10 (180) or 4 (270) (0x528F8B, 0x52900F, 0x528FE7, 0x528FB7) |
| TPW-EXE:0x00528F62 footprint stamping | source/OpenTPW/World/Objects/ObjectShape.cs:156 | [BIN:TPW-EXE:0x00528F62 footprint stamping] the placement stamps shape cell (column u, row v; the parser 0x402720 reverses the rows, so row 0 is the bottom text row) at the anchor plus (u, v), (v, −u), (−u, −v) and (−v, u) for 0, 90, 180 and 270 (0x528F7C, 0x529003, 0x528FD2, 0x528FA2 with the window offsets of 0x528B31–0x528BE4), for any width and height; the anchor is the cell of (0, 0) stored at 0x528DFF–0x528E12, and the demolition 0x527EE0 walks the same mapping |
| TPW-EXE:0x00529119 'Q' footprint cell | source/OpenTPW.Tests/ParkCellOwnerTests.cs:72 | [BIN:TPW-EXE:0x00529119 'Q' footprint cell] the type-3 shape cell is stamped through the generic SetCellType; no link pass runs for it |
| TPW-EXE:0x00529138 footprint owner | source/OpenTPW/World/ParkCellMap.cs:489 | [BIN:TPW-EXE:0x00529138 footprint owner] the commit then stores the new object's cell word as the cell's owner (0x539210, +0x10) and clears the track layer's bridge bits (0x53A530(0xF)); Easymode's saved cells carry y × 128 + x + 1 of the object's anchor on every cell of its footprint (all 67 object cells of the Jungle park) |
| TPW-EXE:0x00529173 '@' footprint cell | source/OpenTPW.Tests/ParkCellOwnerTests.cs:45 | [BIN:TPW-EXE:0x00529173 '@' footprint cell] type 1, flag word 0x20, the link writer in mode 1 for the cell and for each path neighbour it links to |
| TPW-EXE:0x00529173 '@' footprint cell | source/OpenTPW/World/ParkCellMap.cs:490 | [BIN:TPW-EXE:0x00529173 '@' footprint cell] on commit a type-1 shape cell gets the flag word 0x20 (0x53A510, 0x529182), the path link writer in mode 1 (0x5348D0, 0x529198) and, for each cardinal link it then has to a path cell, the same writer on that neighbour (0x5291C5..0x5291DD, the loop over 1, 4, 16, 64 by 0x4D8C20) |
| TPW-EXE:0x00529173 own-branch kinds | source/OpenTPW/World/Original/BlueprintGhosts.cs:93 | [BIN:TPW-EXE:0x00529173 own-branch kinds] '@' (1), '+' (11) and '#' (16) stamp SetCell(0x104, 0, 0), 0x10B and 0x110: blue or red, and no m_front on the first row, which only the default branch (4, 3) and the entrance and exit give |
| TPW-EXE:0x00529239 exit outside cell | source/OpenTPW/World/Objects/ObjectShape.cs:212 | [BIN:TPW-EXE:0x00529239 exit outside cell] the exit's rotated direction gives 1 → (x, y−1), 4 → (x+1, y), 0x10 → (x, y+1), 0x40 → (x−1, y) (table 0x529D3C): with grid +y = local +V this is N −V, E +U, S +V, W −U, the exit opening along its bit and the entrance opposite; every access symbol has a bit ('O' and 'X' are N), so the −V default below has no case |
| TPW-EXE:0x005292A7 exit cell link | source/OpenTPW/World/Objects/ObjectAccessCells.cs:57 | [BIN:TPW-EXE:0x005292A7 exit cell link] the footprint loop links a path cell already in front of an exit (0x4D97E0 along its queue link, then 0x5348D0 in mode 1: 0x5292BE..0x529208's twin at 0x5293D8..0x5293FE), which is all an exit gets when the queue option is off |
| TPW-EXE:0x00529323 entrance outside cell | source/OpenTPW/World/Objects/ObjectShape.cs:211 | [BIN:TPW-EXE:0x00529323 entrance outside cell] the placement rotates the entrance symbol's direction byte by the build rotation (0x4D8C20: shifted left by log2 of 1, 0x40, 0x10, 4 for 0, 90, 180, 270, wrapping) and takes the outside cell 1 → (x, y+1), 4 → (x−1, y), 0x10 → (x, y−1), 0x40 → (x+1, y) (table 0x529D90) |
| TPW-EXE:0x005293B3 entrance and exit cells | source/OpenTPW/World/ParkCellMap.cs:492 | [BIN:TPW-EXE:0x005293B3 entrance and exit cells] on commit an entrance or exit cell's queue link +0xD is the symbol's direction byte turned by the build rotation (0x4D8C20, 0x5227E0: 0x5293B3..0x5293C3, 0x5292A7..0x5292B2); Easymode's saved entrance and exit cells carry these bytes (the path cell in front of them is linked by ObjectAccessCells.Lay) |
| TPW-EXE:0x0052950D '+' and '#' footprint cell | source/OpenTPW.Tests/ParkCellOwnerTests.cs:84 | [BIN:TPW-EXE:0x0052950D '+' and '#' footprint cell] the flag word 0x10 on the cell and on the second-layer cell at the same coordinates |
| TPW-EXE:0x0052950D '+' and '#' footprint cell | source/OpenTPW/World/ParkCellMap.cs:491 | [BIN:TPW-EXE:0x0052950D '+' and '#' footprint cell] on commit the flag word of the cell and of the second-layer cell at the same coordinates is set to 0x10 (0x53A510(0x10) twice, 0x52950D..0x52951C); the 'Q' cell (3) takes the generic stamp only |
| TPW-EXE:0x0052950D '+' and '#' stamp | source/OpenTPW/World/Objects/ObjectShape.cs:121 | [BIN:TPW-EXE:0x0052950D '+' and '#' stamp] '+' and '#' are stored as occupied type 4 (0x5290C7–0x5290EE) and on commit both set the flag word of the cell and of its second-layer cell to 0x10 (0x52950D–0x52951C); every shipped add-on is a block of '+' (Dino Karts Jump "++/++", the tunnels, the Teleport) and no shipped shape has a '#' |
| TPW-EXE:0x0052950D '+' footprint cell | source/OpenTPW.Tests/AreaClearToolTests.cs:159 | [BIN:TPW-EXE:0x0052950D '+' footprint cell] the placement sets the flag word 0x10 on the cell of a '+' shape cell, which keeps the area clear's scans from taking the object |
| TPW-EXE:0x00529526 track end | source/OpenTPW/World/Original/BlueprintGhosts.cs:76 | [BIN:TPW-EXE:0x00529526 track end] a type-23 cell stamps its own cell (blue, direction byte 0x10 turned by the build direction) only when its shape direction byte is not 0, and the cell beside it in the turned direction gets m_direct (texture 5, the same byte) (0x5295D9); a cell that is none (direction 0) or off the map gets no face |
| TPW-EXE:0x005295A8 track end beyond cell | source/OpenTPW.Tests/ObjectAccessCellsTests.cs:520 | [BIN:TPW-EXE:0x005295A8 track end beyond cell] a coaster station "<*>" on one row: '<' opens towards −X, '>' towards +X |
| TPW-EXE:0x005295A8 track end beyond cell | source/OpenTPW/World/Objects/ParkObjects.cs:315 | [BIN:TPW-EXE:0x005295A8 track end beyond cell] a track end (type 23: '<', '>', 'D') needs the cell beyond it in its rotated direction (0x4D97E0 answers none off the map or for a symbol without a direction), and the placement is refused when there is none |
| TPW-EXE:0x0052967E footprint front row | source/OpenTPW/World/Original/BlueprintGhosts.cs:63 | [BIN:TPW-EXE:0x0052967E footprint front row] the placement 0x528A70 in ghost mode stamps each cell of the stamping loop with SetCell(0x104, 0) (0x52969C) and the cells of row 0 (outer loop counter 0, shape cell row v = 0) with SetCell(0x104, 6 = m_front, build direction byte) (0x529688); the entrance and exit cells take the same path (the exit's ghost branch 0x529313 jumps to 0x529688) |
| TPW-EXE:0x00529744 refused access bounds | source/OpenTPW/World/Original/BlueprintGhosts.cs:123 | [BIN:TPW-EXE:0x00529744 refused access bounds] after the footprint ghost, a failed entrance-side bounds check returns before both outside stamps; a failed exit-side check (0x5299E2) returns after the entrance stamp. With the queue option on, the ghost stamps 0x104/3 at 0x52989A and 0x118/4 at 0x529B1C, both forced red by 0x81B604 after a failed preflight. The host grid's dimensions replace the original 128-cell bound (0x4D8300). |
| TPW-EXE:0x0052977F access cells | source/OpenTPW/World/Level.Objects.cs:1612 | [BIN:TPW-EXE:0x0052977F access cells] the placement lays the cells outside the entrance and exit itself (ObjectAccessCells: the entrance's queue cell for a type with Info.HasQueue, else a path cell; the exit's path cell), free of charge and NoModify; Easymode's eight rides carry exactly these cells (18 cells compared) |
| TPW-EXE:0x005297BD entrance queue cell | source/OpenTPW/World/Objects/ObjectAccessCells.cs:34 | [BIN:TPW-EXE:0x005297BD entrance queue cell] on commit the entrance cell's link byte takes the bit toward the outside cell (0x522700) and its queue link +0xD the same bit (0x5227E0); the outside cell is cleared by cell op 0x87 and typed 3, takes the opposite bit in its link byte and its queue link (0x522700, 0x5227E0), the entrance cell's owner word (0x539210) and the flag word 0x20 (0x53A510), then the refresh ops 0x81, 0x85 and 0x86 run and the ride re-evaluates its queue (0x4DE1F0); Easymode's Belly Bounce has exactly this: entrance links 0x01 and queue link 0x01, queue cell with flags 0x20, queue link 0x10 and the ride's owner word |
| TPW-EXE:0x00529890 placement queue evaluation | source/OpenTPW/World/Level.Objects.cs:389 | [BIN:TPW-EXE:0x00529890 placement queue evaluation] the queue-option branch of the commit (0x52977F) runs 0x81, 0x85, 0x86 on the laid queue cell and then 0x4DE1F0 on the new ride (0x8186AC); the click handler's tail runs the passes 0x85, 0x86, 0x83, 0x81 and 0x4DE1F0 again for a placement the sub-record flag 0x52FAB0 reports as entrance-bearing (0x5251A8..0x52537A, 0x5258DF..0x5259AE). The ride's queue is not yet connected (the back cell links only toward the entrance, 0x4DE4A0), so neither call opens it |
| TPW-EXE:0x0052989A entrance outside cell | source/OpenTPW/World/Original/BlueprintGhosts.cs:64 | [BIN:TPW-EXE:0x0052989A entrance outside cell] with the queue option (0x52FAB0 true, default) the entrance's outside cell gets SetCell(0x104, 3 = m_enter, opposite of the rotated entrance direction) and the exit's outside cell SetCell(0x118, 4 = m_exit, opposite of the rotated exit direction) (0x529B1C); the entrance-side bounds check and stamp precede the exit-side work (0x529744, 0x5299E2); either access-presence flag enters this sequence (0x529711..0x529722), so absent/multiple access points need separate treatment |
| TPW-EXE:0x0052989A entrance path cell | source/OpenTPW.Tests/ImportedAccessLinksTests.cs:66 | [BIN:TPW-EXE:0x0052989A entrance path cell] the placement's link writer reaches the type-9 entrance cell along its queue link, so a ride without a queue has the byte too |
| TPW-EXE:0x0052989A entrance path cell | source/OpenTPW/World/Objects/ObjectAccessCells.cs:36 | [BIN:TPW-EXE:0x0052989A entrance path cell] without the queue option the entrance's outside cell gets the same treatment as the exit's (0x5298D5..0x5299AC); Easymode's Drinks Shop, Jungle Spray, Litter Bin, Staff Room and Small Toilets have a NoModify path cell outside their entrance |
| TPW-EXE:0x0052989A saved NoModify path cells | source/OpenTPW/World/ParkCellMap.cs:318 | [BIN:TPW-EXE:0x0052989A saved NoModify path cells] a path cell the placement laid outside an entrance or exit carries the flag word 0x20 in the save as the initial path cells do (18 of the Jungle Easymode's 78 path cells: ten initial, eight laid outside its rides' entrances and exits) |
| TPW-EXE:0x00529A58 exit path cell | source/OpenTPW/World/Objects/ObjectAccessCells.cs:35 | [BIN:TPW-EXE:0x00529A58 exit path cell] on commit the exit's outside cell is cleared (0x87) unless it is a path cell, typed 1 (the cell setter counts a path over a path as one more placement), linked by the path link writer in mode 1 (0x5348D0), refreshed (0x81, 0x85, 0x86), set to the flag word 0x20 and every path neighbour it links to is linked again by the same writer (0x529ABF..0x529B18) |
| TPW-EXE:0x00529E10 controller types | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1219 | [BIN:TPW-EXE:0x00529E10 controller types] the placement builds a controller through 0x00545890 for any nonzero ride type word +0xA0 (Bumper.BumperType); the shipped rides of all four themes (bonus entries included) use only −1 and −4..−14, each with the WhichTrackType of its family (0 bumper cars, 1 karts, 2 water), so BumperTemplates.ForRide covers every one (BumperTypeCoverageTests); the loader of a saved ride (0x00543560) restores the controller from the save |
| TPW-EXE:0x00529E10 placement walks nothing | source/OpenTPW/World/Level.Tracks.cs:223 | [BIN:TPW-EXE:0x00529E10 placement walks nothing] the ride's placement lays the station and walks no circuit, so the track word +0x2C keeps the constructor's 1 until a track edit writes it (0x524D1B, 0x5251B8): OpenTPW's placement walk builds the station's sections without writing the word |
| TPW-EXE:0x00529E10 ride placement | source/OpenTPW/World/Level.Tracks.cs:125 | [BIN:TPW-EXE:0x00529E10 ride placement] the cursor cell is 0x818C3C = (anchorY << 7) + anchorX + 1, written at 0x528E12 from the build click's anchor (0x528B44, GetCentredAnchor) just before the call at 0x528E19; |
| TPW-EXE:0x00529E10 ride placement | source/OpenTPW/World/Tracks/TrackStation.cs:79 | [BIN:TPW-EXE:0x00529E10 ride placement] the controller's reference is the cell between the two tiles on their centre line (anchor + the type's Bumper.*Adjust + (4, 1), (1, −5), (−5, −2) or (−2, 4) by rotation, 0x529EDF..0x529F2B), see Level.TrackStationReference |
| TPW-EXE:0x0052A02E placement selects | source/OpenTPW/World/Level.Commands.cs:168 | [BIN:TPW-EXE:0x0052A02E placement selects] the placing player's own selection (0x7C2654) is the new object |
| TPW-EXE:0x0052A050 line tool after a placement | source/OpenTPW/World/Level.Tracks.cs:398 | [BIN:TPW-EXE:0x0052A050 line tool after a placement] the placement starts the line tool itself (mode 3 with its line start), without reading the circuit word that the tool button's click reads (0x5267F2) |
| TPW-EXE:0x0052A1A0 station line | source/OpenTPW/World/Tracks/TrackBuilder.cs:280 | [BIN:TPW-EXE:0x0052A1A0 station line] the station line first: the type op, 0x80 (the first tile no arm, the second the arm toward the first and the first the arm back), 0x82 and 0x83 over the two tiles, whose end is the exit cell |
| TPW-EXE:0x0052A1A0 station line | source/OpenTPW/World/Tracks/TrackStation.cs:78 | [BIN:TPW-EXE:0x0052A1A0 station line] from the attraction cell (x, y) the line runs, per rotation, 0°: (x, y+1) → (x+2, y+1), exit (x+4, y+1); 90°: (x+1, y−1) → (x+1, y−3), exit (x+1, y−5); 180°: (x−1, y−2) → (x−3, y−2), exit (x−5, y−2); 270°: (x−2, y) → (x−2, y+2), exit (x−2, y+4) (0x52A1E1..0x52A28C: the start cell is the walk's start 0x7639E0/E4); the tiles are the footprint's rows 1 and 2 across the heading, the entrance row 0 beside them |
| TPW-EXE:0x0052A490 forward piece walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:14 | [BIN:TPW-EXE:0x0052A490 forward piece walk] from the attraction cell plus the station's exit offset (rotation 0: (x+4, y+1), 90: (x+1, y−5), 180: (x−5, y−2), 270: (x−2, y+4)) with the rotation's heading; |
| TPW-EXE:0x0052A490 forward piece walk | source/OpenTPW/World/Tracks/TrackRenderer.cs:330 | [BIN:TPW-EXE:0x0052A490 forward piece walk] every piece the walk passes gets 0x004732A0(instance, 5, 0, 7, 1.0, 0): animation 5 (the mesh's m clip), variant 0, flags 7 (loop, at once), speed 1, channel 0 |
| TPW-EXE:0x0052A700 backward piece walk | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:18 | [BIN:TPW-EXE:0x0052A700 backward piece walk] the same loop from the station's other side (rotation 0: (x−2, y+1), 90: (x+1, y+1), 180: (x+1, y−2), 270: (x−2, y−2)) with the reversed heading |
| TPW-EXE:0x0052A970 circuit walk | source/OpenTPW/World/Level.Tracks.cs:244 | [BIN:TPW-EXE:0x0052A970 circuit walk] a valid circuit closes the tool; the walk itself posts no advisor or event message (it calls no message builder 0x0059B590) |
| TPW-EXE:0x0052A970 circuit walk | source/OpenTPW/World/Tracks/TrackCell.cs:31 | [BIN:TPW-EXE:0x0052A970 circuit walk] each step requires a cell of type 11, 13, 16, 18 or 25 (the walk of Q3), else it fails |
| TPW-EXE:0x0052A970 circuit walk | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:52 | [BIN:TPW-EXE:0x0052A970 circuit walk] start = the station cell, each step needs a cell of type 11/13/16/18/25 (0x53AD30), a corner (0x53AE00: two perpendicular arms) takes the new heading mask ^ opposite(heading) (the heading itself when the opposite arm is missing) and rewrites +0xD, a non-corner keeps the heading, the step number goes to +0x24 (0x53AEF0, 0-based) and the walk moves 2 cells by a single-bit heading; success is arriving back at the start cell exactly, from any side, with no minimum length |
| TPW-EXE:0x0052AC68 add-on sections | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:57 | [BIN:TPW-EXE:0x0052AC68 add-on sections] a straight with flag 0x10 builds kind 12 (0x44) or 13 (0x11) with +8 = its place in the run of add-on tiles (0 for the first, reset by any other tile), +0xC = the add-on's instance (thing +0x20) and +0x10 = its type id (0x4DD4E0 +0x10; Level.LinkAddOns links them after the walk, TrackAddOns.OpenEndsOf the open ends of 0x0052ADE3); the vehicle hook is the Space Racers Teleport only (type 0xDAC, 3500): [BIN:TPW-EXE:0x00548CA5] within ±0x4B0 of the first tile's centre a vehicle is hidden (0x548E80: flag 0x200, its instance, shadow and riders' heads) and the teleport plays animation 5, past 0x4B0 on the far side of the second tile it shows again |
| TPW-EXE:0x0052ADE3 add-on ends | source/OpenTPW/World/Tracks/TrackAddOns.cs:140 | [BIN:TPW-EXE:0x0052ADE3 add-on ends] for every tile with flag 0x10 the walk raises the run counter [esp+0x20] (the reset of the bits [esp+0x2C] at 0x0052AE1E runs only when the raised counter is 0, and the counter's writes are 0 at the start, 0 for a corner, a crossing or an unflagged straight, 0x0052A996/0x0052ABE4/0x0052AC3C/0x0052AD1E, and the raise), finds the cell's owner thing (0x00527D60; none skips the rest, 0x0052AE93); the cell two ahead along +0xD (0x0050C3E0) and the cell two behind (0x004D8C00 the opposite) each set their bit (0x10 ahead, 1 behind, 0x0052AF07/0x0052AF4D) when it is a track tile of type 0xB or 0x10 (0x0053AD70) with a piece instance (+4) or a station of type 0xD or 0x12; at a counter of 2 the jump table 0x0052B378 (indices 0x0052B38C) shows (clears node flag 0x10) or hides (sets 0x80000010) the owner's class-1 dummies 1 and 0x10 (0x0044B3C0): bits 0 show both, 1 hide 1 and show 0x10, 0x10 show 1 and hide 0x10, 0x11 hide both |
| TPW-EXE:0x0052B06D add-on end hide | source/OpenTPW/World/Objects/ObjectAnimator.cs:282 | [BIN:TPW-EXE:0x0052B06D add-on end hide] the walk hides an end with node state |= 0x80000010 (0x0052B06D, 0x0052B120, 0x0052B16B) and shows one with &= ~0x10 (0x0052AFCC, 0x0052B0A8) |
| TPW-EXE:0x0052B20C walk failures | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:53 | [BIN:TPW-EXE:0x0052B20C walk failures] the walk fails (the flag [esp+0x28] clears) on a non-track cell, a heading of 0 or a cell with fewer than two arms (0x52B20C..0x52B220), and on a three-arm cell (0x522790 = 3) when the cell two ahead has type 0 (0x52B26F..0x52B280) or is a track cell without arms while the heading has bit 0x01 (a literal bit test, 0x52B238..0x52B267); a four-arm cell has no rule, no arm toward the flow is tested, the walk arriving at the start with the flag clear still fails |
| TPW-EXE:0x0052B400 cut | source/OpenTPW/World/Tracks/TrackEditor.cs:420 | [BIN:TPW-EXE:0x0052B400 cut] the first walk (heading = the first tile's flow link, a corner turning to mask ^ the reversed heading from the second tile on) ends at the second pick and, committing, writes the heading as each tile's flow link (ORed on a junction) and finds the cut's ends by equal step number (a junction before the step matches stands in for it); the second walk clears the tiles from the first end to the second (a junction loses one pass: 0x53B280(−1, −1), any other straight, corner or stub is cleared: 0x53B280(0, 0)); the tail re-links the ends (0x53BC60) when the first tile survived as a straight or corner |
| TPW-EXE:0x0052BC43 owner word | source/OpenTPW/World/ParkFence.cs:236 | [BIN:TPW-EXE:0x0052BC43 owner word] the walk 0x52BA50 writes the post's word into +0x10 of the three cells next to it (0x539210 at 0x52BC43, 0x52BC82, 0x52BCC1) and then types them 0xC (0x538FC0 at 0x52BC4C, 0x52BC8B, 0x52BCCA), whatever they hold; the post clear 0x53B280 reads that word back and clears the neighbours that name the post (0x53B739 and the three after it) |
| TPW-EXE:0x0052BDD0 area clear | source/OpenTPW/World/AreaClear.cs:20 | [BIN:TPW-EXE:0x0052BDD0 area clear] the rectangle is normalised; rows from the top, cells from the left: a ride cell (type 4, 9 or 10) starts four scans along the cells of the same owner (+0x10) and of a ride type, to the right, the left, down and up, each refused when a scanned cell has flag 0x10 (0x535DB0(0x10)) or the run passes the rectangle's edge (0x52BEC6..0x52C06A), and when all four pass the object is demolished (0x527EE0(x, y, 0)); then every type-1 cell of the rectangle (0x536310) is cleared with 0x5367A0(0, 0) (0x52C0D8..0x52C11F), queue cells and ride cells staying |
| TPW-EXE:0x0052BE74 object cell types | source/OpenTPW/World/ParkCellMap.cs:64 | [BIN:TPW-EXE:0x0052BE74 object cell types] the area clear tests the type with 4 and the range 9..10 (0x52BE74..0x52BE85); the owner lookup 0x527D60 tests 4, 9 and 10 (0x527DB3..0x527DC7) |
| TPW-EXE:0x0052C11F area clear | source/OpenTPW/World/ParkPathBuilder.cs:402 | [BIN:TPW-EXE:0x0052C11F area clear] the area clear (tool 0x3A, AreaClearTool) calls ClearCell 0x5367A0(0, 0) on every type-1 cell of its rectangle: this forced removal |
| TPW-EXE:0x0052C420 skirt edge mask | source/OpenTPW/World/Objects/ObjectSkirtReading.cs:49 | [BIN:TPW-EXE:0x0052C420 skirt edge mask] the routine stores the shape's width and height behind the 256 mask bytes first, clears only the 256 bytes, and sets byte column × 16 + row to 1 for a footprint cell (type dword 4, 9, 10 or 0x17 at shape + 8 + (row × 20 + column) × 8) with fewer than four footprint neighbours |
| TPW-EXE:0x0052C6F0 forward bridge walk | source/OpenTPW/World/Tracks/TrackBridges.cs:217 | [BIN:TPW-EXE:0x0052C6F0 forward bridge walk] start = anchor + (4, 1), (1, -5), (-5, -2) or (-2, 4) by rotation 0, 90, 180, 270 with the heading +X, -Y, -X, +Y (0x52C73C..0x52C77B); the start cell not being a track kind answers 1 at once (0x52C7BD); a tile of kind 0xB or 0x10 (0x53AD70) turns at a corner to mask ^ opposite (0x52C80B..0x52C83E), is given its flag word when bridged (0x52C843..0x52CA47), ends the walk when it has no arm along the heading (0x52CA91..0x52CAB5) and answers 1 when the tile ahead is a station tile of its ride with an arm back (0x52CAE8..0x52CB37); any other cell is passed over along the heading |
| TPW-EXE:0x0052C7C7 walk position | source/OpenTPW/World/Tracks/TrackBridges.cs:263 | [BIN:TPW-EXE:0x0052C7C7 walk position] the id (y << 7) + x + 1 is truncated to 16 bits and the record read from the array of 128 x 128 records behind it (0x52C7D2..0x52C7F2); the neighbours of 0x50C3E0 come from the id the record stands at |
| TPW-EXE:0x0052CCB0 reverse bridge walk | source/OpenTPW/World/Tracks/TrackBridges.cs:308 | [BIN:TPW-EXE:0x0052CCB0 reverse bridge walk] start = anchor + (-2, 1), (1, 1), (1, -2) or (-2, -2) by rotation with the opposite heading (0x52CCFA..0x52CD33); the same turn and end rules as the forward walk, its own flag rules (0x52CE95..0x52D0E3: ahead only gives 8 and behind only 2), and no answer: it ends when the tile ahead is a station tile of its ride with an arm back (0x52D144..0x52D187) |
| TPW-EXE:0x0052F175 tool ride | source/OpenTPW/World/ParkFence.cs:334 | [BIN:TPW-EXE:0x0052F175 tool ride] the level start stores 0 into 0x818698 just before the set-up 0x5323F0, whose own tool switch 0x5276D0 (0x532483) clears it again; only the track tools write it (0x524C94, 0x5251D2, 0x525815, 0x527751, 0x527859) and every tool switch 0x5276D0 (the HUD's tool buttons, e.g. 0x4988F8) stores 0 into it (0x5276DF) |
| TPW-EXE:0x0052F1B0 angle setter | source/OpenTPW/Hud/ParkHud.cs:597 | [BIN:TPW-EXE:0x0052F1B0 angle setter] the angle word 0x81D7A4 changes only through its setter 0x52F1B0 (callers: the rotate key 0x40C133, the replayed angle 0x404DFF, the object copy 0x487BF4, the Move pick-up 0x48D12F, the add-on hover 0x5237F7, the placement tail 0x5259FE and 0x525E6C) and where the tool mode becomes 0 (0x52F3B6); the buy click (0x4AC590..0x4AC683) builds the tool object (0x46C5A0), arms it (0x46C350 at 0x4AC65E) and calls none of them directly; the activation 0x46D5A0 runs the hover 0x5234D0 and SetMode(4, 1) 0x52F200, which reach the setter only for a track add-on (0x5237F7) and reset the angle only for mode 0 (0x52F3B6), so a tool armed during the queue tool of a placement starts at the angle that placement kept |
| TPW-EXE:0x0052F200 SetMode | source/OpenTPW/World/CellBuildTool.cs:143 | [BIN:TPW-EXE:0x0052F200 SetMode] a new mode stores the mode (0x81AE2C) and sets the start to −1 (0x52F340) |
| TPW-EXE:0x0052F200 interface mode change | source/OpenTPW/Client/AutomaticAdvisor.cs:387 | [BIN:TPW-EXE:0x0052F200 interface mode change] a changed mode withdraws the ten tool and mode help messages (AdvisorUiHelp.ModeHelpMessages) |
| TPW-EXE:0x0052F200 interface mode change | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:74 | [BIN:TPW-EXE:0x0052F200 interface mode change] SetMode stores the new mode (0x81AE2C) after withdrawing the ten tool help messages when it differs from the stored one |
| TPW-EXE:0x0052F200 interface mode change | source/OpenTPW/World/AdvisorHelp.cs:159 | [BIN:TPW-EXE:0x0052F200 interface mode change] when the new mode differs from the old one, 0x59AA70 is called for 0xB8, 0xCB, 0xD6, 0xCD, 0xC9, 0xCE, 0xC1, 0x159, 0x15A and 0x151 (184, 203, 214, 205, 201, 206, 193, 345, 346, 337); the new mode 3 then posts 0xCB (203) |
| TPW-EXE:0x0052F4B0 queue tool start | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:104 | [BIN:TPW-EXE:0x0052F4B0 queue tool start] SetMode(3) (and the variant 0x52F580, 0x52F7B2) posts 0xCB (203) after the withdrawal, for every way into the queue tool |
| TPW-EXE:0x0052FAB0 queue option | source/OpenTPW/World/Level.Objects.cs:1613 | [BIN:TPW-EXE:0x0052FAB0 queue option] the option 0x81B0CC is set by the build tool from the type's +0x40 (0x52FA90 at 0x527986 and 0x46D644) and is 1 after SetMode (0x52F139); 0x8187F8 is the upgrade selection (0x52F880), which no OpenTPW build uses |
| TPW-EXE:0x0052FAB0 queue option | source/OpenTPW/World/Objects/ObjectCatalog.cs:176 | [BIN:TPW-EXE:0x0052FAB0 queue option] 0x81B0CC when 0x8187F8 is 0, else 0; the enter 0x46D5A0 stores HasQueue (+0x40) in 0x81B0CC through 0x52FA90 (0x46D644) and the upgrade selection through 0x52F880 (0x46D61D). No shipped upgrade of kind 1 has a queue, so the shipped data never tells the two apart |
| TPW-EXE:0x0052FBF0 vertex push | source/OpenTPW/World/Tracks/TrackLineWriter.cs:31 | [BIN:TPW-EXE:0x0052FBF0 vertex push] the push answers 0 and stores nothing when the count 0x820A8C is above 0x400, so the stack at 0x81B740 holds 0x401 = 1025 points, the collectors' 0x530830 and 0x530B70 bound (the same test at 0x530C4A) |
| TPW-EXE:0x0052FC80 station repair | source/OpenTPW/World/Tracks/TrackEditor.cs:813 | [BIN:TPW-EXE:0x0052FC80 station repair] for each of the four headings from 1 (0x4D8C20 turns by 90 degrees): without the arm, a station tile of the same ride (+0x10) two cells on gets it, with the flow link turned back (0x5227E0) and the piece chosen again (0x52FD73); with it, a cell that is no track tile and no station tile, or a track tile whose mask lacks the reversed heading, loses it (0x52FD6B) |
| TPW-EXE:0x0052FD94 repair flag tail | source/OpenTPW/World/Tracks/TrackEditor.cs:814 | [BIN:TPW-EXE:0x0052FD94 repair flag tail] with the flag set (the argument, from 0x52FF73) and the tile a corner (0x53AE00, tested once): each arm toward a cell on the grid that is no station tile (0x53ADB0) goes with the neighbour's arm back and both pieces are chosen again (0x52FDDD..0x52FDFF); an arm toward a station tile clears the link (0x5227F0(0xFF)) and sets it to the arm's reverse (0x5227E0, 0x52FE06..0x52FE1E) |
| TPW-EXE:0x0052FE50 Back | source/OpenTPW/World/CellBuildTool.cs:151 | [BIN:TPW-EXE:0x0052FE50 Back] the undo pops the stack's last point and clears the line from it to the new last point; a stack of one point has nothing to undo (0x52FE6F..0x52FE8C) |
| TPW-EXE:0x0052FE50 Back | source/OpenTPW/World/Tracks/TrackEditor.cs:341 | [BIN:TPW-EXE:0x0052FE50 Back] pop the last corner, click in mode 0x35 at it and the new stack top (0x52FF3A, 0x52FFB2): the first click only sets the line start (0x52F200 reset it), the second runs line op 0x32 (0x526001: 0x53AAC0 over the line between the two points, every tile of it, both ends included) whose per-tile handler calls 0x53B280 with the line's step (0x5370E0, 0x538CCE); a zero-length line clears with (0, 0) |
| TPW-EXE:0x0052FE50 repair per pop | source/OpenTPW/World/Tracks/TrackEditor.cs:402 | [BIN:TPW-EXE:0x0052FE50 repair per pop] every call of the replay pop (0x52FE50) runs the station repair 0x52FC80 afterwards (0x530005) with the flag set for the pop that leaves one point; the call that finds no point to pop (the stack ends with one point) repairs once more without the flag (0x530062) and answers 0 |
| TPW-EXE:0x0052FE50 replay pops | source/OpenTPW/World/Tracks/TrackEditor.cs:391 | [BIN:TPW-EXE:0x0052FE50 replay pops] the stack 0x81B740 (count 0x820A8C) pops its top point (0x52FEA1..0x52FEC9), the click handler takes it as the line start and the new top as the end (0x52FF3A, 0x52FFB2): a stack of n points replays the n − 1 lines n → n − 1, …, 2 → 1, each tile of a line (both ends) cleared with the line's step, so a corner is cleared twice (its pass counter is 1), a straight once; the bottom point is no line of its own, and with one point or none nothing is replayed |
| TPW-EXE:0x0052FF73 last line flag | source/OpenTPW/World/CellBuildTool.cs:385 | [BIN:TPW-EXE:0x0052FF73 last line flag] the pop that leaves one point on the stack sets the repair's flag |
| TPW-EXE:0x0052FFB7 Back's second click | source/OpenTPW/World/Guests/QueuePaths.cs:482 | [BIN:TPW-EXE:0x0052FFB7 Back's second click] a pop clicks the popped point, then the new top (0x52FF3A, 0x52FFB2) unless the mode is 3 and the new top is a path cell (0x52FFA6, 0x52FFAA): the click handler's mode 0x34 clears the line between the two (0x525F63..0x525F76: 0x536100 pass 0x32, forced), both end cells included; the last point of the stack is never popped (0x52FECF) |
| TPW-EXE:0x0052FFEC Back's re-evaluation | source/OpenTPW/Online/CoopUndoJournal.cs:1215 | [BIN:TPW-EXE:0x0052FFEC Back's re-evaluation] a path undo re-evaluates the issuer's selection: the host's own, never a guest's, and never a ride another seat claims |
| TPW-EXE:0x0052FFEC Back's re-evaluation | source/OpenTPW/World/Guests/QueuePaths.cs:501 | [BIN:TPW-EXE:0x0052FFEC Back's re-evaluation] every pop of the loop ends with 0x4DE1F0 on the demolished ride (the argument of Back): its back and size are found again, the back cell is stamped and the guests the shrunken room no longer holds leave |
| TPW-EXE:0x0052FFEC Back's re-evaluation | source/OpenTPW/World/Level.Commands.cs:259 | [BIN:TPW-EXE:0x0052FFEC Back's re-evaluation] the path tool's Back passes no ride (0x40BEB3), so the pop's re-evaluation (mode 1: 0x52FF04) takes the selected ride (0x8186AC), which the issuer's command carries |
| TPW-EXE:0x0052FFEC Back's re-evaluation | source/OpenTPW/World/QueueSegmentReducer.cs:186 | [BIN:TPW-EXE:0x0052FFEC Back's re-evaluation] the popped point is still clicked and the mode restored, and 0x4DE1F0 runs after every undo that popped a point, so a suppressed second click re-evaluates too |
| TPW-EXE:0x00530005 repair after a pop | source/OpenTPW/World/Tracks/TrackEditor.cs:353 | [BIN:TPW-EXE:0x00530005 repair after a pop] every pop repairs the exit tile (0x52FC80), with the flag set when the stack holds one point after the pop (0x52FF73) |
| TPW-EXE:0x00530120 corner walk | source/OpenTPW/World/Guests/QueueCornerWalk.cs:51 | [BIN:TPW-EXE:0x00530120 corner walk] the stack count is reset (0x530150); the entrance's link byte (0x522770) names the first step: for the bits 1, 4, 0x10 and 0x40 the neighbour (0x4D96F0, null off the map) is pushed first when it is no queue cell (0x536320: 0x5304C0, 0x5304EC) or one of this ride (owner word +0x10 equal, 0x5301F5), and a neighbour that is the queue of another ride ends the walk with that neighbour as its only point (0x530215, 0x53048D); then each cell the walk stands on: a queue cell takes the counter 1 when it is a corner (0x53AE00, which also turns the step to link byte xor the reverse of the step, 0x530291..0x53029A, and pushes the cell, 0x5302AA) and 0 otherwise (0x5302C9), a cell that is no queue cell ends the walk (0x5302D4, return value = the step), an entrance cell is passed (0x5302EA), a cell with one link ends it (0x5302F2..0x5302FC) |
| TPW-EXE:0x00530120 corner walk | source/OpenTPW/World/Guests/QueuePaths.cs:226 | [BIN:TPW-EXE:0x00530120 corner walk] the walk starts at the ride's entrance cell (+0x36), whose link byte gives the first step: a neighbour that is not a queue cell (types 3 and 9, 0x536320) or is one of this ride (owner word +0x10 equal to the entrance cell's) is pushed first (0x5301FC, 0x5304C0), then the walk steps off the entrance (type 9 takes no corner test, 0x5302E1) along the cells: a cell with exactly two cardinal links that are not opposite (0x53AE00) turns the walk to the link that is not the one it came by (link byte xor the reverse of the step, 0x530291..0x53029A) and is pushed (0x5302AA), a cell with one link ends the walk (0x5302F2..0x5302FC), and a cell that is not a queue cell ends it too (0x5302D4); the last cell is pushed (0x530494) and becomes the line start (0x81EDE4, 0x81EDE8); at most 0x401 points are stored (0x5301F5, 0x5302A3, 0x530492) |
| TPW-EXE:0x00530120 corner walk | source/OpenTPW/World/Level.Objects.cs:1048 | [BIN:TPW-EXE:0x00530120 corner walk] the tool's entry walks the queue into the stack of corner points (0x81B740) and sets the line start to its last point; the tool's undo then takes the queue back segment by segment (Back 0x52FE50) |
| TPW-EXE:0x00530120 one-cell queue | source/OpenTPW/World/Level.Objects.cs:1050 | [BIN:TPW-EXE:0x00530120 one-cell queue] the walk pushes the first cell (0x5301FC) and, when it ends, the last cell (0x530494) — both unconditional — so a queue of one cell |
| TPW-EXE:0x0053024A cell lookup | source/OpenTPW/World/Guests/QueueCornerWalk.cs:154 | [BIN:TPW-EXE:0x0053024A cell lookup] the loop's cell is the word (edi << 7) + esi + 1 & 0xFFFF (0x53024A..0x53025E) with no bounds test after the first cell (0x530238) |
| TPW-EXE:0x005302C2 walk counters | source/OpenTPW/World/Guests/QueuePaths.cs:267 | [BIN:TPW-EXE:0x005302C2 walk counters] the walk 0x530120 stores the counter through 0x5228A0 after each cell's corner test (0x53AE00): 1 for a corner (0x5302BE..0x5302C2, with the push), 0 for any other cell it visits (0x5302C9..0x5302CD); the entrance cell, the first it visits, takes 0 as well; the queue edit click (0x526103) and the demolition (0x527F9A) run the walk, the clear 0x5367A0 counts down from these values and clears a bend whatever its counter |
| TPW-EXE:0x005302C9 entrance counter | source/OpenTPW/World/Guests/QueuePaths.cs:281 | [BIN:TPW-EXE:0x005302C9 entrance counter] the entrance cell (type 9) passes the queue test 0x536320 and takes 0 like any non-corner cell, the first the walk visits |
| TPW-EXE:0x00530300 path end | source/OpenTPW/World/Guests/QueueCornerWalk.cs:52 | [BIN:TPW-EXE:0x00530300 path end] a type-1 cell ends the walk on the cell before it (the step reversed, 0x530338..0x530341); that cell loses the link bit along the step (0x522730 at 0x530380, 0x5365D0) unless it is the entrance (0x536340 at 0x530366), which leaves the path cell itself as the last point, and the path cell loses the reverse bit (0x53039C..0x5303A3) |
| TPW-EXE:0x0053036F corner walk ends on a path | source/OpenTPW/World/Guests/QueuePaths.cs:227 | [BIN:TPW-EXE:0x0053036F corner walk ends on a path] a walk that steps onto a path cell (type 1, 0x536310) ends on the cell before it, the queue's back cell (0x530342..0x53036F); the walk then clears the link between the two (QueuePaths.DetachFromPath) |
| TPW-EXE:0x00530379 corner walk link clear | source/OpenTPW/World/Guests/QueuePaths.cs:354 | [BIN:TPW-EXE:0x00530379 corner walk link clear] at the path cell the walk (0x530300) takes the step back to the cell before it (0x530338..0x530341) and, when that cell is not the entrance (type 9, 0x536340 at 0x530366), clears the step bit on it (0x522730 at 0x530380) and refreshes its tile (0x5365D0); it then clears the reverse bit (0x4D8C00) on the path cell and refreshes it (0x53039C..0x5303A3) and ends with the queue's back cell as its last point; nothing restores the link on a cancel: the mode-3 undo (0x52FE50) and the tool's exit (0x52F200, 0x52F580) only pop points and reset the tool state, and the relinking pass 0x52FC80 runs for the track tool modes 0xB, 0x10 and 0x35 only; the walk's return value (0x81B14C, 0x48D00E) is never read |
| TPW-EXE:0x00530379 corner walk link clear | source/OpenTPW/World/Level.Commands.cs:289 | [BIN:TPW-EXE:0x00530379 corner walk link clear] the walk the click runs also takes the link between the queue's back cell and the path it ends on off both cells, and a cancel restores nothing (QueuePaths.DetachFromPath) |
| TPW-EXE:0x005303F1 no step | source/OpenTPW/World/Guests/QueueCornerWalk.cs:53 | [BIN:TPW-EXE:0x005303F1 no step] an entrance without a link byte takes the cell its queue link (+0xD) turned by the rotation's bit (0x4D8C20; 0 → 1, 90 → 4, 180 → 0x10, 270 → 0x40) names; the last point is pushed at 0x530494 and is the line start (0x81EDE4, 0x81EDE8) |
| TPW-EXE:0x00530830 corner collector | source/OpenTPW/World/Tracks/TrackEditor.cs:188 | [BIN:TPW-EXE:0x00530830 corner collector] from the station's exit cell (0x52A3A0: the attraction cell plus the rotation's offset, heading 4, 1, 0x40 or 0x10) over the tiles of type 0xB or 0x10 (0x53AD70): a corner (0x53AE00) turns to mask ^ the reversed heading (0x4D8C00, no fallback) and is pushed (≤ 0x401 points, 0x81B740), every tile gets its overlap word (0x5228A0) set to 1 for a corner or junction and to 0 else, a non-corner without the heading in its mask ends the walk (0x5309C0), and so does a station tile of the same ride (0x53ADB0, +0x10) whose mask holds the reversed heading, the walk then standing on it (0x530A05); the end (0x81EDE4/E8) is the last position and is pushed too (0x530A87) |
| TPW-EXE:0x00530830 corner stack | source/OpenTPW/World/Tracks/TrackEditor.cs:44 | [BIN:TPW-EXE:0x00530830 corner stack] the stack at 0x81B740 takes a point only while its count (0x820A8C) is at most 0x400, so it holds 0x401 points |
| TPW-EXE:0x00530A87 collector end | source/OpenTPW/World/Tracks/TrackEditor.cs:329 | [BIN:TPW-EXE:0x00530A87 collector end] the end of the walk is pushed only while the stack has room (a count of at most 0x400), so a walk that recorded 0x401 corner points leaves the stack without it and the tool starts at the end all the same (0x81EDE4/E8): the stack is the collector's, as the original keeps it |
| TPW-EXE:0x00530A87 collector stack | source/OpenTPW.Tests/TrackInitialStationTests.cs:57 | [BIN:TPW-EXE:0x00530A87 collector stack] a walk that ends at the exit pushes it twice: the stack is kept as collected |
| TPW-EXE:0x00530B70 backward collector | source/OpenTPW/World/Tracks/TrackEditor.cs:273 | [BIN:TPW-EXE:0x00530B70 backward collector] from the entry cell (0x52A420: the tile before the station, heading against the flow) over the tiles of type 0xB or 0x10 (0x53AD70): a corner turns to mask ^ the reversed heading and is pushed (≤ 0x401 points), the overlap word is 1 at a corner or junction and 0 else (0x5228A0), the exit tile's is 0 (0x530D26..0x530D34: the cell equal to 0x7639E0/E4), a non-corner without the heading in its mask ends the walk, and so does a station tile of the ride (0x53ADB0, +0x10) two cells ahead whose mask holds the reversed heading, the walk then standing on the last laid tile (unlike 0x530830, which steps onto the station tile); the end is pushed too |
| TPW-EXE:0x0053132E dirty scan block | source/OpenTPW/World/ParkFence.cs:862 | [BIN:TPW-EXE:0x0053132E dirty scan block] a scan block whose four cells carry none of the unowned flag 0x40 is left alone; one that does has the flag cleared on all four (0x53A530) and 0x5365D0 run on all four, in each of the four scan directions (0x53132E..0x531362, 0x53146A..0x53149E, 0x5315A6..0x5315DA, 0x5316E3..0x531717) |
| TPW-EXE:0x00531926 unmarked post block | source/OpenTPW/World/ParkFence.cs:973 | [BIN:TPW-EXE:0x00531926 unmarked post block] the last pass runs 0x53A530 and 0x5365D0 on the four cells of every post the walk did not mark, unconditionally |
| TPW-EXE:0x005323F0 park fence | source/OpenTPW/Economy/ParkEconomy.cs:2042 | [BIN:TPW-EXE:0x005323F0 park fence] the fence setup lays the level's Hoardings.sam clicks with the track tool in mode 0x19 (0x00524960), each post a structure record of type 25, which the net worth |
| TPW-EXE:0x005323F0 park fence | source/OpenTPW/World/ParkFence.cs:133 | [BIN:TPW-EXE:0x005323F0 park fence] set-up, [BIN:TPW-EXE:0x005327E0 land purchase] purchase; both checked against the original's saved start states (restart.INTS) cell for cell |
| TPW-EXE:0x00532489 six-click fence | source/OpenTPW/World/ParkLand.cs:45 | [BIN:TPW-EXE:0x00532489 six-click fence] with bit 0x400 of 0x79D86C the set-up clicks the fence tool at A, A + (2, 0), A + (2, 4), A - (10, -4), A - (10, 0) and A - (8, 0) instead of reading the Hoardings.sam table; the bit is copied from the options word 0x78D954 by 0x449E78 and cleared by the new game set-up 0x44DE2B |
| TPW-EXE:0x0053259D gate strip | source/OpenTPW/World/ParkFence.cs:1145 | [BIN:TPW-EXE:0x0053259D gate strip] the cells (x, A.y) and (x, A.y + 1) for every x from post B + 2 up to post A - 1 lose the unowned flag after the walk |
| TPW-EXE:0x005327E0 land purchase | source/OpenTPW/World/ParkFence.cs:133 | [BIN:TPW-EXE:0x005323F0 park fence] set-up, [BIN:TPW-EXE:0x005327E0 land purchase] purchase; both checked against the original's saved start states (restart.INTS) cell for cell |
| TPW-EXE:0x00532FC0 cell word | source/OpenTPW.Tests/ParkCellOwnerTests.cs:21 | [BIN:TPW-EXE:0x00532FC0 cell word] every cell lookup decodes a cell word w as x = (w − 1) & 0x7F and y = (w − 1) >> 7 |
| TPW-EXE:0x00532a50 patrol rectangle test | source/OpenTPW.Tests/PatrolAreaFlowTests.cs:142 | [BIN:TPW-EXE:0x00532a50 patrol rectangle test] 0x816D50 = every counted map cell is unowned (0x40) or a kind 0x19 record |
| TPW-EXE:0x00532a50 patrol rectangle test | source/OpenTPW/World/Staff/PatrolAreaTool.cs:135 | [BIN:TPW-EXE:0x00532a50 patrol rectangle test] counts the map cells of the rectangle and those with flag 0x40 (unowned land, 0x535DB0) or whose second-layer record is a fence post (kind 0x19, 0x53AD60); 0x005234d0 stores "every one counted" in 0x816D50 and the validator 0x535670 answers that flag for the op 0x36, so SetCell 0x532FC0 draws the red face (texture 1) for every cell of the four lines; before the first click the flag is 0 and the hovered cell is blue |
| TPW-EXE:0x005330A5 plain cell height | source/OpenTPW/World/Original/BlueprintMarkers.cs:363 | [BIN:TPW-EXE:0x005330A5 plain cell height] SetCell 0x532FC0 passes 0 for a plain cell; the face is added at y + 1.5 (0x5338E7, constant 0x700D5C = -1.5 subtracted) and 0x53DDD0 adds the terrain at the vertex and the ripple |
| TPW-EXE:0x005330AD second-layer types | source/OpenTPW/World/Original/BlueprintHeights.cs:20 | [BIN:TPW-EXE:0x005330AD second-layer types] SetCell reads the type of the cell's record (0x4D0AF0 + 8) and, for 0xB, 0xC, 0x10, 0x11 or 0x19, sets the raise from the ground 0x452AE0 (0x5330C6..0x5330F5); a station record (0xD, 0x12) is none of them |
| TPW-EXE:0x00533102 ghost raise | source/OpenTPW/World/Original/BlueprintHeights.cs:43 | [BIN:TPW-EXE:0x00533102 ghost raise] the raise starts as 0, takes 10 x ((int)H + 9) / 10 for a second-layer type of 0xB, 0xC, 0x10, 0x11 or 0x19 and again for a map type of 4, 7, 9, 10 or 0x1E, both with H = 0x452AE0(x, y, 0); every other cell stays at 0 (a plain cell: the face builder 0x53DDD0 adds the terrain at each vertex) |
| TPW-EXE:0x00533102 map cell types | source/OpenTPW/World/Original/BlueprintHeights.cs:24 | [BIN:TPW-EXE:0x00533102 map cell types] the cell's type (+8) of 4, 9, 0xA, 7 or 0x1E replaces the raise with the same ground (0x533106..0x533189) |
| TPW-EXE:0x005331B5 ghost texture | source/OpenTPW/World/Original/BlueprintLineGhost.cs:46 | [BIN:TPW-EXE:0x005331B5 ghost texture] the ghost asks the validator (0x535670(mode, 0)): 1 refuses (the red face 0x533927, after a second call with the argument 1 and the refusal word 0x527940), 0 takes the tool's own texture (0, blue) and any other answer is the texture (8 m_link, 0xB m_end) |
| TPW-EXE:0x0053323C wall loops | source/OpenTPW/World/Original/BlueprintMarkers.cs:511 | [BIN:TPW-EXE:0x0053323C wall loops] the four neighbour loops (0x7CDBA0, 0x7CDBC8, 0x7CDBA8, 0x7CDBD0: codes 1, 4, 0x10, 0x40) skip a missing neighbour and a neighbour that is not lower (both raises truncated), and queue a wall face from the neighbour's raise in steps of 10 (0x53C8D0, y = step + 1.5) |
| TPW-EXE:0x005333BD wall latch reset | source/OpenTPW/World/Original/BlueprintLineGhost.cs:47 | [BIN:TPW-EXE:0x005333BD wall latch reset] each wall face of an allowed cell is added after the refusal words 0x816D58 and 0x816D50 are cleared; the refused cell's walls (0x533B24..) clear nothing |
| TPW-EXE:0x0053402E queue link writer | source/OpenTPW/World/Guests/QueuePaths.cs:33 | [BIN:TPW-EXE:0x0053402E queue link writer] the segment commit 0x527403..0x527517 runs LayLine once per pass: the types, the links (0x5348D0 in the mode of the last type written), 0x82, 0x85, 0x86, 0x83 and the refresh 0x81; the pass 0x82 writes the queue link +0xD of a cell that has none from the line's step, towards the previous cell of the line (dx −1 gives 0x04, dx 1 0x40, dy −1 0x10, dy 1 0x01: 0x53402E..0x53407B), and the pass 0x83 the ride's owner word (0x5340E9, RideVisitorBridge.OwnerWord) |
| TPW-EXE:0x005340A7 line refresh | source/OpenTPW/World/QueueLineWriter.cs:50 | [BIN:TPW-EXE:0x005340A7 line refresh] the commit's refresh pass runs 0x5365D0 on every cell of the line from the anchor to the end (as QueueSegmentReducer.Commit does), not only on the cells it built: a queue cell among them starts its animation again |
| TPW-EXE:0x005340E9 owner pass | source/OpenTPW.Tests/ParkCellOwnerTests.cs:250 | [BIN:TPW-EXE:0x005340E9 owner pass] the line's pass 0x83 stores the tool's ride as the owner word of every cell of the line and of the path cell it ends on |
| TPW-EXE:0x005340E9 owner pass | source/OpenTPW/World/Guests/RideVisitorBridge.cs:723 | [BIN:TPW-EXE:0x005340E9 owner pass] the line's pass 0x83 stores the tool's ride (0x818698, the cell word of the ride's anchor) as the owner word +0x10 of each cell of the line, queue cells and the path cell it ends on; Easymode's Belly Bounce queue cells and the path cell its queue ends on all carry its owner word |
| TPW-EXE:0x00534115 bridge ops | source/OpenTPW/World/Level.Objects.cs:1614 | [BIN:TPW-EXE:0x00534115 bridge ops] the refresh ops after the laid cell run 0x81 (the tile refresh 0x5365D0, RefreshTile) and 0x85 and 0x86, which act on a track cell of the second layer (0x53AD30 first) and so do nothing for a cell that holds none |
| TPW-EXE:0x00534115 path tool bridge op | source/OpenTPW.Tests/TrackBridgeOpsTests.cs:116 | [BIN:TPW-EXE:0x00534115 path tool bridge op] the op runs on every cell the tool lays, one that already holds a path included |
| TPW-EXE:0x00534115 path tool bridge op | source/OpenTPW.Tests/TrackCellCoexistenceTests.cs:171 | [BIN:TPW-EXE:0x00534115 path tool bridge op] a path over the end tile too bridges that tile; only the walks round the tile's ride (0x5341A2) give the pair its ramp and deck, and these tiles belong to no ride |
| TPW-EXE:0x00534115 path tool bridge op | source/OpenTPW/World/Tracks/TrackBridges.cs:107 | [BIN:TPW-EXE:0x00534115 path tool bridge op] the record of the cell, an extension followed to its parent (0x53AD90): nothing unless it is of a track kind (0x53AD30), not a hoarding, no corner (0x53AE00) and no junction (0x53AE90) and its low nibble is clear (0x53AD20); then the nibble is cleared and the flag word assigned 1 |
| TPW-EXE:0x005341A2 path tool walks | source/OpenTPW/World/Tracks/TrackBridges.cs:129 | [BIN:TPW-EXE:0x005341A2 path tool walks] the path tool's second op takes the tile's ride from the owner word (0x534214: the thing listed on the cell, 0x4D99E0) and runs 0x52C6F0 then 0x52CCB0 as op 0x86 does, with the effect flags set (the flags only add the build effect of the tile's mesh) |
| TPW-EXE:0x0053452F cell op 0x87 | source/OpenTPW/World/QueueSegmentReducer.cs:113 | [BIN:TPW-EXE:0x0053452F cell op 0x87] the first pass of the commit's line demolishes the object on each cell (0x527EE0 at 0x534566, the cell's own clear 0x5367A0 for a path under a tool that is neither the queue nor the path tool) whose owner's overwrite priority is below the tool's (0x818C14 < 0x818C10); the validator let only such objects through. Type pass 3 may stop; all later passes retain the full line. |
| TPW-EXE:0x005346D0 SetCellType | source/OpenTPW/World/Guests/GuestPathGrid.cs:150 | [BIN:TPW-EXE:0x005346D0 SetCellType] type 3 over a type-1 cell first clears the path (0x5367A0(0, 0) under the flag 0x81D7A8, which lets a NoModify cell go), unlinking every bit of it on both sides; the queue's own links come from the line's link pass (QueuePaths) |
| TPW-EXE:0x005346D0 SetCellType | source/OpenTPW/World/ParkPathBuilder.cs:383 | [BIN:TPW-EXE:0x005346D0 SetCellType] type 1 over a type-3 cell (a queue end, code 8) passes rule 0x535600 and is charged the path cost (0x52FB20) like any path cell; the cell keeps its link byte, and the ride owning it (owner word +0x10, a type-4/9/10 cell) gets its queue edit 0x4DE1F0 at once, which OpenTPW's guests run with their queue recompute on this map edit |
| TPW-EXE:0x00534767 laid cells' money test | source/OpenTPW/World/Level.Objects.cs:235 | [BIN:TPW-EXE:0x00534767 laid cells' money test] the cell setter refuses a path or queue type when the park's money is on and its balance is below zero, even though the placement's cells are free (0x5346D0 with 0x8186D4 set) |
| TPW-EXE:0x0053481F | source/OpenTPW.Tests/QueueLinkTests.cs:98 | [BIN:TPW-EXE:0x0053481F] the cell type setter's queue branch (type 1 over type 3) runs the owning ride's re-evaluation 0x004DE1F0 |
| TPW-EXE:0x0053481F | source/OpenTPW.Tests/QueueLinkTests.cs:116 | [BIN:TPW-EXE:0x0053481F] the paved cell is edited out of the queue (what Level does with the paved event); guests that queued on it or behind it must not stay stuck |
| TPW-EXE:0x0053481F queue edit | source/OpenTPW/World/Level.Objects.cs:916 | [BIN:TPW-EXE:0x0053481F queue edit] a path laid over a queue cell edits the queue of the ride that owns the cell (owner word): its queue is recomputed, its back cell stamped and the re-evaluation 0x004DE1F0 run |
| TPW-EXE:0x0053481F queue edit | source/OpenTPW/World/ParkPathBuilder.cs:387 | [BIN:TPW-EXE:0x0053481F queue edit] the setter's queue branch (type 1 over type 3, the owner word's cell of type 4, 9 or 10, 0x005347E0..0x00534858) runs the owning ride's re-evaluation 0x004DE1F0: the queue is recomputed and its back cell stamped |
| TPW-EXE:0x005348D0 link writer mode 1 | source/OpenTPW/World/PathLinkWriter.cs:63 | [BIN:TPW-EXE:0x005348D0 link writer mode 1] 0x534906: a type-3 cell is typed 1 (stamped, 0x4D8C50/0x4D8C60) and keeps its link bytes; per cardinal (−Y 0x534944, +X 0x534B55, +Y 0x534D74, −X 0x534F83): a type-1 neighbour gets the back bit and this cell the forward bit (0x522700 ORs), the neighbour a diagonal toward this cell's side neighbour when that is type 1 and the neighbour's own cardinal toward it is not type 3 or 9 (e.g. −Y: bit 8 when +X is a path, 0x20 when −X is; 0x534987..0x534A0D), then a tile refresh (0x5365D0) when the flag is set; a type-10 neighbour whose +0x0D has the bit pointing here, or a type-9 neighbour whose +0x0D has the bit pointing away (0x534A18..0x534A74), is linked both ways; a type-3 neighbour whose +0x0C points here is refreshed and, while 0x785A2C is 0, cat_ui 0x8B plays (0x534A76..0x534ACA); after each cardinal the diagonal cell between it and the next one clockwise is linked both ways when it and both cardinals are type 1 (0x534AD2: this cell 2, the +X−Y cell 0x20; 0x534CE4: 8 and 0x80; 0x534EF3: 0x20 and 2; 0x535102: 0x80 and 8) |
| TPW-EXE:0x00534A76 queue neighbour sound | source/OpenTPW/Audio/GameAudio.cs:174 | [BIN:TPW-EXE:0x00534A76 queue neighbour sound] the link writer's mode 1, with its refresh flag set and 0x785A2C clear, plays cat_ui 0x8B for a laid path cell whose cardinal queue neighbour's +0x0C links back to it (four sites: 0x534ACA, 0x534CDA, 0x534EE9, 0x5350F8), at (10x, 0, 10x): both coordinates are taken from the cell's x (0x5348E0 stores (id − 1) & 0x7F into both locals); PathLinkWriter reports it, QueueNeighbourSoundPosition places it |
| TPW-EXE:0x00534A91 queue neighbour sound | source/OpenTPW/World/Level.Objects.cs:905 | [BIN:TPW-EXE:0x00534A91 queue neighbour sound] the writer plays cat_ui 139 only while game+36 (0x785A2C, the park's money) is clear: here, while a park economy runs |
| TPW-EXE:0x0053518B link clean-up | source/OpenTPW/World/PathLinkWriter.cs:64 | [BIN:TPW-EXE:0x0053518B link clean-up] for the cardinal bits 1, 4, 16, 64 (rotated by 0x4D8C20) set in this cell whose neighbour is type 3 or 9: 1 clears 2 and 0x80, 4 clears 2 and 8, 16 clears 8 and 0x20, 64 clears 0x80 and 0x20, on this cell only (0x5351D8..0x535209) |
| TPW-EXE:0x0053522D first queue cell | source/OpenTPW/World/Guests/QueuePaths.cs:145 | [BIN:TPW-EXE:0x0053522D first queue cell] for the line's first cell (0x820AA4) each cardinal neighbour that is the ride's entrance cell (ride +0x36) and whose queue link +0x0D points back is linked both ways (0x53525A..0x535366); the ride finds its front cell through the entrance cell's +0x0C bit (0x4DE040, order 1, 16, 64, 4) |
| TPW-EXE:0x0053525A both ways | source/OpenTPW/World/Guests/QueuePaths.cs:150 | [BIN:TPW-EXE:0x0053525A both ways] the neighbour that is the ride's entrance cell (+0x36, the cell of the footprint) is linked to the first queue cell too, which is how the ride finds its front again (0x4DE040 reads the entrance's bit): a ride whose entrance lost its link (the queue was removed) has a front once a queue is laid again |
| TPW-EXE:0x0053538C link writer mode 3 | source/OpenTPW/World/PathLinkWriter.cs:151 | [BIN:TPW-EXE:0x0053538C link writer mode 3] dy 1: the −Y cell (0x535394), dx −1: the +X cell (0x535410), dy −1: the +Y cell (0x53548A), dx 1: the −X cell (0x535504); the cell is linked both ways when its type equals the mode, 0x522790 < 2 and its owner word +0x10 is the tool's ride (0x818698) or 0; this cell, if type 1, then loses 2 and 0x80, 2 and 8, 8 and 0x20, or 0x80 and 0x20 (0x5353F5..0x535580); the step is stored in 0x763AC0/0x763AC4 for the next call |
| TPW-EXE:0x00535600 chargeable cell | source/OpenTPW/World/QueueCellValidator.cs:178 | [BIN:TPW-EXE:0x00535600 chargeable cell] 1 for tool 0, an equal type, an empty cell, a queue cell under the path tool, a path cell under the placement and (not on the line's last cell) a path cell under the queue tool; 0 for an object cell under the placement and for every other pair |
| TPW-EXE:0x00535670 cell validator | source/OpenTPW/World/QueueCellValidator.cs:61 | [BIN:TPW-EXE:0x00535670 cell validator] ported from the executable's own answers: tools/ppc-analysis/oracle_x86/validator_golden.py runs the real routine on every combination of mode, cell type, flags, structure record, links, owner and latch state and QueueCellValidatorTests replays all 14,256 of them; the routine reads no MAP terrain bit (the terrain answer is the cell's type alone, which the map init 0x536490 wrote), and it tests the flag 0x40 first |
| TPW-EXE:0x00535670 no terrain read | source/OpenTPW.Tests/QueueTerrainValidationTests.cs:119 | [BIN:TPW-EXE:0x00535670 no terrain read] the validator reads the cell's own type, flags and owner: the terrain the host grid reports (water, a walkway, no surface) does not refuse a cell the cell map accepts |
| TPW-EXE:0x00535670 no terrain read | source/OpenTPW/World/Level.Objects.cs:1576 | [BIN:TPW-EXE:0x00535670 no terrain read] the cell validator reads the cell's own type, flags, owner and record and no MAP terrain bit: what the terrain does to a cell (water, blocked and walkway land, no land at all) is already in the type and flags the world init wrote (0x536490), so a typed world (TypesFootprints) asks the validator alone |
| TPW-EXE:0x00535670 own queue cell | source/OpenTPW/World/QueueSegmentReducer.cs:87 | [BIN:TPW-EXE:0x00535670 own queue cell] a queue cell is accepted by the queue tool only when its owner word is the tool's ride (0x818698) and it does not hold two links (popcount 2): the ride's own two-link cell and any other ride's cell refuse |
| TPW-EXE:0x00535670 queue cell | source/OpenTPW/World/Level.Objects.cs:1591 | [BIN:TPW-EXE:0x00535670 queue cell] the validator refuses hoarding posts and their extensions, track corners and junctions and the coaster marker; its final path case returns 8 before testing NoModify |
| TPW-EXE:0x00535670 queue cell validator | source/OpenTPW/World/Guests/QueuePaths.cs:62 | [BIN:TPW-EXE:0x00535670 queue cell validator] the validator tests the cell alone: it asks that the next cell of a line touches the previous one only in the line walk (0x536100), never against the ride's back cell, so a queue cell may stand free (an orphan, owned by the ride through its owner word but in no chain) |
| TPW-EXE:0x00535670 structure record | source/OpenTPW/World/QueueCellValidator.cs:210 | [BIN:TPW-EXE:0x00535670 structure record] the validator takes the cell's structure record, follows an extension (0xC, 0x11) to its parent through +0x10 and refuses a parent of type 0x19 whoever owns the land; it refuses the four cells of a corner or junction track tile and lets a straight piece or a stub through |
| TPW-EXE:0x00535670 structure record | source/OpenTPW/World/QueueSegmentReducer.cs:44 | [BIN:TPW-EXE:0x00535670 structure record] the validator takes the cell's record of the second layer (an extension followed to its parent) and refuses a fence post (0x19), a corner (0x53AE00) or a junction (0x53AE90); every other piece lets the cell through, so a queue cell is laid over it |
| TPW-EXE:0x0053570E owner priority | source/OpenTPW/World/QueueCellValidator.cs:71 | [BIN:TPW-EXE:0x0053570E owner priority] before anything else a type 4, 9 or 10 cell looks up the thing on its owner word's cell (0x4D99E0, 0x7CFB90): a thing of class 3 (byte +2) stores its type record's +0x54 in 0x818C14 (0x535788); any other owner leaves 0x818C14 as it was, which the hover resets to 0 (0x523522) and the passes carry from cell to cell |
| TPW-EXE:0x0053589C second argument | source/OpenTPW/World/QueueCellValidator.cs:47 | [BIN:TPW-EXE:0x0053589C second argument] with the argument 0 and the refusal latch 0x816D50 set the validator returns 1 at 0x5358A9; any other argument goes on to the cell's own tests |
| TPW-EXE:0x005358CC cost | source/OpenTPW/World/QueueCellValidator.cs:95 | [BIN:TPW-EXE:0x005358CC cost] a chargeable cell (0x535600) whose type is not the tool's and that is no path under the queue tool adds the tool's price to the pass's cost (0x52FBA0); a cost above the park's money refuses the cell and every later one and sets the cash flag (0x535905..0x535945) |
| TPW-EXE:0x005358DF placement paid | source/OpenTPW/World/QueueCellValidator.cs:53 | [BIN:TPW-EXE:0x005358DF placement paid] the cost block reads the byte 0x8186D4 and skips the 0x52FBA0 add when it is nonzero. All seven writers (0x5235D4, 0x523967, 0x5239FC, 0x5249C2, 0x524B4A, 0x5253E9, 0x525A06) are in the hover 0x5234D0 and the click handler 0x524960. A path walk from each setter (0x5235D4 and 0x523967 in the hover, 0x524B4A and 0x5253E9 in the click handler), following every direct jump and the hover's switch at 0x5237D0, reaches only that function's single return (0x524739 in the hover, 0x525A1B in the click handler) and only after a clear (0x5239FC, 0x525A06); the hover is also called at 0x5249B6 with the clear at 0x5249C2. So the byte is 0 whenever code outside those two routines runs, and a path or queue line hover reads 0 (exceptions that unwind past a return are not modelled) |
| TPW-EXE:0x0053592B money refusal | source/OpenTPW/World/QueueCellValidator.cs:98 | [BIN:TPW-EXE:0x0053592B money refusal] the refusal also calls 0x527940(1), which stores the refusal word 0x816D48. The word is read by the pointer switch's no-place test 0x527950 (UI-100) and by the click handler 0x524960 (0x5247F0, 0x52482C and 0x5249E0 on the press side, 0x524A63 on the release, which ParkHud's refused-ghost latch ports), written to 0 by the hover entry 0x5234EC, the release 0x524AD9 and the tool start 0x527C48, and set to 1 by 0x527940 at 0x533933 after every refusal of the ghost cell routine 0x532FC0 (the second validator call at 0x533927, taken at 0x5331BF whenever the answer, or the force-red flag 0x81B604, is 1). Every reader but 0x527950 belongs to the click path, so the word is the ghost's Refused flag and needs no input of its own |
| TPW-EXE:0x00535953 add-on validation | source/OpenTPW/World/Tracks/TrackBuilder.cs:65 | [BIN:TPW-EXE:0x00535953 add-on validation] with the upgrade selection set (0x8187F8) a cell asked for as type 0xB or 0x10 is refused when its flag word has 0x10 (0x535961), when the head's cell is no track cell (0x53AD30, 0x53596D), a corner (0x53AE00) or a junction (0x53AE90) (0x53597C..0x535990), when the head's owner word +0x10 is not the selected ride's (0x818698, 0x535998) and when the cell is a queue (0x5359A9); otherwise it passes (0x5359B3); without the selection a track under the cell refuses it (0x535831) |
| TPW-EXE:0x00535BB3 object body over a track record | source/OpenTPW/World/Level.Objects.cs:565 | [BIN:TPW-EXE:0x00535BB3 object body over a track record] the validator's mode 4 refuses a cell whose structure record is of a track kind (0x53AD30 on the record, an extension followed to its parent) unless the upgrade selection 0x8187F8 is set (the add-on route, CheckAddOn): a path or queue cell lying over a straight or stub tile of the second layer, and a fence post with the cells beside it, refuse the footprint cell although the cell's own type is free |
| TPW-EXE:0x00535C7E queue line validator | source/OpenTPW/World/QueueLineWriter.cs:94 | [BIN:TPW-EXE:0x00535C7E queue line validator] queue over a type-1 cell on the line's last cell (0x820AB8, while 0x816D50 is clear) returns 8; the commit's link pass then links that path cell to the queue cell before it (QueuePaths.Connect) |
| TPW-EXE:0x00535CE0 path over a queue end | source/OpenTPW/World/ParkPathBuilder.cs:242 | [BIN:TPW-EXE:0x00535CE0 path over a queue end] a type-3 cell with one set link bit (0x522790) whose neighbour along it (0x4D97E0) is type 3 returns 8 (0x535D06), which the start check (0x527280) and the ghost accept; any other queue cell is refused (0x535D12: 0x816D50 set, 1); the commit's SetCellType (rule 0x535600 allows type 1 over 3) then types it 1 and charges the path cost (WritePath) |
| TPW-EXE:0x00535D21 object over path | source/OpenTPW/World/Level.Objects.cs:86 | [BIN:TPW-EXE:0x00535D21 object over path] an object (type 4) over a type-1 cell is allowed (0x535D21 returns 0) unless the cell carries NoModify, which the validator refuses first for every object type (0x5356A6..0x5356B3); the commit clears the path (0x5290F6..0x52910C: 0x87, then 0x5367A0(0, 0)) |
| TPW-EXE:0x00535D33 queue under a tile | source/OpenTPW/World/Tracks/TrackBuilder.cs:125 | [BIN:TPW-EXE:0x00535D33 queue under a tile] the refusal of a queue cell under a track tile is the validator's (0x535670, its track-type branches 0x535D33..0x535D5D), not the type op's, which lays the tile over it |
| TPW-EXE:0x00535DD0 hole cell types | source/OpenTPW/World/Level.cs:651 | [BIN:TPW-EXE:0x00535DD0 hole cell types] the ground is not drawn under an object, entrance or exit cell (the cell refresh writes the hole word), so the floor stands on nothing |
| TPW-EXE:0x00535DD0 hole cell types | source/OpenTPW/World/Original/ObjectCellHoles.cs:20 | [BIN:TPW-EXE:0x00535DD0 hole cell types] the chooser answers 8 for the (absolute) cell types 2, 7, 0x1E, 4, 9, 10 and 0x15, and the refresh 0x5365D0 hands that to 0x450470 -> 0x46DF50, whose mode 8 sets bits 0x101 of the landscape word and clears 0x80; the terrain cell list 0x56F090 skips a cell whose word has bit 0x01 (also when the procedural textures are off, where it draws the static ground texture of the other cells) |
| TPW-EXE:0x00535DD0 queue chooser | source/OpenTPW/World/Original/QueueModels.cs:38 | [BIN:TPW-EXE:0x00535DD0 queue chooser] for type 3 the table 0x7630B0 (11 rows) is matched against +0x0C, first exactly, then the first row whose mask the byte contains; a straight (two cardinal links, opposite) adds 180 to the rotation unless the queue link +0x0D is 0x40 or 0x10 (0x535E28..0x535E5C); a corner whose queue link and links are 0x40/0x50, 0x10/0x14, 0x01/0x41 or 0x04/0x05 takes the next model (0x535F6A..0x535FC5); then for each cardinal link to a type-1 cell that links back the model index rises by 3 while the cell's second-layer record (0x4D0AF0, the owner record for the types 0xC and 0x11) has none of the bits 0x0F at +0x0E (0x536037..0x5360DD) |
| TPW-EXE:0x00535FCC path texture roll | source/OpenTPW/World/Original/PathTileVariants.cs:9 | [BIN:TPW-EXE:0x00535FCC path texture roll] while 0x820AC0 is set a class-1 result (path table 0x763138) of texture 2 becomes 19 and of texture 10 becomes 20; then CRT rand 0x67B5C0 (state × 214013 + 2531011, bits 16..30) & 1 is stored there (0x53602C) by every call that gets that far, i.e. every call for a cell that is not of the types 2, 4, 7, 9, 10, 0x15 or 0x1E; the tile refresh 0x5365D0 calls the chooser for cells of type 1 or more other than 5 |
| TPW-EXE:0x00536100 LayLine | source/OpenTPW/World/Original/BlueprintLineGhost.cs:45 | [BIN:TPW-EXE:0x00536100 LayLine] the line's first cell is the only one with the line-start word 0x820AA4 set (cleared after its SetCell) and its last cell the only one with the last-cell word 0x820AB8 (set before it), so a one-cell line is both |
| TPW-EXE:0x00536100 LayLine ghost | source/OpenTPW/World/Original/BlueprintGhosts.cs:13 | [BIN:TPW-EXE:0x00536100 LayLine ghost] the line preview calls the ghost SetCell 0x532FC0 for every cell of the line and it answers 1 for allowed (0x53391D) and refused (0x534009) cells alike, so the loop never stops early; the validator 0x535670 refuses every later cell once the flag 0x816D50 is set (0x5358A0; reset at 0x527C52 and 0x5247AA), and a refused ghost cell takes the red texture (the second AddFace argument pair 1 at 0x533FEC against the chooser's result at 0x5338F3) |
| TPW-EXE:0x00536100 queue line | source/OpenTPW/World/Guests/QueuePaths.cs:34 | [BIN:TPW-EXE:0x00536100 queue line] the queue tool lays straight segments along the dominant axis (0x536100, ported) from the line's start: mode 3 always has one, the cell outside the entrance after a placement (0x52A050 stores it in 0x81EDE4/0x81EDE8) or the queue's back after the edit click (0x530120, 0x526103), so no first click without a start reaches the queue tool and the tool starting at the front or back cell is the original's; a line ending on a path cell connects the queue (code 8 on the last cell); each cell is validated as 0x535670 does (an empty cell is accepted, a path cell is replaced unless NoModify and not on a line's last cell, an object cell of a lower overwrite priority than the queue tool's 3 is demolished by the commit's first pass 0x87, another ride's queue cell is refused by the owner word +0x10), then typed (0x5346D0), linked, given its queue link toward the previous cell (pass 0x82) and the tool's ride as owner word (pass 0x83); a cell that touches no queue is laid free-standing (no queue link, the ride's owner word only) because the validator never asks a cell to touch the back cell (the remove tool takes it, the ride's chain ignores it). The ordered passes run in QueueSegmentReducer for the placed rides' cells; this per-cell route serves the bridges without an owner word (the gates, the test rigs, the Theme Park Inc slice) |
| TPW-EXE:0x00536300 cell type tests | source/OpenTPW/World/Guests/WalkSearch.cs:23 | [BIN:TPW-EXE:0x00536300 cell type tests] 0x536300 type 2, 0x536310 type 1 (path), 0x536320 type 3 or 9 (queue), 0x536340 9, 0x536350 10, 0x536380 4, 0x536390 0, 0x5363A0 0x1E, 0x5363B0 flag 0x400, 0x5363C0 type 5, 7 or 2; 0x522770 the link byte +0x0C (+0x22 underground, not modelled), 0x522850 the queue link +0x0D |
| TPW-EXE:0x00536490 cell init | source/OpenTPW/World/ParkCellMap.cs:449 | [BIN:TPW-EXE:0x00536490 cell init] the MAP byte is cell +0x26; when 0x00450420 answers 0 (no terrain) the type is 2 (MAP & 2), else 0x1E (MAP & 0x80), else 7; otherwise the type is 1 with links (0x005348D0) and flags 0x20 for MAP & 8, else 0, the types 5, 2 and 0x1E written first being overwritten; both branches then set flag 0x40 unless the flags hold 0x20 (0x0053654B, 0x005365AD); MAP & 0x10 sets flag 0x80 and MAP & 4 flag 0x400; Easymode's saved map types agree on all 16,384 cells but those of objects |
| TPW-EXE:0x00536490 map init | source/OpenTPW/World/ParkCellMap.cs:333 | [BIN:TPW-EXE:0x00536490 map init] an InitialPath cell (attribute bit 0x08) is typed 1 and then linked by the link writer 0x5348D0 called with mode 1 (0x53653B) |
| TPW-EXE:0x00536490 map init refresh | source/OpenTPW/World/Level.cs:653 | [BIN:TPW-EXE:0x00536490 map init refresh] the world's set-up refreshes every cell in order, so each path cell's chooser rolls once at the start |
| TPW-EXE:0x005365D0 queue hole | source/OpenTPW.Tests/QueueModelDrapeTests.cs:147 | [BIN:TPW-EXE:0x005365D0 queue hole] the refresh writes a queue cell's hole itself (0x46DF50 mode 8); a path cell keeps its ground |
| TPW-EXE:0x005365D0 queue hole | source/OpenTPW/World/Original/ObjectCellHoles.cs:27 | [BIN:TPW-EXE:0x005365D0 queue hole] the class-2 branch places the queue model and then writes the tile (0, 8, 0) through 0x450470 → 0x46DF50, whose mode 8 ORs 0x101 into the cell word and clears 0x80: the cell is a hole of the ground (docs/PATHS.md, "Queue models on the terrain") |
| TPW-EXE:0x005365D0 tile refresh | source/OpenTPW/World/Level.Objects.cs:869 | [BIN:TPW-EXE:0x005365D0 tile refresh] the sites: the line commit (0x5340A7 on every cell of the line from the anchor to the end), the path link writer (0x534A8C, 0x534C9E, 0x534EB1, 0x5350BF: a queue neighbour with a link bit toward the new cell), the clear 0x5367A0 (the path case re-creates each linked neighbour at 0x53687E over all eight bits, not gated by 0x81D7A8, which is what the type pass reaches when a queue is laid over a path, 0x5346D0; the queue and entrance case at 0x536B9E, from SetCell case 0x32 and Back 0x52FE50), the corner walk 0x530120 (0x530387, 0x5303A3), the fence fill 0x5311C0 (the scan blocks that carry 0x40 in each of its four directions, 0x53132E, 0x53146A, 0x5315A6, 0x5316E3, and every unmarked post, 0x531926..0x531965) and the cell-op step 0x5370E0 with op 0x81 on a fence post (0x5385F0, 0x53865D, 0x5386CA, 0x538708, 0x53874B; the line passes and the rewrite walk 0x52BA50 reach it) |
| TPW-EXE:0x005365D0 tile refresh | source/OpenTPW/World/Original/QueueModelAnimation.cs:202 | [BIN:TPW-EXE:0x005365D0 tile refresh] the tile refresh of a class-2 cell (a queue cell; table 0x7630B0, the path table 0x763138 is class 1) removes its instance (0x522A90) and places it again (0x5229E0) with a new channel at frame 0, even when the model is unchanged; the callers that reach a queue cell are the line commit (0x5340A7 on every cell of the line from the anchor 0x81EDE4/0x81EDE8 to the end inclusive; the anchor becomes the end, 0x527650), the path link writer (0x534A8C, 0x534C9E, 0x534EB1, 0x5350BF: a queue neighbour whose +0xC link byte has the bit toward the new path cell), the clear 0x5367A0 (the path case re-creates each linked neighbour at 0x53687E over all eight bits, not gated by 0x81D7A8, which is what the type pass reaches when a queue is laid over a path, 0x5346D0; the queue and entrance case at 0x536B9E, from SetCell case 0x32 and Back 0x52FE50), the corner walk 0x530120 (0x530387, 0x5303A3), the fence fill 0x5311C0 (the scan blocks that carry 0x40 in each of its four directions, 0x53132E, 0x53146A, 0x5315A6, 0x5316E3, and every unmarked post, 0x531926..0x531965) and the cell-op step 0x5370E0 with op 0x81 on a fence post (0x5385F0, 0x53865D, 0x5386CA, 0x538708, 0x53874B; the line passes and the rewrite walk 0x52BA50 reach it); the link refresh sites 0x534A13, 0x534A40 and 0x534C51 re-create type-1 and type-10 neighbours only, and the dirty flag 0x40 is cleared by 0x53A530, set only by the cell reset 0x536490, the cell-op step 0x5370E0 (on a fence post, op 0x81 above) and 0x539670 |
| TPW-EXE:0x005365D0 tile refresh | source/OpenTPW/World/Original/QueueModels.cs:12 | [BIN:TPW-EXE:0x005365D0 tile refresh] a class-2 result removes the cell's previous model (0x522A90), places model (index, rotation) with 0x5229E0, and gives the ground the result (0, 8, 0), the value the chooser returns for cells without a path tile |
| TPW-EXE:0x005367A0 ClearCell queue case | source/OpenTPW/World/Level.Objects.cs:1135 | [BIN:TPW-EXE:0x005367A0 ClearCell queue case] the original clears a queue cell by itself, whatever ride owns it; OpenTPW's queue is the line its ride walks from the entrance, so an owned cell takes the cells behind it along and a stray cell, outside every such line, goes alone |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/Guests/GuestPathGrid.cs:164 | [BIN:TPW-EXE:0x005367A0 cell clear] the queue case (types 3, 9) clears each of the bits 1, 4, 16, 64 set in +0x0C on both sides before the cell is typed 0 |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/Guests/QueuePaths.cs:528 | [BIN:TPW-EXE:0x005367A0 cell clear] the original removes a queue cell only through its cell clear: the queue tool's undo (Back 0x52FE50, whole segments of the corner stack, CellBuildTool.Undo) and the ride's demolition (QueuePaths.ClearAll) reach it, the bulldozer's rectangle clears only path cells (type 1 test 0x536310 at 0x52C116 before 0x5367A0); this removal from a clicked cell on, with the cells behind it so the queue stays one line from the ride, serves the undo of a segment and the labelled extensions EXT:dev-one-click-remove and EXT:queue-backtrack |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/Level.Objects.cs:1092 | [BIN:TPW-EXE:0x005367A0 cell clear] the clear writes no guest: the undo's cells go and the re-evaluation that follows (0x4DE1F0 at 0x52FFEC) dismisses by place alone, so a guest on an emptied cell stays there |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/Level.Objects.cs:1149 | The rides' queue lines are cached: walk them again before a cell counts as stray. [BIN:TPW-EXE:0x005367A0 cell clear] this is the host's own geometry only (the cached back and size stay): the clear re-evaluates the ride that owns the cell and no other |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/ParkPathBuilder.cs:401 | [BIN:STP-PPC:0x100859B4 ClearCell] path case: NOMODIFY keeps the cell unless it has no neighbours ("Removing path cell with no neighbours but NOMODIFY set"); a = b = 0 sets the counter to −1; no Earn (no refund); [BIN:TPW-EXE:0x005367A0 cell clear] every bit of the cell's link byte, diagonals included, is cleared on both sides (PathLinkWriter.Unlink) |
| TPW-EXE:0x005367A0 cell clear | source/OpenTPW/World/PathLinkWriter.cs:186 | [BIN:TPW-EXE:0x005367A0 cell clear] the path case (types 1, 10) walks the bits 1, 2, 4, .. 0x80 (0x4D8C20 by one), the queue case (types 3, 9) the bits 1, 4, 16, 64 (by two); for each bit set in +0x0C: 0x522730 clears it, and the neighbour along it (0x4D97E0) loses the opposite bit (0x4D8C00) and is refreshed (0x5365D0); then the byte, the queue link +0x0D and the flags are cleared and the cell typed 0 (0x5346D0) |
| TPW-EXE:0x005367A0 cell remover | source/OpenTPW.Tests/TrackCellCoexistenceTests.cs:145 | [BIN:TPW-EXE:0x005367A0 cell remover] the remover calls no bridge op, so the tile keeps its flag word with no path left over it |
| TPW-EXE:0x005367A0 cell remover | source/OpenTPW/World/ParkCellMap.cs:585 | [BIN:TPW-EXE:0x005367A0 cell remover] types 1 and 10 unlink all eight link bits, 3 and 9 the four cardinal ones (each neighbour loses the opposite bit and is refreshed; with the forced flag 0x81D7A8 clear), then every removed type 1, 3, 4, 9, 10 and 0x15 zeroes the links +0xC, the queue link +0xD, the owner +0x10, the whole flag word +0xE and the type +8 (0x5346D0(0)); types 4 and 0x15 leave the placement counter +0x20, 1, 3, 9 and 10 write it; a type-3 cell credits the queue cell's refund when its owner cell is not empty (0x4D0190), and a path cell removed beside an entrance with an owner runs that ride's re-evaluation 0x4DE1F0 (0x53694B); the other types (0, 2, 5..8, 0xB..0x14, 7, 0x1E ...) write nothing |
| TPW-EXE:0x005367A0 queue cell left behind | source/OpenTPW/World/Objects/ObjectAccessCells.cs:252 | [BIN:TPW-EXE:0x005367A0 queue cell left behind] a removed queue cell is typed 0 with its links, queue link, owner, counter and whole flag word zero |
| TPW-EXE:0x005367A0 second-layer clear | source/OpenTPW/World/Tracks/TrackBuilder.cs:323 | [BIN:TPW-EXE:0x005367A0 second-layer clear] the record of a cell that is no station cell is cleared (its type and arms), here the tile record of the cell without the rest of its tile |
| TPW-EXE:0x005367D4 NoModify keeps the cell | source/OpenTPW/World/Guests/QueuePaths.cs:542 | [BIN:TPW-EXE:0x005367D4 NoModify keeps the cell] the placement lays the cell outside the entrance with the flag 0x20, and the cell clear leaves such a cell alone unless it is forced (0x5367D4..0x5367E0) |
| TPW-EXE:0x0053694B path clear beside an entrance | source/OpenTPW/World/Level.Objects.cs:192 | [BIN:TPW-EXE:0x0053694B path clear beside an entrance] every route that clears a path cell (the queue laid over a path, an '@' footprint cell, a coaster marker, the guest grid's queue setter) runs the ride's re-evaluation as the bulldozer's clear does |
| TPW-EXE:0x0053694B path clear beside an entrance | source/OpenTPW/World/PathLinkWriter.cs:201 | [BIN:TPW-EXE:0x0053694B path clear beside an entrance] the path case (type 1) of the clear, on a cardinal bit whose neighbour is a type-9 cell with an owner word (+0x10) whose thing is an attraction (thing type 3), runs that ride's re-evaluation 0x004DE1F0 once the neighbour is unlinked and refreshed (0x5368A1..0x53694B), before the next bit |
| TPW-EXE:0x0053694B path clear beside an entrance | source/OpenTPW/World/Tracks/TrackBuilder.cs:238 | [BIN:TPW-EXE:0x0053694B path clear beside an entrance] the clear every track routine reaches (0x538FC0 at 0x539190, the routine around 0x538DC2) re-evaluates the ride of a type-9 neighbour that carries an owner word |
| TPW-EXE:0x005369F8 forced clear | source/OpenTPW/World/ParkCellMap.cs:663 | [BIN:TPW-EXE:0x005369F8 forced clear] with the flag set the type-3 case skips the neighbour loop (0x536B60..0x536BB9, which the unforced remover reaches at 0x536AB2): it credits (0x536A3D..0x536AA8) and goes to 0x536BC9, which clears all eight link bits of the cell itself (0x522730(0xFF)), its queue link (0x5227E0), its owner (0x539210), its flag word and its type (0x5346D0(0)) |
| TPW-EXE:0x00536CA0 tile raise | source/OpenTPW/World/Original/BlueprintMarkers.cs:436 | [BIN:TPW-EXE:0x00536CA0 tile raise] the neighbour raise of the track ghost: the cell's own raise (a track, object or type-7 cell: 10 x ((height + 9) / 10), 0x452AE0 → 0x67A830) and those of the cells at 0x7CDBA8, 0x7CDBC8 and 0x7CDBB8 (the other three of the 2 x 2 tile) are compared in the x87 and the greatest is returned, starting from the argument (0) |
| TPW-EXE:0x00536CA0 tile raise | source/OpenTPW/World/Original/TileLineGhost.cs:43 | [BIN:TPW-EXE:0x00536CA0 tile raise] the origin cell, then the neighbours 0x7CDBA8 (+Y), 0x7CDBC8 (+X) and 0x7CDBB8 (+X+Y): a cell of map type 0xB, 0x10, 0x19, 7, 4, 9 or 10 replaces the running value by 10 x ((int)H + 9) / 10 of its ground (0x452AE0, 0x67A830); the value starts as the origin record's own (0x5370E0: record type 0xB, 0x10, 0x19, 7, 4, 9 or 10) |
| TPW-EXE:0x005370E0 ghost walls | source/OpenTPW/World/Original/BlueprintMarkers.cs:453 | [BIN:TPW-EXE:0x005370E0 ghost walls] after the tile's face (0x53C8D0 at the tile's raise + 1.5, size flag 1) each side's neighbour (the cells 0x7CDBA0, 0x7CDBC8, 0x7CDBA8 and 0x7CDBD0 two cells on, side codes 1, 4, 0x10 and 0x40) is read through 0x536CA0 and, when its raise differs, a wall face is queued for every 10 units from the neighbour's raise to this tile's (0x537A35..0x53810F); the wall's texture is 0 (blue), or 1 for the refused tile |
| TPW-EXE:0x00537103 ghost entry gate | source/OpenTPW/World/Original/TileLineGhost.cs:124 | [BIN:TPW-EXE:0x00537103 ghost entry gate] the gate (0x537103..0x537164) takes the origin from the cell word minus one and reads the answer argument and direction only for the modes 4, 0xB and 0x10 with the argument 5; the walker's ghost calls (0x53AB85, 0x53ABE3, 0x53AC97, 0x53ACF6) pass the step register EBX, which is -2 or 2 (0x53AB3A..0x53AB49), so the default arguments (texture 0, size flag 1) always apply, and the commit-side calls 0x52BBAD and 0x52BC0D pass 0x81, which has no 0x100 bit and takes the non-ghost branch 0x53811F |
| TPW-EXE:0x005372AD tile answers | source/OpenTPW/Hud/ParkHud.cs:1840 | [BIN:TPW-EXE:0x005372AD tile answers] the chooser's answer 1 is the red tile, 0xB the m_end tile, any other the blue one |
| TPW-EXE:0x005372AD tile ghost | source/OpenTPW/World/Original/TileLineGhost.cs:125 | [BIN:TPW-EXE:0x005372AD tile ghost] the chooser answers (mode, 0, direction byte): 1 refuses (a second call with 1, the refusal word 0x527940, then the red floor and red walls), 0 takes the default texture 0 and any other answer is the texture (0xB m_end); the floor is queued at the tile's raise + 1.5 (size flag 1), the walls after it |
| TPW-EXE:0x005373CE missing neighbour | source/OpenTPW/World/Original/BlueprintMarkers.cs:461 | [BIN:TPW-EXE:0x005373CE missing neighbour] a side whose tile lies off the map gets no wall |
| TPW-EXE:0x005373CE tile walls | source/OpenTPW/World/Original/TileLineGhost.cs:67 | [BIN:TPW-EXE:0x005373CE tile walls] each side reads the record two cells on (0x50C320 with 0x7CDBA0, 0x7CDBC8, 0x7CDBA8, 0x7CDBD0), computes its raise as the tile's own and compares the integers: a lower neighbour gets a wall face (0x53C8D0, y = step + 1.5) every 10 units |
| TPW-EXE:0x005385F0 post block refresh | source/OpenTPW/World/ParkFence.cs:786 | [BIN:TPW-EXE:0x005385F0 post block refresh] each of the four cells of the block is re-created after its flag is written: the post's own cell (0x5385F0), (1,0) (0x53865D), (0,1) (0x5386CA) and (1,1) (0x538708, 0x53874B); a null neighbour is skipped (guarded at 0x5381CD) |
| TPW-EXE:0x00538A92 bridge flag | source/OpenTPW.Tests/CoopSessionTests.UndoTracks.cs:474 | [BIN:TPW-EXE:0x00538A92 bridge flag] the crossing tile has four arms now: the base op skips it (0x538B05) and the walks leave its flag word as it was, so the ramp before it stays |
| TPW-EXE:0x00538A92 bridge flag | source/OpenTPW/World/Tracks/TrackBridges.cs:75 | [BIN:TPW-EXE:0x00538A92 bridge flag] 0x538B0B..0x538BDB: the origin cell's type 1 or 3 assigns the whole flag word 1 (0x538B22), so does each of the other three cells in the order (0, +1), (+1, 0), (+1, +1) (0x538B5D, 0x538B91, 0x538BC5; a cell off the map answers none and is skipped), a type 0 counts, and four counted cells clear the low nibble (0x538BDB) |
| TPW-EXE:0x00538AA4 bridge shape | source/OpenTPW/World/Tracks/TrackBridges.cs:68 | [BIN:TPW-EXE:0x00538AA4 bridge shape] the corner test (0x522810 = 2 with perpendicular arms) skips the tile at 0x538AD8 and an arm count above 2 at 0x538B05; every other tile goes on to the path test |
| TPW-EXE:0x00538AA4 bridge shape | source/OpenTPW/World/Tracks/TrackBuilder.cs:539 | [BIN:TPW-EXE:0x00538AA4 bridge shape] the corner test (0x522810 = 2 with perpendicular arms) skips the tile at 0x538AD8 and an arm count above 2 at 0x538B05; every other kart or water tile goes on to the path test |
| TPW-EXE:0x00538BF0 op 0x86 | source/OpenTPW/World/Tracks/TrackBridges.cs:148 | [BIN:TPW-EXE:0x00538BF0 op 0x86] a tile of kind 0xB, 0xD, 0x10 or 0x12 (not a hoarding) with the land tools' flag 0x81B4CC clear takes its ride (the thing listed on the owner word's cell, 0x4D99E0) and runs 0x52C6F0(thing, 1, 0, 0), then 0x52CCB0(thing, 0, 0, 0) when that answered 0 (0x538CA0..0x538CB7) |
| TPW-EXE:0x00538BF0 op 0x86 | source/OpenTPW/World/Tracks/TrackBuilder.cs:510 | [BIN:TPW-EXE:0x00538BF0 op 0x86] the ride a tile belongs to is the thing listed on its owner word's cell (0x4D99E0): its walk pair runs once per tile of the line, so a long line walks the ride's whole track once for each tile |
| TPW-EXE:0x00538CCE line op 0x32 | source/OpenTPW.Tests/TrackEditRecoveryTests.cs:176 | [BIN:TPW-EXE:0x00538CCE line op 0x32] Backspace's per-tile handler calls the clear op on every cell of the line, and the type table (0x53BABC) sends the station types 0xD and 0x12 to the same handler as the track types: a station tile's overlap word is 0 (nothing but the type op and the collectors write it, and the collectors stop before the station), so a line step takes it below zero and the tile clears, without refund (a station tile has no cell cost) |
| TPW-EXE:0x00538CCE line op 0x32 | source/OpenTPW.Tests/TrackToolExitTests.cs:121 | [BIN:TPW-EXE:0x00538CCE line op 0x32] the replay of the last line (the station tile back to the corner before it) calls the clear op on every cell, the station tile's too: its overlap word is 0, so the step takes it below zero |
| TPW-EXE:0x00538CF0 cell op 0x87 | source/OpenTPW/World/Level.Tracks.cs:74 | [BIN:TPW-EXE:0x00538CF0 cell op 0x87] the exit and entry tiles' first op (0x538D76..0x538D9E) demolishes the object owning each of their cells that is a type 4, 9 or 10 cell (0x527EE0, 0x527D60) when 0x818C14 < 0x818C10: the placement's tool priority is the ride's Info.OverwritePriority (5, the hover 0x5234D0 at 0x5236A4) and 0x818C14, the priority of the last owner the footprint's validation met (0x535788), is below it for any placement the validator allowed (0x535D66); the two tiles lie outside the 4-cell footprint, so nothing validated them. A kart or water ride's station cells are no such cells (TrackBuilder.GiveWay), but the map of OpenTPW's objects holds them, so they are skipped there |
| TPW-EXE:0x00538CF0 cell op 0x87 | source/OpenTPW/World/Tracks/TrackBuilder.cs:322 | [BIN:TPW-EXE:0x00538CF0 cell op 0x87] in 0x5370E0 (jump table 0x538EEC): when 0x818C14 < 0x818C10 (signed) a tile whose origin cell's type is 0xB, 0xD, 0x10, 0x12 or 0x19 does nothing (0x538D42..0x538D6C); any other tile calls 0x527EE0(x, y, 0) on (x, y), (x+1, y), (x, y+1) and (x+1, y+1) (0x538D76..0x538D9E), each returning at once unless the cell is of type 4, 9 or 10 (0x527D60), then, the cell being the line's only cell (0x820AD0 = 1), clears the four second-layer records (0x4D0B10, 0x5367A0(0, 0)) and restores the tool mode and 0x81EDE4/E8 (0x52F580); the cells of a kart or water station (types 13 and 18, extension 12 and 17 there) are no type 4, 9 or 10 cell, so no station is demolished, while an add-on's cells are type 4 |
| TPW-EXE:0x00538FC0 track type op | source/OpenTPW.Tests/TrackBridgeRouteLevelTests.cs:16 | [BIN:TPW-EXE:0x00538FC0 track type op] paths under two tiles of the line stay (only the line's last tile clears the paths under it) and the tiles bridge them |
| TPW-EXE:0x00538FC0 type op credit test | source/OpenTPW/World/Tracks/TrackBuilder.cs:190 | [BIN:TPW-EXE:0x00538FC0 type op credit test] a free tile (the placement's) is still refused while the player's cash is below zero (the test is cash - cost >= 0 with a cost of 0) |
| TPW-EXE:0x00538FC0 type op free | source/OpenTPW/World/Tracks/TrackBuilder.cs:283 | [BIN:TPW-EXE:0x00538FC0 type op free] with the free byte set the tile costs nothing, but the op's credit test (0x538FF5..0x539050) still refuses a tile when the player's cash is below zero; a tile of the same type only counts its overlap word up (0x538FFD) |
| TPW-EXE:0x00538FC0 type write | source/OpenTPW/World/ParkFence.cs:234 | [BIN:TPW-EXE:0x00538FC0 type write] +8 is written unless the record's flag word has no 0x40 and holds another type than the one asked for (the fence tool's 0x19 then still answers true), so a tile is never retyped by a post |
| TPW-EXE:0x00539017 type op writes the record | source/OpenTPW/World/Tracks/TrackBuilder.cs:205 | [BIN:TPW-EXE:0x00539017 type op writes the record] the record's type is written, never the cell's; OpenTPW's type byte shows the tile on a cell that holds nothing else (ParkCellMap.PrimaryTypeAt) and keeps the path or queue a cell holds |
| TPW-EXE:0x005390C0 paths under the last tile | source/OpenTPW.Tests/TrackCircuitTests.cs:188 | [BIN:TPW-EXE:0x005390C0 paths under the last tile] a tile laid alone is the line's last tile: it took the paths away, so it bridges nothing |
| TPW-EXE:0x005390C0 paths under the last tile | source/OpenTPW/World/Tracks/TrackBuilder.cs:193 | [BIN:TPW-EXE:0x005390C0 paths under the last tile] the type op of a kart or water tile on the line's last step (0x820AD0, 0x5390CE) removes the paths of the four cells with the cell remover 0x5367A0 when each of them is of type 0 or 1 (0x53915A..0x539188); every other tile of a line leaves its cells as they are, so the paths stay under it and it bridges them |
| TPW-EXE:0x00539670 direction | source/OpenTPW/World/ParkFence.cs:235 | [BIN:TPW-EXE:0x00539670 direction] op 0x82 (called from 0x538146 in the step 0x5370E0) writes +0xD of every record but the types 0xB, 0xC, 0x10, 0x11 (and a cell of type 0x15): a station (0xD, 0x12) takes the walk direction in its flow link |
| TPW-EXE:0x00539670 junction links | source/OpenTPW/World/Tracks/TrackPieceSelector.cs:134 | [BIN:TPW-EXE:0x00539670 junction links] the multi-bit links come from the line op (op 0x82 of 0x53AAC0, handler 0x539670): a tile with more than two arms ORs the line's direction into +0xD (a crossing of two lines gets 0x14, 0x41, 0x50 or 0x05), a tile with two arms or fewer takes the direction alone; the circuit walk 0x52A970 writes +0xD only at corners (0x52B1A9..0x52B1F5) |
| TPW-EXE:0x00539670 line link op | source/OpenTPW/World/Tracks/TrackBuilder.cs:436 | [BIN:TPW-EXE:0x00539670 line link op] the line op 0x53AAC0 calls the cell op handler once per tile of the line with the step (±2, 0) or (0, ±2) (0x538146, op 0x82); the handler sets +0xD (0x5227E0) to the direction bit (−X 0x40, +X 0x04, −Y 0x01, +Y 0x10) when the cell has two arms or fewer (0x522810), else to the old link ORed with it, which is how a crossing of two lines gets a two-bit link (0x14, 0x41, 0x50); the click handler runs op 0x80 (the arms) before it (0x525521, 0x525542) |
| TPW-EXE:0x00539760 tile chooser | source/OpenTPW/World/Original/TrackTileChooser.cs:72 | [BIN:TPW-EXE:0x00539760 tile chooser] ported from the executable's own answers: tools/ppc-analysis/oracle_x86/ghost_tile_golden.py runs the real routine on random tiles (cells, records, line state, latches, money) and TrackTileChooserTests replays every case; the routine reads no terrain |
| TPW-EXE:0x00539760 tile record | source/OpenTPW/World/Original/TileLineGhost.cs:172 | [BIN:TPW-EXE:0x00539760 tile record] the chooser reads the record of the tile's origin cell (+8 type, +0xC links, +0xD direction, +0xE flags, +0x10 owner); a map cell of type 2, 7 or 30 stands in the record layer as type 7 (the world's no-terrain marker) |
| TPW-EXE:0x0053991B unowned | source/OpenTPW/World/Original/TrackTileChooser.cs:110 | [BIN:TPW-EXE:0x0053991B unowned] any cell of land the park does not own refuses the tile at once, with no latch |
| TPW-EXE:0x00539961 overwritable object | source/OpenTPW/World/Original/TrackTileChooser.cs:113 | [BIN:TPW-EXE:0x00539961 overwritable object] the four priority tests run on the cells A, B, C and C again (the executable's copy repeats the third); an object cell whose owner's priority is below the tool's lets the whole tile through |
| TPW-EXE:0x00539C27 track modes | source/OpenTPW/World/Original/TrackTileChooser.cs:124 | [BIN:TPW-EXE:0x00539C27 track modes] the three other records of the tile: a track tile or post of another ride makes the tile occupied and refuses everything after it |
| TPW-EXE:0x00539DF4 fence tool | source/OpenTPW/World/Original/TrackTileChooser.cs:142 | [BIN:TPW-EXE:0x00539DF4 fence tool] the fence tool (0x19) on a post's record answers by the gate posts' cells; on any other record 0 or 7 is free and anything else refuses and sets the sticky word |
| TPW-EXE:0x00539EC9 middle of a line | source/OpenTPW/World/Original/TrackTileChooser.cs:163 | [BIN:TPW-EXE:0x00539EC9 middle of a line] a tile of the tool's own kind in the middle of the line must be a straight or a stub |
| TPW-EXE:0x00539F4F cost | source/OpenTPW/World/Original/TrackTileChooser.cs:166 | [BIN:TPW-EXE:0x00539F4F cost] a tile whose record is a post, no terrain, unowned, none or of the tool's own type adds the tool's price unless it is the tool's own type |
| TPW-EXE:0x00539F95 money | source/OpenTPW/World/Original/TrackTileChooser.cs:169 | [BIN:TPW-EXE:0x00539F95 money] (`cmp eax, ebx` after `call 0x52FBC0`, a boundary of the linear decode from the function start 0x539760) outside the edit tools (0x539F72 exempts the modes 0xE and 0x13) a cost above the park's money refuses the tile and sets the cash word 0x816D5C (0x539FB6) |
| TPW-EXE:0x00539FC5 last tile | source/OpenTPW/World/Original/TrackTileChooser.cs:180 | [BIN:TPW-EXE:0x00539FC5 last tile] the last tile of a line of a track tool that touches a queue or entrance cell or a NoModify cell is refused |
| TPW-EXE:0x0053A070 free tile | source/OpenTPW/World/Original/TrackTileChooser.cs:186 | [BIN:TPW-EXE:0x0053A070 free tile] a tile with no record and no object, outside the edit tools, is free |
| TPW-EXE:0x0053A0A1 own tile | source/OpenTPW/World/Original/TrackTileChooser.cs:194 | [BIN:TPW-EXE:0x0053A0A1 own tile] a tile of the tool's own kind (or its station) where the line starts on its own start or ends |
| TPW-EXE:0x0053A1C6 end | source/OpenTPW/World/Original/TrackTileChooser.cs:210 | [BIN:TPW-EXE:0x0053A1C6 end] the line ends against the tile's opposite direction, or on a tile of another ride, or on an add-on tile in its own direction: the answer 0xB sets the end word |
| TPW-EXE:0x0053A1C6 tile end flag | source/OpenTPW/Hud/ParkHud.Cursor.cs:82 | [BIN:TPW-EXE:0x0053A1C6 tile end flag] the track chooser 0x539760 sets the same flag 0x816D4C when the line's tile meets a tile of the tool's own kind (its own-tile test: a record of the tool's type and owner, or a station's end), which gives the kart and water lines the end pointer; <paramref name="tileEnd"/> is that flag from the tile ghost |
| TPW-EXE:0x0053A326 chooser mode 0xF | source/OpenTPW/World/Tracks/TrackEditor.cs:164 | [BIN:TPW-EXE:0x0053A326 chooser mode 0xF] the cut's ghost op 0x10F (0x52B400 at 0x52B687, the pair's lines between the corner points) asks with the mode 0xF: a tile of type 0xB or 0x10 of the selected ride answers 0xD (0x53A32B..0x53A342), the texture m_erase; any other type but 0x19 answers 1 (0x53A351..0x53A35A), the red face |
| TPW-EXE:0x0053A363 edit pick test | source/OpenTPW/World/Tracks/TrackEditor.cs:147 | [BIN:TPW-EXE:0x0053A363 edit pick test] with the tool mode 0xE or 0x13 a tile of type 0xB or 0x10 whose ride word (+0x10) is the selected ride's answers 9 when its arm count (0x522810) is below three (0x53A37E: ((count < 3) − 1) & mask is zero); a junction falls through to the tail, where the mode differs from the tile type and the answer is 1 (0x53A4D8); any other cell ends in the same answer 1 |
| TPW-EXE:0x0053A36C chooser answer 9 | source/OpenTPW/World/Tracks/TrackEditor.cs:163 | [BIN:TPW-EXE:0x0053A36C chooser answer 9] the tool mode 0xE or 0x13 on a tile of type 0xB (0x53A36C..0x53A3A6) or 0x10 (0x53A3B5..0x53A3F4) whose ride word is the selected ride's with at most two arms answers 9, the texture m_break (the dynamic table 0x763B3C: 0 blue, 1 red, 2 orange, 3 m_enter, 4 m_exit, 5 m_direct, 6 m_front, 7 m_inout, 8 m_link, 9 m_break, 10 m_cross, 11 m_end, 12 m_nocash, 13 m_erase) |
| TPW-EXE:0x0053A510 flag word write | source/OpenTPW/World/Tracks/TrackBridges.cs:204 | [BIN:TPW-EXE:0x0053A510 flag word write] the word is assigned whole (0x53A510), after the low nibble was cleared (0x53A530 with 0xF): the add-on bit and any other bit go with it |
| TPW-EXE:0x0053AAC0 fence ghost | source/OpenTPW/Hud/ParkHud.cs:1798 | [BIN:TPW-EXE:0x0053AAC0 fence ghost] the fence tool's tiles are the tile chooser's: red for the answer 1 (every tile while the rectangle is refused), blue otherwise |
| TPW-EXE:0x0053AAC0 tile walker | source/OpenTPW/World/Original/TileLineGhost.cs:80 | [BIN:TPW-EXE:0x0053AAC0 tile walker] the dominant axis is walked in steps of 2 from the start to the end snapped to an even distance (a positive odd distance counts one more); the last tile is the only one with the last word 0x820AD0, the first in the map the only one with the first word 0x820AC8 |
| TPW-EXE:0x0053AAC0 track line snap | source/OpenTPW/World/Tracks/TrackLineWriter.cs:39 | [BIN:TPW-EXE:0x0053AAC0 track line snap] instruction level 0x53AAC0..0x53AB21: the axis is X only when |dx| > |dy| (the jle at 0x53AB02 sends a tie to Y); with u = start − cursor on that axis an odd positive u is incremented and the end is start − 2 × trunc(u / 2), which is start + 2 × floor((cursor − start) / 2); the walk steps ±2 along the axis at the start's other coordinate |
| TPW-EXE:0x0053AD20 bridge nibble | source/OpenTPW/World/Tracks/TrackBridges.cs:17 | [BIN:TPW-EXE:0x0053AD20 bridge nibble] the flag word's low four bits: the bridge state of a tile (1 bridge, 2 bridged ahead, 4 bridged both ways, 8 bridged behind) |
| TPW-EXE:0x0053AD30 track cell | source/OpenTPW/World/ParkCellMap.cs:51 | [BIN:TPW-EXE:0x0053AD30 track cell] true for the cell types 0xB, 0xD, 0x10, 0x12 and 0x19 |
| TPW-EXE:0x0053AD30 track kinds | source/OpenTPW/World/Tracks/TrackBridges.cs:20 | [BIN:TPW-EXE:0x0053AD30 track kinds] 0xB, 0xD, 0x10, 0x12 and 0x19 |
| TPW-EXE:0x0053AD70 ordinary tile | source/OpenTPW/World/Tracks/TrackBridges.cs:23 | [BIN:TPW-EXE:0x0053AD70 ordinary tile] kinds 0xB and 0x10 only: the stations (0xD, 0x12) and the hoardings are no tile the walks set flags on |
| TPW-EXE:0x0053AD90 counted structures | source/OpenTPW/Economy/ParkEconomy.cs:2035 | [BIN:TPW-EXE:0x0053AD90 counted structures] 0x005363F0 counts 50 for the record of a cell when its type is 0x0B, 0x0D, 0x10, 0x12 or 0x19, or when it is an extension (0x0C, 0x11) of such a record: the fence walk types the three cells beside every post (east, south, south-east) as extensions of it (0x52BA50), so a hoarding post counts its whole 2 x 2 block, each cell judged by its own flag 0x40 |
| TPW-EXE:0x0053AD90 track extension | source/OpenTPW/World/ParkCellMap.cs:60 | [BIN:TPW-EXE:0x0053AD90 track extension] true for the cell types 0xC and 0x11 |
| TPW-EXE:0x0053ADB0 station cell | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:75 | [BIN:TPW-EXE:0x0053ADB0 station cell] type 13 or 18, or an extension (12, 17) whose parent has type 13 or 18 |
| TPW-EXE:0x0053ADB0 station record | source/OpenTPW/World/Tracks/TrackBridges.cs:188 | [BIN:TPW-EXE:0x0053ADB0 station record] a record of kind 0xD or 0x12, or an extension (0xC, 0x11) whose parent word names one |
| TPW-EXE:0x0053AE00 corner test | source/OpenTPW/World/Tracks/TrackEditor.cs:98 | [BIN:TPW-EXE:0x0053AE00 corner test] two cardinal arms (0x522810) of which one is ±Y and one ±X: the mask, else 0 |
| TPW-EXE:0x0053AE00 corner test | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:69 | [BIN:TPW-EXE:0x0053AE00 corner test] two arms (0x522810) of which one is ±Y and one ±X: the mask, else 0 |
| TPW-EXE:0x0053AE50 straight test | source/OpenTPW/World/Tracks/TrackEditor.cs:102 | [BIN:TPW-EXE:0x0053AE50 straight test] two cardinal arms of which both are ±Y or both ±X: the mask, else 0 |
| TPW-EXE:0x0053AE90 junction test | source/OpenTPW/World/Tracks/TrackEditor.cs:106 | [BIN:TPW-EXE:0x0053AE90 junction test] (arm count ≤ 2) − 1 ANDed with the mask: nonzero for three or four arms |
| TPW-EXE:0x0053AEE6 step number readers | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:55 | [BIN:TPW-EXE:0x0053AEE6 step number readers] the step number the walk writes to +0x24 (0-based) has one reader, the getter 0x53AEC0 (an extension cell reads its origin's), whose callers are the track tool's edit sub-modes 0xE and 0x13 (0x524960 orders its two picks by step, 0x527960 hovers, 0x52B400 finds the cut's end tiles by equal steps): TrackEditor reads TrackCell.Segment the same way; an arrival at the start from any side ends the walk as in the original |
| TPW-EXE:0x0053AFA0 piece instance | source/OpenTPW/World/Tracks/TrackPieceAnimation.cs:92 | [BIN:TPW-EXE:0x0053AFA0 piece instance] a re-chosen piece deletes the cell's instance (0x522A90) and creates a new one (0x522B90 kart, 0x522D50 water), which starts animation 12 with flags 7 (0x522E1F) |
| TPW-EXE:0x0053AFA0 piece instancer | source/OpenTPW/World/Tracks/TrackRenderer.cs:234 | [BIN:TPW-EXE:0x0053AFA0 piece instancer] a tile whose flag word has the add-on bit 0x10 gets no piece instance (+4 = 0): the add-on standing on it is drawn instead |
| TPW-EXE:0x0053B280 clear cell | source/OpenTPW/World/Tracks/TrackEditor.cs:570 | [BIN:TPW-EXE:0x0053B280 clear cell] with (0, 0) the overlap word is written 0xFFFF (0x53B388) unless the tile is the exit tile (0x7639E0/E4), which counts down like every other call (0x53B393); (−1, −1) removes the arms across the remaining link (0x53B3A7: link 1 or 0x10 takes 4 and 0x40, link 4 or 0x40 takes 1 and 0x10, by 0x522850 and 0x522730); any other step, with at most one link bit (0x522860 < 2), spares the exit and entry tiles (0x53B3FA..0x53B46E, 0x53B54A), removes the arm opposite to the step (dx −2 → 4, +2 → 0x40, dy −2 → 0x10, +2 → 1) and, for a former corner left with one arm, points the link away from it (0x53B4AA..0x53B543); with two or more link bits it takes the opposite bit out of the link (0x5227F0) and both arms of the step's axis (0x522730); the piece is chosen again (0x53AFA0, 0x53B54A) whenever the arms were looked at |
| TPW-EXE:0x0053B280 clear op | source/OpenTPW/World/Tracks/TrackPieceSelector.cs:135 | [BIN:TPW-EXE:0x0053B280 clear op] the clear op (ClearCell 0x53B280 -> 0x5227F0) ANDs the line's direction bits out of a junction's link and, in its (-1, -1) form, clears the other axis' bit pair (0x522730, linked by 0x522850); TrackEditor.ClearCell ports it |
| TPW-EXE:0x0053B280 line step clear | source/OpenTPW/World/Tracks/TrackEditor.cs:342 | [BIN:TPW-EXE:0x0053B280 line step clear] ClearStep: a step of (±2, 0) or (0, ±2) takes the line's direction out of the tile as the cell op does |
| TPW-EXE:0x0053B280 record clear | source/OpenTPW/World/ParkCellMap.cs:586 | [BIN:TPW-EXE:0x0053B280 record clear] the record under a mask cell is cleared by the record clear with the forced arguments (0, 0, 1) unless the demolition is the add-on's own (clearRecord, TrackEditor.ClearUnderDemolition; ORACLE.md X37) |
| TPW-EXE:0x0053B280 replay clears | source/OpenTPW/World/Level.Tracks.cs:156 | [BIN:TPW-EXE:0x0053B280 replay clears] each line between two corner points of the collected stacks is replayed through the click handler's mode 0x35 (0x52FE50) with the clear op's line step, and the cut's pass rule (-1, -1) applies to a non-line junction: TrackEditor.ClearCell is the full port |
| TPW-EXE:0x0053B2F5 spared tiles | source/OpenTPW/World/ParkCellMap.cs:588 | [BIN:TPW-EXE:0x0053B2F5 spared tiles] the record clear spares the tiles the track tool's globals name (0x7639E0/E4 the exit, 0x7639E8/EC the entry): the issuer's TrackToolGlobals hold what its last select, tool start or Buy Land start wrote, whichever ride that was; the demolishing and selling commands carry those tiles (ToolTiles), so every peer and a replay run the clear on the same ones |
| TPW-EXE:0x0053B54A clear test | source/OpenTPW/World/Tracks/TrackEditor.cs:571 | [BIN:TPW-EXE:0x0053B54A clear test] a counter below zero clears the tile (0x53B57F) when it is neither the exit tile nor the entry tile (0x7639E8/EC), or when the replay flag 0x81B46C is set; the flag 0x81D7A8 of the queue demolition (0x527FAC, 0x528015) clears regardless and is never set while a track tool runs |
| TPW-EXE:0x0053B57F tile clear | source/OpenTPW/World/Tracks/TrackEditor.cs:715 | [BIN:TPW-EXE:0x0053B57F tile clear] the overlap word is 0 (0x53B582); a tile of type 0xB or 0x10 refunds (0x53B5C6..0x53B627: a station tile, type 0xD or 0x12, has no cell cost) unless the type is 0x19 or the credit is off (0x785A2C); then for each arm (0x53B634..0x53B6CD) the arm goes with the neighbour's arm back (0x522730, 0x50C3E0(heading, 2)) and a neighbour left with one arm whose flow link is not that arm's reverse takes it (0x522790, 0x522850, 0x4D8C00, 0x5227E0), the add-on object goes (0x53B6E5 → 0x527EE0), the link, flags, type and step word (0xFFFF) are written (0x53B70B..0x53B73E) and the three extension cells are cleared too (0x53B751..0x53B8BB) |
| TPW-EXE:0x0053B5FE track tile refund | source/OpenTPW/Economy/ParkEconomy.cs:2701 | [BIN:TPW-EXE:0x0053B5FE track tile refund] ClearCell takes the cell cost of the tile type (0x52FB60 for a type 11 kart tile, 0x52FB80 for a type 16 water tile, 0x53B299) and, when the tile is cleared, credits (0x4D0190 at 0x53B622) the ride's scrap percentage (0x4E2290) × that cost / 100 (imul and unsigned mul by 0x51EB851F at 0x53B60A..0x53B617); the station tiles (types 13 and 18) refund nothing |
| TPW-EXE:0x0053B703 add-on of a cleared tile | source/OpenTPW/World/Level.Tracks.cs:571 | [BIN:TPW-EXE:0x0053B703 add-on of a cleared tile] the tile's clear demolishes the add-on with the third argument 1: its pass 2 takes the flag 0x10 off the records and clears no tile again |
| TPW-EXE:0x0053B8BB exit tail | source/OpenTPW/World/Tracks/TrackEditor.cs:572 | [BIN:TPW-EXE:0x0053B8BB exit tail] a surviving exit tile (not during a replay) looks at its four sides (0x4D8C20 turns from 1): a side without an arm whose neighbour two cells on is a station tile with the same ride word (+0x10) gets the arm and the flow link turned to it (0x5227E0, 0x522700, 0x53AFA0); then, with exactly one arm (0x522790 = 1), the link is cleared (0x5227F0) and set to the reverse of each arm that faces such a station tile |
| TPW-EXE:0x0053B98C exit tail removal | source/OpenTPW/World/Tracks/TrackEditor.cs:697 | [BIN:TPW-EXE:0x0053B98C exit tail removal] a neighbour that is no track type (0x53AD30: not 0xB, 0xD, 0x10, 0x12 or 0x19) loses the side's arm, which is absent here already, and the piece is chosen again |
| TPW-EXE:0x0053BC60 end relink | source/OpenTPW/World/Tracks/TrackEditor.cs:749 | [BIN:TPW-EXE:0x0053BC60 end relink] at the tile before the station (0x7639E8/EC) the arms outside the link go (0x53BCC3..0x53BD1E), elsewhere the given heading or the link (0x53BD2B..0x53BD85); the overlap word counts down when it is not zero (0x53BCE2, 0x53BD52); next to the first station tile (0x7639E0/E4) the arms toward its station partner come back (0x53BD8E..0x53BF1F) |
| TPW-EXE:0x0053BD8E relink tail | source/OpenTPW/World/Tracks/TrackEditor.cs:784 | [BIN:TPW-EXE:0x0053BD8E relink tail] a tile two cells from the tool's exit (0x7639E0/E4) on an axis, with that cell on the grid (0x4D8300): every side whose neighbour is a station tile (type 0xD or 0x12, by type alone, no ride test) gives the exit cell that arm and the piece is chosen again; with the exit an anchor (the edit tool) the cell is no track tile, so its arm byte is never read and nothing is written (only a rotation 270 ride has a station tile two cells from its anchor) |
| TPW-EXE:0x0053BF30 second-layer instance | source/OpenTPW/World/Objects/ObjectHeightMaps.cs:46 | [BIN:TPW-EXE:0x0053BF30 second-layer instance] the cell lookup 0x452AE0 asks the cell's second-layer mesh instance first (0x53BF30: the mesh instance +4 of the second-layer cell, of the head cell for an extension cell, types 0xC and 0x11), a track piece of a kart or water ride (TrackRenderer.PieceGround, tried before this object route) or a park fence post, and the thing at the cell only when there is none |
| TPW-EXE:0x0053BF30 second-layer instance | source/OpenTPW/World/Tracks/TrackRenderer.cs:444 | [BIN:TPW-EXE:0x0053BF30 second-layer instance] the lookup asks the cell's second-layer mesh instance first and follows an extension cell (types 0xC and 0x11) to its tile's origin cell; the piece instance (0x00522B90 / 0x00522D50 through 0x00463060) carries the piece's own map (+0xCC), read as an object's |
| TPW-EXE:0x0053BFE0 dynamic meshes | source/OpenTPW/World/Level.cs:576 | [BIN:TPW-EXE:0x0053BFE0 dynamic meshes] the park's start creates the BlueprintMesh, the WaterMesh and the FlagsMesh together; Theme Park Inc's own build is not read here |
| TPW-EXE:0x0053C03A sea texture table | source/OpenTPW/World/Original/HarbourDynamics.cs:33 | [BIN:TPW-EXE:0x0053C03A sea texture table] the mesh creation 0x53BFE0 fills 0x871D18..0x871ED0 (110 words) with rand() % 3 + 15 |
| TPW-EXE:0x0053C03A sea texture table | source/OpenTPW/World/Original/HarbourDynamics.cs:98 | [BIN:TPW-EXE:0x0053C03A sea texture table] the mesh creation fills the table (the write at 0x53C05F) from the game thread's rand() 0x67B5C0, which start-up seeded with |
| TPW-EXE:0x0053C3F0 blueprint UV table | source/OpenTPW/World/Original/BlueprintMarkers.cs:603 | [BIN:TPW-EXE:0x0053C3F0 blueprint UV table] the runtime table 0x871EE8 (12-byte entries, u at +0, v at +4) holds the unit square (0,0), (1,0), (0,1), (1,1) in entries 0-3 and (0.5, 0.5) in entry 4; entries 5-8 are the rotating +-0.4 square of the track symbols |
| TPW-EXE:0x0053C3F0 dynamic meshes flush | source/OpenTPW/World/Original/HarbourDynamics.cs:14 | [BIN:TPW-EXE:0x0053C3F0 dynamic meshes flush] the render callback 0x54E2B0 calls it every park frame (0x54E2FC): the wave grid 0x53D380(16, 19, 20, phase 0x871F60), the sea's two patches 0x53CAB0, the cloth grid 0x53D570(7, 5, 1.8, phase 0x871ED0) and the eight flags 0x53CDA0, then the meshes are drawn (0x53D9E0) |
| TPW-EXE:0x0053C3F0 symbol UV set | source/OpenTPW/World/Original/BlueprintMarkers.cs:482 | [BIN:TPW-EXE:0x0053C3F0 symbol UV set] the entries 5 to 8 of the table 0x871EE8 are the square (-0.4, -0.4), (0.4, -0.4), (-0.4, 0.4), (0.4, 0.4) (0x53C480..0x53C4C2), each turned about the origin by the camera yaw 0x790A38 with the 4096-entry sine table (0x53C4F1..0x53C52C) and moved by (0.5, 0.5) (0x53C54F..0x53C612); a face of texture 8 to 14 takes them (0x53DFED) |
| TPW-EXE:0x0053C42B glide | source/OpenTPW/World/Original/BlueprintMarkers.cs:266 | [BIN:TPW-EXE:0x0053C42B glide] every flush moves 0x820AFC/0x820AF8 by half the way to 10 x the hover's cell (0x8186B8/0x8186B4), and the face builder 0x53DF30 offsets a face's x and z by (glide - 10 x cell) for a texture below 13 while the tool is the placement (4) or an edit tool (0xE, 0x13) and the flag 0x874FC4 is clear (0x53DF67..0x53DFCF) |
| TPW-EXE:0x0053C64A sea patches | source/OpenTPW/World/Original/HarbourDynamics.cs:27 | [BIN:TPW-EXE:0x0053C64A sea patches] 0x53CAB0(WaterStartPos, 10, 11, 0, 0, 16, 19) and (…, 4, 6, 10, 0, 16, 19): 110 + 24 = 134 faces, the WaterMesh's 0x86 |
| TPW-EXE:0x0053C6B1 flags | source/OpenTPW/World/Original/HarbourDynamics.cs:262 | [BIN:TPW-EXE:0x0053C6B1 flags] the flags alternate the textures 18 and 19 from the first, and turn by the weather thing's +0x5C (0x519590 over world +0x1DA724) x 0.0174533 |
| TPW-EXE:0x0053C762 ripple phase | source/OpenTPW/World/Original/BlueprintMarkers.cs:264 | [BIN:TPW-EXE:0x0053C762 ripple phase] the per-frame flush subtracts the constant 0x700DF8 (-0.1) from the global 0x874FC0 unless the pause test 0x402DF0 answers true |
| TPW-EXE:0x0053C776 harbour phases | source/OpenTPW/World/Original/HarbourDynamics.cs:383 | [BIN:TPW-EXE:0x0053C776 harbour phases] unless the clock is paused (0x402DF0) both 0x871F60 (waves) and 0x871ED0 (flags) gain 0.4 x the clock's time scale (0x785970 +0x20, 0x403390) per flush |
| TPW-EXE:0x0053C7BB red blink | source/OpenTPW/World/Original/BlueprintMarkers.cs:265 | [BIN:TPW-EXE:0x0053C7BB red blink] the flush (0x53C3F0) adds the game clock's time scale (0x785970 +0x20, truncated: the game speed factor, 1.0 at normal speed, which 0x4032F0 and 0x403340 step by 1.25 within 0.25 and 2.0) to the counter 0x874FC8 when the clock is not paused (+0x30): with the flag 0x763C98 clear the flag is set after the counter exceeds 1 and with it set cleared after it exceeds 6 (the counter restarts at 0 at each change), and 0x53C8D0 queues a face of texture 1 (red) only while the flag is set |
| TPW-EXE:0x0053C8D0 blueprint AddFace | source/OpenTPW/Hud/ParkHud.cs:1774 | [BIN:TPW-EXE:0x0053C8D0 blueprint AddFace] the PC twins: AddFace 0x53C8D0 (face records at 0x820B00 + i * 0xA0, callers 0x46C480, 0x4FA030, 0x532FC0 and 0x5370E0), the ghost routine 0x5370E0 (called from 0x52BA50 and 0x53AAC0) whose chooser 0x539760 returns 1 for the refused branch 0x537A1B, 0 for the default texture and otherwise that texture, and 0x532FC0 (called from 0x452D30, 0x5286A0, 0x528A70 and 0x536100); the chooser walks neighbouring cell types (0x536340–0x536380, type 0x15) |
| TPW-EXE:0x0053C8D0 red face blink | source/OpenTPW/World/Original/BlueprintMarkers.cs:382 | [BIN:TPW-EXE:0x0053C8D0 red face blink] a face of texture 1 is queued only while the blink flag 0x763C98 is set; [BIN:TPW-EXE:0x0053DF67 glide] a texture below 13 is moved by the glide offset in x and z |
| TPW-EXE:0x0053CAB0 sea patch | source/OpenTPW/World/Original/HarbourDynamics.cs:203 | [BIN:TPW-EXE:0x0053CAB0 sea patch] a face per cell (column, row) of the patch: corners (c, r), (c + 1, r), (c, r + 1), (c + 1, r + 1) of the grid plus the start, their grid normals, texture |
| TPW-EXE:0x0053CDA0 flag | source/OpenTPW/World/Original/HarbourDynamics.cs:227 | [BIN:TPW-EXE:0x0053CDA0 flag] with s = table sin(angle) and c = table cos(angle), every corner (x + 0.5, y, z) turns to (c x - s z, y, s x + c z) and moves to the pole top; its normal turns alike. |
| TPW-EXE:0x0053D380 wave grid | source/OpenTPW/World/Original/HarbourDynamics.cs:125 | [BIN:TPW-EXE:0x0053D380 wave grid] k = 2 pi x 1/3; with s = table sin(10 deg), c = table cos(10 deg): angle = x k c - z k s - phase x 0.5; y = table cos(angle) x 1.7; the normal (sin, 1, sin) of the angle normalised; x steps across a row, z down the rows |
| TPW-EXE:0x0053D570 cloth grid | source/OpenTPW/World/Original/HarbourDynamics.cs:161 | [BIN:TPW-EXE:0x0053D570 cloth grid] for row r (y0 = -r x 1.8, h = y0 - 5 x 1.8) and column c (x = c x 1.8): d = sqrt(x^2 + h^2) - phase x 0.6, a = min(x / ((7 - 4) x 1.8), 1); |
| TPW-EXE:0x0053D790 dynamic mesh textures | source/OpenTPW/World/Original/HarbourDynamics.cs:73 | [BIN:TPW-EXE:0x0053D790 dynamic mesh textures] a dynamic mesh looks a texture up in Data\Levels\<level>\Dynamic\Textures first, then in Data\Generic\Dynamic\Textures (table 0x763B38: slots 15-17 gby_sur1..3, 18 and 19 gte_lgo1) |
| TPW-EXE:0x0053DB0A symbol face | source/OpenTPW/World/Original/BlueprintMarkers.cs:483 | [BIN:TPW-EXE:0x0053DB0A symbol face] the flush hands each face record (x, y, z, type, direction byte, texture, size flag) to 0x53DF30, which takes the table entries from 5 for a texture from 8 to 14 and builds a floor face (type 0) 20 units square when the size flag is set |
| TPW-EXE:0x0053DDD0 blueprint vertex writer | source/OpenTPW/World/Original/BlueprintMarkers.cs:352 | [BIN:TPW-EXE:0x0053DDD0 blueprint vertex writer] for a texture 0-14 face the vertex y becomes y + terrain(x, z) (0x4527F0) + sine[round((phase + x + z) * 4096 / 2π) & 4095]; the table is filled by 0x4708D0 (callers 0x449EB0, 0x44A1D0 pass 0x1000) with sin(i / 4096 * 2π) |
| TPW-EXE:0x0053DF30 blueprint face builder | source/OpenTPW/World/Original/BlueprintMarkers.cs:604 | [BIN:TPW-EXE:0x0053DF30 blueprint face builder] textures 8-14 (m_link to m_erase) use the rotating set from entry 5, every other texture the unit square from entry 0 (0x53DFE6–0x53DFF2); the corner order follows the direction byte: default (0,1,2,3), 0x40 (1,3,0,2), 0x10 (3,2,1,0), 4 (2,0,3,1) (0x53DFF7–0x53E034), which shows only on a non-uniform texture (the arrows of m_front, m_enter and m_exit; the blue and red markers are uniform) and is applied here by CornerOrder; both sides are drawn (no hardware cull) |
| TPW-EXE:0x0053DF67 glide | source/OpenTPW/World/Original/BlueprintMarkers.cs:382 | [BIN:TPW-EXE:0x0053C8D0 red face blink] a face of texture 1 is queued only while the blink flag 0x763C98 is set; [BIN:TPW-EXE:0x0053DF67 glide] a texture below 13 is moved by the glide offset in x and z |
| TPW-EXE:0x0053DF75 glide tools | source/OpenTPW/Hud/ParkHud.cs:1869 | [BIN:TPW-EXE:0x0053DF75 glide tools] the faces glide only while the tool is the placement (4) or an edit tool (0xE, 0x13) |
| TPW-EXE:0x0053DFE6 symbol table pick | source/OpenTPW/World/Original/BlueprintMarkers.cs:414 | [BIN:TPW-EXE:0x0053DFE6 symbol table pick] a face of a texture from 8 to 14 (m_link, m_break, m_end, m_erase) takes the rotating set whatever its size |
| TPW-EXE:0x0053DFE6 symbol table pick | source/OpenTPW/World/Original/BlueprintMarkers.cs:489 | [BIN:TPW-EXE:0x0053DFE6 symbol table pick] only a texture from 8 to 14 takes the rotating set (entry 5 on); a texture below 8 over a tile (the refused tile's red) takes the unit square |
| TPW-EXE:0x0053DFF7 face corner order | source/OpenTPW/World/Original/BlueprintMarkers.cs:591 | [BIN:TPW-EXE:0x0053DFF7 face corner order] the face builder 0x53DF30 picks the four table entries by the direction byte: default (0,1,2,3), 0x40 (1,3,0,2), 0x10 (3,2,1,0), 4 (2,0,3,1) |
| TPW-EXE:0x0053E530 dynamic face | source/OpenTPW/World/Original/HarbourDynamics.cs:290 | [BIN:TPW-EXE:0x0053E530 dynamic face] a face is written as the triangles (v2, v1, v0) and (v1, v2, v3) with each corner's normal (0x53DDD0 with no terrain and no ripple for these meshes) |
| TPW-EXE:0x00540AB0 sprite yaw | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:216 | [BIN:TPW-EXE:0x0046F1C0 camera yaw] atan2(forward x, forward z) while the forward vector's height is within +-0.9 (0x006FEB78, 0x006FEB7C), else atan2(-right z, right x); [BIN:TPW-EXE:0x00540AB0 sprite yaw] the park camera's yaw 0x00790A38 modulo 2 pi (0x00700E68), plus 2 pi when below 0 |
| TPW-EXE:0x00540D90 ESP performances | source/OpenTPW.Files/Public/SpriteBankFile.cs:221 | [BIN:TPW-EXE:0x00540D90 ESP performances] the loader reads file bytes 0x14E..0x15D one by one into +0x20E..+0x21D and counts the entries whose first byte is not zero into +0x20C (0x541FA0 returns it); 0x540C70 returns entry e as (byte0 − 1, byte1 − 1, byte2, byte3), and 0x475B80 runs program byte0 − 1 of the table 0x74F7C8 on slot byte1 − 1 with the frames per direction of that slot (0x540C60) |
| TPW-EXE:0x005410D3 sprite bank extension | source/OpenTPW.Files/Public/SpriteBankFile.cs:198 | Byte 0x10C: the set has a full-detail <c>.FPC</c> bank. [BIN:TPW-EXE:0x005410D3 sprite bank extension] the ESP loader 0x540D90 |
| TPW-EXE:0x00541ACE kid set limit test | source/OpenTPW/World/Guests/KidSetLoad.cs:34 | [BIN:TPW-EXE:0x00541ACE kid set limit test] after each loaded entry the count is compared with the limit (0x00541ACE in the first pass, 0x00541BC2 in the second), so the stop is "count >= limit" after a load |
| TPW-EXE:0x00541F70 / 0x004F93AA | source/OpenTPW.Tests/StaffVariantTests.cs:126 | [BIN:TPW-EXE:0x00541F70 / 0x004F93AA] (R >> 2) % the loaded count when a candidate is made, a member's stored id % the loaded count at every load (the person serializer 0x004F8B10): a lower count wraps the draw for good; the staff constructors copy a candidate's +9 raw (0x004D6BED to 0x004D6C17), so a load leaves the pool's draws alone |
| TPW-EXE:0x00541F70 kid set draw | source/OpenTPW/World/Guests/GuestAppearance.cs:44 | [BIN:TPW-EXE:0x00541F70 kid set draw] the function returns (word >> 2) modulo the category's loaded count (div esi; mov eax, edx: the entry +8 that 0x00541E7D fills with 0x00541310's result); the guest stores that remainder (0x004FB1B5) and a load reduces it again (0x004F93AA), so the value kept is (raw mod count at creation) and the bank drawn is that mod the count now |
| TPW-EXE:0x00541F70 sprite draw | source/OpenTPW/Economy/ParkStaff.cs:254 | [BIN:TPW-EXE:0x00541F70 sprite draw] (R >> 2) % the category's loaded count (the divisor is the table entry 0x00763F90 of 0x00541F60), returned to the constructors, which store it (0x004FB1B5 for a guest, 0x00507600 for a candidate) |
| TPW-EXE:0x00541F70 sprite variant | source/OpenTPW/Economy/ParkStaff.cs:509 | [BIN:TPW-EXE:0x00541F70 sprite variant] (draw >> 2) mod the role category's LOADED bank count (table entry +8, filled by 0x541E7D from 0x541310 after the limit): StaffCandidate.SpriteDraw, handed on to the member it becomes (Hire) and reduced again by the loaded count of every load (AttachSpriteBanks); the hashed Variant below is the same draw modulo the folder's own bank count (StaffSprites.Banks), so peers with other presets keep one world hash |
| TPW-EXE:0x00542010 / 0x0046C480 | source/OpenTPW.Tests/StaffCarryCursorTests.cs:67 | [BIN:TPW-EXE:0x00542010 / 0x0046C480] the tool stores the picker's absolute height + 5 and the sprite pass adds the terrain's height under the sprite to the stored word (the sprite's flag 0x1000000 is clear) |
| TPW-EXE:0x00542010 camera sector | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:231 | [BIN:TPW-EXE:0x00542010 camera sector] ftol((yaw - (-0.3926991)) * 0.1591549 * 8.0) & 7 subtracted from 8 (FSUB m32 at 0x0054219E, bytes D8 25 74 0E 70 00); the draw adds the heading sector and keeps the low three bits |
| TPW-EXE:0x00542010 direction | source/OpenTPW/World/Guests/GuestRenderer.cs:351 | [BIN:TPW-EXE:0x00542010 direction] the original's sprite pass: the heading sector plus the camera's yaw sector, no pitch (GuestSpriteAtlas.SelectOriginalDirection) |
| TPW-EXE:0x00542010 direction | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:238 | [BIN:TPW-EXE:0x00542010 direction] (camera sector + the sprite's heading byte) & 7; when the slot's direction count (ESP byte 3 of the slot) minus 1 is below it, the draw is mirrored (flag 0x10) and the direction is 8 minus it; frame = first frame of the slot + frames per direction x direction + step |
| TPW-EXE:0x00542010 direction | source/OpenTPW/World/Staff/StaffRenderer.cs:202 | [BIN:TPW-EXE:0x00542010 direction] staff go through the same sprite pass as the guests: the heading sector plus the camera's yaw sector picks the direction; no pitch is read (GuestSpriteAtlas.SelectOriginalDirection) |
| TPW-EXE:0x00542010 direction | source/OpenTPW/World/Staff/StaffRenderer.cs:282 | [BIN:TPW-EXE:0x00542010 direction] the heading byte plus the camera's yaw sector, mirrored past the last stored direction, as for any sprite (the tool's sprite has no flag 0x40000: 0x004758F0 clears +0xC4) |
| TPW-EXE:0x00542010 sprite draw | source/OpenTPW/World/Staff/StaffSprites.cs:161 | [BIN:TPW-EXE:0x00542010 sprite draw] the direction is (+0xC0 + 0, a screen sprite taking no camera turn) & 7; above the bank's direction count − 1 it is mirrored and becomes 8 − direction |
| TPW-EXE:0x00542010 sprite height | source/OpenTPW/World/Staff/StaffRenderer.cs:223 | [BIN:TPW-EXE:0x00542010 sprite height] a sprite whose flag 0x1000000 is clear (the dangling script sets only 0x1200, 0x0074ED98) is drawn at the terrain's height under its x and z (0x004527F0, the pass adds it at 0x005420F3) plus the stored height word +0x8C, which every other caller makes relative (a guest stores its height minus the terrain's, 0x004F9E60; a litter item 0) |
| TPW-EXE:0x00542010 sprite pass | source/OpenTPW/World/Guests/BounceRiders.cs:168 | [BIN:TPW-EXE:0x00542010 sprite pass] a sprite is drawn every frame at its stored position (+0x88..+0x90) while it has a frame; the walk update and the bounce pass store it (0x004F9E60 through 0x00475480) only for the entries they pass, and the guest update stores it again only after the state-15 entry has cleared +0x28 (0x004FA087, 0x00501F79), so between the two the body stays where it was last placed |
| TPW-EXE:0x00542010 sprite pass | source/OpenTPW/World/Guests/GuestRenderer.cs:228 | [BIN:TPW-EXE:0x00542010 sprite pass] a record is drawn from the bank of its kind and variant at the slot and frame registers the clone holds, the direction (+0xC0 + the camera sector, 0 for flag 0x40000) & 7, mirrored above the bank's direction count - 1 (GuestSpriteAtlas.SelectOriginalDirection) |
| TPW-EXE:0x00542010 sprite pass | source/OpenTPW/World/Staff/StaffRenderer.cs:154 | [BIN:TPW-EXE:0x00542010 sprite pass] a record is drawn from the bank of its kind +0xAC and variant +0xB0 at the slot register +0xB4 and the frame register +0xB8, the direction (+0xC0 + the camera sector, which flag 0x40000 makes 0) & 7, mirrored above the bank's direction count - 1 |
| TPW-EXE:0x00542010 sprite pass | source/OpenTPW/World/Staff/StaffRenderer.cs:186 | [BIN:TPW-EXE:0x00542010 sprite pass] the pass skips a record whose output word +0x114 is 0 (0x0054201D: FRAME sets it, 0x00476940) or whose frame register +0xB8 is -1 (0x00542029) and draws any other from the bank of its kind +0xAC and variant +0xB0 at the slot register +0xB4 and the frame register: the frame is whatever the scheduler's last pass left, however late the frame is drawn |
| TPW-EXE:0x00543560 TrackRides loader | source/OpenTPW.Tests/TrackAddOnLevelTests.OriginalVehicles.cs:123 | [BIN:TPW-EXE:0x00543560 TrackRides loader] a bumper ride's chunks are saved and loaded as a kart ride's, but OpenTPW applies none of them, so its state-16 guests have no vehicle to ride: they are put off the ride, and a guard chasing or escorting one goes idle |
| TPW-EXE:0x005442E0 sine table init | source/OpenTPW/World/Tracks/BumpMath.cs:15 | [BIN:TPW-EXE:0x005442E0 sine table init] the table (0x877358, 512 ints) is filled at start-up from fsin(2i · 0.00613591796875) × 256 through the truncating float-to-int conversion 0x0067A830 (control word round-to-zero); verified here by regenerating it, the table itself is not in the file image |
| TPW-EXE:0x00544840 open ride | source/OpenTPW/World/Tracks/BumpController.cs:604 | [BIN:TPW-EXE:0x00544840 open ride] water: only while closed, FirstAfterFinish = the buoy after the finish buoy (skipping flag 2), phase 2, then the performance is pushed; karts use phase 1 |
| TPW-EXE:0x00544840 open ride | source/OpenTPW/World/Tracks/BumpController.cs:607 | [BIN:TPW-EXE:0x00544840 open ride] the bumper types fall into the default case: the phase becomes 1 whatever it was, then the performance is pushed |
| TPW-EXE:0x00544A10 close ride | source/OpenTPW/World/Tracks/BumpController.cs:622 | [BIN:TPW-EXE:0x00544A10 close ride] karts parked on the grid stay aboard when the ride closes during loading (the routine touches only the lists and the phase); the script recovers them with BUMP 10 (unload every kart, close) and a reopen (BUMP 7) leaves them parked for BUMP 3. Phase 0 and the pending list moves behind the leaving list; only the bumper cars turn to the unload point at once, karts and water boats finish their run (a vehicle ends it at its next finish crossing with the phase 0) |
| TPW-EXE:0x00544A10 close ride | source/OpenTPW/World/Tracks/BumpController.cs:632 | [BIN:TPW-EXE:0x00544A10 close ride] every bumper car of the controller gets laps 0 and flags (flags & 0xFFFFBFA1) | 0x10020: it stops carrying, heads for the end of the session and hands its rider over at its next step |
| TPW-EXE:0x00544C61 BUMP 9 | source/OpenTPW/World/Tracks/BumpController.cs:494 | [BIN:TPW-EXE:0x00544C61 BUMP 9] the only writer of controller +0x54 = 1 is unconditional (it also overwrites a break); the only reader of +0x54 == 1 is the kart exhaust branch of 0x547F50 (0x5486FC), so the worn state changes nothing for boats or bumper cars (+0x54 == 2 is read at 0x547DC4, 0x547E2C and 0x547F8E) |
| TPW-EXE:0x00544C80 BUMP 8 break | source/OpenTPW/World/Tracks/BumpController.cs:530 | [BIN:TPW-EXE:0x00544C80 BUMP 8 break] for every vehicle of the controller with flag 0x4000, a sparks node (+0x24 not −1) and no emitter (+0x2C) the routine creates 0x521E60(2, …) (Smoke) and stores it in +0x2C; 0x547F50 moves it to the node every tick (0x51FE30); the fix 0x544E50 and the unload 0x54AE50 destroy it (0x51FEB0); water boats have no sparks node |
| TPW-EXE:0x00544D4D smoke start | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:111 | [BIN:TPW-EXE:0x00544D4D smoke start] BUMP 8 creates the emitter at the sparks node's world place (the node at the car's +0x24 in the instance's node table +0x28, its matrix +0x30..+0x38 × 1024); the node position comes from the last draw, the car's point without one |
| TPW-EXE:0x00544DE9 jungle break | source/OpenTPW/World/Tracks/BumpController.cs:541 | [BIN:TPW-EXE:0x00544DE9 jungle break] for the jungle type −1 the new emitter is followed by animation 12 (the presentation object stops) |
| TPW-EXE:0x00544E50 fix | source/OpenTPW/World/Tracks/BumpController.cs:548 | [BIN:TPW-EXE:0x00544E50 fix] +0x54 is cleared; only when it was 2 does the routine walk the cars: for types −14..−3 and −1 each car with an emitter destroys it (0x51FEB0) and, for the jungle type −1 with flag 0x4000, plays animation 5 (0x544F2E..0x544F76) |
| TPW-EXE:0x00544F90 start bump ride | source/OpenTPW/World/Tracks/BumpController.cs:641 | [BIN:TPW-EXE:0x00544F90 start bump ride] not for the water types: the phase goes from 1 to 2 and every vehicle of the controller clears flags 0x80000 and 0x40 (parked, grid mode), takes the controller's laps (+4) as its lap counter and is relaunched (0x0054A040); "Start Bump Ride" is logged |
| TPW-EXE:0x00544F90 start bump ride | source/OpenTPW/World/Tracks/BumpController.cs:652 | [BIN:TPW-EXE:0x00544F90 start bump ride] the jungle bumper (type −1) switches every car that carries a guest (flag 0x4000) to animation 5 |
| TPW-EXE:0x00545180 controller performance | source/OpenTPW/World/Tracks/BumpController.cs:435 | [BIN:TPW-EXE:0x00545180 controller performance] p = clamp(0, 100); each of the four values is min + (max − min) × p / 100 with truncating integer division |
| TPW-EXE:0x00545310 section counts | source/OpenTPW/World/Tracks/BumpController.cs:1070 | [BIN:TPW-EXE:0x00545310 section counts] two passes over the section list (so a run wraps from the end to the start): kinds 9–13 and 11 extend the run, a corner (kinds 5–8) ends it and counts; crossings count separately; add-on straights without a run counter count apart; every count is halved for the doubled pass except the longest run |
| TPW-EXE:0x00545450 section reset | source/OpenTPW/World/Tracks/BumpController.cs:322 | [BIN:TPW-EXE:0x00545450 section reset] a re-walk first unloads every vehicle (0x0054AE50) and closes the ride (0x00544A10), then frees the sections, their collision objects and the buoys that are not station buoys (flags 2 or 4) |
| TPW-EXE:0x00545890 bumper arena | source/OpenTPW/World/Tracks/BumpController.cs:235 | [BIN:TPW-EXE:0x00545890 bumper arena] collision object flags 0x1F at (X, Y) with radius 0x1200 (−1), 0x1100 (−11) or 0x1600; eight buoys (flag 1) from (0, R) rotated by x' = (S·x + C·y) / 256, y' = (S·y − C·x) / 256 with C = sine[64] and S = sine[192], each shifted to the centre |
| TPW-EXE:0x00545890 bumper arena | source/OpenTPW/World/Tracks/BumpController.cs:252 | [BIN:TPW-EXE:0x00545890 bumper arena] the circle and the ring come from the module's object and buoy pools |
| TPW-EXE:0x00545890 bumper arena | source/OpenTPW/World/Tracks/BumperTemplates.cs:34 | [BIN:TPW-EXE:0x00545890 bumper arena] the keep-in circle (flags 0x1F) at the station centre has radius 0x1200 for type −1, 0x1100 for −11 and 0x1600 for the other bumper types; the eight buoys lie on a ring of radius 0xC00, 0xB00 and 0x1000 |
| TPW-EXE:0x00545890 station buoys | source/OpenTPW/World/Tracks/TrackSections.cs:252 | [BIN:TPW-EXE:0x00545890 station buoys] water: the finish buoy (flag 4) at the station ± 0xC00 along the axis the orientation selects, the unload point (+0x90/+0x94) at a third of that offset (integer division), controller +0x74/+0x78 the station |
| TPW-EXE:0x00545890 station buoys | source/OpenTPW/World/Tracks/TrackSections.cs:265 | [BIN:TPW-EXE:0x00545890 station buoys] kart types −4, −7, −9, −10: along = (count − i − 2) × 0x400 with count = controller +0x64, across = (i & 1) × −0x800 + 0x400, swapped when the orientation word is odd, x negated for bit 2 and y for bit 4; each buoy gets flag 2; then the finish buoy at (−0xC00, 0) in the same frame with flag 4; +0x74/+0x78 and the unload point +0x90/+0x94 are the station |
| TPW-EXE:0x00545890 track controller | source/OpenTPW/World/Level.Tracks.cs:96 | [BIN:TPW-EXE:0x00545890 track controller] the kart and water types store the creation cell as the station reference (+0x74/+0x78) without the arena's 0x600 (0x545F13, 0x5460D9); 0x529E10 hands it anchor + Bumper.*Adjust + the rotation's fixed offset, times 0xC00 |
| TPW-EXE:0x00546280 kart pose | source/OpenTPW/World/Tracks/TrackSurface.cs:252 | [BIN:TPW-EXE:0x00546280 kart pose] probes at (sin h, cos h) × R and (cos h, −sin h) × R (R = vehicle radius / 307.2); pitch = atan2(2R, front − back) style difference over 2R, roll likewise for right and left; flag 0x800 uses (front + back) / 2 and no roll, flag 0x400 adds 1.6 + sine[age × 6] × 0.0016667 (the 256-scaled table), flag 0x1000 adds (yaw rate / 13) × π/2 to the roll, the shadow (0x2000) stands on the four-probe mean |
| TPW-EXE:0x00546280 probe without object | source/OpenTPW/World/Tracks/TrackRenderer.cs:645 | [BIN:TPW-EXE:0x00546280 probe without object] a probe whose cell has no object (0x450AC0 answers 0) is never sampled: its height slot holds the vehicle's own +0xA0 from the probe setup (0x5462F8 onward, stored before the lookup), so it adds the previous height to the mean |
| TPW-EXE:0x00546280 vehicle height | source/OpenTPW/World/Tracks/TrackRenderer.cs:644 | [BIN:TPW-EXE:0x00546280 vehicle height] four probes at ± the vehicle radius along the facing and across it; each probe's cell object (0x00450AC0: the cell's owner, a track cell through 0x0053BF30) is selected (0x00450EA0) and sampled (0x004511A0); a −100 sample keeps the vehicle's previous height (+0xA0); the mean is the height, the front/back and right/left differences the pitch and roll |
| TPW-EXE:0x00546280 wake | source/OpenTPW/World/Tracks/TrackRenderer.cs:518 | [BIN:TPW-EXE:0x00546280 wake] flag 0x2000000: the second instance (mesh 0, b_wake) trails the car by (sine[h] × speed × 4) / 49143 and (sine[h + 128] × speed × 4) / 49143 |
| TPW-EXE:0x005469C3 kart bank | source/OpenTPW/World/Tracks/TrackSurface.cs:253 | [BIN:TPW-EXE:0x005469C3 kart bank] 0x5469C3..0x5469ED: roll += (yaw + α·Δyaw) / 13 × π/2 with no clamp before the roll − π/2 at 0x546A3D; the original's roll is the negative of this pose's slope roll (roll = −atan((right − left) / 2R) + bank), so the bank's sign relative to the slope roll is the original's and the absolute roll sign is OpenTPW's rendering convention |
| TPW-EXE:0x00546A89 first-draw beam | source/OpenTPW/World/Tracks/BumpController.cs:728 | [BIN:TPW-EXE:0x00546A89 first-draw beam] 0x546280 (its only caller is 0x5190D1, for every type-3 thing with a controller, once per rendered frame whether the vehicle is in view or not) tests flag 0x4000000 of each live vehicle of the controller: when set it clears the flag (0x546A95) and calls 0x521E60 with the vehicle's matrix translation times 1024 and particle 15 (0x546AC5); no family or type is tested between 0x5467C8 and 0x546A89 (only flag bits 0x1000000, 0x800, 0x400, 0x1000 and the helpers 0x46F180/0x46F6F0), so karts, bumper cars and boats alike beam on the frame that first draws them, a creation made in the substeps of the frame included; the retire beam 0x54AE50 clears 0x400000 and raises 15 on its own and leaves this flag alone |
| TPW-EXE:0x00546C80 crash | source/OpenTPW/World/Tracks/BumpController.cs:1734 | [BIN:TPW-EXE:0x00546C80 crash] a kart pair whose impulse (the share handed to the other) exceeds 0x82 asks for the CRUNCH effect (code 3) once per tick: both get flag 0x200000 (the bumper cars ask for code 5, the water boats make no sound) |
| TPW-EXE:0x00546C80 crash | source/OpenTPW/World/Tracks/BumpController.cs:1735 | [BIN:TPW-EXE:0x00546C80 crash] the switch on the controller type: −14, −11, −6 and −3 ask for code 5, the kart types for code 3; the jungle bumper (−1) has no case and makes no sound |
| TPW-EXE:0x00546C80 frame counter | source/OpenTPW/World/Tracks/BumpWorld.cs:33 | [BIN:TPW-EXE:0x00546C80 frame counter] the tick adds one to 0x877B5C before the vehicle pass; 0x547F50 tests its low five bits for the horn, exhaust, sparks and spray gates of every controller |
| TPW-EXE:0x00546C80 module tick | source/OpenTPW/World/Tracks/BumpWorld.cs:8 | [BIN:TPW-EXE:0x00546C80 module tick] one call per world substep: the frame counter 0x877B5C rises, every live vehicle of the pool 0x877B68 (256 records of 0xAC, in pool order) is stepped (0x5474B0) and integrated (0x547F50), then every live vehicle collides with every other live vehicle of the pool, whichever ride owns it, and runs its stuck check, walls (0x5497B0), keep-out circles (0x5494D0) and effect player (0x547170) |
| TPW-EXE:0x00546C80 stuck retarget | source/OpenTPW/World/Tracks/BumpController.cs:1760 | [BIN:TPW-EXE:0x00546C80 stuck retarget] once the window counter passes 31, a wall-contact count above 16 moves the aim to the next buoy; both counters reset |
| TPW-EXE:0x00546C80 vehicle collisions | source/OpenTPW/World/Tracks/BumpController.cs:1705 | [BIN:TPW-EXE:0x00546C80 vehicle collisions] closing (relative velocity within a quarter turn of the line between them): the normal part of the relative speed × the other's restitution goes to the other vehicle, the rest back to this one; otherwise they are pushed apart by the overlap, the other by its restitution share |
| TPW-EXE:0x00546E52 shared pass | source/OpenTPW/World/Tracks/BumpController.cs:1706 | [BIN:TPW-EXE:0x00546E52 shared pass] the pair loop runs over the whole module pool: the restitution is the other vehicle's controller's (+0x9C → +0x2C) and the crash code this vehicle's controller type, so vehicles of neighbouring rides push each other |
| TPW-EXE:0x00547170 effect player | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:129 | [BIN:TPW-EXE:0x00547170 effect player] the global cat_rides sounds 12 and 24 are submitted through the global-rides route (EVENT type 5), the category the original's DAT_00803A28 names |
| TPW-EXE:0x00547170 effect player | source/OpenTPW/World/Tracks/BumpController.cs:1667 | [BIN:TPW-EXE:0x00547170 effect player] request (+0x14) is taken into the latch (+0x18) when higher and cleared; 1 plays global cat_rides 24, 2 draws the module LCG and plays EventMap slot 3 (TOOT) when (lcg & 0x70000) == 0, else stays latched for the next tick, 3 plays global cat_rides 12 (CRUNCH); a played effect clears the latch |
| TPW-EXE:0x00547170 effect player | source/OpenTPW/World/Tracks/BumpController.cs:1668 | [BIN:TPW-EXE:0x00547170 effect player] code 1 plays cat_rides 0x18 (24), 3 and 5 play 0x0C (12), 2 EventMap slot 3 (TOOT), 4 slot 4; DAT_00803A28 is the cat_rides category (0x51EBC4) and cat_ridesSFX.map holds events 12 and 24 (one-shots, one sound each); the global route resolves the same category by id |
| TPW-EXE:0x005474B0 bumper unload | source/OpenTPW/World/Tracks/BumpController.cs:1500 | [BIN:TPW-EXE:0x005474B0 bumper unload] the 0x20 branch for types −1, −6, −11, −14 calls 0x0054AC70 (riders to the front of the leaving list one by one, the rider count +0x60 falls, the head sprite goes); when the controller has no rider left its phase becomes 1 ("loading"), the car's flags &= 0xFFFFFF81 (no more wandering or unloading) and its animation 12; otherwise the car repeats the call at its next step, so the last car's step ends the session for every car |
| TPW-EXE:0x005474B0 bumper unload | source/OpenTPW/World/Tracks/BumpController.cs:1503 | [BIN:TPW-EXE:0x005474B0 bumper unload] 0x54AC70(vehicle, 1) takes the riders one by one and, for each one whose head was hung, raises particle 0x13 at the vehicle's drawn place (0x54acdb-0x54ad24; only while the head is still hung, [rider+8] != -1, where OpenTPW checks the seat's head dummy; OpenTPW uses the simulation position, PTCL-908); the retire (0x54AE50) passes 0 and raises none |
| TPW-EXE:0x005474B0 chase step | source/OpenTPW/World/Tracks/BumpController.cs:1025 | [BIN:TPW-EXE:0x005474B0 chase step] the countdown +0x8C falls each step; at 0, or when the target's flags & 0x40021 are not exactly 1, the car relaunches; else lead = min(distance / own speed, 24) (own speed at least 1), aim = target position + velocity × lead; an aim outside the target's object and in no other keep-in object is moved onto the nearest object's rim (offset / 8 scaled to the radius over the offset's length + 0x20); the steering routine runs with that aim and clears flag 0x20000 within the buoy radius |
| TPW-EXE:0x005474B0 duration countdown | source/OpenTPW/World/Tracks/BumpController.cs:1385 | [BIN:TPW-EXE:0x005474B0 duration countdown] a lap counter at or above 0 is a duration: while the ride runs (phase 2) and is not broken it counts down once per tick, and at 0 the vehicle goes to the unload point (flags & 0xFFFFFFA1 | 0x10020); no kart or water script sets it (BUMP 14 stores a negative lap count); the water boats skip it here, so a boat that ended its run keeps its lap counter at 0 as phase 1 pinned |
| TPW-EXE:0x005474B0 finish buoy | source/OpenTPW/World/Tracks/BumpController.cs:1462 | [BIN:TPW-EXE:0x005474B0 finish buoy] phase 3 or 0 ends the run; otherwise ++laps (+0x88) ends it at 0; for the kart types a run ending in phase 2 sets phase 3 ("GoKart Race Over"), so the first kart home ends the race and the others go home at their next crossing |
| TPW-EXE:0x005474B0 grid slot | source/OpenTPW/World/Tracks/BumpController.cs:1449 | [BIN:TPW-EXE:0x005474B0 grid slot] within a quarter of the buoy radius of its slot a kart parks: flag 0x80000 (damping × 0.7, no thrust) and its target becomes +0xA4, the buoy after the finish, where it waits for BUMP 3 |
| TPW-EXE:0x005474B0 session countdown | source/OpenTPW/World/Tracks/BumpController.cs:1386 | [BIN:TPW-EXE:0x005474B0 session countdown] the bumper cars' duration is the same counter: BUMP 13 stores seconds × 30 and BUMP 3 hands it to every car; at 0 the bumper types also drop the carrying flag 0x4000 before they head for the end of the session |
| TPW-EXE:0x005474B0 vehicle step | source/OpenTPW/World/Tracks/BumpController.cs:1381 | [BIN:TPW-EXE:0x005474B0 vehicle step] lap mode (flag 8) steers at the buoy list and on capture (within the buoy radius) advances to the next buoy with a fresh jitter, ending the run when the finish buoy's lap counter reaches 0; flag 0x20 steers at the unload point and retires the boat within the radius |
| TPW-EXE:0x005476FE module object search | source/OpenTPW/World/Tracks/BumpController.cs:1234 | [BIN:TPW-EXE:0x005476FE module object search] every object search walks the module pool 0x877B70 (2048 records), whichever ride owns the objects |
| TPW-EXE:0x00547B9A jitter draw | source/OpenTPW/World/Tracks/BumpController.cs:1525 | [BIN:TPW-EXE:0x00547B9A jitter draw] the draw is the world generator's (0x00516330; the same step is at 0x005470D3): radius / 2 - draw % radius: the park's one stream, shared with the guests, the staff and the scripts |
| TPW-EXE:0x00547C60 steer | source/OpenTPW/World/Tracks/BumpController.cs:1320 | [BIN:TPW-EXE:0x00547C60 steer] retarget through the object graph while flag 0x10000 is set; error = (−heading − (atan2(dx, −dy)·256/π − 256)) mod 512; turn when error > rate/2 and state ≠ 2; thrust (accel + bonus, ×¾ in a clipped object) along (sin h, cos h) with the 256-scaled table ×4/1024 |
| TPW-EXE:0x00547F50 integrate | source/OpenTPW/World/Tracks/BumpController.cs:1536 | [BIN:TPW-EXE:0x00547F50 integrate] v = v × d / 1024 (d = the damping; 1000 while the ride is broken, ×7/10 under flag 0x80000), the post-damping velocity is kept, position += v; water: the wall spin decays by 0.998 above 0x30, the roll is spin / 128 clamped to ±16, and every 32nd tick a boat has a 1 in 8 chance of spray |
| TPW-EXE:0x00547F50 integrate bumper | source/OpenTPW/World/Tracks/BumpController.cs:1640 | [BIN:TPW-EXE:0x00547F50 integrate bumper] phase 2: +0x58 = the steering heading +0x50 (type −1) or the velocity angle, +0x5C = ((+0x58 − +0x54) mod 512, wrapped to ±256) × speed / 1000, else 0; +0x54 += +0x5C at the end of every step; phase 2, carrying (0x4000), every 32nd tick, a sparks node, a cosmetic draw with (lcg >> 16) & 3 = 2, not type −1 and no pending effect: particle 1 and effect 1 (cat_rides 24); the engine voice's parameter 10 is speed / 3 |
| TPW-EXE:0x00547F50 integrate kart | source/OpenTPW/World/Tracks/BumpController.cs:1594 | [BIN:TPW-EXE:0x00547F50 integrate kart] the velocity angle a (512ths) moves the drawn heading +0x54 by ((a − h) mod 512, wrapped to ±256) × speed / 1000 per tick (+0x5C, with its change +0x60); racing (phase 2) on every 32nd tick above speed 230 with no pending effect asks for effect 2 (horn); worn (+0x54 = 1) above speed 80 with a sparks node a draw r = (lcg >> 16) & 7 gives sparks (r < 2) or an exhaust puff and effect 1 (r = 2); speed ≤ 40 sets animation 12 (not for the hovering karts, flag 0x400), above sets 5; the engine voice's parameter 10 is speed / 3 |
| TPW-EXE:0x00547F50 module lcg | source/OpenTPW/World/Tracks/BumpWorld.cs:29 | [BIN:TPW-EXE:0x00547F50 module lcg] s = s × 214013 + 2531011 (0x343FD, 0x269EC3), gating the water boats' spray (one in 8 every 32nd tick), the kart smoke and the horn and crash cues; the start value of the global is not traced and starts at 0 here |
| TPW-EXE:0x005480B7 boat spray | source/OpenTPW/World/Tracks/BumpController.cs:1572 | [BIN:TPW-EXE:0x005480B7 boat spray] the water branch of 0x547F50: in phase 2 on every 32nd module tick the cosmetic LCG gives (s >> 16) & 7 == 2 and 0x521E60(0x60, …) raises particle 96 (P_EFFECT_SmallSplash) at the boat model's world position (0x5480B7..0x5480FC); the water types have no crash cue (absent from 0x546C80's switch), no horn and no smoke (node +0x24 stays −1), and their templates hold one model (base 0, count 1) |
| TPW-EXE:0x00548104 boat engine voice | source/OpenTPW/World/Tracks/BumpController.cs:1579 | [BIN:TPW-EXE:0x00548104 boat engine voice] a boat holding a voice (+0x20) moves it and sets its parameter to speed / 3 every tick, as the karts do |
| TPW-EXE:0x00548104 engine voice tick | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:165 | [BIN:TPW-EXE:0x00548104 engine voice tick] while the vehicle holds a voice (+0x20) the integration moves it to the vehicle's voice place (0x51C270: (int)(x × 0.0033036), 0, (int)(y × 0.0033036)) and then sets parameter code = EventMap variable 10 (0x55A3E0) to speed / 3 (0x51BC40 -> 0x6B5B80 -> the placeholder's SetParameter 0x6BBB80); the water, kart and bumper branches do the same (0x548132/0x5481E7, 0x5484C7/0x54857C, 0x548A81/0x548B63) |
| TPW-EXE:0x0054810F engine voice place | source/OpenTPW/World/Tracks/BumpEffect.cs:77 | [BIN:TPW-EXE:0x0054810F engine voice place] FILD +0x34, FMUL [0x700F20], ftol; FILD +0x38, FMUL [0x700F20], ftol; pushed as (x, 0, y) to 0x51C270, which converts the three ints to floats |
| TPW-EXE:0x00548593 smoke follow | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:120 | [BIN:TPW-EXE:0x00548593 smoke follow] every tick the emitter (+0x2C) moves to the sparks node's world place (0x51FE30), as at its creation |
| TPW-EXE:0x00548C81 add-on hook | source/OpenTPW/World/Tracks/BumpController.cs:1147 | [BIN:TPW-EXE:0x00548C81 add-on hook] after the drawn heading (0x00548C70, the tail every vehicle family reaches) the vehicle's object +0x98 is tested: none ends the hook; without flag 0x100 a hidden vehicle (0x200) shows (0x00548E12); with it the section +0x18 must have the type id 0xDAC at +0x10 (0x00548CA5); d = x − the object's centre x when the kind word +4 is 0xC, else y − centre y; on the section's first tile (+8 = 0) a vehicle that is not hidden and within (−0x4B0, 0x4B0) takes flag 0x800000 for d < 0 (clears it otherwise) and hides (0x00548E80(v, 1)); if the instance's channel 0 does not play animation 5 (0x00473FB0), its queued clip is dropped (0x00473270), animation 5 is triggered with flags 0 (0x004732A0: it waits behind a clip that still runs) and the section takes flag 2; on any later tile a hidden vehicle shows once d > 0x4B0 with flag 0x800000 or d < −0x4B0 without it; while the section has flag 2 and channel 0 has nothing queued (+0x24 = 0xC, 0x00473FF0), animation 2 is triggered with flags 1 (the loop) and flag 2 clears (0x00548DFC) |
| TPW-EXE:0x00548CA5 | source/OpenTPW/World/Tracks/TrackCircuitWalker.cs:57 | [BIN:TPW-EXE:0x0052AC68 add-on sections] a straight with flag 0x10 builds kind 12 (0x44) or 13 (0x11) with +8 = its place in the run of add-on tiles (0 for the first, reset by any other tile), +0xC = the add-on's instance (thing +0x20) and +0x10 = its type id (0x4DD4E0 +0x10; Level.LinkAddOns links them after the walk, TrackAddOns.OpenEndsOf the open ends of 0x0052ADE3); the vehicle hook is the Space Racers Teleport only (type 0xDAC, 3500): [BIN:TPW-EXE:0x00548CA5] within ±0x4B0 of the first tile's centre a vehicle is hidden (0x548E80: flag 0x200, its instance, shadow and riders' heads) and the teleport plays animation 5, past 0x4B0 on the far side of the second tile it shows again |
| TPW-EXE:0x00548E80 vehicle hide | source/OpenTPW/World/Tracks/BumpController.cs:1187 | [BIN:TPW-EXE:0x00548E80 vehicle hide] hiding sets flag 0x200 and hides the vehicle's instance, its shadow instance (flags 0x2002000 with +0xC) and its riders' heads (0x0044B4C0 for every rider of the list +0x30); showing clears the flag, shows both instances and hangs the heads again (0x0044B410); either does nothing when the flag already says so |
| TPW-EXE:0x00549070 next object | source/OpenTPW/World/Tracks/BumpController.cs:1276 | [BIN:TPW-EXE:0x00549070 next object] each keep-in object's waypoint is its centre moved 0x87C toward the open quadrant; candidates adjacent to the current object whose waypoint is not inside a keep-out circle compete by the distance from their centre to the target |
| TPW-EXE:0x005491E0 objects adjacent | source/OpenTPW/World/Tracks/BumpController.cs:1246 | [BIN:TPW-EXE:0x005491E0 objects adjacent] the same object, two full objects whose centres are closer than the sum of their sizes, a full object and a clipped one whose quadrants face it, or two clipped objects sharing a centre |
| TPW-EXE:0x005493F0 point in object | source/OpenTPW/World/Tracks/BumpController.cs:1217 | [BIN:TPW-EXE:0x005493F0 point in object] the point's side bits (x ≤ / > the centre, y > / ≤ the centre) must all be active in the object's flags; the centre itself is inside; a circle compares the scaled distance with the radius, a box each axis with its half extent |
| TPW-EXE:0x005494D0 keep-out | source/OpenTPW/World/Tracks/BumpController.cs:1847 | [BIN:TPW-EXE:0x005494D0 keep-out] inside a keep-out circle and moving toward its centre: velocity += normal speed × (restitution + 1024) / 1024 along the radial direction, position projected to the rim; water adds the wall spin |
| TPW-EXE:0x005497B0 keep-in | source/OpenTPW/World/Tracks/BumpController.cs:1784 | [BIN:TPW-EXE:0x005497B0 keep-in] outside the current object: another object containing the point becomes current and the aim is recomputed; else the wall counter rises, the velocity is reflected (× restitution) and the position projected back; water adds spin ∓0x30 × penetration |
| TPW-EXE:0x00549B80 load vehicle | source/OpenTPW.Tests/BumpControllerTests.cs:155 | [BIN:TPW-EXE:0x00549B80 load vehicle] the load calls 0x549C60 for the riders it takes; the last seated rider with a head dummy leaves the generator reseeded with it |
| TPW-EXE:0x00549B80 load vehicle | source/OpenTPW/World/Tracks/BumpController.cs:751 | [BIN:TPW-EXE:0x00549B80 load vehicle] the first live vehicle of the controller without riders takes the pending guests, gets flags 0x84000 and the controller's laps, and is relaunched |
| TPW-EXE:0x00549B80 load vehicle | source/OpenTPW/World/Tracks/BumpController.cs:763 | [BIN:TPW-EXE:0x00549B80 load vehicle] the loading hangs the riders' heads with the beam flag (0x549C60(vehicle, 1)): each rider whose seat has a head dummy gets particle 0x13 at the vehicle's drawn place (its root matrix translation times 1024; OpenTPW uses the simulation position, PTCL-908); the creation (0x549DB0) hangs with 0, no beam; the load is shared by every vehicle family, so boats and karts beam too |
| TPW-EXE:0x00549C60 beam flag | source/OpenTPW/World/Tracks/BumpController.cs:795 | [BIN:TPW-EXE:0x00549C60 beam flag] the beam is raised only for a rider whose head dummy handle (0x44B220 on the loaded model) is not -1; OpenTPW's own |
| TPW-EXE:0x00549C60 seat heads | source/OpenTPW/World/Tracks/TrackRenderer.cs:864 | [BIN:TPW-EXE:0x00549C60 seat heads] the vehicle creation 0x00549DB0 hangs rider k of the car's rider list (k = 1, 2, ...) on the dummy with flag 0x80 and number k (0x0044B220); a rider |
| TPW-EXE:0x00549C60 seat order | source/OpenTPW/World/Tracks/TrackRenderer.cs:614 | [BIN:TPW-EXE:0x00549C60 seat order] 0x549C60 walks the joining list the vehicle holds (vehicle +0x30, the newest joiner first because the join 0x54AA80 puts a guest at the front) and numbers its nodes 1 to n (node +0xC), looks up the head dummy n of class 0x80 (0x44B220) and hangs the guest's head there (0x44B410, which marks the head record and has 0x475A10 create the head thing, drawn by the shared thing renderer, sizes under the HEADS entries); a node with no dummy keeps head node -1 and is counted all the same (controller +0x60) |
| TPW-EXE:0x00549CAF seat heads | source/OpenTPW.Tests/BumpControllerTests.cs:135 | [BIN:TPW-EXE:0x00549CAF seat heads] each rider whose seat has a head dummy goes through 0x44B410, which reseeds the world generator with it when the theme has no costume heads |
| TPW-EXE:0x00549CAF seat heads | source/OpenTPW/World/Tracks/BumpController.cs:781 | [BIN:TPW-EXE:0x00549CAF seat heads] the walk numbers the nodes 1 to n, looks up head dummy n (0x44B220) and calls 0x44B410 with the rider only when one is found; a vehicle whose mesh the host cannot read hangs none here (the seat flags are unknown) |
| TPW-EXE:0x00549DB0 create vehicle | source/OpenTPW/World/Tracks/BumpController.cs:672 | [BIN:TPW-EXE:0x00549DB0 create vehicle] needs a running count below the type's maximum and 64, and a nonzero phase; the boat starts at the station reference with the controller's laps, takes the pending guests and is launched (0x0054A040) |
| TPW-EXE:0x00549DB0 create vehicle | source/OpenTPW/World/Tracks/BumpController.cs:682 | [BIN:TPW-EXE:0x00549DB0 create vehicle] the record comes from the module's pool of 256, shared by every ride: a full pool refuses the vehicle |
| TPW-EXE:0x00549DB0 create vehicle | source/OpenTPW/World/Tracks/BumpController.cs:697 | [BIN:TPW-EXE:0x00549DB0 create vehicle] the 0xAC-byte record is zeroed (rep stosd, 0x2B dwords) and neither 0x549DB0, 0x549C60 nor the water and kart cases of 0x54A040 write the steering heading +0x50 or the drawn heading +0x54: a boat or kart starts at heading 0 (+Y) and its first steering turns it; only a bumper car takes a random heading at its first launch (RelaunchBumper) |
| TPW-EXE:0x00549DB0 create vehicle | source/OpenTPW/World/Tracks/BumpController.cs:708 | [BIN:TPW-EXE:0x00549DB0 create vehicle] a kart or bumper car plays animation 12 from its creation; the controller's first vehicle carries flag 0x400000 until it unloads |
| TPW-EXE:0x00549DB0 create vehicle | source/OpenTPW/World/Tracks/BumpWorld.cs:98 | [BIN:TPW-EXE:0x00549DB0 create vehicle] the first pool record whose flag bit 0 is clear, of 256; none: no vehicle |
| TPW-EXE:0x00549DB0 vehicle creation | source/OpenTPW/World/Level.Tracks.cs:1015 | [BIN:TPW-EXE:0x00549DB0 vehicle creation] the karts, the water rides' boats and the bumper cars are all made here, and it hangs every rider's head (0x00549C60) |
| TPW-EXE:0x00549FF5 creation heads | source/OpenTPW/World/Tracks/BumpController.cs:715 | [BIN:TPW-EXE:0x00549FF5 creation heads] the creation hangs its riders' heads before the family's launch set-up (0x0054A040) |
| TPW-EXE:0x0054A009 first-draw flag | source/OpenTPW/World/Tracks/BumpController.cs:719 | [BIN:TPW-EXE:0x0054A009 first-draw flag] the creation's common exit sets flag 0x4000000 on every vehicle it makes, whatever the family (its only caller 0x5547C0 is the generic creator); the beam is not raised here but by the draw (RaiseFirstDrawBeams) |
| TPW-EXE:0x0054A040 chase choice | source/OpenTPW/World/Tracks/BumpController.cs:997 | [BIN:TPW-EXE:0x0054A040 chase choice] only when flags 0x40004 are clear and rand & 0xF ≤ 2 and the controller has at least two cars: every other live car without flag 0x20 whose collision object is adjacent to this car's is a candidate, rand % count picks one (the list is built newest first), +0x80 = its slot, +0x8C = 0x5A, flags (flags & 0xFFEBFF85) | 0x8004 |
| TPW-EXE:0x0054A040 drop-in overlap | source/OpenTPW/World/Tracks/BumpController.cs:941 | [BIN:TPW-EXE:0x0054A040 drop-in overlap] the overlap test walks the module's whole vehicle pool (0x877B68, 0xAC-byte records, live flag 1, 0x54A0D8..0x54A18F), not only the ride's own cars; the chase candidates (0x54A495) need the same controller (+0x9C compared with +0x9C) and are the ride's own |
| TPW-EXE:0x0054A040 relaunch | source/OpenTPW/World/Tracks/BumpController.cs:871 | [BIN:TPW-EXE:0x0054A040 relaunch] water (types −5, −8, −12, −13): buoy countdown 0, flags keep only bit 0, 7 and 14, then lap mode with a new aim (0x10008); a first launch aims at controller +0xA4 and clears the accel bonus |
| TPW-EXE:0x0054A040 relaunch bumper | source/OpenTPW/World/Tracks/BumpController.cs:942 | [BIN:TPW-EXE:0x0054A040 relaunch bumper] first launch (flag 0x100000): up to 100 draws of (radius = rand % arena radius, angle = rand & 0x1FF) around the station until no other vehicle overlaps, flag 0x4000 cleared, heading +0x50 = +0x54 = rand & 0x1FF, +0xA4 = −1 (no wall-stuck retarget); the jungle bumper also gets flags 0x3000000 and a presentation object. Target: flag 8 set and rand & 0xF ≤ 3 → the buoy after the current one, else buoy number rand % 8 counted from the head; flags (flags & 0xFFFBFF89) | 0x10008 | 0x8000, countdown +0x8C = 3, flag 0x100000 cleared |
| TPW-EXE:0x0054A040 relaunch bumper | source/OpenTPW/World/Tracks/BumpController.cs:968 | [BIN:TPW-EXE:0x0054A040 relaunch bumper] the first carrying car (flags 0x404000) of a running ride that has no voice yet starts the engine |
| TPW-EXE:0x0054A040 relaunch kart | source/OpenTPW/World/Tracks/BumpController.cs:678 | [BIN:TPW-EXE:0x0054A040 relaunch kart] the original accepts BUMP 4 in phase 3 but its relaunch gives such a kart no movement flags, so it would stand on the station for ever (no shipped script creates a kart after the start) |
| TPW-EXE:0x0054A040 relaunch kart | source/OpenTPW/World/Tracks/BumpController.cs:901 | [BIN:TPW-EXE:0x0054A040 relaunch kart] the first launch of a hovering kart (types −9, −10) sets flags 0x3C00; flags &= 0xFFFBFF81 and the buoy countdown is 0; phase 1: +0x7C = the count-th buoy with flag 2, flags |= 0x10048 (retarget, grid, lap-mode bit); phase 2: flags |= 0x10008, a target outside the buoy list becomes +0xA4, +0x68 = (3 − (rand & 7)) × (accel / 9); the first-launch flag 0x100000 is cleared in every case |
| TPW-EXE:0x0054A040 water first launch | source/OpenTPW/World/Tracks/BumpController.cs:702 | [BIN:TPW-EXE:0x0054A040 water first launch] the first launch (0x54A909) starts an engine voice from the ride's EventMap slot 0, kept until the boat unloads (0x51C300 stops it silently) |
| TPW-EXE:0x0054A366 engine start | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:141 | [BIN:TPW-EXE:0x0054A366 engine start] the voice is submitted at (0, 0, 0) (0x51EEB0) and moved to the vehicle's voice place at once (0x51C270, 0x54A39A) |
| TPW-EXE:0x0054A79E kart thrust draw | source/OpenTPW/World/Tracks/BumpController.cs:902 | [BIN:TPW-EXE:0x0054A79E kart thrust draw] the draw is the world generator's (0x00516330): (3 - (draw & 7)) times accel / 9: the park's one stream, shared with the guests, the staff and the scripts |
| TPW-EXE:0x0054AA80 joining node | source/OpenTPW/World/Tracks/TrackRenderer.cs:615 | [BIN:TPW-EXE:0x0054AA80 joining node] a guest on the joining list is not drawn: the join writes the node {guest, ride, head node -1} (0x54AB11..0x54AB16) and no head hangs before the vehicle takes the list, at its creation (0x549DB0 calls 0x549C60 with the beam flag 0, 0x549FF5) or its load (0x549B80 with 1); the other callers of 0x44B410 are the coaster boarding (0x43B70D), the vehicle's show (0x54900C), the script's ADDHEAD (0x554D13, 0x557EB9) and the flyers (0x55D654). (TRACK-026 retired.) |
| TPW-EXE:0x0054AA80 peep add | source/OpenTPW/World/Tracks/BumpController.cs:583 | [BIN:TPW-EXE:0x0054AA80 peep add] needs a nonzero phase and a free peep node; the guest is put at the front of the pending list (+0xC4) and 1 is returned |
| TPW-EXE:0x0054AB40 peep out | source/OpenTPW/World/Tracks/BumpController.cs:593 | [BIN:TPW-EXE:0x0054AB40 peep out] pops the head of the leaving list (+0xC8) and returns its guest id, 0 for an empty list |
| TPW-EXE:0x0054AD90 unload vehicle | source/OpenTPW/World/Tracks/BumpController.cs:814 | [BIN:TPW-EXE:0x0054AD90 unload vehicle] with the flag set only a vehicle without riders is unloaded; without a match the routine runs again without the flag |
| TPW-EXE:0x0054AE50 retire vehicle | source/OpenTPW/World/Tracks/BumpController.cs:833 | [BIN:TPW-EXE:0x0054AE50 retire vehicle] the riders move to the leaving list (0x0054AC70), the vehicle is freed and the count falls; water rides keep their phase when it reaches 0 (karts reset to loading) |
| TPW-EXE:0x0054AE50 retire vehicle | source/OpenTPW/World/Tracks/BumpController.cs:846 | [BIN:TPW-EXE:0x0054AE50 retire vehicle] the beam-up particle 15 plays for every type, and a non-kart voice is stopped silently (0x51C300): the boat's engine voice ends without a stop sound |
| TPW-EXE:0x0054AE50 retire vehicle | source/OpenTPW/World/Tracks/BumpController.cs:852 | [BIN:TPW-EXE:0x0054AE50 retire vehicle] the beam-up particle 15 (not in state 4), then the engine voice is replaced by EventMap slot 1 |
| TPW-EXE:0x0054AE50 retire vehicle | source/OpenTPW/World/Tracks/BumpController.cs:858 | [BIN:TPW-EXE:0x0054AE50 retire vehicle] a bumper car also gets the beam-up particle, but its engine voice (the first car's) only stops: the EventMap stop sound is the kart types' case |
| TPW-EXE:0x0054B170 buoy pool | source/OpenTPW/World/Tracks/BumpController.cs:272 | [BIN:TPW-EXE:0x0054B1E0 object pool] 2048 records for every ride of the park; [BIN:TPW-EXE:0x0054B170 buoy pool] 1024 ("Out of Buoys") |
| TPW-EXE:0x0054B1E0 | source/OpenTPW/World/Tracks/BumpController.cs:329 | [EXT:track-pool-overflow-refused] a circuit that overflows the section, collision-object or buoy pool is not a ride: the walk's verdict is overridden to invalid and the geometry is dropped, so no boat runs on a partial track; the original skips sections silently when the section pool is full, crashes on a collision-object overflow (it logs "Out of Collision Objects" and writes the flags through a null pointer, [BIN:TPW-EXE:0x0054B1E0]) and drops buoys ("Out of Buoys") |
| TPW-EXE:0x0054B1E0 object allocation | source/OpenTPW/World/Tracks/BumpWorld.cs:147 | [BIN:TPW-EXE:0x0054B1E0 object allocation] the first record of the 2048 whose flag bit 0 is clear; none: "Out of Collision Objects" |
| TPW-EXE:0x0054B1E0 object pool | source/OpenTPW/World/Tracks/BumpController.cs:272 | [BIN:TPW-EXE:0x0054B1E0 object pool] 2048 records for every ride of the park; [BIN:TPW-EXE:0x0054B170 buoy pool] 1024 ("Out of Buoys") |
| TPW-EXE:0x0054B2F0 crossing | source/OpenTPW/World/Tracks/TrackSections.cs:208 | [BIN:TPW-EXE:0x0054B2F0 crossing] case 11: keep-in 0x1F with radius sqrt(s² + 0x900000), then four keep-outs (0x40) at the tile corners clipped to the tile's interior (flags & ~0x14 at (X0+0x1800, Y0), ~0x12 at (X0, Y0), ~0x0A at (X0, Y0+0x1800), ~0x0C at (X0+0x1800, Y0+0x1800)); water controllers add 0x80 to the centre object |
| TPW-EXE:0x0054B2F0 section builder | source/OpenTPW/World/Tracks/TrackSections.cs:110 | [BIN:TPW-EXE:0x0054B2F0 section builder] the section pool (1024 × 40) refuses a duplicate tile ("Duplicate track section - IGNORED!"); a section holds its kind, tile corner, add-on values and collision objects; the first two straights of the walk carry the no-buoy bit 0x10000 |
| TPW-EXE:0x0054B986 water crossing flag | source/OpenTPW/World/Tracks/TrackSections.cs:20 | [BIN:TPW-EXE:0x0054B986 water crossing flag] for the water types −5, −8, −12 and −13 the crossing's centre object gets flag 0x80 (0x54B986..0x54B99F); the vehicle pass 0x546C80 skips vehicles in such an object |
| TPW-EXE:0x0054DCF0 low-detail texture set | source/OpenTPW/World/Objects/ObjectAssets.cs:174 | [BIN:TPW-EXE:0x0054DCF0 low-detail texture set] startup calls 0x4688B0(low); low = 1 selects "stexture"/"ssharete" (0x7AF650/0x7AF720). Without dialog.tcf the operand is GraphicalOptions.TEXTUREQUALITY (0x785874, option row 1 of the table at 0x7442C0) being 0 or 1; with dialog.tcf (0x78D968) it is the saved preset flag 0x800 (the Low preset, 0x44DE20); low.sam sets TEXTUREQUALITY 1, med.sam 2 and high.sam 3 |
| TPW-EXE:0x0054DDE3 rand seed | source/OpenTPW/Client/GameFlow.cs:35 | [BIN:TPW-EXE:0x0054DDE3 rand seed] the start-up seeds the C runtime's rand() with GetTickCount, once |
| TPW-EXE:0x0054DDE3 rand seed | source/OpenTPW/World/Original/CrtProcessRandom.cs:8 | [BIN:TPW-EXE:0x0054DDE3 rand seed] the start-up calls srand (0x67B5B0) with GetTickCount (import 0x6FD1D0), once; rand is 0x67B5C0. The C runtime keeps the state per |
| TPW-EXE:0x0054E301 colour pulse | source/OpenTPW/World/Level.Simulation.cs:49 | [BIN:TPW-EXE:0x0054E301 colour pulse] the main loop's pass over the listed instances (the queue dead ends) runs once per frame, on the scene clock's gap |
| TPW-EXE:0x0054F493 world step loop | source/OpenTPW/Audio/WorldStepCadence.cs:9 | [BIN:TPW-EXE:0x0054F493 world step loop] the step time [0x878C74] is held at most 2000 ms behind the timer [0x785970] (0x54F493..0x54F4A1), each pass while the timer is past it adds 31 (0x54F4C4) and raises the step counter [0x877D34] (0x54F4D3), which 0x54F443 zeroes when the loop starts |
| TPW-EXE:0x0054F4C4 world substep | source/OpenTPW/World/Tracks/BumpController.cs:18 | [BIN:TPW-EXE:0x0054F4C4 world substep] the game loop 0x54F4BF..0x54F8DA runs fixed substeps (next += 0x1F, a backlog over 2000 ms is dropped at 0x54F493) and every substep calls the bump module tick 0x546C80 (call at 0x54F55F), 0x520130 and the RSSE tick 0x5516B0; the substep is skipped while paused. The shared-substep catch-up rules are ECON-001's |
| TPW-EXE:0x0054F4F2 world substep | source/OpenTPW/World/Level.Simulation.cs:278 | [BIN:TPW-EXE:0x0054F4F2 world substep] each 31 ms substep runs 0x520130, the bump module 0x546C80 (0x54F55F) and the RSSE tick 0x5516B0 (0x54F56B); every eighth substep (0x54F668) then calls the park turn (0x54F7BB) |
| TPW-EXE:0x0054F55F world substep | source/OpenTPW/World/Objects/ParkObjects.cs:664 | [BIN:TPW-EXE:0x0054F55F world substep] the bump module ticks once per substep before every ride's script step (the RSSE tick 0x5516B0), whichever rides exist |
| TPW-EXE:0x0054F55F world substep | source/OpenTPW/World/Tracks/BumpWorld.cs:235 | [BIN:TPW-EXE:0x0054F55F world substep] every substep calls the module tick once, before the scripts (0x5516B0), whatever rides exist |
| TPW-EXE:0x0054F56B script pass | source/OpenTPW/VM/RideScriptWorld.cs:75 | [BIN:TPW-EXE:0x0054F56B script pass] the scripts', rides' and heads' draws are the world generator's, taken in the original's order: the substep's bump module, the script pass (list head first, one slice per eight passes), the tour cars on even substeps, then on every eighth substep the thing sweep |
| TPW-EXE:0x0054F5D7 sprite pass | source/OpenTPW/World/Level.Simulation.cs:213 | [BIN:TPW-EXE:0x0054F5D7 sprite pass] bit 0 of the substep counter clear: 0x0055ABF0, the clock sample 0x00878698, then the scheduler walks the whole sprite registry (0x007B49F0) in handle order: every sprite whose due time is before the sample runs once, whoever owns it |
| TPW-EXE:0x0054F5EF tour tick | source/OpenTPW/World/Tours/TourController.cs:32 | [BIN:TPW-EXE:0x0054F5EF tour tick] call 0x0055ABF0 behind `test al, 1` on the step counter at 0x0054F5D7: only even steps, so one tick per 62 ms (the draw divides by 62 ms, 0x00700F90) |
| TPW-EXE:0x0054F5FB | source/OpenTPW.Tests/VisitorSpriteIntegrationTests.cs:251 | [BIN:TPW-EXE:0x0054F5FB] the sprite pass is inside the substep after the RSSE tick and before the world update: the swept (pooled) turn applies the pending request after it, so the run program still emits; |
| TPW-EXE:0x0054F5FB sprite pass after the RSSE tick | source/OpenTPW/World/Level.Simulation.cs:166 | [BIN:TPW-EXE:0x0054F5FB sprite pass after the RSSE tick] the sprite scheduler runs inside the substep after the ride scripts' tick (0x54F56B) and before the park turn's world update (0x54F668 -> 0x516380): the guests' bodies and balloons, the staff's sources and the portrait clones step there. The pass follows the object pass in both branches (SimulateSweptTurn has the original's whole order) |
| TPW-EXE:0x0054F668 park turn cadence | source/OpenTPW/Client/M3Gate.cs:151 | [BIN:TPW-EXE:0x0054F668 park turn cadence] the main loop 0x0054E360 adds 31 ms per substep (0x0054F4C4) and runs a park turn when the substep counter 0x00877D34 & 7 == 0, one turn per 248 ms |
| TPW-EXE:0x0054F82D crowd read | source/OpenTPW/Economy/ParkEconomy.cs:531 | [BIN:TPW-EXE:0x0054F82D crowd read] after the substep that ran the world update, when the step counter 0x00877D34 (0 when the loop starts, +1 per 31 ms substep, a park turn every 8th) has its low five bits clear, |
| TPW-EXE:0x0054F82D sound updates | source/OpenTPW/Audio/WorldStepCadence.cs:10 | [BIN:TPW-EXE:0x0054F82D sound updates] `test [0x877D34], 0x1F` gates the music parameter (code 4, 0x51E790) and the crowd update (0x51E7B0, the count within four cells capped at 100 at 0x54F89E) to the steps whose count is a multiple of 32 |
| TPW-EXE:0x0054F86B music in a lost park | source/OpenTPW/Audio/GameAudio.cs:1116 | [BIN:TPW-EXE:0x0054F86B music in a lost park] the PC main loop caps the halved count at 0x59 (0x0054F851) and replaces it by 0 when the world state +0x1DA738 is 4 (0x0054F860, 0x0054F86D) |
| TPW-EXE:0x0054F8BB crowd in a lost park | source/OpenTPW.Tests/CrowdAudioTests.cs:258 | [BIN:TPW-EXE:0x0054F8BB crowd in a lost park] world state 4 zeroes the count the update sends |
| TPW-EXE:0x0054F8BB crowd in a lost park | source/OpenTPW/Audio/GameAudio.cs:668 | [BIN:TPW-EXE:0x0054F8BB crowd in a lost park] world state 4 (a park the banks closed) sends 0 instead of the count (0x0054F8B0 compares +0x1DA738 with 4, 0x0054F8BD zeroes eax), which stops the crowd sentence |
| TPW-EXE:0x0054F8BB lost park sound | source/OpenTPW/Economy/ParkEconomy.cs:1745 | [BIN:TPW-EXE:0x0054F8BB lost park sound] the main loop's sound update sends the music parameter and the crowd count as 0 while the world state is 4 (0x0054F86D, 0x0054F8BD), which GameAudio does for a bankrupt park |
| TPW-EXE:0x0054FA08 walk update | source/OpenTPW/World/Level.Simulation.cs:234 | [BIN:TPW-EXE:0x0054FA08 walk update] the frame's walk update 0x557AB0 -> 0x557D80 moves every script's walk table entries on (1 to 2 and 3 to 4 once the end has passed) after the substeps, before the bodies are drawn; the scripts see the new states at their next substep |
| TPW-EXE:0x0054FA33 vehicle draw | source/OpenTPW/World/Level.Simulation.cs:238 | [BIN:TPW-EXE:0x0054FA33 vehicle draw] after the walk update the frame step draws every controller's vehicles (0x519060 -> 0x546280), which raises the first-draw beam of the vehicles created since the last frame |
| TPW-EXE:0x0054FAF7 static countdown | source/OpenTPW/Hud/ParkHud.Finale.cs:63 | [BIN:TPW-EXE:0x0054FAF7 static countdown] the winning camera is the seat camera (mode 4), so entering it shows the eye camera's static like a ride does |
| TPW-EXE:0x0054FAF7 static countdown | source/OpenTPW/Hud/ParkHud.LossWindow.cs:132 | [BIN:TPW-EXE:0x0054FAF7 static countdown] the loss camera is a seat camera (mode 4) too, so entering it shows the eye camera's static like a ride does |
| TPW-EXE:0x005516B0 RSSE tick | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:411 | the script speed bias is pushed to the controller as its performance on every script tick ([BIN:TPW-EXE:0x005516B0 RSSE tick] 0x00545180) |
| TPW-EXE:0x005516B0 RSSE tick | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:489 | [BIN:TPW-EXE:0x005516B0 RSSE tick] every script tick pushes the script performance (+0x30, 0..100, default 50) to the controller (0x00545180); the ride's InitSpeed bias is the same word (RIDES-033) |
| TPW-EXE:0x005516D2 pass counter | source/OpenTPW/VM/RideScriptWorld.cs:128 | [BIN:TPW-EXE:0x005516D2 pass counter] the counter 0x8791A4 is incremented before the list walk, only while the script system is on; it is zeroed when the system starts (0x551643) and when the loader starts (0x559828), and the loader's raw header read (0x5597A0) then restores the saved value |
| TPW-EXE:0x005516E1 slice cadence | source/OpenTPW/VM/RideVM.cs:280 | [BIN:TPW-EXE:0x005516E1 slice cadence] a script whose TURBO byte (+0xB8) is nonzero runs its slice in every pass, any other only when ((script id +8) xor the pass counter 0x8791A4) has its low three bits clear: one slice per eight passes, which pass by id |
| TPW-EXE:0x00551AB2 object pass | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:169 | [BIN:TPW-EXE:0x00551AB2 object pass] the pass walks the list for every node with a key (+0x10) at or above 0: type 1 and 2 move the emitter named by the handle (+0xC) to the key's node (the follow above), types 3 to 10 move a sound (0x0051C270), and KILLOBJ (0x005522C5) ends every node of its slot; the handles are the saved ones, valid because the particle block restores the emitters with their generations |
| TPW-EXE:0x00551F1E GETTIME | source/OpenTPW/VM/RideVM.cs:158 | [BIN:TPW-EXE:0x00551F1E GETTIME] the PC handler stores the clock read (0x402D70 on the app-lifetime scaled timer 0x785970, started once at 0x54DCF0, paused and resumed by 0x402ED0/0x402EA0, set only by the save writer 0x4164C0 and loader 0x415270, never reset for a new park) into its variable unchanged, and the shipped scripts only use GETTIME values as deadlines (ADD) or in a difference with a fresh read (SUB; RideClockCorpusTests), so the clock's origin cannot show there |
| TPW-EXE:0x00552CD3 TRIGWAITANIM compare | source/OpenTPW.Tests/SavedScriptGraphImportTests.cs:622 | [BIN:TPW-EXE:0x00552CD3 TRIGWAITANIM compare] the token is kept only while a restored channel shows its animation; none does here, so the compare would rewind the instruction for good: the token goes and the report says so |
| TPW-EXE:0x00552CD3 TRIGWAITANIM compare | source/OpenTPW/World/Objects/SavedScriptImport.cs:90 | [BIN:TPW-EXE:0x00552CD3 TRIGWAITANIM compare] a saved non-zero token means the instruction's channel did not show the triggered AnimID when the game was saved (a deferred clip, or a clip without a member): tp.exe goes on waiting on that channel after the load, so the token is kept. Only when the object's saved scene could not give that channel back (a gap reported for it, or no scene record or no object at all) would the compare rewind for good; the token then goes and the instruction triggers again |
| TPW-EXE:0x00552CD3 TRIGWAITANIM token | source/OpenTPW/VM/RideVM.SavedState.cs:56 | [BIN:TPW-EXE:0x00552CD3 TRIGWAITANIM token] +0xBC is the AnimID + 1 the instruction stored when it triggered; each later run compares the channel's AnimID + 1 with it (0x00552D08..0x00552D11) and clears it when they agree. The object's channels come back with |
| TPW-EXE:0x00553828 WAITABS | source/OpenTPW/VM/Handlers/Scheduling.cs:34 | [BIN:TPW-EXE:0x00553828 WAITABS] with the deadline word (+0xA0) at 0 the handler stores clock (0x402D70 → 0x4031E0) + the operand (a variable's value, or the literal sign-extended from 16 bits) as a 32-bit word, with no script-speed division (0x5538A4–0x5538CB), rewinds the program counter by 2 and yields; with a deadline set it waits while now is unsigned-below it (jb at 0x55386D), else clears the word to 0 and continues. A deadline that wraps to exactly 0 reads as not armed and arms again |
| TPW-EXE:0x0055398A RAND | source/OpenTPW/VM/RideScriptWorld.cs:109 | [BIN:TPW-EXE:0x0055398A RAND] shr eax, 1; abs (cdq xor sub); movsx ecx, di; inc ecx; idiv; abs of the remainder; an operand of −1 divides by zero (a hardware fault in the original) |
| TPW-EXE:0x0055429A NAME | source/OpenTPW.Tests/SavedRunStateTests.cs:63 | [BIN:TPW-EXE:0x0055429A NAME] +0x74 is the offset of the name in the saved string blob: "Gate" starts at byte 5 of this blob |
| TPW-EXE:0x0055429A NAME | source/OpenTPW/VM/RideVM.SavedState.cs:73 | [BIN:TPW-EXE:0x0055429A NAME] +0x74 is the offset of the name in the string blob (a script nothing has named holds -1, 0x00558C4C): the blob comes back with the record, so the name is the string at the saved offset |
| TPW-EXE:0x005542FE TOUR | source/OpenTPW/World/Tours/TourController.cs:22 | [BIN:TPW-EXE:0x005542FE TOUR] the opcode's handler: command number − 1 indexes the jump table 0x5569D0 (18 entries). |
| TPW-EXE:0x005542FE TOUR | source/OpenTPW/World/Tours/TourController.cs:274 | [BIN:TPW-EXE:0x005542FE TOUR] 1 create, 2 destroy, 3 board a rider, 4 hand out a rider, 5 cars, 8 duration, 9 condition, 10 ready, 11 depart, 12 approach mode, 14 open, 15 broken car at the station, 16 running, 17 avoidance scale, 18 bank scale |
| TPW-EXE:0x005542FE TOUR 1 | source/OpenTPW/World/Objects/OriginalObject.cs:319 | [BIN:TPW-EXE:0x005542FE TOUR 1] the node lookup 0x0044B220 (class 0x800, number 0x63), its world position 0x004386D0, each coordinate converted to an integer and multiplied by 300 |
| TPW-EXE:0x005542FE TOUR 1 | source/OpenTPW/World/Objects/OriginalObjectRuntime.Tours.cs:29 | [BIN:TPW-EXE:0x005542FE TOUR 1] creation reads the ride model's node 99 (class 0x800) for the pad, converts the placement rotation to 4096ths of a turn and allocates a controller from the module's 99 slots, which also creates the first car |
| TPW-EXE:0x00554342 TOUR 1 pad node | source/OpenTPW/World/Objects/OriginalObject.cs:321 | [BIN:TPW-EXE:0x00554342 TOUR 1 pad node] the pad node is read live (0x0044B220 then 0x004386D0), but all four tour scripts run TOUR 1 before they trigger any clip (WAITANIM 0 0 on an idle channel, then TOUR 1: TourAssetTests.TheLaunchPadIsReadBeforeAnyClipPlays), so the live node instance is still the model's rest pose, which is what this reads |
| TPW-EXE:0x00554385 TOUR 1 pad rotation | source/OpenTPW/World/Objects/OriginalObject.cs:320 | [BIN:TPW-EXE:0x00554385 TOUR 1 pad rotation] the instance angle read by TOUR 1 is the thing's word +0x10, written in degrees by the constructor from the build angle (0x004DB0CD, handed over by the placement 0x00529E10) and, for a saved ride, read back from the save's mAngle (the attraction reader 0x004DB7D0 loads mAngle straight into +0x10), so the placement rotation is the instance angle for built and imported rides alike |
| TPW-EXE:0x00554850 BUMP 8 | source/OpenTPW/World/Tracks/BumpController.cs:482 | [BIN:TPW-EXE:0x00554850 BUMP 8] a nonzero parameter breaks the ride (state 2), zero fixes it (state 0) |
| TPW-EXE:0x00554895 BUMP 9 | source/OpenTPW/World/Tracks/BumpController.cs:493 | [BIN:TPW-EXE:0x00554895 BUMP 9] a nonzero parameter marks the ride worn out (state 1), zero fixes it (state 0) |
| TPW-EXE:0x005548C3 BUMP 9 fix | source/OpenTPW/World/Tracks/BumpController.cs:495 | [BIN:TPW-EXE:0x005548C3 BUMP 9 fix] BUMP 9 with 0 calls the same fix routine as BUMP 8 with 0 (0x544E50): the state is cleared, but the emitters die only when the old state was broken |
| TPW-EXE:0x00554980 BUMP 13 | source/OpenTPW/World/Tracks/BumpController.cs:15 | [BIN:TPW-EXE:0x00554980 BUMP 13] BUMP 13 stores parameter × 30 and BUMP 14 −parameter into controller +4 through the duration setter 0x00545100; the unit 30 is the original's constant |
| TPW-EXE:0x00554980 BUMP 13 | source/OpenTPW/World/Tracks/BumpController.cs:510 | [BIN:TPW-EXE:0x00554980 BUMP 13] the duration setter 0x00545100 stores parameter × 30 in controller +4 (BUMP 14 stores −parameter) |
| TPW-EXE:0x005549ED BUMP 17 | source/OpenTPW/World/Tracks/BumpController.cs:658 | [BIN:TPW-EXE:0x005549ED BUMP 17] the parameter is compared with the sign-extended word +0xE6 and an equal value does nothing (0x554A09); otherwise the word takes it and |
| TPW-EXE:0x00554C3E ADDHEAD | source/OpenTPW/World/Guests/RideVisitorBridge.cs:112 | [BIN:TPW-EXE:0x00554C3E ADDHEAD] the handler exits when the table pointer (+0x30) is NULL (0x554C89), and DELHEAD does the same (0x554D6F), so head opcodes in child and sound scripts have no effect |
| TPW-EXE:0x00554C80 ADDHEAD | source/OpenTPW/World/Guests/SavedRideTables.cs:90 | [BIN:TPW-EXE:0x00554C80 ADDHEAD] the handler does not test that the rider has a head already, so a table may hold one rider twice |
| TPW-EXE:0x00554C80 head table | source/OpenTPW.Files/Formats/Save/SaveRsse.cs:101 | [BIN:TPW-EXE:0x00554C80 head table] ADDHEAD draws a slot of the table at script +0x30 whose count is +0x4C until it holds 0 and stores the rider there (0x00554CC8..0x00554CD3); DELHEAD zeroes the slots that hold the rider; the loader reads the eighth buffer raw into +0x30 and keeps its byte count >> 2 as +0x4C (0x00559D3D..0x00559D95) |
| TPW-EXE:0x00554CB5 ADDHEAD slot draw | source/OpenTPW/World/Guests/RideHeadSpace.cs:58 | [BIN:TPW-EXE:0x00554CB5 ADDHEAD slot draw] the PC loop draws labs(world() >>> 1) % [+0x4C] from the global world generator 0x516330 until it finds a free slot (0x554CAF–0x554CCB) |
| TPW-EXE:0x00554CB5 ADDHEAD slot draw | source/OpenTPW/World/Guests/RideHeadSpace.cs:163 | [BIN:TPW-EXE:0x00554CB5 ADDHEAD slot draw] shr eax, 1; abs; idiv [+0x4C]; the result of the signed remainder indexes the table (the remainder of a non-negative value) |
| TPW-EXE:0x00554D13 ADDHEAD hang | source/OpenTPW/World/Guests/RideHeadSpace.cs:139 | [BIN:TPW-EXE:0x00554D13 ADDHEAD hang] the head record of the slot's id exists (the table is built from them), so the routine 0x44B410 runs with the visitor |
| TPW-EXE:0x00555168 SPAWNCHILD | source/OpenTPW/World/Objects/SavedScriptGraphImport.cs:60 | [BIN:TPW-EXE:0x00555168 SPAWNCHILD] the ordinary child is created with thing id 0 and takes the parent's thing id (+0xAC, 0x0055516E) and mesh instance (+0xC8, 0x0055519A) afterwards |
| TPW-EXE:0x005551AE SPAWNSOUND | source/OpenTPW/World/Objects/SavedScriptGraphImport.cs:64 | [BIN:TPW-EXE:0x005551AE SPAWNSOUND] the sound child's id is stored only at the parent's +0x14 (0x00555255); its own parent word +0x10 stays the constructor's zero (0x005587F0 zeroes the struct, only SPAWNCHILD 0x0055516B writes +0x10), so it is found by that edge alone. It keeps the thing id 0 and mesh instance 0 it is created with (0x00558D2B..0x00558D68 set +0xC8 only for a nonzero thing id): nothing is copied from the parent |
| TPW-EXE:0x005555E9 BOUNCESETNODE | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1956 | [BIN:TPW-EXE:0x005555E9 BOUNCESETNODE] the raw operand word, unresolved, goes to script +0x70 (a variable operand stores its code word, not its value); the one shipped script that sets it (Jelly Bounce) passes the literal 3 |
| TPW-EXE:0x00555653 BOUNCESETBASE | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1960 | [BIN:TPW-EXE:0x00555653 BOUNCESETBASE] a variable operand stores its value's low 16 bits at +0x6E, any other operand its low 16 bits sign-extended (0x00555665): the shipped scripts pass the literals 6, 8, 12 and 16 |
| TPW-EXE:0x00555674 BOUNCE | source/OpenTPW.Tests/SavedRidersImportTests.cs:316 | [BIN:TPW-EXE:0x00555674 BOUNCE] the handler tests neither a duplicate rider nor that the rider is aboard, so a table with one guest in two entries is read as saved |
| TPW-EXE:0x00555674 BOUNCE | source/OpenTPW/World/Guests/RideVisitorBridge.cs:557 | [BIN:TPW-EXE:0x00555674 BOUNCE] the handler takes the first free entry without testing for the rider, so a saved table may hold one guest twice |
| TPW-EXE:0x00555674 BOUNCE | source/OpenTPW/World/Guests/SavedRideTables.cs:81 | [BIN:TPW-EXE:0x00555674 BOUNCE] the handler takes the first free entry and tests neither a duplicate rider nor that the rider is aboard, so a saved table may hold one guest in two entries |
| TPW-EXE:0x00555736 BOUNCE entry | source/OpenTPW.Tests/BounceRiderTests.cs:106 | [BIN:TPW-EXE:0x00555736 BOUNCE entry] tp.exe tests neither whether the guest is aboard nor whether it bounces already: guest 44 (aboard or not, the host only marks it boarded) fills entries 0 and 1, guest 45 entry 2 |
| TPW-EXE:0x00555736 BOUNCE entry | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1970 | [BIN:TPW-EXE:0x00555736 BOUNCE entry] the first free entry (guest word 0) of the header's bounce size takes the guest for any operand: it tests neither whether the guest is aboard nor whether it already bounces (0x00555674..0x0055577C), so a script that bounces a guest twice fills two entries (the pose phase draws one body: the later entry's pose replaces the earlier's) |
| TPW-EXE:0x00555742 BOUNCE entry | source/OpenTPW.Files/Formats/Save/SaveRsse.cs:16 | [BIN:TPW-EXE:0x00555742 BOUNCE entry] the first entry whose rider word is 0 takes the rider (0x00555736), the node (0x00555742..0x0055574F), the deadline clock + operand x 1000 (0x00555753..0x0055576C) and the start clock (0x00555770..0x00555778); script +0x6C counts the entries in use (0x0055577C, UNBOUNCE 0x005558C6 counts it down, BOUNCING 0x00555933 returns it) |
| TPW-EXE:0x00555742 BOUNCE node | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1857 | [BIN:TPW-EXE:0x00555742 BOUNCE node] BOUNCE fills the first free entry of the table and stores the rider (+0x00), the node number script +0x70 plus the entry's index (+0x04, 0x555742..0x55574F), then the deadline (+0x08) and the start (+0x0C); the node is kept in the entry from then on, so a later BOUNCESETNODE moves the nodes of the riders that bounce afterwards only |
| TPW-EXE:0x00555753 BOUNCE deadline | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1967 | [BIN:TPW-EXE:0x00555753 BOUNCE deadline] the deadline is the clock plus the second operand x 1000 ms (a wrapping 32-bit product), whatever its value: a duration of 0 is a deadline that has already passed. The four shipped scripts pass VAR_DURATION, which ride init sets above 0 (WalkNodeCorpusTests) |
| TPW-EXE:0x00555780 BOUNCE result | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1969 | [BIN:TPW-EXE:0x00555780 BOUNCE result] the flag word takes 1 when an entry was free and 0 with a full table |
| TPW-EXE:0x005558B7 FORCEUNBOUNCE window | source/OpenTPW/World/Guests/RideVisitorBridge.cs:2052 | [BIN:TPW-EXE:0x005558B7 FORCEUNBOUNCE window] FORCEUNBOUNCE (0x00555842) drops only the deadline test of UNBOUNCE (0x005557A3, deadline below the clock, signed, at 0x00555811): the 200 ms window of each second since the bounce (the remainder of elapsed / 1000 divided by 200 is 0) still decides |
| TPW-EXE:0x00555933 BOUNCING | source/OpenTPW/World/Guests/SavedRideTables.cs:86 | [BIN:TPW-EXE:0x00555933 BOUNCING] the opcode returns the counter +0x6C that BOUNCE counts up (0x0055577C) and UNBOUNCE down (0x005558C6), not the entries in use |
| TPW-EXE:0x00555963 WALKON operands | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1906 | [BIN:TPW-EXE:0x00555963 WALKON operands] seven values, each a signed word or a variable's value: the rider, the walk-on's first node (u1), its second node (u2), the nodes WALKOFF walks between (u3, u4), the walk action and a last word the handler stores and nothing reads here (0x00556F40: u1 and u2 at +0x00 and +0x02, u3 and u4 at +0x04 and +0x06, the rider at +0x10, the action at +0x16, the last word at +0x1A) |
| TPW-EXE:0x005560CB FINDSCRIPTRAND | source/OpenTPW/VM/RideScriptWorld.cs:288 | [BIN:TPW-EXE:0x005560CB FINDSCRIPTRAND] a draw only when a script matches: the draw shifted right by one, as an absolute value, modulo the match count, plus one (the 1-based index into the matches) |
| TPW-EXE:0x005560E2 FINDSCRIPTRAND walk | source/OpenTPW/VM/RideScriptWorld.cs:291 | [BIN:TPW-EXE:0x005560E2 FINDSCRIPTRAND walk] the match count is taken over the script list from its head (0x8791B0, next pointer +0), so the chosen match is the n-th from the head: the highest id first in a park's list, the saved order's reverse in a loaded save's |
| TPW-EXE:0x005567D8 civil time opcodes | source/OpenTPW.Tests/RideCivilTimeRuntimeTests.cs:156 | [BIN:TPW-EXE:0x005567D8 civil time opcodes] opcodes 97-102 all read localtime: MIN is tm_min, SEC is tm_sec. |
| TPW-EXE:0x005567D8 civil time opcodes | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:967 | [BIN:TPW-EXE:0x005567D8 civil time opcodes] opcodes 97-102 (YEAR, MONTH, DAY, HOUR, MIN, SEC; handlers 0x5565B2..0x55674E) each call time (0x67D3F0) and localtime (0x67D8E0) and store tm_year (raw), tm_mon + 1, tm_mday, tm_hour, tm_min or tm_sec in the result register (+0x48), written to the operand only when it is a variable; the branches test that register, so a literal operand sets only the flags |
| TPW-EXE:0x00556B90 node orientation | source/OpenTPW/World/Guests/BounceRiders.cs:205 | [BIN:TPW-EXE:0x00556B90 node orientation] the node's third matrix row (+0x20..+0x28, the engine's second row after the axes swap), negated while the node's state has bit 0x10 (0x556C61, the toggled bit that hides its mesh), normalised and scaled by 1024 (0x556C98..0x556D10), whose x and z give a body on board its heading |
| TPW-EXE:0x00556B90 orientation row | source/OpenTPW/World/Guests/WalkerBodies.cs:106 | [BIN:TPW-EXE:0x00556B90 orientation row] negation of the three words when [node] & 0x10 (0x556C61..0x556C7D), the length sqrt(xx + yy + zz) (the sums in the order xy.. of 0x556CA0..0x556CCA), each word divided by it (0x556CD6..0x556CE2) and multiplied by 1024.0 (0x700FDC, 0x556D00..0x556D10), stored as singles; 0x557F4A takes the arc tangent of its z over its x (0x557F4E: fpatan) |
| TPW-EXE:0x00556C61 node orientation | source/OpenTPW.Tests/WalkerBodyTests.cs:38 | [BIN:TPW-EXE:0x00556C61 node orientation] the third row (the engine's M21, M23, M22) is negated when the node's state has bit 0x10, normalised and scaled by 1024; the heading is the arc tangent of its z over its x |
| TPW-EXE:0x00556F40 WALKON | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:121 | [BIN:TPW-EXE:0x00556F40 WALKON] the walk-on's nodes are looked up in the ride model the same way (the first node of class 0x800, the second of class 0x80 for the head action 4, else 0x800), for every object that walks riders |
| TPW-EXE:0x00556F40 WALKON heading | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1920 | [BIN:TPW-EXE:0x00556F40 WALKON heading] the entry's heading word (+0x14) is the truncated angle atan2(z2 - z1, x2 - x1) of the two nodes, in radians, with its sign kept and its magnitude masked to three bits |
| TPW-EXE:0x00556F40 WALKON heading | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:177 | [BIN:TPW-EXE:0x00556F40 WALKON heading] the angle of the nodes' world offset (the original's x and z, which are the engine's X and Y), through the sprite heading rule |
| TPW-EXE:0x00556F40 WALKON slot | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1907 | [BIN:TPW-EXE:0x00556F40 WALKON slot] the entry takes the first free table entry (state 0) of the header walk size; with none free the handler logs and stores nothing, so the rider is never handed out by WALKGET. Its state becomes 1 with the start now and the end now + ftol(the distance between u1 (class 0x800) and u2 (class 0x80 for the head action 4, else 0x800)) x 100 ms (100 ms for 0); state 2 follows at the frame update 0x00557D80 (WalkUpdate, the level's pose phase) once the end has passed, WALKOFF's state 3 overrides either |
| TPW-EXE:0x00556F40 WALKON states | source/OpenTPW/World/Guests/SavedRideTables.cs:65 | [BIN:TPW-EXE:0x00556F40 WALKON states] a used entry is in state 1 (walking on), 2 (on board), 3 (walking off) or 4 (ready for WALKGET): the writers store nothing else (0x005570EB, the update 0x00557D80, WALKOFF, WALKGET) |
| TPW-EXE:0x00556F40 walk table | source/OpenTPW/World/Guests/RideVisitorBridge.cs:35 | [BIN:TPW-EXE:0x00556F40 walk table] the script's walk table: header walk size entries of 0x20 bytes at +0x2C (count +0x7C); WALKON takes the first free entry (state 0), WALKOFF finds its rider's entry, WALKGET hands out the first entry in state 4 and frees it. A null slot is a free entry |
| TPW-EXE:0x0055706D WALKON entry | source/OpenTPW.Files/Formats/Save/SaveRsse.cs:23 | [BIN:TPW-EXE:0x0055706D WALKON entry] the entry is free while its state word (+0x18) is 0 (0x00557047); WALKON stores the nodes at +0/+2/+4/+6, the rider at +0x10, the action at +0x16, the start (0x005570A5) and end (0x005570AF), the last operand at +0x1A, the heading at +0x14 (0x005570FD) and state 1 (0x005570EB); WALKGET frees an entry in state 4 by zeroing the state and the rider (0x0055713F, 0x00557149) |
| TPW-EXE:0x005570C2 walk heading | source/OpenTPW/World/Guests/WalkerBodies.cs:40 | [BIN:TPW-EXE:0x005570C2 walk heading] fpatan of (z2 - z1, x2 - x1), fsub 1.570795 (0x700FE8), fsubr 6.28318 (0x700FF0), fmul -1.2732406 (0x700FF8, -4/pi), fsubr 0.5 (0x701000), |
| TPW-EXE:0x00557110 WALKGET | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1818 | [BIN:TPW-EXE:0x00557110 WALKGET] scans the table for state 4 only and returns that entry's rider (0 for none), freeing the entry |
| TPW-EXE:0x00557110 WALKGET | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1951 | [BIN:TPW-EXE:0x00557110 WALKGET] the first entry of the table in state 4 (the frame update moves state 3 to 4 once the end has passed) gives its rider to the operand and frees the entry; none: 0 |
| TPW-EXE:0x005571A0 WALKOFF | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1696 | ([BIN:TPW-EXE:0x005571A0 WALKOFF]); <see cref="WalkOffMilliseconds"/> when the slot or a node is not known. |
| TPW-EXE:0x005571A0 WALKOFF | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1927 | [BIN:TPW-EXE:0x005571A0 WALKOFF] finds the first entry in use whose rider is the operand (none: the handler logs and does nothing), and whatever its state, sets state 3, the start now and the end now + ftol(the distance between u3 (class 0x80 for the head action 4, else 0x800) and u4 (class 0x800)) x 100 ms (100 ms for 0); the head action's head comes down (0x0044B4C0) and the action 2 effect starts at u3 |
| TPW-EXE:0x005571A0 WALKOFF | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:120 | [BIN:TPW-EXE:0x005571A0 WALKOFF] the walk takes ftol(the distance between the walker's two slot nodes) x 100 ms (100 ms for 0): the slot's start node (u3, class 0x800, or 0x80 for the head action 4) and end node (u4, class 0x800) are looked up in the ride model (0x0044B220: the first dummy whose class mask matches and whose number equals) and measured at the time of the WALKOFF (0x00556B90 reads the live node); the Star and Tweety Tours slots span 10 model units (1000 ms) |
| TPW-EXE:0x005571E4 WALKOFF head action | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1933 | [BIN:TPW-EXE:0x005571E4 WALKOFF head action] a head hangs only once the walk-on is over (state 2, 0x00557343), so only then it comes down (0x0044B4C0); an entry still in state 1 never got its head |
| TPW-EXE:0x00557B26 bounce lookup | source/OpenTPW/World/Guests/BounceRiders.cs:294 | [BIN:TPW-EXE:0x00557B26 bounce lookup] the node of a slot is the first dummy of class 0x800 with its number (0x0044B220); a slot whose node the model lacks is skipped |
| TPW-EXE:0x00557BE1 broken ride | source/OpenTPW/World/Guests/BounceRiders.cs:81 | [BIN:TPW-EXE:0x00557BE1 broken ride] with script variable 7 (VAR_BROKEN, through the variable buffer +0x1C) not 0 the sprite routine gets template 3, the node's position and the visitor modulo 7 (0x00557BE9..0x00557BFE) |
| TPW-EXE:0x00557C03 bounce phase | source/OpenTPW/World/Guests/BounceRiders.cs:57 | [BIN:TPW-EXE:0x00557C03 bounce phase] the elapsed time is scaled by 0.8 + 0.005 x the speed word (constants 0x00701008, 0x00701010), truncated, taken modulo 1000 and turned into radians by 0.003125 (0x00701018); the table index is that angle x the index scale, rounded to nearest and masked |
| TPW-EXE:0x00557C75 bounce height | source/OpenTPW/World/Guests/BounceRiders.cs:69 | [BIN:TPW-EXE:0x00557C75 bounce height] ((visitor mod 7) - -12.0) (0x0070101C) x table[index] + the ride's height (the matrix word +0x34 of its thing, 0x00557D60) + the base word (script +0x6E); when that is below the node's height (matrix word +0x34 of the node, 0x00435710) the node's height is drawn |
| TPW-EXE:0x00557CF1 bounce heading | source/OpenTPW/World/Guests/BounceRiders.cs:77 | [BIN:TPW-EXE:0x00557CF1 bounce heading] the elapsed time x 0x10624DD3 >> 37, which is elapsed / 500, goes to the sprite routine as the heading (+0xC0 of the sprite, read with & 7 by 0x00542010) |
| TPW-EXE:0x00557CFC bounce template | source/OpenTPW/World/Guests/GuestRenderer.cs:320 | [BIN:TPW-EXE:0x00557CFC bounce template] the bouncing body is the run animation (template 0x0074DBC0, slot 2), the broken ride's the standing one (template 0x0074DC20, slot 0); the heading byte is the pose's own |
| TPW-EXE:0x00557D80 WALKON walk state 1 -> 2 | source/OpenTPW/World/Guests/RideHeadSpace.cs:148 | [BIN:TPW-EXE:0x00557D80 WALKON walk state 1 -> 2] when the walk-on is over and the action is 4, the head record of head id u2 (lookup 0x0044B220 with class 0x80) gets the visitor's head (0x0044B410); WALKOFF takes it down again (0x0044B4C0, 0x005571A0) |
| TPW-EXE:0x00557D80 walk update drawing | source/OpenTPW/World/Guests/BounceRiders.cs:191 | [BIN:TPW-EXE:0x00557D80 walk update drawing] each entry draws its body through 0x005580A0 between the nodes of its state, by the share of the state's time spent, in template 1 (walking) while it walks on or off or waits at the fourth node; on board the head actions draw none and the actions 3, 5 and 6 draw templates 3, 8 and 5 at the second node |
| TPW-EXE:0x00557DAB walk share | source/OpenTPW/World/Guests/WalkerBodies.cs:49 | [BIN:TPW-EXE:0x00557DAB walk share] uint((now x 1000 + began x -1000) / (end - began)); 0x0055810B clamps a share above 1000 (signed compare) to 1000 before it moves the body |
| TPW-EXE:0x00557E56 walk-on end | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1764 | [BIN:TPW-EXE:0x00557E56 walk-on end] state 1 becomes 2 when the share (now x 1000 - began x 1000) / (end - began) reaches 1000 (unsigned, 0x557E56), that is when the clock reaches the end, and the entry's start becomes the clock (0x557E70..0x557E79) |
| TPW-EXE:0x00557E75 WALKON head | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1780 | [BIN:TPW-EXE:0x00557E75 WALKON head] the walk-on that ends with the head action 4 hangs the head after the head-id lookup alone (0x00557E75..0x00557EB9 test nothing about the ride's riders) |
| TPW-EXE:0x00557EB9 WALKON hang | source/OpenTPW/World/Guests/RideHeadSpace.cs:154 | [BIN:TPW-EXE:0x00557EB9 WALKON hang] the lookup of the head id succeeded: the routine 0x44B410 runs with the visitor |
| TPW-EXE:0x00557EC1 WALKON end, action 2 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1755 | Called by a WALKON with walk action 2 when its walk-on ends, with the entry's second node (u2, class 0x800): the original creates effect 0x13 there ([BIN:TPW-EXE:0x00557EC1 WALKON end, action 2]), as WALKOFF does at its start node. |
| TPW-EXE:0x00557F4E body on board heading | source/OpenTPW/World/Guests/BounceRiders.cs:230 | [BIN:TPW-EXE:0x00557F4E body on board heading] an action other than 1, 2 and 4 takes its heading from the second node's orientation every frame |
| TPW-EXE:0x00557F74 heading word | source/OpenTPW/World/Guests/WalkerBodies.cs:35 | [BIN:TPW-EXE:0x00557F74 heading word] ((|value| & 7) with the sign put back; also 0x005570E1), written at +0x14 of the entry |
| TPW-EXE:0x00558010 walk-off end | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1765 | [BIN:TPW-EXE:0x00558010 walk-off end] state 3 becomes 4 on the same test (0x558010..0x558018); the script's WALKGET sees state 4 only, so a walk-off that ends inside a substep is handed out at the next substep's pass |
| TPW-EXE:0x005580A0 body position | source/OpenTPW/World/Guests/BounceRiders.cs:192 | [BIN:TPW-EXE:0x005580A0 body position] each node's position is read (0x00556B90: the class mask and number's first dummy, its matrix words +0x30..+0x38), and with bit 0 of the entry's last word (+0x1A, set by every shipped script) the height is taken from the nodes, else from the terrain (0x004511A0) |
| TPW-EXE:0x005580FF body position | source/OpenTPW/World/Guests/WalkerBodies.cs:62 | [BIN:TPW-EXE:0x005580FF body position] the nodes' positions by the elapsed share, a float expression per axis |
| TPW-EXE:0x00558131 body height | source/OpenTPW.Tests/WalkerBodyTests.cs:161 | [BIN:TPW-EXE:0x00558131 body height] a walk whose last word has bit 0 clear stands on the terrain (0x4511A0): the height comes from the terrain callback at the interpolated x and z, whatever the nodes' heights; with the bit set the nodes' heights stand |
| TPW-EXE:0x00558131 body height | source/OpenTPW/World/Guests/BounceRiders.cs:269 | [BIN:TPW-EXE:0x00558131 body height] a walk whose last word (+0x1A) has bit 0 clear stands at the ride model's sampled height under the interpolated x and z, not the nodes' (0x4511A0 after the mode 0x450EA0 chooses from the model: the landscape 0x4527F0 or the surface faces, plus +0xA0 in every mode; Level.WalkerGroundOf); a point no face covers is the sampler's -100 plus +0xA0 |
| TPW-EXE:0x005581D4 floating body | source/OpenTPW/World/Guests/WalkerBodies.cs:75 | [BIN:TPW-EXE:0x005581D4 floating body] A = 0.4 + 0.1 (id & 7), B = 0.4 + 0.25 (id & 3), C = 0.5 + 0.01 bias, a and b the words x 0.001, env = sin(pi (clock - start) / duration) from the sine table, f = A clock C; height += (12 + 3 sin(0.004 f)) env b, x += sin(f / 300) B env 3 a, z += sin(B clock C / 300 + pi / 2) A env 3 a (the sine table of 0x004708D0, indices rounded and masked) |
| TPW-EXE:0x005583B0 float heading | source/OpenTPW/World/Guests/WalkerBodies.cs:95 | [BIN:TPW-EXE:0x005583B0 float heading] (short)(clock / ftol((0.4 + 0.25 (id & 3)) x 300)) + the entry's heading, sign kept and magnitude masked to three bits, stored at +0x14 on every drawn frame |
| TPW-EXE:0x00558401 body on board | source/OpenTPW/World/Guests/WalkerBodies.cs:121 | [BIN:TPW-EXE:0x00558401 body on board] action 3 draws template 3, action 5 template 8, action 6 template 5; every other action draws nothing |
| TPW-EXE:0x00558448 hidden body | source/OpenTPW/World/Guests/WalkerBodies.cs:117 | [BIN:TPW-EXE:0x00558448 hidden body] the actions 4, 1 and 2 call the hide routine 0x004F9ED0 instead of a body |
| TPW-EXE:0x00558C0D script id | source/OpenTPW/VM/RideScriptWorld.cs:129 | [BIN:TPW-EXE:0x00558C0D script id] a script's id (+8) is the next-id word 0x8791A8 (1 when the system starts, 0x559817) which then rises by one (0x558C1C): ids are never reused and follow the order scripts are created in |
| TPW-EXE:0x00558C45 script creation | source/OpenTPW/World/Guests/RideVisitorBridge.cs:39 | [BIN:TPW-EXE:0x00558C45 script creation] the base of the node numbers BOUNCE entries take (script +0x70) starts at 1; the base height (+0x6E, a signed word) is not set there, so it starts at the block's 0 |
| TPW-EXE:0x00558C71 script attach | source/OpenTPW/World/Tracks/BumpController.cs:141 | [BIN:TPW-EXE:0x00558C71 script attach] the word +0xE6 starts at −1 (or ecx, -1 at 0x558C22) when the ride's script is attached, and the savegame load's script restore 0x5597A0 (from 0x415270) sets it to 0xFFFF again (0x559F29) |
| TPW-EXE:0x00558D2B script init | source/OpenTPW.Tests/RideHeadSpaceTests.cs:147 | [BIN:TPW-EXE:0x00558D2B script init] SPAWNCHILD and SPAWNSOUND create their script with thing id 0, which skips the head table; ADDHEAD and DELHEAD exit on the NULL table. |
| TPW-EXE:0x00558D2B script init | source/OpenTPW/World/Guests/RideHeadSpace.cs:13 | [BIN:TPW-EXE:0x00558D2B script init] only the root script gets a table; a child or sound script is created with thing id 0, which skips the lookup and the allocation, so its ADDHEAD and DELHEAD do nothing |
| TPW-EXE:0x00558D2B script init | source/OpenTPW/World/Guests/RideVisitorBridge.cs:108 | [BIN:TPW-EXE:0x00558D2B script init] only the root script gets a table: the init stores the thing id (+0xAC) and, when it is 0, skips the head-id lookup and the table allocation (0x558D2B–0x558E0B), and SPAWNCHILD (0x555081) and SPAWNSOUND (0x5551AB) create their script with thing id 0 and copy the parent's thing id only afterwards (0x555168–0x55519A) |
| TPW-EXE:0x005597A0 RSSE loader | source/OpenTPW/World/Guests/RideVisitorBridge.cs:876 | [BIN:TPW-EXE:0x005597A0 RSSE loader] the tables are read as saved and nothing rebuilds them from the guests: a rider is in the ride's tables, its heap (the stack buffer's tail), its limbo table, a variable or nowhere the script can name |
| TPW-EXE:0x005597A0 RSSE loader | source/OpenTPW/World/Guests/SavedRideTables.cs:8 | [BIN:TPW-EXE:0x005597A0 RSSE loader] the walk (+0x2C, header count +0x7C, 32 bytes each), bounce (+0x28, +0x64, 16 bytes each), head (+0x30, +0x4C words) and limbo (+0x24, +0x58, 8 bytes each) buffers are read raw over fresh allocations whose sizes come from the saved words, and nothing relinks or clears an entry |
| TPW-EXE:0x005597A0 head table load | source/OpenTPW/World/Guests/RideHeadSpace.cs:176 | [BIN:TPW-EXE:0x005597A0 head table load] the slots are the saved words; the heads themselves are sprite scripts of the Scripts block (0x00475A10 made them, 0x0044B410 stored their handle in the model's lookup record), so a loaded rider keeps its slot and its head comes from that block (SAVE-013) |
| TPW-EXE:0x005597A0 object list load | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:168 | [BIN:TPW-EXE:0x005597A0 object list load] each 0x1C-byte node is read raw (the two list links excepted) and pushed on the head of the script's list (+0xB0), so the loaded list runs from the oldest saved node to the newest, the order ADDOBJ's pushes make again here |
| TPW-EXE:0x0055A0B0 script variable write | source/OpenTPW/World/Objects/ArrivalVehicles.cs:54 | [BIN:TPW-EXE:0x0055A0B0 script variable write] an index outside the script's variable count (+0x8C) logs and writes nothing |
| TPW-EXE:0x0055A390 script variable read | source/OpenTPW/World/Objects/ArrivalVehicles.cs:50 | [BIN:TPW-EXE:0x0055A390 script variable read] an index outside the script's variable count (+0x8C) logs and reads 0 |
| TPW-EXE:0x0055A3E0 sound variable | source/OpenTPW/World/Objects/OriginalObjectRuntime.BumpEffects.cs:66 | [BIN:TPW-EXE:0x0055A3E0 sound variable] the child script of the ride's script (+0x14) is found and variable index i is read from its array (+0x1C) when 0 ≤ i < the count (+0x8C), else 0 with a log line |
| TPW-EXE:0x0055A5B0 module init | source/OpenTPW/World/Tours/TourWorld.cs:7 | [BIN:TPW-EXE:0x0055A5B0 module init] the table of 99 controller pointers at 0x8791F8 (slot 0 unused), a 4096-entry sine table at 0x8791C8 and the four bounds at 0x7660B8..0x7660C4 |
| TPW-EXE:0x0055A5B0 sine table | source/OpenTPW/World/Tours/TourWorld.cs:45 | [BIN:TPW-EXE:0x0055A5B0 sine table] entry k is the truncated 0.5 − (−1024 × sin(k × 2π / 4096)), i.e. 1024 × sin + 0.5 towards zero |
| TPW-EXE:0x0055A620 controller creation | source/OpenTPW/World/Tours/TourController.cs:69 | [BIN:TPW-EXE:0x0055A620 controller creation] wanted = requested = 1, duration 300, wait 300, avoidance and bank scales 0x400, speed factor 5, open, nobody aboard; the heading word is 0x400 − the placement angle; the approach radius 2500 with the operand set, 5000 without |
| TPW-EXE:0x0055A720 car creation | source/OpenTPW/World/Tours/TourCar.cs:7 | [BIN:TPW-EXE:0x0055A720 car creation] the record's dword fields: +4 x, +8 height, +0xC z, +0x10 heading, +0x14 pitch, +0x18 roll, +0x4C/+0x50/+0x54 target, +0x58/+0x5C/+0x60 previous target, +0x70 turn rate, +0x74 vertical velocity, +0x78 speed, +0x7C thrust, +0x80 state, +0x84 timer, +0x88 patrol corner, +0x8C rider count, +0x90.. riders, +0xB4 leaving flag, +0xB8 broken flag, +0xBC approach heading, +0xD8 random, +0xDC head-node count |
| TPW-EXE:0x0055A720 car creation | source/OpenTPW/World/Tours/TourController.cs:568 | [BIN:TPW-EXE:0x0055A720 car creation] state 4, target height 14000, thrust = |draw| % 100 + 300; the car appears outside the flight area (an edge chosen by two draws, 45000 beyond the bound) at height 14000; the first car of a ride stands at the station facing its heading with the ready flag set |
| TPW-EXE:0x0055A720 car creation | source/OpenTPW/World/Tours/TourController.cs:576 | [BIN:TPW-EXE:0x0055A720 car creation] the slot's stale words stay: the heading (+0x10, only the ride's first car takes the station's), the patrol corner (+0x88), the seat ids (+0x90..) and the approach heading (+0xBC) are not written here, so a new car in a reused slot starts from the last car's values. They are saved, hashed and restored for free slots too |
| TPW-EXE:0x0055A8D9 car creation | source/OpenTPW/World/Tours/TourController.cs:585 | [BIN:TPW-EXE:0x0055A8D9 car creation] the last-trigger triple is set to −1, so the creation's animation 0 always triggers |
| TPW-EXE:0x0055A944 engine start | source/OpenTPW/World/Tours/TourController.cs:608 | [BIN:TPW-EXE:0x0055A944 engine start] the car's engine voice: EventMap variable 0 submitted to the level cat_rides at (x / 300, height / 300, z / 300) (0x51EEB0), its handle kept in +0xE0 |
| TPW-EXE:0x0055AA80 car animation | source/OpenTPW/World/Tours/TourController.cs:475 | [BIN:TPW-EXE:0x0055AA80 car animation] (animation, channel, loops) is compared with the car's last trigger (+0xCC/+0xD0/+0xD4, all −1 after creation) and only a change triggers the mesh clip through 0x004732A0(instance, animation, channel, loops, 1.0, 0) and logs "FLY: Failed to trigger a flying car anim" on failure; every call site passes channel 0 |
| TPW-EXE:0x0055AA80 car animation | source/OpenTPW/World/Tours/TourRenderer.cs:10 | [BIN:TPW-EXE:0x0055AA80 car animation] a changed (animation, channel, loops) triggers the car instance's clip through 0x004732A0(instance, animation, 0, loops, 1.0, 0); the instance is the ride's supplemental mesh 0 created by 0x00463060 (0x0055AA07), whose clips are the mesh's own letter members (the loader 0x461F10) |
| TPW-EXE:0x0055ABF0 avoidance | source/OpenTPW/World/Tours/TourController.cs:980 | [BIN:TPW-EXE:0x0055ABF0 avoidance] within 15000 × the scale on the ground and 3200 × the scale in height the slower car loses a sixteenth of its speed and the lower one climbs; within 3000 × the scale in all three axes the cars are pushed 500 apart in height and roll away from each other |
| TPW-EXE:0x0055ABF0 motion | source/OpenTPW/World/Tours/TourController.cs:943 | [BIN:TPW-EXE:0x0055ABF0 motion] speed decays by 225/1024 (a docked car 125/1024 per tick) and gains (factor × thrust / 10 + thrust) / 10; the position advances by speed × (cos, sin) of the heading; the heading turns by a tenth of a smoothed error to the target bearing; the height follows the target through a damped vertical velocity; the roll follows the turn |
| TPW-EXE:0x0055ABF0 state 1 | source/OpenTPW/World/Tours/TourController.cs:717 | [BIN:TPW-EXE:0x0055ABF0 state 1] a ready flag of 0 and no breakdown send the car: state 2, thrust |draw| % 100 + 300, timer = the duration, target = the station + 20000 along the car's heading (the station's when TOUR 12 is set), height = max(14000, max(station height, ground at the target) + 5000) |
| TPW-EXE:0x0055ABF0 tour tick | source/OpenTPW/World/Tours/TourController.cs:21 | [BIN:TPW-EXE:0x0055ABF0 tour tick] the per-tick state machine over the controllers and their cars, called from 0x0054F5EF only on even step counts (0x0054F5D7 tests the low bit of the step counter [0x00877D34], which 0x0054F4D3 raises once per 31 ms step of 0x0054E360): one tick per 62 ms. The draw interpolation divides by the same 62 ms (the constant at 0x00700F90 is 1/62). |
| TPW-EXE:0x0055ACCE engine parameter | source/OpenTPW/World/Tours/TourController.cs:493 | [BIN:TPW-EXE:0x0055ACCE engine parameter] after each animation call the state code reads EventMap variable 10 (0x55A3E0) and, while the car holds a voice (+0xE0), sets it through 0x51BC40: 80 docked (0x55B09F) and landed (0x55BBF5), 15 taking off (0x55B65B), 60 broken or 30 for the cruising states and the descent (0x55ACE4/0x55AD11 and the matching pairs) |
| TPW-EXE:0x0055C1B5 engine move | source/OpenTPW/World/Tours/TourController.cs:561 | [BIN:TPW-EXE:0x0055C1B5 engine move] at the end of every car's tick a held voice (+0xE0) moves to (x / 300, height / 300, z / 300) (0x51C270); a removed car's voice is gone |
| TPW-EXE:0x0055C1C7 tour voice place | source/OpenTPW/World/Objects/OriginalObjectRuntime.TourEffects.cs:15 | [BIN:TPW-EXE:0x0055C1C7 tour voice place] x, height and z are divided by 300 (multiply by 0x1B4E81B5, sar 5, rounded toward zero) before 0x51C270 and 0x51BFC0 |
| TPW-EXE:0x0055C270 patrol corner | source/OpenTPW/World/Tours/TourController.cs:842 | [BIN:TPW-EXE:0x0055C270 patrol corner] the previous target is kept, the height is max(14000, station height + 5000), the corner index rises (mod 4): (+,+), (+,−), (−,−), (−,+) on the station's two ground axes |
| TPW-EXE:0x0055C350 next target | source/OpenTPW/World/Tours/TourController.cs:872 | [BIN:TPW-EXE:0x0055C350 next target] the step continues the direction from the previous target to the target (along the longer axis); three draws in four it goes straight on when the ground ahead is below the car's height + 5000, else it tries the two sides, straight on and back, raising the height bar by 5000 per round; the new target snaps to the lattice centre (10000 into the cell); its height is max(12000, higher ground of the car and the target + 5000) |
| TPW-EXE:0x0055CC00 clearance | source/OpenTPW/World/Tours/TourWorld.cs:99 | [BIN:TPW-EXE:0x0055CC00 clearance] 100000 outside the margin; 30000 when the horizontal distance (taken in 32nds, truncated, × 32) to any controller's station is under 10000; else the ground |
| TPW-EXE:0x0055CC00 ground probe | source/OpenTPW/World/Tours/TourWorld.cs:79 | [BIN:TPW-EXE:0x0055CC00 ground probe] inside the bounds: cell = x / 3000, z / 3000, clamped to 0..map−1, height = ftol(0x00452AE0(cell)) × 300 |
| TPW-EXE:0x0055CDA0 remove car | source/OpenTPW/World/Tours/TourController.cs:832 | [BIN:TPW-EXE:0x0055CDA0 remove car] the car's emitter (+0xC4) is destroyed (0x51FEB0), its mesh instance freed and its engine voice stopped (0x51C2C0) |
| TPW-EXE:0x0055CE60 car draw | source/OpenTPW/World/Tours/TourController.cs:501 | [BIN:TPW-EXE:0x0055CE60 car draw] for a live car holding an emitter (+0xC4) the draw finds the node class 0x100 number 1 (0x44B220) and moves the emitter to its world place × 1024 (0x51FE30) |
| TPW-EXE:0x0055CE60 car draw | source/OpenTPW/World/Tours/TourRenderer.cs:176 | [BIN:TPW-EXE:0x0055CE60 car draw] a car holding an emitter moves it to its node class 0x100 number 1 every draw |
| TPW-EXE:0x0055CE60 car pose | source/OpenTPW/World/Tours/TourRenderer.cs:11 | [BIN:TPW-EXE:0x0055CE60 car pose] the pose angles go through the engine's rotation builder 0x0046F6F0, which reads its sines from a 4096-entry table (OriginalSineTable, TourPose.Rotation) |
| TPW-EXE:0x0055CE60 no car shadow | source/OpenTPW/World/Tours/TourRenderer.cs:12 | [BIN:TPW-EXE:0x0055CE60 no car shadow] no shadow is drawn under the cars: the original's car draw 0x0055CE60 places only the instance and its emitter (it calls the node lookup, the matrix builder and the emitter move 0x0051FE30), the MESHSHADOW option's flag (bit 0x200 of 0x0079D86C, set at 0x0044DA8A) has no reader (none of the 26 instruction references to that word tests bit 0x200), the car instance is created with the generic flags 0x101 (0x00463060, a dynamic vertex buffer), its vertex writer 0x00580530 (texture coordinates, environment mapping and the vertex copy; callees 0x00561BC0, 0x00562ED0, 0x005630B0, 0x00565E70, 0x00575F90, 0x005812F0..0x00581410) holds no shadow code and the batcher that consumes the vertices (0x00581DB0) only sorts the instance's parts into bins by texture key and blend flags without making geometry; the one shadow model the game names, w_small_shadow.md2, is skipped by its model loader (0x00489060), and the sprite shadow (alphkid.tga, 0x0055093A) belongs to the person sprites |
| TPW-EXE:0x0055CEA6 first draw | source/OpenTPW/World/Tours/TourPose.cs:31 | [BIN:TPW-EXE:0x0055CEA6 first draw] the word at car +0xC8 is non-zero: the target is the current position / 300 and the current heading, pitch and roll, drawn as they are; the word clears |
| TPW-EXE:0x0055CF10 smoothing | source/OpenTPW/World/Tours/TourPose.cs:46 | [BIN:TPW-EXE:0x0055CF10 smoothing] target = previous + (current − previous) × f for the position (÷ 300) and for the angles (the difference masked to 12 bits, 0xFFF taken off when it is 0x800 or more); drawn = (target + 3 × drawn) / 4 for position, heading and roll, (target + 7 × drawn) / 8 for pitch, the angles truncated and masked to 12 bits. The drawn position stays a float (car +0x34..+0x3C) |
| TPW-EXE:0x0055D2A5 draw angles | source/OpenTPW/World/Tours/TourPose.cs:86 | [BIN:TPW-EXE:0x0055D2A5 draw angles] the helper 0x0046F6F0 reads its three angles with mode 0xE ("ZXY", string at 0x0074DA7C): −roll × 2π/4096 about Z (0x0046F5C0), −pitch × 2π/1024 about X (0x0046F350), π + (3072 − heading) × π/2048 ≡ π/2 − heading × 2π/4096 about Y (0x0046F650); each helper post-multiplies the instance matrix (0x0046F180 resets it, the translation is row 3 at +0x40..+0x48), so a model vertex v maps to v·Rz·Rx·Ry |
| TPW-EXE:0x0055D3D0 TOUR 2 | source/OpenTPW/World/Objects/OriginalObjectRuntime.Tours.cs:30 | [BIN:TPW-EXE:0x0055D3D0 TOUR 2] destruction frees the cars' things and sounds and the controller |
| TPW-EXE:0x0055D610 TOUR 4 | source/OpenTPW/World/Tours/TourController.cs:343 | [BIN:TPW-EXE:0x0055D610 TOUR 4] the first car in state 1; with a negative count the count rises by one, the ride's total falls and the rider at slot −count is returned; else 0 |
| TPW-EXE:0x0055D830 TOUR 3 | source/OpenTPW/World/Tours/TourController.cs:323 | [BIN:TPW-EXE:0x0055D830 TOUR 3] the first car in state 1 whose count is not negative takes the rider into the next slot; the ride's rider total rises. The original has no seat limit (the scripts stop at INCAR); a ninth rider would write over the leaving flag, so a full car refuses |
| TPW-EXE:0x0055D830 TOUR 3 | source/OpenTPW/World/Tours/TourPose.cs:118 | [BIN:TPW-EXE:0x0055D830 TOUR 3] the head node of the boarded rider is ((car +0xD8 + the new rider count) mod car +0xDC) + 1 through 0x0044B220 (class 0x80); +0xDC counts the car mesh's consecutively numbered head nodes (0x0055AA2D); 0x0055D610 and 0x0055D720 take the head off with the same node |
| TPW-EXE:0x0055D91E tour head hang | source/OpenTPW/World/Tours/TourController.cs:336 | [BIN:TPW-EXE:0x0055D91E tour head hang] a car mesh with head nodes (+0xDC, +0x138 not zero) looks up the rider's node (always found: the nodes are numbered from 1) and hangs the head through 0x44B410 |
| TPW-EXE:0x0055D950 TOUR 8 | source/OpenTPW/World/Tours/TourController.cs:381 | [BIN:TPW-EXE:0x0055D950 TOUR 8] the operand × 1000 divided by 64 (towards zero) is the flight time in ticks; flights already running are cut to it |
| TPW-EXE:0x0055D9F0 TOUR 14 | source/OpenTPW/World/Tours/TourController.cs:395 | [BIN:TPW-EXE:0x0055D9F0 TOUR 14] open: the wanted count is the requested one again |
| TPW-EXE:0x0055D9F0 TOUR 14 | source/OpenTPW/World/Tours/TourController.cs:401 | [BIN:TPW-EXE:0x0055D9F0 TOUR 14] the loop touches the timer, the count and the open word only: the ready flag is left as it is. A departure the script ordered (TOUR 11 cleared ready) that the closing stops before the lift-off leaves the sole car docked with its riders and ready clear (0x0055ABF0 state 1 needs ready clear and, for the first car of a ride with one car, an open ride), so TOUR 10 reads 0 until the ride reopens; it then flies once more with its negative count, lands (ready set) and the script unloads it |
| TPW-EXE:0x0055DA70 TOUR 9 | source/OpenTPW/World/Tours/TourController.cs:417 | [BIN:TPW-EXE:0x0055DA70 TOUR 9] a change of the condition word: 1 mends (the first car's breakdown clears, its thrust is drawn again), 2 worn (smoke), 3 broken (the first car breaks and its flight ends), 4 as 3 and every flying rider is thrown off |
| TPW-EXE:0x0055DACB TOUR 9 1 | source/OpenTPW/World/Tours/TourController.cs:428 | [BIN:TPW-EXE:0x0055DACB TOUR 9 1] the repair: animation 10 (channel 0, once), then the global cat_rides sound 0xBB at the car (x / 300, height / 300, z / 300; 0x51BFC0) |
| TPW-EXE:0x0055DB5C TOUR 9 1 | source/OpenTPW/World/Tours/TourController.cs:435 | [BIN:TPW-EXE:0x0055DB5C TOUR 9 1] the first car's emitter is destroyed (0x51FEB0) |
| TPW-EXE:0x0055DB7D TOUR 9 2 | source/OpenTPW/World/Tours/TourController.cs:440 | [BIN:TPW-EXE:0x0055DB7D TOUR 9 2] worn: the first car's emitter is replaced by particle 0x27 (FlySmoke) created at the car's raw module coordinates taken as particle units (0x521E60(0x27, x, height, z), not scaled like 3 and 4); the next draw moves it to the car's node |
| TPW-EXE:0x0055DBB5 TOUR 9 3 | source/OpenTPW/World/Tours/TourController.cs:446 | [BIN:TPW-EXE:0x0055DBB5 TOUR 9 3] broken: the emitter is replaced by particle 0x28 (FlyFire) at (x << 10) / 300 etc., the car's place in particle units |
| TPW-EXE:0x0055DC34 TOUR 9 4 | source/OpenTPW/World/Tours/TourController.cs:452 | [BIN:TPW-EXE:0x0055DC34 TOUR 9 4] as 3, then the flying riders are thrown off |
| TPW-EXE:0x0055DCF0 TOUR 5 | source/OpenTPW/World/Tours/TourController.cs:284 | [BIN:TPW-EXE:0x0055DCF0 TOUR 5] the requested count, which is the wanted count too while the ride is open |
| TPW-EXE:0x0055DD40 TOUR 15 | source/OpenTPW/World/Tours/TourController.cs:306 | [BIN:TPW-EXE:0x0055DD40 TOUR 15] true while the first car is broken and standing at the station |
| TPW-EXE:0x0055DD80 TOUR 11 | source/OpenTPW/World/Tours/TourController.cs:367 | [BIN:TPW-EXE:0x0055DD80 TOUR 11] allowed when the ride is open, anybody is aboard or more than one car exists, and a car is ready: the ready flag clears and the result is 1 |
| TPW-EXE:0x0055DE30 TOUR 16 | source/OpenTPW/World/Tours/TourController.cs:309 | [BIN:TPW-EXE:0x0055DE30 TOUR 16] running while anybody is aboard, no car waits at the station, or more than one car exists |
| TPW-EXE:0x0055E710 ramp table | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:84 | The ramp table of a (centre, width) pair. [BIN:TPW-EXE:0x0055E710 ramp table] <c>h = (w + 1) / 2</c>; entry i is 0 below <c>c - h</c>, 255 above <c>c + h</c> |
| TPW-EXE:0x0055E780 weight plane | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:395 | [BIN:TPW-EXE:0x0055E780 weight plane] 16.16 forward differencing over the 4 × 4 sub blocks of n = N / 4 texels (s = log2 n): |
| TPW-EXE:0x0055EAA0 three layer blend | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:180 | [BIN:TPW-EXE:0x0055EAA0 three layer blend] never advances its weight 1 pointer, so every texel of a three layer run uses the weight 1 of the run's first texel |
| TPW-EXE:0x0055EE10 two layer blend | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:378 | <summary>[BIN:TPW-EXE:0x0055EE10 two layer blend] <c>c1 + (((c0 - c1) * ramp[(detail * w1) >> 8]) >> 8)</c> per channel with an arithmetic shift, truncated to a byte.</summary> |
| TPW-EXE:0x0055F470 set loader | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:25 | Image roles in file order (docs/LND.md, [BIN:TPW-EXE:0x0055F470 set loader] places them into the set structure). |
| TPW-EXE:0x0055F780 procedural terrain build | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:107 | [BIN:TPW-EXE:0x0055F780 procedural terrain build] validity of the four inner samples, the three weight planes, per image windows, per 16 texel run layer decisions, bottom-up rows |
| TPW-EXE:0x005608B0 composite orientation | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:306 | [BIN:TPW-EXE:0x005608B0 composite orientation] the pointer start, texel step and row step per orientation: 0x00 (0, +1, +N), 0x08 (N²−N, −N, +1), 0x10 (N²−1, −1, −N), 0x20 (N−1, +N, −1), 0x40 (0, +N, +1), 0x48 (N²−N, +1, −N), 0x50 (N²−1, −N, −1), 0x60 (N−1, −1, +N) pixels, tested 0x40, then 0x08, 0x10, 0x20 (a word with 0x40 and none of the others reads as 0x40; a word with 0x08 and 0x10 reads as 0x08) |
| TPW-EXE:0x00560926 composite blend | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:340 | [BIN:TPW-EXE:0x00560926 composite blend] 32-bit art (descriptor bytes per pixel 4): alpha, red, green and blue are bytes 3, 2, 1 and 0 of the art dword; the blend is (art - base) · alpha >> 8 added to the base and truncated to a byte; the output pixel is [0, R, G, B]; the art row pointer advances by (height / N) · width pixels per output row and its column by width / N per output pixel |
| TPW-EXE:0x00560FF0 base.lnd loader | source/OpenTPW.Files/Public/LndFile.cs:36 | [BIN:TPW-EXE:0x00560FF0 base.lnd loader] version byte 3, the ten parameter bytes, the weight grid and the three sets; the set reader is 0x0055F470 |
| TPW-EXE:0x00563914 DirectDraw set-up | source/OpenTPW/World/AdvisorEffects.cs:128 | [BIN:TPW-EXE:0x00563914 DirectDraw set-up] SetCooperativeLevel flags 0x851 (full screen) and 0x808 (0x563B7A, windowed) carry DDSCL_FPUSETUP (0x800) and not FPUPRESERVE (0x1000), so the x87 runs in single precision after the set-up; the arithmetic below is single precision |
| TPW-EXE:0x00563914 control word | source/OpenTPW/Economy/ShopGoodsCost.cs:18 | [BIN:TPW-EXE:0x00563914 control word] the economy runs on one thread, at the control word 0x7F the shipped D3DIM CreateDevice sets (DDSCL_FPUSETUP 0x851 at 0x563914, 0x808 at 0x563B7A, lets it; COAST-032, X87Precision), so every x87 step of this routine rounds to a single; the renderer 0x576EC0 restores the word, and bit 1 of the render-state word 0x8BD508 (the extended-precision restore 0x591250) is set by no writer (initial value 0x3000141 at 0x583555) |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterCurve.cs:186 | [BIN:TPW-EXE:0x00432840 knot chord] the chord to a neighbouring knot is fsqrt of ((dx · dx + dy · dy) + dz · dz) with dx and dz the position differences and dy the difference of the two heights each multiplied by f32 0.7 (0x6fded8, 0x4328d8..0x4328f5); the squares go through a store to double and to single (exact at the thread's 24 bits, [BIN:TPW-EXE:0x00563914 control word]), so every step is one single operation in this order; the result is stored as a single (0x432954) and is 1.0 without a neighbour (0x43295f); the oracle's rows replay it (ORACLE.md X40) |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterCurve.cs:210 | [BIN:TPW-EXE:0x004325b4 loop knot arithmetic] every fmul, fsub and fadd of the routine rounds to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]): x², 1 − x², its product with C and x² times −2.1 and their difference; 2π·u, the difference with −π/2 and the scaled index; T + 1, w, 1 − w and the final products and difference; fmod and the doubling of its result are exact |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterCurve.cs:228 | [BIN:TPW-EXE:0x0043e1b0 curve point] Q = (((c3 · t + c2) · t + c1) · t) + P0 with c2 = P1 · −6 − (P0 + P2) · −3 and, on x, c3 = P3 − ((P2 · 3 + P1 · −3) + P0), c1 = P0 · −3 − P1 · −3 (0x43e1ba..0x43e235), on y and z c3 = ((P1 · 3 − P0) − P2 · 3) + P3, c1 = P1 · 3 − P0 · 3 (0x43e237..0x43e30a); P1 is the first knot's forward control (+0x4c), P2 the second's back control (+0x34); the constants are the singles 3, −3, −6 (0x6fe110, 0x6fe114, 0x6fe118) and every operation rounds to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]); the oracle's rows replay the routine (ORACLE.md X40) |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterCurve.cs:622 | [BIN:TPW-EXE:0x43c7d0 cos index] fld a; fsub [0x6fe040] (the single −π/2); fmul [0x7b095c]; fstp dword; fistp: the subtraction and the product each round to a single at the thread's 24-bit precision ([BIN:TPW-EXE:0x00563914 control word]), where an extended difference would not |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterRating.cs:313 | [BIN:TPW-EXE:0x0043c7ff rotation steps] each rotation is the x87 sequence on the stack: sin·z + cos·x stored as x (0x43c816) and cos·z − x·sin stored as z (0x43c824) from the old x, then cos·y − sin·z and cos·z + y·sin, then cos·x − sin·y and cos·y + x·sin, every multiply, add and subtract rounded to a single (the thread's 24-bit precision, [BIN:TPW-EXE:0x00563914 control word]); θ − prev takes the unrounded fpatan result (0x43c918 stores a copy only), the sums with 3π (a double constant, 0x6fe048) are single-rounded and fmod is exact (0x67b24a) |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/CoasterTrack.cs:952 | [BIN:TPW-EXE:0x00563914 control word] the thread runs at 24 bits (docs/progress/2026-10-17-sign-precision.md: the CRT's 53 bits, then DirectDraw's FPUSETUP and D3DIM's CreateDevice set CW 0x7F and nothing restores it; the render function 0x576EC0 restores the word it found), so every fmul, fadd, fsub and fsqrt of this routine rounds to a single, which C# float arithmetic does one operation at a time |
| TPW-EXE:0x00563914 control word | source/OpenTPW/World/Coasters/Trunc24.cs:8 | [BIN:TPW-EXE:0x00439ac4 truncating rounding] fnstcw, or ah 0xc, fldcw: round toward zero, the precision bits unchanged (24 at the thread's word 0x7F, [BIN:TPW-EXE:0x00563914 control word]); the old word is restored at 0x439c30 |
| TPW-EXE:0x0056BB00 visible spans | source/OpenTPW/World/Original/TerrainVisibleSpans.cs:51 | [BIN:TPW-EXE:0x0056BB00 visible spans] corner rays (-w, h, 1), (w, h, 1), (w, -h, 1), (-w, -h, 1) with h = tan(fov pi / 360) (the pick frustum 0x56B790 multiplies h by 0.5 at 0x56B7BD, this routine's factor is 1) and w = h / aspect, through the camera matrix (0x578D20 mode 3), each put on the ground (0x56B940), the hull of the camera and the four points (0x56BD60), clipped (0x56C5A0) to the field less its last cell, scaled by 1 / the cell size and rasterised (0x56D600) |
| TPW-EXE:0x0056E6C0 landscape header | source/OpenTPW/World/Original/TerrainViewSpans.cs:30 | [BIN:TPW-EXE:0x0056E6C0 landscape header] the span selection's lowest and highest height are the heightfield header's +0x20 and +0x24 (0x56B830 copies the raw floats into the landscape object's +0x30 and +0x34), the stored bracket and not the corners' own minimum and maximum |
| TPW-EXE:0x0056F753 terrain pass state | source/OpenTPW/World/Original/OriginalTerrain.cs:596 | [BIN:TPW-EXE:0x0056F753 terrain pass state] the cell draw creates its records with the constant state 0x1256 (0x101256 when [0x8BCBC8] has 0x2000), never with 0x590C40's answer for the cell's texture: no blend, no alpha test |
| TPW-EXE:0x0056FB0E terrain colour | source/OpenTPW/World/Original/UnownedLandDim.cs:43 | [BIN:TPW-EXE:0x0056FB0E terrain colour] fistp uses the FPU rounding mode, round to nearest even (the project's x87 control word 0x7F), so a half level goes to the even one |
| TPW-EXE:0x00572110 cache init | source/OpenTPW/World/Original/ProceduralTextureCache.cs:9 | [BIN:TPW-EXE:0x00572110 cache init] one node per slot linked as a ring (previous, next, the table entry that owns it, the texture), the head at the middle node, the key table cleared |
| TPW-EXE:0x00572110 memory clamp | source/OpenTPW/World/Original/ProceduralTerrainSettings.cs:22 | [BIN:TPW-EXE:0x00572110 memory clamp] N is 16 when [0x8BD520] is below 0x3000000 or [0x8C1624] is below 3 x the bytes per pixel in MB, and a 64 becomes 32 when it is below 0x4000000 or below 5 x the bytes per pixel in MB; |
| TPW-EXE:0x00572440 cache lookup | source/OpenTPW/World/Original/ProceduralTextureCache.cs:10 | [BIN:TPW-EXE:0x00572440 cache lookup] per key: a miss moves the head to the node before it and takes that node (clearing the table entry of its previous owner); a hit moves the node to |
| TPW-EXE:0x005725BC cache pixel reversal | source/OpenTPW/World/Original/ProceduralTerrainTexturer.cs:288 | ([BIN:TPW-EXE:0x005725BC cache pixel reversal] reverses the four bytes of every pixel). Rows stay bottom-up. A renderer must set alpha to 255. |
| TPW-EXE:0x0057360F depth compare | source/OpenTPW/Render/Assets/Material.cs:211 | [BIN:TPW-EXE:0x0057360F depth compare] the Direct3D device set-up 0x00573080 enables the depth buffer (D3DRS_ZENABLE 7, when the device flag 0x10 is set) and sets D3DRS_ZFUNC (0x17) to 4, LESSEQUAL, once (0x00573601–0x00573614); Theme Park Inc's no-CD Game.exe sets it the same way, once in its device set-up (0x006D6574, ZENABLE guarded by [ebp+0x220] & 0x10) and once in the restore helper 0x006D5C00 (0x006D5C1E), always to 4; no other code sets ZFUNC in tp.exe: the per-face state decoder 0x00567620 writes ZENABLE (bit 0x8000 of the state word), ZWRITEENABLE (0x800), the alpha test and blend states and the texture stage states only, and a scan of every immediate 0x17 operand of the executable found no other render state write |
| TPW-EXE:0x0057453A terrain colour table | source/OpenTPW/World/Original/UnownedLandDim.cs:29 | [BIN:TPW-EXE:0x0057453A terrain colour table] 'test ah, 8' on [0x8BCBC8] (0x574534-0x57453A) picks the branch: bit set copies [light object + 0x2C] (0xFFFFFFFF from its creation, 0x574013; the other writers, 0x577120 and 0x57AB61, are debug highlights restored afterwards) to each of the colours (0x574558-0x574561), clear calls 0x5741B0 for the light sum and writes the clamped fistp colours |
| TPW-EXE:0x00575E9C texture setup | source/OpenTPW/Render/TextureSlotAddressing.cs:8 | [BIN:TPW-EXE:0x00575E9C texture setup] slot flags 0x10/0x20 become texture bits 0x10000/0x20000; the Direct3D key builders turn either bit into render-key bit 0x400000 (0x581847: test 0x30000, or 0x400000; 0x590C40), and the stage decoder 0x567620 sets D3DTSS_ADDRESS to WRAP for that bit and CLAMP without it (0x5678CF through 0x567A70: state 12, values 1 and 3); the address state covers both axes |
| TPW-EXE:0x00576EC0 control word | source/OpenTPW.Files/Formats/Font/X87.cs:15 | [BIN:TPW-EXE:0x00576EC0 control word] the only code that rewrites the x87 control word besides the CRT and rounding-mode wrappers (_ftol 0x67A830 saves and restores the word): 0x591220 forces PC=24 and returns the old word, 0x591240 restores it (0x591250 would restore it with PC=64, only when bit 1 of [0x8BD508] is set, which no instruction sets); the sign generator is not reached from that function |
| TPW-EXE:0x00576EC0 control word | source/OpenTPW/Audio/HeldSoundLifecycle.cs:90 | [BIN:TPW-EXE:0x00576EC0 control word] the only code that rewrites the x87 control word besides the CRT's save-and-restore wrappers (ftol 0x67A830) is the font generator's pair 0x591220 / 0x591240 (its only callers are at 0x576FA7, 0x577304 and 0x577310, nowhere near the sound library); the main thread is at 0x7F (24-bit precision) after DDSCLFPUSETUP at 0x563914 and the D3DIM device creation (docs/COASTERS.md), but the worker is a new thread: it keeps the operating system's default 0x27F (53-bit precision, round to nearest even), and QMixer.dll only restores the word around its own truncating conversions (0x18018179, 0x180181DD) |
| TPW-EXE:0x00576EC0 render precision | source/OpenTPW/Economy/ShopGoodsCost.cs:17 | [BIN:TPW-EXE:0x00576EC0 render precision] the renderer saves the control word and clears the precision field at its entry (0x00591220, the only caller), and its normal exit (0x005772E2) puts the saved word back through 0x00591240, or through 0x00591250 (the word with the precision bits 0x300 set) when bit 1 of 0x008BD508 & 0x3FFFFFFF is set, while the exit at 0x00577433 (a failed piece 0x00576A00) leaves the field cleared; a call from another thread than the render thread (the id 0x008BD518) returns before touching it |
| TPW-EXE:0x0057820E composed matrix | source/OpenTPW/Hud/VisitorCirclePicker.cs:49 | [BIN:TPW-EXE:0x0057820E composed matrix] sprite hotspot already includes viewprojectionscreen; native W=sin(45)*host W/ModelScale at the canonical 90-degree projection. |
| TPW-EXE:0x00578BE0 projection | source/OpenTPW/World/Guests/GuestRenderer.cs:33 | [BIN:TPW-EXE:0x005890E0 sprite placement] [BIN:TPW-EXE:0x00578BE0 projection] 20 / 128 × √2 = 0.2210 original units a pixel, 0.04419 engine units; read from the quad placement and the projection builder, replacing the 0.045 that was fitted by eye |
| TPW-EXE:0x00578BE0 projection | source/OpenTPW/World/Guests/SpriteScale.cs:20 | [BIN:TPW-EXE:0x00578BE0 projection] m00 = m11 = cos(fov / 2), m23 = sin(fov / 2): a clip-space extent e is e / cos(fov / 2) = e × √2 world units at 90 degrees (the relation the particle quads use, docs/PARTICLES.md) |
| TPW-EXE:0x0057A260 SetLocalMatrix | source/OpenTPW/World/Advisor.cs:110 | [BIN:TPW-EXE:0x0057A260 SetLocalMatrix] multiplies by diag(1, -1, 1, 1), so the stored translation is (0.6, +0.6, 0.2). |
| TPW-EXE:0x0057A420 slot texture bind | source/OpenTPW/World/Objects/OriginalObject.cs:114 | [BIN:TPW-EXE:0x0057A420 slot texture bind] each model texture slot binds frames[flags 0x40 of 0x8BD550 ? slot word +2 : 0] (0x00575F90), the slot's current frame that the clip update writes (0x00470C90) |
| TPW-EXE:0x0057A5E3 hidden node mesh | source/OpenTPW/World/Objects/ObjectAnimator.cs:269 | [BIN:TPW-EXE:0x0057A5E3 hidden node mesh] the model draw walk 0x57a530 (and 0x57b610 at 0x57b664) skips a node's own mesh when its state word has any of 0x8210 (0x10 the toggled bit, 0x200 every dummy, 0x8000) but still walks its children (only bit 0x20 prunes the subtree), so bit 0x10 hides exactly that mesh |
| TPW-EXE:0x0057A750 mesh draw | source/OpenTPW/World/Advisor.cs:111 | [BIN:TPW-EXE:0x0057A750 mesh draw] the advisor's model flag 0x200 (set by 0x0045BED0) skips the camera, projection |
| TPW-EXE:0x0057A750 mesh draw | source/OpenTPW/World/Advisor.cs:169 | [BIN:TPW-EXE:0x0057A750 mesh draw] the unprojected coordinates (centre (0.6, 0.6), y down) span the screen from −1 to 1 as clip space; a capture of the original agrees (docs/LIPS.md, ADVISOR-023 retired) |
| TPW-EXE:0x0057ACE0 floor composite | source/OpenTPW/World/Objects/ObjectFloorBase.cs:107 | [BIN:TPW-EXE:0x0057ACE0 floor composite] per cell of the box (rows outer, columns inner) with the word bits 0x80 and 0x200: the slot record is the instance's slot table entry (word >> 16), the art the slot's current texture (0x590DA0), the descriptor 32-bit (4 bytes per pixel) with the word's low half; 0x572630 builds the base with 0x55F780 and blends; the slot's texture handle is redirected to the new texture |
| TPW-EXE:0x00580530 texture frame bind | source/OpenTPW/World/Objects/ObjectAnimator.cs:29 | [BIN:TPW-EXE:0x00580530 texture frame bind] MD2 texture-frame tracks (trailer word 12) now apply: the clip update 0xa56f8 runs them when trailer bit 0x2 is set and global option bit 0x8 is clear (its only store writes 0), and <see cref="GetTextureFrame"/> exposes the winning frame per slot; the PC writer is 0x4721f0 → 0x470c90 (slot record at model+0x50+slot·8: frame at +2, dirty bit 0x04 in byte +1 when the frame changes; trailer flags & 2 and option 0x7b4980 bit 0x8 clear), and the draw reads it per material group: 0x00580530 (the draw) and 0x0057A420 (the per-slot bind) bind frames[flags 0x40 of 0x8BD550 ? slot word +2 : 0] of the slot record the group points at, the flag being the ANIMATINGTEXTURES option (OriginalObject.TextureFrameToShow), so the material-slot mapping is the original's |
| TPW-EXE:0x00581790 slot flag 0x800 | source/OpenTPW/Render/WorldTranslucency.cs:31 | [BIN:TPW-EXE:0x00581790 slot flag 0x800] the face state word is built per face: when the slot word's byte +1 has bit 8 (the slot flag 0x800, 0x00581820) the state gets 0x1256, else the texture's own state (0x00590C40); the skirt reader 0x0046AA10 sets the flag on the slots of a ride's edge floor art |
| TPW-EXE:0x005890E0 | source/OpenTPW.Tests/SpritePixelScaleTests.cs:13 | The frame's two pixels-per-unit fields (<see cref="SpriteFrame.PixelsPerUnitX"/>/<see cref="SpriteFrame.PixelsPerUnitY"/>, [BIN:TPW-EXE:0x005890E0]): every sprite quad scales its pixels by 128 / A across and 128 / B |
| TPW-EXE:0x005890E0 circle placement | source/OpenTPW/Hud/VisitorCirclePicker.cs:48 | [BIN:TPW-EXE:0x005890E0 circle placement] default sx=20scaleheight/width, sy=20*scale; ordinary programs 1..8 preserve primary scale 1 (0x475944, table 0x75A418). |
| TPW-EXE:0x005890E0 sprite placement | source/OpenTPW.Files/Public/SpriteBankFile.cs:26 | Pixels per sprite unit across (A) and down (B). [BIN:TPW-EXE:0x005890E0 sprite placement] the quad spans |
| TPW-EXE:0x005890E0 sprite placement | source/OpenTPW/World/Guests/GuestRenderer.cs:33 | [BIN:TPW-EXE:0x005890E0 sprite placement] [BIN:TPW-EXE:0x00578BE0 projection] 20 / 128 × √2 = 0.2210 original units a pixel, 0.04419 engine units; read from the quad placement and the projection builder, replacing the 0.045 that was fitted by eye |
| TPW-EXE:0x005890E0 sprite placement | source/OpenTPW/World/Guests/GuestSpriteAtlas.cs:18 | The quad's extents in world units across and up the camera plane from the hotspot. [BIN:TPW-EXE:0x005890E0 sprite placement] the original spans |
| TPW-EXE:0x005890E0 sprite placement | source/OpenTPW/World/Guests/RideHeadRenderer.cs:162 | [BIN:TPW-EXE:0x005890E0 sprite placement] a head is the body's pixel size (20 / 128 x sqrt(2) world units, SpriteScale) times the scale property 0.685 (0x0074CED0); the roll's reference is HEADS-004 |
| TPW-EXE:0x005890E0 sprite placement | source/OpenTPW/World/Guests/SpriteScale.cs:12 | [BIN:TPW-EXE:0x005890E0 sprite placement] a quad's x extents are originX / A and (width + originX) / A times sx and its y extents originY / B and (height + originY) / B times sy; both default to the sprite's scale (+0xA4, 1.0 at creation, 0x004758F0) times 20.0 (0x0070200C), sx also times the display's height / width (DAT_008BCBCC, 0x00582EB0) |
| TPW-EXE:0x00589320 flat sprite | source/OpenTPW/World/Guests/SpriteScale.cs:64 | [BIN:TPW-EXE:0x00589320 flat sprite] flag 0x80000: the quad's y extents go to the vertices' z (the map's y axis) instead of their height, v0 and v1 (the frame's top) take originY / B, v2 and v3 (the bottom) (height + originY) / B, v0 and v3 (the left) originX / A, v1 and v2 (the right) (width + originX) / A |
| TPW-EXE:0x00589B50 sprite depth pull | source/OpenTPW/World/Guests/SpriteScale.cs:39 | [BIN:TPW-EXE:0x00589B50 sprite depth pull] after 0x005890E0 places a camera-facing quad, a sprite flagged 0x200 (the pickable ones: 0x005890E0's pick tests that flag, and it is how the original |
| TPW-EXE:0x0058F190 page packer | source/OpenTPW/World/Original/ProceduralTerrainAtlas.cs:24 | [BIN:TPW-EXE:0x0058F190 page packer] the engine packs textures into shared pages; [BIN:TPW-EXE:0x00590350 page placement] the texture's coordinates start half a texel inside it, (x + 0.5) / page width, and span (w - 1) / page width (scale 1, set at 0x58D170) |
| TPW-EXE:0x00590350 page placement | source/OpenTPW/World/Original/ProceduralTerrainAtlas.cs:24 | [BIN:TPW-EXE:0x0058F190 page packer] the engine packs textures into shared pages; [BIN:TPW-EXE:0x00590350 page placement] the texture's coordinates start half a texel inside it, (x + 0.5) / page width, and span (w - 1) / page width (scale 1, set at 0x58D170) |
| TPW-EXE:0x00590DA0 art rows | source/OpenTPW/World/Objects/ObjectFloorBase.cs:82 | [BIN:TPW-EXE:0x00590DA0 art rows] the art buffer of a texture with the flag 0x40000 has its rows swapped, row r with row (width - 1 - r), height / 2 times; a texture without the flag (a composite made by 0x590A80, flags 0x1000000) is read as stored. The art the composite blends over the base is the file's image upside down: the exposed edges of a skirt cell are then transparent and the edges against the floor opaque (the data seam test) |
| TPW-EXE:0x005989C0 advisor clip lengths | source/OpenTPW/World/Advisor.cs:499 | [BIN:TPW-EXE:0x005989C0 advisor clip lengths] a game without clip archives has every clip length 0, so the original's response returns 1000 and its model never plays a clip |
| TPW-EXE:0x005989C0 advisor clip lengths | source/OpenTPW/World/AdvisorSequence.cs:60 | [BIN:TPW-EXE:0x005989C0 advisor clip lengths] the 20 entries are read through 0x474070 from the level advisor's clips when one is loaded, else the global advisor's; afterwards the entry of clip 14 (0xF796FC) is set to 0 |
| TPW-EXE:0x00598B20 sequence generator | source/OpenTPW/World/AdvisorSequence.cs:220 | [BIN:TPW-EXE:0x00598B20 sequence generator] clip 14 first; each next clip is rand() % 10 + 1, replaced by the first clip 1–10 whose length is at least the remaining budget (10 when none) if the drawn clip is longer than the budget; stops when the budget is below 1 or 19 clips are queued; then clip 15, whose length is part of the returned sum |
| TPW-EXE:0x00598BF0 fixed-sequence builder | source/OpenTPW/Client/AutomaticAdvisor.cs:568 | [BIN:TPW-EXE:0x00598BF0 fixed-sequence builder] a fixed-sequence response (60 of 610) returns its row's clip sum from table 0x76DC18 + 1000 + the length of clip 15 (a row that sums to 0 uses the generator) |
| TPW-EXE:0x00598BF0 fixed-sequence builder | source/OpenTPW/World/AdvisorSequence.cs:170 | [BIN:TPW-EXE:0x00598BF0 fixed-sequence builder] row (sequence − 16) of the table at 0x76DC18 (0x50 bytes per row), walked until a zero entry: an entry with bit 0x400000 is a timer pair (flag, milliseconds), any other entry is a clip (entry & 0xFF80FFFF; bits 0x7F0000 are stored at 0xF79660 for the accessory selector 0x598CA0) |
| TPW-EXE:0x00598BF0 fixed-sequence builder | source/OpenTPW/World/AdvisorSequence.cs:269 | [BIN:TPW-EXE:0x00598BF0 fixed-sequence builder] a timer entry sets the timer to the clip sum so far plus its milliseconds and adds no clip; a clip adds its length from the clip table (clip 14 is 0); a sum of 0 with a nonzero budget returns the generator's sequence (0x598B20) instead |
| TPW-EXE:0x00598BF0 fixed-sequence builder | source/OpenTPW/World/AdvisorSequence.cs:317 | [BIN:TPW-EXE:0x00598BF0 fixed-sequence builder] the builder clears the immediate-start word 0xF79694 when the row's first clip is not clip 14 (0x598C47–0x598C56); a row without a clip never clears it |
| TPW-EXE:0x00598CA0 accessory selector | source/OpenTPW/World/AdvisorCostumes.cs:209 | [BIN:TPW-EXE:0x00598CA0 accessory selector] 0: show 0x13 and 0x14; 1, 2, 4, 5, 6, 7, 9, 10, 11 and 13: hide 0x13 and 0x14; 14: hide 0x15; −1: for each of the four slots show the nonzero add-on (unless accessory bit 0x10000 is set) and hide the nonzero sub-off; finally show the node of any nonzero selector (unless bit 0x10000) |
| TPW-EXE:0x00598DC0 accessory update | source/OpenTPW/World/AdvisorCostumes.cs:279 | [BIN:TPW-EXE:0x00598DC0 accessory update] the first selector (response +0x14) is applied, then the second (+0x18) when it is nonzero |
| TPW-EXE:0x00598DC0 accessory update | source/OpenTPW/World/AdvisorCostumes.cs:290 | [BIN:TPW-EXE:0x00598DC0 accessory update] run after each clip start (0x599839, once the started clip is bound): it hides the five mouths (one is shown again by the mouth update unless bit 0x10000 is set, 0x599BA3), applies the selectors and, with bit 0x10000, sets bit 0x10 on the bug head (table 0xF79698, filled by 0x5989C0 through 0x44B2E0(model, 0, −1), the mesh named "bug head") |
| TPW-EXE:0x00598EAA accessory effects | source/OpenTPW/World/AdvisorEffects.cs:159 | [BIN:TPW-EXE:0x00598EAA accessory effects] bits & 0x3E0000 nonzero: without an active response (0xF7966C) only 0x200000 acts (group 0 emptied); with one: 0x40000 plays 0xC5 (AdvisorAccessories.KeySound) and sets 2 x 0x31, moved from the last target to (0, 0) over the clip, radii to (0.6, 0.4), 2 turns; 0x20000 sets 1 x 0x2C and, when that started one, jumps it to (0.34, 0.62) over the clip with radii (0.01, 0.2), 1 turn; 0x80000 sets 3 x 0x31, to (0, 0), radii (0.6, 0.4), 3 turns; 0x100000 empties the group, sets 2 x 0x2C, to (0.8, -0.8), radii to (0, 0), 2 turns; 0x200000 empties it; the length is the started clip's table entry (0xF796C8[0xF7976C]) |
| TPW-EXE:0x00598F1C accessory effects | source/OpenTPW/World/AdvisorCostumes.cs:190 | [BIN:TPW-EXE:0x00598F1C accessory effects] with the advisor active (0xF7966C, 0x598E88) and the bits & 0x3E0000 exactly 0x40000 (0x598E7D, 0x598E96): 0x51BFC0(0, [0x803A2C] = global cat_ui, 0xC5, 0, 0, 0), then the UI pool effect 0x5ED5A0(0, 2, 0x31) |
| TPW-EXE:0x00599050 response player | source/OpenTPW/World/Advisor.cs:486 | [BIN:TPW-EXE:0x00599050 response player] the builder gets the sample length + 200 + 300 ms; a fixed sequence (response +12 minus 16) comes from table 0x76DC18 |
| TPW-EXE:0x00599050 response player | source/OpenTPW/World/AdvisorSequence.cs:339 | [BIN:TPW-EXE:0x00599050 response player] audio starts at the request with the LIP clock base at request − 200 (0x5990FA); a sequence that opens with clip 14 stops it at once (0x51C2C0) and moves the base by 1000 to request + 800 |
| TPW-EXE:0x005990E3 response player | source/OpenTPW/World/Advisor.cs:468 | [BIN:TPW-EXE:0x005990E3 response player] the response row's +0x14 and +0x18 words are the accessory selectors (0xF79684, 0xF79688) and its +0x10 low half the model slot (0xF79674) |
| TPW-EXE:0x005993B3 response player | source/OpenTPW/World/Advisor.cs:479 | [BIN:TPW-EXE:0x005993B3 response player] a new response empties effect group 0 (0x5ED5A0(0, 0, 0)) |
| TPW-EXE:0x005994A5 response player | source/OpenTPW/World/AdvisorSequence.cs:362 | [BIN:TPW-EXE:0x005994A5 response player] a set timer is moved to the request's clock value (+ esi) when the response starts |
| TPW-EXE:0x005994AC response player return | source/OpenTPW/Client/AutomaticAdvisor.cs:567 | [BIN:TPW-EXE:0x005994AC response player return] the span is the sequence sum + 1000 + the length of clip 15 (a generated sequence already ends with clip 15, so it counts twice); the clip length is trailer word 2 × 1000 / 30, unsigned (0x474070), from the level advisor if loaded, else the global one (0x5989C0) |
| TPW-EXE:0x005994AC response player return | source/OpenTPW/World/AdvisorSequence.cs:307 | [BIN:TPW-EXE:0x005994AC response player return] returns the builder's sum + 1000 + the length of clip 15 (0xF79700) |
| TPW-EXE:0x005994E0 slap path | source/OpenTPW/Client/AutomaticAdvisor.cs:405 | [BIN:TPW-EXE:0x005994E0 slap path] with the advisor active (0xF7966C) and a speech handle (0xF79680) it stops the speech (0x51C0E0), kills the advisor (0x429D60), releases the handle (0x51C2C0) and then plays the slap; without a handle it takes the branch 0x599620, which does the same without the slap. The update 0x599902 re-validates the handle each frame (0x51C270) and zeroes it once the speech sound has ended, so a cut-off after the speech ended (within the 1000 ms the reservation adds) is silent |
| TPW-EXE:0x005995A4 slap choice | source/OpenTPW/Client/AutomaticAdvisor.cs:398 | [BIN:TPW-EXE:0x005995A4 slap choice] rand() (0x67B5C0, the CRT generator) modulo 3 (idiv by 3) picks 0x27F, 0x280 or 0x281, each submitted flat to the global cat_speech bank [0x803A34] (0x51EC42) through 0x51BFC0 with handle 0 and position 0, 0, 0; the handle it returns is not kept |
| TPW-EXE:0x005996D0 stop path | source/OpenTPW/Client/AutomaticAdvisor.cs:152 | [BIN:TPW-EXE:0x005996D0 stop path] "Kill advisor" (0x429D60) hides the model; the stop path has six callers, level exit among them |
| TPW-EXE:0x005996D0 stop path | source/OpenTPW/Client/AutomaticAdvisor.cs:591 | [BIN:TPW-EXE:0x005996D0 stop path] the stop path (run by the loader 0x414D40, the restart state 0xE of 0x54E360 and the level exit 0x4A9380) stops the speech (0x51C0E0) and kills the advisor (0x429D60) without the slap that the cut-off path 0x5994E0 plays |
| TPW-EXE:0x0059972A kill path | source/OpenTPW/World/Advisor.cs:658 | [BIN:TPW-EXE:0x0059972A kill path] the stop path clears the active flag and empties effect group 0 |
| TPW-EXE:0x00599800 advisor frame | source/OpenTPW/World/Advisor.cs:552 | [BIN:TPW-EXE:0x00599800 advisor frame] every frame moves the effect groups (0x5ED770) |
| TPW-EXE:0x00599880 advisor update | source/OpenTPW.Files/Public/LipSyncTimeline.cs:53 | [BIN:TPW-EXE:0x00599880 advisor update] the talking flag is set to 1 at LIP load (0x59930B), cleared on the delayed-start path (0x59943E), set again when the speech starts (0x599987); each mark then flips it once the clock is strictly past it, one flip per update |
| TPW-EXE:0x00599880 advisor update | source/OpenTPW/World/Advisor.cs:148 | [BIN:TPW-EXE:0x00599880 advisor update] the next clip of the sequence starts only while the channel reads the idle set 12 (0x599A23) through 0x4732A0, which shows the model again (0x4732C6–0x4732DD); after the last clip nothing starts, so the model stays hidden until the next response |
| TPW-EXE:0x00599880 advisor update | source/OpenTPW/World/Advisor.cs:709 | [BIN:TPW-EXE:0x00599880 advisor update] the talking flag is set at LIP load (0x59930B), cleared on the delayed-start path (0x59943E) and set again when the speech starts (0x599987); then each mark flips it once the clock is strictly past it |
| TPW-EXE:0x00599880 advisor update | source/OpenTPW/World/AdvisorSequence.cs:274 | [BIN:TPW-EXE:0x00599880 advisor update] when the advisor clock reaches the timer (0x599991) the update starts the particle effect 0x521E60 (87, 90000, 0, 7000), plays sound 0xC6 (0x51BFC0) and calls 0x4B9340 (Advisor.Update) |
| TPW-EXE:0x00599880 advisor update | source/OpenTPW/World/AdvisorSequence.cs:340 | [BIN:TPW-EXE:0x00599880 advisor update] the audio restarts once the clock reaches the moved base (equality counts) and the talking flag is set again (0x599987) |
| TPW-EXE:0x0059992D response end | source/OpenTPW/World/Advisor.cs:524 | [BIN:TPW-EXE:0x0059992D response end] the response stops being active once its speech has ended (0x51C270) and the clock has reached the request plus the builder's clip sum (0xF79668, set at 0x59949D); group 0 is emptied (0x59993E) |
| TPW-EXE:0x00599991 advisor update | source/OpenTPW/World/AdvisorSequence.cs:363 | [BIN:TPW-EXE:0x00599991 advisor update] it fires when timer - now (sub, signed test) is not above 0, then clears (0x5999D1) |
| TPW-EXE:0x005999A0 timer effect | source/OpenTPW/World/Advisor.cs:548 | [BIN:TPW-EXE:0x005999A0 timer effect] the Key effect (template 87, screen-space) at native (90000, 0, 7000): screen (0.8, -0.8), the top right; its handle is not kept |
| TPW-EXE:0x005999AD | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:50 | [BIN:TPW-EXE:0x005999AD] 0x521E60(0x57, 0x15F90, 0, 0x1B58) |
| TPW-EXE:0x005999AD advisor timer | source/OpenTPW/World/AdvisorSequence.cs:200 | [BIN:TPW-EXE:0x005999AD advisor timer] 0x521E60(0x57, 0x15F90, 0, 0x1B58) before the sound; the handle is not kept |
| TPW-EXE:0x005999B2 advisor timer | source/OpenTPW/World/AdvisorSequence.cs:197 | [BIN:TPW-EXE:0x005999B2 advisor timer] 0x51BFC0(0, [0x803A2C] = global cat_ui (0x51EBE7), 0xC6, 0, 0, 0): flat, handle not kept |
| TPW-EXE:0x00599A23 next clip | source/OpenTPW/World/AdvisorCostumes.cs:314 | [BIN:TPW-EXE:0x00599A23 next clip] the response player starts a clip only while the channel reads the idle set 12 (0x4732A0 from 0x599A46 with set 5, the clip index minus 1 and flags 0), so the old set is 12 and no clip-to-clip transition clears a node: the only clear is the one at the previous clip's end |
| TPW-EXE:0x00599BA3 mouth update | source/OpenTPW/World/Advisor.cs:784 | [BIN:TPW-EXE:0x00599BA3 mouth update] with bit 0x10000 the mouth update shows no mouth (0x598DC0 hid all five at the clip start) |
| TPW-EXE:0x0059A550 advisor update | source/OpenTPW/Client/AutomaticAdvisor.cs:456 | [BIN:TPW-EXE:0x0059A550 advisor update] one call of the update scans first (0x59C680) and queues what passes, then serves the queue (the end of the function), whether or not the advisor is heard; |
| TPW-EXE:0x0059A550 advisor update | source/OpenTPW/Client/AutomaticAdvisor.cs:501 | [BIN:TPW-EXE:0x0059A550 advisor update] each call scans and then serves the queue, so <paramref name="afterEachCall"/> (the queue service) runs after every scan call, in tp.exe's order |
| TPW-EXE:0x0059A550 advisor update | source/OpenTPW/World/AdvisorScoreQueue.cs:386 | [BIN:TPW-EXE:0x0059A550 advisor update] the played message is stored at controller +0x16EC after a successful playback |
| TPW-EXE:0x0059A58B scan and post | source/OpenTPW/World/AdvisorController.cs:470 | [BIN:TPW-EXE:0x0059A58B scan and post] the result row is scored again (0x59BF20: the same callback on the same state), only a score above the object's +0x20 (MinScoreForConsideration, 0xFB3560, signed) builds a record (0x59B590) and queues it (0x59A940) |
| TPW-EXE:0x0059A5FD scan enqueue | source/OpenTPW.Tests/AdvisorScanWordsTests.cs:381 | [BIN:TPW-EXE:0x0059A5FD scan enqueue] the record is built with the arguments -1, 0, -1, 0 and the message: both words are 0, whatever the callback left in the scan object |
| TPW-EXE:0x0059A796 sequential pick | source/OpenTPW/World/AdvisorScoreQueue.cs:335 | [BIN:TPW-EXE:0x0059A796 sequential pick] the Windows update switches on the descriptor's word +0x2C (0x59C490): all 351 rows hold mode 2, the previous response + 1 (0x59A796, checked by tools/ppc-analysis/lanes/advisor/tpw_exe_tables.py); the mode-3 branch (a world generator draw, 0x59A7AC) is never taken, so the pick draws nothing |
| TPW-EXE:0x0059A940 advisor enqueue | source/OpenTPW/World/AdvisorScoreQueue.cs:288 | [BIN:TPW-EXE:0x0059A940 advisor enqueue] before the eligibility check 0x59ABC0, a record whose message is of group 1 (0x59C500 == 1) is copied whole (rep movsd, 6 dwords) to controller +0x16D0, admitted or not |
| TPW-EXE:0x0059AA70 unadvise | source/OpenTPW/World/AdvisorScoreQueue.cs:403 | [BIN:TPW-EXE:0x0059AA70 unadvise] drops the pending records with the message (0x59AA94-0x59AAB8); if the busy test (now < +0xD8 + +0xDC) holds and +0x16EC is the message, it stops the speech (0x5994E0), clears the played byte (+0xE8), adds one to the slap count (+0xEC) and zeroes +0xDC |
| TPW-EXE:0x0059AA7B unadvise | source/OpenTPW/World/AdvisorScoreQueue.cs:404 | [BIN:TPW-EXE:0x0059AA7B unadvise] first, while the last tutorial record is valid (+0x16E4), a message of group 1 (0x59C500 == 1) that is the record's message (+0x16DC) clears its valid byte (0x59AAC8) |
| TPW-EXE:0x0059AB50 replay last tutorial | source/OpenTPW/World/AdvisorScoreQueue.cs:432 | [BIN:TPW-EXE:0x0059AB50 replay last tutorial] with +0x16E4 set: the record's score (+0x16E0) becomes the balance field +0x32C (HelpMessage.ContextHelpScore), its score-overridden byte (+0x16E6) and once-only override (+0x16E5) become 1, and it goes through the enqueue 0x59A940 again |
| TPW-EXE:0x0059AB8E replay score | source/OpenTPW/World/AdvisorController.cs:85 | [BIN:TPW-EXE:0x0059AB8E replay score] the only reader of the balance field +0x32C (0xFB386C), HelpMessage.ContextHelpScore (1000 shipped) |
| TPW-EXE:0x0059AFC0 staff info | source/OpenTPW/World/AdvisorController.cs:102 | [BIN:TPW-EXE:0x0059AFC0 staff info] a message of type 0x17 with the kind in +0xC and the role in +8 queues 0x21 + 5 × kind + 1 for a role of 0 (handyman), + 0 for 1 (mechanic), + 3 for 2 (entertainer), + 2 for 3 (guard) and + 4 for 4 (researcher), the order of the StaffType enum; the staff manager's month routine (0x509031-0x5092AA) sends kinds 0 (once), 2 (four sites) and 3 (once) |
| TPW-EXE:0x0059B060 advisor messages | source/OpenTPW/World/Advisor.cs:278 | [BIN:TPW-EXE:0x0059B060 advisor messages] --advisor-say is a developer tool that plays global clips by number; the responses the park advisor says follow the traced global/level selector, and every message tp.exe posts has its producer here (the producers are mapped in docs/reverse/ADVISOR-SCAN.md): the researchers' flag message is the advisor event 5 or 6 (type 0x13, 0x5041F0), which the advisor's handler ignores (jump table 0x59AF98: only 0, 2, 3, 4 and 10 act), the type-5 handler 0x59B060 queues the record a golden ticket message carries (0x4D5xxx, posted straight to the controller here), and the queued records keep their id and cell words, which the caption formatter 0x509E10 reads |
| TPW-EXE:0x0059B060 advisor messages | source/OpenTPW/World/AdvisorController.cs:77 | [BIN:TPW-EXE:0x0059B060 advisor messages] type 0xE: kind 0 queues 0x7D, 1 queues 0x7E, 2 queues 0x7F (0x0059A940), each record with the prankster's id and cell, no variant (-1) and the descriptor's score (0x0059BF20) |
| TPW-EXE:0x0059B060 challenge message receiver | source/OpenTPW/Client/AutomaticAdvisor.cs:288 | [BIN:TPW-EXE:0x0059B060 challenge message receiver] the advisor queues the advice id in +0xC of a category-25 message (0x0059B540, 0x0059B590, 0x0059A940) |
| TPW-EXE:0x0059B0C6 research done words | source/OpenTPW/Client/AutomaticAdvisor.cs:223 | [BIN:TPW-EXE:0x0059B0C6 research done words] the record's second dword is the project's id word (+0x8 of the type-0x11 message, 0x504630 sends the project's first word), whose type name the caption shows; the first word stays 0 |
| TPW-EXE:0x0059B0E6 research done | source/OpenTPW/Client/AutomaticAdvisor.cs:242 | [BIN:TPW-EXE:0x0059B0E6 research done] the category in the message's +0xC picks the advice: 0 queues 0x5D, 1 0x5F, 2 0x60, 3 0x61 and 4 0x5E; the project's category is the object's own, or 4 for an upgrade level |
| TPW-EXE:0x0059B25F prank advice | source/OpenTPW.Tests/AdvisorRecordWordsTests.cs:142 | [BIN:TPW-EXE:0x0059B25F prank advice] the thing's id and the cell word y x 128 + x + 1 of its +5 and +7 bytes: guest 4 (4 mod 3 = 1, the litter line) in the cell (9, 3) |
| TPW-EXE:0x0059B25F prank advice | source/OpenTPW/Client/AutomaticAdvisor.cs:302 | [BIN:TPW-EXE:0x0059B25F prank advice] the handler of the prank message (type 0xE) reads the prankster's thing through the thing table (0x7CFB90) and builds the record (0x7D, 0x7E or 0x7F by the message's kind word) with the thing's id and the cell word of its +5 and +7 bytes, y x 128 + x + 1 (0x59B25F..0x59B3F4); the three prank rows' captions (tag kind 0) read neither word |
| TPW-EXE:0x0059B25F prank advice | source/OpenTPW/World/Guests/GuestSimulation.cs:2311 | [BIN:TPW-EXE:0x0059B25F prank advice] the advisor's queued prank line keeps the prankster's id and the word of its cell (AutomaticAdvisor.OnPrank); the three prank rows' captions (tag kind 0) read neither |
| TPW-EXE:0x0059B590 advice record | source/OpenTPW/World/AdvisorScoreQueue.cs:24 | [BIN:TPW-EXE:0x0059B590 advice record] the builder stores its second argument as the word +0x0, its third as the dword +0x4, the variant at +0x8, the message at +0xC, the score at +0x10 with its valid byte +0x14 and flags +0x15/+0x16; the queue copies all six dwords (0x59A940) |
| TPW-EXE:0x0059B620 advice speech | source/OpenTPW/World/AdvisorScoreQueue.cs:25 | [BIN:TPW-EXE:0x0059B620 advice speech] the record's two words are read when it is said: they ride the category-24 message to the tag system (0x509BF0), whose caption formatter 0x509E10 reads them (docs/LIPS.md, "Captions") |
| TPW-EXE:0x0059B620 advisor caption | source/OpenTPW.Tests/AdvisorCaptionTests.cs:40 | [BIN:TPW-EXE:0x0059B620 advisor caption] the caption is posted when the response is chosen, whatever the speech does |
| TPW-EXE:0x0059B620 advisor caption | source/OpenTPW/Client/AutomaticAdvisor.cs:535 | [BIN:TPW-EXE:0x0059B620 advisor caption] the player of the next response (0x0059A550) asks the speech (0x00599050, 0 when the advisor is off), then posts a category-24 message with the response's tag (field +0x1C of its row, 0x005997B0; 0x17F without a caption) to the tag system (0x00509BF0), which shows the tag's text in the message tube |
| TPW-EXE:0x0059B620 advisor caption | source/OpenTPW/Economy/ParkEconomy.cs:1746 | [BIN:TPW-EXE:0x0059B620 advisor caption] the advice 106 the bank's message brings says the responses 274 and 275, whose tag 128 shows TAG_SYSTEM entry 127 ("the banks have closed your park") in the message tube (AutomaticAdvisor.PostCaption); the money warnings are the captions of the advice messages 102 to 105 (entries 123 to 126) |
| TPW-EXE:0x0059B620 caption | source/OpenTPW/Hud/ParkHud.StrikeMessages.cs:17 | [BIN:TPW-EXE:0x0059B620 caption] the message's text reaches the tube as the caption of the advisor's response (the responses 97-171 of the advice 33-57 caption TAG_SYSTEM entries 38-62, the advice number plus 5), so with an advisor it is posted when that is said |
| TPW-EXE:0x0059B6BE speech score | source/OpenTPW/World/AdvisorController.cs:418 | [BIN:TPW-EXE:0x0059B6BE speech score] the speech (0x59B620) scores the record's message again through 0x59C0A0 (the descriptor's mode selector, then its callback on the live state) and says nothing when the score is below MinScoreForConsideration (0x59B6C3: signed, so a score equal to it passes); the callback also leaves the scan object's words +4 and +8 (cleared before every callback, 0x59C10F), which the speech copies into the record's id and cell words when they are not 0 (0x59B6CF..0x59B6E4); the scan's own enqueue builds its record with both words 0 (0x59A5FD) |
| TPW-EXE:0x0059B6BE speech score | source/OpenTPW/World/AdvisorController.cs:638 | [BIN:TPW-EXE:0x0059B6BE speech score] a record whose score was not given (byte +0x16 clear; the F1 replay of a tutorial sets it and takes the other speech, 0x59B870) is scored again: below the minimum nothing is said, the record is gone (0x59B649 cleared its valid byte) and no history, busy time or reservation follows (0x59A884 leaves at once) |
| TPW-EXE:0x0059B6C3 speech score | source/OpenTPW.Tests/AdvisorRecordWordsTests.cs:179 | [BIN:TPW-EXE:0x0059B6C3 speech score] a score below MinScoreForConsideration (25) says nothing; one equal to it passes (jl) |
| TPW-EXE:0x0059B7B0 caption message | source/OpenTPW/Client/AutomaticAdvisor.cs:536 | [BIN:TPW-EXE:0x0059B7B0 caption message] the message carries the record's id word and cell word (0x59B7C2..0x59B7D4: the words at +0x0 and +0x4), which the tag system's formatter (0x509E10) reads as the arguments of the text |
| TPW-EXE:0x0059B7B0 caption message | source/OpenTPW/Hud/ParkHud.AdvisorCaptions.cs:10 | [BIN:TPW-EXE:0x0059B7B0 caption message] the message carries the tag, the advice record's id word and cell word and the lifetime -1 (the tag record's own, 0x59b7cb): the tube's row has the tag's lifetime, replacement and actions |
| TPW-EXE:0x0059BA30 record serializer | source/OpenTPW/World/AdvisorController.cs:603 | [BIN:TPW-EXE:0x0059BA30 record serializer] the controller's save and load pass the record at +0x16D0 through it (0x59A1C6, 0x59A49D), so the save's current record is the last tutorial advice |
| TPW-EXE:0x0059BEA0 advisor balance | source/OpenTPW/World/AdvisorController.cs:343 | [BIN:TPW-EXE:0x0059BEA0 advisor balance] absence result (medium-high confidence): no code reads fields +0x18/+0x1C (MinTimeAnyMessage/MinTimeSameMessage) of the Advisor.sam object (static 0xFB3540, built by 0x59BEA0); +0x20 (MinScore) is read at 0x59B6C3. They are loaded and not applied |
| TPW-EXE:0x0059C0A0 descriptor score | source/OpenTPW/World/AdvisorController.cs:264 | [BIN:TPW-EXE:0x0059C0A0 descriptor score] selector 2 always passes, 0 passes only while the game-mode global 0xFB3B7C is 0, 1 only while it is 2; any other state scores -1 and nothing is said |
| TPW-EXE:0x0059C10F scan words reset | source/OpenTPW.Tests/AdvisorScanWordsTests.cs:97 | [BIN:TPW-EXE:0x0059C10F scan words reset] the next lookup zeroes them before the mode selector: a row the mode excludes scores -1 with both words 0 |
| TPW-EXE:0x0059C10F scan words reset | source/OpenTPW/World/AdvisorScan.cs:64 | [BIN:TPW-EXE:0x0059C10F scan words reset] 0x59C109-0x59C115: once the row is found (0x59C0FE) the word at +4 and the dword at +8 of the scan object are zeroed, before the mode selector (0x59C177) and whether or not the callback is called; 0x59C213-0x59C228 then copies both into the caller's two out arguments |
| TPW-EXE:0x0059C6A8 cursor wrap | source/OpenTPW/World/AdvisorScan.cs:96 | [BIN:TPW-EXE:0x0059C6A8 cursor wrap] CMP [cursor], 0x15F; JL: a cursor at 351 or above restarts at 0 before the row is read |
| TPW-EXE:0x0059C6A8 scan loop | source/OpenTPW/World/AdvisorScan.cs:157 | [BIN:TPW-EXE:0x0059C6A8 scan loop] the counter at [esp+0x10] is incremented only at 0x59C822, reached for a scored row; a row with a nonzero first word jumps to 0x59C826 (cursor + 1) without counting, so the call goes on to the next row |
| TPW-EXE:0x0059C730 mode selector | source/OpenTPW/World/AdvisorScan.cs:133 | [BIN:TPW-EXE:0x0059C730 mode selector] word +0xC: 2 always calls the callback, 0 only while the game-mode global 0xFB3B7C is 0, 1 only while it is 2; anything else scores -1 |
| TPW-EXE:0x0059C7DD best score | source/OpenTPW/World/AdvisorScan.cs:158 | [BIN:TPW-EXE:0x0059C7DD best score] a score strictly above the best so far (0 at the start) that passes 0x59ABC0 becomes the result |
| TPW-EXE:0x0059C8D0 open park | source/OpenTPW/World/AdvisorScanChallenges.cs:269 | [BIN:TPW-EXE:0x0059C8D0 open park] the park open gives 0; without a ride (0x4CA8E0 of kind 0, level 0) and without a sideshow (kind 2) it is 0 as well; else the guests waiting at the gate (0x4C91C0) times the word at +0xA4 |
| TPW-EXE:0x0059C960 close park | source/OpenTPW/World/AdvisorScanChallenges.cs:281 | [BIN:TPW-EXE:0x0059C960 close park] only with the park open (0x4C9050), and with neither a ride nor a sideshow built: the word at +0xA8 |
| TPW-EXE:0x0059C9D0 park callbacks | source/OpenTPW/World/AdvisorController.cs:172 | [BIN:TPW-EXE:0x0059C9D0 park callbacks] the rides, cleanliness and guest mood rows (AdvisorParkCallbacks): a computed score has no flat key, so its row names the key of its multiplier; the rows with a flat score name that score |
| TPW-EXE:0x0059C9D0 thirsty | source/OpenTPW/World/AdvisorScanPark.cs:319 | [BIN:TPW-EXE:0x0059C9D0 thirsty] the guests above the byte at +0xB0 (0x4C93F0) times the word at +0xAC; 0x0059CA00 is the same for hunger (+0xB8, +0xB4) |
| TPW-EXE:0x0059CA30 worn rides | source/OpenTPW/World/AdvisorScanPark.cs:323 | [BIN:TPW-EXE:0x0059CA30 worn rides] no mechanic (0x4C9960 of 4 above 0 gives 0); then the rides worn or broken below the percent at +0xC0 (0x4CA3A0) times the word at +0xBC |
| TPW-EXE:0x0059CA80 broken rides | source/OpenTPW/World/AdvisorScanPark.cs:328 | [BIN:TPW-EXE:0x0059CA80 broken rides] no mechanic; the rides broken down (0x4CA310) times the word at +0xC4 |
| TPW-EXE:0x0059CAC0 too few mechanics | source/OpenTPW/World/AdvisorScanPark.cs:333 | [BIN:TPW-EXE:0x0059CAC0 too few mechanics] the days since the hire stamp (0x4C90D0) must reach the word at +0x630 (signed); rides (0x4CA8E0 of 0, 0) minus mechanics times the word at +0xC8 must be above 0: that times the word at +0xCC |
| TPW-EXE:0x0059CB40 litter, no handyman | source/OpenTPW/World/AdvisorScanPark.cs:344 | [BIN:TPW-EXE:0x0059CB40 litter, no handyman] the park open, no handyman (0x4C9960 of 5 above 0 gives 0), litter points (0x4CCDF0) at most the word at +0xD8: the word at +0xD0 times them minus the word at +0xD4 |
| TPW-EXE:0x0059CBB0 litter, many | source/OpenTPW/World/AdvisorScanPark.cs:354 | [BIN:TPW-EXE:0x0059CBB0 litter, many] the park open, no handyman, litter points at least the word at +0xE0: the word at +0xDC times them minus the word at +0xE0 |
| TPW-EXE:0x0059CC20 cells per handyman | source/OpenTPW/World/AdvisorScanPark.cs:364 | [BIN:TPW-EXE:0x0059CC20 cells per handyman] the park open and at least one handyman; the developed cells (0x4C81B0) at least the word at +0xEC; cells minus handymen times the word at +0xE4 above 0: that times the word at +0xE8 |
| TPW-EXE:0x0059CCB0 hire guards, busy | source/OpenTPW/World/AdvisorScanStaff.cs:277 | [BIN:TPW-EXE:0x0059CCB0 hire guards, busy] the park open; the days since the hire stamp (0x4C90D0) at least the word at +0x630 (WaitingTimes.DaysForStaff, signed); no guard (0x4C9960 of 7 above 0 gives 0); the busy points (0x4C81E0) minus the word at +0xF0 times the word at +0xF4, unclamped |
| TPW-EXE:0x0059CD30 hire guards, pranks | source/OpenTPW/World/AdvisorScanInputs.cs:103 | [BIN:TPW-EXE:0x0059CD30 hire guards, pranks] the park open (0x51A280, the closed flag, gives 0); a guard in the park (0x4C9960 of 7 above 0) gives 0; else the kids the guards went after this month (0x4C94A0 of 0) times the word +0xFC plus the word +0xF8: unclamped |
| TPW-EXE:0x0059CD90 cells per guard | source/OpenTPW/World/AdvisorScanStaff.cs:287 | [BIN:TPW-EXE:0x0059CD90 cells per guard] the park open; the days since the hire stamp at least the word at +0x630; the developed cells (0x4C81B0 of 0) at least the word at +0x108; cells minus guards (0x4C9960 of 7) times the word at +0x100 above 0: that times the word at +0x104 |
| TPW-EXE:0x0059CE30 hire entertainers | source/OpenTPW/World/AdvisorScanStaff.cs:301 | [BIN:TPW-EXE:0x0059CE30 hire entertainers] the park open; no entertainer (0x4C9960 of 6 above 0 gives 0); the guests whose happiness byte is below 30 (0x4C9750 of 0x1E) as a percent of the census above 30; the busy points minus the word at +0x10C times the word at +0x110 |
| TPW-EXE:0x0059CEA0 hire researchers, few types built | source/OpenTPW/World/AdvisorScanQueues.cs:177 | [BIN:TPW-EXE:0x0059CEA0 hire researchers, few types built] the park open, no researcher (0x4C9960 of 8 above 0 gives 0), ride research outstanding (0x4CA630), ride types available (0x4CA450 of 0) above 0 and not all built (0x4CA7B0 of 0, 0): built x 100 / available (a signed divide) above the word at +0x114 gives the excess times the word at +0x118 |
| TPW-EXE:0x0059CEA0 queues, prices and research callbacks | source/OpenTPW/World/AdvisorController.cs:187 | [BIN:TPW-EXE:0x0059CEA0 queues, prices and research callbacks] the researchers, research-more, upgrade, ticket price and shop value rows (AdvisorQueuesCallbacks); a computed score names the key of its multiplier |
| TPW-EXE:0x0059CF50 hire researchers, every type built | source/OpenTPW/World/AdvisorScanQueues.cs:194 | [BIN:TPW-EXE:0x0059CF50 hire researchers, every type built] the same three tests, then the built ride types (0x4CA7B0) equal to the available ones (0x4CA450), with no test for 0 of 0: the flat word at +0x11C |
| TPW-EXE:0x0059CFE0 hire researchers, slow research | source/OpenTPW/World/AdvisorScanQueues.cs:204 | [BIN:TPW-EXE:0x0059CFE0 hire researchers, slow research] the park open and a research total (0x4C9ED0) above 0; the park clock's months (0x4F8800 / 30 days, signed) at least the word at +0x120; a researcher hired (0x4C9960 of 8) and a researcher in the hiring pool (0x4C9E40 of 4); the research done (0x4C9E60) x 100 / the total (unsigned) below the word at +0x124: the flat word at +0x128 |
| TPW-EXE:0x0059D0C0 set a patrol area | source/OpenTPW/World/AdvisorScanStaff.cs:311 | [BIN:TPW-EXE:0x0059D0C0 set a patrol area] 0x59D0C0 (mechanics, role 4), 0x59D250 (handymen, 5), 0x59D400 (guards, 7) and 0x59D4C0 (entertainers, 6) share the shape: the park's months (0x4F8800 / 30 days) at least the first word; the staff of the role (0x4C9960) |
| TPW-EXE:0x0059D180 mechanic coverage | source/OpenTPW/World/AdvisorScanInputs.cs:111 | [BIN:TPW-EXE:0x0059D180 mechanic coverage] the park's months (0x4F8800 / 30 days) at least the word +0x138 (the area line's MonthsIntoGameForConsideration); the mechanics (0x4C9960 of 4) at least the word +0x12C (AtLeastThisMany, a signed compare); at least one with an area of his own (0x4C9B40 of 4 not 0); |
| TPW-EXE:0x0059D310 handyman and entertainer coverage | source/OpenTPW/World/AdvisorScanInputs.cs:124 | [BIN:TPW-EXE:0x0059D310 handyman and entertainer coverage] 0x59D310 (handymen, role 5, class 3: the path and queue cells) and 0x59D580 (entertainers, role 6, class 1: the built cells) share the shape: the park's months at least the area line's word (+0x150, +0x188); |
| TPW-EXE:0x0059D3B0 build a camera | source/OpenTPW/World/AdvisorScanInputs.cs:144 | [BIN:TPW-EXE:0x0059D3B0 build a camera] a guard in the park (0x4C9960 of 7 not 0) and the kids that got away this month (0x4C94A0 of 1) above the word +0x15C (AcceptableTrouble, a signed compare): the flat word +0x160 |
| TPW-EXE:0x0059D620 train a role | source/OpenTPW/World/AdvisorScanStaff.cs:326 | [BIN:TPW-EXE:0x0059D620 train a role] 0x59D620 (mechanics), 0x59D680 (handymen), 0x59D6E0 (guards), 0x59D740 (entertainers) and 0x59D7A0 (researchers) share the shape: the role has staff (0x4C9960 not 0); its budget word in the staff HQ (0x519450 +0x10, +0xC, +0x18, +0x14, +0x1C) is not above 0; |
| TPW-EXE:0x0059D620 training budget | source/OpenTPW/World/AdvisorScanStaff.cs:77 | [BIN:TPW-EXE:0x0059D620 training budget] the staff HQ keeps one budget word per role from +0xC in the order handyman, mechanic, entertainer, guard, researcher (the training window stores them at 0x4B2534-0x4B25CB); the callbacks read the word of their role as a signed integer |
| TPW-EXE:0x0059D800 staff score getters | source/OpenTPW/World/AdvisorController.cs:124 | [BIN:TPW-EXE:0x0059D800 staff score getters] the callbacks of the descriptors 33-57 return the fields +0x1BC to +0x21C, StaffUnhappy, StaffVeryUnhappy, StaffStriking, StaffHappier and StrikeEnd(Bad) for the five roles in turn |
| TPW-EXE:0x0059D990 poor selection | source/OpenTPW/World/AdvisorScanPark.cs:383 | [BIN:TPW-EXE:0x0059D990 poor selection] 0x59DCA0 (shops), 0x59DF30 (sideshows) and 0x59E1C0 (features) share the shape: types available (0x4CA450 of 0 for rides, else 0x4CA510, 0x4CA570, 0x4CA5D0) above 0; the days since the object stamp (0x4C9070) at least the word at +0x634; the standing objects of the kind (0x4CA8E0) at least the 'more than' word (both signed); built types x 100 / available (unsigned) below the 'poorer than' word (unsigned): the flat score |
| TPW-EXE:0x0059DA30 research more | source/OpenTPW/World/AdvisorScanQueues.cs:215 | [BIN:TPW-EXE:0x0059DA30 research more] 0x59DA30 (rides), 0x59DD40 (shops), 0x59DFD0 (sideshows) and 0x59E260 (features): a researcher hired (0x4C9960 of 8), a type of the kind built (0x4CA7B0 of the kind, 0), research of the category outstanding (0x4CA630-0x4CA690) and, but for the features, a research rate (0x503980 of the category) of 0, then the kind's built types equal to its available ones (0x4CA450, 0x4CA510, 0x4CA570, 0x4CA5D0; only the rides' skip the golden ticket types): the flat score. None tests the park open |
| TPW-EXE:0x0059DAD0 build rides | source/OpenTPW/World/AdvisorScanPark.cs:394 | [BIN:TPW-EXE:0x0059DAD0 build rides] no ride type was ever built (0x4CA7B0 of 0 with the flag 1): the flat word at +0x230 plus the days since the start (0x4F8800 / one day) times the word at +0x234 |
| TPW-EXE:0x0059DB04 days since start | source/OpenTPW/World/AdvisorScanPark.cs:96 | [BIN:TPW-EXE:0x0059DB04 days since start] 0x4F8800 (world + 0x2A0) divided by 0xC92A69C000 with __alldiv |
| TPW-EXE:0x0059DB40 no upgrades | source/OpenTPW/World/AdvisorScanQueues.cs:228 | [BIN:TPW-EXE:0x0059DB40 no upgrades] the park clock's months (signed) at least the word at +0x238, a researcher hired, no ride type with a researched upgrade (0x4CA4C0 of 0 above 0 gives 0) and an upgrade research rate (0x503980 of 4) of 0: the flat word at +0x23C |
| TPW-EXE:0x0059DBF0 more upgrades | source/OpenTPW/World/AdvisorScanQueues.cs:238 | [BIN:TPW-EXE:0x0059DBF0 more upgrades] a researcher hired, the ride types with a researched upgrade (0x4CA4C0) above 0 and not above the word at +0x240 (signed), an upgrade research rate of 0: the flat word at +0x244 |
| TPW-EXE:0x0059DC60 breakdown score getters | source/OpenTPW/World/AdvisorController.cs:125 | [BIN:TPW-EXE:0x0059DC60 breakdown score getters] 66, 68 and 69 return +0x248, +0x24C and +0x250 (RidesBreakdownImminent, NoMechanics, BusyMechanics; 70 is +0x254) |
| TPW-EXE:0x0059DDE0 build the first | source/OpenTPW/World/AdvisorScanPark.cs:399 | [BIN:TPW-EXE:0x0059DDE0 build the first] 0x59DDE0, 0x59E070 and 0x59E2E0 share the shape: the previous kind's types were built (0x4CA7B0, rides for the shops, shops for the sideshows, sideshows for the features: the original asks for the previous kind, not for rides); the days since the object stamp at least the word at +0x634; none of this kind's types built: the flat score plus the days since the start times the 'per day' word |
| TPW-EXE:0x0059DE80 more shops | source/OpenTPW/World/AdvisorScanPark.cs:405 | [BIN:TPW-EXE:0x0059DE80 more shops] shop types built (0x4CA7B0 of 1), the days since the object stamp, then the original counts the shop types a second time where 0x59E110 counts the rides (push 1, not push 0, at 0x59DEC9): the product of that second count and the single at +0x270 must exceed the first, which no ratio below 1 allows; then the balance above the word at +0x274 (signed): the flat score |
| TPW-EXE:0x0059E110 more sideshows | source/OpenTPW/World/AdvisorScanPark.cs:409 | [BIN:TPW-EXE:0x0059E110 more sideshows] sideshow types built (0x4CA7B0 of 2), the days since the object stamp, the ride types built (0x4CA7B0 of 0) times the single at +0x294 above the sideshows (fild, fmul, fcompp), the balance above the word at +0x298: the flat score |
| TPW-EXE:0x0059E260 features research | source/OpenTPW/World/AdvisorScanQueues.cs:124 | [BIN:TPW-EXE:0x0059E260 features research] the only one of the four that does not look at the research rate |
| TPW-EXE:0x0059E380 no toilets | source/OpenTPW/World/AdvisorScanPark.cs:426 | [BIN:TPW-EXE:0x0059E380 no toilets] the park open and no toilet (0x4C9EE0); the guests needing the toilet above the byte at +0x2B8 (0x4C9290) x 100 / the guests in the park (0x4C9130, signed, none gives 0) above the word at +0x2BC: the flat score |
| TPW-EXE:0x0059E420 toilet figure | source/OpenTPW/World/AdvisorController.cs:181 | [BIN:TPW-EXE:0x0059E420 toilet figure] the callback returns 0 on every path |
| TPW-EXE:0x0059E420 toilet figure | source/OpenTPW/World/AdvisorScanPark.cs:288 | [BIN:TPW-EXE:0x0059E420 toilet figure] with the park open it calls the per-toilet statistic 0x4CCA40 and pops its result unused (fstp st(0)); every path returns 0, so the line never passes |
| TPW-EXE:0x0059E450 dirty toilets | source/OpenTPW/World/AdvisorScanPark.cs:436 | [BIN:TPW-EXE:0x0059E450 dirty toilets] 0x59E450-0x59E680: the park open; no handyman (0x59E450, 0x59E5D0) or a handyman (0x59E510, 0x59E680); a toilet exists (the worst toilet's handle 0x4CA220 is not 0); the mean filth (0x4CA160) at least the first threshold and, when there is an upper one, at most it: the points word times the filth |
| TPW-EXE:0x0059E730 ticket too expensive | source/OpenTPW/World/AdvisorScanQueues.cs:254 | [BIN:TPW-EXE:0x0059E730 ticket too expensive] the park's ring 0 holds its 50 values (0x4C9920 of 0), its mean (0x4C9830 of 0, a byte compared as a word) is below the word at +0x2F0: the flat word at +0x2F4; 0x0059E790 is the same for a mean above the word at +0x2F8 and the word at +0x2FC |
| TPW-EXE:0x0059E7F0 research score getters | source/OpenTPW/World/AdvisorController.cs:126 | [BIN:TPW-EXE:0x0059E7F0 research score getters] 93-97 return +0x300 to +0x310 (the ride, add-on, shop, sideshow and feature researched scores), 133-136 +0x3F4 to +0x400 (NewResearchGroup ride, shop, sideshow, feature) and 167 the constant 0x2710 |
| TPW-EXE:0x0059E840 lax security | source/OpenTPW/World/AdvisorScanInputs.cs:152 | [BIN:TPW-EXE:0x0059E840 lax security] the kids that got away this month (0x4C94A0 of 1) above the word +0x314 (MoreThanThisGotAway, a signed compare): that count times the word +0x318; no park-open test |
| TPW-EXE:0x0059E890 ticket score getters | source/OpenTPW/World/AdvisorScanChallenges.cs:155 | [BIN:TPW-EXE:0x0059E890 ticket score getters] 215-227 return the word at +0x31C, GeneralWonGoldenTicket.Score; 311 +0x5B4 (WonFirstGoldenTicket.Score, 0x5A0520), 315 +0x5C0 (GoldTicketCluesForRemainder.Score, 0x5A0590) and 270, 272, 273 +0x62C (Challenge.Score, 0x5A0A30) like 271 |
| TPW-EXE:0x0059E8C0 help score | source/OpenTPW/World/AdvisorController.cs:81 | [BIN:TPW-EXE:0x0059E8C0 help score] the score callback of the 82 help descriptors returns the balance field at +0x328, the Advisor.sam key HelpMessage.Score (1000 shipped); 81 of them are bound here (HelpMessages): message 291 names the absent response 551, so advisor-help-messages.toml leaves it out (docs/reverse/ADVISOR-SCAN.md) |
| TPW-EXE:0x0059E8D0 WealthHigh | source/OpenTPW/World/AdvisorScan.cs:245 | [BIN:TPW-EXE:0x0059E8D0 WealthHigh] balance (0x6AD810) greater than the word at +0x330 (signed) and no loan taken (0x4D0690 == 0): the word at +0x334 |
| TPW-EXE:0x0059E8D0 money callbacks | source/OpenTPW/World/AdvisorController.cs:162 | [BIN:TPW-EXE:0x0059E8D0 money callbacks] 100 returns +0x334 (WealthHigh.Score), 101 +0x33C (WealthHighRepayLoan.Score), 102 +0x340 (TakeLoan.Score), 103 +0x344 (InTheRedSixMonths.Score), 104 +0x348 (InTheRedThreeMonths.Score), 105 +0x34C (InTheRedMonthLeft.Score) and 107 +0x35C (WagesHigh.Score) |
| TPW-EXE:0x0059E910 WealthHighRepayLoan | source/OpenTPW/World/AdvisorScan.cs:255 | [BIN:TPW-EXE:0x0059E910 WealthHighRepayLoan] diff = balance − total debt (0x4D0A00), a signed word; the cheapest loan (0x4D09A0) must exist (≥ 0); its repayment (0x4D0970, read as an unsigned word) × the single at +0x338 must be below diff converted to a single: the word at +0x33C |
| TPW-EXE:0x0059E9B0 TakeLoan | source/OpenTPW/World/AdvisorScan.cs:269 | [BIN:TPW-EXE:0x0059E9B0 TakeLoan] balance < 0 (signed) and a loan can still be taken (0x4D0810): the word at +0x340 |
| TPW-EXE:0x0059E9F0 InTheRed | source/OpenTPW/World/AdvisorScan.cs:273 | [BIN:TPW-EXE:0x0059E9F0 InTheRed] 103, 104 and 105 share the shape: balance < 0 and no loan available, then the months in the red (0x4D0260 divided by 0x1792F8648000 with __alldiv): below 3 gives +0x344, 3 or 4 gives +0x348 (CMP 3 JL, CMP 5 JGE), exactly 5 gives +0x34C |
| TPW-EXE:0x0059EB80 WagesHigh | source/OpenTPW/World/AdvisorScan.cs:277 | [BIN:TPW-EXE:0x0059EB80 WagesHigh] the park clock must have run 3 months (0x4F8800 / 0x1792F8648000 ≥ 3); n = the word at +0x358 months, cut to what the ring holds; the average (truncated) of the n newest months of the wages ring (+0x1F7F0) must exceed the same average of the money-in ring (+0x1FC90) × the single at +0x354: the word at +0x35C |
| TPW-EXE:0x0059EDD0 too many staff | source/OpenTPW/World/AdvisorScanStaff.cs:337 | [BIN:TPW-EXE:0x0059EDD0 too many staff] 0x59EDD0 (handymen, role 5), 0x59EE20 (entertainers, 6), 0x59EE70 (mechanics, 4), 0x59EEC0 (guards, 7) and 0x59EF10 (researchers, 8): the staff of the role above the rides (0x4CA8E0 of 0, 0) plus the word FudgeFactor: the flat score |
| TPW-EXE:0x0059EF60 unconnected queue | source/OpenTPW/World/AdvisorScanInputs.cs:161 | [BIN:TPW-EXE:0x0059EF60 unconnected queue] the first queue ride that joins no path (0x4CCB00 with the flag 0, so the selected object is left out) gives the flat word +0x388; none gives 0. The callback stores the returned handle, a thing id, in the scan object's word +4 right after the call (0x59EF83) and before the test of it; the speech copies it into the advice record (0x59B6CF), which the tube's locate button reads |
| TPW-EXE:0x0059EFA0 at the limit | source/OpenTPW/World/AdvisorScanStaff.cs:345 | [BIN:TPW-EXE:0x0059EFA0 at the limit] 0x59EFA0 (handymen), 0x59F020 (entertainers), 0x59F0A0 (mechanics), 0x59F120 (guards) and 0x59F1A0 (researchers): the role's limit word (0x7852E8, F0, EC, F4, F4 for the researchers: the original's copy slip) equals the word MoreThan and the staff of the role (0x4C9960) |
| TPW-EXE:0x0059EFE0 at the limit again | source/OpenTPW/World/AdvisorScanStaff.cs:354 | [BIN:TPW-EXE:0x0059EFE0 at the limit again] 0x59EFE0, 0x59F060, 0x59F0E0, 0x59F160 and 0x59F1E0: the limit word is not the word MoreThan (the first line's), and the staff of the role equal the limit exactly: the second flat score |
| TPW-EXE:0x0059F1A0 researchers at the limit | source/OpenTPW/World/AdvisorScanStaff.cs:233 | [BIN:TPW-EXE:0x0059F1A0 researchers at the limit] the original compares the guards' limit (0x7852F4) with MaxGuards.MoreThan here and counts the researchers against MaxResearchers.MoreThan: a copy of the guards' callback with the count swapped |
| TPW-EXE:0x0059F220 hype new park | source/OpenTPW/World/AdvisorScanChallenges.cs:291 | [BIN:TPW-EXE:0x0059F220 hype new park] the park's age in whole 30-day months (0x4F8800 / 0x1792F8648000, signed) below the word at +0x3C8; at least two arrival groups in the ring (+0x216D8: the count is the capacity once the filled flag is set, else the index + 1); the previous group nonzero and above the newest; and 100 minus the newest x 100 / the previous (signed) above the word at +0x3CC: the word at +0x3D0 |
| TPW-EXE:0x0059F440 big busload | source/OpenTPW/World/AdvisorScanChallenges.cs:306 | [BIN:TPW-EXE:0x0059F440 big busload] at least one arrival group in the ring and the newest above the word at +0x410: the word at +0x414; the callback also stores the cell 0x4D8650 names for the flag 1, the second bus stop (FixedItemInfo.BusStopB), in the dword +8 (0x59F4DD, zero-extended from the word), which the speech copies into the record's cell word |
| TPW-EXE:0x0059F4F0 visitors too scared | source/OpenTPW/World/AdvisorScanInputs.cs:175 | [BIN:TPW-EXE:0x0059F4F0 visitors too scared] the park open (0x4C9050); the rides (0x4CA8E0 of 0, 0) at least the word +0x41C (MinimumRides, a signed compare); the mean live excitement of the rides (0x4CCBF0 with the age 10, cached) above the word +0x418 (AverageScarierThan): the flat word +0x420. |
| TPW-EXE:0x0059F590 staff happy | source/OpenTPW/World/AdvisorScanStaff.cs:363 | [BIN:TPW-EXE:0x0059F590 staff happy] all the staff (0x4C9A10) at least the word MinimumStaff (+0x42C, signed); the staff's mean happiness (0x4C7CC0, a single) at least the word HappierThan (fild, fcompp: only a larger word stops it): the flat score |
| TPW-EXE:0x0059F5E0 visitors happy | source/OpenTPW/World/AdvisorScanPark.cs:454 | [BIN:TPW-EXE:0x0059F5E0 visitors happy] the guests in the park (0x4C9130) at least the word at +0x438 (signed); the mean happiness (0x4C7BB0, a single) at least the word at +0x43C (fcompp: only a larger threshold stops it): the flat score |
| TPW-EXE:0x0059F630 staff trained | source/OpenTPW/World/AdvisorScanStaff.cs:371 | [BIN:TPW-EXE:0x0059F630 staff trained] 0x59F630 (guards, +0x18), 0x59F6A0 (researchers, +0x1C), 0x59F710 (handymen, +0xC), 0x59F780 (entertainers, +0x14) and 0x59F7F0 (mechanics, +0x10): the role's budget word in the staff HQ above 0; the staff of the role above the word Minimum (0x4C9960, signed); the average training (0x4C9C00) above the word BetterThan: the flat score |
| TPW-EXE:0x0059F860 congratulations | source/OpenTPW/World/AdvisorScanChallenges.cs:320 | [BIN:TPW-EXE:0x0059F860 congratulations] the park value (0x4C7DB0 with age 10) above the word at +0x480, the guests in the park (0x4C9130) above the word at +0x488 and the mean happiness (0x4C7BB0) above the word at +0x484 (the integer loaded with fild, compared as the x87 does, the happiness strictly above): the word at +0x48C; 0x59F8D0 is the same with +0x490, +0x498, +0x494 and +0x49C |
| TPW-EXE:0x0059F940 balloons | source/OpenTPW/World/AdvisorScanPark.cs:462 | [BIN:TPW-EXE:0x0059F940 balloons] the guests holding a balloon (0x4C9530) above the word at +0x4A0 (signed): the flat score; 0x0059F970 is the same for the costumes (0x4C95D0, +0x4A8) |
| TPW-EXE:0x0059F9C0 need a staff room | source/OpenTPW/World/AdvisorScanStaff.cs:381 | [BIN:TPW-EXE:0x0059F9C0 need a staff room] the park's months (0x4F8800 / 30 days) at least 3; the tired staff (0x4C9AA0) x 100 / all the staff (0x4C9A10, signed; none gives 0) above the word PctOfStaffTired (+0x4B8): the flat score |
| TPW-EXE:0x0059FA60 hire staff | source/OpenTPW/World/AdvisorScanStaff.cs:391 | [BIN:TPW-EXE:0x0059FA60 hire staff] the park open; the visitors so far (0x4C94C0) at least the word MinVisitorsEver (+0x4C4, signed); no staff at all (0x4C9A10): the flat score |
| TPW-EXE:0x0059FAC0 set patrols | source/OpenTPW/World/AdvisorScanStaff.cs:399 | [BIN:TPW-EXE:0x0059FAC0 set patrols] all the staff (0x4C9A10) above the word MinStaffForMessage (+0x4C8, signed) and none of them with a patrol area (0x4C9B40 of 0, every role): the flat score |
| TPW-EXE:0x0059FB10 ever trained | source/OpenTPW/World/AdvisorScanStaff.cs:80 | [BIN:TPW-EXE:0x0059FB10 ever trained] the byte +0x20 of the HQ's record, which the training window sets to 1 once a budget above 0 is stored (0x4B25D0) and nothing clears but the HQ's reset |
| TPW-EXE:0x0059FB10 train staff | source/OpenTPW/World/AdvisorScanStaff.cs:407 | [BIN:TPW-EXE:0x0059FB10 train staff] all the staff (0x4C9A10) above the word MinStaffForMessage (+0x4D0, signed) and the staff HQ's mHaveEverTrained byte (0x519450 +0x20) clear: the flat score |
| TPW-EXE:0x0059FB10 train staff general | source/OpenTPW/Economy/OriginalEconomyImport.cs:580 | [BIN:TPW-EXE:0x0059FB10 train staff general] the byte mHaveEverTrained (+0x20 of the HQ's budget record) is read by the advisor's train-your-staff line; the save's value replaces what the budgets above implied |
| TPW-EXE:0x0059FB60 poor value | source/OpenTPW/World/AdvisorScanQueues.cs:133 | [BIN:TPW-EXE:0x0059FB60 poor value] 0x59FB60-0x59FD20 (food, shops, restaurant, drinks, sideshows) |
| TPW-EXE:0x0059FB60 shop figure | source/OpenTPW/World/AdvisorScanQueues.cs:265 | [BIN:TPW-EXE:0x0059FB60 shop figure] 0x59FB60-0x5A0290 share the shape: the group's helper picks a shop (a handle of 0 gives 0); the worst figure of a "poor" line must be below the first word, the best of a "great" line above it (signed); the score is (figure - the word) x the second word with the figure first, so a poor line's is negative for a positive multiplier and never passes; on the passing side only (0x59FB8A, 0x59FBAA-0x59FBBC, 0x5A0182-0x5A018E) the handle goes to the object's +4 and the figure to +8, which the speech copies into the advice record |
| TPW-EXE:0x0059FD90 poor satisfaction | source/OpenTPW.Tests/AdvisorScanWordsTests.cs:228 | [BIN:TPW-EXE:0x0059FD90 poor satisfaction] below the threshold the figure goes to +8 as it is, a negative one as a 32-bit word |
| TPW-EXE:0x0059FD90 poor satisfaction | source/OpenTPW/World/AdvisorScanQueues.cs:136 | [BIN:TPW-EXE:0x0059FD90 poor satisfaction] 0x59FD90-0x59FF50; the sideshows' (0x59FF50) calls the sideshow value helper 0x4CC090 where the other four call a satisfaction helper |
| TPW-EXE:0x0059FFC0 great value | source/OpenTPW/World/AdvisorScanQueues.cs:139 | [BIN:TPW-EXE:0x0059FFC0 great value] 0x59FFC0-0x5A0100 |
| TPW-EXE:0x005A0150 great satisfaction | source/OpenTPW.Tests/AdvisorScanWordsTests.cs:206 | [BIN:TPW-EXE:0x005A0150 great satisfaction] a figure above the threshold (63 for the drinks) stores the handle in +4 and the figure in +8, and returns (figure - threshold) x multiplier |
| TPW-EXE:0x005A0150 great satisfaction | source/OpenTPW/World/AdvisorScanQueues.cs:142 | [BIN:TPW-EXE:0x005A0150 great satisfaction] 0x5A0150-0x5A0290 |
| TPW-EXE:0x005A02E0 ride condemned | source/OpenTPW/World/AdvisorController.cs:138 | [BIN:TPW-EXE:0x005A02E0 ride condemned] the callback returns the word at +0x578, RideCondemned.Score |
| TPW-EXE:0x005A02F0 rides closed | source/OpenTPW/World/AdvisorScanPark.cs:469 | [BIN:TPW-EXE:0x005A02F0 rides closed] the park open; rides (0x4CA8E0 of 0, 0) at least the word at +0x57C and above 0; closed rides (0x4CA9B0) x 100 / rides above the word at +0x580: the flat score |
| TPW-EXE:0x005A0370 shops closed | source/OpenTPW/World/AdvisorScanPark.cs:480 | [BIN:TPW-EXE:0x005A0370 shops closed] objects of the kind (0x4CA8E0 of the kind, 0) above 0; closed ones (0x4CA9B0) x 100 / them above the percent word: the flat score; 0x005A03D0 is the same for the sideshows. Neither tests the park open |
| TPW-EXE:0x005A0430 toilets closed | source/OpenTPW/World/AdvisorScanPark.cs:489 | [BIN:TPW-EXE:0x005A0430 toilets closed] toilets (0x4C9EE0) above 0; closed toilets (0x4C9F90) x 100 / toilets above the word at +0x598: the flat score |
| TPW-EXE:0x005A0490 staff rooms closed | source/OpenTPW/World/AdvisorScanStaff.cs:415 | [BIN:TPW-EXE:0x005A0490 staff rooms closed] staff rooms (0x4CA030) above 0; the closed ones (0x4CA0C0) x 100 / the staff rooms (signed) above the word MoreThanThisPercentClosed (+0x5A0): the flat score. No park-open test |
| TPW-EXE:0x005A04F0 lots of pranks | source/OpenTPW/World/AdvisorScanInputs.cs:191 | [BIN:TPW-EXE:0x005A04F0 lots of pranks] the kids the guards went after this month (0x4C94A0 of 0) above the word +0x5A8 (MorePrankstersThan, a signed compare): the flat word +0x5AC; no park-open test |
| TPW-EXE:0x005A0530 near to the first ticket | source/OpenTPW/World/AdvisorScanChallenges.cs:369 | [BIN:TPW-EXE:0x005A0530 near to the first ticket] the player holds no ticket (0x4D4AC0) and the lifetime visitors (0x4C94C0) are above the visitors threshold (0x785790) x the single at +0x5B8, truncated: the word at +0x5BC |
| TPW-EXE:0x005A05A0 near to the visitors ticket | source/OpenTPW/World/AdvisorScanChallenges.cs:379 | [BIN:TPW-EXE:0x005A05A0 near to the visitors ticket] the lifetime visitors above the visitors threshold x the single at +0x5C4, truncated, and the visitors ticket (0x5AF7F0 of 0) not won: the word at +0x5C8 |
| TPW-EXE:0x005A05F0 near to the happiness ticket | source/OpenTPW/World/AdvisorScanChallenges.cs:389 | [BIN:TPW-EXE:0x005A05F0 near to the happiness ticket] the mean happiness (0x4C7BB0) above the happiness threshold (0x785798) x the single at +0x5CC truncated to an integer, the guests in the park (0x4C9130) above 0x78579C and the happiness ticket (index 2) not won: the word at +0x5D0 |
| TPW-EXE:0x005A06C0 tutorial days | source/OpenTPW/World/AdvisorScanChallenges.cs:330 | [BIN:TPW-EXE:0x005A06C0 tutorial days] the park's age in whole days (0x4F8800 / 0xC92A69C000) above the word at +0x5DC and below the word at +0x5E0 (signed): the word at +0x5E4; 0x5A0720 is the same with +0x5E8, +0x5EC and +0x5F0 |
| TPW-EXE:0x005A0780 gold ticket explanation | source/OpenTPW/World/AdvisorScanChallenges.cs:365 | [BIN:TPW-EXE:0x005A0780 gold ticket explanation] the ring of arrival groups (+0x216D8) holds exactly one: the word at +0x5F4 |
| TPW-EXE:0x005A07D0 all researched | source/OpenTPW/World/AdvisorScanChallenges.cs:352 | [BIN:TPW-EXE:0x005A07D0 all researched] the park open and the share of the object types with a golden ticket cost that were built (0x4CA740) above the word at +0x5FC and not above the word at +0x604 (the next group's): the word at +0x600; 0x5A0820 is +0x604, +0x60C and +0x608, 0x5A0870 +0x60C and +0x610 with no upper bound |
| TPW-EXE:0x005A08B0 amount of visitors | source/OpenTPW/World/AdvisorScanChallenges.cs:339 | [BIN:TPW-EXE:0x005A08B0 amount of visitors] the park open (0x51A280 clear) and the people ticket's threshold (0x785794) nonzero: the guests in the park x 100 / that threshold (signed), cut to 100, above the word at +0x614: the word at +0x618; 0x5A0930 is +0x61C and +0x620, 0x5A09B0 +0x624 and +0x628 |
| TPW-EXE:0x005AF5D0 ticket count | source/OpenTPW/Economy/ParkEconomy.cs:210 | [BIN:TPW-EXE:0x005AF5D0 ticket count] the HUD's counter handler 0x4A0FB0 (at 0x4A10CD) and the purchase check 0x4D4AD0 read the player ticket object's earned count (the four global flags once, the six local bytes of every park, the two secret flags) less its spent count (+0x1C) |
| TPW-EXE:0x005AF5D0 ticket count | source/OpenTPW/Hud/ParkHud.cs:409 | [BIN:TPW-EXE:0x005AF5D0 ticket count] [EXT:sandbox] [EXT:online-coop-snapshot-join] (a park outside the player's progress counts its own tickets: the generic sandbox has no player file to attach and a co-op park decides by its own records so every peer decides alike, situations that exist only in OpenTPW; UI-051 converted 2026-10-30) the ticket count is the player's earned tickets less the spent count (the HUD handler 0x4a0fb0 at 0x4a10cd; the four global flags once, the six local bytes of every park, the two secret flags) while the park is part of its player's progress (ParkEconomy.GoldenTicketsAvailable reads the attached ledger), otherwise the park's own unspent tickets |
| TPW-EXE:0x005AF7F0 ticket won | source/OpenTPW/World/AdvisorScanChallenges.cs:435 | [BIN:TPW-EXE:0x005AF7F0 ticket won] the byte of the ticket's index in the park's record (the local tickets 0 to 5) |
| TPW-EXE:0x005AF810 ticket outcome | source/OpenTPW/World/AdvisorScanChallenges.cs:121 | [BIN:TPW-EXE:0x005AF810 ticket outcome] the sum of all tickets (0x5AF4A0 plus the secret ones) / 3 plus the extra keys (+0x20) must be above 0 and the sum a multiple of 3 for the key outcomes, which walk the player's parks for one whose cost to enter (0x5B11C0, the record's +0x14) equals those keys: 3 when found, 2 when none; any other state is 1 (the same rule closes 0x5AF940 for a global ticket and 0x5AFB00 for a secret one) |
| TPW-EXE:0x005AF940 global ticket holder | source/OpenTPW/Economy/ParkObjectives.cs:636 | [BIN:TPW-EXE:0x005AF940 global ticket holder] a global ticket is held by one park at a time: the first win sets the player-wide flag (+0x18 + type) and this park's held byte (+6 + type) and record (+0xC + 4 x type); with the flag set and this park not holding it, the first park in the player's list that holds it with a record below this park's record loses its held byte and this park takes it (result 4, no change to any count, which counts the four flags once plus the locals of every park); a park that holds it, or no better record, returns 0 |
| TPW-EXE:0x005AFF50 player file | source/OpenTPW/Economy/PlayerTicketLedger.cs:59 | [BIN:TPW-EXE:0x005AFF50 player file] the player object (0xF7C58C, built by 0x5AEF50) keeps a map from theme name to a 0xBC-byte record (+0x3C); the player file writes and reads each record through 0x5B0D70, whose last field is the byte +0xB9 ("mAllResearchCompleted", 0x773320) |
| TPW-EXE:0x005B0C40 all research completed | source/OpenTPW/Economy/PlayerTicketLedger.cs:71 | [BIN:TPW-EXE:0x005B0C40 all research completed] walks the player's theme records (+0x3C, in-order successor 0x5B2480) and returns 0 at the first whose byte +0xB9 is 0, else 1; 0x503D40 calls it after 0x5B0CA0 has set the current theme's byte, and in game type 0 only a 1 posts advice 0xA7 and starts the finale (0x516B00). The records cover the four themes of the theme list |
| TPW-EXE:0x005B0CA0 research completed record | source/OpenTPW/Economy/PlayerTicketLedger.cs:64 | [BIN:TPW-EXE:0x005B0CA0 research completed record] sets the current theme's record byte +0xB9 to 1; the lab's completion handler 0x503D40 calls it (0x503E94) whenever nothing is left to research, before it tests the game type, so every game type records it |
| TPW-EXE:0x005C83B0 player selection | source/OpenTPW/Economy/PlayerTicketLedger.cs:60 | [BIN:TPW-EXE:0x005C83B0 player selection] choosing a player loads its file (0x5AFD70) and then makes sure every theme of the theme list (0x786B90: the level folders jungle, hallow, fantasy, space) has a record (0x5B09C0 creates a missing one through 0x5B0A70 with the byte 0); nothing else ever clears the byte |
| TPW-EXE:0x005D60C0 constant zero stub | source/OpenTPW/World/AdvisorScan.cs:139 | [BIN:TPW-EXE:0x005D60C0 constant zero stub] the callbacks of 21 scanned rows (and of every one OpenTPW has not ported) return 0 |
| TPW-EXE:0x005D60C0 constant zero stub | source/OpenTPW/World/RestoredAdviceScan.cs:16 | [BIN:TPW-EXE:0x005D60C0 constant zero stub] the callbacks of 21 scanned rows (and of 41 more rows the scan skips) return 0 |
| TPW-EXE:0x005D9230 globe light | source/OpenTPW/World/Lobby/GlobeScene.cs:156 | [BIN:TPW-EXE:0x005D9230 globe light] dim grey ambient and one white light; OpenTPW puts the light behind the camera's start |
| TPW-EXE:0x005DC3E0 city flag | source/OpenTPW/World/Lobby/GlobeScene.cs:25 | [BIN:TPW-EXE:0x005DC3E0 city flag] the city named "North Pole" gets the Bullfrog pin, every other city the hpin model |
| TPW-EXE:0x005DC3E0 city flag | source/OpenTPW/World/Lobby/GlobeScene.cs:107 | [BIN:TPW-EXE:0x005DC3E0 city flag] p = clamp(0.02 + 0.0005·parks, 0.02, 0.1) and s = 0.035 + 0.2·p; 0x005D81C0 overwrites the pin's root |
| TPW-EXE:0x005DC860 globe camera update | source/OpenTPW/World/GlobeCameraMode.cs:8 | [BIN:TPW-EXE:0x005DC860 globe camera update] position r·(cos yaw·cos pitch, sin pitch, sin yaw·cos pitch) around the globe (pole axis up), looking at its centre; pitch clamped to ±1.5; r eases towards the zoom state's radius at 0.3; velocities are multiplied by the state's damping and integrated into the angles; zoomed out (rate, step, damping) = (0.4, 0.15, 0.5), zoomed in (0.2, 0.075, 0.25); field of view 60 (0x005DCFE0) |
| TPW-EXE:0x005DC860 globe edge scroll | source/OpenTPW/Online/OnlineGlobeScreen.cs:17 | [BIN:TPW-EXE:0x005DC860 globe edge scroll] the cursor within 1% of the 2048×1536 canvas edge steers the globe |
| TPW-EXE:0x005DC860 globe pick | source/OpenTPW/World/Lobby/GlobeScene.cs:17 | [BIN:TPW-EXE:0x005DC860 globe pick] the cursor ray meets a sphere of radius 116 (r² 13456); a city within 10 units (d² < 100) of that point is hovered |
| TPW-EXE:0x005DC860 globe right button | source/OpenTPW/Online/OnlineGlobeScreen.cs:62 | [BIN:TPW-EXE:0x005DC860 globe right button] holding the right button steers by the cursor's offset from the screen centre |
| TPW-EXE:0x005DC860 globe steering mode | source/OpenTPW/Online/OnlineGlobeScreen.cs:57 | [BIN:TPW-EXE:0x005DC860 globe steering mode] the Scroll option (0x78D910, options control 0x1D4C7) picks the steering: |
| TPW-EXE:0x005DCD47 globe pitch limit | source/OpenTPW/World/GlobeCameraMode.cs:86 | [BIN:TPW-EXE:0x005DCD47 globe pitch limit] a pitch past ±1.5 is set to the limit and its velocity to 0 |
| TPW-EXE:0x005DCFE0 globe activate | source/OpenTPW/World/GlobeCameraMode.cs:44 | [BIN:TPW-EXE:0x005DCFE0 globe activate] each activation of a globe screen (0x005DD650 online world, 0x005DD910 publish globe, also on the |
| TPW-EXE:0x005DD530 online globe input | source/OpenTPW/Online/OnlineGlobeScreen.cs:72 | [BIN:TPW-EXE:0x005DD530 online globe input] a click (event 0x10005) on a hovered pin selects that city (DAT_00f82888) and switches to its lobby, whose top-10 request reads it (0x005E23F0); zooming is the zoom button (event 0x10006, param 2) |
| TPW-EXE:0x005DFA60 island models | source/OpenTPW/World/Lobby/LobbySigns.cs:12 | [BIN:TPW-EXE:0x005DFA60 island models] the island constructor passes the same two lines to both its island and its gate model (0x5D8870 -> 0x5D7FD0 -> 0x4629D0 arguments 8 and 9), which draws them as explicit lines, without the middle-space split (0x462EA6), through the sign generator 0x467A80 |
| TPW-EXE:0x005E1A44 lobby island lines | source/OpenTPW/World/Lobby/LobbySigns.cs:11 | [BIN:TPW-EXE:0x005E1A44 lobby island lines] the lobby builds each island (0x5E3210) with two lines that 0x409B10 fills for the island's theme: the first (0x413020) and second (0x4130B0) OBJECT_NAMES text of the theme's gate row, the lines a new park's gate starts with; no saved park name is read |
| TPW-EXE:0x005E27B0 city islands | source/OpenTPW/Client/GameFlow.cs:1164 | [BIN:TPW-EXE:0x005E27B0 city islands] the top-10 completion builds one lobby island per list entry with a running slot counter |
| TPW-EXE:0x005E27B0 city islands | source/OpenTPW/Client/GameFlow.cs:1165 | [BIN:TPW-EXE:0x005E27B0 city islands] each entry calls 0x005E3210 with the name its theme id (+0x4c) has in the server's theme list (0x005BD270), the entry and the running counter: 0x005E3210 reads that theme's island file and its ISLAND line, whose slot the counter replaces when it is not negative (0x005E3363), so each park stands as its theme's island at its list position |
| TPW-EXE:0x005E3210 lobby island | source/OpenTPW/World/Lobby/LobbyScene.cs:25 | [BIN:TPW-EXE:0x005E3210 lobby island] islands are built from a theme's ISLAND entry at the caller's slot counter, at that slot's ISLANDCAMERAPOSITION and the ISLAND height and angle |
| TPW-EXE:0x005E7F60 colour blit | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:229 | [BIN:TPW-EXE:0x005E7F60 colour blit] the shaped paint mask (SignMaskShaping, 0x5EBF10) is coloured: alpha (mask * A) >> 8 kept as the maximum, each channel lerped towards (C * A) >> 8 |
| TPW-EXE:0x005EA1F0 erosion step | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:55 | [BIN:TPW-EXE:0x005EA1F0 erosion step] the minimum runs over the pixel and its 8 neighbours, but the rows above need y > 0, the rows below y < h - 2, and the right-hand column x < w - 2 (the last two columns never look right, the last two rows never look down); the left column needs x > 0; the result goes to the second byte of a two-byte pixel and is copied back (0x5EA3BD) after the pass, and the output takes the level where the minimum differs from the pixel |
| TPW-EXE:0x005EA3F0 offset copy | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:33 | [BIN:TPW-EXE:0x005EA3F0 offset copy] the destination is cleared (0x5E7840), then source (x, y) is copied to (x + dx, y + dy) for the pixels that stay inside; coverage bytes are copied as they are, not made binary |
| TPW-EXE:0x005EA510 mask dilation | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:44 | [BIN:TPW-EXE:0x005EA510 mask dilation] each row is copied to a scratch line and every pixel takes the maximum over [x - r, x + r] clipped to the row; then the same along every column |
| TPW-EXE:0x005EA6D0 mask erosion | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:74 | [BIN:TPW-EXE:0x005EA6D0 mask erosion] a pixel with fewer than r pixels to the left or the right of its row (then above or below in its column) is set to 0; the others take the minimum over [i - r, i + r] |
| TPW-EXE:0x005EA8A0 Gaussian kernel | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:107 | [BIN:TPW-EXE:0x005EA8A0 Gaussian kernel] n = 3 - _ftol(sigma * -2.5) (0x702F38 = -2.5, _ftol 0x67A830 truncates); each tap is 2^(log2(e) * (d² * -0.5 / sigma²)) / (sigma² * 6.2831853) (0x702F30, 0x702F28), summed, stored as double and divided by the sum |
| TPW-EXE:0x005EA8A0 empty kernel | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:140 | [BIN:TPW-EXE:0x005EA8A0 empty kernel] with no taps (a parameter of -1.2 or less) both passes still run, every tap range [x - c, x + n - c - 1] is empty, and each pixel is written as the truncated empty sum 0 |
| TPW-EXE:0x005EA8A0 kernel arithmetic | source/OpenTPW.Files/Formats/Font/X87.cs:397 | [BIN:TPW-EXE:0x005EA8A0 kernel arithmetic] s² = FMUL, A = s² * 6.2831853 (0x702F28); per tap FILD d², FMUL -0.5 (0x702F30), FDIV by s², FLDL2E, FMULP, then FLD st0; FRNDINT; FXCH; FSUB (the fraction); F2XM1; FLD1; FADDP; FSCALE, FDIV by A, FADD into the running sum, FSTP double; a second loop FLD double, FDIV by the sum, FSTP double |
| TPW-EXE:0x005EA9DC..0x005EAA40 horizontal pass | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:136 | [BIN:TPW-EXE:0x005EA9DC..0x005EAA40 horizontal pass] for pixel x the taps run over [max(0, x - c), min(w - 1, x + n - c - 1)], tap index i - x + c, summed from 0.0 in source order and truncated with _ftol; the vertical pass 0x5EAAC1..0x5EAB1F does the same along each column of the row-blurred mask |
| TPW-EXE:0x005EAB70 sign text | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:68 | [BIN:TPW-EXE:0x005EAB70 sign text] tp.exe imports no TextOut, DrawText or ExtTextOut; the sign text goes through Uniscribe (ScriptStringAnalyse with flag 0x80, ScriptStringGetLogicalWidths, the percent scaling, a second ScriptStringAnalyse with the game's advance array 0xF85F00, ScriptStringOut), and no kerning API is called |
| TPW-EXE:0x005EAB70 sign text raster | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:8 | [BIN:TPW-EXE:0x005EAB70 sign text raster] the text is drawn on an 8-bit gray DIB twice the mask's size (0x5EABE8..0x5EAC1C, top-down, a 256-entry gray palette; SetMapMode MM_TEXT 0x5EAC8E, SetBkColor 0 0x5EAF26, SetTextColor 0xFFFFFF 0x5EAF32 and the default TA_LEFT | TA_TOP alignment) and reduced to the mask by one 2x2 box: the four bytes are summed and shifted right by 2 (0x5EAFC3..0x5EAFE5) |
| TPW-EXE:0x005EAD01 sign text width | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:47 | [BIN:TPW-EXE:0x005EAD01 sign text width] the .sgn slot field at file offset +324 (memory slot base + 8, loader 0x5EC3A0) scales each character's width as width × percent / 100, truncated (0x5EAD01–0x5EAD2C, and in the font-size fit loop) |
| TPW-EXE:0x005EAFC3 text reduction | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:215 | [BIN:TPW-EXE:0x005EAFC3 text reduction] each mask pixel is the sum of the four DIB bytes of its 2x2 block shifted right by 2 (0x5EAFCD..0x5EAFE5; the DIB is 8-bit gray, so a byte is the coverage) |
| TPW-EXE:0x005EB035 text extent | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:262 | [BIN:TPW-EXE:0x005EB035 text extent] the first row with a nonzero coverage byte before its last pixel is the top, the last such row plus one is the bottom (0x5EB04E..0x5EB07C; a text of one row leaves the bottom at -1, which the original cannot shade), and the extent is bottom - top (0x5ECCC5); the mask is the whole 256-row surface mask |
| TPW-EXE:0x005EB270 bevel levels | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:30 | [BIN:TPW-EXE:0x005EB270 bevel levels] ink = 255 where the coverage is not 0 (neg/sbb at 0x5EB2D1), the output starts at 0; for step i of N the level is _ftol(256 * (2 u^3 - 3 u^2)) with u = 1 - i / N (0x702F40 = 1.0, 0x702F48 = 3.0, 0x702F4C = 256.0), kept as its low byte; the surviving ink is OR-ed into the output at the end (0x5EB397) |
| TPW-EXE:0x005EB319 level arithmetic | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:40 | [BIN:TPW-EXE:0x005EB319 level arithmetic] N is stored as a float (FILD qword, FSTP float), t = FILD(i) / N (FDIV float), u = 1.0 - t, then u³ = u * (u * u), 2u³ - 3u² (FMUL 3.0, FADD st0,st0, FSUBP), times 256.0 and _ftol |
| TPW-EXE:0x005EB3E0 shape kernel | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:93 | [BIN:TPW-EXE:0x005EB3E0 shape kernel] n = 3 - _ftol(sigma * -2.5) (0x702F38); tap (a, b) = 2^(log2(e) * ((a - c)² + (b - c)²) * -0.5 / sigma²) / (sigma² * 6.2831853) stored as double, then every tap divided by their sum; c = (n - 1) / 2 |
| TPW-EXE:0x005EB5D3..0x005EB6EC shape convolution | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:130 | [BIN:TPW-EXE:0x005EB5D3..0x005EB6EC shape convolution] the rows of the window come from a ring: the rows up to the current one are copies taken before they were written (the first row repeated above the top), the rows below point into the live shape (clamped to the last row); a column index is clamped to 0..w-1 (0x5EB688); taps are summed from 0.0 in row-major kernel order and truncated with _ftol (0x5EB6E3), stored as the low byte, only for pixels whose coverage byte is not 0 |
| TPW-EXE:0x005EB820 effect shape | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:10 | [BIN:TPW-EXE:0x005EB820 effect shape] with glyph coverage and a source strip present the effect builds a shape bitmap (0x5EB270 from the mask word at +0), blurs it with the float at +8 when that is above 0.0 (fcomp against 0x702F20 and a skip on C0 or C3, so NaN also skips; 0x5EB3E0), then shades (0x5EB8A0) |
| TPW-EXE:0x005EB820 relief | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:247 | [BIN:TPW-EXE:0x005EB820 relief] for each effect the shape (SignEffectShape: the mask word's erosion levels, then the Gaussian of the first parameter) is built from the glyph coverage, and 0x5EB8A0 shades every pixel whose coverage byte is not 0 into an ARGB bitmap that is alpha-blitted onto the surface (0x5E7D70) |
| TPW-EXE:0x005EB86F blur test | source/OpenTPW.Files/Formats/Font/SignEffectShape.cs:23 | [BIN:TPW-EXE:0x005EB86F blur test] fld of the float at +8 and fcomp with 0.0 (0x702F20), then a skip when C0 or C3 is set: the blur runs only for a parameter above 0.0 |
| TPW-EXE:0x005EB8A0 relief arithmetic | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:278 | [BIN:TPW-EXE:0x005EB8A0 relief arithmetic] the light, the normals, the dots and the colour sum run on emulated x87 registers at the precision control of the original's thread (SignRelief, X87Precision) |
| TPW-EXE:0x005EB8A0 relief normal | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:289 | [BIN:TPW-EXE:0x005EB8A0 relief normal] the shape differences to the next byte and to the byte one row below are read without any clamp (the last column reads the first pixel of the next row; a read past the end of the shape is heap memory in the original and 0 here) |
| TPW-EXE:0x005EB8A0 relief pixel | source/OpenTPW.Files/Formats/Font/SignRelief.cs:68 | [BIN:TPW-EXE:0x005EB8A0 relief pixel] n = (dx, dy, 1) with dx = (int * p0) * 0.003921568859368563f; the scale is 1 / sqrt((dx² + dy²) - -1.0) stored as a float and multiplied back into dx and dy (each stored as a float), nz the stored scale; diffuse dot = (nxlx + nyly) + nzlz and specular dot = (nxhX + nyhY) + nzhZ, each stored as a float; the strip bytes become floats byte * 0.003921568859368563f; the base vector is float(unit * p2), a diffuse dot above 0 adds float(float(dot * p3) * unit) as float(sum), a specular dot above 0 adds float(pow(dot, p5) * p4) the same way; each channel is float(sum * 255f) clamped by 0x5EBE50 (NaN takes the lower bound) and truncated by _ftol |
| TPW-EXE:0x005EB920 light | source/OpenTPW.Files/Formats/Font/SignRelief.cs:22 | [BIN:TPW-EXE:0x005EB920 light] theta = p6 * -0.0174532924f and phi = p7 * 0.0174532924f (FMUL float, rounded at the precision control); the light is (cos(phi) cos(theta_f), -(sin(phi) cos(theta_f)), -sin(theta_f)) where cos(theta_f) is the float stored at [esp+0x44] and sin(theta_f) takes the float-stored theta; the length is (ay² + az²) + ax² (FADDP order) under FSQRT and FDIVR 1.0; each component is s * a (register width) stored as a float; the half vector is hy = say0.5 (register width), hz = (lz + 1) * 0.5, hx = lx * 0.5, each squared against its own float store, summed hy²+hz² then + hx², and scaled by the float-stored reciprocal of the length (halfX takes the register-width reciprocal, halfY and halfZ the float one) |
| TPW-EXE:0x005EBF10 sign paint mask | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:8 | [BIN:TPW-EXE:0x005EBF10 sign paint mask] shift by the record's offsets +0xC/+0x10 (0x5EA3F0), then a mask word +4 below zero erodes by its negation (0x5EA6D0) and above zero dilates by it (0x5EA510), then a parameter +8 that is not 0.0 blurs (0x5EA8A0); called with the paint records at layer +0x430 and +0x444 (0x5ECC76, 0x5ECCA7) |
| TPW-EXE:0x005EBF80 blur test | source/OpenTPW.Files/Formats/Font/SignMaskShaping.cs:26 | [BIN:TPW-EXE:0x005EBF80 blur test] fcomp of the float at +8 with 0.0 and a skip on C3: the blur runs unless the parameter is 0.0 or unordered (NaN) |
| TPW-EXE:0x005ECB40 sign surface | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:7 | [BIN:TPW-EXE:0x005ECB40 sign surface] the PC composes in a 256x256 ARGB surface (the destination size 128x128 doubled, 0x5ECB8C..0x5ECBBE), with two 256x256 glyph masks and 512x512 text rasters, and packs only the top 128 rows into the two 128x128 textures (the pack loops at 0x5ECF2C and 0x5ECFCE run the destination height, 128 rows, over the 256-wide rows) |
| TPW-EXE:0x005ECC69..0x005ECCC0 paint masks | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:76 | [BIN:TPW-EXE:0x005ECC69..0x005ECCC0 paint masks] each slot whose selector is nonzero gets its paint mask shaped from its glyph mask by its own paint record (0x5EBF10); a zero selector leaves an empty paint mask |
| TPW-EXE:0x005ECD8C..0x005ECDCE two style-2 masks | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:86 | [BIN:TPW-EXE:0x005ECD8C..0x005ECDCE two style-2 masks] the two shaped paint masks are combined by maximum (copy 0x5E77C0, max 0x5E7EF0) and coloured with paint zero's RGBA |
| TPW-EXE:0x005ECF2C pack | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:110 | [BIN:TPW-EXE:0x005ECF2C pack] only the first Height rows of the surface reach the textures |
| TPW-EXE:0x005F0B40 map window | source/OpenTPW/World/AdvisorHelp.cs:119 | [BIN:TPW-EXE:0x005F0B40 map window] the builder posts 0x130 (304) as it opens (0x486B00 at 0x5F100D) and the close path withdraws it (0x486B40 at 0x5F123C) |
| TPW-EXE:0x005F0B91 map / 0x004A3A92 options | source/OpenTPW/Client/AutomaticAdvisor.cs:338 | [BIN:TPW-EXE:0x005F0B91 map / 0x004A3A92 options] these builders call the silent stop path 0x5996D0, before their window help is served. |
| TPW-EXE:0x00637690 WAD member size | source/OpenTPW.Files/Formats/Archive/WadArchive.cs:16 | The directory entry's declared decompressed size (+0x18). [BIN:TPW-EXE:0x00637690 WAD member size] the original takes it as a |
| TPW-EXE:0x0065E72D window animation start | source/OpenTPW/UI/Original/UiWindowAnimation.cs:7 | [BIN:TPW-EXE:0x0065E72D window animation start] stores the table (+0xE8), the interval in milliseconds (+0xF0) and the clock (+0xF4, 0x65968E), the step index (+0xEC) 0, and marks the window animating (+0x135 = 1) |
| TPW-EXE:0x0065E9A4 window animation step | source/OpenTPW/UI/Original/UiWindowAnimation.cs:8 | [BIN:TPW-EXE:0x0065E9A4 window animation step] on each window update (0x65C357) while animating: when the interval is strictly less than the clock minus the stamp, the stamp becomes the clock and the step at the index runs: |
| TPW-EXE:0x0065d3a3 control frame | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:336 | [BIN:TPW-EXE:0x0065d3a3 control frame] the fluid child 0xd2d06 draws res_fluid at the frame its panel's animation last set (ResearchFluid); there is no progress fill |
| TPW-EXE:0x0066403b sorted row insert, 0x00663edc compare | source/OpenTPW.Tests/StaffWindowTests.cs:372 | [BIN:TPW-EXE:0x0066403b sorted row insert, 0x00663edc compare] ties go after the equal rows, a row sorting before the head becomes the head |
| TPW-EXE:0x0066403b sorted row insert, 0x00663edc compare | source/OpenTPW/Hud/OverviewRosters.cs:114 | [BIN:TPW-EXE:0x0066403b sorted row insert, 0x00663edc compare] a row added to a list with the sort attribute (0x10) goes before the first row it sorts strictly before, the compare being |
| TPW-EXE:0x0066DA4D frame setter | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:144 | [BIN:TPW-EXE:0x0066DA4D frame setter] the icons are control type 6 of table 0x7537D0 (factory 0x65DD7B, case 0x65E057, constructor 0x66D9E0, vtable 0x705C58): slot 7 (+0x1C, 0x66DA4D), which 0x4A4AB0 calls with the thought id less 1, stores the frame at +0x13C before the base setter 0x661525, and slot 8 (+0x20, 0x66DAD2) returns it, so each icon names the THOUGHTS.str entry of its own frame plus 1 |
| TPW-EXE:0x006701A2 TQI brightness | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:96 | [BIN:TPW-EXE:0x006701A2 TQI brightness] the open sets the brightness word (+0x78) to 100 unless its flags carry 0x100000 |
| TPW-EXE:0x00670350 TQI colour tables | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:95 | [BIN:TPW-EXE:0x00670350 TQI colour tables] for i = −256…255 at index (i − 192) & 511 (the writers read 256 entries further on, so a sample v is i = v − 64): luma clamp(i, −64, 63) · 0x800801 + 0x4883D8A9; with x = clamp + 0.5 (fsub −0.5) the Cb entry (trunc(0.5 − x · 0.3441) & 511) << 11 | trunc(0.5 + x · 1.772) & 511 and the Cr entry ((trunc(0.5 − x · 0.7141) & 511) + (trunc(0.5 + x · 1.402) & 511) << 12) << 11 (_ftol 0x67A830 truncates); the channel tables run c = −177, −133, −225 upward in steps of 2 for 306, 262 and 354 entries |
| TPW-EXE:0x00670440 TQI packing tables | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:141 | [BIN:TPW-EXE:0x00670440 TQI packing tables] the red, green and blue tables (0xFBA730, 0xFBABF8, 0xFBB010) hold, for each channel value v, (min((v + (1 << (7 − bits))) >> (8 − bits), max) << shift) in the low word and, when the surface has at most 16 bits per pixel, (v >> (8 − bits)) << (shift + 16) added in the high word; the writer 0x675D90 takes the low word for a pair's first pixel and the high word for its second |
| TPW-EXE:0x006710C0 TQI matrix | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:399 | [BIN:TPW-EXE:0x006710C0 TQI matrix] (107.0 − q) · 0.0625 is stored as a float, W · f · 65536.0 goes through _ftol (truncation, 0x67A830), and imul/shr 16/adc rounds S · t; M[0] = 8192 · 8 · 2^16 / 2^16 |
| TPW-EXE:0x006747D0 TQI block decoder | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:347 | [BIN:TPW-EXE:0x006747D0 TQI block decoder] the DC is the predictor times the matrix's first entry (2^16), each AC level |
| TPW-EXE:0x0067677E TQI odd part | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:445 | [BIN:TPW-EXE:0x0067677E TQI odd part] z10 = x5 − x3 and z12 = x1 − x7 are loaded with fild; a = z10 · 0.5411961 + (z10 + z12) · 0.3826834 and b = z12 · 1.306563 − (z10 + z12) · 0.3826834 are each rounded through fadd 1.5·2^52 and the low dword of an fstp double (the FPU in at least 53-bit precision) |
| TPW-EXE:0x0067C5F2 pow | source/OpenTPW.Files/Formats/Font/X87.cs:248 | [BIN:TPW-EXE:0x0067C5F2 pow] positive finite base: FYL2X (0x67C63F), then 0x686170: fld st0; frndint; fsubr st1,st0; fxch; fchs; f2xm1; fld1; faddp; fscale; fstp st1; the control word is only changed when it is not 0x27F, by 0x686185 which keeps bits 8-9 and sets the exception masks |
| TPW-EXE:0x0067b518 acos | source/OpenTPW/World/Coasters/CoasterX87.cs:41 | [BIN:TPW-EXE:0x0067b518 acos] for |x| below 1: s = 1 + x, t = 1 − x, p = s · t, q = fsqrt p (each a single at the 24-bit word, which the routine keeps: 0x686185 changes only the exception masks), then fpatan(q, x); 1 gives 0 and −1 gives π (0x67b545..0x67b566) |
| TPW-EXE:0x00686185 acos rounding | source/OpenTPW/World/Coasters/CoasterX87.cs:98 | [BIN:TPW-EXE:0x00686185 acos rounding] edx = (control word & 0x300) | 0x7f: the precision stays at 24 bits and the rounding control becomes nearest for the routine's own 1 + x, 1 − x, product and square root (0x67b518..0x67b522); the pass's truncating word returns at 0x68620e |
| TPW-EXE:0x006B7150 parameter table | source/OpenTPW/Audio/SoundEvents.cs:1317 | [BIN:TPW-EXE:0x006B7150 parameter table] 0x20 bytes at placeholder +0x4C: codes at +0..3, values at +4..7, created zeroed on first need |
| TPW-EXE:0x006BBCE0 placeholder position | source/OpenTPW/Audio/SoundEvents.cs:1265 | [BIN:TPW-EXE:0x006BBCE0 placeholder position] the place is stored at +0x10 and, while a sample plays (+0x24), handed to it |
| TPW-EXE:0x006BBF00 sound parameters | source/OpenTPW/Audio/SoundEvents.cs:1346 | [BIN:TPW-EXE:0x006BBF00 sound parameters] with both shorts +0x16 and +0x1A of the sound 0, an existing table's codes 1–3 are cleared; otherwise the table is created as needed and codes 1 and 2 take their low bytes, code 3 is cleared (the values are kept) |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundChain.cs:111 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] a chain's placeholder has the table of its event and sound like every placeholder; the shipped chain sounds bind no selector, so they draw |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:749 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] every placeholder class (vtables 0x70a338, 0x70a3e8, 0x70a440, 0x70a498, 0x70a7e0, 0x70a878, 0x70a8d0) sets up at +0x10 with 0x6BBF60 and queries at +0x40 with 0x6BC040: a one-shot whose event has a code or whose sound has a selector gets a table, and a bound volume or pitch reads its slot (0 with no parameter call) |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:778 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] as in Play: the one-shot's table, its bound volume and pitch read their slots |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:813 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] as in Play: the one-shot's table, its bound volume and pitch read their slots |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:1143 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] the chosen sound's selectors are in the table from the creation (0x6BBF00), so a parameter set before the first sample plays is kept |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:1326 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] a nonzero event short +0x12 creates the table and stores its low byte as code 0 |
| TPW-EXE:0x006BBF60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:1337 | [BIN:TPW-EXE:0x006BBF60 placeholder setup] the event's code (0x6B7150 when nonzero), then the chosen sound's selectors (0x6BBF00) |
| TPW-EXE:0x006BC040 parameter query | source/OpenTPW/Audio/GameAudio.cs:743 | [BIN:TPW-EXE:0x006BC040 parameter query] with no parameter call its table still exists (the event's code 8 and the sounds' selector 8), so its sounds take their volume from a value of 0: the bottom of their range |
| TPW-EXE:0x006BC040 parameter query | source/OpenTPW/Audio/SoundEvents.cs:548 | [BIN:TPW-EXE:0x006BC040 parameter query] only the masks are tested: a sound whose mask +0x18 (or +0x1C) has the kind's bit takes slot 1's (or 2's) value byte whenever the placeholder has a table, a value never set being 0, so such a sound plays at its minimum until a matching call arrives |
| TPW-EXE:0x006BC040 parameter query | source/OpenTPW/Audio/SoundEvents.cs:1379 | [BIN:TPW-EXE:0x006BC040 parameter query] kind & mask +0x18 returns value byte +5, else kind & mask +0x1C returns value byte +6, else nothing |
| TPW-EXE:0x006BC090 volume | source/OpenTPW/Audio/SoundEvents.cs:547 | [BIN:TPW-EXE:0x006BC090 volume] with a table (+0x4C) the vf+0x40 query for kind 1 (0x6BC040) yields the bound value v and the volume is min + (v × (max − min)) / 100 in unsigned arithmetic; without a binding it draws |
| TPW-EXE:0x006BC170 pitch | source/OpenTPW/Audio/SoundEvents.cs:563 | [BIN:TPW-EXE:0x006BC170 pitch] with a table (+0x4C) the vf+0x40 query for kind 2 (0x6BC040) yields the bound value v and the step is (v × (max − min)) / 100 + min (unsigned multiply and divide, no clamp), without a draw |
| TPW-EXE:0x006BDA90 sentence SetParameter | source/OpenTPW/Audio/SoundEvents.cs:1109 | [BIN:TPW-EXE:0x006BDA90 sentence SetParameter] the sentence containers (vtables 0x70a390, 0x70a2e0) allocate the table in their constructor and override the call: 0x6bbb80, then the wait flag 0x40 (+0x30) is cleared unless slot 0's value is 0x7f; OpenTPW's waiting branching sentence is restarted by its callers' Resume after the call (GameAudio), and the 0x7f exception and what sets 0x40 are not read |
| TPW-EXE:0x006BDAC0 sentence re-evaluate | source/OpenTPW/Audio/SoundEvents.cs:1110 | [BIN:TPW-EXE:0x006BDAC0 sentence re-evaluate] the container's vf+0x34 walks its child placeholders (+0x18 chain) and re-evaluates each, and a child's queries read the parent's table (0x6c3d80); OpenTPW's sentence holds the table and its one playing segment, so re-evaluating the segment is the same walk |
| TPW-EXE:0x006BE5E0 branch choice | source/OpenTPW/Audio/SoundEvents.cs:1115 | [BIN:TPW-EXE:0x006BE5E0 branch choice] the branch picker (0x6BE450) reads slot 0's value byte (table +4), which a call writes only when its code is the event's code (slot 0) |
| TPW-EXE:0x006C82C0 SDT playback length | source/OpenTPW.Files/Formats/Sound/SoundCatalog.cs:190 | [BIN:TPW-EXE:0x006C82C0 SDT playback length] the MPEG sound object copies the u32 at entry +0x20 when type byte +0x1B has |
| TPW-EXE:0x006E7074 atan2 | source/OpenTPW/World/Guests/HeadingAngle.cs:22 | [BIN:TPW-EXE:0x006E7074 atan2] by quadrant of (first, second) the smaller magnitude is divided into the larger, (min << 8) / max indexes the table, and the entry is added to or subtracted from the quadrant's base 0x000, 0x200, 0x400, 0x600 or 0x800 of the octant, masked with 0x7FF; both 0 answers 0 |
| TPW-EXE:0x006E7074 heading angle | source/OpenTPW/World/Guests/GuestSimulation.cs:2078 | [BIN:TPW-EXE:0x006E7074 heading angle] the heading is the 11-bit angle of the offset (HeadingAngle), kept as its direction vector |
| TPW-EXE:0x006E71B4 arctangent table | source/OpenTPW/World/Guests/HeadingAngle.cs:12 | [BIN:TPW-EXE:0x006E71B4 arctangent table] 257 words, entry i = floor(atan(i / 256) × 1024 / π) (checked against all 257 words of the executable): 0 to 256, the angle of a ratio i / 256 in the same units |
| TPW-EXE:0x00705C88 TQI prescale | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:239 | [BIN:TPW-EXE:0x00705C88 TQI prescale] the AAN prescale s(u)·s(v) in Q13 (s(0) = 1, s(k) = 1/(2·cos(k·π/16)) · √2…), natural order |
| TPW-EXE:0x0070BD08 synthesis window | source/OpenTPW.Files/Formats/Sound/Mp2Decoder.cs:62 | [BIN:TPW-EXE:0x0070BD08 synthesis window] the original's table of 544 floats (17 rows of 32, each row's 16 taps stored twice) holds −0.5·D[32·tap+row] for these values (read by 0x6C9270); the whole table was compared with this array and its mirrored extension |
| TPW-EXE:0x0072E124 advisor.sam schema | source/OpenTPW/World/AdvisorController.cs:82 | [BIN:TPW-EXE:0x0072E124 advisor.sam schema] the schema's int fields laid out in order from +0x18 (GeneralAdvisor +0x18/+0x1C/+0x20, read at 0x59B6C3 as +0x20) put HelpMessage.Score at +0x328 and HelpMessage.ContextHelpScore at +0x32C once the 4-byte gap after the MessageGroups array is counted, which the accessors confirm: four Score getters at +0x31C..+0x328 (0x59E890..0x59E8C0, GeneralWonGoldenTicket, AwardGiven, AwardMoved, HelpMessage) and the money test 0x59E8E6 against +0x330 (WealthHigh.MoreMoneyThan) |
| TPW-EXE:0x0072E124 advisor.sam schema | source/OpenTPW/World/AdvisorController.cs:364 | [BIN:TPW-EXE:0x0072E124 advisor.sam schema] WealthHigh.MoreMoneyThan (+0x330) and WagesHigh.AverageOverMonths (+0x358) are words; WealthHighRepayLoan.Margin (+0x338) and WagesHigh.WagesTimesHigherThanIncome (+0x354) are singles (the callbacks load them with fmul dword), so a value like 1.2 is read as a 32-bit float |
| TPW-EXE:0x007396C8 shape symbol kinds | source/OpenTPW/World/Objects/ObjectShape.cs:118 | [BIN:TPW-EXE:0x007396C8 shape symbol kinds] '.' type 0, '*' 4, 'Q' 3, '@' 1, '+' 11, '#' 16; entrances (type 9) 8 6 2 4 O; exits (type 10) N E S W X; track ends (type 23) D > < |
| TPW-EXE:0x007396C8 shape symbol table | source/OpenTPW/World/Objects/ObjectShape.cs:50 | [BIN:TPW-EXE:0x007396C8 shape symbol table] 19 rows of 12 bytes (character, cell type, direction byte) passed to the shape parser 0x402720 for Info.Shape; the parser looks every non-space character up in it (0x402840..0x40287B) and fails with "Illegal map character" when it is missing |
| TPW-EXE:0x007397B0 hoarding symbol table | source/OpenTPW/World/Objects/ObjectHoarding.cs:103 | [BIN:TPW-EXE:0x007397B0 hoarding symbol table] 16 rows of 12 bytes passed to the map parser for the key table's map index 2 (Info.Hoarding, 0x00744C20; 0x00401A3A): every type dword is 0 and the direction bytes are '.' 0, '^' 0x01, '_' 0x10, '[' 0x40, ']' 0x04, 'J' 0x14, 'F' 0x41, '7' 0x05, 'L' 0x50, '=' 0x11, 'H' 0x44, 'C' 0x51, 'U' 0x54, 'n' 0x45, '3' 0x15, 'O' 0x55 |
| TPW-EXE:0x007488D8 object name table | source/OpenTPW/World/Objects/ObjectNameTable.cs:18 | [BIN:TPW-EXE:0x007488D8 object name table] rows of (Info.Id, first OBJECT_NAMES index, second OBJECT_NAMES index) |
| TPW-EXE:0x0074CFC8 hoarding textures | source/OpenTPW/World/Objects/ObjectHoarding.cs:143 | [BIN:TPW-EXE:0x0074CFC8 hoarding textures] the texture descriptor 0x0074D008 (count 4, entries at 0x0074CFC8, 16 bytes each) names Closed.tga, Hoarding.tga, Condemn.tga and Upgrade.tga in that order; the model call 0x00454550 picks the loaded entry +0, +8, +0x10 or +0x18 (8 bytes per texture) |
| TPW-EXE:0x0074DB60 staff scripts | source/OpenTPW/World/Staff/StaffAnimation.cs:16 | [BIN:TPW-EXE:0x0074DB60 staff scripts] 1 walk: slot 1 frames 0-7 (0x0074DB60); 2 run: slot 2 frames 0-7 (0x0074DBC0); 3 stand: slot 0 frame 0 (0x0074DC20); 9 the patrol walk: slot 1, each frame twice (0x0074DAC0) |
| TPW-EXE:0x0074E100 staff scripts | source/OpenTPW/World/Staff/StaffAnimation.cs:17 | [BIN:TPW-EXE:0x0074E100 staff scripts] 10 research: slot 4 frames 0-3 then four steps of frame 0, looping (0x0074E100); 0x11 sweep: slot 4 frames 0-3 each twice (0x0074EDD8); 0x12 repair: slot 4 frames 0-7 (0x0074EE38) |
| TPW-EXE:0x0074EEC0 staff scripts | source/OpenTPW/World/Staff/StaffAnimation.cs:18 | [BIN:TPW-EXE:0x0074EEC0 staff scripts] 0x13 strike: slot 5 frames 0-3 then six steps of frame 0, looping (0x0074EEC0); 0x14 state 6: slot 3 frame 0 (0x0074EE98); 0x15 the dangling sprite: slot 6 frames 0-3 (0x0074ED98) |
| TPW-EXE:0x0074EF30 staff scripts | source/OpenTPW/World/Staff/StaffAnimation.cs:19 | [BIN:TPW-EXE:0x0074EF30 staff scripts] 0x16 the guard's catch: slot 7 frames 0-7 once, then script 0x17: slot 8 frames 0-7 looping (0x0074EF90) |
| TPW-EXE:0x0074F4C0 burst script | source/OpenTPW/World/Guests/BalloonRenderer.cs:48 | [BIN:TPW-EXE:0x0074F4C0 burst script] SET reg7 = 0xFA; loop: CALL, FRAME 1, SUB reg7 0x14, OP3D0 reg7 8 (loop while above 8), HALT; register 7 is the sprite's alpha byte (+0xA0, read into the vertex colour at 0x00542091) |
| TPW-EXE:0x0074F638 performance program 0 | source/OpenTPW/World/Staff/StaffAnimation.cs:44 | [BIN:TPW-EXE:0x0074F638 performance program 0] SET flags 0x1200, SET frame register 0xD = 0; IF reg 0x11 > 0 (OP50 0x00476050 op 7 against 0): do { SLOTREG 0xD; reg 0xD += 1 } while reg 0xD <= reg 0x11 (OP3D0 0x004763D0 op 3: register against register) ENDIF (0x004762F0); loop (0x0074F5B0): reg 0xD = reg 0x11, do { SLOTREG 0xD; reg 0xD += 1 } while reg 0xD != reg 0xE (op 1; register 0xE is the slot's frames per direction, 0x00540C60); IF reg 0x12 > 0: reg 0 = 0, do { FRAME 0; reg 0 += 1 } while reg 0 <= reg 0x12 ENDIF; back to the loop |
| TPW-EXE:0x0074F758 hire figure script | source/OpenTPW/Hud/ParkHud.Staff.cs:346 | [BIN:TPW-EXE:0x0074F758 hire figure script] the figure is the script's own sprite (StaffSpriteProgram.HireFigure) on the sprite scheduler's clock sample; its flags 0x51000 and heading 5 are the script's SET instructions |
| TPW-EXE:0x0074F758 hire figure script | source/OpenTPW/World/Staff/StaffSpritePrograms.cs:98 | [BIN:TPW-EXE:0x0074F758 hire figure script] SET register 0x10 (flags) = 0x51000 (0x4766D0), SLOT 1 (0x4768B0), SET register 0xF (heading) = 5, FRAME 0 to 7 (0x476940, one per step) and JMP back to the script's own start (0x476020, 0x74F758), so the flags and heading are set again every round |
| TPW-EXE:0x0074F758 hire figure script | source/OpenTPW/World/Staff/StaffSprites.cs:160 | [BIN:TPW-EXE:0x0074F758 hire figure script] register 0x10 (the flags +0xC4) = 0x51000 (0x40000: a screen-space sprite, no camera turn), slot +0xB4 = 1 (0x004768B0), register 0xF (the direction +0xC0) = 5 (0x004766D0), then the frames 0..7 (0x00476940, one per script step) and back to the start (0x00476020) |
| TPW-EXE:0x0074F7C8 performance graphs | source/OpenTPW/World/Staff/StaffSpritePrograms.cs:104 | [BIN:TPW-EXE:0x0074F7C8 performance graphs] program 0 has an inclusive intro, main range and hold+1 zero-frame yields |
| TPW-EXE:0x0074FAF0 winning banner | source/OpenTPW/Hud/ParkHud.Finale.cs:107 | [BIN:TPW-EXE:0x0074FAF0 winning banner] the window 0x321 at (102,536)-(1946,940) draws the model s_congrats, the language folder's congrats.MD2; 0x48AF63 disables it (virtual +0x14 = 0x65DA8D(0), flag 2; its model has only the root frame, so nothing changes in its drawing) and 0x48AFA7 starts its animation |
| TPW-EXE:0x0074FB20 loss banner | source/OpenTPW/Hud/ParkHud.LossWindow.cs:201 | [BIN:TPW-EXE:0x0074FB20 loss banner] the window 0x5A at (174,500)-(1874,1000) draws the model s_bkrupt, the language folder's bankrupt.MD2; its attributes 3 carry the disabled bit 2, so the hit test 0x65DB25 skips it and a click falls through to the window under it; |
| TPW-EXE:0x0074FC38 loss banner animation | source/OpenTPW/UI/Original/UiWindowAnimation.cs:46 | [BIN:TPW-EXE:0x0074FC38 loss banner animation] 0x48AC40, 0x48A740 (both exits) and 0x48ADB0 start it on the banner with 0x65E72D(0x74FC38, 0x23); entries 0, 2, 4, 6, 8 (-1, -1, 1, 1), 1, 3, 5, 7 (0, -1, 0, 1), 9-17 (0, 1, 0, -1), 18-22 (1, 0, -1, 0), 23 (-9997, 0): the table ends where the winning banner's 0x74FCF8 begins |
| TPW-EXE:0x0074FCF8 winning banner animation | source/OpenTPW/UI/Original/UiWindowAnimation.cs:31 | [BIN:TPW-EXE:0x0074FCF8 winning banner animation] 0x48AFA7 starts it on the banner with 0x65E72D(0x74FCF8, 0x23); entries 0-5 (16, 0, -16, 0), 6-9 (0, -4, 0, -4), 10-17 (-9998, 512 x 1..8), 18-21 (0, 4, 0, 4), 22-27 (-16, 0, 16, 0), 28 (-9997, 0) |
| TPW-EXE:0x0075A418 body templates | source/OpenTPW/World/Guests/WalkerBodies.cs:23 | [BIN:TPW-EXE:0x0075A418 body templates] template 1 (0x0074DB60) selects slot 1, 2 (0x0074DBC0) slot 2, 3 (0x0074DC20) slot 0, 5 (0x0074DCE8) slot 12 and 8 (0x0074DD68) slot 4, each stepping the frames of its slot |
| TPW-EXE:0x0075A418 bounded staff graphs | source/OpenTPW/World/Staff/StaffSpritePrograms.cs:64 | [BIN:TPW-EXE:0x0075A418 bounded staff graphs] SET flags, SLOT, FRAME yields, and semantic JMP; catch hands off to hold |
| TPW-EXE:0x0075A418 guest sprite programs | source/OpenTPW/World/Guests/VisitorSpriteState.cs:9 | [BIN:TPW-EXE:0x0075A418 guest sprite programs] templates 4..8 set flags 0x1200, SLOT, then FRAME yields and JMP to stand 3; no hold or delete opcode |
| TPW-EXE:0x0075A418 guest templates | source/OpenTPW/World/Guests/SavedSpriteScripts.cs:28 | [BIN:TPW-EXE:0x0075A418 guest templates] 1 0x74DB60 walking, 2 0x74DBC0 running, 3 0x74DC20 standing, 4 0x74DC48 the indecision, 5 0x74DCE8 the cheer, 6 0x74DD28, 7 0x74DDA8 the sickness, 8 0x74DD68; a program is SET flags (3 words), SLOT (2), its FRAMEs (2 each) and a JMP (2) |
| TPW-EXE:0x0075A418 instruction widths | source/OpenTPW/World/Guests/SavedSpriteScripts.cs:41 | [BIN:TPW-EXE:0x0075A418 instruction widths] SET, ADD and COPY take a register and a value (3 words), SLOT, FRAME, FRAME-register and JMP one operand (2), IF and WHILE a register, a comparison and an operand (4), ENDIF and DO none (1), checked against the table's 0x74DAB8..0x74F7C0 (every program lands on its JMP and the next start) |
| TPW-EXE:0x0075A418 template table | source/OpenTPW/World/Guests/SavedSpriteScripts.cs:16 | [BIN:TPW-EXE:0x0075A418 template table] 1 0x74DB60, 2 0x74DBC0, 3 0x74DC20, 9 0x74DAC0, 10 0x74E100, 17 0x74EDD8, 18 0x74EE38, 19 0x74EEC0, 20 0x74EE98, 21 0x74ED98, 22 0x74EF30, 23 0x74EF90, 24 0x74EFF0, 25 0x74F480; the performance entries 0x0074F7C8 name 0x74F638, 0x74F6D8, 0x74F708 and 0x74F738, whose loops start at 0x74F5B0, 0x74F698, 0x74F6F8 and 0x74F728; the hire script is 0x74F758 (0x49BB4A) |
| TPW-EXE:0x0075C810 balloon bob | source/OpenTPW/World/Guests/BalloonRenderer.cs:28 | [BIN:TPW-EXE:0x0075C810 balloon bob] 20 entries (count 0x0075C80C) of three floats; x and z are 0, y runs 0, 0.02 .. 0.2 .. 0.02, 0 |
| TPW-EXE:0x00763388 queue model table | source/OpenTPW/World/Original/OriginalTerrain.cs:648 | [BIN:TPW-EXE:0x00763388 queue model table] the loader 0x522900 fills 8 slots (the table ends at 0x7633E8); the chooser's index (class-2 base 0..3, +1 for a corner, +3 per linked path neighbour) can reach 8..10, where the original would read past its slots |
| TPW-EXE:0x007639E0 exit and entry globals | source/OpenTPW/World/Tracks/TrackToolGlobals.cs:8 | [BIN:TPW-EXE:0x007639E0 exit and entry globals] writers 0x52773B..0x527776 (the fence tool's post A, modes 0x19 and 0x1A), 0x52788A..0x5278B4 (the select of a ride: 0x52A3A0 and 0x52A420 map its anchor), 0x527A17..0x527A2A (the edit tool's hover), the click handler's station blocks (0x524CB4, 0x524FC9, 0x5251F5, 0x5255F0, 0x525838); readers 0x53B2F0..0x53B340 (the clear op), 0x53BC60 and 0x53BD8E (the end re-link), 0x52FC80 (the repair), 0x530B70 (the backward collector); the bulldozer's click (0x525E7F, 0x52C0AF) selects nothing first |
| TPW-EXE:0x00763CF4 flag table | source/OpenTPW/World/Original/HarbourDynamics.cs:39 | [BIN:TPW-EXE:0x00763CF4 flag table] 16-byte records (x, y, z, unused): x 411.25, 451.25, 511.25, 551.25, each at z 38.75 and 50.75, y 22 |
| TPW-EXE:0x00763F88 sprite categories | source/OpenTPW/World/Staff/StaffSpriteState.cs:39 | [BIN:TPW-EXE:0x00763F88 sprite categories] entertainers 4, handymen 5, mechanics 6, guards 7, researchers 8 (0x004D4250, 0x004D6B60, 0x004D9DB0, 0x004D5DE0, 0x00502600 store it at +0x24 before creating the sprite) |
| TPW-EXE:0x00764030 kid sets loaded first | source/OpenTPW/World/Guests/KidSetLoad.cs:9 | [BIN:TPW-EXE:0x00764030 kid sets loaded first] the loader's first pass (0x005419C0, "Loading Avatar Sprites") walks the table {SPR_BI.ESP, SPR_KI.ESP, SPR_TA.ESP, SPR_SU.ESP} and loads the folder's entry of each name (the case-insensitive equality 0x00424CF0), stopping at the limit; its second pass loads the remaining entries in the folder's name order (0x00541210) |
| TPW-EXE:0x00764178 controller templates | source/OpenTPW/World/Tracks/BumperTemplates.cs:45 | [BIN:TPW-EXE:0x00764178 controller templates] the 14 records of 0xD0 bytes (type, laps or duration, radii, performance, the min and max pairs, vehicle and buoy limits); the four water types hold identical values, as do the four kart types except the model range |
| TPW-EXE:0x007660B8 flight bounds | source/OpenTPW/World/Tours/TourWorld.cs:16 | [BIN:TPW-EXE:0x007660B8 flight bounds] the four words are 190000, 70000, 140000 and 30000 (x maximum, x minimum, z maximum, z minimum); no code writes them, the save stores them verbatim |
| TPW-EXE:0x0076DC18 fixed-sequence table | source/OpenTPW/World/AdvisorSequence.cs:171 | [BIN:TPW-EXE:0x0076DC18 fixed-sequence table] the ten rows in use; the clips 16-20 exist only in the level advisors' archives |
| TPW-EXE:0x0076E300 award descriptors | source/OpenTPW/World/RestoredAdvice.cs:245 | [BIN:TPW-EXE:0x0076E300 award descriptors] 230 to 233 return AwardGiven.Score (0x59E8A0), the responses 470 to 473 are the height of the coaster, the excitement of the go-kart track, the length of the water ride and the size of the park |
| TPW-EXE:0x0076E300 challenge descriptor | source/OpenTPW.Tests/AdvisorControllerTests.cs:99 | [BIN:TPW-EXE:0x0076E300 challenge descriptor] message 271, responses 523 to 525, game mode 0; the challenge system's short-time warning posts it (0x4D21FD) |
| TPW-EXE:0x0076E300 challenge descriptor | source/OpenTPW/World/AdvisorController.cs:51 | [BIN:TPW-EXE:0x0076E300 challenge descriptor] row 0x10F (271) of the Windows table: responses 523 to 525, group 0, one pending copy, game mode 0 (full simulation only), the score callback 0x5A0A30 (+0x62C of the Advisor.sam object, Challenge.Score: the Challenge group follows GTAmountVisitorsC in the descriptor records 0x739560, after PrebuiltPark.Score at +0x5F8); the challenge system posts it as the advice 0x10F of its short-time-left warning (0x4D21FD) |
| TPW-EXE:0x0076E300 descriptor table | source/OpenTPW.Tests/AdvisorHelpTests.cs:243 | [BIN:TPW-EXE:0x0076E300 descriptor table] the hand-bound event rows and the help rows are rows of the same table |
| TPW-EXE:0x0076E300 descriptor table | source/OpenTPW/World/AdvisorController.cs:610 | [BIN:TPW-EXE:0x0076E300 descriptor table] the original's 351 descriptors (message = record index; filled by 0x5A0A50) are all bound (AdvisorDescriptorTable), so every message an original save can name keeps its pending advice and history; only an ID past the table, or a message of a group the settings file lacks, has no descriptor |
| TPW-EXE:0x0076E300 mechanic descriptor | source/OpenTPW/World/AdvisorController.cs:53 | [BIN:TPW-EXE:0x0076E300 mechanic descriptor] row 0x46 (70) of the Windows table: responses 204 to 206, group 0, 255 pending copies, game mode 2, the score callback 0x59DC90 (+0x254 of the Advisor.sam object, RidesBreakdownMechanicOnIt.Score: the fourth key of the RidesBreakdown run whose first getter 0x59DC60 is message 66) |
| TPW-EXE:0x0076E300 prank descriptors | source/OpenTPW/World/AdvisorController.cs:47 | [BIN:TPW-EXE:0x0076E300 prank descriptors] rows 0x7D..0x7F of the Windows table (filled by 0x5A0A50): responses 302/304/306, two each, group 0, game mode 2, pending duplicates 255, 1 and 255; their score callbacks 0x59F360/0x59F370/0x59F380 return the Advisor.sam fields +0x3D4/+0x3D8/+0x3DC, the schema's PrankSbomb, PrankLitter and PrankBalloon scores (0x0072E124, just before ParkNowOpen at +0x3E0) |
| TPW-EXE:0x00790FEC coaster being edited | source/OpenTPW/World/Level.Coasters.cs:19 | [BIN:TPW-EXE:0x00790FEC coaster being edited] the global names the controller the tool edits (written by 0x00430AC0 from the tool's entry and exit 0x00447520); the guest predicate 0x00441970 refuses it |
| TPW-EXE:0x008186AC selected ride | source/OpenTPW/World/Level.Selection.cs:11 | [BIN:TPW-EXE:0x008186AC selected ride] the global 0x8186AC is the selection 0x7C2654 (0x4815A0 → 0x48C930), stored at 0x5277A1 between the test and the je, so it is 0 when nothing is selected; a selected add-on (+0x288 == 1) is replaced by its owner ride (0x527831); placement selects at creation (0x52A02E) and the object windows select through 0x5276D0 (0x487EE2, 0x48CD8B, 0x48CFC5, 0x4988EE, 0x4AF229, the script command 0x404E79); the click handler runs 0x5276D0(0) whenever [0x816D48] is 0 (0x524A51 → 0x524AF5), which Back clears itself (0x52FEE5) and replays (0x52FF3A, 0x52FFB2), so the value is the selection at the time of the Back; no save routine reads it |
| TPW-EXE:0x00FBB598 TQI transform constants | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:256 | [BIN:TPW-EXE:0x00FBB598 TQI transform constants] √2/2 in Q31 (taken as the doubled high dword of a 32×32 product) and the odd |
| TPW-EXE:0x00FBB5B0 TQI scan | source/OpenTPW.Files/Formats/Video/TqiDecoder.cs:252 | [BIN:TPW-EXE:0x00FBB5B0 TQI scan] the block decoder 0x6747D0 counts a byte from 63 down and stores coefficient 63 − n at |
| TPW-EXE:0x35299c research panel control table | source/OpenTPW.Tests/OriginalUiAssetTests.cs:215 | [BIN:TPW-EXE:0x35299c research panel control table] the pipe is the 307 x 119 child at x 1497..1804 whose top ParkHud.CreateResearchScreen places 17 units under each panel's top (row 0: 175) |
| TPW-EXE:0x35299c research panel control table (file offset) | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:19 | [BIN:TPW-EXE:0x35299c research panel control table (file offset)] the bottom edge of each row's pipe child (its tops are the panels' tops + 17) |
| TPW-EXE:0x4033A0 scaled clock | source/OpenTPW/World/SceneClock.cs:18 | [BIN:TPW-EXE:0x4033A0 scaled clock] the real gap in milliseconds times the rate (+0x20, a double) is added to the accumulator (+0x18, a double) and the reading is that sum truncated (0x67A830) |
| TPW-EXE:0x403780 action recording writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:399 | [BIN:TPW-EXE:0x403780 action recording writer] u32 mLoadedPublishedPark (4 bytes from this + 8), u32 recording size (virtual size call), the recording bytes |
| TPW-EXE:0x404140 layout replay start | source/OpenTPW/Economy/ParkEconomy.cs:1582 | [BIN:TPW-EXE:0x404140 layout replay start] besides the bank constructor (0x4cf7c0, 1) and the serializer (0x4cf920), only the online layout replay writes +0x114: its start clears it |
| TPW-EXE:0x4053C0 | source/OpenTPW/Economy/ParkCheats.cs:9 | <summary>[BIN:TPW-EXE:0x4053C0] Cheat mode on: the secret park name of the rename dialog (<c>0x4993E0</c>). The argument is unused (0).</summary> |
| TPW-EXE:0x4053C0 cheat mode | source/OpenTPW/Economy/ParkCheats.cs:83 | [BIN:TPW-EXE:0x4053C0 cheat mode] the mode byte +0xA is set by 0x4053C0(1) and never cleared (no call of 0x4053C0(0) exists); 0x4053C0 also posts a message of type 0x15 (0x40FB10), whose listeners are not traced and which OpenTPW does not post |
| TPW-EXE:0x4053C0 cheat mode | source/OpenTPW/Economy/ParkEconomy.cs:435 | [BIN:TPW-EXE:0x4053C0 cheat mode] the mode byte only (ParkCheats sets it); the message of type 0x15 it posts is not traced and not posted |
| TPW-EXE:0x405570 cheat load | source/OpenTPW/Economy/OriginalEconomyImport.cs:128 | [BIN:TPW-EXE:0x405570 cheat load] the CHTS chunk's two bytes go to +0xA (the cheat mode, tested whole by 0x405560) and +0xB of the cheat object 0xFB3520; loading a save replaces the mode, so a park saved with it on is a cheated park |
| TPW-EXE:0x405570 cheat load | source/OpenTPW/Economy/ParkCheats.cs:205 | [BIN:TPW-EXE:0x405570 cheat load] the loader reads the mode byte +0xA and the byte +0xB straight from the chunk; 0x405560 tests +0xA as a whole byte, so any nonzero value is on |
| TPW-EXE:0x4055D0 cheat save | source/OpenTPW/Economy/OriginalParkExport.cs:151 | [BIN:TPW-EXE:0x4055D0 cheat save] the chunk is the mode byte +0xA and the byte +0xB; [EXT:cheats-export] OpenTPW writes 01 01 for a cheated park (the shipped seed's value; no tp.exe code writes +0xB, so its meaning for another build is unknown) and 00 00 for any other |
| TPW-EXE:0x407f20 Hoardings loader | source/OpenTPW/World/ParkLand.cs:153 | [BIN:TPW-EXE:0x407f20 Hoardings loader] the theme's hoardings.sam (name 0x74782c, string object 0x786bd8) fills the click table 0x784e30, whose pairs start at 0x784e3c; endhoardings.sam fills a second table 0x784c20 the park fence does not read |
| TPW-EXE:0x4080E0 fog colour | source/OpenTPW/Render/RenderFog.cs:11 | [BIN:TPW-EXE:0x4080E0 fog colour] the level load copies <c>ThemeEngine.FogColour</c> into the engine fog colour [0x8BD47C], which the |
| TPW-EXE:0x4080E0 fog colour | source/OpenTPW/World/Sky.cs:715 | [BIN:TPW-EXE:0x4080E0 fog colour] the level load copies the setting (0x7856D4) into the fog colour 0x8BD47C that the viewport clear and the sky's haze blend with (0x5737AA) |
| TPW-EXE:0x4080e0 fog colour | source/OpenTPW/Client/GameFlow.cs:1208 | [BIN:TPW-EXE:0x4080e0 fog colour] [0x8bd47c] is the one colour of the viewport clear, the sky's haze and the distant vertices |
| TPW-EXE:0x4080e0 fog colour | source/OpenTPW/Client/GameFlow.cs:1219 | [BIN:TPW-EXE:0x4080e0 fog colour] the level load copies ThemeEngine.FogColour into the fog colour [0x8bd47c]; [BIN:TPW-EXE:0x5737aa clear] the viewport clear uses it only when the render flags [0x8bcbc8] have bit 0x2000 (the fog, which the first-person views toggle in, 0x54fad7) or 0x4000000 (the lobby's), else black: the park overview clears black (RenderFog.ClearColour) |
| TPW-EXE:0x4092a0 game pause | source/OpenTPW.Tests/AudioPauseSoundTests.cs:85 | [BIN:TPW-EXE:0x4092a0 game pause] [BIN:TPW-EXE:0x598960 advisor pause] [BIN:TPW-EXE:0x51c1d0 paused listener] |
| TPW-EXE:0x4092a0 game pause | source/OpenTPW.Tests/AudioPauseSoundTests.cs:127 | [BIN:TPW-EXE:0x4092a0 game pause] a non-zero second argument calls 0x51BCF0 and returns before the advisor pause and the paused word |
| TPW-EXE:0x4092a0 game pause | source/OpenTPW/Audio/GamePauseSound.cs:35 | [BIN:TPW-EXE:0x4092a0 game pause] the second argument is stored at +0x20 (0x4092D3); non-zero calls the mixer pause 0x51BCF0 and returns, zero calls the advisor pause 0x598960 and sets the paused word through 0x51C1C0 (0x4092E1-0x4092E8) |
| TPW-EXE:0x4092a0 game pause | source/OpenTPW/Hud/ParkHud.PauseSound.cs:13 | [BIN:TPW-EXE:0x4092a0 game pause] the callers are the pause menu 0x48c87e, the map 0x5f0b7f, the postcard 0x4a93d7, the message boxes 0x47f26c, the three screens 0x49efba, 0x49f29f, 0x4a3a6c and the deactivation 0x46b74c; the only other caller of the pause object is the P key (0x409350, from 0x40bf77 and the P window 0x4a2706) |
| TPW-EXE:0x4092a0 game pause | source/OpenTPW/Hud/ParkHud.cs:241 | [BIN:TPW-EXE:0x4092a0 game pause] the game pause (object 0x786b68, +0x1c = 1) is called by the pause menu 0x48c830 (0x48c87e, from Esc), by the full-screen map window 0x5f0b40 (0x5f0b7f, from Space) and by the postcard 0x4a9380 (0x4a93d7, Ctrl+P), by the generic message box 0x47f020 (0x47f26c), by the main window procedure 0x46b600 when the application is deactivated (0x46b74c) and by the three screens the pause menu's handler 0x48b6a0 opens (0x49efba, 0x49f29f, 0x4a3a6c); the park pauses here for the pause menu with the screens opened from it and for the map window |
| TPW-EXE:0x4092a0 pause sound side | source/OpenTPW/Hud/ParkHud.cs:226 | [BIN:TPW-EXE:0x4092a0 pause sound side] 0x4092A0 also pauses the advisor's speech handle (0x598960 -> 0x51C060, with the advisor option on) and sets the sound entry's paused word (0x51C1C0 -> 0x803AD2), which lifts the listener 10000 units in 0x51C1D0; the application's deactivation pauses the whole mixer instead (0x51BCF0, 0x51BD30); GamePauseSound is that, and ObservePauseSound hands it the frame's change of owners |
| TPW-EXE:0x409300 game resume | source/OpenTPW.Tests/AudioPauseSoundTests.cs:143 | [BIN:TPW-EXE:0x409300 game resume] the byte +0x20 of the pause object holds the last pause's second argument: non-zero resumes the mixer only (0x51BD30), zero the advisor and the word |
| TPW-EXE:0x409300 game resume | source/OpenTPW/Audio/GamePauseSound.cs:50 | [BIN:TPW-EXE:0x409300 game resume] reads the byte +0x20: non-zero calls the mixer resume 0x51BD30 (0x40932B), zero the advisor resume 0x598990 and the paused word 0 (0x409332-0x409339); the byte stays as it was |
| TPW-EXE:0x409300 resume | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:37 | Ends the focus-loss latch together with the window it opened. [BIN:TPW-EXE:0x409300 resume] every resume (about 26 callers) runs 0x481450 -> 0x48a700 -> 0x4a27c0, |
| TPW-EXE:0x409300 resume | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:94 | [BIN:TPW-EXE:0x409300 resume] a resume destroys the P window (0x481450 -> 0x48a700 -> 0x4a27c0; about 26 callers), so any speed other than Paused closes it. |
| TPW-EXE:0x409350 | source/OpenTPW.Tests/ApplicationPauseTests.cs:249 | [BIN:TPW-EXE:0x409350] the pause object has one flag: with it set, P resumes in one press (a focus loss after P is the same flag again) |
| TPW-EXE:0x409350 / 0x4092a0 creators | source/OpenTPW/Hud/ParkHud.PointerInput.cs:47 | [BIN:TPW-EXE:0x409350 / 0x4092a0 creators] only the P key (0x4a27f0) and the offline focus-loss pause (0x4a2790) create it, and every resume destroys it (0x4a27c0). |
| TPW-EXE:0x409350 P toggle | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:50 | [BIN:TPW-EXE:0x409350 P toggle] the pause object has one flag (+0x1C): with it set, whoever set it (P, the pause menu or the focus loss), the key resumes, so one press ends |
| TPW-EXE:0x409350 P toggle | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:58 | [BIN:TPW-EXE:0x409350 P toggle] the key row (0x40bf77) and the P window's own procedure (0x4a2706) call 0x409350, which first toggles the window [0x7cb2cc] |
| TPW-EXE:0x40BDA0 | source/OpenTPW/Audio/GameAudio.cs:177 | [BIN:STP-PPC:0x10112430 backtrack key] the key command "backtrack" (Backspace, command table data 0x455B0): tool mode 0, mouse-mode state 0 or 1 and a path cell under the cursor play cat_ui 95 at (x·10, 0, y·10) before the single-cell removal (mode 0x32, build pass 0x10070B98, ClearCell's path case); [BIN:TPW-EXE:0x40BDA0] the same, its sound call at 0x40BE71 |
| TPW-EXE:0x40BDA0 backtrack key | source/OpenTPW/World/ParkPathBuilder.cs:460 | [BIN:TPW-EXE:0x40BDA0 backtrack key] with a tool object on (vtable 0x6FE9E0, slot +0x24 returns 3) Backspace calls Back 0x52FE50(0, 1) at 0x40BEB3, which pops the vertex stack (count 0x820A8C), switches to mode 0x34 and clears the line from the popped vertex to the new top (0x525F71: LayLine pass 0x32, ClearCell 0x5367A0 with the walk step, so each cell's placement counter drops by one and the cell goes once it falls below 0; the path case spends nothing), then continues from the new top; with only the start left it changes nothing |
| TPW-EXE:0x40BE8B backtrack click | source/OpenTPW/World/Level.Objects.cs:1259 | [BIN:TPW-EXE:0x40BE8B backtrack click] the key handler clicks the cell in mode 0x32, whose one-cell LayLine (0x536100) calls SetCell(0x32, 0, 1) and so ClearCell 0x5367A0 with (0, 1): the counted removal, not the forced one |
| TPW-EXE:0x40C180 Escape in a tool | source/OpenTPW/Client/ThemeParkIncHud.cs:99 | [BIN:TPW-EXE:0x40C180 Escape in a tool] Escape ends a tool (installs the default park mode, SetMode(0)) and is consumed; only an Escape with no tool on reaches the pause menu row (0x748378, 0x40C4D0) |
| TPW-EXE:0x40C430 | source/OpenTPW/Economy/ParkCheats.cs:13 | <summary>[BIN:TPW-EXE:0x40C430] Alt+R: every research item's object becomes available to build (<c>0x503FF0</c>); research itself is not touched. The argument is unused (0).</summary> |
| TPW-EXE:0x40C430 research cheat | source/OpenTPW/Economy/ParkEconomy.cs:442 | [BIN:TPW-EXE:0x40C430 research cheat] the research manager's 0x503FF0 sets every research item's object control available (+0x10 = 1); progress and completion are not touched |
| TPW-EXE:0x40C450 | source/OpenTPW/Economy/ParkCheats.cs:11 | <summary>[BIN:TPW-EXE:0x40C450] Alt+1: the bank credits <see cref="ParkCheats.MoneyAmount"/> as a prize (<c>0x4D0190(10000)</c>). The argument is unused (0).</summary> |
| TPW-EXE:0x40C450 money cheat | source/OpenTPW/Economy/ParkEconomy.cs:438 | [BIN:TPW-EXE:0x40C450 money cheat] the bank's credit 0x4D0190(10000), the path of a challenge prize: the balance (+0xC), money in (park +0x1FC90) and the year's profit (+0x124), so it counts toward the profit ticket |
| TPW-EXE:0x40C6C0 | source/OpenTPW/Economy/ParkCheats.cs:16 | [BIN:TPW-EXE:0x40C6C0] Alt+G and Alt+Num1..9: a golden ticket, silently. The argument is the <see cref="GoldenTicketKind"/> (0..9: the six local tickets through <c>0x5AF810</c>, the four global |
| TPW-EXE:0x40C6C0 ticket cheats | source/OpenTPW/Economy/ParkEconomy.cs:445 | [BIN:TPW-EXE:0x40C6C0 ticket cheats] the handlers call the player ledger directly (0x409410 → 0x5AF810 / 0x5AF940): no advisor message, no first-ticket lines, no log |
| TPW-EXE:0x40C900 | source/OpenTPW/Hud/ParkHud.RideView.cs:121 | Alt+C is no C press either ([BIN:TPW-EXE:0x40C900] exact modifier match): it is the cheats window's key |
| TPW-EXE:0x40C900 context key match | source/OpenTPW/Hud/ParkHud.Camcorder.cs:56 | [BIN:TPW-EXE:0x40C900 context key match] a key matches its context entry only with the entry's exact modifier mask: the camcorder's C has none, so Alt+C (the cheats window's key) is no camcorder press |
| TPW-EXE:0x40C900 context key match | source/OpenTPW/World/ParkCameraMode.cs:152 | [BIN:TPW-EXE:0x40C900 context key match] a key event matches a context entry only on the exact key and modifier mask; the camera context's table 0x748158 holds VK_NUMPAD4 (entry 15) and VK_NUMPAD6 (entry 22) with |
| TPW-EXE:0x40C990 key dispatch | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:145 | [BIN:TPW-EXE:0x40C990 key dispatch] an entry matches only when both the key and the modifier mask (0x46B420: Shift 3, Ctrl 0xC, Alt 0x30) are equal, so a plain shortcut (mask 0) never fires with Alt held and the cheat context's Alt keys (mask 0x30) reach their own table |
| TPW-EXE:0x40C990 key release | source/OpenTPW/Hud/ParkHud.Cheats.cs:40 | [BIN:TPW-EXE:0x488991 cheat context] after the camera, game and shortcuts contexts the key goes to the cheat context 0x78733C only while 0x405560 (the mode byte +0xA) is set; [BIN:TPW-EXE:0x40C990 key release] the cheat handlers sit in the entries' +0xC slot, which the release message 0x1000B calls (the press, 0x1000A through 0x40C900, only sets the entry's pressed flag at 0x40C974), with the modifier mask read at that moment |
| TPW-EXE:0x40FC80 message centre writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:530 | [BIN:TPW-EXE:0x40FC80 message centre writer] a word and 29 lists (u32 count, count × u16) |
| TPW-EXE:0x40c120 turn key ',' | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:285 | [BIN:TPW-EXE:0x40c120 turn key ','] game key group row 1 (0x74803c) sets the build angle (0x81d7a4, getter 0x52f1f0, setter 0x52f1b0) to (angle + 0x5a) mod 0x168; [BIN:TPW-EXE:0x40c150 turn key '.'] row 2 (0x748050) adds 0x10e. The angle goes unchanged to the placement check and commit 0x528a70 (0x524c51..0x524c63), as Level.BuildRotation does to PlaceObject (ObjectFootprint: rotation 90 maps (u, v) to (X+v, Y-u), verified on Easymode saves) |
| TPW-EXE:0x40c150 turn key '.' | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:285 | [BIN:TPW-EXE:0x40c120 turn key ','] game key group row 1 (0x74803c) sets the build angle (0x81d7a4, getter 0x52f1f0, setter 0x52f1b0) to (angle + 0x5a) mod 0x168; [BIN:TPW-EXE:0x40c150 turn key '.'] row 2 (0x748050) adds 0x10e. The angle goes unchanged to the placement check and commit 0x528a70 (0x524c51..0x524c63), as Level.BuildRotation does to PlaceObject (ObjectFootprint: rotation 90 maps (u, v) to (X+v, Y-u), verified on Easymode saves) |
| TPW-EXE:0x40c3b0 speed actions | source/OpenTPW/Economy/ParkCalendar.cs:13 | [BIN:TPW-EXE:0x40c3b0 speed actions] the key table at 0x7480a0 maps VK_SUBTRACT (0x6D) to 0x40c3b0 (rate × 0.8, 0x403340), VK_ADD (0x6B) to 0x40c3c0 (rate × 1.25, 0x4032f0) and VK_MULTIPLY (0x6A) to 0x40c3d0 (rate 1.0, 0x4032d0); both steps clamp to 0.25..2.0 (0x6fd648 / 0x6fd650) on the clock 0x785970 +0x20 |
| TPW-EXE:0x40c5d0 system key row 1 'toghelp' | source/OpenTPW/Hud/ParkHud.Help.cs:8 | [BIN:TPW-EXE:0x40c5d0 system key row 1 'toghelp'] Ctrl+H (0x4817f0) shows or hides the global help object (0x77c48c) and stores the new state in options byte 0x78d90e = options +0x36, the Popup help (TooltipsOn) option the options screen edits; the help box geometry is UI-010 |
| TPW-EXE:0x40cb80 key group initialiser, 0x40caa0 helper | source/OpenTPW/Global/Input.Localized.cs:12 | [BIN:TPW-EXE:0x40cb80 key group initialiser, 0x40caa0 helper] the 21 strings of table 0x3fc are copied into the char byte (+2) of the shortcut rows 1..11 (strings 0..10), the camcorder row 16 (string 11), the staff locator, visitor locator and postcard rows (12..14), the game rows Ctrl+C and Ctrl+O (16, 17) and ',' and '.' (18, 19), and the system rows pause (20) and toghelp (15); Space (map) and Esc are never overridden. For example Dutch buy is K, hire is A and research is O |
| TPW-EXE:0x412fb0 object name | source/OpenTPW/Hud/ChallengeMessageText.cs:86 | [BIN:TPW-EXE:0x412fb0 object name] the challenge formatter supplies a 64-unit destination, including its terminator. |
| TPW-EXE:0x413C10 object loader | source/OpenTPW/World/Objects/ObjectTypeSounds.cs:23 | [BIN:TPW-EXE:0x413C10 object loader] after the type's settings the loader asks 0x41F420 whether the archive holds the custom bank and, when it does, registers it (0x41408D-0x4140A6) before the scoped particle templates (0x41F630, 0x414420 at 0x4140BC) |
| TPW-EXE:0x41408D | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:153 | [BIN:TPW-EXE:0x41F420] cat_rideBANK.map, cat_rideSFX.map and BankHD.sdt must all be found; [BIN:TPW-EXE:0x41408D] then "cat_ride" is registered from the archive's folder |
| TPW-EXE:0x41408D custom bank load | source/OpenTPW/World/Objects/ObjectTypeSounds.cs:25 | [BIN:TPW-EXE:0x41408D custom bank load] 0x51B4F0(the archive's folder (vf+0x18), "cat_ride" 0x74787C) registers the category with the sound library (vf+4, the loader 0x6BF330 every category goes through) and the type record keeps the handle at +0x4F0 (0x4140A6); 0x51B4F0 returns 0 with the sound system off (0x802BC8, 0x802BD4), which OpenTPW's silent audio leaves to the submit |
| TPW-EXE:0x414420 | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:168 | [BIN:TPW-EXE:0x414420] every *.emt member is stored at +0x4DC + 4 x atoi(the last character of its stem), after the own list (0x4140BC): a stem ending in 5 lands on +0x4F0 |
| TPW-EXE:0x414420 scoped templates | source/OpenTPW/World/Objects/ObjectTypeSounds.cs:54 | [BIN:TPW-EXE:0x414420 scoped templates] for every "*.emt" member (the pattern 0x788F40, built at 0x411970 from 0x747AD4; 0x41F630 tests the same string 0x78BCF0 first) the stem without ".emt" (0x424D30, compared with _stricmp) is cut to its last character (0x5F7D90 Right(1)), atoi (0x67A480) gives n and the template id 0x51FA20 returns is stored at +0x4DC + 4n (0x41455A): n = 5 overwrites the custom bank at +0x4F0, and EVENT type 10 then submits the template id as the category handle |
| TPW-EXE:0x415140 load restarts the clock | source/OpenTPW/World/Coasters/CoasterRide.cs:1490 | [BIN:TPW-EXE:0x415140 load restarts the clock] the save loader 0x414D40 calls 0x415140 after the payload (0x415270), which sets 0x879070; the running case of the main loop 0x54E360 then restarts the substep clock 0x878C74 at the frame's own time, so the first frame after a load runs its substep loop (and the script pass 0x5516B0) only when the clock advanced a millisecond between those two reads, and its coaster update rebuilds at the constructor's speed setting before any script pass |
| TPW-EXE:0x415254 level start | source/OpenTPW/Audio/GameAudio.cs:316 | [BIN:TPW-EXE:0x415254 level start] the level start clears the sound entry's paused word |
| TPW-EXE:0x415270 block loader | source/OpenTPW.Files/Formats/Save/SaveCoasterList.cs:232 | [BIN:TPW-EXE:0x415270 block loader] each block's own reader runs and the next four bytes are compared with the block's tag (0x415371): the Coasters reader 0x437B60 consumes its bytes by the types' train and car counts and nothing searches for the tag |
| TPW-EXE:0x415270 block loader | source/OpenTPW.Files/Formats/Save/SavePayloadLayout.cs:259 | [BIN:TPW-EXE:0x415270 block loader] the coasters' reader consumes the block by the types' train and car counts, and the tag must follow: with the types known no delimiter is searched |
| TPW-EXE:0x415F50 header writer | source/OpenTPW.Files/Formats/Save/SaveContainerWriter.cs:38 | [BIN:TPW-EXE:0x415F50 header writer] a zeroed 0x500-byte banner buffer and a zeroed 0x100-byte header buffer are filled from the language table (0x78A464) and the 8-word bitmap 0x802080 and written in full; then the stamp (htonl of 0x749870 = 0x01221985) and the online flag word |
| TPW-EXE:0x415f50 header writer | source/OpenTPW.Files/Formats/Save/SaveReader.cs:31 | [BIN:TPW-EXE:0x415f50 header writer] u32 magic, u8 language, 0x500 bytes UTF-16 banner, 0x100 bytes header, u32 stamp (htonl 0x01221985), u32 online flag, then the BILZ chunk |
| TPW-EXE:0x4164C0 clock words | source/OpenTPW/VM/RideScriptWorld.cs:159 | [BIN:TPW-EXE:0x4164C0 clock words] the save writer stores the app-lifetime scaled timer 0x785970 (0x402E30) and the loader sets it again (0x415270), so the saved scripts' absolute waits (+0xA0, +0xA4, +0xC4), limbo expiries and walk-float starts are in that timer's milliseconds |
| TPW-EXE:0x4164C0 payload writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:341 | [BIN:TPW-EXE:0x4164C0 payload writer] the block routines in call order: 0x403780 (action recording), 0x516C80 (World), 0x475650 (Scripts), 0x51F680 (Particles), 0x40FC80 (message centre), 0x402E00 (clock), 0x403220 (vanilla time), 0x550520 (game system), 0x464140 (RideSystem), 0x5428E0 (track rides), 0x55DE70 (flying rides), 0x559350 (RSSE), 0x42CDC0 (camera), 0x437300 (coasters), 0x599C30 (advisor), 0x51C350 (sound), 0x4053B0 (cheats), 0x59BEA0 (advisor scoring), 0x4816A0 (UI); after every block but the first and the last a 4-byte stream write of the delimiter constants at 0x6FD8B8 (DLRW), 0x6FD8BC (CSPS), 0x6FD8C0 (TRAP), 0x6FD8C4 (SSEM), 0x6FD8D8 (KOLC), 0x6FD8DC (TNAV), 0x6FD8E0 (SYSG), 0x6FD8E4 (SYSR), 0x6FD8C8 (KART), 0x6FD8CC (RYLF), 0x6FD8D0 (ESSR), 0x6FD8D4 (EMAK), 0x6FD8E8 (SAOC), 0x6FD8F0 (SVDA), 0x6FD8EC (NUOS), 0x6FD8F4 (STHC), 0x6FD8F8 (CSDA), each stored as the byte-reversed tag |
| TPW-EXE:0x418c30 sky object setup | source/OpenTPW/World/Sky.cs:138 | [BIN:TPW-EXE:0x418c30 sky object setup] for every object of the settings (count 0x785724, records of six words from 0x785728) the park calls the sky's add 0x5850C0 with the file, X, Y, Z, Size and the mask 1 for a non-zero FrontFlag, 2 for a zero one; the add refuses a seventeenth object (0x5850C7) and an object whose file does not load (0x58517B) |
| TPW-EXE:0x4193d0 language names | source/OpenTPW.Files/Public/GameLanguage.cs:48 | [BIN:TPW-EXE:0x4193d0 language names] sixteen string objects of 0x14 bytes from 0x78b3d8 (one copy per translation unit): English, French, German, |
| TPW-EXE:0x419710 font banks | source/OpenTPW/UI/Original/UiCanvas.cs:43 | [BIN:TPW-EXE:0x419710 font banks] the original loads one bank of 13 font slots by screen mode: Res.RESOLUTION [0x7858ec] 1, 2, 3, 4+ (512×384, 640×480, 800×600, 1024×768 and up) or else the options resolution index [0x78d8dc] 0, 1, 2, 3+ give bank 0, 1, 2, 3 (MENU/TITLE/SESH/CASH SMALL, MED, BIG, BIG) |
| TPW-EXE:0x41AA24 jump table | source/OpenTPW.Tests/KidSetLoadTests.cs:30 | [BIN:TPW-EXE:0x41AA24 jump table] words 0, 1, 2, 3 -> 2, 4, 6, 8 and any word above 3 (unsigned) -> 8 |
| TPW-EXE:0x41AA40 staff bank limit | source/OpenTPW/World/Staff/StaffSprites.cs:82 | [BIN:TPW-EXE:0x41AA40 staff bank limit] the jump table 0x41AA84 holds 1 for the word 0 and 2 for 1, 2, 3 and anything above (low.sam 0, med.sam and high.sam 2); the kid sets' own limit 0x41A9D0 takes 2, 4, 6 and 8 from the same word |
| TPW-EXE:0x41AA84 jump table | source/OpenTPW.Tests/StaffBankLimitTests.cs:39 | [BIN:TPW-EXE:0x41AA84 jump table] 0 -> 1, 1, 2, 3 and above -> 2 |
| TPW-EXE:0x41F420 | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:153 | [BIN:TPW-EXE:0x41F420] cat_rideBANK.map, cat_rideSFX.map and BankHD.sdt must all be found; [BIN:TPW-EXE:0x41408D] then "cat_ride" is registered from the archive's folder |
| TPW-EXE:0x41F420 custom bank gate | source/OpenTPW/World/Objects/ObjectTypeSounds.cs:24 | [BIN:TPW-EXE:0x41F420 custom bank gate] three lookups through the archive's file system (vf+4): the static strings 0x78C438, 0x78C240 and 0x78C4E0 (their text pointers at +8: 0x78C440, 0x78C248, 0x78C4E8), built at 0x41ADA0, 0x41ADD0 and 0x41AE00 from "cat_rideBANK.map" (0x747888), "cat_rideSFX.map" (0x74789C) and "BankHD.sdt" (0x7478AC); all three must be found |
| TPW-EXE:0x41a850 is Hebrew | source/OpenTPW.Files/Public/GameLanguage.cs:174 | [BIN:TPW-EXE:0x41a850 is Hebrew] the language word compared with 0x40d; called by the text helpers 0x492750 and 0x4929f0, the alignment helper 0x4925a0, |
| TPW-EXE:0x4237F0 options OK | source/OpenTPW/Audio/GameAudio.cs:1233 | [BIN:TPW-EXE:0x4237F0 options OK] OK on the options screen calls the applier 0x423DD0, which pushes every channel's profile volume and on-flag |
| TPW-EXE:0x4237F0 options OK | source/OpenTPW/UI/Original/Options/OptionsScreen.cs:363 | [BIN:TPW-EXE:0x4237F0 options OK] OK applies every profile volume and on-flag again (0x423DD0), ending a loaded original save's volumes |
| TPW-EXE:0x423DD0 channel pairs | source/OpenTPW/Audio/SavedSoundVolumes.cs:21 | [BIN:TPW-EXE:0x423DD0 channel pairs] effects = +0x1C with on-flag +0x38, music = +0x20 with +0x3C, speech = +0x24 with +0x40 (the applier pairs each on setter with its volume setter) |
| TPW-EXE:0x423DD0 options applier | source/OpenTPW/Audio/SavedSoundVolumes.cs:10 | [BIN:TPW-EXE:0x423DD0 options applier] only the applier pushes the profile's volumes (0x78D8E8..0x78D8FC) to the shadows again; its callers are the options screen's OK (0x4237F0 from 0x4A2BF0), the profile file read and write (0x423E90, 0x4242C0; written at park exit, state 12 of 0x54E360 through 0x5C8650) and the defaults (0x423690), so a loaded save's volumes hold until one of those or a slider or toggle of that channel (0x4A2BF0 messages 0x800/0x801 call one setter) |
| TPW-EXE:0x423dd0 movie volume apply | source/OpenTPW/Client/Movie/MovieVolumeCurve.cs:8 | [BIN:TPW-EXE:0x423dd0 movie volume apply] the sound-options apply routine passes percent · 1023 / 100 (C division) to the movie |
| TPW-EXE:0x423dd0 options applier | source/OpenTPW.Tests/AudioGroupEnableTests.cs:167 | [BIN:TPW-EXE:0x423dd0 options applier] [BIN:TPW-EXE:0x4A2E90 volume rows] a toggle sets the volume (0 while it is off), the on-flag follows the applier (the options screen's OK, leaving a park) and a save's block |
| TPW-EXE:0x423dd0 options applier | source/OpenTPW/Audio/GameAudio.cs:1244 | [BIN:TPW-EXE:0x423dd0 options applier] pairs each on setter with its volume setter (effects +0x38 / +0x1C, music +0x3C / +0x20, speech +0x40 / +0x24); the toggles' own rows call only the volume setter (0x4A3480 -> 0x4A2E90) |
| TPW-EXE:0x42A256 exit cell centre | source/OpenTPW/World/Level.RideView.cs:160 | [BIN:TPW-EXE:0x42A256 exit cell centre] x = 5 + 10 x the cell's column and z = 5 + 10 x its row (0x6FDD5C -10, 0x6FDD60 5) |
| TPW-EXE:0x42A560 seat lookup | source/OpenTPW.Tests/RideSeatCorpusTests.cs:112 | [BIN:TPW-EXE:0x42A560 seat lookup] without a seat in the camera car's model (0x44B220(model, 0x1000, 1), then seat 1 again) the call returns before the camera changes; the coaster car models of the four themes (census of the shipped WADs) all have one |
| TPW-EXE:0x42A990 walk projection | source/OpenTPW/World/FreeWalkCameraMode.cs:42 | [BIN:TPW-EXE:0x42A990 walk projection] the walk view is the camcorder mode of the same camera, so it shares the one projection |
| TPW-EXE:0x42AB20 hide the interface | source/OpenTPW/World/Level.RideView.cs:25 | [BIN:TPW-EXE:0x42AB20 hide the interface] entering the walk (mode 2) or the ride (mode 4) from the park view hides the HUD window and shows the camcorder window (0x481470 -> 0x4A2AC0: message 6 to 0x7CB2AC and 0x7CB2B0) |
| TPW-EXE:0x42AE70 camcorder walk | source/OpenTPW/World/FreeWalkCameraMode.cs:9 | [BIN:TPW-EXE:0x42AE70 camcorder walk] the walk enters from the camcorder tool's click (0x46D0D0): the camera mode 2 (0x42AB20) at the hover point (0x7A1C70, 0x7A1C78) with the park camera's yaw (0x790A38) and zoom value |
| TPW-EXE:0x42AE70 leaving the walk | source/OpenTPW/World/Level.FreeWalk.cs:39 | [BIN:TPW-EXE:0x42AE70 leaving the walk] the park's target and yaw are put back as they were saved at the click (0x790AD0..0x790AD8, 0x790A9C); the zoom value is the one global the walk shares with the park camera |
| TPW-EXE:0x42AE70 walk cell types | source/OpenTPW/World/Level.FreeWalk.cs:66 | [BIN:TPW-EXE:0x42AE70 walk cell types] the cell of the hover point (0x7A1C70, 0x7A1C78 over 10, clamped to the map) must have type 30 (0x5363A0), 1 (0x536310), 3 or 9 (0x536320) or 0 (0x536390) |
| TPW-EXE:0x42AE70 walk yaw | source/OpenTPW.Tests/FreeWalkCameraTests.cs:28 | [BIN:TPW-EXE:0x42AE70 walk yaw] the original's yaw runs from +z (the engine's +Y) toward +x: forward on the ground is (sin yaw, cos yaw) |
| TPW-EXE:0x42B1C0 camcorder keys | source/OpenTPW/World/FreeWalkCameraMode.cs:10 | [BIN:TPW-EXE:0x42B1C0 camcorder keys] the Left key or numpad 9 turn left, the Right key or numpad 7 right, the Up key or numpad 1 walk forward and the Down key or numpad 3 back; the right mouse button held walks forward; the |
| TPW-EXE:0x42B1C0 walk constants | source/OpenTPW/World/CamcorderWalk.cs:41 | [BIN:TPW-EXE:0x42B1C0 walk constants] 0.0012 radians per millisecond (0x6FDDA4, 0x6FDDA8), a walk key's speed 0.1 (0x6FDDAC), the pointer's dead zone of 0.4 either side (0x6FDDE4, 0x6FDDEC) with twice the |
| TPW-EXE:0x42B1C0 walk without input | source/OpenTPW/World/FreeWalkCameraMode.cs:121 | [BIN:TPW-EXE:0x42B1C0 walk without input] the update runs every frame the walk is the camera, so the walker coasts on its velocity (the velocity ramp and the cell moves are the frame's own) instead of freezing |
| TPW-EXE:0x42B2A0 frame time | source/OpenTPW/World/CamcorderWalk.cs:68 | [BIN:TPW-EXE:0x42B2A0 frame time] dt = the millisecond tick now (0x402D80) + 1 less the last frame's tick ([0x7909E4]); above 200 it becomes 100.0 (0x42B2D4), and 0 or less 1.0 (0x42B2ED) |
| TPW-EXE:0x42B412 walk keys | source/OpenTPW/World/CamcorderWalk.cs:113 | [BIN:TPW-EXE:0x42B412 walk keys] the Left key lowers the yaw by 0.0012 x the frame time and the Right key raises it; the Down key asks -0.1 and the Up key 0.1 (the two cancel) |
| TPW-EXE:0x42B6A8 map edges | source/OpenTPW/World/CamcorderWalk.cs:128 | [BIN:TPW-EXE:0x42B6A8 map edges] bit 1: x below 0, bit 4: z below 0, bit 2: x beyond the map's width, bit 8: z beyond its depth (read before the frame's move) |
| TPW-EXE:0x42B885 walk look | source/OpenTPW/World/CamcorderWalk.cs:96 | [BIN:TPW-EXE:0x42B885 walk look] with no ride bit in 0x3C: x below -0.4 gives 2 x (x + 0.4), above 0.4 2 x (x - 0.4), else 0 (0x790AE0); y below -0.4 gives -y - 0.4, above 0.2 (0.2 - y) x 1.2, else 0 (0x790ADC) |
| TPW-EXE:0x42BAB3 walk turn | source/OpenTPW/World/CamcorderWalk.cs:138 | [BIN:TPW-EXE:0x42BAB3 walk turn] the pointer's turn rate adds 0.0012 x the rate x the frame time to the yaw; the walk's direction is (sin yaw, cos yaw) in x and z |
| TPW-EXE:0x42BC2A walk velocity | source/OpenTPW/World/CamcorderWalk.cs:145 | [BIN:TPW-EXE:0x42BC2A walk velocity] the new velocity is half the sum of 0.02 x the square root of the zoom value times the wanted velocity and the last one |
| TPW-EXE:0x42BC9C map edge damping | source/OpenTPW/World/CamcorderWalk.cs:153 | [BIN:TPW-EXE:0x42BC9C map edge damping] beyond the map a velocity that carries further out is the last one divided by 1 + 0.01 x the frame time |
| TPW-EXE:0x42BDC6 walk move | source/OpenTPW/World/CamcorderWalk.cs:169 | [BIN:TPW-EXE:0x42BDC6 walk move] the frame's move (velocity x frame time, a part under 0.0001 dropped) is taken cell edge by cell edge: the time to the next edge on each axis (the fraction of the cell left over the move's |
| TPW-EXE:0x42CEC0 camera loader | source/OpenTPW/World/ParkCameraMode.cs:349 | [BIN:TPW-EXE:0x42CEC0 camera loader] gf_CameraZoom, gf_YRotation, gui_CameraFlags (cleared again after the read), gs_RequiredPOIPosition (three floats), gs_SavedPOIPosition and the saved yaw are read into the camera's own words; the camera then steers to the required point |
| TPW-EXE:0x42D03F camera loader snap | source/OpenTPW/World/ParkCameraMode.cs:361 | [BIN:TPW-EXE:0x42D03F camera loader snap] with the rotation byte 0x78D912 set (the options page's Rotation toggle, case 0x1D4C6 of 0x4A3480: set for " 90 degs") the loaded yaw gf_YRotation (0x790A38) is replaced: r = fmod(yaw, 0x3FF921FB60000000 = pi/2 as the single 0x3FC90FDB) through 0x67B24A (fprem, exact), then a negative r below -pi/4 (0xBF490FDB) gives yaw - (r - 0xBFC90FDB), another negative r yaw - r, a positive r above pi/4 (0x3F490FDB) yaw + (pi/2 - r) and the rest yaw - r; each operation rounds to the single precision the thread runs at once the Direct3D device exists (24 bits, 0x563914), and the result is stored as a float. The camera update runs the same snap every frame (0x42B21A); the smoothed yaw 0x7909E0 keeps the saved value and eases toward the target, which OpenTPW's camera does not model (it starts on the target) |
| TPW-EXE:0x42a190 leaving the ride | source/OpenTPW/World/Level.RideView.cs:89 | [BIN:TPW-EXE:0x42a190 leaving the ride] 0x42A560 toggles the ride camera off through 0x42AB20 (mode 4), which answers 1 only when the ride was entered from the walk (flag 0x400, set at 0x42ABxx when the walk bit was on): then the walk |
| TPW-EXE:0x42a1d0 ride exit yaw | source/OpenTPW/World/Level.RideView.cs:120 | [BIN:TPW-EXE:0x42a1d0 ride exit yaw] the byte is the exit cell's +0xd (0x522850 read on the cell record named by mExitPos, index (+0x38 - 1) × 0x44, not a direction of the thing): masked with 0x55 it selects the park yaw 0x790a38 by a switch with no default: 1 → π, 4 → π/2, 0x10 → 0, 0x40 → 3π/2 |
| TPW-EXE:0x42a340 | source/OpenTPW/World/Level.RideView.cs:124 | [BIN:TPW-EXE:0x42a340] type 9 -> owner +0x10 -> owner cell's thing list +0x24 -> type 3 with CannotRide 0. |
| TPW-EXE:0x42a340 ride exit thing | source/OpenTPW/World/Level.RideView.cs:113 | [BIN:TPW-EXE:0x42a340 ride exit thing] the cell's thing list is walked for the first thing whose type byte (+2) is 3 and whose type record (0x4dd4e0 → 0x412e90) has +0x118 == 0; the key table at 0x7456e8 puts UsageInfo key 21 (CannotRide) at +0x118 (key 28, MinSpeed, is the known +0x134, four bytes a key) |
| TPW-EXE:0x42a560 ride camera | source/OpenTPW/World/Coasters/CoasterCarRig.cs:295 | [BIN:TPW-EXE:0x42a560 ride camera] a coaster's ride camera takes the node the seat lookup 0x44b220(model, 0x1000, 1) finds in the car model (coasta/megacost cart, minecart cart node 5 "camera") |
| TPW-EXE:0x42a560 ride camera | source/OpenTPW/World/RideCameraMode.cs:209 | [BIN:TPW-EXE:0x42a560 ride camera] a ride is rideable when its model has the seat record the camera looks up; about 40 ride models carry one (coasters, the Totem, bumper cars, go-karts, tv simulator, rocket and others) |
| TPW-EXE:0x42a560 ride camera | source/OpenTPW/World/RideSeat.cs:18 | [BIN:TPW-EXE:0x42a560 ride camera] the ride camera looks the seat up with 0x44b220(model, 0x1000, n) and keeps the node's matrix pointer (0x790a30) as the camera frame; the ride WADs carry such records, mostly type 0x1031 value 1 |
| TPW-EXE:0x42a6b8 ride mode | source/OpenTPW/Hud/ParkHud.RideView.cs:30 | [BIN:TPW-EXE:0x42a6b8 ride mode] mode 4 enters the native seat camera; 0x42af24 selects terrain camcorder mode 2. |
| TPW-EXE:0x42a760 camera input | source/OpenTPW/Hud/ParkHud.PointerInput.cs:55 | [BIN:TPW-EXE:0x42a760 camera input] the camera takes its buttons, wheel, pointer position and keys only from messages that the procedures of the HUD (0x488290, 0x48845c, 0x488b6a), the hidden-HUD overlay (0x4a287d) and the chat mode (0x4bd5cc) pass on to it; |
| TPW-EXE:0x42a760 mouse pixels | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:218 | [BIN:TPW-EXE:0x42a760 mouse pixels] the mouse handler stores the pointer as integers of the selected display mode (0x790ac8 = hiword x * W / 0x800, 0x790acc = loword y * H / 0x600, W and H the words 0xfaa5c4 and 0xfaa5c0 that 0x46b600 takes from the screen mode: 160 x 120 up to 2048 x 1536, 640 x 480 by default) converted to floats (0x42a855..0x42a863); the coaster drags copy them (0x441b00, 0x441d68, 0x4420bd) |
| TPW-EXE:0x42a760 park camera mouse turn | source/OpenTPW/World/ParkCameraMode.cs:268 | [BIN:TPW-EXE:0x42a760 park camera mouse turn] the button message 0x10005 with button 2 (DirectInput button 2, the middle button; 0 is left, 1 right) sets the mode bit 2 of 0x790aac, 0x10004 clears it, and the leave/focus messages 0x20 and 0x22 clear it too; while it is set every message 0x1e (once per drawn frame) adds (pointer X in whole pixels x 2048 / width - 1024) / 2048 = X / width - 0.5 to the yaw 0x790a38, in radians (the arrow keys turn it by 0.002 x frame milliseconds, 0x42b1c0) |
| TPW-EXE:0x42a990 field of view | source/OpenTPW/World/OriginalProjection.cs:9 | [BIN:TPW-EXE:0x42a990 field of view] the camera init multiplies pi/2 (0x74c9b8) by 180/pi (0x6fdd80) and hands 90.0 to 0x578BE0 (near 0.1, far 1000) and to the pick frustum 0x56B790; the first-frame setup 0x54E86F hands it 90.0 again; in the park, ride and walk views nothing else calls the builder with another angle (the front-end camera method 0x5d8cb0 calls it at 0x5d8cce with ISLANDFOV or 60, and 0x44e277 with 90) |
| TPW-EXE:0x42a990 home target | source/OpenTPW/World/Level.cs:586 | [BIN:TPW-EXE:0x42a990 home target] the camera starts, and the Home key returns, at the target (475, 0, 175) in original units, the middle of the entrance cells (47, 17) and (48, 17) that every level's Standard.sam names (FixedItemInfo.EntranceA/BPos); a saved park's own camera (the KAME block: 0x42cdc0 writes the zoom, yaw, flags and target) is not imported (docs/reverse/SAVE-plan.md), so every park starts at Home |
| TPW-EXE:0x42a990 projection | source/OpenTPW/World/ParkCameraMode.cs:110 | [BIN:TPW-EXE:0x42a990 projection] the camera init builds the projection once with pi/2 radians scaled to 90 degrees (0x578be0, near 0.1, far 1000) and the pose: zoom 110, yaw 0, target (475, 0, 175) (the entrance cells 47/48, 17 of every level's Standard.sam) |
| TPW-EXE:0x42a990 ride projection | source/OpenTPW/World/RideCameraMode.cs:13 | [BIN:TPW-EXE:0x42a990 ride projection] the ride camera never changes the projection (0x578be0, built once with the argument 90 at 0x42a990 and 0x54e860), so the ride view uses the park camera's projection (OriginalProjection). [APPROX:UI-094] the car 0x436880 selects is decoded (the train with the smallest position, its car 0 or the second car behind a front car of another type), the eye is its model's camera seat; the view direction is the matrix's third row (0x56b940, see SeatAxes) and the look rotations are the matrix code's (0x46f350, 0x46f650, LookAngles), which the video confirms (the view turns right and down with the pointer, 77:20-77:21); the blended basis stays orthonormal here and the first frame of a ride starts unblended (BlendFactor) |
| TPW-EXE:0x42aab0 locate jump | source/OpenTPW.Tests/CameraControlTests.cs:151 | <summary>[BIN:TPW-EXE:0x42aab0 locate jump] every locate and map jump of the original moves only the target (the zoom and yaw arguments are null), so no focus changes the zoom or the yaw and the original has no view-cycle button.</summary> |
| TPW-EXE:0x42ab20 camera mode bits | source/OpenTPW/Hud/ParkHud.RideView.cs:33 | [BIN:TPW-EXE:0x42ab20 camera mode bits] the mask 0x16 of 0x790ab0 names the walk (2), the ride (4) and 0x10, and no writer sets the low byte's bits 8, 0x10 or 0x20: the setter 0x42ab20 ors in only 2 or 4 (0x42ac4c, 0x42abb5), the camera reset 0x42a9be and the load 0x42d04c clear the word, and 0x42b1c0 rewrites it from itself; the saved word (0x42ce1b, 0x42cf61) is cleared after loading |
| TPW-EXE:0x42b1c0 camera update | source/OpenTPW/World/RideCameraMode.cs:12 | [BIN:TPW-EXE:0x42b1c0 camera update] the per-frame camera update: with the ride flag set, the camera matrix is the seat node's world matrix (0x790a30) with the three rotation rows blended with the node's matrix of the previous frame (0x790948) and the translation copied exactly (0x42ca04-0x42cb96), then the free-look rotation is multiplied in (0x42cba0-0x42cbdf) |
| TPW-EXE:0x42b1c0 eye | source/OpenTPW/World/ParkCameraMode.cs:321 | [BIN:TPW-EXE:0x42b1c0 eye] the eye offset (0x790aa0..0x790aa8) is (0, zoom x sin(pitch), -zoom x cos(pitch)) turned about the up axis by the smoothed yaw (0x7909e0): x = sin(yaw) x its z part, z = cos(yaw) x its z part (0x42c96d-0x42c9fe); the eye is the target (0x7908f0, 0x7908f4 = 0, 0x7908f8) plus that offset, and its height also gets the ground height under the target (0x452560 with flag 1, averaged with the previous frame's value 0x790ae4 each frame, 0x42c817-0x42c848) |
| TPW-EXE:0x42b1c0 pan velocity | source/OpenTPW/World/ParkCameraMode.cs:294 | [BIN:TPW-EXE:0x42b1c0 pan velocity] each frame the velocity becomes (sqrt(zoom) x 0.02 x key direction + the old velocity) x 0.5 (0x42bc30-0x42bc96: fsqrt, 0.02 at 0x6fddf8, 0.5 at 0x6fddfc), which settles at 0.02 x sqrt(zoom) original units per millisecond; the target then moves by the frame's milliseconds times that. OpenTPW takes the settled value (no ramp) |
| TPW-EXE:0x42b1c0 pitch | source/OpenTPW/World/ParkCameraMode.cs:304 | [BIN:TPW-EXE:0x42b1c0 pitch] t = (zoom - 70) / 60 (0x42c742: 70.0 at 0x6fde08, 0.016666668 at 0x6fde14); pitch (0x790a3c) = (1 - t) x 0.7853982 - t x -1.134464 (0x6fde18), clamped to 0..1.4707963 (0x42c7c0) |
| TPW-EXE:0x42b1c0 view matrix | source/OpenTPW/World/ParkCameraMode.cs:331 | [BIN:TPW-EXE:0x42b1c0 view matrix] the camera matrix (0x790990) is the x rotation by the pitch (0x46fb50: rows (1,0,0), (0,cos,sin), (0,-sin,cos)) turned about the up axis by the smoothed yaw (0x46f650); its third row is the view direction, so the camera looks down by the pitch and not at the target point itself (the ground height under the target only lifts the eye) |
| TPW-EXE:0x42b1c0 yaw sign | source/OpenTPW/World/ParkCameraMode.cs:269 | [BIN:TPW-EXE:0x42b1c0 yaw sign] the Left arrow (key 6) and numpad 9 (0x12) add to the yaw, the Right arrow (7) and numpad 7 (0x13) subtract, so a pointer right of the centre turns like the Left arrow: OpenTPW's yaw (degrees, rotate left = less) goes down |
| TPW-EXE:0x42b1c0 zoom range | source/OpenTPW/World/ParkCameraMode.cs:11 | [BIN:TPW-EXE:0x42b1c0 zoom range] without the flag 0x200 the zoom value (0x7909ec) is clamped to 70..130 (0x42c621-0x42c6a1: 70.0 at 0x6fde08, 130.0 at 0x6fde0c; the flag 0x200 swaps in 40..300 from 0x74c9d8/0x74c9dc, a flag toggled by 0x42a520, a key handler of the 25-entry camera key set (0x748158, entry 0x748298: key byte 0x20, modifier word 0x3f, whose reachability in the retail game is not verified); 0x42aa6e only keeps it), so the camera never gets nearer or farther than these |
| TPW-EXE:0x42b2a0 frame time | source/OpenTPW/World/RideCameraMode.cs:122 | [BIN:TPW-EXE:0x42b2a0 frame time] dt = (the millisecond tick now (0x402d80) + 1) - the last frame's tick ([0x7909e4], stored at 0x42cce7), an integer millisecond count: the host's float milliseconds are cut to whole milliseconds first |
| TPW-EXE:0x42b2c7 frame time limits | source/OpenTPW/World/RideCameraMode.cs:123 | [BIN:TPW-EXE:0x42b2c7 frame time limits] a dt above 200 becomes 100.0 (0x42b2d4: the stall of a hitch counts as 100 ms, not 200 or more) and one of 0 or less becomes 1.0 (0x42b2ed) |
| TPW-EXE:0x42b8c7 ride look | source/OpenTPW/World/RideCameraMode.cs:136 | [BIN:TPW-EXE:0x42b8c7 ride look] with the camera flags in 0x3c: x = (pointer x - 0x7a1c54) / 0x74d104 and y = -(pointer y - 0x7a1c58) / 0x74d108 (the view's centre and half size, written at 0x48a14e-0x48a1c5); 0x790ae0 = (x -/+ 0.2) * 3.5 outside +/-0.2 else 0; 0x790adc = (0.2 - y) * 1.2 above 0.2, -y - 0.4 below -0.4, else 0; both are read at 0x42cba5/0x42cbaa and multiplied in as a rotation about X by 0x790adc then about Y by 0x790ae0 (the axis string "XY" at 0x74daa4, 0x46f6f0); the pointer position itself is the input, with no easing of its own |
| TPW-EXE:0x42c631 wide zoom range | source/OpenTPW/World/ParkCameraMode.cs:16 | [BIN:TPW-EXE:0x42c631 wide zoom range] with the mode flag 0x200 (0x42c62c: TEST BH, 2) the clamp compares the zoom value with 40.0 (0x74c9d8) and 300.0 (0x74c9dc) instead of 70.0 and 130.0; the pitch (0x42c742) and the eye (0x42c96d) are computed from the zoom value alone, so the same formulas run unchanged over the wider range |
| TPW-EXE:0x42c742 pitch | source/OpenTPW.Tests/WideZoomTests.cs:123 | <summary>[BIN:TPW-EXE:0x42c742 pitch] the same line runs outside 70..130 until the clamp to 0..1.4707963.</summary> |
| TPW-EXE:0x42ca0d view blend | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:394 | [BIN:TPW-EXE:0x42ca0d view blend] the follow has no smoothing of its own: the camera update 0x42b1c0 builds the park view matrix directly from yaw and pitch (0x42cbe9, 0x42cc02) and blends matrices only under [0x790ab0] & 0x3c (0x42ca0d), and the camera setter 0x42ab20 writes only the bits 2 (the walk) and 4 (the ride) of that byte; the blend is the ride view's (RideCameraMode.BlendFactor) |
| TPW-EXE:0x42cba0 view smoothing | source/OpenTPW/World/RideCameraMode.cs:124 | [BIN:TPW-EXE:0x42cba0 view smoothing] 0x42ca88-0x42cb0b: a = (1000 - dt) * 0.0005 (0x6fde34 is 0.0005; the clamp of dt to [1, 1000] at 0x42ca1b-0x42ca59 never acts after the 200 limit), and every one of the nine rotation words (the three rows of the three) is node * (1 - a) + previousNode * a with the fourth column and the translation copied from the node; the previous matrix (0x790948) is then overwritten with the node's matrix, not with the blend (0x42cb9c), so the smoothing is a one-frame average, not an accumulating ease |
| TPW-EXE:0x42cbc3 look rotation | source/OpenTPW/World/RideCameraMode.cs:137 | [BIN:TPW-EXE:0x42cbc3 look rotation] the angles go to 0x46f6f0 with the axis string "XY" (index 4): about X by 0x790adc (pitch), then about Y by 0x790ae0 (yaw), each a row-vector rotation of the camera matrix (0x46f350: e1' = e1 cos - e2 sin, e2' = e2 cos + e1 sin; 0x46f650: e0' = e0 cos + e2 sin, e2' = e2 cos - e0 sin; the matrix product 0x4702d0), the standard left-handed X and Y rotations: positive yaw turns the forward axis toward +x (right) and positive pitch toward -y (down), so a pointer right of and below the centre turns the view right and down, as the video shows (77:20-77:21) |
| TPW-EXE:0x42cc7c view not renormalised | source/OpenTPW/World/RideCameraMode.cs:125 | [BIN:TPW-EXE:0x42cc7c view not renormalised] the blended basis is not made orthonormal again: 0x42b070 only compares it with the last frame's matrix and 0x578bc0 copies it into the camera; OpenTPW's Blend orthonormalises its axes (a difference of the order of the square of the turn between two frames) |
| TPW-EXE:0x42d130 select windows | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:182 | [BIN:TPW-EXE:0x42d130 select windows] every entry starts with -FLT_MAX and FLT_MAX in its four pairs (0x42d1b8..0x42d1d5); a pair of the sam (speed, direction, pitch, bank, eight words from the select's +0x08) replaces them only when its minimum or its maximum is not 0.0 (0x42d20f..0x42d227) and then holds each value times the single 0.017453292 (0x6fde78, 0x42d22d..0x42d245) |
| TPW-EXE:0x42d5a0 cross section setup | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:33 | [BIN:TPW-EXE:0x42d5a0 cross section setup] the loader copies the point blocks as five floats (X, Y, U, Nx, Ny) and adds the definition's fTrackHeightAdjust to every Y (0x42d6d0), then builds the edge blocks (0x42d130), the sections and the selects (0x42e200); the block counts are read from the settings record |
| TPW-EXE:0x42d5a0 invalid cross section | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:56 | [BIN:TPW-EXE:0x42d5a0 invalid cross section] the section array holds the sections plus one: the last entry is a copy of section (uiInvalidCrossSection − 1, or 0 when it is 0) with its own copy of the edges, whose textures the slice emitter overwrites (definition +0x80) |
| TPW-EXE:0x42e19d transition flag | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:252 | [BIN:TPW-EXE:0x42e19d transition flag] the section loader sets the flag word it hands to 0x42d130 (type +0x74 bit 0) when any section names a blend-to point block (0x42e19d); the block must have as many points as the section's own (0x42e1a7) and the section keeps its pointer at +0x10 and its blend length at +0x14 |
| TPW-EXE:0x42eb70 pylon control gate | source/OpenTPW.Tests/CoasterAssetTests.cs:104 | [BIN:TPW-EXE:0x42eb70 pylon control gate] the definition builder loads a pylon control only with a mesh name, a uiPylonTypeUniqueID and a fCollisionPossibleRadius (a control without fails the whole definition) and sets the |
| TPW-EXE:0x42ec47 pylon base flag | source/OpenTPW/World/Coasters/CoasterDefinition.cs:586 | [BIN:TPW-EXE:0x42ec47 pylon base flag] a pylon control whose bDontDisableBaseOnStack setting (+0x38b0 of the 0xbc-byte record) is nonzero gets pylon flag 0x10; 0x432df0 then leaves the ground node visible on stacked nodes |
| TPW-EXE:0x42ef05 loft keys | source/OpenTPW/World/Coasters/CoasterDefinition.cs:607 | [BIN:TPW-EXE:0x42ef05 loft keys] pylon +0xd0 = fLoftAnimStartCap, +0xd4 = fLoftAnimEndCap, +0xd8 = fLoftAnimMultiplier, +0xdc = fLoftAnimAdd, each copied from the settings (+0x3914..+0x3920) when nonzero; no PC coaster.sam sets them, so the defaults 0, 1, 1, 0 stand |
| TPW-EXE:0x42ef68 clip map keys | source/OpenTPW/World/Coasters/CoasterDefinition.cs:612 | [BIN:TPW-EXE:0x42ef68 clip map keys] pylon +0xe0..+0xec = fRotateAnim{StartCap,EndCap,Multiplier,Add}, +0xf0..+0xfc fInclineAnim…, +0x100..+0x10c fBankAnim…, +0x110..+0x11c fLoopRotateAnim…, each copied when nonzero; the PC coaster.sam files set fInclineAnimMultiplier (4.5, 3 or −3) and fBankAnimMultiplier (−1 or −4.5) |
| TPW-EXE:0x42f1a0 car type setup | source/OpenTPW/World/Coasters/CoasterCarRig.cs:13 | [BIN:TPW-EXE:0x42f1a0 car type setup] each car type record (0x34 bytes) holds the bend flag, the unique id, the mesh name, fFrontDistanceAdd (+0x10), fRearDistanceAdd (+0x14), fYOffset (+0x18) and a default 0.1 (+0x1c, the wheel animation speed factor); the train's front, centre and rear type indices select among them (definition +0x2fc, +0x300, +0x304) |
| TPW-EXE:0x42f1a0 wheel factor | source/OpenTPW/World/Coasters/CoasterCarRig.cs:190 | [BIN:TPW-EXE:0x42f1a0 wheel factor] the car type setup stores 0.1 at +0x1c and no key of the coaster loader writes it |
| TPW-EXE:0x42f390 marker textures | source/OpenTPW/World/Coasters/CoasterAssets.cs:43 | [BIN:TPW-EXE:0x42f390 marker textures] the three marker textures follow the coaster's own; the dynamic texture table holds them in Data/Generic/Dynamic/Textures |
| TPW-EXE:0x42f390 marker textures | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:26 | [BIN:TPW-EXE:0x42f390 marker textures] the track model's texture list is the coaster's asTextureData entries followed by the three entries of 0x74cde0 (count 0x74ce10 = 3): m_erase.tga, red.tga and blue.tga, each with texture flags 7 (read as self-illuminated; see COAST-026) |
| TPW-EXE:0x42f390 track textures | source/OpenTPW/World/Coasters/CoasterRenderer.cs:273 | [BIN:TPW-EXE:0x42f390 track textures] asTextureData.bIsSelfIlluminating sets texture flag 4 (read); the three appended marker textures have flags 7; that the model draw treats flag 4 as unlit is not traced (COAST-026) |
| TPW-EXE:0x42f717 | source/OpenTPW/World/Coasters/CoasterDefinition.cs:195 | [BIN:STP-PPC:0x1002FFB0 entrance interval] definition +796 ← settings 15220, unconditional; [BIN:TPW-EXE:0x42f717] definition +0x31c ← settings +0x3b74, unconditional; read only by the station window 0x43b750 |
| TPW-EXE:0x42fad0 coaster model load | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:51 | [BIN:TPW-EXE:0x42fad0 coaster model load] the TrackMaster loader opens the pylon models with the relative-animation flag 0x1013405 (the only caller to do so, with "GTexture" as the extra texture directory): a vertex key or position key is added to the stored mesh or node, not set |
| TPW-EXE:0x42fad0 train length | source/OpenTPW/World/Coasters/CoasterCarRig.cs:69 | [BIN:TPW-EXE:0x42fad0 train length] the loader walks the cars 0..n−1 and takes the front car type for car 0, the rear car type for car n−1 and the centre car type for the others |
| TPW-EXE:0x42fbde car models | source/OpenTPW/World/Coasters/CoasterDefinition.cs:461 | [BIN:TPW-EXE:0x42fbde car models] the loader reads the centre car type's model, then the front and the rear type's when they are other types (0x430130 at 0x42fbde, 0x42fbf3, 0x42fc08) before the pair distances and head sums |
| TPW-EXE:0x42fc20 car pair distances | source/OpenTPW/World/Coasters/CoasterDefinition.cs:272 | [BIN:TPW-EXE:0x42fc20 car pair distances] +0x30c = front.+0x28 + centre.+0x24, +0x310 = centre.+0x28 + centre.+0x24, +0x314 = rear.+0x24 + centre.+0x28 (each pair is measured against the centre type, also in a two-car train) |
| TPW-EXE:0x42fc38 train heads | source/OpenTPW/World/Coasters/CoasterDefinition.cs:252 | [BIN:TPW-EXE:0x42fc38 train heads] definition +0x2f8 = Σ over the uiMaxCars cars of the head count (+0x30) of the front type for car 0, the rear type for the last car and the centre type for the others |
| TPW-EXE:0x42fd57 definition flag 2 | source/OpenTPW/World/Coasters/CoasterBuilder.cs:79 | [BIN:TPW-EXE:0x42fd57 definition flag 2] the definition builder 0x42fad0 sets definition +0 bit 2 when pylon control 1 (the loop pylon, definition +0x1c8) has a mesh name (0x42fcef..0x42fd59; bit 1 for control 0, 0x42fcd9..0x42fce4); no other writer of the definition's flags sets it (0x42f499, 0x42f9ed, 0x42fa4a, 0x42fa5e, 0x42fa70, 0x42fa86 write 4, 0x100, 0xa0, 0x20, 0x10 and 8), and the pylon loader 0x42eb70 fails the whole definition for a control without mesh name, uiPylonTypeUniqueID or fCollisionPossibleRadius, so the bit means that asPylonControls[1] exists (CoasterDefinition.HasLoopPylon) |
| TPW-EXE:0x42fd66 fleet heads | source/OpenTPW/World/Coasters/CoasterDefinition.cs:265 | [BIN:TPW-EXE:0x42fd66 fleet heads] definition +0x318 = +0x2f8 × +0x2e8 (uiMaxTrains) |
| TPW-EXE:0x42ff1a clip map defaults | source/OpenTPW/World/Coasters/CoasterDefinition.cs:36 | [BIN:TPW-EXE:0x42ff1a clip map defaults] the definition defaults give every one of the five maps of both pylon controls (definition +0x178.. and +0x298.., pylon +0xd0..+0x11c) StartCap 0, EndCap 1, Multiplier 1, Add 0; the loader copies each settings value over its field when nonzero (0x42eeec..0x42f161) |
| TPW-EXE:0x430130 car extents | source/OpenTPW/World/Coasters/CoasterCarRig.cs:14 | [BIN:TPW-EXE:0x430130 car extents] a car type's front extent (+0x24) is fFrontDistanceAdd plus the model bounds' maximum Z minus the root node's Z, its rear extent (+0x28) fRearDistanceAdd plus the root node's Z minus the minimum Z; the seat count (+0x30) is the number of head sockets of the model ("Car type %s can receive %d heads") |
| TPW-EXE:0x430130 car extents | source/OpenTPW/World/Coasters/CoasterCarRig.cs:147 | [BIN:TPW-EXE:0x430130 car extents] the header bounds and the root node's local translation (the original reads the loaded header, +0x80..+0x94, and [+0x78]+0x48) |
| TPW-EXE:0x430130 car heads | source/OpenTPW/World/Coasters/CoasterRenderer.cs:313 | [BIN:TPW-EXE:0x430130 car heads] each car type counts the head sockets of its model ("Car type %s can receive %d heads"); the riders of a car take them in order |
| TPW-EXE:0x430130 car type metrics | source/OpenTPW/World/Coasters/CoasterCarRig.cs:79 | [BIN:TPW-EXE:0x430130 car type metrics] +0x24 = fFrontDistanceAdd + (model bounds max Z − root node Z), +0x28 = fRearDistanceAdd − (bounds min Z − root node Z) with the bounds of the MD2 header (+0x80..+0x94) and the root node's translation Z (node +0x48); +0x30 = the number of dummy attribute records with flag 0x80 (0x44b2b0); a type whose model does not load keeps the zero-initialised fields (no extent beyond nothing, no seat) |
| TPW-EXE:0x4301f5 car head sockets | source/OpenTPW/World/Coasters/CoasterCarRig.cs:135 | [BIN:TPW-EXE:0x4301f5 car head sockets] the car type's socket j is the node of the (j + 1)-th attribute record with flag 0x80 (0x44b270(model, 0x80, j + 1), the record index; record i belongs to the node stored as header +0x46 + i, 0x44ab90), in record order whatever the records' values |
| TPW-EXE:0x430590 pylon capabilities | source/OpenTPW/World/Coasters/CoasterAssets.cs:118 | [BIN:TPW-EXE:0x430590 pylon capabilities] the model's animations by type: loft L, rotate R or R1, incline I, bank B and the second rotate clip R2 |
| TPW-EXE:0x430590 pylon capabilities | source/OpenTPW/World/Coasters/CoasterDefinition.cs:62 | [BIN:TPW-EXE:0x430590 pylon capabilities] pylon flags 0x20 (loft clip), 0x40 (rotate), 0x80 (incline), 0x100 (bank) and 0x200 (second rotate clip) are set when the model has the animation of that type (0x472d10); the drag handlers test them (0x441a00, 0x441e80, 0x442010, 0x441cd0) |
| TPW-EXE:0x430590 pylon clips | source/OpenTPW/World/Coasters/CoasterTrack.cs:1459 | [BIN:TPW-EXE:0x430590 pylon clips] a pylon's animations by type: 3 loft (pylon flag 0x20), 10 rotate (0x40), 2 incline (0x80), 9 bank (0x100), 10 second (0x200); the pylon pose feeds node +0xE0 (yaw), +0xDC (incline) and +0xD8 (bank) to them and the track tag's pose is the knot's direction |
| TPW-EXE:0x430590 pylon heights | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:116 | [BIN:TPW-EXE:0x430590 pylon heights] h0 = the track dummy's Y with the loft clip at clamp(fLoftAnimAdd, StartCap, EndCap) (0x430923..0x430990), h1 = its Y at clamp(fLoftAnimMultiplier + fLoftAnimAdd, StartCap, EndCap) (0x430a0b..0x430a92), the stack offset the stack dummy's Y at the first pose minus h0, or 0 without a stack dummy (0x4309be..0x430a01) |
| TPW-EXE:0x430590 pylon model tags | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:52 | [BIN:TPW-EXE:0x430590 pylon model tags] the loft, rotate, incline and bank clips and the track and stack dummies are looked up on the loaded model by node attribute (0x2, 0x3, 0x9, 0xa, 0x1000000, 0x800000, 0x2000000, 0x100000, 0x80000) when the control is set up (0x42eb70) |
| TPW-EXE:0x430590 pylon stack parts | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:55 | [BIN:TPW-EXE:0x430590 pylon stack parts] the first four attribute records with 0x80000 name the stack parts by their value: 1 → pylon +0x1c (flag 0x400), 2 → +0x20 (0x800), 3 → +0x24 (0x1000), 4 → +0x28 (0x2000) |
| TPW-EXE:0x430590 pylon tag tables | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:141 | [BIN:TPW-EXE:0x430590 pylon tag tables] with one record carrying 0x1000000 the pylon gets one table (pylon +0x30..+0x40): the count of 0x400000 records (+0x3c), base 1 (+0x40) and the track dummy's record value − 1 as its centre index (+0x30); with two such records it sets pylon flag 8 and gets two tables: +0x30 with centre 0, one tag and base 2 (+0x3c = 1), and +0x44 with centre 1, three tags and base 1 (+0x44 = 1, +0x50 = 3, +0x54 = 1) |
| TPW-EXE:0x430590 pylon track dummy | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:105 | [BIN:TPW-EXE:0x430590 pylon track dummy] the track dummy is the node of the first attribute record with bit 0x800000 (0x4306be..0x4306e9: the record index at pylon +0x2c; +0x30 is the record's value − 1, the base of the knot tags), the stack dummy the node of the first record with 0x100000 (0x430780..0x4307a6); in the PC models it is the dummy the loft, incline and bank clips move (Skull Coaster's TrackCentreDummy, not its TrackHeightDummy); a model without such a record falls back to the first dummy named Track* or animated by the loft clip |
| TPW-EXE:0x4309a4 pylon heights | source/OpenTPW/World/Coasters/CoasterDefinition.cs:479 | [BIN:TPW-EXE:0x4309a4 pylon heights] pylon +0xbc = h0, +0xc0 = h1, +0x68 (fMinHeight) = max(fMinHeight, h0) (0x4309a4..0x4309bb), +0xc4 = stack dummy Y − h0 or 0 |
| TPW-EXE:0x430ca0 pylon clip times | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:53 | [BIN:TPW-EXE:0x430ca0 pylon clip times] slot 0 (loft) = duration × map(clamp(+0xe8, 0, 1)), the node's +0xe8 written back clamped; slot 1 (rotate) = map(+0xec), +0xec = frac(yaw/2π) (+1 when negative, 0x43110c), frac(+0xec + ½) on node flag 0x10000000; slot 2 (incline) = map(+0xf0 · mult + add + 0.5), +0xf0 = pitch/2π; slot 3 (bank) = map(+0xf4 · mult + add + 0.5), +0xf4 = frac(bank/2π + ½) − ½ (0x431177..0x4311b7); slot 4 (loop tilt) = map(+0xf8), +0xf8 = frac(+0xf8); each map raises to its start cap, then lowers to its end cap |
| TPW-EXE:0x430ca0 station below h0 | source/OpenTPW/World/Coasters/CoasterTrack.cs:240 | [BIN:TPW-EXE:0x430ca0 station below h0] the station's pylon nodes below the StdPylon's h0 (Ghosta Coasta 2.04 against 4, Scatty Batty 3.5 against 5, Candy Coaster 7.09 against 10) are the original's: the knot pass clamps their height parameter to 0 and writes it back (0x430ca0) and stands them at ground + h0 (0x430ed0), so S0 and S2 sit above the middle node by h0 minus the dummy height |
| TPW-EXE:0x430ed0 knot pass | source/OpenTPW/World/Coasters/CoasterTrack.cs:1231 | [BIN:TPW-EXE:0x430ed0 knot pass] per node in list order: the node tangent (0x431660), its yaw to +0xd4 and, unless node flags 1 and 2 hold hand-set values, to +0xe0 (yaw) and +0xdc (pitch); +0xd8 (bank) is 0 unless flag 4 holds a hand-set value, then the auto-bank (0x43c160) fills it; a node with a pylon model (descriptor bit 0 clear, node flag 0x2000 clear) is posed (0x430ca0, 0x473c70) and each knot of its table (node +0x90) takes the posed matrix of its tag record: the translation (+0x30) as the knot position, the matrix first turned by −π about Y on node flag 0x10000000 (0x4315f0) |
| TPW-EXE:0x430ed0 node position | source/OpenTPW/World/Coasters/CoasterTrack.cs:1059 | [BIN:TPW-EXE:0x430ed0 node position] the knot pass stands a pylon node at its descriptor's cell corner + 5 in X and Z and the descriptor's height + h0 + t(h1 − h0), a stacked one on the node below's +0x50 plus the stack offset (+0xc4); fTrackHeightAdjust is not added (the cross-section loader adds it to the drawn points only, 0x42d6d0) |
| TPW-EXE:0x430ed0 plain second rail | source/OpenTPW/World/Coasters/CoasterTrack.cs:1367 | [BIN:TPW-EXE:0x430ed0 plain second rail] a knot without a posed model has its second rail point at its position + (0, 1, 0), or on a loop node (flag 0x40) at + (−sin a, 0, −cos a) with a the node's yaw (+0xe0, hand-set or automatic): the vector (0, 0, −1) turned about Y by 0x4314b0 with the PC table's cos and sin of a; its node roll (+0xe4) stays 0 |
| TPW-EXE:0x430ed0 rebuild stores | source/OpenTPW/World/Coasters/CoasterBuilder.cs:433 | [BIN:TPW-EXE:0x430ed0 rebuild stores] the knot pass runs in every rebuild (0x43eb70, each frame the controller's dirty bit 1 is set: 0x435a30) and writes its results into the nodes: the bank (+0xd8, the auto-bank unless node flag 4 holds a hand-set value), the yaw and pitch and the node flag 0x10000000 (the half turn of a suspended coaster's pylon, 0x431f29/0x431f34), whatever the chain is, so an unfinished chain's nodes hold their auto-banks while it is built (the tilt drag counts from them, 0x442010) and a drag step stores them again (0x442f2a) |
| TPW-EXE:0x430ed0 second rail | source/OpenTPW/World/Coasters/CoasterTrack.cs:1349 | [BIN:TPW-EXE:0x430ed0 second rail] a posed knot's second rail point is its position + (0, 1, 0), or on a loop node (flag 0x40) + 2.0 × the tag's up row (+0x10..+0x18, the matrix after the half turn of a turned-back pylon) |
| TPW-EXE:0x430f2a automatic yaw | source/OpenTPW/World/Coasters/CoasterTrack.cs:1210 | [BIN:TPW-EXE:0x430f2a automatic yaw] the knot pass stores the yaw of the node tangent T+ (node +0x34, 0x43e540 → 0x43e590: atan2(T.x, T.z)) in +0xd4 for every node |
| TPW-EXE:0x431057 pylon pose values | source/OpenTPW/World/Coasters/CoasterRenderer.cs:503 | [BIN:TPW-EXE:0x431057 pylon pose values] the knot pass turns the node tangent T+ into the automatic yaw (+0xd4) and pitch with 0x43e590 (yaw = atan2(T.x, T.z), pitch = atan2(−T.y, T.z′) with T turned by −yaw through the sine table) and copies them to +0xe0 and +0xdc unless node flags 1 and 2 hold hand-set values; +0xd8 is 0 unless flag 4 holds a hand-set bank, then the auto-bank (0x43c160) fills it |
| TPW-EXE:0x43106a tag roll | source/OpenTPW/World/Coasters/CoasterTrack.cs:1355 | [BIN:TPW-EXE:0x43106a tag roll] the node's roll (+0xe4), written by every knot of a node without flag 0x40 (the last tag's value stays; a loop node's stays 0, as does a model-less node's: nothing else writes it and the node comes zeroed from 0x434060): the tag's up row (+0x10) and forward row (+0x20) turned by −yaw (+0xe0, 0x431570), the pitch of the forward row (0x46f210), the up row turned by −pitch about X (0x4314f0) and its roll atan2(−x, y) (0x46f230) |
| TPW-EXE:0x4310c8 auto-bank | source/OpenTPW/World/Coasters/CoasterTrack.cs:1275 | [BIN:TPW-EXE:0x4310c8 auto-bank] a node banks unless it carries node flag 0x4 and only when it has a next node in the list (the test of the raw link +0x64, not the flag-masked neighbour); the PC build path never sets 0x4 and the station end node's 0x144 are creation parameters (0x434060) |
| TPW-EXE:0x431101 bank speed estimate | source/OpenTPW/World/Coasters/CoasterTrack.cs:1277 | [BIN:TPW-EXE:0x431101 bank speed estimate] after every node that passed the test the running speed estimate takes the step to the raw next node (0x43bfb0, floor definition +0x48 = fMinSpeed), whatever its bank: S0, S2 and the 0x100 nodes too |
| TPW-EXE:0x431660 kept half turn | source/OpenTPW/World/Coasters/CoasterTrack.cs:1125 | [BIN:TPW-EXE:0x431660 kept half turn] the flag lives in the node (+8): the straight, loop-pylon and end branches of the tangent routine do not touch it, so such a node keeps the half turn of its last curve pass |
| TPW-EXE:0x431677 node neighbours | source/OpenTPW/World/Coasters/CoasterTrack.cs:1228 | [BIN:TPW-EXE:0x431677 node neighbours] the tangent routine drops the previous neighbour on node flag 0x80000 and the next on 0x40000, and on 0x100000 takes the head node's next node (S1): S0 leaves along S1 − S0, S2 along S2 − S1 whatever the first pylon, and the station end node along S1 − S0 as well |
| TPW-EXE:0x431f06 suspended pylon side | source/OpenTPW/World/Coasters/CoasterTrack.cs:1112 | [BIN:TPW-EXE:0x431f06 suspended pylon side] in the curve branch of the tangent routine, definition flag 8 set, node flag 0x40 clear and the Y component of b × a below 0 set node flag 0x10000000 (0x431f29), else it is cleared (0x431f34); the straight and loop-pylon branches leave it as it was |
| TPW-EXE:0x431f29 stored half turn | source/OpenTPW/World/Coasters/CoasterTrack.cs:1126 | [BIN:TPW-EXE:0x431f29 stored half turn] every edit of the builder stores the chain's verdicts in the nodes (CoasterBuilder.Revalidate), as the original's rebuild does each frame; the cursor node's part in the original's rebuild of an unfinished chain is left out ([EXT:coaster-cursor-no-node-writes], CoasterBuilder.Revalidate) |
| TPW-EXE:0x4321c0 knot direction | source/OpenTPW/World/Coasters/CoasterTrack.cs:1347 | [BIN:TPW-EXE:0x4321c0 knot direction] a knot of a posed pylon runs along its tag's forward row (+0x20..+0x28) normalised; a knot without a model along the node tangent (knot +0x28 = node +0x34) normalised, or (0, ∓1, 0) on a loop node |
| TPW-EXE:0x4321c0 second rail controls | source/OpenTPW/World/Coasters/CoasterCurve.cs:307 | [BIN:TPW-EXE:0x4321c0 second rail controls] every knot's controls are built twice with the same direction (0x432430): once from the first rail's records with the chords of 0x432840 over the first list, once from the second list (+8 of the node's table) with the chords over the second rail's own points; the loop factors and the flags come from the node, so the second rail is the same fit through its own points |
| TPW-EXE:0x4324a0 loop knot side | source/OpenTPW/World/Coasters/CoasterTrack.cs:1320 | [BIN:TPW-EXE:0x4324a0 loop knot side] the side term is the node's turn fraction (+0xec, the fraction of its yaw over 2π) against the horizontal direction to its raw link: the previous node, or the next one with node flag 0x80 (CoasterX87.LoopSide) |
| TPW-EXE:0x43255c loop knot factor | source/OpenTPW/World/Coasters/CoasterCurve.cs:209 | [BIN:TPW-EXE:0x43255c loop knot factor] x = clamp(|heading · yaw axis|, 0, 1); k = f32((1 − x²)·C − x²·f32(−2.1)) stored as single (0x4325b4..0x4325d0, constant 0x6fdec4); w = (T + 1)·0.5 with T the PC table entry at the nearest index (fistp) of (2π·u − (−π/2))·scale, u = clamp(2·fmod(loop rotate, 0.5), 0, 1) (0x4325d9..0x43264a); K = f32((1 − w)·k − w·f32(−2.1)) (0x432650..0x432665) |
| TPW-EXE:0x432b50 winch clear | source/OpenTPW/World/Coasters/CoasterRide.cs:408 | [BIN:TPW-EXE:0x432b50 winch clear] the rebuild clears 0x800 on every node without 0x1000 before the rating pass sets it |
| TPW-EXE:0x432b50 winch clear | source/OpenTPW/World/Coasters/CoasterTrack.cs:239 | [BIN:TPW-EXE:0x432b50 winch clear] every rebuild (0x43eb70: knot pass 0x430ed0, 0x432b50, sampler 0x440c10, rating pass 0x43c450) first clears node flag 0x800 on every node without 0x1000, then the rating pass sets it where the speed sits on the floor: the winch marks are re-derived per rebuild as here, and S0 and S1 (creation parameter 0x20 = 0x1800) keep theirs |
| TPW-EXE:0x432d50 stack pass | source/OpenTPW/World/Coasters/CoasterTrack.cs:1258 | [BIN:TPW-EXE:0x432d50 stack pass] in a cell holding more than one node every node but the top one gets node flag 0x100 (no bank) and the top one loses it; a marked node of a pylon with two tag tables (pylon flag 8) takes the table +0x84 (pylon +0x44), every other node +0x78 (pylon +0x30); placing, swapping and deleting run the pass for the cell (0x436490, 0x4424e0, 0x442f40) |
| TPW-EXE:0x432df0 ground node visibility | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:210 | [BIN:TPW-EXE:0x432df0 ground node visibility] a bottom node clears 0x10 on the ground node (model +0x2c); a node stacked above sets 0x80000010 on it unless the pylon has flag 0x10; the flag only hides that node's own mesh (submit 0x57a5e3 tests 0x8210), children are not touched |
| TPW-EXE:0x432df0 stack part visibility | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:56 | [BIN:TPW-EXE:0x432df0 stack part visibility] for every node of a cell's stack the pose pass shows (clears node flag 0x10) or hides (sets 0x80000010, 0x433220) the parts: part 1 is hidden on the top node and shown on a lower one whose upper neighbour has a model (not 0x2000), part 2 shown on the top node and hidden on a lower one, part 3 hidden on the bottom node and shown on a stacked one, part 4 shown on the bottom node and hidden on a stacked one |
| TPW-EXE:0x433280 stacked height | source/OpenTPW/World/Coasters/CoasterTrack.cs:1071 | [BIN:TPW-EXE:0x433280 stacked height] the height of a stacked node is the sum over the nodes below it of (h0 + t(h1 − h0) + stack offset) of the node's own pylon, then its own h0 + t(h1 − h0): each level adds the pylon's stack offset (+0xc4) |
| TPW-EXE:0x434060 loop pair | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:70 | [BIN:TPW-EXE:0x434060 loop pair] a node whose pylon control has flag 0x4000 gets node flags 0xE0 as the pair's first (its argument 2 − counter is 0) or 0x60 as the second; a trough control (0x8000) sets neither |
| TPW-EXE:0x434060 node creation parameters | source/OpenTPW/World/Coasters/CoasterTrack.cs:238 | [BIN:TPW-EXE:0x434060 node creation parameters] the constructor maps its parameter bits to node flags: 8 → 0x200, 0x10 → 0x400, 0x20 → 0x1800, 0x40 → 0x80000, 0x80 → 0x40000, 0x100 → 0x100000 (0x4343a6..0x4343eb); bit 0x200 puts the pylon in its map cell (0x452d30) |
| TPW-EXE:0x434060 node creation parameters | source/OpenTPW/World/Coasters/CoasterTrack.cs:267 | [BIN:TPW-EXE:0x434060 node creation parameters] bit 4 of the creation parameters goes to 0x433bd0, which skips the fMinHeight/fMaxHeight clamp of 0x433790; the loft parameter is then clamp((h − h0)/(h1 − h0), 0, 1) |
| TPW-EXE:0x434060 node creation parameters | source/OpenTPW/World/Coasters/CoasterTrack.cs:733 | [BIN:TPW-EXE:0x434060 node creation parameters] the constructor maps its parameter bits to node flags: 2 → 0x2000, 8 → 0x200, 0x10 → 0x400, 0x20 → 0x1800, 0x40 → 0x80000, 0x80 → 0x40000, 0x100 → 0x100000 (0x4343a6..0x4343eb), bit 0 clear → 0x200000 on the node and its predecessor, bit 4 goes to 0x433bd0; the end node's 0x144 is therefore 0x80000 | 0x100000, no loop flag 0x40, no 0x4 and no 0x100. The Mac call site 0x10037E34 passes the same 0x144; its node constructor could not be compared (no Mac binary here) |
| TPW-EXE:0x434060 pylon-less knot | source/OpenTPW/World/Coasters/CoasterTrack.cs:1058 | [BIN:TPW-EXE:0x434060 pylon-less knot] a pylon-less node's knot is its descriptor's exact position (node +0x4c..+0x54); the station end node's descriptor holds the world position of S0's pylon track dummy (0x435570), so the end node stands on the knot of S0 |
| TPW-EXE:0x434153 loop pair | source/OpenTPW/World/Coasters/CoasterTrack.cs:529 | [BIN:TPW-EXE:0x434153 loop pair] a node whose pylon control has flag 0x4000 gets node flags |0xe0 and loop rotate (+0xf8) 0 when it is the first of the pair, |0x60 and 0.5 when it is the second (the pair counter 0x79c664 is 2, then 1); a trough pylon (0x8000) sets neither |
| TPW-EXE:0x4343B3,0x434401 | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:15 | [BIN:TPW-EXE:0x4343B3,0x434401] creation parameter 0x10 maps node 0x400 and marker 0x100 |
| TPW-EXE:0x4343B3,0x434401 | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:191 | [BIN:TPW-EXE:0x4343B3,0x434401] creation parameter0x10 maps node0x400 and marker0x100. Stack republish passes zero (0x444EC6). |
| TPW-EXE:0x434412 | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:181 | [BIN:TPW-EXE:0x434412] construction publishes the newly registered node, not necessarily the bottom survivor. |
| TPW-EXE:0x4348af move mode cut test | source/OpenTPW/World/Coasters/CoasterTrack.cs:361 | [BIN:TPW-EXE:0x4348af move mode cut test] in move mode (0x79c658 bit 0x100) the validator 0x434740 drops the node before the turn node (its turn test is skipped, the distance windows still apply) when the node, its previous node and its next node together carry 0x10000 and 0x20000 (0x4348af..0x4348d8, the next node of the last one being the head's next); the cut ends are marked by 0x446740 on the node before and after the cut, and 0x434060 moves the 0x50000 mark to every node built into the gap |
| TPW-EXE:0x4349a5 distance waiver | source/OpenTPW/World/Coasters/CoasterTrack.cs:333 | [BIN:TPW-EXE:0x4349a5 distance waiver] a link outside [min², max²] is rejected when the previous node's ordinal ([ebp]) is 2 and otherwise waived when its descriptor has flag 2 (0x4349af..0x4349b9): the waiver exempts the links that leave the station's internal nodes S0 and S1 (ordinals 0 and 1, created by 0x436ac0), which OpenTPW never validates; every link after S2 (ordinal 2) and after a pylon is checked (COAST-007 retired, COAST-029) |
| TPW-EXE:0x434a2d turn angle | source/OpenTPW/World/Coasters/CoasterTrack.cs:284 | [BIN:TPW-EXE:0x434a2d turn angle] the cell differences as floats, the lengths la = sqrt(ax² + ay²) and lb the same for b, the dot product (ax / la) × (bx / lb) + (ay / la) × (by / lb) with every quotient, product and the sum a single (no fused step), clamped to [−1, 1] (0x434ad3..0x434b01), then the acos 0x67b4e0 (CoasterX87.Acos); compared with 1,488 isolated tp.exe runs (ORACLE X46) |
| TPW-EXE:0x434ad3 dot clamp | source/OpenTPW/World/Coasters/CoasterTrack.cs:292 | [BIN:TPW-EXE:0x434ad3 dot clamp] a NaN dot becomes -1 (angle π), a dot above 1 becomes 1 (0x434ad3..0x434b01) |
| TPW-EXE:0x434b1a turn window | source/OpenTPW/World/Coasters/CoasterTrack.cs:307 | [BIN:TPW-EXE:0x434b1a turn window] t = (sqrt(d²) − pylon +0xa4) / (+0xa8 − +0xa4) in singles, replaced by 1 when not below 1 and by 0 when not above 0 (0x434b46..0x434b6e); lo = (A × (1 − t)) + (B × t) and hi = (C × (1 − t)) + (D × t) from +0x74/+0x7c/+0x78/+0x80 (entrance, descriptor flag 2) or +0x84/+0x8c/+0x88/+0x90, each product and sum a single (0x434bb6..0x434bce) |
| TPW-EXE:0x434d34 stacking on station nodes | source/OpenTPW/World/Coasters/CoasterTrack.cs:434 | [BIN:TPW-EXE:0x434d34 stacking on station nodes] the stacking test reads node flags 0x200 and 0x400 of the bottom node of the stack (0x434d34..0x434d3d, 0x434da8..0x434db1), which only the station nodes carry (creation parameters 8 and 0x10): S0 (0x400), S2 (0x200) and S1 (both); no pylon stacks on a station pylon, a placement there is refused as a full stack |
| TPW-EXE:0x434e06 re-validation | source/OpenTPW/World/Coasters/CoasterTrack.cs:412 | [BIN:TPW-EXE:0x434e06 re-validation] after a move the PC validator calls itself for the node after the moved one (0x434e5a, with the moved cell as the next node's previous point) unless the moved node carries the cut end 0x10000 (0x434e06), then for the node after that (0x434ec9) unless the first re-validated node carries it (0x434ea1); the turn test of each is skipped across the cut (0x4348af..0x4348d8) |
| TPW-EXE:0x434f10 placement area | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:378 | [BIN:TPW-EXE:0x434f10 placement area] the box around the reference node (the last node, the node before the cut) has the half size trunc(sqrt(pylon +0xa0)) + 1 = the maximum place distance + 1 cells, clamped to the map; its upper edges are exclusive (0x5240c0..0x524470) |
| TPW-EXE:0x435020 closing click | source/OpenTPW/World/Coasters/CoasterBuilder.cs:203 | [BIN:TPW-EXE:0x435020 closing click] the original has a close click only on a reopened circuit (track flag 2): a click on a cell of the chain start the cut left (+0x64) joins the chain through 0x442c70 and takes the tool out of its mode (0x442880), with no validator test; a fresh circuit has no close step, it is completed by the click of 0x524960 → 0x435570 |
| TPW-EXE:0x435020 place debit | source/OpenTPW/World/Coasters/CoasterBuilder.cs:164 | [BIN:TPW-EXE:0x435020 place debit] the PC coaster click path (0x524960 → 0x4419b0 → 0x435020) reads the balance (0x6ad810) and ignores it, then debits ftol(cost) through 0x4d01f0 unless a layout replays (0x785a2c, the replay word set by 0x404140, always 0 here; "money off" is the bank's withdrawals flag +0x114 inside 0x4d01f0): there is no balance comparison on the path, so nothing here refuses a pylon for money |
| TPW-EXE:0x435570 completion | source/OpenTPW/World/Coasters/CoasterRide.cs:216 | [BIN:TPW-EXE:0x435570 completion] completion sets the track's complete flag, appends the end node and sets state 2 (0x435730); close-circuit (0x442c70) and load (0x437b60) set 2 as well, the cut (0x446740) sets 1 from 2 |
| TPW-EXE:0x435570 completion | source/OpenTPW/World/Coasters/CoasterTrack.cs:742 | [BIN:TPW-EXE:0x435570 completion] with definition flag 0x20 one end node is built: a pylon-less descriptor (0x13) at the world position of the first station node's pylon track dummy (head node +0x100 → +0x18 → +0x2c, instance +0x30..+0x38 through 0x435710), creation parameters 0x144 = node flags 0x80000 | 0x100000 with bit 4; then controller flags 0x1001 and the state setter 0x435730 with state 2; its tangent has no previous neighbour and its next is S1 |
| TPW-EXE:0x435570 station end node | source/OpenTPW/World/Coasters/CoasterTrack.cs:1386 | [BIN:TPW-EXE:0x435570 station end node] completion creates the end node pylon-less with flags 0x144 and the world position of the head node's pylon track dummy (record +0x2c) as its descriptor position, its knot |
| TPW-EXE:0x435730 state setter | source/OpenTPW/World/Coasters/CoasterRide.cs:214 | [BIN:TPW-EXE:0x435730 state setter] the transitions: 1 → 2 sets the power factor to 1 (outside mode 64), sets every train slot up (0x43be10) and clears the highlight; 1 → 8 and 2 → 8 run the closing move (0x43b390); 2 → 1 removes every train (0x43bf20), clears the shown-trains flag 0x800 and highlights the chain start; 4 → 2 unloads both seat lists of every train (0x43b480 with 0 and 1); 4 → 8 runs the closing move; 8 → 2 unloads both lists and then runs the closing move; every other pair changes nothing |
| TPW-EXE:0x43585a unload order | source/OpenTPW/World/Coasters/CoasterRide.cs:892 | [BIN:TPW-EXE:0x43585a unload order] 4 → 2 and 8 → 2 unload each train's boarding list (0x43b480 with 0: car +0x2c) before its lap list (with 1: car +0x28) |
| TPW-EXE:0x43587f admission on 4 → 2 | source/OpenTPW/World/Coasters/CoasterRide.cs:217 | [BIN:TPW-EXE:0x43587f admission on 4 → 2] 4 → 2 and 8 → 2 unload both seat lists and then fall through to the closing move 0x43b390 (0x43587f / 0x4358c9 → 0x4358cb), which moves the guests of the admission ring to the leaving ring: no guest waits on a ride that does not run |
| TPW-EXE:0x435944 mode setter | source/OpenTPW/World/Coasters/CoasterRide.cs:868 | [BIN:TPW-EXE:0x435944 mode setter] from mode 64 to 16 or 32 the power factor becomes 1 and every train gets flag 0x80 and loses 0x40 (0x435947..0x435950); entering mode 64 sets the power factor to 0 (0x4359d5) |
| TPW-EXE:0x435a30 per-frame rebuild | source/OpenTPW.Tests/CoasterPanelTests.cs:1028 | [BIN:TPW-EXE:0x435a30 per-frame rebuild] the original's controller is rebuilt on every frame of a drag (0x4346c0 sets its dirty bit, 0x43eb70 refits it), trains included |
| TPW-EXE:0x435a30 per-frame rebuild | source/OpenTPW/World/Coasters/CoasterBuilder.cs:454 | [BIN:TPW-EXE:0x435a30 per-frame rebuild] every frame the controller with bit 1 set (0x4346c0, called by every edit handler: 0x442f2a, 0x443ddc, 0x4425c4 and the others) is rebuilt by 0x43eb70, whose rating pass places the trains again (train 0 keeps its last car's coordinate, the others follow by the release time); the collision pass 0x439ab0 and the lift marks of the rating pass 0x43c450 run on every chain it draws (CoasterRide.ChainCrossings, ChainWinchSections) |
| TPW-EXE:0x435ac9 controller tick | source/OpenTPW/World/Coasters/CoasterRide.cs:1034 | [BIN:TPW-EXE:0x435ac9 controller tick] the motion tick runs when state & 0xE (2 built, 4 open, 8 closed); the station step (0x43b8b0, then 0x439570) only when state & 0xC and mode is not 0x40 (0x435cd1, 0x435cd5); the motion tick has no zero-speed branch, so a train in the station keeps the winch floor's speed |
| TPW-EXE:0x435adf scroll clock | source/OpenTPW/World/Coasters/CoasterRenderer.cs:680 | [BIN:TPW-EXE:0x435adf scroll clock] the gap is on the scaled clock (0x4709e0 with argument 0 reads 0x7b496c, the unscaled 0x7b4974 only for a non-zero one): whole milliseconds since the controller's last tick (+0x138, stored again at the end of each tick), times the power factor, times 0.001 |
| TPW-EXE:0x435adf scroll shift | source/OpenTPW/World/Coasters/CoasterRenderer.cs:24 | [BIN:TPW-EXE:0x435adf scroll shift] the per-frame tick shifts V by δ = (now − ctl+0x138)·P·0.001 for every polygon of a texture the loader flagged (definition flag 4, set when any fScrollRate is nonzero; texture flag 0x20), P the power factor at controller +0x2c; the stored fScrollRate (texture +0xc) is not read in that loop |
| TPW-EXE:0x435cf6 train sounds | source/OpenTPW/World/Coasters/CoasterRide.cs:1123 | [BIN:TPW-EXE:0x435cf6 train sounds] every train with flag 0x2 gets 0x439570 after its station step (open and closed outside mode 64) or without one (0x435d1c) |
| TPW-EXE:0x435d50 build cursor | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:343 | [BIN:TPW-EXE:0x435d50 build cursor] a hovered cell within 300 units of the last node fills the spare cursor node (flag 0x8000, plus 0x4000 when the validator 0x434740 refuses the cell); the chain start marks the closing flag 8 instead; the cost preview is 0x447830 |
| TPW-EXE:0x435d50 build cursor | source/OpenTPW/World/Coasters/CoasterTrack.cs:1479 | [BIN:TPW-EXE:0x435d50 build cursor] every frame the edited coaster (data 0x790fec, flag 4) runs this edit step: for a hovered cell within 300 units of the last node it fills the coaster's spare cursor node (controller +0x68, 0x436190, 0x436230) with the cell and links it after the last node, then rebuilds the track (0x444700) — the cursor node is a regular node of the chain, so the curve is drawn through it before the pylon is placed; a hovered cell that already holds a node of the chain marks the chain's start as closing (flag 0x8) instead |
| TPW-EXE:0x435d50 closing target | source/OpenTPW/World/Coasters/CoasterTrack.cs:706 | [BIN:TPW-EXE:0x435d50 closing target] the cell that holds the head node (S0) of a fresh track is the closing target (the closing flag, and the open-circuit close test of 0x435020) |
| TPW-EXE:0x435d50 cursor node | source/OpenTPW/World/Coasters/CoasterTrack.cs:88 | [BIN:TPW-EXE:0x435d50 cursor node] the spare node (controller +0x6c) gets 0x8000 as the cursor and 0x4000 when the validator 0x434740 refuses the hovered cell, otherwise 0x4000 is cleared |
| TPW-EXE:0x435e2a build cursor reach | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:344 | [BIN:TPW-EXE:0x435e2a build cursor reach] (10x − X)² + (10y − Z)² of the hovered cell's corner against the reference node's position (+0x4c/+0x54) is compared with 90000 (0x6fdeec); a farther cell returns at once (0x435e37 → 0x4360b8), so the cursor node keeps its last fill, closing target included |
| TPW-EXE:0x4360c4 closing target | source/OpenTPW/World/Coasters/CoasterTrack.cs:91 | [BIN:TPW-EXE:0x4360c4 closing target] the hovered chain start gets 0x800000, or 0x804000 when the closing link is refused; the section builder (0x43f4e0) draws the node's own tag pairs with the blue or red marker while the next node of the pair has 0x800000 or 0x2000 (mask 0x802000, 0x4000 selects red) |
| TPW-EXE:0x4360c4 closing target | source/OpenTPW/World/Coasters/CoasterTrack.cs:1481 | [BIN:TPW-EXE:0x4360c4 closing target] a hovered cell that holds the chain's start sets controller flag 8, clears 0x50000 (the cut end's markers) on the chain's end node (+0x60) and 0xa0000 on its start (+0x64), and marks the start 0x800000, or 0x804000 when the closing link fails the validator; the section builder draws a link into a node with 0x800000, and that node's own tag pairs, with the blue or red marker (0x43f4e0) |
| TPW-EXE:0x436190 link cursor node | source/OpenTPW/World/Coasters/CoasterTrack.cs:539 | [BIN:TPW-EXE:0x436190 link cursor node] a new node is linked after the last node (the build reference, +0x60 while the circuit is cut open) and before the chain start the cut left (+0x64) |
| TPW-EXE:0x436230 cursor node fill | source/OpenTPW/World/Coasters/CoasterTrack.cs:1480 | [BIN:TPW-EXE:0x436230 cursor node fill] the spare node (created model-less, node flag 0x2000) takes the hovered cell, the height of the last placed pylon (controller +0x118) and, in loop mode, node flag 0x40 and the LoopPylon control; no pylon is drawn for it and the mesh builder draws the link into it with the blue marker, the red one when the validator refused the cell (0x43f4e0) |
| TPW-EXE:0x4368F0 never-run power | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:148 | [BIN:TPW-EXE:0x4368F0 never-run power] the constructor's controller is zero-filled (GlobalAlloc 0x40) and its first 0x435730(ctl, 0x11) leaves +0x2C at 0: only the first 1->2 transition |
| TPW-EXE:0x4368F0 placement cell words | source/OpenTPW.Files/Formats/Save/SaveCoasterList.cs:141 | [BIN:TPW-EXE:0x4368F0 placement cell words] the header words +28 and +32 (controller +0x1C and +0x20) are the station's placement cell: the constructor stores the two values the placement routine 0x466F90 computes (the object's cell moved by the rotated footprint, per yaw 0, 90, 180, 270) and the loader hands them to the station-node builder 0x436AC0, whose body reads only its fifth argument (0x436BFA); the saver reads them back (0x4374F7, 0x437500), so they are dead data in the file and need no import |
| TPW-EXE:0x4369c1 ring sizes | source/OpenTPW/World/Coasters/CoasterRide.cs:175 | [BIN:TPW-EXE:0x4369c1 ring sizes] the admission ring (ctl+0xb0) holds definition +0x2f8 guests, the leaving ring (ctl+0xd0) 2 × definition +0x318 (0x43b080) |
| TPW-EXE:0x436D10 car list buffers | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:201 | [BIN:TPW-EXE:0x436D10 car list buffers] each car's two buffers (+0x28, +0x2C) are the car type's head count (+0x30) entries of 4 bytes, the type picked by the car's place in the train (front, rear, centre); the loader's count is a byte and unbounded (0x43853E), so a longer list would overrun the next car's buffer |
| TPW-EXE:0x436a61 controller seats | source/OpenTPW/World/Coasters/CoasterRide.cs:173 | [BIN:TPW-EXE:0x436a61 controller seats] the constructor runs 0x43ba90(ctl, 0, uiMaxCars, 1): a capacity of 0 takes the train definition's head sockets (+8 = definition +0x2f8), stored at ctl+0xf0 and ctl+0xb8 |
| TPW-EXE:0x436ac0 station nodes | source/OpenTPW/World/Coasters/CoasterStationLayout.cs:17 | [BIN:TPW-EXE:0x436ac0 station nodes] with definition flag 0x20 (the loader always sets it) the loop runs i = 0..2 over the dummy numbered i + 1 that carries attribute 0x400000 (0x44b220), reads its world position (node instance +0x30..+0x38, placement included) and builds a StdPylon node in the cell ftol(x·0.1), ftol(z·0.1) for i = 0 and 2 (descriptor 0x12, height = dummy y − the station's base height) and a pylon-less node at the exact position for i = 1 (descriptor 0x13) |
| TPW-EXE:0x436ac0 station nodes | source/OpenTPW/World/Coasters/CoasterTrack.cs:237 | [BIN:TPW-EXE:0x436ac0 station nodes] S0: creation parameters 0x274 = node flags 0x400 | 0x1800 (winch) | 0x80000 (no previous link), bit 4 skips the height clamp (0x433bd0 → 0x433790), bit 0x200 registers the pylon in its cell; S1: 0x3c = 0x200 | 0x400 | 0x1800, the exact dummy position as knot (node +0x4c..+0x54); S2: 0x28c = 0x200 | 0x40000 (no next link); ordinals 0, 1, 2 |
| TPW-EXE:0x436b21 station dummies | source/OpenTPW/World/Coasters/CoasterStationLayout.cs:26 | [BIN:TPW-EXE:0x436b21 station dummies] the coaster station's construction looks up the dummy node numbered i + 1 with attribute 0x400000 (0x44b220, the first record in order) and reads its world position (node instance +0x30..+0x38, placement included); the end pylons are asked for the dummy's height above the station's base |
| TPW-EXE:0x436b9c station cell | source/OpenTPW/World/Coasters/CoasterTrack.cs:170 | [BIN:TPW-EXE:0x436b9c station cell] the station nodes' cells are ftol(x · 0.1) and ftol(z · 0.1) of the dummy's world position (the constant at 0x6fdedc is 0.1) |
| TPW-EXE:0x436f15 ride view car | source/OpenTPW/World/Coasters/CoasterDefinition.cs:287 | [BIN:TPW-EXE:0x436f15 ride view car] the train builder 0x436d10 points train +0x34 at the car array's first record when the train definition's front and centre type records are the same (+0x2fc == +0x300, 0x436f21), else at the second record (0x436f2d..0x436f33); the ride camera takes that car's object (0x436880: controller +0x124 → +0x34 → +0xc) |
| TPW-EXE:0x437300 coaster saver | source/OpenTPW.Files/Formats/Save/SaveCoasterList.cs:333 | [BIN:TPW-EXE:0x437300 coaster saver] per train slot a 27-byte record (0x43783B) and per car an 11-byte record (0x4378A5) with the car's two lists counted by its bytes 4 and 5, which the loader reads back in the same order (0x43838C..) |
| TPW-EXE:0x437300 coaster saver | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:240 | [BIN:TPW-EXE:0x437300 coaster saver] the admission ring (+0xB0) and the leaving ring (+0xD0) are not saved, and no tp.exe routine outside the coaster code, the COAST commands (0x554AB4..0x554BF4) and the station window (0x4E0628) reads the controller tables 0x790BD0 and 0x790FE0, so the original has no sweep after a load that hands such a guest back |
| TPW-EXE:0x43780A train sound words | source/OpenTPW.Files/Formats/Save/SaveCoasterTrains.cs:40 | [BIN:TPW-EXE:0x43780A train sound words] the saver writes only +0x38 (the sound state of 0x439780), +0x64 and +0x68 (the two loop handles) next to the flags word (0x4377F4, which holds the scream flag 0x100) and the loader restores exactly those (0x4383DA, 0x4383FE..0x438412); no slot setup follows for a set-up slot, so a loaded train is silent until its next setup. CoasterTrainSounds seeds the state and the flag (CoasterRide.ImportOriginal). The saved handles are numbers of the previous session's sound library; whichever voice carries the same number after the load is reached by the per-tick calls (their returns are stored back, 0x4395C9, 0x43962E, 0x43963D), which is the handle numbering of AUDIO-018 |
| TPW-EXE:0x437B60 coaster loader | source/OpenTPW.Files/Formats/Save/SaveCoasterList.cs:364 | [BIN:TPW-EXE:0x437B60 coaster loader] the loader reads every coaster in turn: header, auxiliary block, sections, then each of the type's train slots (the type's +0x2E8, 0x438386) with the cars of its train (the type's +0x2F4, 0x436D10), so the next header starts where the last car's lists end and a block of several coasters needs each type's counts |
| TPW-EXE:0x437B60 coaster loader | source/OpenTPW/World/Coasters/CoasterRide.cs:1488 | [BIN:TPW-EXE:0x437B60 coaster loader] the loader restores the state word, power factor, trains in service, seats and intersection count (0x438340..0x43837D) and every train slot's flags (|= 4), car count, position +0x74 and speed +0x78 (0x438386..), and sets controller flags 0x1001 (dirty) and 0x4000 (loaded); the speed setting +0x30 is not in the block and stays the constructor's 60 (0x4368F0 → 0x43C3D0 with its load argument); the admission and leaving rings are the constructor's fresh ones and the trains' boarding spans (+0x18/+0x1C) are not saved |
| TPW-EXE:0x437B60 coaster loader | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:39 | [BIN:TPW-EXE:0x437B60 coaster loader] header +0 bit 0x1 is controller +0x3C bit 0 (the end node is built, 0x4380D4) and bit 0x2 bit 1 (the circuit is cut open: +0x60/+0x64 are restored, 0x4382A5); the demolish button that cuts (0x446740) is enabled only on a complete track whose circuit is not cut open (the button mask 0x445910 clears bit 0x40 on any other track), and a cut that reaches the chain's end clears both bits (0x4469FF), so a cut without completion is no shape the original leaves |
| TPW-EXE:0x437B60 train rider lists | source/OpenTPW.Tests/OriginalCoasterImportTests.cs:389 | [BIN:TPW-EXE:0x437B60 train rider lists] each car's two lists and the train's rider count come back as saved, in the car and the seat order of the list |
| TPW-EXE:0x437B60 train rider lists | source/OpenTPW/World/Coasters/CoasterRide.cs:1536 | [BIN:TPW-EXE:0x437B60 train rider lists] the loader fills each car's two lists as saved (list +0x28 the riders on the lap, +0x2C the guests seated at the station) without hanging a head (0x43853E..0x43859F; 0x44B410 is not called from the loader, and the controllers are built afresh with sockets nobody hung: the system reset 0x437150 destroys every controller and unhangs its cars' sockets through 0x43BD20); the seats are the list indices and the heads come back with the sprite scripts of the Scripts block (SAVE-013) |
| TPW-EXE:0x437B60 train rider lists | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:187 | [BIN:TPW-EXE:0x437B60 train rider lists] the loader reads each car's list A (+0x28, count +0x30) and then list B (+0x2C, count +0x34) raw into the car's own buffers of one entry per head socket (0x43853E..0x43859F; the buffers are the slot setup's, 0x436D10) and stores the train's rider count +0x10 as a u16 (0x438424); a slot that is not in service (or any slot of a track that does not run) keeps its lists, but no train pass reads them, so its guests stay aboard with nobody to let them off, as in the original |
| TPW-EXE:0x437CBF coaster bind | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:252 | [BIN:TPW-EXE:0x437CBF coaster bind] the loader walks the controller list 0x790FE0 for the controller whose station mesh id (+0x10) is the header's +0xA, which the RideSystem loader 0x4647A0 made when it recreated the station's mesh instance; none matching dereferences a null pointer (0x437CD5), so the original crashes on such a park |
| TPW-EXE:0x437CBF coaster bind | source/OpenTPW/World/Level.Coasters.cs:746 | [BIN:TPW-EXE:0x437CBF coaster bind] per saved coaster the loader walks the controller list 0x790FE0 for the one whose station mesh id (+0x10) is the header's +0xA; the RideSystem loader 0x4647A0 made that controller when it recreated the station's mesh instance (0x463060 → 0x4368F0 with the load flag), and with none matching the loader writes through a null pointer (0x437CD5) |
| TPW-EXE:0x437EA6 section wire bits | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:77 | [BIN:TPW-EXE:0x437EA6 section wire bits] the loader ORs node flags 1, 2, 4, 0x40000, 0x80000, 0x10000 (remembering the node as the cut's end) and 0x20000 (as its start), sets or clears 0x200000 by wire 0x400 and sets 0x400000 by wire 0x800 |
| TPW-EXE:0x4380D4 end node | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:104 | [BIN:TPW-EXE:0x4380D4 end node] with wire 0x1 the loader sets controller +0x3C bit 0 (0x4380E7) and, with type flag 0x20 (which the type loader always sets, 0x42F390 ORs 0xA0), builds one pylon-less end node at the station's first node's pylon track dummy with the creation parameters 0x144 |
| TPW-EXE:0x4382A5 cut restore | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:114 | [BIN:TPW-EXE:0x4382A5 cut restore] the cut's end node (+0x60) is the last section with wire 0x40, else the third station node S2 (0x437CE6; S2 then gets 0x50000, 0x4382C3), and its start (+0x64) the last section with wire 0x80, else the chain's tail as it stood before the sections were added (+0x58 read at 0x437CEC), which is S2 again; the cut 0x446740 always marks the two nodes that border the removed range, so they are neighbours and a cut whose start no section names is no shape the original leaves |
| TPW-EXE:0x438340 controller words | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:131 | [BIN:TPW-EXE:0x438340 controller words] the state word (+8: the state in the low nibble, the ride mode 16, 32 or 64 above it) and the power factor +0x2C are restored as saved; completion, closing and the tool's entry set state 2 and the cut sets 1 (0x435730), and the mode setter sets the power factor to 0 in mode 64 and to 1 otherwise |
| TPW-EXE:0x438386 train slots | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:158 | [BIN:TPW-EXE:0x438386 train slots] every one of the type's train slots is read; the train passes run over the trains in service (+0xF4, 0x435784, 0x43CD36), the slots the rating pass set up (bit 0) |
| TPW-EXE:0x4383DA train flags load | source/OpenTPW/World/Coasters/CoasterRide.cs:1534 | [BIN:TPW-EXE:0x4383DA train flags load] the flags word is restored raw, so a saved train that held its scream (flag 0x100, set by 0x4393E0 and saved by 0x4377F4) goes on holding it; the handle +0x70 is not saved (only +0x38, +0x64 and +0x68, 0x43780A..0x437821) |
| TPW-EXE:0x4383FE sound state load | source/OpenTPW/World/Coasters/CoasterRide.cs:1532 | [BIN:TPW-EXE:0x4383FE sound state load] the loader restores the slot's sound state (+0x38) raw, and no slot setup follows for a slot that is set up (flag 0x1): the loops stay silent until the next setup, which then compares its state with this one |
| TPW-EXE:0x438800 bend body | source/OpenTPW/World/Coasters/CoasterCarRig.cs:94 | [BIN:TPW-EXE:0x438800 bend body] the bend loop takes the one model record the type names at +0x20 (the record with the most points, found by 0x430280..0x43057c for a type with the bend flag; the PC bend cars CROC and MAGGOT have one mesh node each) and skips a dummy record (flag 0x200); a vertex beyond the tables reads the neighbouring stack arrays, which no PC bend car reaches (every vertex of CrocCar and maggot lies inside its tables, CoasterBendDataTests), so the clamp in CoasterCarBend.Bend is not an approximation of PC data |
| TPW-EXE:0x438800 bend car | source/OpenTPW/World/Coasters/CoasterCarRig.cs:92 | [BIN:TPW-EXE:0x438800 bend car] a car of a bBendCar type (the Croc and Maggot flume boats) bends every vertex of its mesh along the samples around it each tick (CoasterCarBend), where the other cars play the wheel clip |
| TPW-EXE:0x438800 bend vertex | source/OpenTPW/World/Coasters/CoasterCarBend.cs:165 | [BIN:TPW-EXE:0x438800 bend vertex] (local_60c + z) / spacing with local_60c = rear × spacing is split in the whole index and the fraction; y += elevation; the vector is turned about X by the pitch lerp (0x4314f0) and about Y by the yaw lerp (0x431570), all three coordinates stored (the model's z moves with the turn) |
| TPW-EXE:0x438a22 bend writes | source/OpenTPW/World/Coasters/CoasterCarRig.cs:95 | [BIN:TPW-EXE:0x438a22 bend writes] the loop's only stores to the model are the vertex arrays of that record (0x438a16..0x438a22); then 0x44ab30 copies the node matrices into the key table (0x438a53): no node, dummy record or socket is turned, so a rider's head socket stays where the car's node pose puts it, unbent |
| TPW-EXE:0x438ab0 bend tables | source/OpenTPW/World/Coasters/CoasterCarBend.cs:63 | [BIN:TPW-EXE:0x438ab0 bend tables] with f the fraction and i the whole part of the coordinate: rear = trunc(rear extent / spacing) + 1 entries before the car's, clamped to i, front = trunc(front extent / spacing) + 1 clamped to n − 1 − i, the missing ones zero; per sample k the point k + f (lerp of samples k and k + 1) relative to the car's point (lerp of i and i + 1), its horizontal angle against the car's heading (acos of the dot of the unit directions, negative when the cross is positive) and the angle of its (y, z) turned by its own yaw against the car's pitch frame (turned by the sample yaw lerp); the elevation is Low or High (flag 8) lerped by f; samples behind use the negated car direction |
| TPW-EXE:0x438ab0 bend tables | source/OpenTPW/World/Coasters/CoasterCarRig.cs:93 | [BIN:TPW-EXE:0x438ab0 bend tables] the tables CoasterCarBend.Tables writes (rear count, yaw, pitch and elevation entries) are compared bit for bit with 120 isolated tp.exe runs (CoasterBendGolden, docs/reverse/ORACLE.md X43); the samples' yaw they read is the sampler's own, itself compared bit-exactly (X40) |
| TPW-EXE:0x438e43 dot clamp | source/OpenTPW/World/Coasters/CoasterCarBend.cs:43 | [BIN:TPW-EXE:0x438e43 dot clamp] the dot product of the two unit directions is set to 0 when it is below 0.0 and to 1.0 when it is above 1.0 before the acos (0x67b4e0 = atan2(sqrt((1 + x)(1 − x)), x)), so an angle never exceeds a quarter turn |
| TPW-EXE:0x4392A0 train loop sound | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:54 | [BIN:TPW-EXE:0x4392A0 train loop sound] the trains' two loops are the EventMap's events 0 and 1 of the level cat_rides, kept as held voices |
| TPW-EXE:0x4392A0 train sound setup | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:125 | [BIN:TPW-EXE:0x4392A0 train sound setup] 0x439670 first (stops +0x64, +0x68 and the scream handle +0x70 and clears +0x54..+0x70 but not +0x38), then 0x55A3E0(type, 5..8) into +0x54, +0x58, +0x5C and +0x60, then 0x51EEB0(type, 0, [0x803A3C], 0 and 1, x, y, z) (event = EventMap variable 0 and 1 of the level cat_rides, at the whole units of +0x48, +0x4C, +0x50) into +0x64 and +0x68, then 0x439780(train, 2, 100) |
| TPW-EXE:0x4393E0 train scream | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:269 | [BIN:TPW-EXE:0x4393E0 train scream] flag 0x2: with train flag 0x100 set a live +0x6C is moved by 0x5512D0 (not while [0x785A2C] is set, 0x43942F; a flag-less sample with a live handle moves it too, 0x43945C), a missing one is started by 0x551320(1, 100, 100, place) unless the train brakes (flag 0x10) or the ride is in mode 64 (ride +8 bit 0x40); without train flag 0x100 the start is also gated by [0x785A2C] == 0 (0x4394FE); flag 0x4 (not braking, not mode 64): a missing +0x70 is started by 0x551130(0, riders / 2 + 1, 75, 75, place) when [0x785A2C] == 0 (0x439544..0x439557) and train flag 0x100 is set; a live one is moved by 0x5512D0 and set to 75 / 75 by 0x551290 (0x43949F..0x4394AF); without the flag (or braking, or mode 64) a live +0x70 is stopped by 0x551300, cleared and the flag dropped (0x4394BE..0x4394DF) |
| TPW-EXE:0x4393E0 train scream submit | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:57 | [BIN:TPW-EXE:0x4393E0 train scream submit] 0x551320(1, 100, 100, place) is the band-1 one-shot at index 3 (cat_kids 78); 0x551130(0, riders / 2 + 1, 75, 75, place) the held chain of that band at level 75 |
| TPW-EXE:0x439570 train sound position | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:235 | [BIN:TPW-EXE:0x439570 train sound position] ftol(train +0x78 / type +0x50 (fMaxSpeedAtMaxSetting) × 100, 0x6FDF38) goes to +0x64 as 0x51BC40(+0x64, +0x58, percent) and 100 − percent to +0x68; then 0x51C270 moves both to +0x3C (the ride camera's train, 0x42A4E0 against [[train +0x34] +0xC]) or +0x48, each coordinate through fistp (0x4395EC, 0x4395FE, 0x439610: round to nearest even, unlike the _ftol of the percent and of the setup) and, when the train has riders (+0x10, 0x439640), the scream pass 0x4393E0 follows with the same place |
| TPW-EXE:0x439670 scream teardown | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:271 | [BIN:TPW-EXE:0x439670 scream teardown] the slot setup stops +0x70 (0x551300) and clears +0x6C and +0x70 without stopping the one-shot; the train flag 0x100 is kept apart here (presentation, not hashed) and, like the flags word of the slot, stays across a setup and is saved and restored with the train flags (0x4377F4, 0x4383DA) |
| TPW-EXE:0x439780 train sound state | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:210 | [BIN:TPW-EXE:0x439780 train sound state] a state other than train +0x38 maps 1, 2, 4, 8, 0x10 to 0xF, 0x1E, 0x46, 0x5A, 0x32 (the byte table 0x43982C, the jump table 0x439814; every other state sends nothing), calls 0x51BC40(+0x68, +0x5C, parameter) and stores the state; the call 0x51BC40(+0x68, +0x60, value) follows in every case (0x4397EE..0x43980C), so an equal state does not return early |
| TPW-EXE:0x439840 coaster crash | source/OpenTPW/Audio/GameAudio.cs:166 | [BIN:TPW-EXE:0x439840 coaster crash] the collision exchange 0x43cd60 calls the crash effect when the two trains' new speeds differ by more than 1.0 (0x6fe020): 0x51bfc0(0, cat_rides 0x803a28, 0xC, x, y, z) at 0x4398cd, the point the front of the train lies at on the track samples (fmod of +0x20 by the sample count, 0x43c000 interpolates the sample +4/+8/+0xC positions), each coordinate truncated |
| TPW-EXE:0x439840 crash place | source/OpenTPW/World/Coasters/CoasterRide.cs:1363 | [BIN:TPW-EXE:0x439840 crash place] fmod (0x67b24a) of train +0x20 by the end coordinate (ctl +0xa8, 0x439850..0x43985a), modf (0x67b280) into sample and fraction, 0x43c000(ctl, sample, fraction, out) = lerp of the +4/+8/+0xC positions of that sample and the next (stride 0x38), then three truncations; the next sample past the last is read beyond the array by the original, the first sample here (a closed circuit) |
| TPW-EXE:0x4398c8 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:514 | [BIN:TPW-EXE:0x526ce9] cat_ui 0xCE (track modes 0xB and 0x10), [BIN:TPW-EXE:0x526423] cat_ui 0x65 (mode 0x15), [BIN:TPW-EXE:0x492d9c] cat_ui 0xC1 (the pause menu's backdrop), [BIN:TPW-EXE:0x4398c8] cat_rides 0xC (the coaster crash) |
| TPW-EXE:0x4398cd coaster crash sound | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:52 | [BIN:TPW-EXE:0x4398cd coaster crash sound] two trains bumping hard play the global cat_rides crash sound 12 at the bump's whole-unit place |
| TPW-EXE:0x439920 link boxes | source/OpenTPW/World/Coasters/CoasterCollision.cs:64 | [BIN:TPW-EXE:0x439920 link boxes] every node with a successor gets the box of the samples from its own index to its successor's, grown by the radius of its pylon control (its successor's without one, 0 without either) |
| TPW-EXE:0x439ab0 cut end | source/OpenTPW/World/Coasters/CoasterCollision.cs:152 | [BIN:TPW-EXE:0x439ab0 cut end] a marked node with 0x10000 only drops its entries (0x439b72) |
| TPW-EXE:0x439ab0 dirty marks | source/OpenTPW/World/Coasters/CoasterCollision.cs:139 | [BIN:TPW-EXE:0x439ab0 dirty marks] the pass visits the chain once per rebuild and only a node marked 0x200000 is re-tested; the original runs it again on every frame of the edit, so a node an overflowed holder re-marked is reached on the next pass; the passes repeat here until no mark is left |
| TPW-EXE:0x439ab0 intersection pass | source/OpenTPW/World/Coasters/CoasterCollision.cs:47 | [BIN:TPW-EXE:0x439ab0 intersection pass] a node marked 0x200000 (and not 0x10000) first drops its entries (0x43ad50), clears 0x600000, then tests its link against the links starting two nodes after it, and then those starting two nodes before it, with 0x439c40; the pass runs with the rounding mode set to truncate (0x439ac4), so every sine-table index below truncates |
| TPW-EXE:0x439ab0 track collision | source/OpenTPW/World/Coasters/CoasterTrack.cs:405 | [BIN:TPW-EXE:0x439ab0 track collision] the original tests the track against itself only (CoasterCollision, run on every rebuild): no terrain or scenery query exists in 0x439ab0, 0x439c40 or 0x43a2b0, so a pylon placement is never refused for what stands under or beside the track |
| TPW-EXE:0x439b6b cursor marks | source/OpenTPW/World/Coasters/CoasterTrack.cs:1483 | [BIN:TPW-EXE:0x439b6b cursor marks] 0x4360c0 also sets 0x200000 on both ends and their neighbours; the readers are the self-intersection pass (0x439ab0 re-tests only the nodes carrying it, 0x439b6b) and the save writer (0x4376bb: it saves the bit as 0x400): the pass runs over every node here, so the marks have nothing left to select |
| TPW-EXE:0x439c40 cut end | source/OpenTPW/World/Coasters/CoasterCollision.cs:130 | [BIN:TPW-EXE:0x439c40 cut end] the link that starts on a node with 0x10000 (the end of a cut chain) is never tested (0x439c40 tests param_5's flag 0x10000) |
| TPW-EXE:0x439c5f descriptor skips | source/OpenTPW/World/Coasters/CoasterCollision.cs:127 | [BIN:TPW-EXE:0x439c5f descriptor skips] a link whose end node (B) shares its cell descriptor (node +0x100) with the other link's first node (C), or whose first node (A) shares it with the other link's end node (D), is not tested (0x439c5f..0x439c81); the descriptor is the cell's pylon column, whose node list holds every stacked pylon (0x433d71..0x433d88: +0x34 array, +0x30 height), so nodes of one cell share it and a pylon-less node has its own |
| TPW-EXE:0x439c87 pylon-less skip | source/OpenTPW/World/Coasters/CoasterCollision.cs:133 | [BIN:TPW-EXE:0x439c87 pylon-less skip] a link that ends on a pylon-less node (the end node) is not tested against the link that leaves the first node, nor the reverse (the end node stands where the first node does) |
| TPW-EXE:0x439cc6 box overlap | source/OpenTPW/World/Coasters/CoasterCollision.cs:175 | [BIN:TPW-EXE:0x439cc6 box overlap] all six strict comparisons A.min < C.max and C.min < A.max |
| TPW-EXE:0x439f35 segment overlap | source/OpenTPW/World/Coasters/CoasterCollision.cs:189 | [BIN:TPW-EXE:0x439f35 segment overlap] the segment boxes overlap on all three axes (strict) |
| TPW-EXE:0x43B330 coaster capacity | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:153 | [BIN:TPW-EXE:0x43B330 coaster capacity] the seats per train (+0xF0) are what COAST 6 or the constructor stored: at least 1 and at most one train's and the fleet's head sockets |
| TPW-EXE:0x43B600 seat guests | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:202 | [BIN:TPW-EXE:0x43B600 seat guests] the list entry is the guest's id as the script handed it over (0x554AE2 -> 0x43B0E0 pushes it on the ring); the seat is the list index (socket k of the car type), the train's +0x10 counts one more rider |
| TPW-EXE:0x43BA90 car seat share | source/OpenTPW.Files/Formats/Save/SaveCoasterTrains.cs:41 | [BIN:TPW-EXE:0x43BA90 car seat share] car +0x44 is the car's seat share (the seats per train, +0xF0, split over the centre-type cars by 0x43BA90 whenever the seats change, the last share taking the rest) and car +0 its flag word; the loader restores the saved shares raw (0x4384A3) and runs 0x43BA90 without the share pass (0x4385DE), so a loaded coaster's shares are the ones its formula gave, which the import's seats per train reproduce |
| TPW-EXE:0x43CE20 train flags | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:175 | [BIN:TPW-EXE:0x43CE20 train flags] the train's flags 0x10 (braking), 0x20 (in the station), 0x40 (bumped) and 0x80 (headway) are what the train step and the station step read; bits 0, 1 and 2 mark the slot set up, which every train in service is |
| TPW-EXE:0x43D7D8 train sound state | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:170 | [BIN:TPW-EXE:0x43D7D8 train sound state] a braking train (flag 0x10) is state 8 with 50 × (round(x⁴ of the tick's last braking hop) + 1) (0x43D76A..0x43D781); else with a car on a winch (the count of car flag 0x2, 0x43D73D) and a power factor other than 0 (0x43D78A) it is state 2 when speed / speed cap is at most 0.3 (0x6FE078) and state 4 above, with 100 × cars on winch / the train type's car count (+0x2F4); anything else is state 0x10 with 100 (0x43D7D3) |
| TPW-EXE:0x43EB70 rebuild after load | source/OpenTPW/World/Coasters/CoasterRide.cs:1489 | [BIN:TPW-EXE:0x43EB70 rebuild after load] the next frame's coaster update (0x435A30, run after the substep loop of 0x54E360) rebuilds every dirty controller: the knot pass, the winch clear 0x432B50, the sampler 0x440C10, the rating pass 0x43C450 and the self-intersection pass 0x439AB0, then it clears 0x4000 (0x43F01E); the rating pass is called only from here and, while 0x4000 is set, rates the track (0x43DF90) but skips the train count 0x43BA20, the slot set-up and the layout 0x43C1F0 (0x43CA6B), so the saved trains in service stay where they were, at their saved speeds |
| TPW-EXE:0x43a33b pose points | source/OpenTPW/World/Coasters/CoasterCollision.cs:233 | [BIN:TPW-EXE:0x43a33b pose points] roll: x' = x·cos − sin·y, y' = cos·y + x·sin; pitch: y' = y·cos − sin·z, z' = cos·z + y·sin; yaw: x' = sin·z + x·cos, z' = cos·z − x·sin (0x43a39d..0x43a4b8); the sin index is fistp(f32(angle · scale)) & mask and the cos index fistp(f32(scale · f32(angle − (−π/2)))) & mask, every product, sum and fistp truncating; the sample's position is added last (0x43a4a1..0x43a4b8) |
| TPW-EXE:0x43a5f4 face plane | source/OpenTPW/World/Coasters/CoasterCollision.cs:261 | [BIN:TPW-EXE:0x43a5f4 face plane] with v = P1 − P0 and w = P1 − P2 (singles), n = (w.z·v.y − w.y·v.z, w.x·v.z − w.z·v.x, v.x·w.y − w.x·v.y) over its length sqrt((nx² + ny²) + nz²), each component divided by it, d = −(((P1.x·n.x) + (P1.y·n.y)) + (P1.z·n.z)) (0x43a56a..0x43a64d); for the edge B → B + e, dist = ((n.z·B.z + n.y·B.y) + n.x·B.x) + d and t = −(dist / ((n.x·e.x + n.y·e.y) + n.z·e.z)), accepted for 0 ≤ t ≤ 1 (0x43a675..0x43a72f, 0x43a8d0) |
| TPW-EXE:0x43a8b3 face test | source/OpenTPW/World/Coasters/CoasterCollision.cs:262 | [BIN:TPW-EXE:0x43a8b3 face test] the corners P0..P3 give vectors v from the cut point (q = t·e + B), each divided by its length; the angles are acos of the dot products ((y·y + z·z) + x·x) of the pairs (v0, v1), (v1, v2), (v2, v3), (v3, v0), the first stored as a single, each next one an extended acos added to the single sum; the face holds the point when the sum is not below 6.2821855 (0x43a839..0x43a8b3); the longitudinal edge's test 0x43aa10 sums the pairs (v1, v2), (v1, v0), (v2, v3), (v3, v0) with the dot orders (y, z, x), (z, y, x), (y, z, x), (y, z, x) |
| TPW-EXE:0x43ad50 drop entries | source/OpenTPW/World/Coasters/CoasterCollision.cs:88 | [BIN:TPW-EXE:0x43ad50 drop entries] a node without overflow removes itself from the list of every partner in its own list; a node with overflow from every node's list; the count falls by every entry removed and by the node's own entries |
| TPW-EXE:0x43ad50 re-test mark | source/OpenTPW/World/Coasters/CoasterCollision.cs:96 | [BIN:TPW-EXE:0x43ad50 re-test mark] a holder that lost entries and has its overflow flag (0x400000) is marked 0x200000, so the next visit of the pass re-tests it (a later node in this pass, an earlier one in the next pass) |
| TPW-EXE:0x43b0e0 coaster admission | source/OpenTPW/World/Coasters/CoasterRide.cs:126 | [BIN:TPW-EXE:0x43b0e0 coaster admission] COAST 1 pushes the guest on the admission ring (controller +0xb0); a train in the station seats the guests from it (0x43b600) |
| TPW-EXE:0x43b0e0 coaster boarding | source/OpenTPW/World/Coasters/CoasterRide.cs:842 | [BIN:TPW-EXE:0x43b0e0 coaster boarding] COAST 1 pushes the guest on the ring at ctl+0xb0 when the ring's two counters (+0xc0, +0xbc) are below its size (+0xb0 = definition +0x2f8); nobody is seated here, and the room COAST 2 reports is not tested |
| TPW-EXE:0x43b1f0 coaster room | source/OpenTPW/World/Coasters/CoasterRide.cs:834 | [BIN:TPW-EXE:0x43b1f0 coaster room] COAST 2 returns max(0, ctl+0xb8 − ctl+0xc0 − ctl+0xbc): the capacity COAST 6 stored (0x43bbd1: ctl+0xf0 → +0xb8), minus the ring's second counter (+0xc0, only ever 0), minus the guests on the admission ring (+0xbc); no state, mode or train enters it, so the room is the capacity of one train whether or not a train is in the station |
| TPW-EXE:0x43b2b0 coaster speed setter | source/OpenTPW/World/Coasters/CoasterRide.cs:770 | [BIN:TPW-EXE:0x43b2b0 coaster speed setter] COAST 8 (0x554ab4, after 0x43b050 stored the slot at script +0xE0) and the loop 0x5516b0 after every slice its cadence selects (0x5517ea; OriginalObjectEffects.AfterSlice) call it with the signed 16-bit script bias at script +0xC0 (50 at creation, 0x558c3c); applied via 0x43c3d0 (setting +0x30, cap +0x34 = fmadds-style lerp of definition +0x4C and +0x50 by s·0.01, dirty flags 0x1001, the per-node pass 0x43afa0 on flag 8) when it differs from the setting (0x43b2c6) and either a layout replay runs (0x785a2c, the replay object 0x785a08 +0x24, set by 0x404140 and cleared at the replay's end in 0x4041d0) or controller +0 bit 0x8000 is clear (0x43b2d6); since the script's bias (RideVM.SpeedBias, the ride's InitSpeed) is written at ride init and when an upgrade completes (RIDES-033) it changes between passes only then, and the setter takes the new bias after the script's next slice |
| TPW-EXE:0x43b2f0 coaster close | source/OpenTPW/World/Coasters/CoasterRide.cs:746 | [BIN:TPW-EXE:0x43b2f0 coaster close] gated: argument 0 opens (state → 4) only when state & 0xA (built 2 or closed 8), a nonzero argument closes (→ 8) only when state & 4 (open), like the Mac; a ride whose track is not finished (state 1) takes neither. Closing (4 → 8, 0x43b390) moves the admission ring (+0xB0) into the leaving ring (+0xD0) that COAST 3 (0x43b220) pops |
| TPW-EXE:0x43b330 coaster capacity | source/OpenTPW/World/Coasters/CoasterRide.cs:757 | [BIN:TPW-EXE:0x43b330 coaster capacity] min(max(request, 0), definition +0x318 (the fleet's head sockets), the first train definition's +8 (one train's head sockets, definition +0x2f8)); the lower bound is the literal 0 where the Mac reading takes a global (documented difference); a value that differs from ctl+0xf0 is rebuilt through 0x43ba90, where 0 stands for the train's head sockets |
| TPW-EXE:0x43b390 coaster close | source/OpenTPW/World/Coasters/CoasterRide.cs:859 | [BIN:TPW-EXE:0x43b390 coaster close] moves min(leaving ring room, admission count) guests from the admission ring (+0xb0) to the leaving ring (+0xd0, 2 × definition +0x318 guests), oldest first |
| TPW-EXE:0x43b600 seat guests | source/OpenTPW/World/Coasters/CoasterRide.cs:995 | [BIN:TPW-EXE:0x43b600 seat guests] train +0x14 = the free seats of the span's cars (car +0x44 − car +0x34), counted by the caller; each guest popped from the ring (+0xc4) draws s = s·0x343fd + 0x269ec3 (no 0x7fff mask) and takes (s >> 16) % count + first, then the first car from there, wrapping inside the span, whose count (+0x34) is below its seats (+0x44) |
| TPW-EXE:0x43b70d seat socket | source/OpenTPW/World/Coasters/CoasterRenderer.cs:314 | [BIN:TPW-EXE:0x43b70d seat socket] a guest seated in a car (0x43b600) is hung on the car model's socket of its index in the car's seated list (0x44b410 with the type's socket array entry at the list count), and a rider leaving at the arrival is taken off its socket (0x44b4c0, 0x43b480): the lap's riders and the guests seated at the station use the same sockets, one list at a time |
| TPW-EXE:0x43b750 station window | source/OpenTPW/World/Coasters/CoasterRide.cs:419 | [BIN:TPW-EXE:0x43b750 station window] f8 = (1 − k)·A + k·(A + B)/2 and fc = (1 − k)·B + k·(A + B)/2 with k = definition +0x31c (fEntranceSizeInterval, copied unconditionally) and A, B the sample coordinates of the first and third station node ([[node+0x90]+4]+8): the first one's is 0, the third one's is where the sampler passed S2 |
| TPW-EXE:0x43b7e0 cars in window | source/OpenTPW/World/Coasters/CoasterRide.cs:971 | [BIN:TPW-EXE:0x43b7e0 cars in window] from car train +8 (0): front extent / spacing + car +0x40 ≥ ctl+0xf8 and car +0x40 − rear extent / spacing ≤ ctl+0xfc; the first and the last such car |
| TPW-EXE:0x43b8b0 coaster station | source/OpenTPW/World/Coasters/CoasterRide.cs:923 | [BIN:TPW-EXE:0x43b8b0 coaster station] in the station when train +0x20 ≥ ctl+0xf8 and train +0x24 ≤ ctl+0xfc; arrival (flag 0x20 clear): 0x43b480(…, 1) unloads the lap's riders; state 4: 0x43b7e0 finds the cars inside the window, the span grows from car 0 to the last car seen, 0x43b600 seats the ring's guests; leaving (flag 0x20 set, out of the window): state 4 seats the free seats of every car from train +0x18, the two lists swap, +0x18/+0x1c = 0, flag 0x20 clears |
| TPW-EXE:0x43b8b0 coaster station | source/OpenTPW/World/Coasters/CoasterRide.cs:1117 | [BIN:TPW-EXE:0x43b8b0 coaster station] the station step is skipped entirely in mode 64 (breakdown); an arriving train unloads open or closed and boarding needs state 4; the tick also skips the station step (and 0x439570) for a train whose flag bit 0x2 is clear (0x435ce5 test byte [esi],2); the slot setup 0x43be10 sets it (0x43be45) on each train 0x43cad6 brings below the count, and 0x43cb08..0x43cb97 clear it (0x43cb95, under controller flag 0x800) on the trains at or past it, which leave the list here, so every train in the list counts as having it set (the stride-0x60 car flags at 0x43d1ee/0x43d23e are another word) |
| TPW-EXE:0x43b9fe seating span | source/OpenTPW/World/Coasters/CoasterRide.cs:944 | [BIN:TPW-EXE:0x43b9fe seating span] the seating call gets the span grown from the stored one (min/max, 0x43b9ae..0x43b9cb), but +0x18 and +0x1c keep the raw first and last of 0x43b7e0 (0x43ba09, 0x43ba0c) |
| TPW-EXE:0x43baef reference car | source/OpenTPW/World/Coasters/CoasterDefinition.cs:291 | [BIN:TPW-EXE:0x43baef reference car] train +0x2c = (train +0xc − 1) >> 1 whenever the car count is set (0x43ba90) |
| TPW-EXE:0x43bb1b seat type | source/OpenTPW/World/Coasters/CoasterRide.cs:619 | [BIN:TPW-EXE:0x43bb1b seat type] the seat type is the train definition's +0x10, the centre car type (compared with car +4 at 0x43bb6c); the capacity is the argument, or the train definition's +8 (the head sockets of one train) when it is 0 (0x43bb1b..0x43bb29) |
| TPW-EXE:0x43bb37 seat cars | source/OpenTPW/World/Coasters/CoasterDefinition.cs:248 | [BIN:TPW-EXE:0x43bb37 seat cars] param_4 = cars − (train definition +0xc ≠ +0x10) − (+0x14 ≠ +0x10): the front and rear type records compared with the centre one |
| TPW-EXE:0x43bb7b seat split | source/OpenTPW/World/Coasters/CoasterRide.cs:618 | [BIN:TPW-EXE:0x43bb7b seat split] car +0x44 = remaining / (seat cars − filled) for the cars whose type is the train's seat type, 0 for the others |
| TPW-EXE:0x43bc20 car offsets | source/OpenTPW/World/Coasters/CoasterDefinition.cs:300 | [BIN:TPW-EXE:0x43bc20 car offsets] the reference car's +0x38 = 0; from it toward car 0 the sum grows by +0x1c (car index 0), +0x24 (the last index) or +0x20 of the train definition (definition +0x30c/+0x314/+0x310); behind it the sum falls by the same choice; +0x3c = +0x38 / spacing |
| TPW-EXE:0x43be10 bend flag gate | source/OpenTPW/World/Coasters/CoasterCarRig.cs:96 | [BIN:TPW-EXE:0x43be10 bend flag gate] the clip start of a train slot (id 5 through 0x4732a0, 0x43bef2) runs only when the car type's flag word has bit 0 clear (0x43bed2..0x43bed6), so a bend car plays no clip |
| TPW-EXE:0x43be10 slot setup | source/OpenTPW/World/Coasters/CoasterRide.cs:571 | [BIN:TPW-EXE:0x43be10 slot setup] a train that comes below the count gets the slot setup, which starts its loop sound (0x4392A0) |
| TPW-EXE:0x43be10 wheel clip | source/OpenTPW/World/Coasters/CoasterAssets.cs:163 | [BIN:TPW-EXE:0x43be10 wheel clip] a car of a type without the bend flag starts the model's animation id 5 (the letter m of the animation table: <model>m1, else <model>m), sub 0, looping on channel 0 (0x4732a0) |
| TPW-EXE:0x43be10 wheel clip start | source/OpenTPW/World/Coasters/CoasterRide.cs:76 | [BIN:TPW-EXE:0x43be10 wheel clip start] slot setup plays id 5, sub 0, flags 1, speed 1.0 on every non-bend car (0x4732a0); the state setter 0x435730 and newly activated rating slots (0x43cad6) call setup |
| TPW-EXE:0x43c0a0 frame at a coordinate | source/OpenTPW/World/Coasters/CoasterCurve.cs:420 | [BIN:TPW-EXE:0x43c0a0 frame at a coordinate] the frame of a coordinate takes the same pair and fraction: the slice frame 0x43e6b0 over the two knot records (and the second rail's), with the fraction as its parameter (0x43c0de..0x43c144) |
| TPW-EXE:0x43c121 car curve point | source/OpenTPW/World/Coasters/CoasterRide.cs:305 | [BIN:TPW-EXE:0x43c121 car curve point] the car stands on the slice frame 0x43e6b0 of the pair (A, B) with A the knot of sample[ftol(c)] (sample +0x2c) and B its next knot (+0x18), advanced while B's coordinate (+8) is below c, at t = (c − A +8)/(B +8 − A +8): the cubic Bézier point and its tangent's yaw and pitch, not the lerp of two samples |
| TPW-EXE:0x43c160 node bank | source/OpenTPW/World/Coasters/CoasterTrack.cs:1276 | [BIN:TPW-EXE:0x43c160 node bank] bank = (±π − turn)·v / definition +0x10 / (|next − P| + |prev − P|) over the raw links, 0 when the turn (+0x94) is 0 or node flag 0x100 is set; the tangent routine leaves the turn 0 on a node without a flag-masked previous or next neighbour (0x431660: S0, S2, the cut ends), so those bank 0 |
| TPW-EXE:0x43c1f0 release spacing | source/OpenTPW/World/Coasters/CoasterRide.cs:586 | [BIN:TPW-EXE:0x43c1f0 release spacing] R = fild(definition +0x2ec as 64-bit) × 0.001 (0x6fe030) stored single; per train after the first: modf of the previous train's +0x30 gives i and f₀, t = (1 − f₀)·spacing / sample[i].+0x1c, t′ = 0; while t < R: i = (i + 1) mod n (ctl+0xa4), t′ = t, t += spacing / sample[i].+0x1c; then f = (t − R)/(t − t′) and train +0x30 = fmod((i − 1)(1 − f) + i·f + n, n) (0x43c343..0x43c39f); train 0 keeps its +0x30 |
| TPW-EXE:0x43c226 release time | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:10 | [BIN:TPW-EXE:0x43c226 release time] fild of the rate as a 64-bit integer times 0x6fe030 (0.001f), stored as a single |
| TPW-EXE:0x43c23d lead coordinate | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:17 | [BIN:TPW-EXE:0x43c23d lead coordinate] each train's +0x30 is its last car's +0x40, plus ctl +0xa8 when that is below 0; the placement then walks from train 0 on |
| TPW-EXE:0x43c2ac release walk | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:18 | [BIN:TPW-EXE:0x43c2ac release walk] the previous train's +0x30 is split by modf (0x67b280) and ftol into the sample i and the fraction f0; t = ((1 − f0) × spacing) / speed[i], t' = 0; while t < R: i = (i + 1) mod n (ctl +0xa4), t' = t, t = t + spacing / speed[i]; then f = (t − R) / (t − t'), the position (i − 1) × (1 − f) + i × f and the train's +0x30 = fmod(position + total, total) with total = ctl +0xa8 (0x43c387..0x43c39f), every step a single |
| TPW-EXE:0x43c3d0 speed cap | source/OpenTPW/World/Coasters/CoasterRide.cs:293 | [BIN:TPW-EXE:0x43c3d0 speed cap] t = the integer setting times the single 0.01 (0x6fe034), controller +0x34 = ((1 − t) × type +0x4c) + (type +0x50 × t), every step a single; no fused multiply-add (the Mac fmadds fused them) |
| TPW-EXE:0x43c450 rating and motion | source/OpenTPW/World/Coasters/CoasterDefinition.cs:136 | [BIN:TPW-EXE:0x43c450 rating and motion] the PC twins in tp.exe agree with the Mac readings for COAST 2-6 (0x43b1f0..0x43b330; COAST 6's literal 0 floor is built), the mode and speed setters, the guest predicates, the debit 0x4d01f0, the sampler 0x440c10 (its angles 0x43e590 and the loop knot factor 0x432430 round the sine-table index to the nearest, built) and the hop; the rating pass 0x43c450 (the step takes u where the Mac took Fz and nothing is fused), the final, the train placement, the ride motion 0x43ce20, the speed cap 0x43c3d0, the car offsets 0x43bc20 and the placement validator's turn angle and window (0x434740: single steps, the acos 0x67b4e0) are ported in tp.exe's own single steps and compared with isolated runs (CoasterRatingGolden, ORACLE X46); the cost 0x447830 is built (the Mac formula, length and height multiplied by f32 0.1 (0x6fe1f0) in x87, dx squared through a double store and dz through a single store (0x4478dd..0x447913), summed as (length rate * length + unit) + height rate * height) and compared bit-exactly with isolated tp.exe runs (COAST-014 retired) |
| TPW-EXE:0x43c450 rating pass | source/OpenTPW/World/Coasters/CoasterRating.cs:225 | [BIN:TPW-EXE:0x43c450 rating pass] start speed fWinchSpeed (type +0x44), max speed and max height 0.0; samples 1..n−2 (the loop is skipped for n − 1 ≤ 1); trough coasters (type flag 0x100) set sample flag 8 where ay / sqrt((ax² + ay²) + az²) of the next segment exceeds 0.01745 and clear it elsewhere (0x43c510..0x43c544); the force is a × v × 0.1 with a = −(((behind + ahead) / spacing) × 1.0) per axis, two single products in that order (0x43c60c..0x43c65d); speed into +0x1c; the rating step reads the roll +0x18; lap += spacing / v; afterwards sample 0 gets speed fWinchSpeed and force 0, sample n−1 the speed and force of sample n−2 (0x43c6ca..0x43c71d); then the braking start, the suspended swing (flag 0x8), the final and the train count |
| TPW-EXE:0x43c4f0 winch mark | source/OpenTPW/World/Coasters/CoasterRide.cs:434 | [BIN:TPW-EXE:0x43c4f0 winch mark] the rebuild 0x43eb70 runs the rating pass 0x43c450 on every chain it draws and on every frame of an edit: a sample whose speed falls back to the floor (fWinchSpeed) marks its node 0x800 (0x43c4f0..0x43c505); the pass has no finished-track gate (it reads the controller's sample list, +0xa4) |
| TPW-EXE:0x43c580 rating speed | source/OpenTPW/World/Coasters/CoasterRating.cs:202 | [BIN:TPW-EXE:0x43c580 rating speed] (y − y_next) × fUphillAccelModifier (+0x28; +0x2c when y_next is not above y) × fAccelerationPerHeight (+0x24), plus the speed, each a single and none fused; a value not above fWinchSpeed (+0x44) becomes it (0x43c596..0x43c5b7); × fFrictionMultiplier (+0x54) on sample flag 8 (0x43c5bf..0x43c5c8); not above the floor again becomes it (0x43c5d0..0x43c5e0); equal to it marks the node 0x800 (0x43c5e3..0x43c5f3); the cap (controller +0x34) replaces a value that is not below it, a NaN excepted (0x43c5f9..0x43c606) |
| TPW-EXE:0x43c729 braking start | source/OpenTPW/World/Coasters/CoasterRating.cs:237 | [BIN:TPW-EXE:0x43c729 braking start] +0x134 = (n − 1) − v / spacing with v the speed of the sample before the tail node's sample (+0x58 node +0xfc), replaced by 0 when it is not above 0 (NaN included) (0x43c72c..0x43c763) |
| TPW-EXE:0x43c72c braking start | source/OpenTPW/World/Coasters/CoasterRide.cs:515 | [BIN:TPW-EXE:0x43c72c braking start] controller +0x134 = (n − 1) − v_last / spacing, replaced by 0 when it is not above 0 (a NaN too), 0x43c72c..0x43c763 |
| TPW-EXE:0x43c72f braking start | source/OpenTPW/World/Coasters/CoasterRide.cs:417 | [BIN:TPW-EXE:0x43c72f braking start] ctl+0x134 = (n − 1) − v_last/spacing with n the sample count; the end node stands on the first station node, so the brake zone is the stretch just before the sample list's end, which is the start of the platform |
| TPW-EXE:0x43c76c suspended swing | source/OpenTPW/World/Coasters/CoasterRating.cs:311 | [BIN:TPW-EXE:0x43c76c suspended swing] (0x43c76c..0x43ca45, definition flag 0x8, sample stride 0x38) per sample with prev starting at π: F = sample force (+0x20..+0x28) + definition gravity (+0x60..+0x68); F is rotated into the sample frame by the angles −yaw (+0x10, X/Z), −pitch (+0x14, Y/Z) and −old roll (+0x18, X/Y) through the runtime sine table (0x7b0968, mask 0x7b0960, scale 0x7b095c); θ = atan2(−X, Y) (0x46f230); d = fmod(θ − prev + 3π, 2π) − π; rate = min(|F′|·definition +0x6C fForceMultiplier, 1); w = fmod(prev + d·rate + 3π, 2π) − π; roll = w − π (+2π when below −π); past the braking start (controller +0x134, computed just before from the tail node's sample) roll ×= 1 − clamp((i − b)/(n − b), 0, 1); prev = w. The Mac rule (0x100400D8..0x10040438) is the same restated; COAST-018 narrowed |
| TPW-EXE:0x43c7be nearest index | source/OpenTPW/World/Coasters/CoasterCurve.cs:619 | [BIN:TPW-EXE:0x43c7be nearest index] index = fistp(f32(scale · a)) & mask under the default control word (round to nearest even); the Mac lookup truncates |
| TPW-EXE:0x43c7d0 cos index | source/OpenTPW/World/Coasters/CoasterCurve.cs:622 | [BIN:TPW-EXE:0x43c7d0 cos index] fld a; fsub [0x6fe040] (the single −π/2); fmul [0x7b095c]; fstp dword; fistp: the subtraction and the product each round to a single at the thread's 24-bit precision ([BIN:TPW-EXE:0x00563914 control word]), where an extended difference would not |
| TPW-EXE:0x43c9e8 swing fade | source/OpenTPW/World/Coasters/CoasterRating.cs:298 | [BIN:TPW-EXE:0x43c9e8 swing fade] the fade runs over (i − ctl+0x134)/(ctl+0xa8 − ctl+0x134): the braking start is (n − 1) − v/spacing with n the sample count and ctl+0xa8 the sample coordinate of the end node's knot |
| TPW-EXE:0x43ca87 train count | source/OpenTPW/World/Coasters/CoasterRating.cs:185 | [BIN:TPW-EXE:0x43ca87 train count] the release rate (type +0x2ec, an unsigned) loaded as an integer, times the single 0.001 (0x6fe030), divided into the lap time (0x43ca87..0x43ca90), truncated by _ftol (0x67a830: fistp qword, low dword: NaN and out of range give 0, [2^31, 2^63) the low 32 bits), at least 1 (signed) and, as an unsigned compare, at most uiMaxTrains (type +0x2e8) (0x43ca98..0x43caae) |
| TPW-EXE:0x43cad6 train slots | source/OpenTPW/World/Coasters/CoasterRide.cs:551 | [BIN:TPW-EXE:0x43cad6 train slots] trains below the count without bit 0 get bits 0 and 2 and the slot setup 0x43be10 (train flag 0x2, every car flag bit 0, both rider lists empty); trains at or past it lose bits 0 and 0x2 and their cars bit 0 (0x43cb08..0x43cb97), after 0x43ba20 moved their riders, boarding list first (0x43b480 with 0, then 1), to the leaving ring when the state is 4 or 8 |
| TPW-EXE:0x43cbda train layout | source/OpenTPW/World/Coasters/CoasterRide.cs:552 | [BIN:TPW-EXE:0x43cbda train layout] per train: the last car's +0x40 = train +0x30 and each car before it adds (its front extent + the next car's rear extent) / spacing; train +0x74 = the reference car's +0x40, train +0x20/+0x24 from car 0's and the last car's offsets and extents (as 0x43bdb0), train +0x78 = the mean over the cars of the lerp of sample +0x1c at the car's +0x40 (modf, the sample and the next one) |
| TPW-EXE:0x43cbf1 car coordinates | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:53 | [BIN:TPW-EXE:0x43cbf1 car coordinates] fst of the running coordinate into car +0x40, then coordinate + ((front[c] + rear[c − 1]) / spacing) toward car 0, every step a single |
| TPW-EXE:0x43cc37 train extents | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:69 | [BIN:TPW-EXE:0x43cc37 train extents] +0x20 = (car 0's offset / spacing + position) + its front extent / spacing; +0x24 = (the last car's offset / spacing + position) − its rear extent / spacing |
| TPW-EXE:0x43cc94 train speed | source/OpenTPW/World/Coasters/CoasterTrainPlacement.cs:74 | [BIN:TPW-EXE:0x43cc94 train speed] per car modf of +0x40 into the sample i and the fraction f; (speed[i + 1] × f) + (speed[i] × (1 − f)), added to the running sum, which is divided by the car count at the end (0x43cd1a..0x43cd29) |
| TPW-EXE:0x43cd60 train collision | source/OpenTPW/World/Coasters/CoasterRide.cs:1334 | [BIN:TPW-EXE:0x43cd60 train collision] T.speed = (T − 2·O)/…: T' = (T − (O × −2)) × (1/3) and O' = (O − (T × −2)) × (1/3) (0x6fe05c, 0x6fe060) and O.flags |= 0x40 when O +0x24 (+ the end coordinate when O +0x74 < T +0x74) < T +0x20 and O +0x78 < T +0x78; when |T' − O'| > 1 it calls the crash effect 0x439840 (sound and particles only) |
| TPW-EXE:0x43ce00 crash threshold | source/OpenTPW.Tests/CoasterDispatchTests.cs:268 | [BIN:TPW-EXE:0x43ce00 crash threshold] the new speeds (T + 2.O)/3 and (O + 2.T)/3 differ by more than 1.0: the crash sound's place is raised, in whole units |
| TPW-EXE:0x43ce00 crash threshold | source/OpenTPW/World/Coasters/CoasterRide.cs:1351 | [BIN:TPW-EXE:0x43ce00 crash threshold] the crash effect 0x439840 runs when the new speeds differ by more than 1.0 (0x6fe020; a NaN difference skips it) |
| TPW-EXE:0x43ce20 bend car | source/OpenTPW/World/Coasters/CoasterRenderer.cs:796 | [BIN:TPW-EXE:0x43ce20 bend car] a car of a bend type bends its mesh along the samples around it every tick (0x438800) instead of playing a clip: the tables take the car's coordinate, its direction (the third row of its matrix) and its type's extents |
| TPW-EXE:0x43ce20 car pose | source/OpenTPW/World/Coasters/CoasterCarRig.cs:89 | [BIN:TPW-EXE:0x43ce20 car pose] each frame a car stands at the curve point of its coordinate (the train's coordinate plus the car's offset over the sample spacing, CoasterRide.CarPose, 0x43c0a0) with the yaw, pitch and roll of that point turned into a matrix (0x43d8f0: roll, then pitch, then yaw) and the car type's fYOffset added along the turned up axis; the car's own wheel animation runs at +0x1c times the train speed |
| TPW-EXE:0x43ce20 wheel clip | source/OpenTPW/World/Coasters/CoasterCarRig.cs:91 | [BIN:TPW-EXE:0x43ce20 wheel clip] a car of a type without the bend flag plays its model's animation id 5 (the member <model>m or <model>m1, sub 0, looping, 0x43be10 → 0x4732a0) at the type's +0x1c (0.1) × the train's speed, set every tick through 0x474050 (the clip's speed, slot +0xc); the PC clips animate the wheel meshes' texture coordinates, which WheelVertices applies per car |
| TPW-EXE:0x43ce20 wheel clip | source/OpenTPW/World/Coasters/CoasterRenderer.cs:782 | [BIN:TPW-EXE:0x43ce20 wheel clip] a car of a non-bend type plays its model's clip at the type's factor × the train's speed: the parts of animated nodes follow it |
| TPW-EXE:0x43ce20 wheel clip speed | source/OpenTPW/World/Coasters/CoasterCarRig.cs:241 | [BIN:TPW-EXE:0x43ce20 wheel clip speed] each tick a non-bend car's model channel 0 gets speed = car type +0x1c × train +0x78 (0x474050 stores it in the slot at +0xc), the start of the clip being 0x43be10's (animation id 5, sub 0, flags 1, speed 1.0, 0x4732a0); the frame is (now − start) · speed · 0.03 (0x473490, ObjectAnimator) |
| TPW-EXE:0x43ce40 frame time | source/OpenTPW/World/Coasters/CoasterRide.cs:1035 | [BIN:TPW-EXE:0x43ce40 frame time] the frame's time is the elapsed milliseconds of the cached animation clock (0x4709e0) since ctl+0x120 × 0.001, written to every train's +0x7c |
| TPW-EXE:0x43ce85 motion clock | source/OpenTPW/World/Coasters/CoasterRide.cs:1054 | [BIN:TPW-EXE:0x43ce85 motion clock] the motion tick 0x43ce20 takes as its frame time the animation clock's milliseconds since ctl+0x120 (0x43cea7) and stores the clock there at its end (0x43d8d3); when ctl+0 bit 0x10 is clear it first sets the bit and ctl+0x120 = now (0x43ce91..0x43ce9c), so that tick's time is 0: every train still makes one partial hop of no length, which takes its speed v_end = v to min(v, cap) (0x43d3a8..0x43d407, the floor store overwritten), decays it ×0.95 below 2.0 and stops it below 0.01 (0x43d4bc), runs the bump exchange 0x43cd60, wraps the position and the bumped-flag test; the constructor 0x4368f0 allocates the controller zeroed (0x45b9d0, GMEM_ZEROINIT), the Coasters loader 0x437b60 only ORs bits into ctl+0, and nothing in tp.exe clears bit 0x10 again, so the first tick of a new or a loaded controller (the first in state 2, 4 or 8, 0x435ac9) is the one |
| TPW-EXE:0x43ce91 motion clock catch-up | source/OpenTPW/World/Coasters/CoasterRide.cs:1061 | [BIN:TPW-EXE:0x43ce91 motion clock catch-up] 0x43ce20 takes as its frame time the unsigned (now − ctl+0x120) milliseconds (0x43cea7, loaded as a zero-extended qword) × 0.001 (0x6fe030) of the scaled game clock 0x7b496c (0x4709e0(0), refreshed once per frame by 0x473440 from the clock object 0x785970, the clock 0x4031e0 that also drives the substep clock 0x878c74), with no clamp, and writes every train's +0x7c with it once (0x43cedb); the trains then hop from the queue until each has spent all of it (0x43ced8), one tick, no substeps; ctl+0x120 is written only at the tick's end (0x43d8d3) and by the first tick (0x43ce9c); the controller tick 0x435a30 calls 0x43ce20 only in state 2, 4 or 8 (0x435ac9, state & 0xE), so in state 1 (the cut 0x446740, a reopen) the word stands while the clock runs, and the next tick after the track is completed again takes all the time since the last tick; the game pause (0x4092a0: the pause menu, the map, the postcard, message boxes, the pause key through 0x409350) freezes the clock, so a paused stretch adds nothing; OpenTPW's fixed steps are that scaled clock (they stop while paused and multiply with the game speed, as the substep scheduler maps 0x878c74), so the lag is the sum of the fixed steps since the last motion tick |
| TPW-EXE:0x43ced8 hop queue | source/OpenTPW/World/Coasters/CoasterRide.cs:1188 | [BIN:TPW-EXE:0x43ced8 hop queue] every train starts the frame with the frame's time at +0x7c in the queue at ctl+0x12c (train order); the train at the head hops; after a full hop it goes back in before the first train whose remaining time is not above its own (0x43d48b..0x43d4b9, or at the end), after a partial hop it leaves the queue; the frame ends when the queue is empty |
| TPW-EXE:0x43cef2 start points | source/OpenTPW/World/Coasters/CoasterRide.cs:1189 | [BIN:TPW-EXE:0x43cef2 start points] before the first hop every car of every train gets its point at the coordinate (car +0x38 / spacing + train +0x74, wrapped by the end coordinate) in car +0x48 (0x43cf0a..0x43cfaf); a full hop copies each car's half-sample point (+0x54) into +0x48 (0x43d45a..0x43d481) |
| TPW-EXE:0x43cf0a car wrap | source/OpenTPW/World/Coasters/CoasterRide.cs:707 | [BIN:TPW-EXE:0x43cf0a car wrap] below 0 the end coordinate (ctl +0xa8) is added, otherwise the value is reduced by fmod (0x67b24a) with it |
| TPW-EXE:0x43cf63 car point | source/OpenTPW/World/Coasters/CoasterRide.cs:674 | [BIN:TPW-EXE:0x43cf63 car point] a point between two samples is (next × f) + (cur × (1 − f)) per component, every product and the sum a single (0x43cf76..0x43cfaf) |
| TPW-EXE:0x43d054 hop floors | source/OpenTPW/World/Coasters/CoasterRide.cs:1187 | [BIN:TPW-EXE:0x43d054 hop floors] the winch floor [ebp-0xc] = W·P·0.5 (0x6fe064) when train flags 0x80 and 0x20 are both set (0x43d041..0x43d05d), else W·P; braking needs a car past ctl+0x134 and flag 0x40 clear (0x43d161, 0x43d294) |
| TPW-EXE:0x43d085 car coordinates in the hop | source/OpenTPW/World/Coasters/CoasterRide.cs:1248 | [BIN:TPW-EXE:0x43d085 car coordinates in the hop] each car's coordinate is car +0x38 / spacing + train +0x74, plus the end coordinate when negative (not wrapped above: the braking test compares it so with ctl+0x134); its half-sample point is at that coordinate + ½ (wrapped by the end coordinate); the hop distance is the reference car's (train +0x2c) from its start point (car +0x48) to its half point (+0x54) (0x470940); the braking blend's x takes car train +8's (0) coordinate; a partial hop starts from min(position, end coordinate) |
| TPW-EXE:0x43d1a6 coaster hop speed | source/OpenTPW/World/Coasters/CoasterRide.cs:1172 | [BIN:TPW-EXE:0x43d1a6 coaster hop speed] per car: (start y − half y) × fAccelerationPerHeight (+0x24), × fUphillAccelModifier (+0x28; +0x2c when the half point is not higher), + the train speed, each a single and none fused; a value not above the floor becomes the floor; the floor is fWinchSpeed·P on winch (0x800) sections, else fMinSpeed·P |
| TPW-EXE:0x43d1ee winch car flag | source/OpenTPW/World/Coasters/CoasterRide.cs:67 | [BIN:TPW-EXE:0x43d1ee winch car flag] the hop sets car flag 0x2 when the sample's section has flag 0x800 (0x43d192..0x43d1ee) and clears it otherwise (0x43d23e); the sound pass counts the cars with it (0x43d73d) |
| TPW-EXE:0x43d2a5 station braking | source/OpenTPW/World/Coasters/CoasterRide.cs:523 | [BIN:TPW-EXE:0x43d2a5 station braking] x = (car 0's coordinate − ctl+0x134)/(ctl+0xa8 − ctl+0x134), x = 1 below 0, above 1 or NaN (0x43d2c3..0x43d2e5); x⁴ = (x·x)·(x·x); v = floor × x⁴ + (1 − x⁴) × v (0x43d2f7..0x43d309), every step a single |
| TPW-EXE:0x43d2e9 braking flag | source/OpenTPW/World/Coasters/CoasterRide.cs:70 | [BIN:TPW-EXE:0x43d2e9 braking flag] the braking branch of the hop sets flag 0x10 (a car past the braking start and flag 0x40 clear, 0x43d28e..0x43d294); the other branch clears it (0x43d345) |
| TPW-EXE:0x43d2f2 braking factor | source/OpenTPW/World/Coasters/CoasterRide.cs:527 | [BIN:TPW-EXE:0x43d2f2 braking factor] the braking branch stores x⁴ (x squared, then squared again) in the tick's local at ebp-0x38 (0x43d2e5..0x43d2f2), where the sound pass reads it (0x43d76a) |
| TPW-EXE:0x43d30d friction sample | source/OpenTPW/World/Coasters/CoasterRide.cs:1215 | [BIN:TPW-EXE:0x43d30d friction sample] the friction flag (8) is read on sample ftol(reference car +0x40), which is written only at the end of the tick, so it is the frame's starting sample |
| TPW-EXE:0x43d378 speed cap | source/OpenTPW/World/Coasters/CoasterRide.cs:1290 | [BIN:TPW-EXE:0x43d378 speed cap] a speed not below the cap becomes the cap; a NaN stays NaN |
| TPW-EXE:0x43d39a hop test | source/OpenTPW/World/Coasters/CoasterRide.cs:1296 | [BIN:TPW-EXE:0x43d39a hop test] a NaN hop time is not at least the budget, so it counts as a full hop |
| TPW-EXE:0x43d497 hop requeue | source/OpenTPW/World/Coasters/CoasterRide.cs:1237 | [BIN:TPW-EXE:0x43d497 hop requeue] fld other +0x7c; fcomp own +0x7c; test ah, 0x41 (C0 or C3: other ≤ own) jumps to 0x43d8e0, which stores the train in that slot; a train with more time left moves one slot toward the head (0x43d4ab) |
| TPW-EXE:0x43d4bc stop | source/OpenTPW/World/Coasters/CoasterRide.cs:1314 | [BIN:TPW-EXE:0x43d4bc stop] a speed that is not at least the stop limit (NaN included) becomes 0 |
| TPW-EXE:0x43d50b train extents | source/OpenTPW/World/Coasters/CoasterRide.cs:905 | [BIN:TPW-EXE:0x43d50b train extents] train +0x20 = (car 0's offset / spacing + position) + its front extent / spacing; +0x24 = (the last car's offset / spacing + position) − its rear extent / spacing (car 0 is train +8, which 0x43ba90 sets to 0; 0x43bdb0 and the placement 0x43cc45 compute the same); neither is wrapped, and the hop computes them before it wraps the position (0x43d54f..0x43d572) |
| TPW-EXE:0x43d575 bumped flag | source/OpenTPW/World/Coasters/CoasterRide.cs:1323 | [BIN:TPW-EXE:0x43d575 bumped flag] flag 0x40 clears while the train is past the window (ctl +0xfc) and before the braking start (0x43d578..0x43d599) |
| TPW-EXE:0x43d5e0 car coordinates | source/OpenTPW/World/Coasters/CoasterRide.cs:607 | [BIN:TPW-EXE:0x43d5e0 car coordinates] at the end of the tick car +0x40 = car +0x38 / spacing + train +0x74, fmod by the end coordinate (ctl +0xa8) when not negative, else plus it |
| TPW-EXE:0x43d7dd ride view train | source/OpenTPW/World/Coasters/CoasterRide.cs:338 | [BIN:TPW-EXE:0x43d7dd ride view train] the hop loop (0x43d7dd..0x43d7f3) compares each train's position (+0x74) with the one controller +0x124 names (reset to train 0 at the start of every tick, 0x43ce50) and takes the train when its position is smaller (fcomp, C0 set); 0x436880 returns the camera object of that train's camera car, which the ride camera 0x42a560 takes once, when the ride view opens |
| TPW-EXE:0x43d85f headway time | source/OpenTPW/World/Coasters/CoasterRide.cs:1385 | [BIN:TPW-EXE:0x43d85f headway time] t = (s − c)·(spacing / sample[i mod n].speed) with c = trunc(position), s = trunc(next train's position) (+ n − 1 when below the train's position); flag 0x80 clears when release ≤ 1000·t (0x43d8a5..0x43d8b1); the sample index is the train's own index i (0x43d85f), where a walk over the samples between the trains would use the walking index |
| TPW-EXE:0x43d8f0 car matrix | source/OpenTPW/World/Coasters/CoasterCarRig.cs:90 | [BIN:TPW-EXE:0x43d8f0 car matrix] the car's model root node gets the rotation roll (+0xc), then pitch (+8), then yaw (+4) from identity, so the model's +Z runs along the track, and the root's translation (+0x40..+0x48) the car point plus the turned fYOffset (0x43d6b2) |
| TPW-EXE:0x43d8f0 root node pose | source/OpenTPW/World/Coasters/CoasterCarRig.cs:108 | [BIN:TPW-EXE:0x43d8f0 root node pose] the car's root node matrix is built from identity (roll, pitch, yaw) and its translation set to the car point every tick, so the root's own rest rotation and translation are gone: every node stands relative to the root (the mine cart, caterpillar body and Candy cars have a root rest turned half a circle about Y, which would otherwise face their meshes and seats backward) |
| TPW-EXE:0x43dbf0 rating reset | source/OpenTPW/World/Coasters/CoasterRating.cs:45 | [BIN:TPW-EXE:0x43dbf0 rating reset] sickness = fInitialSickness (type +0x320), excitement = fInitialExcitement (+0x324), the previous excitement the same value, peaks 0, both scream states 0; the previous force (0x7923c8..0x7923d0) and bank (0x7923dc) are cleared and no routine writes them |
| TPW-EXE:0x43dc50 rating step | source/OpenTPW/World/Coasters/CoasterRating.cs:85 | [BIN:TPW-EXE:0x43dc50 rating step] |F| = (|Fy| + |Fz|) + |Fx| (every term the difference to the previous force, which is 0), U = |bank| − π/2 when above 0 (0.0 otherwise, NaN included), u = (U ≠ 0 ? 1 : 0) + U; the inverted discomfort W = u × InvertedUncomfortable (×3 when Fy < 0) when u ≠ 0 and Fy < 0.1, otherwise u itself (0x43ddfb..0x43de1f: the PC adds u where the Mac added the stale Fz); every product and sum a single, no fused multiply-add (ORACLE X11, X46) |
| TPW-EXE:0x43de44 rating decay | source/OpenTPW/World/Coasters/CoasterRating.cs:113 | [BIN:TPW-EXE:0x43de44 rating decay] S = dS − S × (−½) and E = dE − E × (−½): the half is exact, so each is one rounded sum |
| TPW-EXE:0x43df90 rating final | source/OpenTPW/World/Coasters/CoasterRating.cs:158 | [BIN:TPW-EXE:0x43df90 rating final] sickness = peakS + S; excitement = ½E + peakE × 1.7 (the half exact, the product and the sum single); each is replaced by 100 when above it or NaN (0x43dfce..0x43dfe3, 0x43e00a..0x43e027) and then by 0 when below it (0x43dfeb..0x43e002, 0x43e02f..0x43e04c: −0 stays); +0x108 counts the sections with both flags 0x40 and 0x80 set along the +0x54 list (0x43e04e..0x43e07f); +0x10c = +0xac × +0xa8, +0x110 = max height, +0x114 = max speed (0x43e07f..0x43e0a1) |
| TPW-EXE:0x43dfce rating clamp | source/OpenTPW/World/Coasters/CoasterRating.cs:168 | [BIN:TPW-EXE:0x43dfce rating clamp] v = 100 when 100 < v or v is NaN (fcomp sets C0 for unordered), then v = 0 only when v < 0: a −0 stays −0 |
| TPW-EXE:0x43e480 single steps | source/OpenTPW/World/Coasters/CoasterCarBend.cs:30 | [BIN:TPW-EXE:0x43e480 single steps] the thread's x87 rounds every add, subtract and multiply to a single (the 24-bit control word), so each step here is one single operation; the wrap's two additions are exact in double and round once, fmod is exact |
| TPW-EXE:0x43e480 yaw lerp | source/OpenTPW/World/Coasters/CoasterCarBend.cs:29 | [BIN:TPW-EXE:0x43e480 yaw lerp] the shortest-arc lerp of two angles: (1 − f)·a + f·b when they are at most π apart (|a − b| against the single 0x6fe120), else the way over ±π: t = 2π − |a − b| (the single 0x6fe124), angle = (1 − f)·t + b for a negative a and t·f + a otherwise, wrapped to [−π, π) by fmod(angle + π, 2π) − π (the doubles 0x6fe128 and 0x6fe130, the single 0x6fe120) |
| TPW-EXE:0x43e590 tangent angles | source/OpenTPW/World/Coasters/CoasterTrack.cs:1447 | [BIN:TPW-EXE:0x43e590 tangent angles] yaw = fpatan(T.x, T.z) (0x46f220); z′ = cos(−yaw)·z − x·sin(−yaw) with the nearest-index table lookups; pitch = fpatan(−T.y, z′) (0x46f210) |
| TPW-EXE:0x43e6b0 car frame | source/OpenTPW/World/Coasters/CoasterRide.cs:326 | [BIN:TPW-EXE:0x43e6b0 car frame] the frame's yaw and pitch are 0x43e590's of the derivative (the PC table, nearest index) and its roll the slice roll: the second rail's roll plus the tag roll lerp, or the swing's sample rolls on a suspended coaster |
| TPW-EXE:0x43e6b0 second rail roll | source/OpenTPW/World/Coasters/CoasterCurve.cs:317 | [BIN:TPW-EXE:0x43e6b0 second rail roll] d = second(t) − first(t) (0x43e1b0 on each rail), x′ = dx cos(−yaw) + dz sin(−yaw), z′ = dz cos(−yaw) − dx sin(−yaw), y′ = dy cos(−pitch) − z′ sin(−pitch) with the nearest-index table lookups (0x7b0968), roll = fpatan(−x′, y′) (0x46f230) into the frame's +0xc; the sampler 0x440c10 takes the same angle for the sample's roll (+0x18 of the 56-byte record) from the sample's own point (0x44121f..0x4413bc) |
| TPW-EXE:0x43e6b0 slice frame | source/OpenTPW/World/Coasters/CoasterCurve.cs:366 | [BIN:TPW-EXE:0x43e6b0 slice frame] the slice position is the cubic Bézier of the knot pair (0x43e1b0: P0, P0 + T+/3, P1 + T−/3, P1 at +0x40/+0x4c/+0x34/+0x40), its yaw and pitch come from the tangent and its roll from the second rail plus the tag roll lerp (FrameRoll) |
| TPW-EXE:0x43e6b0 suspended roll | source/OpenTPW/World/Coasters/CoasterRenderer.cs:444 | [BIN:TPW-EXE:0x43e6b0 suspended roll] a suspended coaster's slices take the swing's sample rolls at the knots' coordinates (the controller's samples; none before the track is finished) |
| TPW-EXE:0x43e6b0 tag roll lerp | source/OpenTPW/World/Coasters/CoasterCurve.cs:333 | [BIN:TPW-EXE:0x43e6b0 tag roll lerp] without controller flag 8: u = ordinal(A node)·(1 − t) + ordinal(B node)·t (node +0 from 0x444700; the knot records' +0xc fraction is read as 0: the records come zeroed from 0x4344c0 and no store to it was found in 0x430000..0x448000), f = frac(u) clamped to [0, 1] (the frac of the float u, 0x67b280), roll += (1 − f)·roll(A node, +0xe4) + f·roll(B node): a pair inside one node takes its roll, a link between consecutive nodes lerps by t |
| TPW-EXE:0x43e86e suspended roll | source/OpenTPW/World/Coasters/CoasterCurve.cs:334 | [BIN:TPW-EXE:0x43e86e suspended roll] with flag 8 (the controller's suspended-coaster flag) the roll is the sample roll at ftol(coordinate of B)·t + the sample roll at ftol(coordinate of A)·(1 − t) plus the second rail's roll; the samples hold the swing there (0x43c450) |
| TPW-EXE:0x43e9c0 cross section select | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:34 | [BIN:TPW-EXE:0x43e9c0 cross section select] the selects are tested in order against the slice's three angles (yaw, pitch, roll windows); the last select is the fallback when none matches. A flume's dry section applies to the climbing pitch window of -90..-1 degrees |
| TPW-EXE:0x43e9c0 select table | source/OpenTPW/World/Coasters/CoasterCrossSections.cs:259 | [BIN:TPW-EXE:0x43e9c0 select table] the entries of 0x2c bytes (windows at +0x00..+0x1c, section at +0x20, transition from and to at +0x24 and +0x28) are walked up to count − 1, each tested with both ends inclusive (a value below the minimum or above the maximum fails, 0x43e9eb..0x43ea44); the last entry is only the fallback (0x43ea66..0x43ea76), also when the section found is null; the speed window is compared with the fourth argument, which the mesh builder passes as 0.0 |
| TPW-EXE:0x43eb70 chain end | source/OpenTPW/World/Coasters/CoasterRenderer.cs:63 | [BIN:TPW-EXE:0x43eb70 chain end] the mesh builder's loop runs only while a next node exists: the link ends at the last node's first knot, its own tag pairs are never drawn |
| TPW-EXE:0x43eb70 closing marker | source/OpenTPW/World/Coasters/CoasterTrack.cs:1482 | [BIN:TPW-EXE:0x43eb70 closing marker] the rebuild walks the next links (+0x64) from the list head and stops at a null, so no link is drawn into the marked start; its marker is the node's own tag pairs (0x43f4e0 with both nodes the same) |
| TPW-EXE:0x43eb70 parity | source/OpenTPW/World/Coasters/CoasterRenderer.cs:405 | [BIN:TPW-EXE:0x43eb70 parity] the triangle parity flag 0x7923e4 is reset once per rebuild and carries across the chains a cut circuit is drawn in |
| TPW-EXE:0x43eb70 rebuild order | source/OpenTPW/World/Coasters/CoasterRenderer.cs:426 | [BIN:TPW-EXE:0x43eb70 rebuild order] the original samples the chain before the mesh is extruded and the run table reads that sample list (0x4402d0) |
| TPW-EXE:0x43eb70 rebuild order | source/OpenTPW/World/Coasters/CoasterRide.cs:453 | [BIN:TPW-EXE:0x43eb70 rebuild order] the only caller of 0x430ed0 (knot pass), 0x440c10 (sampler) and 0x439ab0 (pass), called from 0x435a30, 0x447d30 and 0x447d60; the sampler treats the chain's last node as the end node whatever the chain is |
| TPW-EXE:0x43eb70 rebuild per frame | source/OpenTPW/World/Coasters/CoasterRenderer.cs:430 | [BIN:TPW-EXE:0x43eb70 rebuild per frame] the original's rebuild runs the pass 0x439ab0 on every frame of an edit, so the crossing markers follow a drag live; a finished track's controller is refitted on every step of a drag (CoasterBuilder.AfterEdit), the lists of an unfinished chain are those of this drawing |
| TPW-EXE:0x43eb70 rebuild per frame | source/OpenTPW/World/Coasters/CoasterRenderer.cs:434 | [BIN:TPW-EXE:0x43eb70 rebuild per frame] the rebuild's rating pass 0x43c450 runs on every frame of an edit and on every chain it draws, marking the sections that fall to the winch speed (node flag 0x800, 0x43c4f0..), so the lift sections of an unfinished chain and of a track being dragged follow the build live; the controller's own marks (Ride.WinchSections) are those of its last fit |
| TPW-EXE:0x43eb70 slice lists | source/OpenTPW/World/Coasters/CoasterCurve.cs:367 | [BIN:TPW-EXE:0x43eb70 slice lists] for every node the mesh builder lists, when the node has more than one knot, one value per knot over its own knot pairs (0x43f030 with the node as both ends: a value per knot, scaled by the count − 1), then 0xb values i/10 over the link to its next node; the slice emitter 0x43f4e0 skips each list's first value, the previous list's last |
| TPW-EXE:0x43eb70 track rebuild | source/OpenTPW/World/Coasters/CoasterRenderer.cs:23 | [BIN:TPW-EXE:0x43eb70 track rebuild] the original rebuilds the track mesh as a dynamic model when the track changes (0x43eb70 from 0x435a30/0x447d30), animates the scrolling textures by shifting the V of the faces of scrolling textures every frame (0x435a30) and poses each car from its sample coordinate (0x43ce20) |
| TPW-EXE:0x43eb70 track rebuild | source/OpenTPW/World/Coasters/CoasterTrack.cs:1230 | [BIN:TPW-EXE:0x43eb70 track rebuild] the mesh rebuild walks the node list of an open chain exactly like a finished one: it pairs every node with its next node until there is none, so a track under construction is drawn as the curve through the placed nodes |
| TPW-EXE:0x43ef02 cut end | source/OpenTPW/World/Coasters/CoasterRenderer.cs:425 | [BIN:TPW-EXE:0x43ef02 cut end] the mesh builder stops drawing at a node with 0x10000 (neither its own knot pairs nor its link) and starts again at one with 0x20000 (0x43ef0d) |
| TPW-EXE:0x43f030 list values | source/OpenTPW/World/Coasters/CoasterCurve.cs:390 | [BIN:TPW-EXE:0x43f030 list values] the values of a link are the key of its first knot plus i/10 (single operations: i/10 times the span 1.0, plus the key), of a pair inside a node the key plus i; the frame's parameter is the value minus the key of the first knot (0x43f7da..0x43f8d5, 0x43f8da..0x43f96b) |
| TPW-EXE:0x43f030 mesh slice parameters | source/OpenTPW/World/Coasters/CoasterCurve.cs:357 | [BIN:TPW-EXE:0x43f030 mesh slice parameters] the mesh builder 0x43eb70 walks the nodes; for the link to the next node 0x43f030 lists 0xb values i/10 over one knot pair (plus run boundaries where the cross section changes), and 0x43f4e0 emits one slice per value |
| TPW-EXE:0x43f030 run boundaries | source/OpenTPW/World/Coasters/CoasterCurve.cs:368 | [BIN:TPW-EXE:0x43f030 run boundaries] with the run table of 0x4402d0 (CoasterExtrusionRunBuilder) the lists also hold every run key that lies strictly between two neighbouring values of a list, in key order (0x43f0f3..0x43f127); a slice at such a key takes the frame and the sample coordinate of its place on the knot pair like any other (0x43f4e0) |
| TPW-EXE:0x43f150 mesh chunks | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:17 | [BIN:TPW-EXE:0x43f150 mesh chunks] the original fills a dynamic model in chunks and takes the fractional part of V whenever a chunk is flushed, so the texture repeats every six world units along the track |
| TPW-EXE:0x43f4e0 closing marker | source/OpenTPW/World/Coasters/CoasterRenderer.cs:39 | [BIN:TPW-EXE:0x43f4e0 closing marker] a node's own tag pairs (both nodes the same) take the marker while the node carries 0x800000: blue, or red when it also carries 0x4000 (the closing link is refused) |
| TPW-EXE:0x43f4e0 marker links | source/OpenTPW/World/Coasters/CoasterRenderer.cs:36 | [BIN:TPW-EXE:0x43f4e0 marker links] crossings (+0xb0) give the red marker; a link into the build cursor's spare node (0x2000) the blue one, or red when the validator refused its cell (0x4000) |
| TPW-EXE:0x43f4e0 marker links | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:18 | [BIN:TPW-EXE:0x43f4e0 marker links] a link whose node has crossings (+0xb0 nonzero) or node flag 0x1000000, or whose next node has 0x800000 or 0x2000 (the build cursor's spare node), is drawn with the marker run: the copy of the invalid cross section (definition +0x80) with every edge's texture set to the coaster's texture count − 1 + v, v = 2 (red.tga) for crossings or a next node with 0x4000, 3 (blue.tga) for a next node with 0x800000/0x2000 alone, 0x7925d0 (always 0) for a node with 0x1000000 alone |
| TPW-EXE:0x43f4e0 run list | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:97 | [BIN:TPW-EXE:0x43f4e0 run list] a normal link reads the run table (0x792600): the run pointer moves on while its key is below the slice's key (0x43f96d..0x43f990), and the section is the run's (0x43f994); a chain-lift link and a marker link read their own single-run lists (0x7923f0, 0x7925e8) |
| TPW-EXE:0x43f4e0 slice strips | source/OpenTPW/World/Coasters/CoasterRenderer.cs:490 | [BIN:TPW-EXE:0x43f4e0 slice strips] the strips are single-sided: the culling keeps the faces the emitter's winding turns toward the camera, as for the models |
| TPW-EXE:0x43f4e0 slice strips | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:15 | [BIN:TPW-EXE:0x43f4e0 slice strips] for every slice after the first, 0x43f4e0 adds the distance to the previous slice times 1/6 to the running V (the constant -0.16666667 subtracted), emits the slice's ring (one vertex per section point, 0x43fd60) and two triangles per cross-section edge (texture, from, to) between the previous ring's vertices (Pf, Pt) and the new ring's (Cf, Ct): (Pf, Cf, Pt) and (Ct, Pt, Cf) when the parity flag 0x7923e4 is clear, (Pf, Cf, Ct) and (Ct, Pt, Pf) when it is set, the flag toggling after every edge for the whole rebuild |
| TPW-EXE:0x43f50d range marker | source/OpenTPW/World/Coasters/CoasterRenderer.cs:33 | [BIN:TPW-EXE:0x43f50d range marker] a node with 0x1000000 (CoasterRangeMark) takes the marker variant [0x7925d0] for its links whatever the crossings say, red when it also carries 0x4000 |
| TPW-EXE:0x43f5e2 ring re-emission | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:16 | [BIN:TPW-EXE:0x43f5e2 ring re-emission] when the slice's cross-section run changes (the run pointer advances), when the emitter switches between the run lists (normal, winch 0x7923f0 or the marker run 0x7925e8) and when the dynamic model's chunk is flushed, the previous slice's ring is emitted again with the new section first, so the strips of a section never join another section's ring |
| TPW-EXE:0x43f8a6 slice coordinate | source/OpenTPW/World/Coasters/CoasterCurve.cs:87 | [BIN:TPW-EXE:0x43f8a6 slice coordinate] the slice's sample coordinate is the first knot's coordinate times (1 − t) plus the second knot's times t, with t the key minus the first knot's key |
| TPW-EXE:0x43fd60 slice vertices | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:14 | [BIN:TPW-EXE:0x43fd60 slice vertices] each cross-section point (X, Y) is turned by the slice roll, then pitch, then yaw (table trigonometry) and added to the slice position; its normal (Nx, Ny) is turned the same way and normalised; U is the point's U (point +8) and V the running track coordinate (controller +0x74) |
| TPW-EXE:0x43fd91 blend weight | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:166 | [BIN:TPW-EXE:0x43fd91 blend weight] r = (T − A) / (B − A) × w, with A the previous run's position (+0x4 of the record before), B this run's and w its weight (+0x8); a blend length (section +0x14) above zero adds 1 − w (0x43fdaf..0x43fdb8); r is clamped to [0, 1] with a NaN taken as 0 (0x43fdbc..0x43fde0) and each point blends as own × (1 − r) + blend-to × r over all five floats (0x43fe11..0x43fe6a) |
| TPW-EXE:0x4402d0 run table | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:12 | [BIN:TPW-EXE:0x4402d0 run table] the builder walks the sample coordinate in steps of 0.25 from 0 while it is below the controller's end coordinate (+0xa8, 0x43c080), turns the frame there into the select answer (0x43e9c0, the roll taken modulo π, fmod 0x6fe158) and, whenever the answer differs from the previous one, writes a run of key (the knot number plus the fraction to the next knot, 0x440a30), position, weight and section; the table ends with the key 100000 and the position (pos + 0.25) + 1 (0x440a00..0x440a17) |
| TPW-EXE:0x4402d0 run table | source/OpenTPW/World/Coasters/CoasterTrackMesh.cs:19 | [BIN:TPW-EXE:0x4402d0 run table] a normal link reads its section from the run table of the sampled track (CoasterExtrusionRunBuilder): a change of section or run emits the previous slice's ring again, and a transition run blends the section's points to its blend-to row along the sample coordinate |
| TPW-EXE:0x4403f4 roll modulo π | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:56 | [BIN:TPW-EXE:0x4403f4 roll modulo π] the frame's roll is replaced by its remainder modulo the double π (0x6fe158) before the select table sees it |
| TPW-EXE:0x440420 change without transitions | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:27 | [BIN:TPW-EXE:0x440420 change without transitions] a type whose flag +0x74 bit 0 is clear writes the run position and key of the change and goes on with the new section (0x440885..0x44090d) |
| TPW-EXE:0x44042f transition lookup | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:28 | [BIN:TPW-EXE:0x44042f transition lookup] with the flag the table is walked for the entry whose from and to sections (+0x24, +0x28) are the previous and the new answer (0x43f..0x440459); its section is the transition, whose length (+0x14) tells the rest: a positive length opens a blend of that length from the change on (0x44049b..0x4405d3), a length of zero or below puts the blend before it (0x4405da..0x44090d) |
| TPW-EXE:0x440604 blend ratio | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:29 | [BIN:TPW-EXE:0x440604 blend ratio] two transitions that meet (a blend still open when the next change comes, the new one reaching back past its start) share the stretch by their lengths: ratio = (pos − (start − |length of the open one|)) / (|open| + |new|), clamped to [0, 1] (0x6fe10c, 0x6fe108), and the open run's end moves back by (1 − ratio) × |open| (0x44066c..0x440695) |
| TPW-EXE:0x440920 open blend end | source/OpenTPW/World/Coasters/CoasterExtrusionRuns.cs:30 | [BIN:TPW-EXE:0x440920 open blend end] while a blend is open its run ends where the sample coordinate reaches the run's position, which writes the next run with the new answer (0x440920..0x4409d4) |
| TPW-EXE:0x440a30 run key | source/OpenTPW/World/Coasters/CoasterCurve.cs:419 | [BIN:TPW-EXE:0x440a30 run key] the sample index is the whole part of the coordinate; the walk starts at the knot record the sample points at (sample +0x2c) and goes on while the next knot's coordinate (+8) lies below the coordinate; the fraction is (c − this knot's) / (next's − this knot's), 0 when there is no next knot, and the key the knot's number (+0, the knot's index along the chain) plus the fraction (0x440a63..0x440ac2) |
| TPW-EXE:0x440c10 closing pair | source/OpenTPW/World/Coasters/CoasterCurve.cs:510 | [BIN:TPW-EXE:0x440c10 closing pair] the walk covers every pair of the node list; at the end node (no next node) the closing pair runs from the last knot to the second node's first knot (head +0x64), emits ONE sample (t may pass 1: no pair follows, 0x4416f0), then the count n is the number of samples written, the last sample is copied into slot n (0x441783) and n grows by one when n ≤ trunc(c) + (frac(c) ≠ 0) with c the coordinate of the end knot (ctl +0xa8, 0x4417a0..0x4417d5) |
| TPW-EXE:0x440c10 closing sample roll | source/OpenTPW/World/Coasters/CoasterCurve.cs:486 | [BIN:TPW-EXE:0x440c10 closing sample roll] the sample taken on the closing pair (no next node, 0x440c10 line `local_a0 = 0` before 0x43e590) gets roll 0, whatever the rolls of the end node and S1 are |
| TPW-EXE:0x440c10 knot coordinate | source/OpenTPW/World/Coasters/CoasterCurve.cs:511 | [BIN:TPW-EXE:0x440c10 knot coordinate] a knot's coordinate is the index of the last sample before it plus (the distance walked since that sample + the length of the projected rest from the last walked point to the knot, 0x4410e0) / spacing, the first knot's is 0; the station window and the swing's fade read the coordinates of S2 and the end node |
| TPW-EXE:0x440c10 sample roll | source/OpenTPW/World/Coasters/CoasterCurve.cs:487 | [BIN:TPW-EXE:0x440c10 sample roll] every other sample's roll (+0x18) is the second rail's roll about the slice tangent: the second rail's point at the sample's t on the pair (0x43e1b0 over the second records) relative to the sample's own point, turned by −yaw and −pitch of the tangent (0x43e590) and atan2(−x, y) (0x46f230); the node's tag roll (+0xe4) is not added here, only in the slice frames 0x43e6b0 |
| TPW-EXE:0x4410e0 knot projection | source/OpenTPW/World/Coasters/CoasterCurve.cs:552 | [BIN:TPW-EXE:0x4410e0 knot projection] the rest (knot − last walked point) is scaled by the cosine between its direction and the direction from the last walked point to the new pair's curve point at the new t (t − 1), unless the rest's normalised x is NaN (_isnan 0x67b410, a zero rest) |
| TPW-EXE:0x4411db sample angles | source/OpenTPW/World/Coasters/CoasterCurve.cs:484 | [BIN:TPW-EXE:0x4411db sample angles] the sampler stores the sample's yaw and pitch through 0x43e590, whose table lookups round to the nearest index (fistp under the default control word) |
| TPW-EXE:0x441659 end coordinate | source/OpenTPW/World/Coasters/CoasterRide.cs:1065 | [BIN:TPW-EXE:0x441659 end coordinate] ctl +0xa8 is the end node's knot record +8 (the sample coordinate), written by the sampler's walk; the placement, the hop's wrap and the car coordinates wrap by it (0x43c261, 0x43d567, 0x43d5ff) |
| TPW-EXE:0x44167f node sample index | source/OpenTPW/World/Coasters/CoasterRide.cs:466 | [BIN:TPW-EXE:0x44167f node sample index] the walk stores ftol of the reached knot's coordinate (knot +8) in node +0xfc when that knot is the node's table centre ([node +0x74] +0), or the node has no pylon table or carries 0x2000; the walk starts on the first node's first knot, so a first node whose centre is that knot keeps 0 |
| TPW-EXE:0x441783 slot n copy | source/OpenTPW/World/Coasters/CoasterCurve.cs:512 | [BIN:TPW-EXE:0x441783 slot n copy] the copy of the last sample in slot n (the car point of the last sample reads it, 0x4409b0) is the controller's Slot(n): the point after the last sample is the last sample itself (CoasterRide.SampleAt); the growth of n is applied literally and cannot happen here, the end knot's coordinate lying less than one sample past the last one before it |
| TPW-EXE:0x441783 slot n copy | source/OpenTPW/World/Coasters/CoasterRide.cs:670 | [BIN:TPW-EXE:0x441783 slot n copy] the sampler copies the last sample into slot n, which the car point of the last sample reads as its next sample (index + 1 at 0x43cf6c for the current point, 0x43d10d for the half-sample point) |
| TPW-EXE:0x4417d0 sample count | source/OpenTPW/World/Coasters/CoasterCurve.cs:578 | [BIN:TPW-EXE:0x4417d0 sample count] n ≤ trunc(c) + (frac(c) ≠ 0) adds one to n, the extra slot being the copy of the last sample |
| TPW-EXE:0x441970 coaster guard | source/OpenTPW/World/ParkGate.cs:265 | [BIN:TPW-EXE:0x441970 coaster guard] the guard's coaster test is the guests' predicate: complete, no self-intersection (+0x140 == 0) and not the coaster the tool edits |
| TPW-EXE:0x441970 controller +0x140 | source/OpenTPW/World/Coasters/CoasterRide.cs:241 | [BIN:TPW-EXE:0x441970 controller +0x140] the original's controller +0x140 is the self-intersection count, not a rider count (0x439c40, 0x441970), and its pick-up (0x446300) has no rider test: no edit is refused for riders any more |
| TPW-EXE:0x441970 guest predicate twin | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:114 | [BIN:TPW-EXE:0x441970 guest predicate twin] the controller exists, +0x140 == 0, +0x3C bit 0 set and bit 1 clear, and it is not the coaster being edited (0x790fec); callers: 0x4dd920 counts test (Mac 0xdc834, X15), 0x4df290 reopen guard (0xde654), 0x4ffff0 queue state 11 (0xed244: a coaster (track type 3, 0x4e2b50) failing it gets 0x50be80(13), unlink 0x4ddd20, dismissal 0x5012f0, state 6); the open routine 0x4df390 logs "Opening non-openable ride" up to 5 times and opens anyway |
| TPW-EXE:0x441970,0x4dd9ad | source/OpenTPW/World/Coasters/CoasterRide.cs:275 | [BIN:TPW-EXE:0x441970,0x4dd9ad] existing controller, +0x140 == 0, +0x3c bit 0 set/bit 1 clear, not global 0x790fec; no sample or controller-state test. |
| TPW-EXE:0x441988 guest predicate | source/OpenTPW/World/Coasters/CoasterRide.cs:281 | [BIN:TPW-EXE:0x441988 guest predicate] +0x140 must be 0 (the self-intersection count of 0x439c40), +0x3C bit 0 set (complete) and bit 1 clear (circuit not open), and the controller is not the global 0x790fec, the coaster the tool is editing (set by the tool's entry 0x447520, cleared by its exit) |
| TPW-EXE:0x441a00 drag release | source/OpenTPW/World/Coasters/CoasterBuilder.cs:473 | [BIN:TPW-EXE:0x441a00 drag release] the release of the height drag credits ftol(the cost noted at the press) (0x4d0190) and debits the rounded-up new cost (0x4d01f0); the move release (0x445a70) does the same for the node and, on a complete track, the node after it |
| TPW-EXE:0x441a00 height drag | source/OpenTPW/World/Coasters/CoasterBuilder.cs:367 | [BIN:TPW-EXE:0x441a00 height drag] [BIN:TPW-EXE:0x441e80 rotate drag] [BIN:TPW-EXE:0x441cd0 loop tilt] [BIN:TPW-EXE:0x442010 tilt drag] the ranges each handler sets at the press (see CoasterToolPanel.Press) |
| TPW-EXE:0x441a00 height drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:40 | [BIN:TPW-EXE:0x441a00 height drag] 0x3ba3d70a = 0.005 stored to 0x79c6a8, the vertical drag rate; the start value is node +0xE8 and the value is the start plus (start mouse Y − mouse Y) × rate (0x4433a7..0x4434d5) |
| TPW-EXE:0x441a00 height drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:525 | [BIN:TPW-EXE:0x441a00 height drag] needs the loft clip (pylon flag 0x20); the range is [0, (fMinHeight − h0)/(h1 − h0)] up to what the stack's top leaves of fMaxHeight; the money settles on the release |
| TPW-EXE:0x441a00 height range | source/OpenTPW/World/Coasters/CoasterTrack.cs:585 | [BIN:TPW-EXE:0x441a00 height range] low = max(0, (fMinHeight − h0)/(h1 − h0)) (0x434650 with pylon +0x68, h0 +0xbc and h1 +0xc0); high = t + (fMaxHeight (+0x6c) − the height of the stack's top node (0x433280: the sum over the nodes below of h0 + t(h1 − h0) + stack offset, then its own h0 + t(h1 − h0))) / (h1 − h0) (0x434680) |
| TPW-EXE:0x441cd0 loop tilt | source/OpenTPW/World/Coasters/CoasterBuilder.cs:367 | [BIN:TPW-EXE:0x441a00 height drag] [BIN:TPW-EXE:0x441e80 rotate drag] [BIN:TPW-EXE:0x441cd0 loop tilt] [BIN:TPW-EXE:0x442010 tilt drag] the ranges each handler sets at the press (see CoasterToolPanel.Press) |
| TPW-EXE:0x441cd0 loop tilt | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:538 | [BIN:TPW-EXE:0x441cd0 loop tilt] a loop node needs pylon flag 0x200; the loop rotation (+0xF8) of the first pylon of a pair first loses 1 when above 0.5 (the press's command writes it) and stays in [−0.35, 0.35], any other in [0.15, 0.85] |
| TPW-EXE:0x441cd0 loop tilt | source/OpenTPW/World/Commands/CoasterCommands.cs:233 | [BIN:TPW-EXE:0x441cd0 loop tilt] the first pylon of a pair whose loop rotation (+0xF8) is above 0.5 loses 1 at the press |
| TPW-EXE:0x441cd0 loop tilt drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:46 | [BIN:TPW-EXE:0x441cd0 loop tilt drag] 0x3c23d70a = 0.01 to the horizontal rate; range [0.15, 0.85], or [−0.35, 0.35] on the first pylon of a pair whose value above 0.5 first loses 1 |
| TPW-EXE:0x441e80 rotate drag | source/OpenTPW/World/Coasters/CoasterBuilder.cs:367 | [BIN:TPW-EXE:0x441a00 height drag] [BIN:TPW-EXE:0x441e80 rotate drag] [BIN:TPW-EXE:0x441cd0 loop tilt] [BIN:TPW-EXE:0x442010 tilt drag] the ranges each handler sets at the press (see CoasterToolPanel.Press) |
| TPW-EXE:0x441e80 rotate drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:43 | [BIN:TPW-EXE:0x441e80 rotate drag] 0x3ca3d70a = 0.02 stored to the horizontal rate 0x79c6ec; 0x442010 stores it to both rates |
| TPW-EXE:0x441e80 rotate drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:531 | [BIN:TPW-EXE:0x441e80 rotate drag] needs the rotate clip (pylon flag 0x40); the yaw (+0xE0) stays within the automatic yaw ± fMaxRotnAngleDeviance; the node takes flag 1 |
| TPW-EXE:0x441e80 rotate drag | source/OpenTPW/World/Coasters/CoasterTrack.cs:50 | [BIN:TPW-EXE:0x441e80 rotate drag] the rotate drag sets node flag 1 and writes the yaw to +0xE0 within the automatic yaw (+0xD4) ± the pylon's fMaxRotnAngleDeviance (+0x94) |
| TPW-EXE:0x441e80 rotate range | source/OpenTPW/World/Coasters/CoasterTrack.cs:1209 | [BIN:TPW-EXE:0x441e80 rotate range] the drag range is the node's automatic yaw (+0xD4) ± the pylon control's +0x94 (fMaxRotnAngleDeviance) |
| TPW-EXE:0x442010 manual bank | source/OpenTPW/World/Coasters/CoasterTrack.cs:1278 | [BIN:TPW-EXE:0x442010 manual bank] a node the tilt button banked by hand carries flag 4: the auto-bank pass skips it and its +0xD8 keeps the hand-set value, whatever its 0x100 mark (0x4310b6 tests flag 4 alone) |
| TPW-EXE:0x442010 tilt drag | source/OpenTPW/World/Coasters/CoasterBuilder.cs:367 | [BIN:TPW-EXE:0x441a00 height drag] [BIN:TPW-EXE:0x441e80 rotate drag] [BIN:TPW-EXE:0x441cd0 loop tilt] [BIN:TPW-EXE:0x442010 tilt drag] the ranges each handler sets at the press (see CoasterToolPanel.Press) |
| TPW-EXE:0x442010 tilt drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:546 | [BIN:TPW-EXE:0x442010 tilt drag] the bank (+0xD8, flag 4) needs pylon flag 0x100 and the incline (+0xDC, flag 2) flag 0x80, both in [−π, π]; the drag is turned to the camera's view of the pylon |
| TPW-EXE:0x442010 tilt drag | source/OpenTPW/World/Coasters/CoasterTrack.cs:55 | [BIN:TPW-EXE:0x442010 tilt drag] the tilt drag writes the bank to +0xD8 (range ±π, pylon flag 0x100) and sets node flag 4, the incline to +0xDC (pylon flag 0x80) and sets node flag 2 |
| TPW-EXE:0x4423f0 stack up | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:725 | [BIN:TPW-EXE:0x4423f0 stack up] on the release over a pylon that has a neighbour that way in its cell's stack the two exchange places (0x4424e0); the track is rebuilt |
| TPW-EXE:0x4424e0 swap stack nodes | source/OpenTPW/World/Coasters/CoasterTrack.cs:603 | [BIN:TPW-EXE:0x4424e0 swap stack nodes] the stack indices, the descriptor's node array entries, the model's stack base height (+0x44) and the loft parameters (+0xE8) of the two nodes are exchanged; the chain order is untouched; the track is rebuilt (0x4346c0) and the stack's pylon models posed again (0x432d50, 0x432df0) |
| TPW-EXE:0x442C70 close circuit | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:83 | [BIN:TPW-EXE:0x442C70 close circuit] the cut marks the node before it 0x50000 and the one after 0xA0000 (0x446740) and closing the circuit again clears both: a pylon's link bits come only with its cut marker, which the runtime's markers stand for |
| TPW-EXE:0x442CD0 loop mode | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:53 | [BIN:TPW-EXE:0x442CD0 loop mode] a section with wire 0x8 (the first pylon of a loop pair) starts the loop mode (0x79C658 bit 0x40, the counter 0x79C664 = 2) when it is off and the coaster type has flag 2, which the type loader 0x42FAD0 sets when the LoopPylon control names a mesh (type +0x1D8); 0x435020 then takes the LoopPylon control (type +0x1C8, else the StdPylon +0xA8), decrements the counter after each node and leaves the mode at 0, so a pair's second node is a loop pylon too |
| TPW-EXE:0x442c70 close circuit | source/OpenTPW/World/Coasters/CoasterBuilder.cs:178 | [BIN:TPW-EXE:0x442c70 close circuit] the click on the open chain start joins the chain and sets controller state 2 (0x435730) without a validator test |
| TPW-EXE:0x442c70 close circuit | source/OpenTPW/World/Coasters/CoasterTrack.cs:718 | [BIN:TPW-EXE:0x442c70 close circuit] closing a reopened circuit on its chain start joins the new nodes to the nodes after the cut and the track is complete again (state 2) |
| TPW-EXE:0x442cd0 loop gate | source/OpenTPW/World/Coasters/CoasterBuilder.cs:80 | [BIN:TPW-EXE:0x442cd0 loop gate] the loop button's mode starter 0x442cd0, the endpoint resumption 0x442d10, the pending test 0x444c00, the mode setters 0x444c50 and 0x444c80, the loop selection 0x4445b0(2) and the replayed action 0x447a10 all test that bit of the controller's definition ([0x790fec] +4) first and do nothing without it, so on a coaster without a loop pylon the loop button only selects the build mode (0x4445b0 ends with [0x79c644] = 2 and 0x434f10) |
| TPW-EXE:0x442cd0 loop mode | source/OpenTPW/World/Coasters/CoasterBuilder.cs:41 | [BIN:TPW-EXE:0x442cd0 loop mode] entering loop mode sets the counter 0x79c664 to 2; every placed pylon (0x435020) decrements it and the mode (0x79c658 bit 0x40) is left at 0 |
| TPW-EXE:0x442d10 loop resumption | source/OpenTPW/World/Coasters/CoasterTrack.cs:1484 | [BIN:TPW-EXE:0x442d10 loop resumption] chain-endpoint loop resumption (0x442d10, 0x4455c0) is CoasterBuilder.StartOrResumeLoopPair and CoasterToolPanel.Open, behind the definition's flag 2 that every one of those loop routines tests (CoasterBuilder.LoopUnlocked, 0x42fd57); the auxiliary dispatcher 0x447a10 is the layout replay's action 0x38 (0x4045b0 at 0x40463e; the replayer 0x785a08 rebuilds a downloaded online park from its recorded actions) and has no other caller, so OpenTPW, which runs no layout replay, has no counterpart |
| TPW-EXE:0x442d10 resume loop pair | source/OpenTPW/World/Coasters/CoasterBuilder.cs:89 | [BIN:TPW-EXE:0x442d10 resume loop pair] a pending endpoint sets counter 0x79c664 to 1 and mode bit 0x40; the loop selection then calls 0x442cd0, which starts at 2 only when that mode bit is clear; without the definition's loop bit (0x442d10, 0x442cd0, 0x4445b0 test it) neither does anything |
| TPW-EXE:0x442d70 leave stack | source/OpenTPW/World/Coasters/CoasterTrack.cs:561 | [BIN:TPW-EXE:0x442d70 leave stack] taking a node out of its cell's descriptor closes the gap in the stack array (0x442f40 → 0x442d70) and the node enters the new cell's descriptor on top (0x433bd0) |
| TPW-EXE:0x443340 demolish preview | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:416 | [BIN:TPW-EXE:0x443340 demolish preview] a pending cut shows the range up to the hovered pylon, picked each frame while the second end is awaited |
| TPW-EXE:0x443340 demolish preview | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:181 | [BIN:TPW-EXE:0x443340 demolish preview] with the cut pending (0x80) and the hit changed, the hovered pylon (0x443ee0) gives the range: none clears it; the first end itself takes its neighbours (the previous node when it has none of its own: itself; a loop pair widens by its partner); another pylon takes the range between it and the first end, ordinal 0 standing for the last node, a loop pair's first widening to the node before it and its second to the node after; 0x444040 clears the old marks and 0x444090 sets 0x1000000 on [low, high) |
| TPW-EXE:0x443340 move drag | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:639 | [BIN:TPW-EXE:0x443340 move drag] the node follows the hovered cell (0x442f40), the validator marks it invalid (flag 0x4000) when the cell fails, and the cost shown is the new cost against the noted one |
| TPW-EXE:0x443371 tilt drag yaw | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:345 | [BIN:TPW-EXE:0x443371 tilt drag yaw] the camera yaw (0x790a38) minus the node's yaw turns the tilt drag; [EXT:online-coop-commands] a guest's press that waits keeps the pointer for |
| TPW-EXE:0x443371 tilt drag yaw | source/OpenTPW/World/Level.Coasters.cs:123 | [BIN:TPW-EXE:0x443371 tilt drag yaw] the drag update reads the camera yaw global 0x790a38 and subtracts the selected node's yaw (+0xe0); the park camera's yaw maps onto that global by ParkCameraMode.OriginalYaw (the camera block of the saves, 0x42cec0), which is the atan2(x, z) heading of the forward direction in track coordinates |
| TPW-EXE:0x443ee0 model pick | source/OpenTPW/World/Level.Coasters.cs:181 | [BIN:TPW-EXE:0x443ee0 model pick] the picker 0x45bf90 hands the model under the pointer (the first owner the ray's walk meets, a nearer terrain point or object wins) and 0x443ee0 maps that handle through the table 0x7a4610 to the coaster node whose pylon it is: a pointer beside the pylon's model picks nothing |
| TPW-EXE:0x444090 range marks | source/OpenTPW/World/Coasters/CoasterPreview.cs:13 | [BIN:TPW-EXE:0x444090 range marks] 0x444090 sets 0x1000000 on every node from the lower end up to the higher one (exclusive, in chain order); 0x444040 clears the flag (with 0x4000) on the same range; 0x43f4e0 draws a marked link with the marker variant [0x7925d0] (red when the node is also marked 0x4000) |
| TPW-EXE:0x444150 height setter | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:96 | [BIN:TPW-EXE:0x444150 height setter] the loft parameter t goes to node +0xE8 as saved; the pylon's height is h0 + t(h1 − h0) of its control; [BIN:TPW-EXE:0x4441D0 yaw setter] the yaw goes to +0xE0 as saved |
| TPW-EXE:0x4441D0 yaw setter | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:96 | [BIN:TPW-EXE:0x444150 height setter] the loft parameter t goes to node +0xE8 as saved; the pylon's height is h0 + t(h1 − h0) of its control; [BIN:TPW-EXE:0x4441D0 yaw setter] the yaw goes to +0xE0 as saved |
| TPW-EXE:0x444270 bank setter | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:91 | [BIN:TPW-EXE:0x444270 bank setter] the loader passes (bank, incline) or, for a section with wire 0x10, (loop rotate, 0) (0x437E72); the setter stores them as bank +0xD8 and incline +0xDC with +0xF8 cleared on a node without flag 0x40, and on a loop node clears bank and incline and stores its first argument as the loop rotate +0xF8 |
| TPW-EXE:0x444EC3,0x444EE7 | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:176 | [BIN:TPW-EXE:0x444EC3,0x444EE7] only the last node clears a cell; otherwise publish the surviving first node. |
| TPW-EXE:0x444c00 pending loop endpoint | source/OpenTPW/World/Coasters/CoasterBuilder.cs:84 | [BIN:TPW-EXE:0x444c00 pending loop endpoint] with the definition's loop bit (LoopUnlocked's gate): an incomplete track tests its tail (+0x58), a complete cut track its cut predecessor (+0x60), and a complete uncut track returns false; only node flag 0x80 is tested, independently of mode bit 0x40 |
| TPW-EXE:0x444f30 delete last | source/OpenTPW/World/Coasters/CoasterTrack.cs:639 | [BIN:TPW-EXE:0x444f30 delete last] a cut circuit deletes the node before the cut (+0x60) and moves the open-circuit reference back; the station nodes (descriptor flag 2) stay |
| TPW-EXE:0x4455c0 initial selection | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:293 | [BIN:TPW-EXE:0x4455c0 initial selection] a complete track that is not cut open selects button 0x10 (height), any other track button 1 (build), or button 2 (loop) while a loop pair is pending |
| TPW-EXE:0x445910 enabled buttons | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:255 | [BIN:TPW-EXE:0x445910 enabled buttons] the mask starts at 0x1fc; bit 1 (build) is added unless the last node is the first of a loop pair (0x444c00 / node flag 0x80), bit 2 (loop) with definition flag 0x80 and 0x200 with 0x100; then a complete track whose circuit is not cut open (controller flags &1 set, &2 clear) clears bits 1 and 2, any other track clears bit 0x40 |
| TPW-EXE:0x445a70 move release | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:798 | [BIN:TPW-EXE:0x445a70 move release] a release over no cell puts the node back; over a cell the node is dropped there (0x442f40) and the refund and charge of the node and, on a finished track, the one after it settle (0x447830, 0x4d0190, 0x4d01f0) |
| TPW-EXE:0x446300 coaster edit release | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:436 | [BIN:TPW-EXE:0x446300 coaster edit release] in an edit mode a press that picked nothing, released on the grid, only settles: it is no click of the level's |
| TPW-EXE:0x446300 coaster edit release | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:411 | [BIN:TPW-EXE:0x446300 coaster edit release] in the edit modes the release only settles what a press picked up (0x446300(0)): one that picked nothing, a press off the grid let go on it, is the tool's and no click of the level's |
| TPW-EXE:0x446300 pick up | source/OpenTPW/World/Coasters/CoasterBuilder.cs:220 | [BIN:TPW-EXE:0x446300 pick up] the pick-up excludes only descriptor flag 2 and has no rider or state test: the tool's entry has put the controller in state 2 (0x447520) and its riders are off, so an edit is never refused for riders (OpenTPW's former rider guard is gone; Level.EnterCoasterTool is the tool entry) |
| TPW-EXE:0x446740 cut guard | source/OpenTPW/World/Coasters/CoasterBuilder.cs:329 | [BIN:TPW-EXE:0x446740 cut guard] the cut has no rider test: the tool's state 2 has already let the riders off, and the cut's own state 1 takes the trains away |
| TPW-EXE:0x446740 cut range | source/OpenTPW/World/Coasters/CoasterBuilder.cs:328 | [BIN:TPW-EXE:0x446740 cut range] the cut removes the nodes between the two clicked ends without a refund (0x444cb0 calls no money routine), sets controller state 1 through 0x435730 and flag 2 (a cut that reaches the last node clears flags 1 and 2), and reselects the build button |
| TPW-EXE:0x446740 cut range | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:745 | [BIN:TPW-EXE:0x446740 cut range] the first release over a pylon starts the range (0x79c62c, 0x79c6dc), the second over a pylon completes it; a release over nothing does nothing |
| TPW-EXE:0x446740 cut range | source/OpenTPW/World/Coasters/CoasterTrack.cs:200 | [BIN:TPW-EXE:0x446740 cut range] the cut marks the node before the range 0x50000 and the one after it 0xa0000, removes the nodes between (0x444cb0 keeps the open-circuit pair +0x60 / +0x64 on the node before and after the last removed one) and sets controller flag 2; a cut that reaches the last node clears flags 1 and 2 instead (the track is incomplete again, 0x435530) |
| TPW-EXE:0x446740 cut range | source/OpenTPW/World/Coasters/CoasterTrack.cs:796 | [BIN:TPW-EXE:0x446740 cut range] ordinal 0 (S0) of either end is replaced by the last node (0x446787..0x4467b9); the ends are ordered; a range that is one loop pair (the first with 0x40|0x80 next to the second with 0x40) widens to the nodes around it; equal ends widen to the nodes around the node; a node after the lower end that is the second of a pair moves the lower end back; a node before the upper end that is the first of a pair moves the upper end on; nodes between are deleted from the upper end down (0x444cb0); the node before the cut gets 0x50000, the one after 0xa0000; a range that reaches the last node clears controller flags 1 and 2 (0x435530) |
| TPW-EXE:0x44678c same station node | source/OpenTPW/World/Coasters/CoasterTrack.cs:810 | [BIN:TPW-EXE:0x44678c same station node] the second release on the very node the range started on is no cut when that node is a station node (descriptor flag 2: S0 or S2): 0x44678c..0x4467a0 clear the cut flag and leave the circuit as it is |
| TPW-EXE:0x446d50 move marks | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:170 | [BIN:TPW-EXE:0x446d50 move marks] the press of the move button takes prev = node +0x68 (itself when none) and next = +0x64, orders the two by ordinal (+0) and walks +0x64 from the lower one to the higher, OR-ing 0x1000000 (0x446e4c-0x446e72) with variant [0x7925d0] = 3 (blue), no ordinal-0 remap; the list is linear (only the cursor's spare node is outside it) and every node but the cursor's gets ordinal count++ at creation (0x434060, 0x434116-0x434132), the station end node included, so the end node is the last link with +0x64 null and moving the last pylon marks [prev, node], never the circuit; 0x445a70 clears them |
| TPW-EXE:0x446d50 move press | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:521 | [BIN:TPW-EXE:0x446d50 move press] the pylon is picked up (a station node cannot be): its cell and cost are noted, the range around it marked, and the node follows the pointer's cell until the release (0x442f40) |
| TPW-EXE:0x447520 coaster tool entry | source/OpenTPW/World/Coasters/CoasterRide.cs:215 | [BIN:TPW-EXE:0x447520 coaster tool entry] entering the tool (param 1, no coaster being edited) closes the ride object (0x4df300: "Object %d Closing", the guest being loaded is dropped, event 6) and sets state 2 when the track is complete with its circuit closed (controller +0x3c bit 0 set, bit 1 clear), else state 1; leaving it (param 0) opens the ride object again when the controller's state is 2 (0x4df390; the script's COAST 5 then makes it 4 or 8) |
| TPW-EXE:0x447520 coaster tool entry | source/OpenTPW/World/Level.Coasters.cs:372 | [BIN:TPW-EXE:0x447520 coaster tool entry] with no coaster being edited the ride object is closed (0x4df300) and the controller set to state 2 (a complete track with its circuit closed) or 1 (0x435730); round 2 labelled 0x447520 the tool's exit, it is its entry when called with param 1 |
| TPW-EXE:0x447520 coaster tool exit | source/OpenTPW/World/Level.Coasters.cs:612 | [BIN:TPW-EXE:0x447520 coaster tool exit] leaving the tool (param 0) opens the ride object again (0x4df390) when the controller's state is 2; the station script's COAST 5 then sets state 4 or 8; a ride left in state 1 stays closed |
| TPW-EXE:0x447790 group flag | source/OpenTPW/World/Original/ObjectRayPick.cs:47 | [BIN:TPW-EXE:0x447790 group flag] an instance with the group flag 0x80000 tests its group's members instead (0x447790 reads the group's count from +0x30, less one when the group's +4 has 0x20; 0x4477d0 returns the nth member's instance index, +0x70, skipping members whose +8 has 0x2000 when the group's +4 has 0x20); the coaster code sets the flag |
| TPW-EXE:0x447990 coaster edit cost | source/OpenTPW/Hud/ParkHud.cs:319 | [BIN:TPW-EXE:0x447990 coaster edit cost] the cost line follows the one cursor mode object of tp.exe ([0x7b05d8], replaced by 0x46c350, no stack): the tool-mode object of type 3 runs every build tool, the Buy Land tool included (its price shows; the Clear Area and patrol tools set the hidden marker -9999), and no class returns type 4; the coaster panel's edit modes (type 8) show it only while bit 0 of 0x79c658 is set, and the only writer that sets that bit is the height press (0x441a5d; the rotate press sets bit 1 at 0x441edd, the tilt press bit 2 and 0x2000 at 0x44205b, the stack handlers their own bits), so it is exactly an active height drag; a button selected during a drag runs the sub-mode's second action through the switch of 0x446fa0's deselect path (0x44700e, 0x447032 for the height drag, 0x442220 for the build and loop buttons), which clears the bit and settles the money as the release does (CoasterToolPanel.Select) |
| TPW-EXE:0x447e30 replayed coaster speed | source/OpenTPW/World/Coasters/CoasterRide.cs:783 | [BIN:TPW-EXE:0x447e30 replayed coaster speed] the only writer of controller +0 bit 0x8000: the replayer 0x4045b0 (one recorded action per call, from 0x4041d0) calls it for action 0x45 (69) with the slot and the speed; it calls 0x43b2b0 and then ORs 0x8000 into the controller word (0x790bd0[slot]); no code of the coaster module (0x42f000..0x449000) clears it, and the saver 0x437300 does not write it (ctl+0 bits 0x20..0x800 only), so a loaded controller has it clear |
| TPW-EXE:0x44AB30 key table refresh | source/OpenTPW/World/Objects/OriginalObjectRuntime.KeyTable.cs:23 | [BIN:TPW-EXE:0x44AB30 key table refresh] runs only for an instance the scene registered (instance bit 0x1) whose table has a matrix key (table bit 0x1), and not for an instance flagged 0x20000000 (0x473E11); 0x473C70 reaches it at its end for a posing call (argument bit 0x8 clear) and, for a list-pass call, only when the model header has flag 0x4 (0x473E01..0x473E0F), which the object loader strips (0x461F10) |
| TPW-EXE:0x44AB30 key table refresh | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:49 | [BIN:TPW-EXE:0x44AB30 key table refresh] the refresh runs only when the instance block's bit 0x1 is set (0x45BCB0 and 0x45BD00 set it at 0x45BCF9 and 0x45BD27, right after adding the block's draw object to the scene lists, 0x576410 and 0x576620: a registered instance) and the table's bit 0x1 is set (0x44A98C: at least one entry of the model's key list has the matrix flags 0x30, 0x44A904; bit 0x10 marks a key node with flag 0x400, whose direction the lookup negates) |
| TPW-EXE:0x44AB30 other refreshes | source/OpenTPW/World/Objects/OriginalObjectRuntime.KeyTable.cs:24 | [BIN:TPW-EXE:0x44AB30 other refreshes] the remaining callers are 0x42A6D6 (the ride view entering a placed instance) and 0x438A53 (the coaster car bend, COAST-034), outside the ride objects' scripts |
| TPW-EXE:0x44D8F0 sky quality | source/OpenTPW/Compat/GraphicsSettings.cs:223 | [BIN:TPW-EXE:0x44D8F0 sky quality] the option apply hands 0, 1, 2 or 4 to the sky's layer count (0x585710) and ignores any other value, which leaves the constructor's 4 (0x584EF0) |
| TPW-EXE:0x44DA1C sky detail | source/OpenTPW/Compat/GraphicsSettings.cs:225 | [BIN:TPW-EXE:0x44DA1C sky detail] the option apply sets the engine flag 0x400000 of [0x8BCBC8] for SKYDETAIL 1 and clears it for 0 (0x44DA2D-0x44DA44); the sky objects draw only with it (0x5860DB), and any other value leaves the flag as it was |
| TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE | source/OpenTPW.Tests/RenderFogTests.cs:111 | [BIN:TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE] [0x8BD4C0], [0x8BD490] and [0x8BD494] (through 0x583280) |
| TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE | source/OpenTPW/Client/GameFlow.cs:1211 | [BIN:TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE] the fog's linear range, only in the park's first-person views (the ride and walk cameras: bit 0x2000 of [0x8BCBC8] follows [0x790AB0] & 0x16, 0x54FAD7); the overview and the lobby have none (RenderFog.Enabled) |
| TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE | source/OpenTPW/Render/RenderFog.cs:13 | [BIN:TPW-EXE:0x44DBB0 FIRSTPERSONVIEWDISTANCE] the option apply sets the fog start and end [0x8BD490] and [0x8BD494] (through 0x583280) and the ray distance [0x8BD4C0]: 0 gives 50 to 60 and 200, 1 gives 100 to 110 and 325, 2 gives 135 to 150 and 450, |
| TPW-EXE:0x44DD50 renderer mode, 0x590C40 | source/OpenTPW/Render/WorldTranslucency.cs:15 | [BIN:TPW-EXE:0x44DD50 renderer mode, 0x590C40] the hardware path is mode 1 (DAT_008BD524 = 1); mode 4 is the software renderer, whose integer depth sort (0x5653D0) is the same rule |
| TPW-EXE:0x44E080 display depth | source/OpenTPW/Client/Movie/MoviePresenter.cs:76 | [BIN:TPW-EXE:0x44E080 display depth] the window setup passes 16 + 16 * (start-up flag 0x200000) as the DirectDraw display depth (0x44DF20 to SetDisplayMode, 0x563460); the option routine 0x44D8F0 sets that flag from RENDER32 (0x7858A8, between MIPMAP and TEXTURE32 in the key table at 0x7445F0); the colour mode of 0x670C20 picks the 16-bit writers (0x671800, 0x671940) for a surface of at most 16 bits and the 32-bit writers (0x6718A0) otherwise; with 8-bit fields the table builder 0x670350 stores the value unchanged in the low word and builds no high word |
| TPW-EXE:0x44E380 drawn reset kept | source/OpenTPW/World/Objects/ObjectAnimator.cs:1020 | [BIN:TPW-EXE:0x44E380 drawn reset kept] the reset 0x4726D0 (0x44E3A0) changes the instance's own state words and nothing puts them back: the node-state bits are written again by the next sample of a toggle track (0x4735D0 through 0x473C70) or a bind (0x472D70), a texture slot's frame by the writer 0x470C90 when a key applies, and each stored copy (vertex 0x1000, texture coordinate 0x10000) by the next bind of its own track; an element no writer touches keeps what the reset left, tick after tick |
| TPW-EXE:0x44E380 pose | source/OpenTPW/World/Objects/OriginalObject.cs:790 | [BIN:TPW-EXE:0x44E380 pose] with the posing argument set and flag 0x800000 set: 0x4726D0 (ObjectAnimator.ResetToStored) unless flag 0x80000 is set (no creator on the placed ride's path sets it: 0x463060 builds the flags from 0x211F/0x231F and the argument bits 0x1, 0x2, 0x80), then flag 0x800000 cleared; then 0x473C70(instance, 1, 0) and its key table refresh (0x473E01) and the head tick 0x44B510 |
| TPW-EXE:0x44E3A0 return from the list pass | source/OpenTPW/World/Objects/ObjectAnimator.cs:880 | [BIN:TPW-EXE:0x44E3A0 return from the list pass] 0x44E380 (the callback's body, 0x463030) calls 0x4726D0 once when instance flag 0x800000 is set and 0x80000 is clear, then clears 0x800000 and poses; the list pass 0x44E410 sets 0x800000 on every instance it updated without posing (the one it leaves alone because the callback ran last frame, 0x200000, only has that flag cleared) |
| TPW-EXE:0x44E410 ride view list pass | source/OpenTPW/World/Objects/OriginalObject.cs:769 | [BIN:TPW-EXE:0x44E410 ride view list pass] besides the two full passes (argument 3, 0x54E2B3 and 0x54E722) the frame step 0x54FA96 calls it with argument 2: with the ride view's option bit 0x4 of [0x790AB0] the ridden instance [0x790988] is updated and posed (0x473C70(instance, 1, 0), 0x44B510, 0x4548F0), which also rebuilds its key table |
| TPW-EXE:0x44E49A list pass | source/OpenTPW/World/Objects/OriginalObject.cs:768 | [BIN:TPW-EXE:0x44E49A list pass] per instance of the table [0x7A4614..]: flag 0x200000 set → clear it (0x44E4E0); else, when it has an animation record (+0x14) and flags 0x1000/0x2000 are clear, 0x473C70(instance, 0, 8) updates its channels without sampling (0x4735D0 samples only for a posing call or instance flag 0x400000), hoardings 0x4548F0 for flag 0x20, then flag 0x800000 is set (0x44E4DC) |
| TPW-EXE:0x44ab90 dummy record table | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:290 | [BIN:TPW-EXE:0x44ab90 dummy record table] the world-matrix pass stores a dummy node's matrix in the record table entry (node stored index (+0x50) − header +0x46), and 0x430590 reads the track dummy's height from the entry of the record index 0x44b270 returned (0x430988) |
| TPW-EXE:0x44b220 attribute lookup | source/OpenTPW/World/RideSeat.cs:17 | [BIN:TPW-EXE:0x44b220 attribute lookup] the first record (in order) whose value equals the argument and whose type has a bit of the mask; the record index plus the u16 at model header +0x46 is the node (a mesh node below the header's mesh count, a dummy node after) |
| TPW-EXE:0x44b2b0 head count | source/OpenTPW/World/Coasters/CoasterCarRig.cs:151 | [BIN:TPW-EXE:0x44b2b0 head count] the dummy attribute records whose flag word has bit 0x80 |
| TPW-EXE:0x44dd50 device word | source/OpenTPW/World/Lobby/LobbyEffects.cs:217 | [BIN:TPW-EXE:0x44dd50 device word] the first word of 0x78d8d8 is the 3D-acceleration switch: 1 sets the render mode [0x8bd524] to 1 (hardware), 0 to the software mode 4 (0x44de0b, 0x44dde9, 0x44de20); OpenTPW always renders on the GPU, so the word is 1 and only SKYQUALITY gates the colour |
| TPW-EXE:0x44e510 terrain clip | source/OpenTPW/World/Lobby/LobbyScene.cs:97 | [BIN:TPW-EXE:0x44e510 terrain clip] the terrain instance (the model 0x4504c0 loads with base.md2 through the object loader 0x461f10, flags 8; the loader binds the animation members <base><letter>[number] of the letter table 0x6fe6bc to it, so Basem1 is group 5) is updated once per lobby frame by 0x44e510 (0x473c70(instance, 1, 4), called from 0x54e72a, the lobby state of 0x54e360, after the clock refresh 0x473440; a park runs the same call through the render callback 0x54e2b0 instead, see TerrainUvAnimator); the instance has flag 4 clear, so the idle restart at the head of 0x473c70 (0x473490, then 0x4732a0 with AnimID 5, sub 0, flags 4, speed 1.0) starts the clip at the first update and again whenever its frame is past the total (the overshoot carried, 0x472f60), on the scaled clock 0x7b496c (channel flag 0x40 clear), and 0x4735d0 samples the clip's UV records (0x471860 → 0x4745c0) into the mesh record's coordinate table (+0x68) every frame |
| TPW-EXE:0x450420 terrain test | source/OpenTPW/World/ParkLand.cs:697 | [BIN:TPW-EXE:0x450420 terrain test] true without a loaded terrain; false outside the terrain's cell grid (+0x18 × +0x1c); else true when bit 0 of the cell's word (+0x2c, 4 bytes a cell) is clear — the level's heightfield (base.md2) cell words, which give the Jungle Easymode save's types 2, 7 and 0x1e on all 9,383 such cells |
| TPW-EXE:0x452560 ground height | source/OpenTPW/World/CamcorderWalkWorld.cs:24 | [BIN:TPW-EXE:0x452560 ground height] a point below 0 or at or beyond the width or depth times 10 answers 0.0; the cell is the integer part of the point over the cell size (modf), the fractions fx and fz |
| TPW-EXE:0x457E70 point light defaults | source/OpenTPW/Render/PointLights.cs:79 | [BIN:TPW-EXE:0x457E70 point light defaults] radius 100.0 (+0x44), its square (+0x48) and one over the square (+0x4C), colour white |
| TPW-EXE:0x45CD44 mouse point | source/OpenTPW/Hud/ParkHud.cs:1527 | [BIN:TPW-EXE:0x45CD44 mouse point] the point is the picker's nearest hit, the terrain's or an object model's (0x45BF90 writes the same point to 0x7A1C90; Level.TryGetGroundHit) |
| TPW-EXE:0x45ab13 pump | source/OpenTPW/UI/Original/UiPointerRouter.cs:22 | [BIN:TPW-EXE:0x45ab13 pump] [BIN:TPW-EXE:0x48a5be drain] Pointer recipients are fixed at admission; |
| TPW-EXE:0x45bd30 preview camera | source/OpenTPW/Hud/PreviewIcon.cs:15 | [BIN:TPW-EXE:0x45bd30 preview camera] the preview object has no park camera: 0x4689f0 hands 0x45bd30 an identity matrix (0x46f150), which |
| TPW-EXE:0x45bf90 cursor ray | source/OpenTPW/World/Original/TerrainRayPick.cs:9 | [BIN:TPW-EXE:0x45bf90 cursor ray] the pick walks the heightfield cells the ray crosses and tests each cell's two triangle planes: the triangles are |
| TPW-EXE:0x45c94b object walk | source/OpenTPW/World/Original/ObjectRayPick.cs:31 | [BIN:TPW-EXE:0x45c94b object walk] after the terrain walk, 0x45bf90 starts at the camera (0x790aa0) and steps one cell (10 MD2 units, 0x41200000 or its |
| TPW-EXE:0x45ccf7 nearest hit | source/OpenTPW/World/Original/ObjectRayPick.cs:39 | [BIN:TPW-EXE:0x45ccf7 nearest hit] the owner's hit point replaces the terrain point when the terrain was missed or the owner's point is nearer the camera |
| TPW-EXE:0x45cdc0 cell owner test | source/OpenTPW/World/Original/ObjectRayPick.cs:42 | [BIN:TPW-EXE:0x45cdc0 cell owner test] the cell lookup 0x452ae0 names the cell's instance: the second-layer piece instance first (0x53bf30), else the |
| TPW-EXE:0x45cdc9 cell owner | source/OpenTPW/World/Original/ObjectRayPick.cs:37 | [BIN:TPW-EXE:0x45cdc9 cell owner] a cell coordinate below 0 or past the grid (0x7a0314, 0x7a0374) is clamped to the edge cell (0x45cdd4-0x45ce10) before |
| TPW-EXE:0x45d090 model face test | source/OpenTPW/World/Original/ObjectRayPick.cs:196 | [BIN:TPW-EXE:0x45d090 model face test] the plane of a face through its first corner with its stored normal turned by the instance (0x46fca0) and normalised (0x45d19e): t = (n · a − n · origin) / (n · direction) |
| TPW-EXE:0x45d090 model walk | source/OpenTPW/World/Objects/ObjectPickModel.cs:13 | [BIN:TPW-EXE:0x45d090 model walk] a node's own faces are tested unless its state word has 0x10 or any of 0x8210 (0x45d0b4-0x45d0c6; 0x10 is the toggled |
| TPW-EXE:0x45d0b4 node bits at pick time | source/OpenTPW/World/Objects/ObjectPickModel.cs:18 | [BIN:TPW-EXE:0x45d0b4 node bits at pick time] bit 0x20 (the walk then leaves the children out, 0x45d4cf) and 0x8000 are not ported: no shipped object model carries a node word with 0x10, 0x20 or 0x8000 |
| TPW-EXE:0x45d48f face test | source/OpenTPW/World/Original/ObjectRayPick.cs:189 | [BIN:TPW-EXE:0x45d48f face test] the three angles between the normalised vectors from the plane hit to the corners (acos, 0x67b4e0) are summed and compared with the float 6.2821856 (0x6fe678; 0x45d484-0x45d49a) |
| TPW-EXE:0x45d560 hover cell | source/OpenTPW/World/Level.Objects.cs:1677 | [BIN:TPW-EXE:0x45d560 hover cell] the cell under the cursor is the ray's hit point divided by the cell size (x, z) and clamped to the grid; the frame loop 0x54e2b0 refreshes it every frame from the pick 0x45bf90 |
| TPW-EXE:0x45d5f7 hover cell write | source/OpenTPW/World/Level.HoverCell.cs:9 | [BIN:TPW-EXE:0x45d5f7 hover cell write] the only other writer is 0x45d560: the hit point of the cursor pick 0x45bf90 (0x7A1C70) divided by the cell size, truncated and clamped to the heightfield (0x45d59c-0x45d5c8) and then to the map (0x45d5ca-0x45d5df), becomes y * 128 + x + 1: an off-grid hit lands on the edge cell, and the bounds test 0x4d8300 (0x45d601 writes 0) refuses nothing then |
| TPW-EXE:0x45d610 mouse ground point | source/OpenTPW/World/Level.Objects.cs:1817 | [BIN:TPW-EXE:0x45d610 mouse ground point] the staff tools read the exact world point under the mouse (0x7a1c90: x, y, z floats), not the hover cell |
| TPW-EXE:0x463030 render callback | source/OpenTPW/World/Objects/OriginalObject.cs:789 | [BIN:TPW-EXE:0x463030 render callback] 0x44E380(instance from the mesh object +0xB4, 1) then flag 0x200000 (0x463047..0x463052) |
| TPW-EXE:0x463060 instance height | source/OpenTPW/World/Tracks/TrackRenderer.cs:409 | [BIN:TPW-EXE:0x463060 instance height] the instance height is 0x466D70's midrange, (lowest + highest landscape vertex of the tile's 3 × 3 vertices (every footprint cell, flag 0x10) ) / 2, written at +0x44 by 0x467030, not the mean of the four cell means |
| TPW-EXE:0x466b70 | source/OpenTPW.Tests/PlacedEventAudioOriginTests.cs:136 | a 3 x 2 shape: the footprint middle is the middle of its rotated bounds, (min + max + 1) * 5 per axis ([BIN:TPW-EXE:0x466b70]) |
| TPW-EXE:0x466b70 footprint middle | source/OpenTPW/World/Objects/OriginalObject.cs:209 | [BIN:TPW-EXE:0x466b70 footprint middle] the middle of the footprint rectangle in cell*10 units (cell corners, so a one-cell object's middle is half a cell in); the height is the root node's +0x44 (its matrix's translation y, the object's height that 0x556a80 also reads), the object's base height here |
| TPW-EXE:0x466b70 footprint middle | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:38 | [BIN:TPW-EXE:0x466b70 footprint middle] ((x0 + x1) / 2, model height, (z0 + z1) / 2) of the object's packed u16 footprint rectangle (+0xC0/+0xC4), scaled x10 with a one-cell offset; used by 0x556af0 (SINGLESCREAM), 0x551130 (STARTSCREAM) and 0x556d42 (EVENT, key < 0) |
| TPW-EXE:0x468760 coaster slot | source/OpenTPW/World/Level.Coasters.cs:767 | [BIN:TPW-EXE:0x468760 coaster slot] the header's +0xC goes to the slot allocator as the preferred slot, which stores the controller in 0x790BD0[slot]: a station script whose +0xE0 holds that slot reaches this controller |
| TPW-EXE:0x4689f0 buy preview fit | source/OpenTPW/Hud/PreviewIcon.cs:251 | [BIN:TPW-EXE:0x4689f0 buy preview fit] the preview object takes min(width x 2/3 / sqrt((dx/2)^2 + (dz/2)^2), height / |max - (min x, 0, min z)|) in the |
| TPW-EXE:0x4689f0 buy preview object | source/OpenTPW/Hud/PreviewIcon.cs:293 | [BIN:TPW-EXE:0x4689f0 buy preview object] the preview object's root frame is scaled by the fit s (0x45bf20 → 0x46fad0 scales the matrix's three axis rows, |
| TPW-EXE:0x4689f0 preview clip | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:161 | [BIN:TPW-EXE:0x4689f0 preview clip] each new preview object starts its clip from the beginning (0x4732a0); an icon not made yet starts |
| TPW-EXE:0x4689f0 preview clip | source/OpenTPW/Hud/PreviewIcon.cs:138 | [BIN:TPW-EXE:0x4689f0 preview clip] the new preview object starts 0x4732a0(instance, 5, 0, 1, 1.0, 0): animation id 5, variant 0 (the member |
| TPW-EXE:0x468e50 buy preview matrix | source/OpenTPW/Hud/PreviewIcon.cs:298 | [BIN:TPW-EXE:0x468e50 buy preview matrix] every frame the base is turned about y by the yaw (0x46f420, the sine table's cosine and sine) and about x by |
| TPW-EXE:0x468e50 buy preview turn | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:409 | [BIN:TPW-EXE:0x468e50 buy preview turn] each update adds the clock's elapsed milliseconds (0x785970, 0x4031e0) x 0.0004 to the preview's angle (+0x48), and a |
| TPW-EXE:0x469940 pylon ground conform | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:424 | [BIN:TPW-EXE:0x469940 pylon ground conform] 0x432df0 calls 0x469940(model, terrain [0x7a0854], the descriptor's ground height, 0) for a bottom node: every ground vertex counted by 0x469a80 goes to the nearest terrain corner, its height the corner's |
| TPW-EXE:0x469940 pylon ground node | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:58 | [BIN:TPW-EXE:0x469940 pylon ground node] the bottom node's ground node (model +0x2c) is conformed to the terrain's corners and hidden on stacked nodes unless pylon flag 0x10 is set; the part flag hides only its own mesh (0x57a5e3, 0x4723f9), and the clip sampler's rotation blend is the ported table-sine one (ModelRotationBlend, [BIN:TPW-EXE:0x4742A0 rotation blend]) |
| TPW-EXE:0x46C610 release slot | source/OpenTPW.Tests/OrderedParkPointerPipelineTests.cs:194 | [BIN:TPW-EXE:0x46C610 release slot] the level's tools act on the release, not the press |
| TPW-EXE:0x46C610 release slot | source/OpenTPW/Hud/ParkHud.PointerInput.cs:313 | [BIN:TPW-EXE:0x46C610 release slot] the level's tools (a placement, a removal) act on the release the park took, at the cell under the pointer there |
| TPW-EXE:0x46C610 release slot | source/OpenTPW/World/Level.Input.cs:16 | [BIN:TPW-EXE:0x46C610 release slot] the tool object's (vtable 0x6FE9E0) slot +8 calls 0x524960 with the hover cell 0x7B05CC read at the release; slot +4 (0x46C5D0 → 0x524790) sets the press latch 0x8186D8 and, in coaster mode 0x16 only, starts a pick-up |
| TPW-EXE:0x46C8E0 staff placement press | source/OpenTPW/Hud/ParkHud.cs:1542 | [BIN:TPW-EXE:0x46C8E0 staff placement press] the hire and carry tools are not the tool object: their own classes (vtables 0x6FEA40 and 0x6FEA70) take the left PRESS (slot +4 = 0x46C8E0 / 0x46CC40) and ignore the release (slot +8 is empty) |
| TPW-EXE:0x46CC40 drop cell tests | source/OpenTPW/World/Staff/StaffPlacement.cs:42 | [BIN:TPW-EXE:0x46CC40 drop cell tests] the drop tests the cell flag 0x40 (0x535DB0), the fence post test 0x536450 and the track record test 0x5363F0, then the type (0, 1, 3 or 9: 0x536390, 0x536310, 0x536320); the place click 0x46C8E0 inlines the same calls (0x5363F0 first, 0x46C928..0x46C96D); any refusal ends the click with a message (0x74D91C, 0x5DA3C0) and the tool stays |
| TPW-EXE:0x46D0D0 camcorder click | source/OpenTPW.Tests/FreeWalkCameraReviewTests.cs:177 | [BIN:TPW-EXE:0x46D0D0 camcorder click] owned (flag 0x40 clear) or flag 0x80 on a type 30 cell; then 0x42AE70 walks on empty ground (0), a path (1), a queue or entrance (3, 9) or a walkway (30) only |
| TPW-EXE:0x46D0D0 camcorder click | source/OpenTPW/World/Level.FreeWalk.cs:64 | [BIN:TPW-EXE:0x46D0D0 camcorder click] the hover cell's owner thing (0x527E80) whose type's +0x4AC is 0 is ridden (0x4E15B0 with 0); else the cell is refused (the pointer 8 stays, the tool stays) unless its flag 0x40 is clear or its flag |
| TPW-EXE:0x46D5A0 tool enter | source/OpenTPW/Hud/ParkHud.cs:1649 | [BIN:TPW-EXE:0x46D5A0 tool enter] the path tool object's enter hovers the cell under the pointer (0x5234D0) and calls SetMode(1, 1); the click is the release handler's (0x524960) |
| TPW-EXE:0x46D644 queue option | source/OpenTPW/World/Objects/ParkObjects.cs:379 | [BIN:TPW-EXE:0x46D644 queue option] 0x52FAB0 is option 0x81B0CC while 0x8187F8 is clear; entering the build tool (tool 4 or 0x3B, 0x46D5A0) sets 0x81B0CC to the type's Info.HasQueue (+0x40) and 0x8187F8 through 0x52F880 to its Bumper.WhichTrackType (+0x9C) when its +0x288 is 1, else 0 (ObjectCatalogEntry.QueueOptionOnBuild) |
| TPW-EXE:0x46DED0 | source/OpenTPW/World/Original/ProceduralTerrain.cs:358 | bits of the cell word do not apply to a cell without art ([BIN:TPW-EXE:0x46DED0] clears them while the texturing is on); a path cell's word keeps them and permutes the corners (WriteCell). The terrain shader flips v, so the page's v goes in as 1 - v. |
| TPW-EXE:0x46a5a0 pylon ground node | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:110 | [BIN:TPW-EXE:0x46a5a0 pylon ground node] the pylon model is loaded with flag 1 of 0x1013405 (0x42fcbf → 0x4629d0), so the type loader counts its ground vertices over a one-cell footprint (a pylon control names no shape) and keeps the node with the most as model +0x2c |
| TPW-EXE:0x46b460 Hebrew keys | source/OpenTPW/Global/HebrewKeyboard.cs:8 | [BIN:TPW-EXE:0x46b460 Hebrew keys] the main window procedure 0x46b600 calls it for WM_CHAR when 0x41a850 reports Hebrew (0x46b8c5) and the |
| TPW-EXE:0x46b70a front end focus | source/OpenTPW.Tests/AudioPauseSoundTests.cs:176 | [BIN:TPW-EXE:0x46b70a front end focus] |
| TPW-EXE:0x46b70a front end focus | source/OpenTPW/Audio/GamePauseSound.cs:107 | [BIN:TPW-EXE:0x46b70a front end focus] the window procedure's activation (0x46B6E0-0x46B70A) and deactivation (0x46B722-0x46B73C) answer [0xF82884] (non-zero only while the front end runs, 0x54E66C) with the mixer resume 0x51BD30 and the mixer pause 0x51BCF0 and leave the pause object alone; in a park the deactivation is the pause 0x4092A0(1, 1) instead (0x46B74C) |
| TPW-EXE:0x46b74c focus loss | source/OpenTPW/Audio/GamePauseSound.cs:36 | [BIN:TPW-EXE:0x46b74c focus loss] the window procedure's deactivation in a park passes 1 for it; the owners (the pause menu 0x48C87E, the map 0x5F0B7F, the postcard 0x4A93D7, the message boxes 0x47F26C and the three screens 0x49EFBA, 0x49F29F, 0x4A3A6C) and the P key (0x409350) pass 0 |
| TPW-EXE:0x46b74c focus loss | source/OpenTPW/Hud/ParkHud.ApplicationPause.cs:29 | [BIN:TPW-EXE:0x46b74c focus loss] WM_ACTIVATEAPP deactivation of the window procedure 0x46b600 (it tests [0xF82884], which is 0 in every park, so a logged-in player's own park pauses too), calls 0x4092a0(1, 1) on the pause object 0x786b68: |
| TPW-EXE:0x46c0b0 hover cell start | source/OpenTPW/World/Level.HoverCell.cs:8 | [BIN:TPW-EXE:0x46c0b0 hover cell start] the word is set to 1 by the cursor object's constructor, the first cell (0, 0) |
| TPW-EXE:0x46c210 park view buttons | source/OpenTPW/Audio/PathRefusalClick.cs:8 | [BIN:TPW-EXE:0x46c210 park view buttons] message 0xF0 calls the mode object's slot +4 on a press and slot +8 on a release; the path tool's object (vtable 0x6fe9e0) routes them to 0x46c5d0 -> 0x524790 (press) and 0x46c610 -> 0x524960 (release) |
| TPW-EXE:0x46c480 staff tool face | source/OpenTPW/Hud/ParkHud.cs:1791 | [BIN:TPW-EXE:0x46c480 staff tool face] the staff tools' per-frame method 0x46c480 (slot +0x18 of the place tool 0x6fea40 and the carry tool 0x6fea70) queues a square dynamic face with 0x53c8d0 at (x - 5, 1.0, z - 5), face type 1, when one of the cell tests 0x5363f0, 0x535db0(0x40), 0x536450 holds or none of 0x536390, 0x536310, 0x536320 does (queued only when [0x763c98] is set) |
| TPW-EXE:0x46c480 tool frame | source/OpenTPW/World/Staff/StaffPlacement.cs:128 | [BIN:TPW-EXE:0x46c480 tool frame] every frame the tool draws its sprite (0x475480) at the world point under the mouse (0x45d610 → 0x7a1c90: x, y + 5, z), whatever is under the pointer |
| TPW-EXE:0x46c890 place tool end | source/OpenTPW/Hud/ParkHud.Staff.cs:153 | [BIN:TPW-EXE:0x46c890 place tool end] the advisor help 0x135 (309) is posted after the window closes and withdrawn when the Place tool ends (ParkHud.StaffPlacementHelp); no message-area line |
| TPW-EXE:0x46c890 tool exit | source/OpenTPW/World/Staff/StaffPlacement.cs:303 | [BIN:TPW-EXE:0x46c890 tool exit] cancelled → 0x5083b0(1) only clears the pending flag; [BIN:TPW-EXE:0x46cdc0 carry exit] a member still in hand "drops where he was before he was picked up" |
| TPW-EXE:0x46c8e0 new member | source/OpenTPW/World/Commands/ParkToolCommands.cs:220 | [BIN:TPW-EXE:0x46c8e0 new member] position = cell centre (sub-cell 0x80), happiness and energy 100.0 (the member's own defaults), patrol rectangle = the whole map (+0x20a = 1, +0x20c = 0x4000: PatrolArea's default); each role's constructor then runs its first search (Constructed below) |
| TPW-EXE:0x46c8e0 new member | source/OpenTPW/World/Commands/ParkToolCommands.cs:223 | [BIN:TPW-EXE:0x46c8e0 new member] the role's constructor runs the first search inside the click (0x4D4340, 0x4D5D40, 0x4D6B60, 0x4D9EB0, 0x502600), so its draws come after the hire's base-speed and variant draws and before the turn's sweep; a headless economy has no world and searches on its first update |
| TPW-EXE:0x46c8e0 place click | source/OpenTPW/World/Staff/StaffPlacement.cs:264 | [BIN:TPW-EXE:0x46c8e0 place click] a valid cell creates the member by its role constructor at the cell centre, then back to the default tool; [BIN:TPW-EXE:0x46cc40 drop click] the carry tool's drop, same validity |
| TPW-EXE:0x46cc40 drop click | source/OpenTPW/World/Staff/StaffPlacement.cs:264 | [BIN:TPW-EXE:0x46c8e0 place click] a valid cell creates the member by its role constructor at the cell centre, then back to the default tool; [BIN:TPW-EXE:0x46cc40 drop click] the carry tool's drop, same validity |
| TPW-EXE:0x46cc40 drop validity | source/OpenTPW/World/Staff/StaffPlacement.cs:30 | [BIN:TPW-EXE:0x46cc40 drop validity] the cell is not unowned (flag 0x40 clear) and its type is 0 (grass), 1 (path), 3 (queue) or 9 (queue end); the place tool's click 0x46c8e0 uses the same set |
| TPW-EXE:0x46cdc0 carry exit | source/OpenTPW/World/Staff/StaffPlacement.cs:303 | [BIN:TPW-EXE:0x46c890 tool exit] cancelled → 0x5083b0(1) only clears the pending flag; [BIN:TPW-EXE:0x46cdc0 carry exit] a member still in hand "drops where he was before he was picked up" |
| TPW-EXE:0x4708D0 sine table | source/OpenTPW.Files/Formats/Model/ModelRotationBlend.cs:15 | [BIN:TPW-EXE:0x4708D0 sine table] the init stores mask = N - 1 (0x7B0960) and scale = N x 0.15915494 (0x6FEB9C; 0x7B095C) and fills 0x7B0968 with float(sin(i / N x 6.2831855)); the sampler's blend reads it through ftol (fistp: the nearest index, ties to even) |
| TPW-EXE:0x4708d0 swing table | source/OpenTPW/World/Coasters/CoasterRating.cs:312 | [BIN:TPW-EXE:0x4708d0 swing table] the runtime table is 4096 entries T[k] = f32(fsin(k/4096 · f32(2π))) with scale f32(4096 · f32(1/2π)) and mask 4095 (CoasterTrig.PcSin/PcCos); the index is fistp of the scaled angle, rounded to nearest even (0x43c7be..0x43c7cd, 0x43c7d0..0x43c7e5) |
| TPW-EXE:0x4708e5 table scale | source/OpenTPW/World/Coasters/CoasterCurve.cs:607 | [BIN:TPW-EXE:0x4708e5 table scale] 0x4708d0(4096): mask 0x7b0960 = 4095, count 0x7b4968 = 4096, scale 0x7b095c = f32(4096 · [0x6feb9c]) with [0x6feb9c] = 0x3e22f983 = f32(1/2π) |
| TPW-EXE:0x47090f table entries | source/OpenTPW/World/Coasters/CoasterCurve.cs:610 | [BIN:TPW-EXE:0x47090f table entries] T[k] = f32(fsin(k / 4096.0f · [0x6feba0])), the division and the product in x87 extended precision (both exact for k < 4096) |
| TPW-EXE:0x470d10 relative rotation | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:54 | [BIN:TPW-EXE:0x470d10 relative rotation] a model loaded with the relative-animation flag (header +0x30 & 0x4) multiplies a clip's rotation key into the node's matrix (key × node, 0x470d10) instead of setting it (0x46fbb0), and adds position and vertex keys (0x471860); the slots run in order loft, rotate, incline, bank, loop tilt (0x473c70 → 0x4735d0) |
| TPW-EXE:0x471860 wheel UV pass | source/OpenTPW/World/Coasters/CoasterCarRig.cs:223 | [BIN:TPW-EXE:0x471860 wheel UV pass] the sampler's UV pass (0x4745c0, gated as in ObjectAnimator) writes every corner's texture coordinate from the track of the part's node at the clip's tick |
| TPW-EXE:0x47219a UV pass gate | source/OpenTPW.Files/Formats/Model/ModelUvAnimation.cs:82 | [BIN:TPW-EXE:0x47219a UV pass gate] 0x471860 calls the UV pass for a record with flag 0x10000 (0x4721b7) in add mode always (0x4721aa: the model's relative flag at +0x30 bit 2), in set mode only while the global option 0x7b4980 bit 4 and the instance flag 0x4000 are clear (0x47219a..0x4721a8) |
| TPW-EXE:0x472310 texture lifetimes | source/OpenTPW/World/Objects/ObjectAnimator.cs:329 | [BIN:TPW-EXE:0x472310 texture lifetimes] ordinary set-mode replacement, unbind, replay and held/ended texture lifetimes follow 0x472310/0x472f60; the return-from-list-pass aggregate reset (0x44E3A0 -> 0x4726D0) is ObjectAnimator.ResetToStored, called by OriginalObject.PresentDrawn; the header-flag-4 per-update restore (0x473CDB..0x473D0C) does not reach this class: the ride loader strips the flag (0x461F10), only the TrackMaster loader passes it, and those models are played by the coaster rigs (COAST-033, COAST-034). See docs/reverse/TEXTURE-FRAME-LIFETIME.md. (MD2-900 retired.) |
| TPW-EXE:0x4726D0 aggregate reset | source/OpenTPW/World/Objects/ObjectAnimator.cs:881 | [BIN:TPW-EXE:0x4726D0 aggregate reset] for every channel that is not flagged 0x20 the bound clip's listed nodes (0x4727D5..0x47281D) and every node its tracks write (0x47283B..0x472887) lose node-state bit 0x10 unless bit 31 is set; the stored node, vertex (0x1000) and texture-coordinate (0x10000) data of what the tracks write is copied back (0x472A0F..0x472B11); once, a clip with trailer flag 0x2 resets every slot that has texture flag 0x40 to frame 0 with the dirty bit (0x472B37..0x472B75, option 0x7B4980 bit 0x8 clear); a channel with flag 0x4 gets its flag 0x10 so the next sample runs (0x472B7D), and the second channel loop (every channel with AnimID other than 12, from 0x472932) ends with the rebind 0x472D70 (call at 0x472B94), which sets node-state bit 0x10 again on every node of the clip's list unless bit 31 (0x472E6B..0x472E78 by id, 0x472ED9 by index); the per-track node flags 0x40000, 0x200000, 0x400000 and 0x100000 (reset mask 0xF40000 / 0x800000 at 0x472712..0x472728, applied 0x472876, set again by 0x472D70) end unchanged and are not modelled |
| TPW-EXE:0x473440 frame refresh | source/OpenTPW/World/SceneClock.cs:22 | [BIN:TPW-EXE:0x473440 frame refresh] each frame stores the new reading (0x7B496C) and the gap to the previous one times 0.001 as a float (0x7B497C) |
| TPW-EXE:0x473490 channel frame arithmetic | source/OpenTPW/World/Objects/ObjectAnimator.cs:34 | [BIN:TPW-EXE:0x473490 channel frame arithmetic] The PC frame is (u32)(now − start) · speed · 0.03f on x87 = 30 per second (0x473490, 0x4735d0), so the Mac rate agrees (float rounding may differ slightly). Channel flag 0x40 selects the unscaled clock 0x7b4974, else the scaled clock 0x7b496c, both refreshed by 0x473440 from the timer 0x785970; ride channels use the scaled clock, the advisor the unscaled one. (RIDES-001 retired.) |
| TPW-EXE:0x4735D0 clip end | source/OpenTPW/World/Objects/ObjectAnimator.cs:586 | [BIN:TPW-EXE:0x4735D0 clip end] a non-looping clip with nothing deferred restarts as AnimID 14 (0x473866: 0x472f60 with 0xe), which only sets the channel flags 0x14 (frozen on the last frame, ended: GETANIM -1) and leaves the channel's AnimID and sub as they were, so the next start's copy-back (0x472f60 -> 0x472310) runs against the ended clip itself, which is what this does; the AnimID-14 table slot is never read |
| TPW-EXE:0x47376E clip-end routes | source/OpenTPW/World/Objects/ObjectAnimator.cs:587 | [BIN:TPW-EXE:0x47376E clip-end routes] the end of a clip with nothing deferred tests the instance flag word (+4) & 0x18: clear = the loop or AnimID 14 route modelled here (every ride, shop and scenery object that has a clip beyond AnimID 0), 0x10 alone = the hold route (<see cref="holdsLastFrameAtClipEnd"/>), 0x8 = stop as AnimID 12 and hide, which only the advisor model has (its loader 0x429ba0 passes inner flag 0x100, the one path to record flag 0x8 at 0x461f10; objects never do: the object loader passes no outer 0x200, 0x4629d0 maps outer 0x200 to inner 0x100) and which AdvisorRig does not take through this class (RIDES-003 retired) |
| TPW-EXE:0x4737D7 hold route | source/OpenTPW/World/Objects/ObjectAnimator.cs:569 | [BIN:TPW-EXE:0x4737D7 hold route] with instance flag 0x10 and 0x8 clear the end of a clip with nothing deferred (looping or not) sets the frame to the total, ORs 0x40400000 into the instance flags, clears channel flag 0x8 and, after the sampler has run on the last frame, restarts the channel as AnimID 12 with flags 0x4 (0x473a30: 0x472f60 with AnimID 0xc, sub 0, flags 4): ended (GETANIM -1) with the AnimID 12 the next start's copy-back skips. The flag is set by 0x473e30 (0x473f32) when only animation group 0 (AnimID 0, letter C) holds clips |
| TPW-EXE:0x473F2B instance flag 0x10 | source/OpenTPW/World/Objects/ObjectAnimations.cs:64 | [BIN:TPW-EXE:0x473F2B instance flag 0x10] 0x473e30 (called by the creator 0x463060 at 0x4631d6 with (instance, 1, 0, 0)) walks the twelve animation groups of the instance (count word at +0x1c + 12 × group, the groups being the letter table 0x6fe6bc in order) and ORs 0x10 into the instance flag word (+4) at 0x473f32 when no group other than group 0 has any clip; the flag has no other writer or clearer |
| TPW-EXE:0x473c30 normal refresh | source/OpenTPW/World/Objects/ObjectPickModel.cs:23 | [BIN:TPW-EXE:0x473c30 normal refresh] the creation tail of every instance, fixed ones included (0x463060 at 0x4638f7..0x463937), sets node flag 0x10000 on every node of the model (a loop over the |
| TPW-EXE:0x473c30 normal refresh | source/OpenTPW/World/Objects/OriginalObject.cs:309 | [BIN:TPW-EXE:0x473c30 normal refresh] every instance's creation tail refreshed the face normals of every node (fixed objects too), from the vertices the instance then had: the conformed copy of a non-fixed |
| TPW-EXE:0x473c70 idle restart | source/OpenTPW/World/Objects/ObjectAnimator.cs:28 | [BIN:TPW-EXE:0x473c70 idle restart] The idle restart (Mac 0xa798c–0xa79c8) never fires for placed rides: placement through 0x4db090 → 0x4dd500 (flags 0x361/0x32f) and script-spawned instances (0x55a720, 0x549faf, 0x54a237, 0x54a715; flags 0x101) always set bit 4; the creator 0x463060 sets bit 4 from argument bit 1 and 0x8000 from argument 0x80. (RIDES-034 retired.) |
| TPW-EXE:0x473f50 channel remaining time | source/OpenTPW/World/Objects/ObjectAnimator.cs:505 | [BIN:TPW-EXE:0x473f50 channel remaining time] the query returns ftol((record +0x1c − record +0x20) × [0x6fec10]) for the channel record, the same remaining-time formula as the deferred trigger |
| TPW-EXE:0x4740d0 rotation blend | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:57 | [BIN:TPW-EXE:0x4740d0 rotation blend] 0x7b4980 is written only by its setter 0x4740d0, which start-up (0x457a90) calls once with 0, so bit 2 is clear and the clip sampler slerps the rotation keys (0x474490 → 0x4742a0) |
| TPW-EXE:0x4742A0 rotation blend | source/OpenTPW.Files/Formats/Model/ModelRotationBlend.cs:32 | [BIN:TPW-EXE:0x4742A0 rotation blend] d = w·w + z·z + y·y + x·x summed in that order; d + 1 at most 0.001 (0x6FEC70) takes the opposite-keys branch, 1 − d at most 0.001 the nearly equal one (weights 1 − t and t); else θ = acos(d), sin θ = table[ftol(θ·scale) & mask] and the weights table[ftol((1 − t)·θ·scale) & mask] / sin θ and table[ftol(θ·t·scale) & mask] / sin θ, the keys scaled and added componentwise; no hemisphere flip |
| TPW-EXE:0x4742A0 rotation blend | source/OpenTPW/World/Coasters/CoasterPylonRig.cs:58 | [BIN:TPW-EXE:0x469940 pylon ground node] the bottom node's ground node (model +0x2c) is conformed to the terrain's corners and hidden on stacked nodes unless pylon flag 0x10 is set; the part flag hides only its own mesh (0x57a5e3, 0x4723f9), and the clip sampler's rotation blend is the ported table-sine one (ModelRotationBlend, [BIN:TPW-EXE:0x4742A0 rotation blend]) |
| TPW-EXE:0x4743E0 opposite keys | source/OpenTPW.Files/Formats/Model/ModelRotationBlend.cs:33 | [BIN:TPW-EXE:0x4743E0 opposite keys] with d + 1 at most 0.001 the result starts as (−from.y, from.x, −from.w, from.z); x, y and z become that times table[ftol(t·π/2·scale)] plus from times table[ftol((1 − t)·π/2·scale)], and w stays from.z (0x4743E0..0x474487 never writes the fourth component again) |
| TPW-EXE:0x4745c0 UV add pass | source/OpenTPW.Files/Formats/Model/ModelUvAnimation.cs:81 | [BIN:TPW-EXE:0x4745c0 UV add pass] for every corner of the block the clip time at +0x20 is truncated (ftol 0x474623), the first key whose tick is above it ends the segment (0x47462d..0x474650, the key before it starts it, t = (time − tick before) / (tick − tick before), 0x474745..0x47477f) or the last segment holds with t = 1 (0x474652); u = u1 × t + u0 × (1 − t) and v the same (0x474663..0x4746a3), and the add path (the model's relative flag, argument 4) adds them to the corner's stored U and V (0x4746ae..0x4746c0: the coordinates live in groups of four, the four Us then the four Vs, 0x20 bytes per group); the set path 0x4746d6 stores them |
| TPW-EXE:0x475650 Scripts writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:494 | [BIN:TPW-EXE:0x475650 Scripts writer] 'SCPT', 0x118, the slot count, the slot words, then the 0x118-byte record of each nonzero slot from 1 on |
| TPW-EXE:0x475730 Scripts loader | source/OpenTPW.Files/Formats/Save/SaveBlockWidths.cs:138 | [BIN:TPW-EXE:0x475730 Scripts loader] without 'SCPT' and the 0x118 record size the original reports "Restore scripts FAILED" and the whole load fails |
| TPW-EXE:0x4757D0 Scripts loader | source/OpenTPW.Files/Formats/Save/SaveScriptsBlock.cs:141 | [BIN:TPW-EXE:0x4757D0 Scripts loader] 'SCPT' and 0x118, else "Restore scripts FAILED" (branch 0x4758B4) |
| TPW-EXE:0x476CBF control matrix | source/OpenTPW/UI/Original/UiModel.cs:195 | [BIN:TPW-EXE:0x476CBF control matrix] every vertex of a UI control model ends at depth 0: the control matrix 0x476C50 stores m22 = 0 (and no z translation), so the clip z of a vertex is 0 whatever the model's z; the part |
| TPW-EXE:0x476F10 model object handlers | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:19 | [BIN:TPW-EXE:0x476F10 model object handlers] the model objects' classes (0x476A90, 0x477250, 0x477580) test neither message 0x80 nor 8 in their handlers (0x476F10, 0x477310, 0x477640), so nothing shows a hidden icon again |
| TPW-EXE:0x476e80 state selection | source/OpenTPW/UI/Original/UiModel.cs:91 | [BIN:TPW-EXE:0x476e80 state selection] the state of a control is the node reached by walking [model+0x78] (the root) down the first-child link (+0xc) [control+0xc] + [control+0xa] times; the constructor 0x476a90 hides every node of that chain (flags |= 0xc8010) and the selection shows the chosen one (flags &= ~0x8010). A walk that runs out of nodes selects nothing: the control draws no frame |
| TPW-EXE:0x476fd3..0x47708f selected-mesh fitting | source/OpenTPW/UI/Original/UiModel.cs:228 | [BIN:TPW-EXE:0x476fd3..0x47708f selected-mesh fitting] transform only the two stored |
| TPW-EXE:0x477f4e vertical gauge | source/OpenTPW/UI/Original/UiVerticalGauge.cs:9 | [BIN:TPW-EXE:0x477f4e vertical gauge] message 8 sets value / 1024; 0x477cc0 and 0x477d20 move the geometry and UV boundary together. |
| TPW-EXE:0x477ff0 gauge model | source/OpenTPW/UI/Original/UiGauge.cs:11 | [BIN:TPW-EXE:0x477ff0 gauge model] the gauge's two models are built from the texture ridestatbar.wct (string 0x750e00, used by the builders of the buy, ride, shop, sideshow, attractions, visitors, employee and staff windows); the draw cuts the bar quad at value / 1024 of its width with the texture's u at the same share (0x478400, see FullValue), so the colours are the art's: red at the left end running through orange and yellow to green (a 20 % bar of the hire window shows red to orange, as the video's guard candidate of 12:00 does) |
| TPW-EXE:0x478400 | source/OpenTPW.Tests/HudVideoRoundTests.cs:25 | [BIN:TPW-EXE:0x478400] the bar is the art's top half cut off at value / 1024 of its width, the track its bottom half behind the whole bar |
| TPW-EXE:0x47EE0D P window layers | source/OpenTPW/Hud/ParkHud.PointerInput.cs:70 | [BIN:TPW-EXE:0x47EE0D P window layers] 0x47ED80 makes the layer (0x65DD7B, (0,0)-(0x7FF,0x5FF), attributes 1), gives it the model 'lolight' (0x74F9BC, 0x65D1C8) and builds the panel from the table 0x752E00 under it: the table's one window 0x13E6 draws the model s_paused (the language folder's paused.MD2); its procedure 0x4A2680 starts the animation 0x752ED0 on message 0x15 |
| TPW-EXE:0x47FC50 zero axis | source/OpenTPW/UI/Original/GraphBackdrop.cs:70 | [BIN:TPW-EXE:0x47FC50 zero axis] negative minima omit the nonnegative branch's extra bottom pixel. |
| TPW-EXE:0x47FCD0 graph grid | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:83 | [BIN:TPW-EXE:0x47FCD0 graph grid] a line and its label (the step number, from 1) at the end of every step whose count passes 0, 2 or 11 (12, 36 and 144 samples); the horizontal lines are the ten divisions of the height |
| TPW-EXE:0x47FCD0 grid columns | source/OpenTPW/UI/Original/GraphBackdrop.cs:36 | [BIN:TPW-EXE:0x47FCD0 grid columns] store each sample advance as a float, including unlabelled steps; truncate only the emitted column. |
| TPW-EXE:0x47FE90 graph drawer | source/OpenTPW/UI/Original/GraphBackdrop.cs:120 | [BIN:TPW-EXE:0x47FE90 graph drawer] with a zero range ([+0x24] - [+0x1C]) both ends of a segment sit on the bottom row ([+0x14]); otherwise y = bottom - ((v - min) * [+4]) / range in integers, then cut to top ([+0xC]) .. bottom |
| TPW-EXE:0x47FE90 graph drawer | source/OpenTPW/UI/Original/GraphBackdrop.cs:132 | [BIN:TPW-EXE:0x47FE90 graph drawer] x starts at the left ([+8]) as a float and each segment adds the step (width / samples stored as a float, 0x47FEAF) to the x before it was cut to the plot, both ends cut to left .. right and truncated (0x67A830) |
| TPW-EXE:0x47FE90 last value | source/OpenTPW/UI/Original/GraphBackdrop.cs:192 | [BIN:TPW-EXE:0x47FE90 last value] the series' last value is written ("%d", 0x74F9D8) right-aligned against the end of the line, from 6 pixels above its row (2 at the least); a series with no segment writes it at the plot's left, 6 less than the sample count down |
| TPW-EXE:0x47FF1C segment ends | source/OpenTPW/UI/Original/GraphBackdrop.cs:172 | [BIN:TPW-EXE:0x47FF1C segment ends] the far end is the x plus the step (a float), the next x the cut near end plus the step |
| TPW-EXE:0x47FFE0 sample marks | source/OpenTPW/UI/Original/GraphBackdrop.cs:181 | [BIN:TPW-EXE:0x47FFE0 sample marks] with fewer than 0x90 samples each segment end gets a hollow box of four one-pixel lines round it |
| TPW-EXE:0x47ed80 P window | source/OpenTPW/Hud/ParkHud.PointerInput.cs:45 | [BIN:TPW-EXE:0x47ed80 P window] the P window's 'lolight' backdrop (0x65dd7b, rect 0,0,0x7ff,0x5ff, flags 1, hidden byte 0) is an eligible receiver of |
| TPW-EXE:0x47ee67 | source/OpenTPW.Tests/OrderedParkPointerPipelineTests.cs:826 | [BIN:TPW-EXE:0x47ee67] the P window holds the focus and is the hit window of every point: the screens below it get no wheel |
| TPW-EXE:0x47ee67 P window focus | source/OpenTPW/Hud/ParkHud.cs:1067 | [BIN:TPW-EXE:0x47ee67 P window focus] the P window holds the focus and is the hit window of every point: no key, text or wheel reaches the screens below it (only the P key, which its procedure takes) |
| TPW-EXE:0x47ee67 P window focus | source/OpenTPW/Hud/ParkHud.cs:1109 | [BIN:TPW-EXE:0x47ee67 P window focus] the P window takes the focus (0x47ee67 -> 0x65e59b), so a key reaches only its procedure 0x4a2680 (the P key and the panel's animation) while the backdrop is up: no HUD shortcut works under it |
| TPW-EXE:0x47efac box close resume | source/OpenTPW/Hud/ParkHud.PointerInput.cs:97 | [BIN:TPW-EXE:0x47efac box close resume] the box's procedure 0x47EED0 resumes on its destruction (0x47EFAC-0x47EFDA) when its own property 5 says it paused; the P key does not clear the enable word, so a box opened during P pauses again and its close ends the P pause |
| TPW-EXE:0x47f26c message box pause | source/OpenTPW/Hud/ParkHud.cs:244 | [BIN:TPW-EXE:0x47f26c message box pause] the generic message box 0x47F020 pauses (0x4092A0(0, 0)) and clears the enable word only while that word is 1 and [0xF82884] is 0 (it is 0 in every park: only the front end sets it), so its boxes pause every park (a logged-in player's own park included) and, when |
| TPW-EXE:0x47f410 alert queue | source/OpenTPW/Hud/ParkHud.cs:247 | [BIN:TPW-EXE:0x47f410 alert queue] the alert queue 0x47F620 (fed through 0x47F410 with ERRORMSG.str ids) shows each entry as a 0x47F020 box (0x47F76E, UITEXT-style one-button box, kind 2); an offline park builds one when the postcard composer 0x4A8C00 is asked for and the check 0x5B6460 on the online object [0xF7D88C] returns 0: ERRORMSG 0x4E is queued at 0x4A8C89 instead of the window (the postcard close 0x4A91D0-0x4A9265 reaches it) |
| TPW-EXE:0x4801D0 series maximum | source/OpenTPW/Economy/ParkStatisticsHistory.cs:240 | [BIN:TPW-EXE:0x4801D0 series maximum] the scan reads samples 0 up to and including the period's sample count stops at the first it cannot read, and keeps the largest strictly above 0, and when none is above 0 it still reads the slot after the head (0x480263..0x48028B, 0x48033b..0x480369) and keeps it if it is above the maximum; the single ring's maximum (0x4802A0) is truncated to an integer |
| TPW-EXE:0x480263 max scanner quirk | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:184 | [BIN:TPW-EXE:0x480263 max scanner quirk] 0x4801D0 leaves its index at -1 when nothing is above 0 and then still reads slot head + 1 (0x480273, 0x480287) and keeps it if it is above the maximum; the minimum scanner guards this case (0x480413) |
| TPW-EXE:0x480460 period | source/OpenTPW/Economy/ParkStatisticsHistory.cs:135 | [BIN:TPW-EXE:0x480460 period] the period index 0, 1 and 2 map to 0xC, 0x24 and 0x90 samples; any other index to 0 |
| TPW-EXE:0x480460 sample count | source/OpenTPW/Economy/ParkStatisticsHistory.cs:27 | [BIN:TPW-EXE:0x480460 sample count] the graph's reader takes the size once the wrapped flag is set, else the head + 1, as the number of samples it can show |
| TPW-EXE:0x480460 sample count | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:165 | [BIN:TPW-EXE:0x480460 sample count] a graph reads the ring's size once it has wrapped, else its head + 1, as the samples it can show; the rings of 0x240 bytes hold 144 entries, and a month's sample goes in when the month closes (0x4C7720 pushes each ring through 0x4CE290, the bank at 0x4C7771), so the running month is on no ring |
| TPW-EXE:0x480460 series points | source/OpenTPW/Economy/ParkStatisticsHistory.cs:272 | [BIN:TPW-EXE:0x480460 series points] n = min(period samples, entries held); the buffer holds n + 1 values, sample n back down to sample 0, an unreadable sample keeping the previous value (0 at the start); a single ring (0x480570) truncates each to an integer |
| TPW-EXE:0x480460 series points | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:238 | [BIN:TPW-EXE:0x480460 series points] n = min(period samples, closed months held); the buffer holds n + 1 values, the sample n months back down to the newest closed month, an unreadable sample (the one past the months held) keeping the previous value (0 at the start): a graph of few months fills from the left over x steps of width / samples and starts at 0 before its first month; the running month is not on the ring, so a new park draws one 0 point |
| TPW-EXE:0x4806A0 graph setup | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:73 | [BIN:TPW-EXE:0x4806A0 graph setup] 0x47FB50(4, 4, width - 20, height - 20) sets the plot's left, top, right and bottom (width and height of the control's rectangle at the display mode's pixel size) |
| TPW-EXE:0x4806A0 graph setup | source/OpenTPW/UI/Original/GraphBackdrop.cs:13 | [BIN:TPW-EXE:0x4806A0 graph setup] both windows use the same bitmap inset and opaque colour records. |
| TPW-EXE:0x480810 backdrop order | source/OpenTPW/UI/Original/GraphBackdrop.cs:101 | [BIN:TPW-EXE:0x480810 backdrop order] bitmap clear, plot fill, grid and its labels, axes, then the caller draws its series. |
| TPW-EXE:0x481790 locator key | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:86 | [BIN:TPW-EXE:0x481790 locator key] Ctrl+S tests the open employee window [0x7cc3c0] and locates its employee (0x4b3f60), so the key acts while that window is open |
| TPW-EXE:0x481901 visitor deleted | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:407 | [BIN:TPW-EXE:0x481901 visitor deleted] the thing event listener (0x50ca50, message 0x1b) tells the visitors list (0x493c10) and the locator (0x4b3620) about a deleted guest: when the located actor |
| TPW-EXE:0x481A10 camcorder tool | source/OpenTPW/Hud/ParkHud.Camcorder.cs:35 | [BIN:TPW-EXE:0x481A10 camcorder tool] the key and the panel's button 99 build the tool object 0x46CFF0 (vtable 0x6FEAD0) and make it the park's tool (0x46C350); the walk or the ride starts with its click, not at the button |
| TPW-EXE:0x481bc0 thing fill | source/OpenTPW/Hud/AllStaffRoster.cs:80 | [BIN:TPW-EXE:0x481bc0 thing fill] the fill takes the per-role chain for the tab's mask (2, 4, 0x10, 8, 0x20; heads at game +0x1da73c..+0x1da744) and calls the row adder 0x496320 for each thing, following the links at +0x210; |
| TPW-EXE:0x485780 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:442 | [BIN:TPW-EXE:0x485780] button message 0x100 clicks; a type-7 list row posts 0x400, never 0x100 (ListOwnerAudioTests, docs/AUDIO.md "List owners"). |
| TPW-EXE:0x485780 UI message hook | source/OpenTPW/UI/Original/UiWidgets.cs:695 | [BIN:TPW-EXE:0x485780 UI message hook] installed once by the UI init 0x489ca0 (via 0x6590ea, stored at 0xfaa5fc) and called for every control message by the dispatcher 0x658d9f and the queue pump 0x658e42 (the call at 0x658eb2) before the control's own procedure. Message 0x100 plays cat_ui 0x1F, or 0xBD when the receiver's style word +0x48 has bit 0x10 (the choice at 0x4857cb). The button class 0x668f9c is the only sender of 0x100 for a mouse release over a button: it posts to the button's parent ([+0x60]) at 0x6691eb through the queue 0x658ccc, on a release over the button that was pressed. Window procedures also send 0x100 to their own window (0x48d83b, 0x49973e, 0x49ec53, 0x4a6df5 (via the dispatcher 0x658d9f), 0x4b640a, 0x4b9f06, 0x4bb020 and 0x4bfc29; ids -1, -2 and 0xe059, on 0x802 or 0x804), and the hook clicks for those too by that window's own style (style 1 in all eight: 0x1F); OpenTPW's dialogs route Enter to their tick's Activate there (docs/AUDIO.md, "List owners"). A release after auto-repeat has started (hold state +0x15a is 2, 0x668eff) returns false and posts no 0x100, so the sound is skipped then too. |
| TPW-EXE:0x485d20 park name control | source/OpenTPW/Hud/ParkHud.Management.cs:208 | [BIN:TPW-EXE:0x485d20 park name control] 0x4F3AF is a title text control (0x485D20 with the title colour) with no plate, so it is clickable title text, not a button |
| TPW-EXE:0x485e30 gauge inset | source/OpenTPW/UI/Original/UiGauge.cs:37 | [BIN:TPW-EXE:0x485e30 gauge inset] the callers 0x4ab6b0 (buy window gauges 0x1ee, 0x1ef, 0x1f0), 0x4ad890 (ride window 0x3e16..0x3e19), 0x4afc10 and 0x4b1040 (shop and sideshow windows) all push 0 and 10; the attractions and visitors lists (0x496620: 8, 0x4939d0 and 0x494690: 10) and the employee and training windows use their own |
| TPW-EXE:0x485f60 object status | source/OpenTPW/Economy/RideStateRules.cs:142 | [BIN:TPW-EXE:0x485f60 object status] condemned (state 4); TRACK INCOMPLETE (a track ride's +0x2c clear, a coaster failing 0x441910); TRACK INVALID (coaster +0x140 nonzero); an upgrade (state 2) by its mechanic: none hired, on strike, claimed (on the way), at work, waiting; a called service (+0x64) the same for the mechanics (a repair) or, for a relief object, the handymen (a cleaning); broken down (state 1), or REPAIRS IN PROGRESS while the claimant works; the queue (+0x32 bit 3, 0x4de4a0) open or closed; a ride's exit (0x4de5a0); CLOSED (+0x68 clear); the "waiting to be" entries 367, 373 and 379 are never returned |
| TPW-EXE:0x485f60 service progress | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:496 | [BIN:TPW-EXE:0x485f60 service progress] none hired (the world's role count), on strike (0x509990), claimed (+0x5e) and on the way, or the claimant at work on this object (0x4e02f0 → 0x5065d0), else waiting |
| TPW-EXE:0x4862A0 chat mode | source/OpenTPW/Hud/ParkHud.VisitChat.cs:27 | [BIN:TPW-EXE:0x4862A0 chat mode] in chat mode the HUD (0x7CB2AC) does not exist: the overlay (0x7CC8BC) or a bare full-screen panel (0x7CC8C0, 0x65DD7B) stands over the park, and F4 (key 0x73 in the entry's handler 0x4BE3A0, flag 0x7CC8B4) switches between them |
| TPW-EXE:0x4862A0 chat mode | source/OpenTPW/Hud/ParkHud.cs:1111 | [BIN:TPW-EXE:0x4862A0 chat mode] the HUD's key groups go with the HUD: the chat mode has none of its windows or tools |
| TPW-EXE:0x486530 clone hotspot | source/OpenTPW/UI/Original/EmployeePortraitGeometry.cs:15 | [BIN:TPW-EXE:0x486530 clone hotspot] signed half-width and quarter-height shifts; scale 8 gives trunc(8 * -0.25) = -2 Y. |
| TPW-EXE:0x486660 list header | source/OpenTPW/UI/Original/UiWidgets.cs:126 | [BIN:TPW-EXE:0x486660 list header] the builder gives the header control the model named 0x74FDF0 "!cbut" (0x659BC9 finds it by its root-name hash, 0x65D070 sets it; ui.wad's !cbut.MD2 has six frames of the 64 x 64 b_header texture, a nine-patch plate) and its text, centred (0x65C428, 0x65C4B9) in UiColors.ListHeader; the model object class 0x476A90 draws the state frame the button's state selects, and all six frames show the same plate |
| TPW-EXE:0x486660 no model-less text button | source/OpenTPW/UI/Original/UiWidgets.cs:739 | [BIN:TPW-EXE:0x486660 no model-less text button] no PC screen draws a model-less text button (the original's list headers are the !cbut model, UiContext.DrawListHeader), so the purple_button plate below only serves OpenTPW's own screens, each under its approved label: [EXT:ONLINE-UI] and [EXT:own-window-sizes] (the online screens' log in/out, online menu, visit, unpublish, listed, players, share and login-form buttons), [EXT:mods-ui] (mods page), [EXT:SETUP] and [EXT:tpi-viewer] (game files page), [EXT:opentpw-page] (options page), [EXT:tpi-text-hud] (Theme Park Inc HUD), [EXT:load-chooser] (the load screen's load button), [EXT:speed-buttons] (the HUD speed buttons), [EXT:pools-waves] (the wave pool settings button), [EXT:theme-continue] and [EXT:save-extension-switch] (the choice dialog's buttons, UiDialogs), [EXT:overview-select-button] (go-to-attraction button) and [EXT:staff-employee-view] (staff employee view button) |
| TPW-EXE:0x486724 list header colour | source/OpenTPW/UI/Original/UiText.cs:325 | [BIN:TPW-EXE:0x486724 list header colour] the header builder 0x486660 (59 calls in the list windows: All Visitors 0x493530, the four attraction lists 0x494250..0x495110, All Staff 0x496620, hire 0x49bdd0, loans 0x49fb30, buy 0x4acc70, 0x4b46a0, the online lists) gives its text control the colour (r, g, b) = (0xFF, 0xEF, 0) from the callers' pushed arguments (0x4936xx and the like) and sets the press and hover colours to the same value (0x668f5a, 0x668f7b), so the text keeps its colour and only shifts with the pointer (DrawListHeader) |
| TPW-EXE:0x4867B0 locate thing | source/OpenTPW/Hud/ParkHud.TagActions.cs:43 | [BIN:TPW-EXE:0x4867B0 locate thing] a word of 0 returns; the thing record of the table 0x7CFB90 (20 bytes a slot) gives the cell bytes +5 and +7 and 0x42AAB0 jumps the camera to (x * 10, z * 10) with no zoom or yaw change |
| TPW-EXE:0x4868D0 locate cell | source/OpenTPW/Hud/ParkHud.TagActions.cs:66 | [BIN:TPW-EXE:0x4868D0 locate cell] x = (word - 1) & 0x7F and z = (word - 1) >> 7, then the same jump 0x42AAB0(x * 10, z * 10); the original reads no memory for a word of 0: `dec eax` makes x 0x7F and z 0x1FFFFFF and 0x42AAB0 stores that target unclamped, which no post of ours carries |
| TPW-EXE:0x486BCE burst while paused | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:57 | [BIN:TPW-EXE:0x486BCE burst while paused] 0x486B90 makes nothing while the pause word [0x786B84] (the pause object's flag +0x1C) is set, and 0x48DFC6 sets property 10 all the same: a tag shown during a pause never bursts |
| TPW-EXE:0x486aa0 modifier mask | source/OpenTPW/Global/Input.cs:114 | [BIN:TPW-EXE:0x486aa0 modifier mask] GetAsyncKeyState of VK_SHIFT (0x10), VK_CONTROL (0x11) and VK_MENU (0x12) gives 3, 0xc and 0x30, or-ed together |
| TPW-EXE:0x487013 hover mode 7 | source/OpenTPW.Tests/FreeWalkCameraReviewTests.cs:153 | [BIN:TPW-EXE:0x487013 hover mode 7] a visitor press needs Shift alone (or the visitor locator panel out) |
| TPW-EXE:0x487013 hover mode 7 | source/OpenTPW.Tests/PostcardShortcutReviewTests.cs:105 | [BIN:TPW-EXE:0x487013 hover mode 7] a visitor press needs Shift alone (or the visitor locator panel out) |
| TPW-EXE:0x487013 hover mode 7 | source/OpenTPW.Tests/VisitorWorldSelectionTests.cs:150 | [BIN:TPW-EXE:0x487013 hover mode 7] a visitor is picked with Shift alone and no locator panel, or with the visitor locator panel out and no modifier |
| TPW-EXE:0x487013 hover mode 7 | source/OpenTPW/Hud/ParkHud.VisitorSelection.cs:21 | [BIN:TPW-EXE:0x487013 hover mode 7] the hover handler 0x486d90 builds the modifier mask (Shift 3, Ctrl 0xc, Alt 0x30; GetAsyncKeyState 0x10, 0x11, 0x12) and reads the locator mode 0x4b4480 ([0x7cc2f0], 0 none, 1 staff, 2 visitors): |
| TPW-EXE:0x487013 hover modes | source/OpenTPW/Hud/ParkHud.cs:1382 | [BIN:TPW-EXE:0x487013 hover modes] with Shift alone, or with the visitor locator panel out, the hover handler picks visitors only (IsVisitorPickState) and no object mode is set |
| TPW-EXE:0x4875ae hover class 6 | source/OpenTPW/World/Level.Coasters.cs:688 | [BIN:TPW-EXE:0x4875ae hover class 6] the hover handler 0x486d90 maps a hovered cell of map type 0x15 to cursor mode 6 (switch 0x4875ae, mode set at 0x48772b, help 0xb) once no visitor or staff member is hovered; the click dispatcher's case 6 (0x487e56, switch 0x487a74) takes the cell's owner thing (the cell record +0x2a4 → 0x4d99e0, the thing table 0x7cfb90 with 20-byte records) and calls 0x4988c0 on it at 0x487eeb, with no owner it does nothing (0x48813d); no window opens |
| TPW-EXE:0x4879D0 object click | source/OpenTPW/Client/ThemeParkIncHud.cs:544 | [BIN:TPW-EXE:0x4879D0 object click] the click selects the owner of the hovered cell, the cell of the cursor ray's nearest hit on the terrain or an object's model (0x45bf90, ObjectRayPick), |
| TPW-EXE:0x4879D0 object click | source/OpenTPW/Hud/ParkHud.cs:1383 | [BIN:TPW-EXE:0x4879D0 object click] the object a park click opens is the owner of the hovered cell: the hover handler 0x486d90 sets cursor mode 4 for a hovered cell of map type 4, 9 or 10 |
| TPW-EXE:0x4879D0 object copy | source/OpenTPW.Tests/ObjectRayPickTests.cs:558 | [BIN:TPW-EXE:0x4879D0 object copy] Ctrl at the press on a placed object arms a copy of it (the mode 4 build tool of its Info id, 0x46C5A0) at the object's own angle (0x52F1B0) and opens no window. |
| TPW-EXE:0x4879D0 object copy | source/OpenTPW/Hud/ParkHud.cs:575 | [BIN:TPW-EXE:0x4879D0 object copy] the click dispatcher's mode 4 (the hovered cell's owner, 0x527e80) tests GetAsyncKeyState(VK_CONTROL) (0x487b0b: either Ctrl key): without it the object's window opens (0x486920), with it the type record of the thing's Info id (+0xE, 0x4D3D10) is read, the bank's balance (0x5195D0, +0xC) below the record's price (+4) plays cat_ui 0x1D (0x487bf1) and returns, else the build tool object of mode 4 for that Info id (0x46C5A0(4, id), the call the buy row makes at 0x4AC6EF after the same comparison at 0x4AC6C7) becomes the tool (0x46C350) and the tool's angle takes the thing's +0x10 (0x52F1B0) |
| TPW-EXE:0x4879D0 park click | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:173 | [BIN:TPW-EXE:0x4879D0 park click] the press enters the path tool (0x46C580(1), SetMode(1, 1)): no start, nothing laid; [BIN:TPW-EXE:0x524960] the release is its first click |
| TPW-EXE:0x4879D0 park click | source/OpenTPW/Client/SandboxSmokeTest.Paths.cs:68 | [BIN:TPW-EXE:0x4879D0 park click] the press on an empty owned cell enters the path tool with no start; [BIN:TPW-EXE:0x524960] its release is the tool's first click |
| TPW-EXE:0x487b0b object copy | source/OpenTPW/Hud/ParkHud.cs:1414 | [BIN:TPW-EXE:0x487b0b object copy] Ctrl at the click arms a copy of the object instead of opening its window (CopyObject); the chat mode has no object window |
| TPW-EXE:0x487eeb coaster click | source/OpenTPW/Hud/ParkHud.cs:1400 | [BIN:TPW-EXE:0x487eeb coaster click] a press on a marker cell of a coaster (cursor mode 6) selects that thing (0x48c940) and enters its track tool through 0x4988c0, opening no window |
| TPW-EXE:0x4881AE held-back right press | source/OpenTPW.Tests/CameraControlTests.cs:19 | [BIN:TPW-EXE:0x4881AE held-back right press] with RMBCancelOn the right press is not the camera's drag until it has lasted 200 ms or strayed 8 px on an axis (0x48823F, 0x488265, 0x48827F); |
| TPW-EXE:0x4881AE held-back right press | source/OpenTPW/World/ParkCameraMode.cs:239 | [BIN:TPW-EXE:0x4881AE held-back right press] with the option set the park view's mouse procedure 0x4881A0 does not forward the right press (0x10005) to the camera (0x74FC2C cleared at 0x488354) but remembers its time and position (0x7C2504, 0x7B5344/0x7B9774); the first message 0x1E older than 200 ms (0x48823F) or a move beyond 8 px on either axis (0x488265, 0x48827F) forwards it (0x42A760 with 0x10005 at 0x48828B), the drag starting at that position |
| TPW-EXE:0x488239 right click time | source/OpenTPW/UI/Original/UiInput.cs:72 | [BIN:TPW-EXE:0x488239 right click time] the park view's mouse procedure 0x4881A0, with RMBCancelOn set (0x4881AE), holds a right press back (0x7C2500, the time 0x7C2504) and turns it into the camera's drag (0x42A760 with 0x10005) on the first message 0x1E that finds it older than 200 ms (cmp 0xC8 at 0x48823F) |
| TPW-EXE:0x488265 right click slop | source/OpenTPW/UI/Original/UiInput.cs:75 | [BIN:TPW-EXE:0x488265 right click slop] a move (0x10003) more than 8 px from the press position on either axis (cmp 8 at 0x488265 and 0x48827F, the position kept at 0x7B5344/0x7B9774) turns the held-back press into the camera drag |
| TPW-EXE:0x488434 | source/OpenTPW.Tests/HudToolClick.cs:38 | [BIN:TPW-EXE:0x488434] the quick right click is the release's: the HUD's per-delivery flag the park view's tools cancel on |
| TPW-EXE:0x488434 | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:294 | [BIN:TPW-EXE:0x488434] with RMBCancelOn a right press let go within 200 ms and 8 px ends the mode (0x52F200(0, 1)) at the release; the press itself does nothing |
| TPW-EXE:0x488434 right click cancel | source/OpenTPW/Hud/ParkHud.cs:1360 | [BIN:TPW-EXE:0x488434 right click cancel] with RMBCancelOn a right press the park view took and let go within 200 ms and 8 px ends the mode (0x52F200(0, 1)) at the release, wherever the pointer then is; nothing happens on the press |
| TPW-EXE:0x488760 left press | source/OpenTPW.Tests/ObjectRayPickTests.cs:538 | [BIN:TPW-EXE:0x488760 left press] the click dispatcher 0x4879D0 runs on the press (message 0x10005), before the mode object's press slot: in the idle mode the window of the hovered object opens |
| TPW-EXE:0x488768 left press | source/OpenTPW/Hud/ParkHud.cs:1389 | [BIN:TPW-EXE:0x488768 left press] the press (message 0x10005) calls the click dispatcher 0x4879D0 before the mode object's press slot: in the idle mode it opens the window of the hovered object, guest or |
| TPW-EXE:0x488921 key dispatch | source/OpenTPW/Hud/ParkHud.cs:466 | [BIN:TPW-EXE:0x488921 key dispatch] a key goes to the camera, game and shortcut groups in turn (0x40C990, the first nonzero callback wins); Escape's game row (0x748028, 0x40C180) ends any mode object other than the default park mode (types 0 and 1): it installs the default mode and SetMode(0) 0x52F200 without writing and consumes the key, so only the next Escape reaches the shortcut row "menu" (0x748378, 0x40C4D0), which opens the pause menu (0x4816D0); the path and queue tools run in a type-3 mode object (vtable 0x6FE9E0) |
| TPW-EXE:0x488991 cheat context | source/OpenTPW/Hud/ParkHud.Cheats.cs:40 | [BIN:TPW-EXE:0x488991 cheat context] after the camera, game and shortcuts contexts the key goes to the cheat context 0x78733C only while 0x405560 (the mode byte +0xA) is set; [BIN:TPW-EXE:0x40C990 key release] the cheat handlers sit in the entries' +0xC slot, which the release message 0x1000B calls (the press, 0x1000A through 0x40C900, only sets the entry's pressed flag at 0x40C974), with the modifier mask read at that moment |
| TPW-EXE:0x488AB7 right click leaves | source/OpenTPW/Hud/ParkHud.RideView.cs:112 | [BIN:TPW-EXE:0x488AB7 right click leaves] the camcorder window's procedure 0x488A00 acts on the click message 0x10006 (the right button's release within 200 ms and 8 px, 0x65F995) with RMBCancel on, for the walk (0x42AE70) and the ride (0x42A190) alike |
| TPW-EXE:0x488aa1 RMBCancelOn | source/OpenTPW/Hud/ParkHud.cs:1078 | [BIN:TPW-EXE:0x488aa1 RMBCancelOn] the original's screens read the option (+0x39) before a right click leaves them; the object window leaves on it too |
| TPW-EXE:0x488aa1 RMBCancelOn | source/OpenTPW/UI/Original/UiScreen.cs:67 | [BIN:TPW-EXE:0x488aa1 RMBCancelOn] the original's screens (camcorder 0x488aa1, ride view 0x48a7ab, 0x48aadb) leave on a right click only when the option [0x78d911] is set; the option's other reader is the park view's mouse procedure 0x4881a0 (a quick right click cancels the tool and mode there) |
| TPW-EXE:0x488aa1 right click | source/OpenTPW/Hud/ParkHud.RideView.cs:17 | [BIN:TPW-EXE:0x488aa1 right click] the ride view's procedure 0x488a00 (built at 0x48a1f5 and 0x48a4d4) leaves on the right-button message (button 1) when RMBCancelOn (0x78d911) is set and gui_CameraFlags ([0x790ab0]) & 0x16 is non-zero (0x488ab7), which holds while the eye camera runs; it reads no clock, so a right click leaves at once |
| TPW-EXE:0x489639 cursor loader | source/OpenTPW/Hud/ParkHud.Cursor.cs:18 | [BIN:TPW-EXE:0x489639 cursor loader] the original loads its pointers from Data/ui/cursors with LoadCursorFromFileA (cursor object 0x661935); init 0x489ca0 loads the .ani set and the .tga set (0x4899c0) and hides the system pointer |
| TPW-EXE:0x4899c0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:995 | <summary>[BIN:TPW-EXE:0x4899c0] the file of each pointer id of the cursor loader (the .ani set shares the ids).</summary> |
| TPW-EXE:0x489ca0 pointer init | source/OpenTPW/UI/Original/OriginalPointers.cs:7 | [BIN:TPW-EXE:0x489ca0 pointer init] the cursor init loads the .ani set and the .tga set (0x4899c0), hides the system pointer (ShowCursor 0) and starts with pointer 1 (busy) |
| TPW-EXE:0x489f50 pointer reference | source/OpenTPW/World/RideCameraMode.cs:138 | [BIN:TPW-EXE:0x489f50 pointer reference] the pointer's centre and half size (0x7a1c54, 0x7a1c58, 0x74d104, 0x74d108) are the full-screen park view window's (rectangle (0,0)-(2047,1535) of its creation 0x65dd7b, scaled to the screen), not the ride view window's own rectangle, which is the whole host window here too |
| TPW-EXE:0x48A580 window paint | source/OpenTPW/World/Particles/ParticleRenderer.cs:197 | [BIN:TPW-EXE:0x48A580 window paint] the frame step 0x4813B0 (0x54E71B, before the scene render) pumps the command queue (0x658E42, 0x48A5BE), posts message 2 to the root window (0x658CCC, 0x48A5D7: the priority queue 0xFAA5F4), sends the tick 0x1E (0x658F6C) and pumps the priority queue to its end (0x658F0B, 0x48A6BC), so the paint runs inside the call: the base handler 0x65C778 paints the children of a visible window (+0x48 bit 0) first, then sends message 3 and calls the window's draw slot (vtable +0); a control's draw queues its text bitmap as a sprite (0x588EF0 builds it, the quads of state 0x7060556, 0x58A26C) and the UI models' nodes the scene's walker (0x576910) lists; nothing is drawn at the paint, the scene pass of the same frame draws them |
| TPW-EXE:0x48A6E0 | source/OpenTPW.Tests/MessageTubeTagTests.cs:356 | [BIN:TPW-EXE:0x48A6E0] the pause 0x4092A0(1) of the deactivation suspends the UI timers before it builds the P window |
| TPW-EXE:0x48A6E0 pause suspends timers | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:65 | [BIN:TPW-EXE:0x48A6E0 pause suspends timers] the P key 0x409350 -> 0x481460 -> 0x48A720 toggles the window (0x4A27F0) and then suspends or resumes the UI timers (0x662411, 0x662420) by whether [0x7CB2CC] exists; only the focus loss takes 0x4092A0(1) -> 0x481440 -> 0x48A6E0 (suspend, then build the window), whose resume 0x409300 -> 0x481450 -> 0x48A700 resumes them and destroys it. The focus-loss latch therefore owns the timers until an explicit resume. |
| TPW-EXE:0x48C940 queue edit release | source/OpenTPW/Hud/ParkHud.cs:1623 | [BIN:TPW-EXE:0x48C940 queue edit release] the press on a queue cell chose the ride (0x4879D0 case 3: tool 0x14, whose enter 0x46D5A0 only sets the mode); the mode's release handler (0x524960, mode 0x14: 0x530120 walks the queue |
| TPW-EXE:0x48D9C0 message selected | source/OpenTPW/Hud/ParkHud.MessageTube.cs:218 | [BIN:TPW-EXE:0x48D9C0 message selected] the tube item's left click (0x48E03B: sound 0xC0, then 0x48D9C0 unless it is the open one) stores the item as the panel's message and posts help 0x11C (284) through 0x486B00 |
| TPW-EXE:0x48D9C0 tags are kept | source/OpenTPW/Hud/ParkHud.MessageTube.cs:21 | [BIN:TPW-EXE:0x48D9C0 tags are kept] a selection never removes the tag: it stops the timers of an armed tag that is no offer (0x48d9ee-0x48da06), copies the tag's properties to the panel (0x48da38-0x48daa6) and opens the panel; the tag leaves the tube only through 0x100002 (the expiry 0x48dd7b, the right click 0x48e0b8, the bomb 0x48e5ac, the action result 2 0x48e53b) or the replacement of the add routine (0x48ebe3) |
| TPW-EXE:0x48D9D2 selection | source/OpenTPW/Hud/ParkHud.MessageTube.cs:211 | [BIN:TPW-EXE:0x48D9D2 selection] an armed tag (byte +0x134) stops its timers unless it is an offer and, still inside that block, ends its retained particle when that lives and it is no offer |
| TPW-EXE:0x48D9E9 offer keeps its timers | source/OpenTPW/Hud/ParkHud.TubeRow.cs:79 | [BIN:TPW-EXE:0x48D9E9 offer keeps its timers] the selection routine kills both timers of a selected tag (0x48d9ee-0x48da06) unless the tag's sixth parameter, its second action, is 0x1B (the decline of an offer) |
| TPW-EXE:0x48DBE7 tag destroyed | source/OpenTPW/Hud/ParkHud.MessageTube.cs:175 | [BIN:TPW-EXE:0x48DBE7 tag destroyed] message 5: the tag's action 0x1B first (0x48db94), then the slot is found and released (0x48dbba-0x48dbe7), the retained particle is ended when it still lives (0x48dbfd-0x48dc0a), both timers are stopped (0x48dc12-0x48dc25), the occupied count drops (0x48dc5e-0x48dc6f) and the open panel closes when it shows this tag (0x48dd19-0x48dd28) |
| TPW-EXE:0x48DD80 tag warning | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:78 | [BIN:TPW-EXE:0x48DD80 tag warning] timer 0x80081: property 9 at -1 requests effect 0x5B at the window's centre (0x48de1a), stores the handle there, disables the timer (0x48de2e-0x48de35) and hides the new particle when the window is not shown (0x48de3c-0x48de49); a window that already holds a handle leaves the timer enabled (0x48dda8) |
| TPW-EXE:0x48DE1A tag particle position | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:23 | [BIN:TPW-EXE:0x48DE1A tag particle position] the window's rectangle (0x65d42e, absolute) gives the centre (right - left) >> 1 + left and (bottom - top) >> 1 + top; x = (centre * 100000 + ((centre * 100000 >> 31) & 0x7FF)) >> 11 (a truncating division by 2048) |
| TPW-EXE:0x48DEEB tag moved | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:103 | [BIN:TPW-EXE:0x48DEEB tag moved] message 0x13: a live retained particle is moved to the window's new centre (0x48df10-0x48df88) |
| TPW-EXE:0x48DFA6 tag shown | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:51 | [BIN:TPW-EXE:0x48DFA6 tag shown] message 0x11 with a shown window: property 10 still 0 requests effect 0x5A at the window's centre through 0x486B90 (which acts only for a shown window, 0x65d773) and sets it to 1 (0x48dfb7-0x48dfca); a retained particle (property 9) that still lives is unhidden (0x51ff10 with 0, 0x48dff6-0x48dffe) |
| TPW-EXE:0x48E006 tag hidden | source/OpenTPW/Hud/ParkHud.TubeParticles.cs:67 | [BIN:TPW-EXE:0x48E006 tag hidden] message 0x11 with a hidden window hides a live retained particle (0x51ff10 with 1, 0x48e02b-0x48e033) |
| TPW-EXE:0x48E079 right click | source/OpenTPW/Hud/ParkHud.MessageTube.cs:232 | [BIN:TPW-EXE:0x48E079 right click] a right click on the tag stored at 0x7ca094 does nothing; any other tag is hidden, its byte +0x134 cleared, the open panel closed when it shows this tag and the removal 0x100002 posted |
| TPW-EXE:0x48E0F0 action handlers | source/OpenTPW/Hud/ParkHud.TagActions.cs:10 | [BIN:TPW-EXE:0x48E0F0 action handlers] 9..12 call 0x4ACC70 (the buy window with the category button 0x1FB, 0x1FD, 0x1FA, 0x1FC: rides, shops, sideshows, features, and the entry whose id is the context dword's low word, 0x4ACD17-0x4ACD3C), 13..17 call 0x49BDD0 (the hire window of staff type 0..4), 18 0x49FB30 (loans), 19 0x4AA480 (research), 20 0x4A52A0 (park information), 21 0x4B2750 (staff costs), 22 0x4B7B00, 24 0x498D80 (entry price): result 2, the tag is removed (0x100002) and the panel closes (0x48E531-0x48E5E9) |
| TPW-EXE:0x48E15B call mechanic | source/OpenTPW/Hud/ParkHud.TagActions.cs:11 | [BIN:TPW-EXE:0x48E15B call mechanic] 23 calls the ride's mechanic (0x4DFE30) and returns 1: the panel closes and the tag stays; 3 (0x4867B0) and 4 (0x4868D0) return 0: the panel stays open and so does the tag |
| TPW-EXE:0x48E366 action slots | source/OpenTPW/Hud/ParkHud.MessageTube.cs:316 | [BIN:TPW-EXE:0x48E366 action slots] the panel's control 0x10D30 takes the first action and 0x10D2F the second (0x48e388-0x48e3bd) |
| TPW-EXE:0x48E3E6 offer panel | source/OpenTPW/Hud/ParkHud.MessageTube.cs:308 | [BIN:TPW-EXE:0x48E3E6 offer panel] a panel whose second action is the decline hides the bomb (0x48e3e9-0x48e3fb): the offer is answered with its two buttons |
| TPW-EXE:0x48E4BF message panel close | source/OpenTPW/Hud/ParkHud.MessageTube.cs:263 | [BIN:TPW-EXE:0x48E4BF message panel close] the panel's close message 0x1001D8 (sent when the arm drawer puts it away, 0x4A25F0 with 0) withdraws help 0x11C through 0x486B40 (0x48E4D3) and clears the selected item |
| TPW-EXE:0x48E5AC bomb | source/OpenTPW/Hud/ParkHud.MessageTube.cs:254 | [BIN:TPW-EXE:0x48E5AC bomb] the panel's mb_erase hides the selected tag, posts its removal 0x100002 and closes the panel at once |
| TPW-EXE:0x48E610 action buttons | source/OpenTPW/Hud/ParkHud.TagActions.cs:9 | [BIN:TPW-EXE:0x48E610 action buttons] the panel's two buttons take their model and help id from the action id: 3 and 4 mb_locate (0x204, 0x203), 9..12 mb_buy (0x209..0x20C), 13..17 mb_buy (0x20D..0x211), 18 b_loan (0x212), 19 mb_resrch (0x213), 20 b_pkinfo (0x214), 21 b_staffcost (0x215), 23 mb_callmech (0x217), 24 b_entry (0xEC), 26 mb_accept, 27 mb_decline; every other id hides the button |
| TPW-EXE:0x48EB20 add routine | source/OpenTPW/Hud/ParkHud.MessageTube.cs:105 | [BIN:TPW-EXE:0x48EB20 add routine] every tag window is scanned (0x65d56b): one whose tag (property 1), context word (3) and context dword (8) equal the record's replaced tag (+4), word (+0x1C) and dword (+0x20) is refreshed in place when the record's own tag is that tag (the text copied, 255 characters and a zero, the open panel's text control set: 0x48eb88-0x48ebd1) and otherwise removed at once with 0x100002 and the flag 1 (0x48ebd5-0x48ebe3); only when none was refreshed does the add go on |
| TPW-EXE:0x48EC04 add admission | source/OpenTPW/Hud/ParkHud.MessageTube.cs:106 | [BIN:TPW-EXE:0x48EC04 add admission] the occupied count 0x7ca09c must be below the configured count (0x750610): there is no eviction; the first free slot (0x7c26b4, stride 0x208) takes the window, which is shown and attached after the others (0x100001, 0x48ed90) |
| TPW-EXE:0x48ECD2 tag timers | source/OpenTPW/Hud/ParkHud.TubeRow.cs:27 | [BIN:TPW-EXE:0x48ECD2 tag timers] a lifetime above 0 sets the expiry timer 0x80080 to it and the warning timer 0x80081 to 5000 ms less, enables both (the origin is the clock of that moment) and sets the window's byte +0x134 |
| TPW-EXE:0x48EE50 tube saved | source/OpenTPW.Tests/MessageTubeSaveTests.cs:82 | [BIN:TPW-EXE:0x48EE50 tube saved] the record has no read flag and the loader's add routine starts the timers again: a read row is saved like an unread one |
| TPW-EXE:0x48EE50 tube saved | source/OpenTPW/Hud/ParkHud.MessageTube.cs:18 | [BIN:TPW-EXE:0x48EE50 tube saved] the tube is saved with the park (ParkHud.MessageTubeSave.cs; the original's tube saver writes the occupied slots with their tag, text, lifetime and context words) and an original save's tube is imported (OriginalTubeImport) |
| TPW-EXE:0x48EE50 tube saved | source/OpenTPW/Hud/ParkHud.MessageTubeSave.cs:9 | [BIN:TPW-EXE:0x48EE50 tube saved] the tube's saver writes the number of occupied slots, then per slot the tag id, the text, the lifetime and the context words (0x21C bytes each), not the time left; its loader 0x48EF70 adds each record through the tube's add routine 0x48EB20 again |
| TPW-EXE:0x48EE50 tube saved | source/OpenTPW/Hud/ParkHud.MessageTubeSave.cs:29 | [BIN:TPW-EXE:0x48EE50 tube saved] the record holds the tag's full lifetime, never the time left or whether it was read: the loader's add routine starts the timers again |
| TPW-EXE:0x48EE50 tube saved | source/OpenTPW/World/Level.Resume.cs:279 | [BIN:TPW-EXE:0x48EE50 tube saved] optional: null (left out of the file) while the tube is empty, so such saves keep their bytes; a join snapshot carries none (the host's messages are not the joiner's, as for the advisor) |
| TPW-EXE:0x48EE50 tube saver | source/OpenTPW.Files/Formats/Save/SaveTubeRecords.cs:16 | [BIN:TPW-EXE:0x48EE50 tube saver] the count of occupied slots, then per slot a 0x21C-byte record: the tag (the window's property 1), the text copied from the slot's buffer (a 256-wide-character field with the tag in front, zero-terminated by the copy only), |
| TPW-EXE:0x48EF70 tube loader | source/OpenTPW/Hud/ParkHud.MessageTubeSave.cs:46 | [BIN:TPW-EXE:0x48EF70 tube loader] each saved record goes through the add routine 0x48EB20: the expiry timer 0x80080 is set to the lifetime and the warning timer 0x80081 to 5000 ms less (0x48ECD2..0x48ED0E) and cat_ui 0x1E plays (0x48EDBD); the loader's own record byte +0x24 (the open flag the post wrapper 0x48EDE0 tests) is never read from the file, so no record is selected on load |
| TPW-EXE:0x48EF70 tube loader | source/OpenTPW/Hud/ParkHud.MessageTubeSave.cs:81 | [BIN:TPW-EXE:0x48EF70 tube loader] every record goes through the add routine, which starts the timers again from the full lifetime; only a row an earlier OpenTPW wrote as read keeps its timers stopped |
| TPW-EXE:0x48EF70 tube loader | source/OpenTPW/World/OriginalTubeImport.cs:13 | [BIN:TPW-EXE:0x48EF70 tube loader] count, then per record the tag, the text, the lifetime, the icon word, the two actions and the context word and dword; each goes through the add routine 0x48EB20 (a record the tube refuses, the eleventh on, is dropped) |
| TPW-EXE:0x48a1f5 ride view creation | source/OpenTPW/Hud/ParkHud.cs:1097 | [BIN:TPW-EXE:0x48a1f5 ride view creation] the ride view window (flags 1, built at 0x48a1f5 and 0x48a4d4) takes the focus (0x65e59b) and the HUD's own window handle [0x7c24c8] gets message 5 and is cleared, so the HUD's key groups (0x787c14, 0x787a60, 0x78721c at 0x488886) are never reached while it is open: the procedure 0x488a00 acts only on Escape, the C shortcut (action 0x10) and the postcard action (0xf), and the pause key and the park door shortcuts are not offered while riding |
| TPW-EXE:0x48a5be drain | source/OpenTPW/UI/Original/UiPointerRouter.cs:22 | [BIN:TPW-EXE:0x45ab13 pump] [BIN:TPW-EXE:0x48a5be drain] Pointer recipients are fixed at admission; |
| TPW-EXE:0x48b2a0 pause line hover | source/OpenTPW/UI/Original/UiMenuItem.cs:34 | [BIN:TPW-EXE:0x48b2a0 pause line hover] message 0x10001 (the pointer enters) / 0x10002 (leaves) set the line's ramp slot to +1 / -1 and the tick message 0x1e, sent once per |
| TPW-EXE:0x48b2a0 pause line ramp | source/OpenTPW/UI/Original/UiDialogs.cs:188 | [BIN:TPW-EXE:0x48b2a0 pause line ramp] the focused line's colour ramps from grey 0x21 in steps of 0x20 to white over eight frames (UiMenuItem, MenuLineRamp) |
| TPW-EXE:0x48b2b9 pause line colour | source/OpenTPW/UI/Original/UiMenuItem.cs:8 | [BIN:TPW-EXE:0x48b2b9 pause line colour] the line's initialise message 0x11 gives the control the colour (0, 175, 190, 255); the hover ramp is MenuLineRamp (0x48b2a0, 0x48b220) |
| TPW-EXE:0x48b2b9 pause line colour | source/OpenTPW/UI/Original/UiText.cs:333 | [BIN:TPW-EXE:0x48b2b9 pause line colour] the line procedure 0x48b2a0 gives a line the colour (0, 175, 190, 255) on message 0x11 and again when it loses the focus (0x48b220) |
| TPW-EXE:0x48b6a0 pause menu commands | source/OpenTPW/Client/GameFlow.Resume.cs:19 | [BIN:TPW-EXE:0x48b6a0 pause menu commands] the Save command (command 2, case 0x48B7AD of the handler 0x48B6A0) closes the menu and opens the save screen (0x49F280) with no speech test, and the speech stop 0x51C0E0 has only the callers 0x5994E0 and 0x5996D0 (neither on a save), so a response being spoken goes on and is not part of the file |
| TPW-EXE:0x48c150 pause menu lines | source/OpenTPW/UI/Original/UiDialogs.cs:180 | [BIN:TPW-EXE:0x48c150 pause menu lines] the builder adds each line through 0x492f60(top, text, id, font slot 0, 128, 128, 128): the first at top 10 and each next at the |
| TPW-EXE:0x48c150 pause menu lines | source/OpenTPW/UI/Original/UiMenuItem.cs:48 | [BIN:TPW-EXE:0x48c150 pause menu lines] the lines are made through 0x492f60, which constructs a title control (0x491920 at 0x49309a), so they carry its shadow |
| TPW-EXE:0x48c150 pause menu restart entry | source/OpenTPW/Client/GameFlow.Restart.cs:37 | [BIN:TPW-EXE:0x48c150 pause menu restart entry] the builder adds the Restart Park line (text 10, command 3) in the branch taken whenever GameType 0xFB3B7C is not 1 (the visit's own menu has no such line) and the game-mode word +0x1da738 is not 4 (that menu has its own Restart line, command 0x17, whose confirm callback 0x48B620 sets the same request); no mode test guards it, and the command's confirm callback 0x48B5B0 stores request 1 (0x5508b0) like 0x48B620 |
| TPW-EXE:0x48c150 pause menu selection | source/OpenTPW/Hud/ParkHud.cs:832 | [BIN:TPW-EXE:0x48c150 pause menu selection] game type 1 (0x48c1e3) selects the three online entries before the |
| TPW-EXE:0x48c36c online pause layout | source/OpenTPW/UI/Original/UiDialogs.cs:183 | [BIN:TPW-EXE:0x48c36c online pause layout] the park pause menu's top and gap are 0 instead of 10 and 5 while the net-session field +0x60 (0x5b6450) is non-zero (0x48c36c-0x48c4af); |
| TPW-EXE:0x48c830 pause menu | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:1604 | [BIN:TPW-EXE:0x48c830 pause menu] a frameless list of text lines: no window and no title |
| TPW-EXE:0x48c830 pause menu | source/OpenTPW/Hud/ParkHud.cs:814 | [BIN:TPW-EXE:0x48c830 pause menu] the ordinary in-park pause menu has no window and no title: its lines are, in order, Load, Save, Restart Park, Publish Park, Options, Resume Game, Exit To Lobby and Quit Game (UITEXT 3, 4, 10, 5, 6, 7, 12, 8) |
| TPW-EXE:0x48c894 escape suspension | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:64 | [BIN:TPW-EXE:0x48c894 escape suspension] options 0x4a3a7b, map 0x5f0b8a and owned offline message boxes 0x47f27b also suspend. |
| TPW-EXE:0x48cd10 delete confirmation | source/OpenTPW.Tests/UiRegisterRound2Tests.cs:82 | [BIN:TPW-EXE:0x4a9380 postcard] pauses at 0x4a93d7; [BIN:TPW-EXE:0x48cd10 delete confirmation] is the message box 0x47f020, which pauses at 0x47f26c |
| TPW-EXE:0x48cd10 delete confirmation | source/OpenTPW/Hud/ParkHud.cs:243 | [BIN:TPW-EXE:0x48cd10 delete confirmation] the delete confirmation of an object or staff member (the object windows 0x4af600, 0x4b0b30, 0x4b2150, the attractions window 0x497640 and the All Staff window 0x4b4fc0) is a generic message box 0x47f020 with UITEXT 0x18c and the b_exit and b_okay buttons when the Confirmations option is on, so it pauses (0x47f26c) and its close resumes (0x47eed0, message 0x14 → 0x409300); the postcard (Ctrl+P, 0x4a9380) pauses the same way: confirmDelete, confirmDeleteAttraction and the postcard screen stop the park here; the employee dismiss box (0x4b5e5d, UITEXT 0x18d) is a 0x47f020 caller too (its call at 0x4b5eac, yes callback 0x4b6070), so confirmDismissStaff stops it as well |
| TPW-EXE:0x48cfa0 move pick-up | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:266 | [BIN:TPW-EXE:0x48cfa0 move pick-up] the pick-up neither asks for the confirmation the erase button's handler 0x48cd10 asks (the option 0x78d90f) nor posts a tool help: its mode switch 0x52f200(0x3b, 1) posts only for modes 3, 0x15, 0x16, 1 and 0x35 |
| TPW-EXE:0x48cfa0 move pick-up | source/OpenTPW/World/Level.Input.cs:359 | [BIN:TPW-EXE:0x48cfa0 move pick-up] 0x48c940 holds the thing, 0x5276d0 takes its cell, a type with a footprint (+0x40) saves the queue's corner points (0x530120, 0x52fc30), mode 0x33 and the click 0x524960(cell, 0, 0) erase it (0x527ee0 with the last argument 0: the very call of the window's erase button 0x48cd10), 0x46c5a0(0x3b, type) builds the tool, 0x52f200(0x3b) sets the mode and 0x52f1b0 the angle (+0x10); 0x81b3ac and 0x81b14c are written and read nowhere, so the saved state is never restored |
| TPW-EXE:0x48d200 window base procedure | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:13 | [BIN:TPW-EXE:0x48d200 window base procedure] message 0x14 (the window closing) calls the window's apply, slot +0x3c, while an object is selected; the arrow keys and the arrow buttons (0x48caf0, 0x48cbe0) apply before they step |
| TPW-EXE:0x48dab3 message panel open | source/OpenTPW/Hud/ParkHud.MessageTube.cs:286 | [BIN:TPW-EXE:0x48dab3 message panel open] the tube puts the panel into the arm drawer (0x4a2590, so it slides out as the camera panel does: ten 20 ms ticks) and takes it out again with 0x4a25f0 |
| TPW-EXE:0x48db94 offer removal | source/OpenTPW.Tests/HudVideoRoundTests.cs:145 | [BIN:TPW-EXE:0x48db94 offer removal] the removal's message 5 runs the action 0x1B (the decline) first for a tag whose second action is 0x1B |
| TPW-EXE:0x48db94 offer removal | source/OpenTPW/Hud/ParkHud.MessageTube.cs:19 | [BIN:TPW-EXE:0x48db94 offer removal] the tag window's removal (message 5, sent 500 ms after the removal 0x100002 hides it, 0x4a13e8) runs the action 0x1B first when the tag's second action is 0x1B (0x48db8b-0x48dbb0 -> 0x48e0f0 -> 0x48e269 -> the decline 0x4d2ec0), so an offer that is deleted, expires or is answered leaves a declined (or already answered) challenge |
| TPW-EXE:0x48dd53 tag expiry | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:140 | [BIN:TPW-EXE:0x48dd53 tag expiry] timer 0x80080 acts only while the byte +0x134 is set: it hides the tag, clears the byte and posts the removal 0x100002 (0x48dd5d-0x48dd7b); the removal puts the panel away when the tag is the selected one at its end (0x48dd19-0x48dd28) |
| TPW-EXE:0x48e043 tube icon click | source/OpenTPW/Hud/ParkHud.MessageTube.cs:33 | [BIN:TPW-EXE:0x48e043 tube icon click] the icon's procedure plays cat_ui 0xC0 (the helper 0x485aa0, flat) on a button-0 click, before it opens the message (0x48d9c0) or closes the open one (0x4a25f0) |
| TPW-EXE:0x48e08a right click | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:151 | [BIN:TPW-EXE:0x48e08a right click] a right click and the bomb hide the window first (0x48e081-0x48e087) and clear the armed byte (a right click only); the action result 2 and the expiry's hide differ as the callers say |
| TPW-EXE:0x48ec04,0x750610,0x48ec40 | source/OpenTPW/Hud/ParkHud.MessageTube.cs:15 | [BIN:TPW-EXE:0x48ec04,0x750610,0x48ec40] admission checks the configured count of ten and scans ten reusable records; there is no oldest eviction. |
| TPW-EXE:0x48edb4 message posted | source/OpenTPW/Hud/ParkHud.MessageTube.cs:29 | [BIN:TPW-EXE:0x48edb4 message posted] the tube's add routine 0x48eb20 plays cat_ui 0x1E flat (0x51bfc0 with no place) when it creates a new icon (after bumping the icon count 0x7ca09c) |
| TPW-EXE:0x48ede0 offer post | source/OpenTPW/Hud/ParkHud.MessageTube.cs:20 | [BIN:TPW-EXE:0x48ede0 offer post] the post wrapper opens a tag at once only when the record's byte +0x24 is 1 (0x48edeb); the tag system's record builder 0x509bf0 clears that byte on every path, so an offer is added like any message (0x48ee09) and never opens by itself |
| TPW-EXE:0x48f3d0 control bitmap | source/OpenTPW/UI/Original/UiBatch.cs:182 | [BIN:TPW-EXE:0x48f3d0 control bitmap] the bitmap of every text control, title or plain (slot +0x28 of the vtables 0x6ff530 and 0x6ff320, 0x588940), is the control's box: [control+0xa8] x [control+0xaa] from the rectangle [+0x18..+0x1e] (0x48f456-0x48f4c5), placed at the box's top-left (0x491ab0 via 0x659dac), so both passes and the whole string are cut off at the box |
| TPW-EXE:0x48f3d0 control bitmap | source/OpenTPW/UI/Original/UiWidgets.cs:113 | [BIN:TPW-EXE:0x48f3d0 control bitmap] every text control's bitmap is its box, so a string is cut off at it (UiBatch.TryClip); OpenTPW-authored texts that are wider than their box opt out (UiLabel.Unclipped, UiButton.Unclipped) |
| TPW-EXE:0x48f830 text control | source/OpenTPW/UI/Original/UiWidgets.cs:114 | [BIN:TPW-EXE:0x48f830 text control] one 0x6ae0f0 call into the control's bitmap (texel alpha 17 x coverage, 0x6b24b0), then the sprite quads of the state word 0x7060556 (0x58a010): the control colour blended with coverage / 15; plain text has no shadow |
| TPW-EXE:0x48fe28 count cell alignment | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:212 | [BIN:TPW-EXE:0x48fe28 count cell alignment] the two values are drawn left-aligned: the count cell's constructor 0x48fde0 stores 0 in the alignment byte +0xd8 (0x48fe28) that the text drawer 0x48f830 switches on (0 left, 1 centred, 2 right), and only the centring call 0x65c428 (message 0xc00, handler 0x48fc40) would change it |
| TPW-EXE:0x48fe28 rides cell alignment | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:18 | [BIN:TPW-EXE:0x48fe28 rides cell alignment] the rides cell's constructor 0x48fde0 stores 0 (left) in the alignment byte +0xd8 (0x48fe28); the row factory 0x4939d0 sends the alignment |
| TPW-EXE:0x48fe28 value cell alignment | source/OpenTPW/Hud/ParkHud.VisitorInfoWindow.cs:179 | [BIN:TPW-EXE:0x48fe28 value cell alignment] every value is drawn left-aligned: the three cell constructors store 0 (left) in the alignment byte +0xd8 (count 0x48fe28, money 0x490298, |
| TPW-EXE:0x48ff70 HUD cash text | source/OpenTPW/Hud/ParkHud.cs:290 | [BIN:TPW-EXE:0x48ff70 HUD cash text] control 47 (refresh 0x4a0ab0) shows the bare |balance| through swprintf "%d": no digit grouping and no |
| TPW-EXE:0x490650 buy price cell | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:239 | [BIN:TPW-EXE:0x490650 buy price cell] a negative value (the ticket rows) is formatted with UITEXT 0x1c7 (OpenTPW 454, "%d gt") on its magnitude, a positive one with 0x1c1 "$ " (a magnitude above 0xeeeeeee uses the offset special cases 0x1c1/0x1c2 of the same routine) |
| TPW-EXE:0x491ab0 title control | source/OpenTPW/UI/Original/UiBatch.cs:180 | [BIN:TPW-EXE:0x491ab0 title control] the grey copy (128,128,128,0x80) on (L-2, T+2, R-2, B+2), then the white string, both written into the control's bitmap and modulated by the control colour |
| TPW-EXE:0x491ab0 title control | source/OpenTPW/UI/Original/UiWidgets.cs:115 | [BIN:TPW-EXE:0x491ab0 title control] a title control (constructor 0x491920) first draws a grey (128,128,128, alpha 0x80) copy on the rectangle moved by (-2, +2) pixels (0x491dd0-0x491e1a), then the white string (0x491e27-0x491e84), both modulated by the control colour |
| TPW-EXE:0x492180 help box | source/OpenTPW/UI/Original/UiScreen.cs:482 | [BIN:TPW-EXE:0x492180 help box] the help control is built with left 0x23e, right 0x5c2, bottom 0x5f0 and top 0x5f0 - h, h = (fontHeight(font 7) * 3 * 1024) / [0xfaa5c0] + 10; its art is f_helpbg and its text font slot 7, colour (255,255,255,255) |
| TPW-EXE:0x492180 help height | source/OpenTPW/UI/Original/UiScreen.cs:484 | [BIN:TPW-EXE:0x492180 help height] the divisor [0xfaa5c0] is taken as the screen height in pixels and font slot 7 as the small UI font (medium confidence); a text that wraps past the box overflows it on both sides |
| TPW-EXE:0x492750 Hebrew alignment | source/OpenTPW/UI/Original/UiWidgets.cs:28 | [BIN:TPW-EXE:0x492750 Hebrew alignment] [BIN:TPW-EXE:0x4929f0 Hebrew alignment] both helpers turn alignment 0 (left) into 2 (right) and 2 into 0 |
| TPW-EXE:0x4929f0 Hebrew alignment | source/OpenTPW/UI/Original/UiWidgets.cs:28 | [BIN:TPW-EXE:0x492750 Hebrew alignment] [BIN:TPW-EXE:0x4929f0 Hebrew alignment] both helpers turn alignment 0 (left) into 2 (right) and 2 into 0 |
| TPW-EXE:0x4929f0 menu line measure | source/OpenTPW/UI/Original/UiDialogs.cs:186 | [BIN:TPW-EXE:0x4929f0 menu line measure] the measure takes the font slot of the line (0 for the pause menus: slot 0 and 2 swap while the word at 0x78b538 is 0x40d, 0x41a850), reads the font record of the bank (index 13 x bank + slot, 24-byte records from 0x78b54c, handle at +0x14), lays the text out in a box through 0x6ae1c0 and returns the block box; with the wrap flag clear the box is 0x4000 wide, so nothing wraps, which OpenTPW's text layout box matches |
| TPW-EXE:0x492d20 title colour | source/OpenTPW/UI/Original/UiText.cs:315 | [BIN:TPW-EXE:0x492d20 title colour] the shared title colour setter gives a title control (font slot 5 or the like) the colour (234, 239, 102, 255) = 0xea, 0xef, 0x66 (0x492d35); its fifteen callers are the window and lobby builders (0x485d20, 0x48d2e0, 0x48d370, 0x499060, 0x4990f0, 0x4a6580, 0x4a6e40, 0x4a8140, 0x4ae560, 0x4b6110, 0x4b8520 the lobby island name, 0x4ba200, 0x4ba980, 0x4bb070, 0x4c0ae0) |
| TPW-EXE:0x492d80 pause backdrop | source/OpenTPW/Audio/GameAudio.cs:163 | [BIN:TPW-EXE:0x492d80 pause backdrop] the procedure of the pause menu's full-canvas window (made by 0x492e80 for the menu 0x48c150; parent callback 0x48b6a0) answers a click (message 0x10006) by playing 0xC1 through the cat_ui helper 0x485aa0 (flat, at the origin) and sending the activate message 0x100001 to its owner |
| TPW-EXE:0x492d80 pause backdrop click | source/OpenTPW/UI/Original/UiDialogs.cs:275 | [BIN:TPW-EXE:0x492d80 pause backdrop click] a click (message 0x10006, either button) on the menu's full-canvas window outside its lines plays cat_ui 0xC1 flat, then sends the activate message 0x100001 to the window's owner; the window is made with parent 0 (0x492ef0), so the owner is probably none and 0x658d9f returns at once (what the pause menu's callback 0x48b6a0 does with 0x100001 for the backdrop is not read, so no OpenTPW rule follows from it); a click on a line goes to the line |
| TPW-EXE:0x492d9c | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:514 | [BIN:TPW-EXE:0x526ce9] cat_ui 0xCE (track modes 0xB and 0x10), [BIN:TPW-EXE:0x526423] cat_ui 0x65 (mode 0x15), [BIN:TPW-EXE:0x492d9c] cat_ui 0xC1 (the pause menu's backdrop), [BIN:TPW-EXE:0x4398c8] cat_rides 0xC (the coaster crash) |
| TPW-EXE:0x4955e0 list refresh bars | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:17 | [BIN:TPW-EXE:0x4955e0 list refresh bars] the list's bar cells are scaled as the object windows' gauges are: ((value & 0xff) << 10) / 100 of the 0..1024 range, for the excitement (0x4e0860), repair (the __ftol of the repair), life (0x4dd6d0) and satisfaction (0x4e1e30) columns of the ride, shop and sideshow lists; OpenTPW feeds them the object window's gauge values (ObjectStatOf), the satisfaction one from the visit history as the window does |
| TPW-EXE:0x4955e0 list refresh, 0x66403b sorted row insert | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:14 | [BIN:TPW-EXE:0x4955e0 list refresh, 0x66403b sorted row insert] the 2000 ms refresh rewrites the cells in place and never moves a row, a new row goes in by the list's sorted insert (ListRowOrder), and the first row added selects row 0 (0x66525c) |
| TPW-EXE:0x495de0 rows refresh | source/OpenTPW/Hud/AllStaffRoster.cs:125 | [BIN:TPW-EXE:0x495de0 rows refresh] the timer message rewrites the cells of every row with the mask 0x1a (columns 1, 3 and 4) through 0x6644ea; the wage cell (column 2, mask 0x4) is only written when the row is added |
| TPW-EXE:0x496056 all staff row | source/OpenTPW/Hud/ParkHud.Staff.cs:523 | [BIN:TPW-EXE:0x496056 all staff row] the All Staff list routes its 0x400 to the per-employee window (0x4b6080), the employee view's stand-in does the same |
| TPW-EXE:0x4960df tab press | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:147 | [BIN:TPW-EXE:0x4960df tab press] a tab's button records the tab (0x7ca16c), clears the list (0x6649d5), fills it from the tab's role (0x481bc0), redraws it (0x663324), sets the label 0x32a and the bar 0x32d; the first row added is chosen (0x66403b → 0x66525c) |
| TPW-EXE:0x496620 headers | source/OpenTPW/Hud/AllStaffRoster.cs:56 | [BIN:TPW-EXE:0x496620 headers] the builder titles the headers 0x10-0x14 with UITEXT 0x65-0x69 (Name, Current Status, Monthly Wage, Skill, Happiness) and the help ids 0x77-0x7b (0x486660 through 0x485b00) |
| TPW-EXE:0x49680a tab argument | source/OpenTPW/Hud/AllStaffRoster.cs:71 | [BIN:TPW-EXE:0x49680a tab argument] the builder's first argument is the tab; -1 keeps the remembered tab [0x7ca16c], which is stored back (0x496826); the park information, visitors, attractions and rest windows and the info button pass -1 |
| TPW-EXE:0x4968be tab buttons | source/OpenTPW/Hud/AllStaffRoster.cs:43 | [BIN:TPW-EXE:0x4968be tab buttons] the builder checks the tab's button in this order: tab 0 control 0x323 (b_shandy), 1 0x326 (b_smech), 2 0x325 (b_senter), 3 0x327 (b_sguard), 4 0x324 (b_sresrcher); the click handler 0x4960a0 maps the controls back through the table 0x496300 |
| TPW-EXE:0x496ac2 tab labels | source/OpenTPW/Hud/AllStaffRoster.cs:44 | [BIN:TPW-EXE:0x496ac2 tab labels] the label 0x32a takes UITEXT 0x6b, 0x6c, 0x6e, 0x6d, 0x6f for the tabs 0 to 4 (jump table 0x496be8) |
| TPW-EXE:0x496b1c tab thing types | source/OpenTPW/Hud/AllStaffRoster.cs:45 | [BIN:TPW-EXE:0x496b1c tab thing types] the happiness bar 0x32d reads the average of the thing type 5, 4, 6, 7, 8 for the tabs 0 to 4 (jump table 0x496bfc; 0x506490 gives the same tab for a staff thing: type 4 tab 1, 5 tab 0, 6 tab 2, 7 tab 3, 8 tab 4) |
| TPW-EXE:0x496d20 row template | source/OpenTPW/Hud/AllStaffRoster.cs:57 | [BIN:TPW-EXE:0x496d20 row template] the cells are two text cells (0x48f6a0, left), a money cell (0x490250) right-aligned by 0x65c428 (2, 1), and two bar cells over ridestatbar.wct (0x750e00) and happygrad.wct (0x7508c0) |
| TPW-EXE:0x4973a0 toilet window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:462 | [BIN:TPW-EXE:0x4973a0 toilet window refresh] the toilet's own window (0x497640) enables its door (0x15bc4) exactly while the reopening guard 0x4df290 allows, open or closed |
| TPW-EXE:0x4982a0 loop help | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:192 | [BIN:TPW-EXE:0x4982a0 loop help] the loop button shows help 0x127 instead of 0x126 when the mask has bit 0x200 (definition flag 0x100: the flume coasters) |
| TPW-EXE:0x4982a0 panel click handler | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:35 | [BIN:TPW-EXE:0x4982a0 panel click handler] control 0x19 → button 8 (tilt), 0x1a → 0x10 (height), 0x1b → 4 (move), 0x1c → 0x20 (rotate), 0x1d → 0x100 (stack down), 0x1e → 0x80 (stack up), 0x1f → 1 (build), 0x20 → 2 (loop), 0x21 → 0x40 (demolish); the click shows help 0x125 (build), 0x126 or 0x127 (loop), 0x121 (move), 0x124 (demolish) |
| TPW-EXE:0x4982a0 panel close | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:208 | [BIN:TPW-EXE:0x4982a0 panel close] message 0x1001D8 resets the sub-mode and withdraws 0x125, 0x127, 0x126, 0x121 and 0x124 (293, 295, 294, 289, 292) through 0x486b40 (0x4986ce-0x498702) |
| TPW-EXE:0x498337 coaster cost modes | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:245 | [BIN:TPW-EXE:0x498337 coaster cost modes] Build/Loop call 0x497D20 and Move calls 0x497E10 (tool mode 3); other buttons call 0x497BC0 (mode 8). Cash refresh 0x4A0CEE gates mode 8 on 0x447990, bit 0 of 0x79C658, set/cleared by height handler 0x441A00; rotate/tilt use other bits. |
| TPW-EXE:0x4987f0 loop button art | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:168 | [BIN:TPW-EXE:0x4987f0 loop button art] the panel's refresh swaps the loop button's model for cb_trough (ui.wad) and its two hover help ids from the table's 565 to 0x134 (308) when the mask has |
| TPW-EXE:0x4988c0 arm retract | source/OpenTPW/Hud/ParkHud.cs:1404 | [BIN:TPW-EXE:0x4988c0 arm retract] the entry retracts the info arm (0x4a25f0, 0x4a2590 at 0x498909..0x498920) as the ride window's track button does (EditTrack); a refusal (another player's claim, said by |
| TPW-EXE:0x4988c0 coaster panel slide | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:15 | [BIN:TPW-EXE:0x4988c0 coaster panel slide] the tool's entry (0x4988c0, from the ride window's track button 0x4af200) puts the panel into the HUD arm like the camera and message panels: 0x4a25f0(1), then 0x4a2590 (message 0xb retracts the panel the arm carries, message 10 starts the slide out of the panel window 0x7ca1c8 that 0x498790 built from the table with the handler 0x4982a0); the drawer 0x4a14f0 places it at the arm's left less its width less 50, centred on the arm, and moves it right by (the HUD window's right - the arm's left + its width + 100) / 10 per 20 ms tick, so the 675 x 274 panel ends at left 486, top 1145 (the -372, +232 measured from the video are these -373, +229 within a pixel or three); the tool's exit (0x4989d0) retracts it (0x4a25f0(0)) |
| TPW-EXE:0x4988c0 panel open | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:125 | [BIN:TPW-EXE:0x4988c0 panel open] the tool's entry puts the panel into the arm (0x4a2590), which retracts the panel it carried (message 0xb); the tool's exit retracts it (0x4a25f0(0)), and so does the arm's retract button (message 0xb) |
| TPW-EXE:0x4988c0 track tool entry | source/OpenTPW/Hud/ParkHud.GuestRequests.cs:111 | [BIN:TPW-EXE:0x4988c0 track tool entry] the coaster tool's entry posts no advisor help (neither 0x497d20 nor 0x4474d0 calls 0x486b00; the build button's 0x498333 does, and the panel posts it) |
| TPW-EXE:0x4988c0 track tool entry | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:330 | [BIN:TPW-EXE:0x4988c0 track tool entry] a coaster's entry posts no advisor help: 0x4af275 → 0x4988c0 → 0x497d20 (an incomplete track, sub-mode 3 by 0x52fad0) or 0x4474d0 (a complete one) never calls 0x486b00 |
| TPW-EXE:0x498bb0 camera button | source/OpenTPW/Hud/ParkHud.cs:424 | [BIN:TPW-EXE:0x498bb0 camera button] the original (HUD case 0x27, 0x498bb0/0x498bd0) opens slide-out panel 33 (table 0x751720) with camcorder mode (99, help 479; key C, 0x40c5c0 → 0x481a10, which builds a park-view mode object 0x46cff0) and send a postcard (100, help 480; Ctrl+P, 0x40c4c0 → 0x481500 → 0x4a9380, which also pauses the game) and posts advisor help 0x131 (ParkHud.CameraPanel.cs); the button's help is 474 |
| TPW-EXE:0x498bb0 camera open | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:20 | [BIN:TPW-EXE:0x498bb0 camera open] the camera button's press (HUD case 0x27 with the toggle down, 0x4a0840) puts panel 33 into the arm (0x4a2590) and posts help 0x131 through 0x486b00; |
| TPW-EXE:0x499060 park name hover | source/OpenTPW/Hud/ParkHud.Management.cs:209 | [BIN:TPW-EXE:0x499060 park name hover] the handler turns the text white when the pointer enters (message 0x10001, 0x4990B6) and back to the title colour when it leaves (0x10002, 0x49909B through 0x492D20) |
| TPW-EXE:0x4993E0 secret park name | source/OpenTPW/Economy/ParkCheats.cs:273 | [BIN:TPW-EXE:0x4993E0 secret park name] after storing the lines (0x4E2950/0x4E2A50) and copying them to the player record (0x5B0940/0x5B0970), the handler XORs each UTF-16 unit of both 14-character buffers (0x7C2668, 0x7C2688) with its index, re-reading wcslen (0x67ACD0) after every unit, and compares them with wcscmp (0x67C290) against [0x751A34] = "Kdtjj%rom" and [0x751A38] = "Cnqnmf&Dg~"; both equal calls 0x4053C0(1) on 0xFB3520 |
| TPW-EXE:0x4993E0 secret park name | source/OpenTPW/World/Level.cs:182 | [BIN:TPW-EXE:0x4993E0 secret park name] "Kevin the" / "Cosmic Cow" turns the cheat mode on (0x4053C0(1)) after the lines are stored, so the sign keeps the name; it works with or without the cheats extension (the user's decision, docs/CHEATS.md), and at the next park turn ([EXT:cheats-turn-boundary]) |
| TPW-EXE:0x4996ac rename Enter | source/OpenTPW/Hud/ParkHud.Management.cs:307 | [BIN:TPW-EXE:0x4996ac rename Enter] Enter (0x802) in field 0x3943C only moves the focus to 0x3943D (0x499711, no 0x100); Enter in the other field makes the procedure 0x4993E0 post 0x100 with control -1 to its own window (0x49973e), so the hook clicks 0x1F by the window's style 1 and the tick applies; Escape (0x804) closes without a click. The gate's own rename dialog (0x48D370, table 0x750090, procedure 0x48D640) routes its keys the same way (0x48d83b) |
| TPW-EXE:0x49A7B0 finance graph | source/OpenTPW/Economy/ParkLedger.cs:57 | [BIN:TPW-EXE:0x49A7B0 finance graph] the original keeps rows only for the gate (+0x1FEE0, admission 0x4D0600), shop and sideshow takings (+0x20130 / +0x20380 by Info.WhichUIType, 0x4E16B0) and the staff wages (+0x1F7F0, month wage 0x504C70, dismissal 0x505790); every other credit reaches money in (+0x1FC90, 0x4D0190) and every other debit money out (+0x1F5A0, 0x4D01F0), as MoneyIn and MoneyOut sum here |
| TPW-EXE:0x49A7B0 graph scale | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:212 | [BIN:TPW-EXE:0x49A7B0 graph scale] the scale runs from min(0, the lowest) to max(0, the highest) of the selected series' samples 0 .. the period's sample count (0x4801D0 and 0x480380 stop at the first sample the ring cannot read), in ten divisions |
| TPW-EXE:0x49a420 series toggles | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:80 | [BIN:TPW-EXE:0x49a420 series toggles] selecting the bank balance or the park value clears the six cash-flow series (mask 0xfc, 0x49ab80) and keeps the other of the pair; selecting a cash-flow series clears the pair (mask 0x03); deselecting clears just that series |
| TPW-EXE:0x49aa30 graph series | source/OpenTPW/Hud/ParkHud.FinanceWindow.cs:26 | [BIN:TPW-EXE:0x49aa30 graph series] the series are bits 0..7 of the selection word 0x751fa0 in the toggles' row order (controls 0x12277, 0x1227b, 0x12279, 0x12278, 0x1227c, 0x1227d, 0x1227a, 0x1227e at table 0x751dac sit on the rows bank balance, park value, money in, gate, shop, sideshow, money out, staff costs); the sampler reads the ledger series at +0x1f100, 0x1f350, 0x1fc90, 0x1fee0, 0x20130, 0x20380, 0x1f5a0 and 0x1f7f0 and draws each in its colour record from 0x499f30 (set through 0x47ddc0 and 0x5f73a0) |
| TPW-EXE:0x49b650 control 9366 is a plain cash label: handler 0x49b697 and builder 0x49bf75 format UITEXT 0x1ca "Cash $ N" or 0x1cb "Cash -$ N" | source/OpenTPW/Hud/ParkHud.Staff.cs:431 | [BIN:TPW-EXE:0x49b650 control 9366 is a plain cash label: handler 0x49b697 and builder 0x49bf75 format UITEXT 0x1ca "Cash $ N" or 0x1cb "Cash -$ N"] |
| TPW-EXE:0x49b7b4 close | source/OpenTPW.Tests/HirePortraitGeometryTests.cs:232 | [BIN:TPW-EXE:0x49b7b4 close] the close ends the figure: the reopened window starts a new one, whatever it selects |
| TPW-EXE:0x49b85e hire list sort word 0x7523e4 | source/OpenTPW/Hud/ParkHud.Staff.cs:35 | [BIN:TPW-EXE:0x49b85e hire list sort word 0x7523e4] the hire window writes its sort word back on a sort change, so the order outlives the window for the session (UI-084) |
| TPW-EXE:0x49b8c3 skill gauge | source/OpenTPW/Hud/ParkHud.Staff.cs:312 | [BIN:TPW-EXE:0x49b8c3 skill gauge] the gauge is set to the skill byte (candidate +8, the grade 0..4 that 0x507600 writes as AvgGradeOf* + R % 3 - 1, a wrapped 0xff stored as 4) × 1024 / 5 (0x49b8e2..0x49b8f5), so grade 4 fills four fifths of the bar and grade 0 none; the video's guard candidates (12:00, wages $60 $75 $105 = Easy_Standard grades 1 2 3 at multiplier 15) show a fifth for the cheapest, as grade 1 does |
| TPW-EXE:0x49b927 hire window mini balance | source/OpenTPW/Hud/ParkHud.Staff.cs:281 | [BIN:TPW-EXE:0x49b927 hire window mini balance] on a selection the staff-costs row (0x248c) shows [0x7ca2fc] + the candidate's wage (0x5077f0) and the balance row (0x2487) [0x7ca2f0] - wage - [0x7ca2fc] - [0x7ca300]; other costs [0x7ca300] are money out minus staff costs (0x49c705) |
| TPW-EXE:0x49b988 hire row | source/OpenTPW/Hud/ParkHud.Staff.cs:182 | [BIN:TPW-EXE:0x49b988 hire row] the hire window's row activation (0x400) calls the hire 0x507bf0 (which returns 0 for an empty slot and builds the staff tool otherwise), closes the window and posts advisor help 0x135; no direct call chain from the window procedure 0x49b650 reaches a cat_ui sound, so the refusal plays no error sound (the message is OpenTPW's) |
| TPW-EXE:0x49b9dd hire help | source/OpenTPW/Hud/ParkHud.AdvisorHelp.cs:13 | [BIN:TPW-EXE:0x49b9dd hire help] the hire list's click handler takes the candidate (0x507bf0), closes the window (0x658d9f, message 4) and then posts help 0x135 (309) through 0x486b00; |
| TPW-EXE:0x49b9dd hire help | source/OpenTPW/Hud/ParkHud.Staff.cs:152 | [BIN:TPW-EXE:0x507bf0 hire] the hire creates no object, it builds the place tool; [BIN:TPW-EXE:0x49b9dd hire help] the handler closes the window (0x658d9f, message 4) and then posts advisor message 0x135 |
| TPW-EXE:0x49ba00 hire figure | source/OpenTPW.Tests/HirePortraitGeometryTests.cs:209 | [BIN:TPW-EXE:0x49ba00 hire figure] a new role or variant byte starts a new figure, which shows nothing before its first due pass; the same pair keeps it |
| TPW-EXE:0x49ba00 invalid applicant | source/OpenTPW.Tests/HirePortraitGeometryTests.cs:258 | [BIN:TPW-EXE:0x49ba00 invalid applicant] an applicant the pool does not return leaves the figure as it is |
| TPW-EXE:0x49ba49 hire hotspot | source/OpenTPW/UI/Original/HirePortraitGeometry.cs:18 | [BIN:TPW-EXE:0x49ba49 hire hotspot] signed half-width and quarter-height shifts, then the authored-canvas conversion's +8 X. |
| TPW-EXE:0x49bb64 hire scale;0x589d9c screen scale;0x5890e0 frame extents | source/OpenTPW/UI/Original/HirePortraitGeometry.cs:13 | [BIN:TPW-EXE:0x49bb64 hire scale;0x589d9c screen scale;0x5890e0 frame extents] primary 8 * 0.05 * (1536 / 2) / 128 = 2.4 nominal canvas units. |
| TPW-EXE:0x49bbb0 hire list row | source/OpenTPW/Hud/ParkHud.Staff.cs:43 | [BIN:TPW-EXE:0x49bbb0 hire list row] the hire window's list (control 0x248e) makes each row (0x49c870 → 0x49bbb0, 0x65bcad) as high as font slot 7's line height ([0x7523dc] holds 7) × 1536 / screen height + 6, computed once ([0x7ca314]), the formula and slot of the buy list's rows (0x4ad240), so the staff list takes the buy list's pitch (BuyRowHeight, `EXT:list-row-pitch` for its value) and shows (bottom - top) / pitch whole rows (0x663786): 470 / 41.4 = 11 |
| TPW-EXE:0x49c422 cost text colour | source/OpenTPW/UI/Original/UiText.cs:337 | [BIN:TPW-EXE:0x49c422 cost text colour] the hire window builder 0x49bdd0 colours its four counters (0x248A..0x248D) with r = 0xFF and its zero register (0x49c422, 0x49c4a3, 0x49c6b3, 0x49c786), the staff training window 0x4b2750 four rows (0x2DF, 0x2E0, 0x2E1, 0x2E6) with the literal (255, 0, 0) (0x4b2e93..0x4b31f7), the loans window four texts (0x49fce1..0x4a002f): pure red |
| TPW-EXE:0x49c53d hire window samples | source/OpenTPW/Hud/ParkHud.Staff.cs:282 | [BIN:TPW-EXE:0x49c53d hire window samples] the builder 0x49bdd0 copies the newest entry of the money-in (+0x1fc94, index +0x1fed4), staff-costs (+0x1f7f4, index +0x1fa34) and money-out (+0x1f5a4, index +0x1f7e4) sample rings into those globals, 0 while a ring is still empty (index -1, not wrapped); a ring entry is written only by the month close 0x4c7720, which pushes each month's accumulator (+0x1fc90, +0x1f7f0, +0x1f5a0) through 0x4ce290 and zeroes it, so the window reads the last closed month as it was when the window opened |
| TPW-EXE:0x49e901 load row | source/OpenTPW/FrontEnd/FrontEndMenu.cs:295 | [BIN:TPW-EXE:0x49e901 load row] owner 0x49e880 handles type-7 notification 0x400 by loading, without a button message 0x100 or a dedicated row sound. The separate EXT Load Park button keeps its own click. |
| TPW-EXE:0x49ec80 save list rows | source/OpenTPW/FrontEnd/FrontEndMenu.cs:255 | [BIN:TPW-EXE:0x49ec80 save list rows] each row is the park name and the save file's local last-write date (UITEXT 0x1c0 = OpenTPW's 447 with day, month, year, 0x5fc660) plus " %02d:%02d" hour and minute, in a second right-aligned cell (0x49f170) |
| TPW-EXE:0x49efb0 load dialog build | source/OpenTPW/FrontEnd/FrontEndMenu.cs:251 | [BIN:TPW-EXE:0x49efb0 load dialog build] the load (pause line 1, the lobby's 22) titles the window UITEXT 202 and hides b_okay and the name field (0x65d9dd(0)); the list |
| TPW-EXE:0x49fc90 loans summary rows | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:33 | [BIN:TPW-EXE:0x49fc90 loans summary rows] the build gives 0x12c4c4 UITEXT 357 (Cash In) and 0x12c4c5 the money in at y 748, 0x12c4c9 UITEXT 360 (Loan Payments) and |
| TPW-EXE:0x4A1190 tube body click | source/OpenTPW/Hud/ParkHud.MessageTube.cs:242 | [BIN:TPW-EXE:0x4A1190 tube body click] the body's procedure turns a right click (0x10006 with button 1) into 0x100003 to the tube window (0x4a11a7-0x4a11b6); that message posts the destruction (message 5, parameter 1) of every tag window in turn, the delay starting at 100 ms and growing by 100 ms (0x4a13b7-0x4a13e6) |
| TPW-EXE:0x4A1998 slide out finished | source/OpenTPW/Hud/ParkHud.MessageTube.cs:294 | [BIN:TPW-EXE:0x4A1998 slide out finished] the arm's last tick of a slide out sends the panel 0x1d with 1 (state 2), whose procedure clears the selected tag 0x7ca094 (0x48e30a-0x48e315) |
| TPW-EXE:0x4A26DA P window over the loss window | source/OpenTPW/Hud/ParkHud.LossWindow.cs:119 | [BIN:TPW-EXE:0x4A26DA P window over the loss window] a deactivation while the loss window is up builds the P window (0x4092A0(1)), which takes the focus and the pointer from it: the window's Escape and right-click exits get nothing, |
| TPW-EXE:0x4A29D0 hide HUD | source/OpenTPW/World/Level.RideView.cs:31 | [BIN:TPW-EXE:0x4A29D0 hide HUD] the overlay window 0xDDF22 with its procedure 0x4A2840 is built and the HUD root [0x7CB2AC] hidden (0x65D9DD), the flag [0x7CB2E8] set |
| TPW-EXE:0x4A2AC0 camcorder screen | source/OpenTPW/Hud/ParkHud.RideView.cs:68 | [BIN:TPW-EXE:0x4A2AC0 camcorder screen] the walk and the ride both hide the HUD window and show the camcorder window with the viewfinder and the eject button (0x42AB20 -> 0x481470 -> 0x4A2AC0) |
| TPW-EXE:0x4A2BF0 slider setters | source/OpenTPW/Audio/SavedSoundVolumes.cs:53 | [BIN:TPW-EXE:0x4A2BF0 slider setters] the sliders' messages 0x800 and 0x801 call only that channel's volume setter (0x51BBA0, 0x51BB80, 0x51BBC0), so the other channels keep the saved shadows; the 0x801 handler skips the setter while the channel's option on byte is clear (0x4A2D6B, 0x4A2DAF, 0x4A2DF3) |
| TPW-EXE:0x4A2E90 volume rows | source/OpenTPW.Tests/AudioGroupEnableTests.cs:167 | [BIN:TPW-EXE:0x423dd0 options applier] [BIN:TPW-EXE:0x4A2E90 volume rows] a toggle sets the volume (0 while it is off), the on-flag follows the applier (the options screen's OK, leaving a park) and a save's block |
| TPW-EXE:0x4A2E90 volume rows | source/OpenTPW/Audio/SavedSoundVolumes.cs:54 | [BIN:TPW-EXE:0x4A2E90 volume rows] a slider value (message 0x800) and a toggle (0x4A3480: the profile's on byte, then 0x4A2E90) store the profile value and call the volume setter with it, or with 0 while the profile's on byte is clear; the on-flag setters 0x51BC00/0x51BBE0/0x51BC20 are called only by the applier 0x423DD0, so a saved on-flag of 0 keeps the mixer group off (0x6B9900) until then |
| TPW-EXE:0x4A45E0 series colours | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:35 | [BIN:TPW-EXE:0x4A45E0 series colours] the five colour records the series' line drawer reads (0x7CB368 arrivals, 0x7CB380 happiness, 0x7CB308 stay, 0x7CB390 people, 0x7CB370 rating) are set as the finance graph's: magenta (0xFF, 0, 0xFF), red (0xFF, 0, 0), (0, 0xBD, 0xEC), yellow (0xFF, 0xFF, 0) and (0xFF, 0x90, 0) |
| TPW-EXE:0x4A4750 graph dispatch | source/OpenTPW.Files/Formats/Save/SaveParkStatistics.cs:62 | [BIN:TPW-EXE:0x4A4750 graph dispatch] ordinals 12/13/14/9/15 are arrivals/happiness/stay/people/rating; only happiness uses the single reader 0x480570, the others use signed 0x480460 |
| TPW-EXE:0x4A4750 series order | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:46 | [BIN:TPW-EXE:0x4A4750 series order] arrivals (bit 1), happiness (bit 2, the single ring 0x480570), stay (bit 4), people (bit 8) and rating (bit 0x10), each through 0x480460 with its colour record |
| TPW-EXE:0x4A4B90 period radio | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:43 | [BIN:TPW-EXE:0x4A4B90 period radio] the three buttons set the period index 0 (0x4A68C3), 1 (0x4A68C4) or 2 (0x4A68C2) and redraw the graph with the period's 12, 36 or 144 samples |
| TPW-EXE:0x4A4B90 scale | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:60 | [BIN:TPW-EXE:0x4A4B90 scale] after a toggle or a period change the window proc folds 0x4801D0 / 0x4802A0 over the selected rings into one maximum that starts at 0 and sets the graph's scale with 0x47FB30(0, maximum, 10) |
| TPW-EXE:0x4A4B90 series toggle | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:39 | [BIN:TPW-EXE:0x4A4B90 series toggle] each toggle sets or clears its bit of the mask by its pressed state (1 sets) and the window re-reads the scale; the toggles are independent of each other, unlike the finance graph's |
| TPW-EXE:0x4ACD17 buy item | source/OpenTPW/Hud/ParkHud.TagActions.cs:98 | [BIN:TPW-EXE:0x4ACD17 buy item] a context word that is not 0 selects the list entry with that id (0x664D2A, 0x665739) |
| TPW-EXE:0x4B79B0 | source/OpenTPW/Audio/GameAudio.cs:180 | [BIN:STP-PPC:0x1010B808 visitor status panel open] stores the visitor, builds its dialog, plays cat_kids 129 (mode 0, no position) unconditionally and shows the panel; called by a park-view click on a visitor, a roster row activation, the map's visitor markers and the selection strip; [BIN:TPW-EXE:0x4B79B0] the same |
| TPW-EXE:0x4B8B70 key panel window | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:150 | [BIN:TPW-EXE:0x4B8B70 key panel window] message 0x14 clears the window (0x7CC4B4) and ends the effect; 0x4B9340 returns at once without the window |
| TPW-EXE:0x4B8B70 key panel window | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:13 | [BIN:TPW-EXE:0x4B8B70 key panel window] message 0x11 with a nonzero parameter (the panel shown) refreshes (0x4B8C64); hiding or destroying the panel (0x11 with 0, 0x14) forgets the window (0x7CC4B4) and ends effect 0x61 (0x4B8EE0(0, 0)) |
| TPW-EXE:0x4B8CA0 key panel create | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:10 | [BIN:TPW-EXE:0x4B8CA0 key panel create] the panel window exists once the lobby window does (0x4B8CA0, from 0x5E19B8); it starts with EA at frame 1 and EB at frame 5 (the grey art, 0x4B8D8B, 0x4B8DA2), EC hidden and ED at frame 3 (0x4B8D65, 0x4B8D7A), the stored key count (0x7CC4B8) and the effect handle (0x7CC4BC) zero, and refreshes at once (0x4B8DD5) |
| TPW-EXE:0x4B8FD0 enter-park routine | source/OpenTPW/World/Lobby/LobbyEnterEffect.cs:9 | [BIN:TPW-EXE:0x4B8FD0 enter-park routine] with the lobby window present (0x7CC4B4) and the game-mode global 0xFB3B7C not 2, it fetches the control 0x1E0EA of the lobby window (0x65D7D0), copies its rectangle (0x65D42E with the animation offset +0xF8..+0xFE taken off), and calls the particle creator 0x521E60 with effect 0x62, x 0xC350 (50000, the screen's horizontal centre), y 0 and z = ((bottom - top) >> 1 + top) * 75000 / 0x600, then plays cat_globallobbysfx 4 (0x51BFC0); the whole block is skipped in game mode 2 (Instant Action) |
| TPW-EXE:0x4B9065 | source/OpenTPW.Tests/LobbyEnterEffectTests.cs:30 | [BIN:TPW-EXE:0x4B9065] the control 0x1E0EA spans rows 170..437 of the 1536-row canvas: its centre row is (437 - 170) >> 1 + 170 = 303, z = 303 * 75000 / 0x600 |
| TPW-EXE:0x4B9075 z scale | source/OpenTPW.Tests/LobbyEnterEffectTests.cs:42 | [BIN:TPW-EXE:0x4B9075 z scale] eax * 75000 / 0x600 (imul by 0x2aaaaaab, sar 8, plus the sign bit): rows 0 and 1536 are the screen's top and bottom |
| TPW-EXE:0x4B9075 z scale | source/OpenTPW/World/Lobby/LobbyEnterEffect.cs:22 | [BIN:TPW-EXE:0x4B9075 z scale] the canvas height is 0x600 (1536) rows and the native screen height 75000 (twice 37500): z = row * 75000 / 0x600, signed division truncating toward zero |
| TPW-EXE:0x4B90F0 key panel selection | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:103 | [BIN:TPW-EXE:0x4B90F0 key panel selection] 3 keys: Jungle (1) and Fantasy (3) are affordable, Space (5) is not |
| TPW-EXE:0x4B90F0 key panel selection | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:12 | [BIN:TPW-EXE:0x4B90F0 key panel selection] a change of the selected island (0x5E18BD, 0x5E1B31, 0x5E1F35, 0x5E1F95) redoes only the affordability part for the new island's record, with the stored count and not the ledger's, and sets the island's text (0x1E0EF) |
| TPW-EXE:0x4B9340 key panel refresh | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:121 | [BIN:TPW-EXE:0x4B9340 key panel refresh] it stores the count it read (0x7CC4B8); 0x4B90F0 compares with that, never with the ledger |
| TPW-EXE:0x4B9340 key panel refresh | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:11 | [BIN:TPW-EXE:0x4B9340 key panel refresh] the full refresh: when the selected island has a record (0x5B09C0 by the island's name, valid when its global.sam loads, 0x5B11C0) EA, EB and EC are shown and, with the ledger's keys (0x5AF680) at or above the record's cost (0x5B11A0, global.sam Keys.CostToEnter), EA takes frame 0, EB frame cost - 1 and effect 0x61 starts (once); below it EA takes frame 1, EB frame cost + 4 and the effect ends; then the counter phase hides EC for no keys and otherwise shows EC and EA and writes "%d x" into EE; the keys are stored (0x7CC4B8) at the end |
| TPW-EXE:0x4B935D no panel | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:54 | [BIN:TPW-EXE:0x4B935D no panel] the refresh returns at once when the panel window does not exist |
| TPW-EXE:0x4B940E no record | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:140 | [BIN:TPW-EXE:0x4B940E no record] 0x5B09C0 finds nothing usable: the affordability part is skipped, the counter phase still runs (0x4B9681) |
| TPW-EXE:0x4B958F affordable | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:74 | [BIN:TPW-EXE:0x4B958F affordable] EA frame 0, EB frame cost - 1, 0x521E60(0x61, 50000, 0, z of EA's centre row) |
| TPW-EXE:0x4B958F affordable | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:90 | [BIN:TPW-EXE:0x4B958F affordable] EA frame 0 (gold), EB frame cost - 1 (the gold digit), effect 0x61 while it is not already running |
| TPW-EXE:0x4B960E key panel effect | source/OpenTPW/World/Lobby/LobbyKeyPanelEffect.cs:7 | [BIN:TPW-EXE:0x4B960E key panel effect] the refresh 0x4B9340 calls the creator 0x521E60 with effect 0x61, x 0xC350, y 0 and z from the frame control's rectangle (the same arithmetic as 0x4B8FD0) only while its global handle (0x7CC4BC) is zero, and stores the result; the selection-change refresh 0x4B90F0 does the same at 0x4B929B |
| TPW-EXE:0x4B963B unaffordable | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:90 | [BIN:TPW-EXE:0x4B963B unaffordable] EA frame 1, EB frame cost + 4, the effect ended |
| TPW-EXE:0x4B963B unaffordable | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:97 | [BIN:TPW-EXE:0x4B963B unaffordable] EA frame 1 (grey), EB frame cost + 4 (the grey digit), the effect ended |
| TPW-EXE:0x4B9662 key panel effect end | source/OpenTPW/World/Lobby/LobbyKeyPanelEffect.cs:8 | [BIN:TPW-EXE:0x4B9662 key panel effect end] a count below the selected island's cost ends the effect with 0x51FEB0 and clears the handle; the panel's window procedure does the same when the panel is hidden or destroyed (0x4B8B70: message 0x11 with 0, message 0x14, then 0x4B8EE0(0, 0), 0x4B8F9B) |
| TPW-EXE:0x4B96BE counter phase | source/OpenTPW.Tests/LobbyKeyCounterTests.cs:36 | [BIN:TPW-EXE:0x4B96BE counter phase] 0x4B97C6 formats the count only on the branch that shows EC: no keys leave EE unwritten |
| TPW-EXE:0x4B96BE counter phase | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:68 | [BIN:TPW-EXE:0x4B96BE counter phase] no keys hides EC; otherwise EC and EA are shown and EE reads "%d x" (0x758194) |
| TPW-EXE:0x4B9816 stored count | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:73 | [BIN:TPW-EXE:0x4B9816 stored count] the keys the next selection change compares with |
| TPW-EXE:0x4B9A70 city labels | source/OpenTPW/Online/OnlineScreens.cs:154 | [BIN:TPW-EXE:0x4B9A70 city labels] window 93200 (1477,90)-(2048,511) holds the name label 93201 (1477,90)-(2048,240), font slot 5, |
| TPW-EXE:0x4BD090 first-person entry | source/OpenTPW/Online/ParkPresence.cs:128 | [BIN:TPW-EXE:0x4BD090 first-person entry] entering a first-person view hides the own online person locally (0x4F9ED0) |
| TPW-EXE:0x4BD090 first-person entry | source/OpenTPW/Online/ParkPresenceState.cs:181 | [BIN:TPW-EXE:0x4BD090 first-person entry] entering a ride's view hides the own person locally (0x4F9ED0) and sends BOSS_CHAT_MOVE mode 2; a ride entered from the walk ends at the ride's exit cell (0x42A1D0, the thing's +0x38), and the next tick sends mode 3 there (0x4EA410) |
| TPW-EXE:0x4BD400 earmuffs state | source/OpenTPW/Online/ChatPanel.cs:84 | [BIN:TPW-EXE:0x4BD400 earmuffs state] the server's earmuffs answer sets the toggle (0x668bec) |
| TPW-EXE:0x4BD450 vote state | source/OpenTPW/Online/ChatPanel.cs:144 | [BIN:TPW-EXE:0x4BD450 vote state] the server's vote state enables or disables the vote button (vfunc +0x14) |
| TPW-EXE:0x4BD7F4 chat mode ride | source/OpenTPW/Hud/ParkHud.VisitChat.cs:46 | [BIN:TPW-EXE:0x4BD7F4 chat mode ride] over a thing of type 3 whose definition has AddOn.UpgradesId (+0x284) 0 and Info.WhichUIType (+0x4ac) 0, or 3 with the thing's choosable bit (+0x32 bit 0x10), the chat mode panel shows help 580 with the ride's name, and a click runs the ride window's Ride it! (0x4E15B0) |
| TPW-EXE:0x4BD7F4 chat mode ride help | source/OpenTPW/Hud/ParkHud.cs:1600 | [BIN:TPW-EXE:0x4BD7F4 chat mode ride help] over a rideable ride the chat mode panel shows help 0x244 (580, "<ride>: Left-click to ride") with the ride's name |
| TPW-EXE:0x4BD933 chat mode hover | source/OpenTPW/Hud/ParkHud.cs:1596 | [BIN:TPW-EXE:0x4BD933 chat mode hover] the chat mode panel shows help 0x191 (401, "Left-click to walk to this point") over the park |
| TPW-EXE:0x4BD933 chat mode hover | source/OpenTPW/Online/ChatParkView.cs:82 | [BIN:TPW-EXE:0x4BD933 chat mode hover] the original's chat park says UIHELPTEXT 401, "Left-click to walk to this point" |
| TPW-EXE:0x4BE290 name popup | source/OpenTPW/Online/ChatPanel.cs:183 | [BIN:TPW-EXE:0x4BE290 name popup] a right click on a row (0x402) reads the row's flags and player; the player's own row (0x4EA9A0) opens nothing, a buddy (bit 0) the six-button popup 0x1789 (focus 0x178C), anyone else the four-button popup 0x3003 (focus 0x3006); the ignore toggle takes bit 3, and 0x4BF370 places the popup at the pointer |
| TPW-EXE:0x4BE3A0 entry keys | source/OpenTPW/Online/ChatPanel.cs:90 | [BIN:TPW-EXE:0x4BE3A0 entry keys] Enter (0xD) says the typed line (0x4EA490) and empties the entry |
| TPW-EXE:0x4BE730 people row colour | source/OpenTPW/Online/ChatPanelModel.cs:113 | [BIN:TPW-EXE:0x4BE730 people row colour] the row's draw message (0x403) colours its text by the flags: no buddy white (0x758F30), a buddy offline red (0x758F3C), online elsewhere blue (0x758F34), in this park green (0x758F38) |
| TPW-EXE:0x4BE820 player buttons | source/OpenTPW/Online/ChatPanel.cs:78 | [BIN:TPW-EXE:0x4BE820 player buttons] message 0x100: 0xC312A runs the postcard 0x4A9380, 0xC3129 votes (0x4EB300) and disables itself, 0xC3128 turns the earmuffs on (0x4EBEE0) or off (0x4EBEF0) by its toggle state |
| TPW-EXE:0x4BE820 tabs | source/OpenTPW/Online/ChatPanel.cs:62 | [BIN:TPW-EXE:0x4BE820 tabs] message 0x101 of the tab group: the people tab (0xC3126) fills the list with the park's people (0x4EE8D0), the other with the buddies (0x4EE9E0) |
| TPW-EXE:0x4BE970 message rows | source/OpenTPW/Online/ChatPanelModel.cs:54 | [BIN:TPW-EXE:0x4BE970 message rows] a chat line is wrapped to the list's width and each piece added as a row; rows past the limit at 0x758F0C (20) are removed from the top, and the list shows its last row |
| TPW-EXE:0x4BE970 message rows | source/OpenTPW/Online/ChatPanelModel.cs:153 | [BIN:TPW-EXE:0x4BE970 message rows] the line is cut where the sum of its characters' widths (the font's vfunc +0xC) reaches the list column's width ((right − left) × screen width / 2048): characters, not words |
| TPW-EXE:0x4BEDE0 popup buttons | source/OpenTPW/Online/ChatPanel.cs:219 | [BIN:TPW-EXE:0x4BEDE0 popup buttons] b_bmark black-marks the player (command 0xE), b_gopeep goes to them (0x13), b_ignore ignores them or stops (0xD), b_unbuddi adds them to the buddy list in the four-button popup and removes them in the six-button one (0xF), b_peeploc finds where they are (0x14) and b_page pages them (0x11) |
| TPW-EXE:0x4BF460 chat mode | source/OpenTPW/Online/ChatPanel.cs:15 | [BIN:TPW-EXE:0x4BF460 chat mode] the overlay's window (0x7CC8BC) is table 0x758AE8 with the handler 0x4BD4A0; the panel 0xC3123 takes the name popups' handler 0x4BE290, the people list 0xC3124 the row template 0x4BF740 (colours 0x4BE730) and the list handler 0x4BE820, the tab group 0xC3125 starts on the people tab 0xC3126, the message list 0xC312B takes the row template 0x4BF8B0 (colours 0x4BE7C0) and the entry 0xC312C the key handler 0x4BE3A0, font slot 7 (0x758F08) and at most 255 characters; the two name popups (0x7CC8C4, 0x7CC8C8) are built hidden with the button handler 0x4BEDE0 |
| TPW-EXE:0x4BF760 row template | source/OpenTPW/Online/ChatPanel.cs:328 | [BIN:TPW-EXE:0x4BF760 row template] a row is as high as font slot 7's text plus 4 units |
| TPW-EXE:0x4C0880 park details enter | source/OpenTPW/Online/OnlineScreens.cs:264 | [BIN:TPW-EXE:0x4C0880 park details enter] Enter (0xE592E) runs the visit as for any park (0x5B86A0 → 0x5B8910: the download and MarkParkVisited, then game type 1 |
| TPW-EXE:0x4C0AE0 park details | source/OpenTPW/Online/OnlineScreens.cs:223 | [BIN:TPW-EXE:0x4C0AE0 park details] at 0x4C0C06 the dialog (table 0x759170, the Mac's data:0x51150) looks up the park's city (0x5BC9C0); with that city's flag |
| TPW-EXE:0x4C56E0 satellite click | source/OpenTPW/Online/OnlineScreens.cs:202 | [BIN:TPW-EXE:0x4C56E0 satellite click] satellite i (controls 0x16008-0x1600C, the index stored by 0x4C4FB0) runs 0x5B7910(i - 1): entry i of the chat satellite |
| TPW-EXE:0x4C58C0 analyser constructor | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:96 | [BIN:TPW-EXE:0x4C58C0 analyser constructor] mMapSquaresPerCell +0xC = 4, mGridSizeX/Y +0x10/+0x14 = 0x20, mMapSizeX/Y +0x18/+0x1C = 0x80; 0x400 cell records (0x4C5D10): two trackers at 0xC479C000 and seven at -999 (0xFFFFFC19), each with a flag byte 0; four small rings (0x4CDB60: current -1, 3 entries), six -999 trackers, sixteen rings of 0x90 entries, one of 0x32 and one of 5 (-1 current), twenty byte rings of 0x32 entries (0x4CE9E0), the counters 0 and the six timestamps zeroed (0x4C5B54-0x4C5B9C) and then stamped with the park time of the new park's turn 0 (0x4F8690, 0x4C5BF3-0x4C5CDE) |
| TPW-EXE:0x4C58C0 analyser constructor | source/OpenTPW/Economy/ParkStatisticsHistory.cs:7 | [BIN:TPW-EXE:0x4C58C0 analyser constructor] the history rings start with head -1 (+0x244 of the ring), their size (+0x248: 0x90 for the sixteen monthly rings, 0x32 for the stay ring) and the wrapped flag 0 (+0x24C) |
| TPW-EXE:0x4C58C0 analyser constructor | source/OpenTPW/Economy/ParkStatisticsHistory.cs:130 | [BIN:TPW-EXE:0x4C58C0 analyser constructor] sixteen rings of 0x90 entries, one of 0x32 and one of 5 |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveAnalyserStamps.cs:12 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] after the arrival ring: twenty byte rings from +0x216FC (0x4CEA00: current, entries, wrapped, temp u8 and 50 u8 entries), the 4-byte counters mMisbehavingKids (+0x21BFC), mMisbehavingKidsThatGotAwayWithIt (+0x21C00), mMisbehavingKidsEver (+0x21C04) and mLifetimeVisitors (+0x21C08), then the six 8-byte stamps mLastStrike (+0x21C10), mLastPuke (+0x21C18), mLastPrank (+0x21C20), mParkLastOpened (+0x21C28), mLastObjectBuilt (+0x21C30, written at 0x4C6B9A) and mLastStaffHired (+0x21C38, 0x4C6BC4) through 0x4CEDE0, raw, and the counters mMostPaidForTicket (+0x21C40), mLargestBusLoad (+0x21C44) and mLongestStay (+0x21C48) |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:98 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] the order of the fields: the five grid words, the 0x400 cell records (0x4C85B0: StartX, StartY, SizeX, SizeY and nine {i32, u8} pairs), 4 x 0x4CDB80 (current i32, entries i32, wrapped u8, temp u16, entries u16), 6 x 0x4CD9C0 ({i32, u8}), 16 + 2 rings of i32 (0x4CDF00, 0x4CE2D0, 0x4CE660: current, entries, wrapped u8, temp i32, entries i32), 20 x 0x4CEA00 (current, entries, wrapped, temp u8, entries u8), mMisbehavingKids, mMisbehavingKidsThatGotAwayWithIt, mMisbehavingKidsEver, mLifetimeVisitors (i32), six 8-byte timestamps, mMostPaidForTicket, mLargestBusLoad, mLongestStay (i32) |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveParkStatistics.cs:61 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] five grid words, 1024 61-byte cells, four 17-byte research rings and six 5-byte trackers precede sixteen 589-byte monthly records; 0x4CDF00 serializes head/capacity/wrapped/temp and every physical 32-bit word |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW.Files/Formats/Save/SaveWorld.cs:318 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] grid, short rings, trackers, monthly/stay/byte rings and totals; SaveParkStatistics derives the same fixed body width. |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW.Tests/OriginalSaveCorpusTests.cs:197 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] the body ends with six 8-byte stamps (mLastStrike, mLastPuke, mLastPrank, mParkLastOpened, mLastObjectBuilt +0x21C30, mLastStaffHired) and three words |
| TPW-EXE:0x4C5D70 analyser serializer | source/OpenTPW/Client/AutomaticAdvisor.cs:137 | [BIN:TPW-EXE:0x4C5D70 analyser serializer] a park from an original save takes its saved arrival groups, including an authoritative empty ring, instead of the stand-in for an unrecorded one |
| TPW-EXE:0x4C5D70 ring loader | source/OpenTPW/Economy/ParkStatisticsHistory.cs:317 | [BIN:TPW-EXE:0x4C5D70 ring loader] reads all 0x90 slots raw (loop at 0x4C6307), so the unread slots keep the saved words |
| TPW-EXE:0x4C7600 stay ring | source/OpenTPW/Economy/ParkStatisticsHistory.cs:158 | [BIN:TPW-EXE:0x4C7600 stay ring] the guest's turns in the park, in whole four-turn steps, become days (x * 15000 / 4 seconds over 86400, integer) and are stored in a 50-entry ring; the caller 0x502357 (guest state 21) stores it only for a guest whose admission was paid (+0x204) |
| TPW-EXE:0x4C7720 month handler | source/OpenTPW/Economy/ParkStatisticsHistory.cs:8 | [BIN:TPW-EXE:0x4C7720 month handler] a month step moves the head on (back to 0 at the size, setting the wrapped flag) and stores the value there; a read k takes the entry head - k, wrapping once the ring has wrapped (0x4801D0), and fails past the entries held |
| TPW-EXE:0x4C7720 month sample | source/OpenTPW/Economy/ParkStatisticsHistory.cs:167 | [BIN:TPW-EXE:0x4C7720 month sample] arrivals (+0x20CC0) into its ring and cleared; the happiness (0x4C7BB0, a single) and the census (0x4C7FA0, age 0) into their rings; the stay ring's mean over its newest 50 entries (0x4CEF30 over the count it returns, truncated; 0 when the ring is empty) into the stay ring |
| TPW-EXE:0x4C7A90 analyser setup | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:97 | [BIN:TPW-EXE:0x4C7A90 analyser setup] cell i of the grid has StartX = (i mod 0x20) x 4, StartY = (i / 0x20) x 4 and the extent 4 x 4, cut short at the map's edge |
| TPW-EXE:0x4CE660 ring serializer | source/OpenTPW.Files/Formats/Save/SaveArrivalRing.cs:19 | [BIN:TPW-EXE:0x4CE660 ring serializer] the order of the fields read at +0x18 (mCurrentEntry, 4 bytes, strings 0x759A80), +0x1C (mNumEntries, 4, 0x759A74), +0x20 (mWrappedAround, 1 byte, 0x759A64), the scratch word mTemp (4, 0x759A5C) and the entries mData (4 each, 0x759A50); the push 0x4CF42A steps the index, wraps it to 0 with the flag and stores the size |
| TPW-EXE:0x4CEA00 byte ring serializer | source/OpenTPW.Files/Formats/Save/SaveAnalyserStamps.cs:22 | [BIN:TPW-EXE:0x4CEA00 byte ring serializer] mCurrentEntry (+0x34) and mNumEntries (+0x38), 4 bytes each, mWrappedAround (+0x3C) and mTemp (+0) a byte each, then mNumEntries entries of a byte (from +1): a ring of another size moves every field after it |
| TPW-EXE:0x4CEF30 history sum | source/OpenTPW/Economy/ParkStatisticsHistory.cs:110 | [BIN:TPW-EXE:0x4CEF30 history sum] the newest n entries added as signed integers into a double, n cut to the entries the ring holds; the caller divides by the count it gets back |
| TPW-EXE:0x4CF3E0 arrival update | source/OpenTPW/Economy/ParkStatisticsHistory.cs:139 | [BIN:TPW-EXE:0x4CF3E0 arrival update] each guest the vehicle's group drops off adds one to the analyser's running arrivals (+0x20CC0) after the guest is created and the group counts down |
| TPW-EXE:0x4D01F0 bank debit | source/OpenTPW/World/ParkPathBuilder.cs:135 | [BIN:TPW-EXE:0x4D01F0 bank debit] the path tool charges Costs.PathCell through the bank debit, which does nothing while mWithdrawalsEnabled (bank +0x114, serialized by 0x4CF920) is 0; the bank constructor 0x4CF7C0 sets it to 1 and only the action recorder's layout replay of a visited online park clears it (0x404140, 'Starting layout replay', called from the front-end loop 0x54E360) until the replay ends (0x4041D0 at 0x4044C4 / 0x40459C), when no tool runs, so a played park always pays; OpenTPW's path is free only for a builder without a park economy, a state no played park has |
| TPW-EXE:0x4D0370 bank month | source/OpenTPW/Economy/ParkLedger.cs:58 | [BIN:TPW-EXE:0x4D0370 bank month] the month adds the bank's mBatchBalance (+0x10, serialized by 0x4CF920) to the balance and money in, but nothing adds to it in play: the constructor 0x4CF7C0, the reset message 0x13/10 (0x4D02D0) and this routine only clear it, and no caller of the bank getter 0x5195D0 writes it, so the month credits nothing without a row |
| TPW-EXE:0x4D0B30 cell base serializer | source/OpenTPW/World/Tracks/OriginalTrackImport.cs:17 | [BIN:TPW-EXE:0x4D0B30 cell base serializer] mDirection (+0xD), mFlags (+0xE, 2 bytes), mMeshInstance (+4), mNeighbours (+0xC), mOverlapCounter (+0x20), mParentID (+0x10), mTileData (+0x14, 12 bytes), mType (+8) and +0x22; the track cell 0x50C200 adds the 2-byte segment |
| TPW-EXE:0x4D3AA0 object controls | source/OpenTPW/Economy/OriginalEconomyImport.cs:936 | [BIN:TPW-EXE:0x4D3AA0 object controls] the control manager's table (150 records of 32 bytes, the used ones first) is the first part of the World after its variables; a record's researched byte (+0x10) is written by the lab's init 0x5031A0 (1 for an object without a research cost, so it starts researched), by the research step 0x504630 when a project reaches its cost (1, with the upgrade level in +0x14) and by the research cheat 0x503FF0 (1 for every research item's object, the project left unfinished), so the flags follow from the lab's projects and the objects' costs and are checked against OpenTPW's research here; in a save with the cheat mode on an object marked researched whose project is unfinished is the research cheat's (docs/CHEATS.md) |
| TPW-EXE:0x4D3AA0 object controls | source/OpenTPW/Economy/OriginalParkExport.cs:125 | [BIN:TPW-EXE:0x4D3AA0 object controls] the control manager's 150 records of 32 bytes, then the used count and the previous search key |
| TPW-EXE:0x4D7EA0 cell manager serializer | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:176 | [BIN:TPW-EXE:0x4D7EA0 cell manager serializer] each cell writes a status byte (bit 1 the map cell, bit 2 the track cell, bit 4 the region effect record, set when the ten bytes differ from the default 0x502470) and the records its bits name; the region record 0x502490 is five two-byte values read in memory order, stepping through the grid at +0x1B1104 ten bytes per cell, and a cell without the bit keeps the default |
| TPW-EXE:0x4D7EA0 cell manager serializer | source/OpenTPW/Economy/ParkEconomy.cs:863 | [BIN:TPW-EXE:0x4D7EA0 cell manager serializer] the region grid is saved and loaded with the cells (status byte bit 4, ten bytes a cell), and a loaded thing adds no row again: the saved grid is the grid after the load |
| TPW-EXE:0x4D7EA0 cell manager serializer | source/OpenTPW/World/ParkEnvironment.cs:71 | [BIN:TPW-EXE:0x4D7EA0 cell manager serializer] the original saves and loads its region grid as it is: the loader constructs no object (0x4DB090 is not run for a loaded thing, so no row is added again) and keeps the ten-byte records of the cells whose status byte has bit 4, so the grid after a load is the grid the save held, whichever sources made it |
| TPW-EXE:0x4D94E2 sprite position | source/OpenTPW/World/ParkLitterEffects.cs:27 | [BIN:TPW-EXE:0x4D94E2 sprite position] x = cell x * 10 + (first draw % 9) + 1, z = cell z * 10 + (second draw % 9) + 1 (constants 10.0 at 0x700494, -1.0 at 0x700490); the particle is created at (ftol(x * 1024.0), 0, ftol(z * 1024.0)) (0x700498) |
| TPW-EXE:0x4D95BD stinkbomb particle | source/OpenTPW/World/ParkLitterEffects.cs:9 | [BIN:TPW-EXE:0x4D95BD stinkbomb particle] after the sprite is placed, type 8 calls 0x521E60 with effect 0x32 and the sprite's position in original units times 1024 |
| TPW-EXE:0x4D9620 removing litter | source/OpenTPW/World/ParkLitterEffects.cs:41 | [BIN:TPW-EXE:0x4D9620 removing litter] a stinkbomb (type 8) ends its particle with 0x51FEB0 before the sprite goes |
| TPW-EXE:0x4DA920 mechanic HQ | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:27 | [BIN:TPW-EXE:0x4DA920 mechanic HQ] two bytes after the base, zero in a new park |
| TPW-EXE:0x4DB7D0 third gauge | source/OpenTPW/Economy/OriginalEconomyImport.cs:406 | [BIN:TPW-EXE:0x4DB7D0 third gauge] the float at attraction +0x4C is written by the constructor (0x4DB10B), the loader (0x4DCE42) and one more store (0x4DB363) and read only by the serializer (0x4DC64F); no other load of a +0x4C field exists in the attraction code (0x4D8000..0x4E4000), the guest code or the interface, so the third gauge needs no import |
| TPW-EXE:0x4DB8EE attraction serializer stamp | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:23 | [BIN:TPW-EXE:0x4DB8EE attraction serializer stamp] tv[0..7] are the out-fields of 0x5FC660 (FileTimeToSystemTime, IAT 0x6FD0BC) on the park time at +0x18: wYear, wMonth, wDay (SYSTEMTIME +6), wDayOfWeek (+4), wHour, wMinute, wSecond, wMilliseconds, written in that order (0x4DB8FB..0x4DB953) |
| TPW-EXE:0x4DC8A1 attraction loader stamp | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:24 | [BIN:TPW-EXE:0x4DC8A1 attraction loader stamp] the loader reads the eight words back (0x4DC849..0x4DC874) and passes tv[0], tv[1], tv[2], tv[4], tv[5], tv[6], tv[7] to 0x5FC5C0 (SystemTimeToFileTime, IAT 0x6FD150), which takes each word's low 16 bits; it skips the day of the week and checks nothing: a field SystemTimeToFileTime refuses keeps +0x18 as it was and writes -1 to a status word the loader never reads |
| TPW-EXE:0x4E5EF0 own person | source/OpenTPW/Online/ParkPresence.cs:246 | [BIN:TPW-EXE:0x4E5EF0 own person] entering the park places the player's own online person at the centre of entrance 0's cell (0x4D8690(0): FixedItemInfo.EntranceA, |
| TPW-EXE:0x4E5EF0 own person | source/OpenTPW/Online/ParkPresenceState.cs:156 | [BIN:TPW-EXE:0x4E5EF0 own person] the figure enters the park as a teleport: MovePlayer(…, 1) |
| TPW-EXE:0x4E7265 BOSS_CHAT_MOVE | source/OpenTPW.Online/Chat/ChatProtocol.cs:97 | [BIN:TPW-EXE:0x4E7265 BOSS_CHAT_MOVE] z 0 walks the online person to the place (0x4F7DE0), 1 teleports it there (0x4F7E20), 2 hides it (0x4F9ED0) and 3 unhides and teleports it |
| TPW-EXE:0x4E7265 BOSS_CHAT_MOVE | source/OpenTPW/Online/ParkPresenceState.cs:79 | [BIN:TPW-EXE:0x4E7265 BOSS_CHAT_MOVE] a relayed move finds the online person by name (0x4F7D70: the name at +0x19C), never the player's own, and its Z selects walk (0, 0x4F7DE0), teleport (1, 0x4F7E20), hide (2, 0x4F9ED0) or unhide and teleport (3) |
| TPW-EXE:0x4EE5C0 row flags | source/OpenTPW/Online/ChatPanelModel.cs:36 | [BIN:TPW-EXE:0x4EE5C0 row flags] a row's flags: bit 0 the name is a buddy (the buddy map at +0xE94), bit 1 that buddy is online (+0x1C), bit 2 the buddy is in this park (+0x1D), bit 3 the player ignores the name (the ignore map at +0xEA4) |
| TPW-EXE:0x4EE8D0 people tab | source/OpenTPW/Online/ChatPanelModel.cs:61 | [BIN:TPW-EXE:0x4EE8D0 people tab] the people tab lists every person of the park (+0xE84) with its flags; [BIN:TPW-EXE:0x4EE9E0 buddy tab] the buddy tab every buddy (+0xE94) |
| TPW-EXE:0x4EE9E0 buddy tab | source/OpenTPW/Online/ChatPanelModel.cs:61 | [BIN:TPW-EXE:0x4EE8D0 people tab] the people tab lists every person of the park (+0xE84) with its flags; [BIN:TPW-EXE:0x4EE9E0 buddy tab] the buddy tab every buddy (+0xE94) |
| TPW-EXE:0x4F7C60 avatar sparkle | source/OpenTPW/Online/ParkPresence.cs:455 | [BIN:TPW-EXE:0x4F7C60 avatar sparkle] an online person with +0x3A0 set (the player's own) starts effect 0x35, any other 0x39, through 0x4FA470 |
| TPW-EXE:0x4F7E20 teleport | source/OpenTPW/Online/ParkPresenceState.cs:293 | [BIN:TPW-EXE:0x4F7E20 teleport] the person stops walking (+0x39C = 0), takes animation state 3 and is set at the point (0x4FA930) |
| TPW-EXE:0x4F7E80 calendar constructor | source/OpenTPW.Files/Formats/Save/SaveWorld.cs:159 | [BIN:TPW-EXE:0x4F7E80 calendar constructor] +0 and +8 time stamps 0 then set from 2000-01-01 (0x5FC5C0) and the local time; +0x10 month 0, +0x14 day 0xFFFFFFFF, +0x18 0, +0x1C rate 15000; the loader 0x4F7F30 takes the fields back unchecked |
| TPW-EXE:0x4F7E80 calendar constructor | source/OpenTPW/Economy/OriginalEconomyImport.cs:159 | [BIN:TPW-EXE:0x4F7E80 calendar constructor] an unplayed park (restart.INTS) keeps the constructor's calendar: the park's start (2000-01-01), month cache 0, day cache -1; the first update fills the caches |
| TPW-EXE:0x4F7E80 calendar constructor | source/OpenTPW/Economy/OriginalParkExport.cs:75 | [BIN:TPW-EXE:0x4F7E80 calendar constructor] start 2000-01-01, month cache 0, day cache -1, rate 15000; the first update fills the caches |
| TPW-EXE:0x4F7F30 calendar serializer | source/OpenTPW/Economy/OriginalParkExport.cs:74 | [BIN:TPW-EXE:0x4F7F30 calendar serializer] funny time start (8), session start (8), month at last update (4), day at last update (4), seconds per real second (4); the loader takes them back unchecked |
| TPW-EXE:0x4F8B10 | source/OpenTPW.Tests/StaffVariantTests.cs:92 | [BIN:TPW-EXE:0x4F8B10] the person record's mSpriteID reduced by the category's bank count: a sprite id past the role's banks wraps |
| TPW-EXE:0x4FA470 sparkle position | source/OpenTPW/Online/ParkPresence.cs:456 | [BIN:TPW-EXE:0x4FA470 sparkle position] the person's model position with the terrain height under it (0x4527F0), times 1024, to the pool's create 0x521E60 |
| TPW-EXE:0x4FB530 guest serializer | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:193 | [BIN:TPW-EXE:0x4FB530 guest serializer] mNumShops (+0x1C8), mNumSideshows (+0x1CC) and mNumSideshowsWon (+0x1D0) follow mNumRides as saved |
| TPW-EXE:0x4FD950 | source/OpenTPW.Tests/OriginalGuestImportTests.cs:294 | [BIN:TPW-EXE:0x4FD950] mArrivalDate is the game tick of the stamp: 100 turns before the save's turn of 1100 |
| TPW-EXE:0x4FD950 time in park | source/OpenTPW/World/Guests/GuestSimulation.OriginalImport.cs:247 | [BIN:TPW-EXE:0x4FD950 time in park] mArrivalDate (+0x1D4) is the world's game tick at the stamp and the hours the visitor lists show are (tick − stamp) >> 2 turns (the roster's cell); the saved stamp gives the elapsed park turns, a stamp after the save's own turn is not a date |
| TPW-EXE:0x4FD9B1 visit count | source/OpenTPW/World/Guests/GuestSimulation.cs:3843 | [BIN:TPW-EXE:0x4FD9B1 visit count] the use routine 0x4FD970 sorts a finished visit by the type's Info.WhichUIType (+0x4AC): 0 raises the rides ridden (+0x1C4), 1 the shops visited (+0x1C8), 2 the sideshows played (+0x1CC), won or lost; any other kind (toilets, bins) counts none |
| TPW-EXE:0x4FE816 sideshow won count | source/OpenTPW/World/Guests/GuestSimulation.cs:3956 | [BIN:TPW-EXE:0x4FE816 sideshow won count] a sideshow's use routine tail raises the sideshows won (+0x1D0); a lost play skips the routine |
| TPW-EXE:0x4a02b0 loans list row | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:19 | [BIN:TPW-EXE:0x4a02b0 loans list row] the loans list's row factory makes each row as high as font slot 7's line height x 1536 / screen height + 6, computed once |
| TPW-EXE:0x4a06b0 loans tab | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:43 | [BIN:TPW-EXE:0x4a06b0 loans tab] the radio pair's message 0x101 sets the tab word [0x7cb260] (1 for b_spayup 0x12c4bf, else 0) and refills the list (0x49fa00); the |
| TPW-EXE:0x4a0cdd HUD cash refresh | source/OpenTPW/Hud/ParkHud.cs:317 | [BIN:TPW-EXE:0x4a0cdd HUD cash refresh] control 48 shows the number the active tool keeps in 0x81af4c (read by 0x52fbc0) and is hidden, cost -9999, or reset to the unset marker -999 when no tool is active: only the mode objects whose type (vtable +0x24) is 3, 4 or 8 (8 while 0x79c658 bit 0 is set, 0x447990) show it; type 3 is the tool-mode object 0x6fe9e0 that every build tool runs in; it is no sum of balance changes |
| TPW-EXE:0x4a0e30 date refresh | source/OpenTPW.Tests/StaffWindowTests.cs:53 | [BIN:TPW-EXE:0x4a0e30 date refresh] frame 1 when the newest money-out sample exceeds the newest money-in sample; empty rings tie, so the frame is 0 |
| TPW-EXE:0x4a0e30 date refresh | source/OpenTPW/Hud/ParkHud.cs:309 | [BIN:TPW-EXE:0x4a0e30 date refresh] at every date update (0x4815e0 daily, 0x481560) the arrow's frame becomes 1 when the newest entry of the money-out sample ring (+0x1f5a4, index +0x1f7e4) exceeds the newest of the money-in ring (+0x1fc94, index +0x1fed4); an empty ring reads as the year, so both sides tie and the frame is 0 |
| TPW-EXE:0x4a1278,0x65f447 | source/OpenTPW/Hud/ParkHud.MessageTube.cs:16 | [BIN:TPW-EXE:0x4a1278,0x65f447] attaching a reused slot appends it after surviving rows, represented here by list order. |
| TPW-EXE:0x4a13e8 | source/OpenTPW.Tests/ChallengeProgressTubeTests.cs:85 | [BIN:TPW-EXE:0x4a13e8] the bomb hides the row and the tube releases it 500 ms later |
| TPW-EXE:0x4a13e8 tube removal | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:150 | [BIN:TPW-EXE:0x4a13e8 tube removal] 0x100002 acts only on a window whose attribute bit 1 is set (0x4a13ee-0x4a13f5), clears it (0x65d9dd with 0) and posts message 5 with 500 ms delay (0x4a1408-0x4a1419); with the flag 1 it sends message 5 at once (0x4a1421-0x4a142d) |
| TPW-EXE:0x4a13e8 tube removal | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:169 | [BIN:TPW-EXE:0x4a13e8 tube removal] ordinary removal hides before a 500 ms delayed release; cross-tag replacement releases synchronously. |
| TPW-EXE:0x4a1440 arm children | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:132 | [BIN:TPW-EXE:0x4a1440 arm children] each child of the sliding panel is shown only while its right edge is right of the arm's left edge (0x4a1485) |
| TPW-EXE:0x4a14f0 arm drawer | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:169 | [BIN:TPW-EXE:0x4a14f0 arm drawer] message 10 starts a slide out (state 2, ten steps in +0x130, timer 0x80080 every 0x14 ms, 0x4a1556/0x4a15a7) and plays cat_ui 0x1C (0x4a1742); |
| TPW-EXE:0x4a15c8 arm panel depth | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:33 | [BIN:TPW-EXE:0x4a15c8 arm panel depth] after attaching the panel to the arm (0x65f447) the drawer lowers the panel's depth by 3 (0x65f16b), so it slides out |
| TPW-EXE:0x4a15c8 arm panel depth | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:62 | [BIN:TPW-EXE:0x4a15c8 arm panel depth] as the camera panel (BuildCameraPanel): the panel lies under the main panel while the drawer carries it out, and the arm's own art grows out from under the HUD |
| TPW-EXE:0x4a15c8 arm panel depth | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:211 | [BIN:TPW-EXE:0x4a15c8 arm panel depth] a panel the arm carries lies under the HUD (the drawer lowers its depth by 3 after attaching it, 0x4a15b1-0x4a15cd), so the two locator panels are added under the main panel as the camera panel is |
| TPW-EXE:0x4a1631 locator panel place | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:442 | [BIN:TPW-EXE:0x4a1631 locator panel place] the drawer places them as every arm panel (ArmDrawer): the staff panel (474,1159)-(941,1470), 467 wide, starts at 331 - 467 - 50 = -186, steps by (439 - 331 + 467 + 100) / 10 = 67 and ends at 484, centred on the arm at top 1127; the visitors' panel (-37,1159)-(429,1470), 466 wide, starts at -185, steps by 67 and ends at 485, also at top 1127 |
| TPW-EXE:0x4a1631 message panel place | source/OpenTPW/Hud/ParkHud.MessageTube.cs:337 | [BIN:TPW-EXE:0x4a1631 message panel place] the arm drawer places every panel it carries the same way (ArmDrawer): the message panel (458,1101)-(1073,1442) starts at 331 - 615 - 50 = -334, steps by (439 - 331 + 615 + 100) / 10 = 82 and ends at 486, centred on the arm at top 1069 + 213 - 170 = 1112; a Dutch gameplay video shows the panel's left edge at 486 and its top at 1112 |
| TPW-EXE:0x4a1631 panel gap | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:124 | [BIN:TPW-EXE:0x4a1631 panel gap] the 50 is a horizontal gap and the width is the panel's own: left = the arm's left - the panel's width - 50, centred vertically on the arm (0x4a163b-0x4a1647); the arm's tick then moves it right by (the HUD window's right - the arm's left + the panel's width + 100) / 10 each step (0x4a16e5, 0x4a19e7) |
| TPW-EXE:0x4a165d arm panel start | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:122 | [BIN:TPW-EXE:0x4a165d arm panel start] the drawer places a new panel left of the arm: its left at the arm's left - the panel's width - 50 (0x4a1631); the slide then moves it a |
| TPW-EXE:0x4a16f3 panel end | source/OpenTPW.Tests/RideUpgradeIngressTests.cs:334 | [BIN:TPW-EXE:0x4a16f3 panel end] the 675 x 274 panel (table 0x751530, root 859,916) ends at left 486 and top 1145 as the drawer places every arm panel: its build button (877, 944) lies at (504, 1173) |
| TPW-EXE:0x4a16f3 panel end | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:125 | [BIN:TPW-EXE:0x4a16f3 panel end] the step is the integer quotient (idiv by the tick count [esi + 0x130] = 10, 0x4a15a7) and the timer adds it ten times (0x4a18ca-0x4a19e2), so the panel ends at its start + 10 * trunc(travel / 10); the runtime rectangles are the table's (the HUD window 0x1D (37,984)-(439,1507) and the arm 0x21 (331,1069)-(1006,1495) of table 0x752940, shortened at 0x4a23e2), so the camera panel (width 319, height 153) stops at left 482, top 1206 |
| TPW-EXE:0x4a1725 arm retract | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:489 | [BIN:TPW-EXE:0x4a1725 arm retract] the arm's retract button is shown by the slide out and hidden again by the start of the slide in, whichever panel the arm carries |
| TPW-EXE:0x4a1725 arm retract | source/OpenTPW/Hud/ParkHud.MessageTube.cs:301 | [BIN:TPW-EXE:0x4a1725 arm retract] the arm's retract button (child 0x24) is shown by the slide out (0x4a171a-0x4a1734) and hidden again by the start of the slide in (0x4a1859-0x4a186c), whichever panel the arm carries |
| TPW-EXE:0x4a1737 drawer open | source/OpenTPW/Hud/ParkHud.Map.cs:126 | [BIN:TPW-EXE:0x4a1737 drawer open] opening the map/research drawer (message 0xA) plays cat_ui event 0x1C |
| TPW-EXE:0x4a1737 drawer open | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:59 | [BIN:TPW-EXE:0x4a1737 drawer open] opening the map/research drawer (message 0xA) plays cat_ui event 0x1C (the drawer's research button help is 'Click for research (R)') |
| TPW-EXE:0x4a1793 arm retract | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:447 | [BIN:TPW-EXE:0x4a1793 arm retract] the arm puts the carried panel away first (message 0xb), then its timer takes the panel waiting in slot 2 and posts it as 0xa (0x4a19a7-0x4a19c2) |
| TPW-EXE:0x4a17dc arm takeover | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:16 | [BIN:TPW-EXE:0x4a17dc arm takeover] a slide out that starts while the arm carries another panel first sends that panel message 0x1001d8, which for the coaster panel ends the tool (0x4982a0: 0x446fa0(0, 4), 0x497f00, 0x4474d0(0, 0)): another panel taking the arm ends the coaster tool at once (YieldCoasterPanelToArm) |
| TPW-EXE:0x4a186f | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:431 | [BIN:TPW-EXE:0x4a186f] message 0xB plays 0x1C; [0x4a1947] the finished slide plays 0xC2 |
| TPW-EXE:0x4a186f drawer close | source/OpenTPW/Audio/GameAudio.cs:110 | [BIN:TPW-EXE:0x4a186f drawer close] message 0xB sets state 3 (4 when wparam is -1) and plays cat_ui 0x1C; [BIN:TPW-EXE:0x4a1947] the finished state-3 slide (timer 0x80080, about ten 20 ms steps) plays 0xC2, a state-4 close posts 0xB to the parent instead; 0x1C and 0xC2 have no other callers |
| TPW-EXE:0x4a186f drawer close | source/OpenTPW/Hud/ParkHud.Map.cs:138 | [BIN:TPW-EXE:0x4a186f drawer close] a close plays cat_ui 0x1C when it starts and 0xC2 when the slide finishes (0x4a1947); OpenTPW has no slide, so both play at once |
| TPW-EXE:0x4a186f drawer close | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:86 | [BIN:TPW-EXE:0x4a186f drawer close] a close plays cat_ui 0x1C when it starts and 0xC2 when the slide finishes (0x4a1947); OpenTPW has no slide, so both play at once |
| TPW-EXE:0x4a18d8 slide end | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:210 | [BIN:TPW-EXE:0x4a18d8 slide end] each timer message with the count above zero decrements it and moves the arm (0x4a19d2-0x4a19f3); the message that finds it zero kills the timer (0x4a18e3), puts the panel away (state 3: 0x4a1911-0x4a1944) and plays 0xC2 (0x4a1947) |
| TPW-EXE:0x4a1947 | source/OpenTPW/Audio/GameAudio.cs:110 | [BIN:TPW-EXE:0x4a186f drawer close] message 0xB sets state 3 (4 when wparam is -1) and plays cat_ui 0x1C; [BIN:TPW-EXE:0x4a1947] the finished state-3 slide (timer 0x80080, about ten 20 ms steps) plays 0xC2, a state-4 close posts 0xB to the parent instead; 0x1C and 0xC2 have no other callers |
| TPW-EXE:0x4a1cd0 gauge refresh | source/OpenTPW/Hud/ParkHud.Gauge.cs:9 | [BIN:TPW-EXE:0x4a1cd0 gauge refresh] the gauge control's procedure re-arms the timer 0x80083 at 2000 ms and on each tick sets the gauge to ftol(mean x 1024 x 0.01), the mean being 0x4c7bb0's |
| TPW-EXE:0x4a1d44 gauge value | source/OpenTPW/Hud/ParkHud.Gauge.cs:43 | [BIN:TPW-EXE:0x4a1d44 gauge value] the mean is multiplied by the float constants 1024.0 (0x6ffa34) and 0.01f (0x6ffa38) and truncated, so a full mean of 100 gives 1023, not 1024: 0.01f is a hair under 0.01 |
| TPW-EXE:0x4a2082 HUD builder | source/OpenTPW/Hud/ParkHud.cs:272 | [BIN:TPW-EXE:0x4a2082 HUD builder] 0x4929f0 measures "999999999" (0x752f10) in font slot 1; x1 = x0 + width2048/screenW (word [0xfaa5c4]), H = textHeight1536/screenH ([0xfaa5c0]) + 16 (0x4a2138), y0 = dollarTop + (dollarBottom - dollarTop)/2 - H/2 (integer), y1 = y0 + H; 0x65cc04 applies the rectangle. The measured-extent fields are medium confidence |
| TPW-EXE:0x4a2082 HUD builder | source/OpenTPW/Hud/ParkHud.cs:401 | buttons start right below the date box. [BIN:TPW-EXE:0x4a2082 HUD builder] the original then resizes control 47 to the measured width of |
| TPW-EXE:0x4a22b2 HUD cost text colour | source/OpenTPW/UI/Original/UiText.cs:319 | [BIN:TPW-EXE:0x4a22b2 HUD cost text colour] the HUD builder 0x4a1d70 gives control 0x30 (48: the tool's cost, font slot 2) the colour (255, 255, 0, 255), the date (control 0x20, font slot 3) black (0x4a2533) and the two counter rows 0x36 / 0x37 white (0x4a1f4a, 0x4a1e74) |
| TPW-EXE:0x4a23d0 arm home rectangle | source/OpenTPW/Hud/ArmDrawer.cs:41 | [BIN:TPW-EXE:0x4a23d0 arm home rectangle] arm.right += arm.left - handle.left: 1006 + (331 - 976) = 361; the slide-in step 0x4a1814-0x4a1828 divides (arm.left - the handle's left) by the tick count, so a slide in undoes a slide out exactly |
| TPW-EXE:0x4a2490 HUD gauge | source/OpenTPW/Hud/ParkHud.Gauge.cs:53 | [BIN:TPW-EXE:0x4a2490 HUD gauge] the builder attaches 0x477870's vertical meter model to child 0x1f; constructor zero already draws empty. |
| TPW-EXE:0x4a2790 create | source/OpenTPW/Hud/ParkHud.PointerInput.cs:52 | [BIN:TPW-EXE:0x4a2790 create] the window is made only while [0x7cb2cc] is still empty |
| TPW-EXE:0x4a43b0 options label font | source/OpenTPW/UI/Original/UiWidgets.cs:226 | [BIN:TPW-EXE:0x4a43b0 options label font] the original's options labels take font slot 6 of the screen mode's bank ([0x7537b4], 0x4a443c) with no fitting |
| TPW-EXE:0x4a43b0 options labels | source/OpenTPW/UI/Original/UiText.cs:340 | [BIN:TPW-EXE:0x4a43b0 options labels] the original's options labels (and the slider labels, 0x4a4490) get the colour (0,0,0,255) (0x4a441e, 0x4a44fe) and font slot 6 ([0x7537b4]) |
| TPW-EXE:0x4a443c bank font | source/OpenTPW/UI/Original/UiWidgets.cs:228 | [BIN:TPW-EXE:0x4a443c bank font] slot 6 is GAME5AA/GAME7/GAME8/GAME9 for banks 0-3; which shipped font serves the label per size tier is [EXT:ui-font-tier-by-scale], and a label that overflows is not shrunk in the original but laid out by the text library (wrapped into its rectangle: 0x6ae930, 0x6aeb10, 0x6aec80) |
| TPW-EXE:0x4a4490 volume sliders | source/OpenTPW/Audio/SavedSoundVolumes.cs:73 | the tick sends each percent and on-flag as saved (0x51BD70); OpenTPW's mixer takes a 0..1 gain, so a percent outside 0..100 is clamped ([BIN:TPW-EXE:0x4a4490 volume sliders] range 0..100) |
| TPW-EXE:0x4a4490 volume sliders | source/OpenTPW/UI/Original/Options/GameOptions.cs:38 | [BIN:TPW-EXE:0x4a4490 volume sliders] the options volume sliders get SetRange(0,100) (0x66b47d: min 0, max 100), an integer value and line and page steps of 1 (slider constructor 0x66ad77/0x66adc9), so OpenTPW's 1 % steps over 0..100 are the original's granularity. |
| TPW-EXE:0x4a455a options slider range | source/OpenTPW/UI/Original/UiWidgets.cs:854 | [BIN:TPW-EXE:0x4a455a options slider range] the options page creates its sliders with the range 0..100 and no page setting (the default 1 stays), its change handler 0x4a2e90 only updates the setting's text and leaves the knob where it was dragged; the original-class mechanics are built for the sliders that use Truncates (research effort, object settings), and the options page's own presets and volume steps are [EXT:options-slider-steps] |
| TPW-EXE:0x4a53a2 black window text | source/OpenTPW/UI/Original/UiText.cs:322 | [BIN:TPW-EXE:0x4a53a2 black window text] literal (0,0,0,255) pushes before 0x65c5d5: the park information window's two labels (0x4a52a0: the Top 3 Thoughts title 0x4a68ce and the happiness caption 0x4a68cf; its toggles and period buttons 0x4a68bc..0x4a68c4, like the finance window's eleven toggles of 0x49ac60, are set black too but the button SetText override 0x668d5f calls 0x668ad3 right after (0x4a551b, 0x49adc6) and reapplies white, so they draw white), the ticket price window's two (0x498d80), the options labels (0x4a441e) and the banners and captions of 0x496f90, 0x4ad720, 0x4afaa0, 0x4b0ed0, 0x4b75a0, 0x4bb800 and 0x4a6e40 |
| TPW-EXE:0x4a6a50 new player award | source/OpenTPW/Economy/ParkObjectives.cs:701 | [BIN:TPW-EXE:0x4a6a50 new player award] a player created through name entry gets mExtraKeys +1 (0x5afc30, its only caller 0x4a6b2e) unless GameType is 2 (Instant Action: message 394 only, no key) |
| TPW-EXE:0x4a6a50 new player award | source/OpenTPW/Economy/PlayerProgressAdmission.cs:16 | [BIN:TPW-EXE:0x4a6a50 new player award] a new Full Simulation player's mExtraKeys (+0x20) is raised once from the constructor's 0 (0x5aef50) by 0x5afc30 |
| TPW-EXE:0x4a7d70 postcard handler | source/OpenTPW/Online/OnlineScreens.cs:1756 | [BIN:TPW-EXE:0x4a7d70 postcard handler] an edit of the message or title field (message 0x801) sets its flag (0x7cbf40, 0x7cbf3c); b_clear empties the three fields |
| TPW-EXE:0x4a8c00 postcard build | source/OpenTPW/Online/OnlineScreens.cs:1754 | [BIN:TPW-EXE:0x4a8c00 postcard build] the title gets UITEXT 0xd0; the recipients field holds at most 0x1ff characters and starts with UITEXT 0xd3, the title field 0x5f and |
| TPW-EXE:0x4a8c89 postcard refusal | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:158 | [BIN:TPW-EXE:0x4a8c89 postcard refusal] when the composer 0x4A8C00 cannot be built (the check 0x5B6460 returns 0) it queues ERRORMSG 0x4E through 0x47F410: the alert queue (0x47F620 -> 0x47F020, one button) shows it and, like every generic message box, pauses the park while it is open |
| TPW-EXE:0x4a8c89 postcard refusal | source/OpenTPW/Hud/ParkHud.ScreenShortcuts.cs:246 | [BIN:TPW-EXE:0x4a8c89 postcard refusal] the composer's refusal is the alert queue's box (ERRORMSG 0x4E), see OpenPostcardFromPanel |
| TPW-EXE:0x4a9380 postcard | source/OpenTPW.Tests/UiRegisterRound2Tests.cs:82 | [BIN:TPW-EXE:0x4a9380 postcard] pauses at 0x4a93d7; [BIN:TPW-EXE:0x48cd10 delete confirmation] is the message box 0x47f020, which pauses at 0x47f26c |
| TPW-EXE:0x4a9380 postcard | source/OpenTPW/Client/GameFlow.cs:1377 | [BIN:TPW-EXE:0x4a9380 postcard] the postcard button (100 of the camera panel, 0x498ad0) and Ctrl+P (0x481500) run 0x4a9380, which plays cat_ui 0x95 flat before it builds the composer |
| TPW-EXE:0x4a97ad workload knob sound | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:113 | [BIN:TPW-EXE:0x4a97ad workload knob sound] the master slider's change (message 0x800 from 0xd2d10, after the limit clamp) sets parameters 0xC and 0xD of both loops to value * 100 / 1024 (the signed shift of 0x4a98d5-0x4a98dd) through 0x51bc40 |
| TPW-EXE:0x4a97d4 staffing refresh | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:457 | [BIN:TPW-EXE:0x4a97d4 staffing refresh] only a changed ability sum reprojects workload; ordinary frames, efforts and targets leave the raw value alone. |
| TPW-EXE:0x4a985b workload knob | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:360 | [BIN:TPW-EXE:0x4a985b workload knob] on a change (message 0x800 from 0xd2d10) a value above the limit is set back to the limit and the workload becomes 70 + value × 30 / limit (0x503900) |
| TPW-EXE:0x4a99ea capacity clamp | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:488 | [BIN:TPW-EXE:0x4a99ea capacity clamp] the change handler calls SetPos again when the raw value exceeds the staffing limit. |
| TPW-EXE:0x4a9a53 effort slider sound | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:131 | [BIN:TPW-EXE:0x4a9a53 effort slider sound] message 0x801 from a slider other than the master starts cat_ui 0x9C (0x4a9b87, the helper keeps the handle at 0x7cc1d4) and sets its parameters 0xB and 0xA to the value; 0x800 sets them again as the value changes (0x4a9a2c); 0x802 stops the sentence (0x4a9a5c) and clears the handle |
| TPW-EXE:0x4a9fc0 fluid tick | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:210 | [BIN:TPW-EXE:0x4a9fc0 fluid tick] each panel's fluid control steps on every message 0x1e, which the UI sends once per rendered frame (0x48a580 -> 0x658f6c -> 0x658f97) |
| TPW-EXE:0x4aa480 research refusals | source/OpenTPW/Hud/ParkHud.cs:246 | [BIN:TPW-EXE:0x4aa480 research refusals] the research window's builder shows the boxes UITEXT 0x1D4 (Instant Action) and 0x1D3 (no scientist hired) instead of the window; they are 0x47F020 boxes too (0x4AA533, 0x4AA596) |
| TPW-EXE:0x4aa480 research window refusals | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:38 | [BIN:TPW-EXE:0x4aa480 research window refusals] the builder returns while the pause menu is open (0x48C8D0) or the window exists, shows the 0x47F020 box UITEXT 0x1D4 ("Research is automatic in Instant Action mode.") in game |
| TPW-EXE:0x4aa4f5 research window sounds | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:96 | [BIN:TPW-EXE:0x4aa4f5 research window sounds] building the window (0x4aa480, after the money, instant-research and panel checks) starts cat_ui 0x9A and 0x9B through the play helper 0x485aa0 and keeps both handles (0x7cc1d0, 0x7cc1cc); its destroy message 0x14 stops them with 0x51c2c0 (0x4a96b0) |
| TPW-EXE:0x4aa6bd effort sliders | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:288 | [BIN:TPW-EXE:0x4aa6bd effort sliders] SetRange(0,100) on the generic slider class: integer value 0..100, a drag position is truncated (0x66afc9), the ball runs linearly across the table's slider rectangle |
| TPW-EXE:0x4aac80 research window | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:350 | [BIN:TPW-EXE:0x4aac80 research window] the builder stores 0x4c9ed0 (MaxResearchersInPark 0x7852f8 × ResearcherConstsPerGrade[4].ResearchAbility 0x78548c) to 0x7cc1b4 and |
| TPW-EXE:0x4aacce initial workload | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:435 | [BIN:TPW-EXE:0x4aacce initial workload] new slider value 0; project the saved workload through SetPos, which only notifies when its raw value changes. |
| TPW-EXE:0x4aaf70 buy-menu filler | source/OpenTPW/Economy/EconomyObjectCatalog.cs:146 | [BIN:TPW-EXE:0x4aaf70 buy-menu filler] a definition is listed only in the tab (0-3) equal to its Info.WhichUIType (+0x4ac, copied from +0x4c by 0x413410), |
| TPW-EXE:0x4aaff0 buy list filler | source/OpenTPW/Hud/BuyListModel.cs:56 | [BIN:TPW-EXE:0x4aaff0 buy list filler] a type gets a row only when its model loaded, its UI type is the tab's, it is no add-on and its control record's byte +0x10 (0x4d3d10: set when the type is researched or available at the start) is nonzero (0x4ab023) |
| TPW-EXE:0x4ab034 buy list row | source/OpenTPW/Economy/ParkEconomy.cs:2232 | [BIN:TPW-EXE:0x4ab034 buy list row] the row filler shows the ticket cost (type +0xc4, negated) for a type with a cost above 0 until 0x4d4b70 (the player's bought-with-tickets set, 0x5af780) holds it |
| TPW-EXE:0x4ab034 buy list row | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:228 | [BIN:TPW-EXE:0x4ab034 buy list row] a type with GoldenTicketCost (+0xc4) above 0 that 0x4d4b70 (the player's bought-with-tickets set) does not hold gets the name 0x485b00(0x89) = UITEXT 137 and the value -cost; any other row its type's name and its price (+4) |
| TPW-EXE:0x4ab12f buy list land rows | source/OpenTPW/Hud/ParkHud.Land.cs:17 | [BIN:TPW-EXE:0x4ab12f buy list land rows] the build list of category 3 always appends a row with UITEXT 0x86 'Buy Land', id -1 and the value of the word 0x78560c (Costs.MapCell), then one with UITEXT 0x87 'Clear Land', id -2 and the value 0 |
| TPW-EXE:0x4ab1b0 buy preview | source/OpenTPW/Hud/HudStubs.cs:128 | [BIN:TPW-EXE:0x4ab1b0 buy preview] a row whose type has GoldenTicketCost (+0xc4) above 0 and is not in the bought-with-tickets set (0x4d4b70) takes the branch of the negative row ids: the preview object (0x486410) is the record of type 0x64 = 100 (0x412e90), as the land rows -1 and -2 take types 101 and 102 |
| TPW-EXE:0x4ab1b0 buy preview | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:235 | [BIN:TPW-EXE:0x4ab1b0 buy preview] for such a row the preview is the type-100 object, the footprint control 0x1eb is only cleared (0x5f9a80 with colour 0) and the name control 0x1ec gets UITEXT 0x89 (0x485b00); the stats frame (0x4abb00) has no such test and shows the ride's own values |
| TPW-EXE:0x4ab1b0 buy preview | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:411 | [BIN:TPW-EXE:0x4ab1b0 buy preview] a selection makes the preview object (0x486410) in the inner rectangle (+0x2c, 0x65d4f6) of the preview frame 0x1ea, (437,202)-(797,565) |
| TPW-EXE:0x4ab1b0 footprint grid | source/OpenTPW/Hud/ParkHud.BuyFootprint.cs:24 | [BIN:TPW-EXE:0x4ab1b0 footprint grid] the loops run over the footprint's width (columns, x grows to the right) and height (rows, row 0 at the bottom of the control's bitmap); a cell is the bitmap's size / 8 (integer pixels) square and a footprint beyond 8 cells is cut off by the bitmap |
| TPW-EXE:0x4ab3d2 footprint colours | source/OpenTPW/Hud/ParkHud.BuyFootprint.cs:14 | [BIN:TPW-EXE:0x4ab3d2 footprint colours] 0x4ab1b0 fills each class's cell with a half-transparent colour: classes 1 and 4 (255, 170, 30), class 2 (50, 220, 15), class 3 (15, 100, 220), all with alpha 0x80, bytes in the engine's R, G, B, A order |
| TPW-EXE:0x4abb00 buy gauges | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:278 | [BIN:TPW-EXE:0x4abb00 buy gauges] a gauge value is the record field × 1024 / 100 in integer steps (0x66d885 clamps it to 0..1024), not the exact share |
| TPW-EXE:0x4abb00 buy stats | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:281 | [BIN:TPW-EXE:0x4abb00 buy stats] on a selection the rides' row-1 gauge (0x1ee) is the type record's +0x13c (UsageInfo.ExcitementLevel) and the row-3 gauge (0x1ef) its +0x1b0 (Upgrades[0].WearRate), both × 1024 / 100, and the |
| TPW-EXE:0x4ac42e buy preview delay | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:93 | [BIN:TPW-EXE:0x4ac42e buy preview delay] the window's update makes the pending preview (0x4ab1b0) only when the clock (0x65968e) is more than 0x1f4 = 500 ms past the moment the selection last changed ([0x7cc1f0], written by 0x4aca2a); until then the old preview keeps turning |
| TPW-EXE:0x4ac683 buy click | source/OpenTPW/Hud/ParkHud.cs:611 | [BIN:TPW-EXE:0x4ac683 buy click] the chosen item's type record +0x4C (Info.WhichUIType) is 0 (a ride) and no ride stands in the park (0x4824d0(0x80, 0): the first placed object with that type and no add-on id, 0x4828f0): help 0xC9 (201), else 0xCE (206) |
| TPW-EXE:0x4ac7f6 buy row refusal | source/OpenTPW/Hud/ParkHud.cs:559 | [BIN:TPW-EXE:0x4ac7f6 buy row refusal] on the PC the buy list's row activation (0x400, 0x4ac4f9) plays the error 0x1D (0x486ae0) when the money is below the price (0x4ac6c7) or a golden-ticket row cannot be paid (0x4ac5b0), and starts no tool; the row itself adds no click |
| TPW-EXE:0x4ac82f buy land row | source/OpenTPW/Hud/ParkHud.Land.cs:68 | [BIN:TPW-EXE:0x4ac82f buy land row] the row -1 builds tool 0x39 and posts help 0x15A (346) through 0x486b00 (0x4ac996) |
| TPW-EXE:0x4ac851 buy list land tool | source/OpenTPW/Hud/ParkHud.Land.cs:38 | [BIN:TPW-EXE:0x4ac851 buy list land tool] the buy button on row -1 builds the tool object 0x46c580(0x39), the Buy Land mouse mode; row -2 builds 0x46c580(0x3a), the area clear |
| TPW-EXE:0x4ac855 land tool | source/OpenTPW/Hud/ParkHud.cs:326 | [BIN:TPW-EXE:0x4ac855 land tool] the buy window builds the Buy Land tool (0x39) as the type-3 tool-mode object (0x46c580), so the HUD refresh shows the tool's cost 0x81af4c for it as for every build tool: the land's price while a rectangle is hovered (0x532303), else 0 (the tool start 0x52f050 clears it, 0x52f087) |
| TPW-EXE:0x4ac8e9 clear land row | source/OpenTPW/Hud/ParkHud.Land.cs:52 | [BIN:TPW-EXE:0x4ac8e9 clear land row] the row -2 builds tool 0x3A and posts help 0x159 (345) through 0x486b00 (0x4ac996) |
| TPW-EXE:0x4ac9e8 buy list selection | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:146 | [BIN:TPW-EXE:0x4ac9e8 buy list selection] the list's selection message 0x401 (posted by 0x66525c on every change of the selected row) updates the stats frame at once (0x4abb00) and arms the preview when the row's type differs from the pending one ([0x7cc1e4], time [0x7cc1f0]); a selection of nothing (-1) does nothing |
| TPW-EXE:0x4acd72 buy window build | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:113 | [BIN:TPW-EXE:0x4acd72 buy window build] the window starts with no preview and no pending one (the ids [0x7cc1e4], [0x7cc1e8] and the time [0x7cc1f0] are set to -1); the first selection arms the preview like any other |
| TPW-EXE:0x4acdae buy window control 512 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:312 | [BIN:TPW-EXE:0x4acdae buy window control 512] a type-1 label at (1297,75)-(1769,154) (table record 0x755114) shows the park's cash balance (0x7cf83c -> 0x5195d0 -> 0x6ad810, the HUD cash accessor) as UITEXT 0x1ca "Cash $ N" (0x4ace20), or 0x1cb with the magnitude when it is negative (0x4acdec); 0x4ac2fa refreshes it. The same label text as the hire window's control 9366. |
| TPW-EXE:0x4ad240 buy list row | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:21 | [BIN:TPW-EXE:0x4ad240 buy list row] the buy list's row factory makes each row (0x65bcad) as high as font slot 7's line height (BF4 header byte 5, 0x6b05e0) × 1536 / screen height + 6, computed once (0x7cc200): 42 at 512×384, 41 at 640×480, 39 at 800×600, 34 at 1024×768 |
| TPW-EXE:0x4ad4e0 ride door | source/OpenTPW/Hud/ParkHud.cs:451 | [BIN:TPW-EXE:0x4ad4e0 ride door] the ride window latches b_door (0x668bec, state 5, the down frames) while the ride is closed (+0x68 == 0, 0x4e0440; "Closing" 0x4df300 clears it, "Opening" 0x4df390 sets it), and a latched button shows its second help id (0x669410: 12, open) and the other state the first (13, close); a click (message 0x100) with parameter 1 closes the ride, any other opens it (0x4af858 → 0x48ccf0) |
| TPW-EXE:0x4ad4e0 ride window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:445 | [BIN:TPW-EXE:0x4ad4e0 ride window refresh] status 3 (condemned) hides b_door, b_queue, b_track, b_callmech, b_move, b_ride it! and b_upgrade; status 0x19 or 0x1a disables b_door whatever the open word; a closed ride whose guard 0x4df290 refuses disables it too; the shop and sideshow refreshes (0x4b01d0, 0x4b16c0) show the banner without door logic |
| TPW-EXE:0x4ad4e0 ride window refresh | source/OpenTPW/World/Commands/ParkSettingCommands.cs:191 | [BIN:TPW-EXE:0x4ad4e0 ride window refresh] a condemned ride's window hides its door, and the two track statuses grey it whatever the open word (ParkHud.ApplyObjectStatus) |
| TPW-EXE:0x4ad53a track button | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:321 | [BIN:TPW-EXE:0x4ad53a track button] the ride window shows control 0x3e2a when the object's type record has a track type (+0x9c nonzero), and its handler 0x4af200 sends type 1 to tool 0xe, type 2 to 0x13 and type 3, a coaster, to 0x4988c0, which enters the tool (0x4474d0, state 2 for a complete track whose circuit is closed) |
| TPW-EXE:0x4ad6c7 b_move | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:17 | [BIN:TPW-EXE:0x4ad6c7 b_move] the ride window's refresh shows control 0x3e2c and enables it with 0x52c2b0 (Level.CanMove); the shop and sideshow windows' b_move (0xc080, 0xa0a8) have no such test and click the same pick-up 0x48cfa0 (their handlers 0x4b0b30 and 0x4b2150) |
| TPW-EXE:0x4ad720 status banner | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:529 | [BIN:TPW-EXE:0x4ad720 status banner] the window's init makes the chev control a centred text in font slot 8, hidden; 0x48d160 hides it for status 0 and otherwise shows it with the status text and colour |
| TPW-EXE:0x4ade40 ride window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:160 | [BIN:TPW-EXE:0x4ade40 ride window refresh] the four gauges take (byte value << 10) / 100: 0x3e16 the excitement routine 0x4e0560 and 0x3e18 the reliability routine 0x4df640, both called with the window's own slider values (+0x2c speed, +0x30 capacity, +0x34 duration), 0x3e19 the float at the object's +0x44 (the state of repair) and 0x3e17 the float at +0x48 (the second gauge, the remaining life), both truncated |
| TPW-EXE:0x4adfad ride window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:22 | [BIN:TPW-EXE:0x4adfad ride window refresh] the ride window fills control 0x3e21 with the customer sum of the monthly history (0x495cf0), 0x3e1b with the age in days of the object (0x4dd670: the clock less the build time at +0x18, divided by the day), the gauges 0x3e16 and 0x3e18 from 0x4e0560 and 0x4df640 (the excitement and reliability from the three slider values +0x2c..+0x34), 0x3e19 from the float at +0x44, 0x3e17 from 0x4dd6d0 (the float at +0x48) and 0x3e23 with the scrap value (0x4e2400) |
| TPW-EXE:0x4aec30 slider labels | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:278 | [BIN:TPW-EXE:0x4aec30 slider labels] the labels take UI text 0x1aa ("Speed : "; OpenTPW's 425, as tp.exe's ids above 207 are one more), for the capacity 0x1cf (track type 3), 0x1cd (track type 2) or 0x1ab, and for the duration by Info.DurationUnit 0x1ac (unit 1 and a value of 1), 0x1ad (unit 1), 0x1ae (2), 0x1af (3) or 0x1b0 (4), each with the value as its parameter (0x6acd60); unit 0 hides the label |
| TPW-EXE:0x4af030 ride window load | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:123 | [BIN:TPW-EXE:0x4af030 ride window load] the speed slider 0x3e30 gets the range MinSpeed..MaxSpeed (type +0x134/+0x138) and the position ride +0x58, the duration slider 0x3e2f MinDuration..MaxDuration and +0x5c (shown only with Info.DurationUnit, +0x70), the capacity slider 0x3e2d MinCapacity..MaxCapacity and +0x5d (hidden with its label 0x3e31 when the two are equal) |
| TPW-EXE:0x4af08b slider red line | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:296 | [BIN:TPW-EXE:0x4af08b slider red line] the speed slider's child gauge 0x3e2e gets (Upgrades[level].RedLineSpeed (type +0x1ac + level·0x40) << 10) / (MaxSpeed − MinSpeed), the capacity slider's (RedLineCapacity (+0x19c + level·0x40) << 10) / (MaxCapacity − MinCapacity) |
| TPW-EXE:0x4af200 coaster tool entry selects | source/OpenTPW/World/Level.Coasters.cs:393 | [BIN:TPW-EXE:0x4af200 coaster tool entry selects] every coaster tool entry runs the select 0x5276D0 first (the ride window's track button 0x4AF200, the marker-cell press and |
| TPW-EXE:0x4af440 ride window apply | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:96 | [BIN:TPW-EXE:0x4af440 ride window apply] SetSpeed(window +0x2c), SetCapacity(byte window +0x30), and SetDuration(byte window +0x34) when the type record's +0x70 (Info.DurationUnit) is nonzero; the window's three values come from its sliders 0x3e30, 0x3e2d and 0x3e2f (0x4af600, message 0x800) |
| TPW-EXE:0x4af440 ride window speed | source/OpenTPW/VM/RideVM.cs:839 | [BIN:TPW-EXE:0x4af440 ride window speed] the ride window's speed slider (0x3e30, MinSpeed..MaxSpeed) sets the bias through SetSpeed 0x4dd6e0 (0x55a300) when the window applies on closing or stepping (OriginalObjectRuntime.ApplyRideWindow) |
| TPW-EXE:0x4af5d6 add-on refusal | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:170 | [BIN:TPW-EXE:0x4af5d6 add-on refusal] the upgrade list's row activation (0x400, 0x4ae465) buys an add-on through 0x4af480, which plays the error 0x1D (0x486ae0) when the money is below its price; level rows refuse silently there, and no row adds a click |
| TPW-EXE:0x4af8b4 ride erase | source/OpenTPW/Hud/ParkHud.cs:452 | [BIN:TPW-EXE:0x4af8b4 ride erase] b_erase (control 0x3e2b) deletes the ride (0x48cd10), asking first (UITEXT 0x18c) when the Confirmations option [0x78d90f] is on |
| TPW-EXE:0x4afc10 shop window labels | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:25 | [BIN:TPW-EXE:0x4afc10 shop window labels] the label controls 0xc075, 0xc071, 0xc072, 0xc073, 0xc074, 0xc07a and 0xc07b (rows 0-6 by their y) take UITEXT 0x20-0x26 (0x485b00): customers last month, cost of goods, takings last month, profit last month, customer satisfaction, scrap value, local happiness |
| TPW-EXE:0x4b01d0 shop window customers row | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:141 | [BIN:TPW-EXE:0x4b01d0 shop window customers row] the row (0xc070) sums the customers ring (+0x1A8) and the walk-aways ring (+0x230) over their 30 days and formats record 0x1CC with the text variable 0x19 = the customers and 0x1A = the customers plus the walk-aways (0x4b0423); the sideshow window's first row (0xa09d) does the same (0x4b18e6) |
| TPW-EXE:0x4b01d0 shop window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:28 | [BIN:TPW-EXE:0x4b01d0 shop window refresh] the customers, takings and profit rows are sums over the object's 30-day rings, the profit row the takings ring's sum less the costs ring's (0x4e1c70), not a calendar month (ECON-057) |
| TPW-EXE:0x4b0454 shop window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:23 | [BIN:TPW-EXE:0x4b0454 shop window refresh] the shop window fills rows 0 (0xc070, a history sum) and 1 (0xc076, 0x4e1a30), 2 (0xc077, a history sum), 3 (0xc078, 0x4e1c70), the gauge row 4 (0xc079, 0x4e1e30), the scrap value in row 5 (0xc07d, 0x4e2400) and the gauge row 6 (0xc07c, help 23 "Happiness of visitors in the area around the shop") |
| TPW-EXE:0x4b05f9 local happiness cell | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:95 | [BIN:TPW-EXE:0x4b05f9 local happiness cell] the refresh passes the object's own cell (the thing's bytes +5 and +7: the anchor plus the type's rotated map offset, OriginalObject.ThingCell) |
| TPW-EXE:0x4b0735 price box | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:358 | [BIN:TPW-EXE:0x4b0735 price box] the variable boxes step by 1 (0x66a68d) through b_minus and b_plus, which the table creates with attributes 0x21: 0x20 is the repeat style (the callback 0x66aa61 sets their delay to 200 ms and their interval to 50 ms) |
| TPW-EXE:0x4b0735 price box range | source/OpenTPW/Hud/ParkHud.ShopPrice.cs:80 | [BIN:TPW-EXE:0x4b0735 price box range] the price boxes hold 0..500, the range the original loader also clamps a saved price to (0x4dcda4) |
| TPW-EXE:0x4b0950 shop window load | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:124 | [BIN:TPW-EXE:0x4b0950 shop window load] the quality slider 0xc06b (range 0..2, 0x4b06b7) gets the quality byte / 50, the ingredient slider 0xc086 (0..100, 0x4b06d2) the amount byte, the price box 0xc085 (0..500) the price |
| TPW-EXE:0x4b0aa0 ingredient amount | source/OpenTPW/World/Guests/RideVisitorBridge.cs:168 | [BIN:TPW-EXE:0x4b0aa0 ingredient amount] the amount is the economy record's (ParkObjectState.IngredientAmount): 50 when the ride is built (0x4db090 stores 0x32 at +0x198, 0x4db3b3), the shop window's 0..100 slider (range 0x4b06d2, shown for ingredients 1..4 by 0x4b0950) applied to the object (0x4b0aa0) or every object of the type (0x4b0ae0), saved with the park and imported as mAmountOfSpecialIngredient (0x4dcdc1); a Sugar visit adds trunc(6 x amount / 100) (0x4fe5f8) |
| TPW-EXE:0x4b0aa0 shop window apply | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:175 | [BIN:TPW-EXE:0x4b0aa0 shop window apply] SetAmountOfSpecialIngredient(window +0x28) 0x4e21e0, SetQualityOfGoods((byte)(window +0x24 × 50)) 0x4e2190, SetPrice(window +0x2c) 0x4e2770 |
| TPW-EXE:0x4b0ae0 shop apply-all | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:244 | [BIN:TPW-EXE:0x4b0ae0 shop apply-all] the callback (run over the objects by 0x481bc0 with 0x200) compares the type id +0xe with the selected object's and runs the shop apply's three setters with the window's values; the sideshow's 0x4b20f0 runs its apply the same way |
| TPW-EXE:0x4b0b30 quality lamps | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:343 | [BIN:TPW-EXE:0x4b0b30 quality lamps] the shop window procedure turns a quality step s (message 0x800 from 0xc06b) into the value 1 << s of the group 0xc07f, which lights lamp s of the group 0xc07f (value 1 << s: l_low, l_med, l_high) |
| TPW-EXE:0x4b1040 sideshow window labels | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:26 | [BIN:TPW-EXE:0x4b1040 sideshow window labels] the label controls 0xa09c, 0xa095, 0xa09a, 0xa098, 0xa09b, 0xa097, 0xa0a1 and 0xa09f (rows 0-7) take UITEXT 0x29-0x30: customers last month, winners last month, takings last month, profit last month, excitement, customer satisfaction, scrap value, local happiness |
| TPW-EXE:0x4b1914 shop and sideshow refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:166 | [BIN:TPW-EXE:0x4b1914 shop and sideshow refresh] the local happiness gauge (0xc07c, 0xa09e) is 0x4cd880 of the object's cell with radius 1 × 1024 / 100 |
| TPW-EXE:0x4b1914 sideshow window refresh | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:24 | [BIN:TPW-EXE:0x4b1914 sideshow window refresh] the sideshow window's row 0 (0xa09d) is a history sum, row 1 a gauge (0xa096, 0x4e1f20), row 2 a history sum (0xa093), row 3 (0xa092) the shop's 0x4e1c70, the gauge row 4 (0xa099) the ride's excitement routine 0x4e0560, the gauge row 5 (0xa094) the shop's 0x4e1e30, the scrap value in row 6 (0xa0a0) and the happiness gauge in row 7 (0xa09e) |
| TPW-EXE:0x4b1a3c sideshow window refresh | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:22 | [BIN:TPW-EXE:0x4b1a3c sideshow window refresh] the excitement gauge 0xa099 is 0x4e0560(window prize +0x28, window price +0x2c, window chance +0x24); the win byte is 100 less the chance of losing |
| TPW-EXE:0x4b1a89 customer satisfaction gauge | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:168 | [BIN:TPW-EXE:0x4b1a89 customer satisfaction gauge] the shop and sideshow windows' gauge (0xc079, 0xa094) is 0x4e1e30 of the object's own 30-day history (50 plus the mean of the visits' happiness changes), (value << 10) / 100 |
| TPW-EXE:0x4b1ee0 sideshow window load | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:125 | [BIN:TPW-EXE:0x4b1ee0 sideshow window load] the chance slider 0xa08e (0..100, 0x4b1bc7) gets the win byte +0x190, the price box 0xa08f (0..500) the price +0x194, the prize box 0xa090 (0..10000) the cost of goods +0x188 |
| TPW-EXE:0x4b1f97 sideshow window load | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:115 | [BIN:TPW-EXE:0x4b1f97 sideshow window load] with type +0x10c (UsageInfo.NonWinnableSideshow) set the window hides the chance slider 0xa08e, the prize box 0xa090 and their labels 0xa0a7 and 0xa0a6 and labels the price 0xa0a5 with UITEXT 0x34 (price of entry), else UITEXT 0x33 (price of game); its apply 0x4b20b0 then sets the price only |
| TPW-EXE:0x4b20b0 sideshow window apply | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:176 | [BIN:TPW-EXE:0x4b20b0 sideshow window apply] SetPrice(window +0x2c) 0x4e2770, then, unless type +0x10c, the win byte (window +0x24) 0x4e21c0 into +0x190 and the cost of goods (window +0x28) 0x4e1a20 into +0x188 |
| TPW-EXE:0x4b2797 training-budget window | source/OpenTPW/Hud/ParkHud.Management.cs:70 | [BIN:TPW-EXE:0x4b2797 training-budget window] each row is a spinner (type 12) of range 0..10000 (0x66a5c4) and step 25 (0x66a68d) holding the role's budget; its b_minus and b_plus |
| TPW-EXE:0x4b37d5 locator close | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:336 | [BIN:TPW-EXE:0x4b37d5 locator close] the panel's close message 0x1001d8 withdraws help 0x11f (287) and then 0xc6 (198) through 0x486b40 (0x4b381d, 0x4b382a) |
| TPW-EXE:0x4b3bd1 locator group | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:26 | [BIN:TPW-EXE:0x4b3bd1 locator group] the group chooses a pressed radio before it posts 0x101 to the panel, which ignores it while the mode word is 0, so a dead panel still shows the pressed radio |
| TPW-EXE:0x4b3d0f locator panels | source/OpenTPW/Hud/ParkHud.LocatorPanel.cs:441 | [BIN:TPW-EXE:0x4b3d0f locator panels] the two panels (windows 0x95c staff and 0x963 visitors of table 0x756950) are built hidden once; 0x4b3f60 puts the one of the actor's kind into the arm with 0x4a2590 (0x4b3fae) and the red X, the close key and every other arm content retract it |
| TPW-EXE:0x4b5330 employee figure | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:265 | [BIN:TPW-EXE:0x4b5330 employee figure] 0x486530 clones the employee's live sprite at scale 8.0, with draw depth control +0xE0 + 1 (UI-092) |
| TPW-EXE:0x4b537a employee scale;0x589d9c screen scale;0x5890e0 frame extents | source/OpenTPW/UI/Original/EmployeePortraitGeometry.cs:8 | [BIN:TPW-EXE:0x4b537a employee scale;0x589d9c screen scale;0x5890e0 frame extents] primary 8 * 0.05 * (1536 / 2) / 128 = 2.4 nominal canvas units. |
| TPW-EXE:0x4b5ab0 patrol help | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:70 | [BIN:TPW-EXE:0x4b5ab0 patrol help] the refresh posts help 0xd4 (0x486b00) when 0x506eb0 is non-zero, i.e. unless the area words +0x20a / +0x20c hold the default 1 / 0x4000, and sets the toggle 0x510 to the same state |
| TPW-EXE:0x4b6110 staff rename | source/OpenTPW/Hud/ParkHud.EmployeeRename.cs:17 | [BIN:TPW-EXE:0x4b6110 staff rename] title property 0 is its owner (0x48d290), vtable +0x38 opens table 0x7572e8; |
| TPW-EXE:0x4b635c child destroy | source/OpenTPW/Hud/ParkHud.EmployeeRename.cs:73 | [BIN:TPW-EXE:0x4b635c child destroy] clear the owner's child slot; the parent refresh/help resumes. |
| TPW-EXE:0x4b6400 rename Enter | source/OpenTPW/Hud/ParkHud.EmployeeRename.cs:64 | [BIN:TPW-EXE:0x4b6400 rename Enter] the editor's Enter (0x802, edit key handler 0x667fee) makes the dialog procedure 0x4b6320 post 0x100 with control -1 to its own window (0x4b640a), so the hook clicks 0x1F by that window's style 1 and the tick applies; Escape (0x804) closes without a 0x100 and without a click |
| TPW-EXE:0x4b8fd0 enter park | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:11 | [BIN:TPW-EXE:0x4b8fd0 enter park] in the same block, before the sound, the routine starts the screen-space particle effect 0x62 over the key panel (LobbyEnterEffect) |
| TPW-EXE:0x4b8fd0 enter park | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:440 | [BIN:TPW-EXE:0x4b8fd0 enter park] the enter-park routine starts the screen-space particle effect 0x62 over the key panel; the smoke starts it directly (the park start would tear the lobby down) |
| TPW-EXE:0x4bbcbd outbox tick | source/OpenTPW/Online/OnlineScreens.cs:1866 | [BIN:TPW-EXE:0x4bbcbd outbox tick] the tick first applies the marks (0x4bc430: a card marked for deletion is deleted, one marked for sending is flagged), then, with a card to send and the service refused by the account's settings (0x5b6460), posts message 0x4e (ERRORMSG 78, the childlock refusal) and keeps the window; otherwise it closes the window and sends (0x4bc500) |
| TPW-EXE:0x4bbd2d outbox bulk | source/OpenTPW/Online/OnlineScreens.cs:1865 | [BIN:TPW-EXE:0x4bbd2d outbox bulk] 0xee5 marks every row for sending, 0xee6 every row for deletion (0x4bbe7a) and 0xee7 clears both marks of every row (0x4bbddf) |
| TPW-EXE:0x4bbf2c outbox cells | source/OpenTPW/Online/OnlineScreens.cs:1864 | [BIN:TPW-EXE:0x4bbf2c outbox cells] the list's cell message 0x404 for column 2 clears a set send mark, or sets it and clears the delete mark; column 3 does the same with the delete mark |
| TPW-EXE:0x4bc100 outbox addresses | source/OpenTPW/Online/OnlineScreens.cs:1998 | [BIN:TPW-EXE:0x4bc100 outbox addresses] a selected row's recipients are joined with '\n' into one text in font slot 6, wrapped to the inner width, whose slider (0xee3) shows |
| TPW-EXE:0x4bc500 outbox send | source/OpenTPW/Online/OnlineSession.cs:727 | [BIN:TPW-EXE:0x4bc500 outbox send] the original showed "Sending mails from outbox, please wait ..." (UITEXT 0x13a, OpenTPW's 313) while it sent |
| TPW-EXE:0x4bc660 outbox send progress | source/OpenTPW/Online/OnlineSession.cs:751 | [BIN:TPW-EXE:0x4bc660 outbox send progress] the original's progress window closed once the cards were sent, with no count: the emptied outbox is the confirmation |
| TPW-EXE:0x4bc8ea outbox headers | source/OpenTPW/Online/OnlineScreens.cs:1893 | [BIN:TPW-EXE:0x4bc8ea outbox headers] the header buttons 16-19 show UITEXT 0x136-0x139 (OpenTPW's 309-312: Title, Date, Send, Delete) in font slot 8 with the help texts 0x187-0x18a, |
| TPW-EXE:0x4bca6a outbox date | source/OpenTPW/Online/OnlineScreens.cs:1910 | [BIN:TPW-EXE:0x4bca6a outbox date] the date is UITEXT 0x1c0 (OpenTPW's 447) filled with the card's day, month and year (parameters 16-18), the save list's date format |
| TPW-EXE:0x4bcaec outbox rows | source/OpenTPW/Online/OnlineScreens.cs:1863 | [BIN:TPW-EXE:0x4bcaec outbox rows] the builder adds each card's row with the send mark 0x1000000 or-ed into its index; 0x2000000 is the delete mark, and no row holds both |
| TPW-EXE:0x4bcbc0 outbox row | source/OpenTPW/Online/OnlineScreens.cs:1906 | [BIN:TPW-EXE:0x4bcbc0 outbox row] the row factory makes each row as high as font slot 7's line height x 1536 / screen height + 6, the buy list's rule (0x4ad240), with a text cell |
| TPW-EXE:0x4bcca0 outbox row cells | source/OpenTPW/Online/OnlineScreens.cs:1909 | [BIN:TPW-EXE:0x4bcca0 outbox row cells] the title is the row's own text, from the row's left; the date cell is centred (0x65c428, 0x65c4b9: the headers' centring); both in font slot 7, white |
| TPW-EXE:0x4bfb5a Find Parks row | source/OpenTPW/Online/OnlineScreens.cs:1444 | [BIN:TPW-EXE:0x4bfb5a Find Parks row] notification 0x400 opens Park Details (0x4c0ae0), without message 0x100 or a dedicated row sound. |
| TPW-EXE:0x4bfc04 search Enter | source/OpenTPW/Online/OnlineScreens.cs:1429 | [BIN:TPW-EXE:0x4bfc04 search Enter] Enter in the search field (0x802) makes Find Parks' procedure 0x4bf9f0 post 0x100 with the search button's id 0xe059 to its own window (0x4bfc29) unless that button is held down (+0x138), so the hook clicks 0x1F by the window's style 1 and the search runs, as a click on the button does |
| TPW-EXE:0x4c1aec Other Parks row | source/OpenTPW/Online/OnlineScreens.cs:1576 | [BIN:TPW-EXE:0x4c1aec Other Parks row] notification 0x400 opens Park Details (0x4c0ae0), without message 0x100 or a dedicated row sound. |
| TPW-EXE:0x4c4480 publish handler | source/OpenTPW/Online/OnlineScreens.cs:1669 | [BIN:TPW-EXE:0x4c4480 publish handler] the tick (-1) has no enabled test: it hands the two buffers to the publisher (0x48b390, 0x5b7ba0) and closes the window (message 4); |
| TPW-EXE:0x4c4670 publish build | source/OpenTPW/Online/OnlineScreens.cs:1667 | [BIN:TPW-EXE:0x4c4670 publish build] the name field takes a buffer of 0xf characters (0x6662b7, 0x7cd850) and starts with the localized theme name of the park's level |
| TPW-EXE:0x4c757d admission message | source/OpenTPW.Tests/ChallengeCarriedObjectTests.cs:160 | [BIN:TPW-EXE:0x4c757d admission message] the analyser posts (type 11, amount 1, object 0, carried 0) for every admission |
| TPW-EXE:0x4c7720 month samples | source/OpenTPW/Hud/ParkHud.cs:310 | [BIN:TPW-EXE:0x4c7720 month samples] both rings take one entry per month close (month message 12; 144 entries each), the entries the hire window reads as its income and money-out rows (0x49bdd0); the builder 0x4a1d70 sets the arrow to frame 0 and never hides it, only the cost text (control 48) |
| TPW-EXE:0x4c7bb0 gauge mean | source/OpenTPW/Hud/ParkHud.Gauge.cs:28 | [BIN:TPW-EXE:0x4c7bb0 gauge mean] returns 0.0 while the park-closed word (+0x1da710) is set, else the sum of the byte-truncated happiness (+0x19c) of the in-park guests (kind byte 1, on a park cell 0x4fa990) over their count, 0.0 without any |
| TPW-EXE:0x4c7cc0 all-staff average | source/OpenTPW/Hud/AllStaffRoster.cs:149 | [BIN:TPW-EXE:0x4c7cc0 all-staff average] the sum of the low bytes over the types 4 to 8, divided as a float by their count (the constant 0x70031c, 0.0, for none); 0x496a7b multiplies it by 1024.0 (0x6ff6f4) and 0.01f (0x6ff6f8) and truncates (0x67a830) |
| TPW-EXE:0x4c7db0 net worth | source/OpenTPW.Tests/ParkRatingValueTests.cs:100 | [BIN:TPW-EXE:0x4c7db0 net worth] 2 per empty cell, 3 per path, 5 per queue, 6 per entrance, 1 per exit and water, nothing for 4, 7 and 30; unowned cells (0x40) count nothing |
| TPW-EXE:0x4c7db0 net worth | source/OpenTPW.Tests/ParkRatingValueTests.cs:158 | [BIN:TPW-EXE:0x4c7db0 net worth] the cached value serves while (turn >> 2) - (stamp >> 2) <= the reader's age |
| TPW-EXE:0x4c8ba0 block litter | source/OpenTPW.Tests/LitterTests.cs:67 | [BIN:TPW-EXE:0x4c8ba0 block litter] the strike reads the blocks with age 1: within (turn >> 2) - (stamp >> 2) <= 1 the counts stay |
| TPW-EXE:0x4c8d30 crowd counter | source/OpenTPW/Client/GameFlow.cs:560 | [BIN:TPW-EXE:0x4c8d30 crowd counter] the park loop (0x54e360) calls it with the camera cell, radius 4 (0x54f4ba) and counts the things whose type byte (+2) is 1 over the cell rectangle [x-4, x+4] x [y-4, y+4] clamped to 0..127 (0x4c8d43-0x4c8da5); the caller caps the count at 100 (0x54f89e) and sends 0 when the world state is 4 (setter 0x51e7b0): the same square as this Chebyshev test |
| TPW-EXE:0x4c9c00 staff grade share | source/OpenTPW/Hud/ParkHud.Management.cs:72 | [BIN:TPW-EXE:0x4c9c00 staff grade share] the row's gauge (child 0x2e8, type 9) is set once when the window opens to share × 1024 / 100, share being the role's employees' summed |
| TPW-EXE:0x4c9cc0 role average | source/OpenTPW/Hud/AllStaffRoster.cs:131 | [BIN:TPW-EXE:0x4c9cc0 role average] the sum of the low bytes of the truncated happiness (+0x1f8) of every staff thing of the type, divided by their count with an integer division (0 for none); the window scales it × 1024 / 100 (0x496b5a) |
| TPW-EXE:0x4c9d80 staff happiness | source/OpenTPW/Economy/ParkObjectives.cs:239 | [BIN:TPW-EXE:0x4c9d80 staff happiness] the average over the staff things (model types 4-8, or the one type 0x4c9cc0 is given) of the truncated low byte of the happiness single (+0x1F8), an integer division, 0 without staff |
| TPW-EXE:0x4ca160 toilet cleanliness | source/OpenTPW/Economy/ParkObjectives.cs:245 | [BIN:TPW-EXE:0x4ca160 toilet cleanliness] over the relief things (type 3, flag +0x32 bit 0) the integer average of 100 minus the low byte of the gauge single (+0x44), 0 without a toilet; the daily message 0x4d2860 (type 24) adds 100 minus that |
| TPW-EXE:0x4cc4b0 best kart | source/OpenTPW.Tests/ChallengeCarriedObjectTests.cs:127 | [BIN:TPW-EXE:0x4cc4b0 best kart] the live count of the host's kart rides, not a record kept from the past |
| TPW-EXE:0x4cc4b0 best kart | source/OpenTPW/World/Level.Coasters.cs:236 | [BIN:TPW-EXE:0x4cc4b0 best kart] the walk starts at the head of the thing list, the newest object; a ride counts when its type is a ride (WhichUIType 0) with the car track type (+0x9C 1: karts only, the bumper cars' WhichTrackType is 0) and its crossings are the track analysis's (0x545310, the sections of kind 11, halved for its doubled pass); the first match is taken whatever its count and a strictly higher count replaces it |
| TPW-EXE:0x4cc5d0 best track ride | source/OpenTPW.Tests/ChallengeCarriedObjectTests.cs:148 | [BIN:TPW-EXE:0x4cc5d0 best track ride] the sections of the rides of the Info.Id (any for 0) now |
| TPW-EXE:0x4cc5d0 best track ride | source/OpenTPW/World/Level.Coasters.cs:254 | [BIN:TPW-EXE:0x4cc5d0 best track ride] the rides with a car or water track type (0x4e2b80 also admits the coaster type, whose thing holds no track analysis and counts 0), the Info.Id when not 0, the sections 0x545310 returns (halved for its doubled pass) |
| TPW-EXE:0x4cc810 best coaster | source/OpenTPW/Economy/ParkEconomy.cs:1526 | [BIN:TPW-EXE:0x4cc810 best coaster] the checks of types 14 and 18 store the best coaster's id, the newest first and replaced only by a strictly higher count; the win 0x4d2fb0 copies it to the challenge system's filter (+0x3e0) and into the follow-up slot; the accumulator 0x4d27a0 then adds only the carried ride's uses and none of the object-less events (the sales, profits, admissions and daily messages) |
| TPW-EXE:0x4cc810 best coaster | source/OpenTPW/World/Level.Coasters.cs:205 | [BIN:TPW-EXE:0x4cc810 best coaster] every ride of track type 3 with the id (any when 0) is read through 0x43e0e0's fourth output, the controller's +0x108; an unrated coaster counts 0 |
| TPW-EXE:0x4cc810 best coaster | source/OpenTPW/World/Level.Coasters.cs:218 | [BIN:TPW-EXE:0x4cc810 best coaster] the walk starts at the head of the thing list, the newest object, takes the first matching coaster whatever its count and replaces it only by a strictly higher count (an unrated coaster counts 0) |
| TPW-EXE:0x4cceb0 park rating | source/OpenTPW.Tests/ParkRatingValueTests.cs:49 | [BIN:TPW-EXE:0x4cceb0 park rating] the guests on a cell of type 0, 1, 3, 9 or 10 (0x4fa990), at most 1000, × 20 / 1000; riders on a ride's body do not count |
| TPW-EXE:0x4cd880 | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:93 | [BIN:TPW-EXE:0x4cd880] count actual cell-list members, without the separate IsOnParkCell predicate or a state filter. |
| TPW-EXE:0x4cd880 cell id and edges | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:60 | [BIN:TPW-EXE:0x4cd880 cell id and edges] the argument is the cell id (y << 7) + x + 1 (decremented at 0x4cd88e); the high edges x + radius and y + radius are clamped to 0x7f by an unsigned test (0x4cd8a7 ja, 0x4cd8c1 jbe), the low edges are not clamped (the loops start at x - radius and y - radius, signed) |
| TPW-EXE:0x4cd880 local happiness | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:63 | [BIN:TPW-EXE:0x4cd880 local happiness] the cells x - radius..min(0x7f, x + radius) by y - radius..min(0x7f, y + radius) are walked through their thing lists; every thing of type 1 (a guest) adds the low byte of its float +0x19c (the happiness, ftol) to a sum and 1 to a count, and the result is sum / count (integer division), 0 when nothing was found |
| TPW-EXE:0x4cd880 low edge unreachable | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:62 | [BIN:TPW-EXE:0x4cd880 low edge unreachable] only the two window refreshes call it (0x4b05f9, 0x4b1b03), with the object's own cell: an object stands on owned land, and the land's west and north fence lines (x = xmin, y = ymin, ParkLand.Price) are never owned, so column 0 and row 0 hold no object and the out-of-table reads cannot happen; the column wrap above is kept for the function itself |
| TPW-EXE:0x4cd8fd low edge wrap | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:61 | [BIN:TPW-EXE:0x4cd8fd low edge wrap] each visited cell is looked up by the 16-bit id ((y << 7) + x + 1) & 0xFFFF (0x4cd8f8-0x4cd901) in the cell table at [0x8023a0] (68-byte records, 0x4cd906-0x4cd912): a column x = -1 reads id y * 128, which is cell (127, y - 1) (and the guest whose own id that is, such as one placed at x = -1, is on that list), so a guest at the map's east edge counts for an object in column 0; an id of 0 (x = -1 on row 0) or from 0x4001 up (a row y = -1 gives 0xFF80 and up) lies outside the table and this port counts nothing there |
| TPW-EXE:0x4cf920 bank serializer | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:496 | [BIN:TPW-EXE:0x4cf920 bank serializer] base (0xfa808), then the account words (admission fee, balance, batch balance, withdrawals enabled, last balance, turn entered red, profit this year), then the eight loan records (available, amount, APR, months, monthly repayment, bought, months repaid, lender) |
| TPW-EXE:0x4cf920 bank serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:255 | [BIN:TPW-EXE:0x4cf920 bank serializer] mWithdrawalsEnabled (+0x114), mLastBalance (+0x11C) and the turn-entered-red stamp (+0x120) are bank words of the save; the debit 0x4d01f0 and the month 0x4d0370 read them |
| TPW-EXE:0x4d01f0 bank debit | source/OpenTPW/Economy/ParkEconomy.cs:306 | [BIN:TPW-EXE:0x4d01f0 bank debit] with mWithdrawalsEnabled (+0x114) set, a debit takes the amount off the balance; when the new balance is below 0 |
| TPW-EXE:0x4d01f0 bank debit | source/OpenTPW/World/Coasters/CoasterBuilder.cs:530 | [BIN:TPW-EXE:0x4d01f0 bank debit] the debit (callers 0x435020, 0x441a00, 0x445a70; credit 0x4d0190 for refunds): bank +0x114 (mWithdrawalsEnabled, serializer 0x4cf920) 0 → nothing; else balance (+0xC) down, turn-entered-red (+0x120) stamped from game +0x1da70c when it crosses below 0 from the last balance (+0x11C) ≥ 0, last balance set, park total costs (+0x1F5A0; "Other costs" = total − loan payments) up, year profit (+0x124) down; the credit adds to balance, money-in (+0x1FC90) and year profit |
| TPW-EXE:0x4d0370 / 0x49fa00 | source/OpenTPW.Tests/ParkEconomyTests.cs:240 | [BIN:TPW-EXE:0x4d0370 / 0x49fa00] the last instalment clears the bought flag; the Available tab lists the offer again when a list build's credit test passes |
| TPW-EXE:0x4d0370 bank month | source/OpenTPW/Economy/OriginalEconomyImport.cs:259 | [BIN:TPW-EXE:0x4d0370 bank month] the batch word (+0x10) is a pending credit: the bank's month message adds it to the balance, the money-in total and the year's profit and zeroes it (0x4D0393..0x4D03DB), so it is kept and paid at the next month end; the constructor (0x4CF7C0) starts it at 0, and the bank keeps no month-opening word (mLastBalance is the balance after the last debit, instalment or payoff, 0x4D0228, 0x4D08E1), so the ledger month opens at the current balance |
| TPW-EXE:0x4d0370 bank month | source/OpenTPW/Economy/ParkEconomy.cs:1580 | [BIN:TPW-EXE:0x4d0370 bank month] the instalment is deducted only with mWithdrawalsEnabled (+0x114) set, as a debit that keeps mLastBalance and the |
| TPW-EXE:0x4d0370 bank month | source/OpenTPW/Economy/ParkEconomy.cs:1601 | [BIN:TPW-EXE:0x4d0370 bank month] the last instalment clears the bought flag (+0x28); the Available tab lists the offer again once a list build's credit test (0x4d06b0) passes |
| TPW-EXE:0x4d0370 bank month | source/OpenTPW/Economy/ParkEconomy.cs:1617 | [BIN:TPW-EXE:0x4d0370 bank month] after the instalments, a park whose balance and mLastBalance are both below 0 counts the 30-day months since |
| TPW-EXE:0x4d06b0 credit test | source/OpenTPW.Tests/ParkEconomyTests.cs:177 | [BIN:TPW-EXE:0x4d06b0 credit test] amount <= net worth (read with age 20) - sum((months - repaid) x monthly) over the bought offers |
| TPW-EXE:0x4d06b0 credit test | source/OpenTPW/Economy/OriginalEconomyImport.cs:263 | [BIN:TPW-EXE:0x4d06b0 credit test] each offer's +0x14 is the stored result of the last list build's credit test (the constructor 0x4cf7c0 starts it as amount < 10001); the Available tab lists the offers not bought whose test passed |
| TPW-EXE:0x4d0750 take loan | source/OpenTPW.Tests/ParkEconomyTests.cs:191 | [BIN:TPW-EXE:0x4d0750 take loan] taking needs only the bought flag clear |
| TPW-EXE:0x4d0850 loan payoff | source/OpenTPW/Economy/OriginalEconomyImport.cs:258 | [BIN:TPW-EXE:0x4d0850 loan payoff] a bought loan's outstanding amount is its monthly repayment (+0x24) times the months not yet repaid (+0x20 − +0x2C), compared unsigned with the balance (0x4d0898) |
| TPW-EXE:0x4d0850 loan payoff | source/OpenTPW/Economy/ParkEconomy.cs:2748 | [BIN:TPW-EXE:0x4d0850 loan payoff] "Cannot afford to pay off loan" when the balance is below M × the months left as unsigned words, so a balance below 0 never refuses |
| TPW-EXE:0x4d0850 loan payoff | source/OpenTPW/Economy/ParkEconomy.cs:2753 | [BIN:TPW-EXE:0x4d0850 loan payoff] the debit is skipped with mWithdrawalsEnabled clear, and the profit still gains the payoff less that share |
| TPW-EXE:0x4d0b30 cell base serializer | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:104 | [BIN:TPW-EXE:0x4d0b30 cell base serializer] each cell record writes mDirection (+0xd), mFlags (+0xe, 2 bytes), mMeshInstance, mNeighbours, mOverlapCounter, mParentID, mTileData, mType (+8, 4 bytes) and mHoardingNeighbours (+0x22) in that order, once for the map cell (record +1) and once for the structure cell (record +53) |
| TPW-EXE:0x4d0b30 cell base serializer | source/OpenTPW.Tests/ParkCellOwnerTests.cs:178 | [BIN:TPW-EXE:0x4d0b30 cell base serializer] mParentID is the u16 at record +11 |
| TPW-EXE:0x4d0b30 cell base serializer | source/OpenTPW.Tests/ParkCellTypingTests.cs:109 | [BIN:TPW-EXE:0x4d0b30 cell base serializer] the map cell's mType is the u32 at record +25 |
| TPW-EXE:0x4d0b30 cell base serializer | source/OpenTPW/World/ParkCellMap.cs:374 | [BIN:TPW-EXE:0x4d0b30 cell base serializer] a save keeps each map cell's mFlags, so its 0x40 cells are the saved park's unowned land, and each hoarding's mHoardingNeighbours, its fence |
| TPW-EXE:0x4d0b30 cell base serializer | source/OpenTPW/World/ParkCellMap.cs:393 | [BIN:TPW-EXE:0x4d0b30 cell base serializer] each cell record writes the structure cell's mDirection (+0xd), mFlags (+0xe), mOverlapCounter (+0x20), mParentID (+0x10), mType (+8) and mHoardingNeighbours (+0x22) |
| TPW-EXE:0x4d0f90 challenge slot serializer | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:533 | [BIN:TPW-EXE:0x4d0f90 challenge slot serializer] ... mCheckAtEndOnly (1), mChallengeOffered (4, +0x20), mChallengeLost (4, +0x24), mChallengeDeclined (4, +0x28), mHaveWon (1, +0x2c), mIndependent (1, +0x1d), mThingIdForFollowup (2, +0x2e) |
| TPW-EXE:0x4d0f90 challenge slot serializer | source/OpenTPW/Economy/BalanceSettings.cs:285 | [BIN:TPW-EXE:0x4d0f90 challenge slot serializer] each slot's type, time, value, objects, staff type, prize, follow-up type and the two flags are saved and loaded as they are (the definition of the challenge, not a reference to Challenges.sam) |
| TPW-EXE:0x4d0f90 challenge slot serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:224 | [BIN:TPW-EXE:0x4d0f90 challenge slot serializer] the save holds the 20 challenge slots with their own definitions (type, time, value, objects, staff type, prize, follow-up type and the two flags), and a load takes them as they are: |
| TPW-EXE:0x4d1660 challenge check | source/OpenTPW/Economy/ParkEconomy.cs:1527 | [BIN:TPW-EXE:0x4d1660 challenge check] type 14 asks the best coaster of any kind (0x4cc810 with 0), type 18 the best of the info id TargetObj, type 15 the best kart ride (0x4cc4b0) |
| TPW-EXE:0x4d1660 challenge check | source/OpenTPW/Economy/ParkEconomy.cs:1535 | [BIN:TPW-EXE:0x4d1660 challenge check] type 15 compares TargetVal with the most crossings of any kart ride now (0x4cc4b0, no TargetObj test), type 21 with the most sections of the track rides of the Info.Id TargetObj (0x4cc5d0); a park without such a ride measures 0, as a headless economy does |
| TPW-EXE:0x4d1660 challenge check | source/OpenTPW/Economy/ParkObjectives.cs:258 | [BIN:TPW-EXE:0x4d1660 challenge check] types 1-8, 11-13, 16, 17, 20 and 22 compare an accumulated value (the system's +0x3dc) with TargetVal; types 9 and 10 are 100 × the guests with a balloon or a costume (0x4c9530 / 0x4c95d0) / the census (0x4c9130) |
| TPW-EXE:0x4d1660 challenge check | source/OpenTPW/Economy/ParkObjectives.cs:418 | [BIN:TPW-EXE:0x4d1660 challenge check] types 14, 15 and 18 write the best object's thing id (0x4cc810, 0x4cc4b0) into the slot's +0x2e when they pass; 19 only compares and leaves the slot's id as the follow-up offer put it |
| TPW-EXE:0x4d1660 challenge types 14 and 19 | source/OpenTPW/Economy/ParkObjectives.cs:277 | [BIN:TPW-EXE:0x4d1660 challenge types 14 and 19] 14 passes when TargetVal <= 0x4cc810 for any coaster (the most counted sections, as type 18); 19 when |
| TPW-EXE:0x4d1873 challenge type 18 | source/OpenTPW/Economy/ParkObjectives.cs:287 | [BIN:TPW-EXE:0x4d1873 challenge type 18] passes when TargetVal <= 0x4cc810(TargetObj): the unsigned maximum, over the rides of track type 3 (0x4e2b50) whose id is |
| TPW-EXE:0x4d1ae0 challenge loss | source/OpenTPW/Economy/OriginalEconomyImport.cs:871 | [BIN:TPW-EXE:0x4d1ae0 challenge loss] a slot's loss count (+0x24) is raised by the loss 0x4d3140 → 0x4d1ae0 and read only by the save serializer (0x4d12b7) and loader (0x4d159b); the offered word (+0x20) is zeroed by the constructor (0x4d0f76) and the clear (0x4d1bf3), never written again in play and read only by the serializer and loader; neither feeds the offer scan 0x4d2a70 (used, not won, declined below the limit, independent), the follow-up scan 0x4d2b60 or the win 0x4d2fb0, so there is nothing for an import to change |
| TPW-EXE:0x4d1e90 challenge system start | source/OpenTPW/Economy/ParkObjectives.cs:384 | [BIN:TPW-EXE:0x4d1e90 challenge system start] while the switch (+0x3d8) is off, the system offers only with the park open (0x4c9050: the park-closed word 0x1da710 clear) and the park's age in days (0x4f8800 / 864e9) at DaysUntilFirstChallenge (0x7857c8), then sets the switch and offers at once; afterwards only the next event time (+0x3d0) counts |
| TPW-EXE:0x4d1e90 challenge update | source/OpenTPW/Economy/OriginalEconomyImport.cs:849 | [BIN:TPW-EXE:0x4d1e90 challenge update] the running challenge ends at the stamp itself (the accept stored the clock plus mTargetTime there), tested on every park turn |
| TPW-EXE:0x4d1e90 challenge update | source/OpenTPW/Economy/ParkObjectives.cs:373 | [BIN:TPW-EXE:0x4d1e90 challenge update] nothing is offered, checked or timed out while an offer waits for its answer (+0x3da, set by 0x4d2a70 / 0x4d2b60), which only |
| TPW-EXE:0x4d1e90 challenge update | source/OpenTPW/Economy/ParkObjectives.cs:376 | [BIN:TPW-EXE:0x4d1e90 challenge update] the idle system offers (0x4d2a70) on the first update at or after the next event time (+0x3d0), not at a day end |
| TPW-EXE:0x4d1e90 daily challenges | source/OpenTPW/Economy/OriginalEconomyImport.cs:825 | [BIN:TPW-EXE:0x4d1e90 daily challenges] before the switch is on, the first offer comes once the park's elapsed day (0x4f8800 / 864e9) reaches DaysUntilFirstChallenge while the park is open (0x4c9050), and the switch is set; then an idle system offers when the clock passes the next event time, and a running challenge ends at its deadline, which the accept (0x4d2df0) stores in the same word |
| TPW-EXE:0x4d1f99 challenge update | source/OpenTPW/Economy/ParkObjectives.cs:375 | [BIN:TPW-EXE:0x4d1f99 challenge update] a running challenge is checked on the park turns whose low two bits (+0x1da70c) are not 0, on the others the update only posts the progress message 0x4d3390 (type-dependent text tag, advice 0x160) and returns; the check is made at once when the clock has not reached the deadline (0x4d1660 with the at-end flag clear, a pass wins) and, once it has, with the flag set (a pass wins, else the challenge is lost) |
| TPW-EXE:0x4d21fd challenge time warning | source/OpenTPW.Tests/ChallengeUpdateTests.cs:70 | [BIN:TPW-EXE:0x4d21fd challenge time warning] (whole days left x 100) / TargetTime below Challenges.ShortTimeLeftWarningAt (20 here), TargetTime 60 days |
| TPW-EXE:0x4d21fd challenge time warning | source/OpenTPW/Economy/ParkObjectives.cs:377 | [BIN:TPW-EXE:0x4d21fd challenge time warning] on a checked turn that neither passed nor ended the challenge, a slot with a TargetTime (+4) posts the message tag 0x17f with advice 0x10f when (days left × 100) / TargetTime (days left: the deadline +0x3d0 minus the park time, divided by 8.64e11; signed 32-bit division) is below the word 0x7857d0, the settings key Challenges.ShortTimeLeftWarningAt (the 60-byte descriptor records at 0x743c70 list DaysAfterCompletedChallenge, DaysAfterDeclinedChallenge, DaysUntilFirstChallenge, DeclinesToForfeit, ShortTimeLeftWarningAt in the order of the words 0x7857c0..0x7857d0) |
| TPW-EXE:0x4d2320 challenge system serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:824 | [BIN:TPW-EXE:0x4d2320 challenge system serializer] after the 20 slots: mCurrentChallenge (+0x3cc, −1 none), mNextChallengeEventTime (+0x3d0, an absolute 100 ns stamp), mSystemSwitchedOn (+0x3d8), mChallengeOn (+0x3d9, accepted and running), mWaitingForReply (+0x3da, an offer is open), mValue (+0x3dc), mActualThing (+0x3e0) |
| TPW-EXE:0x4d27a0 challenge accumulator | source/OpenTPW/Economy/ParkObjectives.cs:260 | [BIN:TPW-EXE:0x4d27a0 challenge accumulator] an event is added to the system's value (+0x3dc) only while a challenge is accepted and only into a slot of the event's type whose TargetObj equals the event's object, which a shop sale sets to 0 (the shipped challenges of types 1-8 have TargetObj 0) |
| TPW-EXE:0x4d27a0 challenge accumulator | source/OpenTPW/Economy/ParkObjectives.cs:285 | [BIN:TPW-EXE:0x4d27a0 challenge accumulator] with the carried object (+0x3e0) set an event counts only when its object (parameter B, the used ride's thing id at 0x5021c5) is that one |
| TPW-EXE:0x4d27a0 challenge accumulator | source/OpenTPW/Economy/ParkObjectives.cs:311 | [BIN:TPW-EXE:0x4d27a0 challenge accumulator] the event counts when the slot's type and TargetObj match and the carried object (+0x3e0) is 0 or equals the event's object |
| TPW-EXE:0x4d2860 daily challenge message | source/OpenTPW/Economy/ParkObjectives.cs:261 | [BIN:TPW-EXE:0x4d2860 daily challenge message] the day message 0xb (the one 0x4dd320 rolls the attraction rings on) adds to the accumulator, for the accepted slot of that type, 100 minus the toilet cleanliness 0x4ca160 (type 24), the average happiness of all staff 0x4c9d80 (25) or of the staff type of TargetStaffType 0x4c9cc0 (27, handyman model 5, mechanic 4, entertainer 6, guard 7, researcher 8); 0x4d1660 compares TargetVal with the sum divided by TargetTime (signed integer division), so these three are daily sums (AdvanceDay), not the current value |
| TPW-EXE:0x4d2a70 challenge offer scan | source/OpenTPW/Economy/ParkObjectives.cs:541 | [BIN:TPW-EXE:0x4d2a70 challenge offer scan] a slot is offered only while that count is below Challenges.DeclinesToForfeit (0x7857cc, compared at 0x4d2ae5 and by the follow-up scan 0x4d2bcd). The only writers of +0x28 are the slot initialisers (0x4d0f7c, 0x4d1bf9) and the serializer (0x4d2320): the challenge system's only users outside its own module are the accept/decline handler 0x48e0f0 (0x4d2df0 / 0x4d2ec0) and the accumulator callers 0x4e16b0, 0x4e1920 and 0x501db0 (the callers of its getter 0x519610), so a declined challenge is offered again without limit and the count only matters when a save holds one |
| TPW-EXE:0x4d2b60 follow-up offer | source/OpenTPW/Economy/ParkObjectives.cs:479 | [BIN:TPW-EXE:0x4d2b60 follow-up offer] the slots are scanned from the first, in table order, for the follow-up type (+0x18) with mHaveWon (+0x2c) clear and |
| TPW-EXE:0x4d2bc0 follow-up offer | source/OpenTPW/Economy/ParkObjectives.cs:481 | [BIN:TPW-EXE:0x4d2bc0 follow-up offer] the follow-up scan compares only the type, so the carried object travels in the slot (+0x2e), not in the choice |
| TPW-EXE:0x4d2df0 / 0x4d2ec0 | source/OpenTPW.Tests/HudVideoRoundTests.cs:100 | [BIN:TPW-EXE:0x4d2df0 / 0x4d2ec0] both do nothing unless an offer waits: a second press is ignored |
| TPW-EXE:0x4d2ec0 challenge declined | source/OpenTPW/Economy/ParkEconomy.cs:2848 | [BIN:TPW-EXE:0x4d2ec0 challenge declined] a declined challenge whose mIndependent (+0x1d) is clear, a follow-up, credits half its prize (+0x14 / 2, |
| TPW-EXE:0x4d2ec0 challenge declined | source/OpenTPW/Economy/ParkObjectives.cs:540 | [BIN:TPW-EXE:0x4d2ec0 challenge declined] the decline answers a waiting offer only: it clears the waiting and running flags, pays half the prize of a follow-up (ParkEconomy.DeclineChallenge) and sets the next event time from DaysAfterDeclinedChallenge; it never raises the slot's mChallengeDeclined (+0x28) |
| TPW-EXE:0x4d2ec0 challenge declined | source/OpenTPW/Economy/ParkObjectives.cs:551 | [BIN:TPW-EXE:0x4d2ec0 challenge declined] the decline clears the carried object (0x4d2f38) |
| TPW-EXE:0x4d2fb0 challenge won | source/OpenTPW/Economy/OriginalEconomyImport.cs:866 | [BIN:TPW-EXE:0x4d2fb0 challenge won] the carried object (+0x3e0) and the slots' ids (+0x2e) are thing ids of the saved park; an object the import restored keeps its id as its economy instance |
| TPW-EXE:0x4d2fb0 challenge won | source/OpenTPW/Economy/ParkObjectives.cs:471 | [BIN:TPW-EXE:0x4d2fb0 challenge won] FollowupType (+0x18) 0: the prize (+0x14) is credited (0x4d0190); otherwise the follow-up is offered at once (0x4d2b60: the first slot of that type not completed and below the forfeit count) and no prize is paid |
| TPW-EXE:0x4d2fb0 challenge won | source/OpenTPW/Economy/ParkObjectives.cs:485 | [BIN:TPW-EXE:0x4d2fb0 challenge won] a won challenge without a follow-up type clears the carried object (+0x3e0) before its prize; one with a follow-up type sets it from the slot's +0x2e |
| TPW-EXE:0x4d310d challenge won | source/OpenTPW/Economy/ParkObjectives.cs:472 | [BIN:TPW-EXE:0x4d310d challenge won] the won mark 0x4d1a00 (mHaveWon +0x2c) goes to the slot at the current index (+0x3cc), read after 0x4d2b60 has moved it to the offered follow-up (0x4d2be6) |
| TPW-EXE:0x4d3140 challenge lost | source/OpenTPW/Economy/ParkObjectives.cs:372 | [BIN:TPW-EXE:0x4d3140 challenge lost] a lost challenge only counts a loss (slot +0x24, 0x4d1ae0, for which no reader is found): its completed byte (+0x2c) stays clear, so the offer scan 0x4d2a70 can offer it again, without limit; the next offer waits DaysAfterCompletedChallenge as after a win |
| TPW-EXE:0x4d3220 challenge tags | source/OpenTPW/Economy/ChallengePresentation.cs:24 | [BIN:TPW-EXE:0x4d3220 challenge tags] the four dispatch tables select related tags for types 1..33. |
| TPW-EXE:0x4d4190 script table 0x75a418 | source/OpenTPW/World/Staff/StaffSprites.cs:17 | [BIN:TPW-EXE:0x4d4190 script table 0x75a418] each script is a list of (ESP slot, frames); the numbers are the table's indices |
| TPW-EXE:0x4d9cc0 offset rotation | source/OpenTPW/World/Objects/OriginalObject.cs:261 | [BIN:TPW-EXE:0x4d9cc0 offset rotation] the angle is divided by 0x168 (idiv, so a negative angle keeps its sign: -90 is as 270, -180 as 180, -270 as 90); 0 and every angle that is no multiple of 90 give (x, y), 90 and -270 give (y, -x) (0x4d9d56), 180 and -180 (-x, -y) (0x4d9d3f), 270 and -90 (-y, x) (0x4d9d2a) |
| TPW-EXE:0x4da830 repairing | source/OpenTPW.Tests/MechanicWorldTests.cs:96 | [BIN:TPW-EXE:0x4da830 repairing] at the end of the timer a ride in state 1 gets VAR_BREAKSTAT = 0 and the repair waits while VAR_BROKEN stays set |
| TPW-EXE:0x4da830 repairing | source/OpenTPW.Tests/RideStateRulesTests.cs:208 | [BIN:TPW-EXE:0x4da830 repairing] the economy's own mechanic dispatch: the job timer ends, then the repair waits while the script reports VAR_BROKEN |
| TPW-EXE:0x4dad20 drop mechanic | source/OpenTPW/World/Staff/StaffPlacement.cs:447 | [BIN:TPW-EXE:0x4dad20 drop mechanic] a dropped mechanic loses its ride assignment, then 0x4da5b0 dispatches again; the handyman's LitterCell and ToiletId are cleared (OffGridLeg is the road leg outside the park) |
| TPW-EXE:0x4db2da mTopLeft is the anchor | source/OpenTPW.Files/Formats/Save/OriginalParkImport.cs:276 | [BIN:TPW-EXE:0x4db2da mTopLeft is the anchor] the placement hands the constructor 0x4DB090 the anchor plus the rotated map offset (0x529F74..0x529FD5), which the base 0x50AFE0 stores as the thing's bytes +5 and +7, while +0x34 mTopLeft is the anchor itself (0x4DB2DA..0x4DB30A); only jungle/5x5rck and jungle/mammtunn have an offset, (0, 1) |
| TPW-EXE:0x4db4a6 constructor charge | source/OpenTPW.Tests/MoveToolTests.cs:72 | [BIN:TPW-EXE:0x4db4a6 constructor charge] the constructor charges the price and nothing else: the buy list's availability and the research live in the buy window |
| TPW-EXE:0x4db51c ride init speed | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:110 | [BIN:TPW-EXE:0x4db51c ride init speed] [DATA:<object>.sam:Upgrades[0].InitSpeed] the script speed bias, written only when above 0 (setter 0x55a300). |
| TPW-EXE:0x4db54f ride init capacity | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:103 | [BIN:TPW-EXE:0x4db54f ride init capacity] [DATA:<object>.sam:Upgrades[0].InitCapacity] written only when above 0, through the capacity setter 0x4dd7f0 (its low byte clamped to UsageInfo.MinCapacity..MaxCapacity when the two sum above 0) into script variable 2 and ride +0x5d |
| TPW-EXE:0x4db565 ride init duration | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:107 | [BIN:TPW-EXE:0x4db565 ride init duration] [DATA:<object>.sam:Upgrades[0].InitDuration] written only when above 0: the low byte, clamped to [UsageInfo.MinDuration, UsageInfo.MaxDuration] (type +0x12c/+0x130), into script variable 3 and ride +0x5c; DurationUnit is not read here (the ride window reads it, 0x4af030). The same clamp runs at ride settings (0x4dd720) and upgrade (0x4df8f0). |
| TPW-EXE:0x4dcc6c attraction loader operating words | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:110 | [BIN:TPW-EXE:0x4dcc6c attraction loader operating words] the loader reads mOperatingCapacity into the byte +0x5d (0x4dcc6c), mOperatingDuration into the byte +0x5c (0x4dcc92) and mOperatingSpeed into the dword +0x58 (0x4dccb8), each straight through the reader 0x424c20 / 0x4fae10 with no clamp and no setter call, so the saved words are the live ride words; the script's bias and variables 2 and 3 come back with the saved script state, which OpenTPW rebuilds from the archives ([EXT:original-engine-state-dumps]), so they are written here from the words |
| TPW-EXE:0x4dcd29 attraction loader | source/OpenTPW/Economy/OriginalEconomyImport.cs:390 | [BIN:TPW-EXE:0x4dcd29 attraction loader] mQualityOfGoods (+0x18C) and mChanceOfWinning (+0x190) are 4-byte words read without a clamp; the quality getter 0x4e2180 and the win test 0x4e26e2 read their low bytes, the win byte being 100 − the chance of losing (0x4db3a1) |
| TPW-EXE:0x4dcdc1 attraction loader | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:121 | [BIN:TPW-EXE:0x4dcdc1 attraction loader] mAmountOfSpecialIngredient (+0x198) follows mPricePerUse (+0x194, clamped to 0..500) as a 4-byte word read without a clamp, then mQueueSizeInCells (+0x40) |
| TPW-EXE:0x4dcdc1 attraction loader | source/OpenTPW/Economy/OriginalEconomyImport.cs:388 | [BIN:TPW-EXE:0x4dcdc1 attraction loader] mAmountOfSpecialIngredient is loaded into +0x198 as saved |
| TPW-EXE:0x4dd0a0 object removal | source/OpenTPW/World/Objects/ParkObjects.cs:609 | [BIN:TPW-EXE:0x4dd0a0 object removal] the removal passes flag 0x2 to the kill 0x559060 (which starts the DestroyParticleEffect) unless a park loads or clears (DAT_00785a2c) |
| TPW-EXE:0x4dd0a0 removal mode 2 | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:42 | [BIN:TPW-EXE:0x4dd0a0 removal mode 2] the removal passes flag 0 (no effect) while the world state +0x1da738 is 2, which only the world's clear and reset loops (0x515dd0, 0x515fb0) set; OpenTPW's teardown does not go through the player's removal, so it starts none either |
| TPW-EXE:0x4dd6e0 ride SetSpeed | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:64 | [BIN:TPW-EXE:0x4dd6e0 ride SetSpeed] the script found by the ride's handle (+0x24, 0x55a070) gets its bias word +0xc0 (0x55a300), then the log line "SPEED = %d" and ride +0x58 = the speed |
| TPW-EXE:0x4dd720 ride SetDuration | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:50 | [BIN:TPW-EXE:0x4dd720 ride SetDuration] byte b: b < MinDuration (type +0x12c) → (byte)MinDuration, else MaxDuration (+0x130) < b → (byte)MaxDuration; then script variable 3, the log line "DUR = %d" and ride +0x5c |
| TPW-EXE:0x4dd7f0 ride SetCapacity | source/OpenTPW/World/Objects/OriginalObjectRuntime.RideSettings.cs:31 | [BIN:TPW-EXE:0x4dd7f0 ride SetCapacity] byte b; when type +0x124 + type +0x128 > 0: b < MinCapacity → (byte)MinCapacity, else MaxCapacity < b → (byte)MaxCapacity (signed int compares); then script variable 2 (0x55a0b0), the log line "CAPACITY = %d" and ride +0x5d |
| TPW-EXE:0x4dd920 counts-test | source/OpenTPW/World/Guests/GuestSimulation.cs:2605 | [BIN:TPW-EXE:0x4dd920 counts-test] the candidate needs flag +0x32 bit 4, a state other than 1 and 4 (+0x19c), the open word (+0x68), a back cell, queue room below 4 × cells (+0x40) and the type checks; VAR_BROKEN is not read, so a ride whose script just reported a breakdown is chosen until its ride update enters state 1 |
| TPW-EXE:0x4df640 reliability gauge | source/OpenTPW/World/Objects/RideWindowGauges.cs:52 | [BIN:TPW-EXE:0x4df640 reliability gauge] 100 - ftol(0x4df450(speed, capacity, duration, 1) × 9.0 (0x700594)); 0x4df450 with its flag set is 0x4df501..0x4df631: s = speed / MaxSpeed × 0.9f stored as a float, + 0.1f, or (s + 0.1f + 1) × 0.5 when RedLineSpeed <= speed; c = capacity / MaxCapacity × 0.9f, + 0.1f, or (c + 0.1f + 1) × 0.5 when RedLineCapacity <= riders × 0.1f (the riders are the script's variable 5, 0x4df460, also in this mode); wear = WearRate × (c + s) × 0.5; the duration argument is not read |
| TPW-EXE:0x4df8f0 reopen tail | source/OpenTPW/World/Level.cs:1213 | [BIN:TPW-EXE:0x4df8f0 reopen tail] after a repair or an upgrade the ride opens (+0x68 = 1, script variable 6 = 0) whether or not its guard holds (it then logs "Opening non openable ride" five times), and a coaster (track type 3) failing 0x441970 closes again (+0x68 = 0, variable 6 = 1) |
| TPW-EXE:0x4df8f0 upgrade completion | source/OpenTPW/World/Objects/OriginalObjectRuntime.CatalogueTier.cs:78 | [BIN:TPW-EXE:0x4df8f0 upgrade completion] the state-2 branch raises the level (+0x50), then: Upgrades[level].InitSpeed (def +0x1a8 + level·0x40) when above 0 → the bias (0x55a300), the log line and ride +0x58, as SetSpeed 0x4dd6e0; InitCapacity (+0x198) when above 0 → SetCapacity 0x4dd7f0 with its low byte (script variable 2, +0x5d); InitDuration (+0x1a0) when above 0 → its low byte clamped to Min/MaxDuration (+0x12c/+0x130), script variable 3 and +0x5c |
| TPW-EXE:0x4e0440 open word | source/OpenTPW/Hud/ParkHud.Map.cs:492 | [BIN:TPW-EXE:0x4e0440 open word] the outline style asks whether the open word +0x68 is 0 |
| TPW-EXE:0x4e0560 coaster branch | source/OpenTPW/Hud/ParkHud.ObjectGauges.cs:28 | [BIN:TPW-EXE:0x4e0560 coaster branch] a type with track type 3 (+0x9c) has the guests' rating of its controller (0x43e0b0, 50 + ½ excitement), 0 without a controller |
| TPW-EXE:0x4e0560 coaster guest rating | source/OpenTPW/World/Coasters/CoasterRide.cs:289 | [BIN:TPW-EXE:0x4e0560 coaster guest rating] COAST-013 retired: the rating getter 0x43e0b0 returns controller +0x100 (sickness) and +0x104 (excitement), the final 0x43df90 writes both, and its only caller 0x4e0560 (the coaster branch of the per-ride guest rating) fetches the sickness and discards it, returning trunc(50 − (−0.5)·E) (constants 0x7005a4/0x7005b4) = Mac 6.1; guest code reaches a controller only through 0x55a4e0, the predicates 0x441910/0x441940/0x441970 and 0x4418f0 (ride-info stats getter 0x43e0e0), so no guest reads the sickness |
| TPW-EXE:0x4e0581 sideshow excitement | source/OpenTPW/World/Objects/RideWindowGauges.cs:19 | [BIN:TPW-EXE:0x4e0581 sideshow excitement] the type record's +0x4ac (Info.WhichUIType, 2 = sideshows) selects the branch: arg1 - arg2 clamped to 0..100 (0x4e0592..0x4e05b1), arg3 × sqrt of it × the double 0.1 (0x7005a8) × the float -0.8 (0x7005b0), __ftol, and the byte 0x14 less that (0x4e05d0); the sideshow window passes (window +0x28 prize, +0x2c price, +0x24 chance) at 0x4b1a3c, the object's own 0x4e0860 (object +0x188 prize, +0x194 price, +0x190 win byte) |
| TPW-EXE:0x4e07be ride excitement | source/OpenTPW/World/Objects/RideWindowGauges.cs:31 | [BIN:TPW-EXE:0x4e07be ride excitement] speed / Upgrades[level].InitSpeed (+0x1a8) in extended precision, clamped (a NaN takes 0.75: FCOM leaves C0 set) and stored as a float (0x4e0808); duration / InitDuration (+0x1a0) stored as a float first (0x4e07ce) and then clamped; the product of the two floats is stored as a float (0x4e0842) and multiplied by the base in extended precision before __ftol (0x4e0846), so a ratio such as 0.9f, a little below 0.9, truncates 50 × 0.9 to 44 where single-precision arithmetic would round to 45 |
| TPW-EXE:0x4e0860 excitement | source/OpenTPW/Hud/ParkHud.Map.cs:519 | [BIN:TPW-EXE:0x4e0860 excitement] with the argument 0 a type whose +0x13C (UsageInfo.ExcitementLevel) is 0 answers 0, a sideshow (+0x4ac 2) answers 0x4e0560 of its prize, price and win chance, any other type 0x4e0560 of its ride values |
| TPW-EXE:0x4e0b90 breakdown check | source/OpenTPW.Tests/PrototypeEconomySyncTests.cs:110 | [BIN:TPW-EXE:0x4e0b90 breakdown check] a script-hosted ride only writes VAR_BREAKSTAT = 1; it breaks down when the ride update reads the script's VAR_BROKEN (state 1) |
| TPW-EXE:0x4e0b90 breakdown check | source/OpenTPW.Tests/RideStateRulesTests.cs:131 | [BIN:TPW-EXE:0x4e0b90 breakdown check] VAR_BREAKSTAT = 1 and state 0 until the script's VAR_BROKEN is read (0x4e14e0) |
| TPW-EXE:0x4e0d16 relief worn | source/OpenTPW.Tests/RideStateRulesTests.cs:144 | [BIN:TPW-EXE:0x4e0d16 relief worn] a relief object below 25 writes VAR_WORN = 1 on every update |
| TPW-EXE:0x4e0e00 ride state dispatch | source/OpenTPW/Economy/ParkEconomy.cs:1150 | [BIN:TPW-EXE:0x4e0e00 ride state dispatch] [EXT:headless-economy-breakdown] (user-approved) an object a script runs breaks down as tp.exe's does (0x004E0B90 writes VAR_BREAKSTAT = 1, the script reports VAR_BROKEN, the ride update's state 1 from 0x004E14E0 writes the shared state word and calls a mechanic, whose repair writes VAR_BREAKSTAT = 0 and waits for VAR_BROKEN to clear, 0x004DA830, and 0x004DF8F0 clears VAR_WORN); the headless test and tool economy without ride scripts breaks an object down at once (the same word) and repairs it without the wait, where a level runs the scripts; the visitor bridge reads the same word whole (RideStateWord.Current: the stored 2 and 3 as well as the ride update's 1 and 4), so an upgrading ride runs the head step and the script dismiss only, as the dispatch does |
| TPW-EXE:0x4e0e00 ride state dispatch | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1454 | [BIN:TPW-EXE:0x4e0e00 ride state dispatch] state 0 runs 0x4e14e0 (VAR_BROKEN, script slot 7: SetState(1), or 4 when the life gauge +0x48 truncates to 0); states 1, 2 and 4 run the head step 0x4e0450 and the script dismiss 0x4e1410; nothing in states 1, 2 or 4 reads VAR_BROKEN |
| TPW-EXE:0x4e0e00 ride state dispatch | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1456 | [BIN:TPW-EXE:0x4e0e00 ride state dispatch] the word is read whole: 3 (not an attraction) returns at once (0x4e0e3d), 1, 2 and 4 run the head step and the script dismiss and nothing else, so an upgrading ride (state 2) never reads VAR_BROKEN or runs the admission, whatever its script reports; 0 runs the update below |
| TPW-EXE:0x4e16b0 shop sale | source/OpenTPW/Economy/ParkObjectives.cs:259 | [BIN:TPW-EXE:0x4e16b0 shop sale] a paid sale adds 1 to a challenge type by the shop's ShopType (+0x164) and SpecialIngredient (+0x158): ShopType 1 type 5; 2 or 4 by the ingredient 1, 2, 3, 4 to types 2, 1, 3, 4 (the jump tables 0x4e18e4 / 0x4e18fc); 3 type 8; 5 type 7; 6 type 6; a ShopType 2 or 4 sale with another ingredient and other ShopTypes add nothing |
| TPW-EXE:0x4e1e30 satisfaction | source/OpenTPW/Hud/ParkHud.Map.cs:496 | [BIN:TPW-EXE:0x4e1e30 satisfaction] 50 plus the mean of the object's 30 day history (the same value as the shop and sideshow windows' customer satisfaction gauge) |
| TPW-EXE:0x4e1f20 winners gauge | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:27 | [BIN:TPW-EXE:0x4e1f20 winners gauge] the sideshow's row 1 gauge is 100 × the winners over the customers (0 without customers), the two summed over the 30-entry histories at +0x2bc and +0x1ac |
| TPW-EXE:0x4e2190 SetQualityOfGoods | source/OpenTPW/Economy/ParkEconomy.cs:2138 | [BIN:TPW-EXE:0x4e2190 SetQualityOfGoods] ride +0x18c = the argument & 0xff; [BIN:TPW-EXE:0x4e21e0 SetAmountOfSpecialIngredient] ride +0x198 = the argument (no clamp) |
| TPW-EXE:0x4e21e0 SetAmountOfSpecialIngredient | source/OpenTPW/Economy/ParkEconomy.cs:2138 | [BIN:TPW-EXE:0x4e2190 SetQualityOfGoods] ride +0x18c = the argument & 0xff; [BIN:TPW-EXE:0x4e21e0 SetAmountOfSpecialIngredient] ride +0x198 = the argument (no clamp) |
| TPW-EXE:0x4e2200 ingredient name | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:119 | [BIN:TPW-EXE:0x4e2200 ingredient name] type +0x158 (UsageInfo.SpecialIngredient) 1..4 selects string 0..3 of the ingredient table ("Amount of fat", "... salt", "... ice", "... sugar"), anything else none; the shop window's load 0x4b0950 shows the slider 0xc086 and label 0xc084 with that name only when there is one |
| TPW-EXE:0x4f85a0 park date | source/OpenTPW/Economy/ParkCalendar.cs:102 | [BIN:TPW-EXE:0x4f85a0 park date] the date is the FILETIME of 2000-01-01 (0x4f7e80, rate 15000 at +0x1c) plus floor(turn × 15000 / 4) × 10^7, decoded by FileTimeToSystemTime (0x5fc660, IAT 0x6fd0bc): the proleptic Gregorian calendar in UTC, with no locale calendar and no time zone |
| TPW-EXE:0x4f8690 weather clock | source/OpenTPW/World/ParkWeather.cs:27 | [BIN:TPW-EXE:0x4f8690 weather clock] "now" is the calendar's FILETIME base plus floor(rate +0x1c (15000) x world turn +0x1da70c / 4) x 10^7 (0x4f8690 -> 0x5fc530), whole seconds that change only with the park turn, which is ParkCalendar.Seconds (turn x 3750); lastChanged = 0 (the year 1601) lies before every such time, so the first update rolls at once, as the first step does here |
| TPW-EXE:0x4f8b10 saved sprite variant | source/OpenTPW/World/Staff/StaffSprites.cs:52 | [BIN:TPW-EXE:0x4f8b10 saved sprite variant] a member of an original save takes the saved mSpriteID modulo the role's banks (the serializer saves it and reduces it by the category's bank count on load); the name-and-id key below is only for a candidate or member of an OpenTPW park save from before the variant was kept (the stored draw is reduced by the loaded count, StaffMember.SpriteDraw) |
| TPW-EXE:0x4fa470 guest particle | source/OpenTPW/World/Level.PlacedParticles.cs:36 | [BIN:TPW-EXE:0x4fa470 guest particle] the guest thing's position (0x4754e0: +0x88 and +0x90) plus the world's two offset words (0x519410 and 0x519420, both 0 in the shipped data and never written) times 10, the height the ground sampler 0x4527f0 gives at that place, each times 1024 through _ftol, into 0x521E60(effect, x, y, z) |
| TPW-EXE:0x4fa990 pick-up cell types | source/OpenTPW/World/Staff/StaffPlacement.cs:34 | [BIN:TPW-EXE:0x4fa990 pick-up cell types] CanBePickedUp (0x505bd0) also demands the member's own cell to be of type 0, 1, 3, 9 or 10 |
| TPW-EXE:0x4fb2a5 roster add | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:61 | [BIN:TPW-EXE:0x4fb2a5 roster add] the guest constructor posts message 0x1C (ctor 0x40f8b0, vtable 0x6fd840) to the bus [0x788d3c] and the generic thing deletion 0x50b780 posts 0x1B (ctor 0x40f900, vtable 0x6fd848); the UI receiver adds (0x481920) and removes (0x4818c0) a row for each, with no in-park test; the first fill 0x481bc0 takes every type-1 thing (flag 0x40, 0x493611) |
| TPW-EXE:0x4fb3f5 rider voice | source/OpenTPW/World/Guests/GuestSimulation.cs:396 | [BIN:TPW-EXE:0x4fb3f5 rider voice] a guest in state 16 (on the ride) whose ride is removed gets its model back and plays cat_kids 0x80, whatever its thing id |
| TPW-EXE:0x4fc83a activity voice | source/OpenTPW/World/Guests/GuestSimulation.cs:2165 | [BIN:TPW-EXE:0x4fc83a activity voice] the activity start plays cat_kids 0x7E for activity 4 (the "can't decide" pause) on one thing id in sixteen |
| TPW-EXE:0x4fca3e thought voice | source/OpenTPW/World/Guests/GuestSimulation.cs:1232 | [BIN:TPW-EXE:0x4fca3e thought voice] the pick's tail plays a voice for the thoughts 4, 13 and 14 on one thing id in sixteen (table 0x4fca94, index = thought - 4): the need-toilet thought (4) is cat_kids 0x85 (0x4fca6f); 13 is 0x7E and 14 is 0x7F, which this pick does not return |
| TPW-EXE:0x4fd950 | source/OpenTPW.Tests/GuestDisplayAgeTests.cs:260 | [BIN:TPW-EXE:0x4fd950] the stay is the integer turns since the stamp, not the float seconds clock |
| TPW-EXE:0x4fd950 stay turns | source/OpenTPW/World/Guests/GuestSimulation.cs:1864 | [BIN:TPW-EXE:0x4fd950 stay turns] the stay is the integer world turns since the arrival stamp (+0x1D4), which the guest's display age keeps (GUEST-920); a guest without that provenance (an older own-format save) falls back to its elapsed seconds |
| TPW-EXE:0x4fe1cb till | source/OpenTPW/World/Guests/GuestSimulation.cs:3850 | [BIN:TPW-EXE:0x4fe1cb till] the use routine's price step (0x4fe1a0, before the lost-sideshow test) takes the object's current price when it is not 0 and plays cat_kids 0xD0 at the guest |
| TPW-EXE:0x4fe303 drink or meal voice | source/OpenTPW/World/Guests/GuestSimulation.cs:3967 | [BIN:TPW-EXE:0x4fe303 drink or meal voice] after the thirst and hunger meters the use routine compares the type's thirst effect (+0x144) with its hunger effect (+0x148): the larger thirst plays cat_kids 0x83, the larger hunger 0x84, equal ones nothing |
| TPW-EXE:0x4fed86 vomit voice | source/OpenTPW/World/Guests/GuestSimulation.cs:2002 | [BIN:TPW-EXE:0x4fed86 vomit voice] after the litter (0x4d93b0 with 7) and the guest event 0x12 the state-6 routine plays cat_kids 0xCC at the guest, every time |
| TPW-EXE:0x4ff419 major decision | source/OpenTPW/World/Guests/GuestSimulation.cs:2608 | [BIN:TPW-EXE:0x4ff419 major decision] once the turn is above +0x1FC + 30 the choice 0x4fcb10 runs; with no target the guest logs event 1, thinks 4, loses the small step (0x4fea70(0)) and is stamped; nothing in it tests time since a ride, and no instruction reads PeepTypes' BoredomThreshold (0x7850EC + 12 × type has no reference; excitement 0x7850E4 and cash 0x7850E8 have) |
| TPW-EXE:0x4ff5b0 booth verdict | source/OpenTPW/World/Guests/BoothVerdict.cs:47 | [BIN:TPW-EXE:0x4ff5b0 booth verdict] GP = S (0x4c8240) / (N + R % ((N >> 1) + 1)) + base, logged as "GP: %d, AF: %d" with AF the fee (bank +0x118); base < GP or base < AF selects the float bands k1 = +0x48, k2 = +0x4C, k3 = +0x44 of the settings at 0x785040 |
| TPW-EXE:0x4ff9d0 booth | source/OpenTPW/World/Guests/GuestSimulation.cs:1723 | [BIN:TPW-EXE:0x4ff9d0 booth] verdict 0: thought 6 and home (state 18); 1: +0x200 = 50 + R % 50 (counted down one per update before the verdict runs again), thought 6, 0x4fea70(1), home when the happiness byte is 0; 2: 0x4fe9c0(1), then 3: the fee is booked (0x4d0600) and the guest enters (+0x204 = 1, state 3) |
| TPW-EXE:0x501A08 state 16 update | source/OpenTPW.Tests/OriginalCoasterImportTests.cs:440 | [BIN:TPW-EXE:0x501A08 state 16 update] a list entry must be a rider the guest import seated aboard the ride; a rider on no list stays aboard (the rings are not saved, no sweep exists) |
| TPW-EXE:0x501A08 state 16 update | source/OpenTPW/World/Coasters/OriginalCoasterImport.cs:239 | [BIN:TPW-EXE:0x501A08 state 16 update] a guest in state 16 does nothing but look its ride up, so a guest of the coaster that no car list holds is not in the train code's reach: the controller lets guests off only from its leaving ring (0x43B220), which the saver does not write |
| TPW-EXE:0x501db0 state 15 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:3838 | [BIN:TPW-EXE:0x501db0 state 15 entry] the same beam when the guest is back on the ground (after 0x4fa030 placed its model) |
| TPW-EXE:0x501db0 state 16 entry | source/OpenTPW/World/Guests/GuestSimulation.cs:3629 | [BIN:TPW-EXE:0x501db0 state 16 entry] a ride whose type record +0x100 (UsageInfo.RequiresTeleport) is set starts particle 0x13 at the guest's place (0x4fa470) before its model is taken down |
| TPW-EXE:0x5021c5 ride use | source/OpenTPW/Economy/ParkEconomy.cs:3095 | [BIN:TPW-EXE:0x5021c5 ride use] the event carries the used ride's thing id as its object (parameter B of 0x004D27A0), which a carried object (ECON-055) must equal |
| TPW-EXE:0x5021e5 ride use | source/OpenTPW/Economy/ParkObjectives.cs:283 | [BIN:TPW-EXE:0x5021e5 ride use] the event 16 of 0x501db0 adds 1 to the accumulator under 17, 20 and 22 alike (0x5021e5, 0x50224b, 0x5022b1), with the used |
| TPW-EXE:0x502dc0 research lab serializer | source/OpenTPW/Economy/OriginalEconomyImport.cs:880 | [BIN:TPW-EXE:0x502dc0 research lab serializer] 256 projects (0x504210), five category records (0x504760) in ResearchCategory order, then mNumProjects, mWorkLoad, mMostExpensiveProject, mLabActive; used projects are the first mNumProjects |
| TPW-EXE:0x503FF0 research cheat | source/OpenTPW/Economy/OriginalEconomyImport.cs:949 | [BIN:TPW-EXE:0x503FF0 research cheat] a cheated park's object that is buildable without its finished project |
| TPW-EXE:0x503FF0 research cheat | source/OpenTPW/Economy/OriginalResearchExport.cs:89 | [BIN:TPW-EXE:0x503FF0 research cheat] an object the research cheat made available is marked researched, its project left as it is |
| TPW-EXE:0x503FF0 research cheat | source/OpenTPW/Economy/ParkResearch.cs:263 | [BIN:TPW-EXE:0x503FF0 research cheat] for each of the manager's items (+0x145C of them, 0x14 bytes each, walked from the last) the object control of the item's id (+0xC, 0x4D3D10) gets its available byte (+0x10) set; an upgrade level's item names its ride, whose control is the ride's own, so the levels themselves stay researched only; the AllResearchedAndBuilt ticket (0x4CA6B0) reads the items left (0x503B30) and the built counts, not the available byte |
| TPW-EXE:0x504210 research project serializer | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:404 | [BIN:TPW-EXE:0x504210 research project serializer] u16 mObjId, u32 mCat, u8 mResearchGroup, u8 mUpgradeLevel, f32 mCost, f32 mResearchDone (0x504630 compares and adds them as floats) |
| TPW-EXE:0x504580 upgrade level project | source/OpenTPW/Economy/OriginalEconomyImport.cs:905 | [BIN:TPW-EXE:0x504580 upgrade level project] the lab's category-4 projects (the add-ons and the appended level projects) keep the saved table's order |
| TPW-EXE:0x504630 research points | source/OpenTPW/Economy/OriginalEconomyImport.cs:881 | [BIN:TPW-EXE:0x504630 research points] points are added to mResearchDone while it is below mCost; reaching the cost marks the object researched (its object-table record +0x10) and notifies |
| TPW-EXE:0x504760 research group serializer | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:405 | [BIN:TPW-EXE:0x504760 research group serializer] u32 effort, u32 output, i32 currentProject, u8 highestGroupAvailable |
| TPW-EXE:0x5054D0 staff state 6 | source/OpenTPW/World/Staff/StaffSprites.cs:32 | [BIN:TPW-EXE:0x5054D0 staff state 6] state 6 has no StaffJob, so no clip plays it in OpenTPW: SetState 0x5054D0 case 6 stamps the idle clock (+0x200) and plays script 0x14 (slot 3, one frame), and ModelState 0x5056E0 returns the member to state 0 after 3 x the role's rate (table 0x785330) |
| TPW-EXE:0x5054D0 staff state 6 | source/OpenTPW/World/Staff/StaffSprites.cs:33 | [BIN:TPW-EXE:0x5054D0 staff state 6] nothing in tp.exe writes 6: the SetState call sites pass 0, 1, 2, 3, 4, 5 or 7 or a role setter's parameter (0x4D46D0, 0x4D65D0, 0x4D7330, 0x4DA370, 0x502C20), whose callers pass 0, 1, 8-0xD, 0xF, 0x10, 0x12 or 0x13; the other stores of the state word +0x19C are those setters', the constructor's 0 (0x5185D8) and the entertainer's 0, 1 and 0xE; only the staff serializer 0x504DE0 can restore a 6 from a save, so the clip stays for a loaded save |
| TPW-EXE:0x505a10 CStaff::Train | source/OpenTPW/Economy/ParkStaff.cs:221 | [BIN:TPW-EXE:0x505a10 CStaff::Train] the points are min(share / price, 100) and a grade is reached at 100 (the carry is points − 100, happiness set to 100.0); the Standard.sam comment "costs 1000 to get up to grade 1" is not what the code charges (100 points at price 5 cost 500) |
| TPW-EXE:0x505bd0 CanBePickedUp | source/OpenTPW/World/Staff/StaffPlacement.cs:65 | [BIN:TPW-EXE:0x505bd0 CanBePickedUp] the state word +0x19c: 4, 5 (jump table 0x505c0c), 7 (0x505c2c), 13 and 18 refuse, then the cell test 0x4fa990; 13 is the |
| TPW-EXE:0x505c50 pick-up | source/OpenTPW/World/Staff/StaffPlacement.cs:214 | [BIN:TPW-EXE:0x505c50 pick-up] an active carry tool is replaced first (the previous member drops back where it was); SetState(7) activates the carry tool, cursor 9 |
| TPW-EXE:0x505ea0 drop | source/OpenTPW/World/Staff/StaffPlacement.cs:428 | [BIN:TPW-EXE:0x505ea0 drop] teleport to the cell centre (0x4fa930), SetState(0) idle and +0x200 = 0 (idle stamp reset); the pool's +0x60 is cleared |
| TPW-EXE:0x5064f0 display state | source/OpenTPW/Economy/ParkStaff.cs:685 | [BIN:TPW-EXE:0x5064f0 display state] switch on +0x19c: 0 → 0, 1 → 1, 2 and 3 → 3, 4 and 5 → 4, 7 → 5, default → 2 |
| TPW-EXE:0x5065d0 at work | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:510 | [BIN:TPW-EXE:0x5065d0 at work] a mechanic whose target +0x218 is the object in state 13 (repairing or upgrading), a handyman whose toilet +0x21a is the object in state 11 (cleaning); the headless economy, which drives no member through these states, counts the job's countdown on the object once the member arrived |
| TPW-EXE:0x506830 staff name | source/OpenTPW/Economy/ParkStaff.cs:307 | [BIN:TPW-EXE:0x506830 staff name] the inline field accepts up to 32 UTF-16 units, including an explicit blank name. |
| TPW-EXE:0x506830 staff name | source/OpenTPW/Economy/ParkStaff.cs:316 | [BIN:TPW-EXE:0x506830 staff name] the inline field accepts up to 32 UTF-16 units, including an explicit blank name. |
| TPW-EXE:0x507600 staff candidate | source/OpenTPW/Economy/OriginalEconomyImport.cs:612 | [BIN:TPW-EXE:0x507600 staff candidate] a candidate's sub-type (+9) is its sprite variant, drawn at its creation (0x507600 → 0x541F70: (R >> 2) % the category's loaded bank count, the table 0x763F88 of 12-byte entries) and handed to the placement object 0x46C6D0 when it is picked up (0x507BF0): imported as the candidate's variant, which the member hired from it keeps (StaffSpriteRules.KeyOf) |
| TPW-EXE:0x507600 staff candidate | source/OpenTPW/Economy/ParkStaff.cs:525 | [BIN:TPW-EXE:0x507600 staff candidate] the timeout (+0x10) is StaffTimeoutTime + R % (StaffTimeoutTime >> 1) |
| TPW-EXE:0x507850 staff pool serializer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:469 | [BIN:TPW-EXE:0x507850 staff pool serializer] 32 × (u32 type, u32 name, u8 grade, u8 sub-type, u8 valid, u8 on pointer, u32 time stamp, u32 timeout), 5 × (u32 mPeopleInCat, u8 mStopProducing), u32 mTimeSig, u8 mOpeningStaffPoolGenerated |
| TPW-EXE:0x507850 staff pool serializer | source/OpenTPW.Files/Formats/Save/SaveWorld.cs:101 | [BIN:TPW-EXE:0x507850 staff pool serializer] 32 × 20-byte candidates (+0 type, +4 name, +8 grade, +9 sub-type, +0xa valid, +0xb on pointer, +0xc time stamp, +0x10 timeout), 5 × (u32 mPeopleInCat, u8 mStopProducing), u32 mTimeSig, u8 mOpeningStaffPoolGenerated; the macro AI 0x4d7a70 writes it just before the calendar 0x4f7f30 |
| TPW-EXE:0x507bf0 hire | source/OpenTPW/Hud/ParkHud.Staff.cs:152 | [BIN:TPW-EXE:0x507bf0 hire] the hire creates no object, it builds the place tool; [BIN:TPW-EXE:0x49b9dd hire help] the handler closes the window (0x658d9f, message 4) and then posts advisor message 0x135 |
| TPW-EXE:0x507bf0 hire | source/OpenTPW/World/Staff/StaffPlacement.cs:187 | [BIN:TPW-EXE:0x507bf0 hire] the hire creates no object: it builds the CMMPlaceStaff tool (0x46c6d0), makes it current (0x46c350) and flags the candidate as being placed (+0xb) |
| TPW-EXE:0x508000 staff census | source/OpenTPW/Economy/OriginalEconomyImport.cs:613 | [BIN:TPW-EXE:0x508000 staff census] the people-in-category counts and stop-producing flags are recomputed from the park's staff before every read (the refill 0x5084F0, its top-up 0x508170 and the pick-up 0x507BF0), as UpdatePool counts the hired staff; the opening-pool flag only gates the opening pool 0x5087D0, which OpenTPW draws for a new park only |
| TPW-EXE:0x5083B0 tool exit | source/OpenTPW/Economy/OriginalEconomyImport.cs:615 | [BIN:TPW-EXE:0x5083B0 tool exit] a candidate saved with its on-pointer byte set (+0xB: picked up for placement) keeps the flag, as the original does until a carry tool ends: the refill 0x5084F0 never expires a flagged candidate, the census counts it as valid, and the next tool exit clears the flag (0x5083B0: with the placement made it also removes the flagged candidate); the carry tool itself is not saved or recreated (ParkStaff.StaleOnPointerId) |
| TPW-EXE:0x5083b0 tool exit | source/OpenTPW/Economy/ParkStaff.cs:380 | [BIN:TPW-EXE:0x5084f0 staff pool update] the expiry loop skips a candidate whose +0xB is set (it tests +0xB == 0 before it clears the valid byte), and the census counts it as valid; [BIN:TPW-EXE:0x5083b0 tool exit] every flagged candidate loses the flag, and with a 0 argument (the placement was made) its valid byte too |
| TPW-EXE:0x5084f0 staff pool update | source/OpenTPW/Economy/OriginalEconomyImport.cs:604 | [BIN:TPW-EXE:0x5084f0 staff pool update] a valid slot is a candidate of role +0 (StaffType's order, 0x507600) that leaves once the turns since its stamp |
| TPW-EXE:0x5084f0 staff pool update | source/OpenTPW/Economy/ParkStaff.cs:380 | [BIN:TPW-EXE:0x5084f0 staff pool update] the expiry loop skips a candidate whose +0xB is set (it tests +0xB == 0 before it clears the valid byte), and the census counts it as valid; [BIN:TPW-EXE:0x5083b0 tool exit] every flagged candidate loses the flag, and with a 0 argument (the placement was made) its valid byte too |
| TPW-EXE:0x5084f0 staff pool update | source/OpenTPW/Economy/ParkStaff.cs:405 | [BIN:TPW-EXE:0x5084f0 staff pool update] a candidate whose turns since its stamp (+0xc, 0x41a970) exceed 4 × its timeout (+0x10) leaves unless it is being placed; the pool refills once the turns since its own stamp exceed 4 × TimeBetweenStaffUpdates (0x785304) |
| TPW-EXE:0x5089C0 staff HQ | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:30 | [BIN:TPW-EXE:0x5089C0 staff HQ] the force-strike word 4, the picked-up id 2, five 12-byte strike levels, five 4-byte training budgets and the trained byte (SaveStaffHq): all zero in a new park |
| TPW-EXE:0x5089C0 staff HQ constructor | source/OpenTPW/Economy/OriginalEconomyImport.cs:595 | [BIN:TPW-EXE:0x5089C0 staff HQ constructor] the force strike (+0x64) is written only by the HQ constructor (0) and the save loader 0x508BB0, so the month gate 0x508E70 and the grievance 0x509360 see 0 in play as OpenTPW does; the trained byte (mHaveEverTrained, training +0x14) is cleared (0x50C620), serialized (0x50C640), set by the training window (0x4B25D0) and read only by the advisor's train-your-staff line (0x59FB3B), so it is imported above |
| TPW-EXE:0x508f70 strike step | source/OpenTPW/Economy/OriginalEconomyImport.cs:582 | [BIN:TPW-EXE:0x508f70 strike step] each role's 12-byte strike record holds its level (+0, 0-4) and its active word (+4); 0x508e70 stamps the third word (+8) with the turn the role was last considered |
| TPW-EXE:0x509BF0 strike tags | source/OpenTPW/Hud/ParkHud.StrikeMessages.cs:31 | [BIN:TPW-EXE:0x509BF0 strike tags] the tag records of the table 0x75ECA8 show the entries 38..62 as the tags 35..59 (each its own record: a lifetime of 30 s, the "called off" tags replacing the warnings) |
| TPW-EXE:0x509CC6 tag message | source/OpenTPW/Hud/ParkHud.MessageTube.cs:92 | [BIN:TPW-EXE:0x509CC6 tag message] the category-24 message becomes the record the tube's add routine takes: the tag, the tag record's replaced tag (+4), the text, the lifetime (the message's word +0x10 when it is not below 0, else the record's +0x18), the icon (+8), the two actions (+0x10, +0x14) and the message's context word (+0xC) and dword (+0x14) |
| TPW-EXE:0x50AF40 offer tags | source/OpenTPW/Hud/ParkHud.ChallengeMessages.cs:128 | [BIN:TPW-EXE:0x50AF40 offer tags] the offer tags 274, 275, 277 and 279 replace the progress tags 306, 307, 309 and 312 through the add routine's replacement scan |
| TPW-EXE:0x50AF40 tag lookup | source/OpenTPW/World/MessageTags.cs:36 | [BIN:TPW-EXE:0x50AF40 tag lookup] the record at the id's own position of the table at 0x75ECA8 when its id matches, else the first record with the id; 0x17E and 0x17F have none |
| TPW-EXE:0x50B453 online person tick | source/OpenTPW/Online/ParkPresenceState.cs:78 | [BIN:TPW-EXE:0x50B453 online person tick] the person tick's case for thing type 0x12: in the online game type it calls 0x4F7C60 (the sparkle, 0x50B495) and 0x4F7C90 (the walk) once a world turn |
| TPW-EXE:0x50B495 online person tick | source/OpenTPW/Online/ParkPresence.cs:54 | [BIN:TPW-EXE:0x50B495 online person tick] the sparkle 0x4F7C60 runs in every turn's tick of an online person (the type 0x12 case at 0x50B453) |
| TPW-EXE:0x50C200 track cell | source/OpenTPW.Files/Formats/Save/SaveCellGrid.cs:163 | [BIN:TPW-EXE:0x50C200 track cell] the structure cell is the 29-byte base (0x4D0B30) and a 2-byte segment number: 31 bytes |
| TPW-EXE:0x50D150 navigation state reader | source/OpenTPW.Files/Formats/Save/SaveNavigation.cs:23 | [BIN:TPW-EXE:0x50D150 navigation state reader] force, formation_pos, local_xaxis, local_yaxis, mass, max_force, max_speed, mCantReachDest, nav_mode, path_buffer_count, path_count, path_finished, path_last_progress, path_stuck_buffer, path_subpath_dist, path_tail_dist, path_target_pos, path_timestamp, path_total_count, path_total_dist, pos, radius, 5 x (subpath_buffer, subpath_dist), vel |
| TPW-EXE:0x50F8E0 person route | source/OpenTPW/Online/ParkPresenceState.cs:242 | [BIN:TPW-EXE:0x50F8E0 person route] the walk goes through the route 0x511420 finds, its cells' centres in turn, with the octile distance |dx| + |dy| - min / 2, and moves straight to the point when there is none (0x70000000) |
| TPW-EXE:0x50a1d5 challenge formatting | source/OpenTPW/Hud/ChallengeMessageText.cs:56 | [BIN:TPW-EXE:0x50a1d5 challenge formatting] selectors supply keyed argument records, which a template may reorder or omit. |
| TPW-EXE:0x50af40 tag lookup | source/OpenTPW/Economy/ChallengePresentation.cs:32 | [BIN:TPW-EXE:0x50af40 tag lookup] lookup searches for the matching tag after the indexed probe. |
| TPW-EXE:0x50c800 training split | source/OpenTPW/Economy/OriginalEconomyImport.cs:577 | [BIN:TPW-EXE:0x50c800 training split] budget word k serves the role of thing model 5, 4, 6, 7 and 8 for k = 0..4 (handyman, mechanic, entertainer, guard, researcher: StaffType's order), shared by its role's headcount at month end |
| TPW-EXE:0x510240 stamp load | source/OpenTPW.Files/Formats/Save/SaveAnalyserStamps.cs:13 | [BIN:TPW-EXE:0x510240 stamp load] the load branch of the serializer reads the six stamps back in the same order, eight raw bytes each (0x4C71EE-0x4C72C0: mLastObjectBuilt at 0x4C7289, mLastStaffHired at 0x4C72B3) |
| TPW-EXE:0x511f70 | source/OpenTPW.Tests/ParkWeatherTests.cs:98 | [BIN:TPW-EXE:0x511f70] the constructor stores the season's roll as the quality without calling the converter 0x512f00, and lastChanged is 0 |
| TPW-EXE:0x511f70 weather constructor | source/OpenTPW/World/ParkWeather.cs:26 | [BIN:TPW-EXE:0x511f70 weather constructor] quality = the season's roll (0x512e10), lastChanged = 0, drops, target and lightning 0, wind 90/0.5; the converter 0x512f00 is not called, so the constructed quality has no effect (no rain or snow) and, because lastChanged is 0, the first update rolls a forecast at once, applied DaysOfWarning days later |
| TPW-EXE:0x511f70 weather constructor | source/OpenTPW/World/ParkWeather.cs:118 | [BIN:TPW-EXE:0x511f70 weather constructor] the constructed quality is the season's roll but is never converted (no rain or snow), and lastChanged is 0, so the first update rolls a forecast at once |
| TPW-EXE:0x511fdf weather constructor | source/OpenTPW/World/ParkWeather.cs:92 | [BIN:TPW-EXE:0x511fdf weather constructor] the direction starts at 90.0 and the strength (+0x60) at 0.5 |
| TPW-EXE:0x5128a0 weather apply | source/OpenTPW/World/ParkWeather.cs:459 | [BIN:TPW-EXE:0x5128a0 weather apply] a pending forecast applies once now reaches its time: the converter sets the quality and lastChanged = now |
| TPW-EXE:0x51295c | source/OpenTPW.Tests/ParkWeatherTests.cs:150 | [BIN:TPW-EXE:0x51295c] roll when now >= lastChanged + max(0, DaysBetweenChanges - DaysOfWarning) days, on timestamps, not day indices |
| TPW-EXE:0x51295c weather roll | source/OpenTPW/World/ParkWeather.cs:468 | [BIN:TPW-EXE:0x51295c weather roll] with no forecast pending (also in the tick that just applied one) the roll is due at lastChanged + max(0, DaysBetweenChanges - DaysOfWarning) days |
| TPW-EXE:0x51295c weather roll and apply | source/OpenTPW/World/ParkWeather.cs:25 | [BIN:TPW-EXE:0x51295c weather roll and apply] everything runs on game-clock timestamps (0x4f8690; the unit is 10^7 per second, 0x4f8770), not day indices: a roll happens when now >= lastChanged (+0x10) + max(0, DaysBetweenChanges - DaysOfWarning) days and no forecast is pending (flag +0x2c); the forecast handler (0x5127a0) stores the pending time now + DaysOfWarning days (+0x20), the quality (+0x28), the flag and mLastForecasted; the apply (now >= +0x20, unless mOverridden +0x64) runs the converter 0x512f00, which sets the quality and lastChanged = now (0x512f5b), and the same tick falls through to the roll test |
| TPW-EXE:0x512C50 bolt ground | source/OpenTPW/World/Weather/WeatherVisualState.cs:316 | [BIN:TPW-EXE:0x512C50 bolt ground] the ground point is at original y = 0, not on the terrain: x and z are the draws the strike made before the sky point's offset of up to 50 (ParkWeather hands both); a lobby strike without a ground point falls back to the point straight below the top |
| TPW-EXE:0x512C50 strike points | source/OpenTPW/World/ParkWeather.cs:590 | [BIN:TPW-EXE:0x512C50 strike points] the original's bolt runs from the ground point (x, 0, z) it drew to the sky point 300 up and offset by up to 50 in x and z (0x512880 hands both to 0x580320), not straight down from the sky point |
| TPW-EXE:0x512a7f | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:318 | [BIN:TPW-EXE:0x5131f0] mode 0 (rain) submits cat_ambient 0x21 flat with no parameter; snow and clear stop it. [BIN:TPW-EXE:0x512a7f] the level voice follows the drops in every weather |
| TPW-EXE:0x512a7f level rain voice | source/OpenTPW/Audio/GameAudio.cs:744 | [BIN:TPW-EXE:0x512a7f level rain voice] the level-driven voice 0x51e830 (parameter 8) is fed every tick from the current drops * 100 / MaxRaindrops, also in snow |
| TPW-EXE:0x512e10 December's row | source/OpenTPW/World/ParkWeather.cs:503 | [BIN:TPW-EXE:0x512e10 December's row] one row past the table: the average is the array's count slot (0x7854f4) |
| TPW-EXE:0x512e10 December's season row | source/OpenTPW/World/ParkWeather.cs:24 | [BIN:TPW-EXE:0x512e10 December's season row] December is row 4 of the season roll (season = the FILETIME date's month / 3, tp.exe 0x4f8770: wMonth 1-12, Mac 0x101037D4): its tolerance and chance are DaysOfWarning (+0x4B8) and DaysBetweenChanges (+0x4BC), and its average is the word at 0x7854f4 right after the Seasons array, which is the array's count slot: the .sam loader zeroes it (0x4013e0) and raises it to the highest stored element index + 1 on every value it stores (0x4017a0), so it holds the number of seasons present in the files (4 in every shipped Standard and Online_Standard layer) |
| TPW-EXE:0x5130bc converter wind | source/OpenTPW/World/ParkWeather.cs:552 | [BIN:TPW-EXE:0x5130bc converter wind] strength = (float)(100 - quality) x 0.01 clamped to 0..1 (+0x60); direction = (direction - 45) + (float)(rand() % 90) (+0x5C), 360 added while below 0 and taken while above 360; then 0x57D920 hands both to the rain |
| TPW-EXE:0x5131f0 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:318 | [BIN:TPW-EXE:0x5131f0] mode 0 (rain) submits cat_ambient 0x21 flat with no parameter; snow and clear stop it. [BIN:TPW-EXE:0x512a7f] the level voice follows the drops in every weather |
| TPW-EXE:0x5131f0 weather mode setter | source/OpenTPW/Audio/GameAudio.cs:742 | [BIN:TPW-EXE:0x5131f0 weather mode setter] mode 0 (rain) submits cat_ambient 0x21 (0x51327c) with no parameter into the thing's +0x54 (mRainSoundHandle, saved); mode 1 (snow) and mode 2 (clear) stop it |
| TPW-EXE:0x51562d world constructor | source/OpenTPW/Economy/ParkEconomyRuntime.cs:57 | [BIN:TPW-EXE:0x51562d world constructor] a new world writes mParkClosed (+0x1da710) = 1; only the gate command 0x519ef0 (the entrance-price window's button |
| TPW-EXE:0x5168f0 park lost | source/OpenTPW.Tests/ParkGateTests.cs:96 | [BIN:TPW-EXE:0x5168f0 park lost] 0x4e0db0 writes VAR_BREAKSTAT = 1 on each attraction; 0x519ef0(0, 1) writes only the gate's variable 0 = 2 |
| TPW-EXE:0x516C80 World writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:407 | [BIN:TPW-EXE:0x516C80 World writer] 26 labelled u32/u16 writes from the log labels at 0x748744 (version) and 0x7629FC..0x76286C (mArrivalVehicle_Size1 .. mFirstObject), then the serializers 0x4D3AA0 (control manager), 0x4D7A70 (macro AI: 0x507850, 0x4F7F30, 0x4CF050) and 0x4D7EA0 (map), then the labels "Used Thing Head" (0x7627E4), "Used Thing Next" (0x7627D4) and "thingmodel" (0x7627C8) and one serializer call per model. The block routines are single serializers the loader 0x5179C0 calls at the same addresses (0x5181E7 for the control manager), run with the writer's stream, so the loader's field order, read from the loader, is the writer's |
| TPW-EXE:0x516C80 World writer | source/OpenTPW/Economy/OriginalParkExport.cs:48 | [BIN:TPW-EXE:0x516C80 World writer] mGameTick (u32), mParkClosed (u32), mNumberOfVisitorsToDate (u32) and mRandomSeed (u32, the world generator's whole state) are four of the 26 labelled variables |
| TPW-EXE:0x516c80 world save | source/OpenTPW/World/Staff/StaffPlacement.cs:324 | [BIN:TPW-EXE:0x516c80 world save] before its first field the save makes a new default tool current (0x46c350 at 0x516d13), whose switch runs the old tool's exit |
| TPW-EXE:0x5179C0 World loader | source/OpenTPW.Files/Formats/Save/SaveBlockWidths.cs:78 | [BIN:TPW-EXE:0x5179C0 World loader] variables, 0x4D3AA0, 0x4D7A70 (0x507850, 0x4F7F30, 0x4CF050), 0x4D7EA0 (status byte, 0x4D8DD0, 0x50C200, 0x502490 per cell), "Used Thing Head" and the things; a status byte's other bits are not read |
| TPW-EXE:0x5179C0 World loader | source/OpenTPW.Files/Formats/Save/SaveWorld.cs:257 | [BIN:TPW-EXE:0x5179C0 World loader] the control manager (4806 bytes) and the macro AI (the hiring pool 670, the calendar 28, the arrivals 18) have fixed widths, so the map starts there |
| TPW-EXE:0x5179C0 World loader | source/OpenTPW.Files/Formats/Save/SaveWorld.cs:344 | [BIN:TPW-EXE:0x5179C0 World loader] after the three serializers the loader reads "Used Thing Head" and then one thing at a time through its model's serializer until the chain's next id is 0 |
| TPW-EXE:0x519aa0 chain head insert | source/OpenTPW/Hud/AllStaffRoster.cs:81 | [BIN:TPW-EXE:0x519aa0 chain head insert] a new thing becomes the chain's head (0x519aa0 for the guards, 0x51965e, 0x5197ce and 0x51993e likewise), so the chain runs newest first, as the global chain does for the members of one role |
| TPW-EXE:0x51ADE0 history constructor | source/OpenTPW.Files/Formats/Save/SaveThingRecords.cs:193 | [BIN:TPW-EXE:0x51ADE0 history constructor] a new ring has mCurrentEntry 0xFFFFFFFF, 30 entries and no wrap; that empty ring is the only head below 0 (the loader 0x4E2C10 reads it unchecked) |
| TPW-EXE:0x51BDEE-0x51BE45 speech duck,0x70A280 group float | source/OpenTPW/Audio/AudioMixer.cs:375 | [BIN:TPW-EXE:0x51BDEE-0x51BE45 speech duck,0x70A280 group float] while speech plays the sound service sends trunc(option percent x duck percent / 100) as an integer, and every group float is that percent x 0.01f |
| TPW-EXE:0x51BE5A music duck | source/OpenTPW/Audio/AudioMixer.cs:305 | [BIN:TPW-EXE:0x51BE5A music duck] the sound service (0x51BD70, applied from the main loop whenever one of its settings changed) compares the 16-bit request 0x803AD0 with 0: non-zero sends the music channel's volume as 0 (0x51BE62-0x51BE7E, or 0x51BDC2-0x51BDEC while speech ducks the others), zero sends the option volume 0x803AC0 (scaled by the speech duck 0x785914 percent in the ducking branch); the other three channels are not touched |
| TPW-EXE:0x51C350 sound settings | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:132 | [BIN:TPW-EXE:0x51C350 sound settings] the writer emits the length 0x54 and the 84 bytes at 0x803AA0; the loader 0x51C400 reads that many bytes back into 0x803AA0 |
| TPW-EXE:0x51C350 sound writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:588 | [BIN:TPW-EXE:0x51C350 sound writer] the on word, a word, the counted settings and, when on, three words and the chunk (its length word first) |
| TPW-EXE:0x51C400 sound loader | source/OpenTPW/Audio/GameAudio.cs:1214 | [BIN:TPW-EXE:0x51C400 sound loader] the payload loader 0x415270 calls the Sound block loader at 0x415BA2; the copied shadows reach the mixer on the next tick 0x51BD70 (park entry sets the dirty word after the load, 0x54F3AE), and the post-load pass 0x415140 does not call the options applier 0x423DD0 |
| TPW-EXE:0x51C400 sound loader | source/OpenTPW/Audio/SavedSoundVolumes.cs:9 | [BIN:TPW-EXE:0x51C400 sound loader] the loader copies the saved 84 bytes into the sound-service globals 0x803AA0, the volumes' shadows included; the tick 0x51BD70 pushes all seven mixer values (master +0x18, effects +0x1C, music +0x20, speech +0x24, the on-flags +0x38/+0x3C/+0x40) while the dirty word +0x28 is non-zero, and park entry sets it after the load (0x54F3AE) |
| TPW-EXE:0x51C400 sound loader | source/OpenTPW/Client/GameFlow.cs:427 | [BIN:TPW-EXE:0x51C400 sound loader] a park started from an original save (a player's own or the shipped Easymode seed, Level.OriginalSaveSound) plays at the save's volumes until the options take over (docs/AUDIO.md, "Volumes of a loaded original save"); the player's options are not changed |
| TPW-EXE:0x51C8D0 reverb preset | source/OpenTPW/Audio/GameAudio.cs:362 | [BIN:TPW-EXE:0x51C8D0 reverb preset] when the sound service is up and the preset differs from the held one (0x803AB4, -1 at start, 0 once the service started with sound on) the held one is replaced and the preset sent as a mixer command (0x700B30 → 0x6C6000, which fetches the SndReverb.map record and refuses an absent one) |
| TPW-EXE:0x51E710 music duck request | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1119 | [BIN:TPW-EXE:0x51E710 music duck request] the low word of the operand is the global request the sound service reads (a non-zero word silences the music channel) |
| TPW-EXE:0x51EF30 draw list | source/OpenTPW/World/Particles/ParticleSystem.cs:1170 | [BIN:TPW-EXE:0x57C620 draw driver] slots in ascending order; [BIN:TPW-EXE:0x51EF30 draw list] position scaled by the control: drawn = emitter + (particle - emitter) * control / 1000 |
| TPW-EXE:0x51F01A screen-space draw list | source/OpenTPW/World/Particles/ParticleScreenSpace.cs:10 | [BIN:TPW-EXE:0x51F01A screen-space draw list] with template byte +5 set the draw entry is x = ((px - 0xC35) << 4) / 49 and y = ((pz << 4) - 0x927C) / 37 (integer, truncating), both scaled around the emitter by the control first (0x51F026), z = the template word +0x52, the size (word +0x28 + 63 for negatives) >> 6 instead of << 1, and the flags | 0x54000 |
| TPW-EXE:0x51F0C0 | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:18 | [BIN:TPW-EXE:0x51F0C0] x = ((px - 0xC35) << 4) / 49, y = ((pz << 4) - 0x927C) / 37, then / 1024: native (90000, 0, 7000) is stored >> 4 as (5625, 437) |
| TPW-EXE:0x51F112 | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:32 | [BIN:TPW-EXE:0x51F112] size >> 6 (truncating), [BIN:TPW-EXE:0x57C66A] half-height = word / 1024 * 0.5 |
| TPW-EXE:0x51F320 sine table | source/OpenTPW/World/Particles/ParticleSystem.cs:124 | [BIN:TPW-EXE:0x51F320 sine table] 512 entries of trunc(sin(2 i * 0.00613591796875) * 256), the angle unit is 1/512 turn (the 12-bit angles are shifted right by 3) |
| TPW-EXE:0x51F680 Particles writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:515 | [BIN:TPW-EXE:0x51F680 Particles writer] 'PCLT', the on flag and, when on, the counted globals table (0x9E68), the counted pool table (0x8B60) and the counted tail (the call 0x41661B passes 0) |
| TPW-EXE:0x51F680 save | source/OpenTPW/World/Particles/ParticleSystem.State.cs:90 | [BIN:TPW-EXE:0x51F680 save] 'PTCL', the init flag, 0x9E68 bytes from 0x80CED0 (pool globals, RNG, 120 emitters, 20 effectors, list heads), the templates (0x8B60 bytes, file data here), the particle array length and data |
| TPW-EXE:0x51F7A0 Particles loader | source/OpenTPW.Files/Formats/Save/SaveBlockWidths.cs:150 | [BIN:TPW-EXE:0x51F7A0 Particles loader] a table whose stored size is not 0x9E68 / 0x8B60 fails the original load; the pool length c is 0 in every save the game writes (call 0x41661B) |
| TPW-EXE:0x51F7A0 load | source/OpenTPW/World/Particles/ParticleSystem.State.cs:204 | [BIN:TPW-EXE:0x51F7A0 load] restores the block, keeps the current ground function and sine table, rebuilds an empty particle pool |
| TPW-EXE:0x51F7E9 Particles loader | source/OpenTPW.Files/Formats/Save/SaveParticlesBlock.cs:244 | [BIN:TPW-EXE:0x51F7E9 Particles loader] a wrong magic jumps to 0x51FA0C and 0 (success) is returned after 4 bytes; on = 0 (0x51F80B) does the same after 8 |
| TPW-EXE:0x51F851 pool load | source/OpenTPW/World/Particles/ParticleSystem.State.cs:217 | [BIN:TPW-EXE:0x51F851 pool load] the saved globals replace the host's; only the sine/ground pointers are retained at 0x51F9FC. |
| TPW-EXE:0x51F8B3 pool length | source/OpenTPW.Files/Formats/Save/SaveParticlesBlock.cs:262 | [BIN:TPW-EXE:0x51F8B3 pool length] the loader allocates 13 × capacity × 4 bytes (32-bit) and reads c bytes into them; a capacity of 0 reaches the NULL pool at 0x51F954 |
| TPW-EXE:0x51FAA0 pool init | source/OpenTPW/World/Particles/ParticleSystem.cs:34 | [BIN:TPW-EXE:0x51FAA0 pool init] ground callback (null = the stub 0x5D60C0 that returns 0), density (0 becomes 1), count (clamped 100..0x7FFF), RNG seed 1, sine table 0x51F320; the game passes (0, PARTICLEDENSITY, 0x800) at 0x54E5F9 and 0x54EAB9 |
| TPW-EXE:0x51FB70 pool reset | source/OpenTPW/World/Particles/ParticleSystem.cs:35 | [BIN:TPW-EXE:0x51FB70 pool reset] RNG 1, generation counters 1, the emitter and effector free lists ascending from slot 0, the particle free list ascending from index 0 |
| TPW-EXE:0x51FD90 | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:76 | [BIN:TPW-EXE:0x51FD90] E+0x38.. = (d * E+0xB0 + (sign & 0x3FF)) >> 10, as 0x521930 sets them |
| TPW-EXE:0x51FD90 emitter direction | source/OpenTPW/World/Particles/ParticleSystem.cs:309 | [BIN:TPW-EXE:0x51FD90 emitter direction] the handle is checked, then E+0x38/+0x3C/+0x40 = (d * E+0xB0 + (sign & 0x3FF)) >> 10, as the type-2 create does |
| TPW-EXE:0x51FE30 emitter move | source/OpenTPW/World/Particles/ParticleSystem.cs:280 | [BIN:TPW-EXE:0x51FE30 emitter move] the bump module moves a vehicle's smoke emitter to its sparks node every tick; the position is stored like the constructor's (>> 4) |
| TPW-EXE:0x51FF10 set hidden | source/OpenTPW/World/Particles/ParticleSystem.cs:324 | [BIN:TPW-EXE:0x51FF10 set hidden] the handle is checked (non-zero, slot below 0x78, generation), then the slot's +0x20 word (0x80CF26 for slot 0) = the second argument; the message tag's UI emitter is hidden and shown with its tag window (0x48DE49, 0x48DFF9, 0x48E02E) |
| TPW-EXE:0x51FF70 set life | source/OpenTPW/World/Particles/ParticleSystem.cs:344 | [BIN:TPW-EXE:0x51FF70 set life] the handle is checked, then E+0x20 = -2; KILLOBJ 0x5522C5 calls it for types 1 and 2 |
| TPW-EXE:0x51b010 movie box | source/OpenTPW/Client/Movie/MoviePresenter.cs:44 | shown at twice their width, with non-square pixels ([BIN:TPW-EXE:0x51b010 movie box], docs/TGQ-MOVIES.md; the Mac twin is 0x1009B1DC). |
| TPW-EXE:0x51b010 movie open | source/OpenTPW/Client/Movie/MovieVolumeCurve.cs:10 | [BIN:TPW-EXE:0x51b010 movie open] a starting movie, and [BIN:TPW-EXE:0x51b2bc movie volume re-apply] a running one, call the |
| TPW-EXE:0x51b2bc movie volume re-apply | source/OpenTPW/Client/Movie/MovieVolumeCurve.cs:10 | [BIN:TPW-EXE:0x51b010 movie open] a starting movie, and [BIN:TPW-EXE:0x51b2bc movie volume re-apply] a running one, call the |
| TPW-EXE:0x51b73b sound start | source/OpenTPW/Audio/GameAudio.cs:248 | [BIN:TPW-EXE:0x51b73b sound start] the three on-flags of the sound service start at 1 and the profile's applier sets them (0x423DD0): the options as they stand |
| TPW-EXE:0x51bcf0 mixer pause | source/OpenTPW.Tests/AudioPauseSoundTests.cs:49 | [BIN:TPW-EXE:0x51bcf0 mixer pause] [BIN:QMIXER-DLL:0x18003490 pause all] |
| TPW-EXE:0x51bcf0 mixer pause | source/OpenTPW/Audio/AudioMixer.cs:338 | [BIN:TPW-EXE:0x51bcf0 mixer pause] the message record 0x700b64 (execute 0x6b5640) sends the driver the pause record 0x70a268 (execute 0x6b8e40), which calls the driver's slot +0x38 (0x6d25a0): QSWaveMixPauseChannel(session, 0, flag 1) |
| TPW-EXE:0x51bcf0 mixer pause | source/OpenTPW/Audio/AudioMixer.cs:469 | [BIN:TPW-EXE:0x51bcf0 mixer pause] [BIN:TPW-EXE:0x6b8a10 pause handle] a paused voice, or any voice while the mixer is paused, is not mixed: its sample stands still and the time the listener has heard of it (PlayedSeconds) does not grow, so the start frame moves by the paused frames |
| TPW-EXE:0x51bd30 mixer resume | source/OpenTPW/Audio/AudioMixer.cs:345 | [BIN:TPW-EXE:0x51bd30 mixer resume] the record 0x700b68 (execute 0x6b5670) sends the resume record 0x70a270 (0x6b8eb0, driver slot +0x3c = 0x6d25c0): QSWaveMixRestartChannel(session, 0, flag 1) |
| TPW-EXE:0x51bd70 sound service tick | source/OpenTPW/Audio/GameAudio.cs:1182 | [BIN:TPW-EXE:0x51bd70 sound service tick] the on-flags go to the library's group enable with the volumes (records 0x700B70, 0x700B74, 0x700B78); the volumes above are what a slider or a toggle sets at once, the flags what the applier and a save's block set |
| TPW-EXE:0x51c1c0 paused word | source/OpenTPW/Audio/GamePauseSound.cs:25 | [BIN:TPW-EXE:0x51c1c0 paused word] stores the 16-bit argument: 1 by the pause (0x4092E8, 0x4093BF), 0 by the resume (0x409339, 0x409391) and by the level start 0x415140 (0x415254, the call after the level's sound reset 0x5996D0 / 0x51FD80) |
| TPW-EXE:0x51c1d0 listener | source/OpenTPW/Audio/GamePauseSound.cs:97 | [BIN:TPW-EXE:0x51c1d0 listener] the second argument (the height) is replaced by the constant while the paused word is not 0; the place's other two floats, the front and the up vector go through unchanged (0x51C1E9-0x51C25D) |
| TPW-EXE:0x51c1d0 paused listener | source/OpenTPW.Tests/AudioPauseSoundTests.cs:85 | [BIN:TPW-EXE:0x4092a0 game pause] [BIN:TPW-EXE:0x598960 advisor pause] [BIN:TPW-EXE:0x51c1d0 paused listener] |
| TPW-EXE:0x51c1d0 paused listener | source/OpenTPW/Audio/GameAudio.cs:1149 | [BIN:TPW-EXE:0x51c1d0 paused listener] while the game pause's word is set (GamePauseSound) the place's height is 10000 (0x51C1E9-0x51C1F9), which the park loop's call 0x54f958 / 0x54f9e4 and the front end's 0x54e70e both go through |
| TPW-EXE:0x51c400 sound loader | source/OpenTPW/Audio/GameAudio.cs:1218 | [BIN:TPW-EXE:0x51c400 sound loader] the saved on-flags (+0x38, +0x3C, +0x40) become the service's shadows, sent to the group enable by the next tick |
| TPW-EXE:0x520030 set volume extent | source/OpenTPW/World/Particles/ParticleSystem.cs:297 | [BIN:TPW-EXE:0x520030 set volume extent] the handle is checked (non-zero, slot below 0x78, generation), then the slot's +0x44/+0x48/+0x4C = the three arguments >> 4; 0x558e7c passes the footprint's width * 512, height * 256 and depth * 512 |
| TPW-EXE:0x520030 volume extent | source/OpenTPW/World/Particles/ParticleRendererModule.cs:52 | [BIN:TPW-EXE:0x520030 volume extent] the object effects size the emitter's spawn volume right after creating it (the burst of the creation itself ran with the template's) |
| TPW-EXE:0x5200B0 post-load | source/OpenTPW/World/Particles/ParticleSystem.State.cs:205 | [BIN:TPW-EXE:0x5200B0 post-load] emitters with byte +5: life = -2, +0x2A = 1; effectors with byte +0x45: life = -2 |
| TPW-EXE:0x5200B0 post-load pass | source/OpenTPW/World/Particles/ParticleRendererModule.cs:252 | [BIN:TPW-EXE:0x5200B0 post-load pass] a park load kills the pool's screen-space emitters, so a front-end screen effect ends with the lobby |
| TPW-EXE:0x520130 tick | source/OpenTPW/World/Particles/ParticleSystem.cs:36 | [BIN:TPW-EXE:0x520130 tick] first call does nothing; emitters newest first, then effectors 0x520F10, then particles 0x5214A0 |
| TPW-EXE:0x520237 +0xBC | source/OpenTPW/World/Particles/ParticleSystem.cs:816 | [BIN:TPW-EXE:0x520237 +0xBC] the child's life becomes -1 (every tick while the parent is dead); a child that already ticked this tick goes to -2 on its next decrement |
| TPW-EXE:0x520470 rate select | source/OpenTPW/World/Particles/ParticleSystem.cs:879 | [BIN:TPW-EXE:0x520470 rate select] (life << 2) / initial life: 0 -> +0x6B, 1 -> +0x6A, 2 -> +0x69, otherwise +0x68 |
| TPW-EXE:0x5204C0 free emitter | source/OpenTPW/World/Particles/ParticleSystem.cs:591 | [BIN:TPW-EXE:0x5204C0 free emitter] unlinks from the active list, clears the in-use word and the generation, pushes on the free list head (LIFO) |
| TPW-EXE:0x5205D1 private generator | source/OpenTPW/World/Particles/ParticleSystem.cs:225 | [BIN:TPW-EXE:0x5205D1 private generator] state = state * 214013 + 2531011 (the lea chain), the value is the state shifted right arithmetically by 16 |
| TPW-EXE:0x520B8F | source/OpenTPW.Tests/ParticleSystemTests.cs:624 | [BIN:TPW-EXE:0x520B8F] x = cos * (u % R) / 256, z = sin * (u % R) / 256, y = sar % R; the base velocity and its jitter are not added |
| TPW-EXE:0x520D60 particle alloc | source/OpenTPW/World/Particles/ParticleSystem.cs:625 | [BIN:TPW-EXE:0x520D60 particle alloc] pops the free list head and pushes it on the emitter's list head (newest first) |
| TPW-EXE:0x520E00 | source/OpenTPW.Tests/ParticleSystemTests.cs:461 | [BIN:TPW-EXE:0x520E00] the ground branch runs only for word +0x76 != 0; the original's ground function is a stub returning 0 |
| TPW-EXE:0x520E00 emitter motion | source/OpenTPW/World/Particles/ParticleSystem.cs:897 | [BIN:TPW-EXE:0x520E00 emitter motion] v -= trunc(v * drag / 1024), vy -= word +0x28, pos += v; the ground branch runs only for word +0x76 != 0 |
| TPW-EXE:0x520F10 effector tick | source/OpenTPW/World/Particles/ParticleSystem.cs:938 | [BIN:TPW-EXE:0x520F10 effector tick] life, motion (drag, gravity, bounce), then death (the death effect starts and the slot is freed) or attraction |
| TPW-EXE:0x52124E effector attraction | source/OpenTPW/World/Particles/ParticleSystem.cs:1009 | [BIN:TPW-EXE:0x52124E effector attraction] target = position + sar(state) % jitter per axis (three draws at most, once per tick); for every particle of a matching group: |
| TPW-EXE:0x5214A0 particle update | source/OpenTPW/World/Particles/ParticleSystem.cs:1046 | [BIN:TPW-EXE:0x5214A0 particle update] per emitter newest first, particles in list order |
| TPW-EXE:0x521890 particle free | source/OpenTPW/World/Particles/ParticleSystem.cs:643 | [BIN:TPW-EXE:0x521890 particle free] unlinks from the emitter's list, pushes on the free list head (LIFO) |
| TPW-EXE:0x521930 create type 2 | source/OpenTPW/World/Particles/ParticleSystem.cs:375 | [BIN:TPW-EXE:0x521930 create type 2] base velocity = direction * template[+0xB0] / 1024 truncated toward zero; there is no emitter velocity jitter |
| TPW-EXE:0x521B3C type 2 velocity | source/OpenTPW/World/Particles/ParticleSystem.cs:441 | [BIN:TPW-EXE:0x521B3C type 2 velocity] (direction * speed + (sign & 0x3FF)) >> 10 |
| TPW-EXE:0x521D60 | source/OpenTPW.Tests/ParticleSystemTests.cs:250 | [BIN:TPW-EXE:0x521D60] the burst becomes (burst * density) >> 10: 1024 is as authored |
| TPW-EXE:0x521D60 density scale | source/OpenTPW/World/Particles/ParticleSystem.cs:501 | [BIN:TPW-EXE:0x521D60 density scale] every non-zero rate byte -> (density * rate) >> 10 clamped to at most 127 and at least 1 (negative rates scaled the same way); cap (word) and burst only when > 0, at least 1 |
| TPW-EXE:0x521E60 create type 1 | source/OpenTPW.Files/Public/ParticleTemplateFile.cs:11 | [BIN:TPW-EXE:0x521E60 create type 1] the emitter slot is a full copy of this record, so the template offsets are the emitter offsets; each accessor reads the width the native code reads (movsx word, byte or dword) |
| TPW-EXE:0x521E60 create type 1 | source/OpenTPW/World/Particles/ParticleSystem.cs:365 | [BIN:TPW-EXE:0x521E60 create type 1] ids outside 0..0x68 and low-detail templates are refused; the slot comes from the free list head, the generation from the global counter |
| TPW-EXE:0x521E60 particle creator | source/OpenTPW/World/Lobby/LobbyEnterEffect.cs:10 | [BIN:TPW-EXE:0x521E60 particle creator] the creator shifts the three coordinates right by 4 into the emitter and starts the pool's emitter of template 0x62 (a screen-space template, byte +5; the post-load pass 0x5200B0 kills screen-space emitters when a park loads) |
| TPW-EXE:0x522034 type 1 emitter velocity | source/OpenTPW/World/Particles/ParticleSystem.cs:449 | [BIN:TPW-EXE:0x522034 type 1 emitter velocity] + sar(state) % j per axis with j = word +0x12: 92 shipped templates have j = -1, which adds 0 but draws |
| TPW-EXE:0x522144 burst | source/OpenTPW/World/Particles/ParticleSystem.cs:460 | [BIN:TPW-EXE:0x522144 burst] spawn is called directly: there is no cap check, only pool exhaustion stops it (a refused spawn draws nothing, so stopping early is the same) |
| TPW-EXE:0x52216E child | source/OpenTPW/World/Particles/ParticleSystem.cs:467 | [BIN:TPW-EXE:0x52216E child] +0xB4 (int); an effector child (+0xBA) or an emitter child that is not the template's own id; +0xB8 starts it at parent + its +0x2C / +0x18 vector * 16 and makes it follow |
| TPW-EXE:0x5222E0 handle check | source/OpenTPW/World/Particles/ParticleSystem.cs:261 | [BIN:TPW-EXE:0x5222E0 handle check] non-zero, slot below 120, generation equal to the slot's; a freed slot's generation is 0 |
| TPW-EXE:0x522320 effector handle check | source/OpenTPW/World/Particles/ParticleSystem.cs:271 | [BIN:TPW-EXE:0x522320 effector handle check] slot below 20 and the generation equal to the slot's (freed effector slots keep theirs) |
| TPW-EXE:0x522360 effector create | source/OpenTPW.Files/Public/ParticleTemplateFile.cs:144 | [BIN:TPW-EXE:0x522360 effector create] 0x1A dwords copied from the template table at 0x80C6B0 |
| TPW-EXE:0x522360 effector create | source/OpenTPW/World/Particles/ParticleSystem.cs:546 | [BIN:TPW-EXE:0x522360 effector create] id 0..19, low-detail templates refused; slot from the free list, generation from its own counter, position >> 4 |
| TPW-EXE:0x52244B effector slot | source/OpenTPW/World/Particles/SaveParticleState.cs:18 | [BIN:TPW-EXE:0x52244B effector slot] the slot is a copy of the effector template without an id word, so the id is found by the template bytes the tick does not write by direct displacement (writes through a base register were not checked) (group, mode, jitter, strength: +4, +0x30 to +0x43) |
| TPW-EXE:0x522B90 piece instancing | source/OpenTPW/World/Tracks/TrackRenderer.cs:408 | [BIN:TPW-EXE:0x522B90 piece instancing] the kart instancer (the water one 0x522D50 alike) turns the rotation to the engine's 360 − rotation and adds one cell to the origin cell by it (90°: y+1; 180°: x+1, y+1; 270°: x+1), then the mesh creation 0x463060 → 0x466F90 adds the same one cell again, so the instance turns about the tile's corner and sits two cells (a whole tile) over: the tile turns about its centre, as here |
| TPW-EXE:0x5234d0 coaster tool markers | source/OpenTPW/Hud/ParkHud.cs:1784 | [BIN:TPW-EXE:0x5234d0 coaster tool markers] the build buttons mark the placement area (face 0x11f) and the cell under the pointer (face 0x115, red when the validator refuses it) |
| TPW-EXE:0x5234d0 purchase gate | source/OpenTPW/Economy/ParkEconomy.cs:2224 | [BIN:TPW-EXE:0x5234d0 purchase gate] a cash-priced object (GoldenTicketCost +0xc4 below 1, or already bought) is refused when its price (+0x1b8) is greater than the bank balance (+0xc), equal allowed (0x523658; the placement validator 0x535670 repeats it at 0x535927); the test is skipped only in layout replay (0x785a2c, set by 0x404140), and the debit 0x4d01f0 does not test the balance |
| TPW-EXE:0x523662 blueprint cash flag | source/OpenTPW.Tests/OriginalLayoutTablesTests.cs:106 | [BIN:TPW-EXE:0x523662 blueprint cash flag] cost > balance, equal allowed |
| TPW-EXE:0x523662 blueprint cash flag | source/OpenTPW/Hud/ParkHud.Cursor.cs:96 | [BIN:TPW-EXE:0x523662 blueprint cash flag] the hover handler 0x5234d0 clears the flags 0x816d4c, 0x816d50, 0x816d5c and 0x816d60 on entry; in the place mode (4) it reads the tool's cost (0x52fbc0, the price 0x52fb90 stored from +0x1b8) and the balance (0x6ad810) and sets 0x816d50 and the cash flag 0x816d5c when the cost is greater, the replay flag 0x785a2c being clear |
| TPW-EXE:0x523940 move hover | source/OpenTPW.Tests/MoveToolTests.cs:86 | [BIN:TPW-EXE:0x523940 move hover] the build tool's hover refuses a price above the balance (0x523658), the Move tool's has no such compare and the debit 0x4d01f0 tests nothing; |
| TPW-EXE:0x523940 move hover | source/OpenTPW.Tests/MoveToolTests.cs:116 | [BIN:TPW-EXE:0x52f950 pointer switch] mode 0x3b shares the placing pointer of mode 4 (OriginalPointers.ForTool); [BIN:TPW-EXE:0x523940 move hover] its hover sets no cash flag (mode 4's does, 0x523658) |
| TPW-EXE:0x523940 move hover | source/OpenTPW/Economy/ParkEconomy.cs:2225 | [BIN:TPW-EXE:0x523940 move hover] the Move tool's hover (mode 0x3b) stores the price (0x52fb90) but has no balance compare, no cash flag and no golden-ticket test, and neither the click (0x5253d5) nor the debit does: a move is never refused for cash |
| TPW-EXE:0x523afe Buy Land hover | source/OpenTPW/World/BuyLandTool.cs:48 | [BIN:TPW-EXE:0x523afe Buy Land hover] with a stored corner the hover runs the validator on the pointer's post and stores its refusal in 0x816d50, then draws the four ghost edges (0x53aac0 with the tool mode | 0x100) |
| TPW-EXE:0x523c08 clear tool | source/OpenTPW/Hud/ParkHud.cs:327 | [BIN:TPW-EXE:0x523c08 clear tool] the Clear Area tool (0x3a, 0x4ac907) is a type-3 mode too but its hover sets the cost to -9999 (0x523c18), which the refresh hides (0x4a0d68), as the patrol tool's (0x36, 0x523d68) |
| TPW-EXE:0x5240D5,0x5242F1,0x53578E,0x535AFB | source/OpenTPW/World/Coasters/CoasterCellMarkers.cs:90 | [BIN:TPW-EXE:0x5240D5,0x5242F1,0x53578E,0x535AFB] place15 accepts equal type21 even with another owner; move16 accepts equal type22, but a type21 requires its owner. |
| TPW-EXE:0x5243a6 area cell test | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:379 | [BIN:TPW-EXE:0x5243a6 area cell test] a cell is marked (face 0x11f) when the validator 0x434740 passes it, its cell flag 0x40 is clear, the object on it (or the parent of a type 0xc or 0x11 object) is not a ride (0x19) and has none of the types 0xb, 0xd, 0x10, 0x12, 0x19, the cell's own type is none of 9, 0xa, 3, 4, 7, 0x1e and it is not a type 1 cell with flag 0x20 |
| TPW-EXE:0x5243a6 area cell test | source/OpenTPW/World/Coasters/CoasterToolPanel.cs:380 | [BIN:TPW-EXE:0x5243a6 area cell test] the level supplies the original's cell test (Level.IsCoasterAreaCell): cell flag 0x40, the second layer's track tiles and fence posts, the cell types 3, 4, 7, 9, 10 and 0x1e, a path with flag 0x20 |
| TPW-EXE:0x5243a6 area cell test | source/OpenTPW/World/Level.Coasters.cs:142 | [BIN:TPW-EXE:0x5243a6 area cell test] 0x535db0(0x40) on the cell flags, then the second layer's cell (0x4d0af0, or the owner of a type 0xc/0x11 extension): 0x53ad60 (type 0x19) and 0x53ad30 (types 0xb, 0xd, 0x10, 0x12, 0x19), then the cell's own type against 9, 0xa, 3, 4, 7 (0x536340, 0x536350, 0x536320, 0x536380, 0x536360) and 0x1e, and type 1 with flag 0x20 (0x5243f6..0x524445) |
| TPW-EXE:0x5243a6 area face | source/OpenTPW/World/Original/BlueprintMarkers.cs:96 | [BIN:TPW-EXE:0x5243a6 area face] the cells of the coaster tool's placement area get face type 0x11f (the area loop 0x5243a6..0x524458 calls 0x536100(0x11f, x, y) → 0x532fc0, whose test of bit 0x100 at 0x533014 selects the dynamic face branch): its kind is the verdict 0x535670(0x1f, 0) at 0x5331b5, and 0x535670 opens with "type 0x1f → 2", so the face builder 0x53c8d0 stores kind 2 and the face renderer (0x53da77, 0x53dadd) takes the 16-byte record 2 of the dynamic texture table 0x763b38: orange.tga |
| TPW-EXE:0x524571 tool priority | source/OpenTPW/World/Objects/ParkObjects.cs:268 | [BIN:TPW-EXE:0x524571 tool priority] the hover 0x5234D0 sets 0x818C10 to 2 for the path tool (tool 1) and 3 for the queue tool (tool 3), as the click 0x524960 does at 0x527200 and 0x527218; the validator 0x535670 compares it with the owner's +0x54 for a type 4, 9 or 10 cell before any path or queue rule (0x535D66), so a path or queue may cover a feature of priority 0 or 1 but no ride, shop or sideshow (5) |
| TPW-EXE:0x524790 press latch | source/OpenTPW/Hud/ParkHud.cs:1370 | [BIN:TPW-EXE:0x524790 press latch] the tool object's press handler sets 0x8186D8 for every press it takes; the release reads it for the refusal sound (PathRefusalClick) |
| TPW-EXE:0x52479a press latch | source/OpenTPW/Audio/PathRefusalClick.cs:9 | [BIN:TPW-EXE:0x52479a press latch] the press handler sets byte 0x8186d8; every exit of the release handler clears it (0x524ae6 and the tool switch's exits 0x525a0d..0x52765e) |
| TPW-EXE:0x524960 | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:173 | [BIN:TPW-EXE:0x4879D0 park click] the press enters the path tool (0x46C580(1), SetMode(1, 1)): no start, nothing laid; [BIN:TPW-EXE:0x524960] the release is its first click |
| TPW-EXE:0x524960 | source/OpenTPW/Client/SandboxSmokeTest.Paths.cs:68 | [BIN:TPW-EXE:0x4879D0 park click] the press on an empty owned cell enters the path tool with no start; [BIN:TPW-EXE:0x524960] its release is the tool's first click |
| TPW-EXE:0x524960 Buy Land click | source/OpenTPW/World/Commands/ParkToolCommands.cs:113 | [BIN:TPW-EXE:0x524960 Buy Land click] the second click runs the validator (0x531A50), then the purchase (0x5327E0), then charges the price (0x5195D0, 0x4D01F0) |
| TPW-EXE:0x524960 line click | source/OpenTPW/Hud/ParkHud.cs:1683 | [BIN:TPW-EXE:0x524960 line click] every line click of the tool object is its release handler's: the press (0x524790) only sets the latch |
| TPW-EXE:0x524960 patrol click | source/OpenTPW/Hud/ParkHud.cs:1475 | [BIN:TPW-EXE:0x524960 patrol click] mode 0x36 is a tool object's: both corners are clicks of the release (0x525d..), at the cell under the pointer then |
| TPW-EXE:0x524A63 build refusal | source/OpenTPW/Hud/ParkHud.cs:1444 | [BIN:TPW-EXE:0x524A63 build refusal] a build click whose ghost is refused places nothing and the tool stays, as for the line tools: the release plays the refusal cue behind the press latch |
| TPW-EXE:0x524A63 refused ghost | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:214 | [BIN:TPW-EXE:0x524A63 refused ghost] [BIN:TPW-EXE:0x524AA7] the release with the refused-ghost latch set plays cat_ui 0xAF behind the press latch and ends the line tool; the press plays nothing |
| TPW-EXE:0x524A63 refused ghost | source/OpenTPW/Hud/ParkHud.cs:1479 | [BIN:TPW-EXE:0x524A63 refused ghost] the second click on a red rectangle ends the tool and the release plays the refusal cue (cat_ui 0xAF, 0x524AA7), behind the press latch the tool's press set |
| TPW-EXE:0x524A63 refused ghost | source/OpenTPW/World/CellBuildTool.cs:207 | [BIN:TPW-EXE:0x524A63 refused ghost] a click while the ghost of the line has a refused cell (0x816D48, set at 0x533933 when the preview's validator 0x535670 refuses a cell) ends the path or queue tool and lays nothing (mode table 0x52766C: SetMode(0, 0) at 0x5266A3) |
| TPW-EXE:0x524AA7 | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:214 | [BIN:TPW-EXE:0x524A63 refused ghost] [BIN:TPW-EXE:0x524AA7] the release with the refused-ghost latch set plays cat_ui 0xAF behind the press latch and ends the line tool; the press plays nothing |
| TPW-EXE:0x524AA7 refusal cue | source/OpenTPW.Tests/ObjectRayPickTests.cs:646 | [BIN:TPW-EXE:0x524AA7 refusal cue] a refused build click plays cat_ui 0xAF at its release; the "Cannot build" message that follows then adds no error feedback 0x1D (<c>[EXT:cannot-build-sound]</c> keeps |
| TPW-EXE:0x524AA7 refusal cue | source/OpenTPW/Hud/ParkHud.cs:1562 | [BIN:TPW-EXE:0x524AA7 refusal cue] [BIN:TPW-EXE:0x535670 refusal stage] [BIN:TPW-EXE:0x536100 refusal stage] the refusal stages submit no sound (no call site of the sound entry 0x51bfc0 lies in them or the callees reached from them); the build tools' only refusal cue is the release handler's 0xAF |
| TPW-EXE:0x524a6f | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:291 | [BIN:TPW-EXE:0x524a6f] the release plays 0xAF with the refusal latch set, the press latch 0x8186d8 set and no layout replay |
| TPW-EXE:0x524a6f refused-click gates | source/OpenTPW/Audio/PathRefusalClick.cs:10 | [BIN:TPW-EXE:0x524a6f refused-click gates] the release plays cat_ui 0xAF only when the layout-replay word 0x785a2c is 0 (the action recorder 0x785a08 +0x24, set by 0x404140 "Starting layout replay"; OpenTPW has no layout replay, so it is always 0 here) and the press latch is set |
| TPW-EXE:0x524a80 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:280 | [BIN:TPW-EXE:0x524a80] cat_ui 0xAF at (x * 10, 0, z * 10) |
| TPW-EXE:0x524a80 | source/OpenTPW/Audio/GameAudio.cs:148 | [BIN:STP-PPC:0x10073D1C refused click] cat_ui 175 behind the latch test; [BIN:TPW-EXE:0x524a80] the release handler 0x524960 plays cat_ui 0xAF at (x10, 0, z10) of the clicked cell (0x524a80-0x524aae) before its tool switch, while tool 0x38 is off, the refusal latch (0x816d48) is set, no layout replay runs (0x785a2c == 0) and the park view's press handler ran since the last release (0x8186d8, PathRefusalClick) |
| TPW-EXE:0x524ab6 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:538 | [BIN:TPW-EXE:0x524ab6] a release with the refused-ghost latch set plays 0xAF and leaves through the latch's mode table (0x52766c) to SetMode(0, 0) before 0x526cb3, which plays 0xCE |
| TPW-EXE:0x524ab6 refused release | source/OpenTPW/Hud/ParkHud.cs:1760 | [BIN:TPW-EXE:0x524ab6 refused release] a release with the refused-ghost latch set plays the refusal cue 0xAF and leaves through the latch's own mode table (0x52766c: 0xB and 0x10 to SetMode(0, 0) at 0x5266a3), so it never reaches 0x526cb3 and its 0xCE |
| TPW-EXE:0x524ae6 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:301 | [BIN:TPW-EXE:0x524ae6] every release clears the press latch, so a second release without a press is silent |
| TPW-EXE:0x52529e coaster placement | source/OpenTPW/Hud/ParkHud.cs:658 | [BIN:TPW-EXE:0x52529e coaster placement] a placed coaster takes the placement tail into the queue tool like every other ride with an entrance (0x52faf0 = 3 skips only the kart and water |
| TPW-EXE:0x5253b8 placement dispatcher | source/OpenTPW/Hud/ParkHud.cs:615 | [BIN:TPW-EXE:0x5253b8 placement dispatcher] a placement without an entrance keeps the build tool armed when the click held exactly Ctrl (modifier mask 0xc), else the tool returns to mode 0 (0x52f580); a ride with an entrance (0x52fab0, the type's +0x40) continues into the queue tool (0x52f580(3, 0): 0x52529e, the Move tool's 0x5258e1; a kart or water ride once its circuit closes while the placement's queue start is pending, 0x526f95 and 0x527004), whose last click ends the tool whatever the modifier (0x5275f2). Level.PlaceObject owns purchase/guest linkage and its removal handler owns scrap credits |
| TPW-EXE:0x5253b8 placement dispatcher | source/OpenTPW/World/Level.Objects.cs:1662 | [BIN:TPW-EXE:0x5253b8 placement dispatcher] after a placement without an entrance `cmp di,0xc; je 0x525a06` keeps the tool armed (the same test is `cmp word ptr [esp+0x3c],0xc` at 0x5259e2 and 0x5259f4, where the tool is left otherwise and the angle reset by 0x52f1b0(0)) (param 3 is the modifier mask of 0x486aa0, 0xc = Ctrl); otherwise 0x52f580(0,0) returns the tool to mode 0 |
| TPW-EXE:0x5253d5 move placement | source/OpenTPW/World/Level.Objects.cs:39 | [BIN:TPW-EXE:0x5253d5 move placement] a click in mode 0x3b runs the same placement as mode 4 (0x528a70 at 0x525417: type 4 and the angle 0x52f1f0 gives, commit flag 1) and the same follow-ups (0x52fab0 queue option, the entrance, exit and queue sub-modes, the Ctrl test 0xc); the hover test 0x5234d0 does the same in mode 0x3b as in mode 4 (0x523940) but keeps no cash flag of its own: the purchase is the constructor's alone (0x4db4e2..0x4db4f6 charges the type's price +0x1b8 through 0x4d01f0 unless a golden-ticket type (+0xc4 above 0) is not yet bought, which 0x4d4ad0 pays by ticket), so a move costs the whole price again |
| TPW-EXE:0x525DA3 area clear click | source/OpenTPW/Hud/ParkHud.Land.cs:125 | [BIN:TPW-EXE:0x525DA3 area clear click] mode 0x3A: both corners are clicks of the tool object's release (0x524960), at the cell under the pointer then |
| TPW-EXE:0x525c60 Buy Land snap | source/OpenTPW/World/BuyLandTool.cs:150 | [BIN:TPW-EXE:0x525c60 Buy Land snap] the clicked cell is clamped to 1..W-2 and 1..H-3 (0x81d740, 0x81b1b0), its offsets from post A (0x7639f0/f4) are made even by taking one off a negative odd offset and halving toward zero, and the post is post A plus twice the halves; the hover (0x523a6a) snaps the same way |
| TPW-EXE:0x525d29 Buy Land click | source/OpenTPW/Hud/ParkHud.Land.cs:88 | [BIN:TPW-EXE:0x525d29 Buy Land click] the rectangle's two corners are clicks of the tool object's release (0x524960), at the cell under the pointer then |
| TPW-EXE:0x525d29 Buy Land click | source/OpenTPW/World/BuyLandTool.cs:126 | [BIN:TPW-EXE:0x525d29 Buy Land click] without a stored corner (0x81ede4/0x81ede8 at -1) the click stores the post and rebuilds the land grid (0x532960); otherwise it runs the validator from the stored post to the clicked one with the money test, and when it passes buys the rectangle (0x5327e0) and debits its total (0x4d01f0); either way the corner is reset and the tool ends (0x52f200(0, 0)) |
| TPW-EXE:0x525d5a land debit | source/OpenTPW/Economy/ParkEconomy.cs:2538 | [BIN:TPW-EXE:0x525d5a land debit] after the purchase (0x5327e0) the click handler debits the validator's total 0x81af4c (0x52fbc0) through the bank debit 0x4d01f0, which adds it to the money-out word +0x1f5a0 of the object 0x519510 returns and tests no balance; the ledger books it as other costs, as the other cell purchases |
| TPW-EXE:0x5263df coaster build click | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:356 | [BIN:TPW-EXE:0x5263df coaster build click] a build click is the tool object's release (0x524960, mode 0x15): the pylon is placed, the click sounds and the help follows, at the cell under the pointer then; the press does nothing |
| TPW-EXE:0x5263df coaster click | source/OpenTPW/Audio/GameAudio.cs:158 | [BIN:TPW-EXE:0x5263df coaster click] the release handler 0x524960 tests mode 0x15 at 0x5263e1 and, unless a layout replays (0x785a2c), submits cat_ui 0x65 at (x10, 0, z10) at 0x526423 before the coaster release 0x446300(0) and help 0xCD |
| TPW-EXE:0x526423 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:514 | [BIN:TPW-EXE:0x526ce9] cat_ui 0xCE (track modes 0xB and 0x10), [BIN:TPW-EXE:0x526423] cat_ui 0x65 (mode 0x15), [BIN:TPW-EXE:0x492d9c] cat_ui 0xC1 (the pause menu's backdrop), [BIN:TPW-EXE:0x4398c8] cat_rides 0xC (the coaster crash) |
| TPW-EXE:0x526423 coaster click sound | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:446 | [BIN:TPW-EXE:0x526423 coaster click sound] 0x524960 submits cat_ui 0x65 at (x10, 0, z10) in mode 0x15 right before the coaster release 0x446300 and the help 0xCD |
| TPW-EXE:0x52644c coaster tool click | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:366 | [BIN:TPW-EXE:0x52644c coaster tool click] the tool's click handler 0x524960 in mode 0x15 posts help 0xCD (205) after every click's action (the release 0x446300 with 0 for the edit buttons) |
| TPW-EXE:0x526568 coaster completion | source/OpenTPW.Tests/CoopSessionTests.GuestCoasters.cs:232 | [BIN:TPW-EXE:0x526568 coaster completion] the placement consumed the queue start (0x5252ea), so the completion ends the tool (0x5266bc) and no queue tool follows |
| TPW-EXE:0x526568 coaster completion | source/OpenTPW/World/Level.Coasters.cs:701 | [BIN:TPW-EXE:0x526568 coaster completion] the coaster tool's click (mode 0x15) takes the pass 0x81's zero result to 0x526568, which loads the pending queue start 0x8186c0 (0x52656e): none ends the tool (0x5266bc), one enters the queue tool at its cell (0x526581) and takes the start (0x526680). A coaster's own placement consumed it (0x5252ea), so only a start another placement left pending (a kart or water ride's, which its line tool takes at 0x527056 when its circuit closes) is handed over; the global is cleared by the build, Move, pick-up and path or queue clicks (0x524b53, 0x5253f3, 0x525e5a, 0x527483) and not by a tool's exit |
| TPW-EXE:0x526cb3 track click | source/OpenTPW/Audio/GameAudio.cs:153 | [BIN:TPW-EXE:0x526cb3 track click] the release handler 0x524960 reaches 0x526cb3 from its mode tests 0xB (0x525a1c) and 0x10 (0x525a2e) and, unless a layout replays (0x785a2c), submits 0x51bfc0(0, cat_ui 0x803a2c, 0xCE, x10, 0, z10) at 0x526ce9 before the start/line logic; a release with the refused-ghost latch set never gets there: after the cue 0xAF (0x524aae) it leaves through the latch's own mode table (0x524ab6, table 0x52766c: 0xB and 0x10 to SetMode(0, 0) at 0x5266a3), so it plays no 0xCE (ParkHud.PlaysTrackToolClick) |
| TPW-EXE:0x526cb3 track click | source/OpenTPW/Hud/ParkHud.cs:1733 | [BIN:TPW-EXE:0x526cb3 track click] every release in the kart (0xB) or water (0x10) track mode that passes the refused-ghost latch plays cat_ui 0xCE at the clicked cell, the first click included and whatever the line then does |
| TPW-EXE:0x526ce9 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:514 | [BIN:TPW-EXE:0x526ce9] cat_ui 0xCE (track modes 0xB and 0x10), [BIN:TPW-EXE:0x526423] cat_ui 0x65 (mode 0x15), [BIN:TPW-EXE:0x492d9c] cat_ui 0xC1 (the pause menu's backdrop), [BIN:TPW-EXE:0x4398c8] cat_rides 0xC (the coaster crash) |
| TPW-EXE:0x527146 track line end | source/OpenTPW/Hud/ParkHud.cs:1715 | [BIN:TPW-EXE:0x527146 track line end] with no queue start (0x8186c0 zero) the line tool's last click clears the start and keeps its mode (0xB or 0x10) when the modifier word is exactly 0xC, and any other word ends the tool (0x52f200(0, 0) at 0x527156) |
| TPW-EXE:0x527517 end flag | source/OpenTPW/World/CellBuildTool.cs:316 | [BIN:TPW-EXE:0x527517 end flag] after the commit LayLine (0x527429) the pass 0x81 returns 0 only when the commit reached the line's last cell and that cell was a path or queue cell before the write (SetCell's write branch sets 0x820ABC at 0x5345AD, case 0x81 reads it at 0x5340C1); then the tool ends (0x5275B1), as when the end is the start; otherwise the snapped end is the next start (0x527650), even after a refused commit |
| TPW-EXE:0x527587 | source/OpenTPW/Audio/GameAudio.cs:173 | [BIN:STP-PPC:0x100711CC queue joins a path] queue mode (3), money on (game+36 == 0) and the flag 0x7C500 the validator 0x84154 sets when the queue line's last cell is a path cell: cat_ui 139 at (x·10, 0, y·10) after the ride is told its queue changed; [BIN:TPW-EXE:0x527587] the same |
| TPW-EXE:0x527587 queue-join sound | source/OpenTPW/Client/ThemeParkIncHud.cs:623 | [BIN:TPW-EXE:0x527587 queue-join sound] it follows every commit; a click on a refused ghost lays nothing and returns before the commit (0x524A63) |
| TPW-EXE:0x527587 queue-join sound | source/OpenTPW/Hud/ParkHud.cs:1738 | [BIN:TPW-EXE:0x527587 queue-join sound] it follows every commit; a click on a refused ghost lays nothing and returns before the commit (0x524A63) |
| TPW-EXE:0x5275f2 queue end | source/OpenTPW/Hud/ParkHud.cs:695 | [BIN:TPW-EXE:0x5275f2 queue end] the queue tool's last click (a click on the line's start, or a line whose commit ends on a path or queue cell, 0x536100(0x81) and 0x527517; both reach 0x5275b1) runs 0x52f200(0, 0) whatever the modifier, which the queue tool's click (0x5271b7..0x527669) never reads: the mode is 0, the angle 0 (0x52f3b6) and the build tool object, with its mode 4 or 0x3b and its type (0x46c5a0), is replaced by the default tool (0x46c6a0 installed by 0x46c350, 0x52f46c), so a click holding exactly Ctrl arms neither the build tool nor the Move tool again |
| TPW-EXE:0x527B00 | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:485 | [BIN:TPW-EXE:0x527B00] the first-tile hover sets the latch: 0xAF at the release, the tool ends |
| TPW-EXE:0x527B00 | source/OpenTPW.Tests/TrackEditTests.cs:400 | [BIN:TPW-EXE:0x527B00] the first-tile hover sets the refused-ghost latch for a junction: the release plays 0xAF and the tool ends (0x5266A3) |
| TPW-EXE:0x527B00 edit first-tile latch | source/OpenTPW/World/CellBuildTool.cs:348 | [BIN:TPW-EXE:0x527B00 edit first-tile latch] in the track edit modes 0xE and 0x13 the hover (0x527960 -> 0x53AAC0(mode | 0x100), 0x5370E0 -> 0x539760 == 1) sets the latch 0x816D48 at 0x537A30 for a refused first tile while no tile is picked (0x7639B0 == -1; a picked tile clears it, 0x527C48): the release plays 0xAF and the mode table ends the tool (0x5266A3) |
| TPW-EXE:0x5285a2 demolition cue | source/OpenTPW/World/Level.BuildSounds.cs:11 | [BIN:TPW-EXE:0x5285a2 demolition cue] the object demolition 0x527ee0 counts the footprint cells whose map type is 4 (0x536380) before clearing them and, when no layout replays (0x785a2c is 0), submits cat_ui 0x96 below 4 cells (0x5285cd), 0x97 below 8 (0x528604), 0x98 below 16 (0x528649), else 0x99 (0x528679) |
| TPW-EXE:0x5285a2 demolition cue | source/OpenTPW/World/Level.Objects.cs:92 | [BIN:TPW-EXE:0x5285a2 demolition cue] the demolition 0x527ee0 plays its size-classed cat_ui cue after the footprint count, for every removal that is not a park load (0x785a2c) |
| TPW-EXE:0x5285a2 demolition cue place | source/OpenTPW/World/Level.BuildSounds.cs:32 | [BIN:TPW-EXE:0x5285a2 demolition cue place] x is __ftol of the inner loop's final column count (the shape's width, +0x48 of the frame) times 10.0, z of the final row count (the shape's height, 0x52856c stores it to +0x4c), y is 0 |
| TPW-EXE:0x528a70 placement commit | source/OpenTPW.Tests/ParkCellTypingTests.cs:35 | [BIN:TPW-EXE:0x528a70 placement commit] 0xb, 0x10 and 0x17 become 4 |
| TPW-EXE:0x528e30 placement cue | source/OpenTPW/World/Level.BuildSounds.cs:7 | [BIN:TPW-EXE:0x528e30 placement cue] the commit pass of 0x528a70 counts the shape cells whose type word is 4 (0x528b..: the loop over the shape, 0x5361c0's bounds test 0x4d8300 per cell) and, when no layout replays (0x785a2c is 0), submits cat_ui (0x803a2c) 0x8E below 4 cells (0x528e61), 0x8D below 8 (0x528e9d), 0x8F below 16 (0x528ed8), else 0x90 (0x528efb) |
| TPW-EXE:0x528e30 placement cue | source/OpenTPW/World/Level.Objects.cs:1894 | [BIN:TPW-EXE:0x528e30 placement cue] the commit pass of the placement plays its size-classed cat_ui cue |
| TPW-EXE:0x528e39 placement cue place | source/OpenTPW/World/Level.BuildSounds.cs:21 | [BIN:TPW-EXE:0x528e39 placement cue place] the cue's x and z are __ftol of the clicked cell's x and y, as 0x528b44-0x528b68 left them after taking half the shape off each, times 10.0 (0x700cd8); y is 0 |
| TPW-EXE:0x528f13 owner word | source/OpenTPW/World/Level.Objects.cs:182 | [BIN:TPW-EXE:0x528f13 owner word] the owner words get the thing cell, not the anchor (0x528F13..0x528F26 -> 0x539210 at 0x529138); the two shipped objects with an offset, jungle/5x5rck and jungle/mammtunn ((0, 1)), differ |
| TPW-EXE:0x52910C footprint clear | source/OpenTPW/World/Objects/ParkObjects.cs:433 | [BIN:TPW-EXE:0x52910C footprint clear] each footprint cell then gets ClearCell 0x5367A0(0, 0) before its type is written (op 4 / 9 / 10, then the link op 0x81) |
| TPW-EXE:0x529164 | source/OpenTPW/World/Level.RideView.cs:134 | [BIN:TPW-EXE:0x529164] shape type 10 selects 0x529239; 0x5292A7 rotates its direction and 0x5292B2 writes +0x0D through 0x5227E0. The placement retains the last exit, not the entrance or anchor. |
| TPW-EXE:0x5295D7,0x5295D9 | source/OpenTPW/World/Objects/ParkObjects.cs:326 | [BIN:TPW-EXE:0x5295D7,0x5295D9] station endpoints use object mode4, not the node tool's same-owner marker exemption. |
| TPW-EXE:0x529744 access cells | source/OpenTPW/World/Objects/ParkObjects.cs:378 | [BIN:TPW-EXE:0x529744 access cells] the placement refuses an entrance's outside cell off the map (0x4D8300); with 0x52FAB0 true the check pass validates it as type 4 (op 0x204, 0x5297A4; the commit lays a queue cell there, 0x529801), else as a path (op 0x201, 0x5298B9; the commit lays a path); only with 0x52FAB0 true does it test the exit's outside cell, off the map refused (0x5299E2), as a path (op 0x201, 0x529A2F). The commit's op 0x87 on either cell (0x529801, 0x529A61, 0x5298EE) demolishes a lower-priority owner |
| TPW-EXE:0x529f8c thing cell | source/OpenTPW/World/Objects/OriginalObject.cs:250 | [BIN:TPW-EXE:0x529f8c thing cell] the placement hands the constructor 0x4db090 the cell word [0x818c3c] (the anchor 0x528b44 made: (y << 7) + x + 1) plus the type's offset (+0x4b0, +0x4b4, copied from +0x30 and +0x34 = Info.MapOffsetX and Info.MapOffsetY by 0x4134d3) turned by the angle (0x4d9cc0), and the constructor files the thing under it (0x4db3cc reads its bytes +5 and +7 back); two shipped objects have the offset (0, 1), jungle/5x5rck and jungle/mammtunn, and every other one 0, so only those two stand off their anchor |
| TPW-EXE:0x52F96D tool pointer | source/OpenTPW/Hud/ParkHud.Cursor.cs:81 | [BIN:TPW-EXE:0x52F96D tool pointer] mode 1 and 3 (and 11, 16) take the link pointer (5) first and then the end pointer (0x12) from the flags 0x816D60 and 0x816D4C, which the validator 0x535670 sets at 0x535C72/0x535D02 (code 8) and 0x535AE5/0x535B3D (code 0xB), as the path and queue ghosts report them |
| TPW-EXE:0x52F9F3 no-place pointer | source/OpenTPW/Hud/ParkHud.Cursor.cs:88 | [BIN:TPW-EXE:0x52F9F3 no-place pointer] after the tool's own pointer the switch asks 0x527950 (the ghost's refusal latch 0x816D48) and sets pointer 8, then lets the cash pointer (0x816D5C) win; a ghost that stopped only at OpenTPW's own queue-length bound is no refusal of the validator |
| TPW-EXE:0x52ba50 ring walk | source/OpenTPW/World/ParkLand.cs:239 | [BIN:TPW-EXE:0x52ba50 ring walk] the walk starts on post A heading east (bit 4); a corner turns to its other link (0x53ae00), a junction (0x53ae90) takes the first link counting from the left of the heading (0x4d8c20 with 0x40, then 4) and keeps only that link and the one it came by (or, ahead, the line); it ends on post B |
| TPW-EXE:0x52c2b0 move enabled test | source/OpenTPW.Tests/MoveToolTests.cs:26 | [BIN:TPW-EXE:0x52c2b0 move enabled test] a type track word of 0 or 3 (coaster) leaves the answer at 1 without reading a cell |
| TPW-EXE:0x52c2b0 move enabled test | source/OpenTPW/World/Level.Objects.cs:1624 | [BIN:TPW-EXE:0x52c2b0 move enabled test] the object window's refresh (0x4ad6df) enables b_move with this test: 1 unless the type's track word +0x9c is 1 or 2; then the track-layer cells at the thing's cell plus (4, 1), (1, -5), (-5, -2) or (-2, 4) (the station's exit tile, 0x52c2e8..0x52c35c) and plus (-2, 1), (1, 1), (1, -2) or (-2, -2) (its entry tile, 0x52c392..0x52c405) by the angle 0, 90, 180 or 270 must each answer 1 to 0x522790, the count of the set bits of the cell's connection byte (+0xC); the calls of 0x4d8c00 between them do not change the answer (its result is unused) |
| TPW-EXE:0x52c5b0 footprint classes | source/OpenTPW/Hud/ParkHud.BuyFootprint.cs:13 | [BIN:TPW-EXE:0x52c5b0 footprint classes] the buy window copies the type's footprint into a 16 x 16 grid of classes: the cell types 1 and 23 and 4 give the orange classes 4 and 1, 9 (an entrance) class 2 and 10 (an exit) class 3 through the byte table 0x52c6a4 (type - 1) and the jump table 0x52c68c; every other type (free, queue, upgrade, 16) stays 0 |
| TPW-EXE:0x52f3b6 leave build tool | source/OpenTPW/World/Level.Objects.cs:1651 | [BIN:TPW-EXE:0x52f3b6 leave build tool] leaving the tool through 0x52f200 (0x52f227: ebp = 0) stores 0 in the build angle (0x81d7a4) |
| TPW-EXE:0x52f950 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:1022 | <summary>[BIN:TPW-EXE:0x52f950] per tool mode (byte table 0x52fa48): the ordered flag overrides and the default pointer.</summary> |
| TPW-EXE:0x52f950 pointer switch | source/OpenTPW.Tests/MoveToolTests.cs:116 | [BIN:TPW-EXE:0x52f950 pointer switch] mode 0x3b shares the placing pointer of mode 4 (OriginalPointers.ForTool); [BIN:TPW-EXE:0x523940 move hover] its hover sets no cash flag (mode 4's does, 0x523658) |
| TPW-EXE:0x52f950 tool pointer | source/OpenTPW/Hud/ParkHud.Cursor.cs:19 | [BIN:TPW-EXE:0x52f950 tool pointer] the 22 pointer ids and the tool-to-pointer rules are OriginalPointers; the tool modes 1 (path), 3 (queue), 4 (place), 0xb and 0x10 (track) and 0x39 (Buy Land) are the ones OpenTPW has |
| TPW-EXE:0x52f950 tool pointer | source/OpenTPW/UI/Original/OriginalPointers.cs:8 | [BIN:TPW-EXE:0x52f950 tool pointer] the tool mode (0x81ae2c) picks the pointer; then noplace (8) when 0x527950 is true and cash (20) when 0x816d5c is set override it |
| TPW-EXE:0x5311c0 fill | source/OpenTPW/World/ParkLand.cs:561 | [BIN:TPW-EXE:0x5311c0 fill] a scan towards the map's edge reads the block beyond it through 0x4d96f0's null (the fill never tests it), and the walk 0x52ba50 loops on a cell that is no post: a rectangle that leaves the old park outside the walk's ring does the first |
| TPW-EXE:0x531a50 Buy Land validator | source/OpenTPW/World/ParkLand.cs:452 | [BIN:TPW-EXE:0x531a50 Buy Land validator] the corners must be on the map (0x4d8300) and more than two cells apart on both axes; the top and bottom edges, then the left and right edges, are walked a post at a time: an edge post on gate post A (0x7639f0/f4) or B (0x7639f8/fc) refuses it, two consecutive posts of an edge on cell type 7 or 0x1e (0x536360, not type 2) refuse it, and every hoarding (thing type 0x19, 0x53ad60) on an edge is counted |
| TPW-EXE:0x531b11 land cost | source/OpenTPW/World/BuyLandTool.cs:53 | [BIN:TPW-EXE:0x531b11 land cost] the validator 0x531a50 clears the tool's cost, the price 0x532303 adds the cell price 0x78560c for every unowned cell of the rectangle (0x532360-0x532374), and the tool start 0x52f050 clears it (0x52f087) |
| TPW-EXE:0x531cf2 straight hoardings | source/OpenTPW/World/ParkLand.cs:453 | [BIN:TPW-EXE:0x531cf2 straight hoardings] a hoarding on an edge counts as crossing it only when it is a straight piece across the edge (0x53ae50 with links 0x11 or 0x44), read from the link byte +0xc (0x522770 while 0x81b4cc is clear, as it is outside the fence setup and the purchase); the hoardings keep their links in +0x22 (mHoardingNeighbours), so every hoarding on an edge counts as touching it, and these counts stay 0 here |
| TPW-EXE:0x53202a touch test | source/OpenTPW/World/ParkLand.cs:454 | [BIN:TPW-EXE:0x53202a touch test] more than one touching hoarding on the top (left) edge counts one crossing there, or, when the first corner holds a hoarding, one less on the bottom (right) edge; more than one on the bottom (right) edge counts one there, or one less on the top (left) edge when the second corner holds a hoarding; exactly one corner on a hoarding and no crossing refuses the rectangle, and so does the type 7/0x1e run |
| TPW-EXE:0x5320f8 new land | source/OpenTPW/World/ParkLand.cs:455 | [BIN:TPW-EXE:0x5320f8 new land] every cell of the rectangle counts as unowned when it has flag 0x40 and no hoarding, else as owned; a rectangle with no owned or no unowned cell is refused unless an edge holds two or more hoardings |
| TPW-EXE:0x5321dc pocket border | source/OpenTPW/World/ParkLand.cs:639 | [BIN:TPW-EXE:0x5321dc pocket border] the copy loop (0x5321dc..0x53221b) writes the border row y = 65 at iterations 0..63, then iteration 64 copies source row 64 into bordered row 65 over columns 1..65; the source 0x81eeb0 never has rows 64 or 65 written (0x532960 fills blocks 0..63 only), so columns 1..63 of that row hold neither ' ' nor '@' and wall the flood off; only (0, 65), (64, 65) and (65, 65) stay open |
| TPW-EXE:0x5321dc pocket test | source/OpenTPW/World/ParkLand.cs:630 | [BIN:TPW-EXE:0x5321dc pocket test] the grid is copied inside a border of ' ' (0x81d7c8; most of its last row is a wall, see the pocket border below), the blocks (x >> 1, y >> 1) for x from xmin + 1 to xmax + 1 and y from ymin + 1 to ymax + 1 in steps of 2 become '#', the flood 0x5328e0 turns every ' ' and '@' it reaches from the border corner (65, 0) into '#', and any ' ' or '@' left inside refuses the rectangle |
| TPW-EXE:0x532303 land price | source/OpenTPW/World/ParkLand.cs:587 | [BIN:TPW-EXE:0x532303 land price] for y from ymin + 2 while below ymax and x from xmin + 2 while below xmax, each cell with flag 0x40 adds the word 0x78560c (Costs.MapCell, the word after Costs.WaterTrackCell 0x785608) to 0x81af4c; unless a layout replays (0x785a2c), the balance (bank +0xc, 0x6ad810) minus that running total below 0 refuses the purchase and sets the cash pointer flag 0x816d5c (0x5323c1); equal is allowed |
| TPW-EXE:0x5323c1 land cash pointer | source/OpenTPW/Hud/ParkHud.Cursor.cs:58 | [BIN:TPW-EXE:0x5323c1 land cash pointer] the Buy Land validator's money refusal sets 0x816d5c, which the pointer switch 0x52f950 turns into the cash pointer (20) |
| TPW-EXE:0x5323f0 park fence | source/OpenTPW/World/ParkLand.cs:49 | [BIN:TPW-EXE:0x5323f0 park fence] post B is the entrance's first cell (0x7855bc/0x7855c0, FixedItemInfo.EntranceA) moved 4 cells west, post A its second cell (0x7855c4/0x7855c8, EntranceB) moved 3 cells east (0x4d8690 gives both cells) |
| TPW-EXE:0x532506 fence clicks | source/OpenTPW/World/ParkLand.cs:154 | [BIN:TPW-EXE:0x532506 fence clicks] the fence tool (mode 0x19) gets one click at post A + each pair until a pair's X is 512 or after the 64th pair (bound 0x78503c) |
| TPW-EXE:0x532960 land grid | source/OpenTPW/World/ParkLand.cs:629 | [BIN:TPW-EXE:0x532960 land grid] block (x >> 1, y >> 1) of 0x81eeb0 (67 bytes per column) is rewritten by each of its cells in row order, so the cell (2i + 1, 2j + 1) decides it: '@' for a hoarding (following object links, 0x53ad90), '#' for a cell without 0x40, ' ' otherwise |
| TPW-EXE:0x5329D9 pocket grid extension | source/OpenTPW/World/ParkLand.cs:649 | [BIN:TPW-EXE:0x5329D9 pocket grid extension] 0x532960 follows an extension record (0x53AD90: type 0xC or 0x11, a track tile's too) to the record its word +0x10 names (the tile's origin) before it tests the hoarding type (0x53AD60) and the flag 0x40 of that record's cell |
| TPW-EXE:0x532bd0 sprite to thing | source/OpenTPW/World/Level.cs:999 | [BIN:TPW-EXE:0x532bd0 sprite to thing] the sprite pass picks the nearest pickable sprite, and the visitor (a thing of type 1) that owns it is then looked up only in the hovered cell and its eight neighbours |
| TPW-EXE:0x5330C6–0x533189 | source/OpenTPW/World/Original/BlueprintHeights.cs:9 | [BIN:TPW-EXE:0x5330C6–0x533189] truncate H, add 9, signed divide by 10, multiply by 10. |
| TPW-EXE:0x533933 build latch | source/OpenTPW/World/Level.AddOns.cs:119 | [BIN:TPW-EXE:0x533933 build latch] the placement preview 0x528A70 runs the footprint through 0x532FC0, whose validator refusal sets the latch 0x816D48; the release handler tests it before its mode dispatch (0x524A63) for the build modes 4 and 0x3B too |
| TPW-EXE:0x5344E5 cell op 0x87 | source/OpenTPW/World/Guests/QueuePaths.cs:96 | [BIN:TPW-EXE:0x5344E5 cell op 0x87] the commit's first LayLine pass demolishes the cell's lower-priority owner (0x527EE0) before the queue type is written |
| TPW-EXE:0x5344E5 cell op 0x87 | source/OpenTPW/World/ParkPathBuilder.cs:322 | [BIN:TPW-EXE:0x5344E5 cell op 0x87] the commit's first LayLine pass (0x524960: 0x536100(0x87, ...)) demolishes the owner of every type 4, 9 or 10 cell of the line whose priority 0x818C14 is below the tool's 0x818C10 (0x527EE0, crediting its scrap value) before the type pass |
| TPW-EXE:0x5344E5 overwrite | source/OpenTPW/World/Objects/ParkObjects.cs:432 | [BIN:TPW-EXE:0x5344E5 overwrite] the commit runs cell op 0x87 on every footprint cell first (0x528D2C, 0x5290FA): with 0x818C14 below 0x818C10 an object cell's owner is demolished whole (0x527EE0, which credits its scrap value), before the new footprint is written |
| TPW-EXE:0x5345A1 end flag | source/OpenTPW/World/QueueLineWriter.cs:80 | [BIN:TPW-EXE:0x5345A1 end flag] the last cell ends the tool when it held a path or any queue cell (type 1 or 3) before the write, this ride's own queue included |
| TPW-EXE:0x534717 free byte | source/OpenTPW/World/ParkPathBuilder.cs:136 | [BIN:TPW-EXE:0x534717 free byte] the free byte (0x8186D4, Mac data:0x7DE2D) zeroes the path and queue cost in SetCellType (0x534717, 0x53472C) but is set only in the mode-4 and mode-59 placement branches (0x5235D4, 0x523967, 0x524B4A, 0x5253E9), never by the path tool |
| TPW-EXE:0x534879 path Spend | source/OpenTPW/World/ParkPathBuilder.cs:390 | [BIN:TPW-EXE:0x534879 path Spend] SetCellType spends the path cost through 0x4D01F0, which adds it to the park's total costs (+0x1F5A0); the finance and hire panels show other costs as total costs minus staff costs (0x49BDD0, [0x7CA300]), so path spending is an other cost, as OpenTPW's OtherCosts within MoneyOut minus StaffCosts |
| TPW-EXE:0x535670 cell validator | source/OpenTPW/World/Original/OriginalParkPlacement.cs:97 | [BIN:TPW-EXE:0x535670 cell validator] the placement 0x528a70 tests each footprint cell through 0x532fc0 (mode 0x200) with 0x535670, which reads the cell's type (+8), flags (+0xE: 0x40 unowned, 0x20 path) and links, never its MAP byte (+0x26) |
| TPW-EXE:0x535670 cell validator | source/OpenTPW/World/ParkPathBuilder.cs:247 | [BIN:TPW-EXE:0x535670 cell validator] no slope or height test (LayLine 0x536100, SetCell 0x532fc0 reads heights only for the ghost, 0x535670 has no float operation, SetCellType 0x5346d0); the terrain rule is the map start's cell types (OriginalParkPlacement: holes 2, 0x1e and 7 refused, every other surface cell type 0 or the initial path), the unowned flag 0x40 is tested above |
| TPW-EXE:0x535670 fence post | source/OpenTPW/World/ParkPathBuilder.cs:251 | [BIN:TPW-EXE:0x535670 fence post] the validator refuses a cell whose structure record is a hoarding post (or an extension of one, which it follows to the parent) for the path tool as for the queue tool, on owned land as well (QueueCellValidator) |
| TPW-EXE:0x535670 object body validator | source/OpenTPW/World/Objects/ParkObjects.cs:240 | [BIN:TPW-EXE:0x535670 object body validator] footprint cells are validated as type 4 (0x204 through 0x532FC0): the cell's flag 0x40 and the map-start NoModify path (0x5356B5) refuse, an object by overwrite priority (0x535D66), a cell whose structure record is of a track kind refuses unless the upgrade selection is set (0x535BB3, the host's IsReserved and the add-on route), a path cell is cleared, and the corner and junction tests of the record's links (0x535BD7) run only on a record of no track kind, which holds no arms (the clear 0x5367A0 zeroes type and arms); no slope test, as in tp.exe's validator; Level.PlaceObject enforces economy purchases |
| TPW-EXE:0x535670 refusal stage | source/OpenTPW/Hud/ParkHud.cs:1562 | [BIN:TPW-EXE:0x524AA7 refusal cue] [BIN:TPW-EXE:0x535670 refusal stage] [BIN:TPW-EXE:0x536100 refusal stage] the refusal stages submit no sound (no call site of the sound entry 0x51bfc0 lies in them or the callees reached from them); the build tools' only refusal cue is the release handler's 0xAF |
| TPW-EXE:0x5356B5 NoModify | source/OpenTPW/World/Objects/ParkObjects.cs:339 | [BIN:TPW-EXE:0x5356B5 NoModify] a cell with flag 0x20 (the map start's initial path, 0x536490) refuses type 4, 9 and 10 before any other test |
| TPW-EXE:0x5357c7 placement validator | source/OpenTPW/World/Level.Objects.cs:1579 | [BIN:TPW-EXE:0x5357c7 placement validator] a cell with flag 0x40 is refused for a queue as for a path or an object |
| TPW-EXE:0x5357c7 placement validator | source/OpenTPW/World/Objects/ParkObjects.cs:241 | [BIN:TPW-EXE:0x5357c7 placement validator] after its early returns for a few tool modes the validator 0x535670 refuses a cell with flag 0x40 for whatever it places, paths, queues and objects alike |
| TPW-EXE:0x53593f line cash flag | source/OpenTPW/Hud/ParkHud.Cursor.cs:97 | [BIN:TPW-EXE:0x53593f line cash flag] the cell validator 0x535670 sets the same flags and refuses the cell (returns 1) when the line's cost so far exceeds the balance (0x535927: cost > balance, equal allowed); the pointer switch 0x52f950 lets the cash flag override the tool's own pointer and noplace |
| TPW-EXE:0x535AD8 code 0xB | source/OpenTPW/World/QueueLineWriter.cs:87 | [BIN:TPW-EXE:0x535AD8 code 0xB] the queue tool's own queue cell (owner word = the tool's ride, not a two-link cell) on the line's last cell answers 0xB and sets the end flag 0x816D4C |
| TPW-EXE:0x535AD8 code 0xB | source/OpenTPW/World/QueueSegmentReducer.cs:89 | [BIN:TPW-EXE:0x535AD8 code 0xB] the ride's own queue cell on the line's last cell answers 0xB and sets the end flag 0x816D4C |
| TPW-EXE:0x535AFB code 0xB | source/OpenTPW/World/ParkPathBuilder.cs:361 | [BIN:TPW-EXE:0x535AFB code 0xB] the path tool's validator answers 0xB (and sets 0x816D4C) for a path cell of the line's own type when it is the last cell (0x820AB8) or the line is one cell (0x818688): the ghost's last existing path cell |
| TPW-EXE:0x535BB3 track cells | source/OpenTPW/World/Level.Objects.cs:83 | [BIN:TPW-EXE:0x535BB3 track cells] for an object cell (type 4) the validator refuses a second-layer track cell (0x53AD30: types 0xB, 0xD, 0x10, 0x12, 0x19; the extensions 0xC and 0x11 through their head, 0x535811) and any other map type but 0, 1 and the object types (0x535C4C..0x535D5D) |
| TPW-EXE:0x535D21 object over path | source/OpenTPW/World/Objects/ParkObjects.cs:340 | [BIN:TPW-EXE:0x535D21 object over path] type 4 over a type-1 cell returns 0 (allowed); the commit's cell op 0x87 clears the path with ClearCell 0x5367A0(0, 0) when 0x818C14 is below 0x818C10 (0x534549, the build tool being neither path nor queue), and the footprint write clears every cell with ClearCell(0, 0) anyway before typing it (0x52910C), so the path goes whatever the priorities; the path case of ClearCell spends nothing (ParkPathBuilder.Remove) |
| TPW-EXE:0x535D66 overwrite priority | source/OpenTPW/World/Guests/QueuePaths.cs:57 | [BIN:TPW-EXE:0x535D66 overwrite priority] the queue tool's 0x818C10 is 3: an object cell whose owner's priority is below it is allowed (features of priority 0 or 1) |
| TPW-EXE:0x535D66 overwrite priority | source/OpenTPW/World/Objects/ParkObjects.cs:243 | [BIN:TPW-EXE:0x535D66 overwrite priority] a cell of type 4, 9 or 10 is allowed when 0x818C10, the placed type's +0x54 (Info.OverwritePriority, sam schema 0x745020; set by the hover 0x5234D0), is greater than 0x818C14, the +0x54 of the type of the object owning the cell (0x53570E: the thing at the cell's owner index +0x10, class 3); otherwise the cell is refused and the sticky refusal 0x816D50 set |
| TPW-EXE:0x535D66 overwrite priority | source/OpenTPW/World/ParkPathBuilder.cs:232 | [BIN:TPW-EXE:0x535D66 overwrite priority] a type 4, 9 or 10 cell is tested by its owner's overwrite priority alone: below the tool's 0x818C10 (2 for a path, set by the hover 0x5234D0) it is allowed, otherwise refused |
| TPW-EXE:0x536100 refusal stage | source/OpenTPW/Hud/ParkHud.cs:1562 | [BIN:TPW-EXE:0x524AA7 refusal cue] [BIN:TPW-EXE:0x535670 refusal stage] [BIN:TPW-EXE:0x536100 refusal stage] the refusal stages submit no sound (no call site of the sound entry 0x51bfc0 lies in them or the callees reached from them); the build tools' only refusal cue is the release handler's 0xAF |
| TPW-EXE:0x536320 cell predicates | source/OpenTPW/World/Level.Coasters.cs:143 | [BIN:TPW-EXE:0x536320 cell predicates] 0x536310 type 1; 0x536320 types 3 and 9; 0x536340 type 9; 0x536350 type 10; 0x536360 types 7 and 0x1e; 0x536380 type 4: the cell type is the word at cell +8, the flags the word at +0xe |
| TPW-EXE:0x5363F0 track record test | source/OpenTPW/World/Staff/StaffPlacement.cs:43 | [BIN:TPW-EXE:0x5363F0 track record test] the cell's record of the second layer (0x4D0AF0): a record of kind 12 or 17 (0x53AD90) answers through its parent word (+0x10, no track when it is 0), any other through its own kind, by 0x53AD30: kinds 0xB, 0xD, 0x10, 0x12 and 0x19 (a kart or water tile or station, a fence post); the fence post test 0x536450 (kind 0x19 by 0x53AD60) is a subset, so a refused hoarding is a refused track record; a path or queue cell that lies over a straight or stub tile is refused by its record although its own type is a drop type, and so are the three cells beside a fence post |
| TPW-EXE:0x536490 cell init | source/OpenTPW.Tests/ParkCellTypingTests.cs:21 | [BIN:TPW-EXE:0x536490 cell init] no terrain: 2 (MAP 0x02), 0x1e (MAP 0x80) or 7; with terrain: 1 (MAP 0x08, flag 0x20) or 0; flag 0x40 on every cell without 0x20 (0x53654b, 0x5365ad) |
| TPW-EXE:0x536490 map init | source/OpenTPW/World/Original/OriginalParkPlacement.cs:98 | [BIN:TPW-EXE:0x536490 map init] the cell types come from the map start: holes are 2, 0x1e or 7 (refused by type), a surface cell is 1 for InitialPath or else 0 whatever its other MAP bits (Blocked, Water, EntranceArea and FixedWalkway on a surface pick types the init overwrites, 0x536524..0x536548) |
| TPW-EXE:0x536490 map init | source/OpenTPW/World/ParkLand.cs:376 | [BIN:TPW-EXE:0x536490 map init] flag 0x40 is set on every cell whose flags lack 0x20 (0x53654b, 0x5365ad); the level start 0x52f050 runs it on every cell before it lays the fence (0x5323f0) |
| TPW-EXE:0x536490 map init | source/OpenTPW/World/ParkLand.cs:688 | [BIN:TPW-EXE:0x536490 map init] with 0x450420 true (the terrain vertex word's bit 0 clear) the types 5, 2 and 0x1e that MAP bits 0x01, 0x02 and 0x80 pick are overwritten by 1 for bit 0x08 (with flag 0x20) or else 0 (0x536524..0x536548); with it false bit 0x02 makes type 2, bit 0x80 type 0x1e, anything else type 7 |
| TPW-EXE:0x5367A0 ClearCell | source/OpenTPW/World/ParkPathBuilder.cs:416 | [BIN:TPW-EXE:0x5367A0 ClearCell] (a, b) other than (0, 0) decrements the signed counter +0x20; the cell stays while it is >= 0, else the counter is reset to 0 and the cell is cleared like the forced case |
| TPW-EXE:0x537A1B track ghost latch | source/OpenTPW/Hud/ParkHud.Cursor.cs:87 | [BIN:TPW-EXE:0x537A1B track ghost latch] the kart and water line modes set the same latch when their ghost routine 0x5370E0 refuses a tile (0x537A1B -> 0x527940(1)), as the path and queue validator does at 0x533933 inside 0x532FC0 |
| TPW-EXE:0x538FC0 track type op | source/OpenTPW/World/Level.TracksImport.cs:84 | [BIN:TPW-EXE:0x538FC0 track type op] the track type op writes the type of the record and never the cell's (0x539017..0x53908C): a straight or stub tile over a path or queue cell keeps that cell's own type and lies |
| TPW-EXE:0x539220 link back | source/OpenTPW/World/ParkFence.cs:333 | [BIN:TPW-EXE:0x539220 link back] the other record links only when its +0x10 is 0 or 0x818698, the tool's ride; the fence setup and a purchase run with 0x818698 = 0 |
| TPW-EXE:0x53AD60 fence post | source/OpenTPW.Tests/FreeWalkCameraReviewTests.cs:194 | [BIN:TPW-EXE:0x53AD60 fence post] the cell's structure record of type 0x19 stops the click (0x46D0D0 answers the refusal pointer 8 and keeps the tool) |
| TPW-EXE:0x53E760 ride static | source/OpenTPW/Hud/ParkHud.RideView.cs:152 | [BIN:TPW-EXE:0x53E760 ride static] a 320 x 240 source is regenerated with every invocation (the frame loop calls it, 0x54FB3F, instead of drawing the scene while the budget lasts) and stretched over the screen (0x5F92E0): for each pixel, column by |
| TPW-EXE:0x53ad30 track cell | source/OpenTPW/Hud/ParkMapLevelCells.cs:65 | [BIN:TPW-EXE:0x53ad30 track cell] the record types 0xb, 0xd, 0x10 and 0x12 are the kart and water tiles and their stations (0x19, the fence post, is its own class) |
| TPW-EXE:0x53d790 dynamic texture folder | source/OpenTPW/World/Original/BlueprintMarkers.cs:97 | [BIN:TPW-EXE:0x53d790 dynamic texture folder] the table's file names get the level's dynamic folder (Data\Levels\<level>\Dynamic\Textures, \STexture in the low-detail set, 0x54dcc0); each level's dynamic.wad holds orange.wct in both folders (records 0 to 14 of the table 0x763b38 all carry texture flags 7, so the area face is drawn as the other markers; the video's translucent yellow with dark mottling: average rgba 216,161,1 at alpha 192 in the jungle, 158 in the space level), not the generic folder, which has no orange |
| TPW-EXE:0x53d9e0 dynamic face texture | source/OpenTPW/Hud/ParkHud.cs:1792 | [BIN:TPW-EXE:0x53d9e0 dynamic face texture] the renderer takes a face's batch from slot [+0x50] + 16 × type and the textures from the table 0x763b38 (16-byte records, loaded from Data\Generic\Dynamic\Textures by 0x53d790): type 0 blue.tga, 1 red.tga, 2 orange.tga, 3 m_enter ..., so type 1 is the blueprint's red face (BlueprintMarker.Refused) |
| TPW-EXE:0x541310 staff bank load | source/OpenTPW/World/Staff/StaffSprites.cs:74 | [BIN:TPW-EXE:0x541310 staff bank load] the banks of a folder are sorted by file name (0x541210: a bubble sort over the name compare 0x424CC0, the case-insensitive _stricmp 0x67DF40, which GuestSpriteAtlas.LoadSets does) and the folders handymen, mechanics, guards and researchers (0x7640C8..0x7640A8) stop at the staff limit 0x41AA40; the entertainers' theme folders are not flagged and load whole; the load chain 0x54E360 -> 0x540900 -> 0x541D90 -> 0x541310 is reached from the program's start only (0x45A960, 0x5503F0), so one run keeps its banks (StaffSpriteSet.Load takes the limit once, when a level builds its staff) |
| TPW-EXE:0x541F70 kid set draw | source/OpenTPW.Tests/KidSetLoadTests.cs:83 | [BIN:TPW-EXE:0x541F70 kid set draw] the function returns (word >> 2) mod the loaded count and 0x4FB1B5 stores that; a load reduces it again (0x4F93AA): (raw mod 8) mod 6 |
| TPW-EXE:0x541F70 stored variant | source/OpenTPW/World/Staff/StaffSprites.cs:76 | [BIN:TPW-EXE:0x541F70 stored variant] the stored variant is (R >> 2) mod the category's LOADED count (0x541F70 divides by the entry +8 that 0x541E7D fills from 0x541310's result) and is reduced by the loaded count again at every load of a member (the person serializer 0x4F8B10 at 0x4F93AA; the candidates are copied raw, 0x4D6BED to 0x4D6C17): StaffMember.SpriteDraw and StaffCandidate.SpriteDraw, kept out of the hash like the guests' kid-set draw so peers with other presets hash alike |
| TPW-EXE:0x541f70 sprite variant draw | source/OpenTPW/World/Staff/StaffSprites.cs:51 | [BIN:TPW-EXE:0x541f70 sprite variant draw] tp.exe draws a candidate's variant first in its constructor (0x507600 → 0x541f70: (world draw >> 2) mod the category's loaded bank count; candidate +9, member +0x20) and draws bank = the category's first bank + variant (0x542010): OpenTPW keeps the drawn variant on the candidate and its member (KeyOf) |
| TPW-EXE:0x543560 TrackRides loader | source/OpenTPW/World/Tracks/BumpController.OriginalImport.cs:50 | [BIN:TPW-EXE:0x543560 TrackRides loader] the phase (+0x50) is read raw by chunk 3 and nothing restarts the ride: only the ride's own code ends a race or resets a ride without vehicles (0x54AE50) |
| TPW-EXE:0x543560 TrackRides loader | source/OpenTPW/World/Tracks/OriginalTrackVehicles.cs:43 | [BIN:TPW-EXE:0x543560 TrackRides loader] the loader makes a ride at chunk 3, takes a vehicle for each chunk 5 whose handle names a ride (the first free record of the pool of 256, 0x549B50) and hangs the riders of chunk 9 on the ride's last vehicle (ride +0xCC); chunk 7 puts a guest on the leaving list (+0xC8, 0x54ABD0) and chunk 8 on the joining list (+0xC4, 0x54AA80, refused for a ride in phase 0), both at the head |
| TPW-EXE:0x543638 ride chunk | source/OpenTPW/World/Level.TracksImport.cs:119 | [BIN:TPW-EXE:0x543638 ride chunk] the words +0x14 and +0x18 (the model range: a new vehicle's variant is its count modulo +0x18 plus +0x14, 0x549DB0) are stored as saved after the constructor copied the template's; the word +0x10 goes to the constructor as the thing the ride belongs to (0x529F6A passes the thing being placed) |
| TPW-EXE:0x543638 ride chunk | source/OpenTPW/World/Tracks/OriginalTrackImport.cs:108 | [BIN:TPW-EXE:0x543638 ride chunk] the handle, the station cell (+0xB4, +0xB8), the orientation word (+0xB0), the words +0x10, +0x1C, +0x14 and +0x18, the duration (+4, logged "Set Ride Duration to %d") and the phase (+0x50); the controller is made by 0x545890 (copying the kind's template of 0xD0 bytes) and the handle it gets must be the saved one |
| TPW-EXE:0x543B3C object search | source/OpenTPW/World/Tracks/BumpController.OriginalImport.cs:214 | [BIN:TPW-EXE:0x543B3C object search] the object of a loaded vehicle is the first of the module's pool that is used, not a keep-out circle and holds the place; the pool then holds the objects of the rides made so far |
| TPW-EXE:0x543B9F vehicle load | source/OpenTPW/World/Tracks/BumpController.OriginalImport.cs:48 | [BIN:TPW-EXE:0x543B9F vehicle load] a chunk 5 whose handle names the ride takes the first free record of the pool (0x549B50, flags 1, the aimed buoy and chase words -1), reads the 0xAC bytes of the record raw (the length of a short chunk is zero-filled), links it to the ride (+0x9C, ride +0xCC, ride +0x5C count), zeroes its rider list (+0x30) and the word +0x94 and a NaN height (+0xA0), finds its collision object (+0x98) from its place (+0x34, +0x38, 0x5493F0 over the objects of the pool that are not keep-out circles) or else from the fallback place the chunk adds, binds its model instances again, makes it the ride's first vehicle for flag 0x400000, resolves the waypoint key against the ride's chain (+0xA8: first node with the saved corner; owner 0 gives -1, no match 0) and zeroes the buoy countdown (+0x8C) of a chasing car (flag 4) |
| TPW-EXE:0x543F24 rider load | source/OpenTPW/World/Tracks/BumpController.OriginalImport.cs:49 | [BIN:TPW-EXE:0x543F24 rider load] chunk 9 pushes a node {guest, ride, head dummy of the saved number (0x44B220 on the vehicle's mesh), number} on the head of the ride's last vehicle's rider list and counts it in the ride (+0x60); it does not hang the head (no 0x44B410, no draw of the world generator): the vehicle load and the rider load draw nothing |
| TPW-EXE:0x543FF4 section chunk | source/OpenTPW/World/Tracks/OriginalTrackImport.cs:88 | [BIN:TPW-EXE:0x543FF4 section chunk] the loader reads the handle, the type word and the two corner words and hands them to the section builder 0x54B2F0, which rebuilds the buoy and waypoint chain: the saved list is the sections in the order the builder appended them |
| TPW-EXE:0x544330 peep list | source/OpenTPW/World/Tracks/OriginalTrackVehicles.cs:44 | [BIN:TPW-EXE:0x544330 peep list] the nodes of all three lists come from one free list of 1024 records (0x5000 bytes of 0x14), shared by every ride: chunks 7 and 8 log "Peep List full" and drop their guest when it is empty, and chunk 9 takes its node without looking |
| TPW-EXE:0x54AA80 peep join | source/OpenTPW/World/Tracks/OriginalTrackVehicles.cs:134 | [BIN:TPW-EXE:0x54AA80 peep join] the join answers 0 without taking a node while the ride's phase (+0x50, which chunk 3 has set) is 0 |
| TPW-EXE:0x54AE50 retire vehicle | source/OpenTPW/World/Tracks/BumpController.cs:185 | [BIN:TPW-EXE:0x54AE50 retire vehicle] water rides keep their phase when the last boat retires, karts reset to loading: the phases a controller without vehicles can hold |
| TPW-EXE:0x54DE31 master volume | source/OpenTPW/Audio/GameAudio.cs:1207 | [BIN:TPW-EXE:0x54DE31 master volume] the start-up calls the master setter 0x51BB60 with 100; the options applier 0x423DD0 never sets it, so only a loaded save's +0x18 changes it |
| TPW-EXE:0x54E5EC front-end setup | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:9 | [BIN:TPW-EXE:0x54E5EC front-end setup] state 1 of the main state machine sets the advisor up (0x429BA0 with the model path %s\Global\Advisor, 0x74D0C4; the system 0x5989C0) before it makes the lobby (0x5D5770) |
| TPW-EXE:0x54E5F9 pool init call | source/OpenTPW/World/Particles/ParticleSystem.cs:49 | [BIN:TPW-EXE:0x54E5F9 pool init call] density = [0x7858C8], GameOptions.PARTICLEDENSITY of the detail object (its fields start at 0x785874, schema 0x7442C0), which only the detail-file load 0x44DC60 fills |
| TPW-EXE:0x54E6DF front-end frame | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:10 | [BIN:TPW-EXE:0x54E6DF front-end frame] each frame of state 2 updates the advisor (0x599880), draws its model (0x429DF0(0), 0x54E6E6) and runs the effect groups (0x599800), then steps the lobby's tasks (0x5D5C50), among them the queue and the islands component; no test of the lobby screen |
| TPW-EXE:0x54E7F5 front-end teardown | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:11 | [BIN:TPW-EXE:0x54E7F5 front-end teardown] state 3 tears the lobby down (0x5D5CF0: the queue's teardown 0x5D6060 among the tasks), then the advisor system (0x598AD0) and its model (0x429E20(0)) |
| TPW-EXE:0x54F3AE dirty after load | source/OpenTPW/Audio/SavedSoundVolumes.cs:40 | [BIN:TPW-EXE:0x54F3AE dirty after load] state 9 of 0x54E360 ends, after the load 0x5ACCF0 -> 0x414D40, with 0x51E6F0(0), which writes the dirty word 0x803AC8 = 1; the tick 0x51BD70 of state 10 then pushes all seven shadows (a restart reloads restart.INTS, written right after that call, whose dirty word is 1 in all three corpus files) |
| TPW-EXE:0x54F4D3 substep counter | source/OpenTPW/World/SimulationSubstep.cs:8 | [BIN:TPW-EXE:0x54F4D3 substep counter] inc [0x877D34] at the start of each substep, before the inactive-application test (a substep skipped there still counts); the game pause 0x4092A0 freezes the clock object 0x785970 that drives the substep loop (0x54F47F..0x54F4AF), so a paused park runs no substep and its counter stands, as OpenTPW's clock does while paused; 0x54F5D7 tests its bit 0 for the tour cars, 0x54F668 its low three bits for the park turn |
| TPW-EXE:0x54F4D4 substep gate | source/OpenTPW/World/SimulationSubstep.cs:9 | [BIN:TPW-EXE:0x54F4D4 substep gate] the substep body is skipped (0x54F8CD) only while the application is inactive (0x7A1A14 bit 3 clear; the main window procedure 0x46B600 sets it on activation, 0x46B6F5, and clears it on deactivation, 0x46B722) and option flag 0x7A1A8C bit 0 is set (set by default: 0x449E1C stores 0xC0E15, or the saved options word 0x78D950 at 0x449E73; no other code changes the bit); the park pause instead stops the clock, so no substep is due (see the counter above); OpenTPW's simulation does not depend on window focus |
| TPW-EXE:0x54F5D7 tour cars | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:421 | [BIN:TPW-EXE:0x54F5D7 tour cars] the tour tick runs after the script pass on the even substeps only |
| TPW-EXE:0x54FAD7 eye views | source/OpenTPW/World/Weather/WeatherRenderer.cs:136 | [BIN:TPW-EXE:0x54FAD7 eye views] the same test (0x790AB0 & 0x16) switches the park's fog on (0x54FAE9, bit 0x2000 of 0x8BCBC8) and the listener to the eye (0x54F915); OpenTPW's pair is the camcorder walk and the ride camera |
| TPW-EXE:0x54dde3 static noise seed | source/OpenTPW/Hud/ParkHud.RideView.cs:43 | [BIN:TPW-EXE:0x54dde3 static noise seed] the original seeds the CRT's generator once (srand of the tick count) and the static draws the shared stream on every frame it lasts: one persistent state per HUD, |
| TPW-EXE:0x54de6a | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:180 | [BIN:TPW-EXE:0x54de6a] the start-up init submits cat_ui 210 flat after registering the categories |
| TPW-EXE:0x54de6a start-up sound | source/OpenTPW/Audio/GameAudio.cs:77 | [BIN:TPW-EXE:0x54de6a start-up sound] WinMain (0x45a960, call at 0x45abed) runs the start-up init 0x54dcf0, which registers the global categories (0x51eae0) and submits cat_ui event 210 (a one-shot, flags 0x200) flat |
| TPW-EXE:0x54df20 movie box | source/OpenTPW/Client/Movie/MoviePresenter.cs:54 | [BIN:TPW-EXE:0x54df20 movie box] the logo and trailer callers pass y = screen height * 64 / 480 (0x88888889 multiply, shift 8) and x = 0 to the movie start 0x51b010, which sizes the picture as the screen width (0x7a1968) by height * 0x160 / 0x1E0 (0x51b0ed, 0x51b0fc); the screen sizes are the eight modes of 0x449f38 |
| TPW-EXE:0x54e070 daily start-up movie | source/OpenTPW/Client/Movie/IntroPlaylist.cs:6 | month modulo 8 ([BIN:TPW-EXE:0x54e070 daily start-up movie], docs/TGQ-MOVIES.md). These are the only two movie triggers of the |
| TPW-EXE:0x54e0ce movie table | source/OpenTPW/Client/Movie/IntroPlaylist.cs:22 | [BIN:TPW-EXE:0x54e0ce movie table] localtime() tm_mday (0x67d8e0, +0xC), made non-negative, & 7, indexes the jump table 0x54e288: 0 bub (0x7650a0), 1 buc (0x76508c), 2 grav (0x765074), 3 jug (0x765060), 4 mir (0x76504c), 5 plan (0x765034), 6 roc (0x765020), 7 roll (0x765008); the logo is bf (0x764ff4) |
| TPW-EXE:0x54e2b0 terrain clip | source/OpenTPW/World/Original/TerrainUvAnimator.cs:8 | [BIN:TPW-EXE:0x54e2b0 terrain clip] the park loader 0x457a90 loads the terrain with 0x4504c0(0, …) and the state 9 of 0x54e360 registers the render callback 0x54e2b0 at renderer +0x78 (0x54ecb6); 0x576a00 (from 0x576ec0 ← 0x44e540 ← 0x54fb6c in state 10) calls it once per value of the frame counter 0x8bcc40, and it calls 0x44e510 → 0x473c70([0x79fcb4], 1, 4), which starts AnimID 5 through the idle restart (the instance has none of the flags 0x8004) and samples the UV records (0x4745c0) into the mesh records every rendered frame; the clock is the scaled clock 0x7b496c, which 0x473440 refreshes from the game timer 0x785970 (frozen by the game pause 0x4092a0, scaled by the game speed) |
| TPW-EXE:0x54e2b8 hover cell refresh | source/OpenTPW/Hud/ParkHud.cs:1058 | [BIN:TPW-EXE:0x54e2b8 hover cell refresh] the park loop refreshes the hover cell from the pointer ray every frame while the camera is the overview (the crowd count reads it, GameFlow.GuestsNearCamera); the eye views leave it |
| TPW-EXE:0x54e2b8 hover cell refresh | source/OpenTPW/World/Level.HoverCell.cs:10 | [BIN:TPW-EXE:0x54e2b8 hover cell refresh] the park loop 0x54e2b0 runs the pick and 0x45d560 every frame only while [0x790ab0] & 0x16 is clear, that is in the park overview: in the ride view and the walk the word keeps the overview's last value |
| TPW-EXE:0x54e2c0 pick camera | source/OpenTPW/World/Original/ObjectRayPick.cs:103 | [BIN:TPW-EXE:0x54e2c0 pick camera] the frame loop runs the picker only while the camera-mode byte 0x790ab0 has none of the eye bits 0x16, and with those bits |
| TPW-EXE:0x54e360 park frame | source/OpenTPW/Economy/ParkCalendar.cs:63 | [BIN:TPW-EXE:0x54e360 park frame] case 10: the backlog over the scaled millisecond clock (0x4031e0) is cut to 2000 ms, each substep adds 31 ms, every eighth substep is a park turn (0x516380, 8 × 31 = 248 ms) while fewer than three ran this frame (DAT_00879064, reset after the loop) |
| TPW-EXE:0x54e360 states 5-8 | source/OpenTPW/Client/Movie/IntroPlaylist.cs:39 | ([BIN:TPW-EXE:0x54e360 states 5-8]); an input held while a movie plays stops it. An input still held after one |
| TPW-EXE:0x54e360 states 5-8 | source/OpenTPW/Client/Movie/IntroSequence.cs:54 | [BIN:TPW-EXE:0x54e360 states 5-8] before each movie the PC waits until Esc, Space and every mouse button are released. |
| TPW-EXE:0x54e67b front end entry | source/OpenTPW/Audio/GameAudio.cs:409 | [BIN:TPW-EXE:0x54e67b front end entry] the first frame of the front end resumes the game pause (0x409300): a pause menu's pause, the advisor's paused speech and the raised listener end with the park |
| TPW-EXE:0x54e67b front end entry | source/OpenTPW/Audio/GamePauseSound.cs:51 | [BIN:TPW-EXE:0x54e67b front end entry] the front end's first frame resumes the pause object (0x409300) before anything else, so a park left from a pause menu does not carry its pause into the lobby |
| TPW-EXE:0x54e70e lobby listener | source/OpenTPW.Tests/AudioDopplerTests.cs:66 | [BIN:TPW-EXE:0x54e70e lobby listener] (0, 0, -50), front (0, 0, 1), up (0, 1, 0); nothing resets the previous place for a park |
| TPW-EXE:0x54e70e lobby listener | source/OpenTPW/Audio/GameAudio.cs:1164 | [BIN:TPW-EXE:0x54e70e lobby listener] the main loop's frames without a level call 0x51c1d0 with the place (0, 0, -50), the front (0, 0, 1) and the up (0, 1, 0) (0x54e6f3-0x54e70e); the first of them gives the listener its velocity (the place minus the origin, or minus the park's last place), and nothing sends another while the place stays |
| TPW-EXE:0x54f3e6 restart snapshot game type | source/OpenTPW/Client/GameFlow.Restart.cs:28 | [BIN:TPW-EXE:0x54f3e6 restart snapshot game type] state 15 compares the GameType word 0xFB3B7C with 1 (cmp ecx, ebx at 0x54f3ee, sete) and calls the snapshot writer 0x550B30 only when it differs, then moves to state 10 (0x54f3fc) |
| TPW-EXE:0x54f3f7 restart snapshot | source/OpenTPW/Client/GameFlow.Restart.cs:47 | [BIN:TPW-EXE:0x54f3f7 restart snapshot] state 15 calls 0x550B30 once per park start or load: it builds <save>\restart.INTS from the folder global 0x878F18, the name "restart" (0x878A68) and the extension ".INTS" (0x877F38), and saves the park through 0x5AC630 with the save extension 0xF7ADF8 (writer 0x5ac780, the loader's twin) |
| TPW-EXE:0x54f875 crowd cell | source/OpenTPW/Client/GameFlow.cs:545 | [BIN:TPW-EXE:0x54f875 crowd cell] the PC's count takes the hover cell 0x7B05CC (Level.HoverCell: the cell the cursor ray last hit in the park overview, kept in the eye views) and not the camera's target: 0x54f875 reads that word for the call 0x54f899 |
| TPW-EXE:0x54f8f6 listener | source/OpenTPW/Audio/AudioListener.cs:114 | [BIN:TPW-EXE:0x54f8f6 listener] the park loop hands QMixer the position and the camera matrix's rows 0x7909b0 (front) and 0x7909a0 (up) through 0x51c1d0, pitch included |
| TPW-EXE:0x54f8f6 listener | source/OpenTPW/Audio/GameAudio.cs:1150 | [BIN:TPW-EXE:0x54f8f6 listener] the park loop sets the listener through 0x51c1d0: when the camera-mode byte 0x790ab0 has bits 0x16 the listener is the camera position (0x7909c0..c8); otherwise it is pos - (pos - target) * 0.5 (0x700f88) with the target at 0x790ab8..c0; the orientation vectors are 0x7909a0.. and 0x7909b0.. |
| TPW-EXE:0x54f8f6 units | source/OpenTPW/Audio/GameAudio.cs:441 | [BIN:TPW-EXE:0x54f8f6 units] placements share the int world units of every submit (cell10 for tool sounds, footprint10 for screams, scape words /1024 truncated toward zero, range*2/1024) with the listener's place |
| TPW-EXE:0x54f915 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:268 | [BIN:TPW-EXE:0x54f915] test 0x16, [0x790ab0]: set -> the camera position, clear -> pos - (pos - target) * 0.5 |
| TPW-EXE:0x54f915 listener mode test | source/OpenTPW/Audio/GameAudio.cs:1171 | [BIN:TPW-EXE:0x54f915 listener mode test] test 0x16, [0x790ab0]: set takes the eye (0x54f921-0x54f958), clear the midpoint (0x54f965-0x54f9e4) |
| TPW-EXE:0x54faf7 static countdown | source/OpenTPW/Hud/EyeModeStaticTransition.cs:6 | [BIN:TPW-EXE:0x54faf7 static countdown] 0x12c ms on either Boolean edge of flags & 0x16; a nonzero-to-nonzero change does not reset it. |
| TPW-EXE:0x54faf7 static countdown | source/OpenTPW/Hud/ParkHud.RideView.cs:14 | [BIN:TPW-EXE:0x54faf7 static countdown] the Boolean (gui_CameraFlags & 0x16) edge resets to 300 ms; 0x54fb20 tests positivity before 0x54fb46 subtracts elapsed wall time |
| TPW-EXE:0x54fb20 positive before draw | source/OpenTPW/Hud/EyeModeStaticTransition.cs:27 | [BIN:TPW-EXE:0x54fb20 positive before draw] the current frame keeps static even when its elapsed interval exhausts the budget. |
| TPW-EXE:0x54fe23 restart request | source/OpenTPW/Client/GameFlow.Restart.cs:134 | [BIN:TPW-EXE:0x54fe23 restart request] request 1 sets state 13 (0x54fe23), which only advances to state 14; state 14 (the code at 0x55035a) runs 0x5996D0(1), loads <save>\restart through 0x5AC5F0 (name 0x878A68) and returns to state 10 (0x550371) with the request cleared (0x55037b); no state-15 write follows |
| TPW-EXE:0x550B30 restart save | source/OpenTPW/Client/GameFlow.Restart.cs:102 | [BIN:TPW-EXE:0x550B30 restart save] state 15 writes <save>\restart.INTS through the payload writer 0x4164C0 (Sound block 0x51C350: the shadows at 0x803AA0 as the park started); the restart (state 14) reloads it through 0x414D40, whose Sound block loader 0x51C400 copies them back |
| TPW-EXE:0x550B30 restart save | source/OpenTPW/Client/GameFlow.Resume.cs:104 | [BIN:TPW-EXE:0x550B30 restart save] Restart Park plays at the sound values the park started with again (GameFlow.restartSound) |
| TPW-EXE:0x550ca0 GameType | source/OpenTPW/FrontEnd/FrontEndMenu.cs:172 | [EXT:no-player-profiles] OpenTPW has no player profiles, so Game Mode is asked on every park entry and each entry starts a new park. The original keeps the mode per player (STP-PPC 0x1015D220/0x1013741C): [BIN:TPW-EXE:0x550ca0 GameType] derives it from bits 0x2000000 (2) and 0x1000000 (1) of the flags word 0x7a1a8c, which a front-end toggle (0x4bbf63..0x4bbf9f) sets, and resumes the player's per-theme autosave (path pieces "save" 0x747a2c, "users" 0x747a3c, "autosave" 0x747a58); a design decision |
| TPW-EXE:0x550e00 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:229 | [BIN:TPW-EXE:0x550e00] a type 1 record goes to the placed submit 0x51c130(0, category, effect, x/1024, y/1024, z/1024, range*2/1024); the library plays a sentence as a sentence |
| TPW-EXE:0x550e00 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:480 | [BIN:TPW-EXE:0x550e00] a type 3 record: 0x51bfc0(0, global cat_ambient, word 2, x, y, z) bound by 0x51c5d0 to the rectangle x..x+w7, z..z+w8 (w8 negative in every shipped record) |
| TPW-EXE:0x550e00 scape.omp loader | source/OpenTPW/Audio/GameAudio.cs:440 | [BIN:TPW-EXE:0x550e00 scape.omp loader] type 1 records go to the placed submit 0x51c130(0, global or level ambient, effect, x/1024, y/1024, z/1024, range*2/1024), each coordinate divided toward zero (0x550f1c-0x550f4d): the same play message as 0x51bfc0 plus a range, so the library picks its player from the event flags and a sentence plays as a positioned sentence; the returned handle is discarded; type 3 records submit 0x51bfc0 and then bind a rectangle (0x51c5d0) |
| TPW-EXE:0x550e00 scape.omp type 2 | source/OpenTPW/World/Level.PlacedParticles.cs:12 | [BIN:TPW-EXE:0x550e00 scape.omp type 2] the loader (called once per level load from 0x407f20, on <level>\Scape.omp) reads each record's fifteen words and, for a type 2, calls 0x521E60(word 1, word 3, word 4, word 5): the effect and its place in 1/1024 units, the handle dropped; Jungle's one record is effect 20 (P_EFFECT_WaterFall) at (545100, 5000, 538700), which every saved jungle pool holds as a live emitter |
| TPW-EXE:0x550e00 scape.omp type 2 | source/OpenTPW/World/Particles/ParticleRendererModule.cs:200 | [BIN:TPW-EXE:0x550e00 scape.omp type 2] 0x521E60(effect, x, y, z) with the record's words, no conversion |
| TPW-EXE:0x550e00 scape.omp type 3 | source/OpenTPW/Audio/GameAudio.cs:501 | [BIN:TPW-EXE:0x550e00 scape.omp type 3] the loader submits 0x51bfc0(0, global (word 1 nought) or level cat_ambient, word 2, words 3-5 / 1024) and binds the returned handle with 0x51c5d0(handle, x, z, w7 / 1024, w8 / 1024): the voice then plays at the clamp of the listener's place into [x, x + w7] by [z, z + w8] (RectangleSoundPlace) |
| TPW-EXE:0x551130 / 0x556af0 | source/OpenTPW.Tests/PlacedEventAudioOriginTests.cs:148 | [BIN:TPW-EXE:0x551130 / 0x556af0] STARTSCREAM and SINGLESCREAM are positioned at the footprint middle (0x466b70), not flat |
| TPW-EXE:0x551130 STARTSCREAM submit | source/OpenTPW/Audio/GameAudio.cs:799 | [BIN:TPW-EXE:0x551130 STARTSCREAM submit] the held scream is positioned: cat_kids 0x47-0x4A at (x, y, z) with parameter 6 = clamp((a + b) / 2, 0, 100); the place is the ride's footprint middle (0x555edb -> 0x551130, SINGLESCREAM 0x555f1b -> 0x556af0 -> 0x551320; 0x466b70 reads the footprint rectangle at object +0xC0/+0xC4, scaled x10) |
| TPW-EXE:0x551320 | source/OpenTPW.Tests/RepairHideAudioTests.cs:135 | [BIN:TPW-EXE:0x551320] band 0 is silent, 1 picks event 75, 2-3 (and negative) 79, 4-7 83 and 8 up 87; the band is [[vm+0x1c]+0x14], variable slot 5 (0x55637a) |
| TPW-EXE:0x5516B0 script speed | source/OpenTPW/World/Coasters/CoasterRide.cs:1555 | [BIN:TPW-EXE:0x5516B0 script speed] after each slice the cadence selects (one pass in eight by script id unless its TURBO byte is set, 0x5516E1; the call at 0x5517EA), a script whose +0xE0 holds a coaster slot calls 0x43B2B0(slot, the signed word +0xC0), so after a load the speed word applies after the station script's first slice; 0x43B2B0 looks the controller up in 0x790BD0 and, when the word differs from the setting +0x30, calls 0x43C3D0, which stores the setting and the cap and marks the controller dirty (0x4346C0); the rebuild that follows has 0x4000 clear (the first rebuild after the load cleared it), so its rating pass counts the trains again and lays them out from train 0's last car (0x43C1F0), whose +0x40 the first frame's motion tick 0x43CE20 rewrote from the saved +0x74 without moving the train (that tick takes no time, 0x43CE85; UpdateFirstFrameAfterLoad) |
| TPW-EXE:0x5516b0 bumper performance | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:490 | [BIN:TPW-EXE:0x5516b0 bumper performance] the script loop pushes the script's speed bias (RideVM.SpeedBias, the ride's InitSpeed; 50 at creation) to the bumper controller every pass (0x545180) |
| TPW-EXE:0x5516b0 script speed word | source/OpenTPW/Audio/GameAudio.cs:800 | [BIN:TPW-EXE:0x5516b0 script speed word] the speed word is the script's speed bias (RideVM.SpeedBias, the ride's InitSpeed; default 50 at 0x558c3c), the same short the script loop pushes to the ride every pass |
| TPW-EXE:0x551701 slice start | source/OpenTPW/VM/RideVM.cs:318 | [BIN:TPW-EXE:0x551701 slice start] the pass clears the global critical flag (0x87919C) before it hands the slice budget (+0x94, the header time slice) to the counter +0x98; the only reader is the loop below. A waiting script re-executes its wait in every slice, which also clears the flag |
| TPW-EXE:0x551719 slice loop | source/OpenTPW/VM/RideVM.cs:331 | [BIN:TPW-EXE:0x551719 slice loop] while the counter is above 0 and the pc is valid, one instruction runs (0x551cb0) and the counter falls by one only while the flag is 0 (0x551724..0x551730): CRIT_LOCK (0x551D44) sets the flag, so instructions from the lock on are free, and CRIT_UNLOCK (0x551D59) clears it and zeroes the counter (+0x98), ENDSLICE (0x5542A8) zeroes it too, and a wait rewinds the pc and ends the slice |
| TPW-EXE:0x551724 critical flag | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1366 | [BIN:TPW-EXE:0x551724 critical flag] the original's host side never looks at the critical flag (its only reader is the slice loop); the admission method writes VAR_LETMEON whenever it is 0, whatever the script is doing |
| TPW-EXE:0x551769 script speed | source/OpenTPW/VM/RideVM.cs:838 | [BIN:TPW-EXE:0x551769 script speed] speed = 0.5 + bias / 100; the bias is the ride's SPEED: ride init 0x4db51c..0x4db54c, children copy the parent's (0x551888), creation default 50 (0x558c3c), setter 0x55a300. |
| TPW-EXE:0x5517D7 slice tail | source/OpenTPW/VM/RideVM.cs:297 | [BIN:TPW-EXE:0x5517D7 slice tail] after the slice loop (0x551719..0x55173C), on every pass the cadence 0x5516E1 selects, the loop body passes the script's words to its object's controllers whether or not instructions ran (a halted script reaches it through 0x5516FF): the speed word +0xC0 to the coaster in the slot +0xE0 (0x43B2B0, 0x5517EA), among others |
| TPW-EXE:0x55189D | source/OpenTPW.Tests/ParticleEventRequestTests.cs:304 | [BIN:TPW-EXE:0x55189D] every pass of the object loop moves the type 1 and 2 records with a key (0x51FE30), and turns type 2 (0x51FD90) |
| TPW-EXE:0x55189D ADDOBJ follow | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:130 | [BIN:TPW-EXE:0x55189D ADDOBJ follow] the object pass 0x5516B0 walks the records on every run (before the 8-pass script gate): with key +0x10 >= 0, type 1 calls 0x51FE30(handle, ftol(x) << 10, ftol(y) << 10, ftol(z) << 10) from the node's matrix +0x30/+0x34/+0x38 (0 without a matrix); type 2 does the same and then 0x51FD90 with the node's +0x20 row normalised (negated with the entry's bit 0x10, (0, 0, 1) without a matrix, 0x551B30) times 1024 |
| TPW-EXE:0x55189D ADDOBJ follow | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:415 | the object pass then moves the kept ADDOBJ effects to their keys ([BIN:TPW-EXE:0x55189D ADDOBJ follow]) |
| TPW-EXE:0x55190F | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:95 | [BIN:TPW-EXE:0x55190F] ftol (chop) of each float, then << 10 |
| TPW-EXE:0x55190F ADDOBJ follow position | source/OpenTPW/World/Particles/ParticleRendererModule.cs:119 | [BIN:TPW-EXE:0x55190F ADDOBJ follow position] ftol of each matrix float (chop), shifted left by 10: whole units only; [BIN:TPW-EXE:0x5519D8] the type-2 direction times 1024 through ftol |
| TPW-EXE:0x5519D8 | source/OpenTPW/World/Particles/ParticleRendererModule.cs:119 | [BIN:TPW-EXE:0x55190F ADDOBJ follow position] ftol of each matrix float (chop), shifted left by 10: whole units only; [BIN:TPW-EXE:0x5519D8] the type-2 direction times 1024 through ftol |
| TPW-EXE:0x551A1C sound follow | source/OpenTPW.Tests/HeldSoundTests.cs:202 | [BIN:TPW-EXE:0x551A1C sound follow] ((script id) xor (pass counter)) & 7 == 0 moves the sound to its node (0x51C270); a negative key never moves |
| TPW-EXE:0x551A1C sound follow | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:50 | [BIN:TPW-EXE:0x551A1C sound follow] the object pass 0x5516B0 walks the records of every script after its slice; for types 3-10 with key (+0x10) >= 0 and ((script id +8) xor pass counter 0x8791A4) & 7 == 0 it reads the key's node matrix (+0x30/+0x34/+0x38, the node found at ADDOBJ time in +0x14) and calls 0x51C270(handle, ftol(x), ftol(y), ftol(z)); a key below 0 is skipped (0x5518A0), and the particle types follow on every pass (FollowParticleObjects) |
| TPW-EXE:0x551A1C sound follow | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:417 | and the kept sounds, every eighth pass per script ([BIN:TPW-EXE:0x551A1C sound follow]) |
| TPW-EXE:0x551ABC script end | source/OpenTPW/VM/RideVM.cs:391 | [BIN:TPW-EXE:0x551ABC script end] the pass destroys a script whose program counter went negative; its destructor (0x558500) ends the records the script still holds |
| TPW-EXE:0x551D44 CRIT_LOCK | source/OpenTPW/VM/Handlers/Scheduling.cs:11 | [BIN:TPW-EXE:0x551D44 CRIT_LOCK] sets the global critical flag (0x87919C) to 1; the only reader is the slice loop (0x551724), which stops counting instructions against the slice budget while the flag is set; nothing in the host or the game reads it |
| TPW-EXE:0x551D59 CRIT_UNLOCK | source/OpenTPW/VM/Handlers/Scheduling.cs:15 | [BIN:TPW-EXE:0x551D59 CRIT_UNLOCK] clears the flag and sets the slice counter (+0x98) to 0, so it always ends the slice |
| TPW-EXE:0x551F5F | source/OpenTPW.Tests/ParticleEventRequestTests.cs:226 | [BIN:TPW-EXE:0x551F5F] ADDOBJ type key effect slot; types 1 and 2 start particle effects through the EVENT dispatcher with control 1000 |
| TPW-EXE:0x551F5F ADDOBJ | source/OpenTPW.Tests/HeldSoundTests.cs:133 | [BIN:TPW-EXE:0x551F5F ADDOBJ] [BIN:TPW-EXE:0x557970 record] types 3-9 submit the event like EVENT and keep the handle under the slot operand |
| TPW-EXE:0x551F5F ADDOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:20 | [BIN:TPW-EXE:0x551F5F ADDOBJ] operands type, key, event, slot; one 0x1C-byte record on the script's list; 0x557970 calls the dispatcher 0x5573D0, which for types 3-9 resolves the key (0x556B90, selector 0x200) and submits 0x51BFC0(0, the type's category, event, the place truncated to whole units), and keeps the record only for a non-zero handle (0x5579F9; a zero handle frees it again, 0x557A0A) |
| TPW-EXE:0x551F5F ADDOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:106 | [BIN:TPW-EXE:0x551F5F ADDOBJ] operands type, key, effect (each a signed word), slot; control 1000; 0x557970 calls the dispatcher 0x5573D0 and keeps the record (a zero handle frees it) |
| TPW-EXE:0x5520E8 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:261 | [BIN:TPW-EXE:0x5520E8] ADDOBJ_EXT type key effect control slot: the control operand replaces ADDOBJ's 1000 |
| TPW-EXE:0x5520E8 ADDOBJ_EXT | source/OpenTPW.Tests/HeldSoundTests.cs:147 | [BIN:TPW-EXE:0x5520E8 ADDOBJ_EXT] type key event control slot: the sound types ignore the control |
| TPW-EXE:0x5520E8 ADDOBJ_EXT | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:21 | [BIN:TPW-EXE:0x5520E8 ADDOBJ_EXT] the control operand is read in place of 1000 and ignored by the sound types (only the particle types apply it, 0x5575B6) |
| TPW-EXE:0x5520E8 ADDOBJ_EXT | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:107 | [BIN:TPW-EXE:0x5520E8 ADDOBJ_EXT] opcode 9: operands type, key, effect, control, slot (an immediate is a signed word, a variable its whole value); the same record and 0x557970 call with the control operand in place of 1000, which the dispatcher sets on the emitter when it is not 1000 (0x51FFD0) |
| TPW-EXE:0x5522C5 KILLOBJ | source/OpenTPW.Tests/HeldSoundTests.cs:257 | [BIN:TPW-EXE:0x5522C5 KILLOBJ] every record with the slot: the sound stops at once (0x51C2C0) and the record is freed |
| TPW-EXE:0x5522C5 KILLOBJ | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:199 | [BIN:TPW-EXE:0x557970 ADDOBJ record] case 10's handle is kept like those of types 3-9; [BIN:TPW-EXE:0x5522C5 KILLOBJ] types 3-10 end it |
| TPW-EXE:0x5522C5 KILLOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:73 | [BIN:TPW-EXE:0x5522C5 KILLOBJ] types 3-10 call 0x51C2C0(handle): the library finds the voice by its handle (0x6B6830) and stops it at once (the type-3 message, 0x6B89B0), a handle already gone does nothing |
| TPW-EXE:0x5522C5 KILLOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:108 | [BIN:TPW-EXE:0x5522C5 KILLOBJ] every record with the slot: types 1 and 2 call 0x51FF70(handle, -2) |
| TPW-EXE:0x5522C5 KILLOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1078 | [BIN:TPW-EXE:0x5522C5 KILLOBJ] [BIN:TPW-EXE:0x5523D0 FADEOBJ] every record with the slot ends: types 1-2 through 0x51FF70(handle, -2), types 3-10 stop or release a quality-enabled fade tail (OriginalObjectRuntime.EndHeldSounds) |
| TPW-EXE:0x5523D0 FADEOBJ | source/OpenTPW.Tests/HeldSoundTests.cs:290 | [BIN:TPW-EXE:0x5523D0 FADEOBJ] types 3-10: 0x51C300 -> 0x6B8930, which takes the stop call 0x6B89B0 while the library's 0x400 bit is clear (SoundQuality 0); types 1-2: 0x51FF70(handle, -2) |
| TPW-EXE:0x5523D0 FADEOBJ | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1078 | [BIN:TPW-EXE:0x5522C5 KILLOBJ] [BIN:TPW-EXE:0x5523D0 FADEOBJ] every record with the slot ends: types 1-2 through 0x51FF70(handle, -2), types 3-10 stop or release a quality-enabled fade tail (OriginalObjectRuntime.EndHeldSounds) |
| TPW-EXE:0x5523D0 FADEOBJ,0x6B8930 | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:74 | [BIN:TPW-EXE:0x5523D0 FADEOBJ,0x6B8930] quality > the configured threshold posts ratio 60; otherwise stop immediately. |
| TPW-EXE:0x5524D9 SETOBJPARAM | source/OpenTPW.Tests/HeldSoundTests.cs:391 | [BIN:TPW-EXE:0x5524D9 SETOBJPARAM] types 3-10: 0x51BC40(handle, code, value) -> the voice's SetParameter (0x6BBB80); the bus engine's code 20 is bound to the pitch here |
| TPW-EXE:0x5524D9 SETOBJPARAM | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:89 | [BIN:TPW-EXE:0x5524D9 SETOBJPARAM] types 3-10 call 0x51BC40(handle, code, value) -> 0x6B6620, which finds the voice by its handle and calls its vf+0x28 (0x6BBB80, SoundSentence.SetParameter); the record keeps the handle the call returns (0 when the voice is gone), types 1-2 are skipped |
| TPW-EXE:0x5524D9 SETOBJPARAM | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1085 | [BIN:TPW-EXE:0x5524D9 SETOBJPARAM] the sound records of the slot get the parameter call (code, value); the particle records are skipped |
| TPW-EXE:0x552615 RSE EVENT | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:98 | [BIN:TPW-EXE:0x552615 RSE EVENT] fire and forget: dispatcher 0x5573D0 with control 1000 (EVENT_EXT: its operand), the handle is discarded and the effect does not follow the node |
| TPW-EXE:0x552707 EVENT_EXT | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:95 | [BIN:TPW-EXE:0x552707 EVENT_EXT] opcode 14: type, key, effect and control (an immediate is a signed word, a variable its whole value); the dispatcher sets a control other than 1000 on the emitter (0x51FFD0) |
| TPW-EXE:0x552707 EVENT_EXT | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1091 | [BIN:TPW-EXE:0x552707 EVENT_EXT] the same dispatcher 0x5573D0 with the fourth operand as the control; only the particle types act on it, the sound types ignore it |
| TPW-EXE:0x552972 TRIGANIM flags | source/OpenTPW/VM/Handlers/Animation.cs:24 | [BIN:TPW-EXE:0x552972 TRIGANIM flags] the trigger family keeps the adjusted result in the flag word (+0x48) and writes it to a variable out operand from there (0x552972, 0x55299A; TRIGANIMSPEED 0x552F96, TRIGANIM_CH 0x5531B0, TRIGWAITANIM 0x552D5C, TRIGWAITANIM_CH 0x553644): the flags follow the out value (at least 300, so positive) |
| TPW-EXE:0x55320A WAITANIM_CH clock | source/OpenTPW/VM/RideVM.cs:159 | [BIN:TPW-EXE:0x55320A WAITANIM_CH clock] the PC handler (jump table 0x5567d8, opcode 24) adds the clock (0x402D70 on 0x785970) to max(ret - 300, 300) (unsigned compare against 0x12c at 0x553348) as a wrapping 32-bit sum and stores it at +0xa0 (0x553371), so a clip under 300 ms gives a deadline that lies in the past only once the clock exceeds the shortfall; the original's clock is the time since program start where this world's starts at 0, which can only show for a WAITANIM_CH inside a park's first 134 ms, and none of the 308 Theme Park World and 282 Theme Park Inc scripts issues WAITANIM_CH (RideClockCorpusTests), so the origin cannot be observed (RIDES-044 retired) |
| TPW-EXE:0x5535c7 TRIGWAITANIM compare | source/OpenTPW/VM/Handlers/Animation.cs:183 | [BIN:TPW-EXE:0x5535c7 TRIGWAITANIM compare] Without an object both wait handlers (0x5535c7..0x5535d4 and 0x552cd3) compare the out operand's raw code word + 1 with the token. The loader 0x5587f0 stores code raw and operands decode as variable when (word & 0xff000000) == 0x40000000, else as the sign-extended low 16 bits: a literal word 0x0000vvvv resumes once v equals the triggered AnimID, a variable word never matches (the Mac rule's tag 0xC0 is the same never-equal case). |
| TPW-EXE:0x553783 WAIT | source/OpenTPW/VM/RideVM.SavedState.cs:12 | [BIN:TPW-EXE:0x553783 WAIT] with the deadline word (+0xA0) at 0 the handler stores clock + trunc(operand / speed), rewinds the program counter to the instruction (-2) and yields; with it set the instruction runs again each pass and continues, clearing the word, once the clock is not below it. WAITABS (0x553828), WAITANIM (0x5529BC) and WAITANIM_CH (0x55320A) share the word and the rewind; so a saved program counter on one of them, with a deadline, is a script inside its wait |
| TPW-EXE:0x553828 | source/OpenTPW/VM/Handlers/Scheduling.cs:56 | [BIN:TPW-EXE:0x553828] the test is unsigned (now <u deadline), so the remaining wait is the unsigned 32-bit difference even when the deadline is past the 2^32 ms wrap of the clock word; the clock's fraction is already spent inside the current millisecond. |
| TPW-EXE:0x5539A9 JSR | source/OpenTPW/VM/RideVM.cs:599 | [BIN:TPW-EXE:0x5539A9 JSR] stores (pc after the operand | 0x20000000; the pc +0x3C is a code-word index, so the stored word is the word offset of the next instruction) at heap[+0x40] and decrements +0x40 only while 0 <= +0x40 < size; otherwise the assert (0x5DA3C0 is a bare ret) does nothing and the jump to the operand still runs (0x553A0A..0x553A24), so a full stack jumps without pushing and a later RETURN comes back to an older address |
| TPW-EXE:0x5539F9 | source/OpenTPW.Tests/RideVMInternalsTests.cs:211 | [BIN:TPW-EXE:0x5539F9]: the assert is a no-op and the jump to the operand runs; the return address is not stored. |
| TPW-EXE:0x5539F9 JSR overflow | source/OpenTPW.Tests/RideVMTests.cs:387 | [BIN:TPW-EXE:0x5539F9 JSR overflow] a full stack does not fault: the assert is a no-op and the jump still runs, nothing is pushed |
| TPW-EXE:0x553A32 RETURN | source/OpenTPW/VM/RideVM.cs:611 | [BIN:TPW-EXE:0x553A32 RETURN] with a heap and -1 <= +0x40 < size - 1 the pointer rises and heap[+0x40] is read; otherwise the pc becomes -10000 (script dead, here a fault). Only a word whose high byte is 0x20 is jumped to (xor 0x20000000, 0x553A66..0x553A7C); the rest returns without touching the pc |
| TPW-EXE:0x553C1E PUSH | source/OpenTPW/VM/RideVM.cs:633 | [BIN:TPW-EXE:0x553C1E PUSH] heap[+0x40] = value, +0x40--, result = value while 0 <= +0x40 < size; otherwise assert (no-op), pc = -10000 and result = value |
| TPW-EXE:0x553CBA POP | source/OpenTPW/VM/RideVM.cs:644 | [BIN:TPW-EXE:0x553CBA POP] with -1 <= +0x40 < size - 1: +0x40++, value = heap[+0x40]; otherwise the value is 0 and pc = -10000; either way the shared tail 0x555939 writes the result register and a variable destination |
| TPW-EXE:0x553D25 HUSH | source/OpenTPW/VM/RideVM.cs:657 | [BIN:TPW-EXE:0x553D25 HUSH] heap[+0x44] = value, result (+0x48) = value, +0x44++ while 0 <= +0x44 < size (+0x54); on overflow the assert is a no-op and neither the array nor the result register changes |
| TPW-EXE:0x553DAA HOP | source/OpenTPW/VM/RideVM.cs:697 | [BIN:TPW-EXE:0x553DAA HOP] with +0x44 > 0 (the +0x40 <= size test at 0x553DE7 cannot fail): +0x44--, value = heap[+0x44], then the shared tail 0x555939 sets the result register and writes a variable destination; an empty heap asserts (no-op) and leaves the result register and the destination alone |
| TPW-EXE:0x553eb9 MULT | source/OpenTPW/VM/Handlers/Math.cs:59 | [BIN:TPW-EXE:0x553eb9 MULT] interpreter case 48 (RSSE jump table 0x5567d8 + 48 × 4): the destination word first, then operands a and b (a variable when the top byte is 0x40, else the sign-extended low 16 bits), result = a × b by imul (32-bit wrap), written to the flag word +0x48 and, through the shared tail 0x555b48, to the destination when it is a variable (a literal destination keeps only the flags) |
| TPW-EXE:0x5542B9 TURBO | source/OpenTPW/VM/RideVM.cs:127 | [BIN:TPW-EXE:0x5542B9 TURBO] stores cl (the low byte of the unresolved operand word, a variable operand stores its index byte) at +0xB8; the pass at 0x5516E1 reads the byte (nonzero = the script runs its slice on every pass, zero = only on the passes selected by +8 xor the pass counter & 7) |
| TPW-EXE:0x554B0F result tail | source/OpenTPW/VM/Handlers/Scheduling.cs:65 | [BIN:TPW-EXE:0x554B0F result tail] GETTIME ends in the shared tail that puts the value in the flag word (+0x48) and then, for a variable destination, in the variable |
| TPW-EXE:0x554DE5 LIMBO | source/OpenTPW/VM/RideVM.cs:713 | [BIN:TPW-EXE:0x554DE5 LIMBO] size (+0x58) <= 0: result 0. Otherwise the first slot whose value word is 0 (0x554E8E) gets the value and expiry = clock (0x402D70 on timer 0x785970, as GETTIME) + seconds * 1000 as a wrapping 32-bit sum (0x554EC3..0x554ECC, 125 * 8), count (+0x60)++ and result 1; no free slot: result 0, nothing stored. A value of 0 leaves its slot "free" but still counts |
| TPW-EXE:0x554EF0 UNLIMBO | source/OpenTPW/VM/RideVM.cs:729 | [BIN:TPW-EXE:0x554EF0 UNLIMBO] slots in index order; an occupied one (value != 0) whose expiry is below the clock as signed words (jl at 0x554F3A) is released through 0x5567BF: count--, the value word cleared in place (the expiry stays), result = the value |
| TPW-EXE:0x554F74 FORCEUNLIMBO | source/OpenTPW/VM/RideVM.cs:743 | [BIN:TPW-EXE:0x554F74 FORCEUNLIMBO] needs a variable destination (any other operand returns before anything happens, 0x554FA6); the first slot with value != 0 (0x554FBA) is released as UNLIMBO does (0x554FC9..0x554FE8), none gives 0; the result register and the variable get the value |
| TPW-EXE:0x555012 INLIMBO | source/OpenTPW/VM/RideVM.cs:760 | [BIN:TPW-EXE:0x555012 INLIMBO] the result is the count (+0x60); [BIN:TPW-EXE:0x555045 LIMBOSPACE] the result is size (+0x58) - count (+0x60), negative for a table overfilled by LIMBO 0 |
| TPW-EXE:0x555045 LIMBOSPACE | source/OpenTPW/VM/RideVM.cs:760 | [BIN:TPW-EXE:0x555012 INLIMBO] the result is the count (+0x60); [BIN:TPW-EXE:0x555045 LIMBOSPACE] the result is size (+0x58) - count (+0x60), negative for a table overfilled by LIMBO 0 |
| TPW-EXE:0x555282 SETVARINCHILD | source/OpenTPW/VM/Handlers/Children.cs:20 | [BIN:TPW-EXE:0x555282 SETVARINCHILD] two resolved operands (`variable value`). The child is the script whose id the script keeps at +0xC (0: the handler leaves at once, flags untouched); a variable index at or above the child's variable count does nothing either (0x5554CA: a signed compare, so a negative index is a write before the array, which the VM refuses as a fault). A write also sets the flags to the value (0x5554E4) |
| TPW-EXE:0x555349 GETVARINCHILD | source/OpenTPW/VM/Handlers/Children.cs:25 | [BIN:TPW-EXE:0x555349 GETVARINCHILD] the destination is the first operand, raw: a literal leaves at once; then as SETVARINCHILD for the child lookup and the index; the value goes to the flags (0x5555C5) and the variable (0x5555CB) |
| TPW-EXE:0x555402 SETVARINPARENT | source/OpenTPW/VM/Handlers/Children.cs:30 | [BIN:TPW-EXE:0x555402 SETVARINPARENT] the same with the parent id at +0x10 |
| TPW-EXE:0x5554F2 GETVARINPARENT | source/OpenTPW/VM/Handlers/Children.cs:35 | [BIN:TPW-EXE:0x5554F2 GETVARINPARENT] the same with the parent id at +0x10 |
| TPW-EXE:0x555939 result tail | source/OpenTPW/VM/Handlers/Visitors.cs:49 | [BIN:TPW-EXE:0x555939 result tail] the result register (flags) takes the value and a variable destination is written; a literal destination only sets the flags |
| TPW-EXE:0x555B72 WALKST_FLOAT | source/OpenTPW/VM/Handlers/Visitors.cs:84 | [BIN:TPW-EXE:0x555B72 WALKST_FLOAT] three resolved operands, no effect: 0x557160 stores the clock at +0x80, the first operand x 1000 at +0x84 and the low words of the other two at +0x88 and +0x8A (the swing of the floating body, which only the render pass 0x5581D4 reads) |
| TPW-EXE:0x555B72 WALKST_FLOAT | source/OpenTPW/VM/RideVM.cs:84 | [BIN:TPW-EXE:0x555B72 WALKST_FLOAT] script +0x80 (the start on the 32-bit clock), +0x84 (the duration in ms, 0 = not floating) and the two words at +0x88 and +0x8A; all zero at creation |
| TPW-EXE:0x555BD8 WALKFLOATSTAT | source/OpenTPW/VM/Handlers/Visitors.cs:88 | [BIN:TPW-EXE:0x555BD8 WALKFLOATSTAT] the flag word takes the duration word (+0x84) and a variable destination is written; the render pass clears the word once the clock is past start + duration (0x558051..0x558077) |
| TPW-EXE:0x555C11 WALKFLOATSTOP | source/OpenTPW/VM/Handlers/Visitors.cs:92 | [BIN:TPW-EXE:0x555C11 WALKFLOATSTOP] with a duration set: the share spent in thousandths moves the start back from now and the duration becomes 1000; without one nothing happens (no flags) |
| TPW-EXE:0x555C7A ENABLELIGHT | source/OpenTPW/World/Objects/ObjectLights.cs:113 | [BIN:TPW-EXE:0x555C7A ENABLELIGHT] the light dummy (class 0x20000, number `light`) is looked up with 0x44B220 and its record taken with 0x4587B0; the off flag 0x10000000 of the record's type word is cleared (ENABLELIGHT) or set (DISABLELIGHT 0x555CCD, 0x458940), then the model's lights are marked dirty |
| TPW-EXE:0x555D20 SETLIGHT | source/OpenTPW/World/Objects/ObjectLights.cs:114 | [BIN:TPW-EXE:0x555D20 SETLIGHT] colour = base colour x level x 0.01 for red, green and blue, alpha 1.0 (0x4587E0), stored as floats at +0x04..+0x10 (which 0x5741B0 reads) and as a packed ARGB word at +0x54; COLOURLIGHT 0x555D9A (0x458890): each operand x 0.01 |
| TPW-EXE:0x555FDA SCREAMLEVEL | source/OpenTPW.Tests/AudioIntegrationTests.cs:274 | [BIN:TPW-EXE:0x555FDA SCREAMLEVEL] 0x551290(handle, level, speed word) sets the held voice's parameter to clamp((level + speed) / 2, 0, 100); without a handle nothing happens |
| TPW-EXE:0x555FDA SCREAMLEVEL | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1057 | [BIN:TPW-EXE:0x555FDA SCREAMLEVEL] one resolved operand: 0x551290(the script's scream handle (+0xD0), level, the script speed word) does nothing without a handle and otherwise sets the held voice's parameter 6 (the one the chain's links are matched against, as at STARTSCREAM) to clamp((level + speed) / 2, 0, 100), truncating toward zero (0x5512A0..0x5512B7); the script keeps the handle the call returns. A script without a held scream is untouched |
| TPW-EXE:0x55601A FINDSCRIPTRAND | source/OpenTPW/VM/Handlers/Children.cs:57 | [BIN:TPW-EXE:0x55601A FINDSCRIPTRAND] the first operand must be a string (otherwise the flags are 0 and nothing else happens); the flags start at 0; the live scripts with that NAME are counted, and with none the destination stays as it was; otherwise the one at the 1-based index (the draw shifted right by one, as an absolute value, modulo the count, plus one: 0x5560CB) gives its id to the flags and a variable destination |
| TPW-EXE:0x55617F GETREMOTEVAR | source/OpenTPW/VM/Handlers/Children.cs:71 | [BIN:TPW-EXE:0x55617F GETREMOTEVAR] the flags are cleared first; the script comes from the id (0x55A070: none leaves with the destination untouched), a negative index or one at or above its variable count too; the value goes to the flags and a variable destination |
| TPW-EXE:0x556216 SETREMOTEVAR | source/OpenTPW/VM/Handlers/Children.cs:84 | [BIN:TPW-EXE:0x556216 SETREMOTEVAR] an unknown script id leaves at once; a negative index or one at or above the variable count logs (0x765B78) and does nothing; a write sets the flags to the value (0x55627E) |
| TPW-EXE:0x5562C5 | source/OpenTPW.Tests/RepairHideAudioTests.cs:109 | [BIN:TPW-EXE:0x5562C5] only the value 0 jumps away (je 0x55635F): every other value takes the sounds 0x6F and 0xD3 at the object's position (0x556A80) |
| TPW-EXE:0x5562C5 REPAIREFFECT | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1127 | [BIN:TPW-EXE:0x5562C5 REPAIREFFECT] a non-zero value plays the global cat_rides sounds 111 and 211 at the object's position (0x5562CD..0x556351); the value 0 jumps to 0x55635F and plays the band one-shot (cat_kids 75 family, 0x551320). The Mac handler (0x100B1E34) has the same two blocks, the pair first and the band sound at 0x100B1F78; the earlier port gave them the opposite values |
| TPW-EXE:0x5562C5 REPAIREFFECT polarity | source/OpenTPW/Audio/GameAudio.cs:1067 | [BIN:TPW-EXE:0x5562C5 REPAIREFFECT polarity] after the type's repair effect is switched (0x556DE0), `cmp esi, edi; je 0x55635F` sends the value 0 to the band sound and every other value falls through to the two sounds 0x6F and 0xD3 of the global ride category ([0x803A28], the category EVENT type 5 uses, 0x557875) at the object's position (0x556A80, each coordinate through __ftol). Earlier versions read the Mac code the other way round (REPAIREFFECT 1 as the band sound) |
| TPW-EXE:0x5562bd REPAIREFFECT | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1129 | [BIN:TPW-EXE:0x5562bd REPAIREFFECT] the type's repair particle effect is switched before the sounds (0x556DE0) |
| TPW-EXE:0x5562f6 | source/OpenTPW.Tests/RepairHideAudioTests.cs:88 | [BIN:TPW-EXE:0x5562f6] the hide sounds' coordinates go through __ftol (truncation) before 0x51bfc0 |
| TPW-EXE:0x55635F | source/OpenTPW.Tests/RepairHideAudioTests.cs:117 | [BIN:TPW-EXE:0x55635F] the value 0 submits the cat_kids one-shot of its band at the object's position (0x556A80), as the pair does for the other values |
| TPW-EXE:0x55635f REPAIREFFECT 0 | source/OpenTPW/Audio/GameAudio.cs:1068 | [BIN:TPW-EXE:0x55635f REPAIREFFECT 0] with more than five operands it calls 0x551320(band, 1, 1, x, y, z) at the object's position (0x556a80): the index (a + b) / 50 capped at 3 is 0 here, and the band is the word [[vm+0x1c]+0x14], the script's own variable slot 5 (the array [vm+0x1c] holds the script variables: the interpreter's variable operand 0x40000000 | n is stored at [vm+0x1c + 4n], 0x556408), which the standard ride scripts keep as VAR_ONRIDE; the family comes from it (0 silent, 1 -> 75, 2-3 and negative -> 79, 4-7 -> 83, >= 8 -> 87, all cat_kids 0x803a24; 0x551351-0x5514d8) |
| TPW-EXE:0x55637a repair band | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1132 | [BIN:TPW-EXE:0x55637a repair band] the band is the script's variable slot 5 (a script with fewer variables has none here, so it stays silent) |
| TPW-EXE:0x5563D5 GETCUSTPTCLCODE | source/OpenTPW/VM/Handlers/Effects.cs:83 | [BIN:TPW-EXE:0x5563D5 GETCUSTPTCLCODE] reads its destination raw, resolves the second operand and drops it, then stores the constant 0 (the interpreter's zero register) in the result word and the variable destination; the object type's custom particle code (0x4145E0 reads another field, the sound list EVENT type 10 uses) is not consulted |
| TPW-EXE:0x55641B SETTIMER | source/OpenTPW/VM/RideVM.SavedState.cs:13 | [BIN:TPW-EXE:0x55641B SETTIMER] +0xC4 = clock + operand (absolute); GETTIMER (0x55644D) returns max(0, +0xC4 - clock), so a saved timer word counts from the saved clock like the waits |
| TPW-EXE:0x55649C SETREVERB | source/OpenTPW/VM/RideVM.cs:135 | [BIN:TPW-EXE:0x55649C SETREVERB] stores the resolved operand as a dword at +0xD8 and nothing else; the reader is the main loop's 0x55A470 (ReverbSelector) |
| TPW-EXE:0x5564C0 DIPMUSIC | source/OpenTPW/VM/RideVM.cs:131 | [BIN:TPW-EXE:0x5564C0 DIPMUSIC] stores the low byte of the resolved operand at +0xB9, then passes the whole operand to 0x51E710, which keeps its low word as the global duck request (0x803AD0); the script destructor (0x558513) calls 0x51E710(0) when the byte is set, whatever other scripts requested |
| TPW-EXE:0x5564ED SPARK | source/OpenTPW/VM/Handlers/Effects.cs:66 | [BIN:TPW-EXE:0x5564ED SPARK] four resolved operands: the first two are stored as words at +0xDC and +0xDE, the key nodes they name (class 0x100, 0x556B90) are looked up and logged (0x5DA3C0); the third and fourth are read and dropped. Nothing reads the two words (the other +0xDC and +0xDE readers belong to the tour and bump controllers), so the opcode has no effect |
| TPW-EXE:0x5567B1 END | source/OpenTPW/VM/Handlers/Scheduling.cs:23 | [BIN:TPW-EXE:0x5567B1 END] sets the program counter to -10000 (the register the dispatcher keeps at 0xFFFFD8F0) and nothing else; the pass loop ends on an invalid counter (0x551719) and the script is destroyed at the end of the pass, so END ends the script cleanly where an invalid word faults it |
| TPW-EXE:0x556B90 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:278 | [BIN:TPW-EXE:0x556B90] key < 0: the box middle at the base height (0x466B70) |
| TPW-EXE:0x556B90 key lookup | source/OpenTPW/World/Objects/OriginalObjectRuntime.KeyTable.cs:13 | [BIN:TPW-EXE:0x556B90 key lookup] the key resolver reads the node's matrix (+0x30..+0x38 position, +0x20.. direction) out of the instance's key table, not out of the node hierarchy; the table is rebuilt by 0x44AB30 only at the refresh points of RefreshKeyPose |
| TPW-EXE:0x556B90 negative key | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:68 | [BIN:TPW-EXE:0x556B90 negative key] a negative key (or an object without a model) is the footprint box's middle at the object's base height (0x466B70, as the EVENT sounds use it), and (0, 0, 0) when the object has no box; the direction output is not written, so a type-2 effect would take the dispatcher's unset buffer (0x5573D0 local_c) |
| TPW-EXE:0x556B90 particle key resolver | source/OpenTPW/World/Particles/ParticleRendererModule.cs:293 | [BIN:TPW-EXE:0x556B90 particle key resolver] the pose is the key node's world position in original units (Y up), which ToOriginal recovers by undoing, constant for constant, the placement that made the engine pose (ObjectPlacement.ModelToEngine: 0.2 per unit, the grid origin, Z up); the constants cancel, so the native value does not depend on them, and it differs from the original's only by the float32 rounding of the engine pose (at most one native unit, 1/1024 of an original unit) |
| TPW-EXE:0x556B90 particle key resolver | source/OpenTPW/World/Particles/ParticleRendererModule.cs:302 | [BIN:TPW-EXE:0x556B90 particle key resolver] the direction is normalised and multiplied by 1024 |
| TPW-EXE:0x556BF1 | source/OpenTPW.Tests/ParticleKeyResolverTests.cs:123 | [BIN:TPW-EXE:0x556BF1] a key entry without a matrix (flags 0x30 clear) is a success at world position (0, 0, 0), not a refusal |
| TPW-EXE:0x556BF1 null key matrix | source/OpenTPW/World/Particles/ParticleKeyResolver.cs:73 | [BIN:TPW-EXE:0x556BF1 null key matrix] a key entry without a matrix (flags 0x30 clear) is a success at the world origin: position (0, 0, 0) and direction (0, 0, 1024) in world space, |
| TPW-EXE:0x556DE0 repair effect | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:77 | [BIN:TPW-EXE:0x556DE0 repair effect] the handler 0x5562a6 calls it (0x5562bd) before its sounds: value 0 kills the handle at +0xCC (0x51FF70, life -2) and clears it; otherwise reads the type's +0x68 and creates the effect at the box middle without sizing it, keeping the handle (a handle already there is overwritten, not ended); the script's destruction (0x55854b) kills it too |
| TPW-EXE:0x556a80 object position | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:22 | [BIN:TPW-EXE:0x556a80 object position] the repair sound's place is the owner object's position: the root node's matrix row 3 (+0x40/+0x44/+0x48 of [[[object+8]+4]+0x78]), sampled once at instruction time and never updated; the model origin's height here |
| TPW-EXE:0x556b90 | source/OpenTPW.Tests/EventKeyCensusTests.cs:11 | ([BIN:TPW-EXE:0x556b90]): how many resolve, and how many would play nothing. Skips without <c>OPENTPW_GAME_PATH</c>. |
| TPW-EXE:0x556b90 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:94 | [BIN:TPW-EXE:0x556b90] the key is resolved with selector 0x200 to the node's position; an unknown key logs "RSSE: Invalid Node ID" and nothing is submitted |
| TPW-EXE:0x556b90 EVENT anchor | source/OpenTPW.Tests/HeldSoundTests.cs:187 | [BIN:TPW-EXE:0x556b90 EVENT anchor] key >= 0: the node's place (selector 0x200) |
| TPW-EXE:0x556b90 EVENT anchor | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:56 | [BIN:TPW-EXE:0x556b90 EVENT anchor] called as (object, &position, 0, key, 0x200) by every sound type (3-9 from 0x5575c7 on, and 10 at 0x5576fb): key >= 0 looks the key up with selector 0x200 (0x44b220) and takes the node's position (+0x30/+0x34/+0x38), key < 0 the footprint middle at the model height (0x556d42); an unknown key logs "RSSE: Invalid Node ID" (0x556d2c), returns 0 and the dispatcher submits nothing (0x5575e5) |
| TPW-EXE:0x556b90, 0x44ab30, 0x463030 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:70 | [BIN:TPW-EXE:0x556b90, 0x44ab30, 0x463030] the key resolver reads the instance's key table, rebuilt at creation and by the render callback of a frame the scene drew the instance in |
| TPW-EXE:0x556d2c | source/OpenTPW.Tests/PlacedEventAudioOriginTests.cs:169 | [BIN:TPW-EXE:0x556d2c] an unknown key logs "RSSE: Invalid Node ID" and the dispatcher submits nothing |
| TPW-EXE:0x556d42 footprint middle height | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:37 | [BIN:TPW-EXE:0x556d42 footprint middle height] the EVENT anchor for a negative key takes x and z as the middles of 0x466b70's box and y from the root node's +0x44 alone, the same word 0x556a80 reads as the object's height, which is the base height here |
| TPW-EXE:0x5572EB WALKOFF action 2 | source/OpenTPW/World/Guests/RideVisitorBridge.cs:1690 | ([BIN:TPW-EXE:0x5572EB WALKOFF action 2]). Set by the ride's runtime for a tour ride. |
| TPW-EXE:0x5572EB WALKOFF action 2 | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:36 | [BIN:TPW-EXE:0x5572EB WALKOFF action 2] the node is looked up with the class 0x800 (0x556b90, the key resolver of the EVENT effects) and 0x521E60 is called with effect 0x13 and the node's position, each coordinate through ftol and shifted left by 10; the handle is not kept |
| TPW-EXE:0x557308 WALKOFF position | source/OpenTPW/World/Particles/ParticleRendererModule.cs:44 | [BIN:TPW-EXE:0x557308 WALKOFF position] the walk effect takes each coordinate through ftol and shifts it left by 10: whole units, as a kept ADDOBJ effect follows |
| TPW-EXE:0x5573D0 EVENT dispatcher | source/OpenTPW/World/Particles/ParticleRendererModule.cs:292 | [BIN:TPW-EXE:0x5573D0 EVENT dispatcher] world position * 1024.0 (constant 0x700FDC) through _ftol, which truncates |
| TPW-EXE:0x5573D0 dispatcher | source/OpenTPW/World/Particles/ParticleRendererModule.cs:43 | [BIN:TPW-EXE:0x5573D0 dispatcher] the key's world position * 1024 truncated (a key without a matrix is the world origin); a control other than 1000 is set after creation |
| TPW-EXE:0x5573D0 object dispatcher | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1071 | [BIN:TPW-EXE:0x5573D0 object dispatcher] no type outside 1-10 is served (0x557931 logs, the handle is 0 and the record is freed) |
| TPW-EXE:0x5573d0 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:98 | [BIN:TPW-EXE:0x5573d0] the node position is submitted truncated to whole units |
| TPW-EXE:0x5573d0 | source/OpenTPW.Tests/PlacedEventAudioOriginTests.cs:80 | [BIN:TPW-EXE:0x5573d0] every sound type truncates the anchor's coordinates with __ftol before 0x51bfc0 |
| TPW-EXE:0x5573d0 EVENT submit | source/OpenTPW/World/Objects/OriginalObjectRuntime.EventOrigin.cs:26 | [BIN:TPW-EXE:0x5573d0 EVENT submit] every sound type converts the anchor's three floats with __ftol (0x67a830, truncation) before 0x51bfc0, which turns the ints back into floats; the REPAIREFFECT sounds do the same (0x5562f6-0x55630a, 0x55639f-0x5563b3) |
| TPW-EXE:0x5575c7 EVENT sound | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1094 | [BIN:TPW-EXE:0x5575c7 EVENT sound] the key operand (the 2nd) picks the anchor (a model node, or the footprint middle for a negative key; an unknown key plays nothing) and the 3rd is the event id, for every sound type 3-9 |
| TPW-EXE:0x5575c7 RSE EVENT dispatch | source/OpenTPW/Audio/GameAudio.cs:1019 | [BIN:TPW-EXE:0x5575c7 RSE EVENT dispatch] the PC dispatcher submits type 3 to the level cat_rides (0x803a3c) and type 4 to the level cat_ambient with no handle check and no global retry (the submit 0x51bfc0 returns 0 for event id 0 or with sound off, 0x802bc8/0x802bd4; an empty category slot returns in 0x6b9b30) |
| TPW-EXE:0x557686 | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:215 | [BIN:TPW-EXE:0x557686] a type without the list logs 0x765E18 and returns 0 before 0x556B90 resolves the key |
| TPW-EXE:0x557686 ADDOBJ type 10 | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:31 | [BIN:TPW-EXE:0x557686 ADDOBJ type 10] the dispatcher takes the type's own category first: without one it logs 0x765E18 and returns handle 0, so the record is freed |
| TPW-EXE:0x557686 EVENT type 10 | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:177 | [BIN:TPW-EXE:0x557686 EVENT type 10] the type's own category, the key resolved as for types 3-9, 0x51BFC0 at the place truncated to whole units |
| TPW-EXE:0x557686 EVENT type 10 | source/OpenTPW/Audio/GameAudio.cs:1021 | [BIN:TPW-EXE:0x557686 EVENT type 10] case 10 submits to the object type's own category (type record +0x4F0, 0x4145E0) the same way, so its events are looked up in that category only |
| TPW-EXE:0x557686 EVENT type 10 | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:1104 | [BIN:TPW-EXE:0x557686 EVENT type 10] the thing's type (+0xAC through 0x7CFB90, 0x412E90) gives its own category (0x4145E0, +0x4F0); none logs 0x765E18 and submits nothing, before the key is looked at (0x55773F); otherwise the key resolves as for types 3-9 (0x556B90, selector 0x200; an unknown key submits nothing) and 0x51BFC0(0, the type's category, id, the place truncated to whole units) plays it |
| TPW-EXE:0x557970 ADDOBJ record | source/OpenTPW.Tests/ObjectTypeSoundsTests.cs:199 | [BIN:TPW-EXE:0x557970 ADDOBJ record] case 10's handle is kept like those of types 3-9; [BIN:TPW-EXE:0x5522C5 KILLOBJ] types 3-10 end it |
| TPW-EXE:0x557970 ADDOBJ record | source/OpenTPW/Audio/GameAudio.cs:1044 | [BIN:TPW-EXE:0x557970 ADDOBJ record] the dispatcher 0x5573D0 returns the submit's handle (0x51BFC0, 0 for event 0 or with the sound system off, 0x802BC8/0x802BD4) and 0x557970 keeps the record only when it is not 0 |
| TPW-EXE:0x557970 record | source/OpenTPW.Tests/HeldSoundTests.cs:133 | [BIN:TPW-EXE:0x551F5F ADDOBJ] [BIN:TPW-EXE:0x557970 record] types 3-9 submit the event like EVENT and keep the handle under the slot operand |
| TPW-EXE:0x558513 script destructor | source/OpenTPW/VM/RideVM.cs:404 | [BIN:TPW-EXE:0x558513 script destructor] a script whose DIPMUSIC byte is set writes the duck request 0 when it is destroyed |
| TPW-EXE:0x55854b script destructor | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:209 | [BIN:TPW-EXE:0x55854b script destructor] the repair effect's handle (+0xCC) ends with life -2 |
| TPW-EXE:0x558703 | source/OpenTPW.Tests/ParticleEventRequestTests.cs:243 | [BIN:TPW-EXE:0x558703] destroying the object ends the effects its ADDOBJ records hold |
| TPW-EXE:0x558703 object destructor | source/OpenTPW/World/Objects/OriginalObjectRuntime.ParticleRequests.cs:213 | [BIN:TPW-EXE:0x558703 object destructor] the object's ADDOBJ records of types 1 and 2 end their effects (0x51FF70 life -2); effects started by EVENT have no record and run on |
| TPW-EXE:0x558703 script destructor | source/OpenTPW.Tests/HeldSoundTests.cs:444 | [BIN:TPW-EXE:0x558703 script destructor] 0x558500 ends every record the script still holds (types 3-10 through 0x51C2C0) |
| TPW-EXE:0x558703 script destructor | source/OpenTPW/VM/RideScriptEffects.cs:74 | [BIN:TPW-EXE:0x558703 script destructor] 0x558500 ends every record the script still holds (types 1-2 through 0x51FF70(handle, -2), 3-10 through 0x51C2C0) and frees it; the pass destroys a script whose program counter has gone negative (END, 0x551ABC -> 0x559060) and a removed or stopped script is destroyed the same way |
| TPW-EXE:0x558703 script destructor | source/OpenTPW/World/Objects/OriginalObjectRuntime.HeldSounds.cs:98 | [BIN:TPW-EXE:0x558703 script destructor] every record the script holds ends (types 3-10 through 0x51C2C0) and is freed |
| TPW-EXE:0x558930 script heap | source/OpenTPW/VM/RideVM.cs:65 | [BIN:TPW-EXE:0x558930 script heap] one int array of the header stack size (script +0x20, element count +0x54) serves JSR/RETURN/PUSH/POP from the top (pointer +0x40 starts at size - 1 at 0x558bf5..0x558c04 and falls) and HUSH/HOP from the bottom (count +0x44 starts at 0); no handler checks the two ends against each other |
| TPW-EXE:0x558a01 limbo table | source/OpenTPW/VM/RideVM.cs:69 | [BIN:TPW-EXE:0x558a01 limbo table] header limbo size slots of {value, expiry} (script +0x24, slot count +0x58, zero-filled), occupied count +0x60 |
| TPW-EXE:0x558c3c script creation | source/OpenTPW/VM/RideVM.cs:827 | <summary>The creation value of <see cref="SpeedBias"/> ([BIN:TPW-EXE:0x558c3c script creation]).</summary> |
| TPW-EXE:0x558e7c build effect | source/OpenTPW/World/Level.Objects.cs:1891 | [BIN:TPW-EXE:0x558e7c build effect] the type's CreateParticleEffect starts when the new object's script attaches, not when a park loads |
| TPW-EXE:0x558e7c create | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:39 | [BIN:TPW-EXE:0x558e7c create] the script attach 0x5587F0 (from 0x4dcf90, with the flag DAT_00785a2c clear: not while a park loads) reads the type record's +0x60, and when it and the box (0x466B70) exist creates the effect with 0x521E60 at ((x0 + x1) * 0.5, the object's base height, (z0 + z1) * 0.5) * 1024, then sizes its volume with 0x520030 to (width * 512, (y1 - y0) * 256, depth * 512) >> 4 |
| TPW-EXE:0x558f53-0x558fac box sizing | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:44 | [BIN:TPW-EXE:0x558f53-0x558fac box sizing] the volume is sized with 0x520030 from the box 0x466B70 reads: (x1 - x0) x 512 and (z1 - z0) x 512 on the floor, and the box's y1 - y0 x 256 in the vertical, where y0 and y1 are the record's +0x1C and +0x28 (0x466B70 adds the object's base height to both, so it cancels); 0x451640 copies the record's six box floats (+0x18..+0x2C) into the model header's +0x80, the bounding box OpenTPW's ModelFile reads as BoundsMin and BoundsMax |
| TPW-EXE:0x5590f7 demolish effect | source/OpenTPW/World/Level.Objects.cs:90 | [BIN:TPW-EXE:0x5590f7 demolish effect] the type's DestroyParticleEffect starts at the footprint before the script goes, for every removal but a park load or clear |
| TPW-EXE:0x5590f7 destroy | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:40 | [BIN:TPW-EXE:0x5590f7 destroy] the kill 0x559060 (from the object's removal 0x4dd0a0, flags 7 while no park loads or clears, 0 in mode 2, 4 otherwise) reads +0x64 and runs the same creation only when the flag 0x2 is set (0x559102), before the script is torn down |
| TPW-EXE:0x559350 RSSE writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:559 | [BIN:TPW-EXE:0x559350 RSSE writer] 'RSSE', 0x14 and the header, five padding words, the record count and size, then per record the struct, eight counted buffers, the folder and the 'OBJ ' list |
| TPW-EXE:0x559350 RSSE writer | source/OpenTPW.Files/Formats/Save/SaveRsse.cs:193 | [BIN:TPW-EXE:0x559350 RSSE writer] [BIN:TPW-EXE:0x5597A0 RSSE loader] header at 0x8791A0, 0xF4-byte script struct, eight counted buffers, folder string, 'OBJ ' list of 0x1C-byte entries |
| TPW-EXE:0x559350 RSSE writer | source/OpenTPW/VM/RideScriptWorld.cs:207 | [BIN:TPW-EXE:0x559350 RSSE writer] the header is written raw from 0x8791A0 (0x14 bytes), then the records from the head of the list (0x8791B0) to its tail |
| TPW-EXE:0x559710 RSSE writer | source/OpenTPW.Tests/HeldSoundTests.cs:490 | [BIN:TPW-EXE:0x559710 RSSE writer] [BIN:TPW-EXE:0x559f44 RSSE loader] the original's save holds each script's records raw (type, handle, key, node, slot) and its loader links them back without |
| TPW-EXE:0x5597A0 RSSE loader | source/OpenTPW.Files/Formats/Save/SaveRsse.cs:193 | [BIN:TPW-EXE:0x559350 RSSE writer] [BIN:TPW-EXE:0x5597A0 RSSE loader] header at 0x8791A0, 0xF4-byte script struct, eight counted buffers, folder string, 'OBJ ' list of 0x1C-byte entries |
| TPW-EXE:0x5597A0 RSSE loader | source/OpenTPW/VM/RideScriptWorld.cs:206 | [BIN:TPW-EXE:0x5597A0 RSSE loader] the header (initialised flag, pass counter 0x8791A4, next id 0x8791A8, record count, list head) is read raw over 0x8791A0, so the saved pass counter and next id are the running ones; each record is then linked at the list's head (next = old head, 0x559886 onward), so the walk after a load runs the saved records in reverse of the file's order (the file is written head first) |
| TPW-EXE:0x5597A0 RSSE loader | source/OpenTPW/VM/RideVM.SavedState.cs:11 | [BIN:TPW-EXE:0x5597A0 RSSE loader] the struct is read raw over a fresh 0xF4-byte block (only the list links are kept), then the code, stack, variable, limbo, bounce, walk, string and node buffers are allocated and read; the program counter (+0x3C), stack pointer (+0x40), heap count (+0x44), result register (+0x48), the deadlines (+0xA0, +0xA4, +0xC4) and the other words stay exactly as saved |
| TPW-EXE:0x5597A0 RSSE loader | source/OpenTPW/World/Objects/SavedScriptImport.cs:9 | [BIN:TPW-EXE:0x5597A0 RSSE loader] the header's pass counter, next id and the records' ids are the saved ones; the loader links every record at the list's head, so the walk runs the saved scripts in reverse of the file's order (RideScriptWorld.ImportSaved) |
| TPW-EXE:0x559f44 RSSE loader | source/OpenTPW.Tests/HeldSoundTests.cs:490 | [BIN:TPW-EXE:0x559710 RSSE writer] [BIN:TPW-EXE:0x559f44 RSSE loader] the original's save holds each script's records raw (type, handle, key, node, slot) and its loader links them back without |
| TPW-EXE:0x55A0B0 script variable setter | source/OpenTPW/World/Objects/ObjectCatalog.cs:607 | [BIN:TPW-EXE:0x55A0B0 script variable setter] Theme Park World's setter has 45 direct call sites and its constructor (0x4DB090) writes only the duration (0x4DB633) and the closing (0x4DB779): it sets the |
| TPW-EXE:0x55A100 upgrade | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:41 | [BIN:TPW-EXE:0x55A100 upgrade] reads +0x6C and runs the same creation and sizing (then the upgrade sound, global cat_rides 0xB8 submitted through 0x51BFC0 at 0x55A2E5, wired as UpgradeSoundEvent); called from 0x4df8f0 when a repair job on a ride in upgrade mode (+0x19C == 2) finishes and its level is raised |
| TPW-EXE:0x55A100 upgrade effect | source/OpenTPW/World/Level.cs:1067 | [BIN:TPW-EXE:0x55A100 upgrade effect] the type's UpgradeParticleEffect starts when the upgrade is installed (0x4df8f0) |
| TPW-EXE:0x55A2E5 upgrade sound | source/OpenTPW/World/Level.cs:1069 | [BIN:TPW-EXE:0x55A2E5 upgrade sound] the same routine then plays the global cat_rides event 0xB8 at the footprint middle |
| TPW-EXE:0x55A470 reverb reader | source/OpenTPW/World/Objects/ReverbSelector.cs:15 | [BIN:TPW-EXE:0x55A470 reverb reader] the object is the ride camera's (0x42A4E0: camera byte 0x790AB0 bit 4 and 0x790988 set, 0x790A44); the script list (0x8791B0) is walked for a script whose owner (+0xC8) is that object, with no parent (+0x10) and a non-zero +0xD8; found: a level of 0 or more goes to 0x51C8D0, a negative one does nothing; not found, or no ridden object: 0x51C8D0(0x78578C) |
| TPW-EXE:0x55DE70 flying rides writer | source/OpenTPW.Files/Formats/Save/OriginalSavePayload.cs:544 | [BIN:TPW-EXE:0x55DE70 flying rides writer] 'FLY_', the on word and, when on, the counted slot array, ten words and the last word's byte count for every nonzero slot 1 to 98 |
| TPW-EXE:0x55a2e5 upgrade sound | source/OpenTPW.Tests/ObjectParticleEffectTests.cs:100 | [BIN:TPW-EXE:0x55a2e5 upgrade sound] 0x55a100 submits the global cat_rides (0x803a28) event 0xB8 at the truncated footprint middle, after the upgrade effect |
| TPW-EXE:0x55a2e5 upgrade sound | source/OpenTPW/World/Objects/OriginalObjectRuntime.ObjectEffects.cs:62 | [BIN:TPW-EXE:0x55a2e5 upgrade sound] 0x55a100 (from 0x4df8f0 when the upgrade is installed) returns early for a type whose +0x6C effect is 0 (0x55a199) or without the footprint box (0x466b70, 0x55a1bf); after the effect it submits the global cat_rides (0x803a28) event 0xB8 through 0x51bfc0 at ftol((x0 + x1) * 0.5), ftol(the root node's +0x44 height), ftol((z0 + z1) * 0.5) (0x55a1c5-0x55a2d7): the footprint middle of 0x556d42 |
| TPW-EXE:0x561A30 mesh view test | source/OpenTPW/World/Entity/ModelEntity.cs:90 | [BIN:TPW-EXE:0x561A30 mesh view test] the original clips the eight corners of the mesh record's box (widened by half its extent per side) and skips the mesh when all lie outside one plane; the exact vertex bounds used here are tighter, and every stored box of the corpus contains its vertices (Md2MeshBoundsCorpusTests), so only meshes wholly out of view are skipped |
| TPW-EXE:0x561BC0 box test | source/OpenTPW/World/Original/TerrainEyeViewFar.cs:24 | [BIN:TPW-EXE:0x561BC0 box test] the outcode of a transformed corner: the 7-bit index sW sZ (|w| < |z|) sY (|w| < |y|) sX (|w| < |x|), made of the sign bits and the compares of the magnitudes as integers (add reg, reg; adc), selects |
| TPW-EXE:0x564C00 header load, 0x574D3A texture type, 0x5755F0 texture flags | source/OpenTPW.Files/Formats/Image/TextureFile.AlphaType.cs:28 | [BIN:TPW-EXE:0x564C00 header load, 0x574D3A texture type, 0x5755F0 texture flags] the loader reads the 0x1C header into the image object and loads the alpha chunk (+0x20) only when header byte 2 (bits per pixel) is 0x20; the |
| TPW-EXE:0x564e20 header read, 0x593ab0 decode | source/OpenTPW.Files/Formats/Image/TextureFile.cs:52 | [BIN:TPW-EXE:0x564e20 header read, 0x593ab0 decode] the header's second short (offset 0xa) scales the second chroma plane and the third (0xc) the first: the loader pushes the |
| TPW-EXE:0x565490 triangle sort | source/OpenTPW/UI/Original/OriginalDepthSort.cs:10 | [BIN:TPW-EXE:0x565490 triangle sort] the same loop moving a six byte triangle record beside each float key; ORACLE.md X70 runs both unpatched |
| TPW-EXE:0x565590 | source/OpenTPW.Tests/ParticleOpaqueStateTests.cs:84 | [BIN:TPW-EXE:0x565590] state & the renderer's mask 0x3000: 0x1256 is drawn at once, 0x556, 0x200552 and 0x200522 are kept for the sorted list |
| TPW-EXE:0x565590 -> 0x565490 deferred batch | source/OpenTPW/World/Entity/ModelEntity.cs:113 | [BIN:TPW-EXE:0x565590 -> 0x565490 deferred batch] the triangles of a translucent part are drawn far to near by the sum of their corner depths |
| TPW-EXE:0x565590 immediate or kept | source/OpenTPW/World/Particles/ParticleRenderer.cs:17 | [BIN:TPW-EXE:0x565590 immediate or kept] a batch whose state has bit 0x1000 or 0x2000 (the opaque 0x1256 particles) is drawn when it is submitted; every other one (0x556, 0x200552, 0x200522) is kept with the mean depth of its vertices and drawn by 0x582AD0 far to near together with the translucent world faces (WorldPass) |
| TPW-EXE:0x565590 immediate or kept | source/OpenTPW/World/Particles/ParticleState.cs:73 | [BIN:TPW-EXE:0x565590 immediate or kept] the batch's state & the renderer's mask [[0x879AB0]+0xC] (0x3000, 0x5667D0) is not zero: drawn at once (0x56588A); else kept with the sum of its vertex depths (+0x30 over +0x20, 0x5656F3) for 0x582AD0 |
| TPW-EXE:0x565746 stashed record | source/OpenTPW/UI/Original/UiBatch.cs:155 | [BIN:TPW-EXE:0x565746 stashed record] an item whose texture has an alpha byte (state 0x556, not in the immediate states 0x1000 and 0x2000) is stashed and its surviving triangles (0x581320 keeps the clockwise ones: DrawIndices) sorted by depth sum (0x565490); all sums of a UI model are 0, so the sort leaves the permutation of ties (OriginalDepthSort). Opaque and cut-out items are drawn at once in file order |
| TPW-EXE:0x565F90 | source/OpenTPW.Tests/ParticleOpaqueStateTests.cs:208 | [BIN:TPW-EXE:0x565F90] the fog bit joins every batch the scene submits while bit 0x2000 is set: the world's blends all get it, a screen-space quad (w = 1) is left out |
| TPW-EXE:0x565F90 fog bit | source/OpenTPW/World/Particles/ParticleRenderer.cs:18 | [BIN:TPW-EXE:0x565F90 fog bit] every batch gets the state bit 0x100000 (D3DRS_FOGENABLE) while [0x8BCBC8] has 0x2000 (0x565FA6 to 0x565FB7), the particles too: the first-person views fog them with the engine's table fog |
| TPW-EXE:0x565F90 vertex colour | source/OpenTPW/World/Particles/ParticleRenderer.cs:444 | [BIN:TPW-EXE:0x565F90 vertex colour] the vertex diffuse is the particle's colour as it is (the batch's colour word [rec+8] ANDed with the all-ones mask [[0x87A248]+0x2C], 0x566019 to 0x56602D), whatever the blend: stage 0 modulates the texture's colour and alpha with it, |
| TPW-EXE:0x565f90 sky object colour | source/OpenTPW/World/Sky.cs:310 | [BIN:TPW-EXE:0x565f90 sky object colour] the corners are submitted white (0xFFFFFFFF) and take no evening tint |
| TPW-EXE:0x567620 | source/OpenTPW.Tests/WeatherVisualTests.cs:217 | [BIN:TPW-EXE:0x567620] 0x200D52 (rain, bolts): source alpha over one, no depth writes; 0x556 (snow): alpha blend with depth writes |
| TPW-EXE:0x567620 alpha test | source/OpenTPW/World/Particles/ParticleRenderer.cs:479 | [BIN:TPW-EXE:0x567620 alpha test] bit 0x400 of the state enables the test, GREATEREQUAL against 0x10 (0xF0 with bit 0x200): the opaque 0x1256 has none, the blended states 0x556, 0x200552 and 0x200522 test at 0x10 |
| TPW-EXE:0x567620 render states | source/OpenTPW/World/Weather/WeatherRenderer.cs:19 | [BIN:TPW-EXE:0x567620 render states] the rain (0x57efd0) and the bolts (0x57ec50) are submitted with state 0x200D52: source alpha over one (low byte 0x52 -> SRCBLEND 5, DESTBLEND 2), blending on (0x100), the alpha test (0x400, reference 0x10 of 255, ALPHAFUNC greater-or-equal from 0x566840) and no depth writes (0x800); the snow (0x57f490) with 0x556: source alpha over inverse source alpha, blending and the alpha test on, depth writes on; the rain's 0x200D22 (one plus one, 0x57f1a7) applies only on the chips flagged at 0x566840 (engine flag 0x8bcbc8 bit 2) |
| TPW-EXE:0x567620 stage 0 from the state word | source/OpenTPW/Render/Assets/ColorSampler.cs:12 | [BIN:TPW-EXE:0x567620 stage 0 from the state word] 0x20000 MAGFILTER point (from mesh flag 0x8000000, 0x5817D8), 0x40000 MIPFILTER none (from texture flag 0x100000, 0x581841), 0x400000 wrap with a linear MINFILTER (from texture flags 0x30000), else clamp with a point MINFILTER; the preset filter is TEXTUREFILTERING [0x785878] (bits 0x18 of DAT_008BD550, 0x44D8F0, 0x566840), and [0x785898] is SPRITESHADOW, whose engine flags never reach a state word |
| TPW-EXE:0x567620 state decoder | source/OpenTPW/Render/OriginalStateWord.cs:11 | [BIN:TPW-EXE:0x567620 state decoder] 0x400 -> ALPHATESTENABLE; 0x200 picks the second alpha reference of the pair at 0x7012D8 (0xF0, else 0x10); 0x100 -> ALPHABLENDENABLE (0x567992); low byte: SRCBLEND = (w >> 4) & 15, DESTBLEND = w & 15 (0x5679B0); |
| TPW-EXE:0x567620 state word | source/OpenTPW/UI/Original/UiRenderer.cs:214 | [BIN:TPW-EXE:0x567620 state word] the draw's state word turns the depth test (ZENABLE, bit 0x8000 clear) and depth writes (ZWRITEENABLE, bit 0x800 |
| TPW-EXE:0x56778B fog enable | source/OpenTPW/Render/RenderFog.cs:17 | [BIN:TPW-EXE:0x56778B fog enable] the device's fog is enabled only through bit 0x100000 of a primitive's state word, which every draw path adds only while bit 0x2000 of [0x8BCBC8] is set; that bit is toggled with the park's view mode ([0x790AB0] & 0x16, 0x54FAD7), so the park has fog only in the first-person views (ride, walk, camcorder), not in the overview. |
| TPW-EXE:0x56E7E0 cell boxes | source/OpenTPW/World/Original/TerrainEyeViewFar.cs:77 | [BIN:TPW-EXE:0x56E7E0 cell boxes] the box over the cells x0..x1 and z0..z1 (cells times the sizes plus the origin) between the stored lowest and highest height has its eight corners transformed by the matrix [0x87B088] (checked separately against 0x578CA0 + 0x5783B0 + 0x579330 run offline) (clip coordinates of the projection built with far 1000, 0x56EAC0) and tested by 0x561BC0: every corner beyond one plane (the outcodes' AND) drops the box; a box that is wholly inside, or one cell, ends the search and raises the far argument to the greatest clip z of its corners (0x56EA60 to 0x56EA75); any other splits at the middle cell into up to four quarters (0x56E9B9 to 0x56EA22) |
| TPW-EXE:0x56EA90 eye view cells | source/OpenTPW/World/Original/TerrainEyeViewFar.cs:50 | [BIN:TPW-EXE:0x56EA90 eye view cells] with bit 0x20 of [0x8BCBC8] set the whole field (0, 0, cols, rows) is searched and the rectangle skipped (0x56EB03 to 0x56EB21; only a clear of the bit was found, 0x54E8D3, no setter, so the park views leave it clear and <c>wholeField</c> defaults to false); otherwise the rectangle is the camera x and z less and plus half the viewing distance (0x56EB2B to 0x56EBA4: (x - S / 2) x [this+0x10], (x + S / 2 + 0.999) x [this+0x10], the reciprocal cell sizes, each truncated by 0x67A830); it is dropped when it starts at or beyond the last column or row or ends before the first (0x56EBA8 to 0x56EBC5), else clamped to the field and handed to 0x56E7E0 |
| TPW-EXE:0x56F4F0 cell corners | source/OpenTPW/World/Original/ProceduralTerrain.cs:406 | [BIN:TPW-EXE:0x56F4F0 cell corners] the cell word's turn bits permute the texture corners each cell corner takes, for every cell the terrain draws; the procedural cells that have no art lost their turn bits (0x46DED0), and a path tile's stay, which is |
| TPW-EXE:0x56F4F0 texture turn | source/OpenTPW/World/Original/TerrainCellTexture.cs:17 | [BIN:TPW-EXE:0x56F4F0 texture turn] the byte array 0,1,2,3 (set at 0x56FA0B) is permuted from the cell word: bit 0x40 swaps entries 1 and 3; then bit 0x8 makes it (3,0,1,2), else bit 0x10 (2,3,0,1), else bit 0x20 (1,2,3,0); the cell word's other bits do not matter |
| TPW-EXE:0x56F670 cell corners | source/OpenTPW/World/Original/ProceduralTerrain.cs:357 | u along x and v along z, the tile's first row at the cell's z edge ([BIN:TPW-EXE:0x56F670 cell corners] corner (x, z) takes the tile's (0, 0), (x, z + 1) its (0, 1)); turn and mirror |
| TPW-EXE:0x56F670 cell corners | source/OpenTPW/World/Original/TerrainCellTexture.cs:18 | [BIN:TPW-EXE:0x56F670 cell corners] each of the cell's four vertices takes the texture corner its array entry names, in both of the renderer's two vertex orders (cell bit 0x2 set or clear): the corner (x, z) the entry at 0, (x, z + 1) at 1, (x + 1, z + 1) at 2 and (x + 1, z) at 3; the texture corners are (0,0), (0,1), (1,1) and (1,0) from the stack table at 0x56F6CF..0x56F6EF (u, v) |
| TPW-EXE:0x56b790 pick frustum | source/OpenTPW/World/OriginalProjection.cs:13 | [BIN:TPW-EXE:0x56b790 pick frustum] the four corner rays are (+-x, +-y, 1) with y = (0 - -1) x tan(angle x pi / 360) x 0.5 and x = y / the aspect word 0x8bcbcc: half height 0.5 at 90 degrees, half width 0.5 / aspect (emulated: 0.5 and 0.667 at aspect 0.75) |
| TPW-EXE:0x56b940 camera axes | source/OpenTPW/World/RideCameraMode.cs:152 | [BIN:TPW-EXE:0x56b940 camera axes] the camera matrix [0x87afe8] the update 0x42b1c0 fills (0x578bc0) is a camera-to-world matrix: its translation words +0x30..+0x38 are the eye (read at 0x56bbea), and the view's corner rays (x, y, 1) are carried through it by 0x578d20 (case 3, row vector times matrix, 0x56b940-0x56b95f), so the view direction is the matrix's third row (the node's local Z), its up the second row and its right the first |
| TPW-EXE:0x56bd3e lobby far plane | source/OpenTPW/Client/GameFlow.cs:213 | [BIN:TPW-EXE:0x56bd3e lobby far plane] the lobby view's projection is rebuilt with the span selection's farthest corner distance as its far plane, as the park's is (0x56bb00 -> 0x578ca0) |
| TPW-EXE:0x5737AA viewport clear | source/OpenTPW.Tests/RenderFogTests.cs:44 | [BIN:TPW-EXE:0x5737AA viewport clear] colour = [0x8BD47C] when [0x8BCBC8] & 0x4002000 (the fog bit 0x2000, the lobby's 0x4000000), else 0 |
| TPW-EXE:0x5737AA viewport clear | source/OpenTPW/Render/RenderFog.cs:45 | [BIN:TPW-EXE:0x5737AA viewport clear] the scene's clear (0x573740, the viewport's Clear2 at vtable +0x50) pushes the colour (flags & 0x4002000 ? [0x8BD47C] : 0): neg, sbb and and make a mask of the test, so the park's overview, which has no fog, clears black |
| TPW-EXE:0x5737aa clear | source/OpenTPW/Client/GameFlow.cs:1219 | [BIN:TPW-EXE:0x4080e0 fog colour] the level load copies ThemeEngine.FogColour into the fog colour [0x8bd47c]; [BIN:TPW-EXE:0x5737aa clear] the viewport clear uses it only when the render flags [0x8bcbc8] have bit 0x2000 (the fog, which the first-person views toggle in, 0x54fad7) or 0x4000000 (the lobby's), else black: the park overview clears black (RenderFog.ClearColour) |
| TPW-EXE:0x5737aa lobby clear | source/OpenTPW/World/Lobby/LobbyEffects.cs:52 | [BIN:TPW-EXE:0x5737aa lobby clear] the viewport clear (vtable +0x50, Clear2) uses the fog colour when render flags & 0x4002000, else black |
| TPW-EXE:0x5741B0 point term | source/OpenTPW/Render/PointLights.cs:107 | [BIN:TPW-EXE:0x5741B0 point term] the vertex's squared distance to the light is compared with +0x48 and a vertex at or beyond it is skipped; else (+0x48 - d2) x +0x4C scales the light colour added to the vertex colour (0x5742E1..0x574382); there is no normal term |
| TPW-EXE:0x575870 texture cache | source/OpenTPW/World/Coasters/CoasterAssets.cs:218 | [BIN:TPW-EXE:0x575870 texture cache] the cache is keyed by the slot's texture directory string and the frame name and returns the same object to every model; the wrap bits are ORed into it and never cleared (0x590FA0 clears only 0x4000); the models of one ride archive (main and preview models, StdPylon, LoopPylon, cars) are taken to resolve their textures in the ride's directory (not traced to the loader write of the description's +4) |
| TPW-EXE:0x575C60 sign face state | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:6 | [BIN:TPW-EXE:0x575C60 sign face state] the composed faces are alpha blended, not opaque: the sign builder sets bit 0x80 on the model's slot entries (0x467D09, 0x467D69), the binder 0x575C60 then builds the texture from the composed 128 x 128 record with the entry flags 0x1000240 (0x575DAB, alpha type 0x200: state 0x556, blend, alpha test at 0x10/255, depth writes on), drawn after the opaque list far to near; Texture.AsComposedSign gives the runtime texture that type |
| TPW-EXE:0x575CF0 sign texture branch | source/OpenTPW/Render/Assets/Texture.cs:25 | [BIN:TPW-EXE:0x575CF0 sign texture branch] the binder 0x575C60 tests bit 0x80 of the slot entry (0x575CF0), builds the texture from the record's width (+6, 0x590A80) and writes the entry flags 0x1000240 (0x575DAB); 0x590C40 reads only bits 0x30000 (the wrap bit 0x400000), 0x4000000 and the alpha type 0x300 of them, and 0x581790 tests no other bit of the word, so the bits 0x40 and 0x1000000 change no state |
| TPW-EXE:0x575E10 shared texture bits | source/OpenTPW/Render/TextureSlotAddressing.cs:85 | [BIN:TPW-EXE:0x575E10 shared texture bits] the texture cache 0x575870 hands out one object per (texture directory, frame name); the slot setup ORs 0x10000/0x20000 into that shared object (0x575EA1, 0x575EB3) and a rebinding of a texture set ORs 0x30000 when a slot has flag 0x10 or 0x20 (0x575C95..0x575CA5); nothing clears the bits (0x590FA0 clears only 0x4000), so every model that names the same texture wraps once one of them has a wrap slot |
| TPW-EXE:0x576A00 scene pass order | source/OpenTPW/World/Particles/ParticleRenderer.cs:196 | [BIN:TPW-EXE:0x576A00 scene pass order] the scene render calls the terrain (0x56F670, 0x570D90), the particle pass (0x57C620, 0x576CBD), the model list loop that queues the advisor's model (0x584B10, 0x584BE0), the sprite flush (0x58A660, 0x576D72), the weather (0x57FF60, 0x576DAB) and the frame flush (0x582170, 0x576DBE); the screen-space quads are drawn in the particle pass with the world's, so everything the HUD windows submit and the advisor's model lie over them in the original too (PTCL-909 retired) |
| TPW-EXE:0x576A2C far plane lag | source/OpenTPW/World/Camera.cs:72 | [BIN:TPW-EXE:0x576A2C far plane lag] the frame function composes the view-projection matrix first (0x576A2C) and only afterwards runs the span selection (0x576ADD -> 0x56BB00 -> 0x56BD3E -> 0x578CA0), which sets the new far plane for the next composition: a frame is drawn with the far plane of the span selection of the frame before it, the default one before any |
| TPW-EXE:0x576DBE HUD order | source/OpenTPW/World/Level.RenderOrder.cs:12 | [BIN:TPW-EXE:0x576DBE HUD order] the HUD windows reach the screen through the scene's sprite flush (0x58A660, after the particle pass and before the weather) and its model flush (0x582170, with the advisor's model), so the particles lie under all of them and the weather under the models (PTCL-909 retired; ParticleRenderer's annotation). |
| TPW-EXE:0x576a00 scene pass | source/OpenTPW/World/Level.RenderOrder.cs:10 | [BIN:TPW-EXE:0x576a00 scene pass] the particle pass (0x57C620) precedes weather (0x57FF60); see ParticleRenderer's PTCL-909 annotation. |
| TPW-EXE:0x576c6d sky gate | source/OpenTPW/Client/GameFlow.cs:1242 | [BIN:TPW-EXE:0x576c6d sky gate] the scene pass draws the sky when the view's flags have bit 0x10 (0x576C6D to 0x576C78, before the terrain 0x56F670 and the particle pass 0x57C620); the one view the scene registers (0x576310, from 0x56E76C) has the flags 0x1F31, so the sky is drawn in every frame of the lobby, the globe and the parks |
| TPW-EXE:0x5781d0 screen matrix | source/OpenTPW/World/OriginalProjection.cs:14 | [BIN:TPW-EXE:0x5781d0 screen matrix] the matrix 0x578be0 builds has tangent 1 (cot of half the angle, 1 at 90 degrees: m00 = m11 = 0.7071 with w = 0.7071 and depth Q x 0.7071), but the view-projection is then multiplied (0x578501, 0x5786b1, through the matrix product at vtable +0x18) with the matrix 0x87b0d0 that 0x5781d0 fills once: m00 = 2 x the aspect word, m11 = -2.0. With the screen range +-1 (the final mapping to pixels was not read, the pick frustum and the video agree with it) the visible half height at unit depth is 1/2 = 0.5 and the half width 1 / (2 x aspect), the pick frustum's values: the two agree and the video match is explained, not a free choice. The scale by 2 is the matrix 0x87b0d0 (the clip-to-screen scale), not the projection builder |
| TPW-EXE:0x578700 camera roll | source/OpenTPW/World/Sky.cs:174 | [BIN:TPW-EXE:0x578700 camera roll] a = the camera matrix's [+4] (the right vector's world-up component), b = its [+0x14] (the up vector's): with n = 1 / sqrt(a^2 + b^2) (a = b = 1 when both vanish) the roll is acos(b n) / 2pi, negative when asin(-a n) is not above zero; 0x87AFF0 is the camera's world matrix (0x5783B0 inverts it into the view 0x87AF68) |
| TPW-EXE:0x578BE0 projection depth | source/OpenTPW/World/Weather/WeatherProjection.cs:16 | [BIN:TPW-EXE:0x578BE0 projection depth] the scene's clip z at view depth v (original units) is m10 (v - n) with m10 = sin(fov / 2) / (1 - n / D), n = 0.1, and w = sin(fov / 2) v: a weather vertex with clip z below zt equals a scene surface at n + z / m10, and above it a surface at n / (1 - (z / w)(1 - n / D)) |
| TPW-EXE:0x578BE0 weather depth | source/OpenTPW/World/Weather/WeatherRenderer.cs:21 | [BIN:TPW-EXE:0x578BE0 weather depth] the weather depth is written in the scene camera's depth space (the original's own depth value, z / w, sits where a world surface at the equivalent distance would) and nothing of the rain and snow is cut before the eye (a drop is drawn when its depth is above 0, 0x57F1F0, 0x57F490), the bolts are clipped at the original's 0.1 original units (the polygon clipper 0x561BC0, 0x562A70): no near plane of the weather's own and no change of the scene's; the vertex buffer is sized once (1024 drops plus 16 bolts of 1024 quads, so a browser session allocates no further per-frame memory) |
| TPW-EXE:0x5796A0 viewport | source/OpenTPW/World/Weather/WeatherProjection.cs:14 | [BIN:TPW-EXE:0x5796A0 viewport] x_screen = x / w x half width + centre x, y_screen = y / w x half height + centre y (the display object [0x8BCBC8]: half width and height at +0x38 and +0x3C, centre at +0x28 and +0x2C); the depth value is split at a clip z threshold [0x8BCC28] (0x5796FF; the 3DNow and SSE twins 0x5F4B5A, 0x5F53A0 do the same): below it [0x8BCC34] x z + [0x8BCC38], linear in z with no divide by w, above it [0x8BCC2C] x z / w + [0x8BCC30] |
| TPW-EXE:0x5796FF viewport | source/OpenTPW/World/Weather/WeatherProjection.cs:45 | [BIN:TPW-EXE:0x5796FF viewport] the compare is unsigned: a negative z takes the divided branch |
| TPW-EXE:0x57A750 mesh prepare | source/OpenTPW/World/Entity/ModelEntity.cs:40 | [BIN:TPW-EXE:0x57A750 mesh prepare] the prepare of a mesh object (a virtual method; the thunk 0x57AC63 reaches it, which is why no instruction calls through +0x140) loads the callback word the render callback 0x463030 was stored in at +0x140 (0x4638BD) and calls it with the mesh object (0x57A7E6..0x57A7FC) when the object's frame word differs from the current frame's [0x8BCC40] (0x57A7ED), so once per frame, before the object's meshes are tested one by one (0x57A5A6..0x57A685, 0x561A30) and drawn |
| TPW-EXE:0x57A788 whole-mesh callback | source/OpenTPW/World/Objects/OriginalObject.cs:795 | [BIN:TPW-EXE:0x57A788 whole-mesh callback] the mesh prepare tests the object's frame word (0x57A76D, 0x57A7ED), clears a state bit and calls the render callback (0x57A7FC) before it reaches the per-mesh view tests (0x57A5A6..0x57A685, 0x561A30); only the object's own flags keep it away (0x57A78E: the queued translucent path with [object+0x30] 0x200000, 0x57A85F: object flag 4); the scene's pass 0x576910 offers it every object of the always-list and of the cells the view covers (0x57697D..0x5769DC) |
| TPW-EXE:0x57A7FC render callback call site | source/OpenTPW/World/Objects/ObjectAnimator.cs:27 | [BIN:TPW-EXE:0x57A7FC render callback call site] the callback stored at the mesh object's +0x140 (0x4638BD, 0x463030) is called by the mesh prepare 0x57A750 (reached through the thunk 0x57AC63, so no direct call or jump through +0x140 exists) as `call eax` with the mesh object, once per frame (the frame word [0x8BCC40] against the object's, 0x57A7ED), for every mesh object the scene prepares; 0x579D94 only initialises the word to 0 |
| TPW-EXE:0x57C620 | source/OpenTPW.Tests/ParticleSystemPortTests.cs:707 | [BIN:TPW-EXE:0x57C620] one primitive per particle in slot order, world and screen-space particles in one loop: alpha, alpha, one-plus-one, alpha again, a screen-space alpha |
| TPW-EXE:0x57C620 draw driver | source/OpenTPW/World/Particles/ParticleRenderer.cs:16 | [BIN:TPW-EXE:0x57C620 draw driver] one quad per particle in slot order 0..119, newest particle first, each with its own state word (ParticleState.WordOf, decoded by 0x567620); the render flags apply to untextured particles too |
| TPW-EXE:0x57C620 draw driver | source/OpenTPW/World/Particles/ParticleSystem.cs:1170 | [BIN:TPW-EXE:0x57C620 draw driver] slots in ascending order; [BIN:TPW-EXE:0x51EF30 draw list] position scaled by the control: drawn = emitter + (particle - emitter) * control / 1000 |
| TPW-EXE:0x57C620 draw order | source/OpenTPW/World/Particles/ParticleRenderer.cs:198 | [BIN:TPW-EXE:0x57C620 draw order] one quad per particle in slot order 0..119, newest particle first, world and screen-space particles in the same loop, so the opaque runs follow that order |
| TPW-EXE:0x57C620 particle batches | source/OpenTPW/Render/WorldPass.cs:63 | [BIN:TPW-EXE:0x57C620 particle batches] each particle is submitted to 0x565F90 as a batch of its own (one record of two triangles), whose state decides between the immediate draw and this list |
| TPW-EXE:0x57C620 screen-space quads | source/OpenTPW/World/Particles/ParticleScreenSpace.cs:11 | [BIN:TPW-EXE:0x57C620 screen-space quads] flag 0x40000 skips the view transform 0x578D20: the entry / 1024 is the vertex position as is (w = 1), half-height = size / 1024 * 0.5, the quad (x -+ w, y -+ h) is rotated about its centre by 0x591430 |
| TPW-EXE:0x57C66A | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:32 | [BIN:TPW-EXE:0x51F112] size >> 6 (truncating), [BIN:TPW-EXE:0x57C66A] half-height = word / 1024 * 0.5 |
| TPW-EXE:0x57C6B8 sprite size | source/OpenTPW/World/Particles/ParticleRenderer.cs:388 | [BIN:TPW-EXE:0x57C6B8 sprite size] half-height = (size << 1) * (1/1024) * 0.5 = size / 1024 original units for every particle; only the width gets a factor |
| TPW-EXE:0x57C6FA | source/OpenTPW.Tests/ParticleOpaqueStateTests.cs:27 | [BIN:TPW-EXE:0x57C6FA] and eax, 0xFF000000; je 0x1256; cmp eax, 0xF0000000; jb 0x556 |
| TPW-EXE:0x57C6FA untextured state | source/OpenTPW/World/Particles/ParticleState.cs:29 | [BIN:TPW-EXE:0x57C6FA untextured state] a particle without a sprite frame (the handle [edi+0x10] is -1) is 0x1256 when the alpha byte of its colour [edi+0xC] is 0 or at least 0xF0, else 0x556 (0x57C6FA to 0x57C71B) |
| TPW-EXE:0x57C71F quad width | source/OpenTPW.Tests/ParticleSystemPortTests.cs:732 | [BIN:TPW-EXE:0x57C71F quad width] a textured quad's half-width is the half-height x the frame's width / height in clip x, which spans the display's width: on a 4:3 display (aspect word 0.75) the quad is that much wider on the screen |
| TPW-EXE:0x57C71F quad width | source/OpenTPW/World/Particles/ParticleRenderer.cs:373 | [BIN:TPW-EXE:0x57C71F quad width] half-width = half-height x float +8 for a textured quad (0x57C6B8-0x57C71B) and x [0x8BCBCC] for an untextured one, both added to clip x after the world-to-clip transform 0x578D20 (the full view-projection-screen matrix [0x87B088]): nothing multiplies the textured width by the display's height / width |
| TPW-EXE:0x57C71F quad width | source/OpenTPW/World/Particles/ParticleRenderer.cs:391 | [BIN:TPW-EXE:0x57C71F quad width] the original adds the half-extents in clip space after its world-to-clip transform (x +- half-width, y +- half-height, w untouched): a textured quad's width factor is the frame record's float +8 (width / height, 0x588660) and nothing rescales it, so the quad is (frame width / height) x (display width / height) on the screen; an untextured quad's is the display's height / width, a square |
| TPW-EXE:0x57C71F screen quad width | source/OpenTPW.Tests/ParticleSystemPortTests.cs:756 | [BIN:TPW-EXE:0x57C71F screen quad width] flag 0x40000 skips the transform: the half-width is half-height x float +8 or x the aspect word, in clip units |
| TPW-EXE:0x57C71F screen quad width | source/OpenTPW/World/Particles/ParticleRenderer.cs:378 | [BIN:TPW-EXE:0x57C71F screen quad width] flag 0x40000 keeps w = 1 and the position as is, so the half-width is the half-height x float +8 for a textured quad and x [0x8BCBCC] for an untextured one, in clip units that span the width and the height of the display alike |
| TPW-EXE:0x57C748 textured state | source/OpenTPW/World/Particles/ParticleState.cs:30 | [BIN:TPW-EXE:0x57C748 textured state] a sprite frame's state is 0x590C40 of its texture: flags & 0x300 of 0x100 give 0x2756, 0x200 give 0x556, 0x300 give 0x200552, else 0x1256; the frames' flags are 0x1000040 | 0x10200000 | 0x100 (0x588410, from 0x5885E2 and 0x5887AA) until 0x5882E0 (called at 0x5411B6 for every set 0x541310 loads, [0x877354] = 1 from 0x54135D) trades 0x100 for 0x200 |
| TPW-EXE:0x57C7C8 | source/OpenTPW.Tests/ParticleOpaqueStateTests.cs:50 | [BIN:TPW-EXE:0x57C7C8] bit 4: 0x200522 plus 0x30 when bit 0x2000 is set |
| TPW-EXE:0x57C7C8 blend flags | source/OpenTPW/World/Particles/ParticleRenderer.cs:136 | [BIN:TPW-EXE:0x57C7C8 blend flags] the flags test (bit 4, then 0x2000) runs for every particle, untextured ones included |
| TPW-EXE:0x57C7C8 render flags | source/OpenTPW/World/Particles/ParticleState.cs:31 | [BIN:TPW-EXE:0x57C7C8 render flags] flags (+0x18) bit 4 replaces the state by 0x200522, plus 0x30 (0x200552) when bit 0x2000 is set (0x57C7C8 to 0x57C7DD), for textured and untextured particles alike; bit 0x20000 adds the point MAGFILTER bit 0x20000 of the state (0x57C7E4 to 0x57C7ED); bit 0x4000 adds the no-depth-write bit 0x800 (0x57C7F1 to 0x57C800) |
| TPW-EXE:0x57CED0 sort | source/OpenTPW/Render/Original/OriginalPageAllocator.cs:80 | [BIN:TPW-EXE:0x57CED0 sort] a separate quicksort on 20-byte records by an unsigned dword key; it shares the partition structure of the float depth sorts 0x5829E0/0x565490 (see OriginalDepthSort) but is not that routine, and its tie permutation is part of the result |
| TPW-EXE:0x57DD10 ribbon emitter | source/OpenTPW/World/Weather/WeatherBoltRibbon.cs:19 | [BIN:TPW-EXE:0x57DD10 ribbon emitter] state per depth k (counter +0x9DA4 + 4k, previous point +0x9DE4 + 16k, scaled direction +0xA0E4 + 8k, corner pair +0x9EE4 + 32k); a call whose two points are identical is skipped; the first call of a depth projects both points (0x578D20 mode 0, the matrix [0x87B088]), keeps the second as the previous point and the direction first minus second scaled to 1.3 / ((k + 1) x its xy length) (+0xA16C = 1.3), and sets the corner pair to the previous point plus (d.y, -d.x) and minus it, and emits nothing |
| TPW-EXE:0x57DD10 ribbon end | source/OpenTPW/World/Weather/WeatherBoltRibbon.cs:21 | [BIN:TPW-EXE:0x57DD10 ribbon end] the closing call (first point null) projects its point n, takes n minus the previous point scaled to the width, and emits the quad (stored corner 0, stored corner 1, n - s x (dir.y, -dir.x)..., i.e. the end cap at n with n's own z and w) without storing anything; the vertex order is the quad's fan (0, 1, 2) and (0, 2, 3) with colour [+0xA19C] (0x57EE30) and texture corners (u0, v0), (u1, v0), (u1, v1), (u0, v1) |
| TPW-EXE:0x57DD10 ribbon joint | source/OpenTPW/World/Weather/WeatherBoltRibbon.cs:20 | [BIN:TPW-EXE:0x57DD10 ribbon joint] a following call projects its second point n only, takes the direction n minus the previous point scaled the same way (a zero length stops the call), sums it with the stored direction (a zero sum stops it), and emits the quad (stored corner 0, stored corner 1, p - s x perp, p + s x perp) with perp = (sum.y, -sum.x) for the corner at the previous point p (its z and w), s = 1.3 / ((k + 1) x |sum|); the new corner pair (p + s x (sum.y, -sum.x), p - s x (sum.y, -sum.x)) and the direction replace the stored ones and n becomes the previous point |
| TPW-EXE:0x57DD10 ribbon quads | source/OpenTPW.Tests/WeatherClipTests.cs:46 | [BIN:TPW-EXE:0x57DD10 ribbon quads] (depth, the four vertices x, y, z, w) from the original's code with the matrix above (aspect 0.75, field of view 90) |
| TPW-EXE:0x57E4B0 midpoint | source/OpenTPW/World/Weather/WeatherVisualState.cs:420 | [BIN:TPW-EXE:0x57E4B0 midpoint] draws: r1 = (s % 0x1FFF) / 8192, r2 = (s % 0x1FFF) / 8192 x r1 x r1, a sign draw (state bit 0 flips r2), a draw that is discarded, and the axis pick (s % 3, a signed remainder, so a negative state lands in the z-first case with 2); M = (a + b) / 2, d = b - a; the displaced point is M + P x (|d| x 0.6 x r) / |P|, the cross product d x P being scaled by 0 / |d x P| in the original (0x701CA0 is 0.0), so it adds nothing |
| TPW-EXE:0x57E53C-0x57E54D CRain draw | source/OpenTPW/World/Weather/CRainRandom.cs:9 | [BIN:TPW-EXE:0x57E53C-0x57E54D CRain draw] mul by 0x13D573, rol 3, add 0xE0423, rol 4; the whole new state is the draw |
| TPW-EXE:0x57E810 branch | source/OpenTPW/World/Weather/WeatherVisualState.cs:338 | [BIN:TPW-EXE:0x57E810 branch] a branch takes depth + 1, scale 1 / (96 x depth) and two words: along-segment = ((w1 & 0x3FF) + 0x200) x scale x 2.5, along-bolt = ((w2 & 0x3FF) + 0x200) x scale; its heading is along-bolt x the bolt's unit direction (record +0x18, ground minus sky) + along-segment x the segment's unit direction, and when that points against the bolt direction the along-bolt term is halved and the sum is the halved term x the bolt direction + half the first heading; the branch starts at the segment's near end and runs along that heading, splitting from there |
| TPW-EXE:0x57E810 split | source/OpenTPW/World/Weather/WeatherVisualState.cs:337 | [BIN:TPW-EXE:0x57E810 split] each call draws the midpoint (0x57E4B0), then one word for the branch ((word & 0x1FF) < 9 and depth < 4), then one word for the stop threshold: threshold = 6 (+0xA180) + ((word & 0xFFF) - 0x800) x 2 (+0xA184) / 2048, i.e. 4 to 8; each half (midpoint to the far end, then the near end to the midpoint) splits again when its squared length is at least the threshold and is a final segment otherwise, so the test runs on the halves, not on the whole piece |
| TPW-EXE:0x57E810 walk | source/OpenTPW.Tests/WeatherClipTests.cs:149 | [BIN:TPW-EXE:0x57E810 walk] the original's walk run offline on the stream state seed ^ (seed >> 32) | 1 with the sky point (120, 300, 80) and the ground point (120, 0, 80): the emitter calls it makes (the trunk's closing call comes from 0x57EC50 and is not among them) |
| TPW-EXE:0x57EC50 bolt emit order | source/OpenTPW/World/Weather/WeatherVisualState.cs:342 | [BIN:TPW-EXE:0x57EC50 bolt emit order] the walk calls the emitter 0x57DD10 with (midpoint, far) and then (near, midpoint) for every final half, a branch resets its depth's counter, walks from the branch end to the segment's near end and closes with a call (0, branch end) at that depth; the trunk closes with (0, near) at depth 0 (the sky point) |
| TPW-EXE:0x57EC50 bolt walk | source/OpenTPW/World/Weather/WeatherVisualState.cs:336 | [BIN:TPW-EXE:0x57EC50 bolt walk] the walk starts at depth 0 with the sky point first and the ground point second (0x57EE30 passes the record's second point, the sky one, as the first argument), the branch depth limit 4 (+0xA1A0, set by 0x57EE30 for a seeded bolt) and the roughness 0.6 (+0x3310 = 0x3F19999A, init 0x57D2AB) |
| TPW-EXE:0x57EEBA-0x57EF61 bolt colour | source/OpenTPW/World/Weather/WeatherVisualState.cs:471 | [BIN:TPW-EXE:0x57EEBA-0x57EF61 bolt colour] x = (remaining % 500) x 0.002; x < 0.9: 255 - ftol((0.9 - x) x 1.11 x 64); else 192 - ftol((1 - x) x 10 x -64); the sum with (rand & 0x3F) is ORed into 0xFF000000 | v << 16 | v << 8 | v as ((v | 0xFFFFFF00) << 8 | v) << 8 | v, so bit 8 of v is lost |
| TPW-EXE:0x57F1F0 rain vertex | source/OpenTPW/World/Weather/WeatherVisualState.cs:494 | [BIN:TPW-EXE:0x57F1F0 rain vertex] the vertices are submitted straight to the polygon path, no projection: with A the trailing end in camera space (y negated, the screen runs down) and d = B - A the streak (0.1 along the fall), p = 0.1 d.x and q = 0.1 d.y: V0 = A + (q, -p), V1 = A - (q, -p), V2 = B - (q, -p), V3 = B + (q, -p), the same z = A.z + 0.04 (0x701D0C) on all four and w = z of the vertex's own end + 0.1 (0x701D10: A.z on V0 and V1, B.z on V2 and V3), the colour 3c in each channel with c = max(0, int(12 (6 - A.z))) and alpha 0x80 on V0 and V1 and 0xFF on V2 and V3 (the leading end's colour uses the trailing end's depth too), only A.z > 0 tested |
| TPW-EXE:0x57F1F0 weather submit | source/OpenTPW/World/Weather/WeatherRenderer.cs:20 | [BIN:TPW-EXE:0x57F1F0 weather submit] the rain and snow vertices go to the polygon path as clip coordinates, the bolts through the scene matrix: every vertex is drawn here from its screen position (x / w, y / w of the half screen, y down in the original) with an identity matrix, so the projection, the display aspect (0x8BCBCC) and the aspect-independent flake and streak sizes are the original's |
| TPW-EXE:0x57F1F0-0x57F380 | source/OpenTPW/World/Weather/WeatherVisualState.cs:92 | [BIN:TPW-EXE:0x57F1F0-0x57F380] the Windows executable's CRain::Draw agrees with the Mac engine on the field, the colour ramp and the streak |
| TPW-EXE:0x57F490 flake texture | source/OpenTPW/World/Weather/WeatherVisualState.cs:533 | [BIN:TPW-EXE:0x57F490 flake texture] the original's v runs up the picture (its textures keep the TGA's bottom-up rows): the apex takes the row's lower v and the base its upper v, so OpenTPW's upright textures read the apex at the quadrant's bottom edge and the base at its top edge |
| TPW-EXE:0x57F490 flake vertex | source/OpenTPW/World/Weather/WeatherVisualState.cs:532 | [BIN:TPW-EXE:0x57F490 flake vertex] with the flake's camera-space position (x, y, z) (y negated for the screen), s = 1 + z / 8, h = 0.1 (+0x3354) and a = [0x8BCBCC]: the apex is (s x, -(s y + h)), the base corners (s x + h a, h - s y) and (s x - h a, h - s y), all with z + 0.1 and w = z + 0.1501 (0x701D10, 0x701D24), colour [0x87A248 + 0x2c], and only z > 0 is drawn; nothing multiplies x and y by the projection or the screen matrix, so the flake lands at x s / w of the screen half-width and the base half-width h a in clip x is h in clip y on the screen |
| TPW-EXE:0x57FF60 frame time | source/OpenTPW/World/SceneClock.cs:26 | [BIN:TPW-EXE:0x57FF60 frame time] the scene's frame time is min(gap, 500) ms times 0.001, taken on the scaled clock; the sky's scroll (0x585F10) reads it from +0x9D98 |
| TPW-EXE:0x57a530 instance traverser | source/OpenTPW/UI/Original/UiModel.cs:90 | [BIN:TPW-EXE:0x57a530 instance traverser] a node's world matrix is its local matrix (node+0x10) combined with the accumulated matrices of its ancestors (the root starts as its local matrix times the caller's, the identity set at 0x57a55b is overwritten, children are visited at node+0xc with the accumulated matrices, 0x57a6ec); no corpus child has a rotation or scale, only translations, which cancel in the selected-mesh fit |
| TPW-EXE:0x57ec50 bolt ribbon | source/OpenTPW/World/Weather/WeatherRenderer.cs:22 | [BIN:TPW-EXE:0x57ec50 bolt ribbon] the vertex buffer is sized once for 1024 drops plus 16 bolts of 1024 quads (the original has no bound of its own), so a browser session allocates no further per-frame GPU memory |
| TPW-EXE:0x57ed75 flash state | source/OpenTPW/Client/GameFlow.cs:1258 | [BIN:TPW-EXE:0x57ed75 flash state] 0x9A1: alpha blend on (bit 0x100), z write off (bit 0x800), source blend INVDESTCOLOR and destination ZERO (low byte 0xA1), so the quad inverts the picture for the frame |
| TPW-EXE:0x57ed75 lightning flash blend | source/OpenTPW/UI/Original/UiRenderer.cs:92 | [BIN:TPW-EXE:0x57ed75 lightning flash blend] the flash quad's state 0x9A1 sets the source blend to INVDESTCOLOR (0xA, 0x5679B0 high nibble) and the destination blend to ZERO (low nibble 1), so a white quad turns the screen into its negative |
| TPW-EXE:0x57ee30 flash flag | source/OpenTPW/Client/GameFlow.cs:1268 | [BIN:TPW-EXE:0x57ee30 flash flag] the flag is cleared once the quad is drawn: it lasts one frame |
| TPW-EXE:0x57ee30 lightning flash | source/OpenTPW/Client/GameFlow.cs:1257 | [BIN:TPW-EXE:0x57ee30 lightning flash] the lightning draw tests the flash flag (+4) first and draws one full-screen quad (0x57ed50: corners -1..1, vertex colour 0xFFFFFFFF, state 0x9A1) before it steps the bolts (from 0x57ee4d); the raindrops follow (after 0x57ffec). The final order comes from the deferred back-to-front sort, see RenderLobbyLayers |
| TPW-EXE:0x57efd0 | source/OpenTPW.Tests/WeatherVisualTests.cs:199 | [BIN:TPW-EXE:0x57efd0] the drops move by -0.1 x the camera's position (wrapped), not by an accumulated delta |
| TPW-EXE:0x57efd0 rain draw | source/OpenTPW/World/Weather/WeatherVisualState.cs:96 | [BIN:TPW-EXE:0x57efd0 rain draw] the drop is (p.x - o.x, o.y + p.y, p.z - o.z) with o the scroll plus the wrapped parallax, whose y carries -factor: every axis moves by -factor x the camera's position, so the field here is wrapped (fall - 0.1 x eye) |
| TPW-EXE:0x57efd0 rain vertices | source/OpenTPW.Tests/WeatherVisualTests.cs:293 | [BIN:TPW-EXE:0x57efd0 rain vertices] reference values run on the original's own code with an identity camera (static analysis only: tp.exe is never run): trailing end, fall vector, then the four vertices (x, y, z, w) |
| TPW-EXE:0x57f490 | source/OpenTPW.Tests/WeatherFrameTimingTests.cs:16 | [BIN:TPW-EXE:0x57f490] a draw of the original is a rendered frame; OpenTPW redraws per 60 Hz reference frame |
| TPW-EXE:0x57f490 | source/OpenTPW.Tests/WeatherVisualTests.cs:337 | [BIN:TPW-EXE:0x57f490] one triangle a flake: the apex above the centre, the base at the lower corners, OpenTPW's upright v running down the original's |
| TPW-EXE:0x57f490 | source/OpenTPW.Tests/WeatherVisualTests.cs:394 | [BIN:TPW-EXE:0x57f490] each draw adds ((rand & 31) - 16) / 2048 to every axis of every flake |
| TPW-EXE:0x57f490 CRain snow | source/OpenTPW/World/Weather/WeatherVisualState.cs:98 | [BIN:TPW-EXE:0x57f490 CRain snow] the swirl is selected by engine flag 0x8bcbc8 bit 0x100, which no instruction sets (the word is .bss, and its writers, among them 0x44d8f0, 0x40c830, 0x54fae9, 0x566840, 0x5673d0, 0x576f07, 0x583d30, 0x587950, set other bits or restore saved copies), so the PC always draws the jitter version: each frame every axis gets ((rand & 31) - 16) / 2048 before the camera transform; each flake is one triangle: apex (x, y + h) at the top middle of its atlas quadrant's row, base corners (x +- w, y - h) at the row's lower corners, h the half-size (+0x3354) |
| TPW-EXE:0x57f490 flake vertex | source/OpenTPW/World/Weather/WeatherVisualState.cs:99 | [BIN:TPW-EXE:0x57f490 flake vertex] the vertex is (x, y, z + 0.1, w = z + 0.1501) in homogeneous clip coordinates handed straight to the polygon submit 0x565bb0 (it clips with the clip codes 0x561bc0, which compare |x|, |y|, |z| against w, and the viewport 0x5796a0 lands it at x / w and y / w of the half screen), x and y being the spread camera-space position (y negated); the flake's base half-width h x [0x8bcbcc] (height / width) in that clip x keeps it as wide as it is tall on the screen, and the position itself is not multiplied by the projection's or the screen matrix's factors (the weather is not the world: a flake sits at x s / w of the half screen where a world point at the same camera-space offset would sit at 2 a x / z of it) |
| TPW-EXE:0x57f490 flake vertices | source/OpenTPW.Tests/WeatherVisualTests.cs:364 | [BIN:TPW-EXE:0x57f490 flake vertices] reference values run on the original's own code with an identity camera, the aspect word 0.75, flake index 0 (static analysis only: tp.exe is never run): the jittered camera-space position, then the three vertices (x, y, z, w) |
| TPW-EXE:0x57ff60 | source/OpenTPW.Tests/WeatherVisualTests.cs:236 | [BIN:TPW-EXE:0x57ff60] dt = min(scaled ms, 500) on the rate-scaled clock 0x402d70 |
| TPW-EXE:0x57ff60 CRain dt | source/OpenTPW/World/Weather/WeatherVisualState.cs:211 | [BIN:TPW-EXE:0x57ff60 CRain dt] dt is min(now - last, 500) ms x 0.001 on the clock 0x402d70: the timer 0x785970's rate-scaled accumulator (0x4033a0, rate +0x20, 0.25..2 by the speed keys) minus its paused time, which stands still while paused (0x4030d0); OpenTPW's simulation time scale plays that rate |
| TPW-EXE:0x57ffb1 dt flag | source/OpenTPW/World/Weather/WeatherVisualState.cs:212 | [BIN:TPW-EXE:0x57ffb1 dt flag] the test is the mask 0x4 on the engine word 0x8bd508 (mov al, 4); nothing sets that bit: the word is .bss (zero at the start), the direct writers set 0x1 (0x54e855 with ebx = 1, 0x58744f), 0x40 (0x44ddc3), 0x80000000, 0x8000000 and 0x3000141 (0x583555, which clears it), the members called on it (0x5836b0 sets 0x40000000, 0x5835c0 prints) leave it alone, and the other stores (0x564342, 0x577326, 0x577446, 0x583893) put back copies of the word itself, so the original never zeroes the weather's dt for it and OpenTPW does not either |
| TPW-EXE:0x57fff8 eye views | source/OpenTPW/World/Weather/WeatherVisualState.cs:97 | [BIN:TPW-EXE:0x57fff8 eye views] the factor 0.3 applies in the park's first-person views, the ones that raise bits 0x16 of the camera-mode byte 0x790ab0: the terrain camcorder (bit 0x2, toggled by 0x42AB20 from input event 2; OpenTPW's free walk) and the ride follow (bit 0x4, event 4); no instruction sets 0x10, so the factor is 0.1 in the overview and the lobby (WeatherRenderer.IsEyeView) |
| TPW-EXE:0x57fff8 rain parallax | source/OpenTPW/World/Weather/WeatherVisualState.cs:95 | [BIN:TPW-EXE:0x57fff8 rain parallax] the factor (CRain +0x3340, 0.1 from the init at 0x57d1fc) is 0.3 while the camera-mode byte 0x790ab0 has bits 0x16 (0x580003-0x58000b); per axis the field offset is wrap(factor x camera position + 4) - 4 into [-4, 4) (x and z use +factor, y uses -factor; the wrap is x16384 & 0x1FFFF, 0x580013-0x5800b7), an absolute position, not a per-frame delta |
| TPW-EXE:0x57fff8 rain parallax factor | source/OpenTPW/World/Weather/WeatherRenderer.cs:135 | [BIN:TPW-EXE:0x57fff8 rain parallax factor] CRain +0x3340 is 0.3 (0x3E99999A) while the camera-mode byte 0x790AB0 has any of 0x16, else the 0.1 the init left (0x57D1FC); the bits are the park view's modes: 0x42AB20 toggles 0x2 (the terrain camcorder, input event 2) and 0x4 (the ride follow, event 4) and clears them leaving a mode (0x42AB5E-0x42AB78: and dl, 0x41), and no instruction anywhere sets 0x10 (the byte's other stores or-in 0x100, 0x200, 0x800, 0x1000, 0x80 and 0x8, clear bits or store 0; the only wider writes read the byte back from a save stream, 0x42CE1B, 0x42CF61, or restore a copy, 0x42B561), so the factor is 0.3 exactly in the camcorder and in a ride |
| TPW-EXE:0x580003-0x58000B | source/OpenTPW.Tests/WeatherVisualTests.cs:175 | [BIN:TPW-EXE:0x580003-0x58000B] the factor is 0.3 (0x3E99999A) while the camera-mode byte has bits 0x16 |
| TPW-EXE:0x580013-0x5800B7 parallax quantisation | source/OpenTPW/World/Weather/WeatherVisualState.cs:223 | [BIN:TPW-EXE:0x580013-0x5800B7 parallax quantisation] value - (-4) times 16384 through __ftol (0x67A830), and 0x1FFFF, times 1/16384 (0x701C60), minus 4 (0x701CF0), for each of the camera matrix's position floats at +0x30, +0x34 (negated) and +0x38 |
| TPW-EXE:0x580C51 self-lit material | source/OpenTPW/Render/TextureSlotAddressing.cs:42 | [BIN:TPW-EXE:0x580C51 self-lit material] the vertex fill of the mesh draw (0x580530) tests the material record's word +0xC (the file's fourth dword of the 16-byte material record, the one the model reader calls Pad) for bit 0x1: with it clear the corner's diffuse colour is the lit colour (0x574660: the sum of 0x5741B0 clamped to bytes, alpha 0xFF, ANDed with the draw's mask [[0x87A248]+0x2C]) and with it set it is the mask itself (0xFFFFFFFF; the anaglyph stereo mode writes 0xFFFF0000 at 0x577120 and 0xFF00FFFF at 0x57715D and restores the mask at 0x57718C, bit 8 of [0x8BCBC8] through 0x40C830 (Ctrl+T, .data 0x748330), and the software renderer's 0x57AB61 sets 0xFFFF0000 around 0x574660 and restores it at 0x57AB78, before the fill), so the texture is not lit at all; the stage state 0x567620 modulates the texture with the diffuse colour |
| TPW-EXE:0x581320 face test | source/OpenTPW/Hud/PreviewIcon.cs:20 | [BIN:TPW-EXE:0x581320 face test] the batcher's primitive builder 0x580530 keeps a triangle only when the determinant of its corners' x, y |
| TPW-EXE:0x581320 face test | source/OpenTPW/Hud/PreviewIcon.cs:383 | [BIN:TPW-EXE:0x581320 face test] kept when the corners run clockwise on the screen (y down): the determinant of (x, y, w) is positive |
| TPW-EXE:0x581320 face test | source/OpenTPW/UI/Original/UiModel.cs:222 | [BIN:TPW-EXE:0x581320 face test] the primitive builder (0x580530: 0x580FFB, 0x580EAB) keeps a triangle only when it is strictly clockwise on the screen; the others, degenerate ones included, never reach a draw |
| TPW-EXE:0x581320 face test | source/OpenTPW/World/AdvisorRig.cs:170 | [BIN:TPW-EXE:0x581320 face test] the engine drops a triangle itself unless its corners run clockwise on the screen: the batcher's primitive builder |
| TPW-EXE:0x581790 draw state fog bit | source/OpenTPW/World/Advisor.cs:736 | [BIN:TPW-EXE:0x581790 draw state fog bit] no fog is drawn: the mesh draw's state word takes the fog bit from the global flag 0x2000 (set on the island screens, 0x5D9680, cleared on the globe, 0x5DD04C), but the fog range starts at 50 (0x5D96A0) and the advisor's vertices reach the transform stage at depth 0.2 (0x429BA0, 0x57A750: model matrix translation z 0.2, root depth scale 0.001), far inside it |
| TPW-EXE:0x581790 state word | source/OpenTPW/Render/Assets/Material.cs:192 | [BIN:TPW-EXE:0x581790 state word] the original rebuilds the face's state word from the texture the slot shows now (0x590C40), so a slot whose frames differ in alpha type changes pass with its frame |
| TPW-EXE:0x581CD0 mesh submit | source/OpenTPW/World/AdvisorRig.cs:178 | [BIN:TPW-EXE:0x581CD0 mesh submit] the submit (its only caller is 0x57a530) queues the primitive (at most 0x1000, queue [0x8BCBB8]) after transforming its vertices through [0x87B1D8] vtable +8, the per-CPU 4x4 transform chosen at 0x5781D0 (x87 0x579250, 3DNow 0x5F4730, 0x5F4F81); the scene draw flushes that queue through 0x581DB0, which orders by state and texture, and builds each primitive in 0x580530, which applies the face test above |
| TPW-EXE:0x581DB0 material runs | source/OpenTPW/UI/Original/UiModel.cs:198 | [BIN:TPW-EXE:0x581DB0 material runs] the batcher walks a part's materials as runs (material +8..+0xA the vertices, +4/+6 the first triangle and count in the mesh's triangle table [mesh+0x70], 0x580D86..0x580D9D) and every run is one item; the items are grouped by the texture's cache page (the node key is the slot's +0x1C, the page surface, with slot flag 0x1000 set by the page placement 0x590350; pages split by width class, 0x590CF0, 0x58F190), the nodes come out in creation order from the last part and last material, and a part flagged 0x2000000 goes to the node's deferred chain, a stack: within one page the parts' list order and the materials' index order, the triangles of a run in file order. Between pages the texture met last in list order draws first, and the list is the scene list, newest shown first (0x476BF0 -> 0x45BD30 -> 0x576410 -> 0x576270, X79), so pages of their own draw in show order; OpenTPW's fixed screen order equals it only for controls shown once in listed order (hide and re-show moves a control to the newest end, window show sequences unread), and it keeps the call order |
| TPW-EXE:0x581db0 UI part state | source/OpenTPW/UI/Original/UiImages.cs:57 | [BIN:TPW-EXE:0x581db0 UI part state] a UI node's parts go through the scene batcher (the walker 0x576910 marks them with 0x8bb624 = 0x1000000, 0x581cd0 appends them, 0x581db0 -> 0x581790 -> 0x590c40), so every UI texture draws with the state word of its own alpha type and a cut-out gets the 0xF0/255 test; state bit 0x800000 (material word bit 0x2, never set) only re-keys the part's depth sort (0x58109e) |
| TPW-EXE:0x582170 advisor model | source/OpenTPW/World/Level.RenderOrder.cs:11 | [BIN:TPW-EXE:0x582170 advisor model] the advisor's model (flag 0x200) is queued by the scene's model list loop (0x584B10, 0x584BE0) after the particle pass and drawn by the frame flush 0x582170 after the weather, so it lies over the particles and the weather in the original too |
| TPW-EXE:0x582170 frame flush | source/OpenTPW/World/Level.RenderOrder.cs:41 | [BIN:TPW-EXE:0x582170 frame flush] the scene pass 0x576A00 ends with 0x582170: the batcher 0x581DB0 draws every model face whose state has bit 0x1000 or 0x2000 (opaque 0x1256, alpha-test-0xF0 0x2756) at once and |
| TPW-EXE:0x5829E0 record sort | source/OpenTPW/UI/Original/OriginalDepthSort.cs:9 | [BIN:TPW-EXE:0x5829E0 record sort] i advances while key[i] > pivot (bounded by the original high end), j retreats while key[j] < pivot (bounded by the original low end), the pair is swapped and both move on, the left part [lo, j] is a recursive call and the right part [i, hi] the next round of the loop |
| TPW-EXE:0x582AD0 deferred records | source/OpenTPW/Render/WorldPass.cs:10 | [BIN:TPW-EXE:0x582AD0 deferred records] 0x582AD0, the second half of 0x582170, collects the records 0x565590 kept, sorts them with 0x5829E0 on +0x30 (the depth sum) over +0x20 (the vertex count), largest first, and draws them in that order |
| TPW-EXE:0x582AD0 deferred records | source/OpenTPW/World/Entity/ModelEntity.cs:100 | [BIN:TPW-EXE:0x582AD0 deferred records] the faces with a translucent texture are drawn after everything else, far to near (WorldPass); outside a level's pass (nothing collects them) they are drawn here |
| TPW-EXE:0x582AD0 deferred records | source/OpenTPW/World/Particles/ParticleRenderer.cs:205 | [BIN:TPW-EXE:0x582AD0 deferred records] a kept batch's key is the mean depth of its vertices; a screen-space quad's z is its template's word (0 in every shipped template), the nearest key, so the original draws it after the world's records |
| TPW-EXE:0x582ad0 | source/OpenTPW.Tests/LobbyEffectsTests.cs:164 | <summary>[BIN:TPW-EXE:0x582ad0] the flash quad is drawn after the entities and before the bolts and the rain, so they stay bright on the inverted frame.</summary> |
| TPW-EXE:0x582ad0 deferred sort | source/OpenTPW/Client/GameFlow.cs:1117 | [BIN:TPW-EXE:0x582ad0 deferred sort] the order is not call order: the scene queues its meshes ([0x8BCBB8], submitted via 0x581cd0) and flushes them at 0x576dbe -> 0x582170 -> 0x581db0, after the rain call (0x576dab); primitives whose state lacks 0x1000/0x2000 are not drawn when submitted (0x565590) but at the flush, where 0x582ad0 draws them back to front by mean depth (+0x30, sort 0x5829e0, descending). The quad's key is about 0.001 (its z), the bolts' key is forced to 0 (0x5658c0(0) in 0x57ec50) and the drops' key is 0 (0x57efd0), so the bolts and drops draw after the quad; opaque meshes (0x1256) draw in 0x581db0 before the flush, and translucent meshes and the sky have larger keys, so they draw before the quad and are inverted. The reverse-sort condition 0x5828f0 (([0x8BCBC8] & 0xC) == 0xC plus bit 0x20000000) is not verified. |
| TPW-EXE:0x583220 depth split | source/OpenTPW.Tests/WeatherClipTests.cs:183 | [BIN:TPW-EXE:0x583220 depth split] the original's code run offline for D = 1000 (the eye views) and D = 400: the threshold [0x8BCC28] and the slope [0x8BCC34] |
| TPW-EXE:0x583220 depth split | source/OpenTPW/World/Weather/WeatherProjection.cs:15 | [BIN:TPW-EXE:0x583220 depth split] set every frame by the span selection (0x578CA0 -> 0x578D07 with D, the far argument: the park overview's span selection hands it its farthest corner distance (0x56BB00, at least 10), the eye views' 0x56EA90 the greatest clip z of the visible cell boxes, at least 100 (0x56ED79; its first call with 1000, 0x56EAC0, only builds the matrix the box test uses), the lobby the same farthest corner of its own camera): t = max(0.1, [+0x44] x (D - m14) / m10) with [+0x44] = 0.003 (0x582DC8), threshold zt = m10 t + m14, slope 0.1 / zt, offset 0.1, and K = (1 - 0.2) / (1 - zt / (sin(fov / 2) t)), c = 1 - K, so the linear range ends at the depth value 0.2 and the rest runs to 1 (checked by running the original's code offline: D = 1000 gives zt 2.929, K 34.08); every view that draws weather calls 0x578CA0 first (the rain's only caller 0x576DAB is in 0x576A00, which runs 0x56BB00 or 0x56EA90 before it), the lobby included |
| TPW-EXE:0x584EF0 cylinder indices | source/OpenTPW/World/Sky.cs:409 | [BIN:TPW-EXE:0x584EF0 cylinder indices] per column of each half circle (eight of nine) and ring pair: (b, b + 5, b + 4) and (b, b + 1, b + 5) with b = ring + 4 * column |
| TPW-EXE:0x584EF0 layer step | source/OpenTPW/World/Sky.cs:432 | [BIN:TPW-EXE:0x584EF0 layer step] +0x21EC[layer] = (7 - layer) * pi * 0.0089285718 (0x701EE0, 0x701F48) |
| TPW-EXE:0x584EF0 layer velocity | source/OpenTPW/World/Sky.cs:436 | [BIN:TPW-EXE:0x584EF0 layer velocity] +0x1F70[3 * layer] = 0.0008 - layer * -0.0005 (0x701F3C, 0x701F38) |
| TPW-EXE:0x584EF0 layer velocity | source/OpenTPW/World/Sky.cs:440 | [BIN:TPW-EXE:0x584EF0 layer velocity] +0x1F78[3 * layer] = 0.00009 - layer * 0.00003 (0x701F44, 0x701F40) |
| TPW-EXE:0x584EF0 sky constructor | source/OpenTPW/World/Sky.cs:26 | [BIN:TPW-EXE:0x584EF0 sky constructor] width = height = 0x960 (2400), centre (0, 300, 0) (0x43960000), 4 layers, far distance 24000 (+0x21E8); layer colour 0xCFFFFFFF with 0x38000000 less per layer (+0x2F0C, +0x2F10) |
| TPW-EXE:0x585000 sky gate | source/OpenTPW/World/Sky.cs:106 | [BIN:TPW-EXE:0x585000 sky gate] the draw (0x5863C0) and the scroll (0x585F10) need the cloud and the cylinder textures; the colour grid is optional |
| TPW-EXE:0x5852B0 sky load | source/OpenTPW/World/Sky.cs:25 | [BIN:TPW-EXE:0x5852B0 sky load] loads <level dir>\sky\sky.tga (clouds), sky_rgb.tga (the colour grid, freed after sampling) and sky_cyl.tga (the cylinder); a missing sky.tga or sky_cyl.tga logs an error and leaves its pointer null |
| TPW-EXE:0x585720 cloud indices | source/OpenTPW/World/Sky.cs:391 | [BIN:TPW-EXE:0x585720 cloud indices] per cell (a, b): (a, b + 1), (a, b), (a + 1, b + 1) when those three are above -top, then (a, b), (a + 1, b), (a + 1, b + 1) when those are |
| TPW-EXE:0x585720 default colours | source/OpenTPW/World/Sky.cs:508 | [BIN:TPW-EXE:0x585720 default colours] ((rand() & 0x7F) * 0x10101) | 0xFF808080 per cell; OpenTPW takes its own deterministic hash so a presentation-only fallback never touches a random stream |
| TPW-EXE:0x585720 sky geometry | source/OpenTPW/World/Sky.cs:27 | [BIN:TPW-EXE:0x585720 sky geometry] cloud grid x = column * width / 15 - width / 2, z likewise, y = 300 - 0.2 * sqrt(x^2 + z^2); the cylinder radius is 0.6 * width / 2 with rings at radius x1, 0.98, 0.96, 0.84 and heights top, top / 2, 0, -top (top = 300 - 0.2 * radius) |
| TPW-EXE:0x585CE0 colour grid | source/OpenTPW/World/Sky.cs:481 | [BIN:TPW-EXE:0x585CE0 colour grid] samples (width / 16) / 2 + k * (width / 16) over x and the same over y into the grid at +0xF60 (and its three copies); the draw reads index column + 16 * row (0x5863C0) |
| TPW-EXE:0x585F10 sky scroll | source/OpenTPW/World/Sky.cs:29 | [BIN:TPW-EXE:0x585F10 sky scroll] per frame offset += velocity * (frame seconds * 25), wrapped into -1..1, zero for a frame of a second or more |
| TPW-EXE:0x5860D0 sky object draw | source/OpenTPW/World/Sky.cs:226 | [BIN:TPW-EXE:0x5860D0 sky object draw] the point (X, Y, Z) goes through the sky's clip matrix (the view without its translation times the projection, 0x5865AA, case 0 of 0x578D20) to (x, y, z, w); the quad takes the offsets (-+h, +-h), h = Size x 0.5 (0x701F50), turns them by the camera roll (0x591430), scales the x offsets by the aspect word 0x8BCBCC (height over width) and adds them to x and y in clip space, keeping z and w: a square on the screen whose half height is h / w, its size falling with the depth; 0x565F90 mode -3 clips it against the frustum and takes it white (0xFFFFFFFF) with the corner coordinates of the texture page |
| TPW-EXE:0x5863C0 cloud colour | source/OpenTPW/World/Sky.cs:527 | [BIN:TPW-EXE:0x5863C0 cloud colour] the vertex colour is the layer's 0xCFFFFFFF - 0x38000000 * layer ANDed with the grid colour at index column + 16 * row |
| TPW-EXE:0x5863C0 cylinder coordinates | source/OpenTPW/World/Sky.cs:375 | [BIN:TPW-EXE:0x5863C0 cylinder coordinates] the first run takes v 0.99, 0.84, 0.67, 0.51 and the second 0.49, 0.34, 0.17, 0.01 per ring (0x3F7D70A4, 0.34 + 0.5, 0.17 + 0.5, 0.01 + 0.5 and 0x3EFAE148, 0.34, 0.17, 0.01); the flag 0x2000000 swaps in 0.49, 0.01, 0.19 for the last three rings |
| TPW-EXE:0x5863C0 gate | source/OpenTPW/World/Sky.cs:632 | [BIN:TPW-EXE:0x5863C0 gate] a layer count of 0 (SKYQUALITY 0) draws no sky |
| TPW-EXE:0x5863C0 layer coordinates | source/OpenTPW/World/Sky.cs:461 | [BIN:TPW-EXE:0x5863C0 layer coordinates] u = (row * step + offset u) * s5 + o5 and v = (column * step + offset v) * s6 + o6, where each layer negates and swaps the texture page's scale and offset pairs, so with a whole page (scale 1, offset 0) the signs run (-1, +1), (-1, -1), (+1, -1), (+1, +1) |
| TPW-EXE:0x5863C0 sky clip mask | source/OpenTPW/World/Sky.cs:328 | [BIN:TPW-EXE:0x5863C0 sky clip mask] the clouds and the cylinder go through the triangle clipper 0x565960 with the mask 2, which it leaves out of the outcodes (~mask); the outcode table that |
| TPW-EXE:0x5863C0 sky draw | source/OpenTPW/World/Sky.cs:28 | [BIN:TPW-EXE:0x5863C0 sky draw] the view matrix with its translation zeroed (camera-centred), the clouds layer by layer (state 0x401D56: wrap, alpha blend, no depth write), then the cylinder (state 0x1D56) |
| TPW-EXE:0x5863C0 sky object passes | source/OpenTPW/World/Sky.cs:670 | [BIN:TPW-EXE:0x5863C0 sky object passes] the objects of mask 2 are drawn before the cloud layers (0x5865AC) and those of mask 1 after the cylinder (0x586C9E) |
| TPW-EXE:0x586448 sky state | source/OpenTPW.Tests/SkyTests.cs:18 | [BIN:TPW-EXE:0x586448 sky state] 0x401D56 (clouds), 0x1D56 (cylinder) and 0x401D56 (objects): ALPHATESTENABLE 0x400, no 0x200, so the reference is 0x10 of 255 |
| TPW-EXE:0x586448 sky state | source/OpenTPW/World/Sky.cs:48 | [BIN:TPW-EXE:0x586448 sky state] the cloud layers' state is 0x1556 | 0x400800 (0x401D56 with render flag bit 8 clear, 0x401A56 with it set: the single opaque layer of the hidden debug key 0x40C830), the cylinder's the constant 0x1D56 (0x586AAC) and a sky object's its texture's 0x556 | 0x400000 (flags 0x30200, 0x585137) | 0x1800 (0x5861E5): all with ALPHATESTENABLE (0x400) at the reference 0x10 (no 0x200), blending, depth writes off (0x800) and drawn at once (0x1000) |
| TPW-EXE:0x586810 mirrored layers | source/OpenTPW/World/Sky.cs:548 | [BIN:TPW-EXE:0x586810 mirrored layers] with the globe's flag the draw makes the layers' records a second time after the first pass: the grid's positions with x and the height negated (0x586820 to 0x586855), the same triangles (the index list at +0x21FC), colours and texture coordinates |
| TPW-EXE:0x586B03 globe rows | source/OpenTPW.Tests/SkyTests.cs:62 | [BIN:TPW-EXE:0x586B03 globe rows] oracle X78: the globe's flag gives these rows |
| TPW-EXE:0x586B03 globe rows | source/OpenTPW/World/Sky.cs:376 | [BIN:TPW-EXE:0x586B03 globe rows] render flag 0x2000000 (the globe's, set 0x5DD072) replaces the V rows of the last three rings by 0.99, 0.69, 0.51, 0.99 (first run) and 0.49, 0.19, 0.01, 0.49 (second): the constants 0.01 and 0.49 swap places (0x701F88, 0x701F94) and 0.17 and 0.34 become 0.01 and 0.19 (0x586B0B to 0x586B2B); oracle X78 (docs/reverse/ORACLE.md 7.40) |
| TPW-EXE:0x587380 loading screen | source/OpenTPW.Files/Public/GameLanguage.cs:328 | [BIN:TPW-EXE:0x587380 loading screen] the start-up routine 0x54dcf0 and the main state machine 0x54e360 call it with the language name of 0x41a820, |
| TPW-EXE:0x5882E0 translucent frames | source/OpenTPW.Tests/ParticleOpaqueStateTests.cs:37 | [BIN:TPW-EXE:0x5882E0 translucent frames] 0x541310 sets [0x877354] and every set it loads gets flag 0x200 for its frames: state 0x556, never 0x2756 |
| TPW-EXE:0x588660 frame aspect | source/OpenTPW/World/Particles/ParticleRenderer.cs:372 | [BIN:TPW-EXE:0x588660 frame aspect] the sprite entry's float +8 is the frame's width / height as loaded (the shorts at +0xC and +0xE; 1.0 for a zero height) by the three frame loaders of the sprite set loader 0x587DB0 (0x588510 at 0x5885E7, 0x588660 at 0x5887A1, 0x588820 at 0x58891E and 0x588935), and no later store rescales it: the other stores of a float to +8 in the sprite module belong to other structures (0x585F10 the sky layer, 0x5890E0, 0x589410 and 0x589B50 the billboard vertex writers) |
| TPW-EXE:0x588660 frame aspect | source/OpenTPW/World/Particles/ParticleRenderer.cs:389 | [BIN:TPW-EXE:0x588660 frame aspect] the frame record's float +8 is the frame's width / height (the shorts at +0xC and +0xE), the factor a textured quad's half-width takes; an untextured quad takes DAT_008BCBCC, the display's height / width (0x582EB0) |
| TPW-EXE:0x58CB40 rank key | source/OpenTPW/Render/Original/OriginalPageAllocator.cs:79 | [BIN:TPW-EXE:0x58CB40 rank key] ((ftol((1.5 - priority) * 2047) & 0xFFF) * 256 + width) * 256 + height, | 0x20000000 for flags 0x4000, | 0x40000000 for flags 0x80000; x87 control word 0x7F (single precision) |
| TPW-EXE:0x58EAE0 page-list merge | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:35 | [BIN:TPW-EXE:0x58EAE0 page-list merge] arg1 is the output array (padded plus a 0 terminator), arg2 the pending head and arg3 a container whose +0x4 is the existing head; `this` is unused and the routine returns 0xC |
| TPW-EXE:0x58EB06 leading skip | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:36 | [BIN:TPW-EXE:0x58EB06 leading skip] when the existing head is device dependent (0x590FB0) it is skipped once, before the merge starts |
| TPW-EXE:0x58EB30 existing filter | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:37 | [BIN:TPW-EXE:0x58EB30 existing filter] the existing list contributes only records whose flags have 0x40000000; the others are walked past without being emitted |
| TPW-EXE:0x58EB48 pending filter | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:38 | [BIN:TPW-EXE:0x58EB48 pending filter] the pending list drops device dependent records (0x590FB0) |
| TPW-EXE:0x58EB6A ordering | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:39 | [BIN:TPW-EXE:0x58EB6A ordering] descending by the signed word +0x12, then by the signed word +0x10; a full tie emits the existing record first |
| TPW-EXE:0x58EC83 return | source/OpenTPW/Render/Original/OriginalPageListMerge.cs:40 | [BIN:TPW-EXE:0x58EC83 return] the sum of width x height of the emitted records, added as unchecked 32-bit products |
| TPW-EXE:0x58ECA0 allocator | source/OpenTPW/Render/Original/OriginalPageAllocator.cs:77 | [BIN:TPW-EXE:0x58ECA0 allocator] free list starts as the whole page; each request takes the LAST free rectangle it fits (rounded to the mask when 0x18E8 is set); any request that fits nowhere may be downsampled and moved behind greater ranks while no placement has been written yet; leftovers above 8 stay free |
| TPW-EXE:0x58a010 option label colour | source/OpenTPW/UI/Original/UiText.cs:341 | [BIN:TPW-EXE:0x58a010 option label colour] the control's colour (0,0,0,255) is the diffuse colour of its sprite quads (0x58a019), drawn with the fixed state word 0x7060556 (stage 0 colour = texture MODULATE diffuse: 0x567620, 0x566840), so every texel's RGB is white coverage x black = (0,0,0); the (16,16,48) read off the video earlier was its chroma |
| TPW-EXE:0x58a26c sprite quad state | source/OpenTPW/Render/OriginalStateWord.cs:20 | [BIN:TPW-EXE:0x58a26c sprite quad state] mov [ebp-0x54], 0x7060556 (record state, 0x565F90 -> 0x565240 stores it at record+4) |
| TPW-EXE:0x590C40 state word | source/OpenTPW/UI/Original/UiImages.cs:40 | [BIN:TPW-EXE:0x590C40 state word] a texture with an alpha plane and a zero alpha byte (ipan, smallguage) is state 0x2756 whatever slot or model draws it: alpha blend with an alpha test at 0xF0/255 |
| TPW-EXE:0x590C40 state word | source/OpenTPW/World/Original/OriginalTerrain.cs:1054 | [BIN:TPW-EXE:0x590C40 state word] a mesh with a translucent texture (the header of the texture's own file, WorldTranslucency) is one record of the original's sorted list: it is its own model, |
| TPW-EXE:0x590C40 state word, 0x581790 face state, 0x5755F0 texture flags | source/OpenTPW/Render/WorldTranslucency.cs:10 | [BIN:TPW-EXE:0x590C40 state word, 0x581790 face state, 0x5755F0 texture flags] a face with texture flag 0x200 (an alpha plane with a non-zero header alpha byte) gets state 0x556: an alpha blend with an alpha test at 0x10/255 (0x567620: bit 0x400 enables |
| TPW-EXE:0x590FB0 device test | source/OpenTPW/Render/Original/OriginalPageAllocator.cs:78 | [BIN:TPW-EXE:0x590FB0 device test] flags & 0x30000 and the device kind global 0x8BD524 equal to 1 |
| TPW-EXE:0x5913F0 rotation table | source/OpenTPW/World/Particles/ParticleScreenSpace.cs:28 | [BIN:TPW-EXE:0x5913F0 rotation table] 256 floats fsin(i * pi * (1/128)) |
| TPW-EXE:0x591430 | source/OpenTPW.Tests/ParticleScreenSpaceTests.cs:42 | [BIN:TPW-EXE:0x591430] a quarter turn (spin 0x4000, table index 64): (x, y) -> (y, -x) about the centre |
| TPW-EXE:0x591430 quad rotation | source/OpenTPW/World/Particles/ParticleScreenSpace.cs:44 | [BIN:TPW-EXE:0x591430 quad rotation] index a = ftol(spin / 65536 * 256) & 0xFF, s = table[a], c = table[(0x40 + a) & 0xFF]; about the quad's centre each corner becomes (x c + y s, y c - x s), in the screen units as they are |
| TPW-EXE:0x591430 sprite rotation | source/OpenTPW/World/Sky.cs:189 | [BIN:TPW-EXE:0x591430 sprite rotation] sin = table[trunc(roll * 256) & 255], cos = table[(0x40 - trunc(roll * -256)) & 255]; each corner (x, y) about the quad's centre becomes (cos * x + sin * y, cos * y - sin * x) |
| TPW-EXE:0x591600 D4 coefficients | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:163 | [BIN:TPW-EXE:0x591600 D4 coefficients] fld 3.0, fsqrt, fld 2.0, fsqrt, fxch, fsub/fsubr of -1.0 / -3.0 / 3.0 / 1.0 (0x702618, 0x702630, 0x702610, 0x702638), fmul 0.25, fxch, fdivp, fstp dword to 0xC27208..0xC27214; the four entries sit in the initialiser table at 0x72BD70 inside the C++ range 0x727000..0x72E0E8 that _cinit (0x67F8F0) walks after the FP hook |
| TPW-EXE:0x592C50 pair formulas | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:214 | [BIN:TPW-EXE:0x592C50 pair formulas] steady loop (0x592D32..0x592DA8): smooth = (s1A + w1D) + (w0B + s0C); wave = (s1B + s0D) - (w0A + w1C); last pair of a row (0x592DAA..0x592DE2): same smooth, wave = s0D + (s1B - (w0A + w1C)); wrap pair 0 (0x592DEA..0x592E47): smooth = ((s0C + w0B) + w1D) + s1A, wave = ((s0D + s1B) - w0A) - w1C; short rows (n < 6, 0x592C8D..0x592CED): smooth = ((w1D + s0C) + s1A) + w0B, same wave |
| TPW-EXE:0x592E60 header scale | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:125 | [BIN:TPW-EXE:0x592E60 header scale] the scale (stack argument) multiplies each dequantised coefficient in 0x592B80 (fmul dword [ebp+0x14], fstp dword) and in 0x592E60's inlined copy (fmul [ebp+0x18]); the D4 coefficients are not scaled |
| TPW-EXE:0x593301 alpha conversion | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:304 | [BIN:TPW-EXE:0x593301 alpha conversion] fld, fcomp dword [0x70268C] (0.0), fnstsw, test ah,1 -> 0; fcomp dword [0x702690] (255.0), test ah,0x41 jne -> _ftol and 0xFF, else 255 |
| TPW-EXE:0x5935A0 colour conversion | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:66 | [BIN:TPW-EXE:0x5935A0 colour conversion] fld/fmul of the chroma by the constants 0xFB277C..0xFB2788 (1.772, 1.402, 0.344136, 0.714136), fadd of 0x4B400080 (0xFB278C) for the blue and red terms and fsubr from it for green, then one fadd of the luma per pixel, fstp dword and a table byte per low 9 bits; the chroma terms stay on the register stack between the two pixel rows of a block |
| TPW-EXE:0x5935A0 colour table lookup | source/OpenTPW.Files/Formats/Image/SignWaveletDecoder.cs:313 | [BIN:TPW-EXE:0x5935A0 colour table lookup] mov eax, [mem]; and eax, 0x1FF; mov al, [eax + 0xC27008]; the table fill (0x5916C0) is clamp(i - 0x80, 0, 255) for i = 0..511 |
| TPW-EXE:0x593ab0 planar rows, 0x595920 interleaved rows | source/OpenTPW.Files/Formats/Image/TextureFile.Decode.cs:41 | [BIN:TPW-EXE:0x593ab0 planar rows, 0x595920 interleaved rows] the two decoders of the vtable at 0x7026d8: 0x593ab0 dequantises a row of N |
| TPW-EXE:0x598960 advisor pause | source/OpenTPW.Tests/AudioPauseSoundTests.cs:85 | [BIN:TPW-EXE:0x4092a0 game pause] [BIN:TPW-EXE:0x598960 advisor pause] [BIN:TPW-EXE:0x51c1d0 paused listener] |
| TPW-EXE:0x598960 advisor pause | source/OpenTPW.Tests/AudioPauseSoundTests.cs:109 | [BIN:TPW-EXE:0x598960 advisor pause] the option byte 0x78D90C, the response flag 0xF7966C and the handle 0xF79680 all gate it; the paused word is set whatever they say |
| TPW-EXE:0x598960 advisor pause | source/OpenTPW/Audio/GamePauseSound.cs:75 | [BIN:TPW-EXE:0x598960 advisor pause] the three tests (0x598960-0x598979), then the pause-handle message 0x51C060 (record 0x700B9C: 0x6B5C50 -> 0x6B8A10 -> the channel's pause) and the flag 0xF797C4 = 1 (0x598984) |
| TPW-EXE:0x598F1C | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:79 | [BIN:TPW-EXE:0x598F1C] 0x40000: 2 x 0x31 from the previous target to (0, 0) over the clip, radii from the previous ones to (0.6, 0.4), 2 turns |
| TPW-EXE:0x598F8D | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:114 | [BIN:TPW-EXE:0x598F8D] 0x100000 empties the group, starts 2 x 0x2C and moves them towards (0.8, -0.8) with the radii shrinking to 0 |
| TPW-EXE:0x598FDF | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:60 | [BIN:TPW-EXE:0x598FDF] 0x20000: 0x5ED5A0(0, 1, 0x2C), then jump to (0.34, 0.62), radii (0.01, 0.2), 1 turn, over the clip's length |
| TPW-EXE:0x599050 advisor sound handle | source/OpenTPW/Client/SpeechAudioPlayer.cs:90 | [BIN:TPW-EXE:0x599050 advisor sound handle] the response player stores the handle of its speech in 0xF79680 and the response flag 0xF7966C; the stop 0x5994E0 releases both (0x51C2C0, 0x59958C-0x59959E) |
| TPW-EXE:0x599050 response player | source/OpenTPW.Tests/LobbyAdvisorTests.cs:71 | [BIN:TPW-EXE:0x599050 response player] the speech flag 0x78D90C off: the id was already taken from the queue |
| TPW-EXE:0x599050 response player | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:92 | [BIN:TPW-EXE:0x599050 response player] nothing is said with the speech off (0x78D90C) or while a response is active (0xF7966C) |
| TPW-EXE:0x599339,0x51BFC0 advisor clip | source/OpenTPW/Client/SpeechAudioPlayer.cs:115 | [BIN:TPW-EXE:0x599339,0x51BFC0 advisor clip] the clip is a cat_speech library event (100..100 volume, no pitch, group mask 0x10005: master and speech) started by 0x51BFC0; no draw is needed (equal ranges), so it is an event-system voice at volume 100 |
| TPW-EXE:0x5994E0 cut-off path | source/OpenTPW.Tests/LobbyAdvisorTests.cs:92 | [BIN:TPW-EXE:0x5994E0 cut-off path] 0x27F + rand() % 3 sounds only while the speech sound still plays; the queue's teardown calls it only with a response active |
| TPW-EXE:0x5994E0 cut-off path | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:144 | [BIN:TPW-EXE:0x5994E0 cut-off path] the speech is stopped, the advisor killed (0x429D60) and, while its speech sound was still playing, one of the three slaps (0x27F + rand() % 3, 0x5995A4) sounds |
| TPW-EXE:0x5994e0 advisor stop | source/OpenTPW.Tests/AudioPauseSoundTests.cs:162 | [BIN:TPW-EXE:0x5994e0 advisor stop] |
| TPW-EXE:0x5994e0 advisor stop | source/OpenTPW/Audio/GamePauseSound.cs:67 | [BIN:TPW-EXE:0x5994e0 advisor stop] when the paused flag is set, the advisor option on and a handle held, the stop resumes the handle (0x51C0A0) and clears the flag before it releases the handle (0x51C2C0) |
| TPW-EXE:0x599800 advisor frame | source/OpenTPW/World/AdvisorEffects.cs:25 | [BIN:TPW-EXE:0x599800 advisor frame] after the accessory update the frame moves every group (0x5ED770), active response or not |
| TPW-EXE:0x599880 lip clock | source/OpenTPW/Client/SpeechAudioPlayer.cs:40 | [BIN:TPW-EXE:0x599880 lip clock] the original compares LIP marks with the advisor timer (0x785970 +0x50 via 0x402D80, a QueryPerformanceCounter/timeGetTime millisecond clock 0x5F5F10) minus its own paused time (0xF79784 while 0x4030C0 reports a pause), from the request - 200 ms (0x599050), never with the mixer position; the automatic advisor does so (Advisor.LipPosition) |
| TPW-EXE:0x599E70 advisor constructor | source/OpenTPW.Files/Formats/Save/SaveNewParkThings.cs:47 | [BIN:TPW-EXE:0x599E70 advisor constructor] the valid byte of each of the eight 0x18-byte pending slots (from +0x28) is 0, +0xC, +0x10 (time signature, sound), +0xD4, +0xD8 and +0xDC are 0, each of the 0x15F (351) history entries from +0xE0 is {0, 0xFFFFFFFF, 0, 0} and +0x16E4 (requested last tutorial) is 0 |
| TPW-EXE:0x59A796 advisor pick | source/OpenTPW/Economy/ParkEconomy.cs:124 | [EXT:headless-economy] a headless economy (tests and tools, no staff world) searches on the member's first update, which is OpenTPW's own test and tool design and has no original counterpart (user-approved 2026-10-16, DET-015 converted 2026-10-30); in a level the staff pool's and the staff walks' draws are the world generator's, and the staff constructors' role searches run inside the placing click of a level ([BIN:TPW-EXE:0x004D4340 constructor searches] StaffWorldSimulation.Constructed after the hire's draws: [BIN:TPW-EXE:0x004F89E1 staff base speed] the consumed base-speed draw and the guard's variant draw, see ParkStaff.Hire; no staff constructor reseeds, 0x4F7B7E is the online avatar's); a headless economy has no staff world and searches on the member's first update, the researcher constructor's last call 0x5041F0 runs at a researcher's hire and removal without a draw ([BIN:TPW-EXE:0x005041F0 researchers flag] ParkStaff.LabActive, message 5 or 6 on a change; the advisor's reaction is ADVISOR-009's), and the weather stays off the stream ([BIN:TPW-EXE:0x59A796 advisor pick] the advisor's update takes no draw: all 351 descriptor rows are in the sequential mode 2, the mode-3 draw 0x59A7AC is unreachable) |
| TPW-EXE:0x59b060 challenge message receivers | source/OpenTPW/Economy/ParkObjectives.cs:378 | [BIN:TPW-EXE:0x59b060 challenge message receivers] a challenge message (category 25, vtable 0x006FD830) carries a text tag in +8 and an advice id in +0xc: the advisor queues the advice (0x59B540, 0x59B590, 0x59A940) unless it is 0x160, and the tag system (0x509BF0) shows the tag's text; the warning's advice 0x10f is message 271 of the advisor table (Challenge.Score, getter 0x5A0A30 = +0x62C), whose tag 0x17f has no text |
| TPW-EXE:0x5ACCF0 park entry load | source/OpenTPW/World/Level.cs:284 | [BIN:TPW-EXE:0x5ACCF0 park entry load] park entry (state 9 of 0x54E360) loads the newest file in the player's folder of the park through 0x414D40; an Instant Action player's folder holds the copy of the level's easymode.TPWI (0x5C8190 copies it when the player is created), so its Sound block plays as a loaded save's does |
| TPW-EXE:0x5AF810 local ticket award | source/OpenTPW/Economy/ParkObjectives.cs:582 | [BIN:TPW-EXE:0x5AF810 local ticket award] 0 when the park's byte (+0x48 + type) is set, else it sets it and returns 1 (2 or 3 with a key); [BIN:TPW-EXE:0x5AF940 global ticket award] with the player-wide flag clear it sets the flag, the park's held byte and record (1, 2 or 3), with it set and this park holding it 0, else the first park holding it with a record below the new one loses it (4); no handler checks the game type or CanEarnTicketsInTheme |
| TPW-EXE:0x5AF940 global ticket award | source/OpenTPW/Economy/ParkObjectives.cs:582 | [BIN:TPW-EXE:0x5AF810 local ticket award] 0 when the park's byte (+0x48 + type) is set, else it sets it and returns 1 (2 or 3 with a key); [BIN:TPW-EXE:0x5AF940 global ticket award] with the player-wide flag clear it sets the flag, the park's held byte and record (1, 2 or 3), with it set and this park holding it 0, else the first park holding it with a record below the new one loses it (4); no handler checks the game type or CanEarnTicketsInTheme |
| TPW-EXE:0x5B7610 chat satellite list | source/OpenTPW.Server/ChatParkDirectory.cs:19 | [BIN:TPW-EXE:0x5B7610 chat satellite list] each City connection asks for the parks of city 1 (GetParkInCityList(0, 1, lastCRC, 0) through 0x5BCB30), |
| TPW-EXE:0x5C8650 park exit | source/OpenTPW/Audio/GameAudio.cs:408 | [BIN:TPW-EXE:0x5C8650 park exit] state 12 of the park state machine 0x54E360 writes the profile (0x5AFC60 -> 0x5AFF50 -> 0x423E90), which ends in the options applier 0x423DD0 |
| TPW-EXE:0x5D5F70 queue setup | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:7 | [BIN:TPW-EXE:0x5D5F70 queue setup] the task's setup (slot +4 of vtable 0x702DA0) clears the idle word (+0x18), the idle delay (+0x1C) and the time of the last speech (+0x20); the object is made at 0x5E3ECF and registered at 0x5E3EDE |
| TPW-EXE:0x5D5F70 queue setup | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:23 | [BIN:TPW-EXE:0x5D5F70 queue setup] the word +0x28 ("the advisor spoke since the last step") is cleared with the idle word, delay and last time (0x5D5F78-0x5D5F7B: eax = 0 stored at +0x18, +0x1C, +0x20 and +0x28); the queue is made with the lobby (the setup 0x5D5970, called at 0x54E671 on every entry of the front-end state, makes the island holder [0xF85614] at 0x5D5B24, and 0x5E3DC0 allocates the queue into it, 0x5E3ECF..0x5E3EE1), so every lobby entry starts it cleared |
| TPW-EXE:0x5D5F80 queue step | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:454 | [BIN:TPW-EXE:0x5D5F80 queue step] the lobby advisor says what its queue holds; the smoke queues the idle line directly (the real one comes after 90 s of silence) and the model shows while it plays |
| TPW-EXE:0x5D5F80 queue step | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:57 | [BIN:TPW-EXE:0x5D5F80 queue step] a response that plays only marks that the advisor spoke (0x5D6047); else a waiting id is said (0x5D5FCF) and marks it; else, with the idle line on, the mark moves the last speech time to now, and a silence longer than the delay (an unsigned compare against the last speech plus the delay, 0x5D6014) pushes the idle line and takes the time (0x5D601B-0x5D6037) |
| TPW-EXE:0x5D5FFE spoke | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:69 | [BIN:TPW-EXE:0x5D5FFE spoke] with the idle line on, the step after a speech takes the time as the last speech and returns |
| TPW-EXE:0x5D6014 silence | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:55 | [BIN:TPW-EXE:0x5D6014 silence] an unsigned compare of the time with the last speech plus the delay |
| TPW-EXE:0x5D6047 busy | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:44 | [BIN:TPW-EXE:0x5D6047 busy] a response that plays only sets the spoke word |
| TPW-EXE:0x5D6060 queue teardown | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:92 | [BIN:TPW-EXE:0x5D6060 queue teardown] the cut-off path runs only with a response active |
| TPW-EXE:0x5D6060 queue teardown | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:89 | [BIN:TPW-EXE:0x5D6060 queue teardown] with a response active (0xF7966C) it calls the cut-off path 0x5994E0, then empties the list from its head |
| TPW-EXE:0x5D6110 push | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:33 | [BIN:TPW-EXE:0x5D6110 push] a nonzero second argument empties the list before the id is added |
| TPW-EXE:0x5D6110 push | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:36 | [BIN:TPW-EXE:0x5D6110 push] a nonzero second argument empties the list from its head (0x5D6131-0x5D616E) before the id is added (0x5D6172-0x5D6186) |
| TPW-EXE:0x5D61A0 idle line | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:45 | [BIN:TPW-EXE:0x5D61A0 idle line] sets the idle word to 1, the delay (+0x1C) and the id (+0x24) |
| TPW-EXE:0x5D8B50 lobby fog | source/OpenTPW/Render/RenderFog.cs:19 | [BIN:TPW-EXE:0x5D8B50 lobby fog] the lobby sets the fog colour 0xFF44DDFF, start 50 and end 300 but clears bit 0x2000 (0x5D8BF9), so it has no fog; the globe clears it too (0x5DD04C); front-end screens that call 0x5D9680 (50 to 250) are fogged and are not mapped here. The lobby's projection is built with near 0.1, far 1000 and its own field of view (0x5D8CB0). |
| TPW-EXE:0x5D8BEA lobby flag | source/OpenTPW/Render/RenderFog.cs:46 | [BIN:TPW-EXE:0x5D8BEA lobby flag] the lobby's init (0x5D8B50) sets bit 0x4000000 of [0x8BCBC8] (and clears 0x10000 and 0x2000) and its exit restores the saved word (0x5D8D0D, 0x5D8D19): bit 0x4000000 is the lobby's, so its clear stays the fog colour 0xFF44DDFF |
| TPW-EXE:0x5D9230 ambient setter | source/OpenTPW.Tests/LobbyAdvisorTests.cs:131 | [BIN:TPW-EXE:0x5D9230 ambient setter] channel = byte x 0x702A4C (1/255); 0x444444 on the island screens, 0x202020 on the globe |
| TPW-EXE:0x5D9230 ambient setter | source/OpenTPW/World/Advisor.cs:83 | [BIN:TPW-EXE:0x5D9230 ambient setter] the ambient words 0x879DD8-0x879DE4 are (1.0, R, G, B) with each channel byte / 255 (0x702A4C); the advisor is lit per vertex from them (0x573FD0 default) |
| TPW-EXE:0x5D9230 lobby ambient | source/OpenTPW/World/Advisor.cs:735 | [BIN:TPW-EXE:0x5D9230 lobby ambient] in the lobby the advisor is lit by the ambient words of the active lobby screen (0.267 grey on the island screens, 0x5E1924; 0.125 grey on the globe and city views, 0x5DD078: Ambient) |
| TPW-EXE:0x5DD072 globe flag | source/OpenTPW/Render/RenderFog.cs:47 | [BIN:TPW-EXE:0x5DD072 globe flag] the globe sets bit 0x2000000 (and clears it on leaving, 0x5DD2E2): that bit is not in the clear's mask, but the lobby's 0x4000000 is still set under it |
| TPW-EXE:0x5DD072 globe sky | source/OpenTPW/Client/GameFlow.cs:1254 | [BIN:TPW-EXE:0x5DD072 globe sky] the globe screen sets render flag 0x2000000 for the sky's draw: the mirrored layers and the cylinder's other rows (Sky.BuildVertices) |
| TPW-EXE:0x5DD078 globe ambient | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:174 | [BIN:TPW-EXE:0x5DD078 globe ambient] the globe's enter 0x5DCFE0 sets 0x5D9230(1, 0x202020); the city view of vtable 0x702E20 has the globe's base class (0x5DC580) |
| TPW-EXE:0x5DD910 publish globe | source/OpenTPW/Online/OnlineScreens.cs:1623 | [BIN:TPW-EXE:0x5DD910 publish globe] its activation builds the worldlob table with argument 1 (0x4C4FB0), which hides the satellites |
| TPW-EXE:0x5E1830 islands update | source/OpenTPW.Tests/LobbyAdvisorTests.cs:59 | [BIN:TPW-EXE:0x5E1830 islands update] the draw is made every frame and the queue says the id the last frame stored |
| TPW-EXE:0x5E1830 islands update | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:87 | [BIN:TPW-EXE:0x5E1830 islands update] every frame, with a current player: 0x5D61A0(0x18B for an odd draw, 0x18A for an even one, 0x15F90); the last frame's draw is the line the queue says |
| TPW-EXE:0x5E1854 idle delay | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:12 | [BIN:TPW-EXE:0x5E1854 idle delay] the islands component's update passes 0x15F90 (90 s) with the idle line |
| TPW-EXE:0x5E1924 island ambient | source/OpenTPW/FrontEnd/LobbyAdvisor.cs:172 | [BIN:TPW-EXE:0x5E1924 island ambient] the island view's enter sets 0x5D9230(1, 0x444444), as do 0x5E13A9 (the islands component's enter) and 0x5E2445 (the enter of the island screen of vtable 0x702DD0) |
| TPW-EXE:0x5E2A30 list push | source/OpenTPW.Tests/LobbyAdvisorQueueTests.cs:22 | [BIN:TPW-EXE:0x5E2A30 list push] pushed at the head, taken from the tail: first in, first out |
| TPW-EXE:0x5E2A30 list push | source/OpenTPW/FrontEnd/LobbyAdvisorQueue.cs:8 | [BIN:TPW-EXE:0x5E2A30 list push] a pushed id goes in at the head of the list (+0xC) and the step takes it from the tail (+0x10): first in, first out |
| TPW-EXE:0x5E45D0 chat line parse | source/OpenTPW.Online/Chat/ChatCommands.cs:196 | [BIN:TPW-EXE:0x5E45D0 chat line parse] the tokenizer skips its delimiters (space, line feed, tab, carriage return; 0x5E6820) with |
| TPW-EXE:0x5E80D0 strip resampler | source/OpenTPW.Files/Formats/Font/SignSurfaceComposer.cs:306 | [BIN:TPW-EXE:0x5E80D0 strip resampler] the PC twin: step = ((src << 16) + 0x8000) / dst, a horizontal then a vertical bucket average ((sum & 0xFFFF) / count); a destination taller than the source gives a zero count and the division at 0x5E8364 faults, so the upsampling below is OpenTPW's |
| TPW-EXE:0x5EACE0 sign text | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:52 | [BIN:TPW-EXE:0x5EACE0 sign text] the four ScriptStringAnalyse calls pass a UTF-16 string and dwFlags 0x80 (SSA_GLYPHS) only: no SSA_FALLBACK, so a character the font lacks is drawn from that font alone (.notdef here) |
| TPW-EXE:0x5ED580 groups reset | source/OpenTPW/World/AdvisorEffects.cs:24 | [BIN:TPW-EXE:0x5ED580 groups reset] the advisor's set-up (0x5989C0) zeroes the 0x33 words of the three groups (no emitter is ended) and builds the 512-entry sine table (0x5442E0) |
| TPW-EXE:0x5ED5A0 group size | source/OpenTPW/World/AdvisorEffects.cs:63 | [BIN:TPW-EXE:0x5ED5A0 group size] more: each new slot from the old count up gets 0x521E60(effect, 0, 0, 0), kept even when refused, and the result is the count added; fewer: every nonzero handle from the new count up is ended (0x51FEB0) and cleared, the result is minus the number ended; the existing emitters keep their effect |
| TPW-EXE:0x5ED5D9 | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:123 | [BIN:TPW-EXE:0x5ED5D9] a refused start keeps its slot; [BIN:TPW-EXE:0x5ED61F] only nonzero handles are ended |
| TPW-EXE:0x5ED61F | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:123 | [BIN:TPW-EXE:0x5ED5D9] a refused start keeps its slot; [BIN:TPW-EXE:0x5ED61F] only nonzero handles are ended |
| TPW-EXE:0x5ED660 group move | source/OpenTPW/World/AdvisorEffects.cs:97 | [BIN:TPW-EXE:0x5ED660 group move] mode 0: from = the previous target; otherwise from = (x, y); target = (x, y); a nonzero time stores the advisor clock (0x5988E0) as the start and the time as the length |
| TPW-EXE:0x5ED700 group orbit | source/OpenTPW/World/AdvisorEffects.cs:114 | [BIN:TPW-EXE:0x5ED700 group orbit] mode 0: from = the previous radii; otherwise from = (rx, ry); target = (rx, ry); the fifth argument is the turns over the move's length |
| TPW-EXE:0x5ED770 group update | source/OpenTPW/World/AdvisorEffects.cs:127 | [BIN:TPW-EXE:0x5ED770 group update] t = (clock - start) / length; the centre is from + (to - from) * t (t not clamped), the radii from + (to - from) * min(t, 1); emitter i of n sits at angle a = ftol(frac(i / n + t * spin) * 512) of the 512-entry table (0x5428A0 / 0x5428C0: table << 2, times 1/1024): (cx + rx sin a, cy - ry cos a), moved (0x51FE30) to native (ftol((x + 1) * 50000), 0, ftol((y + 1) * 37500)) |
| TPW-EXE:0x5ED7C6 | source/OpenTPW.Tests/AdvisorScreenEffectTests.cs:91 | [BIN:TPW-EXE:0x5ED7C6] the centre uses t unclamped (only the radii clamp it): at t = 1.5 it has run on to (-0.17, -0.31) |
| TPW-EXE:0x5F5FA0 queue timer | source/OpenTPW/Client/GameFlow.LobbyAdvisor.cs:13 | [BIN:TPW-EXE:0x5F5FA0 queue timer] the timer the lobby queue's idle delay is measured on (the object 0xFA71E0, its start stored by 0x5F5E80 from the C runtime's initializer table, 0x72DF14) counts milliseconds from the program's start and is never paused or reset: ProgramClock; the advisor's own clock is the same here (the lobby never pauses it). OpenTPW's Time.Now adds the frame deltas as floats and is not that clock |
| TPW-EXE:0x5F9860 horizontal span | source/OpenTPW/UI/Original/GraphBackdrop.cs:59 | [BIN:TPW-EXE:0x5F9860 horizontal span] likewise, Right is the count (intentionally extending past the plot). |
| TPW-EXE:0x5F98D0 vertical span | source/OpenTPW/UI/Original/GraphBackdrop.cs:42 | [BIN:TPW-EXE:0x5F98D0 vertical span] the third argument is a pixel count, not a bottom endpoint. |
| TPW-EXE:0x5c0d00 registry language | source/OpenTPW.Files/Public/GameLanguage.cs:50 | [BIN:TPW-EXE:0x5c0d00 registry language] HKLM\Software\Bullfrog Productions Ltd\Theme Park World "Language" (default 0x809) is switched to one bit per |
| TPW-EXE:0x5d1400 native 3D | source/OpenTPW/Audio/AudioListener.cs:21 | [BIN:TPW-EXE:0x5d1400 native 3D] the driver object is built by 0x6c4190: first the QMixer class (constructor 0x6d2d70, vtable 0x711b08), whose +0x4c is 'mov al, 1; ret' (0x5d1400), and only when that class fails to initialise the fallback class (0x6d1e30); with QMixer the software 3D layer 0x6b7750 (slot +0x20, made only when +0x4c reports false, 0x6b75c5) does not exist, so the flag is set and the rolloff is 0.2 |
| TPW-EXE:0x5d57cd lobby generator seed | source/OpenTPW/World/Lobby/LobbyEffects.cs:73 | [BIN:TPW-EXE:0x5d57cd lobby generator seed] the front-end object's constructor stores time(NULL) (0x67d3f0 with 0) at +0x34, and the camera wander's draws (0x5e09da and the retargets) take from the same state as the islands (0x5e0f4b) and the flyers (0x5d98d1); a stream seeded from the clock has no order to keep, so the wander's draws, which only shift which draw an island tick meets, change nothing a player can tell, and the draws are uniform whoever takes them |
| TPW-EXE:0x5d5c50 lobby frame | source/OpenTPW/Client/GameFlow.cs:1070 | [BIN:TPW-EXE:0x5d5c50 lobby frame] the lobby's frame walks the components of its list and calls each one's update (vtable +8): the scene (camera, sky easing, fade; 0x5d8cb0), the flyer spawner list, the screen manager (0x5e40e0), which updates only the active screens |
| TPW-EXE:0x5d5c50 lobby frame | source/OpenTPW/Client/GameFlow.cs:1097 | [BIN:TPW-EXE:0x5d5c50 lobby frame] the lobby steps its subsystems once per rendered frame in the order they registered: the flying-mesh system (0x5d5aed) before the islands component, so the flyers draw from the generator first |
| TPW-EXE:0x5d5c50 lobby frame | source/OpenTPW/World/Lobby/LobbyEffects.cs:13 | [BIN:TPW-EXE:0x5d5c50 lobby frame] the lobby's per-frame step calls every component's vf2 (offset 8), and the islands component's is 0x5e0470 (vtable 0x702cb0, slot 2 at 0x702cb8): the effects run once per rendered frame, not on the 31 ms simulation substep (0x54e360 state 2 calls 0x5d5c50 at 0x54e73a once per drawn frame and runs only 0x520130 on the 31 ms substep, 0x54e768-0x54e789) |
| TPW-EXE:0x5d5c50 lobby frame | source/OpenTPW/World/Lobby/LobbyScene.cs:296 | [BIN:TPW-EXE:0x5d5c50 lobby frame] the lobby steps its subsystems once per rendered frame in registration order: the flying-mesh system (vf2 0x5da3a0) and the islands component (vf2 0x5e0470, vtable 0x702cb0, slot 2 at 0x702cb8, which also picks the island clips, 0x5e11d0), both in the same frame |
| TPW-EXE:0x5d5c50 lobby time step | source/OpenTPW/World/LobbyCameraMode.cs:21 | [BIN:TPW-EXE:0x5d5c50 lobby time step] the lobby's step is the frame's milliseconds, at most 500 (0x1f4), × 0.01, so one step is a tenth of a second |
| TPW-EXE:0x5d81c0 flying-mesh orientation | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:36 | [BIN:TPW-EXE:0x5d81c0 flying-mesh orientation] rows +0x10/+0x20/+0x30 of the instance matrix are (d.z, 0, −d.x)/|…|, the normalised cross product of the direction with it, and the direction; 0x5d8190 writes the position at +0x40 |
| TPW-EXE:0x5d8b50 lobby fog | source/OpenTPW/World/Lobby/LobbyEffects.cs:51 | [BIN:TPW-EXE:0x5d8b50 lobby fog] the lobby scene's init sets the fog colour [0x8bd47c] to 0xFF44DDFF (its fog range 50 to 300 is not drawn: the scene clears the fog enable bit 0x2000, 0x5D8BF9) and render flag 0x4000000 |
| TPW-EXE:0x5d8b50 lobby sky | source/OpenTPW/Client/GameFlow.cs:1190 | [BIN:TPW-EXE:0x5d8b50 lobby sky] the lobby init loads the engine sky from "Data\Levels\fantasy" (0x5852b0); its draw colours the cloud grid with the colour 0x5d96c0 writes |
| TPW-EXE:0x5d8b50 lobby sky | source/OpenTPW/Client/GameFlow.cs:1240 | [BIN:TPW-EXE:0x5d8b50 lobby sky] the lobby loads the engine sky (0x8c1828) from "Data\Levels\fantasy" (0x5852b0: sky.tga, sky_cyl.tga) and its draw (0x5863c0) colours the clouds from the 16 x 16 grid at +0xf60 that 0x5d96c0 fills with one colour each frame (the eased island colour, else the fog colour); the world pass is cleared to the fog colour |
| TPW-EXE:0x5d8bf9 lobby fog | source/OpenTPW/Client/GameFlow.cs:1241 | [BIN:TPW-EXE:0x5d8bf9 lobby fog] the lobby has no fog (it clears bit 0x2000 of [0x8BCBC8] on entering, 0x5D8BF9, and sets 0x4000000, whose clear is the fog colour, RenderFog.ClearColour) |
| TPW-EXE:0x5d8cb0 lobby projection | source/OpenTPW/World/LobbyCameraMode.cs:78 | [BIN:TPW-EXE:0x5d8cb0 lobby projection] the camera method builds the scene projection with the same builder as the park (0x578be0: near 0.1, far 1000, angle [this+4] = ISLANDFOV), so the view-projection is multiplied by the screen matrix of 0x5781d0 as well: the visible half height at unit depth is 0.5 x tan(ISLANDFOV / 2), not tan(ISLANDFOV / 2) |
| TPW-EXE:0x5d8cc4 globe far plane | source/OpenTPW/World/Camera.cs:59 | [BIN:TPW-EXE:0x5d8cc4 globe far plane] the camera method builds every projection with far 1000 (0x447a0000) and only a terrain's span selection (0x56bb00 -> 0x578ca0) changes it: the globe has none |
| TPW-EXE:0x5d8cf2 lobby fade | source/OpenTPW/World/LobbyCameraMode.cs:115 | [BIN:TPW-EXE:0x5d8cf2 lobby fade] each frame the current fade moves an eighth of the way (arithmetic shift) to its target |
| TPW-EXE:0x5d8d22 lobby fade | source/OpenTPW/Client/GameFlow.cs:1289 | [BIN:TPW-EXE:0x5d8d22 lobby fade] the enter's fade is a black overlay whose alpha is the eased fade value >> 8 |
| TPW-EXE:0x5d96c0 lobby sky ease | source/OpenTPW/World/Lobby/LobbyEffects.cs:213 | [BIN:TPW-EXE:0x5d96c0 lobby sky ease] while current != target: R += (B target − R) sar 4 (0x5d96fc-0x5d9709), G += (G target − G) sar 4, B += (B target − B) sar 4; the 256 grid entries at 0x8c2788 get 0xFF:R:G:B from the integer parts, else the fog colour [0x8bd47c]; the islands update copies the nearest island's SKYCOLOUR (+0x64..+0x6c) to the targets (0x5e11b2) |
| TPW-EXE:0x5d96c0 lobby sky gates | source/OpenTPW/World/Lobby/LobbyEffects.cs:215 | [BIN:TPW-EXE:0x5d96c0 lobby sky gates] the eased colour applies only while SKYQUALITY ([0x785888], settings entry 6) is above 1 and the first word of the graphics-device object 0x78d8d8 is 1 (0x5d96c6 and the next compare); otherwise the grid keeps the fog colour and the easing does not step |
| TPW-EXE:0x5d96c0 lobby sky grid | source/OpenTPW/World/Sky.cs:617 | [BIN:TPW-EXE:0x5d96c0 lobby sky grid] the lobby fills the 256 entries of the engine sky's colour grid (0x8c2788) with one 0xFF:R:G:B each frame |
| TPW-EXE:0x5d9830 flying-mesh instance | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:145 | [BIN:TPW-EXE:0x5d9830 flying-mesh instance] the position and the first point are random points of the box (six draws), the direction the normalised difference |
| TPW-EXE:0x5d986b flying-mesh clip | source/OpenTPW/World/Lobby/LobbyScene.cs:402 | [BIN:TPW-EXE:0x5d986b flying-mesh clip] each instance loads the mesh with one animation channel (0x5d8870 → 0x4629d0 with 1) and plays AnimID 5, sub 0 (member <mesh>m1), looping at speed 1 (0x5d83f0(0, 1) → 0x4732a0(instance, 5, 0, 1, 1.0, channel 0)) |
| TPW-EXE:0x5d98b3 flying-mesh point | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:107 | [BIN:TPW-EXE:0x5d98b3 flying-mesh point] each coordinate is (draw & 0x3fffffff) × 2^-30 × extent − extent × 0.5 + centre |
| TPW-EXE:0x5d9b50 flying-mesh move | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:154 | [BIN:TPW-EXE:0x5d9b50 flying-mesh move] wanted = normalised (point − position); direction += (wanted − direction) × 0.1 × step, normalised; position += direction × speed × step; within 500 (squared) of the point three draws pick the next point |
| TPW-EXE:0x5d9db0 flying-mesh group | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:79 | [BIN:TPW-EXE:0x5d9db0 flying-mesh group] count = count x [0x7858dc] / 100 with signed integer division, then at least 1 and at most the count |
| TPW-EXE:0x5d9db0 flying-mesh group | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:92 | [BIN:TPW-EXE:0x5d9db0 flying-mesh group] count = count × [0x7858dc] / 100, then at least 1 and at most the count; the centre and extent are copied, the speed and arrival distance stored; 0x5e381d shows the group at once |
| TPW-EXE:0x5d9e22 count share | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:78 | [BIN:TPW-EXE:0x5d9e22 count share] the share is the global [0x7858dc], the LOBBYOBJECTS setting (entry 29 of the settings table at 0x7442c0, range 0 to 100); the graphics presets give 10, 70 and 100 (COMPATIBILITY.md) |
| TPW-EXE:0x5d9e22 lobby objects | source/OpenTPW/Client/GameFlow.cs:1056 | [BIN:TPW-EXE:0x5d9e22 lobby objects] the flying-mesh groups scale their counts by the settings' LOBBYOBJECTS value ([0x7858dc]) in percent |
| TPW-EXE:0x5da020 flying-mesh group update | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:132 | [BIN:TPW-EXE:0x5da020 flying-mesh group update] while spawned < count: build an instance (0x5d9830), count it, and stop when all are there or the next draw has (draw & 7) == 1 (0x5da0de); then every instance updates (0x5d9b50) |
| TPW-EXE:0x5da200 flying-mesh system | source/OpenTPW/World/Lobby/LobbyFlyingMeshes.cs:15 | [BIN:TPW-EXE:0x5da200 flying-mesh system] a lobby subsystem (vtable 0x702b08, created by the lobby init 0x5d5aed) whose update (vf2 0x5da3a0) runs every group's update 0x5da020 in the order the groups were added |
| TPW-EXE:0x5dd034 globe projection | source/OpenTPW/World/GlobeCameraMode.cs:36 | [BIN:TPW-EXE:0x5dd034 globe projection] the globe's camera is the lobby's object (0xf83778): its angle 60.0 goes through the same camera method 0x5d8cb0 into the park's projection builder (near 0.1, far 1000), so the screen matrix applies here too: the visible half height at unit depth is 0.5 x tan(30 degrees), and the sphere of radius 116 seen from 475 fills nearly the whole height |
| TPW-EXE:0x5dd5e4 back from the globe | source/OpenTPW/Client/GameFlow.cs:1031 | [BIN:TPW-EXE:0x5dd5e4 back from the globe] the globe's deactivate is followed by the islands screen's activate (0x5e23f0, 0x5e18d0), which builds the islands, their clips and the flyer spawners afresh (0x5e3210) |
| TPW-EXE:0x5dd5e4 back from the globe | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:504 | [BIN:TPW-EXE:0x5dd5e4 back from the globe] closing the globe activates the islands screen again, which builds the islands and their flyers afresh: the lobby scene is a new one |
| TPW-EXE:0x5dfa60 island angle | source/OpenTPW/FrontEnd/LobbyDefinition.cs:99 | [BIN:TPW-EXE:0x5dfa60 island angle] the ISLAND angle is the yaw of the island and gate models in degrees (× π × 1/180 at 0x5dfb81, both models at (x, 0, z), 0x5dfb46) |
| TPW-EXE:0x5dfa60 island models | source/OpenTPW/World/Lobby/LobbyScene.cs:51 | [BIN:TPW-EXE:0x5dfa60 island models] the island and its gate are animated lobby models (0x5d8870; the island with two animation channels, the gate with one), both at (x, 0, z) turned by the ISLAND angle |
| TPW-EXE:0x5dfb4a default sky target | source/OpenTPW/World/Lobby/LobbyEffects.cs:216 | [BIN:TPW-EXE:0x5dfb4a default sky target] an island without a SKYCOLOUR line keeps the random target its constructor drew (LobbyScene mirrors the three draws) |
| TPW-EXE:0x5dfb4a island constructor | source/OpenTPW/World/Lobby/LobbyScene.cs:46 | [BIN:TPW-EXE:0x5dfb4a island constructor] the constructor draws three rand() values (each & 0xFF, shifted left 16) into the sky target +0x64, +0x68 and +0x6c before the file's SKYCOLOUR line is read; a file without one keeps them |
| TPW-EXE:0x5e0490 enter sequence | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:397 | [BIN:TPW-EXE:0x5e0490 enter sequence] the lobby's enter turns the camera, opens the selected island's gate with M1 and zooms in; cancelled here before it reaches the park |
| TPW-EXE:0x5e0490 enter sequence | source/OpenTPW/World/Lobby/LobbyScene.cs:14 | [BIN:TPW-EXE:0x5e0490 enter sequence] LobbyCameraMode runs the enter (state 1: turn to the island angle + π at 0.05 × step per frame, open the gate with M1 (0x5e06e4); state 2: radius × (1 − 0.07 × step), height × (1 − 0.6 × step), black fade by the closed share of SPINRADIUS − 8, park start below 8, 0x5e1e50); the gate plays M1 here |
| TPW-EXE:0x5e06e4 gate open | source/OpenTPW/World/Lobby/LobbyScene.cs:339 | [BIN:TPW-EXE:0x5e06e4 gate open] when the camera has turned to the island's angle + π the enter sequence calls 0x5d83f0 (AnimID 5, sub 0, not looping) on the island's gate object: the gate's M1 clip; an early leave plays M2 (0x5e1350, 0x5e1890, 0x5e2360, 0x5e2660) |
| TPW-EXE:0x5e0727 lobby spin | source/OpenTPW/World/LobbyCameraMode.cs:107 | [BIN:TPW-EXE:0x5e0727 lobby spin] the angle advances by SPINSPEED radians per step and wraps into [0, 2π) |
| TPW-EXE:0x5e0f4b lobby generator draw | source/OpenTPW/World/Lobby/LobbyEffects.cs:72 | [BIN:TPW-EXE:0x5e0f4b lobby generator draw] tp.exe stores the step at lobby +0x34, rotates it right by 13 (ror 0xd) and stores and uses the rotated value; every inlined draw does the same (0x5d98d1 flying-mesh placement, 0x5da0d4 flying-mesh spawn, 0x5e113f island one-shots) |
| TPW-EXE:0x5e0f55 lobby lightning | source/OpenTPW/World/Lobby/LobbyEffects.cs:170 | [BIN:TPW-EXE:0x5e0f55 lobby lightning] tp.exe tests the rotated draw against the island's LIGHTNING (+0x5c) and places the bolt with the next four draws the same way (0x5e0f94-0x5e10a4) |
| TPW-EXE:0x5e1149 lobby one-shots | source/OpenTPW/World/Lobby/LobbyEffects.cs:186 | [BIN:TPW-EXE:0x5e1149 lobby one-shots] (draw & 15) == 1 on the rotated draw, then the next draw mod 3 (0x5e117e) picks event 3, 4 or 5 |
| TPW-EXE:0x5e11d0 island clips | source/OpenTPW/World/Lobby/LobbyScene.cs:359 | [BIN:TPW-EXE:0x5e11d0 island clips] at the end of the islands update every island model whose channel 0 has under 1 ms left (0x5d8440 -> 0x473f50) plays AnimID 5 sub rand() & 1, not looping (0x5d83f0(sub, 0)): M1 or M2 |
| TPW-EXE:0x5e11ea island clip | source/OpenTPW/World/Lobby/LobbyScene.cs:267 | [BIN:TPW-EXE:0x5e11ea island clip] the island clips are picked with rand() & 1 (CRT rand 0x67b5c0), and each island's constructor spends three rand() calls on its default sky target (0x5dfb4a-0x5dfb7b), which this stream mirrors |
| TPW-EXE:0x5e1210 island height | source/OpenTPW/FrontEnd/LobbyDefinition.cs:100 | [BIN:TPW-EXE:0x5e1210 island height] the ISLAND height is the Y of the island's camera target (x, height, z) kept at +0x3c (0x5e3210 → 0x5dfb07); the eye orbits it at SPINRADIUS and VERTICALOFFSET above |
| TPW-EXE:0x5e1210 lobby eye | source/OpenTPW/World/LobbyCameraMode.cs:117 | [BIN:TPW-EXE:0x5e1210 lobby eye] the eye's goal is the island's target plus (sin a × SPINRADIUS, VERTICALOFFSET up, cos a × SPINRADIUS) |
| TPW-EXE:0x5e1210 lobby glide | source/OpenTPW/World/LobbyCameraMode.cs:24 | [BIN:TPW-EXE:0x5e1210 lobby glide] each frame the eye moves 0.1 × step and the target 0.2 × step of the way to their goals (0x702c7c, 0x702ca4) |
| TPW-EXE:0x5e13ed island field of view | source/OpenTPW/World/LobbyCameraMode.cs:186 | [BIN:TPW-EXE:0x5e13ed island field of view] the island view sets the camera's field of view to ISLANDFOV (lobby +4); the projection 0x578be0 |
| TPW-EXE:0x5e1640 island step | source/OpenTPW/Client/GameFlow.cs:232 | [BIN:TPW-EXE:0x5e1640 island step] the island-step virtuals (0x5e1640, 0x5e1730; vtable 0x702ce8/0x702cec) stop the old island's two voices (+0x1c/+0x20, 0x51c300) and start the new island's music event 1 and ambience event 2 from the lobby table (0x803a4c, registered by 0x51e8f0); 0x5e14a0 (after the UI toggle at 0x4a6a33), 0x5e18d0, 0x5e23f0 and 0x5e0b21 restart them too |
| TPW-EXE:0x5e1cc0 theme entry | source/OpenTPW/Economy/ParkObjectives.cs:702 | [BIN:TPW-EXE:0x5e1cc0 theme entry] Instant Action skips the test; otherwise the theme is refused when its cost (0x5b11a0) is above the keys (0x5af680), and nothing is subtracted |
| TPW-EXE:0x5e1e30 enter | source/OpenTPW/Client/GameFlow.cs:104 | [BIN:TPW-EXE:0x5e1e30 enter] a park started from the lobby's island menu plays the sequence first; a park started by the CLI, a load or a restart skips it, as the original's loads do not pass the island |
| TPW-EXE:0x5e23c0 globe entry | source/OpenTPW/Client/GameFlow.cs:1071 | [BIN:TPW-EXE:0x5e23c0 globe entry] the globe screen is activated through 0x5e23c0, which first deactivates the islands screen (vtable +0x20: 0x5e2550, 0x5e1bd0 for the other): that frees the island, flyer and clip objects (0x5e25e2 to 0x5e25f3, 0x5d8a10), and only the active screens update (0x5e40e0), so while the globe is up the islands component (0x5e0470: lightning, thunder, rain, the nearest-island sky target) does not run, no flyer or island clip steps (there are none) and no sign is composed; the scene keeps easing the sky (0x5d96c0), which the globe's own sky target (0x5dcfe0) steers |
| TPW-EXE:0x5e35cf FLYINGMESH | source/OpenTPW/FrontEnd/LobbyDefinition.cs:10 | [BIN:TPW-EXE:0x5e35cf FLYINGMESH] the island file parser reads the directory and mesh strings, the count (atoi) and four floats (atof), and builds a 0x5c-byte group 0x5d9db0(count, directory, mesh, centre, extent, speed, 500.0) |
| TPW-EXE:0x5e36b3 flying-mesh centre | source/OpenTPW/World/Lobby/LobbyScene.cs:57 | [BIN:TPW-EXE:0x5e36b3 flying-mesh centre] a FLYINGMESH group's centre is the island's camera target (x, height, z) (+0x3c) with 50 added to the height |
| TPW-EXE:0x5e41c0 Escape | source/OpenTPW/Client/GameFlow.cs:779 | [BIN:TPW-EXE:0x5e41c0 Escape] the screen manager sends Escape (message 0x1000B, key 0x1B) to every active screen's vtable +0x18, the islands screens' 0x5e1890 and 0x5e2360 (the base 0x5e1350): in the enter sequence (sub-state 1 or 2 of 0x5e0470) they put the sub-state back to 0, close an opened gate with the clip M2 (0x5d83f0, sub-state 2) and show the menu again (0x4b8ea0, 0x4b90f0), so Escape ends the sequence before the park starts |
| TPW-EXE:0x5e41c0 Escape | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:420 | [BIN:TPW-EXE:0x5e41c0 Escape] Escape in the enter sequence ends it before the park starts: the opened gate closes with M2 and the menu is back |
| TPW-EXE:0x5efb35 | source/OpenTPW/Hud/ParkMapLine.cs:31 | [BIN:TPW-EXE:0x5efb35] the two steps (sign of each delta, 1 for zero) and the two absolute deltas; the major axis is x when |dx| >= |dy| (0x5efbc1) |
| TPW-EXE:0x5efbcb | source/OpenTPW/Hud/ParkMapLine.cs:37 | [BIN:TPW-EXE:0x5efbcb] a segment that runs towards smaller x is walked from its far end: the end points swap and the y step flips with the sign of the delta (also for dy = 0, which only changes |
| TPW-EXE:0x5efc23 | source/OpenTPW/Hud/ParkMapLine.cs:73 | [BIN:TPW-EXE:0x5efc23] the Bresenham constants of the walk: A = 2 |minor|, B = 2 (|minor| - major), the decision term starts at A - major, the distance numerator u at 0 |
| TPW-EXE:0x5efc42 | source/OpenTPW/Hud/ParkMapLine.cs:79 | [BIN:TPW-EXE:0x5efc42] the length is fild / fsqrt of dx * dx + dy * dy (a 32 bit integer sum, exact in the register) rounded to a single; 1 / (2 L) is fadd / fdivr 1.0 (a single again), and |
| TPW-EXE:0x5efc7e | source/OpenTPW/Hud/ParkMapLine.cs:46 | [BIN:TPW-EXE:0x5efc7e] equal x ends (so a zero length segment) leave before the first pixel |
| TPW-EXE:0x5efcbc | source/OpenTPW/Hud/ParkMapLine.cs:88 | [BIN:TPW-EXE:0x5efcbc] t = u * (1 / (2 L)) as a single; the walk's own pixel is |t| away from the line (0x5efcc4), the neighbours |K - t| (0x5efdf8) and |K + t| (0x5eff1a): the first neighbour is |
| TPW-EXE:0x5efd21 surface masks | source/OpenTPW/Hud/ParkMapBaker.cs:14 | [BIN:TPW-EXE:0x5efd21 surface masks] the line routine reads the three channel masks and the fourth mask from the surface description; the map surface takes its D3D format from the table 0x8BD558[[0x8BD554]] (0x5F1F81..0x5F1FCC): A4R4G4B4 or A8R8G8B8 by the option bit 0x400000 of [0x7A1A8C] (0x44E1EB..0x44E202; the software renderer forces 8888, 0x58DACA). OpenTPW's textures are always 32 bit, [EXT:texture32-always], so the 32 bit variant is the only one used; the 4444 surface of the original's default presets (TEXTURE32 0, a 16 bpp surface: the original then draws the fills, outlines and frames with the 16 bit drawer, vtable 0x703680 set at 0x617390, as well as the line) and the 8, 16 and 24 bit line variants (0x5edad0, 0x5ee580, 0x5ef040, jump table 0x5f3218) are not ported |
| TPW-EXE:0x5f004c | source/OpenTPW/Hud/ParkMapLine.cs:104 | [BIN:TPW-EXE:0x5f004c] the midpoint step: a negative decision term stays on the minor coordinate (u = major + d, d += A), otherwise it steps (u = d - major, d += B, the minor |
| TPW-EXE:0x5f00d2 | source/OpenTPW/Hud/ParkMapLine.cs:54 | [BIN:TPW-EXE:0x5f00d2] the y major branch: a segment that runs towards smaller y is walked from its far end, the x step flips |
| TPW-EXE:0x5f06a9 map object constructor | source/OpenTPW/Hud/ParkHud.Map.cs:23 | [BIN:TPW-EXE:0x5f06a9 map object constructor] the static map object starts with the layer word [+0x18] 1, the staff role [+0x1c] 1 (the handymen) and the value mode [+0x20] 1 (happiness), and keeps them between openings |
| TPW-EXE:0x5f0700 dot and area records | source/OpenTPW/Hud/ParkHud.Map.cs:632 | [BIN:TPW-EXE:0x5f0700 dot and area records] the dots are 0xf86a04 (white), 0xf86cb0 (0, 0, 0), 0xf86cd4 (255, 0, 0) and 0xf86cf8 (200, 250, 200); the happiness ramp runs over 0xf86c44 (32, 168, 248), 0xf86c68 (248, 132, 0) and 0xf86c8c (248, 252, 0); a staff member's area is 0xf86b90 (25, 25, 150, alpha 200), or 0xf86bb4 (25, 25, 250, alpha 200) while it is the item under the pointer |
| TPW-EXE:0x5f0700 map colour records | source/OpenTPW/Hud/ParkHud.Map.cs:621 | [BIN:TPW-EXE:0x5f0700 map colour records] the records 0xf86b00 (31,166,31,255), 0xf86b24 (37,198,37,255) and 0xf86b6c (0,23,0,128) are written by immediates in 0x5f0700-0x5f0964 through the helper 0x5f0970 (blue, green, red, alpha) |
| TPW-EXE:0x5f0700 map style records | source/OpenTPW/Hud/ParkHud.Map.cs:629 | [BIN:TPW-EXE:0x5f0700 map style records] the outline styles are 0xf86a28 (0, 0, 0, 255) for a closed object and 0xf86a4c (0, 255, 0, 255) for an open one |
| TPW-EXE:0x5f09a0 map gradient | source/OpenTPW/Hud/ParkHud.Map.cs:678 | [BIN:TPW-EXE:0x5f09a0 map gradient] constructor 0x5f08a5..0x5f08df supplies RGB (248,0,0), (248,200,0), (48,252,0); clamp 0..100, split at 50, fraction=(distance<<16)/50, signed channel products >>16, alpha 255. |
| TPW-EXE:0x5f0fa7 map open | source/OpenTPW/Hud/ParkHud.Map.cs:121 | [BIN:TPW-EXE:0x5f0fa7 map open] the open handler writes the cell classes (0x5f2050) and the dot items (0x5f3710) once, loads the art (0x5f1ea0) and draws the surface (0x5f2380); the classes and the dots then stay as they were while the window is open |
| TPW-EXE:0x5f1130 map edge scroll | source/OpenTPW/Hud/ParkHud.Map.cs:168 | [BIN:TPW-EXE:0x5f1130 map edge scroll] on every message 0x1e, while the scroll option 0x78d910 is Pushscroll (0; the options toggle 0x4a385a sets it to 1 for Right button), the map view reads its pointer (messages 0x10001 and 0x10003, X over 2048 and Y over 1536, clamped to 0..1) and calls 0x5f35b0 with direction 0 (x less) by (0.01 - X) x 250 below 0.01, 1 (x more) by (X - 0.99) x 250 above 0.99, 2 (the up button's, y more) by (0.01 - Y) x 250 below 0.01 and 3 (down) by (Y - 0.99) x 250 above 0.99; 0x5f35b0 clamps the centre to 0..size-1 |
| TPW-EXE:0x5f1406 staff role controls | source/OpenTPW/Hud/ParkHud.Map.cs:58 | [BIN:TPW-EXE:0x5f1406 staff role controls] controls 2446 (handymen) sets [map+0x1c] 1, 2447 (mechanics) 2, 2444 (guards) 3 and 2445 (entertainers) 4; a button that is switched off sets 0 (0x5f14b6); the four buttons are one radio group (0x98b, 0x66a295) |
| TPW-EXE:0x5f1406 value mode controls | source/OpenTPW/Hud/ParkHud.Map.cs:76 | [BIN:TPW-EXE:0x5f1406 value mode controls] controls 2456 (happiness) sets [map+0x20] 1, 2455 (excitement) 2 and 2457 (satisfaction) 3, off sets 0; the three buttons are one radio group (0x996) |
| TPW-EXE:0x5f14f1 map layer buttons | source/OpenTPW/Hud/ParkHud.Map.cs:229 | [BIN:TPW-EXE:0x5f14f1 map layer buttons] every layer button toggles its bit of the layer word and draws the map again (0x5f1ea0, 0x5f2380) |
| TPW-EXE:0x5f186c | source/OpenTPW/Hud/ParkHud.Map.cs:14 | [BIN:TPW-EXE:0x5f186c] each map category button XORs its own layer bit (the bits are 0x20, 8, 1, 2, 4 and 0x10, |
| TPW-EXE:0x5f186c | source/OpenTPW/Hud/ParkHud.Map.cs:223 | [BIN:TPW-EXE:0x5f186c] every category button toggles its own layer bit; an object is drawn from its category's bit only. |
| TPW-EXE:0x5f1a21 map hover | source/OpenTPW/Hud/ParkHud.Map.cs:293 | [BIN:TPW-EXE:0x5f1a21 map hover] the loop over the items takes those shown (+0x2c) with |dx| and |dy| below 5.0 (0x703040) pixels of the pointer and keeps the one whose distance is below the best so far (1e8 at first); the item under the pointer is cleared first; a change that involves a thing of type 4 to 8 draws the surface again (0x5f1af8); the cell is ftol((pointer - screen centre) / (480 / width x zoom) + the view centre) and its class record's thing id word is kept (+0x20064); the text is the staff member's name (0x506860), the visitor's text (UITEXT 0x1c8 with the number, 0x1c9 without) or the name of the thing of the cell (0x4e2780) |
| TPW-EXE:0x5f1cde map text | source/OpenTPW/Hud/ParkHud.Map.cs:239 | [BIN:TPW-EXE:0x5f1cde map text] the text control 0x991 of the middle panel shows the name of the item or object under the pointer |
| TPW-EXE:0x5f2050 map class writer | source/OpenTPW/Hud/ParkMapLayers.cs:84 | [BIN:TPW-EXE:0x5f2050 map class writer] per cell [esi]/[esi+4] are zeroed, then 0x536450 -> 9 (0x5f20f6); 0x536380 (type 4), 0x536340 (type 9), 0x536350 (type 10), 0x5363f0 or 0x5363e0 (type 0x15) enter the object path at 0x5f2180, else 0x536310 (type 1) -> 10, 0x536320 (type 3 or 9) -> 11, 0x535db0(0x40) -> 12; the object path reads the owner word (the structure record's for a 0x5363f0 cell, else the cell's +0x10), takes the first thing of type 3 on that cell's list (+0x24, next +0xa) and files the cell under the kind of its type record +0x4ac: 0 -> 1 (8 when the cell is not type 4 and is a 0x5363f0 or 0x5363e0 cell), 1 -> 2, 2 -> 3, 3 -> 4..7 by the thing flags +0x32 (0x41 -> 5, 0x10 -> 6, 2 -> 7, else 4), a kind above 3 leaves the cell to the next thing |
| TPW-EXE:0x5f2380 map overlay | source/OpenTPW/Hud/ParkHud.Map.cs:707 | [BIN:TPW-EXE:0x5f2380 map overlay] the map draws its cells into the surface holding the level's 2dmap.tga (0x5f1ea0) at x = 15 + column × trunc(480.0 / width) |
| TPW-EXE:0x5f2380 map surface | source/OpenTPW/Hud/ParkHud.Map.cs:563 | [BIN:TPW-EXE:0x5f2380 map surface] the cells, outlines, tracks and areas of the last render are composed into the surface once (ParkMapBaker, on every render event) and the surface is shown as one image |
| TPW-EXE:0x5f23cd blended fills | source/OpenTPW/Hud/ParkMapBaker.cs:49 | [BIN:TPW-EXE:0x5f23cd blended fills] the fills (slot +0x20, 0x615cd0) and the outlines (slots +8 and +0xc, 0x615380 and 0x615520) are drawn with the blend flag (flags 8, 0x5f23cd; test 0x18): per channel out = d + (((s & m) - (d & m)) * a >> 8) with the alpha a of the colour record's byte +3, the destination's alpha kept; so even a = 255 gives s - 1 where s > d |
| TPW-EXE:0x5f2465 value modes | source/OpenTPW/Hud/ParkMapLayers.cs:149 | [BIN:TPW-EXE:0x5f2465 value modes] the class is tested against 1, 2, 3 and 8 (0x5f246a..0x5f2490): then [map+0x20] 2 fills with the ramp of 0x4e0860(0) and 3 with the ramp of 0x4e1e30, and the class switch (and its layer test) is skipped |
| TPW-EXE:0x5f24eb value mode fill | source/OpenTPW/Hud/ParkMapCanvas.cs:203 | [BIN:TPW-EXE:0x5f24eb value mode fill] mode 2 fills the classes 1, 2, 3 and 8 with the ramp of the excitement 0x4e0860(0) & 0xff, mode 3 with the ramp of the satisfaction 0x4e1e30, through 0x5f09a0 and the records 0xf86bd8, 0xf86bfc, 0xf86c20; the layer test is skipped |
| TPW-EXE:0x5f24f0 value mode mask | source/OpenTPW/Hud/ParkMapCanvas.cs:206 | [BIN:TPW-EXE:0x5f24f0 value mode mask] only the excitement is cut to its low byte; the satisfaction of 0x4e1e30 goes to the ramp as it is and the ramp's clamp turns a negative one red |
| TPW-EXE:0x5f2602 default map repair | source/OpenTPW/Hud/ParkHud.Map.cs:666 | [BIN:TPW-EXE:0x5f2602 default map repair] object +0x44 is SaveAttraction.StateOfRepair (OriginalEconomyImport -> Repair); the draw calls __ftol then AND 255 before 0x5f09a0. Other default object classes repeat this sequence. |
| TPW-EXE:0x5f2a94 map outline | source/OpenTPW/Hud/ParkMapCanvas.cs:102 | [BIN:TPW-EXE:0x5f2a94 map outline] the classes 1 to 7 take the closed style 0xf86a28 (black) when 0x4e0440 answers 1 (the open word +0x68 is 0), else 0xf86a4c (green); class 8 takes the open style; an edge is drawn on the four sides where the neighbour's class or object differs, in the order up, down, left, right |
| TPW-EXE:0x5f2ba2 outline lengths | source/OpenTPW/Hud/ParkMapCanvas.cs:104 | [BIN:TPW-EXE:0x5f2ba2 outline lengths] all four edges take the cell width as their length (esi = [esp+0x28], 0x5f2b6f), the lower edge lies at y + width - 1 and the right one at x + width - 1, whatever the cell height |
| TPW-EXE:0x5f2dbc item loop | source/OpenTPW/Hud/ParkMapCanvas.cs:121 | [BIN:TPW-EXE:0x5f2dbc item loop] each item is passed to 0x5f44d0, then a kind 2 item whose filter holds (mode 1 the layer word & value, 2 the staff role == value, 3 the value mode == value) draws the rectangle of the cell words +0x20a and +0x20c of its thing: x from 15 + column * cell width to 15 + (column + 1) * cell width of the far corner, the same for y from 42, in 0xf86bb4 for the item under the pointer, else 0xf86b90; the word's column and row are tested (0x5f2e5e..0x5f2e94): the first corner's must be above 0, the second's below 0x7f |
| TPW-EXE:0x5f2f9c class layers | source/OpenTPW/Hud/ParkMapLayers.cs:133 | [BIN:TPW-EXE:0x5f2f9c class layers] class 1 tests [map+0x18] bit 1, 2 bit 2, 3 bit 4, 4 bit 8, 5 [map+0x1c] == 1, 6 [map+0x1c] == 3, 7 [map+0x1c] != 0, 8 bit 0x10; the classes 9 to 12 go straight to their records (0xf86b48, 0xf86b00, 0xf86b24, 0xf86b6c) |
| TPW-EXE:0x5f2fd0 map track layer | source/OpenTPW/Hud/ParkMapCanvas.cs:166 | [BIN:TPW-EXE:0x5f2fd0 map track layer] per coaster (0x438720 counts them, 0x438730 gives the knot chain and the object whose repair +0x44 is the colour, through 0x5f09a0 and 0xf86bd8, 0xf86bfc, 0xf86c20): per pair 0x43e1b0 at t from 0, +0.1 while t <= 1.0 (0x703050, 0x703004); the first point of a coaster is only remembered, every later one is joined to the one before it (the line routine 0x5efb10 for 32 bit surfaces) over all pairs: the link between two pairs is the last sample of the first and the first of the second |
| TPW-EXE:0x5f300f track scale | source/OpenTPW/Hud/ParkMapCanvas.cs:27 | [BIN:TPW-EXE:0x5f300f track scale] the float 480.0 / (width * 10.0) (0x70304c, 0x703044) serves both axes: the pixel is ftol(x * scale) + 15 and ftol(z * scale) + 42 |
| TPW-EXE:0x5f35b0 map pan | source/OpenTPW/Hud/ParkHud.Map.cs:150 | [BIN:TPW-EXE:0x5f35b0 map pan] the pan buttons and arrow keys move the view centre by one map unit (cell) whatever the zoom, |
| TPW-EXE:0x5f3680 map sprite names | source/OpenTPW/Hud/ParkMapDots.cs:34 | [BIN:TPW-EXE:0x5f3680 map sprite names] six strings from 0xf86d40, one per 0x14 bytes: vsprite (0x77537c), rsprite (0x775360), ssprite (0x775344), lsprite (0x775328), esprite (0x77530c), gsprite (0x7752f0); the loop 0x5f3876 stores the handles in that order |
| TPW-EXE:0x5f3940 map items | source/OpenTPW/Hud/ParkHud.Map.cs:395 | [BIN:TPW-EXE:0x5f3940 map items] per thing: type 1 gives (rsprite, kind 1, mode 1, value 0x20) and (vsprite, kind 0, mode 3, value 1); type 4 (mechanic), 5 (handyman), 6 (entertainer) and 7 (guard) give (ssprite, kind 2, mode 2, value 2, 1, 4, 3), the entertainer (esprite, kind 4, mode 2, value 4, scale RegionFX[0] radius × 0.5) and the guard (gsprite, kind 5, mode 2, value 3, scale RegionFX[3] radius × 0.5) a second one; then per cell with litter (+0x2c) (lsprite, kind 3, mode 2, value 1, scale 1 × 0.5, or the radius of RegionFX[2] for vomit 7 and RegionFX[5] for a stinkbomb 8 × 0.5) at the cell's centre; then per object with thing flag 0x10 (gsprite, kind 5, mode 2, value 3, scale RegionFX[4] radius × 0.5) at its cell's centre; a thing's position is its cell byte + its sub-cell byte / 256 |
| TPW-EXE:0x5f4105 camera items | source/OpenTPW/Hud/ParkHud.Map.cs:430 | [BIN:TPW-EXE:0x5f4105 camera items] the object chain is walked newest first (from 0x1DA746) and a security object's item stands at its thing cell + 0.5 (0x4E2650); the order decides hover ties |
| TPW-EXE:0x5f4180 map dots | source/OpenTPW/Hud/ParkHud.Map.cs:566 | [BIN:TPW-EXE:0x5f4180 map dots] the sprites lie over the surface at the item's cell (15 + x * 480 / width, 42 + y * 425 / height in surface pixels), centred, the kinds above 2 behind the others |
| TPW-EXE:0x5f4282 dot size | source/OpenTPW/Hud/ParkMapDots.cs:70 | [BIN:TPW-EXE:0x5f4282 dot size] the record's +0x2c is the image width word × (item scale × zoom × 0.5) × 0.0625; the quad is that × 0.05 × the display height / 2 high and, with the aspect word, as wide (0x589d9c..0x5890e0, the record's flag 0x40000 selects this path) |
| TPW-EXE:0x5f456c dot colours | source/OpenTPW/Hud/ParkMapDots.cs:56 | [BIN:TPW-EXE:0x5f456c dot colours] kind 0 on a guest (thing type 1) is 0x5f09a0 of (__ftol(+0x19c) & 0xff) over the records 0xf86c44, 0xf86c68, 0xf86c8c; kind 1 is 0xf86cb0, 2 0xf86cd4, 4 0xf86cf8; the others keep the default record 0xf86a04 (white) |
| TPW-EXE:0x5f5e80 clock route | source/OpenTPW/Economy/ParkCalendar.cs:64 | [BIN:TPW-EXE:0x5f5e80 clock route] the raw millisecond clock (0x5f5f10) reads QueryPerformanceCounter, (count − base) / counts per ms + the base time, whenever the constructor found QueryPerformanceFrequency / 1000 in 10..32,000,000 counts per ms, else timeGetTime |
| TPW-EXE:0x6025c0 frame | source/OpenTPW/Hud/ParkMapCanvas.cs:143 | [BIN:TPW-EXE:0x6025c0 frame] the area is drawn with the drawer flags 0xC (0x5f2da4), which route through slot +0x1c (0x5f2f06) to 0x6025c0: x L..R-2 at row T, column R-1 for rows T..B-2, x L+1..R-1 at row B-1 and column L for rows T+1..B-1, each pixel blended at the colour's alpha (200) |
| TPW-EXE:0x619280 BILZ writer | source/OpenTPW.Files/Formats/Save/SaveContainerWriter.cs:39 | [BIN:TPW-EXE:0x619280 BILZ writer] deflateInit2(-1, 8, 15, 9, 0) and deflate(Z_FINISH); header words 'BILZ', source length, compressed length + 0x1C, 15, 9, 0, 0 |
| TPW-EXE:0x634963 mouse button codes | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:284 | [BIN:TPW-EXE:0x634963 mouse button codes] button 0 is the primary (left) button: DirectInput's DIMOFS_BUTTON0 (dwOfs 0xc) becomes code 0xf0 (0x63497c), kept primary when Windows swaps the buttons (0x634420), and 0x486ca1 turns 0xf0 into button 0 |
| TPW-EXE:0x634963 mouse button codes | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:193 | [BIN:TPW-EXE:0x634963 mouse button codes] button 0 is the primary (left) button: DirectInput's DIMOFS_BUTTON0..3 (dwOfs 0xc..0xf) become the codes 0xf0..0xf3 (0x63497c), 0x634420 swaps 0xf0 and 0xf1 back when Windows swaps the buttons (SwapMouseButton) |
| TPW-EXE:0x658840 pointer dispatch | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:535 | [BIN:TPW-EXE:0x658840 pointer dispatch] a stationary pointer emits no movement. UiScreen calls every held frame, including the press itself. |
| TPW-EXE:0x658840 pointer move | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:529 | [BIN:TPW-EXE:0x658840 pointer move] the messages are sent only when the pointer position changes (UiScreen), so the arrow keys and the wheel keep their selection under a resting pointer, and any pointer move, also within the same row, selects the row under it again |
| TPW-EXE:0x658840 pointer move | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:485 | [BIN:TPW-EXE:0x658840 pointer move] only a pointer move selects (UiScreen), so the arrow keys and the wheel keep their selection under a resting pointer |
| TPW-EXE:0x658840 pointer move | source/OpenTPW/UI/Original/UiScreen.cs:171 | [BIN:TPW-EXE:0x658840 pointer move] the original sends the pointer messages (0x10001/0x10003, 0x6588ef) only when the pointer position differs from the last one sent, so a resting pointer selects nothing while keys or the wheel scroll the rows under it; the first frame of a screen has no earlier position and counts as no move |
| TPW-EXE:0x658b1a | source/OpenTPW/UI/Original/UiPointerRouter.cs:148 | [BIN:TPW-EXE:0x658b1a] Down uses hover, NOT the explicit movement capture. |
| TPW-EXE:0x658b7f | source/OpenTPW/UI/Original/UiPointerRouter.cs:154 | [BIN:TPW-EXE:0x658b7f] Up belongs to its original down, even after overlay removal. |
| TPW-EXE:0x658b7f release recipient | source/OpenTPW.Tests/ParkToolsOnReleaseTests.cs:239 | [BIN:TPW-EXE:0x658b7f release recipient] an up goes to the window of its down: pressed on the park and let go over a window, the click is the park's, at the cell under the pointer |
| TPW-EXE:0x658b7f release recipient | source/OpenTPW/Hud/ParkHud.cs:1307 | [BIN:TPW-EXE:0x658b7f release recipient] the window manager saves the down and the up recipients (0x658b1a, 0x658b7f): an up goes to its down's window |
| TPW-EXE:0x658b7f release recipient | source/OpenTPW/World/Level.Input.cs:20 | [BIN:TPW-EXE:0x658b7f release recipient] a release goes to the window that took its press, wherever the pointer is |
| TPW-EXE:0x658b84 captured release | source/OpenTPW/UI/Original/UiScreen.cs:209 | [BIN:TPW-EXE:0x658b84 captured release] release selects the original recipient; 0x65f971 rebuilds the qualified click from its saved press point. |
| TPW-EXE:0x65EF90 timer set | source/OpenTPW/UI/Original/UiTimer.cs:8 | [BIN:TPW-EXE:0x65EF90 timer set] the slot (the timer id minus 0x80080) holds the timer object: a first set makes it (0x66220D, appended to the global timer list 0xFAA634), a later one only stores the interval (0x6620CC, +8); the object is made enabled-less |
| TPW-EXE:0x65beb4 type-1 inner initialization;0x65d4f6 inner getter | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:260 | [BIN:TPW-EXE:0x65beb4 type-1 inner initialization;0x65d4f6 inner getter] no explicit inner override: inherit the outer rectangle. |
| TPW-EXE:0x65c5d5 text colour | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:530 | [BIN:TPW-EXE:0x65c5d5 text colour] the colour setter sends message 0x40000 to the control's model (+0x98) and text (+0x9c), and only the text class takes it (0x48fd07 stores it at +0x48): the chev art (f_chev, chev.tga) keeps its own gold-striped frame and black centre under the coloured text |
| TPW-EXE:0x65c5d5 text control colour | source/OpenTPW/UI/Original/UiText.cs:307 | [BIN:TPW-EXE:0x65c5d5 text control colour] the original gives each text control an RGBA colour (renderer +0x48, kept as ARGB at +0x78, 0x48fd07) and renders its glyphs white (0x48fa96) unless the control keeps the font's own colours (+0xdd); the buy list rows are (255,255,255,255) (0x4ad340) |
| TPW-EXE:0x65db25 topmost eligible window | source/OpenTPW/Hud/ParkHud.PointerInput.cs:139 | [BIN:TPW-EXE:0x65db25 topmost eligible window] the last created sibling wins, so a window opened after the P window (the Escape menu, |
| TPW-EXE:0x65db72 child hit dispatch | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:521 | [BIN:TPW-EXE:0x65db72 child hit dispatch] the ball child wins before the parent's narrower track rectangle is tested. |
| TPW-EXE:0x65f6d1 click rule | source/OpenTPW/UI/Original/UiScreen.cs:206 | [BIN:TPW-EXE:0x65f6d1 click rule] a release is a click only within 500 ms of its press and without the pointer straying more than 6 px (UiInputSource) |
| TPW-EXE:0x65f6d1 mouse input | source/OpenTPW/UI/Original/UiInput.cs:65 | [BIN:TPW-EXE:0x65f6d1 mouse input] a release (0x10004) posts a click (0x10006) only within 500 ms of its press (constant 0x77c480 = 0x1f4) and while the press is not marked moved |
| TPW-EXE:0x65fa33 mouse move | source/OpenTPW/UI/Original/UiInput.cs:68 | [BIN:TPW-EXE:0x65fa33 mouse move] a move beyond 6 px on either axis from the press position (0x65fab7/0x65fad8: cmp 6) marks the press moved |
| TPW-EXE:0x661FE5 timer tick | source/OpenTPW/UI/Original/UiTimer.cs:10 | [BIN:TPW-EXE:0x661FE5 timer tick] every pump (0x6622D2, unless the suspend flag 0xFAA638 is set) takes the clock, elapsed = clock - origin (a signed 32-bit difference); when elapsed >= interval the origin becomes the clock and, once per whole interval in elapsed, a timer message |
| TPW-EXE:0x661fe5 UI timer delivery | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:111 | [BIN:TPW-EXE:0x661fe5 UI timer delivery] the pump (0x6622D2) ticks every timer in creation order; a timer whose interval has passed posts its message to the window's queue (0x658ccc), which the frame's pump delivers after the whole tick |
| TPW-EXE:0x66203A tick guards | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:112 | [BIN:TPW-EXE:0x66203A tick guards] the message is posted only for an enabled timer of a window that exists while the UI is active ([0x77c488]: set by the window's activation 0x659333, cleared by the deactivation, which is a game pause here: UI timers are suspended then); the elapsed time is a signed 32-bit difference and the origin keeps the remainder |
| TPW-EXE:0x6620AC timer enable | source/OpenTPW/UI/Original/UiTimer.cs:9 | [BIN:TPW-EXE:0x6620AC timer enable] enabling sets the flag (+0x10) and the origin (+4) to the clock; 0x662097 only clears the flag, the object and its origin stay |
| TPW-EXE:0x662411 timer suspension | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:44 | [BIN:TPW-EXE:0x662411 timer suspension] resume 0x662420 resets every timer's origin, without re-enabling stopped timers. |
| TPW-EXE:0x662420 timer resume | source/OpenTPW/UI/Original/UiTimer.cs:12 | [BIN:TPW-EXE:0x662420 timer resume] a resume clears the suspend flag and makes every timer's origin the clock again (0x66213E), enabled or not |
| TPW-EXE:0x662679 list sort default | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:72 | [BIN:TPW-EXE:0x662679 list sort default] a new list sorts by column 0 ascending (+0x168, +0x16a), and the loans window builds a new list each time it opens (0x49fb30; |
| TPW-EXE:0x6628f4 list sort | source/OpenTPW/Hud/AllStaffRoster.cs:25 | [BIN:TPW-EXE:0x6628f4 list sort] a column of type 0 compares the cells' text (the list's string compare, wcscmp: UTF-16 code units, no culture), a column of type 1 their signed numbers |
| TPW-EXE:0x6628f4 list sort | source/OpenTPW/Hud/AllStaffRoster.cs:103 | [BIN:TPW-EXE:0x6628f4 list sort] a selection sort over the rows in their current order: each pass takes the first row that is smallest (ascending) or largest (descending) by a strict compare and appends it to the new order, so rows that compare equal stay in the order they had before the press |
| TPW-EXE:0x663718 list rows | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:24 | [BIN:TPW-EXE:0x663718 list rows] a list shows (content bottom - content top) / its first row's height whole rows (+0x172): (704 - 387) / 41 = 7 |
| TPW-EXE:0x66403b first row | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:103 | [BIN:TPW-EXE:0x66403b first row] the list's first added row is chosen (0x66525c(0), list row 0), so a filled list opens with its top row highlighted |
| TPW-EXE:0x66403b first row | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:116 | [BIN:TPW-EXE:0x66403b first row] the list's first added row is chosen, so a filled list opens with its top row highlighted |
| TPW-EXE:0x66403b sorted insert | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:70 | [BIN:TPW-EXE:0x66403b sorted insert] a list with attribute 0x10 inserts each row (slot order, 0x49fa00) before the first row it compares less than (0x663edc): the lender |
| TPW-EXE:0x66403b sorted row insert, 0x663edc compare | source/OpenTPW/Hud/AllStaffRoster.cs:88 | [BIN:TPW-EXE:0x66403b sorted row insert, 0x663edc compare] a list with the sort attribute (0x10) puts a new row before the first row for which "new < row" holds (ascending) or "row < new" (descending) on the sort column's cell |
| TPW-EXE:0x664495 list scroller | source/OpenTPW/FrontEnd/FrontEndMenu.cs:304 | [BIN:TPW-EXE:0x664495 list scroller] the scroller and its arrows show only while the rows do not fit |
| TPW-EXE:0x664495 list scroller | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:121 | [BIN:TPW-EXE:0x664495 list scroller] with more items than visible rows the scroller is shown and gets the range 0 .. count - visible and the first row as its value; otherwise it is hidden (0x65d9dd(0)) with the range 0..0 |
| TPW-EXE:0x6644ea row refresh, 0x66403b sorted row insert | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:17 | [BIN:TPW-EXE:0x6644ea row refresh, 0x66403b sorted row insert] the 2000 ms refresh rewrites the cells in place and never moves a row, a new row is inserted by the list's sorted insert (ListRowOrder), and the first row added selects row 0 (0x66403b → 0x66525c) |
| TPW-EXE:0x6655a2 list click | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:283 | [BIN:TPW-EXE:0x6655a2 list click] a click of button 0 selects the row and posts 0x400, which opens the object's info panel and keeps the list |
| TPW-EXE:0x6655a2 list click | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:537 | [BIN:TPW-EXE:0x6655a2 list click] with attribute 0x80 a press selects the row (0x66552e) and posts 0x400 to the window at once (-1 < selected), and the release posts it again (0x6656fa); the buy window's handler for 0x400 (0x4ac4f9) is the purchase: cash and golden ticket checks, then the placing of the type and the window's close (0x658d9f, message 4) |
| TPW-EXE:0x6655a2 list click | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:192 | [BIN:TPW-EXE:0x6655a2 list click] a click of button 0 selects the row and posts 0x400, which the window routes to the row's visitor's info window (0x49351e → 0x4b79b0, ParkHud.VisitorInfoWindow.cs); that opener closes the open window, so the list gives way |
| TPW-EXE:0x6655a2 list click, 0x496056 row message | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:266 | [BIN:TPW-EXE:0x6655a2 list click, 0x496056 row message] a click of button 0 selects the row and posts 0x400, which the window routes to 0x4b6080 with the row's thing; that opener closes the open window (0x48cea0), so the list gives way |
| TPW-EXE:0x6655a2 list click, 0x49b843 hire window | source/OpenTPW/Hud/ParkHud.Staff.cs:516 | [BIN:TPW-EXE:0x6655a2 list click, 0x49b843 hire window] the applicant list (9358, attribute 0x291) posts 0x400 on a click of button 0 (0x6655a2 on a list with attribute 0x80, and 0x6656fa on the release); the window routes it to 0x49b988: the row's item, hire 0x507bf0, advisor message 0x135, close. There is no hire button in the window, and the original's advisor says so when it opens ("click on the name of the person you want to hire", video 11:54): a left click on a name hires and the click starts the Place tool here |
| TPW-EXE:0x66563d list click | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:538 | [BIN:TPW-EXE:0x66563d list click] the other button posts 0x402, which the buy window does not handle (0x4ac9c9 handles 0x401 and 0x407) |
| TPW-EXE:0x66563d list click | source/OpenTPW/Hud/ParkHud.Staff.cs:517 | [BIN:TPW-EXE:0x66563d list click] the other button posts 0x402, which the hire window does not handle: a right click does nothing and backs out as everywhere |
| TPW-EXE:0x66563d list click | source/OpenTPW/UI/Original/UiScreen.cs:227 | [BIN:TPW-EXE:0x66563d list click] a click of the other button selects the row and posts 0x402 to the list's owner; the list decides what that does and whether the right click also backs out |
| TPW-EXE:0x66563d list click, 0x4867b0 locate | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:293 | [BIN:TPW-EXE:0x66563d list click, 0x4867b0 locate] a click of the other button selects the row and posts 0x402, which centres the camera on the object's cell and closes the window |
| TPW-EXE:0x66563d list click, 0x4934c5 locate | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:188 | [BIN:TPW-EXE:0x66563d list click, 0x4934c5 locate] a click of the other button selects the row and posts 0x402, which centres the camera on the visitor's cell (0x4867b0) and closes the window; Enter has no original counterpart ([EXT:overview-enter-locate], the keyboard analogue) |
| TPW-EXE:0x66563d list click, 0x49600d locate | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:270 | [BIN:TPW-EXE:0x66563d list click, 0x49600d locate] a click of the other button selects the row and posts 0x402: the member's cell (0x50b350) is the camera's centre (0x4867b0), and the window closes (0x658d9f with message 4) whether or not a camera moved; Enter has no original counterpart ([EXT:overview-enter-locate], the keyboard analogue) |
| TPW-EXE:0x6656a0 list hover | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:527 | [BIN:TPW-EXE:0x6656a0 list hover] the list has attribute 0x91, which includes 0x80: every pointer move over the list (messages 0x10001 and 0x10003, 0x665c35) selects the row under it (0x66552e → 0x66525c: the row index is (y - top) / row height; a row past the last one leaves the selection, as attribute 0x100 is not set), the same selection as a click or an arrow key, so the stats frame follows at once and the preview after 500 ms |
| TPW-EXE:0x6656a0 list hover | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:484 | [BIN:TPW-EXE:0x6656a0 list hover] the loans list has attribute 0x91 (0x7525a0), which includes 0x80: every pointer move over it selects the row under it, as for the buy list; the loans window (0x49f4e0) handles the click message 0x400 only (the confirmation) and no 0x401, so a hover moves nothing but the highlight; leaving the list changes nothing (0x665c35 has no leave handling) |
| TPW-EXE:0x6656a0 list hover | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:292 | [BIN:TPW-EXE:0x6656a0 list hover] the list's attribute 0x81 (table 0x755750) includes 0x80: every pointer move over it selects the row under it |
| TPW-EXE:0x6656a0 list hover | source/OpenTPW/Hud/ParkHud.Staff.cs:507 | [BIN:TPW-EXE:0x6656a0 list hover] the applicant list selects the row under the pointer (the details, the skill gauge and the mini balance follow it, video 12:00); the employee view (EXT) only highlights, as a click opens the employee under the pointer |
| TPW-EXE:0x6656a0 list hover | source/OpenTPW/UI/Original/UiScreen.cs:170 | [BIN:TPW-EXE:0x6656a0 list hover] a list with attribute 0x80 selects the row under the pointer when the pointer moves; the list decides what a hover does: the buy, loans and hire lists select, the others only highlight (the Load Park list does not, EXT:load-list-select-then-load) |
| TPW-EXE:0x6659af list sort word | source/OpenTPW/Hud/ListSortMemory.cs:7 | [BIN:TPW-EXE:0x6659af list sort word] the builders pass a global sort word (column = |w|-1, direction = w < 0) that starts at 1: visitors 0x7508bc, all staff 0x75118c, the four attractions categories 0x750d5c/0x750d60/0x750d64/0x750d68, staff 0x7523e4, buy 0x755140; the windows write it back on a sort change (0x493479, 0x495505..0x495544, 0x495fe0 (all staff), 0x49b85e, 0x4ac9dd) |
| TPW-EXE:0x665a44 buy list sort | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:27 | [BIN:TPW-EXE:0x665a44 buy list sort] list 504 has attribute 0x91 including 0x10 (header sort): the same column toggles its direction, a new column starts ascending, and the sort word [0x755140] starts at 1 (column 0, ascending; 0x4ad057 → 0x6659af) and is written back on a change (0x4ac9dd), so the order survives reopening the window for the session (ListSortMemory); the table only gives column header buttons 16/17 without a model |
| TPW-EXE:0x665a44 generic list sort, list attribute 0x10 | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:247 | [BIN:TPW-EXE:0x665a44 generic list sort, list attribute 0x10] the same column toggles its direction, a new column starts ascending; the sort word 0x75118c starts at 1 (column 0, ascending), so the first press on column 0 descends |
| TPW-EXE:0x665a44 generic list sort, list attribute 0x10 | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:258 | [BIN:TPW-EXE:0x665a44 generic list sort, list attribute 0x10] the same column toggles its direction, a new column starts ascending; the initial sort column is 0 (ascending, the per-category sort words 0x750d5c..0x750d68 = 1), so the first press on column 0 descends, and each category keeps its word for the session (ListSortMemory). |
| TPW-EXE:0x665a44 generic list sort, list attribute 0x10 | source/OpenTPW/Hud/ParkHud.Staff.cs:134 | [BIN:TPW-EXE:0x665a44 generic list sort, list attribute 0x10] the same column toggles its direction, a new column starts ascending; the initial sort column is 0 (ascending), so the first press on column 0 descends. |
| TPW-EXE:0x665a44 generic list sort, list attribute 0x10 | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:173 | [BIN:TPW-EXE:0x665a44 generic list sort, list attribute 0x10] the same column toggles its direction, a new column starts ascending; the initial sort column is 0 (ascending, sort word 0x7508bc = 1), so the first press on column 0 descends |
| TPW-EXE:0x665c35 list dispatcher | source/OpenTPW/Hud/ParkHud.AllStaffWindow.cs:375 | [BIN:TPW-EXE:0x665c35 list dispatcher] attribute 0x291 lists: a left click selects the row and posts 0x400 (the employee window); a right click selects the row and posts 0x402 (centre the camera, close) |
| TPW-EXE:0x665c35 list dispatcher | source/OpenTPW/Hud/ParkHud.AttractionsWindow.cs:469 | [BIN:TPW-EXE:0x665c35 list dispatcher] attribute 0x291 lists: a left click selects the row and opens its info panel and keeps the list; a right click selects the row, centres the camera on it and closes |
| TPW-EXE:0x665c35 list dispatcher | source/OpenTPW/Hud/ParkHud.VisitorWindow.cs:322 | [BIN:TPW-EXE:0x665c35 list dispatcher] attribute 0x291 lists: a left click selects the row and posts 0x400; a right click selects the row and posts 0x402 (centre the camera on the visitor, close) |
| TPW-EXE:0x665c35 list leave | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:528 | [BIN:TPW-EXE:0x665c35 list leave] the list handles no message for the pointer leaving (0x10002 goes to the base control, 0x65f6d1, which only informs the pointer manager), so the selection stays on the last hovered row |
| TPW-EXE:0x665c35 list wheel | source/OpenTPW/Hud/ParkHud.Staff.cs:44 | [BIN:TPW-EXE:0x665c35 list wheel] the list forwards a wheel message (0x1000d, one notch = WM_MOUSEWHEEL delta / 120 at 0x46b600) to its scroll bar child as position - notches, so the wheel moves one row per notch |
| TPW-EXE:0x665c35 type-7 procedure | source/OpenTPW/UI/Original/UiTextWidgets.cs:249 | [BIN:TPW-EXE:0x665c35 type-7 procedure] row helpers notify the owner (activation 0x400, selection 0x401, other button 0x402), never the hook's button message 0x100, and the hook 0x485780 plays 0x1F/0xBD only for 0x100 (0x4857cb). The type-7 constructor 0x662562 is reached only through the factory 0x65dd7b from layout records (0x65fe40; the text-layout path 0x6607ca has no caller), and the 19 type-7 lists of the 18 layout tables belong to owners whose row handlers send no 0x100: the only 0x100 senders in tp.exe are the button release 0x6691eb and eight window keyboard paths (docs/AUDIO.md, "List owners"). So no original list row clicks; OpenTPW's own screens opt in. |
| TPW-EXE:0x668952 button text colours | source/OpenTPW/UI/Original/UiText.cs:328 | [BIN:TPW-EXE:0x668952 button text colours] the button constructor sets +0x14C to white and +0x154 to black; 0x668AD3 draws the text with +0x14C (normal, checked, pressed) or +0x154 (hover, checked with the pointer) |
| TPW-EXE:0x668ad3 button text states | source/OpenTPW/UI/Original/UiWidgets.cs:720 | [BIN:TPW-EXE:0x668ad3 button text states] the state getter 0x668820 gives 1 disabled, 0 normal, 2 checked, 3 checked with the pointer, 4 pressed and 5 hover; the applier draws normal and checked with |
| TPW-EXE:0x668ad3 header text offset | source/OpenTPW/UI/Original/UiWidgets.cs:130 | [BIN:TPW-EXE:0x668ad3 header text offset] the text moves by (1, 1) pixels of the mode while the pointer is over the header and by (2, 1) while it is pressed; the colour is the header colour in every state (0x668f5a, 0x668f7b) |
| TPW-EXE:0x668dd9 button hold timer | source/OpenTPW/UI/Original/UiWidgets.cs:609 | [BIN:TPW-EXE:0x668dd9 button hold timer] the per-frame message 0x1e of a pressed button with style bit 0x20 (+0x48): state +0x15a 1 waits until now - +0x144 >= +0x13c (the delay), then sets state 2 and posts 0x10009 to the parent; state 2 posts 0x10008 each time now - +0x144 > +0x140 (the interval); both only while the button's pressed bit (+0x138 & 2) is set, and they restart +0x144; the ctor 0x6688b3 stores +0x13c = 500 ms and +0x140 = 0x7d = 125 ms for every button, and only a button with style bit 0x20 repeats (the scroll arrows are style 0x21); the press 0x668ecf sets state 1 and +0x144, the release 0x668eff clears the state and the click (0x100) follows only when it was not 2 |
| TPW-EXE:0x6691eb no click sound | source/OpenTPW/Hud/ParkHud.Management.cs:210 | [BIN:TPW-EXE:0x6691eb no click sound] the window hook 0x485780 plays cat_ui 0x1F on message 0x100, which only the button class sends up (0x6691EB, on a release inside); the text control's handler 0x499060 gets the click as message 0x10006 and 0x4990F0 opens the dialog without sending 0x100 or playing an event, so the name click is silent |
| TPW-EXE:0x6698e6 key delivery | source/OpenTPW/Hud/ParkHud.cs:1096 | [BIN:TPW-EXE:0x6698e6 key delivery] a key event (0x1000a/b/c, posted to window 1 by 0x658c38/0x658c67/0x658c96) is handed to exactly one window: an accelerator-table window (0x65e640, list and edit controls) when the key is in its table, else the focus window (0x65e59b, [0xfaa5ec]) while its flag bit 0 is set, else the root ([0xfaa5dc]); nothing falls through to a second window |
| TPW-EXE:0x669d77 delayed UI queue | source/OpenTPW/Hud/ParkHud.ChallengeTerminalTimers.cs:170 | [BIN:TPW-EXE:0x669d77 delayed UI queue] the delayed-message pump has no lifetime-timer suspension test. |
| TPW-EXE:0x66a71c variable box SetPos | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:143 | [BIN:TPW-EXE:0x66a71c variable box SetPos] the variable box class (vtable 0x705af0, slot +0x1c 0x66a6ae) lowers a value above its maximum (+0x13c) to it, else raises one below its minimum (+0x138), and sends 0x800 on a change and always on its first set (flag +0x154 from the constructor 0x66a558); its SetRange 0x66a5c4 clamps the value too |
| TPW-EXE:0x66a7e1 variable box repeat | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:64 | [BIN:TPW-EXE:0x66a7e1 variable box repeat] case 3 (child 1, b_plus, hold start 0x10009) and case 2 (b_minus): with step +0x148 == 1 counter +0x14c = 20 and increment +0x150 = 1, else counter 5; case 3 then value + step; cases 5 and 4 (the ticks 0x10008) with step 1: value ± the increment (0x66a71c clamps), counter - 1, at 0 the increment × 10 and the counter 20, with another step the value moves by the step each fifth tick; the plus button's hold start steps the value at once, the minus button's does not |
| TPW-EXE:0x66ac00 slider default track | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:409 | [BIN:TPW-EXE:0x66ac00 slider default track] a slider created with the 0x40 attribute (0x61 in these tables) copies its own rectangle into its track rectangle (+0x2c, 0x66ace3..0x66acf0) and only the layout command 3 replaces it, so the shop's and the sideshow's sliders, which have no such command (none of the three object tables holds a command 3 on them or a command 10), run the ball along their whole rectangle: left = track left + (position - minimum) × (track width - ball width) / range (0x66b088) |
| TPW-EXE:0x66ad6a knob construction | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:441 | [BIN:TPW-EXE:0x66ad6a knob construction] the slider is built with raw value 0 and its ball at the layout's authored top (399, the table row of 0xd2d10); its SetPos slot 0x66b508 -> 0x66b088 |
| TPW-EXE:0x66af19 slider drag | source/OpenTPW/UI/Original/UiWidgets.cs:928 | [BIN:TPW-EXE:0x66af19 slider drag] the thumb follows the pointer at the grabbed offset; the value is read from the thumb's left edge |
| TPW-EXE:0x66afc9 slider drag | source/OpenTPW/UI/Original/UiWidgets.cs:819 | [BIN:TPW-EXE:0x66afc9 slider drag] value = min + trunc((thumbLeft - trackLeft) * (max - min) / (trackWidth - thumbWidth)); the research effort sliders 0xd2d0b..0xd2d0f are this class with SetRange(0,100) (0x4aa6bd..0x4aa725) |
| TPW-EXE:0x66b088 slider SetPos | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:14 | [BIN:TPW-EXE:0x66b088 slider SetPos] a slider's position is clamped to its range (a value above the maximum takes the maximum, then one below the minimum the minimum) and a change is sent to the window as message 0x800, so the window's values are the clamped object values once it has loaded them |
| TPW-EXE:0x66b088 slider ball | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:470 | [BIN:TPW-EXE:0x66b088 slider ball] a vertical slider puts its ball (child 3) at top + (min - value) × (height - ball height) / (min - max) in integer table units, so with |
| TPW-EXE:0x66b088 slider ball | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:373 | [BIN:TPW-EXE:0x66b088 slider ball] the ball's top is top + (min - value) × (height - ball height) / (min - max) in integers; the knob's range is min 1023, max 0 (0x66b47d at 0x4aa63a) |
| TPW-EXE:0x66b088 slider thumb | source/OpenTPW/UI/Original/UiWidgets.cs:852 | [BIN:TPW-EXE:0x66b088 slider thumb] the original's slider class (vtable 0x705b20) places the thumb at track left + (value - min) × (track width - thumb width) / (max - min) in integer units; the options page's sliders are 0..100 (0x4a455a) |
| TPW-EXE:0x66b8aa slider track click | source/OpenTPW/UI/Original/UiWidgets.cs:897 | [BIN:TPW-EXE:0x66b8aa slider track click] a click off the thumb is compared with the thumb's far edge (horizontal: its right edge) and calls the page move 0x66b088 (mode 2 or 3, +-0x148), |
| TPW-EXE:0x66bb38 track click | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:555 | [BIN:TPW-EXE:0x66bb38 track click] 0x11006 uses the saved press point, only after the completed-click qualification; constructor 0x66adc9 leaves page +0x148 at 1. |
| TPW-EXE:0x66bb9b slider creation | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:144 | [BIN:TPW-EXE:0x66bb9b slider creation] the original's window object is static and its controls are rebuilt on each open, with sliders that start at position 0 and send 0x800 only on a change (0x66b088); but each slider's ball child forces one notification of the slider's value when it is created (message 0x15 calls 0x66b088 with -2, always sending), which puts 0 into the window's word, and SetRange 0x66b47d only stores the bounds, so the load's SetPos reaches the window as a message whenever it differs from 0 and needs none when it is 0: the window's words always end up as the loaded values, as here |
| TPW-EXE:0x66bd75 release | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:546 | [BIN:TPW-EXE:0x66bd75 release] mode -2 repositions the ball from the raw value even when that value did not change. |
| TPW-EXE:0x66be55 saved rectangle | source/OpenTPW/Hud/ParkHud.ResearchWindow.cs:538 | [BIN:TPW-EXE:0x66be55 saved rectangle] translate the immutable press-time rectangle by the full press-relative delta, then clamp and read the value. |
| TPW-EXE:0x66c85a light switch | source/OpenTPW/Hud/ParkHud.ObjectSettings.cs:344 | [BIN:TPW-EXE:0x66c85a light switch] the type-13 control's SetValue(mask) sets the type-6 child 0x11100000 | i to lit for each set bit i and unlit for each clear one (0x65d3a3), and a lamp's SetState (0x66da4d) sends its two models message 1 carrying the state (1 lit, 0 unlit), which OpenTPW draws as the model's frame 1 and frame 0 |
| TPW-EXE:0x66d885 gauge SetValue | source/OpenTPW/UI/Original/UiGauge.cs:29 | [BIN:TPW-EXE:0x66d885 gauge SetValue] the value is clamped to 0..0x400 and sent to the gauge's two models with message 8, whose handler (0x478400) turns it into value / 1024 × 100 percent of the bar's width: vertices 1, 2, 4 and 5 move to that percent and the texture's u of the fill quad to percent / 100 (0x4785a2..0x478675), so the fill is the art cut off at the value, not stretched |
| TPW-EXE:0x67A830 _ftol | source/OpenTPW/World/Particles/ParticleRendererModule.cs:306 | [BIN:TPW-EXE:0x67A830 _ftol] the control word is set to chop: the conversion truncates toward zero |
| TPW-EXE:0x67A830 float to integer | source/OpenTPW/Economy/ParkStatisticsHistory.cs:244 | [BIN:TPW-EXE:0x67A830 float to integer] fldcw with the truncate bits, fistp qword, then eax = the low dword |
| TPW-EXE:0x67B5C0 CRT rand | source/OpenTPW/Hud/ParkHud.RideView.cs:154 | [BIN:TPW-EXE:0x67B5C0 CRT rand] the draws are OpenTPW's own copy of the CRT's generator (214013 x state + 2531011, bits 16 to 30), one persistent state per HUD that no stream of the world or the guests shares |
| TPW-EXE:0x67b4e0 acos steps | source/OpenTPW/World/Coasters/CoasterCarBend.cs:44 | [BIN:TPW-EXE:0x67b4e0 acos steps] the routine runs at the thread's 24-bit significand (the control word 0x7F is not the CRT's 0x27F, so the helper 0x686185 only restores round-to-nearest): 1 + x, 1 − x, their product and its square root each round to a single, and the fpatan result is stored as a single |
| TPW-EXE:0x6B6260 fade thread | source/OpenTPW.Tests/AudioPollPrecisionTests.cs:20 | [BIN:TPW-EXE:0x6BB860 effective volume] [BIN:TPW-EXE:0x6B6260 fade thread]: master 0.75 and effects 0.7 on a volume of 60 are 31.5 in 53 bits and 31.499998 once the product is a single |
| TPW-EXE:0x6B6260,0x6B9E30,0x67E050 fade thread | source/OpenTPW/Audio/HeldSoundLifecycle.cs:89 | [BIN:TPW-EXE:0x6B6260,0x6B9E30,0x67E050 fade thread] the released-tail poll (0x6B6260 sends every fading placeholder its fade update, vf+0x2c = 0x6BCB80 -> 0x6C50D0 -> 0x6C570B -> 0x6BB860) runs on the sound library's own worker, started with the CRT's _beginthread (0x6B9EF0); the manager tick 0x6B62B0 calls the same update only when the manager byte +0x50 is set, and 0x6B9F66 clears it before the worker starts |
| TPW-EXE:0x6B87D0 | source/OpenTPW/Audio/SoundEvents.cs:838 | [BIN:TPW-EXE:0x6B87D0] queued flag 1 returns the prior handle (zero for fresh ADDOBJ). |
| TPW-EXE:0x6B98D0,0x51BD70 | source/OpenTPW/Audio/AudioMixer.cs:370 | [BIN:TPW-EXE:0x6B98D0,0x51BD70] group order: master, music, speech, effects; ducking changes those same factors. |
| TPW-EXE:0x6B98D0,0x70A610,0x6C56E2,0x6BB860 group change | source/OpenTPW/Audio/AudioMixer.cs:459 | [BIN:TPW-EXE:0x6B98D0,0x70A610,0x6C56E2,0x6BB860 group change] a group volume change re-evaluates every voice's index through the record; here the index is a function of the current group floats and is evaluated for each block, which gives the same value at every point |
| TPW-EXE:0x6B9E30 | source/OpenTPW/Audio/HeldSoundLifecycle.cs:206 | [BIN:TPW-EXE:0x6B9E30] post-scan Sleep(100/250), counting fades before their update. |
| TPW-EXE:0x6BB860 effective volume | source/OpenTPW.Tests/AudioPollPrecisionTests.cs:20 | [BIN:TPW-EXE:0x6BB860 effective volume] [BIN:TPW-EXE:0x6B6260 fade thread]: master 0.75 and effects 0.7 on a volume of 60 are 31.5 in 53 bits and 31.499998 once the product is a single |
| TPW-EXE:0x6BB860 effective volume | source/OpenTPW/Audio/AudioMixer.cs:480 | [BIN:TPW-EXE:0x6BB860 effective volume] an event-system voice's groups are inside its volume index (the group floats multiply the voice's percent before the driver's table), so it takes neither the master nor a channel gain here |
| TPW-EXE:0x6BB860 effective volume | source/OpenTPW/Audio/HeldSoundLifecycle.cs:88 | [BIN:TPW-EXE:0x6BB860 effective volume] the own volume (+0x18) times the product of the enabled group floats (mask +0x24: bit 0 master, 1 music, 2 speech, 3 effects, read in that order from the table +0x34, starting at the float 0x70A7DC) is formed in the x87 registers without a store between the multiplications, stored once as a float (fstp dword) and converted with fistp (round to nearest even); no mask gives the own volume unchanged |
| TPW-EXE:0x6BB860 effective volume | source/OpenTPW/Audio/SoundVolume.cs:24 | [BIN:TPW-EXE:0x6BB860 effective volume] start 1.0 (0x70A7DC); every set bit of the voice's group mask multiplies in that group's float (+0x48..+0x54 of the service, each the service's percent x 0.01f stored by 0x6B98D0); fistp of the result is the index, so 100 with nothing else is 100 and 100 x 0.5 is 50 |
| TPW-EXE:0x6BBBE0 re-evaluate | source/OpenTPW/Audio/SoundEvents.cs:1108 | [BIN:TPW-EXE:0x6BBBE0 re-evaluate] with a sample playing (+0x24), recomputes volume unless fade flag 0x400 is set (0x6BBC5E..0x6BBC98), and always evaluates pitch again (0x6BBC98..0x6BBCA4). The fade flag protects the current decaying sample volume; it does not mean an absolute fixed gain of 60 percent. Logical sample volume is preserved across host segment changes while fading. |
| TPW-EXE:0x6BC410 | source/OpenTPW/Audio/SoundEvents.cs:932 | [BIN:TPW-EXE:0x6BC410] a returning sample repeats setup; volume and pitch precede the delay draw at 0x6BC4F4. Loops are expiry-exempt. |
| TPW-EXE:0x6BC4D8-0x6BC504,0x6BCB60 | source/OpenTPW/Audio/SoundEvents.cs:313 | [BIN:TPW-EXE:0x6BC4D8-0x6BC504,0x6BCB60] expiry is strict and checked again after that draw. |
| TPW-EXE:0x6BC534-0x6BC55D | source/OpenTPW/Audio/SoundEvents.cs:322 | [BIN:TPW-EXE:0x6BC534-0x6BC55D] late-start eligibility only, never a seek offset. |
| TPW-EXE:0x6BCA70,0x6B8D60,0x6BB7C0,0x6C8E50,0x6BBE40 | source/OpenTPW/Audio/SoundEvents.cs:191 | [BIN:TPW-EXE:0x6BCA70,0x6B8D60,0x6BB7C0,0x6C8E50,0x6BBE40] range flag 0x800 is set before stop; the successful output callback clears +0x24 and playing bit 1 without making the owner terminal. |
| TPW-EXE:0x6BCB80,0x6C570B | source/OpenTPW/Audio/HeldSoundLifecycle.cs:121 | [BIN:TPW-EXE:0x6BCB80,0x6C570B] feedback uses effective integer volume; the device receives the result directly. |
| TPW-EXE:0x6BD800,0x6BC410,0x6B9AB0 | source/OpenTPW/Audio/SoundEvents.cs:192 | [BIN:TPW-EXE:0x6BD800,0x6BC410,0x6B9AB0] the same owner's next admitted tick rebuilds the selected sample request with a zero existing output handle; this is a fresh source, not silent cursor advance. |
| TPW-EXE:0x6BDB50,0x6BDBB0,0x6C3AE0 | source/OpenTPW/Audio/SoundEvents.cs:362 | [BIN:TPW-EXE:0x6BDB50,0x6BDBB0,0x6C3AE0] held-chain children are locally linked and ticked directly, with a distinct output setup; they are not extra manager pool entries. |
| TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes | source/OpenTPW.Tests/AudioGroupEnableTests.cs:126 | [BIN:TPW-EXE:0x6bc760 group gate] [BIN:TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes] |
| TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes | source/OpenTPW.Tests/AudioSentenceResumeTests.cs:40 | [BIN:TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes] |
| TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes | source/OpenTPW/Audio/SoundEvents.cs:1203 | [BIN:TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes] the range stop (0x6BCA70) leaves the placeholder's selected descriptor (+0x0C) alone; the sentence tick 0x6BDF50 starts it again through the sample setup 0x6BC410, which draws the volume, the pitch and the delay and makes a new stream (0x6B9AB0, its cursor starts at 0): a stopped segment replays from its beginning. Only the refill callback 0x6BDE00 (0x6BDF00 -> 0x6B9A60) advances the descriptor, when the decoder's read (0x6BB510, chunks of 0x2400 bytes) runs out of the segment's data, so a stop inside that last look-ahead resumes on the successor; the chooser does not run on a return |
| TPW-EXE:0x6C3B8A distance mapping | source/OpenTPW/Audio/AudioListener.cs:10 | [BIN:TPW-EXE:0x6C3B8A distance mapping] the minimum distance is the constant 2.0 (0x70a9c4) the mapping is built with; the law that uses it is read in QMixer.dll (below) |
| TPW-EXE:0x6C3B8A distance mapping | source/OpenTPW/Audio/AudioListener.cs:16 | [BIN:TPW-EXE:0x6C3B8A distance mapping] the source's mapping is {2.0, max(range, 2.1 when range ≤ 2.0), rolloff} (0x6bc650's range against the constant 2.0 at 0x70a9c4, 0x40066666 = 2.1f when it is not above it), handed to QSWaveMixSetDistanceMapping (0x6D2930, 0x51B6D3 sends the global mapping 1.0) |
| TPW-EXE:0x6C46B0 reverb command | source/OpenTPW.Files/Formats/Sound/SndReverbMap.cs:11 | [BIN:TPW-EXE:0x6C46B0 reverb command] the selected record is sent to the audio device as an EAX 2.0 listener property set (DSPROPSETID_EAX20_ListenerProperties {0306A6A8-B224-11D2-99E5-0000E8D8C722}, property 1 = all parameters, 0x38 bytes) by 0x6B7970 when the sound device has the EAX path (otherwise the backend object's vtable slot 0x50 is called with the same record, 0x6B79B4; QMixer.dll exports the QSWaveMixSetReverb* functions); the thirteen words are kept raw here |
| TPW-EXE:0x6C46B0 reverb command | source/OpenTPW/Audio/ReverbUnit.cs:7 | [BIN:TPW-EXE:0x6C46B0 reverb command] the thirteen record words reach the device in the order lRoom (word 3), lRoomHF (4), flRoomRolloffFactor (11), flDecayTime (5), flDecayHFRatio (6), lReflections (7), flReflectionsDelay (8), lReverb (9), flReverbDelay (10), dwEnvironment (0), flEnvironmentSize (1), flEnvironmentDiffusion (2), flAirAbsorptionHF (12) and the flags 9 (an immediate): EAX 2.0's EAXLISTENERPROPERTIES |
| TPW-EXE:0x6C5D20 SndReverb.map loader | source/OpenTPW.Files/Formats/Sound/SndReverbMap.cs:10 | [BIN:TPW-EXE:0x6C5D20 SndReverb.map loader] the stream reads are 4 bytes (checked against 2000), 4 bytes (the count), then per entry 1 byte and, when it is not 0, 13 reads of 4 bytes into a 0x34-byte record; an absent entry starts with 0xFFFFFFFF (0x6C6000 refuses it: index below the count and first dword not -1) |
| TPW-EXE:0x6C5D20 SndReverb.map loader | source/OpenTPW/Audio/GameAudio.cs:382 | [BIN:TPW-EXE:0x6C5D20 SndReverb.map loader] the sound service reads the file once while it starts |
| TPW-EXE:0x6D2980,0x782E40 volume table | source/OpenTPW/Audio/SoundVolume.cs:13 | [BIN:TPW-EXE:0x6D2980,0x782E40 volume table] the driver's SetVolume (virtual slot) refuses an index below 0 or above 127 (nothing is sent) and sends the 16-bit entry of the table 0x782E40: 258 x index, and 32767 for the last entry (0x6D2980 reads it as a word) |
| TPW-EXE:0x6FEAD4 camcorder tool slot | source/OpenTPW/Hud/ParkHud.Camcorder.cs:70 | [BIN:TPW-EXE:0x6FEAD4 camcorder tool slot] the camcorder tool's click handler 0x46D0D0 sits in the press slot of its vtable (the placement tools' press slot holds the latch 0x46C5D0 and their release 0x46C610 acts): it acts on the left press |
| TPW-EXE:0x6FFE70 employee window vtable +0x20 | source/OpenTPW/Hud/ParkHud.EmployeeWindow.cs:251 | [BIN:TPW-EXE:0x6FFE70 employee window vtable +0x20] the close hook is 0x4b6b80, which jumps to 0x486630: the clone goes with the window |
| TPW-EXE:0x6acd60 string format | source/OpenTPW.Files/Formats/String/BFSTReader.cs:126 | [BIN:TPW-EXE:0x6acd60 string format] the formatter fills a UITEXT record's parameter chunks (type 2) with the caller's typed values (the 'MRAV' argument records) |
| TPW-EXE:0x6ada90 character table header | source/OpenTPW.Files/Formats/String/BFMUReader.cs:25 | [BIN:TPW-EXE:0x6ada90 character table header] the loader accepts the magic BFMU and BFMH (0x6adac6) and derives the single-byte count 255 - leads (0xFF is assumed for the last byte) and the table size |
| TPW-EXE:0x6add40 integer emitter | source/OpenTPW/Hud/ChallengeMessageText.cs:83 | [BIN:TPW-EXE:0x6add40 integer emitter] only the stored 32-bit magnitude is emitted as a signed decimal; the sign flag is not read. |
| TPW-EXE:0x6ae2b0 bracket kind | source/OpenTPW.Files/Public/TextVisualOrder.cs:28 | [BIN:TPW-EXE:0x6ae2b0 bracket kind] 0x28 gives 1, 0x29 gives 2 |
| TPW-EXE:0x6ae2e0 separator | source/OpenTPW.Files/Public/TextVisualOrder.cs:24 | [BIN:TPW-EXE:0x6ae2e0 separator] 0x20 or 0x2c |
| TPW-EXE:0x6ae300 bracket partner | source/OpenTPW.Files/Public/TextVisualOrder.cs:100 | [BIN:TPW-EXE:0x6ae300 bracket partner] counts the word's parentheses from its first record (same kind +1, the other kind -1) and swaps the |
| TPW-EXE:0x6ae390 word end | source/OpenTPW.Files/Public/TextVisualOrder.cs:91 | [BIN:TPW-EXE:0x6ae390 word end] the first separator from the word's start on, or the line's end |
| TPW-EXE:0x6ae3d0 next word | source/OpenTPW.Files/Public/TextVisualOrder.cs:79 | [BIN:TPW-EXE:0x6ae3d0 next word] none when the position is past the line's second-to-last record (0x6ae3da: start > end - 2 records), |
| TPW-EXE:0x6ae410 Hebrew test | source/OpenTPW.Files/Public/TextVisualOrder.cs:20 | [BIN:TPW-EXE:0x6ae410 Hebrew test] a record whose character is above 0x5b0 and below 0x5eb (0x6ae41f, 0x6ae426) |
| TPW-EXE:0x6ae440 reverse | source/OpenTPW.Files/Public/TextVisualOrder.cs:72 | [BIN:TPW-EXE:0x6ae440 reverse] swaps records from both ends of [start, end) towards the middle |
| TPW-EXE:0x6ae4b0 line reorder | source/OpenTPW.Files/Public/TextLayout.cs:75 | [BIN:TPW-EXE:0x6ae4b0 line reorder] each laid-out line that holds Hebrew is drawn in visual order (TextVisualOrder); the line's width is unchanged |
| TPW-EXE:0x6ae4b0 line reorder | source/OpenTPW.Files/Public/TextVisualOrder.cs:14 | [BIN:TPW-EXE:0x6ae4b0 line reorder] called for every line by the drawing loop 0x6ae550 (the only drawer, from 0x6ae0f0 and 0x6ae1c0, behind the |
| TPW-EXE:0x6ae550 line offset | source/OpenTPW.Files/Public/TextPlacement.cs:12 | aligned as right - block width. [BIN:TPW-EXE:0x6ae550 line offset] inside the block each line moves by |
| TPW-EXE:0x6ae550 line offset | source/OpenTPW/UI/Original/UiWidgets.cs:93 | [BIN:TPW-EXE:0x6ae550 line offset] a centred or right aligned multi-line text moves each line inside the widest one |
| TPW-EXE:0x6aeab0 glyph class | source/OpenTPW.Files/Public/TextLayout.cs:97 | [BIN:TPW-EXE:0x6aeab0 glyph class] the original flags only space and tab (0x12) as break opportunities; a hyphen or any other character does not break |
| TPW-EXE:0x6aeab0 glyph class | source/OpenTPW/UI/Original/UiWidgets.cs:463 | [BIN:TPW-EXE:0x6aeab0 glyph class] only space and tab are break opportunities (0x10) and spaces (2); every text control lays out through 0x6ae930 -> 0x6aeb10, which splits at line feeds and wraps each line with 0x6aec80, so the catalogue slots wrap |
| TPW-EXE:0x6aeb10 block box | source/OpenTPW.Files/Public/TextPlacement.cs:9 | [BIN:TPW-EXE:0x6aeb10 block box] the block is lines x line height tall and the widest line wide; vertically it is centred as |
| TPW-EXE:0x6aeb10 block box | source/OpenTPW/UI/Original/UiWidgets.cs:95 | [BIN:TPW-EXE:0x6aeb10 block box] whole-pixel block placement; a block taller than the box is still centred (the original's control bitmap cuts it off at both ends, 0x48f3d0, and so does the clip) |
| TPW-EXE:0x6aec80 text wrap | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:544 | [BIN:TPW-EXE:0x6aec80 text wrap] a status wider than the control wraps into it (the text library's formatter), the block centred |
| TPW-EXE:0x6aec80 text wrap | source/OpenTPW/UI/Original/UiWidgets.cs:191 | [BIN:TPW-EXE:0x6aec80 text wrap] the original does not shrink or cut an option label that is wider than its rectangle: the text library wraps it greedily into the rectangle (a line ends at the last space before the overflowing glyph, a word longer than the line is broken between characters), the block centred vertically (0x6aeb10) and cut off at the box (0x48f3d0) |
| TPW-EXE:0x6aec80 text wrap | source/OpenTPW/UI/Original/UiWidgets.cs:259 | [BIN:TPW-EXE:0x6aec80 text wrap] a label that fits no size on one line is wrapped into its rectangle (UiLabel.Draw -> DrawTextAt), as the original's text library does; [EXT:option-label-fit] OpenTPW takes the largest size whose |
| TPW-EXE:0x6aec80 text wrap | source/OpenTPW/UI/Original/UiWidgets.cs:462 | [BIN:TPW-EXE:0x6aec80 text wrap] the original's formatter wraps greedily: a line ends at the last break opportunity before the glyph that overflows, trailing spaces dropped, or before that glyph when the line has none |
| TPW-EXE:0x6b24b0 text texel | source/OpenTPW/UI/Original/UiTitleBitmap.cs:8 | [BIN:TPW-EXE:0x6b24b0 text texel] a glyph sample of coverage c writes (colour RGB, alpha 17 c) for the colour alpha 0xff (0x6b25df-0x6b25fb); for a lower colour alpha it writes alpha 17 x floor(c x alpha / 255) and nothing when that level is 0 (0x6b26d0-0x6b2702); the texels are written, not blended (the bitmap was cleared, 0x48fb64) |
| TPW-EXE:0x6b4aa0 text blit class | source/OpenTPW/Render/OriginalStateWord.cs:59 | [BIN:TPW-EXE:0x6b4aa0 text blit class] the canvas class comes from the table at 0x782d38 by (format flag, destination type, source kind); an RGB bitmap (flag 0x20 clear, 0x4925d0) takes the class at 0xfb1ef0 |
| TPW-EXE:0x6b62b0 sound manager tick | source/OpenTPW/Audio/SoundEvents.cs:359 | [BIN:TPW-EXE:0x6b62b0 sound manager tick] only the voices in the pool of 12 are ticked; the pool is rebuilt every tick (0x6b6ba0), a voice is admitted (0x6b6bc0) only while audible (0x6bca10: the listener within the voice's range, the map sound's float +34, over the ground) and ranked by the dword priority:distance of 0x6bb9f0; a held chain's next child, its first included, is made in its tick (0x6bdae0 → 0x6bdb50 → 0x6bdbb0) |
| TPW-EXE:0x6b62b0 sound manager tick | source/OpenTPW/Audio/SoundEvents.cs:1281 | [BIN:TPW-EXE:0x6b62b0 sound manager tick] a voice out of range is not admitted to the pool (0x6bca10) and so not ticked, and its sample is stopped (0x6bca70, message 3) |
| TPW-EXE:0x6b6a80 voice list insert | source/OpenTPW/Audio/SoundEvents.cs:345 | [BIN:TPW-EXE:0x6b6a80 voice list insert] a new voice is linked at the head of the manager's voice list (head +0x24, next +0x34, previous +0x38), so the tick 0x6b62b0 meets the newest voice first |
| TPW-EXE:0x6b6ba0 pool reset | source/OpenTPW/Audio/SoundEvents.cs:391 | [BIN:TPW-EXE:0x6b6ba0 pool reset] the pool is cleared every tick with its admission threshold (+0x48) at 0, and 0x6b6bc0 rejects a rank that is not above the threshold, so a voice of rank 0 (priority 0 and past the distance scale) never enters |
| TPW-EXE:0x6b6bc0 equal ranks | source/OpenTPW/Audio/SoundEvents.cs:361 | [BIN:TPW-EXE:0x6b6bc0 equal ranks] among equal ranks the newer logical owner keeps its slot (ComparePoolOrder); recreating output does not renew its serial. |
| TPW-EXE:0x6b6bc0 pool admission | source/OpenTPW/Audio/SoundEvents.cs:346 | [BIN:TPW-EXE:0x6b6bc0 pool admission] each voice is slotted into the descending array before the first slot whose rank (the dword at +0x20) is strictly lower, the last slot's voice is pushed out; an equal rank therefore stays behind the voice already slotted, which is the newer one |
| TPW-EXE:0x6b79d0 listener velocity | source/OpenTPW.Tests/AudioDopplerTests.cs:49 | [BIN:TPW-EXE:0x6b79d0 listener velocity] previous place = +8 of the sound system object, zero when the process starts |
| TPW-EXE:0x6b79d0 listener velocity | source/OpenTPW/Audio/AudioListener.cs:145 | [BIN:TPW-EXE:0x6b79d0 listener velocity] a changed update sends QSWaveMixSetListenerVelocity (0x6d2a10 -> 0x6d27b0) the new place minus the library's previous place (0x6b79f9, +8 of the sound system object, zero when the process starts, then the place of every changed update), then the place itself; nothing resets it for a park, a level or the lobby |
| TPW-EXE:0x6b87d0 event lookup | source/OpenTPW.Tests/AudioIntegrationTests.cs:317 | [BIN:TPW-EXE:0x6b87d0 event lookup] a level event is looked up in the level category only, so without a level bank nothing plays |
| TPW-EXE:0x6b87d0 event lookup | source/OpenTPW.Tests/AudioTriggerTests.cs:291 | [BIN:TPW-EXE:0x6b87d0 event lookup] the level category is searched alone: an id it lacks is silent (incagod.RSE's EVENT 3 id 43 is only in the global cat_rides) |
| TPW-EXE:0x6b87d0 event lookup | source/OpenTPW/Audio/GameAudio.cs:1020 | [BIN:TPW-EXE:0x6b87d0 event lookup] the submit takes the category by its handle (0x6b9b30, a deque index; an empty slot returns) and searches only that category's 20-byte event records for the id (0x6c5870, linear, null when absent), returning without a voice (0x6b8919); the level category is loaded from the level's own data under its own path key (0x51ec50 -> 0x51b530 -> 0x6bf330, path joined at 0x6b8690), so nothing falls back to the global category |
| TPW-EXE:0x6b87d0 event submit | source/OpenTPW/Audio/GameAudio.cs:709 | [BIN:TPW-EXE:0x6b87d0 event submit] the library has no per-event instance limit: a submit replaces only the live voice of the handle it carries (0x6b6830; refused while that voice's priority +0x22 >= the new event's +0xc, else the old voice is flagged 0x100, 0x6b88c0-0x6b88df), the thing submits its voice with handle 0 (0x51327c) while +0x54 is free, and the pool admits voices by rank alone (0x6b62b0, 0x6b6bc0), so both rain voices sound, as here |
| TPW-EXE:0x6b8a10 pause handle | source/OpenTPW.Tests/AudioPauseSoundTests.cs:68 | [BIN:TPW-EXE:0x6b8a10 pause handle] [BIN:QMIXER-DLL:0x18003710 restart all] |
| TPW-EXE:0x6b8a10 pause handle | source/OpenTPW/Audio/AudioMixer.cs:96 | [BIN:TPW-EXE:0x6b8a10 pause handle] the record 0x70a5b8 (execute 0x6b8df0) reaches QSWaveMixPauseChannel (0x6d2500, flag 0) for the one channel of the handle; the resume record 0x70a5c0 (0x6b8e60) restarts it (0x6d2540), so the sample goes on from its place |
| TPW-EXE:0x6b8a10 pause handle | source/OpenTPW/Audio/AudioMixer.cs:469 | [BIN:TPW-EXE:0x51bcf0 mixer pause] [BIN:TPW-EXE:0x6b8a10 pause handle] a paused voice, or any voice while the mixer is paused, is not mixed: its sample stands still and the time the listener has heard of it (PlayedSeconds) does not grow, so the start frame moves by the paused frames |
| TPW-EXE:0x6b8b60 listener update | source/OpenTPW/Audio/AudioListener.cs:138 | [BIN:TPW-EXE:0x6b8b60 listener update] the library compares the new place, front and up as they were handed in (the place scaled by the sound system's 1.0, not normalised) byte for byte with the last ones it was given (all three start as zeros) and does nothing when they are equal |
| TPW-EXE:0x6b9006 rolloff flag | source/OpenTPW/Audio/AudioListener.cs:20 | [BIN:TPW-EXE:0x6b9006 rolloff flag] the flag is set when bit 0x100 of the creation descriptor survives the capability filter 0x6b7d70 (the descriptor is ORed with 0x300 at 0x6b8fe8); the filter clears it only when the driver object's slot +0x20 is set or its virtual +0x4c reports no native 3D (0x6b7d80-0x6b7d9d) |
| TPW-EXE:0x6b9900 group enable | source/OpenTPW/Audio/AudioMixer.cs:321 | [BIN:TPW-EXE:0x6b9900 group enable] SetGroupEnabled(group, flag) stores a byte at +0x44 + group of the sound system object (groups 0 master, 1 music, 2 speech, 3 effects: the records 0x700B74, 0x700B78 and 0x700B70, execute 0x6B5A50, 0x6B5990 and 0x6B59F0), all four are 1 from the start (0x6B8F32) and the master's is never written |
| TPW-EXE:0x6b9bb0 rolloff | source/OpenTPW/Audio/AudioListener.cs:19 | [BIN:TPW-EXE:0x6b9bb0 rolloff] the float of the sound system object (0xfb1f24, built by 0x6b8ed0, vtable 0x70a5d8 +0x2c) is 0.2 (0x70a624) when the object's flag 0x40 (+0x28) is set and 0.8 (0x70a628) otherwise |
| TPW-EXE:0x6bb9f0 rank distance | source/OpenTPW.Tests/AudioSentenceResumeTests.cs:21 | [BIN:TPW-EXE:0x6bc51d flat placement] [BIN:TPW-EXE:0x6bb9f0 rank distance] |
| TPW-EXE:0x6bb9f0 rank distance | source/OpenTPW/Audio/SoundEvents.cs:247 | [BIN:TPW-EXE:0x6bb9f0 rank distance] the ground distance word is computed from the placeholder's +0x10 and +0x18 against the listener whatever the voice flags, and 0x6bca10 reads it for every voice (the range test only spares voice flag 8 from the stop, 0x6bca44), so a started any-distance voice competes at its distance from the listener to the origin of the sound space |
| TPW-EXE:0x6bbb80 SetParameter | source/OpenTPW/Audio/SoundEvents.cs:944 | [BIN:TPW-EXE:0x6bbb80 SetParameter] the table is created when missing (0x6b7150); the code is compared with all four slot codes and the byte value stored in each match; a match in slot 1-3, with placeholder flag 0x4000 clear, re-evaluates the volume and pitch (0x6bbbe0), as SoundSentence.SetParameter does for a sentence |
| TPW-EXE:0x6bbb80 SetParameter | source/OpenTPW/Audio/SoundEvents.cs:1106 | [BIN:TPW-EXE:0x6bbb80 SetParameter] the table is created when missing (0x6b7150); the code is compared with all four slot codes of the placeholder's table (+0x4C) and the byte value stored in each match; a match in slot 1-3, with placeholder flag 0x4000 clear, calls vf+0x34 (0x6bbbe0) |
| TPW-EXE:0x6bbce0 placeholder move | source/OpenTPW/Audio/SoundEvents.cs:246 | [BIN:TPW-EXE:0x6bbce0 placeholder move] a caller's move stores its place at +0x10 and, while a sample plays (+0x24), a voice with voice flag 8 gets (0, 1, 0) again (0x6bbda4), so a moved any-distance voice keeps ranking at the origin; a voice without a sample (waiting for its decode, a chain's root) keeps its caller's place |
| TPW-EXE:0x6bbe90 voice flags from the event | source/OpenTPW.Tests/AudioVoiceFlagTests.cs:30 | [BIN:TPW-EXE:0x6bbe90 voice flags from the event] [BIN:TPW-EXE:0x6bc484 fixed-pitch flag] |
| TPW-EXE:0x6bbe90 voice flags from the event | source/OpenTPW/Audio/SoundEvents.cs:425 | [BIN:TPW-EXE:0x6bbe90 voice flags from the event] the event flag 0x4 makes voice flag 2 and 0x8 makes 6 (loops, with 2), which exempt a voice from the expiry |
| TPW-EXE:0x6bbe90 voice flags from the event | source/OpenTPW/Audio/SoundVoiceFlags.cs:6 | [BIN:TPW-EXE:0x6bbe90 voice flags from the event] the word starts at 0; the event flag 0x8 makes 6 (voice flag 4: loops, 2: no expiry), the event flag 0x4 ORs voice flag 2, the event word's 0x200 ORs voice flag 8 (audible at any distance, flat placement), 0x20 ORs 0x200, the byte at +0x11 bit 0x40 (the event word's 0x4000) ORs 0x20000, and a range scale above 0 (0x70a834) stores itself at +0x40 and ORs 0x80 |
| TPW-EXE:0x6bbf60 placeholder setup | source/OpenTPW/Audio/SoundEvents.cs:1107 | [BIN:TPW-EXE:0x6bbf60 placeholder setup] slot 0 holds the event's code (event record +0x12), slots 1 and 2 the current sound's selectors +0x16 and +0x1A truncated to bytes and slot 3 is 0 (0x6bbf00, run again whenever the sentence moves to another sound, 0x6bc8d7); the volume query 0x6bc040 reads slot 1 under mask +0x18 and slot 2 under mask +0x1C |
| TPW-EXE:0x6bc01b voice end time | source/OpenTPW/Audio/SoundEvents.cs:423 | [BIN:TPW-EXE:0x6bc01b voice end time] a started voice's end (+0x1c) is the clock plus the sample's length (+8 of the sample record) plus 0xfa milliseconds |
| TPW-EXE:0x6bc090 | source/OpenTPW/Audio/SoundEvents.cs:508 | [BIN:TPW-EXE:0x6bc090] volume = min + ror13(chooser) % (max - min); an empty range draws nothing (0x6bc11b) |
| TPW-EXE:0x6bc170 pitch draw | source/OpenTPW/Audio/SoundEvents.cs:535 | [BIN:TPW-EXE:0x6bc170 pitch draw] swaps the signed bytes +0xE/+0xF of the sound record when max < min, range = max - min, and without a parameter-bound pitch slot (the vf+0x40 query for parameter kind 2) draws ror13(chooser) % range + min; 0x6bc410 calls it right after the volume draw (0x6bc090) and hands it to 0x6c5170, unless the placeholder flag 0x10000 fixes the pitch |
| TPW-EXE:0x6bc2d0 delay draw | source/OpenTPW/Audio/SoundEvents.cs:406 | [BIN:TPW-EXE:0x6bc2d0 delay draw] 0 when both u16 bounds are 0, else min + ror13(state) % (max - min), drawn at every sample start (0x6bc4f4) after the volume and the pitch, and stored at the placeholder's +0x3c (0x6bc4fa) |
| TPW-EXE:0x6bc410 sample start | source/OpenTPW/Audio/SoundChain.cs:115 | [BIN:TPW-EXE:0x6bc410 sample start] volume, then pitch, then (below) the wait: the order of the original's draws |
| TPW-EXE:0x6bc410 sample start | source/OpenTPW/Audio/SoundEvents.cs:536 | [BIN:TPW-EXE:0x6bc410 sample start] the order of draws for one playback is sound, sample, volume, pitch, then the delay (0x6bc343) |
| TPW-EXE:0x6bc410 sample start | source/OpenTPW/Audio/SoundEvents.cs:1230 | [BIN:TPW-EXE:0x6bc410 sample start] a new segment evaluates its volume (0x6bc090) and pitch (0x6bc170) with the values the slot table holds; a later parameter change re-evaluates them (SetParameter) |
| TPW-EXE:0x6bc484 fixed-pitch flag | source/OpenTPW.Tests/AudioVoiceFlagTests.cs:30 | [BIN:TPW-EXE:0x6bbe90 voice flags from the event] [BIN:TPW-EXE:0x6bc484 fixed-pitch flag] |
| TPW-EXE:0x6bc484 fixed-pitch flag | source/OpenTPW/Audio/SoundEvents.cs:538 | [BIN:TPW-EXE:0x6bc484 fixed-pitch flag] a placeholder with flag 0x10000 (+0x30) plays the short at +0x4A instead of this draw, and a flag 0x8000 plays the short at +0x48 instead of the volume draw (0x6bc451); nothing in the library sets 0x10000 (the only 'or 0x10000' is the mixer handle's own flag word, 0x6c51d3) and the events' flags are 16-bit (the shipped values are 0x0-0x16, 0x200-0x208, 0x404-0x606), so the draw is the only pitch path here; 0x8000 is set by the placeholder's volume command (0x6bc9e7) |
| TPW-EXE:0x6bc484 fixed-pitch flag | source/OpenTPW/Audio/SoundVoiceFlags.cs:7 | [BIN:TPW-EXE:0x6bc484 fixed-pitch flag] the only reader of voice flag 0x10000 (the fixed-pitch short at +0x4A); a scan of every write to a voice's flag word in the library (0x6b6247-0x6beaa1: 0x6bbe40, 0x6bbe5d-0x6bbef3, 0x6bc7c0, 0x6bc7fc, 0x6bc9ee, 0x6bca60, 0x6bca79, 0x6bcae0, 0x6bcb0a, 0x6bcc77, 0x6bd5c2, 0x6bd83a, 0x6bd8e3, 0x6bd8ff, 0x6bdab6, 0x6bdb32, 0x6bdf8a, 0x6be044, 0x6be060, 0x6be567, 0x6be5cc, 0x6be891, 0x6bea75, 0x6beaa1, the pool node 0x6b6a29) finds byte-wise or constant ORs of the bits 0x1 and 0x2 and 0x4 and 0x8 and 0x10 and 0x20 and 0x40 and 0x80, the high bytes 0x1 and 0x4 and 0x8 and 0x10 and 0x20 and 0x40 and 0x80 and the clears of them, the constants 6, 0 and 0x20000, and no write that can set bit 16: no immediate 0x10000 or 0xFFFEFFFF exists in the library outside 0x6bc484 and the mixer handle's own flag word (0x6c51d3, 0x6d20d8) |
| TPW-EXE:0x6bc4e7 sample setup | source/OpenTPW/Audio/SoundEvents.cs:748 | [BIN:TPW-EXE:0x6bc4e7 sample setup] the fixed (flat) branch and the positioned branch both reach the loop test 0x6bc621: a placeholder with flag 0x8 (+0x30 bit 4) loops its sample (0x6c5110, 9999 times), so a flat one-shot loops exactly as a positioned one does |
| TPW-EXE:0x6bc4f4 pitch and delay | source/OpenTPW/Audio/SoundEvents.cs:747 | [BIN:TPW-EXE:0x6bc4f4 pitch and delay] the pitch and the delay are applied (Pitch, AudioVoice.SetPitch, DelaySeconds, ExpiryFrame); reverb (SndReverb.map, loaded at 0x6c5d20) is OpenTPW's stand-in, [EXT:audio-reverb]; chain delays are milliseconds (video, 2026-10-15) |
| TPW-EXE:0x6bc4f4 sample start | source/OpenTPW/Audio/SoundEvents.cs:755 | [BIN:TPW-EXE:0x6bc4f4 sample start] the delay is drawn after the volume and the pitch |
| TPW-EXE:0x6bc4f4 sample start | source/OpenTPW/Audio/SoundEvents.cs:1234 | [BIN:TPW-EXE:0x6bc4f4 sample start] the delay is drawn after the volume and the pitch at every segment; a sentence's voice is ranked as the sentence itself, so the draw is all of it that is observable here |
| TPW-EXE:0x6bc51d flat placement | source/OpenTPW.Tests/AudioQmixerPlacementTests.cs:76 | [BIN:TPW-EXE:0x6bc51d flat placement] [BIN:QMIXER-DLL:0x18007abd SetPosition polar]: azimuth 0, distance 9.2e-5 inside the minimum distance, so pan 0 and distance gain 1 |
| TPW-EXE:0x6bc51d flat placement | source/OpenTPW.Tests/AudioSentenceResumeTests.cs:21 | [BIN:TPW-EXE:0x6bc51d flat placement] [BIN:TPW-EXE:0x6bb9f0 rank distance] |
| TPW-EXE:0x6bc51d flat placement | source/OpenTPW/Audio/AudioMixer.cs:89 | [BIN:TPW-EXE:0x6bc51d flat placement] the sample start 0x6bc410 takes its flat branch for a voice with voice flag 8 (set from the event's 0x200 by 0x6bbe90): the raw dwords (0, 1, 0) become the placeholder's position (0x6bb220), the request gets no distance mapping and no flag 0x20 (0x6bc52d-0x6bc52f, 0x6bc612-0x6bc61e), so 0x6b7fd6 reaches the placement adapter 0x6d2640 with its flag clear and that adapter calls QSWaveMixSetPosition (0x6d2709 skipped, 0x6d270b-0x6d272b) rather than SetSourcePosition |
| TPW-EXE:0x6bc51d flat placement | source/OpenTPW/Audio/SoundEvents.cs:245 | [BIN:TPW-EXE:0x6bc51d flat placement] the sample start of a voice with voice flag 8 overwrites the placeholder's own position (+0x10, the three floats the rank reads) with the raw dwords (0, 1, 0), and the sample start of every one-shot, sentence segment and loop return repeats it |
| TPW-EXE:0x6bc621 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:207 | [BIN:TPW-EXE:0x6bc621] both the fixed and the positioned branch reach the loop test |
| TPW-EXE:0x6bc621 | source/OpenTPW.Tests/RepairHideAudioTests.cs:78 | the fixture's events 111 and 211 carry flag 0x8, so even a flat pair loops ([BIN:TPW-EXE:0x6bc621]) and an owner with live loops refuses capture until they are stopped |
| TPW-EXE:0x6bc621 | source/OpenTPW.Tests/RepairHideAudioTests.cs:157 | events 111 and 211 carry flag 0x8: a flat one-shot loops as a positioned one does ([BIN:TPW-EXE:0x6bc621]) |
| TPW-EXE:0x6bc621 loop test | source/OpenTPW/Audio/SoundEvents.cs:777 | [BIN:TPW-EXE:0x6bc621 loop test] flag 0x8 loops the sample after both the positioned and the fixed branch (see Play) |
| TPW-EXE:0x6bc621 loop test | source/OpenTPW/Audio/SoundEvents.cs:812 | [BIN:TPW-EXE:0x6bc621 loop test] as in PlayAt: the loop flag 0x8 applies |
| TPW-EXE:0x6bc6ce | source/OpenTPW/Audio/SoundEvents.cs:453 | [BIN:TPW-EXE:0x6bc6ce] one shared chooser for every catalogue draw: s = s * 0x19660D + 0x3C6EF35F, stored back into the shared state (0xfb1f20) on every draw, and the draw is ror(s, 13), then >> 16 (weights: sound 0x6bc810, sample 0x6bc680) or % (max - min) (ranges: volume 0x6bc090, pitch 0x6bc170, delay 0x6bc343); the same state serves the sentence link choices (0x6be450, 0x6c3e00) |
| TPW-EXE:0x6bc760 group enable | source/OpenTPW/Audio/SoundEvents.cs:167 | [BIN:TPW-EXE:0x6bc760 group enable] a chain whose group is switched off is not ticked: it makes no child, and the ones it made play out (they are not in the pool) |
| TPW-EXE:0x6bc760 group enable | source/OpenTPW/Audio/SoundEvents.cs:197 | [BIN:TPW-EXE:0x6bc760 group enable] a pooled voice whose group is switched off has its sample stopped (record 0x70a2d0 with the handle at +0x24, which is then cleared) and is not ticked, exactly as an out-of-range voice |
| TPW-EXE:0x6bc760 group gate | source/OpenTPW.Tests/AudioGroupEnableTests.cs:65 | [BIN:TPW-EXE:0x6bc760 group gate] bit 1 master (never written), 2 music, 4 speech, 8 effects |
| TPW-EXE:0x6bc760 group gate | source/OpenTPW.Tests/AudioGroupEnableTests.cs:83 | [BIN:TPW-EXE:0x6bc760 group gate] the sample stops and the voice is not ticked; back on, the tick starts the sample again from its beginning (0x6bc410), drawing the volume anew |
| TPW-EXE:0x6bc760 group gate | source/OpenTPW.Tests/AudioGroupEnableTests.cs:126 | [BIN:TPW-EXE:0x6bc760 group gate] [BIN:TPW-EXE:0x6BDF50,0x6BC410,0x6B9AB0 stopped sentence resumes] |
| TPW-EXE:0x6bc760 group gate | source/OpenTPW.Tests/AudioGroupEnableTests.cs:147 | [BIN:TPW-EXE:0x6bc760 group gate] the root is not ticked; its children are not in the pool |
| TPW-EXE:0x6bc760 group gate | source/OpenTPW/Audio/AudioMixer.cs:325 | [BIN:TPW-EXE:0x6bc760 group gate] bit 1 of the voice's mask tests the master byte +0x44, bit 2 the music byte +0x45, bit 4 the speech byte +0x46 and bit 8 the effects byte +0x47: one clear byte of a set bit switches the voice off |
| TPW-EXE:0x6bc822 | source/OpenTPW.Tests/AudioTests.cs:130 | [BIN:TPW-EXE:0x6bc822] one sound: no draw; [0x6bc69d] one sample: no draw; [0x6bc11b] min == max volume: no draw |
| TPW-EXE:0x6bc839 chooser | source/OpenTPW.Tests/AudioTests.cs:114 | [BIN:TPW-EXE:0x6bc839 chooser] s = s * 0x19660D + 0x3C6EF35F is stored back (0xfb1f20); the draw is ror(s, 13), then >> 16 for weights or % range for ranges |
| TPW-EXE:0x6bc8d7 sound change | source/OpenTPW/Audio/SoundEvents.cs:1228 | [BIN:TPW-EXE:0x6bc8d7 sound change] moving to a sound runs the placeholder's sound setup again (0x6bbf00): slots 1 and 2 take the new sound's selectors, the values stay |
| TPW-EXE:0x6bca10 | source/OpenTPW.Tests/AudioPitchTests.cs:139 | [BIN:TPW-EXE:0x6bca10] out of range without the any-distance flag 0x200: the sample is stopped (0x6bca70, message 3) |
| TPW-EXE:0x6bca44 any-distance admission | source/OpenTPW/Audio/SoundEvents.cs:360 | [BIN:TPW-EXE:0x6bca44 any-distance admission] a voice with the any-distance flag is admitted whatever its distance |
| TPW-EXE:0x6bcb60 expiry test | source/OpenTPW/Audio/SoundEvents.cs:424 | [BIN:TPW-EXE:0x6bcb60 expiry test] a voice without voice flag 2 is expired once the clock passes its end plus its delay (+0x3c); the manager tick 0x6b62b0 then releases it (0x6b6440) without ranking it, whether or not its sample has finished |
| TPW-EXE:0x6bd5f0 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:471 | [BIN:TPW-EXE:0x6bd5f0] x clamps into [x1, x2]; z is capped at z1 and then raised to z2 (the shipped records run z down from z1); y is the listener's. The jungle record: x 353..450, z 31 down to -66 |
| TPW-EXE:0x6bd5f0 rectangle clamp | source/OpenTPW/Audio/GameAudio.cs:493 | [BIN:TPW-EXE:0x6bd5f0 rectangle clamp] every tick of a voice with flag 0x1000 (set by the bind 0x6b64b0, never cleared; 0x6bca10 tests it before the range test) the voice is put at the listener's place (listener object +0x60) clamped: x below x1 becomes x1 and above x2 becomes x2; z above z1 becomes z1 and, otherwise, below z2 becomes z2 (the shipped records run z down from z1, their extent word being negative); y is the listener's |
| TPW-EXE:0x6bd9b0 chain stop | source/OpenTPW/Audio/SoundChain.cs:15 | [BIN:TPW-EXE:0x6bd9b0 chain stop] the stop walks the child list, sends each child the stop command (0x6bcab0, command 1 sets the child's stopped flag 0x10) and destroys it, then stops the root, so every child ends at once |
| TPW-EXE:0x6bda90 held-chain parameter setter | source/OpenTPW/Audio/SoundChain.cs:41 | [BIN:TPW-EXE:0x6bda90 held-chain parameter setter] the root's setter (vtable 0x70a2e0 +0x28) writes the slot (0x6bbb80) and then clears the root flag 0x40 unless the stored byte is 0x7f, so a parameter set after a halt restarts the walk at the next tick |
| TPW-EXE:0x6bdb50 held chain advance | source/OpenTPW/Audio/SoundChain.cs:13 | [BIN:TPW-EXE:0x6bdb50 held chain advance] the root voice (vtable 0x70a2e0, made for flags 0x404 by 0x6b6700 → 0x6bdd30) ticks in 0x6bdae0: a child node whose end (+0x1c, its creation time + a delay drawn min + R % (max − min) from its own sound, 0x6c3a80) has passed makes the next child (0x6bdbb0); released children play out, and the stop 0x6bd9b0 stops every live child; the root is ticked only while it holds a place in the sound manager's pool (SoundEventSystem.Pump) |
| TPW-EXE:0x6bdbb0 next child | source/OpenTPW/Audio/SoundChain.cs:14 | [BIN:TPW-EXE:0x6bdbb0 next child] the next child starts when the newest child's end has passed and it has no successor: a new node takes its sound from 0x6c3e00 (the first child the event's first sound, [event+8]; every later one a link of the previous sound whose bytes +6/+7 hold the root's parameter byte, picked by the target sounds' weights as ror13(LCG) % total with cumulative >= pick, 0x6c3e00) and its end is the start time plus the delay of 0x6bc2d0 (u16 min + r % (max - min), or (max - min) x v / 100 + min with a parameter-bound delay slot, 0 when both are 0); the children overlap and 0x6bdc10 drops the nodes whose end has passed |
| TPW-EXE:0x6bdbb0 next child | source/OpenTPW/Audio/SoundChain.cs:88 | [BIN:TPW-EXE:0x6bdbb0 next child] the link is walked when the next child is made, with the parameter of that moment (not when the previous child started) |
| TPW-EXE:0x6bff14 | source/OpenTPW.Files/Formats/Sound/SoundCatalog.cs:146 | [BIN:TPW-EXE:0x6bff14] the bank-map reader tests the flag byte at record +9 for 0x20; set: the base is the data root plus "Global\" (0x782dd8, 0x6bff1b-0x6bff3d); clear: the category's own folder |
| TPW-EXE:0x6bff14 | source/OpenTPW.Tests/AudioRegisterRound2Tests.cs:122 | [BIN:TPW-EXE:0x6bff14] test byte [record + 9], 0x20 |
| TPW-EXE:0x6bff14 | source/OpenTPW/Audio/SoundEvents.cs:71 | [BIN:TPW-EXE:0x6bff14] a bank record's flag 0x20 selects the data root's Global folder, every other bank is under the category's own folder (the map folder's parent); there is no second folder to try: the open at 0x6b9310 makes one existence test (0x6c5a00) and returns 0 when it fails |
| TPW-EXE:0x6c3e00 link walk | source/OpenTPW/Audio/SoundChain.cs:146 | [BIN:TPW-EXE:0x6c3e00 link walk] the covering links are counted (bytes +6 and +7 against the parameter), the weight total of their targets is summed, the pick is ror(state, 13) % total (0x6c3ece-0x6c3edf) and the first covering link whose running sum reaches it is taken (0x6c3f14) |
| TPW-EXE:0x6c3e00 terminal sound | source/OpenTPW/Audio/SoundChain.cs:92 | [BIN:TPW-EXE:0x6c3e00 terminal sound] a sound without any link clears the walk's position and fails without a flag; the half-made child is dropped and the next attempt, the next pooled tick, starts the event's first sound again |
| TPW-EXE:0x6c3f49 uncovered parameter | source/OpenTPW/Audio/SoundChain.cs:96 | [BIN:TPW-EXE:0x6c3f49 uncovered parameter] links exist but none holds the parameter: 0x7f goes into the root's parameter byte and the root flag 0x40 is set; its tick 0x6bdae0 does nothing while flags & 0x50, so the root makes no child until a parameter is set to something other than 0x7f (the root's setter 0x6bda90 clears 0x40 then, see Parameter); the voice lives until it is stopped |
| TPW-EXE:0x6c58f0 | source/OpenTPW/Audio/SoundEvents.cs:72 | [BIN:TPW-EXE:0x6c58f0] the quality suffix: <name>HW.sdt first, HD.sdt as fallback, reversed when the manager's flags +0x28 have bits 0 and 1; only HD files ship |
| TPW-EXE:0x6d2640,0x6d2a10,0x6d2b20 axis mapping | source/OpenTPW.Tests/AudioQmixerPlacementTests.cs:43 | [BIN:TPW-EXE:0x6d2640,0x6d2a10,0x6d2b20 axis mapping] (x, y, z) -> (x, z, y); [BIN:QMIXER-DLL:0x18001020] the third component negated: together (x, y, z) -> (x, z, -y), a rotation |
| TPW-EXE:0x6d2820 mixer set-frequency wrapper | source/OpenTPW/Audio/AudioMixer.cs:134 | [BIN:TPW-EXE:0x6d2820 mixer set-frequency wrapper] a non-zero step multiplies the sample rate by the float at 0x782f40 + 4 * step (positive) or 0x783540 + 4 * |step| (negative) and rounds to an integer for QSWaveMixSetFrequency |
| TPW-EXE:0x6d2aec axis mapping | source/OpenTPW/Audio/AudioMixer.cs:186 | [BIN:TPW-EXE:0x6d2aec axis mapping] the adapters 0x6d2640 (source), 0x6d2a10 (listener position) and 0x6d2b20 (front and up) hand QMixer (x, z, y) for a driver whose byte +8 has bit 0 clear (it starts as 2, 0x6d6c54-0x6d6c5e, and nothing writes it), QMixer negates the third component of every vector it receives when its engine byte +4 is set (0x18001020; set because tp.exe's QSWaveMixInitEx structure is zeroed, 0x6d1f92, so bit 3 of its flags is clear, 0x18008661-0x1800866c): the two reflections make a rotation (x, y, z) -> (x, z, -y), so right = up x front, the rotated offset and the azimuth atan2(x, z) are those of the unmapped camera axes (AudioListener.Azimuth; the test AudioQmixerPlacementTests replays the whole pipeline) |
| TPW-EXE:0x6fe038 trough slope | source/OpenTPW/World/Coasters/CoasterRating.cs:247 | [BIN:TPW-EXE:0x6fe038 trough slope] the climb threshold is the single 0.01745 |
| TPW-EXE:0x6fe03c force scale | source/OpenTPW/World/Coasters/CoasterRating.cs:249 | [BIN:TPW-EXE:0x6fe03c force scale] the force is multiplied by the single 0.1, not divided by 10 |
| TPW-EXE:0x6fe6bc animation letter table | source/OpenTPW/World/Objects/ObjectAnimations.cs:23 | [BIN:TPW-EXE:0x6fe6bc animation letter table] The 12-entry table is indexed by AnimID: C D I L S M E U W B R O (AnimIDs 1 and 8 name 'd' and 'w', which have no ScriptDefs constant). The loader 0x461f10 formats %s%s%c%d.md2 (0x74d2b4) for <letter>1, <letter>2, … and stops at the first missing file, and %s%s%c.md2 (0x74d2a8) only when <letter>1 is missing. |
| TPW-EXE:0x700b28 paused listener height | source/OpenTPW/Audio/GamePauseSound.cs:18 | [BIN:TPW-EXE:0x700b28 paused listener height] the float 10000.0 that 0x51C1D0 loads in place of its second argument while the paused word 0x803AD2 is not 0 (0x51C1E9-0x51C1F9) |
| TPW-EXE:0x72e09c | source/OpenTPW/Audio/SoundEvents.cs:454 | [BIN:TPW-EXE:0x72e09c] the state is seeded once at static initialisation (0x6bb930 -> 0x5f5f10, QueryPerformanceCounter) and is never saved |
| TPW-EXE:0x73ed30 collision point keys | source/OpenTPW/World/Coasters/CoasterDefinition.cs:157 | [BIN:TPW-EXE:0x73ed30 collision point keys] the loader's field table names the array asTrackCollisionPoints (type 3, an array of structs) with the float fields fCollisionX and fCollisionY (type 7); the array's keys are written like the other arrays', asTrackCollisionPoints[i].fCollisionX (no PC coaster.sam names them) |
| TPW-EXE:0x745020 sam schema | source/OpenTPW/World/Objects/ObjectCatalog.cs:167 | [BIN:TPW-EXE:0x745020 sam schema] OverwritePriority follows WhichUIType (+0x4C) and DontDeformBase (+0x50) at +0x54, the field the validator 0x535670 compares (0x535785) and the hover 0x5234D0 loads into 0x818C10 |
| TPW-EXE:0x745020 sam schema | source/OpenTPW/World/Objects/ObjectCatalog.cs:195 | [BIN:TPW-EXE:0x745020 sam schema] CreateParticleEffect, DestroyParticleEffect, RepairParticleEffect and UpgradeParticleEffect follow each other in the type record (+0x60, +0x64, +0x68, +0x6C, matched by schema order and by role); 0 or an absent key starts nothing |
| TPW-EXE:0x745a60 schema RequiresTeleport | source/OpenTPW/World/Objects/OriginalObjectRuntime.cs:705 | [BIN:TPW-EXE:0x745a60 schema RequiresTeleport] the key after ChillsYouOut (+0xFC) is type record +0x100, which the guest state setter 0x501db0 tests in states 15 and 16 |
| TPW-EXE:0x747c84 ui archive | source/OpenTPW.Files/Public/GameLanguage.cs:358 | [BIN:TPW-EXE:0x747c84 ui archive] tp.exe mounts the fixed "data\ui.wad" (with "data\ui", "data\language.wad", "data\Postcard.wad" in the same table) and |
| TPW-EXE:0x747d18 postcard folder | source/OpenTPW.Files/Public/GameLanguage.cs:350 | [BIN:TPW-EXE:0x747d18 postcard folder] "data\Postcard" and "data\Postcard.wad" sit in the table of data folders with "data\ui.wad" (0x747c84): fixed paths below |
| TPW-EXE:0x7484D0 cheat key table | source/OpenTPW/Hud/ParkHud.Cheats.cs:13 | [BIN:TPW-EXE:0x7484D0 cheat key table] VK 0x52 (R) 0x40C430, 0x31 (the top row's 1) 0x40C450, 0x47 (G) 0x40C6C0 and VK_NUMPAD1..9 (0x61..0x69) 0x40C6E0..0x40C7E0, every entry with the modifier mask 0x30 (Alt); the table is not rebindable (it is built by 0x40CB80 from fixed data, unlike the shortcuts of 0x40CAA0) |
| TPW-EXE:0x74cac8 collision points | source/OpenTPW/World/Coasters/CoasterCollision.cs:15 | [BIN:TPW-EXE:0x74cac8 collision points] the defaults the definition takes (0x42ff03..0x42ff14: pointer 0x74caa0, count 5) are (4, 8), (4, 0), (0, -3), (-4, -1), (-4, 8); no PC coaster.sam names asTrackCollisionPoints, so these are the points of every PC coaster |
| TPW-EXE:0x74ce34 gravity | source/OpenTPW/World/Coasters/CoasterRating.cs:251 | [BIN:TPW-EXE:0x74ce34 gravity] g = 1.0 (a single multiply by it and a negation per axis); fGravityX/Y/Z and fForceMultiplier take no part |
| TPW-EXE:0x74f920 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:980 | <summary>[BIN:TPW-EXE:0x74f920] layout table MessageBox.</summary> |
| TPW-EXE:0x74fa98 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:229 | <summary>[BIN:TPW-EXE:0x74fa98] layout table Camcorder.</summary> |
| TPW-EXE:0x74fa98 ride-view screen table | source/OpenTPW/Hud/ParkHud.RideView.cs:21 | [BIN:TPW-EXE:0x74fa98 ride-view screen table] control 1: the viewfinder model at (170,170)-(1878,1366); control 2: the eject button model at (1916,1404)-(2018,1506), help 468 "Left-click to leave camcorder mode (C)"; the screen is created at 0x48a1d0/0x48a4d4 with the message procedure 0x488a00 and the crosshair pointer 0x15 (0x65f11d) |
| TPW-EXE:0x74faf0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:962 | <summary>[BIN:TPW-EXE:0x74faf0] layout table WinningScreen.</summary> |
| TPW-EXE:0x74fb20 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:974 | <summary>[BIN:TPW-EXE:0x74fb20] layout table LossScreen.</summary> |
| TPW-EXE:0x74fb50 status colours | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:516 | [BIN:TPW-EXE:0x74fb50 status colours] CLOSED grey (128,128,128), broken down and condemned red (255,50,30), the upgrade, cleaning and repair statuses blue (80,100,255), the queue, exit and track statuses orange (255,150,30), each with alpha 255 (0x4861e0) |
| TPW-EXE:0x7501a0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:205 | <summary>[BIN:TPW-EXE:0x7501a0] layout table MessagePanel.</summary> |
| TPW-EXE:0x7501a0 message panel | source/OpenTPW/Hud/ParkHud.MessageTube.cs:48 | [BIN:TPW-EXE:0x7501a0 message panel] the panel (458,1101)-(1073,1442) is drawn from the tag models messagel (458..623), messagem (623..835) and messager (835..1073); its text area is (609,1118)-(1056,1422); mb_erase sits at (486,1325)-(589,1428) and two action buttons above it, (486,1218)-(589,1320) and (486,1110)-(589,1213), whose models are not fixed by the table |
| TPW-EXE:0x7501a0 message panel | source/OpenTPW/Hud/ParkHud.cs:383 | [BIN:TPW-EXE:0x7501a0 message panel] mb_erase at (486,1325)-(589,1428) deletes the opened message; the two action buttons above it (486,1218) and (486,1110) take the art of their action's kind (mb_locate, mb_callmech, mb_resrch, mb_buy, mb_accept, mb_decline: ParkHud.MessageTube.cs) |
| TPW-EXE:0x7506c8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:519 | <summary>[BIN:TPW-EXE:0x7506c8] layout table VisitorsWindow.</summary> |
| TPW-EXE:0x7508c0 | source/OpenTPW.Tests/HudVideoRoundTests.cs:46 | [BIN:TPW-EXE:0x7508c0] the happiness bars hand the gauge model builder happygrad.wct |
| TPW-EXE:0x7508c0 happygrad.wct | source/OpenTPW/UI/Original/UiGauge.cs:19 | [BIN:TPW-EXE:0x7508c0 happygrad.wct] the gauge model builder 0x477ff0 is given happygrad.wct instead of ridestatbar.wct by the happiness bars: the visitors list's happiness column (0x493bc5), the visitor window's (0x4b7205), the employee window's 0x513 (0x4b56f5) and the local-happiness rows of the shop and sideshow windows (0x4b018c, 0x4b1681), where the excitement, reliability, repair, life and satisfaction bars keep ridestatbar.wct |
| TPW-EXE:0x7508e0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:547 | <summary>[BIN:TPW-EXE:0x7508e0] layout table AttractionsWindow.</summary> |
| TPW-EXE:0x750ab8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:612 | <summary>[BIN:TPW-EXE:0x750ab8] layout table RideShopList.</summary> |
| TPW-EXE:0x750ba0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:631 | <summary>[BIN:TPW-EXE:0x750ba0] layout table SideshowList.</summary> |
| TPW-EXE:0x750ca0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:651 | <summary>[BIN:TPW-EXE:0x750ca0] layout table FeatureList.</summary> |
| TPW-EXE:0x750e10 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:570 | <summary>[BIN:TPW-EXE:0x750e10] layout table AllStaffWindow.</summary> |
| TPW-EXE:0x751530 coaster panel table | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:14 | [BIN:TPW-EXE:0x751530 coaster panel table] root 0x17 (859, 916)-(1534, 1190) with !f_plain boxes 0x22 (859..1003) and 0x18 (1037..1407) and the nine buttons 0x19..0x21; the table holds no window position |
| TPW-EXE:0x751570 coaster panel buttons | source/OpenTPW/Hud/ParkHud.CoasterPanel.cs:36 | [BIN:TPW-EXE:0x751570 coaster panel buttons] the models of the table's controls: cb_incline, cb_loft, cb_move, cb_rotate, cb_swapdown, cb_swapup, cb_track, cb_loop (control 0x20 names no model of its own: the one left over), cb_dellast; the help ids are 569, 297, 296, 300, 303, 302, 564, 565 and 304 |
| TPW-EXE:0x751720 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:219 | <summary>[BIN:TPW-EXE:0x751720] layout table CameraPanel.</summary> |
| TPW-EXE:0x751720 camera panel | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:842 | [BIN:TPW-EXE:0x751720 camera panel] the camera button slides out a panel with only the camcorder and postcard buttons (no view-cycle button) |
| TPW-EXE:0x751720 camera panel | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:11 | [BIN:TPW-EXE:0x751720 camera panel] panel id 0x62 (466,1316)-(785,1469) with b_1person 0x63 (474,1316)-(627,1469) help 479 and b_postcard 0x64 (632,1316)-(785,1469) help 480 |
| TPW-EXE:0x751720 no view button | source/OpenTPW/Hud/ParkHud.CameraPanel.cs:13 | [BIN:TPW-EXE:0x751720 no view button] the panel's table holds only the panel and its two buttons; no control of the HUD arm (0x7529dc), the camera panel, the ride, shop, sideshow, visitor or employee windows (0x755150, 0x755908, 0x755e80, 0x7575e0, 0x756f48) changes the zoom or the yaw: the locate jumps (0x4867b0, 0x486860, 0x4868d0, the map click 0x5f1050) call 0x42aab0 with the zoom and yaw arguments null and move only the target, so the original has no view-cycle button and OpenTPW has none either |
| TPW-EXE:0x75207e hire portrait control | source/OpenTPW/UI/Original/HirePortraitGeometry.cs:9 | [BIN:TPW-EXE:0x75207e hire portrait control] opcode 3 supplies the inner rectangle; the picture model retains the outer rectangle. |
| TPW-EXE:0x7523e4 hire list sort word | source/OpenTPW/Hud/ParkHud.Staff.cs:135 | [BIN:TPW-EXE:0x7523e4 hire list sort word] the word starts at 1 (column 0, ascending) and is written back on a change (0x49b85e); the session keeps it (ListSortMemory) |
| TPW-EXE:0x7523f0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:746 | <summary>[BIN:TPW-EXE:0x7523f0] layout table LoadDialog.</summary> |
| TPW-EXE:0x7523f0 load dialog | source/OpenTPW/FrontEnd/FrontEndMenu.cs:248 | [BIN:TPW-EXE:0x7523f0 load dialog] root window2 (248,30)-(1800,1007), the title 0x23bce1 (746,83)-(1218,162), the f_load list 0x23bce0 (341,203)-(1614,772) with |
| TPW-EXE:0x7525a0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:702 | <summary>[BIN:TPW-EXE:0x7525a0] layout table LoansWindow.</summary> |
| TPW-EXE:0x7525a0 loans window | source/OpenTPW/Hud/ParkHud.LoansWindow.cs:11 | [BIN:TPW-EXE:0x7525a0 loans window] root window4 (186,30)-(2018,1007), the f_loans list 0x12c4bd (292,131)-(1804,727) with the content region (326,387)-(1704,704), |
| TPW-EXE:0x752940 HUD window | source/OpenTPW/Hud/ArmDrawer.cs:22 | [BIN:TPW-EXE:0x752940 HUD window] the table's first record is window 0x1D with the rectangle words 0x25, 0x3D8, 0x1B7, 0x5E3 (left, top, right, bottom); the HUD builder 0x4a1d70 finds it as child 0x1D of the interface root [0x7cb2ac] (0x4a2305) |
| TPW-EXE:0x7529dc | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:496 | <summary>[BIN:TPW-EXE:0x7529dc] layout table HudArm.</summary> |
| TPW-EXE:0x7529dc HUD arm table | source/OpenTPW/Hud/ParkHud.cs:392 | [BIN:TPW-EXE:0x7529dc HUD arm table] the red X under the HUD that closes the panel is the arm table's b_retract (id 0x24) at (349,1386)-(429,1466), help 481 |
| TPW-EXE:0x752ED0 pause banner animation | source/OpenTPW/UI/Original/UiWindowAnimation.cs:62 | [BIN:TPW-EXE:0x752ED0 pause banner animation] the P window's procedure starts it on message 0x15 with 0x65E72D(0x752ED0, 0x23) (0x4A274C) after centring the pivot on half its right and bottom words (0x4A2740); entries (-2,-6,2,2) twice, (2,6,-2,-2) twice, (-9997,0) |
| TPW-EXE:0x752e00 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:968 | <summary>[BIN:TPW-EXE:0x752e00] layout table PauseWindow.</summary> |
| TPW-EXE:0x7537d0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:851 | <summary>[BIN:TPW-EXE:0x7537d0] layout table ParkInfoWindow.</summary> |
| TPW-EXE:0x753C48 series mask | source/OpenTPW/Hud/ParkHud.InfoGraph.cs:28 | [BIN:TPW-EXE:0x753C48 series mask] the mask is initialised to 8 (only the people-in-park toggle, 0x4A68BF) and kept by the window procedure across openings for the process (ParkInfoChoice, shared between parks); the builder presses a toggle for each set bit (0x4A52A0) |
| TPW-EXE:0x753C48 series mask | source/OpenTPW/Hud/ParkHud.InfoWindow.cs:23 | [BIN:TPW-EXE:0x753C48 series mask] the graph's series mask (initialised to 8) and the period (0x7CB39C) are globals written only by the window procedure (0x4A4764..0x4A5EC9) and kept across openings for the whole process, so they carry over to the next park: they live on the host's ParkInfoChoice, which the game flow shares between its parks |
| TPW-EXE:0x753c68 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:454 | <summary>[BIN:TPW-EXE:0x753c68] layout table PlayerScreen.</summary> |
| TPW-EXE:0x753f50 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:255 | <summary>[BIN:TPW-EXE:0x753f50] layout table NameDialog.</summary> |
| TPW-EXE:0x753f50 name dialog | source/OpenTPW/FrontEnd/FrontEndMenu.Continue.cs:43 | [BIN:TPW-EXE:0x753f50 name dialog] the theme name is the caption in the table's title box (655,285)-(1315,365); the choices stack as full-width text buttons on the rows of the table's two toggles (764,405)-(1206,476) and (764,498)-(1206,569), 93 units apart, widened to the window since this dialog has no tick or X |
| TPW-EXE:0x753f50 name dialog | source/OpenTPW/FrontEnd/FrontEndMenu.cs:176 | [BIN:TPW-EXE:0x753f50 name dialog] the game mode is chosen in the new-player dialog: the wdialogw window (500,233)-(1516,830) with the title box (655,285)-(1315,365), the two latched b_ltoggle buttons (764,405)-(1206,476) and (764,498)-(1206,569) (help 358 and 359), e_joy (1241,606)-(1343,708) and the tick and X; the name field (593,616) belongs to player profiles, which OpenTPW has none of |
| TPW-EXE:0x7540d8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:767 | <summary>[BIN:TPW-EXE:0x7540d8] layout table PostcardWindow.</summary> |
| TPW-EXE:0x7540d8 postcard window | source/OpenTPW/Online/OnlineScreens.cs:1751 | [BIN:TPW-EXE:0x7540d8 postcard window] root 0x5d9d window4 (186,30)-(2018,1007); title 0x5d9e (809,66)-(1281,146); photo frame 0x5d9f !frame (336,144)-(1671,675); |
| TPW-EXE:0x754cf8 buy window table | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:20 | [BIN:TPW-EXE:0x754cf8 buy window table] the list (type 7, 0x1f8) gives the content region (1037,427)-(1727,871); its row height is not in the table: the list class takes it from its first row control (0x663718 stores that control's height measured by 0x65d865 at +0x170; the row under a point is (y - top) / +0x170, 0x66552e) |
| TPW-EXE:0x754d50 buy control 491 | source/OpenTPW/Hud/ParkHud.BuyWindow.cs:323 | [BIN:TPW-EXE:0x754d50 buy control 491] the footprint thumbnail (control 0x1eb, 0x4ab1b0) at (440,407)-(594,561), over the preview frame's lower left |
| TPW-EXE:0x755150 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:10 | <summary>[BIN:TPW-EXE:0x755150] layout table RideWindow.</summary> |
| TPW-EXE:0x755150 b_arup/b_ardown | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:336 | [BIN:TPW-EXE:0x755150 b_arup/b_ardown] the two round arrows (help 21 and 20) at the top of the right column step through the objects of the window's type |
| TPW-EXE:0x755150 b_callmech | source/OpenTPW/Hud/ParkHud.Maintenance.cs:14 | [BIN:TPW-EXE:0x755150 b_callmech] the call button is b_callmech at (1114,800)-(1268,953), help 8, in the ride window's bottom row; a toilet (a shop) takes the same place |
| TPW-EXE:0x755150 b_queue, b_track, b_applyall | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:236 | [BIN:TPW-EXE:0x755150 b_queue, b_track, b_applyall] the ride window's queue button (help 9) lets the player edit the ride's queue, its track button (help 10) the track; the shop and sideshow windows' apply-all button (help 536, 537) copies the window's settings to every object of the type |
| TPW-EXE:0x755150 b_upgrade | source/OpenTPW/Hud/ParkHud.RideUpgrade.cs:42 | [BIN:TPW-EXE:0x755150 b_upgrade] the ride window's upgrade button is the round b_upgrade at (1271,800)-(1425,953), help 19; ParkHud.ObjectWindow.cs places it |
| TPW-EXE:0x755150 object window | source/OpenTPW/Hud/ParkHud.cs:376 | [BIN:TPW-EXE:0x755150 object window] the window frame of the object windows is window2 (w_med) at (248,30)-(1800,1007) |
| TPW-EXE:0x755150 object window | source/OpenTPW/Hud/ParkHud.cs:450 | [BIN:TPW-EXE:0x755150 object window] the information arm is the original object window: see ParkHud.ObjectWindow.cs |
| TPW-EXE:0x755150 object window tables | source/OpenTPW/Hud/ParkHud.ObjectWindow.cs:15 | [BIN:TPW-EXE:0x755150 object window tables] the three tables share the window rectangle, the preview box (348,162), the stats frame (853,162) with 7 or 8 rows of a label (x 876..1273) and a value (x 1315..1550), the title box at y 74..153 and the buttons b_door (1430,784), b_erase (300,800), b_okay (1671,818), b_arup/b_ardown (1662,126/216) and b_allthings (1648,583); the ride table also has b_queue, b_ride it!, b_callmech and b_upgrade in the bottom row |
| TPW-EXE:0x755750 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:69 | <summary>[BIN:TPW-EXE:0x755750] layout table RideUpgradeDialog.</summary> |
| TPW-EXE:0x755908 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:88 | <summary>[BIN:TPW-EXE:0x755908] layout table ShopWindow.</summary> |
| TPW-EXE:0x755e80 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:148 | <summary>[BIN:TPW-EXE:0x755e80] layout table SideshowWindow.</summary> |
| TPW-EXE:0x756400 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:311 | <summary>[BIN:TPW-EXE:0x756400] layout table TrainingBudget.</summary> |
| TPW-EXE:0x756400 training-budget table | source/OpenTPW/Hud/ParkHud.Management.cs:68 | [BIN:TPW-EXE:0x756400 training-budget table] window id 0x2d9, title box 0x2da (805,74)-(1277,153), tick (1711,820), b_entry 0x2db, b_finance 0x2dc and b_loans 0x2dd (help 176, 175, 174) in the right column, the mini balance frame 0x2de (267,183)-(765,411) with four label/value rows, and five f_train rows (0x2e7, 0x2ec, 0x2ea, 0x2eb, 0x2ed: help 164-168) of 150 units with the role icon (h_handy, h_mech, h_enter, h_guard, h_resrcher), b_minus, b_plus, the value in the row's text box and a gauge (type 9, help 169-173) |
| TPW-EXE:0x756950 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:667 | <summary>[BIN:TPW-EXE:0x756950] layout table LocatorPanels.</summary> |
| TPW-EXE:0x756ad8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:690 | <summary>[BIN:TPW-EXE:0x756ad8] layout table LocatorStrip.</summary> |
| TPW-EXE:0x756f48 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:370 | <summary>[BIN:TPW-EXE:0x756f48] layout table EmployeeWindow.</summary> |
| TPW-EXE:0x7572e8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:404 | <summary>[BIN:TPW-EXE:0x7572e8] layout table EmployeeRenameDialog.</summary> |
| TPW-EXE:0x7575e0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:416 | <summary>[BIN:TPW-EXE:0x7575e0] layout table VisitorInfoWindow.</summary> |
| TPW-EXE:0x757D88 citylob table | source/OpenTPW/Online/OnlineScreens.cs:309 | [BIN:TPW-EXE:0x757D88 citylob table] root 18900 (28,541,476,1521): command 1 binds root citylob, command 2 the root lobbutbg of f_lobbutbg.MD2 and command 3 its region (67,1273,438,1484) |
| TPW-EXE:0x757F60 key panel layout | source/OpenTPW.Tests/LobbyKeyPanelTests.cs:50 | [BIN:TPW-EXE:0x757F60 key panel layout] EA s_key, its child EB s_X1 and the counter's ED gkey |
| TPW-EXE:0x757F60 key panel layout | source/OpenTPW/FrontEnd/FrontEndMenu.KeyPanel.cs:31 | [BIN:TPW-EXE:0x757F60 key panel layout] EA (554,170)-(990,437) s_key and its child EB (1045,191)-(1405,416) s_X1 sit in the top middle, EC (1688,68)-(1963,186) with ED gkey (1853,76) and EE (1688,82) at the top right |
| TPW-EXE:0x757d88 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:295 | <summary>[BIN:TPW-EXE:0x757d88] layout table LobbyCity.</summary> |
| TPW-EXE:0x757f60 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:273 | <summary>[BIN:TPW-EXE:0x757f60] layout table Lobby.</summary> |
| TPW-EXE:0x757f60 lobby panel | source/OpenTPW/FrontEnd/FrontEndMenu.cs:103 | [BIN:TPW-EXE:0x757f60 lobby panel] the island lobby's table: the islandlobby panel (28,855)-(476,1521) with the f_lobbutbg background behind the buttons (67,1273)-(438,1484), b_worldview (68,946) help 346, b_entpark (68,1114) help 345, b_lobleft (97,1299) help 343 and b_lobright (260,1299) help 344; the companion table 0x757d88 gives the island-name field (477,1282)-(1571,1457) |
| TPW-EXE:0x757f60 lobby panel | source/OpenTPW/FrontEnd/FrontEndSmokeTest.cs:383 | [BIN:TPW-EXE:0x757f60 lobby panel] the lobby has no title and no menu column: the panel, its four buttons and the island name; Escape opens the menu |
| TPW-EXE:0x7583e8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:236 | <summary>[BIN:TPW-EXE:0x7583e8] layout table ConfirmDialog.</summary> |
| TPW-EXE:0x7583e8 confirm dialog | source/OpenTPW/UI/Original/UiDialogs.cs:34 | [BIN:TPW-EXE:0x7583e8 confirm dialog] window id 0x48 (500,233,1516,830) with b_okay (1376,524,1460,608) and b_exit (1387,613,1470,696), a caption box (606,304,1333,384) and two text fields; the second table 0x7585a8 is the same stream; the name dialog 0x753f50 has the same window and buttons |
| TPW-EXE:0x7585a8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:819 | <summary>[BIN:TPW-EXE:0x7585a8] layout table LoginWindow.</summary> |
| TPW-EXE:0x758878 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:785 | <summary>[BIN:TPW-EXE:0x758878] layout table OutboxWindow.</summary> |
| TPW-EXE:0x758ae8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:894 | <summary>[BIN:TPW-EXE:0x758ae8] layout table ChatOverlay.</summary> |
| TPW-EXE:0x758cd8 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:930 | <summary>[BIN:TPW-EXE:0x758cd8] layout table ChatBuddyPopup.</summary> |
| TPW-EXE:0x758e18 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:947 | <summary>[BIN:TPW-EXE:0x758e18] layout table ChatPlayerPopup.</summary> |
| TPW-EXE:0x7595b0 | source/OpenTPW/UI/Original/OriginalLayoutTables.cs:838 | <summary>[BIN:TPW-EXE:0x7595b0] layout table PublishWindow.</summary> |
| TPW-EXE:0x7595b0 publish window | source/OpenTPW/Online/OnlineScreens.cs:1665 | [BIN:TPW-EXE:0x7595b0 publish window] root 0x11e2 window2 (248,30)-(1800,1007); b_exit -2 (1671,820)-(1754,903) and b_okay -1 (1660,731)-(1743,815), both with help -1; |
| TPW-EXE:0x7596B0 worldlob table | source/OpenTPW/Online/OnlineScreens.cs:87 | [BIN:TPW-EXE:0x7596B0 worldlob table] satellites 90120-90124 with their command-3 text regions; the builder 0x4C4FB0 gives |
| TPW-EXE:0x7596B0 worldlob table | source/OpenTPW/Online/OnlineScreens.cs:175 | [BIN:TPW-EXE:0x7596B0 worldlob table] root 90111 (9,620,510,1531): command 1 binds root worldlob, command 2 the root nunupan of f_wlobbg.MD2 and command 3 its region (33,1057,480,1505); the table is built by 0x4C4FB0 |
| TPW-EXE:0x763f88 sprite categories | source/OpenTPW/World/Staff/StaffSprites.cs:78 | [BIN:TPW-EXE:0x763f88 sprite categories] by thing type: handymen Generic\Handymen SPR_HA; mechanics Generic\Mechanics SPR_FA, SPR_OM; guards Generic\Guards SPR_GU; researchers Generic\Researchers SPR_RE; entertainers per theme: Jungle DI, EX, NA; Fantasy FL, GN, LA; Hallow DR, FK, HU; Space MO, SM, SP |
| TPW-EXE:0x764030 kid sets loaded first | source/OpenTPW.Tests/GuestAssetTests.cs:37 | [BIN:TPW-EXE:0x764030 kid sets loaded first] BI, KI, TA, SU, then by name; the heads are the same eight names, so a guest's draw picks the matching head |
| TPW-EXE:0x764030 table | source/OpenTPW.Tests/KidSetLoadTests.cs:62 | [BIN:TPW-EXE:0x764030 table] BI, KI, TA, SU first; the second pass takes the others by name (BE, CH, FR, SA) |
| TPW-EXE:0x774da0 map table | source/OpenTPW/Hud/ParkHud.Map.cs:18 | [BIN:TPW-EXE:0x774da0 map table] the category controls are 2439 b_sride (64,1409)-(167,1512) help 267 → bit 1, 2452 (184,1409) → bit 4, |
| TPW-EXE:0x782f40 | source/OpenTPW.Tests/AudioPitchTests.cs:60 | [BIN:TPW-EXE:0x782f40] the floats in tp.exe: 1.007246 1.014545 1.021897 ... (index 0 is 2^(1/96)); 0x783540: 0.992806 0.985663 ... |
| TPW-EXE:0x782f40 pitch ratio tables | source/OpenTPW/Audio/AudioMixer.cs:135 | [BIN:TPW-EXE:0x782f40 pitch ratio tables] each table's entry k is the float of 2^((k + 1) / 96) (or its inverse) written with six decimals, so it can differ from the exact power by a few ULP (all 110 entries of both tables match that rule; the test pins some of them bit for bit); the index is one step off: step 1 reads entry 1, 2^(2/96), and 2^(1/96) (entry 0) is never used |
| TPW-EXE:0x785A2C layout replay | source/OpenTPW/World/Coasters/CoasterTrainSounds.cs:270 | [BIN:TPW-EXE:0x785A2C layout replay] every sound call of the scream pass and of the loop setup is gated by [0x785A2C] (its only writer is 0x404140, which stores 1 at [this+0x24] with this = 0x785A08 and is called only at 0x54F11F, on the online layout replay after ONLINE_NEWS); no online replay runs here, so it counts as clear |
| TPW-EXE:0x7CA094 selected tag | source/OpenTPW/Hud/ParkHud.MessageTube.cs:58 | [BIN:TPW-EXE:0x7CA094 selected tag] the selection stores the tag at 0x7ca094; the panel's message 0x1d with 1 (sent when the slide out has finished, 0x4a1998) clears it, and a right click on that tag does nothing meanwhile (0x48e079) |
| TPW-EXE:0x985 | source/OpenTPW/Hud/ParkHud.Map.cs:10 | [BIN:TPW-EXE:0x985] map zoom control b_minus (0x985) subtracts and 0x986 adds half a step, clamped to 1.0..3.0. |
| TPW-EXE:IsometricOn rotation | source/OpenTPW/UI/Original/Options/GameOptions.cs:53 | [BIN:TPW-EXE:IsometricOn rotation] rotation 0 is " Smooth", 1 is " 90 degs", default 1 (Ninety). |
| TPW-EXE:sound.sam DefaultVolume | source/OpenTPW/UI/Original/Options/GameOptions.cs:36 | [BIN:TPW-EXE:sound.sam DefaultVolume] defaults SFX 75, Music 60, Speech 75, Movie 100 (percent). The globals holding them are medium confidence. |
| USP10-DLL:0x6510CEDE ScriptPlace | source/OpenTPW.Files/Formats/Font/SignCanvas.cs:69 | [BIN:USP10-DLL:0x6510CEDE ScriptPlace] no pair kerning on signs: the shipped Uniscribe places a Latin run by summing per-glyph advances from its width cache (generic routine 0x65113458, cache 0x6510F241) and never requests a kern table (GetFontData has six call sites, for JSTF 0x65110255, maxp 0x65110478, cmap 0x65110C95, OS/2 0x65111022, GSUB 0x65114CA9 and GSUB/GPOS/GDEF 0x65124809, none for kern, and the image holds no kern tag and imports no GetKerningPairs; the OpenType layout code belongs to the script entries 0x65124049..0x651249C9, not to the Latin ones, and the flagged fallback 0x6511308F sums GetTextExtentExPointW extents); every shipped font has only the legacy kern table (464 to 12,657 pairs) and no GPOS or GSUB table, so no path has a kern table or pair list to apply |
| USP10-DLL:0x6510CEDE ScriptPlace | source/OpenTPW.Files/Formats/Font/SignTextLayout.cs:18 | Uniscribe, which never reads the kern table; [BIN:USP10-DLL:0x6510CEDE ScriptPlace]). Characters without a glyph |
Source: docs/FIDELITY-REGISTER.md in the project repository.