Matrix Games Forums

A look through the keyhole #10!The Age of Shadows on Distant Worlds starts now!Paypal System UpdateDistant Worlds: Shadows Final Teaser!Distant Worlds: Legends gets Updated!Recruiting Testers for Commander: the Great War on Mac!Armageddon invasion starts in 2014Command Rommels Panzers in Battle Academy!Servers UpdateThe Deal goes Fourth!
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Coder Diary #1 - Windowed the game engine!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> John Tiller's Campaign Series >> Coder Diary #1 - Windowed the game engine! Page: [1]
Login
Message << Older Topic   Newer Topic >>
Coder Diary #1 - Windowed the game engine! - 5/8/2013 2:11:44 PM   
berto


Posts: 1351
Joined: 3/13/2002
From: metro Chicago, Illinois, USA
Status: online

Coder Diary #1 - Windowed the game engine!


Do your eyes deceive you?






The game engine now runs as a full-fledged, resizable, movable windowed application.

Before now, the game engine has always been a fixed, immobile, full-screen application. Running the game that way is still an option, but now one has the choice.

So what? So now you can multi-task easier: switch between the game and the game docs, say, or a web browser, or any other program(s) you might quickly want to run (without having to Alt-Tab, which can be iffy).

The "game engine" (now and hereafter my designation for the actual game .exe, for example: ef.exe, wf.exe, rs.exe, ...) thus joins its brethren -- the organization (OOB) editor, the map editor, the scenario editor -- as a standard windowed application.

Not any easy thing to achieve, not easy figuring out how to do it, which is why it's not been offered before.

Lots has happened since I received the Campaign Series codebase just two months ago. (Has it really been only two months ago? Seems much longer.)

In the first two weeks, after

  • first receiving the CS source code
  • making hundreds of edits/fixes to that source code
  • learning how to operate a new (to me) Integrated Development Environment (the Microsoft Visual Studio IDE)
  • importing the source code into the IDE, and organizing projects
  • struggling through dozens of attempted builds, all the way: editing/tweaking code, puzzling through many dozens of obscure compiler error messages, researching fixes in book & on-line references, downloading and applying hotfix updates to the IDE, ...

    and once even

  • borking my Windows installation by way of a malicious Microsoft SDK install (thank God for Windows System Restore!)

    since then I have

  • successfully built (compiled, linked, etc.) the main program .exe's: edorg, edmap, edit (scenario editor), game engine, and what I call "frontend" (the scenario selector/game launcher program)
  • removed legacy cruft (took out the "garbage"), reducing the code folders/files counts from 274/3209 down to a current much more manageable 73/802 (yes, there really are/were those huge numbers of folders and files!)
  • moved far along familiarizing myself with and learning the vast amount of code
  • finalized my hardware/software development environment
  • set up separate Windows XP & Windows 7 test systems, and soon to be also a Windows 8 test bed

    and

  • fixed the first legacy bug

    But wait! There's more ...

    ... which I'll save for the next Coder Diary.

    As we go along, please keep in mind:

  • Rome Wasn't Built in a Day.
  • We are a team, and I am just one member of that team. The other team members have been, and continue to be, hard at work developing OOBs, scenarios, campaigns, graphics, rule extensions, etc. They deserve all credit, praise, and thanks for taking the game so far, before this Johnny-come-lately (I) joined their hallowed ranks. Onward!

    Until the next time ...

    _____________________________

    Early MusiChicago, http://earlymusichicago.org
    PIKT, http://pikt.org
    Campaign Series Lead Programmer, http://www.matrixgames.com/forums/tt.asp?forumid=226
    AGElint debugging toolkit, http://www.matrixgames.com/forums/tm.asp?m=2978333
  • Post #: 1
    RE: Coder Diary #1 - Windowed the game engine! - 5/8/2013 2:18:33 PM   
    TJD

     

    Posts: 201
    Joined: 1/6/2008
    Status: offline
    Magnificent! Thanks for taking the time to keep us informed. This is wonderful!

    Best,

    Tim

    (in reply to berto)
    Post #: 2
    RE: Coder Diary #1 - Windowed the game engine! - 5/8/2013 7:39:45 PM   
    wings7


    Posts: 87
    Joined: 8/11/2003
    From: Santa Ana, CA
    Status: offline
    Thank you berto! These updates are much appreciated and we look forward to more in the coming weeks and months. Keep up the fantastic work!

    Patrick

    (in reply to TJD)
    Post #: 3
    RE: Coder Diary #1 - Windowed the game engine! - 5/9/2013 3:01:14 AM   
    scottgibson

     

    Posts: 126
    Joined: 1/25/2008
    Status: online
    Bertyo,

    You have been busy. I appreaciate what you have done.

    Scott in Tacoma

    (in reply to wings7)
    Post #: 4
    RE: Coder Diary #1 - Windowed the game engine! - 5/9/2013 8:02:55 AM   
    Crossroads


    Posts: 219
    Joined: 7/5/2009
    Status: online
    Well done Berto! I can appreciate the hard work to just have a starting point. Appreciate your open approach in keeping us users in the loop as well.

    We are in safe hands with you lot :)

    _____________________________

    Gott Mit Uns!
    Blitz callsign Battle Kat

    East Front: Forgotten Battles JTCS EF2 Add-on


    (in reply to scottgibson)
    Post #: 5
    RE: Coder Diary #1 - Windowed the game engine! - 5/9/2013 10:49:19 AM   
    Josh

     

    Posts: 1814
    Joined: 5/9/2000
    From: Leeuwarden, Netherlands
    Status: offline
    Weirdest JTCS I ever saw

    Awesome job Berto.

    (in reply to Crossroads)
    Post #: 6
    RE: Coder Diary #1 - Windowed the game engine! - 5/9/2013 5:13:30 PM   
    mwest


    Posts: 394
    Joined: 7/7/2008
    Status: offline
    Berto:

    Exciting updates to the JTCS game engine!!

    Many thanks!

    I greatly appreciate you keeping JTCS players in the development loop!

    _____________________________

    Regards, - MW

    The Blitz - Wargaming at its Best!

    http://www.theblitz.org/

    (in reply to Josh)
    Post #: 7
    RE: Coder Diary #1 - Windowed the game engine! - 5/9/2013 9:01:16 PM   
    Bigeard


    Posts: 12
    Joined: 12/25/2011
    From: Cambridge U.K.
    Status: offline
    Well done Berto !



    _____________________________



    ( The forum member previously known as Geomitrak )

    (in reply to mwest)
    Post #: 8
    Page:   [1]
    All Forums >> [Current Games From Matrix.] >> [World War II] >> John Tiller's Campaign Series >> Coder Diary #1 - Windowed the game engine! Page: [1]
    Jump to:





    New Messages No New Messages
    Hot Topic w/ New Messages Hot Topic w/o New Messages
    Locked w/ New Messages Locked w/o New Messages
     Post New Thread
     Reply to Message
     Post New Poll
     Submit Vote
     Delete My Own Post
     Delete My Own Thread
     Rate Posts


    Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

    0.125