[Pkg-pascal-devel] Castle Game Engine 6.0 release in Debian

Paul Gevers elbrus at debian.org
Sun Mar 12 19:40:03 UTC 2017


Hi Michalis,

On 12-03-17 20:18, Paul Gevers wrote:
>> I hope that this information will be useful when packaging new version
>> of Castle Game Engine and view3dscene in Debian. Please ask if
>> anything is unclear, or could be done better upstream:)
> 
> ...

One other thing. I try to generate the files in
auto_generated_node_helpers, but when I run the following

paul at testavoira
~/packages/freepascal/castle-game-engine/src/x3d/nodes_specification/generate_x3d_nodes_helpers
$ ./generate_x3d_nodes_to_pascal ../components/*.txt

I don't get all the files that I removed in that directory. Also, some
have different content. Do I miss something here?
paul at testavoira ~/packages/freepascal/castle-game-engine $ git status
On branch experimental
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:
src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_blendmode.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_colorsetinterpolator.inc
        deleted:    src/x3d/auto_generated_node_helpers/x3dnodes_effect.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_effectpart.inc
        modified:
src/x3d/auto_generated_node_helpers/x3dnodes_extrusion.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_generatedshadowmap.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_kambiappearance.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_kambiheadlight.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_kambiinline.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_kambinavigationinfo.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_kambioctreeproperties.inc
        deleted:    src/x3d/auto_generated_node_helpers/x3dnodes_logger.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_multigeneratedtexturecoordinate.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_projectedtexturecoordinate.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_renderedtexture.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_screeneffect.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_shadertexture.inc
        deleted:    src/x3d/auto_generated_node_helpers/x3dnodes_teapot.inc
        deleted:    src/x3d/auto_generated_node_helpers/x3dnodes_text3d.inc
        deleted:    src/x3d/auto_generated_node_helpers/x3dnodes_toggler.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_vectorinterpolator.inc
        modified:
src/x3d/auto_generated_node_helpers/x3dnodes_x3dcomposedgeometrynode.inc
        deleted:
src/x3d/auto_generated_node_helpers/x3dnodes_x3dprototypeinstance.inc

no changes added to commit (use "git add" and/or "git commit -a")

E.g.
paul at testavoira ~/packages/freepascal/castle-game-engine $ git diff
src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
diff --git a/src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
b/src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
index 6283b9f..bcc5eaa 100644
--- a/src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
+++ b/src/x3d/auto_generated_node_helpers/x3dnodes_appearance.inc
@@ -25,14 +25,6 @@

 {$ifdef read_interface}

-  private
-    function GetShadowCaster: boolean;
-    procedure SetShadowCaster(const Value: boolean);
-    function GetHeightMapScale: Single;
-    procedure SetHeightMapScale(const Value: Single);
-  public
-    property ShadowCaster: boolean read GetShadowCaster write
SetShadowCaster;
-    property HeightMapScale: Single read GetHeightMapScale write
SetHeightMapScale;

 {$endif read_interface}

@@ -40,24 +32,4 @@

 { TAppearanceNode ----------------------------------------------- }

-function TAppearanceNode.GetShadowCaster: boolean;
-begin
-  Result := FdShadowCaster.Value;
-end;
-
-procedure TAppearanceNode.SetShadowCaster(const Value: boolean);
-begin
-  FdShadowCaster.Send(Value);
-end;
-
-function TAppearanceNode.GetHeightMapScale: Single;
-begin
-  Result := FdHeightMapScale.Value;
-end;
-
-procedure TAppearanceNode.SetHeightMapScale(const Value: Single);
-begin
-  FdHeightMapScale.Send(Value);
-end;
-
 {$endif read_implementation}

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20170312/684c2091/attachment.sig>


More information about the Pkg-pascal-devel mailing list