Quote from: Crimson Wizard on Thu 17/07/2025 22:54:32I suppose that in this particular case AGS 4 could skip these and continue, with a warning.
Whatever works!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Crimson Wizard on Thu 17/07/2025 22:54:32I suppose that in this particular case AGS 4 could skip these and continue, with a warning.
// The struct that holds the dynamic array
struct MyStruct {
import static attribute int SomeArray[]; // Declared as int
}
// The array setter
void seti_SomeArray(static MyStruct, eSomeEnum index, int value) //the index is an enum instead of an int
{
...
}
bool seti_xxx(...) { // Returns bool instead of void
{
...
}
Quote from: Crimson Wizard on Thu 17/07/2025 22:54:32memory leakYes, I believe I've seen an "overflow" error at some point, even though it does not appear in that specific call stack. That's great news.
Quote from: Crimson Wizard on Thu 17/07/2025 21:35:20You did not give any details
Error: External component has thrown an exception.
Version: AGS 4.00.00.18
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. ---> System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at ccCompileText(SByte* , SByte* )
at AGS.Native.AGS3ScriptCompiler.CompileScript(String scriptName, String[] scriptTexts, ScriptCompilerOptions options, CompileMessages messages)
at AGS.Editor.AGSEditor.CompileScript(IScriptCompiler compiler, Script script, List`1 headers, CompileMessages messages)
at AGS.Editor.AGSEditor.CompileScript(Script script, List`1 headers, CompileMessages messages)
at AGS.Editor.Components.RoomsComponent.SaveRoomOnThread(IWorkProgress progress, Object parameter)
at AGS.Editor.BusyDialog.RunHandlerOnThread()
at AGS.Editor.BusyDialog.Show(String message, ProcessingHandler handler, Object parameter, Int32 timeoutMs)
at AGS.Editor.Components.RoomsComponent.SaveRoomButDoNotShowAnyErrors(Room room, CompileMessages errors, String pleaseWaitText)
at AGS.Editor.Components.RoomsComponent.RecompileAnyRoomsWhereTheScriptHasChanged(CompileMessages errors, Boolean rebuildAll)
at AGS.Editor.Components.RoomsComponent.AGSEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
at AGS.Editor.Components.BuildCommandsComponent.TestGame(Boolean withDebugger)
at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
at AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
at AGS.Editor.MainMenuManager.MenuEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Quote from: Crimson Wizard on Thu 17/07/2025 21:35:20Font size of courrier newYes. The issue is really the thinness, not the size. I guess that in "low res", the font appeared slightly beefier because of the rogue extra pixels added by the font rasterization and the high contrast trick (blue pixels on the left, red pixels on the right). But now in "real" hi-res it's really too thin for good readability.
Quote from: Crimson Wizard on Thu 17/07/2025 21:35:20Please provide the broken roomLet me zip that up and I will send it to you in private.
Quote from: Crimson Wizard on Thu 17/07/2025 18:02:26Quote from: Monsieur OUXX on Thu 17/07/2025 16:55:45- Those new features do not appear in the autocomplete,
They do not appear in the autocomplete? That sounds as a bug.
Quote from: eri0o on Fri 19/07/2024 00:52:10I just did it to myselfAfter looking more closely at IniFile2, it's not exactly written in the same spirit -- so I would say the two modules are complementary. Plus, as I wrote, yours shows the way to "modern" approaches. No regrets!
Quote from: eri0o on Fri 19/07/2024 00:52:10perhaps there is some smart way to create an AGS dictionary from an INI file and also to serialize a dictionary to an ini file
[log]
file=all:all
file-path=C:\Users\admin\repos\ags-essential-modules\AGS 4 essential modules\_Debug\log.txt
Quote from: eri0o on Tue 16/07/2024 17:02:10For dynamic sprites the change is explained in this PR https://github.com/adventuregamestudio/ags/pull/2455
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.174 seconds with 18 queries.