SL23W09

From ETM
Jump to navigation Jump to search

◄ SL23W08 | SL23W10 ►


  • CCRender: GameServicesui.exe crashing the game regularly needs to be killed on reset
  • DocImpl / Manager refactor
    • First interaction between FPlayer an Screen Doc
    • Ability to set actions via desktop to screen elements
  • Refactoring to allow multiple action-entries per button on a screen
    • Implement PdaEntries with predefined namings (enums) E1,E2,E3
    • Change Variant Naming to be predefined enums V1,V2,V3 to reduce complexity
    • Implement navigation-style listing of pdaEntries in popup
    • Test multi-action execution
    • Test multi-replay execution
  • General problem:
    • If we have a lot of temp-data to show states on the screen the code-complexity gets too large
    • For example for SelectPdaPopDiv we have state information that we need to find, set and finally cleanup in the end
      • psClone.removeSerialKey(PageSerialKeys.SelectedMotion);
      • psClone.removeSerialKey(PageSerialKeys.SelectedVariant);
      • psClone.removeSerialKey(PageSerialKeys.SelectedPdaEntry);
      • psClone.removeSerialKey(PageSerialKeys.SelectedPdaType);
      • psClone.removeSerialKey(PageSerialKeys.InputKey);
      • psClone.removeMapValue(PageOptions.InputMap, InputKey.PdaTextInput);
    • Something like a preConsutrction method does not work as we need access to the Flambda-Types fro the DivActions, those would be lost / need casting Needs a new instance anyway beforehand wich is trash as well
      • Html pre = (Html) getClazz().getConstructor().newInstance();
      • pre.preConstruction(desktop, bb);
      • Currently used alternative in screenshot is shitty as well tho