From a786dd45a4ebc6b91936b5e46d0ef0a9befc05af Mon Sep 17 00:00:00 2001
From: Sergeanur <s.anureev@yandex.ua>
Date: Sun, 2 Aug 2020 19:36:50 +0300
Subject: Move sdk and eax

---
 sdk/rwsdk/include/d3d8/errcore.def | 117 +++++++++++++++++++++++++++++++++++++
 1 file changed, 117 insertions(+)
 create mode 100644 sdk/rwsdk/include/d3d8/errcore.def

(limited to 'sdk/rwsdk/include/d3d8/errcore.def')

diff --git a/sdk/rwsdk/include/d3d8/errcore.def b/sdk/rwsdk/include/d3d8/errcore.def
new file mode 100644
index 00000000..c71eed5a
--- /dev/null
+++ b/sdk/rwsdk/include/d3d8/errcore.def
@@ -0,0 +1,117 @@
+RWECODE(E_RW_BADWINDOW,
+        "Invalid view window dimensions supplied")
+RWECODE(E_RW_CHUNKTYPEGET,
+        "Unable to get a chunk of the given type")
+RWECODE(E_RW_DEVICEERROR,
+        "Device specific error: %s")
+RWECODE(E_RW_DEVICEOPEN,
+        "Request to open device system refused")
+RWECODE(E_RW_DEVICESTART,
+        "Attempt to start Device failed")
+RWECODE(E_RW_ENDOFSTREAM,
+        "At the end of the stream.")
+RWECODE(E_RW_FRAMEDESTROYSTATIC,
+        "RwFrameDestroy called on static frame.")
+RWECODE(E_RW_FRAMEBUFFERMISMATCH,
+        "Resolutions of parent rasters of frame buffer and Z buffer are different")
+RWECODE(E_RW_FREELISTFREED,
+        "Free List value already on the free list")
+RWECODE(E_RW_FREELISTINVADDRESS,
+        "Invalid Free List memory address")
+RWECODE(E_RW_FREELISTINVMEMBOUND,
+        "Invalid Free List memory boundary")
+RWECODE(E_RW_FREELISTTRASH,
+        "An unused Free List entry has been overwritten")
+RWECODE(E_RW_INSUFFICIENTRESOURCES,
+        "Insufficient resources to satisfy the allocation of %d bytes.")
+RWECODE(E_RW_INVSTREAMACCESSTYPE,
+        "Invalid stream access type.")
+RWECODE(E_RW_INVSTREAMTYPE,
+        "Invalid stream type.")
+RWECODE(E_RW_NEGCLIPPLANE,
+        "Negative positioned clip planes are invalid")
+RWECODE(E_RW_NOCAMERA,
+        "Cannot render until a Camera has been created")
+RWECODE(E_RW_NOFRAMEBUFFER,
+        "Camera has no frame buffer raster")
+RWECODE(E_RW_NOPARENT,
+        "The given object has no parent")
+RWECODE(E_RW_RASTERRECT,
+        "Rectangle is not totally within Raster")
+RWECODE(E_RW_RASTERSTACK,
+        "Insufficient Raster stack space available")
+RWECODE(E_RW_RASTERSTACKEMPTY,
+        "No Raster Currently on Stack")
+RWECODE(E_RW_READTEXMASK,
+        "Unable to read Texture %s / Mask %s")
+RWECODE(E_RW_STREAMOPEN,
+        "Unable to open stream : %s")
+RWECODE(E_RW_SYSTEMREQUEST,
+        "A system request call has failed, request code : 0x%x")
+RWECODE(E_RW_ZEROLENGTH,
+        "A Vector of Zero Length was passed for normalizing")
+RWECODE(E_RX_CANNOT_TRANSFER_BETWEEN_NODES,
+        "Node %s cannot output to node %s")
+RWECODE(E_RX_CANNOT_TRANSFER_FROM_NODE_TO_PIPELINE,
+        "Node %s cannot output to specified pipeline")
+RWECODE(E_RX_CYCLICPIPELINE,
+        "Pipeline contains cycles; illegal")
+RWECODE(E_RX_DEP_DEPENDENCIESMISMATCH,
+        "\n"
+        "*** dependencies cannot be satisfied.\n"
+        "*** rxCLREQ_REQUIRED on cluster %s, originating\n"
+        "*** with node %s, not serviced by a rxCLVALID_VALID -\n"
+        "*** blocked at node %s, output #%ld (\"%s\").")
+RWECODE(E_RX_DEP_DUPLICATECLUSTERDEFS,
+        "\n"
+        "*** Node %s specifies RxClusterDefinition for cluster %s more than once in\n"
+        "*** clusters of interest array. Distinct clusters within a pipeline must reference\n"
+        "*** distinct RxClusterDefinitions, even if the clusters contain the same data type\n")
+RWECODE(E_RX_DEP_NULLCLUSTERDEF,
+        "Node %s specified with RxClusterDefinition pointer NULL for cluster of interest %d\n")
+RWECODE(E_RX_DEP_OUTOFMEMORY,
+        "Dependency chasing; memory alloc failed")
+RWECODE(E_RX_EMPTYPIPELINE,
+        "RwPipeline2Execute cannot execute a pipeline with no nodes :)")
+RWECODE(E_RX_FRAGMENTEDPIPELINE,
+        "Pipeline forms two or more unconnected graphs; illegal")
+RWECODE(E_RX_IM3DNOTACTIVE,
+        "Cannot render Im3D primitives outside of a RwIm3dTransform()/RwIm3dEnd() pair")
+RWECODE(E_RX_INVALIDENTRYPOINT,
+        "Pipeline has an invalid entry point")
+RWECODE(E_RX_INVALIDPRIMTYPE,
+        "Unknown primitive type %d")
+RWECODE(E_RX_INVALIDRESUMEPIPELINE,
+        "RwPipeline2Execute cannot resume a different pipeline to the one previously interrupted")
+RWECODE(E_RX_LOCKEDPIPE,
+        "Illegal operation on a locked pipeline")
+RWECODE(E_RX_NODETOOMANYCLUSTERSOFINTEREST,
+        "Node contains more than RXNODEMAXCLUSTERSOFINTEREST clusters of interest; illegal")
+RWECODE(E_RX_NODETOOMANYOUTPUTS,
+        "Node contains more than RXNODEMAXOUTPUTS outputs; illegal")
+RWECODE(E_RX_PIPELINETOOMANYNODES,
+        "Maximum nodes per pipeline exceeded! You may increase the limit by changing the value of _rxPipelineMaxNodes BEFORE starting RenderWare")
+RWECODE(E_RX_NODE_EXECUTION_FAILED,
+        "Node execution failed - %s")
+RWECODE(E_RX_NOVERTS,
+        "Cannot render Im3D primitive - not enough vertices transformed")
+RWECODE(E_RX_PACKETPTRINVALID,
+        "Value of input/output interruption packets pointer not as expected")
+RWECODE(E_RX_PACKETSCOPYFAILED,
+        "Failed to make copies of packets input to RxPipelineExecute()")
+RWECODE(E_RX_RUNFROMNOTVALID,
+        "RunFrom node not a member of the specified pipeline")
+RWECODE(E_RX_RUNTOANDRUNFROM,
+        "RwPipeline2Execute cannot accept both RunTo *and* RunFrom")
+RWECODE(E_RX_RUNTONOTVALID,
+        "RunTo node not a member of the specified pipeline")
+RWECODE(E_RX_TOOMANYVERTS,
+        "More than 65536 vertices passed to RwIm3DTransform; illegal")
+RWECODE(E_RX_UNFINISHEDPIPELINE,
+        "RwPipeline2Execute must resume and finish an interrupted pipeline")
+RWECODE(E_RX_UNLOCKEDPIPE,
+        "Illegal operation on an unlocked pipeline")
+RWECODE(E_RX_UNPROCESSED_PACKETS,
+        "Unprocessed packets found in finished execution context")
+RWECODE(E_RX_UNSATISFIED_REQUIREMENTS,
+        "Cannot send packet between pipelines, requirements not satisfied. Cluster '%s' is missing")
-- 
cgit v1.2.3

