Search found 454 matches
- Thu Jul 13, 2023 3:57 pm
- Forum: Script Library
- Topic: [ZScript] ZForms 1.0
- Replies: 25
- Views: 18126
Re: [ZScript] ZForms 1.0
Lots of stuff, a fair amount of which is done. Removing the separation of tickers/drawers, the library in general has been refactored to run at any frame rate, making it much smoother than it used to be. Affine transformations on elements, allowing any element to be rotated, offset, sheared, scaled ...
- Tue Jul 11, 2023 4:20 pm
- Forum: Script Library
- Topic: [ZScript] ZForms 1.0
- Replies: 25
- Views: 18126
Re: [ZScript] ZForms 1.0
This is for the main branch. The animation branch does have a bunch of cool work but it's (varying levels of) experimental and I'm currently in the progress of overhauling some things to introduce a layout system. I wouldn't advise using it unless you're willing to ask me a lot of questions about ...
- Tue Jul 11, 2023 2:55 pm
- Forum: Script Library
- Topic: [ZScript] ZForms 1.0
- Replies: 25
- Views: 18126
Re: [ZScript] ZForms 1.0
After helping someone with a ZForms issue on Discord I realized that I never actually linked the new documentation for the git version, even though it's been up for ages... https://gutawer.gitlab.io/gzdoom-zforms/docs/git-latest/index.html This entirely replaces the old miraheze wiki, and is ...
- Thu Apr 20, 2023 11:58 am
- Forum: Rules and Forum Announcements
- Topic: Statement regarding Marisa the Magician (aka Marisa Kirisame)
- Replies: 184
- Views: 79473
Re: Statement regarding Marisa the Magician (aka Marisa Kirisame)
Why wasn't this stated earlier? Not sure whether you mean me here, to be honest. I didn't state anything earlier because I only learnt about this yesterday. Since when could a non-red/green name be a "User Accounts Assistant"? I think that's a code word for "sane". I'm not saying anyone else is ...
- Thu Apr 20, 2023 11:30 am
- Forum: Rules and Forum Announcements
- Topic: Statement regarding Marisa the Magician (aka Marisa Kirisame)
- Replies: 184
- Views: 79473
Re: Statement regarding Marisa the Magician (aka Marisa Kirisame)
I believe Rachael should step down from moderation. Rachael, I've not been a fan of your moderation style for a long time. At first I thought you were just very strong-willed and passionate. Which is true and fine, but it's also become clear to me over the past few years on the team that you're ...
- Mon Nov 07, 2022 7:20 am
- Forum: Bugs [GZDoom]
- Topic: UI events are only sent to things when ticks happen
- Replies: 2
- Views: 808
Re: UI events are only sent to things when ticks happen
My point is that the events aren't being sent with the right timings. If the engine is running at 140 FPS, and the mouse is polling at 140Hz (assumed for simplicity though obviously this is likely to be higher), this is roughly what ZScript will currently see: FRAME #1 Rendered FRAME #2 Rendered ...
- Sun Nov 06, 2022 10:36 am
- Forum: Off-Topic
- Topic: Pointless model format argument (release thread split)
- Replies: 16
- Views: 1581
Re: GZDoom 4.9.0 released
I was talking to people on the GZDoom discord about problems that model makers had with the IQM model format. We asked them if they could support something more modern and better supported like FBX. They didn't want to do that, which is their choice. They said they were debating whether to go with ...
- Thu Sep 08, 2022 9:57 am
- Forum: Closed Bugs [GZDoom]
- Topic: GC randomly collects objects still in use
- Replies: 12
- Views: 1755
Re: GC randomly collects objects still in use
This doesn't seem to fix my issues with this, though I will admit that it could be a different bug in nature. Here's a runnable sample that can be used to trigger it fairly reliably on my machine: https://www.dropbox.com/s/4rst3qi61gee19j/gzdoom-zforms-testing.pk3?dl=0 . To trigger it, open the ...
- Thu Sep 08, 2022 8:19 am
- Forum: Closed Bugs [GZDoom]
- Topic: GC randomly collects objects still in use
- Replies: 12
- Views: 1755
Re: GC randomly collects objects still in use
phantom - do you have your additional fixes pushed anywhere online? I'm reasonably certain that ZForms gives me a reliable way to test what I believe is this issue, since it causes a bug where rarely elements will call Drawer on a child element, and then the child element will have a NULL master as ...
- Thu Jun 23, 2022 3:14 pm
- Forum: Scripting
- Topic: [ZScript] Check if Actor has a mixin
- Replies: 2
- Views: 325
Re: [ZScript] Check if Actor has a mixin
Mixins are basically a syntax-checked copy-paste, and by the time code is actually compiled they don't even exist anymore, so you can't do anything to check for them. It's hard to tell you exactly what to do without knowing your specific problem, but it's probably something involving virtual ...
- Thu Jun 23, 2022 2:27 pm
- Forum: Bugs [GZDoom]
- Topic: UI events are only sent to things when ticks happen
- Replies: 2
- Views: 808
UI events are only sent to things when ticks happen
I don't know exactly where this would be characterised between "bug" and "feature request", but essentially I think it's pretty unexpected behaviour that due to the way D_DoomLoop is written, menus and event handlers don't actually get events such as mouse movement as they happen, but they instead ...
- Wed Apr 27, 2022 1:20 pm
- Forum: Bugs [GZDoom]
- Topic: ZScript ignores expressions on left side of a static call
- Replies: 2
- Views: 580
Re: ZScript ignores expressions on left side of a static cal
I completely agree, but in that case, shouldn't it be a compiler error? That's precedented by languages like C#, which only allow calling of static methods using the type name, apart from the one exception of calling it without any prefix (i.e. doSomething() instead of self.doSomething()).
- Wed Apr 27, 2022 8:34 am
- Forum: Bugs [GZDoom]
- Topic: ZScript ignores expressions on left side of a static call
- Replies: 2
- Views: 580
ZScript ignores expressions on left side of a static call
Example code: class T { int mem; T modify() { mem += 1; return self; } static void doit() { Console.printf("hi"); } } class Whatever : Actor { override void tick() { let x = new("T"); x.modify().doit(); Console.printf("%d", x.mem); } } Expected behaviour here is that hi and then 1 is printed, but ...
- Thu Apr 07, 2022 5:00 am
- Forum: Closed Bugs [GZDoom]
- Topic: Attempt to save pointer to unhandled type NativeStruct<Font>
- Replies: 4
- Views: 616
Re: Attempt to save pointer to unhandled type NativeStruct<F
Appears to just be a typo in InitImports . auto fontstruct = NewStruct("FFont", nullptr, true); fontstruct->Size = sizeof(FFont); fontstruct->Align = alignof(FFont); NewPointer(fontstruct, false)->InstallHandlers( [](FSerializer &ar, const char *key, const void *addr) { ar(key, *(FFont **)addr ...
- Wed Feb 02, 2022 5:03 pm
- Forum: Closed Bugs [GZDoom]
- Topic: ZScript Syntax for referring to an inner type is broken
- Replies: 1
- Views: 1043
ZScript Syntax for referring to an inner type is broken
Types like .Outer.Inner in ZScript aren't handled properly and appear to just look at the first element in the dottable_id . Making this syntax work properly would be pretty useful as right now it makes inner types fairly hard to use and often not worth bothering with. Example: class Outer { struct ...