Commit Graph

578 Commits

Author SHA1 Message Date
953d58dee3 Improve ATL syntax
use the dedicated xycenter property
avoid setting the previous end-interpolation values before starting the new one, to avoid a jump if the player advances too quickly (also shortens the code)
add subpixel True, even though it doesn't seem very effective
prepare improvement in next renpy version
2023-11-15 16:00:42 +01:00
4bec8dfb24 Simplify generic CG code 2023-11-15 15:59:06 +01:00
508a88b4b6 Better animation 2023-11-15 04:45:31 +01:00
d6ef320c5d Simplify some code 2023-11-15 04:45:11 +01:00
0381093229 Reform genie layeredimage 2023-11-15 04:15:02 +01:00
1ee74a61ac Repr instead of adding quotes 2023-11-15 03:40:21 +01:00
6ff3d39940 Simplify hide/show expression 2023-11-15 03:33:37 +01:00
f8130fdb4d Fix test call
it raised an exception in my case, and I'm fairly sure this is how it's supposed to work
also adds a complimentary hidden reset at the end
2023-11-15 03:18:07 +01:00
9b96c5572c Remove now-unused reset_variables relying on implem details
It is used in a txt draft which I didn't change, it can be done if deemed necessary
I think this function should be kept off, as it is both more dangerous and slower than the workarounds
2023-11-15 03:16:00 +01:00
757a39d782 Avoid using reset_variables 2023-11-15 03:13:55 +01:00
bde6a30acc Avoid using lists 2023-11-15 03:12:24 +01:00
c24f2e25f0 Use childful transforms as displayable
that's not *explicitly* documented, but it won't change any time soon
also deletes a placeholder image
2023-11-15 02:23:15 +01:00
a13dac8f93 Upgrade other uses of image manipulators 2023-11-15 02:02:50 +01:00
0cc22f413c Modernize use of matrixcolor 2023-11-15 02:00:18 +01:00
9a8fdf7450 Hasten ConditionSwitch-es 2023-11-15 01:17:07 +01:00
80b32a05fc Use expression instead of image
the only documented lingua
this is AST-equivalent
2023-11-15 01:14:33 +01:00
c11891bf11 Factorize jumps in the elif 2023-11-15 01:07:16 +01:00
b2d1b66b05 Hasten elif chain
avoid reevaluating the choice equality
2023-11-15 01:03:03 +01:00
65ae5ce797 Use renpy statement instead of python equivalent 2023-11-15 00:57:25 +01:00
a39641f5cb Use dynamic variable and condense menu-label syntax
The label is jumped to and not called, but the variable will still clean itself up eventually
2023-11-15 00:57:00 +01:00
f9cf059f16 Convert ball_hint to a screen variable
no leak
2023-11-15 00:17:26 +01:00
39fc0c8a76 Use the call screen statement in this case
this particular syntax is very precisely documented in the screens page
2023-11-14 23:53:14 +01:00
5925a9298c Better None syntax 2023-11-14 23:52:38 +01:00
85bf97bdf9 Simpler inline conditional 2023-11-14 23:39:33 +01:00
95b3db770e Avoid extraneous bool call 2023-11-14 23:35:10 +01:00
0d4a309898 Sort in-place to save time 2023-11-14 23:34:14 +01:00
9d61a4c583 Use python hide instead of a single-use function 2023-11-14 23:24:15 +01:00
5a2434df5e Fix indent 2023-11-14 23:21:10 +01:00
06b4da76f6 Weird variable setting 2023-11-14 23:16:40 +01:00
a2665c15fe Fix misuse of variable
- don't use a reserved name (starting with an underscore)
- use a file-local mangled name (starting with two underscores
- use renpy.dynamx to cleanup the variable automatically
2023-11-14 23:16:26 +01:00
710400f2ce Repr instead of adding simple quotes manually
it's a tad slower but it's a better general practice and we're in an error handling branch anyway
2023-11-14 23:14:33 +01:00
a3ccbf60ce Sirt in-place to save time
not the first time, so that we can still pass it iterators
2023-11-14 22:55:53 +01:00
07d0c7b151 Simplify that call 2023-11-14 22:55:30 +01:00
49fe8f4902 skip unnecessary lambda 2023-11-14 22:54:02 +01:00
5d7c09a8a8 Bug fix
* Fixed update logo path
* Updated internals
2023-07-27 20:09:13 +01:00
43b1954263 Bug fix
* Fixed whitespace calculation for non-wardrobe elements
* Fixed an issue with floats when expecting an int
2023-07-27 00:54:03 +01:00
027f237606 Bug fix
* Fixed puzzle generator outputting invalid combinations due to the lack of floor division
2023-07-27 00:52:41 +01:00
cd8b94e40c Bug fixes and improvements
* Improved skipping performance by delaying the call to render functions until after skipping ends
* Fixed skipping not refreshing the doll image
* Fixed skipping callback handler being affected by rollback
* Refactored doll show method
2023-07-23 17:40:03 +01:00
ac39490836 Bug fixes
* Fixed updater logo issues
* Fixed modpath getting 'mods' subpath appended to it recursively with each clone
2023-07-20 22:11:17 +01:00
37ed32f50d Bug fixes
* Fixed updater (AGAIN!!)
* Disabled the 'server not responding' hint because it doesn't really match what's happening in the server code
* Version bump
2023-07-19 22:11:55 +01:00
18721850f5 Bug fix
* Fixed mods warning for compatible mods due to old var reference
2023-07-19 17:49:51 +01:00
105d60e61e Bug fixes
* Fixed cardgame TypeError crash during random matches
* Fixed mistakenly excluded ExampleMod from releases
2023-07-19 16:39:24 +01:00
dad333ffc8 Bug fixes and autosaves
* Added autosave toggle
* Fixed achievements being granted in replay scope
2023-07-18 17:01:17 +01:00
c536626a0b Bug fixes
* Fixed outfit deletion tab not updating the list of items
* Fixed Tonks' public requests menu crashing due to an omitted result type
* Removed manual image rebuilding in wardrobe (superseded)
2023-07-18 16:30:15 +01:00
5a0f55cc08 Bug fix
* Fixed stale images being displayed when threading is enabled and no image was called in a while
2023-07-18 16:17:35 +01:00
683af5ae42 Bug fix
* Removed broke transition vpunch_repeat
2023-07-16 22:17:58 +01:00
3c34d60745 Bug fix
* Rebuild image on init to avoid displaying nulls
2023-07-16 17:58:39 +01:00
78f8658501 Spectrespecs
* Adjusted the UV effect to be easier on the eyes
2023-07-16 17:20:17 +01:00
6ce3a71391 Bug fix
* Fixed a crash during outfit overwrite due to invoking a wrong method
2023-07-16 16:57:53 +01:00
76cad4f443 Bug fixes and improvements
* Added a separate entry for mods compatibility (saves and mods rarely follow the same upgrade rules anyway)
* Improved mods handling by automatically disabling incompatible mods
* Fixed a RuntimeError caused by changing set size during iteration
2023-07-15 23:03:01 +01:00