massembly-devel Mailing List for MAP - Map Assembly Project
Status: Alpha
Brought to you by:
doczoid
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
(3) |
Sep
(2) |
Oct
|
Nov
(5) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
2007 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ka C. <ca...@wa...> - 2007-01-28 22:10:38
|
Hi, Virragra $3, 35 Varrlium $1, 20 Amrrbien $2, 90 Cirralis $3, 75 Xarrnax $1, 45 http://www.todrx*.com Remove "*" to make the link working! -- was rumbling and splashing its way up the track toward Hogwarts Castle. CHAPTER TWELVE THE TRIWIZARD TOURNAMENT |
From: Riika P. <bi...@ab...> - 2007-01-27 19:10:42
|
Hi, Virragra $3, 35 Varrlium $1, 20 Amrrbien $2, 90 Cirralis $3, 75 Xarrnax $1, 45 http://www.todrx*.com Remove "*" to make the link working! -- ball will start at eight oclock on Christmas Day, finishing at midnight in the Great Hall. Now then Professor McGonagall stared deliberately around the class. |
From: Aryana J. <ber...@fa...> - 2006-12-19 16:28:51
|
Vtaggra $3. 30 Valtuum $1. 20 Ctallis $3. 75 http://www.gentionkyungandesunpion.com =20 gone...=20 I warned her! said Ron as Hermione hurried out of the Great Hall, cradling her hands. I warned her not to annoy Rita Skeeter! Look at |
From: Keara K. <se...@sa...> - 2006-12-12 08:12:20
|
VfAGRA from $3. 30 and other goods. http://www.dsetuihanfehusdfgsadhjan.com =20 who had come to search for Sirius at Hogwarts when he had escaped. Yet Sirius had been innocent the murders for which he had been convicted had been committed by Wormtail, Voldemorts supporter, whom nearly everybody |
From: Jockie M. <za...@ae...> - 2006-11-20 06:39:21
|
=20 Premier PHrrARMACY http://www.yadesunjinkdeionkas.com _____ =20 =20 That was quick, I said. |
From: Imrus D. <ch...@bs...> - 2006-11-10 03:50:57
|
Hi, Nice PHffARMACY http://www.gentionkxrunhadesa.com =20 Itchy foot, itchy foot, itchy foot itch! |
From: Yannick H. <yan...@gm...> - 2004-11-24 19:25:43
|
This should be informative. Feel free to send me corrections. Yannick |
From: Yannick H. <yan...@gm...> - 2004-11-22 21:11:31
|
here some infos about the classes. Yannick |
From: Yannick H. <yan...@gm...> - 2004-11-18 18:08:30
|
Hi all, currently the team consists of: me - project starter Uwe - a personal colleague with whom I discussed the project at the beginning. He tried to program a java-version (back then I had no idea of wxWidgets and programmed in MS MFC), but java was too slow and memory-consuming to handle all the data. Now he's starting on C++ - when he has some time... Nils - he initiated the wxWidgets-thing. Also, he installed the sourceforge-account, so thanks to him the project became a) platform-independent and b) real OpenSource. He started some linux-porting, but unfortunately, he has even less time than Uwe. Bastian - another man of the very first hour, he deployed the first forum where we could exchange ideas, then he started on a web page. Didn't hear from him for months. Seems to have even less time than Nils. El Roy - first non-german developer, just starting Zvi - second non-german developer, also just starting Yannick |
From: el r. c. <el...@gm...> - 2004-11-15 15:37:25
|
Hi, I'm El Roy and im new to this project, I tried reading the archieve mails but i dont understand the langauge used. Anyways, I tried looking for the documentation so that I can start reading on the deliverables, plans, whole project architecture as well but no luck. Where can I find the documentation? In regards with the task, I can work on the GUI aspect as well as little bit on the database. I am also intrested digging on core once I know well the entire architecture. Regards, El Roy Cabildo (gemroy) |
From: Yannick H. <yan...@gm...> - 2004-09-09 16:02:23
|
Hi, hier eine kleine Starthilfe für werdende Entwickler. Da ich selbst nicht mehr genau wusste, wie ich was compiliert habe, um den MAPEditor ans Laufen zu kriegen, habe ich alles nochmal nachgestellt und festgehalten. Das sollte auch für nicht-VisualC-Nutzer eine Hilfe sein. Für Ergänzungen oder Hilfestellungen für andere Compiler wäre ich sehr dankbar. Möglicherweise gehört diese Datei irgendwo auf die SourceForge-Page? Gruß Yannick 1. Needed programs Download: -wxWidgets v2.5.2 -MySQL v4.0 or above -CTB (http://www.iftools.com/download.html) 2. Installing wxWidgets -decompress the archive -compile the debug and release version of the library In Visual C++ 6.0: -open %wxWidgetsDir%\src\wxWindows.dsw -select build->set active configuration -select "wxWindows - Win32 Debug" -press F7 to start building the library -remove the gzstrem.cpp source file in the "Common Files" folder in the VC-Project if nesseccary (I get a compile error if I don't remove it) -create the release version by selecting "wxWindows - Win32 Release" The libraries are created in %wxWidgetsDir%\lib There should be a wxmsw.lib (release version) and a wxmswd.lib (debug version) 3. Installing MySQL -decompress the archive -a version with pre-compiled libraries is available. If you want to compile your own libraries follow the instructions -compile the debug and release version of the library In Visual C++ 6.0: -open %MySQLDir%\mysql.dsw -create in batch all libraries containing "TLS", plus "bdb" -create the libmysqld debug and release library (for now, ignore the user32.dll-warning when compiling -the .lib is the same, the .dll differs between release and debug version 4. Installing CTB -TODO not used yet 5. Setting up Visual C++ 6.0 -in extras->options->directories, add these paths to libraries %wxWidgetsDir%\lib %wxWidgetsDir%\contrib\lib %MySQLDir%\lib -in extras->options->directories, add these paths to included files %wxWidgetsDir%\include %wxWidgetsDir%\contrib\include %wxWidgetsDir%\lib\msw %MySQLDir%\include -C/C++: Preprocessor The Preprocessor definitions field should contain the following symbols: Debug: WIN32,_DEBUG,_WINDOWS,__WINDOWS__,__WXMSW__,__WXDEBUG__,WXDEBUG=1, __WIN95__,__WIN32__,WINVER=0x0400,STRICT,_MAPCLIENT Release: NDEBUG,WIN32,_WINDOWS,__WINDOWS__,__WXMSW__,__WIN95__,__WIN32__, WINVER=0x0400,STRICT,_MAPCLIENT -C/C++: Precompiled Headers The Not using precompiled headers or Automatic use of precompiled headers button should be selected. -C/C++: Code Generation The Use run-time library control should be set to Debug Multithreaded DLL (Debug) or Multithreaded DLL (Release). -Link: Input In Object/library modules field add: Debug: comctl32.lib wsock32.lib wxmswd.lib libmysqld.lib Release: comctl32.lib wsock32.lib wxmsw.lib libmysqld.lib -Resources ???? Select your .rc file and the Resources tab. The Additional resource include directories field should contain: c:\wx2\include;c:\wx2\contrib\include |
From: Nils F. <nil...@ke...> - 2004-08-09 09:19:36
|
Am Sa, den 07.08.2004 schrieb Yannick Hein um 1:19: > Hi! Moin! > Obwohl ich nach deiner Mail vermute, dass englisch f=FCr Mailing-Lists > wohl die Sprache der Wahl ist, werde ich in anbetracht der Uhrzeit > deutsch vorziehen. :) Err...ja, ich wei=DF auch nicht, warum ich das auf englsich geschrieben habe. Derzeit ist eh kein anderer auf die Liste subscribed ;) > Freut mich, dass nach einigen =C4nderungen zumindest ein kleiner Teil > kompilierbar war :-) Der Code ist schnell recht Portabel geworden, > aber ein letzter (fein?)schliff ist unumg=E4nglich. Zu den =C4nderungen: Klar... Mu=DF auch noch ein Makefile basteln... > - UINT kann =FCberall in unsigned int ge=E4ndert werden. DWORD ist > ebenfalls unsigned int, nicht int! Wenn Variablen von DWORD nach > unsigned int ge=E4ndert werden, dann bitte den Pr=E4fix ebenfalls von dw > nach ui =E4ndern. OK. > - __int64 kann nicht in "long long" ge=E4ndert werden, das versteht MS > garnicht. Da long long aus zwei W=F6rtern besteht, kann ich das dem > Microsoft-Compiler nicht ohne weiteres beibringen (vielleicht=20 > gibt es hier ein service pack?). Bitte, wenn m=F6glich, f=FCr's Erste in > nicht-win-Umgebungen __int64 per define in long long konvertieren. > - mich wundert, dass wxWidgets unter Linux mehr Header braucht als > unter win. Die sollten aber nicht st=F6ren. Ebenso sehe ich beim Rest > keine Probleme. Oh, OK. Aber __int64 kann doch unm=F6glich die normale Deklaration for 64bit ints untrer Win sein, oder? Die "__*" Typen sind doch normalerweise interne Typen und sollten nicht in "normaler" Software verwendet werden. Wenn ich mich recht erinnere war das doch char 8 Bit short 16 Bit int CPU native format, also x86 32 bit, bspw. Alpha-AXP 64 Bit long 32 Bit long long 64 Bit > Gru=DF & viel Erfolg > Yannick Ja, hoffentlich n=E4chstes Wochende mal weitersehen. Bei dem n=E4chsten File das ich probiert hatte, fehlten irgendwelche header, die ich auch nirgends finden konnte. Mehr dazu sp=E4ter ;) Viele Gr=FC=DFe nils faerber --=20 kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 -- |
From: Yannick H. <yan...@gm...> - 2004-08-06 23:17:46
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> </head> <body> Hi!<br> <br> Obwohl ich nach deiner Mail vermute, dass englisch für Mailing-Lists wohl die Sprache der Wahl ist, werde ich in anbetracht der Uhrzeit deutsch vorziehen.<br> <br> Freut mich, dass nach einigen Änderungen zumindest ein kleiner Teil kompilierbar war :-) Der Code ist schnell recht Portabel geworden, aber ein letzter (fein?)schliff ist unumgänglich. Zu den Änderungen:<br> <br> - UINT kann überall in unsigned int geändert werden. DWORD ist ebenfalls unsigned int, nicht int! Wenn Variablen von DWORD nach unsigned int geändert werden, dann bitte den Präfix ebenfalls von dw nach ui ändern.<br> - __int64 kann nicht in "long long" geändert werden, das versteht MS garnicht. Da long long aus zwei Wörtern besteht, kann ich das dem Microsoft-Compiler nicht ohne weiteres beibringen (vielleicht gibt es hier ein service pack?). Bitte, wenn möglich, für's Erste in nicht-win-Umgebungen __int64 per define in long long konvertieren.<br> - mich wundert, dass wxWidgets unter Linux mehr Header braucht als unter win. Die sollten aber nicht stören. Ebenso sehe ich beim Rest keine Probleme.<br> <br> <br> Gruß & viel Erfolg<br> Yannick<br> <br> Nils Faerber schrieb:<br> <blockquote type="cite" cite="mid20040806213918.GA7581@smtp"> <pre wrap="">Hi! Tonight I had my first go at compiling MAP for Linux but failed ;) I changewd some things in some files to get it at least to compile a little. I have attached an appropriate diff for your review (I cannot cross check with Win). CU nils </pre> <pre wrap=""> <hr width="90%" size="4"> ? map.diff Index: ClientDefs.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/ClientDefs.h,v retrieving revision 1.4 diff -c -r1.4 ClientDefs.h *** ClientDefs.h 1 Aug 2004 21:56:42 -0000 1.4 --- ClientDefs.h 6 Aug 2004 21:34:38 -0000 *************** *** 11,19 **** #include "Common/Defs.h" ! /***************************************/ ! /** class declarations ! /***************************************/ class CCoordinate; class CRoadSegment; --- 11,19 ---- #include "Common/Defs.h" ! /*************************************** ! * class declarations ! ***************************************/ class CCoordinate; class CRoadSegment; *************** *** 25,33 **** class CMAPEditorView; class CMainFrame; ! /***************************************/ ! /** hard-coded setting ! /***************************************/ //max number of GPS-points #define MAX_NGPSPOINTS 131072 --- 25,33 ---- class CMAPEditorView; class CMainFrame; ! /*************************************** ! * hard-coded setting ! ***************************************/ //max number of GPS-points #define MAX_NGPSPOINTS 131072 *************** *** 51,59 **** #define SCALE_MAXWIDTH 250 #define SCALE_HEIGHT 10 ! /***************************************/ ! /** macros ! /***************************************/ #define ValIsID(x) ((DWORD)(x)&0x80000000) #define ValIsPtr(x) (!ValIsID(x)) --- 51,59 ---- #define SCALE_MAXWIDTH 250 #define SCALE_HEIGHT 10 ! /*************************************** ! * macros ! ***************************************/ #define ValIsID(x) ((DWORD)(x)&0x80000000) #define ValIsPtr(x) (!ValIsID(x)) *************** *** 63,71 **** //calculate a triangle's hypotenuse #define DISTANCE(x,y) (sqrt(pow((x), 2)+pow((y), 2))) ! /***************************************/ ! /** structures ! /***************************************/ struct SETTINGS { --- 63,71 ---- //calculate a triangle's hypotenuse #define DISTANCE(x,y) (sqrt(pow((x), 2)+pow((y), 2))) ! /*************************************** ! * structures ! ***************************************/ struct SETTINGS { *************** *** 125,133 **** }; #endif ! /***************************************/ ! /** Some cool distance functions ! /***************************************/ double DistanceLineToPoint(DWORD dwLatitudeLineStart, DWORD dwLongitudeLineStart, long lAltitudeLineStart, DWORD dwLatitudeLineEnd, DWORD dwLongitudeLineEnd, long lAltitudeLineEnd, --- 125,133 ---- }; #endif ! /*************************************** ! * Some cool distance functions ! ***************************************/ double DistanceLineToPoint(DWORD dwLatitudeLineStart, DWORD dwLongitudeLineStart, long lAltitudeLineStart, DWORD dwLatitudeLineEnd, DWORD dwLongitudeLineEnd, long lAltitudeLineEnd, *************** *** 164,172 **** double DistanceToAngle(double dDistance); ! /***************************************/ ! /** Global variable declarations ! /***************************************/ //Global file pointer extern CFile* pFileCoordinates; --- 164,172 ---- double DistanceToAngle(double dDistance); ! /*************************************** ! * Global variable declarations ! ***************************************/ //Global file pointer extern CFile* pFileCoordinates; *************** *** 184,200 **** extern CMAPEditorView* _pView; extern CMainFrame* _pMainFrame; ! /***************************************/ ! /** Global function declarations ! /***************************************/ //Thread-function for GPS-COM-Input ! UINT GPSCOMRoutine(LPVOID pParam); ! /***************************************/ ! /** User-defined Messages ! /***************************************/ #define WM_PANVIEW (wxID_HIGHEST+1) --- 184,201 ---- extern CMAPEditorView* _pView; extern CMainFrame* _pMainFrame; ! /*************************************** ! * Global function declarations ! ***************************************/ //Thread-function for GPS-COM-Input ! //UINT GPSCOMRoutine(LPVOID pParam); ! unsigned int GPSCOMRoutine(void *pParam); ! /*************************************** ! * User-defined Messages ! ***************************************/ #define WM_PANVIEW (wxID_HIGHEST+1) Index: Coordinate.cpp =================================================================== RCS file: /cvsroot/massembly/MAPEditor/Coordinate.cpp,v retrieving revision 1.2 diff -c -r1.2 Coordinate.cpp *** Coordinate.cpp 21 Jul 2004 22:42:31 -0000 1.2 --- Coordinate.cpp 6 Aug 2004 21:34:38 -0000 *************** *** 61,68 **** else if (dHDOP<=GetHDOP()*1.25) { int iHDOP=(int)(10*dHDOP); ! m_Point.Offset((__int64)dwLongitude-(((__int64)m_Point.Longitude*m_byNumberOfHUpdates*m_byHDOP+dwLongitude*DDOP2IDOP(dHDOP))/(m_byNumberOfHUpdates*DDOP2IDOP(GetHDOP())+DDOP2IDOP(dHDOP))), ! dwLatitude-(DWORD)(((__int64)m_Point.Latitude*m_byNumberOfHUpdates*m_byHDOP+dwLatitude*DDOP2IDOP(dHDOP))/(m_byNumberOfHUpdates*DDOP2IDOP(GetHDOP())+DDOP2IDOP(dHDOP)))); SetHDOP((GetHDOP()*m_byNumberOfHUpdates+dHDOP)/(m_byNumberOfHUpdates+1)); bUpdated=true; } --- 61,68 ---- else if (dHDOP<=GetHDOP()*1.25) { int iHDOP=(int)(10*dHDOP); ! m_Point.Offset((long long)dwLongitude-(((long long)m_Point.Longitude*m_byNumberOfHUpdates*m_byHDOP+dwLongitude*DDOP2IDOP(dHDOP))/(m_byNumberOfHUpdates*DDOP2IDOP(GetHDOP())+DDOP2IDOP(dHDOP))), ! dwLatitude-(DWORD)(((long long)m_Point.Latitude*m_byNumberOfHUpdates*m_byHDOP+dwLatitude*DDOP2IDOP(dHDOP))/(m_byNumberOfHUpdates*DDOP2IDOP(GetHDOP())+DDOP2IDOP(dHDOP)))); SetHDOP((GetHDOP()*m_byNumberOfHUpdates+dHDOP)/(m_byNumberOfHUpdates+1)); bUpdated=true; } *************** *** 84,90 **** } else if (dVDOP<GetVDOP()*1.25) { ! SetAltitude(lAltitude+m_lAltitude-(long)(((__int64)m_lAltitude*m_byNumberOfVUpdates*GetVDOP()+lAltitude*dVDOP)/(m_byNumberOfVUpdates*GetVDOP()+dVDOP))); SetVDOP((GetVDOP()*m_byNumberOfVUpdates+dVDOP)/(m_byNumberOfVUpdates+1)); bUpdated=true; } --- 84,90 ---- } else if (dVDOP<GetVDOP()*1.25) { ! SetAltitude(lAltitude+m_lAltitude-(long)(((long long)m_lAltitude*m_byNumberOfVUpdates*GetVDOP()+lAltitude*dVDOP)/(m_byNumberOfVUpdates*GetVDOP()+dVDOP))); SetVDOP((GetVDOP()*m_byNumberOfVUpdates+dVDOP)/(m_byNumberOfVUpdates+1)); bUpdated=true; } Index: MAPEditor.cpp =================================================================== RCS file: /cvsroot/massembly/MAPEditor/MAPEditor.cpp,v retrieving revision 1.6 diff -c -r1.6 MAPEditor.cpp *** MAPEditor.cpp 1 Aug 2004 21:59:46 -0000 1.6 --- MAPEditor.cpp 6 Aug 2004 21:34:39 -0000 *************** *** 9,16 **** #include "MAPEditorDoc.h" #include "MAPEditorView.h" #include "Common/Transaction.h" ! #include "wx/cmdline.h" ! #include "wx/filename.h" #if !wxUSE_DOC_VIEW_ARCHITECTURE #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h! --- 9,19 ---- #include "MAPEditorDoc.h" #include "MAPEditorView.h" #include "Common/Transaction.h" ! #include <wx/cmdline.h> ! #include <wx/filename.h> ! #include <wx/menu.h> ! #include <wx/intl.h> ! #include <wx/log.h> #if !wxUSE_DOC_VIEW_ARCHITECTURE #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h! *************** *** 150,160 **** // CMAPEditorApp-Nachrichtenbehandlungsroutinen ! UINT GPSCOMRoutine(LPVOID pParam) { CMAPEditorDoc* pDoc = (CMAPEditorDoc*)pParam; ! DWORD dwRead; ! UINT uiErrorCode=0; int nErrornous=0; wxLogDebug("COM-Thread started"); while (1) --- 153,163 ---- // CMAPEditorApp-Nachrichtenbehandlungsroutinen ! unsigned int GPSCOMRoutine(void *pParam) { CMAPEditorDoc* pDoc = (CMAPEditorDoc*)pParam; ! long dwRead; ! unsigned int uiErrorCode=0; int nErrornous=0; wxLogDebug("COM-Thread started"); while (1) Index: MAPEditor.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/MAPEditor.h,v retrieving revision 1.2 diff -c -r1.2 MAPEditor.h *** MAPEditor.h 16 Jul 2004 07:03:12 -0000 1.2 --- MAPEditor.h 6 Aug 2004 21:34:39 -0000 *************** *** 5,11 **** #define _GPSTRACKER_H__INCLUDED_ #include "ClientDefs.h" ! #include "wx/docview.h" #include "resource.h" // Hauptsymbole ///////////////////////////////////////////////////////////////////////////// --- 5,12 ---- #define _GPSTRACKER_H__INCLUDED_ #include "ClientDefs.h" ! #include <wx/docview.h> ! #include <wx/app.h> #include "resource.h" // Hauptsymbole ///////////////////////////////////////////////////////////////////////////// Index: MAPEditorDoc.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/MAPEditorDoc.h,v retrieving revision 1.5 diff -c -r1.5 MAPEditorDoc.h *** MAPEditorDoc.h 1 Aug 2004 21:57:50 -0000 1.5 --- MAPEditorDoc.h 6 Aug 2004 21:34:39 -0000 *************** *** 5,13 **** #if !defined(_GPSTRACKERDOC_H__INCLUDED_) #define _GPSTRACKERDOC_H__INCLUDED_ ! #include "wx/wxprec.h" #include "ClientDefs.h" ! #include "wx/docview.h" class CMAPEditorDoc : public wxDocument { --- 5,17 ---- #if !defined(_GPSTRACKERDOC_H__INCLUDED_) #define _GPSTRACKERDOC_H__INCLUDED_ ! #include <wx/wxprec.h> #include "ClientDefs.h" ! #include <wx/docview.h> ! ! #ifndef HANDLE ! #define HANDLE int ! #endif class CMAPEditorDoc : public wxDocument { Index: RoadPropertiesDlg.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/RoadPropertiesDlg.h,v retrieving revision 1.2 diff -c -r1.2 RoadPropertiesDlg.h *** RoadPropertiesDlg.h 1 Aug 2004 21:47:59 -0000 1.2 --- RoadPropertiesDlg.h 6 Aug 2004 21:34:39 -0000 *************** *** 4,11 **** // RoadPropertiesDlg.h : Header-Datei // #include "ClientDefs.h" ! #include "wx/ListCtrl.h" ! #include "wx/TreeCtrl.h" #include "res/CRoadPropertiesDlgBase.h" ///////////////////////////////////////////////////////////////////////////// --- 4,11 ---- // RoadPropertiesDlg.h : Header-Datei // #include "ClientDefs.h" ! #include <wx/listctrl.h> ! #include <wx/treectrl.h> #include "res/CRoadPropertiesDlgBase.h" ///////////////////////////////////////////////////////////////////////////// Index: World.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/World.h,v retrieving revision 1.3 diff -c -r1.3 World.h *** World.h 1 Aug 2004 21:54:21 -0000 1.3 --- World.h 6 Aug 2004 21:34:39 -0000 *************** *** 28,34 **** DWORD m_pBigRegions [180][360]; // 1? * 1? DWORD* m_pMedRegions; // 1/2? * 1/2? DWORD* m_pSmallRegions; // 1/4? * 1/4? ! __int64 m_IDMapVersion; IDSNAPSHOT m_NextLocalIDs; public: CTransactionHandler* m_pTH; --- 28,34 ---- DWORD m_pBigRegions [180][360]; // 1? * 1? DWORD* m_pMedRegions; // 1/2? * 1/2? DWORD* m_pSmallRegions; // 1/4? * 1/4? ! long long m_IDMapVersion; IDSNAPSHOT m_NextLocalIDs; public: CTransactionHandler* m_pTH; *************** *** 56,59 **** CRoad* AddRoad(CRoad* pRoad, WORD wSegment); }; ! #endif \ No newline at end of file --- 56,59 ---- CRoad* AddRoad(CRoad* pRoad, WORD wSegment); }; ! #endif Index: Common/Defs.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/Common/Defs.h,v retrieving revision 1.2 diff -c -r1.2 Defs.h *** Common/Defs.h 1 Aug 2004 22:02:22 -0000 1.2 --- Common/Defs.h 6 Aug 2004 21:34:40 -0000 *************** *** 5,11 **** #pragma once #endif // _MSC_VER > 1000 ! #include "wx\\wxprec.h" #include "math.h" #include "float.h" --- 5,12 ---- #pragma once #endif // _MSC_VER > 1000 ! #include <wx/wxprec.h> ! #include <wx/string.h> #include "math.h" #include "float.h" *************** *** 21,29 **** #include "TransferDefs.h" ! /***************************************/ ! /** hard-coded setting ! /***************************************/ //max number of RoadSegments attached to one coordinate #define MAX_ROADSEGMENTS_PER_COORDINATE 40 --- 22,30 ---- #include "TransferDefs.h" ! /*************************************** ! * hard-coded setting ! ***************************************/ //max number of RoadSegments attached to one coordinate #define MAX_ROADSEGMENTS_PER_COORDINATE 40 *************** *** 40,48 **** #define M_PI 3.14159265358979323846 #endif ! /***************************************/ ! /** Flags ! /***************************************/ // defines for SegmentFlags #define RSF_ONEWAY 0x01 --- 41,49 ---- #define M_PI 3.14159265358979323846 #endif ! /*************************************** ! * Flags ! ***************************************/ // defines for SegmentFlags #define RSF_ONEWAY 0x01 *************** *** 65,73 **** //max weight (free for adjacent owner), 1-400, default 400, wVal #define RSPT_MAXWEIGHTFAO 0x84 ! /***************************************/ ! /** macros ! /***************************************/ //compress a DOP-value so that it fits in a BYTE #define DOP2BYTE(x) ((BYTE)(((x)>20)?(((x)-20.0)/30.0*55.0+200):((x)*10))) --- 66,74 ---- //max weight (free for adjacent owner), 1-400, default 400, wVal #define RSPT_MAXWEIGHTFAO 0x84 ! /*************************************** ! * macros ! ***************************************/ //compress a DOP-value so that it fits in a BYTE #define DOP2BYTE(x) ((BYTE)(((x)>20)?(((x)-20.0)/30.0*55.0+200):((x)*10))) *************** *** 80,88 **** #define RESULTINGTRUSTLEVEL(x) ((x<=50000)?(100000000/(x+50000)-1000):x) ! /***************************************/ ! /** transaction-defs ! /***************************************/ class CTransaction; class CTransactionHandler; --- 81,89 ---- #define RESULTINGTRUSTLEVEL(x) ((x<=50000)?(100000000/(x+50000)-1000):x) ! /*************************************** ! * transaction-defs ! ***************************************/ class CTransaction; class CTransactionHandler; *************** *** 112,120 **** #define SER_GET4(x) *(DWORD*)(&x)=*(DWORD*)(pbyBuffer+iSize), iSize+=4 #define SER_GETS(x) memcpy(x.GetWriteBuf(pbyBuffer[iSize]), pbyBuffer+iSize+1, pbyBuffer[iSize]); iSize+=pbyBuffer[iSize]+1; x.UngetWriteBuf() ! /***************************************/ ! /** structures & enums ! /***************************************/ struct SEGMENTPROPERTY { --- 113,121 ---- #define SER_GET4(x) *(DWORD*)(&x)=*(DWORD*)(pbyBuffer+iSize), iSize+=4 #define SER_GETS(x) memcpy(x.GetWriteBuf(pbyBuffer[iSize]), pbyBuffer+iSize+1, pbyBuffer[iSize]); iSize+=pbyBuffer[iSize]+1; x.UngetWriteBuf() ! /*************************************** ! * structures & enums ! ***************************************/ struct SEGMENTPROPERTY { *************** *** 198,206 **** DelCoordinate }; ! /***************************************/ ! /** global classes ! /***************************************/ class CoordPoint { --- 199,207 ---- DelCoordinate }; ! /*************************************** ! * global classes ! ***************************************/ class CoordPoint { *************** *** 210,216 **** CoordPoint() {Latitude=0; Longitude=0;}; CoordPoint(DWORD dwLat, DWORD dwLong) {Latitude=dwLat, Longitude=dwLong;}; CoordPoint& operator= (CoordPoint p) {Latitude=p.Latitude, Longitude=p.Longitude; return *this;}; ! void Offset(__int64 x, int y) { wxASSERT(Latitude<1800000000 && Latitude>0 && Longitude<3600000000); if (y>=1800000000) y=1799999999; else if (y<=-1800000000) y=-1799999999; --- 211,217 ---- CoordPoint() {Latitude=0; Longitude=0;}; CoordPoint(DWORD dwLat, DWORD dwLong) {Latitude=dwLat, Longitude=dwLong;}; CoordPoint& operator= (CoordPoint p) {Latitude=p.Latitude, Longitude=p.Longitude; return *this;}; ! void Offset(long long x, int y) { wxASSERT(Latitude<1800000000 && Latitude>0 && Longitude<3600000000); if (y>=1800000000) y=1799999999; else if (y<=-1800000000) y=-1799999999; *************** *** 236,242 **** DWORD Width() {return Right-Left+((Left>Right)?3600000000:0);}; DWORD HCenter() {DWORD dwWidth=Width()/2+Left; return (dwWidth>=3600000000 || dwWidth<Left)?dwWidth-3600000000:dwWidth;}; DWORD VCenter() {return Height()/2+Bottom;}; ! void OffsetRect(__int64 x, int y) { wxASSERT(Top>=Bottom && Top<1800000000 && Bottom>0 && Left<3600000000 && Right<3600000000); if (y>=1800000000) y=1799999999; else if (y<=-1800000000) y=-1799999999; --- 237,243 ---- DWORD Width() {return Right-Left+((Left>Right)?3600000000:0);}; DWORD HCenter() {DWORD dwWidth=Width()/2+Left; return (dwWidth>=3600000000 || dwWidth<Left)?dwWidth-3600000000:dwWidth;}; DWORD VCenter() {return Height()/2+Bottom;}; ! void OffsetRect(long long x, int y) { wxASSERT(Top>=Bottom && Top<1800000000 && Bottom>0 && Left<3600000000 && Right<3600000000); if (y>=1800000000) y=1799999999; else if (y<=-1800000000) y=-1799999999; Index: Common/Transaction.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/Common/Transaction.h,v retrieving revision 1.2 diff -c -r1.2 Transaction.h *** Common/Transaction.h 1 Aug 2004 22:02:22 -0000 1.2 --- Common/Transaction.h 6 Aug 2004 21:34:40 -0000 *************** *** 57,60 **** }; ! #endif \ No newline at end of file --- 57,60 ---- }; ! #endif Index: Common/TransferDefs.h =================================================================== RCS file: /cvsroot/massembly/MAPEditor/Common/TransferDefs.h,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 TransferDefs.h *** Common/TransferDefs.h 13 Jul 2004 22:25:18 -0000 1.1.1.1 --- Common/TransferDefs.h 6 Aug 2004 21:34:40 -0000 *************** *** 13,21 **** ! /***************************************/ ! /** Client Messages Server->Client ! /***************************************/ //Server is full, no message yet #define CMSG_QUEUEFULL 0 --- 13,21 ---- ! /*************************************** ! * Client Messages Server->Client ! ***************************************/ //Server is full, no message yet #define CMSG_QUEUEFULL 0 *************** *** 44,52 **** //[01] x : Transaction data #define CMSG_TRANSACTIONDATA 6 ! /***************************************/ ! /** Client Messages Client->Server ! /***************************************/ //Attempt a login. //[01] 2 : Major version --- 44,52 ---- //[01] x : Transaction data #define CMSG_TRANSACTIONDATA 6 ! /*************************************** ! * Client Messages Client->Server ! ***************************************/ //Attempt a login. //[01] 2 : Major version </pre> </blockquote> <br> </body> </html> |
From: Nils F. <ni...@ke...> - 2004-08-06 21:45:04
|
Hi! Tonight I had my first go at compiling MAP for Linux but failed ;) I changewd some things in some files to get it at least to compile a little. I have attached an appropriate diff for your review (I cannot cross check with Win). CU nils |
From: Nils F. <nil...@ke...> - 2004-07-16 15:35:17
|
Am Fr, den 16.07.2004 schrieb Yan...@ls... um 16:40: > Hi, schaut mal auf http://opengeodb.de >=20 > "Wir werden eure Eigenschaften den unseren Hinzuf=FCgen. Widerstand ist > zecklos" >=20 > Damit h=E4tten wir schonmal eine gute Stadtdaten-Basis. Ich werde die am > Wochenende mal kontaktieren. Naja ... die wollen ja "nur" die Orte erfassen und nicht die Stra=DFen. Auch schon nicht schelcht, aber doch wohl nicht so ganz was wir wollen, oder? > Gru=DF > Yannick Viele Gr=FC=DFe nils faerber --=20 kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 -- |
From: Nils F. <nil...@ke...> - 2004-07-16 11:25:32
|
Am Fr, den 16.07.2004 schrieb Yan...@ls... um 11:21: > Hi, Hallo! > gestern konnte ich wieder das Zeichnen wieder aktivieren. Momentan > zeichne ich direkt in das Frame-Window; ob das sinnvoll ist oder > Probleme verursacht wird sich noch zeigen. Man muss momentan nach dem > Laden eines Tracks noch das Fenster resizen, damit alles neu > gezeichnet wird. Aber - es geht! Das grafische Zeichnen war eines > meiner gr=F6=DFten Bedenken beim Umstieg auf wxWindows (es ist nur zum > Teil gel=F6st - Ich habe noch nicht getestet, ob Stra=DFen auch korrekt > gezeichnet werden). Die neuen Sourcen sind nat=FCrlich eingecheckt. Ja super! Ich habe derzeit nur leider saum=E4=DFig wenig Zeit und daher kaum M=F6glichkeit etwas produktiv zu tun :( Ich hoffe vielleicht am Wochenende etwas machen zu k=F6nnen... > Momentan habe ich noch arge Zweifel daran, ob die > Document/View-Architektur f=FCr das Projekt angebracht ist, zumal ich > mit der wxView-Klasse auf dem Kriegsfu=DF stehe: was soll eine > View-Klasse, die nicht von einem Window-Objekt abgeleitet ist?? Ich > finde das zur Zeit noch reichlich unsinnig, wenn ich nicht bald den > Sinn verstehe werde ich die View-Klasse rauswerfen und den Code in > eine andere, von wxWindow ageleitete Klasse schreiben. Im Zweifelsfall kann man zu solchen Details auch die Leute von wxwindows fragen! Die k=F6nnen einem, bei Beschreibung des Problems und der derzeitigen L=F6sung, vielleicht eine sinnvollere L=F6sung sagen oder erkl=E4ren, wo das Problem liegt. > Yannick Viele Gr=FC=DFe nils faerber --=20 kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 -- |
From: Nils F. <nil...@ke...> - 2004-07-15 16:04:08
|
Am Do, den 15.07.2004 schrieb Yan...@ls... um 17:20: > Jo, OpenGL h=F6rt sich interessant an. Ich lade nachher mal die > wxWidgets=20 > runter. Da das ja jetzt unabh=E4ngig von den MFC-Klassen ist m=FC=DFte ma= n > das=20 > doch jetzt auch unter Windows mit einem freien Compiler =FCbersetzen > k=F6nnen,=20 Korrekt! > oder? Es gibt doch sicherlich so etwas wie gcc f=FCr Windows. Nachher > mal schauen. Such' mal nach "cygwin": http://www.cygwin.com/ http://www.cygwin.com/mirrors.html > Yannick Viele Gr=FC=DFe nils faerber --=20 kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 -- |
From: Uwe H. <Uwe...@gm...> - 2004-07-15 13:44:27
|
Am Thu, 15 Jul 2004 15:25:52 +0200 hat <Yan...@ls...> geschrieben: > Hallo & Willkommen zur MAP-Mailing List! > > Ich habe nun auch Uwe zu den Admins hinzugefügt - mir sagen noch nicht > alle SourceForge-Einstellungen was, aber da komme ich im Laufe der Zeit > schon noch hinter. Sonst macht Nils das eben. (Da ich noch nicht weiß, ob > Uwe schon in der Liste eingetragen ist, steht er noch in Kopie) Da ich das Zeugs nur von Dir bekommen habe stehe ich scheinbar noch nicht in der Mailingliste. > Uwe hat erstmal Interesse für eine OpenGL-Entwicklung der Kartenanzeige > gezeigt und wollte sich da erstmal einlesen. Das wäre auf jeden Fall ein > Gebiet, das mit relativ wenig Einarbeitung (in das bestehende Projekt) > verbunden wäre, und da die derzeit grottenhaft schlechte > Darstellungsroutine sowieso überarbeitet werden muss, bietet sich hier > ein > interessantes und wichtiges Einsatzfeld. Jo, OpenGL hört sich interessant an. Ich lade nachher mal die wxWidgets runter. Da das ja jetzt unabhängig von den MFC-Klassen ist müßte man das doch jetzt auch unter Windows mit einem freien Compiler übersetzen können, oder? Es gibt doch sicherlich so etwas wie gcc für Windows. Nachher mal schauen. Uwe |