Monday, December 27, 2010

Porting my old C++ Templates code to C# Generics

I'm quite pessimistic about using C# Generics and how will affect the design and how it behaves but I have no choice I'm now using C# so I'll give it a try.

Part of c++ template code from my D3D game engine...

   template<class T>
   class TState
   {
   public:
      virtual ~TState() {}
      virtual void Enter(T*) = 0;
      virtual void Execute(T*) = 0;
      virtual void Exit(T*) = 0;
      virtual bool OnMessage(T*, const tTelegram&) = 0;
   };

Friday, December 24, 2010

Merry Christmas Universe!

First, here are the stuff I would like to do this Vacation:

- Sell LG 22" LCD and/or AMD HD 6850 Videocard.
- Buy wireless mouse for my Laptop.
- Finish XBOX's Naruto UNS2 though.
- Know how to dance with XBOX's Dance Central.
- Backup files (photos / games / old files).
- Learn how to code Silverlight with Windows Phone 7.
- Fix the damn bug in my XNA physics engine.
- Write a prototype XNA game.
- Post process some pics for Flickr.
- Watch Circus at Araneta Coliseum.
- Re-organize and clean room.
- Loose 10 lbs of fats.

I would like to greet you all an AWESOME Merry Christmas!

Enjoy your day!

Tuesday, December 14, 2010

Asus K42ja vs Acer Aspire 4745g

Which one is better? here are the specs...

Asus K42ja
Intel Core i5 460M
2GB DDR3 Memory
320GB HDD SATA
ATI Mobility Radeon HD 5730M 2GB DDR3

Acer Aspire 4745g
Intel Core i5460M
2GB DDR3 Memory
640GB HDD SATA
ATI Mobility Radeon HD 5650 1GB DDR3