Bladeren bron

meshviewer files name straightening

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 jaren geleden
bovenliggende
commit
ab3a16fb91
10 gewijzigde bestanden met toevoegingen van 37 en 21 verwijderingen
  1. +0
    -0
      test/easymeshdictionnary.js
  2. +0
    -0
      test/meshviewer.em.html
  3. +16
    -10
      test/meshviewer.index.html
  4. +1
    -1
      test/meshviewer.nacl.html
  5. +0
    -0
      test/meshviewer.nacl.nmf
  6. +20
    -9
      test/meshviewer.vcxproj
  7. +0
    -0
      test/naclloading.js
  8. +0
    -0
      test/progressstatus.js
  9. +0
    -1
      test/scenesetupdictionnary.js
  10. +0
    -0
      test/typedictionnary.js

test/easy_mesh_dictionnary.js → test/easymeshdictionnary.js Bestand weergeven


test/meshviewer_em.html → test/meshviewer.em.html Bestand weergeven


test/meshviewer_index.html → test/meshviewer.index.html Bestand weergeven

@@ -125,21 +125,27 @@ function machinchose() { return 'test machin '; }
function GetiFrameDivEmbed() { return (!g_frame_embed) ? (null) : (g_frame_embed.contentWindow.GetDivEmbed()); }
function GetiFrameModuleVar() { return (!g_frame_embed) ? (null) : (g_frame_embed.contentWindow.GetEmbedModule()); }
function IsUsingNaCl() { return window.chrome; }
function GetCmdDictionnary() { return CodeDictionnary[g_code_id]; }
</script>

<script src="./utils.js"></script>
<script src="./progress_status.js"></script>
<script src="./type_dictionnary.js"></script>
<script src="./progressstatus.js"></script>
<script type="text/javascript">
CodeDictionnary[0] = new TypeDictionnary("EasyMesh");
//Used by typedictionnary.js
function GetCmdDictionnary() { return CodeDictionnary[g_code_id]; }
g_code_id = 1;
</script>
<script src="./easy_mesh_dictionnary.js"></script>
<script src="./typedictionnary.js"></script>
<!-- Init Scene setup dictionnary -->
<script type="text/javascript">
g_code_id = 1;
CodeDictionnary[1] = new TypeDictionnary("EasyMesh");
CodeDictionnary[g_code_id--] = new TypeDictionnary("SceneSetup");
</script>
<script src="./scenesetup.js"></script>
<!-- Init Easy mesh dictionnary -->
<script type="text/javascript">
CodeDictionnary[g_code_id] = new TypeDictionnary("EasyMesh");
</script>
<script src="./easymeshdictionnary.js"></script>
<!-- Revert datas to normal -->
<script type="text/javascript">
g_code_id = 0;
</script>
@@ -202,11 +208,11 @@ function machinchose() { return 'test machin '; }
//NaCl Specific
if (IsUsingNaCl())
{
DynLoadFile("nacl_loading.js");
g_frame_embed.src = 'meshviewer_nacl.html';
DynLoadFile("naclloading.js");
g_frame_embed.src = 'meshviewer.nacl.html';
}
else
g_frame_embed.src = 'meshviewer_em.html';
g_frame_embed.src = 'meshviewer.em.html';

g_frame_embed.onload = function() { VarInit(); }


test/meshviewer_nacl.html → test/meshviewer.nacl.html Bestand weergeven

@@ -8,7 +8,7 @@ function GetEmbedModule() { return document.getElementById('id_embed_nacl_modu
if (parent.IsUsingNaCl()) parent.NaClLoadingInit();
</script>
<div id="id_div_embed_data" style="left:0px;top:0px;position:absolute;">
<embed name="name_embed_nacl_module" id="id_embed_nacl_module" width=770 height=200 src="meshviewer_nacl.nmf" type="application/x-nacl" />
<embed name="name_embed_nacl_module" id="id_embed_nacl_module" width=770 height=200 src="meshviewer.nacl.nmf" type="application/x-nacl" />
</div>
</body>
</html>

test/meshviewer_nacl.nmf → test/meshviewer.nacl.nmf Bestand weergeven


+ 20
- 9
test/meshviewer.vcxproj Bestand weergeven

@@ -64,29 +64,40 @@
<None Include="data\mesh-buffer.txt">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</None>
<None Include="easy_mesh_dictionnary.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="generated\location.hh" />
<None Include="generated\position.hh" />
<None Include="generated\scenesetup-parser.output" />
<None Include="generated\stack.hh" />
<None Include="meshviewer_index.html">
<None Include="meshviewer.index.html">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="meshviewer_nacl.html">
<None Include="meshviewer.nacl.html">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="meshviewer_nacl.nmf">
<None Include="meshviewer.em.html">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="nacl_loading.js">
<None Include="meshviewer.nacl.nmf">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="progress_status.js" />
<None Include="scenesetup-parser.y" />
<None Include="scenesetup-scanner.l" />
<None Include="type_dictionnary.js">
<None Include="easymeshdictionnary.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="naclloading.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="progressstatus.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="utils.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="scenesetupdictionnary.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
<None Include="typedictionnary.js">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</None>
</ItemGroup>


test/nacl_loading.js → test/naclloading.js Bestand weergeven


test/progress_status.js → test/progressstatus.js Bestand weergeven


test/scenesetup.js → test/scenesetupdictionnary.js Bestand weergeven

@@ -1,7 +1,6 @@
//-------------------------------------------------------------------------
//Command vars operations
//-------------------------------------------------------------------------
CmdVar("[ ]", ["Opens a new context,\nevery operations between the braces\nwill only be done to the vertices added\nsince the start of this context."]);
CmdVar("float", ["Fraction value", "0.0"]);
CmdVar("int", ["No decimal value", "0"]);
CmdVar("bool", ["Boolean value", "true/false", "1/0"]);

test/type_dictionnary.js → test/typedictionnary.js Bestand weergeven


Laden…
Annuleren
Opslaan