Skip to content

Commit

Permalink
QDENGINE: Converted object names back to CP1251 from Utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 18, 2024
1 parent 351ff14 commit 8ad8529
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions engines/qdengine/qdcore/qd_game_object_animated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ bool qdGameObjectAnimated::insert_state(int iBefore, qdGameObjectState *p) {

if (!p->name()) {
Common::String nameStr;
nameStr += Common::String::format("Состояние %d", max_state());
nameStr += Common::String::format("\xd1\xee\xf1\xf2\xee\xff\xed\xe8\xe5 %d", max_state()); // "Состояние %d" -- "State %d"
p->set_name(nameStr.c_str());
}
return true;
Expand All @@ -398,7 +398,7 @@ bool qdGameObjectAnimated::add_state(qdGameObjectState *p) {

if (!p->name()) {
Common::String nameStr;
nameStr += Common::String::format("Состояние %d", max_state());
nameStr += Common::String::format("\xd1\xee\xf1\xf2\xee\xff\xed\xe8\xe5 %d", max_state()); // "Состояние %d" -- "State %d"
p->set_name(nameStr.c_str());
}

Expand Down
4 changes: 2 additions & 2 deletions engines/qdengine/qdcore/qd_game_object_mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace QDEngine {
qdGameObjectMouse::qdGameObjectMouse() : _object(NULL),
_object_screen_region(grScreenRegion_EMPTY) {
set_flag(QD_OBJ_SCREEN_COORDS_FLAG);
set_name("Мышь");
set_name("\xcc\xfb\xf8\xfc"); // "Мышь" -- mouse

_screen_pos_offset = _screen_pos_offset_delta = Vect2f(0, 0);

Expand All @@ -48,7 +48,7 @@ qdGameObjectMouse::qdGameObjectMouse(const qdGameObjectMouse &obj) : qdGameObjec
_object(NULL),
_object_screen_region(grScreenRegion_EMPTY) {
set_flag(QD_OBJ_SCREEN_COORDS_FLAG);
set_name("Мышь");
set_name("\xcc\xfb\xf8\xfc"); // "Мышь" -- mouse

for (int i = 0; i < MAX_CURSOR_ID; i++)
_default_cursors[i] = 0;
Expand Down
4 changes: 2 additions & 2 deletions engines/qdengine/qdcore/qd_grid_zone_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

namespace QDEngine {

const char *const qdGridZoneState::ZONE_STATE_ON_NAME = "\xc2\xea\xeb"; // "Вкл"
const char *const qdGridZoneState::ZONE_STATE_OFF_NAME = "\xc2\xfb\xea\xeb"; // "Выкл"
const char *const qdGridZoneState::ZONE_STATE_ON_NAME = "\xc2\xea\xeb"; // "Вкл" -- "On"
const char *const qdGridZoneState::ZONE_STATE_OFF_NAME = "\xc2\xfb\xea\xeb"; // "Выкл" -- "Off"

qdGridZoneState::qdGridZoneState(bool st) : _state(st) {
if (st)
Expand Down

0 comments on commit 8ad8529

Please sign in to comment.