Search found 5668 matches

by airsoftsoftwair
Fri Mar 14, 2025 6:13 pm
Forum: Announcements
Topic: Forum slowness and downtimes
Replies: 1
Views: 730

Re: Forum slowness and downtimes

This problem should be fixed now. Visitor numbers are back to normal (i.e. 30 to 50 visitors or so). Compare that to 5541 visitors one week ago...
by airsoftsoftwair
Fri Mar 14, 2025 6:12 pm
Forum: Hollywood bugs
Topic: Some brush library functions crash with palette brushes
Replies: 1
Views: 235

Re: Some brush library functions crash with palette brushes

Hmm, with Hollywood 10.0 only PolarDistortBrush() crashes here, with the latest Hollywood master I don't get any crashes at all so it might have been fixed already but I'm not sure. I'll check.
by airsoftsoftwair
Fri Mar 14, 2025 6:09 pm
Forum: Hollywood bugs
Topic: Some brushes are reported to have 0 bits depth
Replies: 1
Views: 175

Re: Some brushes are reported to have 0 bits depth

Clearly a bug, will be fixed. Thanks for reporting!
by airsoftsoftwair
Wed Mar 05, 2025 10:29 pm
Forum: General programming
Topic: What is the idea with Add(), Div() etc.?
Replies: 1
Views: 467

Re: What is the idea with Add(), Div() etc.?

These are old functions from the days of Hollywood 1.x. They are just there for compatibility with old scripts. You shouldn't use them in new code because they will be much slower than using operators because their use involves a function call while operators will directly map to VM opcodes.
by airsoftsoftwair
Wed Mar 05, 2025 10:28 pm
Forum: General programming
Topic: Does FreeBrush frree Brush immediatelly?
Replies: 3
Views: 1405

Re: Does FreeBrush frree Brush immediatelly?

FreeBrush() frees the brush data from memory immediately, so in that loop you're having only one brush in memory at once. There's one exception, though: If layers are on and the brush is still used by a layer, the brush won't be freed immediately but will just be made inaccessible while still keepi...
by airsoftsoftwair
Wed Mar 05, 2025 10:25 pm
Forum: Wishlist
Topic: Wishlist: t = GetDirectoryAsTable(path)
Replies: 5
Views: 8419

Re: Wishlist: t = GetDirectoryAsTable(path)

Seems I misunderstood that command when I read the description. Thought it was going to be returning a string with all files separated, which sounded odd. Missed that it actually said string ARRAYS, meaning tables. Yeah, that's because ReadDirectory() is an ancient function. It has been there since...
by airsoftsoftwair
Wed Mar 05, 2025 10:21 pm
Forum: Hollywood bugs
Topic: IsMusic() PNG problem
Replies: 7
Views: 15927

Re: IsMusic() PNG problem

Hmm. I tried a lot of players, even 20-year-old ones, and they all play the file. Only Hollywood doesn't. I would suspect the problem to be in the IsMusic() function - is it called too when OpenMusic() is called? No, it's the other way round. Actually, IsMusic() is currently not optimized and just ...
by airsoftsoftwair
Tue Feb 25, 2025 10:54 pm
Forum: Hollywood bugs
Topic: IsMusic() PNG problem
Replies: 7
Views: 15927

Re: IsMusic() PNG problem

Maybe, but I'm not sure about the DirectShow driver, it happens on Windows with and without AVCodec (more not yet tested). I have now added a (different) mp3 file and my test script to the 7z archive , the password is still the thread subject. At the first WaitLeftMouse() the file is still locked. ...
by airsoftsoftwair
Tue Feb 25, 2025 10:44 pm
Forum: Windows IDE
Topic: Undo
Replies: 1
Views: 9089

Re: Undo

Thanks, will be fixed!
by airsoftsoftwair
Tue Feb 25, 2025 10:44 pm
Forum: Wishlist
Topic: Wishlist: t = GetDirectoryAsTable(path)
Replies: 5
Views: 8419

Re: Wishlist: t = GetDirectoryAsTable(path)

Bugala wrote: Thu Feb 13, 2025 1:00 pm I just noticed there is no way to read Directory in such a way that it would return a table of all the files.
Sounds like a job for ReadDirectory()?