-
Notifications
You must be signed in to change notification settings - Fork 4
Milestone "Resources, Assets and UI" #109
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
Merged
Merged
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
200d7b0
Small include changes.
Dandielo 836416e
Updated the root scripts.
Dandielo 734e05e
Updated validation setup.
Dandielo 4928b7c
Updated conan profiles and workspace script.
Dandielo b83069b
Update codebase to use Clang-12
Dandielo e52f289
Use new ice-build-tools version.
Dandielo fa60d03
Set C++ standard to C++20 for clang builds.
Dandielo b9d6815
Merge branch 'linux-platform' of github.com:iceshard-engine/engine in…
Dandielo 706c2ca
Update ice-build-tools version.
Dandielo 05caf69
Merge branch 'master' into linux-platform
Dandielo a49be21
Merge remote-tracking branch 'origin/master' into linux-platform
Dandielo b553949
Merge branch 'master' into linux-platform
Dandielo 6cec9a4
Merge branch 'master' into branch 'linux-platform' (#78)
Dandielo 50294cf
Merge branch 'master' into linux-platform
Dandielo c0d22af
Updated configuration files. [skip ci]
Dandielo 68b1aae
First round of code fixes. [skip ci]
Dandielo fc3ad2c
Second round of fixes. [skip CI]
Dandielo ea06307
Finished fixes for Linux. [linux]
Dandielo 5bf8608
Update README.md
Dandielo 7da28c5
Switch to GCC on validation builds. [linux]
Dandielo 804019a
Merge branch 'linux-platform' of ssh://github.com/iceshard-engine/eng…
Dandielo a87410a
Use the 'linux-platform' as sub-workflow source branch. [linux]
Dandielo 5b24598
Update cw_build_parallel.yaml
Dandielo 8ad8951
Update cw_build_single.yaml
Dandielo 386d46f
Update validate.yaml
Dandielo 4778a71
Update cw_build_single.yaml
Dandielo 575800c
Update ICB tools.
Dandielo a416f3b
Update cw_build_single.yaml
Dandielo 589d111
Update cw_build_single.yaml
Dandielo 8ff2a55
Update ICB tools.
Dandielo c745c8a
Merge branch 'linux-platform' of ssh://github.com/iceshard-engine/eng…
Dandielo 291080b
Revert changes to cw_build_single.yaml.
Dandielo b728a51
Update cw_build_single.yaml
Dandielo 9fc3b2b
Update cw_build_single.yaml
Dandielo 14032cb
Update cw_build_single.yaml
Dandielo 3a796c9
Fix '-Wformat-security' issues.
Dandielo 30ca393
Merge branch 'linux-platform' of ssh://github.com/iceshard-engine/eng…
Dandielo 861eb8a
Update cw_build_single.yaml
Dandielo ee734f9
Updated project configuration.
Dandielo 9a96221
Fixed intellisense compiletime errors.
Dandielo 4c9fc19
Merge remote-tracking branch 'origin/master' into milestone-0501290322
Dandielo eba014f
Added version to workflow references.
Dandielo 153e007
Falling back to the master version of the workflow reference.
Dandielo 7ad20b5
Started work on the public API.
Dandielo b47d285
Another set of changes.
Dandielo 705d02e
Compile fix.
Dandielo 2eb2571
Fix unix builds.
Dandielo e3a2c63
Forgot to move constant variable into #if/#endif.
Dandielo e7043ee
Another typo.
Dandielo f89b85f
Updating .natvis files.
Dandielo 66ac062
Simplified the API.
Dandielo 3049e4e
Update test due to changes in Metadata loading.
Dandielo 9f571e4
Renaming file for new requirements.
Dandielo 38087c0
Added test file with special characters in name and content.
Dandielo 94e674d
Update .editorconfig
Dandielo 137a10a
Fixing iclude names.
Dandielo ac3385e
Changed encoding.
Dandielo 469b58a
Fixed the test meta file.
Dandielo d73e670
Keep the resource objects we found.
Dandielo 83dbdac
Updated core project.
Dandielo cdfb9d7
Initial implementation of the new Resource API.
Dandielo 81c581d
A few more changes to smaller projects. Mostly replacing old strings …
Dandielo d37fc24
Introduced new API in the task project.
Dandielo 2b0775f
Updated the AssetSystem to work with the refactored Resource system.
Dandielo 637148e
Load modules using the windows Unicode API.
Dandielo 8385bd9
Updated all locations with hard-coded asset strings, because the new …
Dandielo a86fcf1
Updated .editorconfig
Dandielo 7d90f38
Removing dead code.
Dandielo a368c39
Fixing intellisense issues in stringid.
Dandielo 455ea31
Start to fix warnings and other issues.
Dandielo 2714bc9
Removing unnecessary code.
Dandielo 28acb45
A few more fixes to Release builds.
Dandielo 291bbde
Extended the resource tracker to find resources using relative paths.
Dandielo e8de21d
Renaming new Resource types removing the '_v2' suffix.
Dandielo c01c896
Implemented basic support for providing sub-resource data tied to spe…
Dandielo 0e84237
Making the flags better and a bit more customisable.
Dandielo 5bbaf53
Add '_str' suffix operator to create Utf8 strings.
Dandielo 8e1780f
Updated how URI and URN are defined and how to find resources by usin…
Dandielo 93ce275
Build fix.
Dandielo 0d29757
Test warning fixes.
Dandielo 2d53240
Updated murmur3 to work for both ASCI and utf8 character types.
Dandielo 9ed8964
Implementation of hash32 for utf8 strings.
Dandielo 9533575
Small function pointer type.
Dandielo dcb570e
A few more changes to Data and Span types.
Dandielo 86f6144
Added Resource Flag: Status_Baked.
Dandielo 3aa30eb
Moving default builds to vs2022 and toolset v143.
Dandielo d6de466
New implementation for the AssetSystem.
Dandielo da1461a
Removed all asset types. [breaking change][skip ci]
Dandielo 403b7d5
Implemented Texture Loader gfx trait.
Dandielo 168e35a
Finished updating current traits after Asset API change.
Dandielo 0cf3d09
Compilation fix.
Dandielo e76c770
Small cleanup.
Dandielo 615be0c
Fixed compilation on Linux.
Dandielo fe1e205
A few fixed warnings.
Dandielo 34bd493
Merged origin/master into milestone-0501290322
Dandielo 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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| #include <catch2/catch.hpp> | ||
| #include <ice/data.hxx> | ||
| #include <ice/span.hxx> | ||
|
|
||
| SCENARIO("ice :: Data") | ||
| { | ||
| ice::Data data{ }; | ||
|
|
||
| WHEN("Empty") | ||
| { | ||
| CHECK(data.location == nullptr); | ||
| CHECK(data.size == 0); | ||
| CHECK(data.alignment == 0); | ||
| } | ||
|
|
||
| WHEN("Creating a view to a regular value") | ||
| { | ||
| ice::u64 const value = 0x42069; | ||
|
|
||
| data = ice::data_view(value); | ||
|
|
||
| CHECK(data.location == &value); | ||
| CHECK(data.size == sizeof(ice::u64)); | ||
| CHECK(data.alignment == alignof(ice::u64)); | ||
| } | ||
|
|
||
| WHEN("Creating a view to a span") | ||
| { | ||
| ice::u64 const values[]{ | ||
| 0, | ||
| 0x32, | ||
| 0x42069, | ||
| 0, | ||
| 0x32, | ||
| 0x42069, | ||
| 0, | ||
| 0x32, | ||
| 0x42069, | ||
| }; | ||
|
|
||
| ice::Span<ice::u64 const> values_span = ice::make_span(values); | ||
|
|
||
| data = ice::data_view(values_span); | ||
|
|
||
| CHECK(data.location == values_span.data()); | ||
| CHECK(data.size == values_span.size_bytes()); | ||
| CHECK(data.alignment == alignof(ice::u64)); | ||
| } | ||
| } |
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
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.