Crayon2000 / Wii-Tac-Toe

Wii-Tac-Toe is a Tic-Tac-Toe game for the Nintendo Wii
https://wiibrew.org/wiki/Wii-Tac-Toe
5 stars 3 forks source link

Smart Pointer Conversion, AI Optimization, and Miscellaneous Improvements #5

Open DeltaResero opened 2 weeks ago

DeltaResero commented 2 weeks ago

This is mostly a series of various enhancements, optimizations, and cleanup across the codebase and language files. Key changes include switching more to smart pointers for improved memory management, optimizing AI logic, simplifying button hover and visibility checks, and updating win/lose messages for more positive feedback along with some spelling and grammar fixes. Also, the line endings were normalized to Linux format (LF) to help ensures consistency across different development environments. To enforce this, I added the text based formats to the .gitattributes file.

Tried to optimize the image and sound assets for size though I had to skip some png images due to them not displaying properly. Didn't seem to be any issues switching to Impulse Tracker Module format with compression enabled for the background music. From a quick test on the Dolphin Emulator, it doesn't look like these changes broke anything, but I have yet to test it on a real Wii.