Batch #5400 by Yommy: 1 byte-identical, 3 confirmed by peer review. - fn_45450 SuggestChatCommand: logic confirmed by peer review - fn_17806 SubACFCE0: byte-identical - fn_17807 GetLicenceText: logic confirmed by peer review - fn_17808 InitializeServiceStrings: logic confirmed by peer review Peer-reviewed-by: willerthal, SapitoSucio, ragnarok-clanker, tayoba, bigodeira Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
30 lines
696 B
C++
30 lines
696 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_INPUT_IMEINPUT_H
|
|
#define RAGNAROK_SOURCE_CLIENT_INPUT_IMEINPUT_H
|
|
|
|
#include "Client/Input/Language.h"
|
|
|
|
#include <cstdint>
|
|
#include <imm.h>
|
|
#include <vector>
|
|
|
|
struct CLanguageTC;
|
|
|
|
struct ImeInput {
|
|
CLanguage& input;
|
|
std::uint16_t& language;
|
|
unsigned& codePage;
|
|
const bool& languageCodePage;
|
|
const unsigned& fallbackCodePage;
|
|
std::vector<unsigned char>& candidateStorage;
|
|
CANDIDATELIST*& candidateList;
|
|
unsigned& selection;
|
|
unsigned& pageSize;
|
|
int& compositionCursor;
|
|
CLanguageTC* traditional;
|
|
|
|
LRESULT Message(HWND unused, UINT message, WPARAM value, LPARAM flags, std::uint8_t& handled);
|
|
|
|
const char* Candidate(int index) const;
|
|
};
|
|
|
|
#endif
|