foxnne
ad5700cf48
core: Remove main_window in favor of users creating their own windows. Added event window_open which is called when the platform has finished initializing the window
2024-12-01 18:32:15 -07:00
Colton Franklin
1fe47b2b19
obj: Move Platform and InitOptions fields into core.windows ( #1309 )
...
* obj: Make field tracking use a single bitset
* obj: module: fix comment
* obj: Move `Platform` state and `InitOptions` fields into `core.windows`, initial push, only triangle example working on macos currently
* obj: `get` and `getValue` (renamed `getAll`) now do not return optionals, comment revisions, `device` is no longer optional, `native` is optional
* core: Lots of cleanup of unnecessary comments
* core: `Event`s now all contain `window_id`, darwin/windows: event functions now send window id
* core: comments, examples: fix `core-custom-entrypoint`
2024-11-30 15:13:14 -07:00
foxnne
f58cb270b1
obj: Fix doc comment and update example to build
2024-11-27 18:30:53 -07:00
Stephen Gutekanst
9d134dc72d
module: object recycling
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Stephen Gutekanst
8054d03b4d
unify mach.Call and mach.Runner into one type
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Stephen Gutekanst
14ccd5a93c
settle module state initialization
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Stephen Gutekanst
0e12857154
examples/core: building without ECS
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Ronald M Zielaznicki
910e8f6e82
build: examples run independently & sysaudio examples renamed as tests
2024-10-29 21:55:40 -07:00
Stephen Gutekanst
4ac8de4692
examples: move core examples into core/ folder; add triangle example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 10:15:01 -07:00
Stephen Gutekanst
205a1f33db
Core: support configuring window before it opens
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-14 00:12:26 +02:00
Stephen Gutekanst
22ac26b57e
module: rename events -> systems, remove 'event arguments'
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-08 13:39:07 -07:00
Stephen Gutekanst
ca08255ec2
{gfx,examples}: fix refcounting bugs, improve sysgpu compatability
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-05-06 14:00:54 -07:00
Stephen Gutekanst
15fd2c3a64
Core: use an explicit .start event sent by app to begin .tick events
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-29 20:17:26 -07:00
Stephen Gutekanst
fc0ff2fffd
all: rename local_events -> events
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-29 20:17:26 -07:00
Stephen Gutekanst
2c8ba82aa3
Core: use .app local init/deinit/tick events (avoid global events)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-29 20:17:26 -07:00
Stephen Gutekanst
fb37f74d41
examples: rename main modules -> App
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-29 20:17:26 -07:00