Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 19, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Jan 20, 2022
captainurist and others added 29 commits June 7, 2025 14:33
Can use --tracing-rng with OpenEnroth play
Don't assert on invalid skills command
Move reagentPower into a separate field
* Started a simplification of Viewport. The uViewportTL/BR and uScreenTL/BR values are always identical, so I removed the screen ones. Also got rid of a constructor that set the viewport to 640x480, which is wrong, and the value was also never used before starting to play.
Also got rid of the Reset function, which set the current values to themselves.

* Got rid of mm7_data::game_viewport_width, height, x, y, z, and w. They were copies of the values in Viewport, so I just use Viewport's values instead. Also renamed the "screen" values in Viewport to "viewport", as that's what they are.

* Got rid of the copies of the viewport values in ViewingParams.

This required slightly changing some things in Engine - both MM7Initialization and FinalInitialization set the viewport to the viewingparams values, and depended on those being set in MM6_Initialize. I changed that to just do the same thing as OpenGLRenderer, but tbh both MM7Initialization and FinalInitialization probably shouldn't be doing this at all. Deleting both of the SetViewport calls there doesn't break anything in the game, but it might be required by tests?

* Adjusted naming to follow the rules from HACKING. In particular removed the u-prefix from the values in Viewport - I'm pretty sure that's to signify "unsigned" anyway, and those values are very much signed ints!

* Deleted unused fields in Viewport;
- field_20: Never read from, set to 0xFFFFFF00 in MM7Initialization if not outdoors
- field_4C: Never written to. Read a bunch of times, but all of those checked if (!field_4C)
- field_3C, 58, 5C, 60, 64, 68 were all never read from or written to.

* Style

---------

Co-authored-by: captainurist <[email protected]>
Dropped debug items from party creation code
Show cursor when playing back traces
Fix buggy standard enchantments that were sometimes generated in vanilla
Resolved a TODO in AccessibleVector
Dump character inventory in traces
botanicvelious and others added 30 commits September 9, 2025 21:30
add missing else for ccache message
use keycode not scancode for keyboards
Added more -Werror, some fixes in hashCombine
Using KeyToggleType as defined in keyMappingParams
…aste on weak party (#2203)

* Fix Haste depleted all spell points when Weak

* Fix style guide errors

* Call spellFailed when Haste fail

* Add test for #2201

* Style

---------

Co-authored-by: Kai Bornemann <[email protected]>
Co-authored-by: captainurist <[email protected]>
* Workon #2172

* Move mapping funcs to renderer

* Fix #2184

* better mouselook

* Drop even window size
 Default to boarderless fullscreen
* save resize to config

* Update GameWindowHandler.cpp
Update OpenALSoundProvider.cpp
* Update android.yml

* Update linux-flatpak.yml

* Update linux.yml

* Update macos.yml

* Update windows.yml

* Update style.yml
* Renamings & codestyle in KeyToggleType enum

* Renamings & style for enum InputAction

* Dropped some input actions that we don't really need

* Reworked input action mapping

* Clean up includes

* Fix build
* properly use RelWithDebInfo

* add back release
* Merge workflows

* Use magic

* Clean up ccache harder

* Docs

* Zip folder for release even when not releasing

* Cmake args unified
* Clean up map clamp function

* Add map view min max getter

* No OnButtonClick for books

* Add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants