Skip to content

Commit

Permalink
Merge pull request #103 from muczc1wek/dev
Browse files Browse the repository at this point in the history
C_MENU_ITEM daedalus class article and LeGo social cards
  • Loading branch information
auronen authored Feb 9, 2024
2 parents 9821b71 + f06b3de commit 271c8db
Show file tree
Hide file tree
Showing 27 changed files with 853 additions and 0 deletions.
765 changes: 765 additions & 0 deletions docs/zengin/scripts/classes/c_menuitem.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/bars.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Bars
description: LeGo package for creating new status bars
---
# Bars
This package makes it very easy to add new bars, for e.g. stamina.

Expand Down
1 change: 1 addition & 0 deletions docs/zengin/scripts/extenders/lego/applications/bars.pl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Bars
description: Pakiet LeGo do tworzenia nowych pasków statusu
---
# Bars - paski
Ten pakiet bardzo ułatwia dodawanie nowych pasków, dla wyświetlania np. wytrzymałości.
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/buffs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Buffs
description: LeGo package allowing to create status effects and apply them on NPCs
---
# Buffs
This package allows you to easily create status effects that can affect any NPC.
Status effects on the hero are displayed graphically in a bar.
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/buttons.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Buttons
description: LeGo package for creating buttons that reacts to mouse
---
# Buttons
This package extends the handling of the mouse and allows creating rectangular buttons, which react to mouse (hover) entry and exit as well as a mouse click.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Console Commands
description: LeGo package allowing the registering of new console commands
---
# Console Commands
This package allows you to create new console commands.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Console Commands
description: Pakiet LeGo umożliwiający rejestrację nowych poleceń konsoli
---
# Console Commands - polecenia konsoli
Ten Pakiet pozwala na tworzenie nowych poleceń konsoli dostępnej po naciśnięciu klawisza F2 w trybie marvin.
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/cursor.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Cursor
description: LeGo package implementing in-game mouse cursor support
---
# Cursor
This package implements Gothic in-game mouse cursor support. To visually display the cursor there is a `Cursor.tga` file in the resources, but the texture can be changed in [user constants](../various/userconstants.md#cursor-1).

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/focusnames.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Focusnames
description: LeGo package that change NPCs/Object's focus name color based on its attitude
---
# Focusnames
This package colors the focus names of the NPCs in appropriate colors according to the behavior defined below (alpha values are taken into account). Also affects monsters. (Mobs/Items get Color_Neutral)

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/names.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Names
description: LeGo package for changing NPCs display name during the game
---
# Names
Allows the user to change NPC name e.g. after he shows up.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/render.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Render
description: LeGo package for rendering items on a screen
---
# Render
With this package items can be rendered on the screen. Since items are rendered independently of the normal views, textures that are 'below' the items must also be managed by this package, this behaviour is managed by the priority system. The view with the highest priority is always rendered first, so it is at the bottom. In theory, any .3DS model can be rendered if you just create a suitable item script.
## Dependencies
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/applications/saves.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Saves
description: LeGo package offering open data stream to the game save file
---
# Saves
Offers an open file stream that can read/write variables on save/load. It is used by [PermMem](../tools/permmem.md), so you don't need to address it manually anymore.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/hook_engine.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: HookEngine
description: LeGo package for hooking engine functions
---
# HookEngine
This package allows you to hook anywhere in an engine function to run your own Daedalus code.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/int64.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Int64
description: LeGo package implementing 64 bit integer support
---
# Int64
Int64 implements basic arithmetic for 64-bit integers based on machine code (hence the function signatures are also in machine code style). Furthermore, Int64 offers the constructor `int64@` for Int64 objects, but mk64 expects a pointer, not a handle.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/item_helper.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: ItemHelper
description: LeGo package that makes changing `C_ITEM` instance to `oCItem` pointer possible
---
# ItemHelper
This package is very simple - it retrieves a `oCItem` pointer from an `C_ITEM` instance valid for the current world and session.

Expand Down
1 change: 1 addition & 0 deletions docs/zengin/scripts/extenders/lego/tools/item_helper.pl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: ItemHelper
description: Pakiet LeGo umożliwiający zmianę instancji `C_ITEM` na pointer `oCItem`
---
# ItemHelper - pomocnik do przedmiotów
Ten pakiet jest bardzo prosty - pobiera wskaźnik `oCItem` z instancji `C_ITEM` ważnej dla bieżącego świata i sesji.
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/list.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: List
description: LeGo package implementing `zCList` and `zCListSort` data types handling
---
# List
The List package is a collection of functions designed to simplify the handling of `zCList` and `zCListSort` lists in daedalus. It offers a range of functions for creating, manipulating, and querying lists.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/locals.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Locals
description: LeGo package adding true local variables and final clause
---
# Locals
Daedalus doesn't offer any local variables, which can quickly lead to problems with recursive functions. The Locals package allows variables to be saved temporarily on a pseudo-stack.
Locals is a very specific package. People who work normally with Daedalus will probably never need it.
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/permmem.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: PermMem
description: LeGo package implementing automatic instances saving and loading
---
# PermMem
PermMem is a powerful package that allows classes (or instances) to be used permanently even after loading or restarting by saving them to the ASCII `.ZEN` archive in the savegame directory. PermMem manages handles that are used to access instances, and provides various functions to manipulate these handles and instances.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/queue.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Queue
description: LeGo package implementing queue data structure
---
# Queue
This package is an implementation of the Queue data structure and a queue for function calls.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/random.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Random
description: LeGo package providing a better alternative for a `Hlp_Random()` function
---
# Random
Provides more random randomization than `Hlp_Random()` function.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/talents.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Talents
description: LeGo package providing an extension for AIVar array
---
# Talents
The Talents package does two things:

Expand Down
1 change: 1 addition & 0 deletions docs/zengin/scripts/extenders/lego/tools/talents.pl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Talents
description: Pakiet LeGo zapewniający rozszerzenie dla tablicy AIVar
---
# Talents - talenty
Ten pakiet robi dwie rzeczy:
Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/timer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Timer
description: LeGo package for better game timer handling
---
# Timer
Timer is a better alternative to the timers that Gothic offers. The [FrameFunctions](frame_functions.md) and [Anim8](../applications/anim8.md) packages are already based on it. It isn't possible to modify the current time, as this would only cause difficulties.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/tools/view.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: View
description: LeGo package for `zCView` handling in daedalus
---
# View
This package can create textures on the screen and work with them in an extended manner.

Expand Down
4 changes: 4 additions & 0 deletions docs/zengin/scripts/extenders/lego/various/userconstants.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: User constants
description: LeGo package user-configurable constants description
---
# User constants
All constants that the user can either use or even change freely are defined in [Userconst.d](https://github.com/Lehona/LeGo/blob/dev/Userconst.d) file.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 271c8db

Please sign in to comment.