Sezz
|
c55f5520e7
|
Update Changes.txt
|
2023-10-20 21:18:34 +11:00 |
|
Sezz
|
5b7ef82d0a
|
Mouse input base (#1181)
* Initial commit
* Fix typo
* Syntax
* Cleanup
* Store axis values in Vector2 containers
* Cleanup
* Clarify comments
* Make silly demo to demonstrate mouse input
* Use empty() method to check empty string
* Fix typo
* Use std:: prefix
* Add space in string
* Rename local variable
* Store mouse axis values in AxisMap; poll mouse scroll wheel input
* Comments
* Add MouseSensitivity member to configuration struct; organise
* Add mouse sensitivity setting
* Prototype mouse control
* Prototype swim turning with mouse
* Use correct axis
* Add mouse smoothing to settings
* Remove experimental mouse controls
* Use constants
* Hotkey progress
* Fix scrolling; fix x64 compiler errors
* Dehardcode item hotkeys
* Move player quick actions to more appropriate file
* Get weapon scrolling to work
* Move SayNo action
* Update gui.cpp
* Add menu controls screen
* Dehardcode more menu actions
* Simplify
* Move helper functions
* Simplify
* Use std::string for key names; fix crouch action
* Fix lean reset
* Update lara_helpers.cpp
* Fix binding application
* Update gui.cpp
* Update gui.cpp
* Reorder input actions; update script enum
* Update gui.cpp
* Fix menu highlight error
* Fix default xbone bindings
* Simplify action string categories
* Fix merge errors
* Fix merge errors
* Update camera.cpp
* Update xbone key offsets
* Update camera.cpp
* Commit to tentative Light action; prepare more vehicle action code
* Move medipack code to subfunction
* Move medipack code to subfunction
* Update lara_helpers.cpp
* Remove flare no
* Add missing comma
* Rename Light back to Flare
* Rename Option to Inventory
* Update lara_helpers.cpp
* Update lara_helpers.cpp
* Update strings
* Fix merge error
* Fix merge errors
* Stop stealing the mouse; fix merge errors
* Dynamically update active area resolution; remove debug
* Fix string display
* Minor fixes
* Update registry
* Fix input wrap; add debug detail
* Get position, not resolution
* Get screen space cursor position
* Normalise mouse axis values to [-1, 1] range
* Add actions to input stats debug page
* Fix string
* Rename function; add debug cursor example
* Update string
* Add GetCursorDisplayPosition() script function
* Update doc comment
* Update Input.cpp
* Add comment
* Remove clamping
* Simplify
* Fix look axes; remove debug cursor
|
2023-10-20 11:00:59 +01:00 |
|
Jakub
|
0e7c07a496
|
Update Changes.txt
|
2023-10-20 10:02:43 +01:00 |
|
Jakub
|
6427208b5b
|
Update Changes.txt
|
2023-10-20 10:02:08 +01:00 |
|
Lwmte
|
0cc9312a20
|
Split misc namespace (#1233)
* Add Sound module
Add Sound module for sound management. Removed LDoc comments from Misc module for sound management functions. Moved the SoundTrackTypes.h file to the folder "\TombEngine\Scripting\Internal\TEN\Misc\SoundTrackTy
* Update SoundHandler.cpp
tableMisc variable renamed to tableSound
* remove functions for audio management from Misc
remove functions for audio management from Misc
* Add StopSound() function
Add StopSound(int) function
* Prevent stack overflow issue
* Update SoundHandler.cpp
* Split remaining Misc functions into modules
* moved LDoc comments above the respective functions
moved LDoc comments above the respective functions
* Fixed References to Sound.SoundTrackType
Fixed References to Sound.SoundTrackType
* Fix merge
* Minor formatting
* Minor formatting
* Move GetDisplayPosition() to Util namespace
* Fix error
---------
Co-authored-by: davidmarr <116632612+davidmarr@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
|
2023-10-20 09:53:59 +01:00 |
|
Sezz
|
9ec6399ea2
|
Handle None sound state
|
2023-10-20 19:34:07 +11:00 |
|
Sezz
|
a9ba61c815
|
Comments, formatting
|
2023-10-20 12:51:39 +11:00 |
|
Sezz
|
cac68a00d2
|
Cleanup
|
2023-10-20 12:27:01 +11:00 |
|
Sezz
|
cededde40e
|
Formatting, use references, cleanup
|
2023-10-20 12:20:39 +11:00 |
|
Adngel
|
c11217d52f
|
Fix constant sound bug.
If it's default case, it can also be due to the SoundState::None where no sound should play.
|
2023-10-20 02:26:17 +02:00 |
|
Sezz
|
8fca1cc905
|
Add note comment
|
2023-10-19 16:23:34 +11:00 |
|
Sezz
|
3a5225458d
|
Move display sprite doc comments
|
2023-10-19 15:52:14 +11:00 |
|
Sezz
|
f4e52df66d
|
Use Vec2 for display strings
|
2023-10-18 22:00:48 +11:00 |
|
Kubsy
|
fd49676607
|
properly register lock funcs
|
2023-10-16 22:02:24 +01:00 |
|
Sezz
|
be2ff99a38
|
Use sol::nullopt
|
2023-10-16 20:54:04 +11:00 |
|
davidmarr
|
8c6f8dcd07
|
add lua function GetDisplayPosition() (#1210)
* add lua function Get2DPosition()
* Update Miscellaneous.cpp
* Have Get2DPosition() return an optional
* update Get2dPosition fuction
Conversion from Vec3 to Vector3
* Update ReservedScriptNames.h
* Update Miscellaneous.cpp
* Update Miscellaneous.cpp
* Update Miscellaneous.cpp
---------
Co-authored-by: Sezz <sezzary@outlook.com>
|
2023-10-16 20:50:50 +11:00 |
|
Jakub
|
db89151ac5
|
Update Changes.txt
|
2023-10-16 10:47:08 +01:00 |
|
Sezz
|
5284c9695b
|
Vec3 and Vec2 scripting object refactor (#1191)
* Upgrade Vec3
* Use parentheses
* Partial merge error fix
* Fix compile error
* Change casting to be compliant with standards
* Minor changes
* Implement various Vec3 methods
* Add static variants of methods
* Fix compilation error
* Remove fake static methods; update doc comments
* Update method names
* Update doc comment
* Rename ToLength() to SetLength()
* Simplify Vec3 API
* Remove methods
* Remove method
* Reorder methods
* Update doc comment
* Update doc comments
* Update doc comment
* Reorder methods
* Add comment
* Move doc comments
* Maybe fix * overloads; remove SetLength()
* Reorder methods
* Maybe fix overloads
* Update method names
* Add Vec2 methods
* Newline
* Add constructors
* Update doc comments
* Update doc comments
* Update Vec3.cpp
* Handle division by 0
---------
Co-authored-by: hispidence <squidshirehimself@gmail.com>
Co-authored-by: Adngel <adngel@hotmail.com>
|
2023-10-16 10:44:08 +01:00 |
|
Sezz
|
b38d9754d7
|
Add error handling; don't duplicate constants
|
2023-10-16 16:20:52 +11:00 |
|
Sezz
|
fa72550abd
|
Organise data
|
2023-10-16 12:18:37 +11:00 |
|
Sezz
|
f22cf73cb1
|
Update crumblingPlatform.cpp
|
2023-10-15 23:28:48 +11:00 |
|
Adngel
|
4cc6de81a8
|
Fix Crumbling Platform, warning error.
|
2023-10-14 16:57:07 +02:00 |
|
Sezz
|
451be8961e
|
Formatting
|
2023-10-13 21:10:12 +11:00 |
|
Sezz
|
73b5c4a0f5
|
Refactoring
|
2023-10-13 19:28:56 +11:00 |
|
hispidence
|
0a3c0beaca
|
Merge remote-tracking branch 'origin/DisplayString_Scale' into DisplayString_Scale
|
2023-10-13 09:23:34 +01:00 |
|
hispidence
|
05740927b4
|
Remove accidentally-committed multi-font WIP stuff. Update Timer DisplayString code. Add callstack printing stuff for CreateString.
|
2023-10-13 09:22:27 +01:00 |
|
Sezz
|
f94432e1ea
|
Update TombEngine.vcxproj
|
2023-10-13 13:09:49 +11:00 |
|
Sezz
|
369cc3c079
|
Rename files
|
2023-10-13 12:53:27 +11:00 |
|
Sezz
|
2b6ae8b9ae
|
Merge branch 'develop' into Adngel-pushables-remake
|
2023-10-13 12:52:00 +11:00 |
|
Sezz
|
ba3bd0b1d3
|
Include files
|
2023-10-13 12:41:36 +11:00 |
|
Sezz
|
00bea67107
|
Merge branch 'develop' into sezz_point_collision_class
|
2023-10-13 12:41:14 +11:00 |
|
Sezz
|
57e5826d6b
|
Merge branch 'develop' into DisplayString_Scale
|
2023-10-13 12:40:04 +11:00 |
|
Sezz
|
b4afe2d4ea
|
Update Changes.txt
|
2023-10-13 12:21:20 +11:00 |
|
Sezz
|
e48a174453
|
Update Changes.txt
|
2023-10-13 12:19:58 +11:00 |
|
Sezz
|
4722d5c6ef
|
Update parameter order
|
2023-10-12 21:00:06 +11:00 |
|
Sezz
|
95f3838584
|
Update parameter names
|
2023-10-12 20:52:35 +11:00 |
|
Sezz
|
dd3dea5ef5
|
Add sprint slide state
|
2023-10-12 20:50:41 +11:00 |
|
Jakub
|
445b096d7c
|
Merge pull request #1209 from MontyTRC89/sezz_target_highlighter
Target highlighter
|
2023-10-12 10:39:37 +01:00 |
|
Sezz
|
341fd554e0
|
Reduce scale
|
2023-10-12 20:36:44 +11:00 |
|
Sezz
|
61cb8cc83a
|
Update TargetHighlighter.cpp
|
2023-10-12 20:18:13 +11:00 |
|
Sezz
|
0751d0c75e
|
Update TargetHighlighter.cpp
|
2023-10-12 20:17:51 +11:00 |
|
Sezz
|
cd0a0cb1f3
|
Tabs
|
2023-10-12 20:15:59 +11:00 |
|
Sezz
|
60c3e098e1
|
Register crosshair sprite object in Lua table
|
2023-10-12 20:03:59 +11:00 |
|
Sezz
|
f0b30b4ffe
|
Merge branch 'develop' into sezz_target_highlighter
|
2023-10-12 19:55:45 +11:00 |
|
Sezz
|
2def69633f
|
Add parentheses
|
2023-10-12 19:55:30 +11:00 |
|
Sezz
|
876e32f2cc
|
Fix scaling
|
2023-10-12 19:54:26 +11:00 |
|
Jakub
|
3b6e84eab5
|
Merge pull request #1208 from MontyTRC89/renderer
Batching + Lua function for display sprites
|
2023-10-12 09:46:18 +01:00 |
|
Sezz
|
e0787a0474
|
Merge branch 'renderer' into sezz_target_highlighter
|
2023-10-12 19:13:17 +11:00 |
|
Sezz
|
ad57a4475c
|
Remove deprecated string
|
2023-10-12 19:09:21 +11:00 |
|
Sezz
|
569a9d4a00
|
Remove debug code
|
2023-10-12 19:01:46 +11:00 |
|