Skip to content
  • V4.1.0
  • 441ef49
  • Compare
    Choose a tag to compare
    Search for a tag
  • V4.1.0
  • 441ef49
  • Compare
    Choose a tag to compare
    Search for a tag

@Brett208 Brett208 released this Feb 10, 2020

Version 4.1.0

Version 4.1.0 focuses on improving internal library implementation and C++ standards compliance. A few minor enhancements are made in OP2Helper including a BuildingBays enum. the constant AllPlayers in Outpost2DLL is now deprecated and should be replaced by PlayerNum::PlayerAll. Targeting a specific version of the Windows SDK was removed from all three major libraries.

Outpost2DLL

  • Bug: Fix documentation of RecordVehReinforceGroup to prevent a hanging bug within Outpost2.exe
  • Add a readme
  • Deprecate AllPlayers constant (Use PlayerNum::PlayerAll instead)
  • Improve C++ standards compliance and readability of source code
  • Clearly forward declare dependence on DirectX IDirectDraw
  • Improve comments on UnitClassifications enum and typedef
  • Improve implementation of internal headers

OP2Helper

  • Add a readme
  • Add function CenterViewOn
  • Represent building bays as an enum

HFL

  • Improve Readme
  • Improve example level code to prevent save/load bug and use modern features of Outpost2DLL
  • Improve C++ standards compliance and readability of source code
  • Remove excessive internal casting
Assets 2
  • ver4.0.0
  • 15a08f9
  • Compare
    Choose a tag to compare
    Search for a tag
  • ver4.0.0
  • 15a08f9
  • Compare
    Choose a tag to compare
    Search for a tag

@Brett208 Brett208 released this May 6, 2019 · 8 commits to master since this release

Version 4.0.0

This release is a rollup of minor changes to the 3 subprojects. Contains breaking changes by removing deprecated functionality. If deprecated features are not in use, should be a drop-in upgrade. The macro ExportLevelDetailsEx in Outpost2DLL is now considered deprecated and should be replaced in new projects.

Outpost2DLL
  • Add comments to TethysGame::AddMessage explaining location agnostic messages work
    • Recommend using OP2Helper AddGameMessage family instead of TethysGame::AddMessage
  • Improve comments and argument names when using function SetEMPMissile
  • Add AiModDescEx struct
    • Required when using an AI controlled player in multiplayer scenarios
  • Replace macro ExportLevelDetailsEx with ExportLevelDetailsFull
    • Deprecate macro ExportLevelDetailsEx
    • ExportLevelDetailsFull is a more appropriate name for macro based on what it exports.
  • Add ExportLevelDetailsFullEx macro
    • Incorporates new AiModDescEx struct and can be used to add AI players in multiplayer scenarios without manually exporting the AiModDescEx struct.
  • Remove previously deprecated portions of RequiredExports.h
    • If previously using the macro SCRIPT_API, the macro Export is a drop-in replacement
  • Mark exported data in RequiredExports.h as const
  • Add dummy file Outpost2DLL.cpp to allow compiling Outpost2DLL standalone (running compiler checks)
OP2Helper
  • Ease recording tube and wall lines to building groups
  • Deprecate CreateTubeOrWallLine function
    • Replace with instance functions CreateTubeLine, CreateWallLine, CreateLavaWallLine, and CreateMicrobeWallLine
  • New AddGameMessage function family
    • Simplifies calls to add messages compared to TethysGame::AddMessage
    • Hides const conversion warnings created by TethysGame::AddMessage when using stricter compiler settings
  • Add global operator overloads for LOCATION==, LOCATION!=, LOCATION+=, and LOCATION-=
  • Simplify Visual Studio project settings
  • Remove BaseBuilderV2
HFL
  • Fix incorrectly formatted include guard in TriggerEx.h
  • Simplify Visual Studio project configuration settings
Assets 2
You can’t perform that action at this time.