guns4d-cd2025/docs/manual/changelog.html
2025-01-03 19:07:53 -08:00

118 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<!-- Documentation generated by LuaDox: https://github.com/jtackaberry/luadox -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>changelog 1.3.0 - Guns4d</title>
<link href="../prism.css?7653a2d" rel="stylesheet" />
<link rel="stylesheet" href="../luadox.css?7653a2d" type="text/css">
</head>
<body class="manual-changelog">
<div class="topbar">
<div class="group one">
<div class="description"><span>Guns4d | The ultimate 3d gun mod.</span></div>
</div>
<div class="group two">
</div>
<div class="group three">
<div class="button iconright"><a href="../class/gun.html" title="gun"><span>Next</span><img src="../img/i-right.svg?7653a2d" alt=""/></a></div>
</div>
</div>
<div class="sidebar">
<form action="../search.html">
<input class="search" name="q" type="search" placeholder="Search" />
</form>
<div class="sections">
<div class="heading">Contents</div>
<ul>
<li><a href="#changelog_130">changelog 1.3.0</a></li>
</ul>
</div>
<div class="manual">
<div class="heading">Manual</div>
<ul>
<li class="selected"><a href="../manual/changelog.html">changelog 1.3.0</a></li>
</ul>
</div>
<div class="classes">
<div class="heading">Classes</div>
<ul>
<li><a href="../class/gun.html">Gun</a></li>
<li><a href="../class/player_model_handler.html">Player_model_handler.player_model_handler</a></li>
</ul>
</div>
<div class="modules">
<div class="heading">Modules</div>
<ul>
<li><a href="../module/misc_helpers.html">misc_helpers</a></li>
<li><a href="../module/play_sound.html">play_sound</a></li>
<li><a href="../module/Bullet_hole.html">Bullet_hole</a></li>
<li><a href="../module/Control_handler.html">Control_handler</a></li>
<li><a href="../module/Gun-methods.html">Gun-methods</a></li>
</ul>
</div>
</div>
<div class="body">
<div class="manual">
<h1 id="changelog_130">changelog 1.3.0
<a class="permalink" href="#changelog_130" title="Permalink to this definition"></a>
</h1>
<ul>
<li>
<h4>Established Versioning system</h4>
</li>
<li>
<h4>moved the following fields</h4>
<ul>
<li><code>inventory_image_magless</code> -&gt; <code>inventory.inventory_image_magless</code></li>
<li><code>inventory_image_magless</code> -&gt; <code>inventory.inventory_image_magless</code></li>
<li><code>firemode_inventory_overlays</code> - &gt; <code>inventory.firemode_inventory_overlays</code></li>
<li><code>ammo_handler</code> -&gt; <code>subclasses.ammo_handler</code></li>
<li><code>sprite_scope</code> -&gt; <code>subclasses.sprite_scope</code></li>
<li><code>crosshair</code> -&gt; <code>subclasses.crosshair</code></li>
</ul>
</li>
<li>
<h4>create the following classes</h4>
<ul>
<li><code>Part_handler</code>
<ul>
<li>completed (expansion later)</li>
<li>facilitates attachments</li>
</ul>
</li>
<li><code>Physics_system</code>
<ul>
<li>inactive</li>
<li>future implementation for automatic translation</li>
</ul>
</li>
<li><code>Reflector_sight</code>
<ul>
<li>work in progress</li>
<li>simulates a reflector sight with an entity</li>
</ul>
</li>
</ul>
</li>
<li>
<h4>added the following changes to the gun class</h4>
<ul>
<li>made <code>consts</code> and <code>properties</code> proxy tables for protection of data (and reworked the LEEF class lib for this)</li>
<li>created a system for property modification</li>
<li>added <code>subclasses</code> property to replace hardcoded subclasses with modular system</li>
<li>added <code>subclass_instances</code> field (see above). These will be automatically updated if their index is in the subclasses list.</li>
<li>added <code>visuals.attached_objects</code> property to define attached entities</li>
<li>added <code>attached_objects</code> field</li>
<li>made <code>get_pos</code> capable of accounting for animation translations</li>
</ul>
</li>
</ul>
</div>
</div>
<script src="../prism.js?7653a2d"></script>
</body>
</html>