Thread: Mediaeval Play by eMail (Beta)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Looks very good. And what a huge map.

    And BTW it is Medieval not Mediaeval.

    The MiniMap flicker is awful and needs to be fixed. This is actually an excellent oportunity to study about those clipping techniques.
    I don't know anything about wxWidgets but using pure Windows API you would create a memory DC and a screen DC. Draw to the memory DC and when done drawing blit the memory DC to the screen DC.

    As for clipping regions you can use the Win32 API equivalent of InvalidateRect() if you do not wish to redraw the entire map every time a movement is made. You just Invalidate a small rect area around the hexagon or hexagons that you need to update. Then when your paint or draw function is called it will only update those invalidated rects. I ran into this with my tile editor quite often and this solution helped a lot.
    Last edited by VirtualAce; 09-06-2007 at 01:19 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Spam Filters. ISP based email is dying.
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 03-05-2008, 12:05 PM
  2. Open Source Email Server!
    By andhikacandra in forum Tech Board
    Replies: 2
    Last Post: 10-02-2007, 10:51 PM
  3. Replies: 8
    Last Post: 09-22-2003, 01:31 PM
  4. Gui Class With Tic Tac Toe
    By xxYukoxx in forum C++ Programming
    Replies: 1
    Last Post: 06-01-2003, 04:28 PM
  5. Cribbage Game
    By PJYelton in forum Game Programming
    Replies: 14
    Last Post: 04-07-2003, 10:00 AM