David Gowers (kampu | 1 Nov 2010 01:38
Picon

Re: better palette options

On Thu, Oct 28, 2010 at 1:45 AM, James Paige <Bob <at> hamsterrepublic.com> wrote:
> On Wed, Oct 27, 2010 at 04:34:35PM +1030, David Gowers (kampu) wrote:
>> On Wed, Oct 27, 2010 at 1:47 AM, James Paige <Bob <at> hamsterrepublic.com> wrote:
>> >> > Hypotheticlly suppose I have a side-scroller where the hero has a
>> >> > 4-frame walk animation. When I press and hold the attack button while
>> >> > walking, I want her to switch to to the sprite set where she charges an
>> >> > energy canon, and when it is fully charged, I want to change her sprite
>> >> > set to the one with the fully-charged canon.
>> >> > I want to keep my place in
>> >> > the 4-frame walk animation when these changes occur.
>> >>
>> >> It sounds like
>> >>
>> >> stored := push animation(current)
>> >> set animation gfxset (current, charging)
>> >> set animation timeout (current, chargeticks)
>> >>
>> >> # per tick, detect current anim timeout and..
>> >> set animation gfxset (current, charged)
>> >> set animation timeout (-1)
>> >> # or detect button release and...
>> >> replace animation (current, pop animation(stored))
>> >
>> > Interesting. With an interface like that I would probably not use the
>> > feature at all. I would probably just use "replace animation" and
>> > nothing else, since the push/pop commands and the timeout commands since
>> > those both kinda volate Mode-View-Controller by putting "model" data
>> > into the "view" which is going to have to be duplicated in the "model"
>> > anyway for other reasons.
>>
(Continue reading)

subversion | 1 Nov 2010 16:54
Favicon

SVN: teeemcee/3958 Add error checking and reporting to safekill.

teeemcee
2010-11-01 08:54:29 -0700 (Mon, 01 Nov 2010)
45
Add error checking and reporting to safekill.
---
U   wip/util.bas
subversion | 1 Nov 2010 16:54
Favicon

SVN: teeemcee/3959 Wrote functions for spawning, killing, etc. processes (Windows only: Uni

teeemcee
2010-11-01 08:54:38 -0700 (Mon, 01 Nov 2010)
299
Wrote functions for spawning, killing, etc. processes (Windows only: Unix support not needed ATM).
Focused on console programs.

That's a whole lot of winapi I just dumped on allmodex.bas. I think it would be much better to stick this and
other OS-specific stuff in one file per OS. Some other time.
---
U   wip/allmodex.bas
U   wip/allmodex.bi
subversion | 1 Nov 2010 16:54
Favicon

SVN: teeemcee/3960 Fix MP3/WAV import getting stuck in a loop (bug 826) by writing spawn_an

teeemcee
2010-11-01 08:54:44 -0700 (Mon, 01 Nov 2010)
180
Fix MP3/WAV import getting stuck in a loop (bug 826) by writing spawn_and_wait and using it.

This only makes a difference on Windows; elsewhere it just calls SHELL jsut as before.
---
U   wip/common.bas
U   wip/common.bi
U   wip/whatsnew.txt
subversion | 1 Nov 2010 16:54
Favicon

SVN: teeemcee/3961 Fix MP3/OGG music not being deleteable or overwriteable in Windows (in Y

teeemcee
2010-11-01 08:54:51 -0700 (Mon, 01 Nov 2010)
153
Fix MP3/OGG music not being deleteable or overwriteable in Windows (in Y+2, the overwriting problem
didn't exist) due to sdl_mixer holding onto the file.
---
U   wip/menus.bas
U   wip/whatsnew.txt
James Paige | 1 Nov 2010 17:04
Favicon

Re: SVN: teeemcee/3959 Wrote functions for spawning, killing, etc. processes (Windows only: Uni

On Mon, Nov 01, 2010 at 08:54:38AM -0700, subversion <at> HamsterRepublic.com wrote:
> teeemcee
> 2010-11-01 08:54:38 -0700 (Mon, 01 Nov 2010)
> 299
> Wrote functions for spawning, killing, etc. processes (Windows only: Unix support not needed ATM).
Focused on console programs.
> 
> That's a whole lot of winapi I just dumped on allmodex.bas. I think it would be much better to stick this and
other OS-specific stuff in one file per OS. Some other time.

That is a good idea. Maybe like os_windows.bas os_linux.bas os_mac.bas 
sort of like backends (even if they don't really have to be backends in 
the same sense that gfx_ and music_ are)

---
James
bugzilla-daemon | 1 Nov 2010 17:22

[Bug 826] Latest nightly's mp3/wav to ogg import goes bonkers

http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=826

--- Comment #8 from Ralph Versteegen <teeemcee <at> gmail.com> 2010-11-01 09:22:40 PDT ---
It turns out both gfx_sdl and gfx_directx are affected.

My lord, under Windows, music and sound effects import were bug ridden messes
(nightlies and Ypsiliform+2 seem to behave the same, aside from the quoting
issue I already fixed). There were about 3 bugs preventing MP3 importing from
working (some of the time), input goes bonkers half the time on many machines,
deleting OGGs and MP3s didn't work at all for me, deleting doesn't work from an
rpgdir,  and bad error reporting (only "import failed" reported regardless of
cause, even if known).

I believe that I've now fixed all of the three bugs mentioned in my bug report
(I overlooked the one about not being able to delete OGG files) but I'd really
like some testing to confirm that it's fixed for everyone, and that I haven't
broken something else.

There's still the issue of the bad error reporting and not being able to delete
from an rpgdir, which is a separate bug.

--

-- 
Configure bugmail: http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon | 1 Nov 2010 17:23

[Bug 826] Latest nightly's mp3/wav to ogg import goes bonkers

http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=826

--- Comment #9 from Ralph Versteegen <teeemcee <at> gmail.com> 2010-11-01 09:23:33 PDT ---
(In reply to comment #8)
> I believe that I've now fixed all of the three bugs mentioned in my bug report
*THIS bug report

--

-- 
Configure bugmail: http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Ralph Versteegen | 1 Nov 2010 17:42
Picon

Re: Anything else for Ypsiliform+3?

On 29 October 2010 06:00, James Paige <Bob <at> hamsterrepublic.com> wrote:
> I went through the wip subversion log and backported everthing that
> seemed be all three of siple, safe, and important and backported
> them to the ypsiliform branch.
>
> Essentially, I picked all the low-hanging fruit.
>
> Does anybody else see anything else that looks worth the trouble to
> backport?
>
> ---
> James

Although the fix for bug 826 is large and complicated (r3959-3961;
previous SHELL quoting change superseded), I think it should
definitely be included; it can only be better than the current state
of importing (is this what you were delaying Ypsiliform+3 for?). I'd
just like to have people try out nightlies for a few days first.
James Paige | 1 Nov 2010 17:52
Favicon

Re: Anything else for Ypsiliform+3?

On Tue, Nov 02, 2010 at 05:42:47AM +1300, Ralph Versteegen wrote:
> On 29 October 2010 06:00, James Paige <Bob <at> hamsterrepublic.com> wrote:
> > I went through the wip subversion log and backported everthing that
> > seemed be all three of siple, safe, and important and backported
> > them to the ypsiliform branch.
> >
> > Essentially, I picked all the low-hanging fruit.
> >
> > Does anybody else see anything else that looks worth the trouble to
> > backport?
> >
> > ---
> > James
> 
> Although the fix for bug 826 is large and complicated (r3959-3961;
> previous SHELL quoting change superseded), I think it should
> definitely be included; it can only be better than the current state
> of importing (is this what you were delaying Ypsiliform+3 for?). I'd
> just like to have people try out nightlies for a few days first.

Okay. I have no problem with waiting a few more days for Ypsiliform+3

---
James

Gmane