Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

OSX upgrade "alpha" ready

 
   Game Forums (Home) -> Roguelike -> Angband RSS
Next:  help!! I cant find my sims deluxe case  
Author Message
pete mack

External


Since: Mar 24, 2005
Posts: 411



(Msg. 1) Posted: Fri Jul 21, 2006 8:43 pm
Post subject: OSX upgrade "alpha" ready
Archived from groups: rec>games>roguelike>angband (more info?)

Still have a problem or two --
-- some screen refreshes are missing; I need to understand the event
model a little better. (Workaround: ctrl-R)

-- Double-wide ascii mode with yellow cursor leaves artifacts. (Nobody
sane uses this.)

-- graphics mode transparency doesn't work, for two reasons:
* I don't have 10.4, so I can't apply an image as an alpha-mask.
* (More critically) I don't know how to preserve alpha when drawing
to a CGContext. I can make transparency work, but it runs 20x
slower. As it stands, it's about 2x faster than the original
QuickDraw implementation.

-- The correspondence between pictures and obects is pretty weak.
(Fixing this is out of scope.)

Caveats:
-- Essentially all #ifdefs have been removed. I'm not interested in
supporting archaic versions of z-term.c

Total lines of code:
3859 12063 90538 main-crb.c
22 45 338 osx.h (OSX global declarations)
208 796 5713 osx_tables.h (const data)
4089 12904 96589 total

Original:
6574 20007 140651 main-crb-old.c

I knocked out about 40% of the original code+comments.

 >> Stay informed about: OSX upgrade "alpha" ready 
Back to top
Login to vote
Christer Nyfalt

External


Since: Jun 03, 2005
Posts: 30



(Msg. 2) Posted: Sat Jul 22, 2006 2:55 am
Post subject: Re: OSX upgrade "alpha" ready [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2006-07-22, pete mack <pmac360 DeleteThis @hotmail.com> wrote:

> Caveats:
> -- Essentially all #ifdefs have been removed. I'm not interested in
> supporting archaic versions of z-term.c
>
> Total lines of code:
> 3859 12063 90538 main-crb.c
> 22 45 338 osx.h (OSX global declarations)
> 208 796 5713 osx_tables.h (const data)
> 4089 12904 96589 total
>
> Original:
> 6574 20007 140651 main-crb-old.c
>
> I knocked out about 40% of the original code+comments.
>

Good job! Even if I don't use OSX, every code cleanup done is a cause of
celebration.

--
Christer Nyfalt

 >> Stay informed about: OSX upgrade "alpha" ready 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NPP alpha - Hi, I'm enjoying the new NPP alpha. Generally it has a nicer look, and one gets the impression of many small changes, together adding up to a more enjoyable game. The new terrains are certainly fun, but I find it very incongruous to find thickets and..

What state is the NPP alpha in? - Hi Jeff et al, Where is the NPP alpha at? I want to play it, because it looks awesome, but is it still in a save-frequently-caveat-emptor-send-us-the-bug-reports state? A.

Poll: How much time do you use fo ra win. - Hi all. In "Collected Vanilla wish list" thread I have discussed with Pete and Cliff and then a question raised: How many hours do you usually need for winning the game. Not turns, hours. Real Time. Just playing time, don't count lunchtime....

[Z] arrows of wounding? - I picked up some of these -- arrows of wounding, 3d4, (+1,+3), which struck me as pretty pitiful. Do they have some damage multiplier I know not wot, or are they basically just arrows, +1 to hit, +3 to dam? And if so, what does "of wounding"...

When you really need to kill a lot of monsters... - I have an exception to Cliff's rule of not clearing pits. My current gear, class is NPP rogue. Swap: BoC *Slay Demon*, Acid/Fire brand halberd. Sling of Buckland Barahir(+1) RoSpeed(+8) Elessar [ Heal activation ] Thalkettoth Colannon Anarrion..
   Game Forums (Home) -> Roguelike -> Angband All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]