mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-21 01:49:31 +00:00
BugFix: in UpdateTexture, which was introduced a revision before.
support now: - UpdateSurface - uMod_IDirect3DSurface9 other improvements: - added an update button - uMod can now detect if textures changed their content
This commit is contained in:
+10
-1
@@ -385,7 +385,7 @@ void uMod_Frame::OnMenuSaveTemplate(wxCommandEvent& event)
|
||||
if (id==ID_Menu_SaveTemplateAs || file_name.IsEmpty())
|
||||
{
|
||||
file_name = file_name.AfterFirst('\\').BeforeLast('.');
|
||||
wxTextEntryDialog *dialog = new wxTextEntryDialog( this, Language->ChooseTemplate , Language->SaveTemplate, file_name);
|
||||
wxTextEntryDialog *dialog = new wxTextEntryDialog( this, Language->SetTemplateName , Language->SaveTemplate, file_name);
|
||||
if (dialog->ShowModal ()==wxID_OK)
|
||||
{
|
||||
file_name = dialog->GetValue();
|
||||
@@ -514,6 +514,7 @@ void uMod_Frame::OnMenuAbout(wxCommandEvent& WXUNUSED(event))
|
||||
void uMod_Frame::OnMenuAcknowledgement(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxString msg;
|
||||
/*
|
||||
msg << "ROTA thanks:\n\n";
|
||||
msg << "RS for coding the original TexMod and for information about the used hashing algorithm\n\n";
|
||||
msg << "Vergil for the uMod logo and useful hints\n\n";
|
||||
@@ -523,6 +524,14 @@ void uMod_Frame::OnMenuAcknowledgement(wxCommandEvent& WXUNUSED(event))
|
||||
//msg << "\n\n";
|
||||
//msg << "King Brace Blane for a tutorial video on YouTube and bug fixing";
|
||||
wxMessageBox( msg, Language->MenuAcknowledgement, wxOK);
|
||||
*/
|
||||
//msg=""
|
||||
|
||||
uMod_Acknowledgement *dialog = new uMod_Acknowledgement( this, wxID_ANY);
|
||||
dialog->ShowModal();
|
||||
|
||||
delete dialog;
|
||||
|
||||
}
|
||||
|
||||
void uMod_Frame::OnMenuStartGame(wxCommandEvent& event)
|
||||
|
||||
Reference in New Issue
Block a user