aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - RogerBennett

Pages: [1]
1
Programming / #include <algorithm> usage
« on: February 13, 2016, 04:33:23 pm »

Guys, I've had to include <algorithm> to a bunch of files for min, max, transform, foreach.
Have I missed a trick?
How does this work for anybody else?

2
Programming / Mods and code changes.
« on: February 12, 2016, 03:20:12 pm »
Hi guys.
I'm interested in making some mods, and it'll need some code changes to support them.

There are easy things like adding buildable corridors in the basescape, and adding some new rooms and vehicles, but actually I'm thinking about replacing the basescape renderer first.

I downloaded the source last night and Codewise it's not too big a task. Its an alternate BaseView class. I'm not sure if BasescapeState will have to change, beyond switching to instantiate a particular BaseView - The discussion on if this should be done in the CTOR, by injection or by factory injection is irrelevant right now - I'm just trying to learn about the project to start with.

What is the process for a change like this?
e.g. If I made BaseView an abstract class and moved the current implementation into a derived BaseViewReference class and then derived my own BaseView subclass with alternate rendering - is this the sort of change I submit and post an FYI thread about or is it the sort of thing I should start a discussion thread about first ?

The more flexible base renderer will help me support mods I'm thinking of - Garages & LandRangers, larger bases, overground bases, bases with unbuildable areas around them - fields, caves, coastlines, or civilian structures.

Pages: [1]