New Events

Reporter: JoshDreamland  |  Status: open  |  Last Modified: March 31, 2020, 02:23:22 PM

Plugs in a new YAML-based event system fundies and I have been working on.
codecov[bot]  
>Codecov Report

Merging #1875 into master will increase coverage by 0.24%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1875      +/-   ##
==========================================
+ Coverage   25.16%   25.41%   +0.24%     
==========================================
  Files         177      178       +1     
  Lines       16860    16918      +58     
==========================================
+ Hits         4243     4299      +56     
- Misses      12617    12619       +2
Impacted Files Coverage Δ
ENIGMAsystem/SHELL/Platforms/General/PFwindow.h 100% <ø> (ø) ⬆️
ENIGMAsystem/SHELL/Platforms/General/PFwindow.cpp 36.84% <100%> (ø) ⬆️
ENIGMAsystem/SHELL/Platforms/xlib/XLIBmain.cpp 37.03% <100%> (+2.42%) ⬆️
...GMAsystem/SHELL/Platforms/xlib/XDisplayGetters.cpp 96.29% <96.29%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f57341...8184f9b. Read the comment docs.

fundies  

my vm puts -fPIC idk why it dont here. try adding -DCMAKE_CXX_FLAGS="-fPIC" to the cmake cmd
fundies  

Can close this pr as its gone stale until 2025
RobertBColton  

Why is fundies saying to close this while Josh is telling me to test it?
RobertBColton  

Managed to reproduce this using the FPS example:
https://enigma-dev.org/edc/games.php?game=43

In file included from �[01m�[KSHELLmain.cpp:105�[m�[K:
�[01m�[KC:/Users/Owner/AppData/Local/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:�[m�[K In member function '�[01m�[Kvirtual bool enigma::OBJ_obj_player::myevent_nomorehealth_subcheck()�[m�[K':
�[01m�[KC:/Users/Owner/AppData/Local/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:459:10:�[m�[K �[01;31m�[Kerror: �[m�[K'�[01m�[Kout_of_health�[m�[K' was not declared in this scope; did you mean '�[01m�[K$out_of_health�[m�[K'?
  459 |   return �[01;31m�[Kout_of_health�[m�[K && !OoH;
      |          �[01;31m�[K^~~~~~~~~~~~~�[m�[K
      |          �[32m�[K$out_of_health�[m�[K
make[1]: *** [Makefile:177: C:/Users/Owner/AppData/Local/ENIGMA/.eobjs/Windows/Windows/Mingw_GCC_G++/Run/SHELLmain.o] Error 1
make[1]: Leaving directory '/c/Users/Owner/Documents/Projects/enigma-dev/ENIGMAsystem/SHELL'
make: *** [Makefile:22: Game] Error 2

Hughtech  

tested it on system running Manjaro 64bit. LGM crashed and exited when trying to run an empty game. sent details and 'pastebin' texts on discord server in #troubleshooting.
RobertBColton  

I am not able to reproduce what Hugar is reporting with an empty game over here on WIndows 10.
time-killer-games  

Please see my complaints in the official topic and actually address these issues before merging this atrocity. kthx https://enigma-dev.org/forums/index.php?topic=3057.0
time-killer-games  

this pr must die @JoshDreamland
RobertBColton  

I have closed out #1479 as it seems this pull request supersedes it. I was trying to see how GMX/GMK are still working with this as it seems you haven't changed their source at all. I would appreciate clarification on that. Finally, keep an eye out for any other differences between this and my original pull request.
Please sign in to post comments, or you can view this issue on GitHub.