FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 84 matches
Forum Index
Author Message
  Topic: Fast look into arc2-alpha code
SirAlaran

Replies: 3
Views: 17216

PostForum: ArcLib   Posted: Wed Oct 13, 2010 11:27 pm   Subject: Fast look into arc2-alpha code
Continuing from
Hi, I just started using arc2-alpha, and I've found a couple little problems (You may have fixed already, but here they are anyway)

In graphics/draw.d lines 49-59, x and y are c ...
  Topic: A few bugs and questions
SirAlaran

Replies: 1
Views: 13379

PostForum: ArcLib   Posted: Wed Oct 13, 2010 9:37 pm   Subject: A few bugs and questions
The arc2-alpha branch is a place I check in code in case my computer explodes. It's not really intended for widespread use yet.

There's already a thread for review of the alpha code, so I'm going t ...
  Topic: Fast look into arc2-alpha code
SirAlaran

Replies: 3
Views: 17216

PostForum: ArcLib   Posted: Sat Oct 02, 2010 6:26 pm   Subject: Fast look into arc2-alpha code
Ha. The math/vector code was the stuff that I ported over from Arc 1. The graphics code is where most of my work has gone. I'll fix those issues though.

On the subject of the vector code, I don't k ...
  Topic: setpixel?
SirAlaran

Replies: 7
Views: 23186

PostForum: ArcLib   Posted: Sat Oct 02, 2010 5:09 pm   Subject: setpixel?
I've added direct pixel access as a feature to Arclib 2. It can be used like this:
// Disables drawing with this texture until endPixelAccess is called
texture.beginPixelAccess();
for(u ...
  Topic: Update 2010-06-20
SirAlaran

Replies: 5
Views: 26250

PostForum: ArcLib   Posted: Sat Oct 02, 2010 3:45 pm   Subject: Update 2010-06-20
I've uploaded what I have so far to SVN.

http://www.dsource.org/projects/arclib/browser/branches/arc2-alpha/arc

If you see something in the API that looks stupid, let me know. The earlier we fix ...
  Topic: setpixel?
SirAlaran

Replies: 7
Views: 23186

PostForum: ArcLib   Posted: Fri Oct 01, 2010 7:50 pm   Subject: setpixel?

or?
But which scope Block can i use for the lock command?

But thanks, i don't know before, that the -release switch turns contracts off Smile But i love the in and out blocks for methods Smile


im ...
  Topic: setpixel?
SirAlaran

Replies: 7
Views: 23186

PostForum: ArcLib   Posted: Thu Sep 30, 2010 8:16 pm   Subject: setpixel?
The SDL_Lock and -Unlock Operations are predestinated for the in/out block.
Just as a little tip.

The assert's in the in and out bodies are called contracts. Any other D statement or expression is ...
  Topic: setpixel?
SirAlaran

Replies: 7
Views: 23186

PostForum: ArcLib   Posted: Wed Sep 29, 2010 8:40 pm   Subject: Re: setpixel?

uint* pixels = cast(uint*)(pSurface.pixels);
pixels[(y * pSurface.w) + x] = col;


This code assumes a 32-bit color depth for pSurface. Also keep in mind that whe ...
  Topic: Update 2010-06-20
SirAlaran

Replies: 5
Views: 26250

PostForum: ArcLib   Posted: Sun Sep 12, 2010 3:18 am   Subject: Update 2010-06-20
I now have the window and texture modules updated as well as some other miscellaneous code written. The code that is written works with Derelict2 and Phobos2. Some of my time has been taken away by ot ...
  Topic: Arc is Tango Only
SirAlaran

Replies: 1
Views: 14830

PostForum: ArcLib   Posted: Sun Jun 20, 2010 1:11 pm   Subject: Arc is Tango Only
The D2 branch, when it happens, will be Phobos-based.
  Topic: Update 2010-06-20
SirAlaran

Replies: 5
Views: 26250

PostForum: ArcLib   Posted: Sun Jun 20, 2010 1:08 pm   Subject: Update 2010-06-20
As some of you may know, Clay (clayasaurus) has decided to no longer work on ArcLib. [url=http://arclib.blogspot.com/2010/05/2nd-to-last-status-update.html]See his blog post here Fortunately, this pro ...
  Topic: Tango Upgrade Plans?
SirAlaran

Replies: 5
Views: 22474

PostForum: ArcLib   Posted: Thu May 27, 2010 1:28 am   Subject: Tango Upgrade Plans?
I've been waiting for D2 to hit stable before going on with my game. As for the dev blog going private, I have no idea.
  Topic: arc.tilemap
SirAlaran

Replies: 24
Views: 65270

PostForum: ArcLib   Posted: Tue Dec 01, 2009 10:28 pm   Subject: arc.tilemap
I just updated the level demos and the level extensions in svn. You can now load a tile map with a multi-layered parallax background from a file. Updates to the map editor (And the long-promised 0.3 r ...
  Topic: Tango Upgrade Plans?
SirAlaran

Replies: 5
Views: 22474

PostForum: ArcLib   Posted: Tue Dec 01, 2009 10:22 pm   Subject: Tango Upgrade Plans?
What are the plans for upgrading ArcLib to Tango releases? Version 0.99.9 is going to have several [url=http://dsource.org/projects/tango/wiki/0_99_9_BreakingChanges] api-breaking changes. I've run in ...
  Topic: arc.tilemap
SirAlaran

Replies: 24
Views: 65270

PostForum: ArcLib   Posted: Sun Nov 15, 2009 6:03 pm   Subject: arc.tilemap
Bad news: I seem to have gotten my installed version of Tango messed up. Anything that uses Format() dies. (This includes common things like Stderr.formatln(). Not good.)

Good news: [url=http://www ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group