Conversation
…tscenes. - Uses the padding reserved at the end of replay/profile data - Backwards compatible with older replays by using zero/empty values - Added parameter to RestoreGameVars - Added StoreGameVars + Load/SaveExtraData - Moved some code out of RestoreGameVars to where its intended usage is - Misc styling changes
- Use 8-bit char arrays in place of bitfields as needed - Slightly optimized car noise logic - Added several macros - Added collision debugging support for carsOnBoat
- PRIMTAB_SIZE has also been increased due to this change
- Added enum for all screen types - PC version of button struct makes use of unused field - Setup some custom colors for PC version of buttons - Fixed flickering of 'Time of Day/Condition' text - Time of Day/Condition is now restored when returning from car select screen
- TODO: Localization entries
- Small code optimization as well
Draw code doesn't seem to do anything. There goes 4 hours of my life I'll never get back.
SoapyMan
left a comment
There was a problem hiding this comment.
Looks all good to me, just need to test the game with and without the changes.
- Time of Day and Weather now properly stored in extra data - Added support for custom spawn point data - Added future support for extra profile data - Moved ACTIVE_FLAGS structure into anonymous union - TODO: Ability to select a spawn point in Take a Ride
src_rebuild/Game/Frontend/FEmain.c
Outdated
There was a problem hiding this comment.
should declare new translation value in GameStrId and use G_LTXT_ID
There was a problem hiding this comment.
Definitely planned, just need final feedback on the new dynamic menus I've added before setting up language entries.
src_rebuild/Game/Frontend/FEmain.c
Outdated
There was a problem hiding this comment.
same, new ids for GameStrId and a G_LTXT_ID
- Added HARDCODED_CAMERA_EVENT macro for special camera sets
src_rebuild/Game/C/wheelforces.c
Outdated
There was a problem hiding this comment.
@SoapyMan Do you understand the physics enough to maybe know why the box truck in Vegas needs this hack? It usually happens when you drive a bit, then come to a hard stop using the brake + handbrake, and exit the vehicle. Very consistently, it will jitter like an absolute maniac. Seems to be related to how angular velocity is calculated? While this bug is happening, the car will stay at a constant speed of about 3, and the wheel speed goes all over the damn place.
The only way I've managed to get it to stop is to manually bring the acceleration/velocity values down manually. But I haven't found any other car that does this yet.. so WTF is going on?! It's driving me nuts! I hate hacks and would really like to fix this another way if possible.
There was a problem hiding this comment.
Also, this technically resolves a bug where the trucks in Destroy the Yard may end up phasing out of the world by the time you arrive.. I was like WTF when I noticed it happen the first time!
src_rebuild/Game/C/wheelforces.c
Outdated
There was a problem hiding this comment.
These are commented out because otherwise the car will come to a screeching halt and basically act like dead weight.
src_rebuild/Game/C/wheelforces.c
Outdated
There was a problem hiding this comment.
I've attempted to make the slowing down effect as gradual as possible by not merely setting these values to zero. However, removing these steps entirely will result in a very bizarre effect that looks like the truck forever stuck being sucked into a vortex/whirlpool of sorts.. it's quite funny but also very annoying, lol.
- added RAND macro
98f3256 to
d829145
Compare
4156586 to
ddfee61
Compare
It's 4:20am and I can't be bothered to document everything right now.