Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Кто-ниб?дь ковырял и?ходники WME?  (Read 2406 times)

0 Members and 1 Guest are viewing this topic.

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Кто-ниб?дь ковырял и?ходники WME?
« on: November 25, 2009, 03:37:43 AM »

Logged

Zit

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Re: Кто-ниб?дь ковырял и?ходники WME?
« Reply #1 on: November 25, 2009, 02:44:38 PM »

а зачем переключение fullscreen/windowed?
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Кто-ниб?дь ковырял и?ходники WME?
« Reply #2 on: November 25, 2009, 02:50:27 PM »

а зачем переключение fullscreen/windowed?
Logged

Zit

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Re: Кто-ниб?дь ковырял и?ходники WME?
« Reply #3 on: November 25, 2009, 10:25:09 PM »

Quote
надо выходить из игры
Quote
Logged

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Кто-ниб?дь ковырял и?ходники WME?
« Reply #4 on: November 29, 2009, 12:11:55 PM »

Quote
Quote
Quote
Quote
Code: [Select]
else if(strcmp(Name, "RegWriteNumber")==0)
{
Stack->CorrectParams(2);
char* Key = Stack->Pop()->GetString();
int Val = Stack->Pop()->GetInt();

                // пара ?трок начинает?я
                if (!strcmp(Key,"AllowWindowedFromGame"))
{
m_Registry->WriteInt("Video", "Windowed", Val);
}
else
                // и заканчивает?я
                        m_Registry->WriteInt("PrivateSettings", Key, Val);
Stack->PushNULL();
return S_OK;
}
« Last Edit: November 29, 2009, 12:25:25 PM by 2.0 »
Logged
 

Page created in 0.154 seconds with 22 queries.