blogitech from Chris Maddern

…technology editorial in a blog-saturated industry.

Browsing Posts tagged code

It would seem that the Python Source Code to the popular game ‘Eve’ has been leaked on the internet.

While apparently downloaders of the Eve Source utilizing torrent links are being banned, there is a MegaUpload link from which I’ve heard no such rumours.

You can find it over at: REMOVED
(hit up your favourite torrent site if you’re feeling brave)

Remember; you heard it here first! Unless CCP is asking!

Chris

Okay, I’m about to go in to demo ‘Giggle’, but I just found a way of rendering readable text on glass in C#’ without adding to the onPaint() functions etc… and it’s really easy!

C# Code 

As you can see, it’s easily adaptable in to a function for ‘universal painting of text on to Glass, although notable is the fact that if the pane is taken ‘off screen’ then the text will need to be redrawn, and a glass area can only be drawn to if it is currently visible.

Enjoy,

Chris
note: Cheers to a couple of guys who blog on MSDN for some of the code