-
Notifications
You must be signed in to change notification settings - Fork 30
World load refactoring #2891
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
Open
kvirund
wants to merge
95
commits into
master
Choose a base branch
from
world-load-refactoring
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
World load refactoring #2891
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
ac39c6b
Add world checksum calculation for refactoring verification
kvirund f5a3894
Add IWorldDataSource abstraction for pluggable world loading
kvirund 6525fe7
Add SQLite world data source skeleton and OLC save support
kvirund a49b8e6
Implement full SQLite world loading
kvirund bd49680
Fix SQLite loader: UTF-8 to KOI8-R conversion, type safety, top_of_mobt
kvirund 90e776f
Auto-detect SQLite world.db instead of requiring -S flag
kvirund 84dca76
Fix SQLite loader: direction parsing and GIVE_OBJ load_prob
kvirund d8f6921
Fix SQLite loader: mob levels, triggers, and descriptions
kvirund 8b1ad7c
Add utf8_to_koi unit tests and fix NO-BREAK SPACE conversion
kvirund aaf5f7d
Fix SQLite object loader: add sex field and fix level
kvirund f110b44
Fix SQLite room zone_rn calculation and add flags to checksum
kvirund b68a426
Fix SQLite object loader: add kTrap type, max_in_world NULL, affect f…
kvirund 6d4d077
Fix SQLite object loader: cap timer at 99999 like Legacy
kvirund a86e95e
Add missing object type/flag mappings and colorLOW/colorCAP in SQLite…
kvirund 9a70c6e
Fix object loading to match Legacy loader behavior
kvirund 5094a09
Fix SQLite trigger loader to match Legacy checksums
kvirund bcda6b4
Normalize SQLite loader to read integer FK columns
kvirund 1f453ee
Add world conversion tools and update .gitignore
kvirund fbbfbe7
Add index file support and checksum comparison tools
kvirund 576df90
Add fail-fast when HAVE_SQLITE but world.db missing
kvirund 5599bbb
Fix encoding corruption and refactor BootWorld with IWorldDataSource
kvirund 4b44db6
Add world loading test scripts
kvirund c669fd4
Fix SQLite trigger loader: use rnum instead of vnum in constructor
kvirund 5a8964c
Fix converter to match Legacy loader string handling
kvirund ce0954c
Fix object flag loading and duplicate trigger support
kvirund c1c900c
Improve comparison script with encoding check and buffer diffs
kvirund 7606e49
Fix zone command load_prob for EQUIP_MOB and PUT_OBJ
kvirund ebcfed9
Add padding to ROOM_FLAGS for plane 2 offset and add tests
kvirund e9ce479
Add zone.group and under_construction to SQLite loader
kvirund 04285d7
Fix liquid container/fountain weight to match Legacy
kvirund a855c36
Add UNUSED flag handling for anti/no/affect flags
kvirund 1dc2dad
Fix object checksums: UNUSED flags, timer, kCloudly, whitespace
kvirund 667436c
Achieve 100% object checksum match SQLite vs Legacy
kvirund 34a7948
Fix room name whitespace preservation
kvirund 4c3c775
Fix zone checksums: preserve trailing whitespace, filter UNDEF flags
kvirund 40d22d3
Fix room checksums and improve trigger script parsing
kvirund cf756b2
Fix trigger checksum mismatches and zone parsing bugs
kvirund 811709d
Restore parallel loading and PR review changes
kvirund 8f8ab53
Move converter files to separate directory (PR review comment)
kvirund 5b0ca06
Add NullDataSource to eliminate if (data_source) checks in OLC
kvirund 697b13a
Remove dead commented code in recalc_mob_params_by_vnum.cpp
kvirund 3d07985
Fix UTF-8 encoding corruption in 4 files
kvirund e706ed6
Fix indentation in tests/CMakeLists.txt line 85
kvirund e911666
Remove obsolete compare_world_checksums.sh script
kvirund 5b730c8
Fix UTF-8 encoding corruption in config.h and tests/CMakeLists.txt
kvirund 3baa3af
Attempt to fix the encoding.
kvirund 76d6b1e
Update TESTING.md - remove obsolete setup_test_dirs.sh references
kvirund 839ffc0
Add LocalDescriptionIndex and RoomDescriptions classes
kvirund 95c45c5
Add missing global_objects.h include to SQLite data source
kvirund 34bfdec
Fix YAML loader to abort on dictionary load failure
kvirund ec1e042
Move world_schema.sql to converter directory
kvirund 96dfda7
Fix YAML loader room indexing and description handling
kvirund 364a1ab
Add trigger loading to YAML room parser
kvirund 5fdfdc2
WIP: Partial port of SQLite checksum fixes to YAML loader
kvirund 1b62e92
Add vnum sorting for Zones and Mobs before indexing
kvirund 618a2fb
Change world setup from symlinks to copies
kvirund ea7329d
Revert CMake copy changes - caused build errors
kvirund 80070cf
Fix world setup: use copies and in-place conversion
kvirund c5519fc
Remove converted YAML files from lib.template
kvirund 6e331a1
Fix setup_small_world: remove symlink creation code
kvirund 0998176
Fix YAML loader checksums to match Legacy loader (100%)
kvirund 3ab1c76
Add comprehensive performance testing report
kvirund c041c36
Fix YAML_THREADS environment variable not being read
kvirund 83aec9f
Add YAML thread scaling fix report
kvirund 86bae6b
Update report with YAML_THREADS fix and full world thread scaling
kvirund eebb214
Fix configuration file path and improve error reporting
kvirund 07c584d
Fix loader comparison: YAML with 8 threads is 40% faster than Legacy
kvirund c9b5976
Add Russian version of test report with corrected performance data
kvirund 38745f2
Update Russian report with current data, remove contradiction explana…
kvirund 1e6f6c6
Remove English report, keep only Russian version
kvirund bb57938
Rename report: remove _RU suffix
kvirund 3fd23e1
Fix CMake warning: replace elseif() with else() on line 1255
kvirund 6f80e43
Fix compiler warnings: use references in range-based for loops
kvirund a8b5285
Add room description content to checksums
kvirund 67fc124
Add missing include for GlobalObjects in world_checksum.cpp
kvirund 85eb39e
Fix off-by-one error in description merge
kvirund 2969b42
Remove accidentally added board files from lib.template
kvirund 5418f25
Refactor trigger indenter: replace global state with TriggerIndenter …
kvirund 3946721
Update .gitignore to exclude test data directories
kvirund 1e76133
Improve YAML converter: use block scalar format for multiline strings
kvirund 53e1964
Fix KOI8-R encoding corruption in dg_db_scripts.cpp
kvirund 764ee51
Fix to_literal_block: check for actual CR+LF bytes, not literal string
kvirund e80219e
Fix _convert_to_plain to handle LiteralScalarString for PyYAML
kvirund a8d87aa
Switch converter to ruamel.yaml for proper literal block support
kvirund 982118f
Update documentation: ruamel.yaml is now default
kvirund bf1a8ea
Fix argparse default: use ruamel.yaml by default
kvirund 30ed7ae
Fix to_literal_block: revert to check for literal \r\n string
kvirund e2e0460
Fix object 10700: escape embedded \r\n before joining
kvirund d341369
Revert "Fix object 10700: escape embedded \r\n before joining"
kvirund 3dc6643
Fix YAML converter: let YAML handle string escaping automatically
kvirund b3eacb5
Add world_config.yaml support with line_endings flag
kvirund 2b16c07
YAML converter: ruamel automatically uses literal blocks
kvirund 77dcd63
Fix encoding declaration: UTF-8 instead of KOI8-R
kvirund cbf41de
Fix YAML encoding corruption + add single entity save
kvirund 9ab2ccf
Fix test encoding: convert comments to KOI8-R
kvirund File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.