Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce build steps on Linux; bug fixes #20

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

igough
Copy link

@igough igough commented Feb 19, 2024

Change the build system on Linux to reduce the number of steps required to build the software. Note that I do not have a Windows machine so building on Windows is not tested and with the addition of a sh script, will definitely not work on Windows. Reworked the README.md to reflect the new process.

Fix signed/unsigned issues that caused problems with invalid string indexes being used for components in the mech's info section on the game screen.

Fixed issue that was causing missing assets being referenced.

Fixed issue that was causing mechs and vehicles being rendered twice through 2 render paths, both of which were being run.

… build products into the correct directories at the correct time. Fix issues with missing water and burnin textures.
… name indexes having a type of char (signed 8 bit), so when the index was higher than 127, and added to a base string index value, it ended up *subtracting* from the base string index leading to bad string indices. Changed the array type to byte (uint8_t, unsigned char)
…/jump jets section of a mech's info display to display crap. This is because if a mech does not have one of those things installed, the value corresponding to that thing is supposed to be 255. The code grabbed the value as a signed char which made its value -1, then compared the -1 to 255 to see if the item was installed. If not installed, it is supposed to not print the line corresponding to the item. But since the compare always failed, it would always try and print something, which was always wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant