-
Notifications
You must be signed in to change notification settings - Fork 31
Translate N3ME, resolution based on screen size #221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
} else if (pItem->m_propName == "Far Plane") { | ||
pC->m_Data.fFP = (float)atof(pItem->m_curValue); | ||
} else if (pItem->m_propName == "안개 사용") { | ||
} else if (pItem->m_propName == "Use fog") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The case here is inconsistent to what you set the properties to.
You called them "use fog", and "fog color" and then you're checking against "Use fog" & "Fog color" -- which won't match because of case sensitivity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I also addressed similar places using with breaking changes in terms of properties.
return; | ||
} | ||
char comment[80] = {"이파일 여는 사람 바보..^^"}; | ||
char comment[80] = {"The person who opens this file is an idiot...^^"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it's wise to translate this one, considering it's used directly in the files themselves. Though it's technically not checked, and still remains within the constraint, it does technically change the file formats unofficially. Whether or not that's a concern with this project, I don't know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@twostars has a point, however from my end this is fine, as this file has no logic nor used officially to check its content. In Korean it looks like random bytes, so at least in English we'll see the actual content lol
// list의 sort함수 베꼈당..-.- | ||
// 제대로 동작 안하더라..ㅠ.ㅠ | ||
// Copied the sort function of the list.. | ||
// It didnt work properly.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems the apostrophe is broken here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @xGuTeK, thanks for the PR!
Note that I didn't review all of it, since I think there are already enough comments in here to address before we move further with the review.
Let me know if you need any help.
//리스트 돌면서 DTexIndx와 같은거 나오면 다 없애버려... | ||
//Go through the list and if something like DTexIndx comes up, get rid of it... | ||
it = m_Attributes[i].begin(); | ||
while (it != m_Attributes[i].end()) { | ||
DTEXTILEATTR * pTile = *it; | ||
if (pTile->TexID == DTexID) { | ||
//지우자... | ||
//Let's erase... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if these were auto translated, but normally we should add two spaces after a comment operator:
// my comment
The same should apply for all other comments, at least the ones that are not aligned.
ON_BN_CLICKED(IDC_BTN_SAVE_TILESET, OnBtnSaveTileset) | ||
ON_BN_CLICKED(IDC_BTN_LOAD_TILESET, OnBtnLoadTileset) | ||
//}}AFX_MSG_MAP | ||
ON_STN_CLICKED(IDC_STATIC_TILESETNAME, &CDlgSetDTex::OnStnClickedStaticTilesetname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added by accident? If not used, let's delete.
|
||
void CDlgSetDTex::OnStnClickedStaticTilesetname() { | ||
// TODO: Add your control notification handler code here | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added by accident? If not used, let's delete.
|
||
public: | ||
afx_msg void OnStnClickedStaticTilesetname(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added by accident? If not used, let's delete.
wsprintf(pGroup->m_Name, pName); | ||
|
||
//새로운 idx를 지정하기 위해서 일단 정렬을 하자.. | ||
//Let’s sort first to specify a new idx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as here: #221 (comment)
m_pSceneOutput->CameraGetActive()->m_Data.fNP = 1.0f; | ||
m_pSceneOutput->CameraGetActive()->m_Data.fFP = m_pMainFrm->GetFP(); | ||
/* | ||
m_pSceneOutput->CameraGetActive()->m_Data.fNP = 1.0f; //gutek | ||
m_pSceneOutput->CameraGetActive()->m_Data.fFP = m_pMainFrm->GetFP(); //gutek | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for commenting this one out? 🚨
// if(true == m_pSceneOutput->CheckOverlappedShapesAndReport()) //Check for name or location duplicates... | ||
// { | ||
// int idYesNo = ::MessageBox(::GetActiveWindow(), "중복된 오브젝트들을 삭제 하시겠습니까?", "중복된 오브젝트 처리", MB_YESNO); | ||
// int idYesNo = ::MessageBox(::GetActiveWindow(), "Do you want to delete duplicate objects?", "Handling duplicate objects", MB_YESNO); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated
public: | ||
afx_msg void OnBnClickedOk(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unused.
public: | |
afx_msg void OnBnClickedOk(); |
//{{AFX_MSG_MAP(CAboutDlg) | ||
// No message handlers | ||
//}}AFX_MSG_MAP | ||
ON_BN_CLICKED(IDOK, &CAboutDlg::OnBnClickedOk) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ON_BN_CLICKED(IDOK, &CAboutDlg::OnBnClickedOk) |
|
||
void CAboutDlg::OnBnClickedOk() { | ||
// TODO: Add your control notification handler code here | ||
CDialog::OnOK(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
void CAboutDlg::OnBnClickedOk() { | |
// TODO: Add your control notification handler code here | |
CDialog::OnOK(); | |
} |
No description provided.