Commit Graph

21 Commits

Author SHA1 Message Date
Kirill a7c05e3796 Add report generation functionality to the UI
- Introduced a new script `report.gd` that extends `VBoxContainer` to manage the display of reports.
- Implemented dynamic localization support for report headers and body content based on the global locale.
- Created a `refresh` method to update the report content and header image when visibility changes or locale updates.
- Added a static `build` method to format and compile report data from the world state, including calculations for star totals and effects.
- Integrated presentation logic to render report templates based on the current state of the game world.
2026-10-18 21:48:15 +03:00
Kirill fe68e788b3 Add achievement loader script with unique identifier 2026-10-18 18:57:42 +03:00
Kirill 3047ef5a85 Implement apocalypse mechanics: add apocalypse queue, controller, and integrate into production logic 2026-10-18 00:05:53 +03:00
Kirill e48d4bbe88 Add comprehensive tests and optimizations for simulation and UI performance
- Introduced a new benchmark save script to create a stress test scenario with extreme values for simulation performance.
- Added a full UI benchmark script to measure frame rates and performance metrics during UI interactions.
- Implemented tests for coarse generations to ensure population transitions are handled correctly.
- Created tests for extra parameters to validate the loading and application of configuration settings.
- Developed simulation optimization tests to verify the efficiency of population drift and rounding mechanisms.
- Added split optimization tests to ensure accurate allocation and rounding behavior in population management.
- Included startup parameter tests to confirm the correct initialization of global parameters before scene readiness.
- Enhanced the audit rounding ledger to compare selective and full rounding results for consistency.
2026-10-05 22:16:59 +03:00
Kirill 6f6a1be3bd Refactor audio effect handling: remove cooldown logic and enhance sound playback functionality 2026-10-03 13:36:33 +03:00
Kirill 9e13c8bbe3 Implement audio management system with effects and music players; add settings for sound and music volume 2026-10-03 13:21:53 +03:00
Kirill b6c683298b Replaced txt by Loaders 2026-10-03 11:06:52 +03:00
Kirill fad862d618 Add benchmark for saved state performance
- Introduced `benchmark_saved_state.gd` to evaluate the performance of the saved state restoration process.
- Implemented JSON integer restoration to handle large integers accurately.
- Added command-line argument parsing for specifying the path to the diagnostic JSON file and optional delta seconds.
- Conducted performance tests at different speeds and logged the elapsed time for six consecutive steps.
- Created a new UID file for the benchmark script.
2026-09-30 22:46:26 +03:00
Kirill fb8a3f5658 Add exact arithmetic implementation and tests
- Introduced exact arithmetic with support for large integers and fractions in `exact.gd`, `big_integer.gd`, and `exact_value.gd`.
- Implemented a comprehensive test suite in `test_exact_math.gd` to validate arithmetic operations against expected results.
- Added a README in `math` directory to document the exact arithmetic system and its usage.
- Ensured that all arithmetic operations maintain precision without floating-point errors, using a custom representation for large numbers.
- Included methods for encoding and decoding exact values for serialization.
2026-09-30 08:08:27 +03:00
Kirill d6fd40969f Implement short-lived stellar event handling and optimize batch processing; add tests for new functionality 2026-09-22 22:50:54 +03:00
Kirill 5f3875bc14 Add life rules and implement tests for civilization and life states
- Introduced a new file `life_rules.txt` to define life progression and degradation rules.
- Created `test_civilization_state.gd` to validate the functionality of civilization rules and ethics.
- Added `test_life.gd` to test life evolution, including initialization, batch processing, and state validation.
- Implemented `civilization_state.gd` to manage civilization ethics and space civilization detachment logic.
- Ensured all tests check for expected outcomes and validate state integrity after operations.
2026-09-15 23:05:05 +03:00
Kirill cc2700d507 Add item description and testing framework for Owniverse
- Introduced `item_description.gd` to handle item descriptions with localization support.
- Implemented a testing script `test_descriptions.gd` to validate item description rendering and localization.
- Added a new template file for Russian localization.
- Included a large package file `owniverse.0.6.29-145.pck` for game assets.
- Ensured proper memory management in tests with fixture and dispose functions.
2026-09-15 22:01:45 +03:00
Kirill 7de65f6145 Refactor workflow and configuration files; enhance Android build process with import options, update .gitignore for entity imports, correct entity file names, and add missing import files for localization and entities. 2026-09-15 07:30:01 +03:00
Kirill 8513bf0313 Add new PNG images for time and speed menu 2026-08-20 20:03:18 +03:00
Kirill 044d193f8d Refactor: clean up unused code and improve variable initialization in evolution and entity management 2026-08-17 08:12:43 +03:00
Kirill 8e565e5ac0 evolution 2026-08-02 22:56:54 +03:00
Kirill a81359c1e6 Refactor code structure for improved readability and maintainability 2026-07-19 15:41:44 +03:00
Kirill 2a64274322 refactor(world): optimize visuals and item definitions
Add new high-res textures for planetary systems, remove placeholder graphics and update scene tree structure in 'world.tscn
2026-07-18 15:53:31 +03:00
Kirill 934d890887 Add action buttons and related functionality; refactor production logic and update entity definitions 2026-06-03 23:26:44 +03:00
Kirill c21048add3 Refactor code structure for improved readability and maintainability 2026-05-31 10:57:44 +03:00
Kirill edb5ec9dfa Refactor code structure for improved readability and maintainability 2026-05-26 23:21:44 +03:00