apoplexy v2.2b released

Windows and Linux editor of PoP1 (for DOS and SNES) and PoP2 (for DOS).
Locked
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5745
Joined: April 9th, 2009, 10:58 pm

apoplexy v2.2b released

Post by Norbert »

I've just released version 2.2b of apoplexy.

The GNU/Linux version is available here.
[Edit: and...] The Windows version can be downloaded here.

Changes since the last version are:
* Workaround for SDL bug #2274.
* Freeing message surfaces to prevent memory usage increase.
* When zoomed, properly displays large ruins and temple backgrounds.
* Fixed a mouse with interface buttons interaction problem.

All of those are bug fixes, and almost of of them have been fixed thanks to David's insightful comments.
Thanks David!
David
The Prince of Persia
The Prince of Persia
Posts: 2848
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: apoplexy v2.2b released

Post by David »

Norbert wrote:* Workaround for SDL bug #2274.
I think you did something wrong.
(1) My suggestion was: cvt.buf = (Uint8 *)malloc (dlen*(cvt.len_mult+1)); (see viewtopic.php?p=14355#p14355)
(2) But 2.2b contains: cvt.buf = (Uint8 *)malloc ((dlen * cvt.len_mult) + 1);
I changed (2) to (1).
(2) does not prevent the crash.

I attached the port to this post.
To make the zip smaller, I deleted the png folder, and didn't include the games.
The DLLs are included.
Attachments
apoplexy-2.2b-win32-no-images.zip
(1.47 MiB) Downloaded 159 times
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5745
Joined: April 9th, 2009, 10:58 pm

Re: apoplexy v2.2b released

Post by Norbert »

David wrote:(2) does not prevent the crash.
Oh, I'll fix that in the Linux version (of 2.2b) later today, then when I announce 2.2b both versions are as they should be.
Strange that I make such mistakes (similar here); still only human...
David wrote:I attached the port to this post.
Thanks again! ;)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5745
Joined: April 9th, 2009, 10:58 pm

Re: apoplexy v2.2b released

Post by Norbert »

Alright, I've added a link to the full Windows package to the first post of this thread.
David
The Prince of Persia
The Prince of Persia
Posts: 2848
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: apoplexy v2.2b released

Post by David »

I found a bug: If I want to place a purple guard, looking left, the editor places a light blue guard instead.
It's caused by a typo in line 13571:

Code: Select all

case 102: case 203: iTemp = 6; break;
That 203 should be 103.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5745
Joined: April 9th, 2009, 10:58 pm

Re: apoplexy v2.2b released

Post by Norbert »

I found another small bug, aesthetics-related, but it's one that nobody else will probably ever notice.
I'll be keeping an eye on the stack of bugs; might warrant another release at some point.
Are you working on a PoP1 level or were you just testing some stuff?
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5745
Joined: April 9th, 2009, 10:58 pm

Re: apoplexy v2.2b released

Post by Norbert »

Note to myself (for the future): see 2. for a previously unnoticed bug.
Locked