Evil Eye
c3d02c0b41
Merge branch 'cleanup_dialogue_api' into 'master'
...
Cleanup dialogue API
See merge request OpenMW/openmw!4088
2024-05-17 15:02:00 +00:00
Zackhasacat
c63c1e69cf
Lua: Add missing light flags, allow creating light record via world.createRecord
2024-05-13 14:14:44 +00:00
elsid
0233640124
Add simple tests for dialogues
2024-05-10 10:38:15 +02:00
elsid
9d04c1b2b8
Consider absent value in a frame as none
...
There are frames with missing values because of loading screens. They should not
be replaced with zeroes or other values. Otherwise showed graphs and calculated
statistics are wrong.
2024-04-21 23:48:20 +02:00
Zackhasacat
6d529835ae
Lua: Standardize record stores
2024-03-25 13:46:23 +00:00
Alexei Kotov
38eb741bfd
Merge branch 'fix_global_iteration' into 'master'
...
Lua: Fix Global Variable Iteration
See merge request OpenMW/openmw!3835
2024-03-24 09:44:15 +00:00
Zackhasacat
c5c80936a0
Space after ,
2024-03-23 13:27:53 -05:00
Zackhasacat
7d1f52451f
Re-add new line
2024-03-22 19:14:28 -05:00
Zackhasacat
b51891cbcd
Add lua global var test back
2024-03-22 19:13:39 -05:00
Zackhasacat
b8c8e30431
Revert "Add iteration global tests"
...
This reverts commit 4634c7dba9
.
2024-03-22 19:06:00 -05:00
Zackhasacat
4634c7dba9
Add iteration global tests
2024-03-22 18:56:15 -05:00
elsid
6b860caa3e
Fix spelling
2024-03-18 01:37:42 +01:00
elsid
080245aa26
Do not align arrays by duplicating last value
...
To produce the same stats for single and multiple sources.
If there are multiple sources with different number of frames, leave the number
of values per each metric as is. For example:
source 1: [1, None, 2]
source 2: [3, None, 4, 5]
before this change becomes:
source 1: [1, 1, 2, 2]
source 2: [3, 3, 4, 5]
and after this change:
source 1: [1, 1, 2]
source 2: [3, 3, 4, 5]
2024-03-18 01:37:42 +01:00
elsid
2b53c2335f
Support printing stats table in json format
2024-03-15 21:26:03 +01:00
elsid
6b07718871
Add morrowind test for moving object into container
2024-02-25 15:20:29 +01:00
Alexei Kotov
0b5823d5b7
Merge branch 'osg_stats_timeseries_delta' into 'master'
...
Add timeseries delta graph to osg_stats.py
See merge request OpenMW/openmw!3685
2023-12-27 20:25:38 +00:00
elsid
8fe0832b38
Replace check for normalized distance =~ value by distance > 0
...
We just need to make sure player moved, for how long is not important.
To avoid failures like: https://gitlab.com/OpenMW/openmw/-/jobs/5815281969 :
TEST playerForwardRunning FAILED [string "test.lua"]:80: [string "player.lua"]:44: Normalized forward runned distance: 0.782032 ~= 1.000000
2023-12-25 11:15:41 +01:00
elsid
e5af4322c7
Add flag to print all openmw output in integration tests
2023-12-25 10:52:01 +01:00
elsid
60940e7561
Fill absent values with previous present
...
Due to OSG stats reporting usage and implementation for some attributes values
are missing on loading screens.
2023-12-24 22:58:37 +01:00
elsid
c6b7dfc23a
Convert to float to compute stdev
2023-12-24 22:55:11 +01:00
elsid
03a7643301
Add option to show timeseries delta graph to osg_stats.py
...
To see spikes in a single frame and correlate them with frame duration.
2023-12-24 22:15:10 +01:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh
2023-11-18 23:54:37 +01:00
Petr Mikheev
15306c7d49
[Lua] Add CONTROL_SWITCH functions to types.Player
and deprecate them in openmw.input
2023-10-10 01:15:09 +02:00
elsid
9019a815eb
Add option to sort stats fields
2023-08-19 14:11:26 +02:00
elsid
faded22e41
Hide common path prefix by default
2023-08-19 14:05:51 +02:00
elsid
e00eb50587
Remove stepping from findSmoothPath
...
This is not used anyway. There are features like smooth movement which remove
all redundant points.
Use single findStraightPath call instead of multiple.
2023-07-22 18:08:40 +02:00
elsid
5a0ad8cdd7
Add Morrowind specific tests
2023-07-22 01:31:55 +02:00
elsid
c04d869fc7
Pass options to findPath
2023-07-20 20:24:38 +02:00
psi29a
68415a952e
Merge branch 'lua_quat' into 'master'
...
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion
See merge request OpenMW/openmw!3123
2023-06-20 09:59:06 +00:00
Petr Mikheev
69f6ab2882
Add integration test for core.getGMST
2023-06-12 17:59:40 +02:00
Petr Mikheev
3b43cc2aea
Lua: change obj.rotation from Euler angles to Quaternion
2023-06-12 00:16:42 +02:00
elsid
e646449880
Add CI job to measure preprocessed code size
2023-04-21 02:55:48 +02:00
elsid
37be305771
Convert path to string
2023-03-01 23:30:19 +01:00
uramer
c064e9ebf9
Find luarocks package installations in a more robust way
2023-02-20 19:39:33 +01:00
uramer
2cf6c5b3ce
Move generate_teal_declarations.sh to scripts/
2023-02-19 18:00:44 +01:00
elsid
2a660be8a2
Fix end_frame computation in osg_stats.py
...
If begin_frame is not the first frame then begin_frame + number of frames points
to a frame after end_frame with shift begin_frame - first_frame.
2023-01-14 18:08:38 +01:00
Petr Mikheev
1869aeae5c
Move some of player controls logic from C++ to Lua
2022-12-28 22:04:19 +01:00
elsid
0389aa2b7e
Move testing_util.lua to a separate directory to be reused as a library
2022-10-10 23:39:32 +02:00
elsid
cca8faf422
Use dashed line stype to draw sum
2022-08-20 19:15:58 +02:00
elsid
0abe643a15
Add sum column to stats table
2022-08-20 19:15:58 +02:00
Petr Mikheev
643e33c11a
Merge branch 'lua_pathfinding_bindings' into 'master'
...
Add bindings for navigator utils functions (#6690 )
See merge request OpenMW/openmw!2128
2022-07-20 23:52:16 +00:00
elsid
27cc901e76
Add bindings for navigator utils functions
2022-07-21 00:04:26 +02:00
psi29a
b460904761
Merge branch 'benchmarkiseasy' into 'master'
...
Add a simple HOWTO for the builtin tracing functionality.
See merge request OpenMW/openmw!1275
2022-07-19 10:00:13 +00:00
elsid
7989d1645f
Run integration tests in CI
2022-07-04 20:38:29 +02:00
Petr Mikheev
76160076db
Introduce OpenMW integration tests
2022-05-07 14:39:03 +02:00
elsid
5f71afa274
Fix matlab deprecation warning
...
scripts/osg_stats.py:163: MatplotlibDeprecationWarning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use manager.set_window_title or GUI-specific methods instead.
fig.canvas.set_window_title('timeseries')
2022-02-23 02:02:04 +01:00
elsid
b6bddbfae2
Support regexp_match for hist_threshold and hist
2022-02-23 02:01:58 +01:00
elsid
f007025ced
Add job ID to discord notification
...
To easily track down where it comes from.
2021-12-09 21:23:15 +01:00
fredzio
3754e59de0
Add a regexp_match flag for keys used in stats and timeseries. When set, the argument given is considered a regexp against which the keys are matched.
2021-12-01 15:24:35 +01:00
fredzio
b02560bbae
Add a precision parameter to format floating point number in stats mode
2021-12-01 11:18:22 +01:00