Opened 16 years ago

Closed 16 years ago

Last modified 5 years ago

#8841 closed patch

CinE Script system

Reported by: SF/next_ghost Owned by: sev-
Priority: normal Component: Engine: Cine
Version: Keywords:
Cc: Game:

Description

First version of script system replacement.

This patch includes savegame hack from patch 1870447 and globalVars arithmetic for Operation Stealth. It depends on SharedPtr template from patch 1895703.

New code includes Doxygen descriptions. I've tested this patch by playing Future Wars through the office and swamp to the village and saving and restoring games a few times, it seems to be working correctly. This is the smallest possible change that actually does something.

Ticket imported from: #1913862. Ticket imported from: patches/946.

Attachments (5)

script.patch (135.2 KB ) - added by SF/next_ghost 16 years ago.
Script system replacement
anim.patch (186.4 KB ) - added by SF/next_ghost 16 years ago.
animData class and Operation Stealth fixes
osfix.patch (200.1 KB ) - added by SF/next_ghost 16 years ago.
Some OS improvements
xref.txt (8.0 KB ) - added by SF/next_ghost 16 years ago.
Updated xref file
osfix2.patch (198.8 KB ) - added by SF/next_ghost 16 years ago.
Improved osfix patch

Download all attachments as: .zip

Change History (15)

by SF/next_ghost, 16 years ago

Attachment: script.patch added

Script system replacement

comment:1 by sev-, 16 years ago

Owner: set to sev-

comment:2 by SF/next_ghost, 16 years ago

I almost forgot, here's the xref file for this patch. File Added: xref.txt

by SF/next_ghost, 16 years ago

Attachment: anim.patch added

animData class and Operation Stealth fixes

comment:3 by SF/next_ghost, 16 years ago

New snapshot of CinE changes. This patch includes previous patches, implements new animData class (new animDataTable implementation) and fixes or works around a lot of minor bugs in Operation Stealth. Operation Stealth intro now plays well with some minor artifacts and missing elements. File Added: anim.patch

comment:4 by SF/next_ghost, 16 years ago

Here's the updated xref file. File Added: xref.txt

by SF/next_ghost, 16 years ago

Attachment: osfix.patch added

Some OS improvements

comment:5 by SF/next_ghost, 16 years ago

I've rewritten incrust list to use Common::List, fixed a few things in Operation Stealth and implemented light mask overlay (type 20) rendering. Future Wars compatibility should be bumped to at least 95% after applying this patch and Operation Stealth could be listed with 20% compatibility.

There's still a big problem with incrust list when CT data (additionalBgTable[8]) are being used as background. I don't see any way to tell the difference and rendering incrust elements directly on CT data breaks screen zones in game. One example of this problem is in Operation Stealth intro on the screen with rotating light. File Added: osfix.patch

by SF/next_ghost, 16 years ago

Attachment: xref.txt added

Updated xref file

comment:6 by SF/next_ghost, 16 years ago

Here's the updated xref file. File Added: xref.txt

by SF/next_ghost, 16 years ago

Attachment: osfix2.patch added

Improved osfix patch

comment:7 by SF/next_ghost, 16 years ago

Some formatting improvements, everything else is the same as in the last patch. File Added: osfix2.patch

comment:8 by sev-, 16 years ago

Excellent work! Committed as is.

comment:9 by sev-, 16 years ago

Status: newclosed

comment:10 by digitall, 5 years ago

Component: Engine: Cine
Note: See TracTickets for help on using tickets.