From 589cc4c43a49a05330fc38834c82584dfd40a786 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Sun, 16 Nov 2008 13:59:53 +0000 Subject: [PATCH] - forgot for me :( --- desmume/AUTHORS | 1 + desmume/src/windows/AboutBox.cpp | 42 +++++++++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/desmume/AUTHORS b/desmume/AUTHORS index 3f67b169b..530d80d66 100644 --- a/desmume/AUTHORS +++ b/desmume/AUTHORS @@ -14,6 +14,7 @@ Ben Jaques (masscat) Jeff Bland Andres Delikat Riccardo Magliocchetti +Max Tabachenko (CrazyMax/mtabachenko) Zeromus Contributors diff --git a/desmume/src/windows/AboutBox.cpp b/desmume/src/windows/AboutBox.cpp index 724ab9401..7eebe661f 100644 --- a/desmume/src/windows/AboutBox.cpp +++ b/desmume/src/windows/AboutBox.cpp @@ -24,6 +24,38 @@ #include "AboutBox.h" #include "resource.h" +#define TEAM 30 +const char *team[TEAM] = { "Original author", + "---------------", + "yopyop", + "", + "Current team", + "------------", + "Guillaume Duhamel", + "Normmatt", + "Bernat Muņoz (shash)", + "thoduv", + "Tim Seidel (Mighty Max)", + "Pascal Giard (evilynux)", + "Ben Jaques (masscat)", + "Jeff Bland", + "Andres Delikat", + "Riccardo Magliocchetti", + "Max Tabachenko (CrazyMax/mtabachenko)", + "Zeromus", + "", + "Contributors", + "------------", + "Allustar", + "amponzi", + "Anthony Molinaro", + "ape", + "Damien Nozay (damdoum)", + "delfare", + "Romain Vallet", + "snkmad", + "Theo Berkau"}; + BOOL CALLBACK AboutBox_Proc (HWND dialog, UINT message,WPARAM wparam,LPARAM lparam) { @@ -31,7 +63,15 @@ BOOL CALLBACK AboutBox_Proc (HWND dialog, UINT message,WPARAM wparam,LPARAM lpar { case WM_INITDIALOG: { - SetDlgItemText(dialog, IDC_AUTHORS_LIST, "Original author\n---------------\nyopyop\n\nCurrent team\n------------\nAllustar\namponzi\nape\ndelfare\nGuillaume Duhamel\nNormmatt\nRomain Vallet\nBernat Muņoz (shash)\nTheo Berkau\nthoduv\nTim Seidel (Mighty Max)\nDamien Nozay (damdoum)\nPascal Giard (evilynux)\nBen Jaques (masscat)\nJeff Bland\nzeromus\nadelikat\n\nContributors\n------------\nAnthony Molinaro\nsnkmad"); + char buf[2048]; + memset(buf, 0, sizeof(buf)); + for (int i = 0; i < TEAM; i++) + { + strcat(buf,team[i]); + strcat(buf,"\n"); + } + + SetDlgItemText(dialog, IDC_AUTHORS_LIST, buf); break; }