Recent Posts

Pages: [1] 2 3 ... 10
1
Projects / Re: Ongoing NetFix work
« Last post by Vagabond on Today at 01:10:48 PM »
Just wanted to post a quick update.

The server and client projects have not been merged yet, but a lot of refactoring has continued in NetFixClient. Most of the refactoring has centered around breaking up larger functions into smaller chunks. A couple of the functions were around 270 lines of code with embedded switch statements and further logic statements inside the switch statements. By pulling out code within the switch statements and pushing it into subfunctions, I think it is easier to review what the switch statement is up to.

Several enums have been switched over to the newer enum class (scoped enum), which I think also improves readability.

The logging and debug code has been partially cleaned and fully integrated into op2ext, which will unify netfix's reporting with other modules. There is still work to improve readability of the logged information and possibly remove some of it.

Lastly, the first UI tooltip was added to describe the multiple uses of the ServerAddress combo box. This was probably my first contribution that involved legitimate new win32 code instead of refactoring.

There are several sections I have in mind for similar general refactoring. I was hoping to start working on more tangible improvements, but they may have to wait a while longer.

A lot of the refactoring is just fact of life to start using newer C++ features that didn't exist when NetFix was originally written, such as enum classes, nullptr keyword, std::array, std::vector, static_cast, etc. I'm also trying to favor non Windows specific solutions if there is a standard library solution that is equitable.

-Brett
2
News / Re: The Blight is Approaching!
« Last post by lordpalandus on March 25, 2020, 02:08:49 AM »
Perhaps, but apparently Coronavirus can survive on metal or plastic surfaces for three days. So you better purify everything when you open said airlock.
3
News / Re: The Blight is Approaching!
« Last post by Hooman on March 24, 2020, 09:00:44 PM »
Stay safe everyone.

At least this microbe can't eat through airlocks. No evacuation transports required. (And at this point, they're certainly not recommended).

4
News / Re: The Blight is Approaching!
« Last post by leeor_net on March 24, 2020, 04:54:28 PM »
Hah!...

That stated... the US has surpassed 50,000 cases. We're on ordered shelter at home status in Ohio... we shall see how this continues.  :o
5
News / Re: The Blight is Approaching!
« Last post by Hooman on March 24, 2020, 04:23:51 AM »
Umm, I suppose it depends a little on which colony you live in.  :-\

 :'(
6
News / Re: The Blight is Approaching!
« Last post by Highlander on March 24, 2020, 02:18:07 AM »
 ;D

Now which Mission Video would be playing ?

This:

OR
This:
7
News / The Blight is Approaching!
« Last post by Hooman on March 24, 2020, 02:02:31 AM »
... oh come on, someone had to say it  ;)
8
Outpost 2 Mapper / Re: OP2 Mapper problems
« Last post by Sirbomber on March 22, 2020, 02:54:57 PM »
The .map file is just the physical terrain.  Although the mapper lets you place units, that's just a convenience for mission developers working in C++.  Since scenario files are compiled DLL files, it's impossible to make non-trivial edits to them.  If you're interested in creating your own missions, there are some useful resources on the wiki.  I wrote some tutorials that require no previous technical experience that you might also enjoy.
9
Outpost 2 Mapper / OP2 Mapper problems
« Last post by TheArchitect on March 22, 2020, 12:54:36 PM »
Hey guys, i'm kinda new here but i played Outpost 2 a lot when i was youger  ;D

About the OP2 mapper.. why do i have to close and re-open it eveytime i extract/replace a map ?
Also, i've been making changesto the map for the Colony game "Eden starship" (cm03.map) and the changes i make
to the tiles (bitmap and type) works, but when i try to add general items (like a common or rare ore bar) on the map,
it doesn't show up in the game... is there a reason for this ?

Thanks for your time,
TheArchitect
10
Introductions / Re: Anyone remember Ryuma or YellowPanther?
« Last post by Highlander on March 22, 2020, 01:53:46 AM »
Talking about a blast from the past.. Hows it going Ril ?
Pages: [1] 2 3 ... 10