clean_includes.patch

Clean include blocks in misc project - titegus, 11/21/2008 07:24 pm

Download (37.4 kB)

misc/fast_floor.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/fast_floor.h"
27 25
#include <cmath>
26
#include "nel/misc/fast_floor.h"
28 27

29 28
namespace NLMISC {
30 29

misc/plane.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/plane.h"
27 26
#include "nel/misc/uv.h"
28 27

misc/system_info.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27 26
#	define NOMINMAX
28 27
#	include <windows.h>
......
35 34
#	include <unistd.h>
36 35
#	include <cerrno>
37 36
#endif // NL_OS_WINDOWS
38

39 37
#include "nel/misc/system_info.h"
40 38
#include "nel/misc/command.h"
41 39
#include "nel/misc/variable.h"
misc/big_file.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/big_file.h"
27 26
#include "nel/misc/path.h"
28 27

misc/cpu_time_stat.cpp (copie de travail)
24 24
 */
25 25

26 26
#include "stdmisc.h"
27
#include "nel/misc/cpu_time_stat.h"
28

29
#include <nel/misc/common.h>
30

31 27
#include <string>
32 28
#include <vector>
33

34 29
#include <cstdio>
35

36 30
#ifdef NL_OS_UNIX
37 31
#include <unistd.h>
38 32
#else
39 33
#include <process.h>
40 34
#endif
35
#include "nel/misc/cpu_time_stat.h"
36
#include <nel/misc/common.h>
41 37

42 38
using namespace std;
43 39

misc/events.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/events.h"
27 26
#include "nel/misc/string_conversion.h"
28 27

misc/di_game_device.cpp (copie de travail)
23 23

24 24

25 25
#include "stdmisc.h"
26
#include "di_game_device.h"
27
#include "nel/misc/game_device_events.h"
28 26
#include <cstddef>
29 27
#include <memory>
30 28
#include <algorithm>
29
#include "di_game_device.h"
30
#include "nel/misc/game_device_events.h"
31 31

32 32
#ifdef NL_OS_WINDOWS
33 33

misc/vectord.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25
#include "nel/misc/vectord.h"
25 26

26
#include	"../../include/nel/misc/vectord.h"
27 27

28

29 28
namespace	NLMISC
30 29
{
31 30

misc/event_server.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/event_server.h"
27 26
#include "nel/misc/event_listener.h"
28 27
#include "nel/misc/event_emitter.h"
misc/stl_block_list.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/stl_block_list.h"
27 26

28 27
// remove stupid VC6 warnings
misc/win_displayer.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27

28 26
#include <iostream>
29 27
#include <fstream>
30 28
//#include <sstream>
31 29
#include <iomanip>
32 30
#include <csignal>
33 31
#include <cstring>
34

35 32
#define NOMINMAX
36 33
#include <windows.h>
37 34
#include <windowsx.h>
......
41 38
#include <richedit.h>
42 39
#include <commctrl.h>
43 40
#include <ctime>
44

45 41
#include "nel/misc/path.h"
46 42
#include "nel/misc/command.h"
47 43
#include "nel/misc/thread.h"
48 44
#include "nel/misc/ucstring.h"
49

50 45
#include "nel/misc/win_displayer.h"
51 46

52 47
using namespace std;
misc/bitmap.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include <memory>
27 26
#include <algorithm>
28 27
#include "nel/misc/bitmap.h"
misc/stl_block_allocator.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/stl_block_allocator.h"
27 26

28 27
// remove stupid VC6 warnings
misc/hierarchical_timer.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

25
#include <map>
26 26
#include "nel/misc/hierarchical_timer.h"
27 27
#include "nel/misc/common.h"
28 28
#include "nel/misc/debug.h"
29 29
#include "nel/misc/command.h"
30 30
#include "nel/misc/system_info.h"
31

32 31
#ifdef NL_CPU_INTEL
33 32
#include "nel/misc/time_nl.h"
34 33
#endif
35 34

36
#include <map>
37

38 35
namespace NLMISC
39 36
{
40 37

misc/bitmap_png.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/bitmap.h"
27

28
// Currently this class supports Windows only
29
#ifdef NL_OS_WINDOWS
30

25
#ifdef NL_OS_WINDOWS	// Currently this class supports Windows only
26
#include <csetjmp>
31 27
#include "nel/misc/stream.h"
32 28
#include "nel/misc/file.h"
33 29
#include "nel/misc/dynloadlib.h"
34
#include <csetjmp>
30
#include "nel/misc/bitmap.h"
35 31

36 32
using namespace std;
37 33

misc/log.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27 26
#	define NOMINMAX
28 27
#	include <process.h>
......
30 29
#else
31 30
#	include <unistd.h>
32 31
#endif
33

34 32
#include <ctime>
35 33
#include <cstdarg>
36

37 34
#include "nel/misc/displayer.h"
38 35
#include "nel/misc/log.h"
39 36
#include "nel/misc/debug.h"
misc/win_thread.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27

28
#include "nel/misc/win_thread.h"
29
#include "nel/misc/path.h"
30 26
#define NOMINMAX
31 27
#include <windows.h>
32

33 28
#include <typeinfo>
29
#include "nel/misc/win_thread.h"
30
#include "nel/misc/path.h"
34 31

35 32
namespace NLMISC {
36 33

misc/di_event_emitter.cpp (copie de travail)
23 23

24 24

25 25
#include "stdmisc.h"
26

27
#include "nel/misc/di_event_emitter.h"
28
#include "nel/misc/events.h"
29
#include "nel/misc/win_event_emitter.h"
30
//
26
#include <memory>
27
#include <algorithm>
31 28
#include "di_mouse_device.h"
32 29
#include "di_keyboard_device.h"
33 30
#include "di_game_device.h"
34
//
35
#include <memory>
36
#include <algorithm>
31
#include "nel/misc/di_event_emitter.h"
32
#include "nel/misc/events.h"
33
#include "nel/misc/win_event_emitter.h"
37 34

38 35
#ifdef NL_OS_WINDOWS
39 36

misc/p_thread.cpp (copie de travail)
23 23

24 24

25 25
#include "stdmisc.h"
26

27 26
#ifdef NL_OS_UNIX
28

29 27
#include "nel/misc/p_thread.h"
30 28

31 29

misc/line.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/line.h"
27 25
#include <limits>
26
#include "nel/misc/line.h"
28 27

29 28
namespace NLMISC
30 29
{
misc/fast_mem.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/fast_mem.h"
27 26
#include "nel/misc/system_info.h"
28 27

misc/sha1.cpp (copie de travail)
50 50
//
51 51

52 52
#include "stdmisc.h"
53

54 53
#include <cstdio>
55 54
#include <cstring>
56 55
#include <string>
57 56
#include <map>
58 57
#include <vector>
59

60 58
#include "nel/misc/sha1.h"
61 59
#include "nel/misc/file.h"
62 60
#include "nel/misc/path.h"
misc/aabbox.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/aabbox.h"
27 26
#include "nel/misc/polygon.h"
28 27
#include "nel/misc/bsphere.h"
misc/displayer.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26

27 25
#ifdef NL_OS_WINDOWS
28 26
#	include <io.h>
29 27
#	include <fcntl.h>
30 28
#	include <sys/types.h>
31 29
#	include <sys/stat.h>
30
#	include <windows.h>
32 31
#else
33 32
#	include <cerrno>
34 33
#endif // NL_OS_WINDOWS
35

36 34
#include <cstdio>
37 35
#include <cstdlib>
38 36
#include <ctime>
39

40 37
#include <iostream>
41 38
#include <fstream>
42 39
//#include <sstream>
43 40
#include <iomanip>
44

45 41
#include "nel/misc/path.h"
46 42
#include "nel/misc/mutex.h"
47 43
#include "nel/misc/report.h"
48

49 44
#include "nel/misc/debug.h"
45
#include "nel/misc/displayer.h"
50 46

51

52 47
#ifdef NL_OS_WINDOWS
53 48
// these defines is for IsDebuggerPresent(). it'll not compile on windows 95
54 49
// just comment this and the IsDebuggerPresent to compile on windows 95
55 50
#	define _WIN32_WINDOWS	0x0410
56 51
#	define WINVER			0x0400
57 52
#	define NOMINMAX
58
#	include <windows.h>
59 53
#else
60 54
#	define IsDebuggerPresent() false
61 55
#endif
62 56

63
#include "nel/misc/displayer.h"
64

65 57
using namespace std;
66 58

67 59
namespace NLMISC
misc/shared_memory.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25
#include "nel/misc/shared_memory.h"
26

27 25
#ifdef NL_OS_WINDOWS
28 26
#	define NOMINMAX
29 27
#	include <windows.h>
......
32 30
#	include <sys/ipc.h>
33 31
#	include <sys/shm.h>
34 32
#endif
33
#include "nel/misc/shared_memory.h"
35 34

36 35
using namespace std;
37 36

misc/xml_pack.cpp (copie de travail)
1 1
/** Hop */
2 2

3 3
#include "stdmisc.h"
4
#include <cstdio>
4 5
#include "nel/misc/xml_pack.h"
5 6
#include "nel/misc/file.h"
6 7

7
#include <cstdio>
8

9 8
using namespace std;
10 9

11 10

misc/mutex.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifndef _GNU_SOURCE
27 26
#define _GNU_SOURCE
28 27
#endif // _GNU_SOURCE
29

30
#include "nel/misc/mutex.h"
31
#include "nel/misc/time_nl.h"
32

33 28
#ifdef MUTEX_DEBUG
34 29
#include <iostream>
35 30
#endif
31
#include "nel/misc/mutex.h"
32
#include "nel/misc/time_nl.h"
36 33

37 34
using namespace std;
38 35

misc/di_game_device.h (copie de travail)
25 25
#define NL_DI_GAME_DEVICE_H
26 26

27 27
#include "nel/misc/types_nl.h"
28

29 28
#ifdef NL_OS_WINDOWS
30

31 29
#include "nel/misc/di_event_emitter.h"
32 30
#include "nel/misc/game_device.h"
33 31

misc/noise_value.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/noise_value.h"
27 26
#include "nel/misc/fast_floor.h"
28 27

misc/vector_h.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/vector_h.h"
27 26

28 27

misc/eid_translator.cpp (copie de travail)
26 26
//
27 27

28 28
#include "stdmisc.h"
29

30 29
#include <string>
31 30
#include <vector>
32 31
#include <map>
33

34 32
#include "nel/misc/algo.h"
35 33
#include "nel/misc/file.h"
36 34
#include "nel/misc/path.h"
misc/string_mapper.cpp (copie de travail)
26 26
 */
27 27

28 28
#include "stdmisc.h"
29

30 29
#include <map>
31

32 30
#include "nel/misc/string_mapper.h"
33 31

34 32
using namespace std;
misc/inter_window_msg_queue.cpp (copie de travail)
1 1

2 2
#include "stdmisc.h"
3

4 3
#ifdef NL_OS_WINDOWS
5 4
#include "nel/misc/inter_window_msg_queue.h"
6
//
7 5
#include "nel/misc/mem_stream.h"
8 6
#include "nel/misc/shared_memory.h"
9 7

misc/words_dictionary.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/words_dictionary.h"
27 26
#include "nel/misc/config_file.h"
28 27
#include "nel/misc/path.h"
misc/md5.cpp (copie de travail)
48 48
*/
49 49

50 50
#include "stdmisc.h"
51

52 51
#include "nel/misc/md5.h"
53

54 52
#include "nel/misc/types_nl.h"
55 53
#include "nel/misc/debug.h"
56 54
#include "nel/misc/file.h"
misc/win_event_emitter.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

25
#ifdef NL_OS_WINDOWS
26
#define NOMINMAX
27
#include <windows.h>
28
#include <windowsx.h>
26 29
#include "nel/misc/events.h"
27 30
#include "nel/misc/event_emitter.h"
28 31
#include "nel/misc/win_event_emitter.h"
29 32
#include "nel/misc/event_server.h"
30 33

31
#ifdef NL_OS_WINDOWS
32
#define NOMINMAX
33
#include <windows.h>
34
#include <windowsx.h>
35

36 34
/**
37 35
  * Needed for definition of WM_MOUSEWHEEL. It should be in winuser.h
38 36
  * but not under win98.. strange..
misc/bsphere.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/bsphere.h"
27 26

28 27
using namespace	NLMISC;
misc/object_vector.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/object_vector.h"
27 26

28 27
// leave not static else this workaround don't work
misc/mem_displayer.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/types_nl.h"
27

28 25
#include <cstdio>
29

30 26
#include <iostream>
31 27
#include <fstream>
32 28
//#include <sstream>
33 29
#include <iomanip>
34 30
#include <string>
35

36
#include "nel/misc/mem_displayer.h"
37
#include "nel/misc/path.h"
38
#include "nel/misc/command.h"
39
#include "nel/misc/debug.h"
40

41 31
#ifdef NL_OS_WINDOWS
42 32
#	define NOMINMAX
43 33
#	include <windows.h>
44 34
#	include <imagehlp.h>
45 35
#	pragma comment(lib, "imagehlp.lib")
46 36
#endif // NL_OS_WINDOWS
37
#include "nel/misc/types_nl.h"
38
#include "nel/misc/mem_displayer.h"
39
#include "nel/misc/path.h"
40
#include "nel/misc/command.h"
41
#include "nel/misc/debug.h"
47 42

48 43
using namespace std;
49 44

misc/tds.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/tds.h"
27

28 25
#ifdef NL_OS_WINDOWS
29 26
#	define NOMINMAX
30 27
#	include <windows.h>
31 28
#endif // NL_OS_WINDOWS
29
#include "nel/misc/tds.h"
32 30

33 31
namespace NLMISC
34 32
{
misc/task_manager.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/task_manager.h"
27 26
#include "nel/misc/big_file.h"
28 27

misc/vector.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25
#include "nel/misc/vector.h"
25 26

26
#include	"../../include/nel/misc/vector.h"
27

28 27
using namespace std;
29 28

30 29

misc/matrix.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/matrix.h"
27 26
#include "nel/misc/plane.h"
28 27
#include "nel/misc/debug.h"
misc/i_xml.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

25
#ifndef NL_DONT_USE_EXTERNAL_CODE
26
#include <libxml/xmlerror.h>		// Include from libxml2
26 27
#include "nel/misc/i_xml.h"
27 28
#include "nel/misc/sstring.h"
28 29

29
#ifndef NL_DONT_USE_EXTERNAL_CODE
30

31
// Include from libxml2
32
#include <libxml/xmlerror.h>
33

34 30
using namespace std;
35 31

36 32
#define NLMISC_READ_BUFFER_SIZE 1024
misc/report.cpp (copie de travail)
23 23
 */
24 24

25 25
#include "stdmisc.h"
26

27 26
#include <cstdio>
28 27
#include <cstdlib>
29
#include "nel/misc/common.h"
30
#include "nel/misc/ucstring.h"
31

32
#include "nel/misc/report.h"
33

34 28
#ifdef NL_OS_WINDOWS
35 29
#	define NOMINMAX
36 30
#	include <windows.h>
37 31
#	include <windowsx.h>
38 32
#	include <winuser.h>
39 33
#endif // NL_OS_WINDOWS
34
#include "nel/misc/common.h"
35
#include "nel/misc/ucstring.h"
36
#include "nel/misc/report.h"
40 37

41 38
using namespace std;
42 39

misc/rgba.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/rgba.h"
27 26
#include "nel/misc/stream.h"
28 27
#include "nel/misc/system_info.h"
misc/smart_ptr.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/smart_ptr.h"
27 26

28 27

misc/stdmisc.h (copie de travail)
1 1

2
#include "nel/misc/types_nl.h"
3

4 2
#include <map>
5 3
#include <set>
6 4
#include <list>
......
13 11
#include <utility>
14 12
#include <algorithm>
15 13
#include <exception>
16

14
#include "nel/misc/types_nl.h"
17 15
#include "nel/misc/debug.h"
18 16
#include "nel/misc/common.h"
19 17
#include "nel/misc/fast_mem.h"
misc/stop_watch.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/stop_watch.h"
27 25
#include <numeric>
26
#include "nel/misc/stop_watch.h"
28 27

29 28
using namespace std;
30 29

misc/command.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/command.h"
27 26
#include "nel/misc/algo.h"
28 27

misc/o_xml.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

25
#ifndef NL_DONT_USE_EXTERNAL_CODE
26
#include <libxml/xmlerror.h>		// Include from libxml2
26 27
#include "nel/misc/o_xml.h"
27 28

28
#ifndef NL_DONT_USE_EXTERNAL_CODE
29

30
// Include from libxml2
31
#include <libxml/xmlerror.h>
32

33 29
using namespace std;
34 30

35 31
namespace NLMISC
misc/string_common.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/string_common.h"
27 26

28 27
using namespace std;
misc/i18n.cpp (copie de travail)
25 25

26 26

27 27
#include "stdmisc.h"
28

29 28
#include "nel/misc/path.h"
30 29
#include "nel/misc/i18n.h"
31 30

misc/string_id_array.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/string_id_array.h"
27 26

28 27

misc/dynloadlib.cpp (copie de travail)
23 23
 */
24 24

25 25
#include "stdmisc.h"
26

27 26
#include "nel/misc/dynloadlib.h"
28 27
#include "nel/misc/path.h"
29 28

misc/algo.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#include "nel/misc/algo.h"
27 25
#include <string>
26
#include "nel/misc/algo.h"
28 27

29 28

30 29
using	namespace std;
misc/sheet_id.cpp (copie de travail)
26 26
 */
27 27

28 28
#include "stdmisc.h"
29

30 29
#include "nel/misc/file.h"
31 30
#include "nel/misc/path.h"
32

33 31
#include "nel/misc/sheet_id.h"
34 32
#include "nel/misc/common.h"
35 33
#include "nel/misc/hierarchical_timer.h"
misc/variable.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/variable.h"
27 26

28 27
using namespace std;
misc/check_fpu.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27

28 26
#include "nel/misc/check_fpu.h"
29 27
#include "nel/misc/fast_floor.h"
30 28

misc/polygon.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/polygon.h"
27 26
#include "nel/misc/plane.h"
28 27
#include "nel/misc/triangle.h"
misc/time_nl.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include <ctime>
27

28 26
#ifdef NL_OS_WINDOWS
29 27
#	define NOMINMAX
30 28
#	include <windows.h>
......
32 30
#	include <sys/time.h>
33 31
#	include <unistd.h>
34 32
#endif
35

36 33
#ifdef NL_OS_MAC
37 34
#include <mach/mach.h>
38 35
#include <mach/mach_time.h>
39 36
#endif
40

41 37
#include "nel/misc/time_nl.h"
42 38
#include "nel/misc/sstring.h"
43 39

misc/vector_2d.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/vector_2d.h"
27 26

28 27

misc/entity_id.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/entity_id.h"
27 26

28 27
using namespace std;
misc/di_mouse_device.h (copie de travail)
25 25
#define NL_DI_MOUSE_DEVICE_H
26 26

27 27
#include "nel/misc/types_nl.h"
28

29 28
#ifdef NL_OS_WINDOWS
30

31

29
#include <dinput.h>
32 30
#include "nel/misc/rect.h"
33 31
#include "nel/misc/di_event_emitter.h"
34 32
#include "nel/misc/input_device_server.h"
35 33
#include "nel/misc/mouse_device.h"
36
#include <dinput.h>
37 34

38 35

39 36
namespace NLMISC
misc/common.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#ifdef NL_OS_WINDOWS
27 26
#	define NOMINMAX
28 27
#	include <windows.h>
......
36 35
#	include <pthread.h>
37 36
#	include <sched.h>
38 37
#endif
39

40 38
#include "nel/misc/command.h"
41 39
#include "nel/misc/path.h"
42 40

misc/mem_stream.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/mem_stream.h"
27 26

28 27
namespace NLMISC
misc/vector_2f.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/vector_2f.h"
27 26

28 27

misc/quad.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/quad.h"
27 26

28 27

misc/path.cpp (copie de travail)
23 23

24 24

25 25
#include "stdmisc.h"
26

27 26
#include <fstream>
28

29
#include "nel/misc/big_file.h"
30
#include "nel/misc/path.h"
31
#include "nel/misc/hierarchical_timer.h"
32
#include "nel/misc/progress_callback.h"
33
#include "nel/misc/file.h"
34
#include "nel/misc/xml_pack.h"
35

36 27
#ifdef NL_OS_WINDOWS
37 28
#	define NOMINMAX
38 29
#	include <windows.h>
......
53 44
#   include <sys/types.h>
54 45
#   include <utime.h>
55 46
#endif // NL_OS_WINDOWS
47
#include "nel/misc/big_file.h"
48
#include "nel/misc/path.h"
49
#include "nel/misc/hierarchical_timer.h"
50
#include "nel/misc/progress_callback.h"
51
#include "nel/misc/file.h"
52
#include "nel/misc/xml_pack.h"
56 53

57 54
using namespace std;
58 55

misc/value_smoother.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/value_smoother.h"
27 26

28 27
// remove stupid VC6 warnings
misc/reader_writer.cpp (copie de travail)
21 21
 */
22 22

23 23
#include "stdmisc.h"
24

25 24
#include "nel/misc/reader_writer.h"
26 25

27 26

misc/di_keyboard_device.h (copie de travail)
25 25
#define NL_DI_KEYBOARD_H
26 26

27 27
#include "nel/misc/types_nl.h"
28

29 28
#ifdef NL_OS_WINDOWS
30

31 29
#include "nel/misc/input_device_server.h"
32 30
#include "nel/misc/keyboard_device.h"
33 31
#include "nel/misc/di_event_emitter.h"
misc/gtk_displayer.cpp (copie de travail)
25 25

26 26
#ifdef NL_USE_GTK
27 27

28
#include <iostream>
29
#include <fstream>
30
#include <iomanip>
31
#include <csignal>
28 32
#include <gtk/gtk.h>
29 33
#include <gdk/gdk.h>
30 34
//#include <gobject/gobject.h>
31 35
#include <gdk/gdkkeysyms.h>
32

33 36
#ifdef NL_OS_WINDOWS
34 37
// automatically add gtk library
35 38
#pragma comment(lib, "gtk-1.3.lib")
......
37 40
#pragma comment(lib, "glib-1.3.lib")
38 41
#pragma comment(lib, "gthread-1.3.lib")
39 42
#endif
40

41
#include <iostream>
42
#include <fstream>
43
#include <iomanip>
44
#include <csignal>
45

46 43
#include "nel/misc/path.h"
47 44
#include "nel/misc/command.h"
48 45
#include "nel/misc/thread.h"
49

50 46
#include "nel/misc/gtk_displayer.h"
51 47

52 48
using namespace std;
misc/eval_num_expr.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/eval_num_expr.h"
27 26

28 27
namespace NLMISC
misc/heap_memory.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/heap_memory.h"
27 26

28 27
using namespace std;
misc/diff_tool.cpp (copie de travail)
21 21
 */
22 22

23 23
#include "stdmisc.h"
24

25 24
#include "nel/misc/diff_tool.h"
26 25
#include "nel/misc/path.h"
27 26

misc/triangle.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/triangle.h"
27 26
#include "nel/misc/plane.h"
28 27
#include "nel/misc/matrix.h"
misc/geom_ext.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/geom_ext.h"
27 26

28 27

misc/quat.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/quat.h"
27 26

28 27

misc/class_id.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/class_id.h"
27 26

28 27

29

30

31 28
namespace	NLMISC
32 29
{
33

34

35 30
const	CClassId	CClassId::Null(0);
36

37

38 31
}
39 32

misc/block_memory.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/block_memory.h"
27 26

28 27
// remove stupid VC6 warnings
misc/config_file/config_file.cpp (copie de travail)
21 21
 * MA 02111-1307, USA.
22 22
 */
23 23

24
#include "nel/misc/config_file.h"
25

26 24
#include <ctime>
27 25
#include <sys/types.h>
28 26
#include <sys/stat.h>
29

27
#include "nel/misc/config_file.h"
30 28
#include "nel/misc/file.h"
31 29
#include "nel/misc/debug.h"
32 30
#include "nel/misc/path.h"
misc/di_mouse_device.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

25
#include <memory>
26
#include <algorithm>
26 27
#include "di_mouse_device.h"
27 28
#include "nel/misc/game_device_events.h"
28 29
#include "nel/misc/win_event_emitter.h"
......
30 31

31 32
#ifdef NL_OS_WINDOWS
32 33

33
#include <memory>
34
#include <algorithm>
35 34

36 35

37 36

38

39 37
namespace NLMISC
40 38
{
41 39

misc/window_displayer.cpp (copie de travail)
23 23
 */
24 24

25 25
#include "stdmisc.h"
26

27 26
#include <iostream>
28 27
#include <fstream>
29 28
#include <iomanip>
30 29
#include <csignal>
31

32 30
#include "nel/misc/path.h"
33 31
#include "nel/misc/command.h"
34 32
#include "nel/misc/thread.h"
35

36 33
#include "nel/misc/window_displayer.h"
37 34

38 35
using namespace std;
misc/event_listener.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26 25
#include "nel/misc/event_listener.h"
27 26
#include "nel/misc/event_server.h"
28 27
#include "nel/misc/events.h"
misc/debug.cpp (copie de travail)
22 22
 */
23 23

24 24
#include "stdmisc.h"
25

26
#ifdef HAVE_NELCONFIG_H
27
#  include "nelconfig.h"
28
#endif // HAVE_NELCONFIG_H
29

30
#include "nel/misc/log.h"
31
#include "nel/misc/displayer.h"
32
#include "nel/misc/mem_displayer.h"
33
#include "nel/misc/command.h"
34
#include "nel/misc/report.h"
35
#include "nel/misc/path.h"
36
#include "nel/misc/variable.h"
37

38 25
#ifdef NL_OS_WINDOWS
39 26
#	define _WIN32_WINDOWS	0x0410
40 27
#	define WINVER			0x0400
......
56 43
//#	include <malloc.h>
57 44
#	include <errno.h>
58 45
#endif
59

60 46
#include <cstdarg>
61 47
#include <iostream>
48
#include "nel/misc/log.h"
49
#include "nel/misc/displayer.h"
50
#include "nel/misc/mem_displayer.h"
51
#include "nel/misc/command.h"
52
#include "nel/misc/report.h"
53
#include "nel/misc/path.h"
54
#include "nel/misc/variable.h"
55
#ifdef HAVE_NELCONFIG_H
56
#  include "nelconfig.h"
57
#endif // HAVE_NELCONFIG_H
62 58

63 59
using namespace std;
64 60

... This diff was truncated because it exceeds the maximum size that can be displayed.