Commit Graph

779 Commits

Author SHA1 Message Date
dvdvideo1234
df439b4040 Factorized: Language and translation code handler 2019-01-22 17:42:27 +02:00
dvdvideo1234
f3fd14a29c Updated: Place SetRenderMode before SetColor and localize minor things 2019-01-22 14:34:37 +02:00
Deyan Dobromirov
8cd5e8e3d9
Added: Radial menu gunctionality in GUI mode (#10)
Fixed: Faulty 2D rotation due to the location of {0,0} at the left top corner
Fixed: Radial menu. Added Y negation after every 2D rotation
Fixed: All rectangle drawing is now bounded to position/size
Fixed: The texture not being pre-cached and generated every frame
Fixed: Some screen OOP functions not returning self
Fixed: Textured rectangles rotation is now correct using degrees
Fixed: Performance issue material created every frame
Fixed: documentation of Lua external database generation script
Fixed: pieces managed better comment origin/angle
Fixed: Run-time error Attempt to index a nil value on drawing ghosts stack
Added: Radial menu factorization
Added: Rotated rectangle using second argument angle of rotation
Added: The screen OOP is now able to draw text centrally in XY
Added: Rectangle rotation is done in radians by internal conversion
Changed: The hash of the working mode container CONTAINER_WORKING
Changed: Ghost updater is now linked to the Think hook client-side
Updated: Radial menu center textures to squares that can be rotated
Updated: Menu divider loop
Removed: local size reference vector
Removed: Usage of /AddControl/ as it is deprecated in the documentation
2019-01-22 14:21:03 +02:00
dvdvideo1234
f4edbd2964 Fixed: Point snap assist origin is scaled by player distance ratio
Fixed: Position offsets are used relative to the base coordinate system
Fixed: Intersection relation uses closest origin as intended
Fixed: Base coordinate system to origin coordinate system distance is now drawn
Fixed: HUD vector relations not drawn correctly
Added: Radial menu to the bind press hook
Added: Retrieving angle of 2D vectors
Removed: Hashing of intersection starting with `ray_`
2019-01-10 00:01:12 +02:00
dvdvideo1234
c0b92f06e4 Fixed: Pre-commit hook does not find script version 6.X
Added: Ability to extract basis transform (stSpawn.B[Pos/Ang])
Added: Control coordinate system size via the console
Added: Publish the workshop the last log commit message from GIT
Optimized: Coordinate systems drawing
2019-01-08 13:46:57 +02:00
Deyan Dobromirov
be8ac05934 Fixed: Console variable flag FCVAR_ARCHIVE_XBOX is intended for XBOX but it is not found in an XBOX system
[Track Assembly Tool] lua/autorun/trackassembly_init.lua:51: bad argument #2 to 'bitBor' (number expected, got nil)
1. bitBor - [C]:-1
2. unknown - lua/autorun/trackassembly_init.lua:51
2019-01-07 11:25:21 +02:00
Deyan Dobromirov
1444346957
Merge matrix POA in the main master branch (#9)
Added: Matrix-based spawn interpolation
Removed: Component status
Added: dedicated file translations
Added: Usage of `IsEmptyString` primitive
Improved: Readability of `InitLocalify`
Added: Dynamically allocated and maintained ghosts stack
Updated: Ghosting control on stacking using ghost and stack counts client-side
Fixed: translation fail to be loaded properly
Removed: Max ghosts as it is not needed
Removed: SetLocalify as it is not needed on multiple translations
Added: Japanese translation by Petar Dimov
Added: Panel rebuild when language is changed
Fixed: Ghosting model and language update
Added: Saving client memory by removing ghosts
Updated: Ghosts stack
Added: OOP Query builder
Added: Timer management as a SQL builder methods
Removed: `StatusPrint` do to log tail call unable to locate the trace stack
Replaced `IsExistent` with `IsHere` as it's shorter
TODO: Replace also StatusLog() .... Crap !
Removed: Call tails generated by `StatusLog`
Updated: directory paths default to `/`
Added: Function call prefix for the table objects
Added: Dynamic stack function extraction on logging
Added: Memory manager timer definition update callback
Removed: IF-s on export DSVs
Fixed: Store processed timers setting into the command pool
Added: Trigger functionality ( Module factorization )
Factorized: SynchronizeDSV
Added: Insert record data triggers
Added: Builder string strip functionality
Added: String strip as primitive
Added: Query builder search for column name
Added: Header standard for exporting functions
Removed: Table definition SQL settings dedicated to `SynchronizeDSV`
Added: POA local object indexes uses instead of type check
Added: StringPOA factorization
Fixed: POA Manager run time
Removed all hard-coded function names from logging library
Updated: LogInstance with higher priority for log source prefix
Added: Check for missing table definition
Added: Tool script logs trace functions names
Updated: Assembly logging
Fixed: Table builder indexes concatenation run-time
Updated: Entity attachment
Updated: Switching active point ID
Updated: Tool logs parameter as table
Fixed: Hosts stack not completely faded on update
Added: Dynamic timer messages,
Added: Dynamically generated store hashes
Updated: ASM library
Factorized: Timers and bordering for convars
Fixed: Duplication of Insert->Values
Fixed: Attempt to index `stData` a nil value.
Added: Table cache export/import handlers
Fixed: Database synchronizer/exporter to support entity attachments
Removes LogSet API
Added: IsExact primitive flag for strings
Fixed: Logging adds extra `.` symbol on functions
Changed: Sorting key with hard-coded define
Removed: Log control status in the console
Added: `InsertRecord` and `ExportDSV` now have a table prefix
Added: `ExportDSV` success log message
Fixed: Translations crashing when non-supported language is chosen
Signed-off-by: dvdvideo1234 <dvd_video@abv.bg>
Updated: Translations comment
Signed-off-by: dvdvideo1234 <dvd_video@abv.bg>
Fixed: Library and tool run-time errors
Fixed: Popper logging in some places
Fixed: Some database records not having number convertible origins and angles
Fixed: Table LUA mode cache handlers now return boolean
Fixed: `stackcnt` and `ghostcnt` are now taken from the tool object in client ghosting routine
Fixed: Russian translation now uses UTF-8 BOM
Fixed: Japanese translation file run-time errors
Added: Log list checker as "IsLogFound"
Added: Decode POA log error on fail
Fixed: Elevating ghost not called on creation client-sire
Fixed: General normal spawn handler moving the piece at Vector(0,0,0) of he map
Fixed: Hard-coding literary function names to use as keys instead of relying by debug.getinfo(1)
Fixed: Reload not removing a rail due to skipped press player cache server-side
Removed: Available ghosts flag argument as it is not needed
Fixed: Ghost check flag now checks if the first ghost is valid in `HasGhosts`
Fixed: Ghost check flag `HasGhosts` now operates only client side as ghosts too
Fixed: Flag for creating the ghost stack now used `HasGhosts`
Fixed: Stack buttons are not handled due to CMD object predicate mismatch
Factorized: Current command handler
Fixed: Category for a PIECES linked prefix is not being deleted
Fixed: Track piece additions now use matrix transform handling via `LocalToWorld`
Added: Shinji's track pack categories
Removed: Current player command cache server-side
Fixed: Last log check is now part of `LogInstance`
Fixed: timer restart settings comparing nil to a number
Fixed: Export DSV missing argument unpack from definition
Fixed: ASM variables callback not retrieving local function name on logging
Fixed: Panel builder `TOOL.BuildCPanel(CPanel)` appearing in the logs as "Main"
Added: Ron's track packs database backup
Added: Additions are now logged based on Addition `LINEID`
Removed: DSV processor force-printing in console
Fixed: Mouse wheel scroll point selector goes in reverse
Fixed: Proper source for record handlers
Fixed: SQL database load times is slow
Fixed: Normal code factorization for POA register handler
Fixed: Importing DSV in SQL mode takes less time
Added: Begin and commit to query builder object
Removed: Conception for radial menu as it is not needed anymore
Fixed: Resetting offsets is now using numbers as default
Added: API for calculating SIGN
Added: Slider-button relation panel generator `SetButtonSlider`
Added: Test buttons for manipulating `TA_nextrol`
Removed: Unneeded stuff in the think hook related to GHOST rendering
Fixed: Origin X, Y, Z offsets overwritten with spawn position
Fixed: Models `models/hunter/tubes/tube4x4x025%.mdl` second point origin
Fixed: List view 5-th column to default missing model instead of empty string
Fixed: Warning entity cannot be removed while rendering via `PostDrawHUD` and `DRAW_GHOSTS`
Fixed: Working mode label is maximum 6 symbols
Fixed: Selected model is not preached server-side with `utilIsValidModel` in the Think hook
Added: SetButtonSlider handler for all offsets using `DSizeToContents`
Updated: Mass center spawn via `GetCenter`
Fixed: Button controlled option sliders are present
Added: control panel snap incremental handler
Relocated: Roll and border value
Removed: Round value and library function is used
Removed: Call of debug.getinfo from the query builder
Fixed: Determinant 3x3 not using vector indexes
Fixed: Logs for builder instead of definition
Factorized: Wire extension active point generation
Fixed: Ghosting relying on GetAsmVar and not using the tool reference
Fixed: Attempt to index a nil value when ghosts stack is not created properly
Fixed: clearing ghosts returning nil instead of error flag when processes all the ghosts
Fixed: Physics are disabled for the ghost entities client side. They do not have physics anyway.
Fixed: Available ghost array check sing the pointer to itself in the return flag
Fixed: Ghost stack not freed when entity cannot be created client-side
Fixed: Ghosts count not clamped to maximum stack count in `GetGhostsCount`
Renamed: Tool object method from `GetCount` to `GetStackCount` as there are two `counts` now
Removed: Player keys read via `CUserCmd` class use `player:KeyDown(IN_%)` anyway
Fixed: Wire extension run-time errors
Added: Offset sliders value memorize and set 90 degrees for angles
Added: Memorize for combo boxes labels
Added: Controllable Incremental snap via `TA_incsnp%`
Added: Drawing of the search and AR origin point with red
Added: Button reference to incremental snap
Fixed: Wire extension having incorrect color clamping on piece creation
Added: Separate function for body-group skin retrieval
2019-01-05 15:50:24 +02:00
Deyan Dobromirov
64e8f4e6d6 Factorized: RegisterPOA 2018-10-22 10:53:26 +03:00
Deyan Dobromirov
aa3aeb9f75 Fixed: Failed to generate local player spot doe to globalized Matrix reference
Fixed: Debugging angle for additional PYR indexing to ANG instead of VEC
2018-10-21 20:45:32 +03:00
Deyan Dobromirov
7c48e33dfe Fixed: Wiremod API description typo for trackasmlibGetAdditionsLine
Added: Disable support options for attachment POA
2018-10-01 17:13:48 +03:00
Deyan Dobromirov
24f18bceca Updated: Transform POA entity creation routine 2018-09-10 15:48:28 +03:00
Deyan Dobromirov
3651f1741e Fixed: Transform POA run-time errors 2018-09-08 21:43:06 +03:00
Deyan Dobromirov
d55fbfd86a Added: Transform entity caching. All N points for one model use the same transform entity. 2018-09-05 17:39:01 +03:00
Deyan Dobromirov
6f6bef5c4b Added: Entity-based position and orientation caching 2018-09-04 18:04:19 +03:00
Deyan Dobromirov
9e0d74a9ca Updated: Index user no supports string keys 2018-09-03 17:02:16 +03:00
Deyan Dobromirov
2233e56455 Test version for entity-integrated orientation attachments 2018-09-03 16:45:32 +03:00
Deyan Dobromirov
97fc987399
Panel dev (#8)
* Reduced panel loading times
* Added: General 2D rotatory function
* Added: Basic radial menu action
* Added: Working mode as container OOP
* Draw line rotation parameter optimization
* Fixed: Radial menu run-time errors
* Radial menu update
2018-09-03 10:11:06 +03:00
Deyan Dobromirov
f55df78346 Updated: Pieces addon synchronizer
Updated: Library mnemonics
Factorized: SynchronizeDSV(sTable, tData, bRepl, sPref, sDelim)
2018-08-11 22:36:14 +03:00
Deyan Dobromirov
16398856f8 Added: String normalizations for (value or "") 2018-08-10 13:26:39 +03:00
Deyan Dobromirov
9c4a304dae Added: Ghosting all the props option for future use (count > 0 and enghostall = true)
Merged: 10d99472d3b1a0a2ca984854d2198d99f2bf68f1
2018-08-10 13:20:33 +03:00
Deyan Dobromirov
dda04f1d73 Changed: Use library provided color creator/mapper 2018-08-10 09:40:03 +03:00
Deyan Dobromirov
61322290b2 Added: Library color management 2018-08-09 17:54:28 +03:00
Deyan Dobromirov
abce182fd5 Fixed: Wiremod vector/angle/color indexing
Added: Wiremod component indexes
Renamed: Kept to Size as general ( To resemble table definitions )
Refurbished: Some library internals
2018-08-09 16:59:03 +03:00
Deyan Dobromirov
d538f79908 Factorized: Sorting algorithm optimizations
Factorized: class selection condition via DeMorgan rule
Factorized: PHYSGUN_DRAW
Factorized: General instance logging
2018-08-09 11:40:14 +03:00
Deyan Dobromirov
54d64c95ba Updated: Sorting algorithm
Removed: Sorting closure
Added: Array size when returning the sorted keys list
Factorized: ASM library
2018-08-07 21:52:23 +03:00
Deyan Dobromirov
f2f7aae283 Added: POA mnemonics integrated in a comment rather than struct column name 2018-08-03 10:12:17 +03:00
Deyan Dobromirov
b68110488d Changed: Non user specific information is not transferred to the wiki repository 2018-08-02 14:31:33 +03:00
Deyan Dobromirov
62385dea3a Fixed description for snappers 2018-08-02 12:09:50 +03:00
Deyan Dobromirov
bc8fb7e08e Changed: Sync initialization data
Changed: Mnemonics of player place to player spot
Added: More ways to create a track via E2
2018-08-02 12:02:11 +03:00
Deyan Dobromirov
0d1cce0c6d Added: E2 API Description 2018-08-01 18:11:34 +03:00
Deyan Dobromirov
401803ce09 Factorization of local function RegisterPOA(stPiece, ivID, sP, sO, sA) 2018-08-01 13:45:05 +03:00
Deyan Dobromirov
1f52d71493 Added: Tool variables callback API
Added: Ability to return the object from ASM variables
2018-06-22 23:28:58 +03:00
Deyan Dobromirov
c0a3377e51 Relocated: File line golden retriever ( who's a good boy ) 2018-06-14 17:40:31 +03:00
Deyan Dobromirov
42339bbdce Added: Track switcher information to the readme.md 2018-06-12 13:05:56 +03:00
Deyan Dobromirov
7db787f4d4 Updated: Hooks factorization 2018-05-23 11:26:00 +03:00
Deyan Dobromirov
1ca32d62a6 Fixed: Phys-gun snap not working due to wrong cache configuration 2018-05-13 17:17:59 +03:00
Deyan Dobromirov
8d3d79bed8 Added: Sligwolf's mini-train switches
Updated: Sligwolf's switch Y mini
Updated Sligwolf's reralier mini
2018-04-29 12:01:53 +03:00
Deyan Dobromirov
ec4a967141 Added: More E2s controlling TA database 2018-04-26 22:16:32 +03:00
Deyan Dobromirov
c8fc83f451 Updated: Database synchronization list
Fixed: Readme bridges pack workshop ID
Updated: Non-monitored models list
2018-04-17 14:18:56 +03:00
Deyan Dobromirov
9a5048f717 Fixed: A bunch of comment and readme typos
Fixed: Normal angle creation crashing when function call receives no trace
Added: More meaningful range for the piece connect sound
Updated: Readme addon information
2018-04-16 17:52:25 +03:00
Deyan Dobromirov
1d4efe2c4d Added: Angle snapping now works in any direction 2018-04-15 13:23:54 +03:00
Deyan Dobromirov
0ced532077 Factorized: Ray intersection 2018-04-13 18:00:15 +03:00
Deyan Dobromirov
d1a2595f57 Improved: Ray intersector in 3D space IntersectRay(vO1, vD1, vO2, vD2) 2018-04-13 15:09:20 +03:00
Deyan Dobromirov
ead25af39e Reorder: SQLCacheStmt validating the base query
Reorder: TOOL:DrawTextSpawn(oScreen, sCol, sMeth, tArgs)
2018-04-13 10:56:18 +03:00
Deyan Dobromirov
0d18b57ec9 Updated: More reliable MD readme 2018-04-12 16:56:17 +03:00
Deyan Dobromirov
5e3fac8a23 Optimized: Track tree generation by using DeMorgan's Law 2018-04-11 10:46:20 +03:00
Deyan Dobromirov
f3ec179287 Using local instead of global for a stmt reference 2018-03-19 22:22:30 +02:00
Deyan Dobromirov
39276dc969 Fixed: A bunch of read-me typos 2018-03-03 22:23:48 +02:00
Deyan Dobromirov
4540254389 Fixed: Assembly dedicated variables borders not working when having only upper/lower bound
Added: Maximum trace margin tweak for controlling time between traces
Added: Trace margin callback and internal trace margin reference
Updated: Some logs from /Malloc/ to /Allocate/
Updated: The readme.md file now includes trace margin information
2018-01-13 17:17:22 +02:00
Deyan Dobromirov
9695af5070 Updated: CacheRadiusPly. Using cached limit and margin instead of calculating every frame 2018-01-01 11:11:06 +02:00