Changeset 1017 for Daodan/src/Oni


Ignore:
Timestamp:
Mar 24, 2015, 12:29:19 AM (10 years ago)
Author:
alloc
Message:

Daodan 4.0: Added Input module, cheats bindable to keys

Location:
Daodan/src/Oni
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni/Oni.h

    r992 r1017  
    3434} UUtRect;
    3535
     36typedef struct {
     37        uint32_t input;
     38        float analog;
     39} LItDeviceInput;
     40
    3641#include "Symbols_Var.h"
    3742#include "Symbols_Func.h"
  • Daodan/src/Oni/Symbols_Func.h

    r995 r1017  
    101101
    102102// Print message to console ?
    103 DefFunc(int, COrMessage_Print, ONICALL, (char* Message, char* Key, void* noidea), 0x004304B0);
     103DefFunc(int, COrMessage_Print, ONICALL, (const char* Message, const char* Key, uint32_t fadeTime), 0x004304B0);
    104104DefFunc(UUtBool, COrCommand_Execute, ONICALL, (char* command), 0x004317D0);
    105105
     
    171171DefFunc(void, LIrPlatform_Terminate, ONICALL, (void), 0x00403620);
    172172
     173// Key_config callback for each mapping found
     174DefFunc(uint16_t, LIrBinding_Add, ONICALL, (uint32_t key, const char* name), 0x00403c60);
     175
     176// Called when processing key input
     177DefFunc(void, LIrActionBuffer_Add, ONICALL, (void* unknown, LItDeviceInput* input), 0x00403b30);
     178
     179
    173180#undef DefFunc
    174181
Note: See TracChangeset for help on using the changeset viewer.