Skip to content

AGS update#2

Open
ratalaika wants to merge 6751 commits intoRatalaikaGames:masterfrom
adventuregamestudio:master
Open

AGS update#2
ratalaika wants to merge 6751 commits intoRatalaikaGames:masterfrom
adventuregamestudio:master

Conversation

@ratalaika
Copy link
Copy Markdown
Member

No description provided.

@ivan-mogilko ivan-mogilko force-pushed the master branch 3 times, most recently from 761372f to 67f2606 Compare December 29, 2021 23:22
@ivan-mogilko ivan-mogilko force-pushed the master branch 2 times, most recently from 9569045 to 9d318e4 Compare February 14, 2022 20:18
@ivan-mogilko ivan-mogilko force-pushed the master branch 2 times, most recently from b459ad9 to 4efaf81 Compare August 31, 2022 01:04
@ivan-mogilko ivan-mogilko force-pushed the master branch 2 times, most recently from 0d3ecd9 to 2bf9032 Compare January 6, 2023 05:58
@ivan-mogilko ivan-mogilko force-pushed the master branch 2 times, most recently from 50e423e to 811987a Compare June 13, 2023 16:05
ivan-mogilko and others added 30 commits April 5, 2026 19:13
For example, if Object_AnyClick is linked to "Interact" event.
It turned out that these functions had wrong assumption that the resulting string will be of same byte width, and tried to do upper/lower conversion in place.
But this assumption is wrong, as uppercase/lowercase variants of unicode characters in utf-8 may have distantly different codes, and therefore different bytewidth.
Changed these function to accept separate src and dest buffers instead. Fixed String::MakeLowerUTF8(), MakeUpperUTF8() correspondingly.
This implements lexographical comparison of utf-8 strings, used in any string-sorting script objects and commands, such as:
- Dictionary struct
- Set struct
- String.CompareTo function

The lexographical comparison compares characters by their alphabetic meaning, rather than character codes.
For example, 'À' follows 'A' and 'Č' follows 'C', as opposed to common char code-based comparison, where both 'À' and 'Č' would be positioned after 'Z'.

The way this is implemented in Dictionary and Set class allows to easily switch to another variant at runtime using a number of settings.
Use lexographical comparison for script strings and sortable objects
Script based on the android-actions/setup-android project
clears the node deprecation warnings
The projects are being wrongly archived, it looks like GNU Tar doesn't actually supports creating zip files. The zip utility doesn't support strip component so I would need to move files around to work there. Let's just install bsdtar in the CI for now like I had done in cirrus.
This script is for things usually placed in C:\Lib dir
Note, when using glob like `*` in upload-artefact, it ignores a directory or file that is preceded by `.` (like `.build`) by default, which is why I added include-hidden-files true, even though these files should only be considered hidden in unix, not Windows. It's probably a good idea to move these build and package to a script somewhere and just call the upload on the actual zip file to avoid behavior change in the action in the future.
Add Engine MSVC build and MSVC tests to GitHub Actions
Passing a empty string into std::locale's constructor creates a "current user locale" instead, which is not what we want there.
This adds:
* ListBox.SortItems(StringCompareStyle, SortDirection)
* Utils.SortStrings(String stringArr[], StringCompareStyle, SortDirection)
* Utils.SortInts(int intArr[], SortDirection)
* Utils.SortFloats(float floatArr[], SortDirection)
Script API: implement few sorting functions for Strings, ints and floats
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.

3 participants