Commit Graph

6779 Commits

Author SHA1 Message Date
Scipio Wright
a76d9f8a57 Remove debug stuff 2024-06-15 17:17:57 -04:00
Scipio Wright
bdde992c25 Change victory condition back 2024-06-15 17:16:01 -04:00
Scipio Wright
f5d8cfb710 Shops my beloved 2024-06-15 15:26:47 -04:00
Scipio Wright
5d4f46d6cb Fix more bugs 2024-06-15 14:30:57 -04:00
Fabian Dill
df94271d30 LttP: fix single-player no-logic generation (#3454) 2024-06-15 19:18:26 +02:00
Scipio Wright
489430c586 Add more hard ice grapples 2024-06-15 10:57:27 -04:00
Bryce Wilson
0354315c22 Pokemon Emerald: Remove README (#3532) 2024-06-15 04:52:01 +02:00
Star Rauchenberger
e796f0ae64 Core: Expose option aliases (#3512) 2024-06-15 04:50:26 +02:00
Scipio Wright
91e6a2f201 Fix bugs 2024-06-14 21:41:42 -04:00
Scipio Wright
985c02de38 Finishing out hooking the new rules into the code 2024-06-14 19:41:23 -04:00
Natalie Weizenbaum
c61505baf6 WebHost/Core/Lingo: Render option documentation as reStructuredText in the WebView (#3511)
* Render option documentation as reStructuredText in the WebView

This means that options can use the standard Python documentation
format, while producing much nicer-looking documentation in the
WebView with things like emphasis, lists, and so on.

* Opt existing worlds out of rich option docs

This avoids breaking the rendering of existing option docs which were
written with the old plain text rendering in mind, while also allowing
new options to default to the rich text rendering instead.

* Use reStructuredText formatting for Lingo Options docstrings

* Disable raw and file insertion RST directives

* Update doc comments per code review

* Make rich text docs opt-in

* Put rich_text_options_doc on WebWorld

* Document rich text API

* Code review

* Update docs/options api.md

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>

* Update Options.py

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>

---------

Co-authored-by: Chris Wilson <chris@legendserver.info>
Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
2024-06-14 18:53:42 -04:00
Fabian Dill
3972b1b257 Options: fix yaml export corner case (#3529) 2024-06-15 00:48:49 +02:00
Scipio Wright
f78be22a16 Fix rule 2024-06-14 11:03:42 -04:00
Scipio Wright
309afd3c17 Move ice grapple chest to lower forest in ER/ladders 2024-06-14 10:17:15 -04:00
Scipio Wright
ecde9459fc Add new parameter to has_ice_grapple_logic 2024-06-14 10:16:13 -04:00
Scipio Wright
5e67f17e07 Add parameter to has_ice_grapple_logic for difficulty 2024-06-14 10:05:04 -04:00
Scipio Wright
aea16aa8c5 Update with laurels_zip helper 2024-06-14 09:43:45 -04:00
Scipio Wright
c93502c5ad Comment out logically irrelevant entrances 2024-06-14 09:23:53 -04:00
black-sliver
1fe3d842c8 CI: Install specific inno version (#3526)
* CI: Install specific inno version

* great mobile dev experience

* maybe this

* really don't enjoy PS

* Anothet attempt

* maybe fix log

* slowly going mad

* fml

* allow downgrade
2024-06-14 08:47:47 +02:00
Scipio Wright
1f0dac222d More rules 2024-06-13 23:31:10 -04:00
Scipio Wright
e31412040b Add well rail to the rules 2024-06-13 22:59:06 -04:00
Scipio Wright
d650ed7128 Add note 2024-06-13 22:13:55 -04:00
Scipio Wright
a4f3f6df6c Update notes 2024-06-13 22:08:08 -04:00
Scipio Wright
21e3854425 Finish the ladder storage rules 2024-06-13 19:12:59 -04:00
Fabian Dill
e9ad7cb797 WebHost: fix option doc indent (#3513)
* WebHost: fix option doc indent

* Update macros.html
2024-06-13 17:37:52 -04:00
NewSoupVi
533395d336 WebHost: Fix Named Range displays on Player Options page (#3521)
* Player Options: Fix Named Range displays

* Also add validation to the NamedRange class itself

* Don't break Stardew

* Comment

* Do replace first so title works correctly

* Bring change to Weighted Options as well
2024-06-13 17:29:39 -04:00
Scipio Wright
a73bf37554 Wrote majority of overworld ladder rules 2024-06-13 16:27:41 -04:00
Scipio Wright
20e188ada2 More ladder data 2024-06-13 13:39:59 -04:00
NewSoupVi
2ae51364d9 WebHost: Fix default values that are 2 or more words in Weighted Options (#3519)
* WeightedOptions: Fix default values that are 2 or more words

* So much simpler
2024-06-13 12:24:56 -04:00
NewSoupVi
f6e3113af6 WebHost: Fix "Add" button for custom option values causing a weird redirect (#3518)
* WebHost: Fix "Add" button for Progression Balancing causing a weird redirect

This "add" button is part of a form, which causes it to submit the form, because the default type for a button is "submit".

This PR changes the type of the button to "button", which causes it to not submit the form and just execute its normal effect.

(An alternative would be `event.preventDefault()` but that seems less clean to me, but also I'm not a HTML/JS dev)

* There's also multiple.
2024-06-13 04:39:16 -04:00
JoshuaEagles
da34800f43 Fix Incorrect Link Syntax in SA2B Linux Setup (#3524) 2024-06-13 06:53:01 +02:00
Scipio Wright
904d0e931d Ice grapple hard to get to fountain cross room 2024-06-12 21:31:38 -04:00
Scipio Wright
6a70799b3c Put new ice grapple stuff in er rules 2024-06-12 21:28:55 -04:00
Scipio Wright
b146b165a1 Update slot data and UT stuff 2024-06-12 20:11:37 -04:00
Scipio Wright
10825f8a08 Write up the rules for the regular rules 2024-06-12 19:22:03 -04:00
Scipio Wright
f721926deb Put together overworld ladder groups, remove tedious 2024-06-12 13:56:02 -04:00
black-sliver
c108845d1f CI: more checks in build and rework compression (#3336)
* CI: build: fail fast if setup.py fails on windows

* CI: build: fail for missing uploads, rework compression

Upload-artifact allows setting compression level now.
The change speeds up both upload and extraction.

* CI: match build gz in release

* CI: build: verify worlds all load

* CI: build: generate a game

* Generate: move worlds loaded exception to allow settings to init from worlds

* CI: build: build setup before running tests
2024-06-12 18:55:48 +02:00
black-sliver
acf85eb9ab Speedups: remove dependency on c++ (#2796)
* Speedups: remove dependency on c++

* Speedups: intset: handle malloc failing

* Speedups: intset: fix corner case for int64 on 32bit systems

original idea was to only use bucket->val if int<pointer,
but we always have a union now anyway

* Speedups: add size comment to player_set bucket configuration

* test: more tests for LocationStore.find_item

* test: require _speedups in CI

This kind of tests that the build succeeds.

* test: even more tests for LocationStore.find_item

* Speedups: intset uniform comment style

* Speedups: intset: avoid memory leak when realloc fails

* Speedups: intset: make `gcc -pedantic -std=c99 -fanalyzer` without warnings

Unnamed unions are not in C99, this got fixed.
The overhead of setting count=0 is minimal or optimized-out and silences -fanalizer (see comment).

* Speedups: don't leak memory in case of exception

* Speedups: intset: validate alloc and free

This won't happen in our cython, but it's still a good addition.

* CI: add test framework for C/C++ code

* CI: ctest: fix cwd

* Speedups: intset: ignore msvc warning

* Tests: intset: revert attempt at no-asan

We solve this with env vars in ctest now, and this fails for msvc.

* Test: cpp: docs: fix typo

* Test: cpp: docs: fix another typo

* Test: intset: proper bucket count for Negative test

INTxx_MIN % 1 would not produce a negative number, so the test was flawed.
2024-06-12 18:54:59 +02:00
Fabian Dill
2daccded36 Core: don't lock progression (#3501) 2024-06-12 15:35:51 +02:00
Fabian Dill
3b9b9353b7 WebHost: delete old docs files (#3503) 2024-06-12 15:34:46 +02:00
Scipio Wright
411dd55c20 Creating structures to redo ladder storage rules 2024-06-11 21:48:05 -04:00
Silvris
b9e454ab4e TS: add indirect connections (#3490) 2024-06-12 03:23:46 +02:00
Natalie Weizenbaum
7299891bdf Allow worlds to add options to prebuilt groups (#3509)
Previously, this crashed because `typing.NamedTuple` fields such as
`group.name` aren't assignable. Now it will only fail for group names
that are actually incorrectly cased, and will fail with a better error
message.
2024-06-12 03:22:14 +02:00
Fabian Dill
e755f1a0b5 SC2: don't close all SC2 instances when one quits (#3507) 2024-06-12 02:14:30 +02:00
Scipio Wright
977cd93f2c Merge remote-tracking branch 'sw/tunc-logic-rules-redux' into tunc-logic-rules-redux 2024-06-11 19:10:08 -04:00
Scipio Wright
1b95330a62 Update laurels zips description 2024-06-11 19:09:30 -04:00
Scipio Wright
8b39268927 Add tedious option for ls 2024-06-11 19:09:30 -04:00
Scipio Wright
ce9d8b6164 Update options.py 2024-06-11 19:09:30 -04:00
Scipio Wright
39a494d06d Update options.py 2024-06-11 19:09:30 -04:00
Scipio Wright
53389be1e4 Slightly revise ls rule 2024-06-11 19:09:30 -04:00