瀏覽代碼

meshviewer files name straightening

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 年之前
父節點
當前提交
ab3a16fb91
共有 10 個文件被更改,包括 37 次插入21 次删除
  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 查看文件


test/meshviewer_em.html → test/meshviewer.em.html 查看文件


test/meshviewer_index.html → test/meshviewer.index.html 查看文件

@@ -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 查看文件

@@ -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 查看文件


+ 20
- 9
test/meshviewer.vcxproj 查看文件

@@ -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 查看文件


test/progress_status.js → test/progressstatus.js 查看文件


test/scenesetup.js → test/scenesetupdictionnary.js 查看文件

@@ -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 查看文件


Loading…
取消
儲存