There are fragments and references to Quake engine code in Source, but for the most part, the engine is actually new. While it runs on the same principle rendering technique that Goldsource did, the engine itself is totally different. For starters, Goldsource (and by extension, the Quake engines) use OpenGL. Source doesn't: it uses DirectX.