What the ETA for the next release of the engine?

What the ETA for the next release of the engine?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

What the ETA for the next release of the engine?

Post by Super Mario »

So that people know when to make the changes before the new engine goes up.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: What the ETA for the next release of the engine?

Post by hoijui »

All changes i can think of are backwards compatible (at least for games).
I hope you have already seen this thread.

Thus the logic is, do the changes now, release new version, let people know about this new version in the above mentioned thread.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: What the ETA for the next release of the engine?

Post by Licho »

Well thats not entirely true there are always minor breaking issues. Several ZK commits deal with them in preparation to release (something with categories, something with lua not detecting pylons correctly, game end).

Anyway heads up would be nice .. to upgrade springies etc.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: What the ETA for the next release of the engine?

Post by hoijui »

so.. you had to write extra code to make ZK work with both release and master/testing release?
maybe explain what you had to do in the other thread then, so others can profit.

The whole idea is, to make releasing so smooth a process, that nobody will feel much pressure at release time (release manager, engine devs, game devs, lobby-client and -server devs, autohost maintainers, users). over sooner or longer, game devs will probably have to make their games work with multiple versions anyway, when we have multi version support well established.
If it is well established one day, you may wait until after an engine release, till you start adapting. even though we would always need some up to date games for testing dev versions aswell, of course.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: What the ETA for the next release of the engine?

Post by FLOZi »

hoijui wrote:All changes i can think of are backwards compatible (at least for games).
It depends how strictly you interpret backwards compatibility (i.e. stuff that will work without any changes on our end, stuff that can be made to work under both versions using version checks etc):

https://github.com/spring/spring/commit ... 387bbb64d5

Unitdef tag change is, name of command available in lua isn't.

Spring.SetUnitLineage is removed entirely.

The arguments to Spring.SetUnitPieceCollisionVolumeData have changed.

The array .n change is backwards compatible in the way that we can fix it now and work in both versions, but it still requires us to know to fix it. A similar thing can be said for inclusion of the game ending gadget, etc.


N.B. None of this is meant as a complaint as I am in favour of all these changes (well the Spring.SUPCVD change is annoying but I know jk has valid reasons for it :wink: ).
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: What the ETA for the next release of the engine?

Post by smoth »

Spring.SUPCVD
?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: What the ETA for the next release of the engine?

Post by Kloot »

name of command available in lua isn't.
Yes it is, because:

Code: Select all

LuaInsertDualMapPair(L, "DGUN", CMD_MANUALFIRE);
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: What the ETA for the next release of the engine?

Post by FLOZi »

Ah sorry, didn't catch that. :-)

@Smoth; SetUnitPieceColVolData
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: What the ETA for the next release of the engine?

Post by smoth »

ah cool

how are you guys doing old <-> new compatibility for game ends?
Right now it is an engine option we are changing it to a mod option. Gundam does not use the engine option lua included with spring because it includes many ta-isms that don't apply to gundam.

Other projects are probably the same so how are you handling it?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: What the ETA for the next release of the engine?

Post by hoijui »

FLOZi wrote:The array .n change is backwards compatible in the way that we can fix it now and work in both versions, but it still requires us to know to fix it. A similar thing can be said for inclusion of the game ending gadget, etc.
That is the definition of of a backwards compatible change, so it is not in a way.
but thanks for listing up some stuff again, can't hurt! :-)

could you please explain roughly what to do for Spring.SetUnitPieceCollisionVolumeData in the other thread? i'd then link your post in the first post of that thread.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: What the ETA for the next release of the engine?

Post by FLOZi »

It is, 'in a way'. Kloots DGun engine changes are fully backwards compatible - nothing has to change game side to accommodate them. That's the distinction I was trying to make. As I see it there are three levels:

BC1. Engine change, no game change required
BC2. Engine change, game change required but works with current spring
BC3. Engine change, games change required that will not work with current version, you must use version checks if you want to run the game under both engine versions.

But if you count 3 as 'backwards compatible', then surely there are never (or perhaps merely extremely rarely) any non-backwards compatible changes :P


https://github.com/spring/spring/commit ... 3#comments

Arguments 3, 4, 6 are now ignored, so the code is backwards compatible (BC1) - but if you were relying on the effect of those arguments (they make the change apply to all future units with the same model) you will have to change the logic of your code (call for each individual unit as needed), so its BC3. AFAIK, though, this only affects S44. Don't know of any other mod using piece collision volumes (except BTL), but I may be wrong.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: What the ETA for the next release of the engine?

Post by smoth »

I figured we were largely bc2? a lot of shit has the .n stuff.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: What the ETA for the next release of the engine?

Post by FLOZi »

I was meaning that individual changes can be BC1, BC2, BC3 or even some combination thereof depending on the game. The .n change is BC2 for sure. :-)
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: What the ETA for the next release of the engine?

Post by zwzsg »

smoth wrote:how are you guys doing old <-> new compatibility for game ends?
Right now it is an engine option we are changing it to a mod option. Gundam does not use the engine option lua included with spring because it includes many ta-isms that don't apply to gundam.

Other projects are probably the same so how are you handling it?
I have a game_over.lua gadget with:

Code: Select all

         if not Spring.GameOver then
            gadgetHandler:RemoveGadget()
            return
        else
Also, I have had for a long time a EngineOptions.lua with { key = 'gamemode',
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: What the ETA for the next release of the engine?

Post by hoijui »

ahhh, i see where the confusion came from now, thanks for clarifying. :-)

when we are talking about adapting games to work with master,
it makes no sense to even think of BC1. therefore, and as we are talking about adapting games to the engine here, i mean changes in games when i talk about changes. BC1 is irrelevant for the discussion, BC2 is a backwards compatible change (in games), and BC3 is a non (easily) backwards compatible change (in games).
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: What the ETA for the next release of the engine?

Post by zwzsg »

hoijui wrote:All changes i can think of are backwards compatible (at least for games).
No, they are not.

However, games can be made forward compatible.
Post Reply

Return to “Engine”