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

Various fixes #143

Closed
wants to merge 176 commits into from
Closed

Various fixes #143

wants to merge 176 commits into from

Conversation

MiranDMC
Copy link
Contributor

Fixes problem found by Vital where it was impossible to get pointer of longstring variable.
Fixes problem found by 123nir where RZL trainer was throwing error due to declared-provided argument count missmatch in function/method call opcodes.

x87 and others added 30 commits August 27, 2023 11:31
Fixed SDK includes.
Configured post build events and debug settings.
Added setup_env.bat and SETUP.md
* cleo_call and cleo_return scope now save and restore GOSUB call stack and stack pointer.

* Introduced CModuleSystem class.

* Working prototype.

* Support of path resolving for modules.

* Path normalization updated.

* Review fixes.

* Disabled virtual absolute paths feature.

* Fixed script  location and name related functions.

* Used game's APIs to resolve paths.

Figured out using plugin_sdk classes in project.

* Names case insensitive handling.

* Modules reloading.

* Automatic modules reloading.
* Added CLEO version info to log file.

* Fixed problem with export references releasing.

Review fixes.
… plugin�added more detailed error messages in some cases�updated general methods for getting and setting string parameters

added some CLEO properties and methods to CRunningScript struct�export addded: CLEO_RegisterCallback
export addded: CLEO_GetScriptVersion
cleo.cpp removed from CLEO SDK
new opcode 0DD5 (get_platform)
new opcode 00CC (breakpoint)
new opcode 00CD (trace)
new opcode 00CE (log_to_file)
support of opcodes 0662, 0663 and 0664
more error and warning messages
updated opcodes handling
* Added missing changes to CHANGELOG.md

* Header style updated.
* Used CFont from plugin sdk instead of direct memory hacks.

Fixed aspect of main menu CLEO text.
* Added 2000 and 2001 opcodes.

* Added validation of script pointer parameter in opcode 2001
Updated clearing log list effect.
Callback 'ScriptDraw' called after script elements drawing.
Adjusted  screen log display times
…120)

Now returned string is always null terminated.
Removed filling remaining part of target buffer with zeros.
MiranDMC and others added 29 commits April 11, 2024 18:55
#124)

Enabled support of export index as argument in get_proc_address opcode
* Implementing cleo_arg_count opcode

* Updated opcode name.�Added unit test.
* Fixed mission code offsets info in error messages.

* fixup! Fixed mission code offsets info in error messages.
Toolset changed to v142
* Squashed and cleaned

* Dynamic linked redistributables

* fixup! Dynamic linked redistributables

* Removed VirusTotal step

* fixup! Removed VirusTotal step

* Updated setup-msbuild to v2

* Removed SHQueryUserNotificationState use.

* fixup! Removed SHQueryUserNotificationState use.

* Runtime static linking.

* yml updated

* Trigger modified

* fixup! Trigger modified

* No signing in test
Removed not existing files from solution. Moved Plugin SDK files to correct filer group.
Unified github actions. Fixed doubled triggering plugins build.
Renamed CLEO SDK's container from DirectoryList to StringList.
Added initialization methods to CCustomOpcodeSystem and CPluginSystem.
Improved look of cleo log by calling initialization manually.
Fixed invalid Math plugin filename in readme.
Simplified plugins loading. Fixed legacy plugins overwriting new plugins.
Removed leftover CLEO_ListDirectoryFree function.
Added mission FindFirstFile handle closing.
StringList creation added as utils function.
…157)

Enabled CLEO_GetScriptFilename to work with inactive scripts
0ABA moved to memory plugin, fixed to stop all threads with given name
Added terminate_script ptr opcode
Added SDK exports
Documentation updates in CLEO_Utils.h
Enabled support of network sources in audio stream opcodes.
Added network sources support as option in settings
Refactors
Virtual path `userfiles:` shortened to `user:`
Fixed full screen detection when displaying message boxes.
New opcode get_file_write_time
@MiranDMC MiranDMC closed this Jul 21, 2024
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