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

Account #196

Closed
wants to merge 15 commits into from
Closed

Account #196

wants to merge 15 commits into from

Conversation

OldFoolAgain
Copy link
Contributor

Does the following:
Replaces cAccountClass with Account (modern c++)
Makes Account a singleton(as you can't have more then one, and you want global access).
This is based on the PR before it.

Note: this did not fundamentally change the interaction of the rest of the UOX3 system with Account management. Did not increase/decrease the isolation factor. Mainly focused on getting Account to be less "C ish".

Unrelated to Account functionality but included in this PR.

Fixed spidermonkey cmake build - added warning to quite build on unix, remove two files that where not needed and introducing "main" routines into the library
Fixed vs2022 spider monkey project to remove the two files
Fixed an memory overflow issue in MultiMul.cpp

This changes all routine calls that wanted a specific type of stream ifstream/ofstream to the generic istream/ostream.  So you can use stringstream, or other derived types.
Modernizes the way LoadResource and SaveResource works in regions.

Added a missing forward declare in MultiMul.h
… just reinitialize the entire vector, based on the default values, and then just update the values that are in the file.
move version as part of transistion, and made it just const std::stirngs

Console was renamed, moved,, and made a singleton
Account changes
Starting to unwind the header hell
Address a cast issue (non account) in uoxstruct.h
Addressed cast in gumps (account issue)
Corrected jscript project, to not include two files that where for stand alone programs (and resulted in main being added twice in the library (and once was incorrect all ready).
Address overflow issue in MultiMul.cpp
Addressed missing <cstring> in uoxstruct
quiet spidermonkey build in unix
@Xoduz Xoduz added the nomerge - future ref For future reference, not to be merged directly label Oct 10, 2023
@Xoduz Xoduz deleted the branch UOX3DevTeam:0_99_6_RC6 October 14, 2023 13:36
@Xoduz Xoduz closed this Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nomerge - future ref For future reference, not to be merged directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants