Instead of being based on a fixed range of tiers, it is now based on a sine curve. The larger the useodds is the more they mash. Also don't calculate if you are going to be forced to mash anyway.
When stacking is on bots will attempt to stack them together. Their timing is based on their difficulty, less skilled bots are more wasteful while better bots are less wasteful. Also adjusts Rocket sneakers to also use this logic.
This might solve some cases of a bot stacking sneakers when it shouldn't
Thanks Alug! 014a22e933
the latter calls strlen which is not needed as the empty string has no length
Thanks Alug! f4dc161831 e35dc9e097 2f684bba95
dont early return on 0 len, let it be the falltrough case, this seems to help branch prediction
This reverts commit c3ee45e6fa.
This is an issue that mostly affects hardcode, Lua authors don't have to worry about this.
fixes #219
this probably should be rewritten to be camera based not player based instead
This will be super useful for programming bots that keep custom data
This reverts commit 8c624cdc65.
This reverts commit ba2b525172.
Saturn addition that we forgot about
This reverts commit b0da7ac519.
This reverts commit 80db0bde07.
This reverts commit ead56b83e3.
This reverts commit c582767603.
This reverts commit b0cf9cdc18.
the latter calls strlen which is not needed as the empty string has no length
This allows Blankart to be built on NixOS.
Reviewed-on: #221
seen this a bunch of times now that occasionally something tries to access uninit values from a surface info
since those are really small we just always init them now
based on https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2747
It's 2026, and the only time since Super Mario Kart where 150cc is made unlockable is a god-damned arcade game
Plus, it literally makes more sense for Expert (200cc) to be the unlockable speed now
Add affine bounding struct, move affine_t to r_defs, add affine and bounding to drawcolumndata_t
The whole thing can actually draw in Software now!
Kudos to Generic
spryscale still has alignment issues
It builds and *doesn't* segfault; I can finally sleep!
Turns out the secret sauce is a... recursive function
Colormap translations work, jury's still out on if translucency and brightmaps do
Up next is... column splitting. Dear god.
Guest starring: even MORE flag variables!
Papersprites are all that remain
Trying to fix a horizontal screen clip bug
Why are we scaling it down *twice?*
- Vertical flips
- A proper fix for ceiling offsets/sprite splits
- Baked offsets, rolling offsets, offsets in general (saltyhop works again!)
- Did a few races, can't find any visual bugs of note
OpenGL implementation (hopefully) soon
We lose hardware spritesplits in the process; I do not care
Per internal talks
He made a BANDAID so TRASH even his TEAM clowned him
Now you can choose between sane rotation + scaling, or SRB2 rotation + scaling
Hooray?!
"Things yama forgets about until the last minute"
:holdingbugtears:
Currently software only; would require a shader or more "involved" solution for OpenGL
Software is a renderer I fully believe was crafted by the deranged
Reviewed-on: #223
Minus tooltips since we don't have the RR c++ draw namespace yet...
Also this cleans up both object trackers that are used to be only called on object spawn and removal.
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=929925771c0a8602f2747f2523d35c6c9d7d6382
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=19c73a3903b942b1459eb1e93ce36fcf9a1a3c53
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=0a4a9072a88e0277edd06a7488d6013ca452102a
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=aafcf49e9284a03558f0573f0e97a88c1b36dec6
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=7c30c4a75ea06d08211c079d5e0c8b47fba4f1b0
This reverts commit cbb8738446.
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=be5574a4c717b6e68efe9cd7c6666bbd9223a7f9
git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs?commit_id=5865fdb21c0f31083dc26f93db31570e9f520ad5
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=707687beea50a2bfcc14638e923ac516195351b1
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=690467290add5108aaa5f0cc3e14129b38ce405c
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1773/diffs\?commit_id\=ec71baa6576e40085b2a51924fa6300bab690b900
That goddamned Robotnik Coaster splatbooster
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1774/diffs\?commit_id\=c2103e52c259bb14d5d4b40c8bb9b131d5a78169
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1774/diffs\?commit_id\=f6638c0f90a35cc13d97b985389bc058e1d57c3e
Tanks so much Alug!!!!
Reviewed-on: #224