Skip to content

Conversation

@nullsystem
Copy link
Collaborator

@nullsystem nullsystem commented Aug 19, 2025

Description

  • New headers and re-arranged around for less of a chance of annoying compiler+linker errors when trying to work on adding new source codes
  • Loadout completely refactored to reduce repetative defined weapons and simplified to just using two arrays
  • Required for the WIP bot profiles feature
  • Got rid of m_szAmmoType as that's never used

Toolchain

  • Linux GCC Distro Native Gentoo/GCC 14

Linked Issues

@nullsystem nullsystem requested a review from a team August 19, 2025 14:12
@nullsystem nullsystem force-pushed the GH-1287_RefactorLoadoutCodeAndHeaders branch 6 times, most recently from 728a25f to 897ca46 Compare August 19, 2025 22:07
@sunzenshen sunzenshen requested a review from a team August 20, 2025 05:27
* New headers and re-arranged around for less of a chance of annoying
  compiler+linker errors when trying to work on adding new source codes
* Loadout completely refactored to reduce repetative defined weapons and
  simplified to just using two arrays
* Fixed some PBK related codes although viewmodel still missing
* fixes NeotokyoRebuild#1287
@nullsystem nullsystem force-pushed the GH-1287_RefactorLoadoutCodeAndHeaders branch from 897ca46 to 593216d Compare August 20, 2025 12:50
@nullsystem nullsystem requested a review from sunzenshen August 20, 2025 12:50
@nullsystem
Copy link
Collaborator Author

@sunzenshen I've did some further refactoring, removing the need for total per class loadouts and loadout menu to use a single loop going through the loadout. I've also fixed some PBK56S related stuff, only the viewmodel + loadout image broken but the asserts fixed for PBK.

@sunzenshen sunzenshen requested a review from a team August 21, 2025 04:23
@Rainyan Rainyan requested review from Rainyan and removed request for a team August 25, 2025 10:50
@nullsystem nullsystem merged commit e011d92 into NeotokyoRebuild:master Aug 25, 2025
7 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

Development

Successfully merging this pull request may close these issues.

Refactor neo_weapon_loadout and some headers

3 participants