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

merge #40

Merged
merged 36 commits into from
Apr 3, 2024
Merged

merge #40

merged 36 commits into from
Apr 3, 2024

Conversation

bcahue
Copy link
Owner

@bcahue bcahue commented Apr 3, 2024

No description provided.

Sbzro12345 and others added 30 commits November 21, 2023 06:07
Only Darwin ever used -faltivec, gcc uses -maltivec since at least 2007:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30254#c1

Similarly, recent versions of gcc define __APPLE_ALTIVEC__ for
compatibility, so just unconditionally include altivec.h.

Canonical way to enable specific extensions is e.g. -msse2, use that
instead of optimizing for a specific CPU.

Finally, cmake uses target_compile_options to add arbitrary flags.
target_compile_definitions assumes you want a preprocessor definition,
which was adding "-D-faltivec" to the command line which gcc doesn't
like; this is what originally prompted this change.
Fix auto-SIMD for i386+sse2, ppc+altivec
Fixed MBF21 instakill sectors 4096, 4128, 4160 and 4192
Both the LHS and RHS of this assignment are floats, so you shouldn't
cast to an int. They weren't floats at the time the cast was added.
m_Source is an AActorPtr aka an szp<AActor>. AActor is a subclass of
DObject so casting should work cleanly here, but it needs to be done
against the underlying pointer, not the self zeroing wrapper.
The code currently assigns an in_addr (sin_addr) to an in_addr_t
(sin_addr.s_addr) for no apparent reason. Even looking back at commit
28febc7 does not make this clearer. I can only assume that the
value was supposed to be assigned to sin_addr. It presumably worked
anyway because an in_addr only contains an in_addr_t.
Update network connection error graphic to include text so that it's more clear what's going on.
Update network connection error graphic
Fix aliasing errors raised by -Werror=strict-aliasing to fix LTO
Flush/ignore unused game controller events
Improve game controller deadzones
Without INSTALL_PREFIX, it was falling back to the current directory and
failing to launch the game.
@bcahue bcahue merged commit e56b126 into bcahue:stable2 Apr 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants