Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with EasyRPG upstream #49

Merged
merged 269 commits into from
Nov 4, 2024
Merged

Conversation

Desdaemon
Copy link
Contributor

@Desdaemon Desdaemon commented Oct 27, 2024

Changes relevant to ynoengine:

  • picojson is deprecated in favor of nlohmann_json
  • minor changes to audio_decoder_midi
  • soundfont, font config
  • new commands: clone map event and erase map event
  • updated: ManiacControlGlobalSave
  • pressing Shift on Continue opens it, even without any save files (to allow uploading save files)

Ghabry and others added 30 commits December 21, 2023 17:09
Disable feature when not available.
Live SF change is too much complexity, not working properly.
- Game will not terminate anymore when a glyph fails to render
- Fix crash when a font fails to load
Added:
- Separate Width and Height value as per .scale2 parameter in ManiacPatch 211010
- Set Height to Width when using picture effects (as per ManiacPatch)
- Set both Width and Height to Magnify when using .scale parameter

Bugfix:
- Fix ManiacPatch picture rotation not fully working
Added the following:
- Check if we're using a string variable with com.parameters[17]
- Set the name parameter to the String Variable

Fixed the following:
- When using a String Var with ShowPicture, it no longers crash the game with picture ID -1
While testing, I found out the following things:
- You cannot mix multiple Variable types for each parameters
- When using Variables for Picture Tint, parameter 17 is set to 4096 (0x100),
- When using Var Indexes for Picture Tint, parameter 17 is set to 8192 (0x200),
- Before, parameters for red, green, blue and saturation were always constants.
- Surprisingly this feature doesn't work with ShowStringPicture

Added:
- Variable and VarIndex support for Tinting using ShowPicture and MovePicture using bitfields
`@raw 2002, "", UseVarX,x UseVarY,y`

Activate an event in map remotely, based on its x and y coordinates.

Command made by @MackValentine,
I only refactored it to fit the player specifications.
…erformance when doing a lot of operations with game_switches & game_variables
Fix custom logging on 3DS and Switch
WiiU: Disable Pause when focus lost
Useful for the anti lag switch and further patches that require an argument.

Update documentation.
Get rid of the unnecessary pointer.
Enable animated RPG2k3e spritesheets when using RM2k engine with 'RPG2k3Commands=1'
… windows.

Ninja does not support setting of the machine type.
Instead the appropriate VS setup script must be executed beforehand.

VS2022 targets are kept as they support this.
Ghabry and others added 23 commits September 2, 2024 15:40
Fixes warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

Tremor never writes to the strings so this is safe to do.
…-Functions

Maniacs Patch - Call System Functions
Fix issue 3135 (second try) by exhausting the fluidsynth buffer
Maniacs Feature - Remove scaling restrictions for pictures
Detect this and apply a shift of 1 to all bytes in the map tree to make it work.
…he normal sprite cache.

Fixes a black screen when entering the bedroom in Yume 2kki's Nocturnal Grove (Regression)

Fix #3274
…using Copy From/To without calling Open.

Bug was that the function returned when the lgs file was missing.

Emscripten: Update the filesystem state

Fix #3270
Before the string contained full paths, breaking the detection logic because most paths are ASCII
On Emscripten, the WebGL context may be loss for any reason, for example
when restoring the application from the background, the GPU force-
refreshed the application to reclaim memory, etc. In these cases, canvas
data is lost and this commit accommodates that situation by reinitiali-
zing the UI when the browser has restored the context.
New Command 2056/2057 - Clone/Destroy Map Event
Maniac Event command (regression) fixes
@Desdaemon Desdaemon marked this pull request as ready for review November 3, 2024 22:31
@notdistorted notdistorted merged commit 674b9da into ynoproject:master Nov 4, 2024
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.