File tree 1 file changed +73
-0
lines changed
1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ Create Game_Engine(.dll) Change Configuration Type
2
+ set output directory[ $(SolutionDir)bin\$(Configuration)-$(Platform)/ ]
3
+ set intermediate directory[ $(SolutionDir)bin-int\$(Configuration)-$(Platform)/ ]
4
+ create Game(.exe)
5
+ set output directory[ $(SolutionDir)bin\$(Configuration)-$(Platform)/ ]
6
+ set intermediate directory[ $(SolutionDir)bin-int\$(Configuration)-$(Platform)/ ]
7
+
8
+ Game(Add reference [select Game_Engine])
9
+
10
+ Game
11
+ src
12
+ Application.cpp
13
+
14
+ Game_Engine
15
+ src
16
+ Test.cpp
17
+ Test.h
18
+
19
+
20
+ Application.cpp //____________//
21
+ namespace Game_Engine {
22
+ __declspec(dllimport) void Print();
23
+ }
24
+ void main() {
25
+ Game_Engine::Print();
26
+ }
27
+ //----------------------------------//
28
+
29
+ Test.cpp //___________//
30
+ #include "Test.h"
31
+ #include <stdio.h>
32
+ namespace Game_Engine {
33
+ void Print()
34
+ {
35
+ printf("Welcome to Game Engine!\n");
36
+ }
37
+ }
38
+ //----------------------------------//
39
+
40
+ Test.h //___________//
41
+ #pragma once
42
+
43
+ namespace Game_Engine {
44
+ __declspec(dllexport) void Print();
45
+ }
46
+ //----------------------------------//
47
+
48
+
49
+ //More details
50
+
51
+ -Entry Point
52
+ -Application layer
53
+ -window layer
54
+ -input
55
+ -events
56
+ -Renderer
57
+ -Render Api abstraction (Open Gl)
58
+ -Debugging Support
59
+ -Scrypting Language
60
+ -Entity component System
61
+ -Physics
62
+ -File I/O
63
+ -Build System
64
+
65
+ //---------------------------------------------------------------//
66
+
67
+ //Extras
68
+
69
+ Static library (.a)
70
+ Dynamic library (.dll)
71
+ Executable File (.exe)
72
+
73
+
You can’t perform that action at this time.
0 commit comments