Coder Diary #1 - Windowed the game engine!

John Tiller's Campaign Series exemplifies tactical war-gaming at its finest by bringing you the entire collection of TalonSoft's award-winning campaign series. Containing TalonSoft's West Front, East Front, and Rising Sun platoon-level combat series, as well as all of the official add-ons and expansion packs, the Matrix Edition allows players to dictate the events of World War II from the tumultuous beginning to its climatic conclusion. We are working together with original programmer John Tiller to bring you this updated edition.

Moderators: Jason Petho, Peter Fisla, asiaticus, dogovich

Post Reply
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Coder Diary #1 - Windowed the game engine!

Post by berto »


Coder Diary #1 - Windowed the game engine!


Do your eyes deceive you?

Image

[X(]

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 [8D]

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 ...
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
TJD
Posts: 281
Joined: Sun Jan 06, 2008 2:04 pm

RE: Coder Diary #1 - Windowed the game engine!

Post by TJD »

Magnificent! Thanks for taking the time to keep us informed. This is wonderful!

Best,

Tim
User avatar
wings7
Posts: 4586
Joined: Mon Aug 11, 2003 4:59 am
Location: Phoenix, Arizona

RE: Coder Diary #1 - Windowed the game engine!

Post by wings7 »

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
Please come and join and befriend me at the great Steam portal! There are quite a few Matrix/Slitherine players on Steam! My member page: http://steamcommunity.com/profiles/76561197988402427
scottintacoma
Posts: 192
Joined: Fri Jan 25, 2008 1:15 am

RE: Coder Diary #1 - Windowed the game engine!

Post by scottintacoma »

Bertyo,

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

Scott in Tacoma
User avatar
Crossroads
Posts: 18120
Joined: Sun Jul 05, 2009 8:57 am

RE: Coder Diary #1 - Windowed the game engine!

Post by Crossroads »

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 :)
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
Josh
Posts: 2568
Joined: Tue May 09, 2000 8:00 am
Location: Leeuwarden, Netherlands

RE: Coder Diary #1 - Windowed the game engine!

Post by Josh »

Weirdest JTCS I ever saw [;)]
&nbsp;
Awesome job Berto. [&o]
User avatar
kool_kat
Posts: 558
Joined: Mon Jul 07, 2008 1:10 pm
Location: Clarksville, VA.

RE: Coder Diary #1 - Windowed the game engine!

Post by kool_kat »

Berto: [8D]

Exciting updates to the JTCS game engine!! [:)][:)][:)][:)][:)]

Many thanks!

I greatly appreciate you keeping JTCS players in the development loop! [&o]
Regards, - Mike

"You have to learn the rules of the game. And then you have to play better than anyone else." - Albert Einstein
User avatar
Bigeard
Posts: 39
Joined: Sun Dec 25, 2011 7:27 am
Location: Cambridge U.K.

RE: Coder Diary #1 - Windowed the game engine!

Post by Bigeard »

Well done Berto !

Regards

Paul Kirkland
User avatar
Arkady
Posts: 1261
Joined: Fri May 31, 2002 1:37 pm
Location: 27th Penal Battalion
Contact:

RE: Coder Diary #1 - Windowed the game engine!

Post by Arkady »

update release date ?
windowed mode will be great addition
Image
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: Coder Diary #1 - Windowed the game engine!

Post by junk2drive »

bump1
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
Post Reply

Return to “John Tiller's Campaign Series”