Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// Name: Scrawlb DirectInput Sample
|
|
//
|
|
// Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
Description
|
|
===========
|
|
The Scrawlb sample illustrates the use of DirectInput to create a simple drawing program.
|
|
It shows the use of callbacks to receive mouse movement events.
|
|
|
|
|
|
Path
|
|
====
|
|
Source: DXSDK\Samples\Multimedia\Vbsamples\DirectInput\ScrawlB
|
|
Executable: DXSDK\Samples\Multimedia\vbsamples\DirectInput\Bin
|
|
|
|
|
|
User's Guide
|
|
============
|
|
Left Click and drag on the canvas to draw
|
|
Right Click will bring up a pop up menu with choices
|
|
About Application information
|
|
Speed 1 Slow mouse movement
|
|
Speed 2 Fast mouse movement
|
|
Speed 3 Faster mouse movement
|
|
Clear Clear the canvas
|
|
Release Mouse Change from pencil to cursor pointer
|
|
|
|
|
|
Programming Notes
|
|
=================
|
|
The application subclasses the Display window to capture ENTERMENU messages so that
|
|
the cursor can be reset when selecting the menu. This is done through a call to
|
|
SetWindowLong. Note that failure to comment out these lines while running the sample from
|
|
within the Visual Basic environment will result in undefined behavior.
|
|
|
|
|